UNPKG

4.28 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.2.
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$sync(computation, $T) {
3773 var result, error, stackTrace, future, replacement, t1, exception;
3774 try {
3775 result = computation.call$0();
3776 if ($T._eval$1("Future<0>")._is(result))
3777 return result;
3778 else {
3779 t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
3780 t1._state = 8;
3781 t1._resultOrListeners = result;
3782 return t1;
3783 }
3784 } catch (exception) {
3785 error = A.unwrapException(exception);
3786 stackTrace = A.getTraceFromException(exception);
3787 t1 = $.Zone__current;
3788 future = new A._Future(t1, $T._eval$1("_Future<0>"));
3789 replacement = t1.errorCallback$2(error, stackTrace);
3790 if (replacement != null)
3791 future._asyncCompleteError$2(replacement.error, replacement.stackTrace);
3792 else
3793 future._asyncCompleteError$2(error, stackTrace);
3794 return future;
3795 }
3796 },
3797 Future_Future$value(value, $T) {
3798 var t1;
3799 $T._as(value);
3800 t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
3801 t1._asyncComplete$1(value);
3802 return t1;
3803 },
3804 Future_Future$error(error, stackTrace, $T) {
3805 var t1, replacement;
3806 A.checkNotNullable(error, "error", type$.Object);
3807 t1 = $.Zone__current;
3808 if (t1 !== B.C__RootZone) {
3809 replacement = t1.errorCallback$2(error, stackTrace);
3810 if (replacement != null) {
3811 error = replacement.error;
3812 stackTrace = replacement.stackTrace;
3813 }
3814 }
3815 if (stackTrace == null)
3816 stackTrace = A.AsyncError_defaultStackTrace(error);
3817 t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
3818 t1._asyncCompleteError$2(error, stackTrace);
3819 return t1;
3820 },
3821 Future_wait(futures, $T) {
3822 var error, stackTrace, handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
3823 eagerError = false,
3824 _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
3825 _box_0.values = null;
3826 _box_0.remaining = 0;
3827 error = A._Cell$named("error");
3828 stackTrace = A._Cell$named("stackTrace");
3829 handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, error, stackTrace);
3830 try {
3831 for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
3832 future = t1.get$current(t1);
3833 pos = _box_0.remaining;
3834 J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, error, stackTrace, $T), handleError, t2);
3835 ++_box_0.remaining;
3836 }
3837 t1 = _box_0.remaining;
3838 if (t1 === 0) {
3839 t1 = _future;
3840 t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
3841 return t1;
3842 }
3843 _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
3844 } catch (exception) {
3845 e = A.unwrapException(exception);
3846 st = A.getTraceFromException(exception);
3847 if (_box_0.remaining === 0 || eagerError)
3848 return A.Future_Future$error(e, st, $T._eval$1("List<0>"));
3849 else {
3850 error._value = e;
3851 stackTrace._value = st;
3852 }
3853 }
3854 return _future;
3855 },
3856 FutureExtensions__ignore(_, __) {
3857 },
3858 _Future$zoneValue(value, _zone, $T) {
3859 var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
3860 t1._state = 8;
3861 t1._resultOrListeners = value;
3862 return t1;
3863 },
3864 _Future__chainCoreFuture(source, target) {
3865 var t1, listeners;
3866 for (; t1 = source._state, (t1 & 4) !== 0;)
3867 source = source._resultOrListeners;
3868 if ((t1 & 24) !== 0) {
3869 listeners = target._removeListeners$0();
3870 target._cloneResult$1(source);
3871 A._Future__propagateToListeners(target, listeners);
3872 } else {
3873 listeners = target._resultOrListeners;
3874 target._state = target._state & 1 | 4;
3875 target._resultOrListeners = source;
3876 source._prependListeners$1(listeners);
3877 }
3878 },
3879 _Future__propagateToListeners(source, listeners) {
3880 var t2, _box_0, t3, t4, hasError, nextListener, nextListener0, sourceResult, t5, zone, oldZone, result, current, _box_1 = {},
3881 t1 = _box_1.source = source;
3882 for (t2 = type$.Future_dynamic; true;) {
3883 _box_0 = {};
3884 t3 = t1._state;
3885 t4 = (t3 & 16) === 0;
3886 hasError = !t4;
3887 if (listeners == null) {
3888 if (hasError && (t3 & 1) === 0) {
3889 t2 = t1._resultOrListeners;
3890 t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
3891 }
3892 return;
3893 }
3894 _box_0.listener = listeners;
3895 nextListener = listeners._nextListener;
3896 for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
3897 t1._nextListener = null;
3898 A._Future__propagateToListeners(_box_1.source, t1);
3899 _box_0.listener = nextListener;
3900 nextListener0 = nextListener._nextListener;
3901 }
3902 t3 = _box_1.source;
3903 sourceResult = t3._resultOrListeners;
3904 _box_0.listenerHasError = hasError;
3905 _box_0.listenerValueOrError = sourceResult;
3906 if (t4) {
3907 t5 = t1.state;
3908 t5 = (t5 & 1) !== 0 || (t5 & 15) === 8;
3909 } else
3910 t5 = true;
3911 if (t5) {
3912 zone = t1.result._zone;
3913 if (hasError) {
3914 t1 = t3._zone;
3915 t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
3916 } else
3917 t1 = false;
3918 if (t1) {
3919 t1 = _box_1.source;
3920 t2 = t1._resultOrListeners;
3921 t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
3922 return;
3923 }
3924 oldZone = $.Zone__current;
3925 if (oldZone !== zone)
3926 $.Zone__current = zone;
3927 else
3928 oldZone = null;
3929 t1 = _box_0.listener.state;
3930 if ((t1 & 15) === 8)
3931 new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
3932 else if (t4) {
3933 if ((t1 & 1) !== 0)
3934 new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
3935 } else if ((t1 & 2) !== 0)
3936 new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
3937 if (oldZone != null)
3938 $.Zone__current = oldZone;
3939 t1 = _box_0.listenerValueOrError;
3940 if (t2._is(t1)) {
3941 t3 = _box_0.listener.$ti;
3942 t3 = t3._eval$1("Future<2>")._is(t1) || !t3._rest[1]._is(t1);
3943 } else
3944 t3 = false;
3945 if (t3) {
3946 result = _box_0.listener.result;
3947 if ((t1._state & 24) !== 0) {
3948 current = result._resultOrListeners;
3949 result._resultOrListeners = null;
3950 listeners = result._reverseListeners$1(current);
3951 result._state = t1._state & 30 | result._state & 1;
3952 result._resultOrListeners = t1._resultOrListeners;
3953 _box_1.source = t1;
3954 continue;
3955 } else
3956 A._Future__chainCoreFuture(t1, result);
3957 return;
3958 }
3959 }
3960 result = _box_0.listener.result;
3961 current = result._resultOrListeners;
3962 result._resultOrListeners = null;
3963 listeners = result._reverseListeners$1(current);
3964 t1 = _box_0.listenerHasError;
3965 t3 = _box_0.listenerValueOrError;
3966 if (!t1) {
3967 result._state = 8;
3968 result._resultOrListeners = t3;
3969 } else {
3970 result._state = result._state & 1 | 16;
3971 result._resultOrListeners = t3;
3972 }
3973 _box_1.source = result;
3974 t1 = result;
3975 }
3976 },
3977 _registerErrorHandler(errorHandler, zone) {
3978 if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
3979 return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
3980 if (type$.dynamic_Function_Object._is(errorHandler))
3981 return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
3982 throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
3983 },
3984 _microtaskLoop() {
3985 var entry, next;
3986 for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
3987 $._lastPriorityCallback = null;
3988 next = entry.next;
3989 $._nextCallback = next;
3990 if (next == null)
3991 $._lastCallback = null;
3992 entry.callback.call$0();
3993 }
3994 },
3995 _startMicrotaskLoop() {
3996 $._isInCallbackLoop = true;
3997 try {
3998 A._microtaskLoop();
3999 } finally {
4000 $._lastPriorityCallback = null;
4001 $._isInCallbackLoop = false;
4002 if ($._nextCallback != null)
4003 $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
4004 }
4005 },
4006 _scheduleAsyncCallback(callback) {
4007 var newEntry = new A._AsyncCallbackEntry(callback),
4008 lastCallback = $._lastCallback;
4009 if (lastCallback == null) {
4010 $._nextCallback = $._lastCallback = newEntry;
4011 if (!$._isInCallbackLoop)
4012 $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
4013 } else
4014 $._lastCallback = lastCallback.next = newEntry;
4015 },
4016 _schedulePriorityAsyncCallback(callback) {
4017 var entry, lastPriorityCallback, next,
4018 t1 = $._nextCallback;
4019 if (t1 == null) {
4020 A._scheduleAsyncCallback(callback);
4021 $._lastPriorityCallback = $._lastCallback;
4022 return;
4023 }
4024 entry = new A._AsyncCallbackEntry(callback);
4025 lastPriorityCallback = $._lastPriorityCallback;
4026 if (lastPriorityCallback == null) {
4027 entry.next = t1;
4028 $._nextCallback = $._lastPriorityCallback = entry;
4029 } else {
4030 next = lastPriorityCallback.next;
4031 entry.next = next;
4032 $._lastPriorityCallback = lastPriorityCallback.next = entry;
4033 if (next == null)
4034 $._lastCallback = entry;
4035 }
4036 },
4037 scheduleMicrotask(callback) {
4038 var t1, _null = null,
4039 currentZone = $.Zone__current;
4040 if (B.C__RootZone === currentZone) {
4041 A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
4042 return;
4043 }
4044 if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
4045 t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
4046 else
4047 t1 = false;
4048 if (t1) {
4049 A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
4050 return;
4051 }
4052 t1 = $.Zone__current;
4053 t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
4054 },
4055 Stream_Stream$fromFuture(future, $T) {
4056 var _null = null,
4057 t1 = $T._eval$1("_SyncStreamController<0>"),
4058 controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
4059 future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
4060 return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
4061 },
4062 StreamIterator_StreamIterator(stream) {
4063 return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
4064 },
4065 StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
4066 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>"));
4067 },
4068 _runGuarded(notificationHandler) {
4069 var e, s, exception;
4070 if (notificationHandler == null)
4071 return;
4072 try {
4073 notificationHandler.call$0();
4074 } catch (exception) {
4075 e = A.unwrapException(exception);
4076 s = A.getTraceFromException(exception);
4077 $.Zone__current.handleUncaughtError$2(e, s);
4078 }
4079 },
4080 _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
4081 var t1 = $.Zone__current,
4082 t2 = cancelOnError ? 1 : 0;
4083 return new A._ControllerSubscription(_controller, A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T), A._BufferingStreamSubscription__registerErrorHandler(t1, onError), A._BufferingStreamSubscription__registerDoneHandler(t1, onDone), t1, t2, $T._eval$1("_ControllerSubscription<0>"));
4084 },
4085 _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
4086 var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
4087 return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
4088 },
4089 _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
4090 if (handleError == null)
4091 handleError = A.async___nullErrorHandler$closure();
4092 if (type$.void_Function_Object_StackTrace._is(handleError))
4093 return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
4094 if (type$.void_Function_Object._is(handleError))
4095 return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
4096 throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
4097 },
4098 _BufferingStreamSubscription__registerDoneHandler(zone, handleDone) {
4099 var t1 = handleDone == null ? A.async___nullDoneHandler$closure() : handleDone;
4100 return zone.registerCallback$1$1(t1, type$.void);
4101 },
4102 _nullDataHandler(value) {
4103 },
4104 _nullErrorHandler(error, stackTrace) {
4105 $.Zone__current.handleUncaughtError$2(error, stackTrace);
4106 },
4107 _nullDoneHandler() {
4108 },
4109 Timer_Timer(duration, callback) {
4110 var t1 = $.Zone__current;
4111 if (t1 === B.C__RootZone)
4112 return t1.createTimer$2(duration, callback);
4113 return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
4114 },
4115 _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
4116 A._rootHandleError(error, stackTrace);
4117 },
4118 _rootHandleError(error, stackTrace) {
4119 A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
4120 },
4121 _rootRun($self, $parent, zone, f) {
4122 var old,
4123 t1 = $.Zone__current;
4124 if (t1 === zone)
4125 return f.call$0();
4126 $.Zone__current = zone;
4127 old = t1;
4128 try {
4129 t1 = f.call$0();
4130 return t1;
4131 } finally {
4132 $.Zone__current = old;
4133 }
4134 },
4135 _rootRunUnary($self, $parent, zone, f, arg) {
4136 var old,
4137 t1 = $.Zone__current;
4138 if (t1 === zone)
4139 return f.call$1(arg);
4140 $.Zone__current = zone;
4141 old = t1;
4142 try {
4143 t1 = f.call$1(arg);
4144 return t1;
4145 } finally {
4146 $.Zone__current = old;
4147 }
4148 },
4149 _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
4150 var old,
4151 t1 = $.Zone__current;
4152 if (t1 === zone)
4153 return f.call$2(arg1, arg2);
4154 $.Zone__current = zone;
4155 old = t1;
4156 try {
4157 t1 = f.call$2(arg1, arg2);
4158 return t1;
4159 } finally {
4160 $.Zone__current = old;
4161 }
4162 },
4163 _rootRegisterCallback($self, $parent, zone, f) {
4164 return f;
4165 },
4166 _rootRegisterUnaryCallback($self, $parent, zone, f) {
4167 return f;
4168 },
4169 _rootRegisterBinaryCallback($self, $parent, zone, f) {
4170 return f;
4171 },
4172 _rootErrorCallback($self, $parent, zone, error, stackTrace) {
4173 return null;
4174 },
4175 _rootScheduleMicrotask($self, $parent, zone, f) {
4176 var t1, t2;
4177 if (B.C__RootZone !== zone) {
4178 t1 = B.C__RootZone.get$errorZone();
4179 t2 = zone.get$errorZone();
4180 f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
4181 }
4182 A._scheduleAsyncCallback(f);
4183 },
4184 _rootCreateTimer($self, $parent, zone, duration, callback) {
4185 return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
4186 },
4187 _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
4188 var milliseconds;
4189 if (B.C__RootZone !== zone)
4190 callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
4191 milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
4192 return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
4193 },
4194 _rootPrint($self, $parent, zone, line) {
4195 A.printString(line);
4196 },
4197 _printToZone(line) {
4198 $.Zone__current.print$1(line);
4199 },
4200 _rootFork($self, $parent, zone, specification, zoneValues) {
4201 var valueMap, t1, handleUncaughtError;
4202 $.printToZone = A.async___printToZone$closure();
4203 if (specification == null)
4204 specification = B._ZoneSpecification_ALf;
4205 if (zoneValues == null)
4206 valueMap = zone.get$_async$_map();
4207 else {
4208 t1 = type$.nullable_Object;
4209 valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
4210 }
4211 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);
4212 handleUncaughtError = specification.handleUncaughtError;
4213 if (handleUncaughtError != null)
4214 t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
4215 return t1;
4216 },
4217 runZoned(body, zoneValues, $R) {
4218 A.checkNotNullable(body, "body", $R._eval$1("0()"));
4219 return A._runZoned(body, zoneValues, null, $R);
4220 },
4221 _runZoned(body, zoneValues, specification, $R) {
4222 return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
4223 },
4224 _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
4225 this._box_0 = t0;
4226 },
4227 _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
4228 this._box_0 = t0;
4229 this.div = t1;
4230 this.span = t2;
4231 },
4232 _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
4233 this.callback = t0;
4234 },
4235 _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
4236 this.callback = t0;
4237 },
4238 _TimerImpl: function _TimerImpl(t0) {
4239 this._once = t0;
4240 this._handle = null;
4241 this._tick = 0;
4242 },
4243 _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
4244 this.$this = t0;
4245 this.callback = t1;
4246 },
4247 _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
4248 var _ = this;
4249 _.$this = t0;
4250 _.milliseconds = t1;
4251 _.start = t2;
4252 _.callback = t3;
4253 },
4254 _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
4255 this._future = t0;
4256 this.isSync = false;
4257 this.$ti = t1;
4258 },
4259 _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
4260 this.bodyFunction = t0;
4261 },
4262 _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
4263 this.bodyFunction = t0;
4264 },
4265 _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
4266 this.$protected = t0;
4267 },
4268 _IterationMarker: function _IterationMarker(t0, t1) {
4269 this.value = t0;
4270 this.state = t1;
4271 },
4272 _SyncStarIterator: function _SyncStarIterator(t0) {
4273 var _ = this;
4274 _._body = t0;
4275 _._suspendedBodies = _._nestedIterator = _._async$_current = null;
4276 },
4277 _SyncStarIterable: function _SyncStarIterable(t0, t1) {
4278 this._outerHelper = t0;
4279 this.$ti = t1;
4280 },
4281 AsyncError: function AsyncError(t0, t1) {
4282 this.error = t0;
4283 this.stackTrace = t1;
4284 },
4285 Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5) {
4286 var _ = this;
4287 _._box_0 = t0;
4288 _.cleanUp = t1;
4289 _.eagerError = t2;
4290 _._future = t3;
4291 _.error = t4;
4292 _.stackTrace = t5;
4293 },
4294 Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
4295 var _ = this;
4296 _._box_0 = t0;
4297 _.pos = t1;
4298 _._future = t2;
4299 _.cleanUp = t3;
4300 _.eagerError = t4;
4301 _.error = t5;
4302 _.stackTrace = t6;
4303 _.T = t7;
4304 },
4305 _Completer: function _Completer() {
4306 },
4307 _AsyncCompleter: function _AsyncCompleter(t0, t1) {
4308 this.future = t0;
4309 this.$ti = t1;
4310 },
4311 _SyncCompleter: function _SyncCompleter(t0, t1) {
4312 this.future = t0;
4313 this.$ti = t1;
4314 },
4315 _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
4316 var _ = this;
4317 _._nextListener = null;
4318 _.result = t0;
4319 _.state = t1;
4320 _.callback = t2;
4321 _.errorCallback = t3;
4322 _.$ti = t4;
4323 },
4324 _Future: function _Future(t0, t1) {
4325 var _ = this;
4326 _._state = 0;
4327 _._zone = t0;
4328 _._resultOrListeners = null;
4329 _.$ti = t1;
4330 },
4331 _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
4332 this.$this = t0;
4333 this.listener = t1;
4334 },
4335 _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
4336 this._box_0 = t0;
4337 this.$this = t1;
4338 },
4339 _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
4340 this.$this = t0;
4341 },
4342 _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
4343 this.$this = t0;
4344 },
4345 _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
4346 this.$this = t0;
4347 this.e = t1;
4348 this.s = t2;
4349 },
4350 _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
4351 this.$this = t0;
4352 this.value = t1;
4353 },
4354 _Future__chainFuture_closure: function _Future__chainFuture_closure(t0, t1) {
4355 this.$this = t0;
4356 this.value = t1;
4357 },
4358 _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
4359 this.$this = t0;
4360 this.error = t1;
4361 this.stackTrace = t2;
4362 },
4363 _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
4364 this._box_0 = t0;
4365 this._box_1 = t1;
4366 this.hasError = t2;
4367 },
4368 _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) {
4369 this.originalSource = t0;
4370 },
4371 _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
4372 this._box_0 = t0;
4373 this.sourceResult = t1;
4374 },
4375 _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
4376 this._box_1 = t0;
4377 this._box_0 = t1;
4378 },
4379 _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
4380 this.callback = t0;
4381 this.next = null;
4382 },
4383 Stream: function Stream() {
4384 },
4385 Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
4386 this.controller = t0;
4387 this.T = t1;
4388 },
4389 Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
4390 this.controller = t0;
4391 },
4392 Stream_length_closure: function Stream_length_closure(t0, t1) {
4393 this._box_0 = t0;
4394 this.$this = t1;
4395 },
4396 Stream_length_closure0: function Stream_length_closure0(t0, t1) {
4397 this._box_0 = t0;
4398 this.future = t1;
4399 },
4400 StreamTransformerBase: function StreamTransformerBase() {
4401 },
4402 _StreamController: function _StreamController() {
4403 },
4404 _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
4405 this.$this = t0;
4406 },
4407 _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
4408 this.$this = t0;
4409 },
4410 _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
4411 },
4412 _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
4413 },
4414 _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
4415 var _ = this;
4416 _._varData = null;
4417 _._state = 0;
4418 _._doneFuture = null;
4419 _.onListen = t0;
4420 _.onPause = t1;
4421 _.onResume = t2;
4422 _.onCancel = t3;
4423 _.$ti = t4;
4424 },
4425 _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
4426 var _ = this;
4427 _._varData = null;
4428 _._state = 0;
4429 _._doneFuture = null;
4430 _.onListen = t0;
4431 _.onPause = t1;
4432 _.onResume = t2;
4433 _.onCancel = t3;
4434 _.$ti = t4;
4435 },
4436 _ControllerStream: function _ControllerStream(t0, t1) {
4437 this._controller = t0;
4438 this.$ti = t1;
4439 },
4440 _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
4441 var _ = this;
4442 _._controller = t0;
4443 _._onData = t1;
4444 _._onError = t2;
4445 _._onDone = t3;
4446 _._zone = t4;
4447 _._state = t5;
4448 _._pending = _._cancelFuture = null;
4449 _.$ti = t6;
4450 },
4451 _AddStreamState: function _AddStreamState() {
4452 },
4453 _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
4454 this.$this = t0;
4455 },
4456 _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
4457 this.varData = t0;
4458 this.addStreamFuture = t1;
4459 this.addSubscription = t2;
4460 },
4461 _BufferingStreamSubscription: function _BufferingStreamSubscription() {
4462 },
4463 _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
4464 this.$this = t0;
4465 this.error = t1;
4466 this.stackTrace = t2;
4467 },
4468 _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
4469 this.$this = t0;
4470 },
4471 _StreamImpl: function _StreamImpl() {
4472 },
4473 _DelayedEvent: function _DelayedEvent() {
4474 },
4475 _DelayedData: function _DelayedData(t0) {
4476 this.value = t0;
4477 this.next = null;
4478 },
4479 _DelayedError: function _DelayedError(t0, t1) {
4480 this.error = t0;
4481 this.stackTrace = t1;
4482 this.next = null;
4483 },
4484 _DelayedDone: function _DelayedDone() {
4485 },
4486 _PendingEvents: function _PendingEvents() {
4487 },
4488 _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
4489 this.$this = t0;
4490 this.dispatch = t1;
4491 },
4492 _StreamImplEvents: function _StreamImplEvents() {
4493 this.lastPendingEvent = this.firstPendingEvent = null;
4494 this._state = 0;
4495 },
4496 _StreamIterator: function _StreamIterator(t0) {
4497 this._subscription = null;
4498 this._stateData = t0;
4499 this._async$_hasValue = false;
4500 },
4501 _ForwardingStream: function _ForwardingStream() {
4502 },
4503 _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
4504 var _ = this;
4505 _._stream = t0;
4506 _._subscription = null;
4507 _._onData = t1;
4508 _._onError = t2;
4509 _._onDone = t3;
4510 _._zone = t4;
4511 _._state = t5;
4512 _._pending = _._cancelFuture = null;
4513 _.$ti = t6;
4514 },
4515 _ExpandStream: function _ExpandStream(t0, t1, t2) {
4516 this._expand = t0;
4517 this._async$_source = t1;
4518 this.$ti = t2;
4519 },
4520 _ZoneFunction: function _ZoneFunction(t0, t1) {
4521 this.zone = t0;
4522 this.$function = t1;
4523 },
4524 _RunNullaryZoneFunction: function _RunNullaryZoneFunction(t0, t1) {
4525 this.zone = t0;
4526 this.$function = t1;
4527 },
4528 _RunUnaryZoneFunction: function _RunUnaryZoneFunction(t0, t1) {
4529 this.zone = t0;
4530 this.$function = t1;
4531 },
4532 _RunBinaryZoneFunction: function _RunBinaryZoneFunction(t0, t1) {
4533 this.zone = t0;
4534 this.$function = t1;
4535 },
4536 _RegisterNullaryZoneFunction: function _RegisterNullaryZoneFunction(t0, t1) {
4537 this.zone = t0;
4538 this.$function = t1;
4539 },
4540 _RegisterUnaryZoneFunction: function _RegisterUnaryZoneFunction(t0, t1) {
4541 this.zone = t0;
4542 this.$function = t1;
4543 },
4544 _RegisterBinaryZoneFunction: function _RegisterBinaryZoneFunction(t0, t1) {
4545 this.zone = t0;
4546 this.$function = t1;
4547 },
4548 _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
4549 var _ = this;
4550 _.handleUncaughtError = t0;
4551 _.run = t1;
4552 _.runUnary = t2;
4553 _.runBinary = t3;
4554 _.registerCallback = t4;
4555 _.registerUnaryCallback = t5;
4556 _.registerBinaryCallback = t6;
4557 _.errorCallback = t7;
4558 _.scheduleMicrotask = t8;
4559 _.createTimer = t9;
4560 _.createPeriodicTimer = t10;
4561 _.print = t11;
4562 _.fork = t12;
4563 },
4564 _ZoneDelegate: function _ZoneDelegate(t0) {
4565 this._delegationTarget = t0;
4566 },
4567 _Zone: function _Zone() {
4568 },
4569 _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
4570 var _ = this;
4571 _._run = t0;
4572 _._runUnary = t1;
4573 _._runBinary = t2;
4574 _._registerCallback = t3;
4575 _._registerUnaryCallback = t4;
4576 _._registerBinaryCallback = t5;
4577 _._errorCallback = t6;
4578 _._scheduleMicrotask = t7;
4579 _._createTimer = t8;
4580 _._createPeriodicTimer = t9;
4581 _._print = t10;
4582 _._fork = t11;
4583 _._handleUncaughtError = t12;
4584 _._delegateCache = null;
4585 _.parent = t13;
4586 _._async$_map = t14;
4587 },
4588 _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
4589 this.$this = t0;
4590 this.registered = t1;
4591 this.R = t2;
4592 },
4593 _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
4594 var _ = this;
4595 _.$this = t0;
4596 _.registered = t1;
4597 _.T = t2;
4598 _.R = t3;
4599 },
4600 _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
4601 this.$this = t0;
4602 this.registered = t1;
4603 },
4604 _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
4605 this.error = t0;
4606 this.stackTrace = t1;
4607 },
4608 _RootZone: function _RootZone() {
4609 },
4610 _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
4611 this.$this = t0;
4612 this.f = t1;
4613 this.R = t2;
4614 },
4615 _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
4616 var _ = this;
4617 _.$this = t0;
4618 _.f = t1;
4619 _.T = t2;
4620 _.R = t3;
4621 },
4622 _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
4623 this.$this = t0;
4624 this.f = t1;
4625 },
4626 HashMap_HashMap($K, $V) {
4627 return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
4628 },
4629 _HashMap__getTableEntry(table, key) {
4630 var entry = table[key];
4631 return entry === table ? null : entry;
4632 },
4633 _HashMap__setTableEntry(table, key, value) {
4634 if (value == null)
4635 table[key] = table;
4636 else
4637 table[key] = value;
4638 },
4639 _HashMap__newHashTable() {
4640 var table = Object.create(null);
4641 A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
4642 delete table["<non-identifier-key>"];
4643 return table;
4644 },
4645 LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
4646 if (isValidKey == null)
4647 if (hashCode == null) {
4648 if (equals == null)
4649 return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
4650 hashCode = A.collection___defaultHashCode$closure();
4651 } else {
4652 if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
4653 return A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6($K, $V);
4654 if (equals == null)
4655 equals = A.collection___defaultEquals$closure();
4656 }
4657 else {
4658 if (hashCode == null)
4659 hashCode = A.collection___defaultHashCode$closure();
4660 if (equals == null)
4661 equals = A.collection___defaultEquals$closure();
4662 }
4663 return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
4664 },
4665 LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
4666 return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
4667 },
4668 LinkedHashMap_LinkedHashMap$_empty($K, $V) {
4669 return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
4670 },
4671 _LinkedIdentityHashMap__LinkedIdentityHashMap$es6($K, $V) {
4672 return new A._LinkedIdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedIdentityHashMap<1,2>"));
4673 },
4674 _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
4675 var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
4676 return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
4677 },
4678 LinkedHashSet_LinkedHashSet($E) {
4679 return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
4680 },
4681 LinkedHashSet_LinkedHashSet$_empty($E) {
4682 return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
4683 },
4684 LinkedHashSet_LinkedHashSet$_literal(values, $E) {
4685 return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
4686 },
4687 _LinkedHashSet__newHashTable() {
4688 var table = Object.create(null);
4689 table["<non-identifier-key>"] = table;
4690 delete table["<non-identifier-key>"];
4691 return table;
4692 },
4693 _LinkedHashSetIterator$(_set, _modifications) {
4694 var t1 = new A._LinkedHashSetIterator(_set, _modifications);
4695 t1._collection$_cell = _set._collection$_first;
4696 return t1;
4697 },
4698 UnmodifiableListView$(source, $E) {
4699 return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
4700 },
4701 _defaultEquals(a, b) {
4702 return J.$eq$(a, b);
4703 },
4704 _defaultHashCode(a) {
4705 return J.get$hashCode$(a);
4706 },
4707 HashMap_HashMap$from(other, $K, $V) {
4708 var result = A.HashMap_HashMap($K, $V);
4709 other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
4710 return result;
4711 },
4712 IterableBase_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
4713 var parts, t1;
4714 if (A._isToStringVisiting(iterable)) {
4715 if (leftDelimiter === "(" && rightDelimiter === ")")
4716 return "(...)";
4717 return leftDelimiter + "..." + rightDelimiter;
4718 }
4719 parts = A._setArrayType([], type$.JSArray_String);
4720 $._toStringVisiting.push(iterable);
4721 try {
4722 A._iterablePartsToStrings(iterable, parts);
4723 } finally {
4724 $._toStringVisiting.pop();
4725 }
4726 t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
4727 return t1.charCodeAt(0) == 0 ? t1 : t1;
4728 },
4729 IterableBase_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
4730 var buffer, t1;
4731 if (A._isToStringVisiting(iterable))
4732 return leftDelimiter + "..." + rightDelimiter;
4733 buffer = new A.StringBuffer(leftDelimiter);
4734 $._toStringVisiting.push(iterable);
4735 try {
4736 t1 = buffer;
4737 t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
4738 } finally {
4739 $._toStringVisiting.pop();
4740 }
4741 buffer._contents += rightDelimiter;
4742 t1 = buffer._contents;
4743 return t1.charCodeAt(0) == 0 ? t1 : t1;
4744 },
4745 _isToStringVisiting(o) {
4746 var t1, i;
4747 for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i)
4748 if (o === $._toStringVisiting[i])
4749 return true;
4750 return false;
4751 },
4752 _iterablePartsToStrings(iterable, parts) {
4753 var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
4754 it = iterable.get$iterator(iterable),
4755 $length = 0, count = 0;
4756 while (true) {
4757 if (!($length < 80 || count < 3))
4758 break;
4759 if (!it.moveNext$0())
4760 return;
4761 next = A.S(it.get$current(it));
4762 parts.push(next);
4763 $length += next.length + 2;
4764 ++count;
4765 }
4766 if (!it.moveNext$0()) {
4767 if (count <= 5)
4768 return;
4769 ultimateString = parts.pop();
4770 penultimateString = parts.pop();
4771 } else {
4772 penultimate = it.get$current(it);
4773 ++count;
4774 if (!it.moveNext$0()) {
4775 if (count <= 4) {
4776 parts.push(A.S(penultimate));
4777 return;
4778 }
4779 ultimateString = A.S(penultimate);
4780 penultimateString = parts.pop();
4781 $length += ultimateString.length + 2;
4782 } else {
4783 ultimate = it.get$current(it);
4784 ++count;
4785 for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
4786 ultimate0 = it.get$current(it);
4787 ++count;
4788 if (count > 100) {
4789 while (true) {
4790 if (!($length > 75 && count > 3))
4791 break;
4792 $length -= parts.pop().length + 2;
4793 --count;
4794 }
4795 parts.push("...");
4796 return;
4797 }
4798 }
4799 penultimateString = A.S(penultimate);
4800 ultimateString = A.S(ultimate);
4801 $length += ultimateString.length + penultimateString.length + 4;
4802 }
4803 }
4804 if (count > parts.length + 2) {
4805 $length += 5;
4806 elision = "...";
4807 } else
4808 elision = null;
4809 while (true) {
4810 if (!($length > 80 && parts.length > 3))
4811 break;
4812 $length -= parts.pop().length + 2;
4813 if (elision == null) {
4814 $length += 5;
4815 elision = "...";
4816 }
4817 }
4818 if (elision != null)
4819 parts.push(elision);
4820 parts.push(penultimateString);
4821 parts.push(ultimateString);
4822 },
4823 LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
4824 var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
4825 other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
4826 return result;
4827 },
4828 LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
4829 var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
4830 t1.addAll$1(0, other);
4831 return t1;
4832 },
4833 LinkedHashSet_LinkedHashSet$from(elements, $E) {
4834 var t1, _i,
4835 result = A.LinkedHashSet_LinkedHashSet($E);
4836 for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
4837 result.add$1(0, $E._as(elements[_i]));
4838 return result;
4839 },
4840 LinkedHashSet_LinkedHashSet$of(elements, $E) {
4841 var t1 = A.LinkedHashSet_LinkedHashSet($E);
4842 t1.addAll$1(0, elements);
4843 return t1;
4844 },
4845 ListMixin__compareAny(a, b) {
4846 var t1 = type$.Comparable_dynamic;
4847 return J.compareTo$1$ns(t1._as(a), t1._as(b));
4848 },
4849 MapBase_mapToString(m) {
4850 var result, t1 = {};
4851 if (A._isToStringVisiting(m))
4852 return "{...}";
4853 result = new A.StringBuffer("");
4854 try {
4855 $._toStringVisiting.push(m);
4856 result._contents += "{";
4857 t1.first = true;
4858 m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
4859 result._contents += "}";
4860 } finally {
4861 $._toStringVisiting.pop();
4862 }
4863 t1 = result._contents;
4864 return t1.charCodeAt(0) == 0 ? t1 : t1;
4865 },
4866 MapBase__fillMapWithIterables(map, keys, values) {
4867 var keyIterator = keys.get$iterator(keys),
4868 valueIterator = values.get$iterator(values),
4869 hasNextKey = keyIterator.moveNext$0(),
4870 hasNextValue = valueIterator.moveNext$0();
4871 while (true) {
4872 if (!(hasNextKey && hasNextValue))
4873 break;
4874 map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
4875 hasNextKey = keyIterator.moveNext$0();
4876 hasNextValue = valueIterator.moveNext$0();
4877 }
4878 if (hasNextKey || hasNextValue)
4879 throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
4880 },
4881 ListQueue$($E) {
4882 return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
4883 },
4884 ListQueue__calculateCapacity(initialCapacity) {
4885 return 8;
4886 },
4887 ListQueue_ListQueue$of(elements, $E) {
4888 var t1 = A.ListQueue$($E);
4889 t1.addAll$1(0, elements);
4890 return t1;
4891 },
4892 ListQueue__nextPowerOf2(number) {
4893 var nextNumber;
4894 number = (number << 1 >>> 0) - 1;
4895 for (; true; number = nextNumber) {
4896 nextNumber = (number & number - 1) >>> 0;
4897 if (nextNumber === 0)
4898 return number;
4899 }
4900 },
4901 _ListQueueIterator$(queue) {
4902 return new A._ListQueueIterator(queue, queue._collection$_tail, queue._modificationCount, queue._collection$_head);
4903 },
4904 _UnmodifiableSetMixin__throwUnmodifiable() {
4905 throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
4906 },
4907 _HashMap: function _HashMap(t0) {
4908 var _ = this;
4909 _._collection$_length = 0;
4910 _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4911 _.$ti = t0;
4912 },
4913 _HashMap_values_closure: function _HashMap_values_closure(t0) {
4914 this.$this = t0;
4915 },
4916 _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
4917 this.$this = t0;
4918 },
4919 _IdentityHashMap: function _IdentityHashMap(t0) {
4920 var _ = this;
4921 _._collection$_length = 0;
4922 _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4923 _.$ti = t0;
4924 },
4925 _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
4926 this._map = t0;
4927 this.$ti = t1;
4928 },
4929 _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1) {
4930 var _ = this;
4931 _._map = t0;
4932 _._keys = t1;
4933 _._offset = 0;
4934 _._collection$_current = null;
4935 },
4936 _LinkedIdentityHashMap: function _LinkedIdentityHashMap(t0) {
4937 var _ = this;
4938 _.__js_helper$_length = 0;
4939 _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
4940 _._modifications = 0;
4941 _.$ti = t0;
4942 },
4943 _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
4944 var _ = this;
4945 _._equals = t0;
4946 _._hashCode = t1;
4947 _._validKey = t2;
4948 _.__js_helper$_length = 0;
4949 _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
4950 _._modifications = 0;
4951 _.$ti = t3;
4952 },
4953 _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
4954 this.K = t0;
4955 },
4956 _LinkedHashSet: function _LinkedHashSet(t0) {
4957 var _ = this;
4958 _._collection$_length = 0;
4959 _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4960 _._collection$_modifications = 0;
4961 _.$ti = t0;
4962 },
4963 _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
4964 var _ = this;
4965 _._collection$_length = 0;
4966 _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4967 _._collection$_modifications = 0;
4968 _.$ti = t0;
4969 },
4970 _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
4971 this._element = t0;
4972 this._collection$_previous = this._collection$_next = null;
4973 },
4974 _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1) {
4975 var _ = this;
4976 _._set = t0;
4977 _._collection$_modifications = t1;
4978 _._collection$_current = _._collection$_cell = null;
4979 },
4980 UnmodifiableListView: function UnmodifiableListView(t0, t1) {
4981 this._collection$_source = t0;
4982 this.$ti = t1;
4983 },
4984 HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
4985 this.result = t0;
4986 this.K = t1;
4987 this.V = t2;
4988 },
4989 IterableBase: function IterableBase() {
4990 },
4991 LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
4992 this.result = t0;
4993 this.K = t1;
4994 this.V = t2;
4995 },
4996 ListBase: function ListBase() {
4997 },
4998 ListMixin: function ListMixin() {
4999 },
5000 MapBase: function MapBase() {
5001 },
5002 MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
5003 this._box_0 = t0;
5004 this.result = t1;
5005 },
5006 MapMixin: function MapMixin() {
5007 },
5008 MapMixin_entries_closure: function MapMixin_entries_closure(t0) {
5009 this.$this = t0;
5010 },
5011 UnmodifiableMapBase: function UnmodifiableMapBase() {
5012 },
5013 _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
5014 this._map = t0;
5015 this.$ti = t1;
5016 },
5017 _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1) {
5018 this._keys = t0;
5019 this._map = t1;
5020 this._collection$_current = null;
5021 },
5022 _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
5023 },
5024 MapView: function MapView() {
5025 },
5026 UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
5027 this._map = t0;
5028 this.$ti = t1;
5029 },
5030 ListQueue: function ListQueue(t0, t1) {
5031 var _ = this;
5032 _._collection$_table = t0;
5033 _._modificationCount = _._collection$_tail = _._collection$_head = 0;
5034 _.$ti = t1;
5035 },
5036 _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3) {
5037 var _ = this;
5038 _._queue = t0;
5039 _._collection$_end = t1;
5040 _._modificationCount = t2;
5041 _._collection$_position = t3;
5042 _._collection$_current = null;
5043 },
5044 SetMixin: function SetMixin() {
5045 },
5046 _SetBase: function _SetBase() {
5047 },
5048 _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
5049 },
5050 _UnmodifiableSet: function _UnmodifiableSet(t0, t1) {
5051 this._map = t0;
5052 this.$ti = t1;
5053 },
5054 _ListBase_Object_ListMixin: function _ListBase_Object_ListMixin() {
5055 },
5056 _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
5057 },
5058 __SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() {
5059 },
5060 __UnmodifiableSet__SetBase__UnmodifiableSetMixin: function __UnmodifiableSet__SetBase__UnmodifiableSetMixin() {
5061 },
5062 Utf8Decoder__convertIntercepted(allowMalformed, codeUnits, start, end) {
5063 var casted, result;
5064 if (codeUnits instanceof Uint8Array) {
5065 casted = codeUnits;
5066 end = casted.length;
5067 if (end - start < 15)
5068 return null;
5069 result = A.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end);
5070 if (result != null && allowMalformed)
5071 if (result.indexOf("\ufffd") >= 0)
5072 return null;
5073 return result;
5074 }
5075 return null;
5076 },
5077 Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
5078 var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder();
5079 if (decoder == null)
5080 return null;
5081 if (0 === start && end === codeUnits.length)
5082 return A.Utf8Decoder__useTextDecoder(decoder, codeUnits);
5083 return A.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, A.RangeError_checkValidRange(start, end, codeUnits.length)));
5084 },
5085 Utf8Decoder__useTextDecoder(decoder, codeUnits) {
5086 var t1, exception;
5087 try {
5088 t1 = decoder.decode(codeUnits);
5089 return t1;
5090 } catch (exception) {
5091 }
5092 return null;
5093 },
5094 Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
5095 if (B.JSInt_methods.$mod($length, 4) !== 0)
5096 throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
5097 if (firstPadding + paddingCount !== $length)
5098 throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
5099 if (paddingCount > 2)
5100 throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
5101 },
5102 _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
5103 var t1, i, byteOr, byte, outputIndex0, outputIndex1,
5104 bits = state >>> 2,
5105 expectedChars = 3 - (state & 3);
5106 for (t1 = J.getInterceptor$asx(bytes), i = start, byteOr = 0; i < end; ++i) {
5107 byte = t1.$index(bytes, i);
5108 byteOr = (byteOr | byte) >>> 0;
5109 bits = (bits << 8 | byte) & 16777215;
5110 --expectedChars;
5111 if (expectedChars === 0) {
5112 outputIndex0 = outputIndex + 1;
5113 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63);
5114 outputIndex = outputIndex0 + 1;
5115 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63);
5116 outputIndex0 = outputIndex + 1;
5117 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63);
5118 outputIndex = outputIndex0 + 1;
5119 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits & 63);
5120 bits = 0;
5121 expectedChars = 3;
5122 }
5123 }
5124 if (byteOr >= 0 && byteOr <= 255) {
5125 if (isLast && expectedChars < 3) {
5126 outputIndex0 = outputIndex + 1;
5127 outputIndex1 = outputIndex0 + 1;
5128 if (3 - expectedChars === 1) {
5129 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63);
5130 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63);
5131 output[outputIndex1] = 61;
5132 output[outputIndex1 + 1] = 61;
5133 } else {
5134 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63);
5135 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63);
5136 output[outputIndex1] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63);
5137 output[outputIndex1 + 1] = 61;
5138 }
5139 return 0;
5140 }
5141 return (bits << 2 | 3 - expectedChars) >>> 0;
5142 }
5143 for (i = start; i < end;) {
5144 byte = t1.$index(bytes, i);
5145 if (byte < 0 || byte > 255)
5146 break;
5147 ++i;
5148 }
5149 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));
5150 },
5151 JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
5152 return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
5153 },
5154 _defaultToEncodable(object) {
5155 return object.toJson$0();
5156 },
5157 _JsonStringStringifier$(_sink, _toEncodable) {
5158 return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
5159 },
5160 _JsonStringStringifier_stringify(object, toEncodable, indent) {
5161 var t1,
5162 output = new A.StringBuffer(""),
5163 stringifier = A._JsonStringStringifier$(output, toEncodable);
5164 stringifier.writeObject$1(object);
5165 t1 = output._contents;
5166 return t1.charCodeAt(0) == 0 ? t1 : t1;
5167 },
5168 _Utf8Decoder_errorDescription(state) {
5169 switch (state) {
5170 case 65:
5171 return "Missing extension byte";
5172 case 67:
5173 return "Unexpected extension byte";
5174 case 69:
5175 return "Invalid UTF-8 byte";
5176 case 71:
5177 return "Overlong encoding";
5178 case 73:
5179 return "Out of unicode range";
5180 case 75:
5181 return "Encoded surrogate";
5182 case 77:
5183 return "Unfinished UTF-8 octet sequence";
5184 default:
5185 return "";
5186 }
5187 },
5188 _Utf8Decoder__makeUint8List(codeUnits, start, end) {
5189 var t1, i, b,
5190 $length = end - start,
5191 bytes = new Uint8Array($length);
5192 for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
5193 b = t1.$index(codeUnits, start + i);
5194 bytes[i] = (b & 4294967040) >>> 0 !== 0 ? 255 : b;
5195 }
5196 return bytes;
5197 },
5198 Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() {
5199 },
5200 Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() {
5201 },
5202 AsciiCodec: function AsciiCodec() {
5203 },
5204 _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
5205 },
5206 AsciiEncoder: function AsciiEncoder(t0) {
5207 this._subsetMask = t0;
5208 },
5209 Base64Codec: function Base64Codec() {
5210 },
5211 Base64Encoder: function Base64Encoder() {
5212 },
5213 _Base64Encoder: function _Base64Encoder(t0) {
5214 this._convert$_state = 0;
5215 this._alphabet = t0;
5216 },
5217 _Base64EncoderSink: function _Base64EncoderSink() {
5218 },
5219 _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
5220 this._sink = t0;
5221 this._encoder = t1;
5222 },
5223 ByteConversionSink: function ByteConversionSink() {
5224 },
5225 ByteConversionSinkBase: function ByteConversionSinkBase() {
5226 },
5227 ChunkedConversionSink: function ChunkedConversionSink() {
5228 },
5229 Codec: function Codec() {
5230 },
5231 Converter: function Converter() {
5232 },
5233 Encoding: function Encoding() {
5234 },
5235 JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
5236 this.unsupportedObject = t0;
5237 this.cause = t1;
5238 },
5239 JsonCyclicError: function JsonCyclicError(t0, t1) {
5240 this.unsupportedObject = t0;
5241 this.cause = t1;
5242 },
5243 JsonCodec: function JsonCodec() {
5244 },
5245 JsonEncoder: function JsonEncoder(t0) {
5246 this._toEncodable = t0;
5247 },
5248 _JsonStringifier: function _JsonStringifier() {
5249 },
5250 _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
5251 this._box_0 = t0;
5252 this.keyValueList = t1;
5253 },
5254 _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
5255 this._sink = t0;
5256 this._seen = t1;
5257 this._toEncodable = t2;
5258 },
5259 StringConversionSinkBase: function StringConversionSinkBase() {
5260 },
5261 StringConversionSinkMixin: function StringConversionSinkMixin() {
5262 },
5263 _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
5264 this._stringSink = t0;
5265 },
5266 _StringCallbackSink: function _StringCallbackSink(t0, t1) {
5267 this._convert$_callback = t0;
5268 this._stringSink = t1;
5269 },
5270 _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
5271 this._decoder = t0;
5272 this._sink = t1;
5273 this._stringSink = t2;
5274 },
5275 Utf8Codec: function Utf8Codec() {
5276 },
5277 Utf8Encoder: function Utf8Encoder() {
5278 },
5279 _Utf8Encoder: function _Utf8Encoder(t0) {
5280 this._bufferIndex = 0;
5281 this._convert$_buffer = t0;
5282 },
5283 Utf8Decoder: function Utf8Decoder(t0) {
5284 this._allowMalformed = t0;
5285 },
5286 _Utf8Decoder: function _Utf8Decoder(t0) {
5287 this.allowMalformed = t0;
5288 this._convert$_state = 16;
5289 this._charOrIndex = 0;
5290 },
5291 identityHashCode(object) {
5292 return A.objectHashCode(object);
5293 },
5294 Function_apply($function, positionalArguments) {
5295 return A.Primitives_applyFunction($function, positionalArguments, null);
5296 },
5297 Expando$() {
5298 return new A.Expando(new WeakMap());
5299 },
5300 Expando__checkType(object) {
5301 var t1 = A._isBool(object) || typeof object == "number" || typeof object == "string";
5302 if (t1)
5303 throw A.wrapException(A.ArgumentError$value(object, string$.Expand, null));
5304 },
5305 int_parse(source, radix) {
5306 var value = A.Primitives_parseInt(source, radix);
5307 if (value != null)
5308 return value;
5309 throw A.wrapException(A.FormatException$(source, null, null));
5310 },
5311 double_parse(source) {
5312 var value = A.Primitives_parseDouble(source);
5313 if (value != null)
5314 return value;
5315 throw A.wrapException(A.FormatException$("Invalid double", source, null));
5316 },
5317 Error__objectToString(object) {
5318 if (object instanceof A.Closure)
5319 return object.toString$0(0);
5320 return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
5321 },
5322 Error__throw(error, stackTrace) {
5323 error = A.wrapException(error);
5324 error.stack = stackTrace.toString$0(0);
5325 throw error;
5326 throw A.wrapException("unreachable");
5327 },
5328 List_List$filled($length, fill, growable, $E) {
5329 var i,
5330 result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
5331 if ($length !== 0 && fill != null)
5332 for (i = 0; i < result.length; ++i)
5333 result[i] = fill;
5334 return result;
5335 },
5336 List_List$from(elements, growable, $E) {
5337 var t1,
5338 list = A._setArrayType([], $E._eval$1("JSArray<0>"));
5339 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
5340 list.push(t1.get$current(t1));
5341 if (growable)
5342 return list;
5343 return J.JSArray_markFixedList(list);
5344 },
5345 List_List$of(elements, growable, $E) {
5346 var t1;
5347 if (growable)
5348 return A.List_List$_of(elements, $E);
5349 t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E));
5350 return t1;
5351 },
5352 List_List$_of(elements, $E) {
5353 var list, t1;
5354 if (Array.isArray(elements))
5355 return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
5356 list = A._setArrayType([], $E._eval$1("JSArray<0>"));
5357 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
5358 list.push(t1.get$current(t1));
5359 return list;
5360 },
5361 List_List$unmodifiable(elements, $E) {
5362 return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E));
5363 },
5364 String_String$fromCharCodes(charCodes, start, end) {
5365 var array, len;
5366 if (Array.isArray(charCodes)) {
5367 array = charCodes;
5368 len = array.length;
5369 end = A.RangeError_checkValidRange(start, end, len);
5370 return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
5371 }
5372 if (type$.NativeUint8List._is(charCodes))
5373 return A.Primitives_stringFromNativeUint8List(charCodes, start, A.RangeError_checkValidRange(start, end, charCodes.length));
5374 return A.String__stringFromIterable(charCodes, start, end);
5375 },
5376 String_String$fromCharCode(charCode) {
5377 return A.Primitives_stringFromCharCode(charCode);
5378 },
5379 String__stringFromIterable(charCodes, start, end) {
5380 var t1, it, i, list, _null = null;
5381 if (start < 0)
5382 throw A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null));
5383 t1 = end == null;
5384 if (!t1 && end < start)
5385 throw A.wrapException(A.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null));
5386 it = J.get$iterator$ax(charCodes);
5387 for (i = 0; i < start; ++i)
5388 if (!it.moveNext$0())
5389 throw A.wrapException(A.RangeError$range(start, 0, i, _null, _null));
5390 list = [];
5391 if (t1)
5392 for (; it.moveNext$0();)
5393 list.push(it.get$current(it));
5394 else
5395 for (i = start; i < end; ++i) {
5396 if (!it.moveNext$0())
5397 throw A.wrapException(A.RangeError$range(end, start, i, _null, _null));
5398 list.push(it.get$current(it));
5399 }
5400 return A.Primitives_stringFromCharCodes(list);
5401 },
5402 RegExp_RegExp(source, multiLine) {
5403 return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false));
5404 },
5405 identical(a, b) {
5406 return a == null ? b == null : a === b;
5407 },
5408 StringBuffer__writeAll(string, objects, separator) {
5409 var iterator = J.get$iterator$ax(objects);
5410 if (!iterator.moveNext$0())
5411 return string;
5412 if (separator.length === 0) {
5413 do
5414 string += A.S(iterator.get$current(iterator));
5415 while (iterator.moveNext$0());
5416 } else {
5417 string += A.S(iterator.get$current(iterator));
5418 for (; iterator.moveNext$0();)
5419 string = string + separator + A.S(iterator.get$current(iterator));
5420 }
5421 return string;
5422 },
5423 NoSuchMethodError$(receiver, memberName, positionalArguments, namedArguments) {
5424 return new A.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments);
5425 },
5426 Uri_base() {
5427 var uri = A.Primitives_currentUri();
5428 if (uri != null)
5429 return A.Uri_parse(uri);
5430 throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
5431 },
5432 _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) {
5433 var t1, bytes, i, t2, byte,
5434 _s16_ = "0123456789ABCDEF";
5435 if (encoding === B.C_Utf8Codec) {
5436 t1 = $.$get$_Uri__needsNoEncoding()._nativeRegExp;
5437 t1 = t1.test(text);
5438 } else
5439 t1 = false;
5440 if (t1)
5441 return text;
5442 bytes = encoding.get$encoder().convert$1(text);
5443 for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
5444 byte = bytes[i];
5445 if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
5446 t2 += A.Primitives_stringFromCharCode(byte);
5447 else
5448 t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
5449 }
5450 return t2.charCodeAt(0) == 0 ? t2 : t2;
5451 },
5452 StackTrace_current() {
5453 var stackTrace, exception;
5454 if ($.$get$_hasErrorStackProperty())
5455 return A.getTraceFromException(new Error());
5456 try {
5457 throw A.wrapException("");
5458 } catch (exception) {
5459 stackTrace = A.getTraceFromException(exception);
5460 return stackTrace;
5461 }
5462 },
5463 DateTime$_withValue(_value, isUtc) {
5464 var t1;
5465 if (Math.abs(_value) <= 864e13)
5466 t1 = false;
5467 else
5468 t1 = true;
5469 if (t1)
5470 A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + _value, null));
5471 A.checkNotNullable(false, "isUtc", type$.bool);
5472 return new A.DateTime(_value, false);
5473 },
5474 DateTime__fourDigits(n) {
5475 var absN = Math.abs(n),
5476 sign = n < 0 ? "-" : "";
5477 if (absN >= 1000)
5478 return "" + n;
5479 if (absN >= 100)
5480 return sign + "0" + absN;
5481 if (absN >= 10)
5482 return sign + "00" + absN;
5483 return sign + "000" + absN;
5484 },
5485 DateTime__threeDigits(n) {
5486 if (n >= 100)
5487 return "" + n;
5488 if (n >= 10)
5489 return "0" + n;
5490 return "00" + n;
5491 },
5492 DateTime__twoDigits(n) {
5493 if (n >= 10)
5494 return "" + n;
5495 return "0" + n;
5496 },
5497 Duration$(milliseconds) {
5498 return new A.Duration(1000 * milliseconds);
5499 },
5500 Error_safeToString(object) {
5501 if (typeof object == "number" || A._isBool(object) || object == null)
5502 return J.toString$0$(object);
5503 if (typeof object == "string")
5504 return JSON.stringify(object);
5505 return A.Error__objectToString(object);
5506 },
5507 AssertionError$(message) {
5508 return new A.AssertionError(message);
5509 },
5510 ArgumentError$(message, $name) {
5511 return new A.ArgumentError(false, null, $name, message);
5512 },
5513 ArgumentError$value(value, $name, message) {
5514 return new A.ArgumentError(true, value, $name, message);
5515 },
5516 ArgumentError_checkNotNull(argument, $name) {
5517 return argument;
5518 },
5519 RangeError$(message) {
5520 var _null = null;
5521 return new A.RangeError(_null, _null, false, _null, _null, message);
5522 },
5523 RangeError$value(value, $name, message) {
5524 return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
5525 },
5526 RangeError$range(invalidValue, minValue, maxValue, $name, message) {
5527 return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
5528 },
5529 RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
5530 if (value < minValue || value > maxValue)
5531 throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
5532 return value;
5533 },
5534 RangeError_checkValidIndex(index, indexable, $name) {
5535 var $length = indexable.get$length(indexable);
5536 if (0 > index || index >= $length)
5537 throw A.wrapException(A.IndexError$(index, indexable, $name == null ? "index" : $name, null, $length));
5538 return index;
5539 },
5540 RangeError_checkValidRange(start, end, $length) {
5541 if (0 > start || start > $length)
5542 throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
5543 if (end != null) {
5544 if (start > end || end > $length)
5545 throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
5546 return end;
5547 }
5548 return $length;
5549 },
5550 RangeError_checkNotNegative(value, $name) {
5551 if (value < 0)
5552 throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
5553 return value;
5554 },
5555 IndexError$(invalidValue, indexable, $name, message, $length) {
5556 var t1 = $length == null ? J.get$length$asx(indexable) : $length;
5557 return new A.IndexError(t1, true, invalidValue, $name, "Index out of range");
5558 },
5559 UnsupportedError$(message) {
5560 return new A.UnsupportedError(message);
5561 },
5562 UnimplementedError$(message) {
5563 return new A.UnimplementedError(message);
5564 },
5565 StateError$(message) {
5566 return new A.StateError(message);
5567 },
5568 ConcurrentModificationError$(modifiedObject) {
5569 return new A.ConcurrentModificationError(modifiedObject);
5570 },
5571 FormatException$(message, source, offset) {
5572 return new A.FormatException(message, source, offset);
5573 },
5574 Iterable_Iterable$generate(count, generator, $E) {
5575 if (count <= 0)
5576 return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
5577 return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
5578 },
5579 Map_castFrom(source, $K, $V, K2, V2) {
5580 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>"));
5581 },
5582 Object_hash(object1, object2, object3) {
5583 var t1, t2;
5584 if (B.C_SentinelValue === object3) {
5585 t1 = J.get$hashCode$(object1);
5586 object2 = J.get$hashCode$(object2);
5587 return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
5588 }
5589 t1 = J.get$hashCode$(object1);
5590 object2 = J.get$hashCode$(object2);
5591 object3 = J.get$hashCode$(object3);
5592 t2 = $.$get$_hashSeed();
5593 return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(t2, t1), object2), object3));
5594 },
5595 print(object) {
5596 var line = A.S(object),
5597 toZone = $.printToZone;
5598 if (toZone == null)
5599 A.printString(line);
5600 else
5601 toZone.call$1(line);
5602 },
5603 Set_castFrom(source, newSet, $S, $T) {
5604 return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
5605 },
5606 _combineSurrogatePair(start, end) {
5607 return 65536 + ((start & 1023) << 10) + (end & 1023);
5608 },
5609 Uri_Uri$dataFromString($content, encoding, mimeType) {
5610 var encodingName, t1,
5611 buffer = new A.StringBuffer(""),
5612 indices = A._setArrayType([-1], type$.JSArray_int);
5613 if (encoding == null)
5614 encodingName = null;
5615 else
5616 encodingName = "utf-8";
5617 if (encoding == null)
5618 encoding = B.C_AsciiCodec;
5619 A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
5620 indices.push(buffer._contents.length);
5621 buffer._contents += ",";
5622 A.UriData__uriEncodeBytes(B.List_CVk, encoding.encode$1($content), buffer);
5623 t1 = buffer._contents;
5624 return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
5625 },
5626 Uri_parse(uri) {
5627 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,
5628 end = uri.length;
5629 if (end >= 5) {
5630 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;
5631 if (delta === 0)
5632 return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
5633 else if (delta === 32)
5634 return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
5635 }
5636 indices = A.List_List$filled(8, 0, false, type$.int);
5637 indices[0] = 0;
5638 indices[1] = -1;
5639 indices[2] = -1;
5640 indices[7] = -1;
5641 indices[3] = 0;
5642 indices[4] = 0;
5643 indices[5] = end;
5644 indices[6] = end;
5645 if (A._scan(uri, 0, end, 0, indices) >= 14)
5646 indices[7] = end;
5647 schemeEnd = indices[1];
5648 if (schemeEnd >= 0)
5649 if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
5650 indices[7] = schemeEnd;
5651 hostStart = indices[2] + 1;
5652 portStart = indices[3];
5653 pathStart = indices[4];
5654 queryStart = indices[5];
5655 fragmentStart = indices[6];
5656 if (fragmentStart < queryStart)
5657 queryStart = fragmentStart;
5658 if (pathStart < hostStart)
5659 pathStart = queryStart;
5660 else if (pathStart <= schemeEnd)
5661 pathStart = schemeEnd + 1;
5662 if (portStart < hostStart)
5663 portStart = pathStart;
5664 isSimple = indices[7] < 0;
5665 if (isSimple)
5666 if (hostStart > schemeEnd + 3) {
5667 scheme = _null;
5668 isSimple = false;
5669 } else {
5670 t1 = portStart > 0;
5671 if (t1 && portStart + 1 === pathStart) {
5672 scheme = _null;
5673 isSimple = false;
5674 } else {
5675 if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
5676 t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
5677 else
5678 t2 = true;
5679 if (t2) {
5680 scheme = _null;
5681 isSimple = false;
5682 } else {
5683 if (schemeEnd === 4)
5684 if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
5685 if (hostStart <= 0) {
5686 if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
5687 schemeAuth = "file:///";
5688 delta = 3;
5689 } else {
5690 schemeAuth = "file://";
5691 delta = 2;
5692 }
5693 uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
5694 schemeEnd -= 0;
5695 t1 = delta - 0;
5696 queryStart += t1;
5697 fragmentStart += t1;
5698 end = uri.length;
5699 hostStart = 7;
5700 portStart = 7;
5701 pathStart = 7;
5702 } else if (pathStart === queryStart) {
5703 ++fragmentStart;
5704 queryStart0 = queryStart + 1;
5705 uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
5706 ++end;
5707 queryStart = queryStart0;
5708 }
5709 scheme = "file";
5710 } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
5711 if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
5712 fragmentStart -= 3;
5713 pathStart0 = pathStart - 3;
5714 queryStart -= 3;
5715 uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
5716 end -= 3;
5717 pathStart = pathStart0;
5718 }
5719 scheme = "http";
5720 } else
5721 scheme = _null;
5722 else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
5723 if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
5724 fragmentStart -= 4;
5725 pathStart0 = pathStart - 4;
5726 queryStart -= 4;
5727 uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
5728 end -= 3;
5729 pathStart = pathStart0;
5730 }
5731 scheme = "https";
5732 } else
5733 scheme = _null;
5734 isSimple = true;
5735 }
5736 }
5737 }
5738 else
5739 scheme = _null;
5740 if (isSimple) {
5741 if (end < uri.length) {
5742 uri = B.JSString_methods.substring$2(uri, 0, end);
5743 schemeEnd -= 0;
5744 hostStart -= 0;
5745 portStart -= 0;
5746 pathStart -= 0;
5747 queryStart -= 0;
5748 fragmentStart -= 0;
5749 }
5750 return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
5751 }
5752 if (scheme == null)
5753 if (schemeEnd > 0)
5754 scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
5755 else {
5756 if (schemeEnd === 0)
5757 A._Uri__fail(uri, 0, "Invalid empty scheme");
5758 scheme = "";
5759 }
5760 if (hostStart > 0) {
5761 userInfoStart = schemeEnd + 3;
5762 userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
5763 host = A._Uri__makeHost(uri, hostStart, portStart, false);
5764 t1 = portStart + 1;
5765 if (t1 < pathStart) {
5766 portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
5767 port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
5768 } else
5769 port = _null;
5770 } else {
5771 port = _null;
5772 host = port;
5773 userInfo = "";
5774 }
5775 path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
5776 query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
5777 return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
5778 },
5779 Uri_decodeComponent(encodedComponent) {
5780 return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
5781 },
5782 Uri__parseIPv4Address(host, start, end) {
5783 var i, partStart, partIndex, char, part, partIndex0,
5784 _s43_ = "IPv4 address should contain exactly 4 parts",
5785 _s37_ = "each part must be in the range 0..255",
5786 error = new A.Uri__parseIPv4Address_error(host),
5787 result = new Uint8Array(4);
5788 for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
5789 char = B.JSString_methods.codeUnitAt$1(host, i);
5790 if (char !== 46) {
5791 if ((char ^ 48) > 9)
5792 error.call$2("invalid character", i);
5793 } else {
5794 if (partIndex === 3)
5795 error.call$2(_s43_, i);
5796 part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
5797 if (part > 255)
5798 error.call$2(_s37_, partStart);
5799 partIndex0 = partIndex + 1;
5800 result[partIndex] = part;
5801 partStart = i + 1;
5802 partIndex = partIndex0;
5803 }
5804 }
5805 if (partIndex !== 3)
5806 error.call$2(_s43_, end);
5807 part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
5808 if (part > 255)
5809 error.call$2(_s37_, partStart);
5810 result[partIndex] = part;
5811 return result;
5812 },
5813 Uri_parseIPv6Address(host, start, end) {
5814 var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
5815 error = new A.Uri_parseIPv6Address_error(host),
5816 parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
5817 if (host.length < 2)
5818 error.call$2("address is too short", _null);
5819 parts = A._setArrayType([], type$.JSArray_int);
5820 for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
5821 char = B.JSString_methods.codeUnitAt$1(host, i);
5822 if (char === 58) {
5823 if (i === start) {
5824 ++i;
5825 if (B.JSString_methods.codeUnitAt$1(host, i) !== 58)
5826 error.call$2("invalid start colon.", i);
5827 partStart = i;
5828 }
5829 if (i === partStart) {
5830 if (wildcardSeen)
5831 error.call$2("only one wildcard `::` is allowed", i);
5832 parts.push(-1);
5833 wildcardSeen = true;
5834 } else
5835 parts.push(parseHex.call$2(partStart, i));
5836 partStart = i + 1;
5837 } else if (char === 46)
5838 seenDot = true;
5839 }
5840 if (parts.length === 0)
5841 error.call$2("too few parts", _null);
5842 atEnd = partStart === end;
5843 t1 = B.JSArray_methods.get$last(parts);
5844 if (atEnd && t1 !== -1)
5845 error.call$2("expected a part after last `:`", end);
5846 if (!atEnd)
5847 if (!seenDot)
5848 parts.push(parseHex.call$2(partStart, end));
5849 else {
5850 last = A.Uri__parseIPv4Address(host, partStart, end);
5851 parts.push((last[0] << 8 | last[1]) >>> 0);
5852 parts.push((last[2] << 8 | last[3]) >>> 0);
5853 }
5854 if (wildcardSeen) {
5855 if (parts.length > 7)
5856 error.call$2("an address with a wildcard must have less than 7 parts", _null);
5857 } else if (parts.length !== 8)
5858 error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
5859 bytes = new Uint8Array(16);
5860 for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
5861 value = parts[i];
5862 if (value === -1)
5863 for (j = 0; j < wildCardLength; ++j) {
5864 bytes[index] = 0;
5865 bytes[index + 1] = 0;
5866 index += 2;
5867 }
5868 else {
5869 bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
5870 bytes[index + 1] = value & 255;
5871 index += 2;
5872 }
5873 }
5874 return bytes;
5875 },
5876 _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
5877 return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
5878 },
5879 _Uri__Uri(host, path, pathSegments, scheme) {
5880 var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
5881 scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
5882 userInfo = A._Uri__makeUserInfo(_null, 0, 0);
5883 host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
5884 query = A._Uri__makeQuery(_null, 0, 0, _null);
5885 fragment = A._Uri__makeFragment(_null, 0, 0);
5886 port = A._Uri__makePort(_null, scheme);
5887 isFile = scheme === "file";
5888 if (host == null)
5889 t1 = userInfo.length !== 0 || port != null || isFile;
5890 else
5891 t1 = false;
5892 if (t1)
5893 host = "";
5894 t1 = host == null;
5895 hasAuthority = !t1;
5896 path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
5897 t2 = scheme.length === 0;
5898 if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
5899 path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
5900 else
5901 path = A._Uri__removeDotSegments(path);
5902 return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
5903 },
5904 _Uri__defaultPort(scheme) {
5905 if (scheme === "http")
5906 return 80;
5907 if (scheme === "https")
5908 return 443;
5909 return 0;
5910 },
5911 _Uri__compareScheme(scheme, uri) {
5912 var t1, i, schemeChar, uriChar, delta, lowerChar;
5913 for (t1 = scheme.length, i = 0; i < t1; ++i) {
5914 schemeChar = B.JSString_methods._codeUnitAt$1(scheme, i);
5915 uriChar = B.JSString_methods._codeUnitAt$1(uri, i);
5916 delta = schemeChar ^ uriChar;
5917 if (delta !== 0) {
5918 if (delta === 32) {
5919 lowerChar = uriChar | delta;
5920 if (97 <= lowerChar && lowerChar <= 122)
5921 continue;
5922 }
5923 return false;
5924 }
5925 }
5926 return true;
5927 },
5928 _Uri__fail(uri, index, message) {
5929 throw A.wrapException(A.FormatException$(message, uri, index));
5930 },
5931 _Uri__Uri$file(path, windows) {
5932 return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
5933 },
5934 _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
5935 var t1, _i, segment, t2, t3;
5936 for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
5937 segment = segments[_i];
5938 t2 = J.getInterceptor$asx(segment);
5939 t3 = t2.get$length(segment);
5940 if (0 > t3)
5941 A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null));
5942 if (A.stringContainsUnchecked(segment, "/", 0)) {
5943 t1 = A.UnsupportedError$("Illegal path character " + A.S(segment));
5944 throw A.wrapException(t1);
5945 }
5946 }
5947 },
5948 _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
5949 var t1, t2, t3, t4;
5950 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();) {
5951 t3 = t2._as(t1.__internal$_current);
5952 t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
5953 if (A.stringContainsUnchecked(t3, t4, 0))
5954 if (argumentError)
5955 throw A.wrapException(A.ArgumentError$("Illegal character in path", null));
5956 else
5957 throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
5958 }
5959 },
5960 _Uri__checkWindowsDriveLetter(charCode, argumentError) {
5961 var t1,
5962 _s21_ = "Illegal drive letter ";
5963 if (!(65 <= charCode && charCode <= 90))
5964 t1 = 97 <= charCode && charCode <= 122;
5965 else
5966 t1 = true;
5967 if (t1)
5968 return;
5969 if (argumentError)
5970 throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
5971 else
5972 throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
5973 },
5974 _Uri__makeFileUri(path, slashTerminated) {
5975 var _null = null,
5976 segments = A._setArrayType(path.split("/"), type$.JSArray_String);
5977 if (B.JSString_methods.startsWith$1(path, "/"))
5978 return A._Uri__Uri(_null, _null, segments, "file");
5979 else
5980 return A._Uri__Uri(_null, _null, segments, _null);
5981 },
5982 _Uri__makeWindowsFileUrl(path, slashTerminated) {
5983 var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
5984 if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
5985 if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
5986 path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
5987 else {
5988 path = B.JSString_methods.substring$1(path, 4);
5989 if (path.length < 3 || B.JSString_methods._codeUnitAt$1(path, 1) !== 58 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
5990 throw A.wrapException(A.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute", _null));
5991 }
5992 else
5993 path = A.stringReplaceAllUnchecked(path, "/", _s1_);
5994 t1 = path.length;
5995 if (t1 > 1 && B.JSString_methods._codeUnitAt$1(path, 1) === 58) {
5996 A._Uri__checkWindowsDriveLetter(B.JSString_methods._codeUnitAt$1(path, 0), true);
5997 if (t1 === 2 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
5998 throw A.wrapException(A.ArgumentError$("Windows paths with drive letter must be absolute", _null));
5999 pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
6000 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
6001 return A._Uri__Uri(_null, _null, pathSegments, _s4_);
6002 }
6003 if (B.JSString_methods.startsWith$1(path, _s1_))
6004 if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
6005 pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
6006 t1 = pathStart < 0;
6007 hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
6008 pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
6009 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
6010 return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
6011 } else {
6012 pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
6013 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
6014 return A._Uri__Uri(_null, _null, pathSegments, _s4_);
6015 }
6016 else {
6017 pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
6018 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
6019 return A._Uri__Uri(_null, _null, pathSegments, _null);
6020 }
6021 },
6022 _Uri__makePort(port, scheme) {
6023 if (port != null && port === A._Uri__defaultPort(scheme))
6024 return null;
6025 return port;
6026 },
6027 _Uri__makeHost(host, start, end, strictIPv6) {
6028 var t1, t2, index, zoneIDstart, zoneID, i;
6029 if (host == null)
6030 return null;
6031 if (start === end)
6032 return "";
6033 if (B.JSString_methods.codeUnitAt$1(host, start) === 91) {
6034 t1 = end - 1;
6035 if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93)
6036 A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
6037 t2 = start + 1;
6038 index = A._Uri__checkZoneID(host, t2, t1);
6039 if (index < t1) {
6040 zoneIDstart = index + 1;
6041 zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
6042 } else
6043 zoneID = "";
6044 A.Uri_parseIPv6Address(host, t2, index);
6045 return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
6046 }
6047 for (i = start; i < end; ++i)
6048 if (B.JSString_methods.codeUnitAt$1(host, i) === 58) {
6049 index = B.JSString_methods.indexOf$2(host, "%", start);
6050 index = index >= start && index < end ? index : end;
6051 if (index < end) {
6052 zoneIDstart = index + 1;
6053 zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
6054 } else
6055 zoneID = "";
6056 A.Uri_parseIPv6Address(host, start, index);
6057 return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
6058 }
6059 return A._Uri__normalizeRegName(host, start, end);
6060 },
6061 _Uri__checkZoneID(host, start, end) {
6062 var index = B.JSString_methods.indexOf$2(host, "%", start);
6063 return index >= start && index < end ? index : end;
6064 },
6065 _Uri__normalizeZoneID(host, start, end, prefix) {
6066 var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice,
6067 buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
6068 for (index = start, sectionStart = index, isNormalized = true; index < end;) {
6069 char = B.JSString_methods.codeUnitAt$1(host, index);
6070 if (char === 37) {
6071 replacement = A._Uri__normalizeEscape(host, index, true);
6072 t1 = replacement == null;
6073 if (t1 && isNormalized) {
6074 index += 3;
6075 continue;
6076 }
6077 if (buffer == null)
6078 buffer = new A.StringBuffer("");
6079 t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6080 if (t1)
6081 replacement = B.JSString_methods.substring$2(host, index, index + 3);
6082 else if (replacement === "%")
6083 A._Uri__fail(host, index, "ZoneID should not contain % anymore");
6084 buffer._contents = t2 + replacement;
6085 index += 3;
6086 sectionStart = index;
6087 isNormalized = true;
6088 } else if (char < 127 && (B.List_nxB[char >>> 4] & 1 << (char & 15)) !== 0) {
6089 if (isNormalized && 65 <= char && 90 >= char) {
6090 if (buffer == null)
6091 buffer = new A.StringBuffer("");
6092 if (sectionStart < index) {
6093 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6094 sectionStart = index;
6095 }
6096 isNormalized = false;
6097 }
6098 ++index;
6099 } else {
6100 if ((char & 64512) === 55296 && index + 1 < end) {
6101 tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
6102 if ((tail & 64512) === 56320) {
6103 char = (char & 1023) << 10 | tail & 1023 | 65536;
6104 sourceLength = 2;
6105 } else
6106 sourceLength = 1;
6107 } else
6108 sourceLength = 1;
6109 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6110 if (buffer == null) {
6111 buffer = new A.StringBuffer("");
6112 t1 = buffer;
6113 } else
6114 t1 = buffer;
6115 t1._contents += slice;
6116 t1._contents += A._Uri__escapeChar(char);
6117 index += sourceLength;
6118 sectionStart = index;
6119 }
6120 }
6121 if (buffer == null)
6122 return B.JSString_methods.substring$2(host, start, end);
6123 if (sectionStart < end)
6124 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end);
6125 t1 = buffer._contents;
6126 return t1.charCodeAt(0) == 0 ? t1 : t1;
6127 },
6128 _Uri__normalizeRegName(host, start, end) {
6129 var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail;
6130 for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
6131 char = B.JSString_methods.codeUnitAt$1(host, index);
6132 if (char === 37) {
6133 replacement = A._Uri__normalizeEscape(host, index, true);
6134 t1 = replacement == null;
6135 if (t1 && isNormalized) {
6136 index += 3;
6137 continue;
6138 }
6139 if (buffer == null)
6140 buffer = new A.StringBuffer("");
6141 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6142 t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
6143 if (t1) {
6144 replacement = B.JSString_methods.substring$2(host, index, index + 3);
6145 sourceLength = 3;
6146 } else if (replacement === "%") {
6147 replacement = "%25";
6148 sourceLength = 1;
6149 } else
6150 sourceLength = 3;
6151 buffer._contents = t2 + replacement;
6152 index += sourceLength;
6153 sectionStart = index;
6154 isNormalized = true;
6155 } else if (char < 127 && (B.List_qNA[char >>> 4] & 1 << (char & 15)) !== 0) {
6156 if (isNormalized && 65 <= char && 90 >= char) {
6157 if (buffer == null)
6158 buffer = new A.StringBuffer("");
6159 if (sectionStart < index) {
6160 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6161 sectionStart = index;
6162 }
6163 isNormalized = false;
6164 }
6165 ++index;
6166 } else if (char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0)
6167 A._Uri__fail(host, index, "Invalid character");
6168 else {
6169 if ((char & 64512) === 55296 && index + 1 < end) {
6170 tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
6171 if ((tail & 64512) === 56320) {
6172 char = (char & 1023) << 10 | tail & 1023 | 65536;
6173 sourceLength = 2;
6174 } else
6175 sourceLength = 1;
6176 } else
6177 sourceLength = 1;
6178 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6179 if (!isNormalized)
6180 slice = slice.toLowerCase();
6181 if (buffer == null) {
6182 buffer = new A.StringBuffer("");
6183 t1 = buffer;
6184 } else
6185 t1 = buffer;
6186 t1._contents += slice;
6187 t1._contents += A._Uri__escapeChar(char);
6188 index += sourceLength;
6189 sectionStart = index;
6190 }
6191 }
6192 if (buffer == null)
6193 return B.JSString_methods.substring$2(host, start, end);
6194 if (sectionStart < end) {
6195 slice = B.JSString_methods.substring$2(host, sectionStart, end);
6196 buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
6197 }
6198 t1 = buffer._contents;
6199 return t1.charCodeAt(0) == 0 ? t1 : t1;
6200 },
6201 _Uri__makeScheme(scheme, start, end) {
6202 var i, containsUpperCase, codeUnit;
6203 if (start === end)
6204 return "";
6205 if (!A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(scheme, start)))
6206 A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
6207 for (i = start, containsUpperCase = false; i < end; ++i) {
6208 codeUnit = B.JSString_methods._codeUnitAt$1(scheme, i);
6209 if (!(codeUnit < 128 && (B.List_JYB[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0))
6210 A._Uri__fail(scheme, i, "Illegal scheme character");
6211 if (65 <= codeUnit && codeUnit <= 90)
6212 containsUpperCase = true;
6213 }
6214 scheme = B.JSString_methods.substring$2(scheme, start, end);
6215 return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
6216 },
6217 _Uri__canonicalizeScheme(scheme) {
6218 if (scheme === "http")
6219 return "http";
6220 if (scheme === "file")
6221 return "file";
6222 if (scheme === "https")
6223 return "https";
6224 if (scheme === "package")
6225 return "package";
6226 return scheme;
6227 },
6228 _Uri__makeUserInfo(userInfo, start, end) {
6229 if (userInfo == null)
6230 return "";
6231 return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_gRj, false);
6232 },
6233 _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
6234 var result,
6235 isFile = scheme === "file",
6236 ensureLeadingSlash = isFile || hasAuthority;
6237 if (path == null) {
6238 if (pathSegments == null)
6239 return isFile ? "/" : "";
6240 result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
6241 } else if (pathSegments != null)
6242 throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
6243 else
6244 result = A._Uri__normalizeOrSubstring(path, start, end, B.List_qg4, true);
6245 if (result.length === 0) {
6246 if (isFile)
6247 return "/";
6248 } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
6249 result = "/" + result;
6250 return A._Uri__normalizePath(result, scheme, hasAuthority);
6251 },
6252 _Uri__normalizePath(path, scheme, hasAuthority) {
6253 var t1 = scheme.length === 0;
6254 if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/"))
6255 return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
6256 return A._Uri__removeDotSegments(path);
6257 },
6258 _Uri__makeQuery(query, start, end, queryParameters) {
6259 if (query != null)
6260 return A._Uri__normalizeOrSubstring(query, start, end, B.List_CVk, true);
6261 return null;
6262 },
6263 _Uri__makeFragment(fragment, start, end) {
6264 if (fragment == null)
6265 return null;
6266 return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_CVk, true);
6267 },
6268 _Uri__normalizeEscape(source, index, lowerCase) {
6269 var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
6270 t1 = index + 2;
6271 if (t1 >= source.length)
6272 return "%";
6273 firstDigit = B.JSString_methods.codeUnitAt$1(source, index + 1);
6274 secondDigit = B.JSString_methods.codeUnitAt$1(source, t1);
6275 firstDigitValue = A.hexDigitValue(firstDigit);
6276 secondDigitValue = A.hexDigitValue(secondDigit);
6277 if (firstDigitValue < 0 || secondDigitValue < 0)
6278 return "%";
6279 value = firstDigitValue * 16 + secondDigitValue;
6280 if (value < 127 && (B.List_nxB[B.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0)
6281 return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
6282 if (firstDigit >= 97 || secondDigit >= 97)
6283 return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
6284 return null;
6285 },
6286 _Uri__escapeChar(char) {
6287 var codeUnits, flag, encodedBytes, index, byte,
6288 _s16_ = "0123456789ABCDEF";
6289 if (char < 128) {
6290 codeUnits = new Uint8Array(3);
6291 codeUnits[0] = 37;
6292 codeUnits[1] = B.JSString_methods._codeUnitAt$1(_s16_, char >>> 4);
6293 codeUnits[2] = B.JSString_methods._codeUnitAt$1(_s16_, char & 15);
6294 } else {
6295 if (char > 2047)
6296 if (char > 65535) {
6297 flag = 240;
6298 encodedBytes = 4;
6299 } else {
6300 flag = 224;
6301 encodedBytes = 3;
6302 }
6303 else {
6304 flag = 192;
6305 encodedBytes = 2;
6306 }
6307 codeUnits = new Uint8Array(3 * encodedBytes);
6308 for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
6309 byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
6310 codeUnits[index] = 37;
6311 codeUnits[index + 1] = B.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4);
6312 codeUnits[index + 2] = B.JSString_methods._codeUnitAt$1(_s16_, byte & 15);
6313 index += 3;
6314 }
6315 }
6316 return A.String_String$fromCharCodes(codeUnits, 0, null);
6317 },
6318 _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters) {
6319 var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters);
6320 return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
6321 },
6322 _Uri__normalize(component, start, end, charTable, escapeDelimiters) {
6323 var t1, index, sectionStart, buffer, char, replacement, sourceLength, t2, tail, _null = null;
6324 for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
6325 char = B.JSString_methods.codeUnitAt$1(component, index);
6326 if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0)
6327 ++index;
6328 else {
6329 if (char === 37) {
6330 replacement = A._Uri__normalizeEscape(component, index, false);
6331 if (replacement == null) {
6332 index += 3;
6333 continue;
6334 }
6335 if ("%" === replacement) {
6336 replacement = "%25";
6337 sourceLength = 1;
6338 } else
6339 sourceLength = 3;
6340 } else if (t1 && char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0) {
6341 A._Uri__fail(component, index, "Invalid character");
6342 sourceLength = _null;
6343 replacement = sourceLength;
6344 } else {
6345 if ((char & 64512) === 55296) {
6346 t2 = index + 1;
6347 if (t2 < end) {
6348 tail = B.JSString_methods.codeUnitAt$1(component, t2);
6349 if ((tail & 64512) === 56320) {
6350 char = (char & 1023) << 10 | tail & 1023 | 65536;
6351 sourceLength = 2;
6352 } else
6353 sourceLength = 1;
6354 } else
6355 sourceLength = 1;
6356 } else
6357 sourceLength = 1;
6358 replacement = A._Uri__escapeChar(char);
6359 }
6360 if (buffer == null) {
6361 buffer = new A.StringBuffer("");
6362 t2 = buffer;
6363 } else
6364 t2 = buffer;
6365 t2._contents += B.JSString_methods.substring$2(component, sectionStart, index);
6366 t2._contents += A.S(replacement);
6367 index += sourceLength;
6368 sectionStart = index;
6369 }
6370 }
6371 if (buffer == null)
6372 return _null;
6373 if (sectionStart < end)
6374 buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end);
6375 t1 = buffer._contents;
6376 return t1.charCodeAt(0) == 0 ? t1 : t1;
6377 },
6378 _Uri__mayContainDotSegments(path) {
6379 if (B.JSString_methods.startsWith$1(path, "."))
6380 return true;
6381 return B.JSString_methods.indexOf$1(path, "/.") !== -1;
6382 },
6383 _Uri__removeDotSegments(path) {
6384 var output, t1, t2, appendSlash, _i, segment;
6385 if (!A._Uri__mayContainDotSegments(path))
6386 return path;
6387 output = A._setArrayType([], type$.JSArray_String);
6388 for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
6389 segment = t1[_i];
6390 if (J.$eq$(segment, "..")) {
6391 if (output.length !== 0) {
6392 output.pop();
6393 if (output.length === 0)
6394 output.push("");
6395 }
6396 appendSlash = true;
6397 } else if ("." === segment)
6398 appendSlash = true;
6399 else {
6400 output.push(segment);
6401 appendSlash = false;
6402 }
6403 }
6404 if (appendSlash)
6405 output.push("");
6406 return B.JSArray_methods.join$1(output, "/");
6407 },
6408 _Uri__normalizeRelativePath(path, allowScheme) {
6409 var output, t1, t2, appendSlash, _i, segment;
6410 if (!A._Uri__mayContainDotSegments(path))
6411 return !allowScheme ? A._Uri__escapeScheme(path) : path;
6412 output = A._setArrayType([], type$.JSArray_String);
6413 for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
6414 segment = t1[_i];
6415 if (".." === segment)
6416 if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..") {
6417 output.pop();
6418 appendSlash = true;
6419 } else {
6420 output.push("..");
6421 appendSlash = false;
6422 }
6423 else if ("." === segment)
6424 appendSlash = true;
6425 else {
6426 output.push(segment);
6427 appendSlash = false;
6428 }
6429 }
6430 t1 = output.length;
6431 if (t1 !== 0)
6432 t1 = t1 === 1 && output[0].length === 0;
6433 else
6434 t1 = true;
6435 if (t1)
6436 return "./";
6437 if (appendSlash || B.JSArray_methods.get$last(output) === "..")
6438 output.push("");
6439 if (!allowScheme)
6440 output[0] = A._Uri__escapeScheme(output[0]);
6441 return B.JSArray_methods.join$1(output, "/");
6442 },
6443 _Uri__escapeScheme(path) {
6444 var i, char,
6445 t1 = path.length;
6446 if (t1 >= 2 && A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(path, 0)))
6447 for (i = 1; i < t1; ++i) {
6448 char = B.JSString_methods._codeUnitAt$1(path, i);
6449 if (char === 58)
6450 return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
6451 if (char > 127 || (B.List_JYB[char >>> 4] & 1 << (char & 15)) === 0)
6452 break;
6453 }
6454 return path;
6455 },
6456 _Uri__packageNameEnd(uri, path) {
6457 if (uri.isScheme$1("package") && uri._host == null)
6458 return A._skipPackageNameChars(path, 0, path.length);
6459 return -1;
6460 },
6461 _Uri__toWindowsFilePath(uri) {
6462 var hasDriveLetter, t2, host,
6463 segments = uri.get$pathSegments(),
6464 t1 = segments.length;
6465 if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) {
6466 A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false);
6467 A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
6468 hasDriveLetter = true;
6469 } else {
6470 A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
6471 hasDriveLetter = false;
6472 }
6473 t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
6474 if (uri.get$hasAuthority()) {
6475 host = uri.get$host();
6476 if (host.length !== 0)
6477 t2 = t2 + "\\" + host + "\\";
6478 }
6479 t2 = A.StringBuffer__writeAll(t2, segments, "\\");
6480 t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
6481 return t1.charCodeAt(0) == 0 ? t1 : t1;
6482 },
6483 _Uri__hexCharPairToByte(s, pos) {
6484 var byte, i, charCode;
6485 for (byte = 0, i = 0; i < 2; ++i) {
6486 charCode = B.JSString_methods._codeUnitAt$1(s, pos + i);
6487 if (48 <= charCode && charCode <= 57)
6488 byte = byte * 16 + charCode - 48;
6489 else {
6490 charCode |= 32;
6491 if (97 <= charCode && charCode <= 102)
6492 byte = byte * 16 + charCode - 87;
6493 else
6494 throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
6495 }
6496 }
6497 return byte;
6498 },
6499 _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
6500 var simple, codeUnit, t1, bytes,
6501 i = start;
6502 while (true) {
6503 if (!(i < end)) {
6504 simple = true;
6505 break;
6506 }
6507 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
6508 if (codeUnit <= 127)
6509 if (codeUnit !== 37)
6510 t1 = false;
6511 else
6512 t1 = true;
6513 else
6514 t1 = true;
6515 if (t1) {
6516 simple = false;
6517 break;
6518 }
6519 ++i;
6520 }
6521 if (simple) {
6522 if (B.C_Utf8Codec !== encoding)
6523 t1 = false;
6524 else
6525 t1 = true;
6526 if (t1)
6527 return B.JSString_methods.substring$2(text, start, end);
6528 else
6529 bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
6530 } else {
6531 bytes = A._setArrayType([], type$.JSArray_int);
6532 for (t1 = text.length, i = start; i < end; ++i) {
6533 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
6534 if (codeUnit > 127)
6535 throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
6536 if (codeUnit === 37) {
6537 if (i + 3 > t1)
6538 throw A.wrapException(A.ArgumentError$("Truncated URI", null));
6539 bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
6540 i += 2;
6541 } else
6542 bytes.push(codeUnit);
6543 }
6544 }
6545 return B.Utf8Decoder_false.convert$1(bytes);
6546 },
6547 _Uri__isAlphabeticCharacter(codeUnit) {
6548 var lowerCase = codeUnit | 32;
6549 return 97 <= lowerCase && lowerCase <= 122;
6550 },
6551 UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
6552 var t1, slashIndex;
6553 if (mimeType == null || mimeType === "text/plain")
6554 mimeType = "";
6555 if (mimeType.length === 0 || mimeType === "application/octet-stream")
6556 t1 = buffer._contents += mimeType;
6557 else {
6558 slashIndex = A.UriData__validateMimeType(mimeType);
6559 if (slashIndex < 0)
6560 throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
6561 t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
6562 buffer._contents = t1 + "/";
6563 t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
6564 }
6565 if (charsetName != null) {
6566 indices.push(t1.length);
6567 indices.push(buffer._contents.length + 8);
6568 buffer._contents += ";charset=";
6569 buffer._contents += A._Uri__uriEncode(B.List_qFt, charsetName, B.C_Utf8Codec, false);
6570 }
6571 },
6572 UriData__validateMimeType(mimeType) {
6573 var t1, slashIndex, i;
6574 for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
6575 if (B.JSString_methods._codeUnitAt$1(mimeType, i) !== 47)
6576 continue;
6577 if (slashIndex < 0) {
6578 slashIndex = i;
6579 continue;
6580 }
6581 return -1;
6582 }
6583 return slashIndex;
6584 },
6585 UriData__parse(text, start, sourceUri) {
6586 var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
6587 _s17_ = "Invalid MIME type",
6588 indices = A._setArrayType([start - 1], type$.JSArray_int);
6589 for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
6590 char = B.JSString_methods._codeUnitAt$1(text, i);
6591 if (char === 44 || char === 59)
6592 break;
6593 if (char === 47) {
6594 if (slashIndex < 0) {
6595 slashIndex = i;
6596 continue;
6597 }
6598 throw A.wrapException(A.FormatException$(_s17_, text, i));
6599 }
6600 }
6601 if (slashIndex < 0 && i > start)
6602 throw A.wrapException(A.FormatException$(_s17_, text, i));
6603 for (; char !== 44;) {
6604 indices.push(i);
6605 ++i;
6606 for (equalsIndex = -1; i < t1; ++i) {
6607 char = B.JSString_methods._codeUnitAt$1(text, i);
6608 if (char === 61) {
6609 if (equalsIndex < 0)
6610 equalsIndex = i;
6611 } else if (char === 59 || char === 44)
6612 break;
6613 }
6614 if (equalsIndex >= 0)
6615 indices.push(equalsIndex);
6616 else {
6617 lastSeparator = B.JSArray_methods.get$last(indices);
6618 if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
6619 throw A.wrapException(A.FormatException$("Expecting '='", text, i));
6620 break;
6621 }
6622 }
6623 indices.push(i);
6624 t2 = i + 1;
6625 if ((indices.length & 1) === 1)
6626 text = B.C_Base64Codec.normalize$3(text, t2, t1);
6627 else {
6628 data = A._Uri__normalize(text, t2, t1, B.List_CVk, true);
6629 if (data != null)
6630 text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
6631 }
6632 return new A.UriData(text, indices, sourceUri);
6633 },
6634 UriData__uriEncodeBytes(canonicalTable, bytes, buffer) {
6635 var t1, byteOr, i, byte, t2, t3,
6636 _s16_ = "0123456789ABCDEF";
6637 for (t1 = J.getInterceptor$asx(bytes), byteOr = 0, i = 0; i < t1.get$length(bytes); ++i) {
6638 byte = t1.$index(bytes, i);
6639 byteOr |= byte;
6640 t2 = byte < 128 && (canonicalTable[B.JSInt_methods._shrOtherPositive$1(byte, 4)] & 1 << (byte & 15)) !== 0;
6641 t3 = buffer._contents;
6642 if (t2)
6643 buffer._contents = t3 + A.Primitives_stringFromCharCode(byte);
6644 else {
6645 t2 = t3 + A.Primitives_stringFromCharCode(37);
6646 buffer._contents = t2;
6647 t2 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, B.JSInt_methods._shrOtherPositive$1(byte, 4)));
6648 buffer._contents = t2;
6649 buffer._contents = t2 + A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, byte & 15));
6650 }
6651 }
6652 if ((byteOr & 4294967040) >>> 0 !== 0)
6653 for (i = 0; i < t1.get$length(bytes); ++i) {
6654 byte = t1.$index(bytes, i);
6655 if (byte < 0 || byte > 255)
6656 throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
6657 }
6658 },
6659 _createTables() {
6660 var _i, t1, t2, t3, b,
6661 _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",
6662 _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "?", _s1_3 = "#",
6663 tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List);
6664 for (_i = 0; _i < 22; ++_i)
6665 tables[_i] = new Uint8Array(96);
6666 t1 = new A._createTables_build(tables);
6667 t2 = new A._createTables_setChars();
6668 t3 = new A._createTables_setRange();
6669 b = t1.call$2(0, 225);
6670 t2.call$3(b, _s77_, 1);
6671 t2.call$3(b, _s1_, 14);
6672 t2.call$3(b, _s1_0, 34);
6673 t2.call$3(b, _s1_1, 3);
6674 t2.call$3(b, _s1_2, 172);
6675 t2.call$3(b, _s1_3, 205);
6676 b = t1.call$2(14, 225);
6677 t2.call$3(b, _s77_, 1);
6678 t2.call$3(b, _s1_, 15);
6679 t2.call$3(b, _s1_0, 34);
6680 t2.call$3(b, _s1_1, 234);
6681 t2.call$3(b, _s1_2, 172);
6682 t2.call$3(b, _s1_3, 205);
6683 b = t1.call$2(15, 225);
6684 t2.call$3(b, _s77_, 1);
6685 t2.call$3(b, "%", 225);
6686 t2.call$3(b, _s1_0, 34);
6687 t2.call$3(b, _s1_1, 9);
6688 t2.call$3(b, _s1_2, 172);
6689 t2.call$3(b, _s1_3, 205);
6690 b = t1.call$2(1, 225);
6691 t2.call$3(b, _s77_, 1);
6692 t2.call$3(b, _s1_0, 34);
6693 t2.call$3(b, _s1_1, 10);
6694 t2.call$3(b, _s1_2, 172);
6695 t2.call$3(b, _s1_3, 205);
6696 b = t1.call$2(2, 235);
6697 t2.call$3(b, _s77_, 139);
6698 t2.call$3(b, _s1_1, 131);
6699 t2.call$3(b, _s1_, 146);
6700 t2.call$3(b, _s1_2, 172);
6701 t2.call$3(b, _s1_3, 205);
6702 b = t1.call$2(3, 235);
6703 t2.call$3(b, _s77_, 11);
6704 t2.call$3(b, _s1_1, 68);
6705 t2.call$3(b, _s1_, 18);
6706 t2.call$3(b, _s1_2, 172);
6707 t2.call$3(b, _s1_3, 205);
6708 b = t1.call$2(4, 229);
6709 t2.call$3(b, _s77_, 5);
6710 t3.call$3(b, "AZ", 229);
6711 t2.call$3(b, _s1_0, 102);
6712 t2.call$3(b, "@", 68);
6713 t2.call$3(b, "[", 232);
6714 t2.call$3(b, _s1_1, 138);
6715 t2.call$3(b, _s1_2, 172);
6716 t2.call$3(b, _s1_3, 205);
6717 b = t1.call$2(5, 229);
6718 t2.call$3(b, _s77_, 5);
6719 t3.call$3(b, "AZ", 229);
6720 t2.call$3(b, _s1_0, 102);
6721 t2.call$3(b, "@", 68);
6722 t2.call$3(b, _s1_1, 138);
6723 t2.call$3(b, _s1_2, 172);
6724 t2.call$3(b, _s1_3, 205);
6725 b = t1.call$2(6, 231);
6726 t3.call$3(b, "19", 7);
6727 t2.call$3(b, "@", 68);
6728 t2.call$3(b, _s1_1, 138);
6729 t2.call$3(b, _s1_2, 172);
6730 t2.call$3(b, _s1_3, 205);
6731 b = t1.call$2(7, 231);
6732 t3.call$3(b, "09", 7);
6733 t2.call$3(b, "@", 68);
6734 t2.call$3(b, _s1_1, 138);
6735 t2.call$3(b, _s1_2, 172);
6736 t2.call$3(b, _s1_3, 205);
6737 t2.call$3(t1.call$2(8, 8), "]", 5);
6738 b = t1.call$2(9, 235);
6739 t2.call$3(b, _s77_, 11);
6740 t2.call$3(b, _s1_, 16);
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(16, 235);
6745 t2.call$3(b, _s77_, 11);
6746 t2.call$3(b, _s1_, 17);
6747 t2.call$3(b, _s1_1, 234);
6748 t2.call$3(b, _s1_2, 172);
6749 t2.call$3(b, _s1_3, 205);
6750 b = t1.call$2(17, 235);
6751 t2.call$3(b, _s77_, 11);
6752 t2.call$3(b, _s1_1, 9);
6753 t2.call$3(b, _s1_2, 172);
6754 t2.call$3(b, _s1_3, 205);
6755 b = t1.call$2(10, 235);
6756 t2.call$3(b, _s77_, 11);
6757 t2.call$3(b, _s1_, 18);
6758 t2.call$3(b, _s1_1, 234);
6759 t2.call$3(b, _s1_2, 172);
6760 t2.call$3(b, _s1_3, 205);
6761 b = t1.call$2(18, 235);
6762 t2.call$3(b, _s77_, 11);
6763 t2.call$3(b, _s1_, 19);
6764 t2.call$3(b, _s1_1, 234);
6765 t2.call$3(b, _s1_2, 172);
6766 t2.call$3(b, _s1_3, 205);
6767 b = t1.call$2(19, 235);
6768 t2.call$3(b, _s77_, 11);
6769 t2.call$3(b, _s1_1, 234);
6770 t2.call$3(b, _s1_2, 172);
6771 t2.call$3(b, _s1_3, 205);
6772 b = t1.call$2(11, 235);
6773 t2.call$3(b, _s77_, 11);
6774 t2.call$3(b, _s1_1, 10);
6775 t2.call$3(b, _s1_2, 172);
6776 t2.call$3(b, _s1_3, 205);
6777 b = t1.call$2(12, 236);
6778 t2.call$3(b, _s77_, 12);
6779 t2.call$3(b, _s1_2, 12);
6780 t2.call$3(b, _s1_3, 205);
6781 b = t1.call$2(13, 237);
6782 t2.call$3(b, _s77_, 13);
6783 t2.call$3(b, _s1_2, 13);
6784 t3.call$3(t1.call$2(20, 245), "az", 21);
6785 b = t1.call$2(21, 245);
6786 t3.call$3(b, "az", 21);
6787 t3.call$3(b, "09", 21);
6788 t2.call$3(b, "+-.", 21);
6789 return tables;
6790 },
6791 _scan(uri, start, end, state, indices) {
6792 var i, table, char, transition,
6793 tables = $.$get$_scannerTables();
6794 for (i = start; i < end; ++i) {
6795 table = tables[state];
6796 char = B.JSString_methods._codeUnitAt$1(uri, i) ^ 96;
6797 transition = table[char > 95 ? 31 : char];
6798 state = transition & 31;
6799 indices[transition >>> 5] = i;
6800 }
6801 return state;
6802 },
6803 _SimpleUri__packageNameEnd(uri) {
6804 if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
6805 return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
6806 return -1;
6807 },
6808 _skipPackageNameChars(source, start, end) {
6809 var i, dots, char;
6810 for (i = start, dots = 0; i < end; ++i) {
6811 char = B.JSString_methods.codeUnitAt$1(source, i);
6812 if (char === 47)
6813 return dots !== 0 ? i : -1;
6814 if (char === 37 || char === 58)
6815 return -1;
6816 dots |= char ^ 46;
6817 }
6818 return -1;
6819 },
6820 NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
6821 this._box_0 = t0;
6822 this.sb = t1;
6823 },
6824 DateTime: function DateTime(t0, t1) {
6825 this._core$_value = t0;
6826 this.isUtc = t1;
6827 },
6828 Duration: function Duration(t0) {
6829 this._duration = t0;
6830 },
6831 Error: function Error() {
6832 },
6833 AssertionError: function AssertionError(t0) {
6834 this.message = t0;
6835 },
6836 TypeError: function TypeError() {
6837 },
6838 NullThrownError: function NullThrownError() {
6839 },
6840 ArgumentError: function ArgumentError(t0, t1, t2, t3) {
6841 var _ = this;
6842 _._hasValue = t0;
6843 _.invalidValue = t1;
6844 _.name = t2;
6845 _.message = t3;
6846 },
6847 RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
6848 var _ = this;
6849 _.start = t0;
6850 _.end = t1;
6851 _._hasValue = t2;
6852 _.invalidValue = t3;
6853 _.name = t4;
6854 _.message = t5;
6855 },
6856 IndexError: function IndexError(t0, t1, t2, t3, t4) {
6857 var _ = this;
6858 _.length = t0;
6859 _._hasValue = t1;
6860 _.invalidValue = t2;
6861 _.name = t3;
6862 _.message = t4;
6863 },
6864 NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
6865 var _ = this;
6866 _._core$_receiver = t0;
6867 _._memberName = t1;
6868 _._core$_arguments = t2;
6869 _._namedArguments = t3;
6870 },
6871 UnsupportedError: function UnsupportedError(t0) {
6872 this.message = t0;
6873 },
6874 UnimplementedError: function UnimplementedError(t0) {
6875 this.message = t0;
6876 },
6877 StateError: function StateError(t0) {
6878 this.message = t0;
6879 },
6880 ConcurrentModificationError: function ConcurrentModificationError(t0) {
6881 this.modifiedObject = t0;
6882 },
6883 OutOfMemoryError: function OutOfMemoryError() {
6884 },
6885 StackOverflowError: function StackOverflowError() {
6886 },
6887 CyclicInitializationError: function CyclicInitializationError(t0) {
6888 this.variableName = t0;
6889 },
6890 _Exception: function _Exception(t0) {
6891 this.message = t0;
6892 },
6893 FormatException: function FormatException(t0, t1, t2) {
6894 this.message = t0;
6895 this.source = t1;
6896 this.offset = t2;
6897 },
6898 Expando: function Expando(t0) {
6899 this._jsWeakMap = t0;
6900 },
6901 Iterable: function Iterable() {
6902 },
6903 _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
6904 this.length = t0;
6905 this._generator = t1;
6906 this.$ti = t2;
6907 },
6908 Iterator: function Iterator() {
6909 },
6910 MapEntry: function MapEntry(t0, t1, t2) {
6911 this.key = t0;
6912 this.value = t1;
6913 this.$ti = t2;
6914 },
6915 Null: function Null() {
6916 },
6917 Object: function Object() {
6918 },
6919 _StringStackTrace: function _StringStackTrace(t0) {
6920 this._stackTrace = t0;
6921 },
6922 Runes: function Runes(t0) {
6923 this.string = t0;
6924 },
6925 RuneIterator: function RuneIterator(t0) {
6926 var _ = this;
6927 _.string = t0;
6928 _._nextPosition = _._position = 0;
6929 _._currentCodePoint = -1;
6930 },
6931 StringBuffer: function StringBuffer(t0) {
6932 this._contents = t0;
6933 },
6934 Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
6935 this.host = t0;
6936 },
6937 Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
6938 this.host = t0;
6939 },
6940 Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
6941 this.error = t0;
6942 this.host = t1;
6943 },
6944 _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
6945 var _ = this;
6946 _.scheme = t0;
6947 _._userInfo = t1;
6948 _._host = t2;
6949 _._port = t3;
6950 _.path = t4;
6951 _._query = t5;
6952 _._fragment = t6;
6953 _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $;
6954 },
6955 _Uri__makePath_closure: function _Uri__makePath_closure() {
6956 },
6957 UriData: function UriData(t0, t1, t2) {
6958 this._text = t0;
6959 this._separatorIndices = t1;
6960 this._uriCache = t2;
6961 },
6962 _createTables_build: function _createTables_build(t0) {
6963 this.tables = t0;
6964 },
6965 _createTables_setChars: function _createTables_setChars() {
6966 },
6967 _createTables_setRange: function _createTables_setRange() {
6968 },
6969 _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
6970 var _ = this;
6971 _._uri = t0;
6972 _._schemeEnd = t1;
6973 _._hostStart = t2;
6974 _._portStart = t3;
6975 _._pathStart = t4;
6976 _._queryStart = t5;
6977 _._fragmentStart = t6;
6978 _._schemeCache = t7;
6979 _._hashCodeCache = null;
6980 },
6981 _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
6982 var _ = this;
6983 _.scheme = t0;
6984 _._userInfo = t1;
6985 _._host = t2;
6986 _._port = t3;
6987 _.path = t4;
6988 _._query = t5;
6989 _._fragment = t6;
6990 _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $;
6991 },
6992 _convertDataTree(data) {
6993 var t1 = new A._convertDataTree__convert(new A._IdentityHashMap(type$._IdentityHashMap_dynamic_dynamic)).call$1(data);
6994 t1.toString;
6995 return t1;
6996 },
6997 callConstructor(constr, $arguments) {
6998 var args, factoryFunction;
6999 if ($arguments instanceof Array)
7000 switch ($arguments.length) {
7001 case 0:
7002 return new constr();
7003 case 1:
7004 return new constr($arguments[0]);
7005 case 2:
7006 return new constr($arguments[0], $arguments[1]);
7007 case 3:
7008 return new constr($arguments[0], $arguments[1], $arguments[2]);
7009 case 4:
7010 return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
7011 }
7012 args = [null];
7013 B.JSArray_methods.addAll$1(args, $arguments);
7014 factoryFunction = constr.bind.apply(constr, args);
7015 String(factoryFunction);
7016 return new factoryFunction();
7017 },
7018 _convertDataTree__convert: function _convertDataTree__convert(t0) {
7019 this._convertedObjects = t0;
7020 },
7021 max(a, b) {
7022 return Math.max(A.checkNum(a), A.checkNum(b));
7023 },
7024 pow(x, exponent) {
7025 return Math.pow(x, exponent);
7026 },
7027 Random_Random() {
7028 return B.C__JSRandom;
7029 },
7030 _JSRandom: function _JSRandom() {
7031 },
7032 ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
7033 var _ = this;
7034 _._arg_parser$_options = t0;
7035 _._aliases = t1;
7036 _.options = t2;
7037 _.commands = t3;
7038 _._optionsAndSeparators = t4;
7039 _.allowTrailingOptions = t5;
7040 _.usageLineLength = t6;
7041 },
7042 ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
7043 this.$this = t0;
7044 },
7045 ArgParserException$(message, commands) {
7046 return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), message, null, null);
7047 },
7048 ArgParserException: function ArgParserException(t0, t1, t2, t3) {
7049 var _ = this;
7050 _.commands = t0;
7051 _.message = t1;
7052 _.source = t2;
7053 _.offset = t3;
7054 },
7055 ArgResults: function ArgResults(t0, t1, t2, t3) {
7056 var _ = this;
7057 _._parser = t0;
7058 _._parsed = t1;
7059 _.name = t2;
7060 _.rest = t3;
7061 },
7062 Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
7063 var _ = this;
7064 _.name = t0;
7065 _.abbr = t1;
7066 _.help = t2;
7067 _.valueHelp = t3;
7068 _.allowed = t4;
7069 _.allowedHelp = t5;
7070 _.defaultsTo = t6;
7071 _.negatable = t7;
7072 _.callback = t8;
7073 _.type = t9;
7074 _.splitCommas = t10;
7075 _.mandatory = t11;
7076 _.hide = t12;
7077 },
7078 OptionType: function OptionType(t0) {
7079 this.name = t0;
7080 },
7081 Parser$(_commandName, _grammar, _args, _parent, rest) {
7082 var t1 = A._setArrayType([], type$.JSArray_String);
7083 if (rest != null)
7084 B.JSArray_methods.addAll$1(t1, rest);
7085 return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
7086 },
7087 _isLetterOrDigit(codeUnit) {
7088 var t1;
7089 if (!(codeUnit >= 65 && codeUnit <= 90))
7090 if (!(codeUnit >= 97 && codeUnit <= 122))
7091 t1 = codeUnit >= 48 && codeUnit <= 57;
7092 else
7093 t1 = true;
7094 else
7095 t1 = true;
7096 return t1;
7097 },
7098 Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
7099 var _ = this;
7100 _._commandName = t0;
7101 _._parser$_parent = t1;
7102 _._grammar = t2;
7103 _._args = t3;
7104 _._parser$_rest = t4;
7105 _._results = t5;
7106 },
7107 Parser_parse_closure: function Parser_parse_closure(t0) {
7108 this.$this = t0;
7109 },
7110 Parser__setOption_closure: function Parser__setOption_closure() {
7111 },
7112 _Usage: function _Usage(t0, t1, t2) {
7113 var _ = this;
7114 _._usage$_optionsAndSeparators = t0;
7115 _._buffer = t1;
7116 _._currentColumn = 0;
7117 _.___Usage__columnWidths = $;
7118 _._newlinesNeeded = 0;
7119 _.lineLength = t2;
7120 },
7121 _Usage__writeOption_closure: function _Usage__writeOption_closure() {
7122 },
7123 _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
7124 this.option = t0;
7125 },
7126 CancelableOperation_CancelableOperation$fromFuture(result, onCancel, $T) {
7127 var t1 = A.CancelableCompleter$(onCancel, $T);
7128 t1.complete$1(result);
7129 return t1.get$operation();
7130 },
7131 CancelableOperation_race(operations, $T) {
7132 var t1, _cancelAll, completer, t2, _i, _box_0 = {};
7133 _box_0.operations = operations;
7134 t1 = A._setArrayType(operations.slice(0), A._arrayInstanceType(operations));
7135 operations = _box_0.operations = t1;
7136 t1 = operations.length;
7137 if (t1 === 0)
7138 throw A.wrapException(A.ArgumentError$("May not be empty", "operations"));
7139 _box_0.done = false;
7140 _cancelAll = new A.CancelableOperation_race__cancelAll(_box_0, $T);
7141 completer = A.CancelableCompleter$(_cancelAll, $T);
7142 for (t2 = type$.Null, _i = 0; _i < operations.length; operations.length === t1 || (0, A.throwConcurrentModificationError)(operations), ++_i)
7143 J.then$1$2$onError$x(operations[_i], new A.CancelableOperation_race_closure(_box_0, _cancelAll, completer, $T), new A.CancelableOperation_race_closure0(_box_0, _cancelAll, completer), t2);
7144 return completer.get$operation();
7145 },
7146 CancelableCompleter$(onCancel, $T) {
7147 var t1 = $.Zone__current;
7148 return new A.CancelableCompleter(new A._AsyncCompleter(new A._Future(t1, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncCompleter<0>")), new A._AsyncCompleter(new A._Future(t1, type$._Future_void), type$._AsyncCompleter_void), onCancel, $T._eval$1("CancelableCompleter<0>"));
7149 },
7150 CancelableOperation: function CancelableOperation(t0, t1) {
7151 this._completer = t0;
7152 this.$ti = t1;
7153 },
7154 CancelableOperation_race__cancelAll: function CancelableOperation_race__cancelAll(t0, t1) {
7155 this._box_0 = t0;
7156 this.T = t1;
7157 },
7158 CancelableOperation_race__cancelAll_closure: function CancelableOperation_race__cancelAll_closure(t0) {
7159 this.T = t0;
7160 },
7161 CancelableOperation_race_closure: function CancelableOperation_race_closure(t0, t1, t2, t3) {
7162 var _ = this;
7163 _._box_0 = t0;
7164 _._cancelAll = t1;
7165 _.completer = t2;
7166 _.T = t3;
7167 },
7168 CancelableOperation_race__closure0: function CancelableOperation_race__closure0(t0, t1) {
7169 this.completer = t0;
7170 this.value = t1;
7171 },
7172 CancelableOperation_race_closure0: function CancelableOperation_race_closure0(t0, t1, t2) {
7173 this._box_0 = t0;
7174 this._cancelAll = t1;
7175 this.completer = t2;
7176 },
7177 CancelableOperation_race__closure: function CancelableOperation_race__closure(t0, t1, t2) {
7178 this.completer = t0;
7179 this.error = t1;
7180 this.stackTrace = t2;
7181 },
7182 CancelableOperation_valueOrCancellation_closure: function CancelableOperation_valueOrCancellation_closure(t0, t1) {
7183 this.completer = t0;
7184 this.cancellationValue = t1;
7185 },
7186 CancelableOperation_then_closure: function CancelableOperation_then_closure(t0, t1, t2) {
7187 this.$this = t0;
7188 this.completer = t1;
7189 this.onValue = t2;
7190 },
7191 CancelableOperation_then_closure0: function CancelableOperation_then_closure0(t0, t1) {
7192 this.completer = t0;
7193 this.onError = t1;
7194 },
7195 CancelableCompleter: function CancelableCompleter(t0, t1, t2, t3) {
7196 var _ = this;
7197 _._cancelable_operation$_inner = t0;
7198 _._cancelCompleter = t1;
7199 _._onCancel = t2;
7200 _._mayComplete = true;
7201 _.__CancelableCompleter_operation = $;
7202 _.$ti = t3;
7203 },
7204 CancelableCompleter_complete_closure: function CancelableCompleter_complete_closure(t0) {
7205 this.$this = t0;
7206 },
7207 CancelableCompleter_complete_closure0: function CancelableCompleter_complete_closure0(t0) {
7208 this.$this = t0;
7209 },
7210 DelegatingStreamSubscription: function DelegatingStreamSubscription() {
7211 },
7212 ErrorResult: function ErrorResult(t0, t1) {
7213 this.error = t0;
7214 this.stackTrace = t1;
7215 },
7216 ValueResult: function ValueResult(t0, t1) {
7217 this.value = t0;
7218 this.$ti = t1;
7219 },
7220 StreamCompleter: function StreamCompleter(t0, t1) {
7221 this._stream_completer$_stream = t0;
7222 this.$ti = t1;
7223 },
7224 _CompleterStream: function _CompleterStream(t0) {
7225 this._sourceStream = this._stream_completer$_controller = null;
7226 this.$ti = t0;
7227 },
7228 StreamGroup: function StreamGroup(t0, t1, t2) {
7229 var _ = this;
7230 _.__StreamGroup__controller = $;
7231 _._closed = false;
7232 _._stream_group$_state = t0;
7233 _._subscriptions = t1;
7234 _.$ti = t2;
7235 },
7236 StreamGroup_add_closure: function StreamGroup_add_closure() {
7237 },
7238 StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
7239 this.$this = t0;
7240 this.stream = t1;
7241 },
7242 StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
7243 },
7244 StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
7245 this.$this = t0;
7246 },
7247 StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
7248 this.$this = t0;
7249 this.stream = t1;
7250 },
7251 _StreamGroupState: function _StreamGroupState(t0) {
7252 this.name = t0;
7253 },
7254 StreamQueue: function StreamQueue(t0, t1, t2, t3) {
7255 var _ = this;
7256 _._stream_queue$_source = t0;
7257 _._stream_queue$_subscription = null;
7258 _._isDone = false;
7259 _._eventsReceived = 0;
7260 _._eventQueue = t1;
7261 _._requestQueue = t2;
7262 _.$ti = t3;
7263 },
7264 StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
7265 this.$this = t0;
7266 },
7267 StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
7268 this.$this = t0;
7269 },
7270 StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
7271 this.$this = t0;
7272 },
7273 _NextRequest: function _NextRequest(t0, t1) {
7274 this._stream_queue$_completer = t0;
7275 this.$ti = t1;
7276 },
7277 SubscriptionStream: function SubscriptionStream(t0, t1) {
7278 this._subscription_stream$_source = t0;
7279 this.$ti = t1;
7280 },
7281 _CancelOnErrorSubscriptionWrapper: function _CancelOnErrorSubscriptionWrapper(t0, t1) {
7282 this._stream_subscription$_source = t0;
7283 this.$ti = t1;
7284 },
7285 _CancelOnErrorSubscriptionWrapper_onError_closure: function _CancelOnErrorSubscriptionWrapper_onError_closure(t0, t1) {
7286 this.$this = t0;
7287 this.handleError = t1;
7288 },
7289 _CancelOnErrorSubscriptionWrapper_onError__closure: function _CancelOnErrorSubscriptionWrapper_onError__closure(t0, t1, t2) {
7290 this.handleError = t0;
7291 this.error = t1;
7292 this.stackTrace = t2;
7293 },
7294 Repl: function Repl(t0, t1, t2, t3) {
7295 var _ = this;
7296 _.prompt = t0;
7297 _.continuation = t1;
7298 _.validator = t2;
7299 _.__Repl__adapter = $;
7300 _.history = t3;
7301 },
7302 alwaysValid_closure: function alwaysValid_closure() {
7303 },
7304 ReplAdapter: function ReplAdapter(t0) {
7305 this.repl = t0;
7306 this.rl = null;
7307 },
7308 ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
7309 var _ = this;
7310 _._box_0 = t0;
7311 _.$this = t1;
7312 _.rl = t2;
7313 _.runController = t3;
7314 },
7315 ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
7316 this.lineController = t0;
7317 },
7318 Stdin: function Stdin() {
7319 },
7320 Stdout: function Stdout() {
7321 },
7322 ReadlineModule: function ReadlineModule() {
7323 },
7324 ReadlineOptions: function ReadlineOptions() {
7325 },
7326 ReadlineInterface: function ReadlineInterface() {
7327 },
7328 EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
7329 this.$ti = t0;
7330 },
7331 _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
7332 },
7333 DefaultEquality: function DefaultEquality() {
7334 },
7335 IterableEquality: function IterableEquality() {
7336 },
7337 ListEquality: function ListEquality() {
7338 },
7339 _MapEntry: function _MapEntry(t0, t1, t2) {
7340 this.equality = t0;
7341 this.key = t1;
7342 this.value = t2;
7343 },
7344 MapEquality: function MapEquality() {
7345 },
7346 QueueList$(initialCapacity, $E) {
7347 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>"));
7348 },
7349 QueueList_QueueList$from(source, $E) {
7350 var $length, queue, t1;
7351 if (type$.List_dynamic._is(source)) {
7352 $length = J.get$length$asx(source);
7353 queue = A.QueueList$($length + 1, $E);
7354 J.setRange$4$ax(queue._table, 0, $length, source, 0);
7355 queue._tail = $length;
7356 return queue;
7357 } else {
7358 t1 = A.QueueList$(null, $E);
7359 t1.addAll$1(0, source);
7360 return t1;
7361 }
7362 },
7363 QueueList__computeInitialCapacity(initialCapacity) {
7364 if (initialCapacity == null || initialCapacity < 8)
7365 return 8;
7366 ++initialCapacity;
7367 if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
7368 return initialCapacity;
7369 return A.QueueList__nextPowerOf2(initialCapacity);
7370 },
7371 QueueList__nextPowerOf2(number) {
7372 var nextNumber;
7373 number = (number << 1 >>> 0) - 1;
7374 for (; true; number = nextNumber) {
7375 nextNumber = (number & number - 1) >>> 0;
7376 if (nextNumber === 0)
7377 return number;
7378 }
7379 },
7380 QueueList: function QueueList(t0, t1, t2, t3) {
7381 var _ = this;
7382 _._table = t0;
7383 _._head = t1;
7384 _._tail = t2;
7385 _.$ti = t3;
7386 },
7387 _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
7388 var _ = this;
7389 _._queue_list$_delegate = t0;
7390 _._table = t1;
7391 _._head = t2;
7392 _._tail = t3;
7393 _.$ti = t4;
7394 },
7395 _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
7396 },
7397 UnmodifiableSetMixin__throw() {
7398 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
7399 },
7400 UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
7401 this._base = t0;
7402 this.$ti = t1;
7403 },
7404 UnmodifiableSetMixin: function UnmodifiableSetMixin() {
7405 },
7406 _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
7407 },
7408 _DelegatingIterableBase: function _DelegatingIterableBase() {
7409 },
7410 DelegatingSet: function DelegatingSet(t0, t1) {
7411 this._base = t0;
7412 this.$ti = t1;
7413 },
7414 MapKeySet: function MapKeySet(t0, t1) {
7415 this._baseMap = t0;
7416 this.$ti = t1;
7417 },
7418 MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
7419 this.$this = t0;
7420 this.other = t1;
7421 },
7422 _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
7423 },
7424 BufferModule: function BufferModule() {
7425 },
7426 BufferConstants: function BufferConstants() {
7427 },
7428 Buffer: function Buffer() {
7429 },
7430 ConsoleModule: function ConsoleModule() {
7431 },
7432 Console: function Console() {
7433 },
7434 EventEmitter: function EventEmitter() {
7435 },
7436 fs() {
7437 var t1 = $._fs;
7438 return t1 == null ? $._fs = self.fs : t1;
7439 },
7440 FS: function FS() {
7441 },
7442 FSConstants: function FSConstants() {
7443 },
7444 FSWatcher: function FSWatcher() {
7445 },
7446 ReadStream: function ReadStream() {
7447 },
7448 ReadStreamOptions: function ReadStreamOptions() {
7449 },
7450 WriteStream: function WriteStream() {
7451 },
7452 WriteStreamOptions: function WriteStreamOptions() {
7453 },
7454 FileOptions: function FileOptions() {
7455 },
7456 StatOptions: function StatOptions() {
7457 },
7458 MkdirOptions: function MkdirOptions() {
7459 },
7460 RmdirOptions: function RmdirOptions() {
7461 },
7462 WatchOptions: function WatchOptions() {
7463 },
7464 WatchFileOptions: function WatchFileOptions() {
7465 },
7466 Stats: function Stats() {
7467 },
7468 Promise: function Promise() {
7469 },
7470 Date: function Date() {
7471 },
7472 JsError: function JsError() {
7473 },
7474 Atomics: function Atomics() {
7475 },
7476 Modules: function Modules() {
7477 },
7478 Module1: function Module1() {
7479 },
7480 Net: function Net() {
7481 },
7482 Socket: function Socket() {
7483 },
7484 NetAddress: function NetAddress() {
7485 },
7486 NetServer: function NetServer() {
7487 },
7488 NodeJsError: function NodeJsError() {
7489 },
7490 JsAssertionError: function JsAssertionError() {
7491 },
7492 JsRangeError: function JsRangeError() {
7493 },
7494 JsReferenceError: function JsReferenceError() {
7495 },
7496 JsSyntaxError: function JsSyntaxError() {
7497 },
7498 JsTypeError: function JsTypeError() {
7499 },
7500 JsSystemError: function JsSystemError() {
7501 },
7502 Process: function Process() {
7503 },
7504 CPUUsage: function CPUUsage() {
7505 },
7506 Release: function Release() {
7507 },
7508 StreamModule: function StreamModule() {
7509 },
7510 Readable: function Readable() {
7511 },
7512 Writable: function Writable() {
7513 },
7514 Duplex: function Duplex() {
7515 },
7516 Transform: function Transform() {
7517 },
7518 WritableOptions: function WritableOptions() {
7519 },
7520 ReadableOptions: function ReadableOptions() {
7521 },
7522 Immediate: function Immediate() {
7523 },
7524 Timeout: function Timeout() {
7525 },
7526 TTY: function TTY() {
7527 },
7528 TTYReadStream: function TTYReadStream() {
7529 },
7530 TTYWriteStream: function TTYWriteStream() {
7531 },
7532 jsify(dartObject) {
7533 if (A._isBasicType(dartObject))
7534 return dartObject;
7535 return A._convertDataTree(dartObject);
7536 },
7537 _isBasicType(value) {
7538 return false;
7539 },
7540 promiseToFuture(promise, $T) {
7541 var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
7542 completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
7543 J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure(completer)), A.allowInterop(new A.promiseToFuture_closure0(completer)));
7544 return t1;
7545 },
7546 futureToPromise(future, $T) {
7547 return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
7548 },
7549 Util: function Util() {
7550 },
7551 promiseToFuture_closure: function promiseToFuture_closure(t0) {
7552 this.completer = t0;
7553 },
7554 promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
7555 this.completer = t0;
7556 },
7557 futureToPromise_closure: function futureToPromise_closure(t0, t1) {
7558 this.future = t0;
7559 this.T = t1;
7560 },
7561 futureToPromise__closure: function futureToPromise__closure(t0, t1) {
7562 this.resolve = t0;
7563 this.T = t1;
7564 },
7565 Context_Context(style) {
7566 var current = style == null ? A.current() : ".";
7567 if (style == null)
7568 style = $.$get$Style_platform();
7569 return new A.Context(type$.InternalStyle._as(style), current);
7570 },
7571 _parseUri(uri) {
7572 if (typeof uri == "string")
7573 return A.Uri_parse(uri);
7574 if (type$.Uri._is(uri))
7575 return uri;
7576 throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
7577 },
7578 _validateArgList(method, args) {
7579 var numArgs, i, numArgs0, message, t1, t2, t3, t4;
7580 for (numArgs = args.length, i = 1; i < numArgs; ++i) {
7581 if (args[i] == null || args[i - 1] != null)
7582 continue;
7583 for (; numArgs >= 1; numArgs = numArgs0) {
7584 numArgs0 = numArgs - 1;
7585 if (args[numArgs0] != null)
7586 break;
7587 }
7588 message = new A.StringBuffer("");
7589 t1 = "" + (method + "(");
7590 message._contents = t1;
7591 t2 = A._arrayInstanceType(args);
7592 t3 = t2._eval$1("SubListIterable<1>");
7593 t4 = new A.SubListIterable(args, 0, numArgs, t3);
7594 t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
7595 t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
7596 message._contents = t3;
7597 message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
7598 throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
7599 }
7600 },
7601 Context: function Context(t0, t1) {
7602 this.style = t0;
7603 this._context$_current = t1;
7604 },
7605 Context_joinAll_closure: function Context_joinAll_closure() {
7606 },
7607 Context_split_closure: function Context_split_closure() {
7608 },
7609 _validateArgList_closure: function _validateArgList_closure() {
7610 },
7611 _PathDirection: function _PathDirection(t0) {
7612 this.name = t0;
7613 },
7614 _PathRelation: function _PathRelation(t0) {
7615 this.name = t0;
7616 },
7617 InternalStyle: function InternalStyle() {
7618 },
7619 ParsedPath_ParsedPath$parse(path, style) {
7620 var t1, parts, separators, start, i,
7621 root = style.getRoot$1(path),
7622 isRootRelative = style.isRootRelative$1(path);
7623 if (root != null)
7624 path = B.JSString_methods.substring$1(path, root.length);
7625 t1 = type$.JSArray_String;
7626 parts = A._setArrayType([], t1);
7627 separators = A._setArrayType([], t1);
7628 t1 = path.length;
7629 if (t1 !== 0 && style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, 0))) {
7630 separators.push(path[0]);
7631 start = 1;
7632 } else {
7633 separators.push("");
7634 start = 0;
7635 }
7636 for (i = start; i < t1; ++i)
7637 if (style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, i))) {
7638 parts.push(B.JSString_methods.substring$2(path, start, i));
7639 separators.push(path[i]);
7640 start = i + 1;
7641 }
7642 if (start < t1) {
7643 parts.push(B.JSString_methods.substring$1(path, start));
7644 separators.push("");
7645 }
7646 return new A.ParsedPath(style, root, isRootRelative, parts, separators);
7647 },
7648 ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
7649 var _ = this;
7650 _.style = t0;
7651 _.root = t1;
7652 _.isRootRelative = t2;
7653 _.parts = t3;
7654 _.separators = t4;
7655 },
7656 ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
7657 },
7658 ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
7659 },
7660 PathException$(message) {
7661 return new A.PathException(message);
7662 },
7663 PathException: function PathException(t0) {
7664 this.message = t0;
7665 },
7666 PathMap__create(context, $V) {
7667 var t1 = {};
7668 t1.context = context;
7669 t1.context = $.$get$context();
7670 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);
7671 },
7672 PathMap: function PathMap(t0, t1) {
7673 this._map = t0;
7674 this.$ti = t1;
7675 },
7676 PathMap__create_closure: function PathMap__create_closure(t0) {
7677 this._box_0 = t0;
7678 },
7679 PathMap__create_closure0: function PathMap__create_closure0(t0) {
7680 this._box_0 = t0;
7681 },
7682 PathMap__create_closure1: function PathMap__create_closure1() {
7683 },
7684 Style__getPlatformStyle() {
7685 if (A.Uri_base().get$scheme() !== "file")
7686 return $.$get$Style_url();
7687 var t1 = A.Uri_base();
7688 if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
7689 return $.$get$Style_url();
7690 if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
7691 return $.$get$Style_windows();
7692 return $.$get$Style_posix();
7693 },
7694 Style: function Style() {
7695 },
7696 PosixStyle: function PosixStyle(t0, t1, t2) {
7697 this.separatorPattern = t0;
7698 this.needsSeparatorPattern = t1;
7699 this.rootPattern = t2;
7700 },
7701 UrlStyle: function UrlStyle(t0, t1, t2, t3) {
7702 var _ = this;
7703 _.separatorPattern = t0;
7704 _.needsSeparatorPattern = t1;
7705 _.rootPattern = t2;
7706 _.relativeRootPattern = t3;
7707 },
7708 WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
7709 var _ = this;
7710 _.separatorPattern = t0;
7711 _.needsSeparatorPattern = t1;
7712 _.rootPattern = t2;
7713 _.relativeRootPattern = t3;
7714 },
7715 WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
7716 },
7717 CssMediaQuery: function CssMediaQuery(t0, t1, t2) {
7718 this.modifier = t0;
7719 this.type = t1;
7720 this.features = t2;
7721 },
7722 _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
7723 this._media_query$_name = t0;
7724 },
7725 MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
7726 this.query = t0;
7727 },
7728 ModifiableCssAtRule$($name, span, childless, value) {
7729 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7730 return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7731 },
7732 ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
7733 var _ = this;
7734 _.name = t0;
7735 _.value = t1;
7736 _.isChildless = t2;
7737 _.span = t3;
7738 _.children = t4;
7739 _._children = t5;
7740 _._indexInParent = _._parent = null;
7741 _.isGroupEnd = false;
7742 },
7743 ModifiableCssComment: function ModifiableCssComment(t0, t1) {
7744 var _ = this;
7745 _.text = t0;
7746 _.span = t1;
7747 _._indexInParent = _._parent = null;
7748 _.isGroupEnd = false;
7749 },
7750 ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
7751 var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
7752 if (parsedAsCustomProperty)
7753 if (!J.startsWith$1$s($name.get$value($name), "--"))
7754 A.throwExpression(A.ArgumentError$(string$.parsed, null));
7755 else if (!(value.get$value(value) instanceof A.SassString))
7756 A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
7757 return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, span);
7758 },
7759 ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
7760 var _ = this;
7761 _.name = t0;
7762 _.value = t1;
7763 _.parsedAsCustomProperty = t2;
7764 _.valueSpanForMap = t3;
7765 _.span = t4;
7766 _._indexInParent = _._parent = null;
7767 _.isGroupEnd = false;
7768 },
7769 ModifiableCssImport$(url, span, media, supports) {
7770 return new A.ModifiableCssImport(url, supports, media == null ? null : A.List_List$unmodifiable(media, type$.CssMediaQuery), span);
7771 },
7772 ModifiableCssImport: function ModifiableCssImport(t0, t1, t2, t3) {
7773 var _ = this;
7774 _.url = t0;
7775 _.supports = t1;
7776 _.media = t2;
7777 _.span = t3;
7778 _._indexInParent = _._parent = null;
7779 _.isGroupEnd = false;
7780 },
7781 ModifiableCssKeyframeBlock$(selector, span) {
7782 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7783 return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7784 },
7785 ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
7786 var _ = this;
7787 _.selector = t0;
7788 _.span = t1;
7789 _.children = t2;
7790 _._children = t3;
7791 _._indexInParent = _._parent = null;
7792 _.isGroupEnd = false;
7793 },
7794 ModifiableCssMediaRule$(queries, span) {
7795 var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
7796 t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7797 if (J.get$isEmpty$asx(queries))
7798 A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
7799 return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
7800 },
7801 ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
7802 var _ = this;
7803 _.queries = t0;
7804 _.span = t1;
7805 _.children = t2;
7806 _._children = t3;
7807 _._indexInParent = _._parent = null;
7808 _.isGroupEnd = false;
7809 },
7810 ModifiableCssNode: function ModifiableCssNode() {
7811 },
7812 ModifiableCssParentNode: function ModifiableCssParentNode() {
7813 },
7814 ModifiableCssStyleRule$(selector, span, originalSelector) {
7815 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7816 return new A.ModifiableCssStyleRule(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7817 },
7818 ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4) {
7819 var _ = this;
7820 _.selector = t0;
7821 _.originalSelector = t1;
7822 _.span = t2;
7823 _.children = t3;
7824 _._children = t4;
7825 _._indexInParent = _._parent = null;
7826 _.isGroupEnd = false;
7827 },
7828 ModifiableCssStylesheet$(span) {
7829 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7830 return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7831 },
7832 ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
7833 var _ = this;
7834 _.span = t0;
7835 _.children = t1;
7836 _._children = t2;
7837 _._indexInParent = _._parent = null;
7838 _.isGroupEnd = false;
7839 },
7840 ModifiableCssSupportsRule$(condition, span) {
7841 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7842 return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7843 },
7844 ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
7845 var _ = this;
7846 _.condition = t0;
7847 _.span = t1;
7848 _.children = t2;
7849 _._children = t3;
7850 _._indexInParent = _._parent = null;
7851 _.isGroupEnd = false;
7852 },
7853 ModifiableCssValue: function ModifiableCssValue(t0, t1, t2) {
7854 this.value = t0;
7855 this.span = t1;
7856 this.$ti = t2;
7857 },
7858 CssNode: function CssNode() {
7859 },
7860 CssParentNode: function CssParentNode() {
7861 },
7862 CssStylesheet: function CssStylesheet(t0, t1) {
7863 this.children = t0;
7864 this.span = t1;
7865 },
7866 CssValue: function CssValue(t0, t1, t2) {
7867 this.value = t0;
7868 this.span = t1;
7869 this.$ti = t2;
7870 },
7871 AstNode: function AstNode() {
7872 },
7873 _FakeAstNode: function _FakeAstNode(t0) {
7874 this._callback = t0;
7875 },
7876 Argument: function Argument(t0, t1, t2) {
7877 this.name = t0;
7878 this.defaultValue = t1;
7879 this.span = t2;
7880 },
7881 ArgumentDeclaration_ArgumentDeclaration$parse(contents, url) {
7882 return A.ScssParser$(contents, null, url).parseArgumentDeclaration$0();
7883 },
7884 ArgumentDeclaration: function ArgumentDeclaration(t0, t1, t2) {
7885 this.$arguments = t0;
7886 this.restArgument = t1;
7887 this.span = t2;
7888 },
7889 ArgumentDeclaration_verify_closure: function ArgumentDeclaration_verify_closure() {
7890 },
7891 ArgumentDeclaration_verify_closure0: function ArgumentDeclaration_verify_closure0() {
7892 },
7893 ArgumentInvocation$empty(span) {
7894 return new A.ArgumentInvocation(B.List_empty7, B.Map_empty2, null, null, span);
7895 },
7896 ArgumentInvocation: function ArgumentInvocation(t0, t1, t2, t3, t4) {
7897 var _ = this;
7898 _.positional = t0;
7899 _.named = t1;
7900 _.rest = t2;
7901 _.keywordRest = t3;
7902 _.span = t4;
7903 },
7904 AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
7905 var _ = this;
7906 _.include = t0;
7907 _.names = t1;
7908 _._all = t2;
7909 _._at_root_query$_rule = t3;
7910 },
7911 ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
7912 var _ = this;
7913 _.name = t0;
7914 _.expression = t1;
7915 _.isGuarded = t2;
7916 _.span = t3;
7917 },
7918 BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
7919 var _ = this;
7920 _.operator = t0;
7921 _.left = t1;
7922 _.right = t2;
7923 _.allowsSlash = t3;
7924 },
7925 BinaryOperator: function BinaryOperator(t0, t1, t2) {
7926 this.name = t0;
7927 this.operator = t1;
7928 this.precedence = t2;
7929 },
7930 BooleanExpression: function BooleanExpression(t0, t1) {
7931 this.value = t0;
7932 this.span = t1;
7933 },
7934 CalculationExpression__verifyArguments($arguments) {
7935 return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression);
7936 },
7937 CalculationExpression__verify(expression) {
7938 var t1,
7939 _s29_ = "Invalid calculation argument ";
7940 if (expression instanceof A.NumberExpression)
7941 return;
7942 if (expression instanceof A.CalculationExpression)
7943 return;
7944 if (expression instanceof A.VariableExpression)
7945 return;
7946 if (expression instanceof A.FunctionExpression)
7947 return;
7948 if (expression instanceof A.IfExpression)
7949 return;
7950 if (expression instanceof A.StringExpression) {
7951 if (expression.hasQuotes)
7952 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7953 } else if (expression instanceof A.ParenthesizedExpression)
7954 A.CalculationExpression__verify(expression.expression);
7955 else if (expression instanceof A.BinaryOperationExpression) {
7956 A.CalculationExpression__verify(expression.left);
7957 A.CalculationExpression__verify(expression.right);
7958 t1 = expression.operator;
7959 if (t1 === B.BinaryOperator_AcR0)
7960 return;
7961 if (t1 === B.BinaryOperator_iyO)
7962 return;
7963 if (t1 === B.BinaryOperator_O1M)
7964 return;
7965 if (t1 === B.BinaryOperator_RTB)
7966 return;
7967 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7968 } else
7969 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7970 },
7971 CalculationExpression: function CalculationExpression(t0, t1, t2) {
7972 this.name = t0;
7973 this.$arguments = t1;
7974 this.span = t2;
7975 },
7976 CalculationExpression__verifyArguments_closure: function CalculationExpression__verifyArguments_closure() {
7977 },
7978 ColorExpression: function ColorExpression(t0, t1) {
7979 this.value = t0;
7980 this.span = t1;
7981 },
7982 FunctionExpression: function FunctionExpression(t0, t1, t2, t3) {
7983 var _ = this;
7984 _.namespace = t0;
7985 _.originalName = t1;
7986 _.$arguments = t2;
7987 _.span = t3;
7988 },
7989 IfExpression: function IfExpression(t0, t1) {
7990 this.$arguments = t0;
7991 this.span = t1;
7992 },
7993 InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
7994 this.name = t0;
7995 this.$arguments = t1;
7996 this.span = t2;
7997 },
7998 ListExpression: function ListExpression(t0, t1, t2, t3) {
7999 var _ = this;
8000 _.contents = t0;
8001 _.separator = t1;
8002 _.hasBrackets = t2;
8003 _.span = t3;
8004 },
8005 ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
8006 this.$this = t0;
8007 },
8008 MapExpression: function MapExpression(t0, t1) {
8009 this.pairs = t0;
8010 this.span = t1;
8011 },
8012 MapExpression_toString_closure: function MapExpression_toString_closure() {
8013 },
8014 NullExpression: function NullExpression(t0) {
8015 this.span = t0;
8016 },
8017 NumberExpression: function NumberExpression(t0, t1, t2) {
8018 this.value = t0;
8019 this.unit = t1;
8020 this.span = t2;
8021 },
8022 ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
8023 this.expression = t0;
8024 this.span = t1;
8025 },
8026 SelectorExpression: function SelectorExpression(t0) {
8027 this.span = t0;
8028 },
8029 StringExpression_quoteText(text) {
8030 var t1,
8031 quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
8032 buffer = new A.StringBuffer("");
8033 buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
8034 A.StringExpression__quoteInnerText(text, quote, buffer, true);
8035 t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
8036 return t1.charCodeAt(0) == 0 ? t1 : t1;
8037 },
8038 StringExpression__quoteInnerText(text, quote, buffer, $static) {
8039 var t1, t2, i, codeUnit, next, t3;
8040 for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
8041 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
8042 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
8043 buffer.writeCharCode$1(92);
8044 buffer.writeCharCode$1(97);
8045 if (i !== t2) {
8046 next = B.JSString_methods._codeUnitAt$1(text, i + 1);
8047 if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex(next))
8048 buffer.writeCharCode$1(32);
8049 }
8050 } else {
8051 if (codeUnit !== quote)
8052 if (codeUnit !== 92)
8053 t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
8054 else
8055 t3 = true;
8056 else
8057 t3 = true;
8058 if (t3)
8059 buffer.writeCharCode$1(92);
8060 buffer.writeCharCode$1(codeUnit);
8061 }
8062 }
8063 },
8064 StringExpression__bestQuote(strings) {
8065 var t1, containsDoubleQuote, t2, t3, i, codeUnit;
8066 for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
8067 t2 = t1.get$current(t1);
8068 for (t3 = t2.length, i = 0; i < t3; ++i) {
8069 codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
8070 if (codeUnit === 39)
8071 return 34;
8072 if (codeUnit === 34)
8073 containsDoubleQuote = true;
8074 }
8075 }
8076 return containsDoubleQuote ? 39 : 34;
8077 },
8078 StringExpression: function StringExpression(t0, t1) {
8079 this.text = t0;
8080 this.hasQuotes = t1;
8081 },
8082 UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
8083 this.operator = t0;
8084 this.operand = t1;
8085 this.span = t2;
8086 },
8087 UnaryOperator: function UnaryOperator(t0, t1) {
8088 this.name = t0;
8089 this.operator = t1;
8090 },
8091 ValueExpression: function ValueExpression(t0, t1) {
8092 this.value = t0;
8093 this.span = t1;
8094 },
8095 VariableExpression: function VariableExpression(t0, t1, t2) {
8096 this.namespace = t0;
8097 this.name = t1;
8098 this.span = t2;
8099 },
8100 DynamicImport: function DynamicImport(t0, t1) {
8101 this.urlString = t0;
8102 this.span = t1;
8103 },
8104 StaticImport: function StaticImport(t0, t1, t2, t3) {
8105 var _ = this;
8106 _.url = t0;
8107 _.supports = t1;
8108 _.media = t2;
8109 _.span = t3;
8110 },
8111 Interpolation$(contents, span) {
8112 var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), span);
8113 t1.Interpolation$2(contents, span);
8114 return t1;
8115 },
8116 Interpolation: function Interpolation(t0, t1) {
8117 this.contents = t0;
8118 this.span = t1;
8119 },
8120 Interpolation_toString_closure: function Interpolation_toString_closure() {
8121 },
8122 AtRootRule$(children, span, query) {
8123 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8124 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8125 return new A.AtRootRule(query, span, t1, t2);
8126 },
8127 AtRootRule: function AtRootRule(t0, t1, t2, t3) {
8128 var _ = this;
8129 _.query = t0;
8130 _.span = t1;
8131 _.children = t2;
8132 _.hasDeclarations = t3;
8133 },
8134 AtRule$($name, span, children, value) {
8135 var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
8136 t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8137 return new A.AtRule($name, value, span, t1, t2 === true);
8138 },
8139 AtRule: function AtRule(t0, t1, t2, t3, t4) {
8140 var _ = this;
8141 _.name = t0;
8142 _.value = t1;
8143 _.span = t2;
8144 _.children = t3;
8145 _.hasDeclarations = t4;
8146 },
8147 CallableDeclaration: function CallableDeclaration() {
8148 },
8149 ContentBlock$($arguments, children, span) {
8150 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8151 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8152 return new A.ContentBlock("@content", $arguments, span, t1, t2);
8153 },
8154 ContentBlock: function ContentBlock(t0, t1, t2, t3, t4) {
8155 var _ = this;
8156 _.name = t0;
8157 _.$arguments = t1;
8158 _.span = t2;
8159 _.children = t3;
8160 _.hasDeclarations = t4;
8161 },
8162 ContentRule: function ContentRule(t0, t1) {
8163 this.$arguments = t0;
8164 this.span = t1;
8165 },
8166 DebugRule: function DebugRule(t0, t1) {
8167 this.expression = t0;
8168 this.span = t1;
8169 },
8170 Declaration$($name, value, span) {
8171 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression))
8172 A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
8173 return new A.Declaration($name, value, span, null, false);
8174 },
8175 Declaration$nested($name, children, span, value) {
8176 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8177 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8178 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression))
8179 A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
8180 return new A.Declaration($name, value, span, t1, t2);
8181 },
8182 Declaration: function Declaration(t0, t1, t2, t3, t4) {
8183 var _ = this;
8184 _.name = t0;
8185 _.value = t1;
8186 _.span = t2;
8187 _.children = t3;
8188 _.hasDeclarations = t4;
8189 },
8190 EachRule$(variables, list, children, span) {
8191 var t1 = A.List_List$unmodifiable(variables, type$.String),
8192 t2 = A.List_List$unmodifiable(children, type$.Statement),
8193 t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
8194 return new A.EachRule(t1, list, span, t2, t3);
8195 },
8196 EachRule: function EachRule(t0, t1, t2, t3, t4) {
8197 var _ = this;
8198 _.variables = t0;
8199 _.list = t1;
8200 _.span = t2;
8201 _.children = t3;
8202 _.hasDeclarations = t4;
8203 },
8204 EachRule_toString_closure: function EachRule_toString_closure() {
8205 },
8206 ErrorRule: function ErrorRule(t0, t1) {
8207 this.expression = t0;
8208 this.span = t1;
8209 },
8210 ExtendRule: function ExtendRule(t0, t1, t2) {
8211 this.selector = t0;
8212 this.isOptional = t1;
8213 this.span = t2;
8214 },
8215 ForRule$(variable, from, to, children, span, exclusive) {
8216 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8217 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8218 return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
8219 },
8220 ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
8221 var _ = this;
8222 _.variable = t0;
8223 _.from = t1;
8224 _.to = t2;
8225 _.isExclusive = t3;
8226 _.span = t4;
8227 _.children = t5;
8228 _.hasDeclarations = t6;
8229 },
8230 ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
8231 var _ = this;
8232 _.url = t0;
8233 _.shownMixinsAndFunctions = t1;
8234 _.shownVariables = t2;
8235 _.hiddenMixinsAndFunctions = t3;
8236 _.hiddenVariables = t4;
8237 _.prefix = t5;
8238 _.configuration = t6;
8239 _.span = t7;
8240 },
8241 FunctionRule$($name, $arguments, children, span, comment) {
8242 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8243 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8244 return new A.FunctionRule($name, $arguments, span, t1, t2);
8245 },
8246 FunctionRule: function FunctionRule(t0, t1, t2, t3, t4) {
8247 var _ = this;
8248 _.name = t0;
8249 _.$arguments = t1;
8250 _.span = t2;
8251 _.children = t3;
8252 _.hasDeclarations = t4;
8253 },
8254 IfClause$(expression, children) {
8255 var t1 = A.List_List$unmodifiable(children, type$.Statement);
8256 return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
8257 },
8258 ElseClause$(children) {
8259 var t1 = A.List_List$unmodifiable(children, type$.Statement);
8260 return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
8261 },
8262 IfRule: function IfRule(t0, t1, t2) {
8263 this.clauses = t0;
8264 this.lastClause = t1;
8265 this.span = t2;
8266 },
8267 IfRule_toString_closure: function IfRule_toString_closure() {
8268 },
8269 IfRuleClause: function IfRuleClause() {
8270 },
8271 IfRuleClause$__closure: function IfRuleClause$__closure() {
8272 },
8273 IfRuleClause$___closure: function IfRuleClause$___closure() {
8274 },
8275 IfClause: function IfClause(t0, t1, t2) {
8276 this.expression = t0;
8277 this.children = t1;
8278 this.hasDeclarations = t2;
8279 },
8280 ElseClause: function ElseClause(t0, t1) {
8281 this.children = t0;
8282 this.hasDeclarations = t1;
8283 },
8284 ImportRule: function ImportRule(t0, t1) {
8285 this.imports = t0;
8286 this.span = t1;
8287 },
8288 IncludeRule: function IncludeRule(t0, t1, t2, t3, t4) {
8289 var _ = this;
8290 _.namespace = t0;
8291 _.name = t1;
8292 _.$arguments = t2;
8293 _.content = t3;
8294 _.span = t4;
8295 },
8296 LoudComment: function LoudComment(t0) {
8297 this.text = t0;
8298 },
8299 MediaRule$(query, children, span) {
8300 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8301 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8302 return new A.MediaRule(query, span, t1, t2);
8303 },
8304 MediaRule: function MediaRule(t0, t1, t2, t3) {
8305 var _ = this;
8306 _.query = t0;
8307 _.span = t1;
8308 _.children = t2;
8309 _.hasDeclarations = t3;
8310 },
8311 MixinRule$($name, $arguments, children, span, comment) {
8312 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8313 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8314 return new A.MixinRule($name, $arguments, span, t1, t2);
8315 },
8316 MixinRule: function MixinRule(t0, t1, t2, t3, t4) {
8317 var _ = this;
8318 _.__MixinRule_hasContent = $;
8319 _.name = t0;
8320 _.$arguments = t1;
8321 _.span = t2;
8322 _.children = t3;
8323 _.hasDeclarations = t4;
8324 },
8325 _HasContentVisitor: function _HasContentVisitor() {
8326 },
8327 ParentStatement: function ParentStatement() {
8328 },
8329 ParentStatement_closure: function ParentStatement_closure() {
8330 },
8331 ParentStatement__closure: function ParentStatement__closure() {
8332 },
8333 ReturnRule: function ReturnRule(t0, t1) {
8334 this.expression = t0;
8335 this.span = t1;
8336 },
8337 SilentComment: function SilentComment(t0, t1) {
8338 this.text = t0;
8339 this.span = t1;
8340 },
8341 StyleRule$(selector, children, span) {
8342 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8343 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8344 return new A.StyleRule(selector, span, t1, t2);
8345 },
8346 StyleRule: function StyleRule(t0, t1, t2, t3) {
8347 var _ = this;
8348 _.selector = t0;
8349 _.span = t1;
8350 _.children = t2;
8351 _.hasDeclarations = t3;
8352 },
8353 Stylesheet$(children, span) {
8354 var t1 = A._setArrayType([], type$.JSArray_UseRule),
8355 t2 = A._setArrayType([], type$.JSArray_ForwardRule),
8356 t3 = A.List_List$unmodifiable(children, type$.Statement),
8357 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
8358 t1 = new A.Stylesheet(span, false, t1, t2, t3, t4);
8359 t1.Stylesheet$internal$3$plainCss(children, span, false);
8360 return t1;
8361 },
8362 Stylesheet$internal(children, span, plainCss) {
8363 var t1 = A._setArrayType([], type$.JSArray_UseRule),
8364 t2 = A._setArrayType([], type$.JSArray_ForwardRule),
8365 t3 = A.List_List$unmodifiable(children, type$.Statement),
8366 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
8367 t1 = new A.Stylesheet(span, plainCss, t1, t2, t3, t4);
8368 t1.Stylesheet$internal$3$plainCss(children, span, plainCss);
8369 return t1;
8370 },
8371 Stylesheet_Stylesheet$parse(contents, syntax, logger, url) {
8372 var t1, t2;
8373 switch (syntax) {
8374 case B.Syntax_Sass:
8375 t1 = A.SpanScanner$(contents, url);
8376 t2 = logger == null ? B.StderrLogger_false : logger;
8377 return new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2).parse$0();
8378 case B.Syntax_SCSS:
8379 return A.ScssParser$(contents, logger, url).parse$0();
8380 case B.Syntax_CSS:
8381 t1 = A.SpanScanner$(contents, url);
8382 t2 = logger == null ? B.StderrLogger_false : logger;
8383 return new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2).parse$0();
8384 default:
8385 throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
8386 }
8387 },
8388 Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5) {
8389 var _ = this;
8390 _.span = t0;
8391 _.plainCss = t1;
8392 _._uses = t2;
8393 _._forwards = t3;
8394 _.children = t4;
8395 _.hasDeclarations = t5;
8396 },
8397 SupportsRule$(condition, children, span) {
8398 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8399 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8400 return new A.SupportsRule(condition, span, t1, t2);
8401 },
8402 SupportsRule: function SupportsRule(t0, t1, t2, t3) {
8403 var _ = this;
8404 _.condition = t0;
8405 _.span = t1;
8406 _.children = t2;
8407 _.hasDeclarations = t3;
8408 },
8409 UseRule: function UseRule(t0, t1, t2, t3) {
8410 var _ = this;
8411 _.url = t0;
8412 _.namespace = t1;
8413 _.configuration = t2;
8414 _.span = t3;
8415 },
8416 VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
8417 if (namespace != null && global)
8418 A.throwExpression(A.ArgumentError$(string$.Other_, null));
8419 return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
8420 },
8421 VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
8422 var _ = this;
8423 _.namespace = t0;
8424 _.name = t1;
8425 _.expression = t2;
8426 _.isGuarded = t3;
8427 _.isGlobal = t4;
8428 _.span = t5;
8429 },
8430 WarnRule: function WarnRule(t0, t1) {
8431 this.expression = t0;
8432 this.span = t1;
8433 },
8434 WhileRule$(condition, children, span) {
8435 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8436 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8437 return new A.WhileRule(condition, span, t1, t2);
8438 },
8439 WhileRule: function WhileRule(t0, t1, t2, t3) {
8440 var _ = this;
8441 _.condition = t0;
8442 _.span = t1;
8443 _.children = t2;
8444 _.hasDeclarations = t3;
8445 },
8446 SupportsAnything: function SupportsAnything(t0, t1) {
8447 this.contents = t0;
8448 this.span = t1;
8449 },
8450 SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
8451 this.name = t0;
8452 this.value = t1;
8453 this.span = t2;
8454 },
8455 SupportsFunction: function SupportsFunction(t0, t1, t2) {
8456 this.name = t0;
8457 this.$arguments = t1;
8458 this.span = t2;
8459 },
8460 SupportsInterpolation: function SupportsInterpolation(t0, t1) {
8461 this.expression = t0;
8462 this.span = t1;
8463 },
8464 SupportsNegation: function SupportsNegation(t0, t1) {
8465 this.condition = t0;
8466 this.span = t1;
8467 },
8468 SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
8469 var _ = this;
8470 _.left = t0;
8471 _.right = t1;
8472 _.operator = t2;
8473 _.span = t3;
8474 },
8475 Selector: function Selector() {
8476 },
8477 AttributeSelector: function AttributeSelector(t0, t1, t2, t3) {
8478 var _ = this;
8479 _.name = t0;
8480 _.op = t1;
8481 _.value = t2;
8482 _.modifier = t3;
8483 },
8484 AttributeOperator: function AttributeOperator(t0) {
8485 this._attribute$_text = t0;
8486 },
8487 ClassSelector: function ClassSelector(t0) {
8488 this.name = t0;
8489 },
8490 ComplexSelector$(components, lineBreak) {
8491 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
8492 if (t1.length === 0)
8493 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8494 return new A.ComplexSelector(t1, lineBreak);
8495 },
8496 ComplexSelector: function ComplexSelector(t0, t1) {
8497 var _ = this;
8498 _.components = t0;
8499 _.lineBreak = t1;
8500 _._complex$_maxSpecificity = _._minSpecificity = null;
8501 _.__ComplexSelector_isInvisible = $;
8502 },
8503 ComplexSelector_isInvisible_closure: function ComplexSelector_isInvisible_closure() {
8504 },
8505 Combinator: function Combinator(t0) {
8506 this._complex$_text = t0;
8507 },
8508 CompoundSelector$(components) {
8509 var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
8510 if (t1.length === 0)
8511 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8512 return new A.CompoundSelector(t1);
8513 },
8514 CompoundSelector: function CompoundSelector(t0) {
8515 this.components = t0;
8516 this._maxSpecificity = this._compound$_minSpecificity = null;
8517 },
8518 CompoundSelector_isInvisible_closure: function CompoundSelector_isInvisible_closure() {
8519 },
8520 IDSelector: function IDSelector(t0) {
8521 this.name = t0;
8522 },
8523 IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
8524 this.$this = t0;
8525 },
8526 SelectorList$(components) {
8527 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
8528 if (t1.length === 0)
8529 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8530 return new A.SelectorList(t1);
8531 },
8532 SelectorList_SelectorList$parse(contents, allowParent, allowPlaceholder, logger) {
8533 return A.SelectorParser$(contents, allowParent, allowPlaceholder, logger, null).parse$0();
8534 },
8535 SelectorList: function SelectorList(t0) {
8536 this.components = t0;
8537 },
8538 SelectorList_isInvisible_closure: function SelectorList_isInvisible_closure() {
8539 },
8540 SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
8541 },
8542 SelectorList_asSassList__closure: function SelectorList_asSassList__closure() {
8543 },
8544 SelectorList_unify_closure: function SelectorList_unify_closure(t0) {
8545 this.other = t0;
8546 },
8547 SelectorList_unify__closure: function SelectorList_unify__closure(t0) {
8548 this.complex1 = t0;
8549 },
8550 SelectorList_unify___closure: function SelectorList_unify___closure() {
8551 },
8552 SelectorList_resolveParentSelectors_closure: function SelectorList_resolveParentSelectors_closure(t0, t1, t2) {
8553 this.$this = t0;
8554 this.implicitParent = t1;
8555 this.parent = t2;
8556 },
8557 SelectorList_resolveParentSelectors__closure: function SelectorList_resolveParentSelectors__closure(t0) {
8558 this.complex = t0;
8559 },
8560 SelectorList_resolveParentSelectors__closure0: function SelectorList_resolveParentSelectors__closure0(t0) {
8561 this._box_0 = t0;
8562 },
8563 SelectorList__complexContainsParentSelector_closure: function SelectorList__complexContainsParentSelector_closure() {
8564 },
8565 SelectorList__complexContainsParentSelector__closure: function SelectorList__complexContainsParentSelector__closure() {
8566 },
8567 SelectorList__resolveParentSelectorsCompound_closure: function SelectorList__resolveParentSelectorsCompound_closure() {
8568 },
8569 SelectorList__resolveParentSelectorsCompound_closure0: function SelectorList__resolveParentSelectorsCompound_closure0(t0) {
8570 this.parent = t0;
8571 },
8572 SelectorList__resolveParentSelectorsCompound_closure1: function SelectorList__resolveParentSelectorsCompound_closure1(t0, t1) {
8573 this.compound = t0;
8574 this.resolvedMembers = t1;
8575 },
8576 ParentSelector: function ParentSelector(t0) {
8577 this.suffix = t0;
8578 },
8579 PlaceholderSelector: function PlaceholderSelector(t0) {
8580 this.name = t0;
8581 },
8582 PseudoSelector$($name, argument, element, selector) {
8583 var t1 = !element,
8584 t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
8585 return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector);
8586 },
8587 PseudoSelector__isFakePseudoElement($name) {
8588 switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
8589 case 97:
8590 case 65:
8591 return A.equalsIgnoreCase($name, "after");
8592 case 98:
8593 case 66:
8594 return A.equalsIgnoreCase($name, "before");
8595 case 102:
8596 case 70:
8597 return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
8598 default:
8599 return false;
8600 }
8601 },
8602 PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5) {
8603 var _ = this;
8604 _.name = t0;
8605 _.normalizedName = t1;
8606 _.isClass = t2;
8607 _.isSyntacticClass = t3;
8608 _.argument = t4;
8609 _.selector = t5;
8610 _._pseudo$_maxSpecificity = _._pseudo$_minSpecificity = null;
8611 },
8612 PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
8613 },
8614 QualifiedName: function QualifiedName(t0, t1) {
8615 this.name = t0;
8616 this.namespace = t1;
8617 },
8618 SimpleSelector: function SimpleSelector() {
8619 },
8620 TypeSelector: function TypeSelector(t0) {
8621 this.name = t0;
8622 },
8623 UniversalSelector: function UniversalSelector(t0) {
8624 this.namespace = t0;
8625 },
8626 compileAsync(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
8627 return A.compileAsync$body(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose);
8628 },
8629 compileAsync$body(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
8630 var $async$goto = 0,
8631 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8632 $async$returnValue, t1, terseLogger, t2, stylesheet, result;
8633 var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8634 if ($async$errorCode === 1)
8635 return A._asyncRethrow($async$result, $async$completer);
8636 while (true)
8637 switch ($async$goto) {
8638 case 0:
8639 // Function start
8640 if (!verbose) {
8641 t1 = logger == null ? new A.StderrLogger(false) : logger;
8642 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), t1);
8643 logger = terseLogger;
8644 } else
8645 terseLogger = null;
8646 t1 = syntax === A.Syntax_forPath(path);
8647 $async$goto = t1 ? 3 : 5;
8648 break;
8649 case 3:
8650 // then
8651 t1 = $.$get$context();
8652 t2 = t1.absolute$7(".", null, null, null, null, null, null);
8653 $async$goto = 6;
8654 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);
8655 case 6:
8656 // returning from await.
8657 t2 = $async$result;
8658 t2.toString;
8659 stylesheet = t2;
8660 // goto join
8661 $async$goto = 4;
8662 break;
8663 case 5:
8664 // else
8665 t1 = A.readFile(path);
8666 t2 = $.$get$context();
8667 stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, logger, t2.toUri$1(path));
8668 t1 = t2;
8669 case 4:
8670 // join
8671 $async$goto = 7;
8672 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);
8673 case 7:
8674 // returning from await.
8675 result = $async$result;
8676 if (terseLogger != null)
8677 terseLogger.summarize$1$node(false);
8678 $async$returnValue = result;
8679 // goto return
8680 $async$goto = 1;
8681 break;
8682 case 1:
8683 // return
8684 return A._asyncReturn($async$returnValue, $async$completer);
8685 }
8686 });
8687 return A._asyncStartSync($async$compileAsync, $async$completer);
8688 },
8689 compileStringAsync(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
8690 return A.compileStringAsync$body(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose);
8691 },
8692 compileStringAsync$body(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
8693 var $async$goto = 0,
8694 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8695 $async$returnValue, t1, terseLogger, stylesheet, result;
8696 var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8697 if ($async$errorCode === 1)
8698 return A._asyncRethrow($async$result, $async$completer);
8699 while (true)
8700 switch ($async$goto) {
8701 case 0:
8702 // Function start
8703 if (!verbose) {
8704 t1 = logger == null ? new A.StderrLogger(false) : logger;
8705 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), t1);
8706 logger = terseLogger;
8707 } else
8708 terseLogger = null;
8709 stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, logger, null);
8710 $async$goto = 3;
8711 return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
8712 case 3:
8713 // returning from await.
8714 result = $async$result;
8715 if (terseLogger != null)
8716 terseLogger.summarize$1$node(false);
8717 $async$returnValue = result;
8718 // goto return
8719 $async$goto = 1;
8720 break;
8721 case 1:
8722 // return
8723 return A._asyncReturn($async$returnValue, $async$completer);
8724 }
8725 });
8726 return A._asyncStartSync($async$compileStringAsync, $async$completer);
8727 },
8728 _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
8729 var $async$goto = 0,
8730 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8731 $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
8732 var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8733 if ($async$errorCode === 1)
8734 return A._asyncRethrow($async$result, $async$completer);
8735 while (true)
8736 switch ($async$goto) {
8737 case 0:
8738 // Function start
8739 $async$temp1 = A;
8740 $async$goto = 3;
8741 return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
8742 case 3:
8743 // returning from await.
8744 serializeResult = $async$temp1.serialize($async$result.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, true);
8745 resultSourceMap = serializeResult.sourceMap;
8746 if (resultSourceMap != null && true)
8747 A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
8748 $async$returnValue = new A.CompileResult(serializeResult);
8749 // goto return
8750 $async$goto = 1;
8751 break;
8752 case 1:
8753 // return
8754 return A._asyncReturn($async$returnValue, $async$completer);
8755 }
8756 });
8757 return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
8758 },
8759 _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
8760 this.stylesheet = t0;
8761 this.importCache = t1;
8762 },
8763 AsyncEnvironment$() {
8764 var t1 = type$.String,
8765 t2 = type$.Module_AsyncCallable,
8766 t3 = type$.AstNode,
8767 t4 = type$.int,
8768 t5 = type$.AsyncCallable,
8769 t6 = type$.JSArray_Map_String_AsyncCallable;
8770 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);
8771 },
8772 AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
8773 var t1 = type$.String,
8774 t2 = type$.int;
8775 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);
8776 },
8777 _EnvironmentModule__EnvironmentModule0(environment, css, extensionStore, forwarded) {
8778 var t1, t2, t3, t4, t5, t6;
8779 if (forwarded == null)
8780 forwarded = B.Set_empty0;
8781 t1 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
8782 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);
8783 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);
8784 t4 = type$.Map_String_AsyncCallable;
8785 t5 = type$.AsyncCallable;
8786 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);
8787 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);
8788 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure9());
8789 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()));
8790 },
8791 _EnvironmentModule__makeModulesByVariable0(forwarded) {
8792 var modulesByVariable, t1, t2, t3, t4, t5;
8793 if (forwarded.get$isEmpty(forwarded))
8794 return B.Map_empty3;
8795 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
8796 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
8797 t2 = t1.get$current(t1);
8798 if (t2 instanceof A._EnvironmentModule0) {
8799 for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
8800 t4 = t3.get$current(t3);
8801 t5 = t4.get$variables();
8802 A.setAll(modulesByVariable, t5.get$keys(t5), t4);
8803 }
8804 A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
8805 } else {
8806 t3 = t2.get$variables();
8807 A.setAll(modulesByVariable, t3.get$keys(t3), t2);
8808 }
8809 }
8810 return modulesByVariable;
8811 },
8812 _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
8813 var t1, t2, t3;
8814 localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
8815 if (otherMaps.get$isEmpty(otherMaps))
8816 return localMap;
8817 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
8818 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
8819 t3 = t2.get$current(t2);
8820 if (t3.get$isNotEmpty(t3))
8821 t1.push(t3);
8822 }
8823 t1.push(localMap);
8824 if (t1.length === 1)
8825 return localMap;
8826 return A.MergedMapView$(t1, type$.String, $V);
8827 },
8828 _EnvironmentModule$_0(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
8829 return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
8830 },
8831 AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
8832 var _ = this;
8833 _._async_environment$_modules = t0;
8834 _._async_environment$_namespaceNodes = t1;
8835 _._async_environment$_globalModules = t2;
8836 _._async_environment$_importedModules = t3;
8837 _._async_environment$_forwardedModules = t4;
8838 _._async_environment$_nestedForwardedModules = t5;
8839 _._async_environment$_allModules = t6;
8840 _._async_environment$_variables = t7;
8841 _._async_environment$_variableNodes = t8;
8842 _._async_environment$_variableIndices = t9;
8843 _._async_environment$_functions = t10;
8844 _._async_environment$_functionIndices = t11;
8845 _._async_environment$_mixins = t12;
8846 _._async_environment$_mixinIndices = t13;
8847 _._async_environment$_content = t14;
8848 _._async_environment$_inMixin = false;
8849 _._async_environment$_inSemiGlobalScope = true;
8850 _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
8851 },
8852 AsyncEnvironment_importForwards_closure: function AsyncEnvironment_importForwards_closure() {
8853 },
8854 AsyncEnvironment_importForwards_closure0: function AsyncEnvironment_importForwards_closure0() {
8855 },
8856 AsyncEnvironment_importForwards_closure1: function AsyncEnvironment_importForwards_closure1() {
8857 },
8858 AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
8859 this.name = t0;
8860 },
8861 AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
8862 this.$this = t0;
8863 this.name = t1;
8864 },
8865 AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
8866 this.name = t0;
8867 },
8868 AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
8869 this.$this = t0;
8870 this.name = t1;
8871 },
8872 AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
8873 this.name = t0;
8874 },
8875 AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
8876 this.name = t0;
8877 },
8878 AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
8879 },
8880 AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
8881 },
8882 AsyncEnvironment__fromOneModule_closure: function AsyncEnvironment__fromOneModule_closure(t0, t1) {
8883 this.callback = t0;
8884 this.T = t1;
8885 },
8886 AsyncEnvironment__fromOneModule__closure: function AsyncEnvironment__fromOneModule__closure(t0, t1) {
8887 this.entry = t0;
8888 this.T = t1;
8889 },
8890 _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
8891 var _ = this;
8892 _.upstream = t0;
8893 _.variables = t1;
8894 _.variableNodes = t2;
8895 _.functions = t3;
8896 _.mixins = t4;
8897 _.extensionStore = t5;
8898 _.css = t6;
8899 _.transitivelyContainsCss = t7;
8900 _.transitivelyContainsExtensions = t8;
8901 _._async_environment$_environment = t9;
8902 _._async_environment$_modulesByVariable = t10;
8903 },
8904 _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
8905 },
8906 _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
8907 },
8908 _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
8909 },
8910 _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
8911 },
8912 _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
8913 },
8914 _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
8915 },
8916 AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
8917 var t2, t3, _i, path, _null = null,
8918 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
8919 t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
8920 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
8921 t3 = t2.get$current(t2);
8922 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
8923 }
8924 if (sassPath != null) {
8925 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
8926 t3 = t2.length;
8927 _i = 0;
8928 for (; _i < t3; ++_i) {
8929 path = t2[_i];
8930 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
8931 }
8932 }
8933 return t1;
8934 },
8935 AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5) {
8936 var _ = this;
8937 _._async_import_cache$_importers = t0;
8938 _._async_import_cache$_logger = t1;
8939 _._async_import_cache$_canonicalizeCache = t2;
8940 _._async_import_cache$_relativeCanonicalizeCache = t3;
8941 _._async_import_cache$_importCache = t4;
8942 _._async_import_cache$_resultsCache = t5;
8943 },
8944 AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
8945 var _ = this;
8946 _.$this = t0;
8947 _.baseUrl = t1;
8948 _.url = t2;
8949 _.baseImporter = t3;
8950 _.forImport = t4;
8951 },
8952 AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2) {
8953 this.$this = t0;
8954 this.url = t1;
8955 this.forImport = t2;
8956 },
8957 AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
8958 this.importer = t0;
8959 this.url = t1;
8960 },
8961 AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
8962 var _ = this;
8963 _.$this = t0;
8964 _.importer = t1;
8965 _.canonicalUrl = t2;
8966 _.originalUrl = t3;
8967 _.quiet = t4;
8968 },
8969 AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
8970 this.canonicalUrl = t0;
8971 },
8972 AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
8973 },
8974 AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
8975 },
8976 AsyncBuiltInCallable$mixin($name, $arguments, callback, url) {
8977 return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure(callback));
8978 },
8979 AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2) {
8980 this.name = t0;
8981 this._async_built_in$_arguments = t1;
8982 this._async_built_in$_callback = t2;
8983 },
8984 AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
8985 this.callback = t0;
8986 },
8987 BuiltInCallable$function($name, $arguments, callback, url) {
8988 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));
8989 },
8990 BuiltInCallable$mixin($name, $arguments, callback, url) {
8991 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));
8992 },
8993 BuiltInCallable$overloadedFunction($name, overloads) {
8994 var t2, t3, t4, t5, t6, t7,
8995 t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value);
8996 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();) {
8997 t6 = t2.get$current(t2);
8998 t7 = A.SpanScanner$("@function " + $name + "(" + A.S(t6.key) + ") {", null);
8999 t1.push(new A.Tuple2(new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t7, B.StderrLogger_false).parseArgumentDeclaration$0(), t6.value, t3));
9000 }
9001 return new A.BuiltInCallable($name, t1);
9002 },
9003 BuiltInCallable: function BuiltInCallable(t0, t1) {
9004 this.name = t0;
9005 this._overloads = t1;
9006 },
9007 BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
9008 this.callback = t0;
9009 },
9010 PlainCssCallable: function PlainCssCallable(t0) {
9011 this.name = t0;
9012 },
9013 UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
9014 var _ = this;
9015 _.declaration = t0;
9016 _.environment = t1;
9017 _.inDependency = t2;
9018 _.$ti = t3;
9019 },
9020 _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
9021 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),
9022 resultSourceMap = serializeResult.sourceMap;
9023 if (resultSourceMap != null && true)
9024 A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
9025 return new A.CompileResult(serializeResult);
9026 },
9027 _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
9028 this.stylesheet = t0;
9029 this.importCache = t1;
9030 },
9031 CompileResult: function CompileResult(t0) {
9032 this._serialize = t0;
9033 },
9034 Configuration: function Configuration(t0) {
9035 this._values = t0;
9036 },
9037 Configuration_toString_closure: function Configuration_toString_closure() {
9038 },
9039 ExplicitConfiguration: function ExplicitConfiguration(t0, t1) {
9040 this.nodeWithSpan = t0;
9041 this._values = t1;
9042 },
9043 ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
9044 this.value = t0;
9045 this.configurationSpan = t1;
9046 this.assignmentNode = t2;
9047 },
9048 Environment$() {
9049 var t1 = type$.String,
9050 t2 = type$.Module_Callable,
9051 t3 = type$.AstNode,
9052 t4 = type$.int,
9053 t5 = type$.Callable,
9054 t6 = type$.JSArray_Map_String_Callable;
9055 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);
9056 },
9057 Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
9058 var t1 = type$.String,
9059 t2 = type$.int;
9060 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);
9061 },
9062 _EnvironmentModule__EnvironmentModule(environment, css, extensionStore, forwarded) {
9063 var t1, t2, t3, t4, t5, t6;
9064 if (forwarded == null)
9065 forwarded = B.Set_empty;
9066 t1 = A._EnvironmentModule__makeModulesByVariable(forwarded);
9067 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);
9068 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);
9069 t4 = type$.Map_String_Callable;
9070 t5 = type$.Callable;
9071 t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t4), t5);
9072 t5 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t4), t5);
9073 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure3());
9074 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()));
9075 },
9076 _EnvironmentModule__makeModulesByVariable(forwarded) {
9077 var modulesByVariable, t1, t2, t3, t4, t5;
9078 if (forwarded.get$isEmpty(forwarded))
9079 return B.Map_empty;
9080 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
9081 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
9082 t2 = t1.get$current(t1);
9083 if (t2 instanceof A._EnvironmentModule) {
9084 for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
9085 t4 = t3.get$current(t3);
9086 t5 = t4.get$variables();
9087 A.setAll(modulesByVariable, t5.get$keys(t5), t4);
9088 }
9089 A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
9090 } else {
9091 t3 = t2.get$variables();
9092 A.setAll(modulesByVariable, t3.get$keys(t3), t2);
9093 }
9094 }
9095 return modulesByVariable;
9096 },
9097 _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
9098 var t1, t2, t3;
9099 localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
9100 if (otherMaps.get$isEmpty(otherMaps))
9101 return localMap;
9102 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
9103 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
9104 t3 = t2.get$current(t2);
9105 if (t3.get$isNotEmpty(t3))
9106 t1.push(t3);
9107 }
9108 t1.push(localMap);
9109 if (t1.length === 1)
9110 return localMap;
9111 return A.MergedMapView$(t1, type$.String, $V);
9112 },
9113 _EnvironmentModule$_(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
9114 return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
9115 },
9116 Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
9117 var _ = this;
9118 _._environment$_modules = t0;
9119 _._namespaceNodes = t1;
9120 _._globalModules = t2;
9121 _._importedModules = t3;
9122 _._forwardedModules = t4;
9123 _._nestedForwardedModules = t5;
9124 _._allModules = t6;
9125 _._variables = t7;
9126 _._variableNodes = t8;
9127 _._variableIndices = t9;
9128 _._functions = t10;
9129 _._functionIndices = t11;
9130 _._mixins = t12;
9131 _._mixinIndices = t13;
9132 _._content = t14;
9133 _._inMixin = false;
9134 _._inSemiGlobalScope = true;
9135 _._lastVariableIndex = _._lastVariableName = null;
9136 },
9137 Environment_importForwards_closure: function Environment_importForwards_closure() {
9138 },
9139 Environment_importForwards_closure0: function Environment_importForwards_closure0() {
9140 },
9141 Environment_importForwards_closure1: function Environment_importForwards_closure1() {
9142 },
9143 Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
9144 this.name = t0;
9145 },
9146 Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
9147 this.$this = t0;
9148 this.name = t1;
9149 },
9150 Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
9151 this.name = t0;
9152 },
9153 Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
9154 this.$this = t0;
9155 this.name = t1;
9156 },
9157 Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
9158 this.name = t0;
9159 },
9160 Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
9161 this.name = t0;
9162 },
9163 Environment_toModule_closure: function Environment_toModule_closure() {
9164 },
9165 Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
9166 },
9167 Environment__fromOneModule_closure: function Environment__fromOneModule_closure(t0, t1) {
9168 this.callback = t0;
9169 this.T = t1;
9170 },
9171 Environment__fromOneModule__closure: function Environment__fromOneModule__closure(t0, t1) {
9172 this.entry = t0;
9173 this.T = t1;
9174 },
9175 _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
9176 var _ = this;
9177 _.upstream = t0;
9178 _.variables = t1;
9179 _.variableNodes = t2;
9180 _.functions = t3;
9181 _.mixins = t4;
9182 _.extensionStore = t5;
9183 _.css = t6;
9184 _.transitivelyContainsCss = t7;
9185 _.transitivelyContainsExtensions = t8;
9186 _._environment$_environment = t9;
9187 _._modulesByVariable = t10;
9188 },
9189 _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
9190 },
9191 _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
9192 },
9193 _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
9194 },
9195 _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
9196 },
9197 _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
9198 },
9199 _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
9200 },
9201 SassException$(message, span) {
9202 return new A.SassException(message, span);
9203 },
9204 MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace) {
9205 return new A.MultiSpanSassRuntimeException(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
9206 },
9207 SassFormatException$(message, span) {
9208 return new A.SassFormatException(message, span);
9209 },
9210 SassScriptException$(message) {
9211 return new A.SassScriptException(message);
9212 },
9213 MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
9214 return new A.MultiSpanSassScriptException(primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message);
9215 },
9216 SassException: function SassException(t0, t1) {
9217 this._span_exception$_message = t0;
9218 this._span = t1;
9219 },
9220 MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3) {
9221 var _ = this;
9222 _.primaryLabel = t0;
9223 _.secondarySpans = t1;
9224 _._span_exception$_message = t2;
9225 _._span = t3;
9226 },
9227 SassRuntimeException: function SassRuntimeException(t0, t1, t2) {
9228 this.trace = t0;
9229 this._span_exception$_message = t1;
9230 this._span = t2;
9231 },
9232 MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4) {
9233 var _ = this;
9234 _.trace = t0;
9235 _.primaryLabel = t1;
9236 _.secondarySpans = t2;
9237 _._span_exception$_message = t3;
9238 _._span = t4;
9239 },
9240 SassFormatException: function SassFormatException(t0, t1) {
9241 this._span_exception$_message = t0;
9242 this._span = t1;
9243 },
9244 SassScriptException: function SassScriptException(t0) {
9245 this.message = t0;
9246 },
9247 MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
9248 this.primaryLabel = t0;
9249 this.secondarySpans = t1;
9250 this.message = t2;
9251 },
9252 compileStylesheet(options, graph, source, destination, ifModified) {
9253 return A.compileStylesheet$body(options, graph, source, destination, ifModified);
9254 },
9255 compileStylesheet$body(options, graph, source, destination, ifModified) {
9256 var $async$goto = 0,
9257 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
9258 $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;
9259 var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
9260 if ($async$errorCode === 1) {
9261 $async$currentError = $async$result;
9262 $async$goto = $async$handler;
9263 }
9264 while (true)
9265 switch ($async$goto) {
9266 case 0:
9267 // Function start
9268 t1 = $.$get$context();
9269 importer = new A.FilesystemImporter(t1.absolute$7(".", null, null, null, null, null, null));
9270 if (ifModified)
9271 try {
9272 if (source != null && destination != null && !graph.modifiedSince$3(t1.toUri$1(source), A.modificationTime(destination), importer)) {
9273 // goto return
9274 $async$goto = 1;
9275 break;
9276 }
9277 } catch (exception) {
9278 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
9279 throw exception;
9280 }
9281 syntax = null;
9282 if (A._asBoolQ(options._ifParsed$1("indented")) === true)
9283 syntax = B.Syntax_Sass;
9284 else if (source != null)
9285 syntax = A.Syntax_forPath(source);
9286 else
9287 syntax = B.Syntax_SCSS;
9288 result = null;
9289 $async$handler = 4;
9290 t1 = options._options;
9291 $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
9292 break;
9293 case 7:
9294 // then
9295 t2 = type$.List_String._as(t1.$index(0, "load-path"));
9296 t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9297 t4 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri;
9298 t5 = type$.Uri;
9299 t2 = A.AsyncImportCache__toImporters(null, t2, null);
9300 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));
9301 $async$goto = source == null ? 10 : 12;
9302 break;
9303 case 10:
9304 // then
9305 $async$goto = 13;
9306 return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
9307 case 13:
9308 // returning from await.
9309 t2 = $async$result;
9310 t3 = syntax;
9311 t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9312 t5 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
9313 t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9314 t7 = A._asBool(t1.$index(0, "quiet-deps"));
9315 t8 = A._asBool(t1.$index(0, "verbose"));
9316 t9 = options.get$emitSourceMap();
9317 $async$goto = 14;
9318 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);
9319 case 14:
9320 // returning from await.
9321 result0 = $async$result;
9322 // goto join
9323 $async$goto = 11;
9324 break;
9325 case 12:
9326 // else
9327 t2 = syntax;
9328 t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9329 t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9330 t5 = A._asBool(t1.$index(0, "quiet-deps"));
9331 t6 = A._asBool(t1.$index(0, "verbose"));
9332 t7 = options.get$emitSourceMap();
9333 $async$goto = 15;
9334 return A._asyncAwait(A.compileAsync(source, A._asBool(t1.$index(0, "charset")), importCache, t3, t5, t7, t4, t2, t6), $async$compileStylesheet);
9335 case 15:
9336 // returning from await.
9337 result0 = $async$result;
9338 case 11:
9339 // join
9340 result = result0;
9341 // goto join
9342 $async$goto = 8;
9343 break;
9344 case 9:
9345 // else
9346 $async$goto = source == null ? 16 : 18;
9347 break;
9348 case 16:
9349 // then
9350 $async$goto = 19;
9351 return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
9352 case 19:
9353 // returning from await.
9354 t2 = $async$result;
9355 t3 = syntax;
9356 logger = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9357 t4 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
9358 t5 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9359 t6 = A._asBool(t1.$index(0, "quiet-deps"));
9360 t7 = A._asBool(t1.$index(0, "verbose"));
9361 t8 = options.get$emitSourceMap();
9362 t1 = A._asBool(t1.$index(0, "charset"));
9363 if (!t7) {
9364 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
9365 logger = terseLogger;
9366 } else
9367 terseLogger = null;
9368 stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS : t3, logger, null);
9369 result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, new A.FilesystemImporter(t4), null, t5, true, null, null, t6, t8, t1);
9370 if (terseLogger != null)
9371 terseLogger.summarize$1$node(false);
9372 // goto join
9373 $async$goto = 17;
9374 break;
9375 case 18:
9376 // else
9377 t2 = syntax;
9378 logger = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9379 importCache = graph.importCache;
9380 t3 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9381 t4 = A._asBool(t1.$index(0, "quiet-deps"));
9382 t5 = A._asBool(t1.$index(0, "verbose"));
9383 t6 = options.get$emitSourceMap();
9384 t1 = A._asBool(t1.$index(0, "charset"));
9385 if (!t5) {
9386 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
9387 logger = terseLogger;
9388 } else
9389 terseLogger = null;
9390 t5 = t2 == null || t2 === A.Syntax_forPath(source);
9391 if (t5) {
9392 t2 = $.$get$context();
9393 t5 = t2.absolute$7(".", null, null, null, null, null, null);
9394 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));
9395 t5.toString;
9396 stylesheet = t5;
9397 } else {
9398 t5 = A.readFile(source);
9399 if (t2 == null)
9400 t2 = A.Syntax_forPath(source);
9401 t7 = $.$get$context();
9402 stylesheet = A.Stylesheet_Stylesheet$parse(t5, t2, logger, t7.toUri$1(source));
9403 t2 = t7;
9404 }
9405 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);
9406 if (terseLogger != null)
9407 terseLogger.summarize$1$node(false);
9408 case 17:
9409 // join
9410 result = result0;
9411 case 8:
9412 // join
9413 $async$handler = 2;
9414 // goto after finally
9415 $async$goto = 6;
9416 break;
9417 case 4:
9418 // catch
9419 $async$handler = 3;
9420 $async$exception = $async$currentError;
9421 t1 = A.unwrapException($async$exception);
9422 if (t1 instanceof A.SassException) {
9423 error = t1;
9424 if (options.get$emitErrorCss())
9425 if (destination == null)
9426 A.print(error.toCssString$0());
9427 else {
9428 A.ensureDir($.$get$context().dirname$1(destination));
9429 A.writeFile(destination, error.toCssString$0() + "\n");
9430 }
9431 throw $async$exception;
9432 } else
9433 throw $async$exception;
9434 // goto after finally
9435 $async$goto = 6;
9436 break;
9437 case 3:
9438 // uncaught
9439 // goto rethrow
9440 $async$goto = 2;
9441 break;
9442 case 6:
9443 // after finally
9444 css = result._serialize.css + A._writeSourceMap(options, result._serialize.sourceMap, destination);
9445 if (destination == null) {
9446 if (css.length !== 0)
9447 A.print(css);
9448 } else {
9449 A.ensureDir($.$get$context().dirname$1(destination));
9450 A.writeFile(destination, css + "\n");
9451 }
9452 t1 = options._options;
9453 if (!A._asBool(t1.$index(0, "quiet")))
9454 t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
9455 else
9456 t1 = true;
9457 if (t1) {
9458 // goto return
9459 $async$goto = 1;
9460 break;
9461 }
9462 buffer = new A.StringBuffer("");
9463 t1 = options.get$color() ? buffer._contents = "" + "\x1b[32m" : "";
9464 if (source == null)
9465 sourceName = "stdin";
9466 else {
9467 t2 = $.$get$context();
9468 sourceName = t2.prettyUri$1(t2.toUri$1(source));
9469 }
9470 destination.toString;
9471 t2 = $.$get$context();
9472 destinationName = t2.prettyUri$1(t2.toUri$1(destination));
9473 t1 += "Compiled " + sourceName + " to " + destinationName + ".";
9474 buffer._contents = t1;
9475 if (options.get$color())
9476 buffer._contents = t1 + "\x1b[0m";
9477 A.print(buffer);
9478 case 1:
9479 // return
9480 return A._asyncReturn($async$returnValue, $async$completer);
9481 case 2:
9482 // rethrow
9483 return A._asyncRethrow($async$currentError, $async$completer);
9484 }
9485 });
9486 return A._asyncStartSync($async$compileStylesheet, $async$completer);
9487 },
9488 _writeSourceMap(options, sourceMap, destination) {
9489 var t1, sourceMapText, url, sourceMapPath, t2;
9490 if (sourceMap == null)
9491 return "";
9492 if (destination != null) {
9493 t1 = $.$get$context();
9494 sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
9495 }
9496 A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
9497 t1 = options._options;
9498 sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
9499 if (A._asBool(t1.$index(0, "embed-source-map")))
9500 url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
9501 else {
9502 destination.toString;
9503 sourceMapPath = destination + ".map";
9504 t2 = $.$get$context();
9505 A.ensureDir(t2.dirname$1(sourceMapPath));
9506 A.writeFile(sourceMapPath, sourceMapText);
9507 url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
9508 }
9509 t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded) === B.OutputStyle_compressed ? "" : "\n\n";
9510 return t1 + ("/*# sourceMappingURL=" + url.toString$0(0) + " */");
9511 },
9512 _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
9513 this.options = t0;
9514 this.destination = t1;
9515 },
9516 ExecutableOptions__separator(text) {
9517 var t1 = $.$get$ExecutableOptions__separatorBar(),
9518 t2 = B.JSString_methods.$mul(t1, 3) + " ";
9519 t2 = t2 + (J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[1m" : "") + text;
9520 return t2 + (J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[0m" : "") + " " + B.JSString_methods.$mul(t1, 35 - text.length);
9521 },
9522 ExecutableOptions__fail(message) {
9523 return A.throwExpression(A.UsageException$(message));
9524 },
9525 ExecutableOptions_ExecutableOptions$parse(args) {
9526 var options, error, t1, exception;
9527 try {
9528 t1 = A.Parser$(null, $.$get$ExecutableOptions__parser(), A.ListQueue_ListQueue$of(args, type$.String), null, null).parse$0();
9529 if (t1.wasParsed$1("poll") && !A._asBool(t1.$index(0, "watch")))
9530 A.ExecutableOptions__fail("--poll may not be passed without --watch.");
9531 options = new A.ExecutableOptions(t1);
9532 if (A._asBool(options._options.$index(0, "help")))
9533 A.ExecutableOptions__fail("Compile Sass to CSS.");
9534 return options;
9535 } catch (exception) {
9536 t1 = A.unwrapException(exception);
9537 if (type$.FormatException._is(t1)) {
9538 error = t1;
9539 A.ExecutableOptions__fail(J.get$message$x(error));
9540 } else
9541 throw exception;
9542 }
9543 },
9544 UsageException$(message) {
9545 return new A.UsageException(message);
9546 },
9547 ExecutableOptions: function ExecutableOptions(t0) {
9548 var _ = this;
9549 _._options = t0;
9550 _.__ExecutableOptions_interactive = $;
9551 _._sourcesToDestinations = null;
9552 _.__ExecutableOptions__sourceDirectoriesToDestinations = $;
9553 },
9554 ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
9555 },
9556 ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
9557 this.$this = t0;
9558 },
9559 ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
9560 },
9561 UsageException: function UsageException(t0) {
9562 this.message = t0;
9563 },
9564 watch(options, graph) {
9565 return A.unwrapCancelableOperation(new A.watch_closure(options, graph).call$0(), type$.void);
9566 },
9567 watch_closure: function watch_closure(t0, t1) {
9568 this.options = t0;
9569 this.graph = t1;
9570 },
9571 watch__closure: function watch__closure(t0) {
9572 this.dirWatcher = t0;
9573 },
9574 _Watcher: function _Watcher(t0, t1) {
9575 this._watch$_options = t0;
9576 this._graph = t1;
9577 },
9578 _Watcher_watch_closure: function _Watcher_watch_closure(t0, t1, t2) {
9579 this._box_0 = t0;
9580 this.$this = t1;
9581 this.watcher = t2;
9582 },
9583 _Watcher_watch_closure0: function _Watcher_watch_closure0(t0) {
9584 this._box_0 = t0;
9585 },
9586 _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
9587 },
9588 EmptyExtensionStore: function EmptyExtensionStore() {
9589 },
9590 Extension: function Extension(t0, t1, t2, t3, t4) {
9591 var _ = this;
9592 _.extender = t0;
9593 _.target = t1;
9594 _.mediaContext = t2;
9595 _.isOptional = t3;
9596 _.span = t4;
9597 },
9598 Extender: function Extender(t0, t1, t2) {
9599 var _ = this;
9600 _.selector = t0;
9601 _.isOriginal = t1;
9602 _._extension = null;
9603 _.span = t2;
9604 },
9605 ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
9606 var t1, t2, t3, t4, t5, t6, t7, t8, t9, _i, complex, t10, t11, t12, _i0, simple, t13, _i1, t14, t15,
9607 extender = A.ExtensionStore$_mode(mode);
9608 if (!selector.get$isInvisible())
9609 extender._originals.addAll$1(0, selector.components);
9610 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) {
9611 complex = t1[_i];
9612 t10 = complex.components;
9613 if (t10.length !== 1)
9614 throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + A.S(complex) + "."));
9615 t11 = A.LinkedHashMap_LinkedHashMap$_empty(t8, t9);
9616 for (t10 = t7._as(B.JSArray_methods.get$first(t10)).components, t12 = t10.length, _i0 = 0; _i0 < t12; ++_i0) {
9617 simple = t10[_i0];
9618 t13 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
9619 for (_i1 = 0; _i1 < t4; ++_i1) {
9620 complex = t3[_i1];
9621 if (complex._complex$_maxSpecificity == null)
9622 complex._computeSpecificity$0();
9623 complex._complex$_maxSpecificity.toString;
9624 t14 = new A.Extender(complex, false, span);
9625 t15 = new A.Extension(t14, simple, null, true, span);
9626 t14._extension = t15;
9627 t13.$indexSet(0, complex, t15);
9628 }
9629 t11.$indexSet(0, simple, t13);
9630 }
9631 selector = extender._extendList$3(selector, span, t11);
9632 }
9633 return selector;
9634 },
9635 ExtensionStore$() {
9636 var t1 = type$.SimpleSelector;
9637 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);
9638 },
9639 ExtensionStore$_mode(_mode) {
9640 var t1 = type$.SimpleSelector;
9641 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);
9642 },
9643 ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
9644 var _ = this;
9645 _._selectors = t0;
9646 _._extensions = t1;
9647 _._extensionsByExtender = t2;
9648 _._mediaContexts = t3;
9649 _._sourceSpecificity = t4;
9650 _._originals = t5;
9651 _._mode = t6;
9652 },
9653 ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
9654 },
9655 ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
9656 },
9657 ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
9658 },
9659 ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
9660 },
9661 ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
9662 this.complex = t0;
9663 },
9664 ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
9665 },
9666 ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
9667 },
9668 ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure(t0, t1) {
9669 this._box_0 = t0;
9670 this.$this = t1;
9671 },
9672 ExtensionStore_addExtensions__closure1: function ExtensionStore_addExtensions__closure1(t0, t1, t2, t3, t4) {
9673 var _ = this;
9674 _._box_0 = t0;
9675 _.existingSources = t1;
9676 _.extensionsForTarget = t2;
9677 _.selectorsForTarget = t3;
9678 _.target = t4;
9679 },
9680 ExtensionStore_addExtensions___closure: function ExtensionStore_addExtensions___closure() {
9681 },
9682 ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0(t0, t1) {
9683 this._box_0 = t0;
9684 this.$this = t1;
9685 },
9686 ExtensionStore_addExtensions__closure: function ExtensionStore_addExtensions__closure(t0, t1) {
9687 this.$this = t0;
9688 this.newExtensions = t1;
9689 },
9690 ExtensionStore_addExtensions__closure0: function ExtensionStore_addExtensions__closure0(t0, t1) {
9691 this.$this = t0;
9692 this.newExtensions = t1;
9693 },
9694 ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0) {
9695 this.complex = t0;
9696 },
9697 ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
9698 this._box_0 = t0;
9699 this.$this = t1;
9700 this.complex = t2;
9701 },
9702 ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure() {
9703 },
9704 ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2, t3) {
9705 var _ = this;
9706 _._box_0 = t0;
9707 _.$this = t1;
9708 _.complex = t2;
9709 _.path = t3;
9710 },
9711 ExtensionStore__extendComplex___closure: function ExtensionStore__extendComplex___closure() {
9712 },
9713 ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure(t0) {
9714 this.mediaQueryContext = t0;
9715 },
9716 ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0(t0, t1) {
9717 this._box_1 = t0;
9718 this.mediaQueryContext = t1;
9719 },
9720 ExtensionStore__extendCompound__closure: function ExtensionStore__extendCompound__closure() {
9721 },
9722 ExtensionStore__extendCompound__closure0: function ExtensionStore__extendCompound__closure0(t0) {
9723 this._box_0 = t0;
9724 },
9725 ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1() {
9726 },
9727 ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
9728 },
9729 ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3(t0) {
9730 this.original = t0;
9731 },
9732 ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2, t3) {
9733 var _ = this;
9734 _.$this = t0;
9735 _.extensions = t1;
9736 _.targetsUsed = t2;
9737 _.simpleSpan = t3;
9738 },
9739 ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1, t2) {
9740 this.$this = t0;
9741 this.withoutPseudo = t1;
9742 this.simpleSpan = t2;
9743 },
9744 ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
9745 },
9746 ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
9747 },
9748 ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
9749 },
9750 ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
9751 },
9752 ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
9753 this.pseudo = t0;
9754 },
9755 ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0) {
9756 this.pseudo = t0;
9757 },
9758 ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
9759 this._box_0 = t0;
9760 this.complex1 = t1;
9761 },
9762 ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
9763 this._box_0 = t0;
9764 this.complex1 = t1;
9765 },
9766 ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
9767 var _ = this;
9768 _.$this = t0;
9769 _.newSelectors = t1;
9770 _.oldToNewSelectors = t2;
9771 _.newMediaContexts = t3;
9772 },
9773 unifyComplex(complexes) {
9774 var t2, unifiedBase, base, t3, t4, _i, complexesWithoutBases,
9775 t1 = J.getInterceptor$asx(complexes);
9776 if (t1.get$length(complexes) === 1)
9777 return complexes;
9778 for (t2 = t1.get$iterator(complexes), unifiedBase = null; t2.moveNext$0();) {
9779 base = J.get$last$ax(t2.get$current(t2));
9780 if (!(base instanceof A.CompoundSelector))
9781 return null;
9782 if (unifiedBase == null)
9783 unifiedBase = base.components;
9784 else
9785 for (t3 = base.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
9786 unifiedBase = t3[_i].unify$1(unifiedBase);
9787 if (unifiedBase == null)
9788 return null;
9789 }
9790 }
9791 t1 = t1.map$1$1(complexes, new A.unifyComplex_closure(), type$.List_ComplexSelectorComponent);
9792 complexesWithoutBases = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
9793 t1 = B.JSArray_methods.get$last(complexesWithoutBases);
9794 unifiedBase.toString;
9795 J.add$1$ax(t1, A.CompoundSelector$(unifiedBase));
9796 return A.weave(complexesWithoutBases);
9797 },
9798 unifyCompound(compound1, compound2) {
9799 var t1, result, _i, unified;
9800 for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
9801 unified = compound1[_i].unify$1(result);
9802 if (unified == null)
9803 return null;
9804 }
9805 return A.CompoundSelector$(result);
9806 },
9807 unifyUniversalAndElement(selector1, selector2) {
9808 var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
9809 _s45_ = string$.must_b;
9810 if (selector1 instanceof A.UniversalSelector) {
9811 namespace1 = selector1.namespace;
9812 name1 = _null;
9813 } else if (selector1 instanceof A.TypeSelector) {
9814 t1 = selector1.name;
9815 namespace1 = t1.namespace;
9816 name1 = t1.name;
9817 } else
9818 throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
9819 if (selector2 instanceof A.UniversalSelector) {
9820 namespace2 = selector2.namespace;
9821 name2 = _null;
9822 } else if (selector2 instanceof A.TypeSelector) {
9823 t1 = selector2.name;
9824 namespace2 = t1.namespace;
9825 name2 = t1.name;
9826 } else
9827 throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
9828 if (namespace1 == namespace2 || namespace2 === "*")
9829 namespace = namespace1;
9830 else {
9831 if (namespace1 !== "*")
9832 return _null;
9833 namespace = namespace2;
9834 }
9835 if (name1 == name2 || name2 == null)
9836 $name = name1;
9837 else {
9838 if (!(name1 == null || name1 === "*"))
9839 return _null;
9840 $name = name2;
9841 }
9842 return $name == null ? new A.UniversalSelector(namespace) : new A.TypeSelector(new A.QualifiedName($name, namespace));
9843 },
9844 weave(complexes) {
9845 var t2, t3, t4, t5, target, _i, parents, newPrefixes, parentPrefixes, t6,
9846 t1 = type$.JSArray_List_ComplexSelectorComponent,
9847 prefixes = A._setArrayType([J.toList$0$ax(B.JSArray_methods.get$first(complexes))], t1);
9848 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();) {
9849 t4 = t3._as(t2.__internal$_current);
9850 t5 = J.getInterceptor$asx(t4);
9851 if (t5.get$isEmpty(t4))
9852 continue;
9853 target = t5.get$last(t4);
9854 if (t5.get$length(t4) === 1) {
9855 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i)
9856 J.add$1$ax(prefixes[_i], target);
9857 continue;
9858 }
9859 parents = t5.take$1(t4, t5.get$length(t4) - 1).toList$0(0);
9860 newPrefixes = A._setArrayType([], t1);
9861 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
9862 parentPrefixes = A._weaveParents(prefixes[_i], parents);
9863 if (parentPrefixes == null)
9864 continue;
9865 for (t5 = parentPrefixes.get$iterator(parentPrefixes); t5.moveNext$0();) {
9866 t6 = t5.get$current(t5);
9867 J.add$1$ax(t6, target);
9868 newPrefixes.push(t6);
9869 }
9870 }
9871 prefixes = newPrefixes;
9872 }
9873 return prefixes;
9874 },
9875 _weaveParents(parents1, parents2) {
9876 var finalCombinators, root1, root2, root, groups1, groups2, lcs, t2, choices, t3, _i, group, t4, t5, _null = null,
9877 t1 = type$.ComplexSelectorComponent,
9878 queue1 = A.ListQueue_ListQueue$of(parents1, t1),
9879 queue2 = A.ListQueue_ListQueue$of(parents2, t1),
9880 initialCombinators = A._mergeInitialCombinators(queue1, queue2);
9881 if (initialCombinators == null)
9882 return _null;
9883 finalCombinators = A._mergeFinalCombinators(queue1, queue2, _null);
9884 if (finalCombinators == null)
9885 return _null;
9886 root1 = A._firstIfRoot(queue1);
9887 root2 = A._firstIfRoot(queue2);
9888 t1 = root1 != null;
9889 if (t1 && root2 != null) {
9890 root = A.unifyCompound(root1.components, root2.components);
9891 if (root == null)
9892 return _null;
9893 queue1.addFirst$1(root);
9894 queue2.addFirst$1(root);
9895 } else if (t1)
9896 queue2.addFirst$1(root1);
9897 else if (root2 != null)
9898 queue1.addFirst$1(root2);
9899 groups1 = A._groupSelectors(queue1);
9900 groups2 = A._groupSelectors(queue2);
9901 t1 = type$.List_ComplexSelectorComponent;
9902 lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(), t1);
9903 t2 = type$.JSArray_Iterable_ComplexSelectorComponent;
9904 choices = A._setArrayType([A._setArrayType([initialCombinators], t2)], type$.JSArray_List_Iterable_ComplexSelectorComponent);
9905 for (t3 = lcs.length, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
9906 group = lcs[_i];
9907 t4 = A._chunks(groups1, groups2, new A._weaveParents_closure0(group), t1);
9908 t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent>>");
9909 choices.push(A.List_List$of(new A.MappedListIterable(t4, new A._weaveParents_closure1(), t5), true, t5._eval$1("ListIterable.E")));
9910 choices.push(A._setArrayType([group], t2));
9911 groups1.removeFirst$0();
9912 groups2.removeFirst$0();
9913 }
9914 t2 = A._chunks(groups1, groups2, new A._weaveParents_closure2(), t1);
9915 t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent>>");
9916 choices.push(A.List_List$of(new A.MappedListIterable(t2, new A._weaveParents_closure3(), t3), true, t3._eval$1("ListIterable.E")));
9917 B.JSArray_methods.addAll$1(choices, finalCombinators);
9918 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);
9919 },
9920 _firstIfRoot(queue) {
9921 var first;
9922 if (queue._collection$_head === queue._collection$_tail)
9923 return null;
9924 first = queue.get$first(queue);
9925 if (first instanceof A.CompoundSelector) {
9926 if (!A._hasRoot(first))
9927 return null;
9928 queue.removeFirst$0();
9929 return first;
9930 } else
9931 return null;
9932 },
9933 _mergeInitialCombinators(components1, components2) {
9934 var t4, combinators2, lcs,
9935 t1 = type$.JSArray_Combinator,
9936 combinators1 = A._setArrayType([], t1),
9937 t2 = type$.Combinator,
9938 t3 = components1.$ti._precomputed1;
9939 while (true) {
9940 if (!components1.get$isEmpty(components1)) {
9941 t4 = components1._collection$_head;
9942 if (t4 === components1._collection$_tail)
9943 A.throwExpression(A.IterableElementError_noElement());
9944 t4 = t3._as(components1._collection$_table[t4]) instanceof A.Combinator;
9945 } else
9946 t4 = false;
9947 if (!t4)
9948 break;
9949 combinators1.push(t2._as(components1.removeFirst$0()));
9950 }
9951 combinators2 = A._setArrayType([], t1);
9952 t1 = components2.$ti._precomputed1;
9953 while (true) {
9954 if (!components2.get$isEmpty(components2)) {
9955 t3 = components2._collection$_head;
9956 if (t3 === components2._collection$_tail)
9957 A.throwExpression(A.IterableElementError_noElement());
9958 t3 = t1._as(components2._collection$_table[t3]) instanceof A.Combinator;
9959 } else
9960 t3 = false;
9961 if (!t3)
9962 break;
9963 combinators2.push(t2._as(components2.removeFirst$0()));
9964 }
9965 lcs = A.longestCommonSubsequence(combinators1, combinators2, null, t2);
9966 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
9967 return combinators2;
9968 if (B.C_ListEquality.equals$2(0, lcs, combinators2))
9969 return combinators1;
9970 return null;
9971 },
9972 _mergeFinalCombinators(components1, components2, result) {
9973 var t1, combinators1, t2, combinators2, lcs, combinator1, combinator2, compound1, compound2, choices, unified, followingSiblingSelector, nextSiblingSelector, _null = null;
9974 if (result == null)
9975 result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
9976 if (components1._collection$_head === components1._collection$_tail || !(components1.get$last(components1) instanceof A.Combinator))
9977 t1 = components2._collection$_head === components2._collection$_tail || !(components2.get$last(components2) instanceof A.Combinator);
9978 else
9979 t1 = false;
9980 if (t1)
9981 return result;
9982 t1 = type$.JSArray_Combinator;
9983 combinators1 = A._setArrayType([], t1);
9984 t2 = type$.Combinator;
9985 while (true) {
9986 if (!(!components1.get$isEmpty(components1) && components1.get$last(components1) instanceof A.Combinator))
9987 break;
9988 combinators1.push(t2._as(components1.removeLast$0(0)));
9989 }
9990 combinators2 = A._setArrayType([], t1);
9991 while (true) {
9992 if (!(!components2.get$isEmpty(components2) && components2.get$last(components2) instanceof A.Combinator))
9993 break;
9994 combinators2.push(t2._as(components2.removeLast$0(0)));
9995 }
9996 t1 = combinators1.length;
9997 if (t1 > 1 || combinators2.length > 1) {
9998 lcs = A.longestCommonSubsequence(combinators1, combinators2, _null, t2);
9999 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
10000 result.addFirst$1(A._setArrayType([A.List_List$of(new A.ReversedListIterable(combinators2, type$.ReversedListIterable_Combinator), true, type$.ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10001 else if (B.C_ListEquality.equals$2(0, lcs, combinators2))
10002 result.addFirst$1(A._setArrayType([A.List_List$of(new A.ReversedListIterable(combinators1, type$.ReversedListIterable_Combinator), true, type$.ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10003 else
10004 return _null;
10005 return result;
10006 }
10007 combinator1 = t1 === 0 ? _null : B.JSArray_methods.get$first(combinators1);
10008 combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
10009 t1 = combinator1 != null;
10010 if (t1 && combinator2 != null) {
10011 t1 = type$.CompoundSelector;
10012 compound1 = t1._as(components1.removeLast$0(0));
10013 compound2 = t1._as(components2.removeLast$0(0));
10014 t1 = combinator1 === B.Combinator_CzM;
10015 if (t1 && combinator2 === B.Combinator_CzM)
10016 if (A.compoundIsSuperselector(compound1, compound2, _null))
10017 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, B.Combinator_CzM], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10018 else {
10019 t1 = type$.JSArray_ComplexSelectorComponent;
10020 t2 = type$.JSArray_List_ComplexSelectorComponent;
10021 if (A.compoundIsSuperselector(compound2, compound1, _null))
10022 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM], t1)], t2));
10023 else {
10024 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);
10025 unified = A.unifyCompound(compound1.components, compound2.components);
10026 if (unified != null)
10027 choices.push(A._setArrayType([unified, B.Combinator_CzM], t1));
10028 result.addFirst$1(choices);
10029 }
10030 }
10031 else {
10032 if (!(t1 && combinator2 === B.Combinator_uzg))
10033 t2 = combinator1 === B.Combinator_uzg && combinator2 === B.Combinator_CzM;
10034 else
10035 t2 = true;
10036 if (t2) {
10037 followingSiblingSelector = t1 ? compound1 : compound2;
10038 nextSiblingSelector = t1 ? compound2 : compound1;
10039 t1 = type$.JSArray_ComplexSelectorComponent;
10040 t2 = type$.JSArray_List_ComplexSelectorComponent;
10041 if (A.compoundIsSuperselector(followingSiblingSelector, nextSiblingSelector, _null))
10042 result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingSelector, B.Combinator_uzg], t1)], t2));
10043 else {
10044 unified = A.unifyCompound(compound1.components, compound2.components);
10045 t2 = A._setArrayType([A._setArrayType([followingSiblingSelector, B.Combinator_CzM, nextSiblingSelector, B.Combinator_uzg], t1)], t2);
10046 if (unified != null)
10047 t2.push(A._setArrayType([unified, B.Combinator_uzg], t1));
10048 result.addFirst$1(t2);
10049 }
10050 } else {
10051 if (combinator1 === B.Combinator_sgq)
10052 t2 = combinator2 === B.Combinator_uzg || combinator2 === B.Combinator_CzM;
10053 else
10054 t2 = false;
10055 if (t2) {
10056 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, combinator2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10057 components1._add$1(compound1);
10058 components1._add$1(B.Combinator_sgq);
10059 } else {
10060 if (combinator2 === B.Combinator_sgq)
10061 t1 = combinator1 === B.Combinator_uzg || t1;
10062 else
10063 t1 = false;
10064 if (t1) {
10065 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10066 components2._add$1(compound2);
10067 components2._add$1(B.Combinator_sgq);
10068 } else if (combinator1 === combinator2) {
10069 unified = A.unifyCompound(compound1.components, compound2.components);
10070 if (unified == null)
10071 return _null;
10072 result.addFirst$1(A._setArrayType([A._setArrayType([unified, combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10073 } else
10074 return _null;
10075 }
10076 }
10077 }
10078 return A._mergeFinalCombinators(components1, components2, result);
10079 } else if (t1) {
10080 if (combinator1 === B.Combinator_sgq)
10081 if (!components2.get$isEmpty(components2)) {
10082 t1 = type$.CompoundSelector;
10083 t1 = A.compoundIsSuperselector(t1._as(components2.get$last(components2)), t1._as(components1.get$last(components1)), _null);
10084 } else
10085 t1 = false;
10086 else
10087 t1 = false;
10088 if (t1)
10089 components2.removeLast$0(0);
10090 result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0), combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10091 return A._mergeFinalCombinators(components1, components2, result);
10092 } else {
10093 if (combinator2 === B.Combinator_sgq)
10094 if (!components1.get$isEmpty(components1)) {
10095 t1 = type$.CompoundSelector;
10096 t1 = A.compoundIsSuperselector(t1._as(components1.get$last(components1)), t1._as(components2.get$last(components2)), _null);
10097 } else
10098 t1 = false;
10099 else
10100 t1 = false;
10101 if (t1)
10102 components1.removeLast$0(0);
10103 t1 = components2.removeLast$0(0);
10104 combinator2.toString;
10105 result.addFirst$1(A._setArrayType([A._setArrayType([t1, combinator2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10106 return A._mergeFinalCombinators(components1, components2, result);
10107 }
10108 },
10109 _mustUnify(complex1, complex2) {
10110 var t2, t3, t4,
10111 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
10112 for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();) {
10113 t3 = t2.get$current(t2);
10114 if (t3 instanceof A.CompoundSelector)
10115 for (t3 = B.JSArray_methods.get$iterator(t3.components), t4 = new A.WhereIterator(t3, A.functions___isUnique$closure()); t4.moveNext$0();)
10116 t1.add$1(0, t3.get$current(t3));
10117 }
10118 if (t1._collection$_length === 0)
10119 return false;
10120 return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
10121 },
10122 _isUnique(simple) {
10123 var t1;
10124 if (!(simple instanceof A.IDSelector))
10125 t1 = simple instanceof A.PseudoSelector && !simple.isClass;
10126 else
10127 t1 = true;
10128 return t1;
10129 },
10130 _chunks(queue1, queue2, done, $T) {
10131 var chunk2, t2,
10132 t1 = $T._eval$1("JSArray<0>"),
10133 chunk1 = A._setArrayType([], t1);
10134 for (; !done.call$1(queue1);)
10135 chunk1.push(queue1.removeFirst$0());
10136 chunk2 = A._setArrayType([], t1);
10137 for (; !done.call$1(queue2);)
10138 chunk2.push(queue2.removeFirst$0());
10139 t1 = chunk1.length === 0;
10140 if (t1 && chunk2.length === 0)
10141 return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
10142 if (t1)
10143 return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
10144 if (chunk2.length === 0)
10145 return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
10146 t1 = A.List_List$of(chunk1, true, $T);
10147 B.JSArray_methods.addAll$1(t1, chunk2);
10148 t2 = A.List_List$of(chunk2, true, $T);
10149 B.JSArray_methods.addAll$1(t2, chunk1);
10150 return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
10151 },
10152 paths(choices, $T) {
10153 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));
10154 },
10155 _groupSelectors(complex) {
10156 var t1, t2, group, t3, t4,
10157 groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
10158 iterator = A._ListQueueIterator$(complex);
10159 if (!iterator.moveNext$0())
10160 return groups;
10161 t1 = A._instanceType(iterator)._precomputed1;
10162 t2 = type$.JSArray_ComplexSelectorComponent;
10163 group = A._setArrayType([t1._as(iterator._collection$_current)], t2);
10164 groups._queue_list$_add$1(group);
10165 for (; iterator.moveNext$0();) {
10166 t3 = B.JSArray_methods.get$last(group) instanceof A.Combinator || t1._as(iterator._collection$_current) instanceof A.Combinator;
10167 t4 = iterator._collection$_current;
10168 if (t3)
10169 group.push(t1._as(t4));
10170 else {
10171 group = A._setArrayType([t1._as(t4)], t2);
10172 groups._queue_list$_add$1(group);
10173 }
10174 }
10175 return groups;
10176 },
10177 _hasRoot(compound) {
10178 return B.JSArray_methods.any$1(compound.components, new A._hasRoot_closure());
10179 },
10180 listIsSuperselector(list1, list2) {
10181 return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
10182 },
10183 complexIsParentSuperselector(complex1, complex2) {
10184 var t2, base,
10185 t1 = J.getInterceptor$ax(complex1);
10186 if (t1.get$first(complex1) instanceof A.Combinator)
10187 return false;
10188 t2 = J.getInterceptor$ax(complex2);
10189 if (t2.get$first(complex2) instanceof A.Combinator)
10190 return false;
10191 if (t1.get$length(complex1) > t2.get$length(complex2))
10192 return false;
10193 base = A.CompoundSelector$(A._setArrayType([new A.PlaceholderSelector("<temp>")], type$.JSArray_SimpleSelector));
10194 t1 = type$.ComplexSelectorComponent;
10195 t2 = A.List_List$of(complex1, true, t1);
10196 t2.push(base);
10197 t1 = A.List_List$of(complex2, true, t1);
10198 t1.push(base);
10199 return A.complexIsSuperselector(t2, t1);
10200 },
10201 complexIsSuperselector(complex1, complex2) {
10202 var t1, t2, t3, i1, i2, remaining1, remaining2, t4, t5, t6, afterSuperselector, afterSuperselector0, compound2, i10, combinator1, combinator2;
10203 if (B.JSArray_methods.get$last(complex1) instanceof A.Combinator)
10204 return false;
10205 if (B.JSArray_methods.get$last(complex2) instanceof A.Combinator)
10206 return false;
10207 for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), t3 = type$.CompoundSelector, i1 = 0, i2 = 0; true;) {
10208 remaining1 = complex1.length - i1;
10209 remaining2 = complex2.length - i2;
10210 if (remaining1 === 0 || remaining2 === 0)
10211 return false;
10212 if (remaining1 > remaining2)
10213 return false;
10214 t4 = complex1[i1];
10215 if (t4 instanceof A.Combinator)
10216 return false;
10217 if (complex2[i2] instanceof A.Combinator)
10218 return false;
10219 t3._as(t4);
10220 if (remaining1 === 1) {
10221 t5 = t3._as(B.JSArray_methods.get$last(complex2));
10222 t6 = complex2.length - 1;
10223 t3 = new A.SubListIterable(complex2, 0, t6, t1);
10224 t3.SubListIterable$3(complex2, 0, t6, t2);
10225 return A.compoundIsSuperselector(t4, t5, t3.skip$1(0, i2));
10226 }
10227 afterSuperselector = i2 + 1;
10228 for (afterSuperselector0 = afterSuperselector; afterSuperselector0 < complex2.length; ++afterSuperselector0) {
10229 t5 = afterSuperselector0 - 1;
10230 compound2 = complex2[t5];
10231 if (compound2 instanceof A.CompoundSelector) {
10232 t6 = new A.SubListIterable(complex2, 0, t5, t1);
10233 t6.SubListIterable$3(complex2, 0, t5, t2);
10234 if (A.compoundIsSuperselector(t4, compound2, t6.skip$1(0, afterSuperselector)))
10235 break;
10236 }
10237 }
10238 if (afterSuperselector0 === complex2.length)
10239 return false;
10240 i10 = i1 + 1;
10241 combinator1 = complex1[i10];
10242 combinator2 = complex2[afterSuperselector0];
10243 if (combinator1 instanceof A.Combinator) {
10244 if (!(combinator2 instanceof A.Combinator))
10245 return false;
10246 if (combinator1 === B.Combinator_CzM) {
10247 if (combinator2 === B.Combinator_sgq)
10248 return false;
10249 } else if (combinator2 !== combinator1)
10250 return false;
10251 if (remaining1 === 3 && remaining2 > 3)
10252 return false;
10253 i1 += 2;
10254 i2 = afterSuperselector0 + 1;
10255 } else {
10256 if (combinator2 instanceof A.Combinator) {
10257 if (combinator2 !== B.Combinator_sgq)
10258 return false;
10259 i2 = afterSuperselector0 + 1;
10260 } else
10261 i2 = afterSuperselector0;
10262 i1 = i10;
10263 }
10264 }
10265 },
10266 compoundIsSuperselector(compound1, compound2, parents) {
10267 var t1, t2, _i, simple1, simple2;
10268 for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
10269 simple1 = t1[_i];
10270 if (simple1 instanceof A.PseudoSelector && simple1.selector != null) {
10271 if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
10272 return false;
10273 } else if (!A._simpleIsSuperselectorOfCompound(simple1, compound2))
10274 return false;
10275 }
10276 for (t1 = compound2.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
10277 simple2 = t1[_i];
10278 if (simple2 instanceof A.PseudoSelector && !simple2.isClass && simple2.selector == null && !A._simpleIsSuperselectorOfCompound(simple2, compound1))
10279 return false;
10280 }
10281 return true;
10282 },
10283 _simpleIsSuperselectorOfCompound(simple, compound) {
10284 return B.JSArray_methods.any$1(compound.components, new A._simpleIsSuperselectorOfCompound_closure(simple));
10285 },
10286 _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
10287 var selector1_ = pseudo1.selector;
10288 if (selector1_ == null)
10289 throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
10290 switch (pseudo1.normalizedName) {
10291 case "is":
10292 case "matches":
10293 case "any":
10294 case "where":
10295 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));
10296 case "has":
10297 case "host":
10298 case "host-context":
10299 return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1_));
10300 case "slotted":
10301 return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1_));
10302 case "not":
10303 return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
10304 case "current":
10305 return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1_));
10306 case "nth-child":
10307 case "nth-last-child":
10308 return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1_));
10309 default:
10310 throw A.wrapException("unreachable");
10311 }
10312 },
10313 _selectorPseudoArgs(compound, $name, isClass) {
10314 var t1 = type$.WhereTypeIterable_PseudoSelector;
10315 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);
10316 },
10317 unifyComplex_closure: function unifyComplex_closure() {
10318 },
10319 _weaveParents_closure: function _weaveParents_closure() {
10320 },
10321 _weaveParents_closure0: function _weaveParents_closure0(t0) {
10322 this.group = t0;
10323 },
10324 _weaveParents_closure1: function _weaveParents_closure1() {
10325 },
10326 _weaveParents__closure1: function _weaveParents__closure1() {
10327 },
10328 _weaveParents_closure2: function _weaveParents_closure2() {
10329 },
10330 _weaveParents_closure3: function _weaveParents_closure3() {
10331 },
10332 _weaveParents__closure0: function _weaveParents__closure0() {
10333 },
10334 _weaveParents_closure4: function _weaveParents_closure4() {
10335 },
10336 _weaveParents_closure5: function _weaveParents_closure5() {
10337 },
10338 _weaveParents__closure: function _weaveParents__closure() {
10339 },
10340 _mustUnify_closure: function _mustUnify_closure(t0) {
10341 this.uniqueSelectors = t0;
10342 },
10343 _mustUnify__closure: function _mustUnify__closure(t0) {
10344 this.uniqueSelectors = t0;
10345 },
10346 paths_closure: function paths_closure(t0) {
10347 this.T = t0;
10348 },
10349 paths__closure: function paths__closure(t0, t1) {
10350 this.paths = t0;
10351 this.T = t1;
10352 },
10353 paths___closure: function paths___closure(t0, t1) {
10354 this.option = t0;
10355 this.T = t1;
10356 },
10357 _hasRoot_closure: function _hasRoot_closure() {
10358 },
10359 listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
10360 this.list1 = t0;
10361 },
10362 listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
10363 this.complex1 = t0;
10364 },
10365 _simpleIsSuperselectorOfCompound_closure: function _simpleIsSuperselectorOfCompound_closure(t0) {
10366 this.simple = t0;
10367 },
10368 _simpleIsSuperselectorOfCompound__closure: function _simpleIsSuperselectorOfCompound__closure(t0) {
10369 this.simple = t0;
10370 },
10371 _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
10372 this.selector1 = t0;
10373 },
10374 _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
10375 this.parents = t0;
10376 this.compound2 = t1;
10377 },
10378 _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
10379 this.selector1 = t0;
10380 },
10381 _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
10382 this.selector1 = t0;
10383 },
10384 _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
10385 this.compound2 = t0;
10386 this.pseudo1 = t1;
10387 },
10388 _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
10389 this.complex = t0;
10390 this.pseudo1 = t1;
10391 },
10392 _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
10393 this.simple2 = t0;
10394 },
10395 _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
10396 this.simple2 = t0;
10397 },
10398 _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
10399 this.selector1 = t0;
10400 },
10401 _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
10402 this.pseudo1 = t0;
10403 this.selector1 = t1;
10404 },
10405 _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
10406 this.isClass = t0;
10407 this.name = t1;
10408 },
10409 _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
10410 },
10411 MergedExtension_merge(left, right) {
10412 var t4, t5, t6,
10413 t1 = left.extender,
10414 t2 = t1.selector,
10415 t3 = B.C_ListEquality.equals$2(0, t2.components, right.extender.selector.components);
10416 if (!t3 || !left.target.$eq(0, right.target))
10417 throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
10418 t3 = left.mediaContext;
10419 t4 = t3 == null;
10420 if (!t4) {
10421 t5 = right.mediaContext;
10422 t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
10423 } else
10424 t5 = false;
10425 if (t5)
10426 throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
10427 if (right.isOptional && right.mediaContext == null)
10428 return left;
10429 if (left.isOptional && t4)
10430 return right;
10431 t5 = left.target;
10432 t6 = left.span;
10433 if (t4)
10434 t3 = right.mediaContext;
10435 t2.get$maxSpecificity();
10436 t1 = new A.Extender(t2, false, t1.span);
10437 return t1._extension = new A.MergedExtension(left, right, t1, t5, t3, true, t6);
10438 },
10439 MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
10440 var _ = this;
10441 _.left = t0;
10442 _.right = t1;
10443 _.extender = t2;
10444 _.target = t3;
10445 _.mediaContext = t4;
10446 _.isOptional = t5;
10447 _.span = t6;
10448 },
10449 ExtendMode: function ExtendMode(t0) {
10450 this.name = t0;
10451 },
10452 globalFunctions_closure: function globalFunctions_closure() {
10453 },
10454 _updateComponents($arguments, adjust, change, scale) {
10455 var keywords, alpha, red, green, blue, hueNumber, t2, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t3, t4, t5, _null = null,
10456 t1 = J.getInterceptor$asx($arguments),
10457 color = t1.$index($arguments, 0).assertColor$1("color"),
10458 argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
10459 if (argumentList._list$_contents.length !== 0)
10460 throw A.wrapException(A.SassScriptException$(string$.Only_op));
10461 argumentList._wereKeywordsAccessed = true;
10462 keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, type$.String, type$.Value);
10463 t1 = new A._updateComponents_getParam(keywords, scale, change);
10464 alpha = t1.call$2("alpha", 1);
10465 red = t1.call$2("red", 255);
10466 green = t1.call$2("green", 255);
10467 blue = t1.call$2("blue", 255);
10468 if (scale)
10469 hueNumber = _null;
10470 else {
10471 t2 = keywords.remove$1(0, "hue");
10472 hueNumber = t2 == null ? _null : t2.assertNumber$1("hue");
10473 }
10474 t2 = hueNumber == null;
10475 if (!t2)
10476 A._checkAngle(hueNumber, "hue");
10477 hue = t2 ? _null : hueNumber._number$_value;
10478 saturation = t1.call$3$checkPercent("saturation", 100, true);
10479 lightness = t1.call$3$checkPercent("lightness", 100, true);
10480 whiteness = t1.call$3$assertPercent("whiteness", 100, true);
10481 blackness = t1.call$3$assertPercent("blackness", 100, true);
10482 if (keywords.get$isNotEmpty(keywords))
10483 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")) + "."));
10484 hasRgb = red != null || green != null || blue != null;
10485 hasSL = saturation != null || lightness != null;
10486 hasWB = whiteness != null || blackness != null;
10487 if (hasRgb)
10488 t1 = hasSL || hasWB || hue != null;
10489 else
10490 t1 = false;
10491 if (t1)
10492 throw A.wrapException(A.SassScriptException$(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters."));
10493 if (hasSL && hasWB)
10494 throw A.wrapException(A.SassScriptException$(string$.HSL_pa));
10495 t1 = new A._updateComponents_updateValue(change, adjust);
10496 t2 = new A._updateComponents_updateRgb(t1);
10497 if (hasRgb) {
10498 t3 = t2.call$2(color.get$red(color), red);
10499 t4 = t2.call$2(color.get$green(color), green);
10500 t2 = t2.call$2(color.get$blue(color), blue);
10501 return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
10502 } else if (hasWB) {
10503 if (change)
10504 t2 = hue;
10505 else {
10506 t2 = color.get$hue(color);
10507 t2 += hue == null ? 0 : hue;
10508 }
10509 t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
10510 t4 = t1.call$3(color.get$blackness(color), blackness, 100);
10511 t5 = color._alpha;
10512 t1 = t1.call$3(t5, alpha, 1);
10513 if (t2 == null)
10514 t2 = color.get$hue(color);
10515 if (t3 == null)
10516 t3 = color.get$whiteness(color);
10517 if (t4 == null)
10518 t4 = color.get$blackness(color);
10519 return A.SassColor_SassColor$hwb(t2, t3, t4, t1 == null ? t5 : t1);
10520 } else {
10521 t2 = hue == null;
10522 if (!t2 || hasSL) {
10523 if (change)
10524 t2 = hue;
10525 else {
10526 t3 = color.get$hue(color);
10527 t3 += t2 ? 0 : hue;
10528 t2 = t3;
10529 }
10530 t3 = t1.call$3(color.get$saturation(color), saturation, 100);
10531 t4 = t1.call$3(color.get$lightness(color), lightness, 100);
10532 return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
10533 } else if (alpha != null)
10534 return color.changeAlpha$1(t1.call$3(color._alpha, alpha, 1));
10535 else
10536 return color;
10537 }
10538 },
10539 _functionString($name, $arguments) {
10540 return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
10541 },
10542 _removedColorFunction($name, argument, negative) {
10543 return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
10544 },
10545 _rgb($name, $arguments) {
10546 var t2, red, green, blue,
10547 t1 = J.getInterceptor$asx($arguments),
10548 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
10549 if (!t1.$index($arguments, 0).get$isSpecialNumber())
10550 if (!t1.$index($arguments, 1).get$isSpecialNumber())
10551 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
10552 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
10553 t2 = t2 === true;
10554 } else
10555 t2 = true;
10556 else
10557 t2 = true;
10558 else
10559 t2 = true;
10560 if (t2)
10561 return A._functionString($name, $arguments);
10562 red = t1.$index($arguments, 0).assertNumber$1("red");
10563 green = t1.$index($arguments, 1).assertNumber$1("green");
10564 blue = t1.$index($arguments, 2).assertNumber$1("blue");
10565 return A.SassColor$rgbInternal(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()), B._ColorFormatEnum_rgbFunction);
10566 },
10567 _rgbTwoArg($name, $arguments) {
10568 var first, color,
10569 t1 = J.getInterceptor$asx($arguments);
10570 if (t1.$index($arguments, 0).get$isVar())
10571 return A._functionString($name, $arguments);
10572 else if (t1.$index($arguments, 1).get$isVar()) {
10573 first = t1.$index($arguments, 0);
10574 if (first instanceof A.SassColor)
10575 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);
10576 else
10577 return A._functionString($name, $arguments);
10578 } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
10579 color = t1.$index($arguments, 0).assertColor$1("color");
10580 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);
10581 }
10582 return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
10583 },
10584 _hsl($name, $arguments) {
10585 var t2, hue, saturation, lightness,
10586 _s10_ = "saturation",
10587 _s9_ = "lightness",
10588 t1 = J.getInterceptor$asx($arguments),
10589 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
10590 if (!t1.$index($arguments, 0).get$isSpecialNumber())
10591 if (!t1.$index($arguments, 1).get$isSpecialNumber())
10592 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
10593 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
10594 t2 = t2 === true;
10595 } else
10596 t2 = true;
10597 else
10598 t2 = true;
10599 else
10600 t2 = true;
10601 if (t2)
10602 return A._functionString($name, $arguments);
10603 hue = t1.$index($arguments, 0).assertNumber$1("hue");
10604 saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
10605 lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
10606 A._checkAngle(hue, "hue");
10607 A._checkPercent(saturation, _s10_);
10608 A._checkPercent(lightness, _s9_);
10609 return A.SassColor$hslInternal(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()), B._ColorFormatEnum_hslFunction);
10610 },
10611 _checkAngle(angle, $name) {
10612 var t1, t2, t3, actualUnit,
10613 _s31_ = "To preserve current behavior: $";
10614 if (!angle.get$hasUnits() || angle.hasUnit$1("deg"))
10615 return;
10616 t1 = "" + ("$" + A.S($name) + ": Passing a unit other than deg (" + angle.toString$0(0) + ") is deprecated.\n") + "\n";
10617 if (angle.compatibleWithUnit$1("deg")) {
10618 t2 = "You're passing " + angle.toString$0(0) + string$.x2c_whici;
10619 t3 = type$.JSArray_String;
10620 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";
10621 actualUnit = B.JSArray_methods.get$first(angle.get$numeratorUnits(angle));
10622 t3 = t3 + (_s31_ + A.S($name) + " * 1deg/1" + actualUnit + "\n") + ("To migrate to new behavior: 0deg + $" + A.S($name) + "\n") + "\n";
10623 t1 = t3;
10624 } else
10625 t1 = t1 + (_s31_ + A.S($name) + A._removeUnits(angle) + "\n") + "\n";
10626 t1 += "See https://sass-lang.com/d/color-units";
10627 A.EvaluationContext_current().warn$2$deprecation(0, t1.charCodeAt(0) == 0 ? t1 : t1, true);
10628 },
10629 _checkPercent(number, $name) {
10630 var t1;
10631 if (number.hasUnit$1("%"))
10632 return;
10633 t1 = "$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d + $name + A._removeUnits(number) + " * 1%";
10634 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
10635 },
10636 _removeUnits(number) {
10637 var t2,
10638 t1 = number.get$denominatorUnits(number);
10639 t1 = new A.MappedListIterable(t1, new A._removeUnits_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
10640 t2 = number.get$numeratorUnits(number);
10641 return t1 + new A.MappedListIterable(t2, new A._removeUnits_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
10642 },
10643 _hwb($arguments) {
10644 var _s9_ = "whiteness",
10645 _s9_0 = "blackness",
10646 t1 = J.getInterceptor$asx($arguments),
10647 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
10648 hue = t1.$index($arguments, 0).assertNumber$1("hue"),
10649 whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
10650 blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
10651 whiteness.assertUnit$2("%", _s9_);
10652 blackness.assertUnit$2("%", _s9_0);
10653 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()));
10654 },
10655 _parseChannels($name, argumentNames, channels) {
10656 var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash,
10657 _s17_ = "$channels must be";
10658 if (channels.get$isVar())
10659 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10660 if (channels.get$separator(channels) === B.ListSeparator_1gm) {
10661 list = channels.get$asList();
10662 t1 = list.length;
10663 if (t1 !== 2)
10664 throw A.wrapException(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", list.length, "were") + " passed."));
10665 channels0 = list[0];
10666 alphaFromSlashList = list[1];
10667 if (!alphaFromSlashList.get$isSpecialNumber())
10668 alphaFromSlashList.assertNumber$1("alpha");
10669 if (list[0].get$isVar())
10670 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10671 } else {
10672 channels0 = channels;
10673 alphaFromSlashList = null;
10674 }
10675 isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_kWM;
10676 isBracketed = channels0.get$hasBrackets();
10677 if (isCommaSeparated || isBracketed) {
10678 buffer = new A.StringBuffer(_s17_);
10679 if (isBracketed) {
10680 t1 = _s17_ + " an unbracketed";
10681 buffer._contents = t1;
10682 } else
10683 t1 = _s17_;
10684 if (isCommaSeparated) {
10685 t1 += isBracketed ? "," : " a";
10686 buffer._contents = t1;
10687 t1 = buffer._contents = t1 + " space-separated";
10688 }
10689 buffer._contents = t1 + " list.";
10690 throw A.wrapException(A.SassScriptException$(buffer.toString$0(0)));
10691 }
10692 list = channels0.get$asList();
10693 t1 = list.length;
10694 if (t1 > 3)
10695 throw A.wrapException(A.SassScriptException$("Only 3 elements allowed, but " + t1 + " were passed."));
10696 else if (t1 < 3) {
10697 if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure()))
10698 if (list.length !== 0) {
10699 t1 = B.JSArray_methods.get$last(list);
10700 if (t1 instanceof A.SassString)
10701 if (t1._hasQuotes) {
10702 t1 = t1._string$_text;
10703 t1 = A.startsWithIgnoreCase(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
10704 } else
10705 t1 = false;
10706 else
10707 t1 = false;
10708 } else
10709 t1 = false;
10710 else
10711 t1 = true;
10712 if (t1)
10713 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10714 else
10715 throw A.wrapException(A.SassScriptException$("Missing element " + argumentNames[list.length] + "."));
10716 }
10717 if (alphaFromSlashList != null) {
10718 t1 = A.List_List$of(list, true, type$.Value);
10719 t1.push(alphaFromSlashList);
10720 return t1;
10721 }
10722 maybeSlashSeparated = list[2];
10723 if (maybeSlashSeparated instanceof A.SassNumber) {
10724 slash = maybeSlashSeparated.asSlash;
10725 if (slash == null)
10726 return list;
10727 return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value);
10728 } else if (maybeSlashSeparated instanceof A.SassString && !maybeSlashSeparated._hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string$_text, "/"))
10729 return A._functionString($name, A._setArrayType([channels0], type$.JSArray_Value));
10730 else
10731 return list;
10732 },
10733 _percentageOrUnitless(number, max, $name) {
10734 var value;
10735 if (!number.get$hasUnits())
10736 value = number._number$_value;
10737 else if (number.hasUnit$1("%"))
10738 value = max * number._number$_value / 100;
10739 else
10740 throw A.wrapException(A.SassScriptException$("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".'));
10741 return B.JSNumber_methods.clamp$2(value, 0, max);
10742 },
10743 _mixColors(color1, color2, weight) {
10744 var weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
10745 normalizedWeight = weightScale * 2 - 1,
10746 t1 = color1._alpha,
10747 t2 = color2._alpha,
10748 alphaDistance = t1 - t2,
10749 t3 = normalizedWeight * alphaDistance,
10750 weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2,
10751 weight2 = 1 - weight1;
10752 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));
10753 },
10754 _opacify($arguments) {
10755 var t1 = J.getInterceptor$asx($arguments),
10756 color = t1.$index($arguments, 0).assertColor$1("color");
10757 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));
10758 },
10759 _transparentize($arguments) {
10760 var t1 = J.getInterceptor$asx($arguments),
10761 color = t1.$index($arguments, 0).assertColor$1("color");
10762 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));
10763 },
10764 _function4($name, $arguments, callback) {
10765 return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
10766 },
10767 global_closure: function global_closure() {
10768 },
10769 global_closure0: function global_closure0() {
10770 },
10771 global_closure1: function global_closure1() {
10772 },
10773 global_closure2: function global_closure2() {
10774 },
10775 global_closure3: function global_closure3() {
10776 },
10777 global_closure4: function global_closure4() {
10778 },
10779 global_closure5: function global_closure5() {
10780 },
10781 global_closure6: function global_closure6() {
10782 },
10783 global_closure7: function global_closure7() {
10784 },
10785 global_closure8: function global_closure8() {
10786 },
10787 global_closure9: function global_closure9() {
10788 },
10789 global_closure10: function global_closure10() {
10790 },
10791 global_closure11: function global_closure11() {
10792 },
10793 global_closure12: function global_closure12() {
10794 },
10795 global_closure13: function global_closure13() {
10796 },
10797 global_closure14: function global_closure14() {
10798 },
10799 global_closure15: function global_closure15() {
10800 },
10801 global_closure16: function global_closure16() {
10802 },
10803 global_closure17: function global_closure17() {
10804 },
10805 global_closure18: function global_closure18() {
10806 },
10807 global_closure19: function global_closure19() {
10808 },
10809 global_closure20: function global_closure20() {
10810 },
10811 global_closure21: function global_closure21() {
10812 },
10813 global_closure22: function global_closure22() {
10814 },
10815 global_closure23: function global_closure23() {
10816 },
10817 global_closure24: function global_closure24() {
10818 },
10819 global__closure: function global__closure() {
10820 },
10821 global_closure25: function global_closure25() {
10822 },
10823 module_closure: function module_closure() {
10824 },
10825 module_closure0: function module_closure0() {
10826 },
10827 module_closure1: function module_closure1() {
10828 },
10829 module_closure2: function module_closure2() {
10830 },
10831 module_closure3: function module_closure3() {
10832 },
10833 module_closure4: function module_closure4() {
10834 },
10835 module_closure5: function module_closure5() {
10836 },
10837 module_closure6: function module_closure6() {
10838 },
10839 module__closure: function module__closure() {
10840 },
10841 module_closure7: function module_closure7() {
10842 },
10843 _red_closure: function _red_closure() {
10844 },
10845 _green_closure: function _green_closure() {
10846 },
10847 _blue_closure: function _blue_closure() {
10848 },
10849 _mix_closure: function _mix_closure() {
10850 },
10851 _hue_closure: function _hue_closure() {
10852 },
10853 _saturation_closure: function _saturation_closure() {
10854 },
10855 _lightness_closure: function _lightness_closure() {
10856 },
10857 _complement_closure: function _complement_closure() {
10858 },
10859 _adjust_closure: function _adjust_closure() {
10860 },
10861 _scale_closure: function _scale_closure() {
10862 },
10863 _change_closure: function _change_closure() {
10864 },
10865 _ieHexStr_closure: function _ieHexStr_closure() {
10866 },
10867 _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
10868 },
10869 _updateComponents_getParam: function _updateComponents_getParam(t0, t1, t2) {
10870 this.keywords = t0;
10871 this.scale = t1;
10872 this.change = t2;
10873 },
10874 _updateComponents_closure: function _updateComponents_closure() {
10875 },
10876 _updateComponents_updateValue: function _updateComponents_updateValue(t0, t1) {
10877 this.change = t0;
10878 this.adjust = t1;
10879 },
10880 _updateComponents_updateRgb: function _updateComponents_updateRgb(t0) {
10881 this.updateValue = t0;
10882 },
10883 _functionString_closure: function _functionString_closure() {
10884 },
10885 _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
10886 this.name = t0;
10887 this.argument = t1;
10888 this.negative = t2;
10889 },
10890 _rgb_closure: function _rgb_closure() {
10891 },
10892 _hsl_closure: function _hsl_closure() {
10893 },
10894 _removeUnits_closure: function _removeUnits_closure() {
10895 },
10896 _removeUnits_closure0: function _removeUnits_closure0() {
10897 },
10898 _hwb_closure: function _hwb_closure() {
10899 },
10900 _parseChannels_closure: function _parseChannels_closure() {
10901 },
10902 _function3($name, $arguments, callback) {
10903 return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
10904 },
10905 _length_closure0: function _length_closure0() {
10906 },
10907 _nth_closure: function _nth_closure() {
10908 },
10909 _setNth_closure: function _setNth_closure() {
10910 },
10911 _join_closure: function _join_closure() {
10912 },
10913 _append_closure0: function _append_closure0() {
10914 },
10915 _zip_closure: function _zip_closure() {
10916 },
10917 _zip__closure: function _zip__closure() {
10918 },
10919 _zip__closure0: function _zip__closure0(t0) {
10920 this._box_0 = t0;
10921 },
10922 _zip__closure1: function _zip__closure1(t0) {
10923 this._box_0 = t0;
10924 },
10925 _index_closure0: function _index_closure0() {
10926 },
10927 _separator_closure: function _separator_closure() {
10928 },
10929 _isBracketed_closure: function _isBracketed_closure() {
10930 },
10931 _slash_closure: function _slash_closure() {
10932 },
10933 _modify(map, keys, modify, addNesting) {
10934 var keyIterator = J.get$iterator$ax(keys);
10935 return keyIterator.moveNext$0() ? new A._modify__modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
10936 },
10937 _deepMergeImpl(map1, map2) {
10938 var t1 = {},
10939 t2 = map2._map$_contents;
10940 if (t2.get$isEmpty(t2))
10941 return map1;
10942 t1.mutable = false;
10943 t1.result = t2;
10944 map1._map$_contents.forEach$1(0, new A._deepMergeImpl_closure(t1, new A._deepMergeImpl__ensureMutable(t1)));
10945 if (t1.mutable) {
10946 t2 = type$.Value;
10947 t2 = new A.SassMap(A.ConstantMap_ConstantMap$from(t1.result, t2, t2));
10948 t1 = t2;
10949 } else
10950 t1 = map2;
10951 return t1;
10952 },
10953 _function2($name, $arguments, callback) {
10954 return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
10955 },
10956 _get_closure: function _get_closure() {
10957 },
10958 _set_closure: function _set_closure() {
10959 },
10960 _set__closure0: function _set__closure0(t0) {
10961 this.$arguments = t0;
10962 },
10963 _set_closure0: function _set_closure0() {
10964 },
10965 _set__closure: function _set__closure(t0) {
10966 this.args = t0;
10967 },
10968 _merge_closure: function _merge_closure() {
10969 },
10970 _merge_closure0: function _merge_closure0() {
10971 },
10972 _merge__closure: function _merge__closure(t0) {
10973 this.map2 = t0;
10974 },
10975 _deepMerge_closure: function _deepMerge_closure() {
10976 },
10977 _deepRemove_closure: function _deepRemove_closure() {
10978 },
10979 _deepRemove__closure: function _deepRemove__closure(t0) {
10980 this.keys = t0;
10981 },
10982 _remove_closure: function _remove_closure() {
10983 },
10984 _remove_closure0: function _remove_closure0() {
10985 },
10986 _keys_closure: function _keys_closure() {
10987 },
10988 _values_closure: function _values_closure() {
10989 },
10990 _hasKey_closure: function _hasKey_closure() {
10991 },
10992 _modify__modifyNestedMap: function _modify__modifyNestedMap(t0, t1, t2) {
10993 this.keyIterator = t0;
10994 this.modify = t1;
10995 this.addNesting = t2;
10996 },
10997 _deepMergeImpl__ensureMutable: function _deepMergeImpl__ensureMutable(t0) {
10998 this._box_0 = t0;
10999 },
11000 _deepMergeImpl_closure: function _deepMergeImpl_closure(t0, t1) {
11001 this._box_0 = t0;
11002 this._ensureMutable = t1;
11003 },
11004 _fuzzyRoundIfZero(number) {
11005 if (!(Math.abs(number - 0) < $.$get$epsilon()))
11006 return number;
11007 return B.JSNumber_methods.get$isNegative(number) ? -0.0 : 0;
11008 },
11009 _numberFunction($name, transform) {
11010 return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
11011 },
11012 _function1($name, $arguments, callback) {
11013 return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
11014 },
11015 _ceil_closure: function _ceil_closure() {
11016 },
11017 _clamp_closure: function _clamp_closure() {
11018 },
11019 _floor_closure: function _floor_closure() {
11020 },
11021 _max_closure: function _max_closure() {
11022 },
11023 _min_closure: function _min_closure() {
11024 },
11025 _abs_closure: function _abs_closure() {
11026 },
11027 _hypot_closure: function _hypot_closure() {
11028 },
11029 _hypot__closure: function _hypot__closure() {
11030 },
11031 _log_closure: function _log_closure() {
11032 },
11033 _pow_closure: function _pow_closure() {
11034 },
11035 _sqrt_closure: function _sqrt_closure() {
11036 },
11037 _acos_closure: function _acos_closure() {
11038 },
11039 _asin_closure: function _asin_closure() {
11040 },
11041 _atan_closure: function _atan_closure() {
11042 },
11043 _atan2_closure: function _atan2_closure() {
11044 },
11045 _cos_closure: function _cos_closure() {
11046 },
11047 _sin_closure: function _sin_closure() {
11048 },
11049 _tan_closure: function _tan_closure() {
11050 },
11051 _compatible_closure: function _compatible_closure() {
11052 },
11053 _isUnitless_closure: function _isUnitless_closure() {
11054 },
11055 _unit_closure: function _unit_closure() {
11056 },
11057 _percentage_closure: function _percentage_closure() {
11058 },
11059 _randomFunction_closure: function _randomFunction_closure() {
11060 },
11061 _div_closure: function _div_closure() {
11062 },
11063 _numberFunction_closure: function _numberFunction_closure(t0) {
11064 this.transform = t0;
11065 },
11066 _function5($name, $arguments, callback) {
11067 return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
11068 },
11069 global_closure26: function global_closure26() {
11070 },
11071 global_closure27: function global_closure27() {
11072 },
11073 global_closure28: function global_closure28() {
11074 },
11075 global_closure29: function global_closure29() {
11076 },
11077 local_closure: function local_closure() {
11078 },
11079 local_closure0: function local_closure0() {
11080 },
11081 local__closure: function local__closure() {
11082 },
11083 _prependParent(compound) {
11084 var t2, _null = null,
11085 t1 = compound.components,
11086 first = B.JSArray_methods.get$first(t1);
11087 if (first instanceof A.UniversalSelector)
11088 return _null;
11089 if (first instanceof A.TypeSelector) {
11090 t2 = first.name;
11091 if (t2.namespace != null)
11092 return _null;
11093 t2 = A._setArrayType([new A.ParentSelector(t2.name)], type$.JSArray_SimpleSelector);
11094 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
11095 return A.CompoundSelector$(t2);
11096 } else {
11097 t2 = A._setArrayType([new A.ParentSelector(_null)], type$.JSArray_SimpleSelector);
11098 B.JSArray_methods.addAll$1(t2, t1);
11099 return A.CompoundSelector$(t2);
11100 }
11101 },
11102 _function0($name, $arguments, callback) {
11103 return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
11104 },
11105 _nest_closure: function _nest_closure() {
11106 },
11107 _nest__closure: function _nest__closure(t0) {
11108 this._box_0 = t0;
11109 },
11110 _nest__closure0: function _nest__closure0() {
11111 },
11112 _append_closure: function _append_closure() {
11113 },
11114 _append__closure: function _append__closure() {
11115 },
11116 _append__closure0: function _append__closure0() {
11117 },
11118 _append___closure: function _append___closure(t0) {
11119 this.parent = t0;
11120 },
11121 _extend_closure: function _extend_closure() {
11122 },
11123 _replace_closure: function _replace_closure() {
11124 },
11125 _unify_closure: function _unify_closure() {
11126 },
11127 _isSuperselector_closure: function _isSuperselector_closure() {
11128 },
11129 _simpleSelectors_closure: function _simpleSelectors_closure() {
11130 },
11131 _simpleSelectors__closure: function _simpleSelectors__closure() {
11132 },
11133 _parse_closure: function _parse_closure() {
11134 },
11135 _codepointForIndex(index, lengthInCodepoints, allowNegative) {
11136 var result;
11137 if (index === 0)
11138 return 0;
11139 if (index > 0)
11140 return Math.min(index - 1, lengthInCodepoints);
11141 result = lengthInCodepoints + index;
11142 if (result < 0 && !allowNegative)
11143 return 0;
11144 return result;
11145 },
11146 _function($name, $arguments, callback) {
11147 return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
11148 },
11149 _unquote_closure: function _unquote_closure() {
11150 },
11151 _quote_closure: function _quote_closure() {
11152 },
11153 _length_closure: function _length_closure() {
11154 },
11155 _insert_closure: function _insert_closure() {
11156 },
11157 _index_closure: function _index_closure() {
11158 },
11159 _slice_closure: function _slice_closure() {
11160 },
11161 _toUpperCase_closure: function _toUpperCase_closure() {
11162 },
11163 _toLowerCase_closure: function _toLowerCase_closure() {
11164 },
11165 _uniqueId_closure: function _uniqueId_closure() {
11166 },
11167 ImportCache$(loadPaths, logger) {
11168 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri,
11169 t2 = type$.Uri,
11170 t3 = A.ImportCache__toImporters(null, loadPaths, null),
11171 t4 = logger == null ? B.StderrLogger_false : logger;
11172 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));
11173 },
11174 ImportCache__toImporters(importers, loadPaths, packageConfig) {
11175 var t2, t3, _i, path, _null = null,
11176 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
11177 t1 = A._setArrayType([], type$.JSArray_Importer_2);
11178 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
11179 t3 = t2.get$current(t2);
11180 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
11181 }
11182 if (sassPath != null) {
11183 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
11184 t3 = t2.length;
11185 _i = 0;
11186 for (; _i < t3; ++_i) {
11187 path = t2[_i];
11188 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
11189 }
11190 }
11191 return t1;
11192 },
11193 ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5) {
11194 var _ = this;
11195 _._importers = t0;
11196 _._logger = t1;
11197 _._canonicalizeCache = t2;
11198 _._relativeCanonicalizeCache = t3;
11199 _._importCache = t4;
11200 _._resultsCache = t5;
11201 },
11202 ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
11203 var _ = this;
11204 _.$this = t0;
11205 _.baseUrl = t1;
11206 _.url = t2;
11207 _.baseImporter = t3;
11208 _.forImport = t4;
11209 },
11210 ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2) {
11211 this.$this = t0;
11212 this.url = t1;
11213 this.forImport = t2;
11214 },
11215 ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
11216 this.importer = t0;
11217 this.url = t1;
11218 },
11219 ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
11220 var _ = this;
11221 _.$this = t0;
11222 _.importer = t1;
11223 _.canonicalUrl = t2;
11224 _.originalUrl = t3;
11225 _.quiet = t4;
11226 },
11227 ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
11228 this.canonicalUrl = t0;
11229 },
11230 ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
11231 },
11232 ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
11233 },
11234 Importer: function Importer() {
11235 },
11236 AsyncImporter: function AsyncImporter() {
11237 },
11238 FilesystemImporter: function FilesystemImporter(t0) {
11239 this._loadPath = t0;
11240 },
11241 FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
11242 },
11243 ImporterResult: function ImporterResult(t0, t1, t2) {
11244 this.contents = t0;
11245 this._sourceMapUrl = t1;
11246 this.syntax = t2;
11247 },
11248 fromImport() {
11249 var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
11250 return t1 === true;
11251 },
11252 resolveImportPath(path) {
11253 var t1,
11254 extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
11255 if (extension === ".sass" || extension === ".scss" || extension === ".css") {
11256 t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
11257 return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
11258 }
11259 t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
11260 if (t1 == null)
11261 t1 = A._exactlyOne(A._tryPathWithExtensions(path));
11262 return t1 == null ? A._tryPathAsDirectory(path) : t1;
11263 },
11264 _tryPathWithExtensions(path) {
11265 var result = A._tryPath(path + ".sass");
11266 B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
11267 return result.length !== 0 ? result : A._tryPath(path + ".css");
11268 },
11269 _tryPath(path) {
11270 var t1 = $.$get$context(),
11271 partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
11272 t1 = A._setArrayType([], type$.JSArray_String);
11273 if (A.fileExists(partial))
11274 t1.push(partial);
11275 if (A.fileExists(path))
11276 t1.push(path);
11277 return t1;
11278 },
11279 _tryPathAsDirectory(path) {
11280 var t1;
11281 if (!A.dirExists(path))
11282 return null;
11283 t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
11284 return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
11285 },
11286 _exactlyOne(paths) {
11287 var t1 = paths.length;
11288 if (t1 === 0)
11289 return null;
11290 if (t1 === 1)
11291 return B.JSArray_methods.get$first(paths);
11292 throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
11293 },
11294 resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
11295 this.path = t0;
11296 this.extension = t1;
11297 },
11298 resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
11299 this.path = t0;
11300 },
11301 _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
11302 this.path = t0;
11303 },
11304 _exactlyOne_closure: function _exactlyOne_closure() {
11305 },
11306 InterpolationBuffer: function InterpolationBuffer(t0, t1) {
11307 this._interpolation_buffer$_text = t0;
11308 this._interpolation_buffer$_contents = t1;
11309 },
11310 _realCasePath(path) {
11311 var prefix, t1;
11312 if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
11313 return path;
11314 if (J.$eq$(J.get$platform$x(self.process), "win32")) {
11315 prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
11316 t1 = prefix.length;
11317 if (t1 !== 0 && A.isAlphabetic0(B.JSString_methods._codeUnitAt$1(prefix, 0)))
11318 path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
11319 }
11320 return new A._realCasePath_helper().call$1(path);
11321 },
11322 _realCasePath_helper: function _realCasePath_helper() {
11323 },
11324 _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2) {
11325 this.helper = t0;
11326 this.dirname = t1;
11327 this.path = t2;
11328 },
11329 _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
11330 this.basename = t0;
11331 },
11332 readFile(path) {
11333 var sourceFile, t1, i,
11334 contents = A._asString(A._readFile(path, "utf8"));
11335 if (!B.JSString_methods.contains$1(contents, "\ufffd"))
11336 return contents;
11337 sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
11338 for (t1 = contents.length, i = 0; i < t1; ++i) {
11339 if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
11340 continue;
11341 throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
11342 }
11343 return contents;
11344 },
11345 _readFile(path, encoding) {
11346 return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
11347 },
11348 writeFile(path, contents) {
11349 return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
11350 },
11351 deleteFile(path) {
11352 return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
11353 },
11354 readStdin() {
11355 return A.readStdin$body();
11356 },
11357 readStdin$body() {
11358 var $async$goto = 0,
11359 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
11360 $async$returnValue, sink, t1, t2, completer;
11361 var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
11362 if ($async$errorCode === 1)
11363 return A._asyncRethrow($async$result, $async$completer);
11364 while (true)
11365 switch ($async$goto) {
11366 case 0:
11367 // Function start
11368 t1 = {};
11369 t2 = new A._Future($.Zone__current, type$._Future_String);
11370 completer = new A._AsyncCompleter(t2, type$._AsyncCompleter_String);
11371 t1.contents = null;
11372 sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
11373 J.on$2$x(J.get$stdin$x(self.process), "data", A.allowInterop(new A.readStdin_closure0(sink)));
11374 J.on$2$x(J.get$stdin$x(self.process), "end", A.allowInterop(new A.readStdin_closure1(sink)));
11375 J.on$2$x(J.get$stdin$x(self.process), "error", A.allowInterop(new A.readStdin_closure2(completer)));
11376 $async$returnValue = t2;
11377 // goto return
11378 $async$goto = 1;
11379 break;
11380 case 1:
11381 // return
11382 return A._asyncReturn($async$returnValue, $async$completer);
11383 }
11384 });
11385 return A._asyncStartSync($async$readStdin, $async$completer);
11386 },
11387 fileExists(path) {
11388 return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
11389 },
11390 dirExists(path) {
11391 return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
11392 },
11393 ensureDir(path) {
11394 return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
11395 },
11396 listDir(path, recursive) {
11397 return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
11398 },
11399 modificationTime(path) {
11400 return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
11401 },
11402 _systemErrorToFileSystemException(callback) {
11403 var error, t1, exception, t2;
11404 try {
11405 t1 = callback.call$0();
11406 return t1;
11407 } catch (exception) {
11408 error = A.unwrapException(exception);
11409 if (!type$.JsSystemError._is(error))
11410 throw exception;
11411 t1 = error;
11412 t2 = J.getInterceptor$x(t1);
11413 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)));
11414 }
11415 },
11416 isWindows() {
11417 return J.$eq$(J.get$platform$x(self.process), "win32");
11418 },
11419 onStdinClose() {
11420 var completer = A.CancelableCompleter$(null, type$.void);
11421 if (J.$eq$(self.process.stdin.isTTY, true))
11422 J.on$2$x(J.get$stdin$x(self.process), "end", A.allowInterop(new A.onStdinClose_closure(completer)));
11423 return completer.get$operation();
11424 },
11425 watchDir(path, poll) {
11426 var t2, t3, t1 = {},
11427 watcher = J.watch$2$x(self.chokidar, path, {disableGlobbing: true, usePolling: poll});
11428 t1.controller = null;
11429 t2 = J.getInterceptor$x(watcher);
11430 t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure(t1)));
11431 t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure0(t1)));
11432 t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure1(t1)));
11433 t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure2(t1)));
11434 t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
11435 t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure3(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
11436 return t3;
11437 },
11438 FileSystemException: function FileSystemException(t0, t1) {
11439 this.message = t0;
11440 this.path = t1;
11441 },
11442 Stderr: function Stderr(t0) {
11443 this._stderr = t0;
11444 },
11445 _readFile_closure: function _readFile_closure(t0, t1) {
11446 this.path = t0;
11447 this.encoding = t1;
11448 },
11449 writeFile_closure: function writeFile_closure(t0, t1) {
11450 this.path = t0;
11451 this.contents = t1;
11452 },
11453 deleteFile_closure: function deleteFile_closure(t0) {
11454 this.path = t0;
11455 },
11456 readStdin_closure: function readStdin_closure(t0, t1) {
11457 this._box_0 = t0;
11458 this.completer = t1;
11459 },
11460 readStdin_closure0: function readStdin_closure0(t0) {
11461 this.sink = t0;
11462 },
11463 readStdin_closure1: function readStdin_closure1(t0) {
11464 this.sink = t0;
11465 },
11466 readStdin_closure2: function readStdin_closure2(t0) {
11467 this.completer = t0;
11468 },
11469 fileExists_closure: function fileExists_closure(t0) {
11470 this.path = t0;
11471 },
11472 dirExists_closure: function dirExists_closure(t0) {
11473 this.path = t0;
11474 },
11475 ensureDir_closure: function ensureDir_closure(t0) {
11476 this.path = t0;
11477 },
11478 listDir_closure: function listDir_closure(t0, t1) {
11479 this.recursive = t0;
11480 this.path = t1;
11481 },
11482 listDir__closure: function listDir__closure(t0) {
11483 this.path = t0;
11484 },
11485 listDir__closure0: function listDir__closure0() {
11486 },
11487 listDir_closure_list: function listDir_closure_list() {
11488 },
11489 listDir__list_closure: function listDir__list_closure(t0, t1) {
11490 this.parent = t0;
11491 this.list = t1;
11492 },
11493 modificationTime_closure: function modificationTime_closure(t0) {
11494 this.path = t0;
11495 },
11496 onStdinClose_closure: function onStdinClose_closure(t0) {
11497 this.completer = t0;
11498 },
11499 watchDir_closure: function watchDir_closure(t0) {
11500 this._box_0 = t0;
11501 },
11502 watchDir_closure0: function watchDir_closure0(t0) {
11503 this._box_0 = t0;
11504 },
11505 watchDir_closure1: function watchDir_closure1(t0) {
11506 this._box_0 = t0;
11507 },
11508 watchDir_closure2: function watchDir_closure2(t0) {
11509 this._box_0 = t0;
11510 },
11511 watchDir_closure3: function watchDir_closure3(t0, t1, t2) {
11512 this._box_0 = t0;
11513 this.watcher = t1;
11514 this.completer = t2;
11515 },
11516 watchDir__closure: function watchDir__closure(t0) {
11517 this.watcher = t0;
11518 },
11519 _QuietLogger: function _QuietLogger() {
11520 },
11521 StderrLogger: function StderrLogger(t0) {
11522 this.color = t0;
11523 },
11524 TerseLogger: function TerseLogger(t0, t1) {
11525 this._warningCounts = t0;
11526 this._inner = t1;
11527 },
11528 TerseLogger_summarize_closure: function TerseLogger_summarize_closure() {
11529 },
11530 TerseLogger_summarize_closure0: function TerseLogger_summarize_closure0() {
11531 },
11532 TrackingLogger: function TrackingLogger(t0) {
11533 this._tracking$_logger = t0;
11534 this._emittedDebug = this._emittedWarning = false;
11535 },
11536 BuiltInModule$($name, functions, mixins, variables, $T) {
11537 var t1 = A._Uri__Uri(null, $name, null, "sass"),
11538 t2 = A.BuiltInModule__callableMap(functions, $T),
11539 t3 = A.BuiltInModule__callableMap(mixins, $T),
11540 t4 = variables == null ? B.Map_empty1 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
11541 return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
11542 },
11543 BuiltInModule__callableMap(callables, $T) {
11544 var t2, _i, callable,
11545 t1 = type$.String;
11546 if (callables == null)
11547 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
11548 else {
11549 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
11550 for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
11551 callable = callables[_i];
11552 t1.$indexSet(0, J.get$name$x(callable), callable);
11553 }
11554 t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
11555 }
11556 return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
11557 },
11558 BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
11559 var _ = this;
11560 _.url = t0;
11561 _.functions = t1;
11562 _.mixins = t2;
11563 _.variables = t3;
11564 _.$ti = t4;
11565 },
11566 ForwardedModuleView_ifNecessary(inner, rule, $T) {
11567 var t1;
11568 if (rule.prefix == null)
11569 if (rule.shownMixinsAndFunctions == null)
11570 if (rule.shownVariables == null) {
11571 t1 = rule.hiddenMixinsAndFunctions;
11572 if (t1 == null)
11573 t1 = null;
11574 else {
11575 t1 = t1._base;
11576 t1 = t1.get$isEmpty(t1);
11577 }
11578 if (t1 === true) {
11579 t1 = rule.hiddenVariables;
11580 if (t1 == null)
11581 t1 = null;
11582 else {
11583 t1 = t1._base;
11584 t1 = t1.get$isEmpty(t1);
11585 }
11586 t1 = t1 === true;
11587 } else
11588 t1 = false;
11589 } else
11590 t1 = false;
11591 else
11592 t1 = false;
11593 else
11594 t1 = false;
11595 if (t1)
11596 return inner;
11597 else
11598 return A.ForwardedModuleView$(inner, rule, $T);
11599 },
11600 ForwardedModuleView$(_inner, _rule, $T) {
11601 var t1 = _rule.prefix,
11602 t2 = _rule.shownVariables,
11603 t3 = _rule.hiddenVariables,
11604 t4 = _rule.shownMixinsAndFunctions,
11605 t5 = _rule.hiddenMixinsAndFunctions;
11606 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>"));
11607 },
11608 ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
11609 var t2,
11610 t1 = prefix == null;
11611 if (t1)
11612 if (safelist == null)
11613 if (blocklist != null) {
11614 t2 = blocklist._base;
11615 t2 = t2.get$isEmpty(t2);
11616 } else
11617 t2 = true;
11618 else
11619 t2 = false;
11620 else
11621 t2 = false;
11622 if (t2)
11623 return map;
11624 if (!t1)
11625 map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
11626 if (safelist != null)
11627 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>"));
11628 else {
11629 if (blocklist != null) {
11630 t1 = blocklist._base;
11631 t1 = t1.get$isNotEmpty(t1);
11632 } else
11633 t1 = false;
11634 if (t1)
11635 map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
11636 }
11637 return map;
11638 },
11639 ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
11640 var _ = this;
11641 _._forwarded_view$_inner = t0;
11642 _._rule = t1;
11643 _.variables = t2;
11644 _.variableNodes = t3;
11645 _.functions = t4;
11646 _.mixins = t5;
11647 _.$ti = t6;
11648 },
11649 ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
11650 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;
11651 },
11652 ShadowedModuleView__shadowedMap(map, blocklist, $V) {
11653 var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
11654 return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
11655 },
11656 ShadowedModuleView__needsBlocklist(map, blocklist) {
11657 var t1 = map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
11658 return t1;
11659 },
11660 ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
11661 var _ = this;
11662 _._shadowed_view$_inner = t0;
11663 _.variables = t1;
11664 _.variableNodes = t2;
11665 _.functions = t3;
11666 _.mixins = t4;
11667 _.$ti = t5;
11668 },
11669 JSArray0: function JSArray0() {
11670 },
11671 Chokidar: function Chokidar() {
11672 },
11673 ChokidarOptions: function ChokidarOptions() {
11674 },
11675 ChokidarWatcher: function ChokidarWatcher() {
11676 },
11677 JSFunction: function JSFunction() {
11678 },
11679 NodeImporterResult: function NodeImporterResult() {
11680 },
11681 RenderContext: function RenderContext() {
11682 },
11683 RenderContextOptions: function RenderContextOptions() {
11684 },
11685 RenderContextResult: function RenderContextResult() {
11686 },
11687 RenderContextResultStats: function RenderContextResultStats() {
11688 },
11689 JSClass: function JSClass() {
11690 },
11691 JSUrl: function JSUrl() {
11692 },
11693 _PropertyDescriptor: function _PropertyDescriptor() {
11694 },
11695 AtRootQueryParser: function AtRootQueryParser(t0, t1) {
11696 this.scanner = t0;
11697 this.logger = t1;
11698 },
11699 AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
11700 this.$this = t0;
11701 },
11702 _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
11703 },
11704 CssParser: function CssParser(t0, t1, t2) {
11705 var _ = this;
11706 _._isUseAllowed = true;
11707 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11708 _._globalVariables = t0;
11709 _.lastSilentComment = null;
11710 _.scanner = t1;
11711 _.logger = t2;
11712 },
11713 KeyframeSelectorParser$(contents, logger) {
11714 var t1 = A.SpanScanner$(contents, null);
11715 return new A.KeyframeSelectorParser(t1, logger);
11716 },
11717 KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1) {
11718 this.scanner = t0;
11719 this.logger = t1;
11720 },
11721 KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
11722 this.$this = t0;
11723 },
11724 MediaQueryParser: function MediaQueryParser(t0, t1) {
11725 this.scanner = t0;
11726 this.logger = t1;
11727 },
11728 MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
11729 this.$this = t0;
11730 },
11731 Parser_isIdentifier(text) {
11732 var t1, t2, exception, logger = null;
11733 try {
11734 t1 = logger;
11735 t2 = A.SpanScanner$(text, null);
11736 new A.Parser(t2, t1 == null ? B.StderrLogger_false : t1)._parseIdentifier$0();
11737 return true;
11738 } catch (exception) {
11739 if (A.unwrapException(exception) instanceof A.SassFormatException)
11740 return false;
11741 else
11742 throw exception;
11743 }
11744 },
11745 Parser: function Parser(t0, t1) {
11746 this.scanner = t0;
11747 this.logger = t1;
11748 },
11749 Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
11750 this.$this = t0;
11751 },
11752 Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
11753 this.caseSensitive = t0;
11754 this.char = t1;
11755 },
11756 SassParser: function SassParser(t0, t1, t2) {
11757 var _ = this;
11758 _._currentIndentation = 0;
11759 _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
11760 _._isUseAllowed = true;
11761 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11762 _._globalVariables = t0;
11763 _.lastSilentComment = null;
11764 _.scanner = t1;
11765 _.logger = t2;
11766 },
11767 SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
11768 this.$this = t0;
11769 this.child = t1;
11770 this.children = t2;
11771 },
11772 ScssParser$(contents, logger, url) {
11773 var t1 = A.SpanScanner$(contents, url),
11774 t2 = logger == null ? B.StderrLogger_false : logger;
11775 return new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2);
11776 },
11777 ScssParser: function ScssParser(t0, t1, t2) {
11778 var _ = this;
11779 _._isUseAllowed = true;
11780 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11781 _._globalVariables = t0;
11782 _.lastSilentComment = null;
11783 _.scanner = t1;
11784 _.logger = t2;
11785 },
11786 SelectorParser$(contents, allowParent, allowPlaceholder, logger, url) {
11787 var t1 = A.SpanScanner$(contents, url);
11788 return new A.SelectorParser(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false : logger);
11789 },
11790 SelectorParser: function SelectorParser(t0, t1, t2, t3) {
11791 var _ = this;
11792 _._allowParent = t0;
11793 _._allowPlaceholder = t1;
11794 _.scanner = t2;
11795 _.logger = t3;
11796 },
11797 SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
11798 this.$this = t0;
11799 },
11800 SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
11801 this.$this = t0;
11802 },
11803 StylesheetParser: function StylesheetParser() {
11804 },
11805 StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
11806 this.$this = t0;
11807 },
11808 StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
11809 this.$this = t0;
11810 },
11811 StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0() {
11812 },
11813 StylesheetParser_parseArgumentDeclaration_closure: function StylesheetParser_parseArgumentDeclaration_closure(t0) {
11814 this.$this = t0;
11815 },
11816 StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
11817 this.$this = t0;
11818 },
11819 StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
11820 this.$this = t0;
11821 },
11822 StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
11823 this.$this = t0;
11824 this.production = t1;
11825 this.T = t2;
11826 },
11827 StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
11828 this.$this = t0;
11829 },
11830 StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
11831 this.$this = t0;
11832 this.start = t1;
11833 },
11834 StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
11835 this.declaration = t0;
11836 },
11837 StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
11838 this.name = t0;
11839 },
11840 StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0, t1) {
11841 this._box_0 = t0;
11842 this.name = t1;
11843 },
11844 StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
11845 var _ = this;
11846 _._box_0 = t0;
11847 _.$this = t1;
11848 _.wasInStyleRule = t2;
11849 _.start = t3;
11850 },
11851 StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
11852 this._box_0 = t0;
11853 },
11854 StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0, t1) {
11855 this._box_0 = t0;
11856 this.value = t1;
11857 },
11858 StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
11859 this.query = t0;
11860 },
11861 StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
11862 },
11863 StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
11864 var _ = this;
11865 _.$this = t0;
11866 _.wasInControlDirective = t1;
11867 _.variables = t2;
11868 _.list = t3;
11869 },
11870 StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
11871 this.name = t0;
11872 this.$arguments = t1;
11873 this.precedingComment = t2;
11874 },
11875 StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
11876 this._box_0 = t0;
11877 this.$this = t1;
11878 },
11879 StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
11880 var _ = this;
11881 _._box_0 = t0;
11882 _.$this = t1;
11883 _.wasInControlDirective = t2;
11884 _.variable = t3;
11885 _.from = t4;
11886 _.to = t5;
11887 },
11888 StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
11889 this.$this = t0;
11890 this.variables = t1;
11891 this.identifiers = t2;
11892 },
11893 StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
11894 this.contentArguments_ = t0;
11895 },
11896 StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
11897 this.query = t0;
11898 },
11899 StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
11900 var _ = this;
11901 _.$this = t0;
11902 _.name = t1;
11903 _.$arguments = t2;
11904 _.precedingComment = t3;
11905 },
11906 StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0, t1, t2, t3) {
11907 var _ = this;
11908 _._box_0 = t0;
11909 _.$this = t1;
11910 _.name = t2;
11911 _.value = t3;
11912 },
11913 StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
11914 this.condition = t0;
11915 },
11916 StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
11917 this.$this = t0;
11918 this.wasInControlDirective = t1;
11919 this.condition = t2;
11920 },
11921 StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
11922 this._box_0 = t0;
11923 this.name = t1;
11924 },
11925 StylesheetParser_expression_resetState: function StylesheetParser_expression_resetState(t0, t1, t2) {
11926 this._box_0 = t0;
11927 this.$this = t1;
11928 this.start = t2;
11929 },
11930 StylesheetParser_expression_resolveOneOperation: function StylesheetParser_expression_resolveOneOperation(t0, t1) {
11931 this._box_0 = t0;
11932 this.$this = t1;
11933 },
11934 StylesheetParser_expression_resolveOperations: function StylesheetParser_expression_resolveOperations(t0, t1) {
11935 this._box_0 = t0;
11936 this.resolveOneOperation = t1;
11937 },
11938 StylesheetParser_expression_addSingleExpression: function StylesheetParser_expression_addSingleExpression(t0, t1, t2, t3) {
11939 var _ = this;
11940 _._box_0 = t0;
11941 _.$this = t1;
11942 _.resetState = t2;
11943 _.resolveOperations = t3;
11944 },
11945 StylesheetParser_expression_addOperator: function StylesheetParser_expression_addOperator(t0, t1, t2) {
11946 this._box_0 = t0;
11947 this.$this = t1;
11948 this.resolveOneOperation = t2;
11949 },
11950 StylesheetParser_expression_resolveSpaceExpressions: function StylesheetParser_expression_resolveSpaceExpressions(t0, t1, t2) {
11951 this._box_0 = t0;
11952 this.$this = t1;
11953 this.resolveOperations = t2;
11954 },
11955 StylesheetParser__expressionUntilComma_closure: function StylesheetParser__expressionUntilComma_closure(t0) {
11956 this.$this = t0;
11957 },
11958 StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
11959 },
11960 StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
11961 },
11962 StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
11963 this.$this = t0;
11964 this.start = t1;
11965 },
11966 StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
11967 },
11968 StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
11969 this.$this = t0;
11970 },
11971 StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
11972 this.$this = t0;
11973 this.start = t1;
11974 },
11975 StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
11976 var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream.item1, allUpstream.item2, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
11977 t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
11978 return t1;
11979 },
11980 StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
11981 this._nodes = t0;
11982 this.importCache = t1;
11983 this._transitiveModificationTimes = t2;
11984 },
11985 StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
11986 this.$this = t0;
11987 },
11988 StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
11989 this.node = t0;
11990 this.transitiveModificationTime = t1;
11991 },
11992 StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
11993 var _ = this;
11994 _.$this = t0;
11995 _.url = t1;
11996 _.baseImporter = t2;
11997 _.baseUrl = t3;
11998 },
11999 StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
12000 var _ = this;
12001 _.$this = t0;
12002 _.importer = t1;
12003 _.canonicalUrl = t2;
12004 _.originalUrl = t3;
12005 },
12006 StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
12007 this.$this = t0;
12008 this.node = t1;
12009 this.canonicalUrl = t2;
12010 },
12011 StylesheetGraph__recanonicalizeImportsForNode_closure: function StylesheetGraph__recanonicalizeImportsForNode_closure(t0, t1, t2, t3, t4, t5) {
12012 var _ = this;
12013 _.$this = t0;
12014 _.importer = t1;
12015 _.canonicalUrl = t2;
12016 _.node = t3;
12017 _.forImport = t4;
12018 _.newMap = t5;
12019 },
12020 StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
12021 var _ = this;
12022 _.$this = t0;
12023 _.url = t1;
12024 _.baseImporter = t2;
12025 _.baseUrl = t3;
12026 _.forImport = t4;
12027 },
12028 StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1, t2, t3) {
12029 var _ = this;
12030 _.$this = t0;
12031 _.importer = t1;
12032 _.canonicalUrl = t2;
12033 _.resolvedUrl = t3;
12034 },
12035 StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
12036 var _ = this;
12037 _._stylesheet = t0;
12038 _.importer = t1;
12039 _.canonicalUrl = t2;
12040 _._upstream = t3;
12041 _._upstreamImports = t4;
12042 _._downstream = t5;
12043 },
12044 Syntax_forPath(path) {
12045 switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
12046 case ".sass":
12047 return B.Syntax_Sass;
12048 case ".css":
12049 return B.Syntax_CSS;
12050 default:
12051 return B.Syntax_SCSS;
12052 }
12053 },
12054 Syntax: function Syntax(t0) {
12055 this._syntax$_name = t0;
12056 },
12057 LimitedMapView$blocklist(_map, blocklist, $K, $V) {
12058 var t2, key,
12059 t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
12060 for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
12061 key = t2.get$current(t2);
12062 if (!blocklist.contains$1(0, key))
12063 t1.add$1(0, key);
12064 }
12065 return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
12066 },
12067 LimitedMapView: function LimitedMapView(t0, t1, t2) {
12068 this._limited_map_view$_map = t0;
12069 this._limited_map_view$_keys = t1;
12070 this.$ti = t2;
12071 },
12072 MergedMapView$(maps, $K, $V) {
12073 var t1 = $K._eval$1("@<0>")._bind$1($V);
12074 t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
12075 t1.MergedMapView$1(maps, $K, $V);
12076 return t1;
12077 },
12078 MergedMapView: function MergedMapView(t0, t1) {
12079 this._mapsByKey = t0;
12080 this.$ti = t1;
12081 },
12082 MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
12083 this._watchers = t0;
12084 this._group = t1;
12085 this._poll = t2;
12086 },
12087 NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
12088 this._no_source_map_buffer$_buffer = t0;
12089 },
12090 PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
12091 this._prefixed_map_view$_map = t0;
12092 this._prefix = t1;
12093 this.$ti = t2;
12094 },
12095 _PrefixedKeys: function _PrefixedKeys(t0) {
12096 this._view = t0;
12097 },
12098 _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
12099 this.$this = t0;
12100 },
12101 PublicMemberMapView: function PublicMemberMapView(t0, t1) {
12102 this._public_member_map_view$_inner = t0;
12103 this.$ti = t1;
12104 },
12105 SourceMapBuffer: function SourceMapBuffer(t0, t1) {
12106 var _ = this;
12107 _._source_map_buffer$_buffer = t0;
12108 _._entries = t1;
12109 _._column = _._line = 0;
12110 _._inSpan = false;
12111 },
12112 SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
12113 this._box_0 = t0;
12114 this.prefixLength = t1;
12115 },
12116 UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
12117 this._unprefixed_map_view$_map = t0;
12118 this._unprefixed_map_view$_prefix = t1;
12119 this.$ti = t2;
12120 },
12121 _UnprefixedKeys: function _UnprefixedKeys(t0) {
12122 this._unprefixed_map_view$_view = t0;
12123 },
12124 _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
12125 this.$this = t0;
12126 },
12127 _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
12128 this.$this = t0;
12129 },
12130 toSentence(iter, conjunction) {
12131 var t1 = iter.__internal$_iterable,
12132 t2 = J.getInterceptor$asx(t1);
12133 if (t2.get$length(t1) === 1)
12134 return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
12135 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))));
12136 },
12137 indent(string, indentation) {
12138 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");
12139 },
12140 pluralize($name, number, plural) {
12141 if (number === 1)
12142 return $name;
12143 if (plural != null)
12144 return plural;
12145 return $name + "s";
12146 },
12147 trimAscii(string, excludeEscape) {
12148 var t1,
12149 start = A._firstNonWhitespace(string);
12150 if (start == null)
12151 t1 = "";
12152 else {
12153 t1 = A._lastNonWhitespace(string, true);
12154 t1.toString;
12155 t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
12156 }
12157 return t1;
12158 },
12159 trimAsciiRight(string, excludeEscape) {
12160 var end = A._lastNonWhitespace(string, excludeEscape);
12161 return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
12162 },
12163 _firstNonWhitespace(string) {
12164 var t1, i, t2;
12165 for (t1 = string.length, i = 0; i < t1; ++i) {
12166 t2 = B.JSString_methods._codeUnitAt$1(string, i);
12167 if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
12168 return i;
12169 }
12170 return null;
12171 },
12172 _lastNonWhitespace(string, excludeEscape) {
12173 var t1, i, codeUnit;
12174 for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
12175 codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
12176 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
12177 if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
12178 return i + 1;
12179 else
12180 return i;
12181 }
12182 return null;
12183 },
12184 isPublic(member) {
12185 var start = B.JSString_methods._codeUnitAt$1(member, 0);
12186 return start !== 45 && start !== 95;
12187 },
12188 flattenVertically(iterable, $T) {
12189 var result,
12190 t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
12191 queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), true, t1._eval$1("ListIterable.E"));
12192 if (queues.length === 1)
12193 return B.JSArray_methods.get$first(queues);
12194 result = A._setArrayType([], $T._eval$1("JSArray<0>"));
12195 for (; queues.length !== 0;) {
12196 if (!!queues.fixed$length)
12197 A.throwExpression(A.UnsupportedError$("removeWhere"));
12198 B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
12199 }
12200 return result;
12201 },
12202 firstOrNull(iterable) {
12203 var iterator = J.get$iterator$ax(iterable);
12204 return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
12205 },
12206 codepointIndexToCodeUnitIndex(string, codepointIndex) {
12207 var codeUnitIndex, i, codeUnitIndex0;
12208 for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
12209 codeUnitIndex0 = codeUnitIndex + 1;
12210 codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
12211 }
12212 return codeUnitIndex;
12213 },
12214 codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
12215 var codepointIndex, i;
12216 for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
12217 ++codepointIndex;
12218 return codepointIndex;
12219 },
12220 frameForSpan(span, member, url) {
12221 var t2, t3, t4,
12222 t1 = url == null ? span.file.url : url;
12223 if (t1 == null)
12224 t1 = $.$get$_noSourceUrl();
12225 t2 = span.file;
12226 t3 = span._file$_start;
12227 t4 = A.FileLocation$_(t2, t3);
12228 t4 = t4.file.getLine$1(t4.offset);
12229 t3 = A.FileLocation$_(t2, t3);
12230 return new A.Frame(t1, t4 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
12231 },
12232 declarationName(span) {
12233 var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
12234 return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
12235 },
12236 unvendor($name) {
12237 var i,
12238 t1 = $name.length;
12239 if (t1 < 2)
12240 return $name;
12241 if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
12242 return $name;
12243 if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
12244 return $name;
12245 for (i = 2; i < t1; ++i)
12246 if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
12247 return B.JSString_methods.substring$1($name, i + 1);
12248 return $name;
12249 },
12250 equalsIgnoreCase(string1, string2) {
12251 var t1, i;
12252 if (string1 === string2)
12253 return true;
12254 if (string1 == null || false)
12255 return false;
12256 t1 = string1.length;
12257 if (t1 !== string2.length)
12258 return false;
12259 for (i = 0; i < t1; ++i)
12260 if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
12261 return false;
12262 return true;
12263 },
12264 startsWithIgnoreCase(string, prefix) {
12265 var i,
12266 t1 = prefix.length;
12267 if (string.length < t1)
12268 return false;
12269 for (i = 0; i < t1; ++i)
12270 if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
12271 return false;
12272 return true;
12273 },
12274 mapInPlace(list, $function) {
12275 var i;
12276 for (i = 0; i < list.length; ++i)
12277 list[i] = $function.call$1(list[i]);
12278 },
12279 longestCommonSubsequence(list1, list2, select, $T) {
12280 var t1, _length, lengths, t2, t3, _i, selections, i, i0, j, selection, j0;
12281 if (select == null)
12282 select = new A.longestCommonSubsequence_closure($T);
12283 t1 = J.getInterceptor$asx(list1);
12284 _length = t1.get$length(list1) + 1;
12285 lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
12286 for (t2 = J.getInterceptor$asx(list2), t3 = type$.int, _i = 0; _i < _length; ++_i)
12287 lengths[_i] = A.List_List$filled(t2.get$length(list2) + 1, 0, false, t3);
12288 _length = t1.get$length(list1);
12289 selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
12290 for (t3 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
12291 selections[_i] = A.List_List$filled(t2.get$length(list2), null, false, t3);
12292 for (i = 0; i < t1.get$length(list1); i = i0)
12293 for (i0 = i + 1, j = 0; j < t2.get$length(list2); j = j0) {
12294 selection = select.call$2(t1.$index(list1, i), t2.$index(list2, j));
12295 selections[i][j] = selection;
12296 t3 = lengths[i0];
12297 j0 = j + 1;
12298 t3[j0] = selection == null ? Math.max(t3[j], lengths[i][j0]) : lengths[i][j] + 1;
12299 }
12300 return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(t1.get$length(list1) - 1, t2.get$length(list2) - 1);
12301 },
12302 removeFirstWhere(list, test, orElse) {
12303 var i;
12304 for (i = 0; i < list.length; ++i) {
12305 if (!test.call$1(list[i]))
12306 continue;
12307 B.JSArray_methods.removeAt$1(list, i);
12308 return;
12309 }
12310 orElse.call$0();
12311 },
12312 mapAddAll2(destination, source, K1, K2, $V) {
12313 source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
12314 },
12315 setAll(map, keys, value) {
12316 var t1;
12317 for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
12318 map.$indexSet(0, t1.get$current(t1), value);
12319 },
12320 rotateSlice(list, start, end) {
12321 var i, next,
12322 element = list.$index(0, end - 1);
12323 for (i = start; i < end; ++i, element = next) {
12324 next = list.$index(0, i);
12325 list.$indexSet(0, i, element);
12326 }
12327 },
12328 mapAsync(iterable, callback, $E, $F) {
12329 return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
12330 },
12331 mapAsync$body(iterable, callback, $E, $F, $async$type) {
12332 var $async$goto = 0,
12333 $async$completer = A._makeAsyncAwaitCompleter($async$type),
12334 $async$returnValue, t2, _i, t1, $async$temp1;
12335 var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
12336 if ($async$errorCode === 1)
12337 return A._asyncRethrow($async$result, $async$completer);
12338 while (true)
12339 switch ($async$goto) {
12340 case 0:
12341 // Function start
12342 t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
12343 t2 = iterable.length, _i = 0;
12344 case 3:
12345 // for condition
12346 if (!(_i < t2)) {
12347 // goto after for
12348 $async$goto = 5;
12349 break;
12350 }
12351 $async$temp1 = t1;
12352 $async$goto = 6;
12353 return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
12354 case 6:
12355 // returning from await.
12356 $async$temp1.push($async$result);
12357 case 4:
12358 // for update
12359 ++_i;
12360 // goto for condition
12361 $async$goto = 3;
12362 break;
12363 case 5:
12364 // after for
12365 $async$returnValue = t1;
12366 // goto return
12367 $async$goto = 1;
12368 break;
12369 case 1:
12370 // return
12371 return A._asyncReturn($async$returnValue, $async$completer);
12372 }
12373 });
12374 return A._asyncStartSync($async$mapAsync, $async$completer);
12375 },
12376 putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
12377 return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
12378 },
12379 putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
12380 var $async$goto = 0,
12381 $async$completer = A._makeAsyncAwaitCompleter($async$type),
12382 $async$returnValue, value;
12383 var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
12384 if ($async$errorCode === 1)
12385 return A._asyncRethrow($async$result, $async$completer);
12386 while (true)
12387 switch ($async$goto) {
12388 case 0:
12389 // Function start
12390 if (map.containsKey$1(key)) {
12391 $async$returnValue = $V._as(map.$index(0, key));
12392 // goto return
12393 $async$goto = 1;
12394 break;
12395 }
12396 $async$goto = 3;
12397 return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
12398 case 3:
12399 // returning from await.
12400 value = $async$result;
12401 map.$indexSet(0, key, value);
12402 $async$returnValue = value;
12403 // goto return
12404 $async$goto = 1;
12405 break;
12406 case 1:
12407 // return
12408 return A._asyncReturn($async$returnValue, $async$completer);
12409 }
12410 });
12411 return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
12412 },
12413 unwrapCancelableOperation(future, $T) {
12414 var completer = A.CancelableCompleter$(new A.unwrapCancelableOperation_closure(future, $T), $T);
12415 future.then$1$2$onError(0, new A.unwrapCancelableOperation_closure0(completer, $T), completer.get$completeError(), type$.Null);
12416 return completer.get$operation();
12417 },
12418 copyMapOfMap(map, K1, K2, $V) {
12419 var t2, t3, t4, t5,
12420 t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
12421 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
12422 t3 = t2.get$current(t2);
12423 t4 = t3.key;
12424 t3 = t3.value;
12425 t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
12426 t5.addAll$1(0, t3);
12427 t1.$indexSet(0, t4, t5);
12428 }
12429 return t1;
12430 },
12431 copyMapOfList(map, $K, $E) {
12432 var t2, t3,
12433 t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
12434 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
12435 t3 = t2.get$current(t2);
12436 t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
12437 }
12438 return t1;
12439 },
12440 consumeEscapedCharacter(scanner) {
12441 var first, value, i, next, t1;
12442 scanner.expectChar$1(92);
12443 first = scanner.peekChar$0();
12444 if (first == null)
12445 return 65533;
12446 else if (first === 10 || first === 13 || first === 12)
12447 scanner.error$1(0, "Expected escape sequence.");
12448 else if (A.isHex(first)) {
12449 for (value = 0, i = 0; i < 6; ++i) {
12450 next = scanner.peekChar$0();
12451 if (next == null || !A.isHex(next))
12452 break;
12453 value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
12454 }
12455 t1 = scanner.peekChar$0();
12456 if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
12457 scanner.readChar$0();
12458 if (value !== 0)
12459 t1 = value >= 55296 && value <= 57343 || value >= 1114111;
12460 else
12461 t1 = true;
12462 if (t1)
12463 return 65533;
12464 else
12465 return value;
12466 } else
12467 return scanner.readChar$0();
12468 },
12469 throwWithTrace(error, trace) {
12470 A.attachTrace(error, trace);
12471 throw A.wrapException(error);
12472 },
12473 attachTrace(error, trace) {
12474 var t1;
12475 if (trace.toString$0(0).length === 0)
12476 return;
12477 t1 = $.$get$_traces();
12478 A.Expando__checkType(error);
12479 t1 = t1._jsWeakMap;
12480 if (t1.get(error) == null)
12481 t1.set(error, trace);
12482 },
12483 getTrace(error) {
12484 var t1;
12485 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
12486 t1 = null;
12487 else {
12488 t1 = $.$get$_traces();
12489 A.Expando__checkType(error);
12490 t1 = t1._jsWeakMap.get(error);
12491 }
12492 return t1;
12493 },
12494 indent_closure: function indent_closure(t0) {
12495 this.indentation = t0;
12496 },
12497 flattenVertically_closure: function flattenVertically_closure(t0) {
12498 this.T = t0;
12499 },
12500 flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
12501 this.result = t0;
12502 this.T = t1;
12503 },
12504 longestCommonSubsequence_closure: function longestCommonSubsequence_closure(t0) {
12505 this.T = t0;
12506 },
12507 longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
12508 this.selections = t0;
12509 this.lengths = t1;
12510 this.T = t2;
12511 },
12512 mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
12513 var _ = this;
12514 _.destination = t0;
12515 _.K1 = t1;
12516 _.K2 = t2;
12517 _.V = t3;
12518 },
12519 unwrapCancelableOperation_closure: function unwrapCancelableOperation_closure(t0, t1) {
12520 this.future = t0;
12521 this.T = t1;
12522 },
12523 unwrapCancelableOperation__closure: function unwrapCancelableOperation__closure(t0) {
12524 this.T = t0;
12525 },
12526 unwrapCancelableOperation_closure0: function unwrapCancelableOperation_closure0(t0, t1) {
12527 this.completer = t0;
12528 this.T = t1;
12529 },
12530 Value: function Value() {
12531 },
12532 SassArgumentList$(contents, keywords, separator) {
12533 var t1 = type$.Value;
12534 t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
12535 t1.SassList$3$brackets(contents, separator, false);
12536 return t1;
12537 },
12538 SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
12539 var _ = this;
12540 _._keywords = t0;
12541 _._wereKeywordsAccessed = false;
12542 _._list$_contents = t1;
12543 _._separator = t2;
12544 _._hasBrackets = t3;
12545 },
12546 SassBoolean: function SassBoolean(t0) {
12547 this.value = t0;
12548 },
12549 SassCalculation_calc(argument) {
12550 argument = A.SassCalculation__simplify(argument);
12551 if (argument instanceof A.SassNumber)
12552 return argument;
12553 if (argument instanceof A.SassCalculation)
12554 return argument;
12555 return new A.SassCalculation("calc", A.List_List$unmodifiable([argument], type$.Object));
12556 },
12557 SassCalculation_min($arguments) {
12558 var minimum, _i, arg, t2,
12559 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
12560 t1 = args.length;
12561 if (t1 === 0)
12562 throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
12563 for (minimum = null, _i = 0; _i < t1; ++_i) {
12564 arg = args[_i];
12565 if (arg instanceof A.SassNumber)
12566 t2 = minimum != null && !minimum.isComparableTo$1(arg);
12567 else
12568 t2 = true;
12569 if (t2) {
12570 minimum = null;
12571 break;
12572 } else if (minimum == null || minimum.greaterThan$1(arg).value)
12573 minimum = arg;
12574 }
12575 if (minimum != null)
12576 return minimum;
12577 A.SassCalculation__verifyCompatibleNumbers(args);
12578 return new A.SassCalculation("min", args);
12579 },
12580 SassCalculation_max($arguments) {
12581 var maximum, _i, arg, t2,
12582 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
12583 t1 = args.length;
12584 if (t1 === 0)
12585 throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
12586 for (maximum = null, _i = 0; _i < t1; ++_i) {
12587 arg = args[_i];
12588 if (arg instanceof A.SassNumber)
12589 t2 = maximum != null && !maximum.isComparableTo$1(arg);
12590 else
12591 t2 = true;
12592 if (t2) {
12593 maximum = null;
12594 break;
12595 } else if (maximum == null || maximum.lessThan$1(arg).value)
12596 maximum = arg;
12597 }
12598 if (maximum != null)
12599 return maximum;
12600 A.SassCalculation__verifyCompatibleNumbers(args);
12601 return new A.SassCalculation("max", args);
12602 },
12603 SassCalculation_clamp(min, value, max) {
12604 var t1, args;
12605 if (value == null && max != null)
12606 throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
12607 min = A.SassCalculation__simplify(min);
12608 value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
12609 max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
12610 if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
12611 if (value.lessThanOrEquals$1(min).value)
12612 return min;
12613 if (value.greaterThanOrEquals$1(max).value)
12614 return max;
12615 return value;
12616 }
12617 t1 = [min];
12618 if (value != null)
12619 t1.push(value);
12620 if (max != null)
12621 t1.push(max);
12622 args = A.List_List$unmodifiable(t1, type$.Object);
12623 A.SassCalculation__verifyCompatibleNumbers(args);
12624 A.SassCalculation__verifyLength(args, 3);
12625 return new A.SassCalculation("clamp", args);
12626 },
12627 SassCalculation_operateInternal(operator, left, right, inMinMax, simplify) {
12628 var t1, t2;
12629 if (!simplify)
12630 return new A.CalculationOperation(operator, left, right);
12631 left = A.SassCalculation__simplify(left);
12632 right = A.SassCalculation__simplify(right);
12633 t1 = operator === B.CalculationOperator_Iem;
12634 if (t1 || operator === B.CalculationOperator_uti) {
12635 if (left instanceof A.SassNumber)
12636 if (right instanceof A.SassNumber)
12637 t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
12638 else
12639 t2 = false;
12640 else
12641 t2 = false;
12642 if (t2)
12643 return t1 ? left.plus$1(right) : left.minus$1(right);
12644 A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
12645 if (right instanceof A.SassNumber) {
12646 t2 = right._number$_value;
12647 t2 = t2 < 0 && !(Math.abs(t2 - 0) < $.$get$epsilon());
12648 } else
12649 t2 = false;
12650 if (t2) {
12651 right = right.times$1(new A.UnitlessSassNumber(-1, null));
12652 operator = t1 ? B.CalculationOperator_uti : B.CalculationOperator_Iem;
12653 }
12654 return new A.CalculationOperation(operator, left, right);
12655 } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
12656 return operator === B.CalculationOperator_Dih ? left.times$1(right) : left.dividedBy$1(right);
12657 else
12658 return new A.CalculationOperation(operator, left, right);
12659 },
12660 SassCalculation__simplify(arg) {
12661 var _s32_ = " can't be used in a calculation.";
12662 if (arg instanceof A.SassNumber || arg instanceof A.CalculationInterpolation || arg instanceof A.CalculationOperation)
12663 return arg;
12664 else if (arg instanceof A.SassString) {
12665 if (!arg._hasQuotes)
12666 return arg;
12667 throw A.wrapException(A.SassCalculation__exception("Quoted string " + arg.toString$0(0) + _s32_));
12668 } else if (arg instanceof A.SassCalculation)
12669 return arg.name === "calc" ? arg.$arguments[0] : arg;
12670 else if (arg instanceof A.Value)
12671 throw A.wrapException(A.SassCalculation__exception("Value " + arg.toString$0(0) + _s32_));
12672 else
12673 throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
12674 },
12675 SassCalculation__verifyCompatibleNumbers(args) {
12676 var t1, _i, t2, arg, i, number1, j, number2;
12677 for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
12678 arg = args[_i];
12679 if (!(arg instanceof A.SassNumber))
12680 continue;
12681 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
12682 throw A.wrapException(A.SassCalculation__exception("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations."));
12683 }
12684 for (t1 = t2, i = 0; i < t1 - 1; ++i) {
12685 number1 = args[i];
12686 if (!(number1 instanceof A.SassNumber))
12687 continue;
12688 for (j = i + 1; t1 = args.length, j < t1; ++j) {
12689 number2 = args[j];
12690 if (!(number2 instanceof A.SassNumber))
12691 continue;
12692 if (number1.hasPossiblyCompatibleUnits$1(number2))
12693 continue;
12694 throw A.wrapException(A.SassCalculation__exception(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible."));
12695 }
12696 }
12697 },
12698 SassCalculation__verifyLength(args, expectedLength) {
12699 var t1 = args.length;
12700 if (t1 === expectedLength)
12701 return;
12702 if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
12703 return;
12704 throw A.wrapException(A.SassCalculation__exception("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed."));
12705 },
12706 SassCalculation__exception(message) {
12707 return new A.SassScriptException(message);
12708 },
12709 SassCalculation: function SassCalculation(t0, t1) {
12710 this.name = t0;
12711 this.$arguments = t1;
12712 },
12713 SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
12714 },
12715 CalculationOperation: function CalculationOperation(t0, t1, t2) {
12716 this.operator = t0;
12717 this.left = t1;
12718 this.right = t2;
12719 },
12720 CalculationOperator: function CalculationOperator(t0, t1, t2) {
12721 this.name = t0;
12722 this.operator = t1;
12723 this.precedence = t2;
12724 },
12725 CalculationInterpolation: function CalculationInterpolation(t0) {
12726 this.value = t0;
12727 },
12728 SassColor$rgb(red, green, blue, alpha) {
12729 var _null = null,
12730 t1 = new A.SassColor(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), _null);
12731 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
12732 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
12733 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
12734 return t1;
12735 },
12736 SassColor$rgbInternal(_red, _green, _blue, alpha, format) {
12737 var t1 = new A.SassColor(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
12738 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
12739 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
12740 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
12741 return t1;
12742 },
12743 SassColor$hslInternal(hue, saturation, lightness, alpha, format) {
12744 var t1 = B.JSNumber_methods.$mod(hue, 360),
12745 t2 = A.fuzzyAssertRange(saturation, 0, 100, "saturation"),
12746 t3 = A.fuzzyAssertRange(lightness, 0, 100, "lightness");
12747 return new A.SassColor(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
12748 },
12749 SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
12750 var t2, t1 = {},
12751 scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
12752 scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange(whiteness, 0, 100, "whiteness") / 100,
12753 scaledBlackness = A.fuzzyAssertRange(blackness, 0, 100, "blackness") / 100,
12754 sum = scaledWhiteness + scaledBlackness;
12755 if (sum > 1) {
12756 t2 = t1.scaledWhiteness = scaledWhiteness / sum;
12757 scaledBlackness /= sum;
12758 } else
12759 t2 = scaledWhiteness;
12760 t2 = new A.SassColor_SassColor$hwb_toRgb(t1, 1 - t2 - scaledBlackness);
12761 return A.SassColor$rgb(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
12762 },
12763 SassColor__hueToRgb(m1, m2, hue) {
12764 if (hue < 0)
12765 ++hue;
12766 if (hue > 1)
12767 --hue;
12768 if (hue < 0.16666666666666666)
12769 return m1 + (m2 - m1) * hue * 6;
12770 else if (hue < 0.5)
12771 return m2;
12772 else if (hue < 0.6666666666666666)
12773 return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
12774 else
12775 return m1;
12776 },
12777 SassColor: function SassColor(t0, t1, t2, t3, t4, t5, t6, t7) {
12778 var _ = this;
12779 _._red = t0;
12780 _._green = t1;
12781 _._blue = t2;
12782 _._hue = t3;
12783 _._saturation = t4;
12784 _._lightness = t5;
12785 _._alpha = t6;
12786 _.format = t7;
12787 },
12788 SassColor_SassColor$hwb_toRgb: function SassColor_SassColor$hwb_toRgb(t0, t1) {
12789 this._box_0 = t0;
12790 this.factor = t1;
12791 },
12792 _ColorFormatEnum: function _ColorFormatEnum(t0) {
12793 this._color$_name = t0;
12794 },
12795 SpanColorFormat: function SpanColorFormat(t0) {
12796 this._color$_span = t0;
12797 },
12798 SassFunction: function SassFunction(t0) {
12799 this.callable = t0;
12800 },
12801 SassList$(contents, _separator, brackets) {
12802 var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
12803 t1.SassList$3$brackets(contents, _separator, brackets);
12804 return t1;
12805 },
12806 SassList: function SassList(t0, t1, t2) {
12807 this._list$_contents = t0;
12808 this._separator = t1;
12809 this._hasBrackets = t2;
12810 },
12811 SassList_isBlank_closure: function SassList_isBlank_closure() {
12812 },
12813 ListSeparator: function ListSeparator(t0, t1) {
12814 this._list$_name = t0;
12815 this.separator = t1;
12816 },
12817 SassMap: function SassMap(t0) {
12818 this._map$_contents = t0;
12819 },
12820 SassMap_asList_closure: function SassMap_asList_closure(t0) {
12821 this.result = t0;
12822 },
12823 _SassNull: function _SassNull() {
12824 },
12825 conversionFactor(unit1, unit2) {
12826 var innerMap;
12827 if (unit1 === unit2)
12828 return 1;
12829 innerMap = B.Map_K2BWj.$index(0, unit1);
12830 if (innerMap == null)
12831 return null;
12832 return innerMap.$index(0, unit2);
12833 },
12834 SassNumber_SassNumber(value, unit) {
12835 return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
12836 },
12837 SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
12838 var t1, numerators, unsimplifiedDenominators, denominators, _i, denominator, simplifiedAway, i, factor, _null = null;
12839 if (denominatorUnits == null || denominatorUnits.length === 0) {
12840 t1 = numeratorUnits.length;
12841 if (t1 === 0)
12842 return new A.UnitlessSassNumber(value, _null);
12843 else if (t1 === 1)
12844 return new A.SingleUnitSassNumber(numeratorUnits[0], value, _null);
12845 else
12846 return new A.ComplexSassNumber(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
12847 } else {
12848 t1 = numeratorUnits.length;
12849 if (t1 === 0)
12850 return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
12851 else {
12852 numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
12853 unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits)._eval$1("JSArray<1>"));
12854 denominators = A._setArrayType([], type$.JSArray_String);
12855 for (t1 = unsimplifiedDenominators.length, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
12856 denominator = unsimplifiedDenominators[_i];
12857 i = 0;
12858 while (true) {
12859 if (!(i < numerators.length)) {
12860 simplifiedAway = false;
12861 break;
12862 }
12863 c$0: {
12864 factor = A.conversionFactor(denominator, numerators[i]);
12865 if (factor == null)
12866 break c$0;
12867 value *= factor;
12868 B.JSArray_methods.removeAt$1(numerators, i);
12869 simplifiedAway = true;
12870 break;
12871 }
12872 ++i;
12873 }
12874 if (!simplifiedAway)
12875 denominators.push(denominator);
12876 }
12877 if (denominatorUnits.length === 0) {
12878 t1 = numeratorUnits.length;
12879 if (t1 === 0)
12880 return new A.UnitlessSassNumber(value, _null);
12881 else if (t1 === 1)
12882 return new A.SingleUnitSassNumber(B.JSArray_methods.get$single(numeratorUnits), value, _null);
12883 }
12884 t1 = type$.String;
12885 return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), value, _null);
12886 }
12887 }
12888 },
12889 SassNumber: function SassNumber() {
12890 },
12891 SassNumber__coerceOrConvertValue__compatibilityException: function SassNumber__coerceOrConvertValue__compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
12892 var _ = this;
12893 _.$this = t0;
12894 _.other = t1;
12895 _.otherName = t2;
12896 _.otherHasUnits = t3;
12897 _.name = t4;
12898 _.newNumerators = t5;
12899 _.newDenominators = t6;
12900 },
12901 SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
12902 this._box_0 = t0;
12903 this.newNumerator = t1;
12904 },
12905 SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
12906 this._compatibilityException = t0;
12907 },
12908 SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
12909 this._box_0 = t0;
12910 this.newDenominator = t1;
12911 },
12912 SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
12913 this._compatibilityException = t0;
12914 },
12915 SassNumber_plus_closure: function SassNumber_plus_closure() {
12916 },
12917 SassNumber_minus_closure: function SassNumber_minus_closure() {
12918 },
12919 SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
12920 this._box_0 = t0;
12921 this.numerator = t1;
12922 },
12923 SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
12924 this.newNumerators = t0;
12925 this.numerator = t1;
12926 },
12927 SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
12928 this._box_0 = t0;
12929 this.numerator = t1;
12930 },
12931 SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
12932 this.newNumerators = t0;
12933 this.numerator = t1;
12934 },
12935 SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
12936 this.units2 = t0;
12937 },
12938 SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
12939 },
12940 SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
12941 this.$this = t0;
12942 },
12943 ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
12944 var _ = this;
12945 _._numeratorUnits = t0;
12946 _._denominatorUnits = t1;
12947 _._number$_value = t2;
12948 _.hashCache = null;
12949 _.asSlash = t3;
12950 },
12951 SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
12952 var _ = this;
12953 _._unit = t0;
12954 _._number$_value = t1;
12955 _.hashCache = null;
12956 _.asSlash = t2;
12957 },
12958 SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
12959 this.$this = t0;
12960 this.unit = t1;
12961 },
12962 SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
12963 this.$this = t0;
12964 },
12965 SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
12966 this._box_0 = t0;
12967 this.$this = t1;
12968 },
12969 SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
12970 this._box_0 = t0;
12971 this.$this = t1;
12972 },
12973 UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
12974 this._number$_value = t0;
12975 this.hashCache = null;
12976 this.asSlash = t1;
12977 },
12978 SassString$(_text, quotes) {
12979 return new A.SassString(_text, quotes);
12980 },
12981 SassString: function SassString(t0, t1) {
12982 var _ = this;
12983 _._string$_text = t0;
12984 _._hasQuotes = t1;
12985 _.__SassString__sassLength = $;
12986 _._hashCache = null;
12987 },
12988 _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
12989 var t1 = type$.Uri,
12990 t2 = type$.Module_AsyncCallable,
12991 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode),
12992 t4 = logger == null ? B.StderrLogger_false : logger;
12993 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);
12994 t3._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
12995 return t3;
12996 },
12997 _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
12998 var _ = this;
12999 _._async_evaluate$_importCache = t0;
13000 _._async_evaluate$_nodeImporter = t1;
13001 _._async_evaluate$_builtInFunctions = t2;
13002 _._async_evaluate$_builtInModules = t3;
13003 _._async_evaluate$_modules = t4;
13004 _._async_evaluate$_moduleNodes = t5;
13005 _._async_evaluate$_logger = t6;
13006 _._async_evaluate$_warningsEmitted = t7;
13007 _._async_evaluate$_quietDeps = t8;
13008 _._async_evaluate$_sourceMap = t9;
13009 _._async_evaluate$_environment = t10;
13010 _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
13011 _._async_evaluate$_member = "root stylesheet";
13012 _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = _._async_evaluate$_currentCallable = null;
13013 _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
13014 _._async_evaluate$_loadedUrls = t11;
13015 _._async_evaluate$_activeModules = t12;
13016 _._async_evaluate$_stack = t13;
13017 _._async_evaluate$_importer = null;
13018 _._async_evaluate$_inDependency = false;
13019 _._async_evaluate$__extensionStore = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
13020 _._async_evaluate$_configuration = t14;
13021 },
13022 _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
13023 this.$this = t0;
13024 },
13025 _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
13026 this.$this = t0;
13027 },
13028 _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
13029 this.$this = t0;
13030 },
13031 _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
13032 this.$this = t0;
13033 },
13034 _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
13035 this.$this = t0;
13036 },
13037 _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
13038 this.$this = t0;
13039 },
13040 _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
13041 this.$this = t0;
13042 },
13043 _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
13044 this.$this = t0;
13045 },
13046 _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0, t1, t2) {
13047 this.$this = t0;
13048 this.name = t1;
13049 this.module = t2;
13050 },
13051 _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
13052 this.$this = t0;
13053 },
13054 _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
13055 this.$this = t0;
13056 },
13057 _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
13058 this.values = t0;
13059 this.span = t1;
13060 this.callableNode = t2;
13061 },
13062 _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0) {
13063 this.$this = t0;
13064 },
13065 _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
13066 this.$this = t0;
13067 this.node = t1;
13068 this.importer = t2;
13069 },
13070 _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
13071 this.callback = t0;
13072 this.builtInModule = t1;
13073 },
13074 _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
13075 var _ = this;
13076 _.$this = t0;
13077 _.url = t1;
13078 _.nodeWithSpan = t2;
13079 _.baseUrl = t3;
13080 _.namesInErrors = t4;
13081 _.configuration = t5;
13082 _.callback = t6;
13083 },
13084 _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1) {
13085 this.$this = t0;
13086 this.message = t1;
13087 },
13088 _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5) {
13089 var _ = this;
13090 _.$this = t0;
13091 _.importer = t1;
13092 _.stylesheet = t2;
13093 _.extensionStore = t3;
13094 _.configuration = t4;
13095 _.css = t5;
13096 },
13097 _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2() {
13098 },
13099 _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3(t0) {
13100 this.selectors = t0;
13101 },
13102 _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4() {
13103 },
13104 _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
13105 this.originalSelectors = t0;
13106 },
13107 _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
13108 },
13109 _EvaluateVisitor__topologicalModules_visitModule0: function _EvaluateVisitor__topologicalModules_visitModule0(t0, t1) {
13110 this.seen = t0;
13111 this.sorted = t1;
13112 },
13113 _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
13114 this.$this = t0;
13115 this.resolved = t1;
13116 },
13117 _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
13118 this.$this = t0;
13119 this.node = t1;
13120 },
13121 _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
13122 this.$this = t0;
13123 this.node = t1;
13124 },
13125 _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
13126 this.$this = t0;
13127 this.newParent = t1;
13128 this.node = t2;
13129 },
13130 _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
13131 this.$this = t0;
13132 this.innerScope = t1;
13133 },
13134 _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
13135 this.$this = t0;
13136 this.innerScope = t1;
13137 },
13138 _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
13139 this.innerScope = t0;
13140 this.callback = t1;
13141 },
13142 _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
13143 this.$this = t0;
13144 this.innerScope = t1;
13145 },
13146 _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
13147 },
13148 _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
13149 this.$this = t0;
13150 this.innerScope = t1;
13151 },
13152 _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
13153 this.$this = t0;
13154 this.content = t1;
13155 },
13156 _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0) {
13157 this.$this = t0;
13158 },
13159 _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
13160 this.$this = t0;
13161 this.children = t1;
13162 },
13163 _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
13164 this.$this = t0;
13165 this.node = t1;
13166 this.nodeWithSpan = t2;
13167 },
13168 _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
13169 this.$this = t0;
13170 this.node = t1;
13171 this.nodeWithSpan = t2;
13172 },
13173 _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
13174 var _ = this;
13175 _.$this = t0;
13176 _.list = t1;
13177 _.setVariables = t2;
13178 _.node = t3;
13179 },
13180 _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
13181 this.$this = t0;
13182 this.setVariables = t1;
13183 this.node = t2;
13184 },
13185 _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
13186 this.$this = t0;
13187 },
13188 _EvaluateVisitor_visitExtendRule_closure0: function _EvaluateVisitor_visitExtendRule_closure0(t0, t1) {
13189 this.$this = t0;
13190 this.targetText = t1;
13191 },
13192 _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
13193 this.$this = t0;
13194 },
13195 _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1) {
13196 this.$this = t0;
13197 this.children = t1;
13198 },
13199 _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
13200 this.$this = t0;
13201 this.children = t1;
13202 },
13203 _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
13204 },
13205 _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
13206 this.$this = t0;
13207 this.node = t1;
13208 },
13209 _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
13210 this.$this = t0;
13211 this.node = t1;
13212 },
13213 _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
13214 this.fromNumber = t0;
13215 },
13216 _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
13217 this.toNumber = t0;
13218 this.fromNumber = t1;
13219 },
13220 _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
13221 var _ = this;
13222 _._box_0 = t0;
13223 _.$this = t1;
13224 _.node = t2;
13225 _.from = t3;
13226 _.direction = t4;
13227 _.fromNumber = t5;
13228 },
13229 _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
13230 this.$this = t0;
13231 },
13232 _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
13233 this.$this = t0;
13234 this.node = t1;
13235 },
13236 _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
13237 this.$this = t0;
13238 this.node = t1;
13239 },
13240 _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0, t1) {
13241 this._box_0 = t0;
13242 this.$this = t1;
13243 },
13244 _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0) {
13245 this.$this = t0;
13246 },
13247 _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
13248 this.$this = t0;
13249 this.$import = t1;
13250 },
13251 _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
13252 this.$this = t0;
13253 },
13254 _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
13255 },
13256 _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
13257 },
13258 _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4, t5) {
13259 var _ = this;
13260 _.$this = t0;
13261 _.result = t1;
13262 _.stylesheet = t2;
13263 _.loadsUserDefinedModules = t3;
13264 _.environment = t4;
13265 _.children = t5;
13266 },
13267 _EvaluateVisitor__visitStaticImport_closure0: function _EvaluateVisitor__visitStaticImport_closure0(t0) {
13268 this.$this = t0;
13269 },
13270 _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0, t1) {
13271 this.$this = t0;
13272 this.node = t1;
13273 },
13274 _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
13275 this.node = t0;
13276 },
13277 _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
13278 this.$this = t0;
13279 },
13280 _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1, t2, t3) {
13281 var _ = this;
13282 _.$this = t0;
13283 _.contentCallable = t1;
13284 _.mixin = t2;
13285 _.nodeWithSpan = t3;
13286 },
13287 _EvaluateVisitor_visitIncludeRule__closure0: function _EvaluateVisitor_visitIncludeRule__closure0(t0, t1, t2) {
13288 this.$this = t0;
13289 this.mixin = t1;
13290 this.nodeWithSpan = t2;
13291 },
13292 _EvaluateVisitor_visitIncludeRule___closure0: function _EvaluateVisitor_visitIncludeRule___closure0(t0, t1, t2) {
13293 this.$this = t0;
13294 this.mixin = t1;
13295 this.nodeWithSpan = t2;
13296 },
13297 _EvaluateVisitor_visitIncludeRule____closure0: function _EvaluateVisitor_visitIncludeRule____closure0(t0, t1) {
13298 this.$this = t0;
13299 this.statement = t1;
13300 },
13301 _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
13302 this.$this = t0;
13303 this.queries = t1;
13304 },
13305 _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3) {
13306 var _ = this;
13307 _.$this = t0;
13308 _.mergedQueries = t1;
13309 _.queries = t2;
13310 _.node = t3;
13311 },
13312 _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
13313 this.$this = t0;
13314 this.node = t1;
13315 },
13316 _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
13317 this.$this = t0;
13318 this.node = t1;
13319 },
13320 _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
13321 this.mergedQueries = t0;
13322 },
13323 _EvaluateVisitor__visitMediaQueries_closure0: function _EvaluateVisitor__visitMediaQueries_closure0(t0, t1) {
13324 this.$this = t0;
13325 this.resolved = t1;
13326 },
13327 _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1) {
13328 this.$this = t0;
13329 this.selectorText = t1;
13330 },
13331 _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7(t0, t1) {
13332 this.$this = t0;
13333 this.node = t1;
13334 },
13335 _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
13336 },
13337 _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9(t0, t1) {
13338 this.$this = t0;
13339 this.selectorText = t1;
13340 },
13341 _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10(t0, t1) {
13342 this._box_0 = t0;
13343 this.$this = t1;
13344 },
13345 _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1, t2) {
13346 this.$this = t0;
13347 this.rule = t1;
13348 this.node = t2;
13349 },
13350 _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
13351 this.$this = t0;
13352 this.node = t1;
13353 },
13354 _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
13355 },
13356 _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
13357 this.$this = t0;
13358 this.node = t1;
13359 },
13360 _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
13361 this.$this = t0;
13362 this.node = t1;
13363 },
13364 _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
13365 },
13366 _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
13367 this.$this = t0;
13368 this.node = t1;
13369 this.override = t2;
13370 },
13371 _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
13372 this.$this = t0;
13373 this.node = t1;
13374 },
13375 _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
13376 this.$this = t0;
13377 this.node = t1;
13378 this.value = t2;
13379 },
13380 _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
13381 this.$this = t0;
13382 this.node = t1;
13383 },
13384 _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
13385 this.$this = t0;
13386 this.node = t1;
13387 },
13388 _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
13389 this.$this = t0;
13390 this.node = t1;
13391 },
13392 _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
13393 this.$this = t0;
13394 },
13395 _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
13396 this.$this = t0;
13397 this.node = t1;
13398 },
13399 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0() {
13400 },
13401 _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
13402 this.$this = t0;
13403 this.node = t1;
13404 },
13405 _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
13406 this.node = t0;
13407 this.operand = t1;
13408 },
13409 _EvaluateVisitor__visitCalculationValue_closure0: function _EvaluateVisitor__visitCalculationValue_closure0(t0, t1, t2) {
13410 this.$this = t0;
13411 this.node = t1;
13412 this.inMinMax = t2;
13413 },
13414 _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
13415 this.$this = t0;
13416 },
13417 _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1) {
13418 this.$this = t0;
13419 this.node = t1;
13420 },
13421 _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1, t2) {
13422 this._box_0 = t0;
13423 this.$this = t1;
13424 this.node = t2;
13425 },
13426 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
13427 this.$this = t0;
13428 this.node = t1;
13429 this.$function = t2;
13430 },
13431 _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
13432 var _ = this;
13433 _.$this = t0;
13434 _.callable = t1;
13435 _.evaluated = t2;
13436 _.nodeWithSpan = t3;
13437 _.run = t4;
13438 _.V = t5;
13439 },
13440 _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
13441 var _ = this;
13442 _.$this = t0;
13443 _.evaluated = t1;
13444 _.callable = t2;
13445 _.nodeWithSpan = t3;
13446 _.run = t4;
13447 _.V = t5;
13448 },
13449 _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
13450 var _ = this;
13451 _.$this = t0;
13452 _.evaluated = t1;
13453 _.callable = t2;
13454 _.nodeWithSpan = t3;
13455 _.run = t4;
13456 _.V = t5;
13457 },
13458 _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
13459 },
13460 _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
13461 this.$this = t0;
13462 this.callable = t1;
13463 },
13464 _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1(t0, t1, t2) {
13465 this.overload = t0;
13466 this.evaluated = t1;
13467 this.namedSet = t2;
13468 },
13469 _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2() {
13470 },
13471 _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
13472 },
13473 _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
13474 this.$this = t0;
13475 this.restNodeForSpan = t1;
13476 },
13477 _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
13478 var _ = this;
13479 _.$this = t0;
13480 _.named = t1;
13481 _.restNodeForSpan = t2;
13482 _.namedNodes = t3;
13483 },
13484 _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
13485 },
13486 _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
13487 this.restArgs = t0;
13488 },
13489 _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
13490 this.$this = t0;
13491 this.restNodeForSpan = t1;
13492 this.restArgs = t2;
13493 },
13494 _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
13495 var _ = this;
13496 _.$this = t0;
13497 _.named = t1;
13498 _.restNodeForSpan = t2;
13499 _.restArgs = t3;
13500 },
13501 _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
13502 this.$this = t0;
13503 this.keywordRestNodeForSpan = t1;
13504 this.keywordRestArgs = t2;
13505 },
13506 _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
13507 var _ = this;
13508 _.$this = t0;
13509 _.values = t1;
13510 _.convert = t2;
13511 _.expressionNode = t3;
13512 _.map = t4;
13513 _.nodeWithSpan = t5;
13514 },
13515 _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
13516 this.$arguments = t0;
13517 this.positional = t1;
13518 this.named = t2;
13519 },
13520 _EvaluateVisitor_visitStringExpression_closure0: function _EvaluateVisitor_visitStringExpression_closure0(t0) {
13521 this.$this = t0;
13522 },
13523 _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
13524 this.$this = t0;
13525 this.node = t1;
13526 },
13527 _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
13528 },
13529 _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
13530 this.$this = t0;
13531 this.node = t1;
13532 },
13533 _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
13534 },
13535 _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
13536 this.$this = t0;
13537 this.node = t1;
13538 },
13539 _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2) {
13540 this.$this = t0;
13541 this.mergedQueries = t1;
13542 this.node = t2;
13543 },
13544 _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
13545 this.$this = t0;
13546 this.node = t1;
13547 },
13548 _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
13549 this.$this = t0;
13550 this.node = t1;
13551 },
13552 _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
13553 this.mergedQueries = t0;
13554 },
13555 _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1(t0, t1, t2) {
13556 this.$this = t0;
13557 this.rule = t1;
13558 this.node = t2;
13559 },
13560 _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
13561 this.$this = t0;
13562 this.node = t1;
13563 },
13564 _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2() {
13565 },
13566 _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
13567 this.$this = t0;
13568 this.node = t1;
13569 },
13570 _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
13571 this.$this = t0;
13572 this.node = t1;
13573 },
13574 _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
13575 },
13576 _EvaluateVisitor__performInterpolation_closure0: function _EvaluateVisitor__performInterpolation_closure0(t0, t1, t2) {
13577 this.$this = t0;
13578 this.warnForColor = t1;
13579 this.interpolation = t2;
13580 },
13581 _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
13582 this.value = t0;
13583 this.quote = t1;
13584 },
13585 _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
13586 this.$this = t0;
13587 this.expression = t1;
13588 },
13589 _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
13590 },
13591 _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
13592 this.$this = t0;
13593 },
13594 _EvaluateVisitor__stackTrace_closure0: function _EvaluateVisitor__stackTrace_closure0(t0) {
13595 this.$this = t0;
13596 },
13597 _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
13598 this._async_evaluate$_visitor = t0;
13599 },
13600 _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
13601 },
13602 _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
13603 this.hasBeenMerged = t0;
13604 },
13605 _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
13606 },
13607 _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
13608 },
13609 EvaluateResult: function EvaluateResult(t0) {
13610 this.stylesheet = t0;
13611 },
13612 _EvaluationContext0: function _EvaluationContext0(t0, t1) {
13613 this._async_evaluate$_visitor = t0;
13614 this._async_evaluate$_defaultWarnNodeWithSpan = t1;
13615 },
13616 _ArgumentResults0: function _ArgumentResults0(t0, t1, t2, t3, t4) {
13617 var _ = this;
13618 _.positional = t0;
13619 _.positionalNodes = t1;
13620 _.named = t2;
13621 _.namedNodes = t3;
13622 _.separator = t4;
13623 },
13624 _LoadedStylesheet0: function _LoadedStylesheet0(t0, t1, t2) {
13625 this.stylesheet = t0;
13626 this.importer = t1;
13627 this.isDependency = t2;
13628 },
13629 cloneCssStylesheet(stylesheet, extensionStore) {
13630 var result = extensionStore.clone$0();
13631 return new A.Tuple2(new A._CloneCssVisitor(result.item2)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), result.item1, type$.Tuple2_ModifiableCssStylesheet_ExtensionStore);
13632 },
13633 _CloneCssVisitor: function _CloneCssVisitor(t0) {
13634 this._oldToNewSelectors = t0;
13635 },
13636 _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
13637 var t1 = type$.Uri,
13638 t2 = type$.Module_Callable,
13639 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode),
13640 t4 = logger == null ? B.StderrLogger_false : logger;
13641 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);
13642 t3._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
13643 return t3;
13644 },
13645 Evaluator: function Evaluator(t0, t1) {
13646 this._visitor = t0;
13647 this._importer = t1;
13648 },
13649 _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
13650 var _ = this;
13651 _._evaluate$_importCache = t0;
13652 _._nodeImporter = t1;
13653 _._builtInFunctions = t2;
13654 _._builtInModules = t3;
13655 _._modules = t4;
13656 _._moduleNodes = t5;
13657 _._evaluate$_logger = t6;
13658 _._warningsEmitted = t7;
13659 _._quietDeps = t8;
13660 _._sourceMap = t9;
13661 _._environment = t10;
13662 _._declarationName = _.__parent = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
13663 _._member = "root stylesheet";
13664 _._importSpan = _._callableNode = _._currentCallable = null;
13665 _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
13666 _._loadedUrls = t11;
13667 _._activeModules = t12;
13668 _._stack = t13;
13669 _._importer = null;
13670 _._inDependency = false;
13671 _.__extensionStore = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
13672 _._configuration = t14;
13673 },
13674 _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
13675 this.$this = t0;
13676 },
13677 _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
13678 this.$this = t0;
13679 },
13680 _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
13681 this.$this = t0;
13682 },
13683 _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
13684 this.$this = t0;
13685 },
13686 _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
13687 this.$this = t0;
13688 },
13689 _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
13690 this.$this = t0;
13691 },
13692 _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
13693 this.$this = t0;
13694 },
13695 _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
13696 this.$this = t0;
13697 },
13698 _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
13699 this.$this = t0;
13700 this.name = t1;
13701 this.module = t2;
13702 },
13703 _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
13704 this.$this = t0;
13705 },
13706 _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
13707 this.$this = t0;
13708 },
13709 _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
13710 this.values = t0;
13711 this.span = t1;
13712 this.callableNode = t2;
13713 },
13714 _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
13715 this.$this = t0;
13716 },
13717 _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
13718 this.$this = t0;
13719 this.node = t1;
13720 this.importer = t2;
13721 },
13722 _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
13723 this.$this = t0;
13724 this.importer = t1;
13725 this.expression = t2;
13726 },
13727 _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
13728 this.$this = t0;
13729 this.expression = t1;
13730 },
13731 _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
13732 this.$this = t0;
13733 this.importer = t1;
13734 this.statement = t2;
13735 },
13736 _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
13737 this.$this = t0;
13738 this.statement = t1;
13739 },
13740 _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
13741 this.callback = t0;
13742 this.builtInModule = t1;
13743 },
13744 _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
13745 var _ = this;
13746 _.$this = t0;
13747 _.url = t1;
13748 _.nodeWithSpan = t2;
13749 _.baseUrl = t3;
13750 _.namesInErrors = t4;
13751 _.configuration = t5;
13752 _.callback = t6;
13753 },
13754 _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
13755 this.$this = t0;
13756 this.message = t1;
13757 },
13758 _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5) {
13759 var _ = this;
13760 _.$this = t0;
13761 _.importer = t1;
13762 _.stylesheet = t2;
13763 _.extensionStore = t3;
13764 _.configuration = t4;
13765 _.css = t5;
13766 },
13767 _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
13768 },
13769 _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
13770 this.selectors = t0;
13771 },
13772 _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
13773 },
13774 _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
13775 this.originalSelectors = t0;
13776 },
13777 _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
13778 },
13779 _EvaluateVisitor__topologicalModules_visitModule: function _EvaluateVisitor__topologicalModules_visitModule(t0, t1) {
13780 this.seen = t0;
13781 this.sorted = t1;
13782 },
13783 _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
13784 this.$this = t0;
13785 this.resolved = t1;
13786 },
13787 _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
13788 this.$this = t0;
13789 this.node = t1;
13790 },
13791 _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
13792 this.$this = t0;
13793 this.node = t1;
13794 },
13795 _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
13796 this.$this = t0;
13797 this.newParent = t1;
13798 this.node = t2;
13799 },
13800 _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
13801 this.$this = t0;
13802 this.innerScope = t1;
13803 },
13804 _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
13805 this.$this = t0;
13806 this.innerScope = t1;
13807 },
13808 _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
13809 this.innerScope = t0;
13810 this.callback = t1;
13811 },
13812 _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
13813 this.$this = t0;
13814 this.innerScope = t1;
13815 },
13816 _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
13817 },
13818 _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
13819 this.$this = t0;
13820 this.innerScope = t1;
13821 },
13822 _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
13823 this.$this = t0;
13824 this.content = t1;
13825 },
13826 _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0) {
13827 this.$this = t0;
13828 },
13829 _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
13830 this.$this = t0;
13831 this.children = t1;
13832 },
13833 _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
13834 this.$this = t0;
13835 this.node = t1;
13836 this.nodeWithSpan = t2;
13837 },
13838 _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
13839 this.$this = t0;
13840 this.node = t1;
13841 this.nodeWithSpan = t2;
13842 },
13843 _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
13844 var _ = this;
13845 _.$this = t0;
13846 _.list = t1;
13847 _.setVariables = t2;
13848 _.node = t3;
13849 },
13850 _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
13851 this.$this = t0;
13852 this.setVariables = t1;
13853 this.node = t2;
13854 },
13855 _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
13856 this.$this = t0;
13857 },
13858 _EvaluateVisitor_visitExtendRule_closure: function _EvaluateVisitor_visitExtendRule_closure(t0, t1) {
13859 this.$this = t0;
13860 this.targetText = t1;
13861 },
13862 _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
13863 this.$this = t0;
13864 },
13865 _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1) {
13866 this.$this = t0;
13867 this.children = t1;
13868 },
13869 _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
13870 this.$this = t0;
13871 this.children = t1;
13872 },
13873 _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
13874 },
13875 _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
13876 this.$this = t0;
13877 this.node = t1;
13878 },
13879 _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
13880 this.$this = t0;
13881 this.node = t1;
13882 },
13883 _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
13884 this.fromNumber = t0;
13885 },
13886 _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
13887 this.toNumber = t0;
13888 this.fromNumber = t1;
13889 },
13890 _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
13891 var _ = this;
13892 _._box_0 = t0;
13893 _.$this = t1;
13894 _.node = t2;
13895 _.from = t3;
13896 _.direction = t4;
13897 _.fromNumber = t5;
13898 },
13899 _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
13900 this.$this = t0;
13901 },
13902 _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
13903 this.$this = t0;
13904 this.node = t1;
13905 },
13906 _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
13907 this.$this = t0;
13908 this.node = t1;
13909 },
13910 _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0, t1) {
13911 this._box_0 = t0;
13912 this.$this = t1;
13913 },
13914 _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0) {
13915 this.$this = t0;
13916 },
13917 _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
13918 this.$this = t0;
13919 this.$import = t1;
13920 },
13921 _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
13922 this.$this = t0;
13923 },
13924 _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
13925 },
13926 _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
13927 },
13928 _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4, t5) {
13929 var _ = this;
13930 _.$this = t0;
13931 _.result = t1;
13932 _.stylesheet = t2;
13933 _.loadsUserDefinedModules = t3;
13934 _.environment = t4;
13935 _.children = t5;
13936 },
13937 _EvaluateVisitor__visitStaticImport_closure: function _EvaluateVisitor__visitStaticImport_closure(t0) {
13938 this.$this = t0;
13939 },
13940 _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
13941 this.$this = t0;
13942 this.node = t1;
13943 },
13944 _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
13945 this.node = t0;
13946 },
13947 _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0) {
13948 this.$this = t0;
13949 },
13950 _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0, t1, t2, t3) {
13951 var _ = this;
13952 _.$this = t0;
13953 _.contentCallable = t1;
13954 _.mixin = t2;
13955 _.nodeWithSpan = t3;
13956 },
13957 _EvaluateVisitor_visitIncludeRule__closure: function _EvaluateVisitor_visitIncludeRule__closure(t0, t1, t2) {
13958 this.$this = t0;
13959 this.mixin = t1;
13960 this.nodeWithSpan = t2;
13961 },
13962 _EvaluateVisitor_visitIncludeRule___closure: function _EvaluateVisitor_visitIncludeRule___closure(t0, t1, t2) {
13963 this.$this = t0;
13964 this.mixin = t1;
13965 this.nodeWithSpan = t2;
13966 },
13967 _EvaluateVisitor_visitIncludeRule____closure: function _EvaluateVisitor_visitIncludeRule____closure(t0, t1) {
13968 this.$this = t0;
13969 this.statement = t1;
13970 },
13971 _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
13972 this.$this = t0;
13973 this.queries = t1;
13974 },
13975 _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3) {
13976 var _ = this;
13977 _.$this = t0;
13978 _.mergedQueries = t1;
13979 _.queries = t2;
13980 _.node = t3;
13981 },
13982 _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
13983 this.$this = t0;
13984 this.node = t1;
13985 },
13986 _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
13987 this.$this = t0;
13988 this.node = t1;
13989 },
13990 _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
13991 this.mergedQueries = t0;
13992 },
13993 _EvaluateVisitor__visitMediaQueries_closure: function _EvaluateVisitor__visitMediaQueries_closure(t0, t1) {
13994 this.$this = t0;
13995 this.resolved = t1;
13996 },
13997 _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
13998 this.$this = t0;
13999 this.selectorText = t1;
14000 },
14001 _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0(t0, t1) {
14002 this.$this = t0;
14003 this.node = t1;
14004 },
14005 _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1() {
14006 },
14007 _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2(t0, t1) {
14008 this.$this = t0;
14009 this.selectorText = t1;
14010 },
14011 _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3(t0, t1) {
14012 this._box_0 = t0;
14013 this.$this = t1;
14014 },
14015 _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4(t0, t1, t2) {
14016 this.$this = t0;
14017 this.rule = t1;
14018 this.node = t2;
14019 },
14020 _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
14021 this.$this = t0;
14022 this.node = t1;
14023 },
14024 _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
14025 },
14026 _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
14027 this.$this = t0;
14028 this.node = t1;
14029 },
14030 _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
14031 this.$this = t0;
14032 this.node = t1;
14033 },
14034 _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
14035 },
14036 _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
14037 this.$this = t0;
14038 this.node = t1;
14039 this.override = t2;
14040 },
14041 _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
14042 this.$this = t0;
14043 this.node = t1;
14044 },
14045 _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
14046 this.$this = t0;
14047 this.node = t1;
14048 this.value = t2;
14049 },
14050 _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
14051 this.$this = t0;
14052 this.node = t1;
14053 },
14054 _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
14055 this.$this = t0;
14056 this.node = t1;
14057 },
14058 _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
14059 this.$this = t0;
14060 this.node = t1;
14061 },
14062 _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
14063 this.$this = t0;
14064 },
14065 _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
14066 this.$this = t0;
14067 this.node = t1;
14068 },
14069 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation() {
14070 },
14071 _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
14072 this.$this = t0;
14073 this.node = t1;
14074 },
14075 _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
14076 this.node = t0;
14077 this.operand = t1;
14078 },
14079 _EvaluateVisitor__visitCalculationValue_closure: function _EvaluateVisitor__visitCalculationValue_closure(t0, t1, t2) {
14080 this.$this = t0;
14081 this.node = t1;
14082 this.inMinMax = t2;
14083 },
14084 _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
14085 this.$this = t0;
14086 },
14087 _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
14088 this.$this = t0;
14089 this.node = t1;
14090 },
14091 _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0(t0, t1, t2) {
14092 this._box_0 = t0;
14093 this.$this = t1;
14094 this.node = t2;
14095 },
14096 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
14097 this.$this = t0;
14098 this.node = t1;
14099 this.$function = t2;
14100 },
14101 _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
14102 var _ = this;
14103 _.$this = t0;
14104 _.callable = t1;
14105 _.evaluated = t2;
14106 _.nodeWithSpan = t3;
14107 _.run = t4;
14108 _.V = t5;
14109 },
14110 _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
14111 var _ = this;
14112 _.$this = t0;
14113 _.evaluated = t1;
14114 _.callable = t2;
14115 _.nodeWithSpan = t3;
14116 _.run = t4;
14117 _.V = t5;
14118 },
14119 _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
14120 var _ = this;
14121 _.$this = t0;
14122 _.evaluated = t1;
14123 _.callable = t2;
14124 _.nodeWithSpan = t3;
14125 _.run = t4;
14126 _.V = t5;
14127 },
14128 _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
14129 },
14130 _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
14131 this.$this = t0;
14132 this.callable = t1;
14133 },
14134 _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
14135 this.overload = t0;
14136 this.evaluated = t1;
14137 this.namedSet = t2;
14138 },
14139 _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0() {
14140 },
14141 _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
14142 },
14143 _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
14144 this.$this = t0;
14145 this.restNodeForSpan = t1;
14146 },
14147 _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
14148 var _ = this;
14149 _.$this = t0;
14150 _.named = t1;
14151 _.restNodeForSpan = t2;
14152 _.namedNodes = t3;
14153 },
14154 _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
14155 },
14156 _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
14157 this.restArgs = t0;
14158 },
14159 _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
14160 this.$this = t0;
14161 this.restNodeForSpan = t1;
14162 this.restArgs = t2;
14163 },
14164 _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
14165 var _ = this;
14166 _.$this = t0;
14167 _.named = t1;
14168 _.restNodeForSpan = t2;
14169 _.restArgs = t3;
14170 },
14171 _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
14172 this.$this = t0;
14173 this.keywordRestNodeForSpan = t1;
14174 this.keywordRestArgs = t2;
14175 },
14176 _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
14177 var _ = this;
14178 _.$this = t0;
14179 _.values = t1;
14180 _.convert = t2;
14181 _.expressionNode = t3;
14182 _.map = t4;
14183 _.nodeWithSpan = t5;
14184 },
14185 _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
14186 this.$arguments = t0;
14187 this.positional = t1;
14188 this.named = t2;
14189 },
14190 _EvaluateVisitor_visitStringExpression_closure: function _EvaluateVisitor_visitStringExpression_closure(t0) {
14191 this.$this = t0;
14192 },
14193 _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
14194 this.$this = t0;
14195 this.node = t1;
14196 },
14197 _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
14198 },
14199 _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
14200 this.$this = t0;
14201 this.node = t1;
14202 },
14203 _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
14204 },
14205 _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
14206 this.$this = t0;
14207 this.node = t1;
14208 },
14209 _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2) {
14210 this.$this = t0;
14211 this.mergedQueries = t1;
14212 this.node = t2;
14213 },
14214 _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
14215 this.$this = t0;
14216 this.node = t1;
14217 },
14218 _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
14219 this.$this = t0;
14220 this.node = t1;
14221 },
14222 _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
14223 this.mergedQueries = t0;
14224 },
14225 _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure(t0, t1, t2) {
14226 this.$this = t0;
14227 this.rule = t1;
14228 this.node = t2;
14229 },
14230 _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
14231 this.$this = t0;
14232 this.node = t1;
14233 },
14234 _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0() {
14235 },
14236 _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
14237 this.$this = t0;
14238 this.node = t1;
14239 },
14240 _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
14241 this.$this = t0;
14242 this.node = t1;
14243 },
14244 _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
14245 },
14246 _EvaluateVisitor__performInterpolation_closure: function _EvaluateVisitor__performInterpolation_closure(t0, t1, t2) {
14247 this.$this = t0;
14248 this.warnForColor = t1;
14249 this.interpolation = t2;
14250 },
14251 _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
14252 this.value = t0;
14253 this.quote = t1;
14254 },
14255 _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
14256 this.$this = t0;
14257 this.expression = t1;
14258 },
14259 _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
14260 },
14261 _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
14262 this.$this = t0;
14263 },
14264 _EvaluateVisitor__stackTrace_closure: function _EvaluateVisitor__stackTrace_closure(t0) {
14265 this.$this = t0;
14266 },
14267 _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
14268 this._visitor = t0;
14269 },
14270 _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
14271 },
14272 _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
14273 this.hasBeenMerged = t0;
14274 },
14275 _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
14276 },
14277 _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
14278 },
14279 _EvaluationContext: function _EvaluationContext(t0, t1) {
14280 this._visitor = t0;
14281 this._defaultWarnNodeWithSpan = t1;
14282 },
14283 _ArgumentResults: function _ArgumentResults(t0, t1, t2, t3, t4) {
14284 var _ = this;
14285 _.positional = t0;
14286 _.positionalNodes = t1;
14287 _.named = t2;
14288 _.namedNodes = t3;
14289 _.separator = t4;
14290 },
14291 _LoadedStylesheet: function _LoadedStylesheet(t0, t1, t2) {
14292 this.stylesheet = t0;
14293 this.importer = t1;
14294 this.isDependency = t2;
14295 },
14296 _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1) {
14297 this._usesAndForwards = t0;
14298 this._imports = t1;
14299 },
14300 RecursiveStatementVisitor: function RecursiveStatementVisitor() {
14301 },
14302 serialize(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
14303 var t1, css, t2, prefix,
14304 visitor = A._SerializeVisitor$(2, inspect, lineFeed, true, sourceMap, style, true);
14305 node.accept$1(visitor);
14306 t1 = visitor._serialize$_buffer;
14307 css = t1.toString$0(0);
14308 if (charset) {
14309 t2 = new A.CodeUnits(css);
14310 t2 = t2.any$1(t2, new A.serialize_closure());
14311 } else
14312 t2 = false;
14313 if (t2)
14314 prefix = style === B.OutputStyle_compressed ? "\ufeff" : '@charset "UTF-8";\n';
14315 else
14316 prefix = "";
14317 t2 = prefix + css;
14318 return new A.SerializeResult(t2, sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null);
14319 },
14320 serializeValue(value, inspect, quote) {
14321 var visitor = A._SerializeVisitor$(null, inspect, null, quote, false, null, true);
14322 value.accept$1(visitor);
14323 return visitor._serialize$_buffer.toString$0(0);
14324 },
14325 serializeSelector(selector, inspect) {
14326 var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
14327 selector.accept$1(visitor);
14328 return visitor._serialize$_buffer.toString$0(0);
14329 },
14330 _SerializeVisitor$(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
14331 var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
14332 t2 = style == null ? B.OutputStyle_expanded : style,
14333 t3 = indentWidth == null ? 2 : indentWidth;
14334 A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
14335 return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.C_LineFeed);
14336 },
14337 serialize_closure: function serialize_closure() {
14338 },
14339 _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6) {
14340 var _ = this;
14341 _._serialize$_buffer = t0;
14342 _._indentation = 0;
14343 _._style = t1;
14344 _._inspect = t2;
14345 _._quote = t3;
14346 _._indentCharacter = t4;
14347 _._indentWidth = t5;
14348 _._serialize$_lineFeed = t6;
14349 },
14350 _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
14351 this.$this = t0;
14352 this.node = t1;
14353 },
14354 _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
14355 this.$this = t0;
14356 this.node = t1;
14357 },
14358 _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
14359 this.$this = t0;
14360 this.node = t1;
14361 },
14362 _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
14363 this.$this = t0;
14364 this.node = t1;
14365 },
14366 _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
14367 this.$this = t0;
14368 this.node = t1;
14369 },
14370 _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
14371 this.$this = t0;
14372 this.node = t1;
14373 },
14374 _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
14375 this.$this = t0;
14376 this.node = t1;
14377 },
14378 _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
14379 this.$this = t0;
14380 this.node = t1;
14381 },
14382 _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
14383 this.$this = t0;
14384 this.node = t1;
14385 },
14386 _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
14387 this.$this = t0;
14388 this.node = t1;
14389 },
14390 _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
14391 },
14392 _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
14393 this.$this = t0;
14394 this.value = t1;
14395 },
14396 _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
14397 this.$this = t0;
14398 },
14399 _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
14400 this.$this = t0;
14401 },
14402 _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
14403 },
14404 _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
14405 this.$this = t0;
14406 this.value = t1;
14407 },
14408 _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1, t2) {
14409 this._box_0 = t0;
14410 this.$this = t1;
14411 this.children = t2;
14412 },
14413 OutputStyle: function OutputStyle(t0) {
14414 this._name = t0;
14415 },
14416 LineFeed: function LineFeed() {
14417 },
14418 SerializeResult: function SerializeResult(t0, t1) {
14419 this.css = t0;
14420 this.sourceMap = t1;
14421 },
14422 _IterableExtension__search(_this, callback) {
14423 var t1, value;
14424 for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
14425 value = callback.call$1(t1.get$current(t1));
14426 if (value != null)
14427 return value;
14428 }
14429 return null;
14430 },
14431 StatementSearchVisitor: function StatementSearchVisitor() {
14432 },
14433 StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
14434 this.$this = t0;
14435 },
14436 StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
14437 this.$this = t0;
14438 },
14439 StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
14440 this.$this = t0;
14441 },
14442 StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
14443 this.$this = t0;
14444 },
14445 StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
14446 this.$this = t0;
14447 },
14448 Entry: function Entry(t0, t1, t2) {
14449 this.source = t0;
14450 this.target = t1;
14451 this.identifierName = t2;
14452 },
14453 SingleMapping_SingleMapping$fromEntries(entries) {
14454 var lines, t1, t2, urls, names, files, targetEntries, t3, t4, lineNum, _i, sourceEntry, t5, t6, sourceUrl, t7, urlId,
14455 sourceEntries = J.toList$0$ax(entries);
14456 B.JSArray_methods.sort$0(sourceEntries);
14457 lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
14458 t1 = type$.String;
14459 t2 = type$.int;
14460 urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
14461 names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
14462 files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
14463 targetEntries = A._Cell$();
14464 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) {
14465 sourceEntry = sourceEntries[_i];
14466 if (lineNum == null || sourceEntry.target.line > lineNum) {
14467 lineNum = sourceEntry.target.line;
14468 t5 = A._setArrayType([], t3);
14469 targetEntries._value = t5;
14470 lines.push(new A.TargetLineEntry(lineNum, t5));
14471 }
14472 t5 = sourceEntry.source;
14473 t6 = t5.file;
14474 sourceUrl = t6.url;
14475 t7 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
14476 urlId = urls.putIfAbsent$2(t7, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
14477 files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
14478 t7 = targetEntries._value;
14479 if (t7 === targetEntries)
14480 A.throwExpression(A.LateError$localNI(t4));
14481 t5 = t5.offset;
14482 J.add$1$ax(t7, new A.TargetEntry(sourceEntry.target.column, urlId, t6.getLine$1(t5), t6.getColumn$1(t5), null));
14483 }
14484 t2 = urls.get$values(urls).map$1$1(0, new A.SingleMapping_SingleMapping$fromEntries_closure1(files), type$.nullable_SourceFile).toList$0(0);
14485 t3 = urls.get$keys(urls).toList$0(0);
14486 t4 = names.get$keys(names);
14487 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));
14488 },
14489 Mapping: function Mapping() {
14490 },
14491 SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
14492 var _ = this;
14493 _.urls = t0;
14494 _.names = t1;
14495 _.files = t2;
14496 _.lines = t3;
14497 _.targetUrl = t4;
14498 _.sourceRoot = null;
14499 _.extensions = t5;
14500 },
14501 SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
14502 this.urls = t0;
14503 },
14504 SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
14505 this.sourceEntry = t0;
14506 },
14507 SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
14508 this.files = t0;
14509 },
14510 SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
14511 },
14512 SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
14513 this.result = t0;
14514 },
14515 TargetLineEntry: function TargetLineEntry(t0, t1) {
14516 this.line = t0;
14517 this.entries = t1;
14518 },
14519 TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
14520 var _ = this;
14521 _.column = t0;
14522 _.sourceUrlId = t1;
14523 _.sourceLine = t2;
14524 _.sourceColumn = t3;
14525 _.sourceNameId = t4;
14526 },
14527 SourceFile$fromString(text, url) {
14528 var t1 = new A.CodeUnits(text),
14529 t2 = A._setArrayType([0], type$.JSArray_int),
14530 t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
14531 t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
14532 t2.SourceFile$decoded$2$url(t1, url);
14533 return t2;
14534 },
14535 SourceFile$decoded(decodedChars, url) {
14536 var t1 = A._setArrayType([0], type$.JSArray_int),
14537 t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
14538 t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
14539 t1.SourceFile$decoded$2$url(decodedChars, url);
14540 return t1;
14541 },
14542 FileLocation$_(file, offset) {
14543 if (offset < 0)
14544 A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
14545 else if (offset > file._decodedChars.length)
14546 A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(file) + "."));
14547 return new A.FileLocation(file, offset);
14548 },
14549 _FileSpan$(file, _start, _end) {
14550 if (_end < _start)
14551 A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
14552 else if (_end > file._decodedChars.length)
14553 A.throwExpression(A.RangeError$("End " + _end + string$.x20must_ + file.get$length(file) + "."));
14554 else if (_start < 0)
14555 A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
14556 return new A._FileSpan(file, _start, _end);
14557 },
14558 FileSpanExtension_subspan(_this, start, end) {
14559 var startOffset,
14560 t1 = _this._end,
14561 t2 = _this._file$_start,
14562 t3 = t1 - t2;
14563 A.RangeError_checkValidRange(start, end, t3);
14564 if (start === 0)
14565 t3 = end == null || end === t3;
14566 else
14567 t3 = false;
14568 if (t3)
14569 return _this;
14570 t3 = _this.file;
14571 startOffset = A.FileLocation$_(t3, t2).offset;
14572 t1 = end == null ? A.FileLocation$_(t3, t1).offset : startOffset + end;
14573 return t3.span$2(0, startOffset + start, t1);
14574 },
14575 SourceFile: function SourceFile(t0, t1, t2) {
14576 var _ = this;
14577 _.url = t0;
14578 _._lineStarts = t1;
14579 _._decodedChars = t2;
14580 _._cachedLine = null;
14581 },
14582 FileLocation: function FileLocation(t0, t1) {
14583 this.file = t0;
14584 this.offset = t1;
14585 },
14586 _FileSpan: function _FileSpan(t0, t1, t2) {
14587 this.file = t0;
14588 this._file$_start = t1;
14589 this._end = t2;
14590 },
14591 Highlighter$(span, color) {
14592 var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
14593 t2 = new A.Highlighter_closure(color).call$0(),
14594 t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
14595 t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
14596 t5 = A._arrayInstanceType(t1);
14597 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(""));
14598 },
14599 Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
14600 var t2, t3, t4, t5, t6,
14601 t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
14602 for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
14603 t3 = t2.get$current(t2);
14604 t1.push(A._Highlight$(t3.key, t3.value, false));
14605 }
14606 t1 = A.Highlighter__collateLines(t1);
14607 if (color)
14608 t2 = "\x1b[31m";
14609 else
14610 t2 = null;
14611 if (color)
14612 t3 = "\x1b[34m";
14613 else
14614 t3 = null;
14615 t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
14616 t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
14617 t6 = A._arrayInstanceType(t1);
14618 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(""));
14619 },
14620 Highlighter__contiguous(lines) {
14621 var i, thisLine, nextLine;
14622 for (i = 0; i < lines.length - 1;) {
14623 thisLine = lines[i];
14624 ++i;
14625 nextLine = lines[i];
14626 if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
14627 return false;
14628 }
14629 return true;
14630 },
14631 Highlighter__collateLines(highlights) {
14632 var t1, t2,
14633 highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
14634 for (t1 = highlightsByUrl.get$values(highlightsByUrl), t1 = t1.get$iterator(t1); t1.moveNext$0();)
14635 J.sort$1$ax(t1.get$current(t1), new A.Highlighter__collateLines_closure0());
14636 t1 = highlightsByUrl.get$entries(highlightsByUrl);
14637 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
14638 return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
14639 },
14640 _Highlight$(span, label, primary) {
14641 return new A._Highlight(new A._Highlight_closure(span).call$0(), primary, label);
14642 },
14643 _Highlight__normalizeNewlines(span) {
14644 var endOffset, t1, i, t2, t3, t4,
14645 text = span.get$text();
14646 if (!B.JSString_methods.contains$1(text, "\r\n"))
14647 return span;
14648 endOffset = span.get$end(span).get$offset();
14649 for (t1 = text.length - 1, i = 0; i < t1; ++i)
14650 if (B.JSString_methods._codeUnitAt$1(text, i) === 13 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 10)
14651 --endOffset;
14652 t1 = span.get$start(span);
14653 t2 = span.get$sourceUrl(span);
14654 t3 = span.get$end(span).get$line();
14655 t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
14656 t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
14657 t4 = span.get$context(span);
14658 return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
14659 },
14660 _Highlight__normalizeTrailingNewline(span) {
14661 var context, text, start, end, t1, t2, t3;
14662 if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
14663 return span;
14664 if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
14665 return span;
14666 context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
14667 text = span.get$text();
14668 start = span.get$start(span);
14669 end = span.get$end(span);
14670 if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
14671 t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
14672 t1.toString;
14673 t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
14674 } else
14675 t1 = false;
14676 if (t1) {
14677 text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
14678 if (text.length === 0)
14679 end = start;
14680 else {
14681 t1 = span.get$end(span).get$offset();
14682 t2 = span.get$sourceUrl(span);
14683 t3 = span.get$end(span).get$line();
14684 end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
14685 start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
14686 }
14687 }
14688 return A.SourceSpanWithContext$(start, end, text, context);
14689 },
14690 _Highlight__normalizeEndOfLine(span) {
14691 var text, t1, t2, t3, t4;
14692 if (span.get$end(span).get$column() !== 0)
14693 return span;
14694 if (span.get$end(span).get$line() === span.get$start(span).get$line())
14695 return span;
14696 text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
14697 t1 = span.get$start(span);
14698 t2 = span.get$end(span).get$offset();
14699 t3 = span.get$sourceUrl(span);
14700 t4 = span.get$end(span).get$line();
14701 t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
14702 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));
14703 },
14704 _Highlight__lastLineLength(text) {
14705 var t1 = text.length;
14706 if (t1 === 0)
14707 return 0;
14708 else if (B.JSString_methods.codeUnitAt$1(text, t1 - 1) === 10)
14709 return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
14710 else
14711 return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
14712 },
14713 Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
14714 var _ = this;
14715 _._lines = t0;
14716 _._primaryColor = t1;
14717 _._secondaryColor = t2;
14718 _._paddingBeforeSidebar = t3;
14719 _._maxMultilineSpans = t4;
14720 _._multipleFiles = t5;
14721 _._highlighter$_buffer = t6;
14722 },
14723 Highlighter_closure: function Highlighter_closure(t0) {
14724 this.color = t0;
14725 },
14726 Highlighter$__closure: function Highlighter$__closure() {
14727 },
14728 Highlighter$___closure: function Highlighter$___closure() {
14729 },
14730 Highlighter$__closure0: function Highlighter$__closure0() {
14731 },
14732 Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
14733 },
14734 Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
14735 },
14736 Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
14737 },
14738 Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
14739 this.line = t0;
14740 },
14741 Highlighter_highlight_closure: function Highlighter_highlight_closure() {
14742 },
14743 Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
14744 this.$this = t0;
14745 },
14746 Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
14747 this.$this = t0;
14748 this.startLine = t1;
14749 this.line = t2;
14750 },
14751 Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
14752 this.$this = t0;
14753 this.highlight = t1;
14754 },
14755 Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
14756 this.$this = t0;
14757 },
14758 Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
14759 var _ = this;
14760 _._box_0 = t0;
14761 _.$this = t1;
14762 _.current = t2;
14763 _.startLine = t3;
14764 _.line = t4;
14765 _.highlight = t5;
14766 _.endLine = t6;
14767 },
14768 Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
14769 this._box_0 = t0;
14770 this.$this = t1;
14771 },
14772 Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
14773 this.$this = t0;
14774 this.vertical = t1;
14775 },
14776 Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
14777 var _ = this;
14778 _.$this = t0;
14779 _.text = t1;
14780 _.startColumn = t2;
14781 _.endColumn = t3;
14782 },
14783 Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
14784 this.$this = t0;
14785 this.line = t1;
14786 this.highlight = t2;
14787 },
14788 Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
14789 this.$this = t0;
14790 this.line = t1;
14791 this.highlight = t2;
14792 },
14793 Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
14794 var _ = this;
14795 _.$this = t0;
14796 _.coversWholeLine = t1;
14797 _.line = t2;
14798 _.highlight = t3;
14799 },
14800 Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
14801 this._box_0 = t0;
14802 this.$this = t1;
14803 this.end = t2;
14804 },
14805 _Highlight: function _Highlight(t0, t1, t2) {
14806 this.span = t0;
14807 this.isPrimary = t1;
14808 this.label = t2;
14809 },
14810 _Highlight_closure: function _Highlight_closure(t0) {
14811 this.span = t0;
14812 },
14813 _Line: function _Line(t0, t1, t2, t3) {
14814 var _ = this;
14815 _.text = t0;
14816 _.number = t1;
14817 _.url = t2;
14818 _.highlights = t3;
14819 },
14820 SourceLocation$(offset, column, line, sourceUrl) {
14821 if (offset < 0)
14822 A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
14823 else if (line < 0)
14824 A.throwExpression(A.RangeError$("Line may not be negative, was " + line + "."));
14825 else if (column < 0)
14826 A.throwExpression(A.RangeError$("Column may not be negative, was " + column + "."));
14827 return new A.SourceLocation(sourceUrl, offset, line, column);
14828 },
14829 SourceLocation: function SourceLocation(t0, t1, t2, t3) {
14830 var _ = this;
14831 _.sourceUrl = t0;
14832 _.offset = t1;
14833 _.line = t2;
14834 _.column = t3;
14835 },
14836 SourceLocationMixin: function SourceLocationMixin() {
14837 },
14838 SourceSpanBase: function SourceSpanBase() {
14839 },
14840 SourceSpanException: function SourceSpanException() {
14841 },
14842 SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
14843 this.source = t0;
14844 this._span_exception$_message = t1;
14845 this._span = t2;
14846 },
14847 SourceSpanMixin: function SourceSpanMixin() {
14848 },
14849 SourceSpanWithContext$(start, end, text, _context) {
14850 var t1 = new A.SourceSpanWithContext(_context, start, end, text);
14851 t1.SourceSpanBase$3(start, end, text);
14852 if (!B.JSString_methods.contains$1(_context, text))
14853 A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
14854 if (A.findLineStart(_context, text, start.get$column()) == null)
14855 A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
14856 return t1;
14857 },
14858 SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
14859 var _ = this;
14860 _._context = t0;
14861 _.start = t1;
14862 _.end = t2;
14863 _.text = t3;
14864 },
14865 Chain_Chain$parse(chain) {
14866 var t1, t2,
14867 _s51_ = string$.x3d_____;
14868 if (chain.length === 0)
14869 return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
14870 t1 = $.$get$vmChainGap();
14871 if (B.JSString_methods.contains$1(chain, t1)) {
14872 t1 = B.JSString_methods.split$1(chain, t1);
14873 t2 = A._arrayInstanceType(t1);
14874 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));
14875 }
14876 if (!B.JSString_methods.contains$1(chain, _s51_))
14877 return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
14878 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));
14879 },
14880 Chain: function Chain(t0) {
14881 this.traces = t0;
14882 },
14883 Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
14884 },
14885 Chain_Chain$parse_closure0: function Chain_Chain$parse_closure0() {
14886 },
14887 Chain_Chain$parse_closure1: function Chain_Chain$parse_closure1() {
14888 },
14889 Chain_toTrace_closure: function Chain_toTrace_closure() {
14890 },
14891 Chain_toString_closure0: function Chain_toString_closure0() {
14892 },
14893 Chain_toString__closure0: function Chain_toString__closure0() {
14894 },
14895 Chain_toString_closure: function Chain_toString_closure(t0) {
14896 this.longest = t0;
14897 },
14898 Chain_toString__closure: function Chain_toString__closure(t0) {
14899 this.longest = t0;
14900 },
14901 Frame_Frame$parseVM(frame) {
14902 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
14903 },
14904 Frame_Frame$parseV8(frame) {
14905 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
14906 },
14907 Frame_Frame$_parseFirefoxEval(frame) {
14908 return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
14909 },
14910 Frame_Frame$parseFirefox(frame) {
14911 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
14912 },
14913 Frame_Frame$parseFriendly(frame) {
14914 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
14915 },
14916 Frame__uriOrPathToUri(uriOrPath) {
14917 if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
14918 return A.Uri_parse(uriOrPath);
14919 else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
14920 return A._Uri__Uri$file(uriOrPath, true);
14921 else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
14922 return A._Uri__Uri$file(uriOrPath, false);
14923 if (B.JSString_methods.contains$1(uriOrPath, "\\"))
14924 return $.$get$windows().toUri$1(uriOrPath);
14925 return A.Uri_parse(uriOrPath);
14926 },
14927 Frame__catchFormatException(text, body) {
14928 var t1, exception;
14929 try {
14930 t1 = body.call$0();
14931 return t1;
14932 } catch (exception) {
14933 if (type$.FormatException._is(A.unwrapException(exception)))
14934 return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
14935 else
14936 throw exception;
14937 }
14938 },
14939 Frame: function Frame(t0, t1, t2, t3) {
14940 var _ = this;
14941 _.uri = t0;
14942 _.line = t1;
14943 _.column = t2;
14944 _.member = t3;
14945 },
14946 Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
14947 this.frame = t0;
14948 },
14949 Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
14950 this.frame = t0;
14951 },
14952 Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) {
14953 this.frame = t0;
14954 },
14955 Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
14956 this.frame = t0;
14957 },
14958 Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
14959 this.frame = t0;
14960 },
14961 Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
14962 this.frame = t0;
14963 },
14964 LazyTrace: function LazyTrace(t0) {
14965 this._thunk = t0;
14966 this.__LazyTrace__trace = $;
14967 },
14968 LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
14969 this.$this = t0;
14970 },
14971 Trace_Trace$from(trace) {
14972 if (type$.Trace._is(trace))
14973 return trace;
14974 if (trace instanceof A.Chain)
14975 return trace.toTrace$0();
14976 return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
14977 },
14978 Trace_Trace$parse(trace) {
14979 var error, t1, exception;
14980 try {
14981 if (trace.length === 0) {
14982 t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
14983 return t1;
14984 }
14985 if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
14986 t1 = A.Trace$parseV8(trace);
14987 return t1;
14988 }
14989 if (B.JSString_methods.contains$1(trace, "\tat ")) {
14990 t1 = A.Trace$parseJSCore(trace);
14991 return t1;
14992 }
14993 if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
14994 t1 = A.Trace$parseFirefox(trace);
14995 return t1;
14996 }
14997 if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
14998 t1 = A.Chain_Chain$parse(trace).toTrace$0();
14999 return t1;
15000 }
15001 if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
15002 t1 = A.Trace$parseFriendly(trace);
15003 return t1;
15004 }
15005 t1 = A.Trace$parseVM(trace);
15006 return t1;
15007 } catch (exception) {
15008 t1 = A.unwrapException(exception);
15009 if (type$.FormatException._is(t1)) {
15010 error = t1;
15011 throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
15012 } else
15013 throw exception;
15014 }
15015 },
15016 Trace$parseVM(trace) {
15017 var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
15018 return new A.Trace(t1, new A._StringStackTrace(trace));
15019 },
15020 Trace__parseVM(trace) {
15021 var $frames,
15022 t1 = B.JSString_methods.trim$0(trace),
15023 t2 = $.$get$vmChainGap(),
15024 t3 = type$.WhereIterable_String,
15025 lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
15026 if (!lines.get$iterator(lines).moveNext$0())
15027 return A._setArrayType([], type$.JSArray_Frame);
15028 t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(lines) - 1, t3._eval$1("Iterable.E"));
15029 t1 = A.MappedIterable_MappedIterable(t1, new A.Trace__parseVM_closure0(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
15030 $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
15031 if (!J.endsWith$1$s(lines.get$last(lines), ".da"))
15032 B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(lines)));
15033 return $frames;
15034 },
15035 Trace$parseV8(trace) {
15036 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()),
15037 t2 = type$.Frame;
15038 t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, new A.Trace$parseV8_closure0(), t1.$ti._eval$1("Iterable.E"), t2), t2);
15039 return new A.Trace(t2, new A._StringStackTrace(trace));
15040 },
15041 Trace$parseJSCore(trace) {
15042 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);
15043 return new A.Trace(t1, new A._StringStackTrace(trace));
15044 },
15045 Trace$parseFirefox(trace) {
15046 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);
15047 return new A.Trace(t1, new A._StringStackTrace(trace));
15048 },
15049 Trace$parseFriendly(trace) {
15050 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);
15051 t1 = A.List_List$unmodifiable(t1, type$.Frame);
15052 return new A.Trace(t1, new A._StringStackTrace(trace));
15053 },
15054 Trace$($frames, original) {
15055 var t1 = A.List_List$unmodifiable($frames, type$.Frame);
15056 return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
15057 },
15058 Trace: function Trace(t0, t1) {
15059 this.frames = t0;
15060 this.original = t1;
15061 },
15062 Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
15063 this.trace = t0;
15064 },
15065 Trace__parseVM_closure: function Trace__parseVM_closure() {
15066 },
15067 Trace__parseVM_closure0: function Trace__parseVM_closure0() {
15068 },
15069 Trace$parseV8_closure: function Trace$parseV8_closure() {
15070 },
15071 Trace$parseV8_closure0: function Trace$parseV8_closure0() {
15072 },
15073 Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
15074 },
15075 Trace$parseJSCore_closure0: function Trace$parseJSCore_closure0() {
15076 },
15077 Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
15078 },
15079 Trace$parseFirefox_closure0: function Trace$parseFirefox_closure0() {
15080 },
15081 Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
15082 },
15083 Trace$parseFriendly_closure0: function Trace$parseFriendly_closure0() {
15084 },
15085 Trace_terse_closure: function Trace_terse_closure() {
15086 },
15087 Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
15088 this.oldPredicate = t0;
15089 },
15090 Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
15091 this._box_0 = t0;
15092 },
15093 Trace_toString_closure0: function Trace_toString_closure0() {
15094 },
15095 Trace_toString_closure: function Trace_toString_closure(t0) {
15096 this.longest = t0;
15097 },
15098 UnparsedFrame: function UnparsedFrame(t0, t1) {
15099 this.uri = t0;
15100 this.member = t1;
15101 },
15102 TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
15103 var _null = null, t1 = {},
15104 controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
15105 t1.subscription = null;
15106 controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
15107 return controller.get$stream();
15108 },
15109 TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
15110 sink.addError$2(error, stackTrace);
15111 },
15112 TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
15113 var _ = this;
15114 _._box_1 = t0;
15115 _._this = t1;
15116 _.handleData = t2;
15117 _.controller = t3;
15118 _.handleError = t4;
15119 _.handleDone = t5;
15120 _.S = t6;
15121 },
15122 TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
15123 this.handleData = t0;
15124 this.controller = t1;
15125 this.S = t2;
15126 },
15127 TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
15128 this.handleError = t0;
15129 this.controller = t1;
15130 },
15131 TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
15132 this._box_0 = t0;
15133 this.handleDone = t1;
15134 this.controller = t2;
15135 },
15136 TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
15137 this._box_1 = t0;
15138 this._box_0 = t1;
15139 },
15140 RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
15141 var t1 = {};
15142 t1.soFar = t1.timer = null;
15143 t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
15144 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);
15145 },
15146 _collect($event, soFar, $T) {
15147 var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
15148 J.add$1$ax(t1, $event);
15149 return t1;
15150 },
15151 RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
15152 var _ = this;
15153 _._box_0 = t0;
15154 _.S = t1;
15155 _.collect = t2;
15156 _.leading = t3;
15157 _.duration = t4;
15158 _.trailing = t5;
15159 _.T = t6;
15160 },
15161 RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
15162 this._box_0 = t0;
15163 this.sink = t1;
15164 this.S = t2;
15165 },
15166 RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
15167 var _ = this;
15168 _._box_0 = t0;
15169 _.trailing = t1;
15170 _.emit = t2;
15171 _.sink = t3;
15172 },
15173 RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
15174 this._box_0 = t0;
15175 this.trailing = t1;
15176 this.S = t2;
15177 },
15178 StringScannerException$(message, span, source) {
15179 return new A.StringScannerException(source, message, span);
15180 },
15181 StringScannerException: function StringScannerException(t0, t1, t2) {
15182 this.source = t0;
15183 this._span_exception$_message = t1;
15184 this._span = t2;
15185 },
15186 LineScanner$(string) {
15187 return new A.LineScanner(null, string);
15188 },
15189 LineScanner: function LineScanner(t0, t1) {
15190 var _ = this;
15191 _._line_scanner$_column = _._line_scanner$_line = 0;
15192 _.sourceUrl = t0;
15193 _.string = t1;
15194 _._string_scanner$_position = 0;
15195 _._lastMatchPosition = _._lastMatch = null;
15196 },
15197 SpanScanner$(string, sourceUrl) {
15198 var t2,
15199 t1 = A.SourceFile$fromString(string, sourceUrl);
15200 if (sourceUrl == null)
15201 t2 = null;
15202 else
15203 t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
15204 return new A.SpanScanner(t1, t2, string);
15205 },
15206 SpanScanner: function SpanScanner(t0, t1, t2) {
15207 var _ = this;
15208 _._sourceFile = t0;
15209 _.sourceUrl = t1;
15210 _.string = t2;
15211 _._string_scanner$_position = 0;
15212 _._lastMatchPosition = _._lastMatch = null;
15213 },
15214 _SpanScannerState: function _SpanScannerState(t0, t1) {
15215 this._scanner = t0;
15216 this.position = t1;
15217 },
15218 StringScanner$(string, position, sourceUrl) {
15219 var t1;
15220 if (sourceUrl == null)
15221 t1 = null;
15222 else
15223 t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
15224 return new A.StringScanner(t1, string);
15225 },
15226 StringScanner: function StringScanner(t0, t1) {
15227 var _ = this;
15228 _.sourceUrl = t0;
15229 _.string = t1;
15230 _._string_scanner$_position = 0;
15231 _._lastMatchPosition = _._lastMatch = null;
15232 },
15233 AsciiGlyphSet: function AsciiGlyphSet() {
15234 },
15235 UnicodeGlyphSet: function UnicodeGlyphSet() {
15236 },
15237 Tuple2: function Tuple2(t0, t1, t2) {
15238 this.item1 = t0;
15239 this.item2 = t1;
15240 this.$ti = t2;
15241 },
15242 Tuple3: function Tuple3(t0, t1, t2, t3) {
15243 var _ = this;
15244 _.item1 = t0;
15245 _.item2 = t1;
15246 _.item3 = t2;
15247 _.$ti = t3;
15248 },
15249 Tuple4: function Tuple4(t0, t1, t2, t3, t4) {
15250 var _ = this;
15251 _.item1 = t0;
15252 _.item2 = t1;
15253 _.item3 = t2;
15254 _.item4 = t3;
15255 _.$ti = t4;
15256 },
15257 WatchEvent: function WatchEvent(t0, t1) {
15258 this.type = t0;
15259 this.path = t1;
15260 },
15261 ChangeType: function ChangeType(t0) {
15262 this._watch_event$_name = t0;
15263 },
15264 SupportsAnything0: function SupportsAnything0(t0, t1) {
15265 this.contents = t0;
15266 this.span = t1;
15267 },
15268 Argument0: function Argument0(t0, t1, t2) {
15269 this.name = t0;
15270 this.defaultValue = t1;
15271 this.span = t2;
15272 },
15273 ArgumentDeclaration_ArgumentDeclaration$parse0(contents, url) {
15274 return A.ScssParser$0(contents, null, url).parseArgumentDeclaration$0();
15275 },
15276 ArgumentDeclaration0: function ArgumentDeclaration0(t0, t1, t2) {
15277 this.$arguments = t0;
15278 this.restArgument = t1;
15279 this.span = t2;
15280 },
15281 ArgumentDeclaration_verify_closure1: function ArgumentDeclaration_verify_closure1() {
15282 },
15283 ArgumentDeclaration_verify_closure2: function ArgumentDeclaration_verify_closure2() {
15284 },
15285 ArgumentInvocation$empty0(span) {
15286 return new A.ArgumentInvocation0(B.List_empty17, B.Map_empty9, null, null, span);
15287 },
15288 ArgumentInvocation0: function ArgumentInvocation0(t0, t1, t2, t3, t4) {
15289 var _ = this;
15290 _.positional = t0;
15291 _.named = t1;
15292 _.rest = t2;
15293 _.keywordRest = t3;
15294 _.span = t4;
15295 },
15296 argumentListClass_closure: function argumentListClass_closure() {
15297 },
15298 argumentListClass__closure: function argumentListClass__closure() {
15299 },
15300 argumentListClass__closure0: function argumentListClass__closure0() {
15301 },
15302 SassArgumentList$0(contents, keywords, separator) {
15303 var t1 = type$.Value_2;
15304 t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
15305 t1.SassList$3$brackets0(contents, separator, false);
15306 return t1;
15307 },
15308 SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
15309 var _ = this;
15310 _._argument_list$_keywords = t0;
15311 _._argument_list$_wereKeywordsAccessed = false;
15312 _._list1$_contents = t1;
15313 _._list1$_separator = t2;
15314 _._list1$_hasBrackets = t3;
15315 },
15316 JSArray1: function JSArray1() {
15317 },
15318 AsyncImporter0: function AsyncImporter0() {
15319 },
15320 NodeToDartAsyncImporter: function NodeToDartAsyncImporter(t0, t1) {
15321 this._async0$_canonicalize = t0;
15322 this._load = t1;
15323 },
15324 AsyncBuiltInCallable$mixin0($name, $arguments, callback, url) {
15325 return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback));
15326 },
15327 AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2) {
15328 this.name = t0;
15329 this._async_built_in0$_arguments = t1;
15330 this._async_built_in0$_callback = t2;
15331 },
15332 AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
15333 this.callback = t0;
15334 },
15335 compileAsync0(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
15336 var $async$goto = 0,
15337 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15338 $async$returnValue, terseLogger, t1, t2, t3, stylesheet, t4, result;
15339 var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15340 if ($async$errorCode === 1)
15341 return A._asyncRethrow($async$result, $async$completer);
15342 while (true)
15343 switch ($async$goto) {
15344 case 0:
15345 // Function start
15346 if (!verbose) {
15347 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
15348 logger = terseLogger;
15349 } else
15350 terseLogger = null;
15351 t1 = nodeImporter == null;
15352 if (t1)
15353 t2 = syntax == null || syntax === A.Syntax_forPath0(path);
15354 else
15355 t2 = false;
15356 $async$goto = t2 ? 3 : 5;
15357 break;
15358 case 3:
15359 // then
15360 if (importCache == null)
15361 importCache = A.AsyncImportCache$none(logger);
15362 t2 = $.$get$context();
15363 t3 = t2.absolute$7(".", null, null, null, null, null, null);
15364 $async$goto = 6;
15365 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);
15366 case 6:
15367 // returning from await.
15368 t3 = $async$result;
15369 t3.toString;
15370 stylesheet = t3;
15371 // goto join
15372 $async$goto = 4;
15373 break;
15374 case 5:
15375 // else
15376 t2 = A.readFile0(path);
15377 t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
15378 t4 = $.$get$context();
15379 stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
15380 t2 = t4;
15381 case 4:
15382 // join
15383 $async$goto = 7;
15384 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);
15385 case 7:
15386 // returning from await.
15387 result = $async$result;
15388 if (terseLogger != null)
15389 terseLogger.summarize$1$node(!t1);
15390 $async$returnValue = result;
15391 // goto return
15392 $async$goto = 1;
15393 break;
15394 case 1:
15395 // return
15396 return A._asyncReturn($async$returnValue, $async$completer);
15397 }
15398 });
15399 return A._asyncStartSync($async$compileAsync0, $async$completer);
15400 },
15401 compileStringAsync0(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
15402 var $async$goto = 0,
15403 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15404 $async$returnValue, terseLogger, stylesheet, result;
15405 var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15406 if ($async$errorCode === 1)
15407 return A._asyncRethrow($async$result, $async$completer);
15408 while (true)
15409 switch ($async$goto) {
15410 case 0:
15411 // Function start
15412 if (!verbose) {
15413 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
15414 logger = terseLogger;
15415 } else
15416 terseLogger = null;
15417 stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS0 : syntax, logger, url);
15418 $async$goto = 3;
15419 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);
15420 case 3:
15421 // returning from await.
15422 result = $async$result;
15423 if (terseLogger != null)
15424 terseLogger.summarize$1$node(nodeImporter != null);
15425 $async$returnValue = result;
15426 // goto return
15427 $async$goto = 1;
15428 break;
15429 case 1:
15430 // return
15431 return A._asyncReturn($async$returnValue, $async$completer);
15432 }
15433 });
15434 return A._asyncStartSync($async$compileStringAsync0, $async$completer);
15435 },
15436 _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
15437 var $async$goto = 0,
15438 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15439 $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
15440 var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15441 if ($async$errorCode === 1)
15442 return A._asyncRethrow($async$result, $async$completer);
15443 while (true)
15444 switch ($async$goto) {
15445 case 0:
15446 // Function start
15447 $async$goto = 3;
15448 return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
15449 case 3:
15450 // returning from await.
15451 evaluateResult = $async$result;
15452 serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces);
15453 resultSourceMap = serializeResult.sourceMap;
15454 if (resultSourceMap != null && importCache != null)
15455 A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
15456 $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
15457 // goto return
15458 $async$goto = 1;
15459 break;
15460 case 1:
15461 // return
15462 return A._asyncReturn($async$returnValue, $async$completer);
15463 }
15464 });
15465 return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
15466 },
15467 _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
15468 this.stylesheet = t0;
15469 this.importCache = t1;
15470 },
15471 AsyncEnvironment$0() {
15472 var t1 = type$.String,
15473 t2 = type$.Module_AsyncCallable_2,
15474 t3 = type$.AstNode_2,
15475 t4 = type$.int,
15476 t5 = type$.AsyncCallable_2,
15477 t6 = type$.JSArray_Map_String_AsyncCallable_2;
15478 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);
15479 },
15480 AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
15481 var t1 = type$.String,
15482 t2 = type$.int;
15483 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);
15484 },
15485 _EnvironmentModule__EnvironmentModule2(environment, css, extensionStore, forwarded) {
15486 var t1, t2, t3, t4, t5, t6;
15487 if (forwarded == null)
15488 forwarded = B.Set_empty3;
15489 t1 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
15490 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);
15491 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);
15492 t4 = type$.Map_String_AsyncCallable_2;
15493 t5 = type$.AsyncCallable_2;
15494 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);
15495 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);
15496 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure21());
15497 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()));
15498 },
15499 _EnvironmentModule__makeModulesByVariable2(forwarded) {
15500 var modulesByVariable, t1, t2, t3, t4, t5;
15501 if (forwarded.get$isEmpty(forwarded))
15502 return B.Map_empty10;
15503 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
15504 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
15505 t2 = t1.get$current(t1);
15506 if (t2 instanceof A._EnvironmentModule2) {
15507 for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
15508 t4 = t3.get$current(t3);
15509 t5 = t4.get$variables();
15510 A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
15511 }
15512 A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
15513 } else {
15514 t3 = t2.get$variables();
15515 A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
15516 }
15517 }
15518 return modulesByVariable;
15519 },
15520 _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
15521 var t1, t2, t3;
15522 localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
15523 if (otherMaps.get$isEmpty(otherMaps))
15524 return localMap;
15525 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
15526 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
15527 t3 = t2.get$current(t2);
15528 if (t3.get$isNotEmpty(t3))
15529 t1.push(t3);
15530 }
15531 t1.push(localMap);
15532 if (t1.length === 1)
15533 return localMap;
15534 return A.MergedMapView$0(t1, type$.String, $V);
15535 },
15536 _EnvironmentModule$_2(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
15537 return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
15538 },
15539 AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
15540 var _ = this;
15541 _._async_environment0$_modules = t0;
15542 _._async_environment0$_namespaceNodes = t1;
15543 _._async_environment0$_globalModules = t2;
15544 _._async_environment0$_importedModules = t3;
15545 _._async_environment0$_forwardedModules = t4;
15546 _._async_environment0$_nestedForwardedModules = t5;
15547 _._async_environment0$_allModules = t6;
15548 _._async_environment0$_variables = t7;
15549 _._async_environment0$_variableNodes = t8;
15550 _._async_environment0$_variableIndices = t9;
15551 _._async_environment0$_functions = t10;
15552 _._async_environment0$_functionIndices = t11;
15553 _._async_environment0$_mixins = t12;
15554 _._async_environment0$_mixinIndices = t13;
15555 _._async_environment0$_content = t14;
15556 _._async_environment0$_inMixin = false;
15557 _._async_environment0$_inSemiGlobalScope = true;
15558 _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
15559 },
15560 AsyncEnvironment_importForwards_closure2: function AsyncEnvironment_importForwards_closure2() {
15561 },
15562 AsyncEnvironment_importForwards_closure3: function AsyncEnvironment_importForwards_closure3() {
15563 },
15564 AsyncEnvironment_importForwards_closure4: function AsyncEnvironment_importForwards_closure4() {
15565 },
15566 AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
15567 this.name = t0;
15568 },
15569 AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
15570 this.$this = t0;
15571 this.name = t1;
15572 },
15573 AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
15574 this.name = t0;
15575 },
15576 AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
15577 this.$this = t0;
15578 this.name = t1;
15579 },
15580 AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
15581 this.name = t0;
15582 },
15583 AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
15584 this.name = t0;
15585 },
15586 AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
15587 },
15588 AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
15589 },
15590 AsyncEnvironment__fromOneModule_closure0: function AsyncEnvironment__fromOneModule_closure0(t0, t1) {
15591 this.callback = t0;
15592 this.T = t1;
15593 },
15594 AsyncEnvironment__fromOneModule__closure0: function AsyncEnvironment__fromOneModule__closure0(t0, t1) {
15595 this.entry = t0;
15596 this.T = t1;
15597 },
15598 _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
15599 var _ = this;
15600 _.upstream = t0;
15601 _.variables = t1;
15602 _.variableNodes = t2;
15603 _.functions = t3;
15604 _.mixins = t4;
15605 _.extensionStore = t5;
15606 _.css = t6;
15607 _.transitivelyContainsCss = t7;
15608 _.transitivelyContainsExtensions = t8;
15609 _._async_environment0$_environment = t9;
15610 _._async_environment0$_modulesByVariable = t10;
15611 },
15612 _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
15613 },
15614 _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
15615 },
15616 _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
15617 },
15618 _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
15619 },
15620 _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
15621 },
15622 _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
15623 },
15624 _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
15625 var t4,
15626 t1 = type$.Uri,
15627 t2 = type$.Module_AsyncCallable_2,
15628 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
15629 if (nodeImporter == null)
15630 t4 = importCache == null ? A.AsyncImportCache$none(logger) : importCache;
15631 else
15632 t4 = null;
15633 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);
15634 t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
15635 return t1;
15636 },
15637 _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
15638 var _ = this;
15639 _._async_evaluate0$_importCache = t0;
15640 _._async_evaluate0$_nodeImporter = t1;
15641 _._async_evaluate0$_builtInFunctions = t2;
15642 _._async_evaluate0$_builtInModules = t3;
15643 _._async_evaluate0$_modules = t4;
15644 _._async_evaluate0$_moduleNodes = t5;
15645 _._async_evaluate0$_logger = t6;
15646 _._async_evaluate0$_warningsEmitted = t7;
15647 _._async_evaluate0$_quietDeps = t8;
15648 _._async_evaluate0$_sourceMap = t9;
15649 _._async_evaluate0$_environment = t10;
15650 _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
15651 _._async_evaluate0$_member = "root stylesheet";
15652 _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = _._async_evaluate0$_currentCallable = null;
15653 _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
15654 _._async_evaluate0$_loadedUrls = t11;
15655 _._async_evaluate0$_activeModules = t12;
15656 _._async_evaluate0$_stack = t13;
15657 _._async_evaluate0$_importer = null;
15658 _._async_evaluate0$_inDependency = false;
15659 _._async_evaluate0$__extensionStore = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
15660 _._async_evaluate0$_configuration = t14;
15661 },
15662 _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
15663 this.$this = t0;
15664 },
15665 _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
15666 this.$this = t0;
15667 },
15668 _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
15669 this.$this = t0;
15670 },
15671 _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
15672 this.$this = t0;
15673 },
15674 _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
15675 this.$this = t0;
15676 },
15677 _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
15678 this.$this = t0;
15679 },
15680 _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
15681 this.$this = t0;
15682 },
15683 _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
15684 this.$this = t0;
15685 },
15686 _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
15687 this.$this = t0;
15688 this.name = t1;
15689 this.module = t2;
15690 },
15691 _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
15692 this.$this = t0;
15693 },
15694 _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
15695 this.$this = t0;
15696 },
15697 _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0, t1, t2) {
15698 this.values = t0;
15699 this.span = t1;
15700 this.callableNode = t2;
15701 },
15702 _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0) {
15703 this.$this = t0;
15704 },
15705 _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
15706 this.$this = t0;
15707 this.node = t1;
15708 this.importer = t2;
15709 },
15710 _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
15711 this.callback = t0;
15712 this.builtInModule = t1;
15713 },
15714 _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
15715 var _ = this;
15716 _.$this = t0;
15717 _.url = t1;
15718 _.nodeWithSpan = t2;
15719 _.baseUrl = t3;
15720 _.namesInErrors = t4;
15721 _.configuration = t5;
15722 _.callback = t6;
15723 },
15724 _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1) {
15725 this.$this = t0;
15726 this.message = t1;
15727 },
15728 _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5) {
15729 var _ = this;
15730 _.$this = t0;
15731 _.importer = t1;
15732 _.stylesheet = t2;
15733 _.extensionStore = t3;
15734 _.configuration = t4;
15735 _.css = t5;
15736 },
15737 _EvaluateVisitor__combineCss_closure8: function _EvaluateVisitor__combineCss_closure8() {
15738 },
15739 _EvaluateVisitor__combineCss_closure9: function _EvaluateVisitor__combineCss_closure9(t0) {
15740 this.selectors = t0;
15741 },
15742 _EvaluateVisitor__combineCss_closure10: function _EvaluateVisitor__combineCss_closure10() {
15743 },
15744 _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
15745 this.originalSelectors = t0;
15746 },
15747 _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
15748 },
15749 _EvaluateVisitor__topologicalModules_visitModule2: function _EvaluateVisitor__topologicalModules_visitModule2(t0, t1) {
15750 this.seen = t0;
15751 this.sorted = t1;
15752 },
15753 _EvaluateVisitor_visitAtRootRule_closure8: function _EvaluateVisitor_visitAtRootRule_closure8(t0, t1) {
15754 this.$this = t0;
15755 this.resolved = t1;
15756 },
15757 _EvaluateVisitor_visitAtRootRule_closure9: function _EvaluateVisitor_visitAtRootRule_closure9(t0, t1) {
15758 this.$this = t0;
15759 this.node = t1;
15760 },
15761 _EvaluateVisitor_visitAtRootRule_closure10: function _EvaluateVisitor_visitAtRootRule_closure10(t0, t1) {
15762 this.$this = t0;
15763 this.node = t1;
15764 },
15765 _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
15766 this.$this = t0;
15767 this.newParent = t1;
15768 this.node = t2;
15769 },
15770 _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
15771 this.$this = t0;
15772 this.innerScope = t1;
15773 },
15774 _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
15775 this.$this = t0;
15776 this.innerScope = t1;
15777 },
15778 _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
15779 this.innerScope = t0;
15780 this.callback = t1;
15781 },
15782 _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
15783 this.$this = t0;
15784 this.innerScope = t1;
15785 },
15786 _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
15787 },
15788 _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
15789 this.$this = t0;
15790 this.innerScope = t1;
15791 },
15792 _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
15793 this.$this = t0;
15794 this.content = t1;
15795 },
15796 _EvaluateVisitor_visitDeclaration_closure5: function _EvaluateVisitor_visitDeclaration_closure5(t0) {
15797 this.$this = t0;
15798 },
15799 _EvaluateVisitor_visitDeclaration_closure6: function _EvaluateVisitor_visitDeclaration_closure6(t0, t1) {
15800 this.$this = t0;
15801 this.children = t1;
15802 },
15803 _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
15804 this.$this = t0;
15805 this.node = t1;
15806 this.nodeWithSpan = t2;
15807 },
15808 _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
15809 this.$this = t0;
15810 this.node = t1;
15811 this.nodeWithSpan = t2;
15812 },
15813 _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
15814 var _ = this;
15815 _.$this = t0;
15816 _.list = t1;
15817 _.setVariables = t2;
15818 _.node = t3;
15819 },
15820 _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
15821 this.$this = t0;
15822 this.setVariables = t1;
15823 this.node = t2;
15824 },
15825 _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
15826 this.$this = t0;
15827 },
15828 _EvaluateVisitor_visitExtendRule_closure2: function _EvaluateVisitor_visitExtendRule_closure2(t0, t1) {
15829 this.$this = t0;
15830 this.targetText = t1;
15831 },
15832 _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
15833 this.$this = t0;
15834 },
15835 _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1) {
15836 this.$this = t0;
15837 this.children = t1;
15838 },
15839 _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
15840 this.$this = t0;
15841 this.children = t1;
15842 },
15843 _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
15844 },
15845 _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
15846 this.$this = t0;
15847 this.node = t1;
15848 },
15849 _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
15850 this.$this = t0;
15851 this.node = t1;
15852 },
15853 _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
15854 this.fromNumber = t0;
15855 },
15856 _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
15857 this.toNumber = t0;
15858 this.fromNumber = t1;
15859 },
15860 _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
15861 var _ = this;
15862 _._box_0 = t0;
15863 _.$this = t1;
15864 _.node = t2;
15865 _.from = t3;
15866 _.direction = t4;
15867 _.fromNumber = t5;
15868 },
15869 _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
15870 this.$this = t0;
15871 },
15872 _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
15873 this.$this = t0;
15874 this.node = t1;
15875 },
15876 _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
15877 this.$this = t0;
15878 this.node = t1;
15879 },
15880 _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0, t1) {
15881 this._box_0 = t0;
15882 this.$this = t1;
15883 },
15884 _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0) {
15885 this.$this = t0;
15886 },
15887 _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
15888 this.$this = t0;
15889 this.$import = t1;
15890 },
15891 _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
15892 this.$this = t0;
15893 },
15894 _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
15895 },
15896 _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
15897 },
15898 _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4, t5) {
15899 var _ = this;
15900 _.$this = t0;
15901 _.result = t1;
15902 _.stylesheet = t2;
15903 _.loadsUserDefinedModules = t3;
15904 _.environment = t4;
15905 _.children = t5;
15906 },
15907 _EvaluateVisitor__visitStaticImport_closure2: function _EvaluateVisitor__visitStaticImport_closure2(t0) {
15908 this.$this = t0;
15909 },
15910 _EvaluateVisitor_visitIncludeRule_closure11: function _EvaluateVisitor_visitIncludeRule_closure11(t0, t1) {
15911 this.$this = t0;
15912 this.node = t1;
15913 },
15914 _EvaluateVisitor_visitIncludeRule_closure12: function _EvaluateVisitor_visitIncludeRule_closure12(t0) {
15915 this.node = t0;
15916 },
15917 _EvaluateVisitor_visitIncludeRule_closure14: function _EvaluateVisitor_visitIncludeRule_closure14(t0) {
15918 this.$this = t0;
15919 },
15920 _EvaluateVisitor_visitIncludeRule_closure13: function _EvaluateVisitor_visitIncludeRule_closure13(t0, t1, t2, t3) {
15921 var _ = this;
15922 _.$this = t0;
15923 _.contentCallable = t1;
15924 _.mixin = t2;
15925 _.nodeWithSpan = t3;
15926 },
15927 _EvaluateVisitor_visitIncludeRule__closure2: function _EvaluateVisitor_visitIncludeRule__closure2(t0, t1, t2) {
15928 this.$this = t0;
15929 this.mixin = t1;
15930 this.nodeWithSpan = t2;
15931 },
15932 _EvaluateVisitor_visitIncludeRule___closure2: function _EvaluateVisitor_visitIncludeRule___closure2(t0, t1, t2) {
15933 this.$this = t0;
15934 this.mixin = t1;
15935 this.nodeWithSpan = t2;
15936 },
15937 _EvaluateVisitor_visitIncludeRule____closure2: function _EvaluateVisitor_visitIncludeRule____closure2(t0, t1) {
15938 this.$this = t0;
15939 this.statement = t1;
15940 },
15941 _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
15942 this.$this = t0;
15943 this.queries = t1;
15944 },
15945 _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3) {
15946 var _ = this;
15947 _.$this = t0;
15948 _.mergedQueries = t1;
15949 _.queries = t2;
15950 _.node = t3;
15951 },
15952 _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
15953 this.$this = t0;
15954 this.node = t1;
15955 },
15956 _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
15957 this.$this = t0;
15958 this.node = t1;
15959 },
15960 _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
15961 this.mergedQueries = t0;
15962 },
15963 _EvaluateVisitor__visitMediaQueries_closure2: function _EvaluateVisitor__visitMediaQueries_closure2(t0, t1) {
15964 this.$this = t0;
15965 this.resolved = t1;
15966 },
15967 _EvaluateVisitor_visitStyleRule_closure20: function _EvaluateVisitor_visitStyleRule_closure20(t0, t1) {
15968 this.$this = t0;
15969 this.selectorText = t1;
15970 },
15971 _EvaluateVisitor_visitStyleRule_closure21: function _EvaluateVisitor_visitStyleRule_closure21(t0, t1) {
15972 this.$this = t0;
15973 this.node = t1;
15974 },
15975 _EvaluateVisitor_visitStyleRule_closure22: function _EvaluateVisitor_visitStyleRule_closure22() {
15976 },
15977 _EvaluateVisitor_visitStyleRule_closure23: function _EvaluateVisitor_visitStyleRule_closure23(t0, t1) {
15978 this.$this = t0;
15979 this.selectorText = t1;
15980 },
15981 _EvaluateVisitor_visitStyleRule_closure24: function _EvaluateVisitor_visitStyleRule_closure24(t0, t1) {
15982 this._box_0 = t0;
15983 this.$this = t1;
15984 },
15985 _EvaluateVisitor_visitStyleRule_closure25: function _EvaluateVisitor_visitStyleRule_closure25(t0, t1, t2) {
15986 this.$this = t0;
15987 this.rule = t1;
15988 this.node = t2;
15989 },
15990 _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
15991 this.$this = t0;
15992 this.node = t1;
15993 },
15994 _EvaluateVisitor_visitStyleRule_closure26: function _EvaluateVisitor_visitStyleRule_closure26() {
15995 },
15996 _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
15997 this.$this = t0;
15998 this.node = t1;
15999 },
16000 _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
16001 this.$this = t0;
16002 this.node = t1;
16003 },
16004 _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
16005 },
16006 _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
16007 this.$this = t0;
16008 this.node = t1;
16009 this.override = t2;
16010 },
16011 _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
16012 this.$this = t0;
16013 this.node = t1;
16014 },
16015 _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
16016 this.$this = t0;
16017 this.node = t1;
16018 this.value = t2;
16019 },
16020 _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
16021 this.$this = t0;
16022 this.node = t1;
16023 },
16024 _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
16025 this.$this = t0;
16026 this.node = t1;
16027 },
16028 _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
16029 this.$this = t0;
16030 this.node = t1;
16031 },
16032 _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
16033 this.$this = t0;
16034 },
16035 _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
16036 this.$this = t0;
16037 this.node = t1;
16038 },
16039 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2() {
16040 },
16041 _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
16042 this.$this = t0;
16043 this.node = t1;
16044 },
16045 _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
16046 this.node = t0;
16047 this.operand = t1;
16048 },
16049 _EvaluateVisitor__visitCalculationValue_closure2: function _EvaluateVisitor__visitCalculationValue_closure2(t0, t1, t2) {
16050 this.$this = t0;
16051 this.node = t1;
16052 this.inMinMax = t2;
16053 },
16054 _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
16055 this.$this = t0;
16056 },
16057 _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
16058 this.$this = t0;
16059 this.node = t1;
16060 },
16061 _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6(t0, t1, t2) {
16062 this._box_0 = t0;
16063 this.$this = t1;
16064 this.node = t2;
16065 },
16066 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
16067 this.$this = t0;
16068 this.node = t1;
16069 this.$function = t2;
16070 },
16071 _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
16072 var _ = this;
16073 _.$this = t0;
16074 _.callable = t1;
16075 _.evaluated = t2;
16076 _.nodeWithSpan = t3;
16077 _.run = t4;
16078 _.V = t5;
16079 },
16080 _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
16081 var _ = this;
16082 _.$this = t0;
16083 _.evaluated = t1;
16084 _.callable = t2;
16085 _.nodeWithSpan = t3;
16086 _.run = t4;
16087 _.V = t5;
16088 },
16089 _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
16090 var _ = this;
16091 _.$this = t0;
16092 _.evaluated = t1;
16093 _.callable = t2;
16094 _.nodeWithSpan = t3;
16095 _.run = t4;
16096 _.V = t5;
16097 },
16098 _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
16099 },
16100 _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
16101 this.$this = t0;
16102 this.callable = t1;
16103 },
16104 _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
16105 this.overload = t0;
16106 this.evaluated = t1;
16107 this.namedSet = t2;
16108 },
16109 _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6() {
16110 },
16111 _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
16112 },
16113 _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
16114 this.$this = t0;
16115 this.restNodeForSpan = t1;
16116 },
16117 _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
16118 var _ = this;
16119 _.$this = t0;
16120 _.named = t1;
16121 _.restNodeForSpan = t2;
16122 _.namedNodes = t3;
16123 },
16124 _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
16125 },
16126 _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
16127 this.restArgs = t0;
16128 },
16129 _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
16130 this.$this = t0;
16131 this.restNodeForSpan = t1;
16132 this.restArgs = t2;
16133 },
16134 _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
16135 var _ = this;
16136 _.$this = t0;
16137 _.named = t1;
16138 _.restNodeForSpan = t2;
16139 _.restArgs = t3;
16140 },
16141 _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
16142 this.$this = t0;
16143 this.keywordRestNodeForSpan = t1;
16144 this.keywordRestArgs = t2;
16145 },
16146 _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
16147 var _ = this;
16148 _.$this = t0;
16149 _.values = t1;
16150 _.convert = t2;
16151 _.expressionNode = t3;
16152 _.map = t4;
16153 _.nodeWithSpan = t5;
16154 },
16155 _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
16156 this.$arguments = t0;
16157 this.positional = t1;
16158 this.named = t2;
16159 },
16160 _EvaluateVisitor_visitStringExpression_closure2: function _EvaluateVisitor_visitStringExpression_closure2(t0) {
16161 this.$this = t0;
16162 },
16163 _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
16164 this.$this = t0;
16165 this.node = t1;
16166 },
16167 _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
16168 },
16169 _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
16170 this.$this = t0;
16171 this.node = t1;
16172 },
16173 _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
16174 },
16175 _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
16176 this.$this = t0;
16177 this.node = t1;
16178 },
16179 _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2) {
16180 this.$this = t0;
16181 this.mergedQueries = t1;
16182 this.node = t2;
16183 },
16184 _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
16185 this.$this = t0;
16186 this.node = t1;
16187 },
16188 _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
16189 this.$this = t0;
16190 this.node = t1;
16191 },
16192 _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
16193 this.mergedQueries = t0;
16194 },
16195 _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5(t0, t1, t2) {
16196 this.$this = t0;
16197 this.rule = t1;
16198 this.node = t2;
16199 },
16200 _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
16201 this.$this = t0;
16202 this.node = t1;
16203 },
16204 _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6() {
16205 },
16206 _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
16207 this.$this = t0;
16208 this.node = t1;
16209 },
16210 _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
16211 this.$this = t0;
16212 this.node = t1;
16213 },
16214 _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
16215 },
16216 _EvaluateVisitor__performInterpolation_closure2: function _EvaluateVisitor__performInterpolation_closure2(t0, t1, t2) {
16217 this.$this = t0;
16218 this.warnForColor = t1;
16219 this.interpolation = t2;
16220 },
16221 _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
16222 this.value = t0;
16223 this.quote = t1;
16224 },
16225 _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
16226 this.$this = t0;
16227 this.expression = t1;
16228 },
16229 _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
16230 },
16231 _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
16232 this.$this = t0;
16233 },
16234 _EvaluateVisitor__stackTrace_closure2: function _EvaluateVisitor__stackTrace_closure2(t0) {
16235 this.$this = t0;
16236 },
16237 _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
16238 this._async_evaluate0$_visitor = t0;
16239 },
16240 _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
16241 },
16242 _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
16243 this.hasBeenMerged = t0;
16244 },
16245 _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
16246 },
16247 _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
16248 },
16249 EvaluateResult0: function EvaluateResult0(t0, t1) {
16250 this.stylesheet = t0;
16251 this.loadedUrls = t1;
16252 },
16253 _EvaluationContext2: function _EvaluationContext2(t0, t1) {
16254 this._async_evaluate0$_visitor = t0;
16255 this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
16256 },
16257 _ArgumentResults2: function _ArgumentResults2(t0, t1, t2, t3, t4) {
16258 var _ = this;
16259 _.positional = t0;
16260 _.positionalNodes = t1;
16261 _.named = t2;
16262 _.namedNodes = t3;
16263 _.separator = t4;
16264 },
16265 _LoadedStylesheet2: function _LoadedStylesheet2(t0, t1, t2) {
16266 this.stylesheet = t0;
16267 this.importer = t1;
16268 this.isDependency = t2;
16269 },
16270 NodeToDartAsyncFileImporter: function NodeToDartAsyncFileImporter(t0) {
16271 this._findFileUrl = t0;
16272 },
16273 AsyncImportCache$(importers, loadPaths, logger, packageConfig) {
16274 var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
16275 t2 = type$.Uri,
16276 t3 = A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig);
16277 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));
16278 },
16279 AsyncImportCache$none(logger) {
16280 var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
16281 t2 = type$.Uri;
16282 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));
16283 },
16284 AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
16285 var t2, t3, _i, path, _null = null,
16286 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
16287 t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
16288 if (importers != null)
16289 B.JSArray_methods.addAll$1(t1, importers);
16290 if (loadPaths != null)
16291 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
16292 t3 = t2.get$current(t2);
16293 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
16294 }
16295 if (sassPath != null) {
16296 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
16297 t3 = t2.length;
16298 _i = 0;
16299 for (; _i < t3; ++_i) {
16300 path = t2[_i];
16301 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
16302 }
16303 }
16304 return t1;
16305 },
16306 AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5) {
16307 var _ = this;
16308 _._async_import_cache0$_importers = t0;
16309 _._async_import_cache0$_logger = t1;
16310 _._async_import_cache0$_canonicalizeCache = t2;
16311 _._async_import_cache0$_relativeCanonicalizeCache = t3;
16312 _._async_import_cache0$_importCache = t4;
16313 _._async_import_cache0$_resultsCache = t5;
16314 },
16315 AsyncImportCache_canonicalize_closure1: function AsyncImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
16316 var _ = this;
16317 _.$this = t0;
16318 _.baseUrl = t1;
16319 _.url = t2;
16320 _.baseImporter = t3;
16321 _.forImport = t4;
16322 },
16323 AsyncImportCache_canonicalize_closure2: function AsyncImportCache_canonicalize_closure2(t0, t1, t2) {
16324 this.$this = t0;
16325 this.url = t1;
16326 this.forImport = t2;
16327 },
16328 AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
16329 this.importer = t0;
16330 this.url = t1;
16331 },
16332 AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
16333 var _ = this;
16334 _.$this = t0;
16335 _.importer = t1;
16336 _.canonicalUrl = t2;
16337 _.originalUrl = t3;
16338 _.quiet = t4;
16339 },
16340 AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
16341 this.canonicalUrl = t0;
16342 },
16343 AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3() {
16344 },
16345 AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
16346 },
16347 AtRootQueryParser0: function AtRootQueryParser0(t0, t1) {
16348 this.scanner = t0;
16349 this.logger = t1;
16350 },
16351 AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
16352 this.$this = t0;
16353 },
16354 AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
16355 var _ = this;
16356 _.include = t0;
16357 _.names = t1;
16358 _._at_root_query0$_all = t2;
16359 _._at_root_query0$_rule = t3;
16360 },
16361 AtRootRule$0(children, span, query) {
16362 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
16363 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
16364 return new A.AtRootRule0(query, span, t1, t2);
16365 },
16366 AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
16367 var _ = this;
16368 _.query = t0;
16369 _.span = t1;
16370 _.children = t2;
16371 _.hasDeclarations = t3;
16372 },
16373 ModifiableCssAtRule$0($name, span, childless, value) {
16374 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
16375 return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
16376 },
16377 ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
16378 var _ = this;
16379 _.name = t0;
16380 _.value = t1;
16381 _.isChildless = t2;
16382 _.span = t3;
16383 _.children = t4;
16384 _._node1$_children = t5;
16385 _._node1$_indexInParent = _._node1$_parent = null;
16386 _.isGroupEnd = false;
16387 },
16388 AtRule$0($name, span, children, value) {
16389 var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
16390 t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
16391 return new A.AtRule0($name, value, span, t1, t2 === true);
16392 },
16393 AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
16394 var _ = this;
16395 _.name = t0;
16396 _.value = t1;
16397 _.span = t2;
16398 _.children = t3;
16399 _.hasDeclarations = t4;
16400 },
16401 AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3) {
16402 var _ = this;
16403 _.name = t0;
16404 _.op = t1;
16405 _.value = t2;
16406 _.modifier = t3;
16407 },
16408 AttributeOperator0: function AttributeOperator0(t0) {
16409 this._attribute0$_text = t0;
16410 },
16411 BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
16412 var _ = this;
16413 _.operator = t0;
16414 _.left = t1;
16415 _.right = t2;
16416 _.allowsSlash = t3;
16417 },
16418 BinaryOperator0: function BinaryOperator0(t0, t1, t2) {
16419 this.name = t0;
16420 this.operator = t1;
16421 this.precedence = t2;
16422 },
16423 BooleanExpression0: function BooleanExpression0(t0, t1) {
16424 this.value = t0;
16425 this.span = t1;
16426 },
16427 legacyBooleanClass_closure: function legacyBooleanClass_closure() {
16428 },
16429 legacyBooleanClass__closure: function legacyBooleanClass__closure() {
16430 },
16431 legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
16432 },
16433 booleanClass_closure: function booleanClass_closure() {
16434 },
16435 booleanClass__closure: function booleanClass__closure() {
16436 },
16437 SassBoolean0: function SassBoolean0(t0) {
16438 this.value = t0;
16439 },
16440 BuiltInCallable$function0($name, $arguments, callback, url) {
16441 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));
16442 },
16443 BuiltInCallable$mixin0($name, $arguments, callback, url) {
16444 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));
16445 },
16446 BuiltInCallable$parsed($name, $arguments, callback) {
16447 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));
16448 },
16449 BuiltInCallable$overloadedFunction0($name, overloads) {
16450 var t2, t3, t4, t5, t6, t7,
16451 t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2);
16452 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();) {
16453 t6 = t2.get$current(t2);
16454 t7 = A.SpanScanner$("@function " + $name + "(" + A.S(t6.key) + ") {", null);
16455 t1.push(new A.Tuple2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t7, B.StderrLogger_false0).parseArgumentDeclaration$0(), t6.value, t3));
16456 }
16457 return new A.BuiltInCallable0($name, t1);
16458 },
16459 BuiltInCallable0: function BuiltInCallable0(t0, t1) {
16460 this.name = t0;
16461 this._built_in$_overloads = t1;
16462 },
16463 BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
16464 this.callback = t0;
16465 },
16466 BuiltInModule$0($name, functions, mixins, variables, $T) {
16467 var t1 = A._Uri__Uri(null, $name, null, "sass"),
16468 t2 = A.BuiltInModule__callableMap0(functions, $T),
16469 t3 = A.BuiltInModule__callableMap0(mixins, $T),
16470 t4 = variables == null ? B.Map_empty8 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
16471 return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
16472 },
16473 BuiltInModule__callableMap0(callables, $T) {
16474 var t2, _i, callable,
16475 t1 = type$.String;
16476 if (callables == null)
16477 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
16478 else {
16479 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
16480 for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
16481 callable = callables[_i];
16482 t1.$indexSet(0, J.get$name$x(callable), callable);
16483 }
16484 t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
16485 }
16486 return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
16487 },
16488 BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
16489 var _ = this;
16490 _.url = t0;
16491 _.functions = t1;
16492 _.mixins = t2;
16493 _.variables = t3;
16494 _.$ti = t4;
16495 },
16496 CalculationExpression__verifyArguments0($arguments) {
16497 return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure0(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression_2);
16498 },
16499 CalculationExpression__verify0(expression) {
16500 var t1,
16501 _s29_ = "Invalid calculation argument ";
16502 if (expression instanceof A.NumberExpression0)
16503 return;
16504 if (expression instanceof A.CalculationExpression0)
16505 return;
16506 if (expression instanceof A.VariableExpression0)
16507 return;
16508 if (expression instanceof A.FunctionExpression0)
16509 return;
16510 if (expression instanceof A.IfExpression0)
16511 return;
16512 if (expression instanceof A.StringExpression0) {
16513 if (expression.hasQuotes)
16514 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16515 } else if (expression instanceof A.ParenthesizedExpression0)
16516 A.CalculationExpression__verify0(expression.expression);
16517 else if (expression instanceof A.BinaryOperationExpression0) {
16518 A.CalculationExpression__verify0(expression.left);
16519 A.CalculationExpression__verify0(expression.right);
16520 t1 = expression.operator;
16521 if (t1 === B.BinaryOperator_AcR2)
16522 return;
16523 if (t1 === B.BinaryOperator_iyO0)
16524 return;
16525 if (t1 === B.BinaryOperator_O1M0)
16526 return;
16527 if (t1 === B.BinaryOperator_RTB0)
16528 return;
16529 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16530 } else
16531 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16532 },
16533 CalculationExpression0: function CalculationExpression0(t0, t1, t2) {
16534 this.name = t0;
16535 this.$arguments = t1;
16536 this.span = t2;
16537 },
16538 CalculationExpression__verifyArguments_closure0: function CalculationExpression__verifyArguments_closure0() {
16539 },
16540 SassCalculation_calc0(argument) {
16541 argument = A.SassCalculation__simplify0(argument);
16542 if (argument instanceof A.SassNumber0)
16543 return argument;
16544 if (argument instanceof A.SassCalculation0)
16545 return argument;
16546 return new A.SassCalculation0("calc", A.List_List$unmodifiable([argument], type$.Object));
16547 },
16548 SassCalculation_min0($arguments) {
16549 var minimum, _i, arg, t2,
16550 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
16551 t1 = args.length;
16552 if (t1 === 0)
16553 throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
16554 for (minimum = null, _i = 0; _i < t1; ++_i) {
16555 arg = args[_i];
16556 if (arg instanceof A.SassNumber0)
16557 t2 = minimum != null && !minimum.isComparableTo$1(arg);
16558 else
16559 t2 = true;
16560 if (t2) {
16561 minimum = null;
16562 break;
16563 } else if (minimum == null || minimum.greaterThan$1(arg).value)
16564 minimum = arg;
16565 }
16566 if (minimum != null)
16567 return minimum;
16568 A.SassCalculation__verifyCompatibleNumbers0(args);
16569 return new A.SassCalculation0("min", args);
16570 },
16571 SassCalculation_max0($arguments) {
16572 var maximum, _i, arg, t2,
16573 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
16574 t1 = args.length;
16575 if (t1 === 0)
16576 throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
16577 for (maximum = null, _i = 0; _i < t1; ++_i) {
16578 arg = args[_i];
16579 if (arg instanceof A.SassNumber0)
16580 t2 = maximum != null && !maximum.isComparableTo$1(arg);
16581 else
16582 t2 = true;
16583 if (t2) {
16584 maximum = null;
16585 break;
16586 } else if (maximum == null || maximum.lessThan$1(arg).value)
16587 maximum = arg;
16588 }
16589 if (maximum != null)
16590 return maximum;
16591 A.SassCalculation__verifyCompatibleNumbers0(args);
16592 return new A.SassCalculation0("max", args);
16593 },
16594 SassCalculation_clamp0(min, value, max) {
16595 var t1, args;
16596 if (value == null && max != null)
16597 throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
16598 min = A.SassCalculation__simplify0(min);
16599 value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
16600 max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
16601 if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
16602 if (value.lessThanOrEquals$1(min).value)
16603 return min;
16604 if (value.greaterThanOrEquals$1(max).value)
16605 return max;
16606 return value;
16607 }
16608 t1 = [min];
16609 if (value != null)
16610 t1.push(value);
16611 if (max != null)
16612 t1.push(max);
16613 args = A.List_List$unmodifiable(t1, type$.Object);
16614 A.SassCalculation__verifyCompatibleNumbers0(args);
16615 A.SassCalculation__verifyLength0(args, 3);
16616 return new A.SassCalculation0("clamp", args);
16617 },
16618 SassCalculation_operateInternal0(operator, left, right, inMinMax, simplify) {
16619 var t1, t2;
16620 if (!simplify)
16621 return new A.CalculationOperation0(operator, left, right);
16622 left = A.SassCalculation__simplify0(left);
16623 right = A.SassCalculation__simplify0(right);
16624 t1 = operator === B.CalculationOperator_Iem0;
16625 if (t1 || operator === B.CalculationOperator_uti0) {
16626 if (left instanceof A.SassNumber0)
16627 if (right instanceof A.SassNumber0)
16628 t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
16629 else
16630 t2 = false;
16631 else
16632 t2 = false;
16633 if (t2)
16634 return t1 ? left.plus$1(right) : left.minus$1(right);
16635 A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
16636 if (right instanceof A.SassNumber0) {
16637 t2 = right._number1$_value;
16638 t2 = t2 < 0 && !(Math.abs(t2 - 0) < $.$get$epsilon0());
16639 } else
16640 t2 = false;
16641 if (t2) {
16642 right = right.times$1(new A.UnitlessSassNumber0(-1, null));
16643 operator = t1 ? B.CalculationOperator_uti0 : B.CalculationOperator_Iem0;
16644 }
16645 return new A.CalculationOperation0(operator, left, right);
16646 } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
16647 return operator === B.CalculationOperator_Dih0 ? left.times$1(right) : left.dividedBy$1(right);
16648 else
16649 return new A.CalculationOperation0(operator, left, right);
16650 },
16651 SassCalculation__simplify0(arg) {
16652 var _s32_ = " can't be used in a calculation.";
16653 if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationInterpolation0 || arg instanceof A.CalculationOperation0)
16654 return arg;
16655 else if (arg instanceof A.SassString0) {
16656 if (!arg._string0$_hasQuotes)
16657 return arg;
16658 throw A.wrapException(A.SassCalculation__exception0("Quoted string " + arg.toString$0(0) + _s32_));
16659 } else if (arg instanceof A.SassCalculation0)
16660 return arg.name === "calc" ? arg.$arguments[0] : arg;
16661 else if (arg instanceof A.Value0)
16662 throw A.wrapException(A.SassCalculation__exception0("Value " + arg.toString$0(0) + _s32_));
16663 else
16664 throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
16665 },
16666 SassCalculation__verifyCompatibleNumbers0(args) {
16667 var t1, _i, t2, arg, i, number1, j, number2;
16668 for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
16669 arg = args[_i];
16670 if (!(arg instanceof A.SassNumber0))
16671 continue;
16672 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
16673 throw A.wrapException(A.SassCalculation__exception0("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations."));
16674 }
16675 for (t1 = t2, i = 0; i < t1 - 1; ++i) {
16676 number1 = args[i];
16677 if (!(number1 instanceof A.SassNumber0))
16678 continue;
16679 for (j = i + 1; t1 = args.length, j < t1; ++j) {
16680 number2 = args[j];
16681 if (!(number2 instanceof A.SassNumber0))
16682 continue;
16683 if (number1.hasPossiblyCompatibleUnits$1(number2))
16684 continue;
16685 throw A.wrapException(A.SassCalculation__exception0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible."));
16686 }
16687 }
16688 },
16689 SassCalculation__verifyLength0(args, expectedLength) {
16690 var t1 = args.length;
16691 if (t1 === expectedLength)
16692 return;
16693 if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
16694 return;
16695 throw A.wrapException(A.SassCalculation__exception0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed."));
16696 },
16697 SassCalculation__exception0(message) {
16698 return new A.SassScriptException0(message);
16699 },
16700 SassCalculation0: function SassCalculation0(t0, t1) {
16701 this.name = t0;
16702 this.$arguments = t1;
16703 },
16704 SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
16705 },
16706 CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
16707 this.operator = t0;
16708 this.left = t1;
16709 this.right = t2;
16710 },
16711 CalculationOperator0: function CalculationOperator0(t0, t1, t2) {
16712 this.name = t0;
16713 this.operator = t1;
16714 this.precedence = t2;
16715 },
16716 CalculationInterpolation0: function CalculationInterpolation0(t0) {
16717 this.value = t0;
16718 },
16719 CallableDeclaration0: function CallableDeclaration0() {
16720 },
16721 Chokidar0: function Chokidar0() {
16722 },
16723 ChokidarOptions0: function ChokidarOptions0() {
16724 },
16725 ChokidarWatcher0: function ChokidarWatcher0() {
16726 },
16727 ClassSelector0: function ClassSelector0(t0) {
16728 this.name = t0;
16729 },
16730 cloneCssStylesheet0(stylesheet, extensionStore) {
16731 var result = extensionStore.clone$0();
16732 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);
16733 },
16734 _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
16735 this._clone_css$_oldToNewSelectors = t0;
16736 },
16737 ColorExpression0: function ColorExpression0(t0, t1) {
16738 this.value = t0;
16739 this.span = t1;
16740 },
16741 _updateComponents0($arguments, adjust, change, scale) {
16742 var keywords, alpha, red, green, blue, hueNumber, t2, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t3, t4, _null = null,
16743 t1 = J.getInterceptor$asx($arguments),
16744 color = t1.$index($arguments, 0).assertColor$1("color"),
16745 argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
16746 if (argumentList._list1$_contents.length !== 0)
16747 throw A.wrapException(A.SassScriptException$0(string$.Only_op));
16748 argumentList._argument_list$_wereKeywordsAccessed = true;
16749 keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, type$.String, type$.Value_2);
16750 t1 = new A._updateComponents_getParam0(keywords, scale, change);
16751 alpha = t1.call$2("alpha", 1);
16752 red = t1.call$2("red", 255);
16753 green = t1.call$2("green", 255);
16754 blue = t1.call$2("blue", 255);
16755 if (scale)
16756 hueNumber = _null;
16757 else {
16758 t2 = keywords.remove$1(0, "hue");
16759 hueNumber = t2 == null ? _null : t2.assertNumber$1("hue");
16760 }
16761 t2 = hueNumber == null;
16762 if (!t2)
16763 A._checkAngle0(hueNumber, "hue");
16764 hue = t2 ? _null : hueNumber._number1$_value;
16765 saturation = t1.call$3$checkPercent("saturation", 100, true);
16766 lightness = t1.call$3$checkPercent("lightness", 100, true);
16767 whiteness = t1.call$3$assertPercent("whiteness", 100, true);
16768 blackness = t1.call$3$assertPercent("blackness", 100, true);
16769 if (keywords.get$isNotEmpty(keywords))
16770 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")) + "."));
16771 hasRgb = red != null || green != null || blue != null;
16772 hasSL = saturation != null || lightness != null;
16773 hasWB = whiteness != null || blackness != null;
16774 if (hasRgb)
16775 t1 = hasSL || hasWB || hue != null;
16776 else
16777 t1 = false;
16778 if (t1)
16779 throw A.wrapException(A.SassScriptException$0(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters."));
16780 if (hasSL && hasWB)
16781 throw A.wrapException(A.SassScriptException$0(string$.HSL_pa));
16782 t1 = new A._updateComponents_updateValue0(change, adjust);
16783 t2 = new A._updateComponents_updateRgb0(t1);
16784 if (hasRgb) {
16785 t3 = t2.call$2(color.get$red(color), red);
16786 t4 = t2.call$2(color.get$green(color), green);
16787 t2 = t2.call$2(color.get$blue(color), blue);
16788 return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
16789 } else if (hasWB) {
16790 if (change)
16791 t2 = hue;
16792 else {
16793 t2 = color.get$hue(color);
16794 t2 += hue == null ? 0 : hue;
16795 }
16796 t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
16797 t4 = t1.call$3(color.get$blackness(color), blackness, 100);
16798 return color.changeHwb$4$alpha$blackness$hue$whiteness(t1.call$3(color._color1$_alpha, alpha, 1), t4, t2, t3);
16799 } else {
16800 t2 = hue == null;
16801 if (!t2 || hasSL) {
16802 if (change)
16803 t2 = hue;
16804 else {
16805 t3 = color.get$hue(color);
16806 t3 += t2 ? 0 : hue;
16807 t2 = t3;
16808 }
16809 t3 = t1.call$3(color.get$saturation(color), saturation, 100);
16810 t4 = t1.call$3(color.get$lightness(color), lightness, 100);
16811 return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
16812 } else if (alpha != null)
16813 return color.changeAlpha$1(t1.call$3(color._color1$_alpha, alpha, 1));
16814 else
16815 return color;
16816 }
16817 },
16818 _functionString0($name, $arguments) {
16819 return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
16820 },
16821 _removedColorFunction0($name, argument, negative) {
16822 return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
16823 },
16824 _rgb0($name, $arguments) {
16825 var t2, red, green, blue,
16826 t1 = J.getInterceptor$asx($arguments),
16827 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
16828 if (!t1.$index($arguments, 0).get$isSpecialNumber())
16829 if (!t1.$index($arguments, 1).get$isSpecialNumber())
16830 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
16831 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
16832 t2 = t2 === true;
16833 } else
16834 t2 = true;
16835 else
16836 t2 = true;
16837 else
16838 t2 = true;
16839 if (t2)
16840 return A._functionString0($name, $arguments);
16841 red = t1.$index($arguments, 0).assertNumber$1("red");
16842 green = t1.$index($arguments, 1).assertNumber$1("green");
16843 blue = t1.$index($arguments, 2).assertNumber$1("blue");
16844 return A.SassColor$rgbInternal0(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()), B._ColorFormatEnum_rgbFunction0);
16845 },
16846 _rgbTwoArg0($name, $arguments) {
16847 var first, color,
16848 t1 = J.getInterceptor$asx($arguments);
16849 if (t1.$index($arguments, 0).get$isVar())
16850 return A._functionString0($name, $arguments);
16851 else if (t1.$index($arguments, 1).get$isVar()) {
16852 first = t1.$index($arguments, 0);
16853 if (first instanceof A.SassColor0)
16854 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);
16855 else
16856 return A._functionString0($name, $arguments);
16857 } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
16858 color = t1.$index($arguments, 0).assertColor$1("color");
16859 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);
16860 }
16861 return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
16862 },
16863 _hsl0($name, $arguments) {
16864 var t2, hue, saturation, lightness,
16865 _s10_ = "saturation",
16866 _s9_ = "lightness",
16867 t1 = J.getInterceptor$asx($arguments),
16868 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
16869 if (!t1.$index($arguments, 0).get$isSpecialNumber())
16870 if (!t1.$index($arguments, 1).get$isSpecialNumber())
16871 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
16872 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
16873 t2 = t2 === true;
16874 } else
16875 t2 = true;
16876 else
16877 t2 = true;
16878 else
16879 t2 = true;
16880 if (t2)
16881 return A._functionString0($name, $arguments);
16882 hue = t1.$index($arguments, 0).assertNumber$1("hue");
16883 saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
16884 lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
16885 A._checkAngle0(hue, "hue");
16886 A._checkPercent0(saturation, _s10_);
16887 A._checkPercent0(lightness, _s9_);
16888 return A.SassColor$hslInternal0(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()), B._ColorFormatEnum_hslFunction0);
16889 },
16890 _checkAngle0(angle, $name) {
16891 var t1, t2, t3, actualUnit,
16892 _s31_ = "To preserve current behavior: $";
16893 if (!angle.get$hasUnits() || angle.hasUnit$1("deg"))
16894 return;
16895 t1 = "" + ("$" + A.S($name) + ": Passing a unit other than deg (" + angle.toString$0(0) + ") is deprecated.\n") + "\n";
16896 if (angle.compatibleWithUnit$1("deg")) {
16897 t2 = "You're passing " + angle.toString$0(0) + string$.x2c_whici;
16898 t3 = type$.JSArray_String;
16899 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";
16900 actualUnit = B.JSArray_methods.get$first(angle.get$numeratorUnits(angle));
16901 t3 = t3 + (_s31_ + A.S($name) + " * 1deg/1" + actualUnit + "\n") + ("To migrate to new behavior: 0deg + $" + A.S($name) + "\n") + "\n";
16902 t1 = t3;
16903 } else
16904 t1 = t1 + (_s31_ + A.S($name) + A._removeUnits0(angle) + "\n") + "\n";
16905 t1 += "See https://sass-lang.com/d/color-units";
16906 A.EvaluationContext_current0().warn$2$deprecation(0, t1.charCodeAt(0) == 0 ? t1 : t1, true);
16907 },
16908 _checkPercent0(number, $name) {
16909 var t1;
16910 if (number.hasUnit$1("%"))
16911 return;
16912 t1 = "$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d + $name + A._removeUnits0(number) + " * 1%";
16913 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
16914 },
16915 _removeUnits0(number) {
16916 var t2,
16917 t1 = number.get$denominatorUnits(number);
16918 t1 = new A.MappedListIterable(t1, new A._removeUnits_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
16919 t2 = number.get$numeratorUnits(number);
16920 return t1 + new A.MappedListIterable(t2, new A._removeUnits_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
16921 },
16922 _hwb0($arguments) {
16923 var _s9_ = "whiteness",
16924 _s9_0 = "blackness",
16925 t1 = J.getInterceptor$asx($arguments),
16926 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
16927 hue = t1.$index($arguments, 0).assertNumber$1("hue"),
16928 whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
16929 blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
16930 whiteness.assertUnit$2("%", _s9_);
16931 blackness.assertUnit$2("%", _s9_0);
16932 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()));
16933 },
16934 _parseChannels0($name, argumentNames, channels) {
16935 var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash,
16936 _s17_ = "$channels must be";
16937 if (channels.get$isVar())
16938 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16939 if (channels.get$separator(channels) === B.ListSeparator_1gm0) {
16940 list = channels.get$asList();
16941 t1 = list.length;
16942 if (t1 !== 2)
16943 throw A.wrapException(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", list.length, "were") + " passed."));
16944 channels0 = list[0];
16945 alphaFromSlashList = list[1];
16946 if (!alphaFromSlashList.get$isSpecialNumber())
16947 alphaFromSlashList.assertNumber$1("alpha");
16948 if (list[0].get$isVar())
16949 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16950 } else {
16951 channels0 = channels;
16952 alphaFromSlashList = null;
16953 }
16954 isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_kWM0;
16955 isBracketed = channels0.get$hasBrackets();
16956 if (isCommaSeparated || isBracketed) {
16957 buffer = new A.StringBuffer(_s17_);
16958 if (isBracketed) {
16959 t1 = _s17_ + " an unbracketed";
16960 buffer._contents = t1;
16961 } else
16962 t1 = _s17_;
16963 if (isCommaSeparated) {
16964 t1 += isBracketed ? "," : " a";
16965 buffer._contents = t1;
16966 t1 = buffer._contents = t1 + " space-separated";
16967 }
16968 buffer._contents = t1 + " list.";
16969 throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0)));
16970 }
16971 list = channels0.get$asList();
16972 t1 = list.length;
16973 if (t1 > 3)
16974 throw A.wrapException(A.SassScriptException$0("Only 3 elements allowed, but " + t1 + " were passed."));
16975 else if (t1 < 3) {
16976 if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure0()))
16977 if (list.length !== 0) {
16978 t1 = B.JSArray_methods.get$last(list);
16979 if (t1 instanceof A.SassString0)
16980 if (t1._string0$_hasQuotes) {
16981 t1 = t1._string0$_text;
16982 t1 = A.startsWithIgnoreCase0(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
16983 } else
16984 t1 = false;
16985 else
16986 t1 = false;
16987 } else
16988 t1 = false;
16989 else
16990 t1 = true;
16991 if (t1)
16992 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16993 else
16994 throw A.wrapException(A.SassScriptException$0("Missing element " + argumentNames[list.length] + "."));
16995 }
16996 if (alphaFromSlashList != null) {
16997 t1 = A.List_List$of(list, true, type$.Value_2);
16998 t1.push(alphaFromSlashList);
16999 return t1;
17000 }
17001 maybeSlashSeparated = list[2];
17002 if (maybeSlashSeparated instanceof A.SassNumber0) {
17003 slash = maybeSlashSeparated.asSlash;
17004 if (slash == null)
17005 return list;
17006 return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value_2);
17007 } else if (maybeSlashSeparated instanceof A.SassString0 && !maybeSlashSeparated._string0$_hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string0$_text, "/"))
17008 return A._functionString0($name, A._setArrayType([channels0], type$.JSArray_Value_2));
17009 else
17010 return list;
17011 },
17012 _percentageOrUnitless0(number, max, $name) {
17013 var value;
17014 if (!number.get$hasUnits())
17015 value = number._number1$_value;
17016 else if (number.hasUnit$1("%"))
17017 value = max * number._number1$_value / 100;
17018 else
17019 throw A.wrapException(A.SassScriptException$0("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".'));
17020 return B.JSNumber_methods.clamp$2(value, 0, max);
17021 },
17022 _mixColors0(color1, color2, weight) {
17023 var weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
17024 normalizedWeight = weightScale * 2 - 1,
17025 t1 = color1._color1$_alpha,
17026 t2 = color2._color1$_alpha,
17027 alphaDistance = t1 - t2,
17028 t3 = normalizedWeight * alphaDistance,
17029 weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2,
17030 weight2 = 1 - weight1;
17031 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));
17032 },
17033 _opacify0($arguments) {
17034 var t1 = J.getInterceptor$asx($arguments),
17035 color = t1.$index($arguments, 0).assertColor$1("color");
17036 return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._color1$_alpha + t1.$index($arguments, 1).assertNumber$1("amount").valueInRange$3(0, 1, "amount"), 0, 1));
17037 },
17038 _transparentize0($arguments) {
17039 var t1 = J.getInterceptor$asx($arguments),
17040 color = t1.$index($arguments, 0).assertColor$1("color");
17041 return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._color1$_alpha - t1.$index($arguments, 1).assertNumber$1("amount").valueInRange$3(0, 1, "amount"), 0, 1));
17042 },
17043 _function11($name, $arguments, callback) {
17044 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
17045 },
17046 global_closure30: function global_closure30() {
17047 },
17048 global_closure31: function global_closure31() {
17049 },
17050 global_closure32: function global_closure32() {
17051 },
17052 global_closure33: function global_closure33() {
17053 },
17054 global_closure34: function global_closure34() {
17055 },
17056 global_closure35: function global_closure35() {
17057 },
17058 global_closure36: function global_closure36() {
17059 },
17060 global_closure37: function global_closure37() {
17061 },
17062 global_closure38: function global_closure38() {
17063 },
17064 global_closure39: function global_closure39() {
17065 },
17066 global_closure40: function global_closure40() {
17067 },
17068 global_closure41: function global_closure41() {
17069 },
17070 global_closure42: function global_closure42() {
17071 },
17072 global_closure43: function global_closure43() {
17073 },
17074 global_closure44: function global_closure44() {
17075 },
17076 global_closure45: function global_closure45() {
17077 },
17078 global_closure46: function global_closure46() {
17079 },
17080 global_closure47: function global_closure47() {
17081 },
17082 global_closure48: function global_closure48() {
17083 },
17084 global_closure49: function global_closure49() {
17085 },
17086 global_closure50: function global_closure50() {
17087 },
17088 global_closure51: function global_closure51() {
17089 },
17090 global_closure52: function global_closure52() {
17091 },
17092 global_closure53: function global_closure53() {
17093 },
17094 global_closure54: function global_closure54() {
17095 },
17096 global_closure55: function global_closure55() {
17097 },
17098 global__closure0: function global__closure0() {
17099 },
17100 global_closure56: function global_closure56() {
17101 },
17102 module_closure8: function module_closure8() {
17103 },
17104 module_closure9: function module_closure9() {
17105 },
17106 module_closure10: function module_closure10() {
17107 },
17108 module_closure11: function module_closure11() {
17109 },
17110 module_closure12: function module_closure12() {
17111 },
17112 module_closure13: function module_closure13() {
17113 },
17114 module_closure14: function module_closure14() {
17115 },
17116 module_closure15: function module_closure15() {
17117 },
17118 module__closure0: function module__closure0() {
17119 },
17120 module_closure16: function module_closure16() {
17121 },
17122 _red_closure0: function _red_closure0() {
17123 },
17124 _green_closure0: function _green_closure0() {
17125 },
17126 _blue_closure0: function _blue_closure0() {
17127 },
17128 _mix_closure0: function _mix_closure0() {
17129 },
17130 _hue_closure0: function _hue_closure0() {
17131 },
17132 _saturation_closure0: function _saturation_closure0() {
17133 },
17134 _lightness_closure0: function _lightness_closure0() {
17135 },
17136 _complement_closure0: function _complement_closure0() {
17137 },
17138 _adjust_closure0: function _adjust_closure0() {
17139 },
17140 _scale_closure0: function _scale_closure0() {
17141 },
17142 _change_closure0: function _change_closure0() {
17143 },
17144 _ieHexStr_closure0: function _ieHexStr_closure0() {
17145 },
17146 _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
17147 },
17148 _updateComponents_getParam0: function _updateComponents_getParam0(t0, t1, t2) {
17149 this.keywords = t0;
17150 this.scale = t1;
17151 this.change = t2;
17152 },
17153 _updateComponents_closure0: function _updateComponents_closure0() {
17154 },
17155 _updateComponents_updateValue0: function _updateComponents_updateValue0(t0, t1) {
17156 this.change = t0;
17157 this.adjust = t1;
17158 },
17159 _updateComponents_updateRgb0: function _updateComponents_updateRgb0(t0) {
17160 this.updateValue = t0;
17161 },
17162 _functionString_closure0: function _functionString_closure0() {
17163 },
17164 _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
17165 this.name = t0;
17166 this.argument = t1;
17167 this.negative = t2;
17168 },
17169 _rgb_closure0: function _rgb_closure0() {
17170 },
17171 _hsl_closure0: function _hsl_closure0() {
17172 },
17173 _removeUnits_closure1: function _removeUnits_closure1() {
17174 },
17175 _removeUnits_closure2: function _removeUnits_closure2() {
17176 },
17177 _hwb_closure0: function _hwb_closure0() {
17178 },
17179 _parseChannels_closure0: function _parseChannels_closure0() {
17180 },
17181 _NodeSassColor: function _NodeSassColor() {
17182 },
17183 legacyColorClass_closure: function legacyColorClass_closure() {
17184 },
17185 legacyColorClass_closure0: function legacyColorClass_closure0() {
17186 },
17187 legacyColorClass_closure1: function legacyColorClass_closure1() {
17188 },
17189 legacyColorClass_closure2: function legacyColorClass_closure2() {
17190 },
17191 legacyColorClass_closure3: function legacyColorClass_closure3() {
17192 },
17193 legacyColorClass_closure4: function legacyColorClass_closure4() {
17194 },
17195 legacyColorClass_closure5: function legacyColorClass_closure5() {
17196 },
17197 legacyColorClass_closure6: function legacyColorClass_closure6() {
17198 },
17199 legacyColorClass_closure7: function legacyColorClass_closure7() {
17200 },
17201 colorClass_closure: function colorClass_closure() {
17202 },
17203 colorClass__closure: function colorClass__closure() {
17204 },
17205 colorClass__closure0: function colorClass__closure0() {
17206 },
17207 colorClass__closure1: function colorClass__closure1() {
17208 },
17209 colorClass__closure2: function colorClass__closure2() {
17210 },
17211 colorClass__closure3: function colorClass__closure3() {
17212 },
17213 colorClass__closure4: function colorClass__closure4() {
17214 },
17215 colorClass__closure5: function colorClass__closure5() {
17216 },
17217 colorClass__closure6: function colorClass__closure6() {
17218 },
17219 colorClass__closure7: function colorClass__closure7() {
17220 },
17221 colorClass__closure8: function colorClass__closure8() {
17222 },
17223 colorClass__closure9: function colorClass__closure9() {
17224 },
17225 _Channels: function _Channels() {
17226 },
17227 SassColor$rgb0(red, green, blue, alpha) {
17228 var _null = null,
17229 t1 = new A.SassColor0(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
17230 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
17231 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
17232 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
17233 return t1;
17234 },
17235 SassColor$rgbInternal0(_red, _green, _blue, alpha, format) {
17236 var t1 = new A.SassColor0(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
17237 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
17238 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
17239 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
17240 return t1;
17241 },
17242 SassColor$hsl(hue, saturation, lightness, alpha) {
17243 var _null = null,
17244 t1 = B.JSNumber_methods.$mod(hue, 360),
17245 t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
17246 t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
17247 return new A.SassColor0(_null, _null, _null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
17248 },
17249 SassColor$hslInternal0(hue, saturation, lightness, alpha, format) {
17250 var t1 = B.JSNumber_methods.$mod(hue, 360),
17251 t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
17252 t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
17253 return new A.SassColor0(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
17254 },
17255 SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
17256 var t2, t1 = {},
17257 scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
17258 scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange0(whiteness, 0, 100, "whiteness") / 100,
17259 scaledBlackness = A.fuzzyAssertRange0(blackness, 0, 100, "blackness") / 100,
17260 sum = scaledWhiteness + scaledBlackness;
17261 if (sum > 1) {
17262 t2 = t1.scaledWhiteness = scaledWhiteness / sum;
17263 scaledBlackness /= sum;
17264 } else
17265 t2 = scaledWhiteness;
17266 t2 = new A.SassColor_SassColor$hwb_toRgb0(t1, 1 - t2 - scaledBlackness);
17267 return A.SassColor$rgb0(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
17268 },
17269 SassColor__hueToRgb0(m1, m2, hue) {
17270 if (hue < 0)
17271 ++hue;
17272 if (hue > 1)
17273 --hue;
17274 if (hue < 0.16666666666666666)
17275 return m1 + (m2 - m1) * hue * 6;
17276 else if (hue < 0.5)
17277 return m2;
17278 else if (hue < 0.6666666666666666)
17279 return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
17280 else
17281 return m1;
17282 },
17283 SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5, t6, t7) {
17284 var _ = this;
17285 _._color1$_red = t0;
17286 _._color1$_green = t1;
17287 _._color1$_blue = t2;
17288 _._color1$_hue = t3;
17289 _._color1$_saturation = t4;
17290 _._color1$_lightness = t5;
17291 _._color1$_alpha = t6;
17292 _.format = t7;
17293 },
17294 SassColor_SassColor$hwb_toRgb0: function SassColor_SassColor$hwb_toRgb0(t0, t1) {
17295 this._box_0 = t0;
17296 this.factor = t1;
17297 },
17298 _ColorFormatEnum0: function _ColorFormatEnum0(t0) {
17299 this._color1$_name = t0;
17300 },
17301 SpanColorFormat0: function SpanColorFormat0(t0) {
17302 this._color1$_span = t0;
17303 },
17304 ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
17305 var _ = this;
17306 _.text = t0;
17307 _.span = t1;
17308 _._node1$_indexInParent = _._node1$_parent = null;
17309 _.isGroupEnd = false;
17310 },
17311 compile0(path, options) {
17312 var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, exception, _null = null,
17313 t1 = options == null,
17314 color0 = t1 ? _null : J.get$alertColor$x(options),
17315 color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
17316 ascii0 = t1 ? _null : J.get$alertAscii$x(options),
17317 ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
17318 try {
17319 t2 = t1 ? _null : J.get$loadPaths$x(options);
17320 t3 = t1 ? _null : J.get$quietDeps$x(options);
17321 if (t3 == null)
17322 t3 = false;
17323 t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
17324 t5 = t1 ? _null : J.get$verbose$x(options);
17325 if (t5 == null)
17326 t5 = false;
17327 t6 = t1 ? _null : J.get$sourceMap$x(options);
17328 if (t6 == null)
17329 t6 = false;
17330 t7 = t1 ? _null : J.get$logger$x(options);
17331 t8 = ascii;
17332 if (t8 == null)
17333 t8 = $._glyphs === B.C_AsciiGlyphSet;
17334 t8 = new A.NodeToDartLogger(t7, new A.StderrLogger0(color), t8);
17335 if (t1)
17336 t7 = _null;
17337 else {
17338 t7 = J.get$importers$x(options);
17339 t7 = t7 == null ? _null : J.map$1$1$ax(t7, A.compile___parseImporter$closure(), type$.Importer);
17340 }
17341 t9 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
17342 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);
17343 t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
17344 if (t1 == null)
17345 t1 = false;
17346 t1 = A._convertResult(result, t1);
17347 return t1;
17348 } catch (exception) {
17349 t1 = A.unwrapException(exception);
17350 if (t1 instanceof A.SassException0) {
17351 error = t1;
17352 stackTrace = A.getTraceFromException(exception);
17353 A.throwNodeException(error, ascii, color, stackTrace);
17354 } else
17355 throw exception;
17356 }
17357 },
17358 compileString0(text, options) {
17359 var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _null = null,
17360 t1 = options == null,
17361 color0 = t1 ? _null : J.get$alertColor$x(options),
17362 color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
17363 ascii0 = t1 ? _null : J.get$alertAscii$x(options),
17364 ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
17365 try {
17366 t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
17367 t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils1__jsToDartUrl$closure());
17368 t4 = t1 ? _null : J.get$loadPaths$x(options);
17369 t5 = t1 ? _null : J.get$quietDeps$x(options);
17370 if (t5 == null)
17371 t5 = false;
17372 t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
17373 t7 = t1 ? _null : J.get$verbose$x(options);
17374 if (t7 == null)
17375 t7 = false;
17376 t8 = t1 ? _null : J.get$sourceMap$x(options);
17377 if (t8 == null)
17378 t8 = false;
17379 t9 = t1 ? _null : J.get$logger$x(options);
17380 t10 = ascii;
17381 if (t10 == null)
17382 t10 = $._glyphs === B.C_AsciiGlyphSet;
17383 t10 = new A.NodeToDartLogger(t9, new A.StderrLogger0(color), t10);
17384 if (t1)
17385 t9 = _null;
17386 else {
17387 t9 = J.get$importers$x(options);
17388 t9 = t9 == null ? _null : J.map$1$1$ax(t9, A.compile___parseImporter$closure(), type$.Importer);
17389 }
17390 t11 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
17391 if (t11 == null)
17392 t11 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter() : _null;
17393 t12 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
17394 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);
17395 t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
17396 if (t1 == null)
17397 t1 = false;
17398 t1 = A._convertResult(result, t1);
17399 return t1;
17400 } catch (exception) {
17401 t1 = A.unwrapException(exception);
17402 if (t1 instanceof A.SassException0) {
17403 error = t1;
17404 stackTrace = A.getTraceFromException(exception);
17405 A.throwNodeException(error, ascii, color, stackTrace);
17406 } else
17407 throw exception;
17408 }
17409 },
17410 compileAsync1(path, options) {
17411 var ascii,
17412 t1 = options == null,
17413 color = t1 ? null : J.get$alertColor$x(options);
17414 if (color == null)
17415 color = J.$eq$(self.process.stdout.isTTY, true);
17416 ascii = t1 ? null : J.get$alertAscii$x(options);
17417 if (ascii == null)
17418 ascii = $._glyphs === B.C_AsciiGlyphSet;
17419 return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, ascii).call$0()), ascii, color);
17420 },
17421 compileStringAsync1(text, options) {
17422 var ascii,
17423 t1 = options == null,
17424 color = t1 ? null : J.get$alertColor$x(options);
17425 if (color == null)
17426 color = J.$eq$(self.process.stdout.isTTY, true);
17427 ascii = t1 ? null : J.get$alertAscii$x(options);
17428 if (ascii == null)
17429 ascii = $._glyphs === B.C_AsciiGlyphSet;
17430 return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, ascii).call$0()), ascii, color);
17431 },
17432 _convertResult(result, includeSourceContents) {
17433 var loadedUrls,
17434 t1 = result._compile_result$_serialize,
17435 t2 = t1.sourceMap,
17436 sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
17437 if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
17438 sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
17439 t2 = result._evaluate.loadedUrls;
17440 loadedUrls = A.toJSArray(new A.EfficientLengthMappedIterable(t2, A.utils1__dartToJSUrl$closure(), A._instanceType(t2)._eval$1("EfficientLengthMappedIterable<1,Object?>")));
17441 t1 = t1.css;
17442 return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify(sourceMap), loadedUrls: loadedUrls};
17443 },
17444 _wrapAsyncSassExceptions(promise, ascii, color) {
17445 return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
17446 },
17447 _parseOutputStyle0(style) {
17448 if (style == null || style === "expanded")
17449 return B.OutputStyle_expanded0;
17450 if (style === "compressed")
17451 return B.OutputStyle_compressed0;
17452 A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
17453 },
17454 _parseAsyncImporter(importer) {
17455 var t1, findFileUrl, canonicalize, load;
17456 if (importer == null)
17457 A.jsThrow(new self.Error("Importers may not be null."));
17458 type$.NodeImporter._as(importer);
17459 t1 = J.getInterceptor$x(importer);
17460 findFileUrl = t1.get$findFileUrl(importer);
17461 canonicalize = t1.get$canonicalize(importer);
17462 load = t1.get$load(importer);
17463 if (findFileUrl == null) {
17464 if (canonicalize == null || load == null)
17465 A.jsThrow(new self.Error(string$.An_impu));
17466 return new A.NodeToDartAsyncImporter(canonicalize, load);
17467 } else if (canonicalize != null || load != null)
17468 A.jsThrow(new self.Error(string$.An_impa));
17469 else
17470 return new A.NodeToDartAsyncFileImporter(findFileUrl);
17471 },
17472 _parseImporter0(importer) {
17473 var t1, findFileUrl, canonicalize, load;
17474 if (importer == null)
17475 A.jsThrow(new self.Error("Importers may not be null."));
17476 type$.NodeImporter._as(importer);
17477 t1 = J.getInterceptor$x(importer);
17478 findFileUrl = t1.get$findFileUrl(importer);
17479 canonicalize = t1.get$canonicalize(importer);
17480 load = t1.get$load(importer);
17481 if (findFileUrl == null) {
17482 if (canonicalize == null || load == null)
17483 A.jsThrow(new self.Error(string$.An_impu));
17484 return new A.NodeToDartImporter(canonicalize, load);
17485 } else if (canonicalize != null || load != null)
17486 A.jsThrow(new self.Error(string$.An_impa));
17487 else
17488 return new A.NodeToDartFileImporter(findFileUrl);
17489 },
17490 _parseFunctions0(functions, asynch) {
17491 var result;
17492 if (functions == null)
17493 return B.List_empty20;
17494 result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
17495 A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
17496 return result;
17497 },
17498 compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
17499 var _ = this;
17500 _.path = t0;
17501 _.color = t1;
17502 _.options = t2;
17503 _.ascii = t3;
17504 },
17505 compileAsync__closure: function compileAsync__closure() {
17506 },
17507 compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
17508 var _ = this;
17509 _.text = t0;
17510 _.options = t1;
17511 _.color = t2;
17512 _.ascii = t3;
17513 },
17514 compileStringAsync__closure: function compileStringAsync__closure() {
17515 },
17516 compileStringAsync__closure0: function compileStringAsync__closure0() {
17517 },
17518 _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
17519 this.color = t0;
17520 this.ascii = t1;
17521 },
17522 _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
17523 this.asynch = t0;
17524 this.result = t1;
17525 },
17526 _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
17527 this._box_0 = t0;
17528 this.callback = t1;
17529 },
17530 _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
17531 this._box_0 = t0;
17532 this.callback = t1;
17533 },
17534 compile(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
17535 var terseLogger, t1, t2, t3, stylesheet, t4, result, _null = null;
17536 if (!verbose) {
17537 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
17538 logger = terseLogger;
17539 } else
17540 terseLogger = _null;
17541 t1 = nodeImporter == null;
17542 if (t1)
17543 t2 = syntax == null || syntax === A.Syntax_forPath0(path);
17544 else
17545 t2 = false;
17546 if (t2) {
17547 if (importCache == null)
17548 importCache = A.ImportCache$none(logger);
17549 t2 = $.$get$context();
17550 t3 = t2.absolute$7(".", _null, _null, _null, _null, _null, _null);
17551 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));
17552 t3.toString;
17553 stylesheet = t3;
17554 } else {
17555 t2 = A.readFile0(path);
17556 t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
17557 t4 = $.$get$context();
17558 stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
17559 t2 = t4;
17560 }
17561 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);
17562 if (terseLogger != null)
17563 terseLogger.summarize$1$node(!t1);
17564 return result;
17565 },
17566 compileString(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
17567 var terseLogger, stylesheet, result, _null = null;
17568 if (!verbose) {
17569 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
17570 logger = terseLogger;
17571 } else
17572 terseLogger = _null;
17573 stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS0 : syntax, logger, url);
17574 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);
17575 if (terseLogger != null)
17576 terseLogger.summarize$1$node(nodeImporter != null);
17577 return result;
17578 },
17579 _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
17580 var evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet),
17581 serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces),
17582 resultSourceMap = serializeResult.sourceMap;
17583 if (resultSourceMap != null && importCache != null)
17584 A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
17585 return new A.CompileResult0(evaluateResult, serializeResult);
17586 },
17587 _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
17588 this.stylesheet = t0;
17589 this.importCache = t1;
17590 },
17591 CompileOptions: function CompileOptions() {
17592 },
17593 CompileStringOptions: function CompileStringOptions() {
17594 },
17595 NodeCompileResult: function NodeCompileResult() {
17596 },
17597 CompileResult0: function CompileResult0(t0, t1) {
17598 this._evaluate = t0;
17599 this._compile_result$_serialize = t1;
17600 },
17601 ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
17602 var _ = this;
17603 _._complex1$_numeratorUnits = t0;
17604 _._complex1$_denominatorUnits = t1;
17605 _._number1$_value = t2;
17606 _.hashCache = null;
17607 _.asSlash = t3;
17608 },
17609 ComplexSelector$0(components, lineBreak) {
17610 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
17611 if (t1.length === 0)
17612 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
17613 return new A.ComplexSelector0(t1, lineBreak);
17614 },
17615 ComplexSelector0: function ComplexSelector0(t0, t1) {
17616 var _ = this;
17617 _.components = t0;
17618 _.lineBreak = t1;
17619 _._complex0$_maxSpecificity = _._complex0$_minSpecificity = null;
17620 _._complex0$__ComplexSelector_isInvisible = $;
17621 },
17622 ComplexSelector_isInvisible_closure0: function ComplexSelector_isInvisible_closure0() {
17623 },
17624 Combinator0: function Combinator0(t0) {
17625 this._complex0$_text = t0;
17626 },
17627 CompoundSelector$0(components) {
17628 var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
17629 if (t1.length === 0)
17630 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
17631 return new A.CompoundSelector0(t1);
17632 },
17633 CompoundSelector0: function CompoundSelector0(t0) {
17634 this.components = t0;
17635 this._compound0$_maxSpecificity = this._compound0$_minSpecificity = null;
17636 },
17637 CompoundSelector_isInvisible_closure0: function CompoundSelector_isInvisible_closure0() {
17638 },
17639 Configuration0: function Configuration0(t0) {
17640 this._configuration$_values = t0;
17641 },
17642 Configuration_toString_closure0: function Configuration_toString_closure0() {
17643 },
17644 ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1) {
17645 this.nodeWithSpan = t0;
17646 this._configuration$_values = t1;
17647 },
17648 ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
17649 this.value = t0;
17650 this.configurationSpan = t1;
17651 this.assignmentNode = t2;
17652 },
17653 ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
17654 var _ = this;
17655 _.name = t0;
17656 _.expression = t1;
17657 _.isGuarded = t2;
17658 _.span = t3;
17659 },
17660 ContentBlock$0($arguments, children, span) {
17661 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
17662 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
17663 return new A.ContentBlock0("@content", $arguments, span, t1, t2);
17664 },
17665 ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4) {
17666 var _ = this;
17667 _.name = t0;
17668 _.$arguments = t1;
17669 _.span = t2;
17670 _.children = t3;
17671 _.hasDeclarations = t4;
17672 },
17673 ContentRule0: function ContentRule0(t0, t1) {
17674 this.$arguments = t0;
17675 this.span = t1;
17676 },
17677 _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
17678 },
17679 CssParser0: function CssParser0(t0, t1, t2) {
17680 var _ = this;
17681 _._stylesheet0$_isUseAllowed = true;
17682 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
17683 _._stylesheet0$_globalVariables = t0;
17684 _.lastSilentComment = null;
17685 _.scanner = t1;
17686 _.logger = t2;
17687 },
17688 DebugRule0: function DebugRule0(t0, t1) {
17689 this.expression = t0;
17690 this.span = t1;
17691 },
17692 ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
17693 var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
17694 if (parsedAsCustomProperty)
17695 if (!J.startsWith$1$s($name.get$value($name), "--"))
17696 A.throwExpression(A.ArgumentError$(string$.parsed, null));
17697 else if (!(value.get$value(value) instanceof A.SassString0))
17698 A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
17699 return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, span);
17700 },
17701 ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
17702 var _ = this;
17703 _.name = t0;
17704 _.value = t1;
17705 _.parsedAsCustomProperty = t2;
17706 _.valueSpanForMap = t3;
17707 _.span = t4;
17708 _._node1$_indexInParent = _._node1$_parent = null;
17709 _.isGroupEnd = false;
17710 },
17711 Declaration$0($name, value, span) {
17712 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
17713 A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
17714 return new A.Declaration0($name, value, span, null, false);
17715 },
17716 Declaration$nested0($name, children, span, value) {
17717 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
17718 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
17719 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
17720 A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
17721 return new A.Declaration0($name, value, span, t1, t2);
17722 },
17723 Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
17724 var _ = this;
17725 _.name = t0;
17726 _.value = t1;
17727 _.span = t2;
17728 _.children = t3;
17729 _.hasDeclarations = t4;
17730 },
17731 SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
17732 this.name = t0;
17733 this.value = t1;
17734 this.span = t2;
17735 },
17736 DynamicImport0: function DynamicImport0(t0, t1) {
17737 this.urlString = t0;
17738 this.span = t1;
17739 },
17740 EachRule$0(variables, list, children, span) {
17741 var t1 = A.List_List$unmodifiable(variables, type$.String),
17742 t2 = A.List_List$unmodifiable(children, type$.Statement_2),
17743 t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
17744 return new A.EachRule0(t1, list, span, t2, t3);
17745 },
17746 EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
17747 var _ = this;
17748 _.variables = t0;
17749 _.list = t1;
17750 _.span = t2;
17751 _.children = t3;
17752 _.hasDeclarations = t4;
17753 },
17754 EachRule_toString_closure0: function EachRule_toString_closure0() {
17755 },
17756 EmptyExtensionStore0: function EmptyExtensionStore0() {
17757 },
17758 Environment$0() {
17759 var t1 = type$.String,
17760 t2 = type$.Module_Callable_2,
17761 t3 = type$.AstNode_2,
17762 t4 = type$.int,
17763 t5 = type$.Callable_2,
17764 t6 = type$.JSArray_Map_String_Callable_2;
17765 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);
17766 },
17767 Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
17768 var t1 = type$.String,
17769 t2 = type$.int;
17770 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);
17771 },
17772 _EnvironmentModule__EnvironmentModule1(environment, css, extensionStore, forwarded) {
17773 var t1, t2, t3, t4, t5, t6;
17774 if (forwarded == null)
17775 forwarded = B.Set_empty2;
17776 t1 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
17777 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);
17778 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);
17779 t4 = type$.Map_String_Callable_2;
17780 t5 = type$.Callable_2;
17781 t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t4), t5);
17782 t5 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t4), t5);
17783 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure15());
17784 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()));
17785 },
17786 _EnvironmentModule__makeModulesByVariable1(forwarded) {
17787 var modulesByVariable, t1, t2, t3, t4, t5;
17788 if (forwarded.get$isEmpty(forwarded))
17789 return B.Map_empty6;
17790 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
17791 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
17792 t2 = t1.get$current(t1);
17793 if (t2 instanceof A._EnvironmentModule1) {
17794 for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
17795 t4 = t3.get$current(t3);
17796 t5 = t4.get$variables();
17797 A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
17798 }
17799 A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
17800 } else {
17801 t3 = t2.get$variables();
17802 A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
17803 }
17804 }
17805 return modulesByVariable;
17806 },
17807 _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
17808 var t1, t2, t3;
17809 localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
17810 if (otherMaps.get$isEmpty(otherMaps))
17811 return localMap;
17812 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
17813 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
17814 t3 = t2.get$current(t2);
17815 if (t3.get$isNotEmpty(t3))
17816 t1.push(t3);
17817 }
17818 t1.push(localMap);
17819 if (t1.length === 1)
17820 return localMap;
17821 return A.MergedMapView$0(t1, type$.String, $V);
17822 },
17823 _EnvironmentModule$_1(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
17824 return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
17825 },
17826 Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
17827 var _ = this;
17828 _._environment0$_modules = t0;
17829 _._environment0$_namespaceNodes = t1;
17830 _._environment0$_globalModules = t2;
17831 _._environment0$_importedModules = t3;
17832 _._environment0$_forwardedModules = t4;
17833 _._environment0$_nestedForwardedModules = t5;
17834 _._environment0$_allModules = t6;
17835 _._environment0$_variables = t7;
17836 _._environment0$_variableNodes = t8;
17837 _._environment0$_variableIndices = t9;
17838 _._environment0$_functions = t10;
17839 _._environment0$_functionIndices = t11;
17840 _._environment0$_mixins = t12;
17841 _._environment0$_mixinIndices = t13;
17842 _._environment0$_content = t14;
17843 _._environment0$_inMixin = false;
17844 _._environment0$_inSemiGlobalScope = true;
17845 _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
17846 },
17847 Environment_importForwards_closure2: function Environment_importForwards_closure2() {
17848 },
17849 Environment_importForwards_closure3: function Environment_importForwards_closure3() {
17850 },
17851 Environment_importForwards_closure4: function Environment_importForwards_closure4() {
17852 },
17853 Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
17854 this.name = t0;
17855 },
17856 Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
17857 this.$this = t0;
17858 this.name = t1;
17859 },
17860 Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
17861 this.name = t0;
17862 },
17863 Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
17864 this.$this = t0;
17865 this.name = t1;
17866 },
17867 Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
17868 this.name = t0;
17869 },
17870 Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
17871 this.name = t0;
17872 },
17873 Environment_toModule_closure0: function Environment_toModule_closure0() {
17874 },
17875 Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
17876 },
17877 Environment__fromOneModule_closure0: function Environment__fromOneModule_closure0(t0, t1) {
17878 this.callback = t0;
17879 this.T = t1;
17880 },
17881 Environment__fromOneModule__closure0: function Environment__fromOneModule__closure0(t0, t1) {
17882 this.entry = t0;
17883 this.T = t1;
17884 },
17885 _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
17886 var _ = this;
17887 _.upstream = t0;
17888 _.variables = t1;
17889 _.variableNodes = t2;
17890 _.functions = t3;
17891 _.mixins = t4;
17892 _.extensionStore = t5;
17893 _.css = t6;
17894 _.transitivelyContainsCss = t7;
17895 _.transitivelyContainsExtensions = t8;
17896 _._environment0$_environment = t9;
17897 _._environment0$_modulesByVariable = t10;
17898 },
17899 _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
17900 },
17901 _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
17902 },
17903 _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
17904 },
17905 _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
17906 },
17907 _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
17908 },
17909 _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
17910 },
17911 ErrorRule0: function ErrorRule0(t0, t1) {
17912 this.expression = t0;
17913 this.span = t1;
17914 },
17915 _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
17916 var t4,
17917 t1 = type$.Uri,
17918 t2 = type$.Module_Callable_2,
17919 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
17920 if (nodeImporter == null)
17921 t4 = importCache == null ? A.ImportCache$none(logger) : importCache;
17922 else
17923 t4 = null;
17924 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);
17925 t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
17926 return t1;
17927 },
17928 _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
17929 var _ = this;
17930 _._evaluate0$_importCache = t0;
17931 _._evaluate0$_nodeImporter = t1;
17932 _._evaluate0$_builtInFunctions = t2;
17933 _._evaluate0$_builtInModules = t3;
17934 _._evaluate0$_modules = t4;
17935 _._evaluate0$_moduleNodes = t5;
17936 _._evaluate0$_logger = t6;
17937 _._evaluate0$_warningsEmitted = t7;
17938 _._evaluate0$_quietDeps = t8;
17939 _._evaluate0$_sourceMap = t9;
17940 _._evaluate0$_environment = t10;
17941 _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
17942 _._evaluate0$_member = "root stylesheet";
17943 _._evaluate0$_importSpan = _._evaluate0$_callableNode = _._evaluate0$_currentCallable = null;
17944 _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
17945 _._evaluate0$_loadedUrls = t11;
17946 _._evaluate0$_activeModules = t12;
17947 _._evaluate0$_stack = t13;
17948 _._evaluate0$_importer = null;
17949 _._evaluate0$_inDependency = false;
17950 _._evaluate0$__extensionStore = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
17951 _._evaluate0$_configuration = t14;
17952 },
17953 _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
17954 this.$this = t0;
17955 },
17956 _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
17957 this.$this = t0;
17958 },
17959 _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
17960 this.$this = t0;
17961 },
17962 _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
17963 this.$this = t0;
17964 },
17965 _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
17966 this.$this = t0;
17967 },
17968 _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
17969 this.$this = t0;
17970 },
17971 _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
17972 this.$this = t0;
17973 },
17974 _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
17975 this.$this = t0;
17976 },
17977 _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
17978 this.$this = t0;
17979 this.name = t1;
17980 this.module = t2;
17981 },
17982 _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
17983 this.$this = t0;
17984 },
17985 _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
17986 this.$this = t0;
17987 },
17988 _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
17989 this.values = t0;
17990 this.span = t1;
17991 this.callableNode = t2;
17992 },
17993 _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0) {
17994 this.$this = t0;
17995 },
17996 _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
17997 this.$this = t0;
17998 this.node = t1;
17999 this.importer = t2;
18000 },
18001 _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
18002 this.callback = t0;
18003 this.builtInModule = t1;
18004 },
18005 _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
18006 var _ = this;
18007 _.$this = t0;
18008 _.url = t1;
18009 _.nodeWithSpan = t2;
18010 _.baseUrl = t3;
18011 _.namesInErrors = t4;
18012 _.configuration = t5;
18013 _.callback = t6;
18014 },
18015 _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
18016 this.$this = t0;
18017 this.message = t1;
18018 },
18019 _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5) {
18020 var _ = this;
18021 _.$this = t0;
18022 _.importer = t1;
18023 _.stylesheet = t2;
18024 _.extensionStore = t3;
18025 _.configuration = t4;
18026 _.css = t5;
18027 },
18028 _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
18029 },
18030 _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
18031 this.selectors = t0;
18032 },
18033 _EvaluateVisitor__combineCss_closure7: function _EvaluateVisitor__combineCss_closure7() {
18034 },
18035 _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
18036 this.originalSelectors = t0;
18037 },
18038 _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
18039 },
18040 _EvaluateVisitor__topologicalModules_visitModule1: function _EvaluateVisitor__topologicalModules_visitModule1(t0, t1) {
18041 this.seen = t0;
18042 this.sorted = t1;
18043 },
18044 _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
18045 this.$this = t0;
18046 this.resolved = t1;
18047 },
18048 _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
18049 this.$this = t0;
18050 this.node = t1;
18051 },
18052 _EvaluateVisitor_visitAtRootRule_closure7: function _EvaluateVisitor_visitAtRootRule_closure7(t0, t1) {
18053 this.$this = t0;
18054 this.node = t1;
18055 },
18056 _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
18057 this.$this = t0;
18058 this.newParent = t1;
18059 this.node = t2;
18060 },
18061 _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
18062 this.$this = t0;
18063 this.innerScope = t1;
18064 },
18065 _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
18066 this.$this = t0;
18067 this.innerScope = t1;
18068 },
18069 _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
18070 this.innerScope = t0;
18071 this.callback = t1;
18072 },
18073 _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
18074 this.$this = t0;
18075 this.innerScope = t1;
18076 },
18077 _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
18078 },
18079 _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
18080 this.$this = t0;
18081 this.innerScope = t1;
18082 },
18083 _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
18084 this.$this = t0;
18085 this.content = t1;
18086 },
18087 _EvaluateVisitor_visitDeclaration_closure3: function _EvaluateVisitor_visitDeclaration_closure3(t0) {
18088 this.$this = t0;
18089 },
18090 _EvaluateVisitor_visitDeclaration_closure4: function _EvaluateVisitor_visitDeclaration_closure4(t0, t1) {
18091 this.$this = t0;
18092 this.children = t1;
18093 },
18094 _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
18095 this.$this = t0;
18096 this.node = t1;
18097 this.nodeWithSpan = t2;
18098 },
18099 _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
18100 this.$this = t0;
18101 this.node = t1;
18102 this.nodeWithSpan = t2;
18103 },
18104 _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
18105 var _ = this;
18106 _.$this = t0;
18107 _.list = t1;
18108 _.setVariables = t2;
18109 _.node = t3;
18110 },
18111 _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
18112 this.$this = t0;
18113 this.setVariables = t1;
18114 this.node = t2;
18115 },
18116 _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
18117 this.$this = t0;
18118 },
18119 _EvaluateVisitor_visitExtendRule_closure1: function _EvaluateVisitor_visitExtendRule_closure1(t0, t1) {
18120 this.$this = t0;
18121 this.targetText = t1;
18122 },
18123 _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
18124 this.$this = t0;
18125 },
18126 _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1) {
18127 this.$this = t0;
18128 this.children = t1;
18129 },
18130 _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
18131 this.$this = t0;
18132 this.children = t1;
18133 },
18134 _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
18135 },
18136 _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
18137 this.$this = t0;
18138 this.node = t1;
18139 },
18140 _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
18141 this.$this = t0;
18142 this.node = t1;
18143 },
18144 _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
18145 this.fromNumber = t0;
18146 },
18147 _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
18148 this.toNumber = t0;
18149 this.fromNumber = t1;
18150 },
18151 _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
18152 var _ = this;
18153 _._box_0 = t0;
18154 _.$this = t1;
18155 _.node = t2;
18156 _.from = t3;
18157 _.direction = t4;
18158 _.fromNumber = t5;
18159 },
18160 _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
18161 this.$this = t0;
18162 },
18163 _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
18164 this.$this = t0;
18165 this.node = t1;
18166 },
18167 _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
18168 this.$this = t0;
18169 this.node = t1;
18170 },
18171 _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0, t1) {
18172 this._box_0 = t0;
18173 this.$this = t1;
18174 },
18175 _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0) {
18176 this.$this = t0;
18177 },
18178 _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
18179 this.$this = t0;
18180 this.$import = t1;
18181 },
18182 _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
18183 this.$this = t0;
18184 },
18185 _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
18186 },
18187 _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
18188 },
18189 _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4, t5) {
18190 var _ = this;
18191 _.$this = t0;
18192 _.result = t1;
18193 _.stylesheet = t2;
18194 _.loadsUserDefinedModules = t3;
18195 _.environment = t4;
18196 _.children = t5;
18197 },
18198 _EvaluateVisitor__visitStaticImport_closure1: function _EvaluateVisitor__visitStaticImport_closure1(t0) {
18199 this.$this = t0;
18200 },
18201 _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0, t1) {
18202 this.$this = t0;
18203 this.node = t1;
18204 },
18205 _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0) {
18206 this.node = t0;
18207 },
18208 _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
18209 this.$this = t0;
18210 },
18211 _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0, t1, t2, t3) {
18212 var _ = this;
18213 _.$this = t0;
18214 _.contentCallable = t1;
18215 _.mixin = t2;
18216 _.nodeWithSpan = t3;
18217 },
18218 _EvaluateVisitor_visitIncludeRule__closure1: function _EvaluateVisitor_visitIncludeRule__closure1(t0, t1, t2) {
18219 this.$this = t0;
18220 this.mixin = t1;
18221 this.nodeWithSpan = t2;
18222 },
18223 _EvaluateVisitor_visitIncludeRule___closure1: function _EvaluateVisitor_visitIncludeRule___closure1(t0, t1, t2) {
18224 this.$this = t0;
18225 this.mixin = t1;
18226 this.nodeWithSpan = t2;
18227 },
18228 _EvaluateVisitor_visitIncludeRule____closure1: function _EvaluateVisitor_visitIncludeRule____closure1(t0, t1) {
18229 this.$this = t0;
18230 this.statement = t1;
18231 },
18232 _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
18233 this.$this = t0;
18234 this.queries = t1;
18235 },
18236 _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3) {
18237 var _ = this;
18238 _.$this = t0;
18239 _.mergedQueries = t1;
18240 _.queries = t2;
18241 _.node = t3;
18242 },
18243 _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
18244 this.$this = t0;
18245 this.node = t1;
18246 },
18247 _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
18248 this.$this = t0;
18249 this.node = t1;
18250 },
18251 _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
18252 this.mergedQueries = t0;
18253 },
18254 _EvaluateVisitor__visitMediaQueries_closure1: function _EvaluateVisitor__visitMediaQueries_closure1(t0, t1) {
18255 this.$this = t0;
18256 this.resolved = t1;
18257 },
18258 _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13(t0, t1) {
18259 this.$this = t0;
18260 this.selectorText = t1;
18261 },
18262 _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1) {
18263 this.$this = t0;
18264 this.node = t1;
18265 },
18266 _EvaluateVisitor_visitStyleRule_closure15: function _EvaluateVisitor_visitStyleRule_closure15() {
18267 },
18268 _EvaluateVisitor_visitStyleRule_closure16: function _EvaluateVisitor_visitStyleRule_closure16(t0, t1) {
18269 this.$this = t0;
18270 this.selectorText = t1;
18271 },
18272 _EvaluateVisitor_visitStyleRule_closure17: function _EvaluateVisitor_visitStyleRule_closure17(t0, t1) {
18273 this._box_0 = t0;
18274 this.$this = t1;
18275 },
18276 _EvaluateVisitor_visitStyleRule_closure18: function _EvaluateVisitor_visitStyleRule_closure18(t0, t1, t2) {
18277 this.$this = t0;
18278 this.rule = t1;
18279 this.node = t2;
18280 },
18281 _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
18282 this.$this = t0;
18283 this.node = t1;
18284 },
18285 _EvaluateVisitor_visitStyleRule_closure19: function _EvaluateVisitor_visitStyleRule_closure19() {
18286 },
18287 _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
18288 this.$this = t0;
18289 this.node = t1;
18290 },
18291 _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
18292 this.$this = t0;
18293 this.node = t1;
18294 },
18295 _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
18296 },
18297 _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
18298 this.$this = t0;
18299 this.node = t1;
18300 this.override = t2;
18301 },
18302 _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
18303 this.$this = t0;
18304 this.node = t1;
18305 },
18306 _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
18307 this.$this = t0;
18308 this.node = t1;
18309 this.value = t2;
18310 },
18311 _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
18312 this.$this = t0;
18313 this.node = t1;
18314 },
18315 _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
18316 this.$this = t0;
18317 this.node = t1;
18318 },
18319 _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
18320 this.$this = t0;
18321 this.node = t1;
18322 },
18323 _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
18324 this.$this = t0;
18325 },
18326 _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
18327 this.$this = t0;
18328 this.node = t1;
18329 },
18330 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1() {
18331 },
18332 _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
18333 this.$this = t0;
18334 this.node = t1;
18335 },
18336 _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
18337 this.node = t0;
18338 this.operand = t1;
18339 },
18340 _EvaluateVisitor__visitCalculationValue_closure1: function _EvaluateVisitor__visitCalculationValue_closure1(t0, t1, t2) {
18341 this.$this = t0;
18342 this.node = t1;
18343 this.inMinMax = t2;
18344 },
18345 _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
18346 this.$this = t0;
18347 },
18348 _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3(t0, t1) {
18349 this.$this = t0;
18350 this.node = t1;
18351 },
18352 _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
18353 this._box_0 = t0;
18354 this.$this = t1;
18355 this.node = t2;
18356 },
18357 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
18358 this.$this = t0;
18359 this.node = t1;
18360 this.$function = t2;
18361 },
18362 _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
18363 var _ = this;
18364 _.$this = t0;
18365 _.callable = t1;
18366 _.evaluated = t2;
18367 _.nodeWithSpan = t3;
18368 _.run = t4;
18369 _.V = t5;
18370 },
18371 _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
18372 var _ = this;
18373 _.$this = t0;
18374 _.evaluated = t1;
18375 _.callable = t2;
18376 _.nodeWithSpan = t3;
18377 _.run = t4;
18378 _.V = t5;
18379 },
18380 _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
18381 var _ = this;
18382 _.$this = t0;
18383 _.evaluated = t1;
18384 _.callable = t2;
18385 _.nodeWithSpan = t3;
18386 _.run = t4;
18387 _.V = t5;
18388 },
18389 _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
18390 },
18391 _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
18392 this.$this = t0;
18393 this.callable = t1;
18394 },
18395 _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1, t2) {
18396 this.overload = t0;
18397 this.evaluated = t1;
18398 this.namedSet = t2;
18399 },
18400 _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
18401 },
18402 _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
18403 },
18404 _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
18405 this.$this = t0;
18406 this.restNodeForSpan = t1;
18407 },
18408 _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
18409 var _ = this;
18410 _.$this = t0;
18411 _.named = t1;
18412 _.restNodeForSpan = t2;
18413 _.namedNodes = t3;
18414 },
18415 _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
18416 },
18417 _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
18418 this.restArgs = t0;
18419 },
18420 _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
18421 this.$this = t0;
18422 this.restNodeForSpan = t1;
18423 this.restArgs = t2;
18424 },
18425 _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
18426 var _ = this;
18427 _.$this = t0;
18428 _.named = t1;
18429 _.restNodeForSpan = t2;
18430 _.restArgs = t3;
18431 },
18432 _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
18433 this.$this = t0;
18434 this.keywordRestNodeForSpan = t1;
18435 this.keywordRestArgs = t2;
18436 },
18437 _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
18438 var _ = this;
18439 _.$this = t0;
18440 _.values = t1;
18441 _.convert = t2;
18442 _.expressionNode = t3;
18443 _.map = t4;
18444 _.nodeWithSpan = t5;
18445 },
18446 _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
18447 this.$arguments = t0;
18448 this.positional = t1;
18449 this.named = t2;
18450 },
18451 _EvaluateVisitor_visitStringExpression_closure1: function _EvaluateVisitor_visitStringExpression_closure1(t0) {
18452 this.$this = t0;
18453 },
18454 _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
18455 this.$this = t0;
18456 this.node = t1;
18457 },
18458 _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
18459 },
18460 _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
18461 this.$this = t0;
18462 this.node = t1;
18463 },
18464 _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
18465 },
18466 _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
18467 this.$this = t0;
18468 this.node = t1;
18469 },
18470 _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2) {
18471 this.$this = t0;
18472 this.mergedQueries = t1;
18473 this.node = t2;
18474 },
18475 _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
18476 this.$this = t0;
18477 this.node = t1;
18478 },
18479 _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
18480 this.$this = t0;
18481 this.node = t1;
18482 },
18483 _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
18484 this.mergedQueries = t0;
18485 },
18486 _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3(t0, t1, t2) {
18487 this.$this = t0;
18488 this.rule = t1;
18489 this.node = t2;
18490 },
18491 _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
18492 this.$this = t0;
18493 this.node = t1;
18494 },
18495 _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4() {
18496 },
18497 _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
18498 this.$this = t0;
18499 this.node = t1;
18500 },
18501 _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
18502 this.$this = t0;
18503 this.node = t1;
18504 },
18505 _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
18506 },
18507 _EvaluateVisitor__performInterpolation_closure1: function _EvaluateVisitor__performInterpolation_closure1(t0, t1, t2) {
18508 this.$this = t0;
18509 this.warnForColor = t1;
18510 this.interpolation = t2;
18511 },
18512 _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
18513 this.value = t0;
18514 this.quote = t1;
18515 },
18516 _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
18517 this.$this = t0;
18518 this.expression = t1;
18519 },
18520 _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
18521 },
18522 _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
18523 this.$this = t0;
18524 },
18525 _EvaluateVisitor__stackTrace_closure1: function _EvaluateVisitor__stackTrace_closure1(t0) {
18526 this.$this = t0;
18527 },
18528 _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
18529 this._evaluate0$_visitor = t0;
18530 },
18531 _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
18532 },
18533 _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
18534 this.hasBeenMerged = t0;
18535 },
18536 _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
18537 },
18538 _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
18539 },
18540 _EvaluationContext1: function _EvaluationContext1(t0, t1) {
18541 this._evaluate0$_visitor = t0;
18542 this._evaluate0$_defaultWarnNodeWithSpan = t1;
18543 },
18544 _ArgumentResults1: function _ArgumentResults1(t0, t1, t2, t3, t4) {
18545 var _ = this;
18546 _.positional = t0;
18547 _.positionalNodes = t1;
18548 _.named = t2;
18549 _.namedNodes = t3;
18550 _.separator = t4;
18551 },
18552 _LoadedStylesheet1: function _LoadedStylesheet1(t0, t1, t2) {
18553 this.stylesheet = t0;
18554 this.importer = t1;
18555 this.isDependency = t2;
18556 },
18557 throwNodeException(exception, ascii, color, trace) {
18558 var wasAscii, jsException, trace0;
18559 trace = trace;
18560 wasAscii = $._glyphs === B.C_AsciiGlyphSet;
18561 $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
18562 try {
18563 jsException = type$._NodeException._as(A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]));
18564 trace0 = A.getTrace0(exception);
18565 trace = trace0 == null ? trace : trace0;
18566 if (trace != null)
18567 A.attachJsStack(jsException, trace);
18568 A.jsThrow(jsException);
18569 } finally {
18570 $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
18571 }
18572 },
18573 _NodeException: function _NodeException() {
18574 },
18575 exceptionClass_closure: function exceptionClass_closure() {
18576 },
18577 exceptionClass__closure: function exceptionClass__closure() {
18578 },
18579 exceptionClass__closure0: function exceptionClass__closure0() {
18580 },
18581 exceptionClass__closure1: function exceptionClass__closure1() {
18582 },
18583 SassException$0(message, span) {
18584 return new A.SassException0(message, span);
18585 },
18586 MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace) {
18587 return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
18588 },
18589 SassFormatException$0(message, span) {
18590 return new A.SassFormatException0(message, span);
18591 },
18592 SassScriptException$0(message) {
18593 return new A.SassScriptException0(message);
18594 },
18595 MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
18596 return new A.MultiSpanSassScriptException0(primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message);
18597 },
18598 SassException0: function SassException0(t0, t1) {
18599 this._span_exception$_message = t0;
18600 this._span = t1;
18601 },
18602 MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3) {
18603 var _ = this;
18604 _.primaryLabel = t0;
18605 _.secondarySpans = t1;
18606 _._span_exception$_message = t2;
18607 _._span = t3;
18608 },
18609 SassRuntimeException0: function SassRuntimeException0(t0, t1, t2) {
18610 this.trace = t0;
18611 this._span_exception$_message = t1;
18612 this._span = t2;
18613 },
18614 MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4) {
18615 var _ = this;
18616 _.trace = t0;
18617 _.primaryLabel = t1;
18618 _.secondarySpans = t2;
18619 _._span_exception$_message = t3;
18620 _._span = t4;
18621 },
18622 SassFormatException0: function SassFormatException0(t0, t1) {
18623 this._span_exception$_message = t0;
18624 this._span = t1;
18625 },
18626 SassScriptException0: function SassScriptException0(t0) {
18627 this.message = t0;
18628 },
18629 MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
18630 this.primaryLabel = t0;
18631 this.secondarySpans = t1;
18632 this.message = t2;
18633 },
18634 Exports: function Exports() {
18635 },
18636 LoggerNamespace: function LoggerNamespace() {
18637 },
18638 ExtendRule0: function ExtendRule0(t0, t1, t2) {
18639 this.selector = t0;
18640 this.isOptional = t1;
18641 this.span = t2;
18642 },
18643 Extension0: function Extension0(t0, t1, t2, t3, t4) {
18644 var _ = this;
18645 _.extender = t0;
18646 _.target = t1;
18647 _.mediaContext = t2;
18648 _.isOptional = t3;
18649 _.span = t4;
18650 },
18651 Extender0: function Extender0(t0, t1, t2) {
18652 var _ = this;
18653 _.selector = t0;
18654 _.isOriginal = t1;
18655 _._extension$_extension = null;
18656 _.span = t2;
18657 },
18658 ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
18659 var t1, t2, t3, t4, t5, t6, t7, t8, t9, _i, complex, t10, t11, t12, _i0, simple, t13, _i1, t14, t15,
18660 extender = A.ExtensionStore$_mode0(mode);
18661 if (!selector.get$isInvisible())
18662 extender._extension_store$_originals.addAll$1(0, selector.components);
18663 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) {
18664 complex = t1[_i];
18665 t10 = complex.components;
18666 if (t10.length !== 1)
18667 throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + A.S(complex) + "."));
18668 t11 = A.LinkedHashMap_LinkedHashMap$_empty(t8, t9);
18669 for (t10 = t7._as(B.JSArray_methods.get$first(t10)).components, t12 = t10.length, _i0 = 0; _i0 < t12; ++_i0) {
18670 simple = t10[_i0];
18671 t13 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
18672 for (_i1 = 0; _i1 < t4; ++_i1) {
18673 complex = t3[_i1];
18674 if (complex._complex0$_maxSpecificity == null)
18675 complex._complex0$_computeSpecificity$0();
18676 complex._complex0$_maxSpecificity.toString;
18677 t14 = new A.Extender0(complex, false, span);
18678 t15 = new A.Extension0(t14, simple, null, true, span);
18679 t14._extension$_extension = t15;
18680 t13.$indexSet(0, complex, t15);
18681 }
18682 t11.$indexSet(0, simple, t13);
18683 }
18684 selector = extender._extension_store$_extendList$3(selector, span, t11);
18685 }
18686 return selector;
18687 },
18688 ExtensionStore$0() {
18689 var t1 = type$.SimpleSelector_2;
18690 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);
18691 },
18692 ExtensionStore$_mode0(_mode) {
18693 var t1 = type$.SimpleSelector_2;
18694 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);
18695 },
18696 ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
18697 var _ = this;
18698 _._extension_store$_selectors = t0;
18699 _._extension_store$_extensions = t1;
18700 _._extension_store$_extensionsByExtender = t2;
18701 _._extension_store$_mediaContexts = t3;
18702 _._extension_store$_sourceSpecificity = t4;
18703 _._extension_store$_originals = t5;
18704 _._extension_store$_mode = t6;
18705 },
18706 ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
18707 },
18708 ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
18709 },
18710 ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
18711 },
18712 ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
18713 },
18714 ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
18715 this.complex = t0;
18716 },
18717 ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
18718 },
18719 ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
18720 },
18721 ExtensionStore_addExtensions_closure1: function ExtensionStore_addExtensions_closure1(t0, t1) {
18722 this._box_0 = t0;
18723 this.$this = t1;
18724 },
18725 ExtensionStore_addExtensions__closure4: function ExtensionStore_addExtensions__closure4(t0, t1, t2, t3, t4) {
18726 var _ = this;
18727 _._box_0 = t0;
18728 _.existingSources = t1;
18729 _.extensionsForTarget = t2;
18730 _.selectorsForTarget = t3;
18731 _.target = t4;
18732 },
18733 ExtensionStore_addExtensions___closure0: function ExtensionStore_addExtensions___closure0() {
18734 },
18735 ExtensionStore_addExtensions_closure2: function ExtensionStore_addExtensions_closure2(t0, t1) {
18736 this._box_0 = t0;
18737 this.$this = t1;
18738 },
18739 ExtensionStore_addExtensions__closure2: function ExtensionStore_addExtensions__closure2(t0, t1) {
18740 this.$this = t0;
18741 this.newExtensions = t1;
18742 },
18743 ExtensionStore_addExtensions__closure3: function ExtensionStore_addExtensions__closure3(t0, t1) {
18744 this.$this = t0;
18745 this.newExtensions = t1;
18746 },
18747 ExtensionStore__extendComplex_closure1: function ExtensionStore__extendComplex_closure1(t0) {
18748 this.complex = t0;
18749 },
18750 ExtensionStore__extendComplex_closure2: function ExtensionStore__extendComplex_closure2(t0, t1, t2) {
18751 this._box_0 = t0;
18752 this.$this = t1;
18753 this.complex = t2;
18754 },
18755 ExtensionStore__extendComplex__closure1: function ExtensionStore__extendComplex__closure1() {
18756 },
18757 ExtensionStore__extendComplex__closure2: function ExtensionStore__extendComplex__closure2(t0, t1, t2, t3) {
18758 var _ = this;
18759 _._box_0 = t0;
18760 _.$this = t1;
18761 _.complex = t2;
18762 _.path = t3;
18763 },
18764 ExtensionStore__extendComplex___closure0: function ExtensionStore__extendComplex___closure0() {
18765 },
18766 ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
18767 this.mediaQueryContext = t0;
18768 },
18769 ExtensionStore__extendCompound_closure5: function ExtensionStore__extendCompound_closure5(t0, t1) {
18770 this._box_1 = t0;
18771 this.mediaQueryContext = t1;
18772 },
18773 ExtensionStore__extendCompound__closure1: function ExtensionStore__extendCompound__closure1() {
18774 },
18775 ExtensionStore__extendCompound__closure2: function ExtensionStore__extendCompound__closure2(t0) {
18776 this._box_0 = t0;
18777 },
18778 ExtensionStore__extendCompound_closure6: function ExtensionStore__extendCompound_closure6() {
18779 },
18780 ExtensionStore__extendCompound_closure7: function ExtensionStore__extendCompound_closure7() {
18781 },
18782 ExtensionStore__extendCompound_closure8: function ExtensionStore__extendCompound_closure8(t0) {
18783 this.original = t0;
18784 },
18785 ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2, t3) {
18786 var _ = this;
18787 _.$this = t0;
18788 _.extensions = t1;
18789 _.targetsUsed = t2;
18790 _.simpleSpan = t3;
18791 },
18792 ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1, t2) {
18793 this.$this = t0;
18794 this.withoutPseudo = t1;
18795 this.simpleSpan = t2;
18796 },
18797 ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
18798 },
18799 ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
18800 },
18801 ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
18802 },
18803 ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
18804 },
18805 ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
18806 this.pseudo = t0;
18807 },
18808 ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0) {
18809 this.pseudo = t0;
18810 },
18811 ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
18812 this._box_0 = t0;
18813 this.complex1 = t1;
18814 },
18815 ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
18816 this._box_0 = t0;
18817 this.complex1 = t1;
18818 },
18819 ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
18820 var _ = this;
18821 _.$this = t0;
18822 _.newSelectors = t1;
18823 _.oldToNewSelectors = t2;
18824 _.newMediaContexts = t3;
18825 },
18826 FiberClass: function FiberClass() {
18827 },
18828 Fiber: function Fiber() {
18829 },
18830 NodeToDartFileImporter: function NodeToDartFileImporter(t0) {
18831 this._file0$_findFileUrl = t0;
18832 },
18833 FilesystemImporter$(loadPath) {
18834 var _null = null;
18835 return new A.FilesystemImporter0($.$get$context().absolute$7(loadPath, _null, _null, _null, _null, _null, _null));
18836 },
18837 FilesystemImporter0: function FilesystemImporter0(t0) {
18838 this._filesystem$_loadPath = t0;
18839 },
18840 FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
18841 },
18842 ForRule$0(variable, from, to, children, span, exclusive) {
18843 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
18844 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
18845 return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
18846 },
18847 ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
18848 var _ = this;
18849 _.variable = t0;
18850 _.from = t1;
18851 _.to = t2;
18852 _.isExclusive = t3;
18853 _.span = t4;
18854 _.children = t5;
18855 _.hasDeclarations = t6;
18856 },
18857 ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
18858 var _ = this;
18859 _.url = t0;
18860 _.shownMixinsAndFunctions = t1;
18861 _.shownVariables = t2;
18862 _.hiddenMixinsAndFunctions = t3;
18863 _.hiddenVariables = t4;
18864 _.prefix = t5;
18865 _.configuration = t6;
18866 _.span = t7;
18867 },
18868 ForwardedModuleView_ifNecessary0(inner, rule, $T) {
18869 var t1;
18870 if (rule.prefix == null)
18871 if (rule.shownMixinsAndFunctions == null)
18872 if (rule.shownVariables == null) {
18873 t1 = rule.hiddenMixinsAndFunctions;
18874 if (t1 == null)
18875 t1 = null;
18876 else {
18877 t1 = t1._base;
18878 t1 = t1.get$isEmpty(t1);
18879 }
18880 if (t1 === true) {
18881 t1 = rule.hiddenVariables;
18882 if (t1 == null)
18883 t1 = null;
18884 else {
18885 t1 = t1._base;
18886 t1 = t1.get$isEmpty(t1);
18887 }
18888 t1 = t1 === true;
18889 } else
18890 t1 = false;
18891 } else
18892 t1 = false;
18893 else
18894 t1 = false;
18895 else
18896 t1 = false;
18897 if (t1)
18898 return inner;
18899 else
18900 return A.ForwardedModuleView$0(inner, rule, $T);
18901 },
18902 ForwardedModuleView$0(_inner, _rule, $T) {
18903 var t1 = _rule.prefix,
18904 t2 = _rule.shownVariables,
18905 t3 = _rule.hiddenVariables,
18906 t4 = _rule.shownMixinsAndFunctions,
18907 t5 = _rule.hiddenMixinsAndFunctions;
18908 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>"));
18909 },
18910 ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
18911 var t2,
18912 t1 = prefix == null;
18913 if (t1)
18914 if (safelist == null)
18915 if (blocklist != null) {
18916 t2 = blocklist._base;
18917 t2 = t2.get$isEmpty(t2);
18918 } else
18919 t2 = true;
18920 else
18921 t2 = false;
18922 else
18923 t2 = false;
18924 if (t2)
18925 return map;
18926 if (!t1)
18927 map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
18928 if (safelist != null)
18929 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>"));
18930 else {
18931 if (blocklist != null) {
18932 t1 = blocklist._base;
18933 t1 = t1.get$isNotEmpty(t1);
18934 } else
18935 t1 = false;
18936 if (t1)
18937 map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
18938 }
18939 return map;
18940 },
18941 ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
18942 var _ = this;
18943 _._forwarded_view0$_inner = t0;
18944 _._forwarded_view0$_rule = t1;
18945 _.variables = t2;
18946 _.variableNodes = t3;
18947 _.functions = t4;
18948 _.mixins = t5;
18949 _.$ti = t6;
18950 },
18951 FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3) {
18952 var _ = this;
18953 _.namespace = t0;
18954 _.originalName = t1;
18955 _.$arguments = t2;
18956 _.span = t3;
18957 },
18958 JSFunction0: function JSFunction0() {
18959 },
18960 SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
18961 this.name = t0;
18962 this.$arguments = t1;
18963 this.span = t2;
18964 },
18965 functionClass_closure: function functionClass_closure() {
18966 },
18967 functionClass__closure: function functionClass__closure() {
18968 },
18969 functionClass__closure0: function functionClass__closure0() {
18970 },
18971 SassFunction0: function SassFunction0(t0) {
18972 this.callable = t0;
18973 },
18974 FunctionRule$0($name, $arguments, children, span, comment) {
18975 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
18976 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
18977 return new A.FunctionRule0($name, $arguments, span, t1, t2);
18978 },
18979 FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4) {
18980 var _ = this;
18981 _.name = t0;
18982 _.$arguments = t1;
18983 _.span = t2;
18984 _.children = t3;
18985 _.hasDeclarations = t4;
18986 },
18987 unifyComplex0(complexes) {
18988 var t2, unifiedBase, base, t3, t4, _i, complexesWithoutBases,
18989 t1 = J.getInterceptor$asx(complexes);
18990 if (t1.get$length(complexes) === 1)
18991 return complexes;
18992 for (t2 = t1.get$iterator(complexes), unifiedBase = null; t2.moveNext$0();) {
18993 base = J.get$last$ax(t2.get$current(t2));
18994 if (!(base instanceof A.CompoundSelector0))
18995 return null;
18996 if (unifiedBase == null)
18997 unifiedBase = base.components;
18998 else
18999 for (t3 = base.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
19000 unifiedBase = t3[_i].unify$1(unifiedBase);
19001 if (unifiedBase == null)
19002 return null;
19003 }
19004 }
19005 t1 = t1.map$1$1(complexes, new A.unifyComplex_closure0(), type$.List_ComplexSelectorComponent_2);
19006 complexesWithoutBases = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
19007 t1 = B.JSArray_methods.get$last(complexesWithoutBases);
19008 unifiedBase.toString;
19009 J.add$1$ax(t1, A.CompoundSelector$0(unifiedBase));
19010 return A.weave0(complexesWithoutBases);
19011 },
19012 unifyCompound0(compound1, compound2) {
19013 var t1, result, _i, unified;
19014 for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
19015 unified = compound1[_i].unify$1(result);
19016 if (unified == null)
19017 return null;
19018 }
19019 return A.CompoundSelector$0(result);
19020 },
19021 unifyUniversalAndElement0(selector1, selector2) {
19022 var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
19023 _s45_ = string$.must_b;
19024 if (selector1 instanceof A.UniversalSelector0) {
19025 namespace1 = selector1.namespace;
19026 name1 = _null;
19027 } else if (selector1 instanceof A.TypeSelector0) {
19028 t1 = selector1.name;
19029 namespace1 = t1.namespace;
19030 name1 = t1.name;
19031 } else
19032 throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
19033 if (selector2 instanceof A.UniversalSelector0) {
19034 namespace2 = selector2.namespace;
19035 name2 = _null;
19036 } else if (selector2 instanceof A.TypeSelector0) {
19037 t1 = selector2.name;
19038 namespace2 = t1.namespace;
19039 name2 = t1.name;
19040 } else
19041 throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
19042 if (namespace1 == namespace2 || namespace2 === "*")
19043 namespace = namespace1;
19044 else {
19045 if (namespace1 !== "*")
19046 return _null;
19047 namespace = namespace2;
19048 }
19049 if (name1 == name2 || name2 == null)
19050 $name = name1;
19051 else {
19052 if (!(name1 == null || name1 === "*"))
19053 return _null;
19054 $name = name2;
19055 }
19056 return $name == null ? new A.UniversalSelector0(namespace) : new A.TypeSelector0(new A.QualifiedName0($name, namespace));
19057 },
19058 weave0(complexes) {
19059 var t2, t3, t4, t5, target, _i, parents, newPrefixes, parentPrefixes, t6,
19060 t1 = type$.JSArray_List_ComplexSelectorComponent_2,
19061 prefixes = A._setArrayType([J.toList$0$ax(B.JSArray_methods.get$first(complexes))], t1);
19062 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();) {
19063 t4 = t3._as(t2.__internal$_current);
19064 t5 = J.getInterceptor$asx(t4);
19065 if (t5.get$isEmpty(t4))
19066 continue;
19067 target = t5.get$last(t4);
19068 if (t5.get$length(t4) === 1) {
19069 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i)
19070 J.add$1$ax(prefixes[_i], target);
19071 continue;
19072 }
19073 parents = t5.take$1(t4, t5.get$length(t4) - 1).toList$0(0);
19074 newPrefixes = A._setArrayType([], t1);
19075 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
19076 parentPrefixes = A._weaveParents0(prefixes[_i], parents);
19077 if (parentPrefixes == null)
19078 continue;
19079 for (t5 = parentPrefixes.get$iterator(parentPrefixes); t5.moveNext$0();) {
19080 t6 = t5.get$current(t5);
19081 J.add$1$ax(t6, target);
19082 newPrefixes.push(t6);
19083 }
19084 }
19085 prefixes = newPrefixes;
19086 }
19087 return prefixes;
19088 },
19089 _weaveParents0(parents1, parents2) {
19090 var finalCombinators, root1, root2, root, groups1, groups2, lcs, t2, choices, t3, _i, group, t4, t5, _null = null,
19091 t1 = type$.ComplexSelectorComponent_2,
19092 queue1 = A.ListQueue_ListQueue$of(parents1, t1),
19093 queue2 = A.ListQueue_ListQueue$of(parents2, t1),
19094 initialCombinators = A._mergeInitialCombinators0(queue1, queue2);
19095 if (initialCombinators == null)
19096 return _null;
19097 finalCombinators = A._mergeFinalCombinators0(queue1, queue2, _null);
19098 if (finalCombinators == null)
19099 return _null;
19100 root1 = A._firstIfRoot0(queue1);
19101 root2 = A._firstIfRoot0(queue2);
19102 t1 = root1 != null;
19103 if (t1 && root2 != null) {
19104 root = A.unifyCompound0(root1.components, root2.components);
19105 if (root == null)
19106 return _null;
19107 queue1.addFirst$1(root);
19108 queue2.addFirst$1(root);
19109 } else if (t1)
19110 queue2.addFirst$1(root1);
19111 else if (root2 != null)
19112 queue1.addFirst$1(root2);
19113 groups1 = A._groupSelectors0(queue1);
19114 groups2 = A._groupSelectors0(queue2);
19115 t1 = type$.List_ComplexSelectorComponent_2;
19116 lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure6(), t1);
19117 t2 = type$.JSArray_Iterable_ComplexSelectorComponent_2;
19118 choices = A._setArrayType([A._setArrayType([initialCombinators], t2)], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
19119 for (t3 = lcs.length, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
19120 group = lcs[_i];
19121 t4 = A._chunks0(groups1, groups2, new A._weaveParents_closure7(group), t1);
19122 t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent0>>");
19123 choices.push(A.List_List$of(new A.MappedListIterable(t4, new A._weaveParents_closure8(), t5), true, t5._eval$1("ListIterable.E")));
19124 choices.push(A._setArrayType([group], t2));
19125 groups1.removeFirst$0();
19126 groups2.removeFirst$0();
19127 }
19128 t2 = A._chunks0(groups1, groups2, new A._weaveParents_closure9(), t1);
19129 t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent0>>");
19130 choices.push(A.List_List$of(new A.MappedListIterable(t2, new A._weaveParents_closure10(), t3), true, t3._eval$1("ListIterable.E")));
19131 B.JSArray_methods.addAll$1(choices, finalCombinators);
19132 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);
19133 },
19134 _firstIfRoot0(queue) {
19135 var first;
19136 if (queue._collection$_head === queue._collection$_tail)
19137 return null;
19138 first = queue.get$first(queue);
19139 if (first instanceof A.CompoundSelector0) {
19140 if (!A._hasRoot0(first))
19141 return null;
19142 queue.removeFirst$0();
19143 return first;
19144 } else
19145 return null;
19146 },
19147 _mergeInitialCombinators0(components1, components2) {
19148 var t4, combinators2, lcs,
19149 t1 = type$.JSArray_Combinator_2,
19150 combinators1 = A._setArrayType([], t1),
19151 t2 = type$.Combinator_2,
19152 t3 = components1.$ti._precomputed1;
19153 while (true) {
19154 if (!components1.get$isEmpty(components1)) {
19155 t4 = components1._collection$_head;
19156 if (t4 === components1._collection$_tail)
19157 A.throwExpression(A.IterableElementError_noElement());
19158 t4 = t3._as(components1._collection$_table[t4]) instanceof A.Combinator0;
19159 } else
19160 t4 = false;
19161 if (!t4)
19162 break;
19163 combinators1.push(t2._as(components1.removeFirst$0()));
19164 }
19165 combinators2 = A._setArrayType([], t1);
19166 t1 = components2.$ti._precomputed1;
19167 while (true) {
19168 if (!components2.get$isEmpty(components2)) {
19169 t3 = components2._collection$_head;
19170 if (t3 === components2._collection$_tail)
19171 A.throwExpression(A.IterableElementError_noElement());
19172 t3 = t1._as(components2._collection$_table[t3]) instanceof A.Combinator0;
19173 } else
19174 t3 = false;
19175 if (!t3)
19176 break;
19177 combinators2.push(t2._as(components2.removeFirst$0()));
19178 }
19179 lcs = A.longestCommonSubsequence0(combinators1, combinators2, null, t2);
19180 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
19181 return combinators2;
19182 if (B.C_ListEquality.equals$2(0, lcs, combinators2))
19183 return combinators1;
19184 return null;
19185 },
19186 _mergeFinalCombinators0(components1, components2, result) {
19187 var t1, combinators1, t2, combinators2, lcs, combinator1, combinator2, compound1, compound2, choices, unified, followingSiblingSelector, nextSiblingSelector, _null = null;
19188 if (result == null)
19189 result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
19190 if (components1._collection$_head === components1._collection$_tail || !(components1.get$last(components1) instanceof A.Combinator0))
19191 t1 = components2._collection$_head === components2._collection$_tail || !(components2.get$last(components2) instanceof A.Combinator0);
19192 else
19193 t1 = false;
19194 if (t1)
19195 return result;
19196 t1 = type$.JSArray_Combinator_2;
19197 combinators1 = A._setArrayType([], t1);
19198 t2 = type$.Combinator_2;
19199 while (true) {
19200 if (!(!components1.get$isEmpty(components1) && components1.get$last(components1) instanceof A.Combinator0))
19201 break;
19202 combinators1.push(t2._as(components1.removeLast$0(0)));
19203 }
19204 combinators2 = A._setArrayType([], t1);
19205 while (true) {
19206 if (!(!components2.get$isEmpty(components2) && components2.get$last(components2) instanceof A.Combinator0))
19207 break;
19208 combinators2.push(t2._as(components2.removeLast$0(0)));
19209 }
19210 t1 = combinators1.length;
19211 if (t1 > 1 || combinators2.length > 1) {
19212 lcs = A.longestCommonSubsequence0(combinators1, combinators2, _null, t2);
19213 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
19214 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));
19215 else if (B.C_ListEquality.equals$2(0, lcs, combinators2))
19216 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));
19217 else
19218 return _null;
19219 return result;
19220 }
19221 combinator1 = t1 === 0 ? _null : B.JSArray_methods.get$first(combinators1);
19222 combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
19223 t1 = combinator1 != null;
19224 if (t1 && combinator2 != null) {
19225 t1 = type$.CompoundSelector_2;
19226 compound1 = t1._as(components1.removeLast$0(0));
19227 compound2 = t1._as(components2.removeLast$0(0));
19228 t1 = combinator1 === B.Combinator_CzM0;
19229 if (t1 && combinator2 === B.Combinator_CzM0)
19230 if (A.compoundIsSuperselector0(compound1, compound2, _null))
19231 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, B.Combinator_CzM0], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19232 else {
19233 t1 = type$.JSArray_ComplexSelectorComponent_2;
19234 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
19235 if (A.compoundIsSuperselector0(compound2, compound1, _null))
19236 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM0], t1)], t2));
19237 else {
19238 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);
19239 unified = A.unifyCompound0(compound1.components, compound2.components);
19240 if (unified != null)
19241 choices.push(A._setArrayType([unified, B.Combinator_CzM0], t1));
19242 result.addFirst$1(choices);
19243 }
19244 }
19245 else {
19246 if (!(t1 && combinator2 === B.Combinator_uzg0))
19247 t2 = combinator1 === B.Combinator_uzg0 && combinator2 === B.Combinator_CzM0;
19248 else
19249 t2 = true;
19250 if (t2) {
19251 followingSiblingSelector = t1 ? compound1 : compound2;
19252 nextSiblingSelector = t1 ? compound2 : compound1;
19253 t1 = type$.JSArray_ComplexSelectorComponent_2;
19254 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
19255 if (A.compoundIsSuperselector0(followingSiblingSelector, nextSiblingSelector, _null))
19256 result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingSelector, B.Combinator_uzg0], t1)], t2));
19257 else {
19258 unified = A.unifyCompound0(compound1.components, compound2.components);
19259 t2 = A._setArrayType([A._setArrayType([followingSiblingSelector, B.Combinator_CzM0, nextSiblingSelector, B.Combinator_uzg0], t1)], t2);
19260 if (unified != null)
19261 t2.push(A._setArrayType([unified, B.Combinator_uzg0], t1));
19262 result.addFirst$1(t2);
19263 }
19264 } else {
19265 if (combinator1 === B.Combinator_sgq0)
19266 t2 = combinator2 === B.Combinator_uzg0 || combinator2 === B.Combinator_CzM0;
19267 else
19268 t2 = false;
19269 if (t2) {
19270 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, combinator2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19271 components1._add$1(compound1);
19272 components1._add$1(B.Combinator_sgq0);
19273 } else {
19274 if (combinator2 === B.Combinator_sgq0)
19275 t1 = combinator1 === B.Combinator_uzg0 || t1;
19276 else
19277 t1 = false;
19278 if (t1) {
19279 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19280 components2._add$1(compound2);
19281 components2._add$1(B.Combinator_sgq0);
19282 } else if (combinator1 === combinator2) {
19283 unified = A.unifyCompound0(compound1.components, compound2.components);
19284 if (unified == null)
19285 return _null;
19286 result.addFirst$1(A._setArrayType([A._setArrayType([unified, combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19287 } else
19288 return _null;
19289 }
19290 }
19291 }
19292 return A._mergeFinalCombinators0(components1, components2, result);
19293 } else if (t1) {
19294 if (combinator1 === B.Combinator_sgq0)
19295 if (!components2.get$isEmpty(components2)) {
19296 t1 = type$.CompoundSelector_2;
19297 t1 = A.compoundIsSuperselector0(t1._as(components2.get$last(components2)), t1._as(components1.get$last(components1)), _null);
19298 } else
19299 t1 = false;
19300 else
19301 t1 = false;
19302 if (t1)
19303 components2.removeLast$0(0);
19304 result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0), combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19305 return A._mergeFinalCombinators0(components1, components2, result);
19306 } else {
19307 if (combinator2 === B.Combinator_sgq0)
19308 if (!components1.get$isEmpty(components1)) {
19309 t1 = type$.CompoundSelector_2;
19310 t1 = A.compoundIsSuperselector0(t1._as(components1.get$last(components1)), t1._as(components2.get$last(components2)), _null);
19311 } else
19312 t1 = false;
19313 else
19314 t1 = false;
19315 if (t1)
19316 components1.removeLast$0(0);
19317 t1 = components2.removeLast$0(0);
19318 combinator2.toString;
19319 result.addFirst$1(A._setArrayType([A._setArrayType([t1, combinator2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19320 return A._mergeFinalCombinators0(components1, components2, result);
19321 }
19322 },
19323 _mustUnify0(complex1, complex2) {
19324 var t2, t3, t4,
19325 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
19326 for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();) {
19327 t3 = t2.get$current(t2);
19328 if (t3 instanceof A.CompoundSelector0)
19329 for (t3 = B.JSArray_methods.get$iterator(t3.components), t4 = new A.WhereIterator(t3, A.functions0___isUnique$closure()); t4.moveNext$0();)
19330 t1.add$1(0, t3.get$current(t3));
19331 }
19332 if (t1._collection$_length === 0)
19333 return false;
19334 return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
19335 },
19336 _isUnique0(simple) {
19337 var t1;
19338 if (!(simple instanceof A.IDSelector0))
19339 t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
19340 else
19341 t1 = true;
19342 return t1;
19343 },
19344 _chunks0(queue1, queue2, done, $T) {
19345 var chunk2, t2,
19346 t1 = $T._eval$1("JSArray<0>"),
19347 chunk1 = A._setArrayType([], t1);
19348 for (; !done.call$1(queue1);)
19349 chunk1.push(queue1.removeFirst$0());
19350 chunk2 = A._setArrayType([], t1);
19351 for (; !done.call$1(queue2);)
19352 chunk2.push(queue2.removeFirst$0());
19353 t1 = chunk1.length === 0;
19354 if (t1 && chunk2.length === 0)
19355 return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
19356 if (t1)
19357 return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
19358 if (chunk2.length === 0)
19359 return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
19360 t1 = A.List_List$of(chunk1, true, $T);
19361 B.JSArray_methods.addAll$1(t1, chunk2);
19362 t2 = A.List_List$of(chunk2, true, $T);
19363 B.JSArray_methods.addAll$1(t2, chunk1);
19364 return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
19365 },
19366 paths0(choices, $T) {
19367 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));
19368 },
19369 _groupSelectors0(complex) {
19370 var t1, t2, group, t3, t4,
19371 groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
19372 iterator = A._ListQueueIterator$(complex);
19373 if (!iterator.moveNext$0())
19374 return groups;
19375 t1 = A._instanceType(iterator)._precomputed1;
19376 t2 = type$.JSArray_ComplexSelectorComponent_2;
19377 group = A._setArrayType([t1._as(iterator._collection$_current)], t2);
19378 groups._queue_list$_add$1(group);
19379 for (; iterator.moveNext$0();) {
19380 t3 = B.JSArray_methods.get$last(group) instanceof A.Combinator0 || t1._as(iterator._collection$_current) instanceof A.Combinator0;
19381 t4 = iterator._collection$_current;
19382 if (t3)
19383 group.push(t1._as(t4));
19384 else {
19385 group = A._setArrayType([t1._as(t4)], t2);
19386 groups._queue_list$_add$1(group);
19387 }
19388 }
19389 return groups;
19390 },
19391 _hasRoot0(compound) {
19392 return B.JSArray_methods.any$1(compound.components, new A._hasRoot_closure0());
19393 },
19394 listIsSuperselector0(list1, list2) {
19395 return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
19396 },
19397 complexIsParentSuperselector0(complex1, complex2) {
19398 var t2, base,
19399 t1 = J.getInterceptor$ax(complex1);
19400 if (t1.get$first(complex1) instanceof A.Combinator0)
19401 return false;
19402 t2 = J.getInterceptor$ax(complex2);
19403 if (t2.get$first(complex2) instanceof A.Combinator0)
19404 return false;
19405 if (t1.get$length(complex1) > t2.get$length(complex2))
19406 return false;
19407 base = A.CompoundSelector$0(A._setArrayType([new A.PlaceholderSelector0("<temp>")], type$.JSArray_SimpleSelector_2));
19408 t1 = type$.ComplexSelectorComponent_2;
19409 t2 = A.List_List$of(complex1, true, t1);
19410 t2.push(base);
19411 t1 = A.List_List$of(complex2, true, t1);
19412 t1.push(base);
19413 return A.complexIsSuperselector0(t2, t1);
19414 },
19415 complexIsSuperselector0(complex1, complex2) {
19416 var t1, t2, t3, i1, i2, remaining1, remaining2, t4, t5, t6, afterSuperselector, afterSuperselector0, compound2, i10, combinator1, combinator2;
19417 if (B.JSArray_methods.get$last(complex1) instanceof A.Combinator0)
19418 return false;
19419 if (B.JSArray_methods.get$last(complex2) instanceof A.Combinator0)
19420 return false;
19421 for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), t3 = type$.CompoundSelector_2, i1 = 0, i2 = 0; true;) {
19422 remaining1 = complex1.length - i1;
19423 remaining2 = complex2.length - i2;
19424 if (remaining1 === 0 || remaining2 === 0)
19425 return false;
19426 if (remaining1 > remaining2)
19427 return false;
19428 t4 = complex1[i1];
19429 if (t4 instanceof A.Combinator0)
19430 return false;
19431 if (complex2[i2] instanceof A.Combinator0)
19432 return false;
19433 t3._as(t4);
19434 if (remaining1 === 1) {
19435 t5 = t3._as(B.JSArray_methods.get$last(complex2));
19436 t6 = complex2.length - 1;
19437 t3 = new A.SubListIterable(complex2, 0, t6, t1);
19438 t3.SubListIterable$3(complex2, 0, t6, t2);
19439 return A.compoundIsSuperselector0(t4, t5, t3.skip$1(0, i2));
19440 }
19441 afterSuperselector = i2 + 1;
19442 for (afterSuperselector0 = afterSuperselector; afterSuperselector0 < complex2.length; ++afterSuperselector0) {
19443 t5 = afterSuperselector0 - 1;
19444 compound2 = complex2[t5];
19445 if (compound2 instanceof A.CompoundSelector0) {
19446 t6 = new A.SubListIterable(complex2, 0, t5, t1);
19447 t6.SubListIterable$3(complex2, 0, t5, t2);
19448 if (A.compoundIsSuperselector0(t4, compound2, t6.skip$1(0, afterSuperselector)))
19449 break;
19450 }
19451 }
19452 if (afterSuperselector0 === complex2.length)
19453 return false;
19454 i10 = i1 + 1;
19455 combinator1 = complex1[i10];
19456 combinator2 = complex2[afterSuperselector0];
19457 if (combinator1 instanceof A.Combinator0) {
19458 if (!(combinator2 instanceof A.Combinator0))
19459 return false;
19460 if (combinator1 === B.Combinator_CzM0) {
19461 if (combinator2 === B.Combinator_sgq0)
19462 return false;
19463 } else if (combinator2 !== combinator1)
19464 return false;
19465 if (remaining1 === 3 && remaining2 > 3)
19466 return false;
19467 i1 += 2;
19468 i2 = afterSuperselector0 + 1;
19469 } else {
19470 if (combinator2 instanceof A.Combinator0) {
19471 if (combinator2 !== B.Combinator_sgq0)
19472 return false;
19473 i2 = afterSuperselector0 + 1;
19474 } else
19475 i2 = afterSuperselector0;
19476 i1 = i10;
19477 }
19478 }
19479 },
19480 compoundIsSuperselector0(compound1, compound2, parents) {
19481 var t1, t2, _i, simple1, simple2;
19482 for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
19483 simple1 = t1[_i];
19484 if (simple1 instanceof A.PseudoSelector0 && simple1.selector != null) {
19485 if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
19486 return false;
19487 } else if (!A._simpleIsSuperselectorOfCompound0(simple1, compound2))
19488 return false;
19489 }
19490 for (t1 = compound2.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
19491 simple2 = t1[_i];
19492 if (simple2 instanceof A.PseudoSelector0 && !simple2.isClass && simple2.selector == null && !A._simpleIsSuperselectorOfCompound0(simple2, compound1))
19493 return false;
19494 }
19495 return true;
19496 },
19497 _simpleIsSuperselectorOfCompound0(simple, compound) {
19498 return B.JSArray_methods.any$1(compound.components, new A._simpleIsSuperselectorOfCompound_closure0(simple));
19499 },
19500 _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
19501 var selector1_ = pseudo1.selector;
19502 if (selector1_ == null)
19503 throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
19504 switch (pseudo1.normalizedName) {
19505 case "is":
19506 case "matches":
19507 case "any":
19508 case "where":
19509 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));
19510 case "has":
19511 case "host":
19512 case "host-context":
19513 return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1_));
19514 case "slotted":
19515 return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1_));
19516 case "not":
19517 return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
19518 case "current":
19519 return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1_));
19520 case "nth-child":
19521 case "nth-last-child":
19522 return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1_));
19523 default:
19524 throw A.wrapException("unreachable");
19525 }
19526 },
19527 _selectorPseudoArgs0(compound, $name, isClass) {
19528 var t1 = type$.WhereTypeIterable_PseudoSelector_2;
19529 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);
19530 },
19531 unifyComplex_closure0: function unifyComplex_closure0() {
19532 },
19533 _weaveParents_closure6: function _weaveParents_closure6() {
19534 },
19535 _weaveParents_closure7: function _weaveParents_closure7(t0) {
19536 this.group = t0;
19537 },
19538 _weaveParents_closure8: function _weaveParents_closure8() {
19539 },
19540 _weaveParents__closure4: function _weaveParents__closure4() {
19541 },
19542 _weaveParents_closure9: function _weaveParents_closure9() {
19543 },
19544 _weaveParents_closure10: function _weaveParents_closure10() {
19545 },
19546 _weaveParents__closure3: function _weaveParents__closure3() {
19547 },
19548 _weaveParents_closure11: function _weaveParents_closure11() {
19549 },
19550 _weaveParents_closure12: function _weaveParents_closure12() {
19551 },
19552 _weaveParents__closure2: function _weaveParents__closure2() {
19553 },
19554 _mustUnify_closure0: function _mustUnify_closure0(t0) {
19555 this.uniqueSelectors = t0;
19556 },
19557 _mustUnify__closure0: function _mustUnify__closure0(t0) {
19558 this.uniqueSelectors = t0;
19559 },
19560 paths_closure0: function paths_closure0(t0) {
19561 this.T = t0;
19562 },
19563 paths__closure0: function paths__closure0(t0, t1) {
19564 this.paths = t0;
19565 this.T = t1;
19566 },
19567 paths___closure0: function paths___closure0(t0, t1) {
19568 this.option = t0;
19569 this.T = t1;
19570 },
19571 _hasRoot_closure0: function _hasRoot_closure0() {
19572 },
19573 listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
19574 this.list1 = t0;
19575 },
19576 listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
19577 this.complex1 = t0;
19578 },
19579 _simpleIsSuperselectorOfCompound_closure0: function _simpleIsSuperselectorOfCompound_closure0(t0) {
19580 this.simple = t0;
19581 },
19582 _simpleIsSuperselectorOfCompound__closure0: function _simpleIsSuperselectorOfCompound__closure0(t0) {
19583 this.simple = t0;
19584 },
19585 _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
19586 this.selector1 = t0;
19587 },
19588 _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
19589 this.parents = t0;
19590 this.compound2 = t1;
19591 },
19592 _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
19593 this.selector1 = t0;
19594 },
19595 _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
19596 this.selector1 = t0;
19597 },
19598 _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
19599 this.compound2 = t0;
19600 this.pseudo1 = t1;
19601 },
19602 _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
19603 this.complex = t0;
19604 this.pseudo1 = t1;
19605 },
19606 _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
19607 this.simple2 = t0;
19608 },
19609 _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
19610 this.simple2 = t0;
19611 },
19612 _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
19613 this.selector1 = t0;
19614 },
19615 _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
19616 this.pseudo1 = t0;
19617 this.selector1 = t1;
19618 },
19619 _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
19620 this.isClass = t0;
19621 this.name = t1;
19622 },
19623 _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
19624 },
19625 globalFunctions_closure0: function globalFunctions_closure0() {
19626 },
19627 IDSelector0: function IDSelector0(t0) {
19628 this.name = t0;
19629 },
19630 IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
19631 this.$this = t0;
19632 },
19633 IfExpression0: function IfExpression0(t0, t1) {
19634 this.$arguments = t0;
19635 this.span = t1;
19636 },
19637 IfClause$0(expression, children) {
19638 var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
19639 return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
19640 },
19641 ElseClause$0(children) {
19642 var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
19643 return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
19644 },
19645 IfRule0: function IfRule0(t0, t1, t2) {
19646 this.clauses = t0;
19647 this.lastClause = t1;
19648 this.span = t2;
19649 },
19650 IfRule_toString_closure0: function IfRule_toString_closure0() {
19651 },
19652 IfRuleClause0: function IfRuleClause0() {
19653 },
19654 IfRuleClause$__closure0: function IfRuleClause$__closure0() {
19655 },
19656 IfRuleClause$___closure0: function IfRuleClause$___closure0() {
19657 },
19658 IfClause0: function IfClause0(t0, t1, t2) {
19659 this.expression = t0;
19660 this.children = t1;
19661 this.hasDeclarations = t2;
19662 },
19663 ElseClause0: function ElseClause0(t0, t1) {
19664 this.children = t0;
19665 this.hasDeclarations = t1;
19666 },
19667 jsToDartList(list) {
19668 return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
19669 },
19670 dartMapToImmutableMap(dartMap) {
19671 var t1, t2,
19672 immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
19673 for (t1 = dartMap.get$entries(dartMap), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
19674 t2 = t1.get$current(t1);
19675 immutableMap = J.$set$2$x(immutableMap, t2.key, t2.value);
19676 }
19677 return J.asImmutable$0$x(immutableMap);
19678 },
19679 immutableMapToDartMap(immutableMap) {
19680 var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
19681 J.forEach$1$x(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
19682 return dartMap;
19683 },
19684 ImmutableList: function ImmutableList() {
19685 },
19686 ImmutableMap: function ImmutableMap() {
19687 },
19688 immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
19689 this.dartMap = t0;
19690 },
19691 NodeImporter__addSassPath($async$includePaths) {
19692 return A._makeSyncStarIterable(function() {
19693 var includePaths = $async$includePaths;
19694 var $async$goto = 0, $async$handler = 2, $async$currentError, sassPath;
19695 return function $async$NodeImporter__addSassPath($async$errorCode, $async$result) {
19696 if ($async$errorCode === 1) {
19697 $async$currentError = $async$result;
19698 $async$goto = $async$handler;
19699 }
19700 while (true)
19701 switch ($async$goto) {
19702 case 0:
19703 // Function start
19704 $async$goto = 3;
19705 return A._IterationMarker_yieldStar(includePaths);
19706 case 3:
19707 // after yield
19708 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH);
19709 if (sassPath == null) {
19710 // goto return
19711 $async$goto = 1;
19712 break;
19713 }
19714 $async$goto = 4;
19715 return A._IterationMarker_yieldStar(A._setArrayType(sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":"), type$.JSArray_String));
19716 case 4:
19717 // after yield
19718 case 1:
19719 // return
19720 return A._IterationMarker_endOfIteration();
19721 case 2:
19722 // rethrow
19723 return A._IterationMarker_uncaughtError($async$currentError);
19724 }
19725 };
19726 }, type$.String);
19727 },
19728 NodeImporter: function NodeImporter(t0, t1, t2) {
19729 this._implementation$_options = t0;
19730 this._includePaths = t1;
19731 this._implementation$_importers = t2;
19732 },
19733 NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
19734 this.path = t0;
19735 },
19736 NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
19737 },
19738 ModifiableCssImport$0(url, span, media, supports) {
19739 return new A.ModifiableCssImport0(url, supports, media == null ? null : A.List_List$unmodifiable(media, type$.CssMediaQuery_2), span);
19740 },
19741 ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2, t3) {
19742 var _ = this;
19743 _.url = t0;
19744 _.supports = t1;
19745 _.media = t2;
19746 _.span = t3;
19747 _._node1$_indexInParent = _._node1$_parent = null;
19748 _.isGroupEnd = false;
19749 },
19750 ImportCache$0(importers, loadPaths, logger, packageConfig) {
19751 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
19752 t2 = type$.Uri,
19753 t3 = A.ImportCache__toImporters0(importers, loadPaths, packageConfig);
19754 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));
19755 },
19756 ImportCache$none(logger) {
19757 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
19758 t2 = type$.Uri;
19759 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));
19760 },
19761 ImportCache__toImporters0(importers, loadPaths, packageConfig) {
19762 var t2, t3, _i, path, _null = null,
19763 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
19764 t1 = A._setArrayType([], type$.JSArray_Importer);
19765 if (importers != null)
19766 B.JSArray_methods.addAll$1(t1, importers);
19767 if (loadPaths != null)
19768 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
19769 t3 = t2.get$current(t2);
19770 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
19771 }
19772 if (sassPath != null) {
19773 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
19774 t3 = t2.length;
19775 _i = 0;
19776 for (; _i < t3; ++_i) {
19777 path = t2[_i];
19778 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
19779 }
19780 }
19781 return t1;
19782 },
19783 ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5) {
19784 var _ = this;
19785 _._import_cache$_importers = t0;
19786 _._import_cache$_logger = t1;
19787 _._import_cache$_canonicalizeCache = t2;
19788 _._import_cache$_relativeCanonicalizeCache = t3;
19789 _._import_cache$_importCache = t4;
19790 _._import_cache$_resultsCache = t5;
19791 },
19792 ImportCache_canonicalize_closure1: function ImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
19793 var _ = this;
19794 _.$this = t0;
19795 _.baseUrl = t1;
19796 _.url = t2;
19797 _.baseImporter = t3;
19798 _.forImport = t4;
19799 },
19800 ImportCache_canonicalize_closure2: function ImportCache_canonicalize_closure2(t0, t1, t2) {
19801 this.$this = t0;
19802 this.url = t1;
19803 this.forImport = t2;
19804 },
19805 ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
19806 this.importer = t0;
19807 this.url = t1;
19808 },
19809 ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
19810 var _ = this;
19811 _.$this = t0;
19812 _.importer = t1;
19813 _.canonicalUrl = t2;
19814 _.originalUrl = t3;
19815 _.quiet = t4;
19816 },
19817 ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
19818 this.canonicalUrl = t0;
19819 },
19820 ImportCache_humanize_closure3: function ImportCache_humanize_closure3() {
19821 },
19822 ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
19823 },
19824 ImportRule0: function ImportRule0(t0, t1) {
19825 this.imports = t0;
19826 this.span = t1;
19827 },
19828 NodeImporter0: function NodeImporter0() {
19829 },
19830 CanonicalizeOptions: function CanonicalizeOptions() {
19831 },
19832 NodeImporterResult0: function NodeImporterResult0() {
19833 },
19834 Importer0: function Importer0() {
19835 },
19836 NodeImporterResult1: function NodeImporterResult1() {
19837 },
19838 IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4) {
19839 var _ = this;
19840 _.namespace = t0;
19841 _.name = t1;
19842 _.$arguments = t2;
19843 _.content = t3;
19844 _.span = t4;
19845 },
19846 InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
19847 this.name = t0;
19848 this.$arguments = t1;
19849 this.span = t2;
19850 },
19851 Interpolation$0(contents, span) {
19852 var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), span);
19853 t1.Interpolation$20(contents, span);
19854 return t1;
19855 },
19856 Interpolation0: function Interpolation0(t0, t1) {
19857 this.contents = t0;
19858 this.span = t1;
19859 },
19860 Interpolation_toString_closure0: function Interpolation_toString_closure0() {
19861 },
19862 SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
19863 this.expression = t0;
19864 this.span = t1;
19865 },
19866 InterpolationBuffer0: function InterpolationBuffer0(t0, t1) {
19867 this._interpolation_buffer0$_text = t0;
19868 this._interpolation_buffer0$_contents = t1;
19869 },
19870 _realCasePath0(path) {
19871 var prefix, t1;
19872 if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
19873 return path;
19874 if (J.$eq$(J.get$platform$x(self.process), "win32")) {
19875 prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
19876 t1 = prefix.length;
19877 if (t1 !== 0 && A.isAlphabetic1(B.JSString_methods._codeUnitAt$1(prefix, 0)))
19878 path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
19879 }
19880 return new A._realCasePath_helper0().call$1(path);
19881 },
19882 _realCasePath_helper0: function _realCasePath_helper0() {
19883 },
19884 _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
19885 this.helper = t0;
19886 this.dirname = t1;
19887 this.path = t2;
19888 },
19889 _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
19890 this.basename = t0;
19891 },
19892 ModifiableCssKeyframeBlock$0(selector, span) {
19893 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
19894 return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
19895 },
19896 ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
19897 var _ = this;
19898 _.selector = t0;
19899 _.span = t1;
19900 _.children = t2;
19901 _._node1$_children = t3;
19902 _._node1$_indexInParent = _._node1$_parent = null;
19903 _.isGroupEnd = false;
19904 },
19905 KeyframeSelectorParser$0(contents, logger) {
19906 var t1 = A.SpanScanner$(contents, null);
19907 return new A.KeyframeSelectorParser0(t1, logger);
19908 },
19909 KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1) {
19910 this.scanner = t0;
19911 this.logger = t1;
19912 },
19913 KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
19914 this.$this = t0;
19915 },
19916 render(options, callback) {
19917 var fiber = J.get$fiber$x(options);
19918 if (fiber != null)
19919 J.run$0$x(fiber.call$1(A.allowInterop(new A.render_closure(callback, options))));
19920 else
19921 A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
19922 },
19923 _renderAsync(options) {
19924 var $async$goto = 0,
19925 $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
19926 $async$returnValue, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, data, file;
19927 var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
19928 if ($async$errorCode === 1)
19929 return A._asyncRethrow($async$result, $async$completer);
19930 while (true)
19931 switch ($async$goto) {
19932 case 0:
19933 // Function start
19934 start = new A.DateTime(Date.now(), false);
19935 t1 = J.getInterceptor$x(options);
19936 data = t1.get$data(options);
19937 file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
19938 $async$goto = data != null ? 3 : 5;
19939 break;
19940 case 3:
19941 // then
19942 t2 = A._parseImporter(options, start);
19943 t3 = A._parseFunctions(options, start, true);
19944 t4 = t1.get$indentedSyntax(options);
19945 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : null;
19946 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19947 t6 = J.$eq$(t1.get$indentType(options), "tab");
19948 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19949 t8 = A._parseLineFeed(t1.get$linefeed(options));
19950 t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
19951 t10 = t1.get$quietDeps(options);
19952 if (t10 == null)
19953 t10 = false;
19954 t11 = t1.get$verbose(options);
19955 if (t11 == null)
19956 t11 = false;
19957 t12 = t1.get$charset(options);
19958 if (t12 == null)
19959 t12 = true;
19960 t13 = A._enableSourceMaps(options);
19961 t1 = t1.get$logger(options);
19962 t14 = J.$eq$(self.process.stdout.isTTY, true);
19963 t15 = $._glyphs;
19964 $async$goto = 6;
19965 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);
19966 case 6:
19967 // returning from await.
19968 result = $async$result;
19969 // goto join
19970 $async$goto = 4;
19971 break;
19972 case 5:
19973 // else
19974 $async$goto = file != null ? 7 : 9;
19975 break;
19976 case 7:
19977 // then
19978 t2 = A._parseImporter(options, start);
19979 t3 = A._parseFunctions(options, start, true);
19980 t4 = t1.get$indentedSyntax(options);
19981 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : null;
19982 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19983 t6 = J.$eq$(t1.get$indentType(options), "tab");
19984 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19985 t8 = A._parseLineFeed(t1.get$linefeed(options));
19986 t9 = t1.get$quietDeps(options);
19987 if (t9 == null)
19988 t9 = false;
19989 t10 = t1.get$verbose(options);
19990 if (t10 == null)
19991 t10 = false;
19992 t11 = t1.get$charset(options);
19993 if (t11 == null)
19994 t11 = true;
19995 t12 = A._enableSourceMaps(options);
19996 t1 = t1.get$logger(options);
19997 t13 = J.$eq$(self.process.stdout.isTTY, true);
19998 t14 = $._glyphs;
19999 $async$goto = 10;
20000 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);
20001 case 10:
20002 // returning from await.
20003 result = $async$result;
20004 // goto join
20005 $async$goto = 8;
20006 break;
20007 case 9:
20008 // else
20009 throw A.wrapException(A.ArgumentError$(string$.Either, null));
20010 case 8:
20011 // join
20012 case 4:
20013 // join
20014 $async$returnValue = A._newRenderResult(options, result, start);
20015 // goto return
20016 $async$goto = 1;
20017 break;
20018 case 1:
20019 // return
20020 return A._asyncReturn($async$returnValue, $async$completer);
20021 }
20022 });
20023 return A._asyncStartSync($async$_renderAsync, $async$completer);
20024 },
20025 renderSync(options) {
20026 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;
20027 try {
20028 start = new A.DateTime(Date.now(), false);
20029 result = null;
20030 t1 = J.getInterceptor$x(options);
20031 data = t1.get$data(options);
20032 file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
20033 if (data != null) {
20034 t2 = A._parseImporter(options, start);
20035 t3 = A._parseFunctions(options, start, false);
20036 t4 = t1.get$indentedSyntax(options);
20037 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : _null;
20038 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
20039 t6 = J.$eq$(t1.get$indentType(options), "tab");
20040 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
20041 t8 = A._parseLineFeed(t1.get$linefeed(options));
20042 t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
20043 t10 = t1.get$quietDeps(options);
20044 if (t10 == null)
20045 t10 = false;
20046 t11 = t1.get$verbose(options);
20047 if (t11 == null)
20048 t11 = false;
20049 t12 = t1.get$charset(options);
20050 if (t12 == null)
20051 t12 = true;
20052 t13 = A._enableSourceMaps(options);
20053 t1 = t1.get$logger(options);
20054 t14 = J.$eq$(self.process.stdout.isTTY, true);
20055 t15 = $._glyphs;
20056 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);
20057 } else if (file != null) {
20058 t2 = A._parseImporter(options, start);
20059 t3 = A._parseFunctions(options, start, false);
20060 t4 = t1.get$indentedSyntax(options);
20061 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : _null;
20062 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
20063 t6 = J.$eq$(t1.get$indentType(options), "tab");
20064 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
20065 t8 = A._parseLineFeed(t1.get$linefeed(options));
20066 t9 = t1.get$quietDeps(options);
20067 if (t9 == null)
20068 t9 = false;
20069 t10 = t1.get$verbose(options);
20070 if (t10 == null)
20071 t10 = false;
20072 t11 = t1.get$charset(options);
20073 if (t11 == null)
20074 t11 = true;
20075 t12 = A._enableSourceMaps(options);
20076 t1 = t1.get$logger(options);
20077 t13 = J.$eq$(self.process.stdout.isTTY, true);
20078 t14 = $._glyphs;
20079 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);
20080 } else {
20081 t1 = A.ArgumentError$(string$.Either, _null);
20082 throw A.wrapException(t1);
20083 }
20084 t1 = A._newRenderResult(options, result, start);
20085 return t1;
20086 } catch (exception) {
20087 t1 = A.unwrapException(exception);
20088 if (t1 instanceof A.SassException0) {
20089 error = t1;
20090 stackTrace = A.getTraceFromException(exception);
20091 A.jsThrow(A._wrapException(error, stackTrace));
20092 } else {
20093 error0 = t1;
20094 stackTrace0 = A.getTraceFromException(exception);
20095 t1 = J.toString$0$(error0);
20096 t2 = A.getTrace0(error0);
20097 A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
20098 }
20099 }
20100 },
20101 _wrapException(exception, stackTrace) {
20102 var file, t1, t2, t3, t4,
20103 url = A.SourceSpanException.prototype.get$span.call(exception, exception).file.url;
20104 if (url == null)
20105 file = "stdin";
20106 else
20107 file = url.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(url)) : url.toString$0(0);
20108 t1 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
20109 t2 = A.getTrace0(exception);
20110 if (t2 == null)
20111 t2 = stackTrace;
20112 t3 = A.SourceSpanException.prototype.get$span.call(exception, exception);
20113 t3 = A.FileLocation$_(t3.file, t3._file$_start);
20114 t3 = t3.file.getLine$1(t3.offset);
20115 t4 = A.SourceSpanException.prototype.get$span.call(exception, exception);
20116 t4 = A.FileLocation$_(t4.file, t4._file$_start);
20117 return A._newRenderError(t1, t2, t4.file.getColumn$1(t4.offset) + 1, file, t3 + 1, 1);
20118 },
20119 _parseFunctions(options, start, asynch) {
20120 var result,
20121 functions = J.get$functions$x(options);
20122 if (functions == null)
20123 return B.List_empty20;
20124 result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
20125 A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
20126 return result;
20127 },
20128 _parseImporter(options, start) {
20129 var importers, t2, t3, contextOptions, fiber,
20130 t1 = J.getInterceptor$x(options);
20131 if (t1.get$importer(options) == null)
20132 importers = A._setArrayType([], type$.JSArray_JSFunction);
20133 else {
20134 t2 = type$.List_nullable_Object;
20135 t3 = type$.JSFunction;
20136 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);
20137 }
20138 t2 = J.getInterceptor$asx(importers);
20139 contextOptions = t2.get$isNotEmpty(importers) ? A._contextOptions(options, start) : new A.Object();
20140 fiber = t1.get$fiber(options);
20141 if (fiber != null) {
20142 t2 = t2.map$1$1(importers, new A._parseImporter_closure(fiber), type$.JSFunction);
20143 importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
20144 }
20145 t1 = t1.get$includePaths(options);
20146 if (t1 == null)
20147 t1 = [];
20148 t2 = type$.String;
20149 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));
20150 },
20151 _contextOptions(options, start) {
20152 var includePaths, t3, t4, t5, t6, t7,
20153 t1 = J.getInterceptor$x(options),
20154 t2 = t1.get$includePaths(options);
20155 if (t2 == null)
20156 t2 = [];
20157 includePaths = A.List_List$from(t2, true, type$.String);
20158 t2 = t1.get$file(options);
20159 t3 = t1.get$data(options);
20160 t4 = A._setArrayType([A.current()], type$.JSArray_String);
20161 B.JSArray_methods.addAll$1(t4, includePaths);
20162 t4 = B.JSArray_methods.join$1(t4, J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
20163 t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
20164 t6 = A._parseIndentWidth(t1.get$indentWidth(options));
20165 if (t6 == null)
20166 t6 = 2;
20167 t7 = A._parseLineFeed(t1.get$linefeed(options));
20168 t1 = t1.get$file(options);
20169 if (t1 == null)
20170 t1 = "data";
20171 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}}};
20172 },
20173 _parseOutputStyle(style) {
20174 if (style == null || style === "expanded")
20175 return B.OutputStyle_expanded0;
20176 if (style === "compressed")
20177 return B.OutputStyle_compressed0;
20178 throw A.wrapException(A.ArgumentError$('Unsupported output style "' + A.S(style) + '".', null));
20179 },
20180 _parseIndentWidth(width) {
20181 if (width == null)
20182 return null;
20183 return A._isInt(width) ? width : A.int_parse(J.toString$0$(width), null);
20184 },
20185 _parseLineFeed(str) {
20186 switch (str) {
20187 case "cr":
20188 return B.LineFeed_kMT;
20189 case "crlf":
20190 return B.LineFeed_Mss;
20191 case "lfcr":
20192 return B.LineFeed_a1Y;
20193 default:
20194 return B.LineFeed_D6m;
20195 }
20196 },
20197 _newRenderResult(options, result, start) {
20198 var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, t5, file, sourceMapDirUrl, i, source, t6, t7, buffer, indices, url, t8, t9, _null = null,
20199 t1 = Date.now(),
20200 t2 = result._compile_result$_serialize,
20201 css = t2.css,
20202 sourceMapBytes = type$.Null._as(self.undefined);
20203 if (A._enableSourceMaps(options)) {
20204 t3 = J.getInterceptor$x(options);
20205 sourceMapOption = t3.get$sourceMap(options);
20206 if (typeof sourceMapOption == "string")
20207 sourceMapPath = sourceMapOption;
20208 else {
20209 t4 = t3.get$outFile(options);
20210 t4.toString;
20211 sourceMapPath = J.$add$ansx(t4, ".map");
20212 }
20213 t4 = $.$get$context();
20214 sourceMapDir = t4.dirname$1(sourceMapPath);
20215 t2 = t2.sourceMap;
20216 t2.toString;
20217 t2.sourceRoot = t3.get$sourceMapRoot(options);
20218 outFile = t3.get$outFile(options);
20219 t5 = outFile == null;
20220 if (t5) {
20221 file = t3.get$file(options);
20222 if (file == null)
20223 t2.targetUrl = "stdin.css";
20224 else
20225 t2.targetUrl = t4.toUri$1(t4.withoutExtension$1(file) + ".css").toString$0(0);
20226 } else
20227 t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
20228 sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
20229 for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
20230 source = t4[i];
20231 if (source === "stdin")
20232 continue;
20233 t6 = $.$get$url();
20234 t7 = t6.style;
20235 if (t7.rootLength$1(source) <= 0 || t7.isRootRelative$1(source))
20236 continue;
20237 t4[i] = t6.relative$2$from(source, sourceMapDirUrl);
20238 }
20239 t4 = t3.get$sourceMapContents(options);
20240 sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
20241 t2 = t3.get$omitSourceMapUrl(options);
20242 if (!(!J.$eq$(t2, false) && t2 != null)) {
20243 t2 = t3.get$sourceMapEmbed(options);
20244 if (!J.$eq$(t2, false) && t2 != null) {
20245 buffer = new A.StringBuffer("");
20246 indices = A._setArrayType([-1], type$.JSArray_int);
20247 A.UriData__writeUri("application/json", _null, _null, buffer, indices);
20248 indices.push(buffer._contents.length);
20249 t2 = buffer._contents += ";base64,";
20250 indices.push(t2.length - 1);
20251 t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
20252 t3 = sourceMapBytes.length;
20253 A.RangeError_checkValidRange(0, t3, t3);
20254 t2._convert$_add$4(sourceMapBytes, 0, t3, true);
20255 t2 = buffer._contents;
20256 url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
20257 } else {
20258 if (t5)
20259 t2 = sourceMapPath;
20260 else {
20261 t2 = $.$get$context();
20262 t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
20263 }
20264 url = $.$get$context().toUri$1(t2);
20265 }
20266 css += "\n\n/*# sourceMappingURL=" + url.toString$0(0) + " */";
20267 }
20268 }
20269 t2 = self.Buffer.from(css, "utf8");
20270 t3 = J.get$file$x(options);
20271 if (t3 == null)
20272 t3 = "data";
20273 t4 = start._core$_value;
20274 t1 = new A.DateTime(t1, false)._core$_value;
20275 t5 = B.JSInt_methods._tdivFast$1(A.Duration$(t1 - t4)._duration, 1000);
20276 t6 = A._setArrayType([], type$.JSArray_String);
20277 for (t7 = result._evaluate.loadedUrls, t7 = A._LinkedHashSetIterator$(t7, t7._collection$_modifications), t8 = A._instanceType(t7)._precomputed1; t7.moveNext$0();) {
20278 t9 = t8._as(t7._collection$_current);
20279 if (t9.get$scheme() === "file")
20280 t6.push($.$get$context().style.pathFromUri$1(A._parseUri(t9)));
20281 else
20282 t6.push(t9.toString$0(0));
20283 }
20284 return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
20285 },
20286 _enableSourceMaps(options) {
20287 var t2,
20288 t1 = J.getInterceptor$x(options);
20289 if (typeof t1.get$sourceMap(options) != "string") {
20290 t2 = t1.get$sourceMap(options);
20291 t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
20292 } else
20293 t1 = true;
20294 return t1;
20295 },
20296 _newRenderError(message, stackTrace, column, file, line, $status) {
20297 var error = new self.Error(message);
20298 error.formatted = "Error: " + message;
20299 if (line != null)
20300 error.line = line;
20301 if (column != null)
20302 error.column = column;
20303 if (file != null)
20304 error.file = file;
20305 error.status = $status;
20306 A.attachJsStack(error, stackTrace);
20307 return error;
20308 },
20309 render_closure: function render_closure(t0, t1) {
20310 this.callback = t0;
20311 this.options = t1;
20312 },
20313 render_closure0: function render_closure0(t0) {
20314 this.callback = t0;
20315 },
20316 render_closure1: function render_closure1(t0) {
20317 this.callback = t0;
20318 },
20319 _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
20320 var _ = this;
20321 _.options = t0;
20322 _.start = t1;
20323 _.result = t2;
20324 _.asynch = t3;
20325 },
20326 _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
20327 this.fiber = t0;
20328 this.callback = t1;
20329 this.context = t2;
20330 },
20331 _parseFunctions___closure0: function _parseFunctions___closure0(t0) {
20332 this.currentFiber = t0;
20333 },
20334 _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
20335 this.currentFiber = t0;
20336 this.result = t1;
20337 },
20338 _parseFunctions___closure1: function _parseFunctions___closure1(t0) {
20339 this.fiber = t0;
20340 },
20341 _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
20342 this.callback = t0;
20343 this.context = t1;
20344 },
20345 _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
20346 this.callback = t0;
20347 this.context = t1;
20348 },
20349 _parseFunctions___closure: function _parseFunctions___closure(t0) {
20350 this.completer = t0;
20351 },
20352 _parseImporter_closure: function _parseImporter_closure(t0) {
20353 this.fiber = t0;
20354 },
20355 _parseImporter__closure: function _parseImporter__closure(t0, t1) {
20356 this.fiber = t0;
20357 this.importer = t1;
20358 },
20359 _parseImporter___closure: function _parseImporter___closure(t0) {
20360 this.currentFiber = t0;
20361 },
20362 _parseImporter____closure: function _parseImporter____closure(t0, t1) {
20363 this.currentFiber = t0;
20364 this.result = t1;
20365 },
20366 _parseImporter___closure0: function _parseImporter___closure0(t0) {
20367 this.fiber = t0;
20368 },
20369 LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
20370 var t2, key,
20371 t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
20372 for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
20373 key = t2.get$current(t2);
20374 if (!blocklist.contains$1(0, key))
20375 t1.add$1(0, key);
20376 }
20377 return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
20378 },
20379 LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
20380 this._limited_map_view0$_map = t0;
20381 this._limited_map_view0$_keys = t1;
20382 this.$ti = t2;
20383 },
20384 ListExpression0: function ListExpression0(t0, t1, t2, t3) {
20385 var _ = this;
20386 _.contents = t0;
20387 _.separator = t1;
20388 _.hasBrackets = t2;
20389 _.span = t3;
20390 },
20391 ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
20392 this.$this = t0;
20393 },
20394 _function10($name, $arguments, callback) {
20395 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
20396 },
20397 _length_closure2: function _length_closure2() {
20398 },
20399 _nth_closure0: function _nth_closure0() {
20400 },
20401 _setNth_closure0: function _setNth_closure0() {
20402 },
20403 _join_closure0: function _join_closure0() {
20404 },
20405 _append_closure2: function _append_closure2() {
20406 },
20407 _zip_closure0: function _zip_closure0() {
20408 },
20409 _zip__closure2: function _zip__closure2() {
20410 },
20411 _zip__closure3: function _zip__closure3(t0) {
20412 this._box_0 = t0;
20413 },
20414 _zip__closure4: function _zip__closure4(t0) {
20415 this._box_0 = t0;
20416 },
20417 _index_closure2: function _index_closure2() {
20418 },
20419 _separator_closure0: function _separator_closure0() {
20420 },
20421 _isBracketed_closure0: function _isBracketed_closure0() {
20422 },
20423 _slash_closure0: function _slash_closure0() {
20424 },
20425 SelectorList$0(components) {
20426 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
20427 if (t1.length === 0)
20428 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
20429 return new A.SelectorList0(t1);
20430 },
20431 SelectorList_SelectorList$parse0(contents, allowParent, allowPlaceholder, logger) {
20432 return A.SelectorParser$0(contents, allowParent, allowPlaceholder, logger, null).parse$0();
20433 },
20434 SelectorList0: function SelectorList0(t0) {
20435 this.components = t0;
20436 },
20437 SelectorList_isInvisible_closure0: function SelectorList_isInvisible_closure0() {
20438 },
20439 SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
20440 },
20441 SelectorList_asSassList__closure0: function SelectorList_asSassList__closure0() {
20442 },
20443 SelectorList_unify_closure0: function SelectorList_unify_closure0(t0) {
20444 this.other = t0;
20445 },
20446 SelectorList_unify__closure0: function SelectorList_unify__closure0(t0) {
20447 this.complex1 = t0;
20448 },
20449 SelectorList_unify___closure0: function SelectorList_unify___closure0() {
20450 },
20451 SelectorList_resolveParentSelectors_closure0: function SelectorList_resolveParentSelectors_closure0(t0, t1, t2) {
20452 this.$this = t0;
20453 this.implicitParent = t1;
20454 this.parent = t2;
20455 },
20456 SelectorList_resolveParentSelectors__closure1: function SelectorList_resolveParentSelectors__closure1(t0) {
20457 this.complex = t0;
20458 },
20459 SelectorList_resolveParentSelectors__closure2: function SelectorList_resolveParentSelectors__closure2(t0) {
20460 this._box_0 = t0;
20461 },
20462 SelectorList__complexContainsParentSelector_closure0: function SelectorList__complexContainsParentSelector_closure0() {
20463 },
20464 SelectorList__complexContainsParentSelector__closure0: function SelectorList__complexContainsParentSelector__closure0() {
20465 },
20466 SelectorList__resolveParentSelectorsCompound_closure2: function SelectorList__resolveParentSelectorsCompound_closure2() {
20467 },
20468 SelectorList__resolveParentSelectorsCompound_closure3: function SelectorList__resolveParentSelectorsCompound_closure3(t0) {
20469 this.parent = t0;
20470 },
20471 SelectorList__resolveParentSelectorsCompound_closure4: function SelectorList__resolveParentSelectorsCompound_closure4(t0, t1) {
20472 this.compound = t0;
20473 this.resolvedMembers = t1;
20474 },
20475 _NodeSassList: function _NodeSassList() {
20476 },
20477 legacyListClass_closure: function legacyListClass_closure() {
20478 },
20479 legacyListClass__closure: function legacyListClass__closure() {
20480 },
20481 legacyListClass_closure0: function legacyListClass_closure0() {
20482 },
20483 legacyListClass_closure1: function legacyListClass_closure1() {
20484 },
20485 legacyListClass_closure2: function legacyListClass_closure2() {
20486 },
20487 legacyListClass_closure3: function legacyListClass_closure3() {
20488 },
20489 legacyListClass_closure4: function legacyListClass_closure4() {
20490 },
20491 listClass_closure: function listClass_closure() {
20492 },
20493 listClass__closure: function listClass__closure() {
20494 },
20495 listClass__closure0: function listClass__closure0() {
20496 },
20497 _ConstructorOptions: function _ConstructorOptions() {
20498 },
20499 SassList$0(contents, _separator, brackets) {
20500 var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
20501 t1.SassList$3$brackets0(contents, _separator, brackets);
20502 return t1;
20503 },
20504 SassList0: function SassList0(t0, t1, t2) {
20505 this._list1$_contents = t0;
20506 this._list1$_separator = t1;
20507 this._list1$_hasBrackets = t2;
20508 },
20509 SassList_isBlank_closure0: function SassList_isBlank_closure0() {
20510 },
20511 ListSeparator0: function ListSeparator0(t0, t1) {
20512 this._list1$_name = t0;
20513 this.separator = t1;
20514 },
20515 NodeLogger: function NodeLogger() {
20516 },
20517 WarnOptions: function WarnOptions() {
20518 },
20519 DebugOptions: function DebugOptions() {
20520 },
20521 _QuietLogger0: function _QuietLogger0() {
20522 },
20523 LoudComment0: function LoudComment0(t0) {
20524 this.text = t0;
20525 },
20526 MapExpression0: function MapExpression0(t0, t1) {
20527 this.pairs = t0;
20528 this.span = t1;
20529 },
20530 MapExpression_toString_closure0: function MapExpression_toString_closure0() {
20531 },
20532 _modify0(map, keys, modify, addNesting) {
20533 var keyIterator = J.get$iterator$ax(keys);
20534 return keyIterator.moveNext$0() ? new A._modify__modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
20535 },
20536 _deepMergeImpl0(map1, map2) {
20537 var t1 = {},
20538 t2 = map2._map0$_contents;
20539 if (t2.get$isEmpty(t2))
20540 return map1;
20541 t1.mutable = false;
20542 t1.result = t2;
20543 map1._map0$_contents.forEach$1(0, new A._deepMergeImpl_closure0(t1, new A._deepMergeImpl__ensureMutable0(t1)));
20544 if (t1.mutable) {
20545 t2 = type$.Value_2;
20546 t2 = new A.SassMap0(A.ConstantMap_ConstantMap$from(t1.result, t2, t2));
20547 t1 = t2;
20548 } else
20549 t1 = map2;
20550 return t1;
20551 },
20552 _function9($name, $arguments, callback) {
20553 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
20554 },
20555 _get_closure0: function _get_closure0() {
20556 },
20557 _set_closure1: function _set_closure1() {
20558 },
20559 _set__closure2: function _set__closure2(t0) {
20560 this.$arguments = t0;
20561 },
20562 _set_closure2: function _set_closure2() {
20563 },
20564 _set__closure1: function _set__closure1(t0) {
20565 this.args = t0;
20566 },
20567 _merge_closure1: function _merge_closure1() {
20568 },
20569 _merge_closure2: function _merge_closure2() {
20570 },
20571 _merge__closure0: function _merge__closure0(t0) {
20572 this.map2 = t0;
20573 },
20574 _deepMerge_closure0: function _deepMerge_closure0() {
20575 },
20576 _deepRemove_closure0: function _deepRemove_closure0() {
20577 },
20578 _deepRemove__closure0: function _deepRemove__closure0(t0) {
20579 this.keys = t0;
20580 },
20581 _remove_closure1: function _remove_closure1() {
20582 },
20583 _remove_closure2: function _remove_closure2() {
20584 },
20585 _keys_closure0: function _keys_closure0() {
20586 },
20587 _values_closure0: function _values_closure0() {
20588 },
20589 _hasKey_closure0: function _hasKey_closure0() {
20590 },
20591 _modify__modifyNestedMap0: function _modify__modifyNestedMap0(t0, t1, t2) {
20592 this.keyIterator = t0;
20593 this.modify = t1;
20594 this.addNesting = t2;
20595 },
20596 _deepMergeImpl__ensureMutable0: function _deepMergeImpl__ensureMutable0(t0) {
20597 this._box_0 = t0;
20598 },
20599 _deepMergeImpl_closure0: function _deepMergeImpl_closure0(t0, t1) {
20600 this._box_0 = t0;
20601 this._ensureMutable = t1;
20602 },
20603 _NodeSassMap: function _NodeSassMap() {
20604 },
20605 legacyMapClass_closure: function legacyMapClass_closure() {
20606 },
20607 legacyMapClass__closure: function legacyMapClass__closure() {
20608 },
20609 legacyMapClass__closure0: function legacyMapClass__closure0() {
20610 },
20611 legacyMapClass_closure0: function legacyMapClass_closure0() {
20612 },
20613 legacyMapClass_closure1: function legacyMapClass_closure1() {
20614 },
20615 legacyMapClass_closure2: function legacyMapClass_closure2() {
20616 },
20617 legacyMapClass_closure3: function legacyMapClass_closure3() {
20618 },
20619 legacyMapClass_closure4: function legacyMapClass_closure4() {
20620 },
20621 mapClass_closure: function mapClass_closure() {
20622 },
20623 mapClass__closure: function mapClass__closure() {
20624 },
20625 mapClass__closure0: function mapClass__closure0() {
20626 },
20627 mapClass__closure1: function mapClass__closure1() {
20628 },
20629 SassMap0: function SassMap0(t0) {
20630 this._map0$_contents = t0;
20631 },
20632 SassMap_asList_closure0: function SassMap_asList_closure0(t0) {
20633 this.result = t0;
20634 },
20635 _fuzzyRoundIfZero0(number) {
20636 if (!(Math.abs(number - 0) < $.$get$epsilon0()))
20637 return number;
20638 return B.JSNumber_methods.get$isNegative(number) ? -0.0 : 0;
20639 },
20640 _numberFunction0($name, transform) {
20641 return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
20642 },
20643 _function8($name, $arguments, callback) {
20644 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
20645 },
20646 _ceil_closure0: function _ceil_closure0() {
20647 },
20648 _clamp_closure0: function _clamp_closure0() {
20649 },
20650 _floor_closure0: function _floor_closure0() {
20651 },
20652 _max_closure0: function _max_closure0() {
20653 },
20654 _min_closure0: function _min_closure0() {
20655 },
20656 _abs_closure0: function _abs_closure0() {
20657 },
20658 _hypot_closure0: function _hypot_closure0() {
20659 },
20660 _hypot__closure0: function _hypot__closure0() {
20661 },
20662 _log_closure0: function _log_closure0() {
20663 },
20664 _pow_closure0: function _pow_closure0() {
20665 },
20666 _sqrt_closure0: function _sqrt_closure0() {
20667 },
20668 _acos_closure0: function _acos_closure0() {
20669 },
20670 _asin_closure0: function _asin_closure0() {
20671 },
20672 _atan_closure0: function _atan_closure0() {
20673 },
20674 _atan2_closure0: function _atan2_closure0() {
20675 },
20676 _cos_closure0: function _cos_closure0() {
20677 },
20678 _sin_closure0: function _sin_closure0() {
20679 },
20680 _tan_closure0: function _tan_closure0() {
20681 },
20682 _compatible_closure0: function _compatible_closure0() {
20683 },
20684 _isUnitless_closure0: function _isUnitless_closure0() {
20685 },
20686 _unit_closure0: function _unit_closure0() {
20687 },
20688 _percentage_closure0: function _percentage_closure0() {
20689 },
20690 _randomFunction_closure0: function _randomFunction_closure0() {
20691 },
20692 _div_closure0: function _div_closure0() {
20693 },
20694 _numberFunction_closure0: function _numberFunction_closure0(t0) {
20695 this.transform = t0;
20696 },
20697 CssMediaQuery0: function CssMediaQuery0(t0, t1, t2) {
20698 this.modifier = t0;
20699 this.type = t1;
20700 this.features = t2;
20701 },
20702 _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
20703 this._media_query1$_name = t0;
20704 },
20705 MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
20706 this.query = t0;
20707 },
20708 MediaQueryParser0: function MediaQueryParser0(t0, t1) {
20709 this.scanner = t0;
20710 this.logger = t1;
20711 },
20712 MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
20713 this.$this = t0;
20714 },
20715 ModifiableCssMediaRule$0(queries, span) {
20716 var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
20717 t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
20718 if (J.get$isEmpty$asx(queries))
20719 A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
20720 return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
20721 },
20722 ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
20723 var _ = this;
20724 _.queries = t0;
20725 _.span = t1;
20726 _.children = t2;
20727 _._node1$_children = t3;
20728 _._node1$_indexInParent = _._node1$_parent = null;
20729 _.isGroupEnd = false;
20730 },
20731 MediaRule$0(query, children, span) {
20732 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
20733 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
20734 return new A.MediaRule0(query, span, t1, t2);
20735 },
20736 MediaRule0: function MediaRule0(t0, t1, t2, t3) {
20737 var _ = this;
20738 _.query = t0;
20739 _.span = t1;
20740 _.children = t2;
20741 _.hasDeclarations = t3;
20742 },
20743 MergedExtension_merge0(left, right) {
20744 var t4, t5, t6,
20745 t1 = left.extender,
20746 t2 = t1.selector,
20747 t3 = B.C_ListEquality.equals$2(0, t2.components, right.extender.selector.components);
20748 if (!t3 || !left.target.$eq(0, right.target))
20749 throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
20750 t3 = left.mediaContext;
20751 t4 = t3 == null;
20752 if (!t4) {
20753 t5 = right.mediaContext;
20754 t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
20755 } else
20756 t5 = false;
20757 if (t5)
20758 throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
20759 if (right.isOptional && right.mediaContext == null)
20760 return left;
20761 if (left.isOptional && t4)
20762 return right;
20763 t5 = left.target;
20764 t6 = left.span;
20765 if (t4)
20766 t3 = right.mediaContext;
20767 t2.get$maxSpecificity();
20768 t1 = new A.Extender0(t2, false, t1.span);
20769 return t1._extension$_extension = new A.MergedExtension0(left, right, t1, t5, t3, true, t6);
20770 },
20771 MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
20772 var _ = this;
20773 _.left = t0;
20774 _.right = t1;
20775 _.extender = t2;
20776 _.target = t3;
20777 _.mediaContext = t4;
20778 _.isOptional = t5;
20779 _.span = t6;
20780 },
20781 MergedMapView$0(maps, $K, $V) {
20782 var t1 = $K._eval$1("@<0>")._bind$1($V);
20783 t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
20784 t1.MergedMapView$10(maps, $K, $V);
20785 return t1;
20786 },
20787 MergedMapView0: function MergedMapView0(t0, t1) {
20788 this._merged_map_view$_mapsByKey = t0;
20789 this.$ti = t1;
20790 },
20791 _function12($name, $arguments, callback) {
20792 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
20793 },
20794 global_closure57: function global_closure57() {
20795 },
20796 global_closure58: function global_closure58() {
20797 },
20798 global_closure59: function global_closure59() {
20799 },
20800 global_closure60: function global_closure60() {
20801 },
20802 local_closure1: function local_closure1() {
20803 },
20804 local_closure2: function local_closure2() {
20805 },
20806 local__closure0: function local__closure0() {
20807 },
20808 MixinRule$0($name, $arguments, children, span, comment) {
20809 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
20810 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
20811 return new A.MixinRule0($name, $arguments, span, t1, t2);
20812 },
20813 MixinRule0: function MixinRule0(t0, t1, t2, t3, t4) {
20814 var _ = this;
20815 _._mixin_rule$__MixinRule_hasContent = $;
20816 _.name = t0;
20817 _.$arguments = t1;
20818 _.span = t2;
20819 _.children = t3;
20820 _.hasDeclarations = t4;
20821 },
20822 _HasContentVisitor0: function _HasContentVisitor0() {
20823 },
20824 ExtendMode0: function ExtendMode0(t0) {
20825 this.name = t0;
20826 },
20827 SupportsNegation0: function SupportsNegation0(t0, t1) {
20828 this.condition = t0;
20829 this.span = t1;
20830 },
20831 NoOpImporter: function NoOpImporter() {
20832 },
20833 NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
20834 this._no_source_map_buffer0$_buffer = t0;
20835 },
20836 AstNode0: function AstNode0() {
20837 },
20838 _FakeAstNode0: function _FakeAstNode0(t0) {
20839 this._node2$_callback = t0;
20840 },
20841 CssNode0: function CssNode0() {
20842 },
20843 CssParentNode0: function CssParentNode0() {
20844 },
20845 readFile0(path) {
20846 var sourceFile, t1, i,
20847 contents = A._asString(A._readFile0(path, "utf8"));
20848 if (!B.JSString_methods.contains$1(contents, "\ufffd"))
20849 return contents;
20850 sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
20851 for (t1 = contents.length, i = 0; i < t1; ++i) {
20852 if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
20853 continue;
20854 throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
20855 }
20856 return contents;
20857 },
20858 _readFile0(path, encoding) {
20859 return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
20860 },
20861 fileExists0(path) {
20862 return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
20863 },
20864 dirExists0(path) {
20865 return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
20866 },
20867 listDir0(path) {
20868 return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
20869 },
20870 _systemErrorToFileSystemException0(callback) {
20871 var error, t1, exception, t2;
20872 try {
20873 t1 = callback.call$0();
20874 return t1;
20875 } catch (exception) {
20876 error = A.unwrapException(exception);
20877 if (!type$.JsSystemError._is(error))
20878 throw exception;
20879 t1 = error;
20880 t2 = J.getInterceptor$x(t1);
20881 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)));
20882 }
20883 },
20884 FileSystemException0: function FileSystemException0(t0, t1) {
20885 this.message = t0;
20886 this.path = t1;
20887 },
20888 Stderr0: function Stderr0(t0) {
20889 this._node0$_stderr = t0;
20890 },
20891 _readFile_closure0: function _readFile_closure0(t0, t1) {
20892 this.path = t0;
20893 this.encoding = t1;
20894 },
20895 fileExists_closure0: function fileExists_closure0(t0) {
20896 this.path = t0;
20897 },
20898 dirExists_closure0: function dirExists_closure0(t0) {
20899 this.path = t0;
20900 },
20901 listDir_closure0: function listDir_closure0(t0, t1) {
20902 this.recursive = t0;
20903 this.path = t1;
20904 },
20905 listDir__closure1: function listDir__closure1(t0) {
20906 this.path = t0;
20907 },
20908 listDir__closure2: function listDir__closure2() {
20909 },
20910 listDir_closure_list0: function listDir_closure_list0() {
20911 },
20912 listDir__list_closure0: function listDir__list_closure0(t0, t1) {
20913 this.parent = t0;
20914 this.list = t1;
20915 },
20916 ModifiableCssNode0: function ModifiableCssNode0() {
20917 },
20918 ModifiableCssParentNode0: function ModifiableCssParentNode0() {
20919 },
20920 main() {
20921 J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
20922 J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
20923 J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
20924 J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
20925 J.set$Value$x(self.exports, $.$get$valueClass());
20926 J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
20927 J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
20928 J.set$SassColor$x(self.exports, $.$get$colorClass());
20929 J.set$SassFunction$x(self.exports, $.$get$functionClass());
20930 J.set$SassList$x(self.exports, $.$get$listClass());
20931 J.set$SassMap$x(self.exports, $.$get$mapClass());
20932 J.set$SassNumber$x(self.exports, $.$get$numberClass());
20933 J.set$SassString$x(self.exports, $.$get$stringClass());
20934 J.set$sassNull$x(self.exports, B.C__SassNull0);
20935 J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
20936 J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
20937 J.set$Exception$x(self.exports, $.$get$exceptionClass());
20938 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())}});
20939 J.set$info$x(self.exports, "dart-sass\t1.50.0\t(Sass Compiler)\t[Dart]\ndart2js\t2.16.2\t(Dart Compiler)\t[Dart]");
20940 A.updateSourceSpanPrototype();
20941 J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
20942 J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
20943 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});
20944 J.set$NULL$x(self.exports, B.C__SassNull0);
20945 J.set$TRUE$x(self.exports, B.SassBoolean_true0);
20946 J.set$FALSE$x(self.exports, B.SassBoolean_false0);
20947 },
20948 main_closure0: function main_closure0() {
20949 },
20950 main_closure1: function main_closure1() {
20951 },
20952 NodeToDartLogger: function NodeToDartLogger(t0, t1, t2) {
20953 this._node = t0;
20954 this._fallback = t1;
20955 this._ascii = t2;
20956 },
20957 NodeToDartLogger_warn_closure: function NodeToDartLogger_warn_closure(t0, t1, t2, t3, t4) {
20958 var _ = this;
20959 _.$this = t0;
20960 _.message = t1;
20961 _.span = t2;
20962 _.trace = t3;
20963 _.deprecation = t4;
20964 },
20965 NodeToDartLogger_debug_closure: function NodeToDartLogger_debug_closure(t0, t1, t2) {
20966 this.$this = t0;
20967 this.message = t1;
20968 this.span = t2;
20969 },
20970 NullExpression0: function NullExpression0(t0) {
20971 this.span = t0;
20972 },
20973 legacyNullClass_closure: function legacyNullClass_closure() {
20974 },
20975 legacyNullClass__closure: function legacyNullClass__closure() {
20976 },
20977 _SassNull0: function _SassNull0() {
20978 },
20979 NumberExpression0: function NumberExpression0(t0, t1, t2) {
20980 this.value = t0;
20981 this.unit = t1;
20982 this.span = t2;
20983 },
20984 _parseNumber(value, unit) {
20985 var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
20986 if (unit == null || unit.length === 0)
20987 return new A.UnitlessSassNumber0(value, null);
20988 if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
20989 return new A.SingleUnitSassNumber0(unit, value, null);
20990 invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
20991 operands = unit.split("/");
20992 t1 = operands.length;
20993 if (t1 > 2)
20994 throw A.wrapException(invalidUnit);
20995 numerator = operands[0];
20996 denominator = t1 === 1 ? null : operands[1];
20997 t1 = type$.JSArray_String;
20998 numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
20999 if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
21000 throw A.wrapException(invalidUnit);
21001 denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
21002 if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
21003 throw A.wrapException(invalidUnit);
21004 return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
21005 },
21006 _NodeSassNumber: function _NodeSassNumber() {
21007 },
21008 legacyNumberClass_closure: function legacyNumberClass_closure() {
21009 },
21010 legacyNumberClass_closure0: function legacyNumberClass_closure0() {
21011 },
21012 legacyNumberClass_closure1: function legacyNumberClass_closure1() {
21013 },
21014 legacyNumberClass_closure2: function legacyNumberClass_closure2() {
21015 },
21016 legacyNumberClass_closure3: function legacyNumberClass_closure3() {
21017 },
21018 _parseNumber_closure: function _parseNumber_closure() {
21019 },
21020 _parseNumber_closure0: function _parseNumber_closure0() {
21021 },
21022 numberClass_closure: function numberClass_closure() {
21023 },
21024 numberClass__closure: function numberClass__closure() {
21025 },
21026 numberClass__closure0: function numberClass__closure0() {
21027 },
21028 numberClass__closure1: function numberClass__closure1() {
21029 },
21030 numberClass__closure2: function numberClass__closure2() {
21031 },
21032 numberClass__closure3: function numberClass__closure3() {
21033 },
21034 numberClass__closure4: function numberClass__closure4() {
21035 },
21036 numberClass__closure5: function numberClass__closure5() {
21037 },
21038 numberClass__closure6: function numberClass__closure6() {
21039 },
21040 numberClass__closure7: function numberClass__closure7() {
21041 },
21042 numberClass__closure8: function numberClass__closure8() {
21043 },
21044 numberClass__closure9: function numberClass__closure9() {
21045 },
21046 numberClass__closure10: function numberClass__closure10() {
21047 },
21048 numberClass__closure11: function numberClass__closure11() {
21049 },
21050 numberClass__closure12: function numberClass__closure12() {
21051 },
21052 numberClass__closure13: function numberClass__closure13() {
21053 },
21054 numberClass__closure14: function numberClass__closure14() {
21055 },
21056 numberClass__closure15: function numberClass__closure15() {
21057 },
21058 numberClass__closure16: function numberClass__closure16() {
21059 },
21060 numberClass__closure17: function numberClass__closure17() {
21061 },
21062 numberClass__closure18: function numberClass__closure18() {
21063 },
21064 numberClass__closure19: function numberClass__closure19() {
21065 },
21066 _ConstructorOptions0: function _ConstructorOptions0() {
21067 },
21068 conversionFactor0(unit1, unit2) {
21069 var innerMap;
21070 if (unit1 === unit2)
21071 return 1;
21072 innerMap = B.Map_K2BWj.$index(0, unit1);
21073 if (innerMap == null)
21074 return null;
21075 return innerMap.$index(0, unit2);
21076 },
21077 SassNumber_SassNumber0(value, unit) {
21078 return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
21079 },
21080 SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
21081 var t1, numerators, t2, unsimplifiedDenominators, denominators, t3, _i, denominator, simplifiedAway, i, factor, _null = null;
21082 if (denominatorUnits == null || J.get$isEmpty$asx(denominatorUnits))
21083 if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
21084 return new A.UnitlessSassNumber0(value, _null);
21085 else {
21086 t1 = J.getInterceptor$asx(numeratorUnits);
21087 if (t1.get$length(numeratorUnits) === 1)
21088 return new A.SingleUnitSassNumber0(t1.$index(numeratorUnits, 0), value, _null);
21089 else
21090 return new A.ComplexSassNumber0(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
21091 }
21092 else if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
21093 return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
21094 else {
21095 t1 = J.getInterceptor$ax(numeratorUnits);
21096 numerators = t1.toList$0(numeratorUnits);
21097 t2 = J.getInterceptor$ax(denominatorUnits);
21098 unsimplifiedDenominators = t2.toList$0(denominatorUnits);
21099 denominators = A._setArrayType([], type$.JSArray_String);
21100 for (t3 = unsimplifiedDenominators.length, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t3 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
21101 denominator = unsimplifiedDenominators[_i];
21102 i = 0;
21103 while (true) {
21104 if (!(i < numerators.length)) {
21105 simplifiedAway = false;
21106 break;
21107 }
21108 c$0: {
21109 factor = A.conversionFactor0(denominator, numerators[i]);
21110 if (factor == null)
21111 break c$0;
21112 value *= factor;
21113 B.JSArray_methods.removeAt$1(numerators, i);
21114 simplifiedAway = true;
21115 break;
21116 }
21117 ++i;
21118 }
21119 if (!simplifiedAway)
21120 denominators.push(denominator);
21121 }
21122 if (t2.get$isEmpty(denominatorUnits))
21123 if (t1.get$isEmpty(numeratorUnits))
21124 return new A.UnitlessSassNumber0(value, _null);
21125 else if (t1.get$length(numeratorUnits) === 1)
21126 return new A.SingleUnitSassNumber0(t1.get$single(numeratorUnits), value, _null);
21127 t1 = type$.String;
21128 return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), value, _null);
21129 }
21130 },
21131 SassNumber0: function SassNumber0() {
21132 },
21133 SassNumber__coerceOrConvertValue__compatibilityException0: function SassNumber__coerceOrConvertValue__compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
21134 var _ = this;
21135 _.$this = t0;
21136 _.other = t1;
21137 _.otherName = t2;
21138 _.otherHasUnits = t3;
21139 _.name = t4;
21140 _.newNumerators = t5;
21141 _.newDenominators = t6;
21142 },
21143 SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
21144 this._box_0 = t0;
21145 this.newNumerator = t1;
21146 },
21147 SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
21148 this._compatibilityException = t0;
21149 },
21150 SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
21151 this._box_0 = t0;
21152 this.newDenominator = t1;
21153 },
21154 SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
21155 this._compatibilityException = t0;
21156 },
21157 SassNumber_plus_closure0: function SassNumber_plus_closure0() {
21158 },
21159 SassNumber_minus_closure0: function SassNumber_minus_closure0() {
21160 },
21161 SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
21162 this._box_0 = t0;
21163 this.numerator = t1;
21164 },
21165 SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
21166 this.newNumerators = t0;
21167 this.numerator = t1;
21168 },
21169 SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
21170 this._box_0 = t0;
21171 this.numerator = t1;
21172 },
21173 SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
21174 this.newNumerators = t0;
21175 this.numerator = t1;
21176 },
21177 SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
21178 this.units2 = t0;
21179 },
21180 SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
21181 },
21182 SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
21183 this.$this = t0;
21184 },
21185 SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
21186 var _ = this;
21187 _.left = t0;
21188 _.right = t1;
21189 _.operator = t2;
21190 _.span = t3;
21191 },
21192 ParentSelector0: function ParentSelector0(t0) {
21193 this.suffix = t0;
21194 },
21195 ParentStatement0: function ParentStatement0() {
21196 },
21197 ParentStatement_closure0: function ParentStatement_closure0() {
21198 },
21199 ParentStatement__closure0: function ParentStatement__closure0() {
21200 },
21201 ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
21202 this.expression = t0;
21203 this.span = t1;
21204 },
21205 Parser_isIdentifier0(text) {
21206 var t1, t2, exception, logger = null;
21207 try {
21208 t1 = logger;
21209 t2 = A.SpanScanner$(text, null);
21210 new A.Parser1(t2, t1 == null ? B.StderrLogger_false0 : t1)._parser0$_parseIdentifier$0();
21211 return true;
21212 } catch (exception) {
21213 if (A.unwrapException(exception) instanceof A.SassFormatException0)
21214 return false;
21215 else
21216 throw exception;
21217 }
21218 },
21219 Parser1: function Parser1(t0, t1) {
21220 this.scanner = t0;
21221 this.logger = t1;
21222 },
21223 Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
21224 this.$this = t0;
21225 },
21226 Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
21227 this.caseSensitive = t0;
21228 this.char = t1;
21229 },
21230 PlaceholderSelector0: function PlaceholderSelector0(t0) {
21231 this.name = t0;
21232 },
21233 PlainCssCallable0: function PlainCssCallable0(t0) {
21234 this.name = t0;
21235 },
21236 PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
21237 this._prefixed_map_view0$_map = t0;
21238 this._prefixed_map_view0$_prefix = t1;
21239 this.$ti = t2;
21240 },
21241 _PrefixedKeys0: function _PrefixedKeys0(t0) {
21242 this._prefixed_map_view0$_view = t0;
21243 },
21244 _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
21245 this.$this = t0;
21246 },
21247 PseudoSelector$0($name, argument, element, selector) {
21248 var t1 = !element,
21249 t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
21250 return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector);
21251 },
21252 PseudoSelector__isFakePseudoElement0($name) {
21253 switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
21254 case 97:
21255 case 65:
21256 return A.equalsIgnoreCase0($name, "after");
21257 case 98:
21258 case 66:
21259 return A.equalsIgnoreCase0($name, "before");
21260 case 102:
21261 case 70:
21262 return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
21263 default:
21264 return false;
21265 }
21266 },
21267 PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5) {
21268 var _ = this;
21269 _.name = t0;
21270 _.normalizedName = t1;
21271 _.isClass = t2;
21272 _.isSyntacticClass = t3;
21273 _.argument = t4;
21274 _.selector = t5;
21275 _._pseudo0$_maxSpecificity = _._pseudo0$_minSpecificity = null;
21276 },
21277 PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
21278 },
21279 PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
21280 this._public_member_map_view0$_inner = t0;
21281 this.$ti = t1;
21282 },
21283 QualifiedName0: function QualifiedName0(t0, t1) {
21284 this.name = t0;
21285 this.namespace = t1;
21286 },
21287 createJSClass($name, $constructor) {
21288 return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
21289 },
21290 JSClassExtension_injectSuperclass(_this, superclass) {
21291 var t1 = J.getInterceptor$x(superclass),
21292 t2 = J.getInterceptor$x(_this);
21293 self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
21294 self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
21295 },
21296 JSClassExtension_setCustomInspect(_this, inspect) {
21297 J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
21298 },
21299 JSClassExtension_get_defineMethod(_this) {
21300 return new A.JSClassExtension_get_defineMethod_closure(_this);
21301 },
21302 JSClassExtension_defineMethods(_this, methods) {
21303 methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
21304 },
21305 JSClassExtension_get_defineGetter(_this) {
21306 return new A.JSClassExtension_get_defineGetter_closure(_this);
21307 },
21308 JSClass0: function JSClass0() {
21309 },
21310 JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
21311 this.inspect = t0;
21312 },
21313 JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
21314 this._this = t0;
21315 },
21316 JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
21317 this._this = t0;
21318 },
21319 RenderContext0: function RenderContext0() {
21320 },
21321 RenderContextOptions0: function RenderContextOptions0() {
21322 },
21323 RenderContextResult0: function RenderContextResult0() {
21324 },
21325 RenderContextResultStats0: function RenderContextResultStats0() {
21326 },
21327 RenderOptions: function RenderOptions() {
21328 },
21329 RenderResult: function RenderResult() {
21330 },
21331 RenderResultStats: function RenderResultStats() {
21332 },
21333 ImporterResult$(contents, sourceMapUrl, syntax) {
21334 var t2,
21335 t1 = syntax == null;
21336 if (t1)
21337 t2 = B.Syntax_SCSS0;
21338 else
21339 t2 = syntax;
21340 if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
21341 A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
21342 else if (t1 && true)
21343 A.throwExpression(A.ArgumentError$("The syntax parameter must be passed.", null));
21344 return new A.ImporterResult0(contents, sourceMapUrl, t2);
21345 },
21346 ImporterResult0: function ImporterResult0(t0, t1, t2) {
21347 this.contents = t0;
21348 this._result$_sourceMapUrl = t1;
21349 this.syntax = t2;
21350 },
21351 ReturnRule0: function ReturnRule0(t0, t1) {
21352 this.expression = t0;
21353 this.span = t1;
21354 },
21355 main0(args) {
21356 return A.main$body(args);
21357 },
21358 main$body(args) {
21359 var $async$goto = 0,
21360 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
21361 $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;
21362 var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
21363 if ($async$errorCode === 1) {
21364 $async$currentError = $async$result;
21365 $async$goto = $async$handler;
21366 }
21367 while (true)
21368 switch ($async$goto) {
21369 case 0:
21370 // Function start
21371 _box_0 = {};
21372 _box_0.printedError = false;
21373 printError = new A.main_printError(_box_0);
21374 _box_0.options = null;
21375 $async$handler = 4;
21376 options = A.ExecutableOptions_ExecutableOptions$parse(args);
21377 _box_0.options = options;
21378 t1 = options._options;
21379 $._glyphs = !(t1.wasParsed$1("unicode") ? A._asBool(t1.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
21380 $async$goto = A._asBool(_box_0.options._options.$index(0, "version")) ? 7 : 8;
21381 break;
21382 case 7:
21383 // then
21384 $async$temp1 = A;
21385 $async$goto = 9;
21386 return A._asyncAwait(A._loadVersion(), $async$main0);
21387 case 9:
21388 // returning from await.
21389 $async$temp1.print($async$result);
21390 J.set$exitCode$x(self.process, 0);
21391 // goto return
21392 $async$goto = 1;
21393 break;
21394 case 8:
21395 // join
21396 $async$goto = _box_0.options.get$interactive() ? 10 : 11;
21397 break;
21398 case 10:
21399 // then
21400 $async$goto = 12;
21401 return A._asyncAwait(A.repl(_box_0.options), $async$main0);
21402 case 12:
21403 // returning from await.
21404 // goto return
21405 $async$goto = 1;
21406 break;
21407 case 11:
21408 // join
21409 t1 = type$.List_String._as(_box_0.options._options.$index(0, "load-path"));
21410 t2 = _box_0.options;
21411 t3 = type$.Uri;
21412 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));
21413 $async$goto = A._asBool(_box_0.options._options.$index(0, "watch")) ? 13 : 14;
21414 break;
21415 case 13:
21416 // then
21417 $async$goto = 15;
21418 return A._asyncAwait(A.CancelableOperation_race(A._setArrayType([A.onStdinClose(), A.watch(_box_0.options, graph)], type$.JSArray_CancelableOperation_void), type$.void).valueOrCancellation$0(), $async$main0);
21419 case 15:
21420 // returning from await.
21421 // goto return
21422 $async$goto = 1;
21423 break;
21424 case 14:
21425 // join
21426 t1 = _box_0.options, t1._ensureSources$0(), t1 = t1._sourcesToDestinations, t1 = J.get$iterator$ax(t1.get$keys(t1));
21427 case 16:
21428 // for condition
21429 if (!t1.moveNext$0()) {
21430 // goto after for
21431 $async$goto = 17;
21432 break;
21433 }
21434 source = t1.get$current(t1);
21435 t2 = _box_0.options;
21436 t2._ensureSources$0();
21437 destination = t2._sourcesToDestinations.$index(0, source);
21438 $async$handler = 19;
21439 t2 = _box_0.options;
21440 $async$goto = 22;
21441 return A._asyncAwait(A.compileStylesheet(t2, graph, source, destination, A._asBool(t2._options.$index(0, "update"))), $async$main0);
21442 case 22:
21443 // returning from await.
21444 $async$handler = 4;
21445 // goto after finally
21446 $async$goto = 21;
21447 break;
21448 case 19:
21449 // catch
21450 $async$handler = 18;
21451 $async$exception = $async$currentError;
21452 t2 = A.unwrapException($async$exception);
21453 if (t2 instanceof A.SassException) {
21454 error = t2;
21455 stackTrace = A.getTraceFromException($async$exception);
21456 new A.main_closure(_box_0, destination).call$0();
21457 t2 = _box_0.options._options;
21458 if (!t2._parser.options._map.containsKey$1("color"))
21459 A.throwExpression(A.ArgumentError$('Could not find an option named "color".', null));
21460 t2 = t2._parsed.containsKey$1("color") ? A._asBool(t2.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
21461 t2 = J.toString$1$color$(error, t2);
21462 if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
21463 t3 = error;
21464 t4 = typeof t3 == "string";
21465 if (t4 || typeof t3 == "number" || A._isBool(t3))
21466 t3 = null;
21467 else {
21468 t5 = $.$get$_traces();
21469 t4 = A._isBool(t3) || typeof t3 == "number" || t4;
21470 if (t4)
21471 A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
21472 t3 = t5._jsWeakMap.get(t3);
21473 }
21474 if (t3 == null)
21475 t3 = stackTrace;
21476 } else
21477 t3 = null;
21478 printError.call$2(t2, t3);
21479 if (J.get$exitCode$x(self.process) !== 66)
21480 J.set$exitCode$x(self.process, 65);
21481 if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
21482 // goto return
21483 $async$goto = 1;
21484 break;
21485 }
21486 } else if (t2 instanceof A.FileSystemException) {
21487 error0 = t2;
21488 stackTrace0 = A.getTraceFromException($async$exception);
21489 path = error0.path;
21490 t2 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
21491 if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
21492 t3 = error0;
21493 t4 = typeof t3 == "string";
21494 if (t4 || typeof t3 == "number" || A._isBool(t3))
21495 t3 = null;
21496 else {
21497 t5 = $.$get$_traces();
21498 t4 = A._isBool(t3) || typeof t3 == "number" || t4;
21499 if (t4)
21500 A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
21501 t3 = t5._jsWeakMap.get(t3);
21502 }
21503 if (t3 == null)
21504 t3 = stackTrace0;
21505 } else
21506 t3 = null;
21507 printError.call$2(t2, t3);
21508 J.set$exitCode$x(self.process, 66);
21509 if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
21510 // goto return
21511 $async$goto = 1;
21512 break;
21513 }
21514 } else
21515 throw $async$exception;
21516 // goto after finally
21517 $async$goto = 21;
21518 break;
21519 case 18:
21520 // uncaught
21521 // goto catch
21522 $async$goto = 4;
21523 break;
21524 case 21:
21525 // after finally
21526 // goto for condition
21527 $async$goto = 16;
21528 break;
21529 case 17:
21530 // after for
21531 $async$handler = 2;
21532 // goto after finally
21533 $async$goto = 6;
21534 break;
21535 case 4:
21536 // catch
21537 $async$handler = 3;
21538 $async$exception1 = $async$currentError;
21539 t1 = A.unwrapException($async$exception1);
21540 if (t1 instanceof A.UsageException) {
21541 error1 = t1;
21542 A.print(error1.message + "\n");
21543 A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
21544 t1 = $.$get$ExecutableOptions__parser();
21545 A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
21546 J.set$exitCode$x(self.process, 64);
21547 } else {
21548 error2 = t1;
21549 stackTrace1 = A.getTraceFromException($async$exception1);
21550 buffer = new A.StringBuffer("");
21551 t1 = _box_0.options;
21552 if (t1 != null && t1.get$color())
21553 buffer._contents += "\x1b[31m\x1b[1m";
21554 buffer._contents += "Unexpected exception:";
21555 t1 = _box_0.options;
21556 if (t1 != null && t1.get$color())
21557 buffer._contents += "\x1b[0m";
21558 buffer._contents += "\n";
21559 buffer._contents += A.S(error2) + "\n";
21560 t1 = buffer._contents;
21561 t2 = A.getTrace(error2);
21562 if (t2 == null)
21563 t2 = stackTrace1;
21564 printError.call$2(t1.charCodeAt(0) == 0 ? t1 : t1, t2);
21565 J.set$exitCode$x(self.process, 255);
21566 }
21567 // goto after finally
21568 $async$goto = 6;
21569 break;
21570 case 3:
21571 // uncaught
21572 // goto rethrow
21573 $async$goto = 2;
21574 break;
21575 case 6:
21576 // after finally
21577 case 1:
21578 // return
21579 return A._asyncReturn($async$returnValue, $async$completer);
21580 case 2:
21581 // rethrow
21582 return A._asyncRethrow($async$currentError, $async$completer);
21583 }
21584 });
21585 return A._asyncStartSync($async$main0, $async$completer);
21586 },
21587 _loadVersion() {
21588 var $async$goto = 0,
21589 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
21590 $async$returnValue;
21591 var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
21592 if ($async$errorCode === 1)
21593 return A._asyncRethrow($async$result, $async$completer);
21594 while (true)
21595 switch ($async$goto) {
21596 case 0:
21597 // Function start
21598 $async$returnValue = "1.50.0 compiled with dart2js 2.16.2";
21599 // goto return
21600 $async$goto = 1;
21601 break;
21602 case 1:
21603 // return
21604 return A._asyncReturn($async$returnValue, $async$completer);
21605 }
21606 });
21607 return A._asyncStartSync($async$_loadVersion, $async$completer);
21608 },
21609 main_printError: function main_printError(t0) {
21610 this._box_0 = t0;
21611 },
21612 main_closure: function main_closure(t0, t1) {
21613 this._box_0 = t0;
21614 this.destination = t1;
21615 },
21616 SassParser0: function SassParser0(t0, t1, t2) {
21617 var _ = this;
21618 _._sass0$_currentIndentation = 0;
21619 _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
21620 _._stylesheet0$_isUseAllowed = true;
21621 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
21622 _._stylesheet0$_globalVariables = t0;
21623 _.lastSilentComment = null;
21624 _.scanner = t1;
21625 _.logger = t2;
21626 },
21627 SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
21628 this.$this = t0;
21629 this.child = t1;
21630 this.children = t2;
21631 },
21632 _translateReturnValue(val) {
21633 if (type$.Future_dynamic._is(val))
21634 return A.futureToPromise(val, type$.dynamic);
21635 else
21636 return val;
21637 },
21638 main1() {
21639 new Uint8Array(0);
21640 A.main();
21641 J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
21642 },
21643 _wrapMain(main) {
21644 if (type$.dynamic_Function._is(main))
21645 return A.allowInterop(new A._wrapMain_closure(main));
21646 else
21647 return A.allowInterop(new A._wrapMain_closure0(main));
21648 },
21649 _Exports: function _Exports() {
21650 },
21651 _wrapMain_closure: function _wrapMain_closure(t0) {
21652 this.main = t0;
21653 },
21654 _wrapMain_closure0: function _wrapMain_closure0(t0) {
21655 this.main = t0;
21656 },
21657 ScssParser$0(contents, logger, url) {
21658 var t1 = A.SpanScanner$(contents, url),
21659 t2 = logger == null ? B.StderrLogger_false0 : logger;
21660 return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2);
21661 },
21662 ScssParser0: function ScssParser0(t0, t1, t2) {
21663 var _ = this;
21664 _._stylesheet0$_isUseAllowed = true;
21665 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
21666 _._stylesheet0$_globalVariables = t0;
21667 _.lastSilentComment = null;
21668 _.scanner = t1;
21669 _.logger = t2;
21670 },
21671 Selector0: function Selector0() {
21672 },
21673 SelectorExpression0: function SelectorExpression0(t0) {
21674 this.span = t0;
21675 },
21676 _prependParent0(compound) {
21677 var t2, _null = null,
21678 t1 = compound.components,
21679 first = B.JSArray_methods.get$first(t1);
21680 if (first instanceof A.UniversalSelector0)
21681 return _null;
21682 if (first instanceof A.TypeSelector0) {
21683 t2 = first.name;
21684 if (t2.namespace != null)
21685 return _null;
21686 t2 = A._setArrayType([new A.ParentSelector0(t2.name)], type$.JSArray_SimpleSelector_2);
21687 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
21688 return A.CompoundSelector$0(t2);
21689 } else {
21690 t2 = A._setArrayType([new A.ParentSelector0(_null)], type$.JSArray_SimpleSelector_2);
21691 B.JSArray_methods.addAll$1(t2, t1);
21692 return A.CompoundSelector$0(t2);
21693 }
21694 },
21695 _function7($name, $arguments, callback) {
21696 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
21697 },
21698 _nest_closure0: function _nest_closure0() {
21699 },
21700 _nest__closure1: function _nest__closure1(t0) {
21701 this._box_0 = t0;
21702 },
21703 _nest__closure2: function _nest__closure2() {
21704 },
21705 _append_closure1: function _append_closure1() {
21706 },
21707 _append__closure1: function _append__closure1() {
21708 },
21709 _append__closure2: function _append__closure2() {
21710 },
21711 _append___closure0: function _append___closure0(t0) {
21712 this.parent = t0;
21713 },
21714 _extend_closure0: function _extend_closure0() {
21715 },
21716 _replace_closure0: function _replace_closure0() {
21717 },
21718 _unify_closure0: function _unify_closure0() {
21719 },
21720 _isSuperselector_closure0: function _isSuperselector_closure0() {
21721 },
21722 _simpleSelectors_closure0: function _simpleSelectors_closure0() {
21723 },
21724 _simpleSelectors__closure0: function _simpleSelectors__closure0() {
21725 },
21726 _parse_closure0: function _parse_closure0() {
21727 },
21728 SelectorParser$0(contents, allowParent, allowPlaceholder, logger, url) {
21729 var t1 = A.SpanScanner$(contents, url);
21730 return new A.SelectorParser0(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false0 : logger);
21731 },
21732 SelectorParser0: function SelectorParser0(t0, t1, t2, t3) {
21733 var _ = this;
21734 _._selector$_allowParent = t0;
21735 _._selector$_allowPlaceholder = t1;
21736 _.scanner = t2;
21737 _.logger = t3;
21738 },
21739 SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
21740 this.$this = t0;
21741 },
21742 SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
21743 this.$this = t0;
21744 },
21745 serialize0(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
21746 var t1, css, t2, prefix,
21747 visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, true, sourceMap, style, useSpaces);
21748 node.accept$1(visitor);
21749 t1 = visitor._serialize0$_buffer;
21750 css = t1.toString$0(0);
21751 if (charset) {
21752 t2 = new A.CodeUnits(css);
21753 t2 = t2.any$1(t2, new A.serialize_closure0());
21754 } else
21755 t2 = false;
21756 if (t2)
21757 prefix = style === B.OutputStyle_compressed0 ? "\ufeff" : '@charset "UTF-8";\n';
21758 else
21759 prefix = "";
21760 t2 = prefix + css;
21761 return new A.SerializeResult0(t2, sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null);
21762 },
21763 serializeValue0(value, inspect, quote) {
21764 var visitor = A._SerializeVisitor$0(null, inspect, null, quote, false, null, true);
21765 value.accept$1(visitor);
21766 return visitor._serialize0$_buffer.toString$0(0);
21767 },
21768 serializeSelector0(selector, inspect) {
21769 var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
21770 selector.accept$1(visitor);
21771 return visitor._serialize0$_buffer.toString$0(0);
21772 },
21773 _SerializeVisitor$0(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
21774 var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
21775 t2 = style == null ? B.OutputStyle_expanded0 : style,
21776 t3 = useSpaces ? 32 : 9,
21777 t4 = indentWidth == null ? 2 : indentWidth,
21778 t5 = lineFeed == null ? B.LineFeed_D6m : lineFeed;
21779 A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
21780 return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
21781 },
21782 serialize_closure0: function serialize_closure0() {
21783 },
21784 _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
21785 var _ = this;
21786 _._serialize0$_buffer = t0;
21787 _._serialize0$_indentation = 0;
21788 _._serialize0$_style = t1;
21789 _._serialize0$_inspect = t2;
21790 _._serialize0$_quote = t3;
21791 _._serialize0$_indentCharacter = t4;
21792 _._serialize0$_indentWidth = t5;
21793 _._lineFeed = t6;
21794 },
21795 _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
21796 this.$this = t0;
21797 this.node = t1;
21798 },
21799 _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
21800 this.$this = t0;
21801 this.node = t1;
21802 },
21803 _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
21804 this.$this = t0;
21805 this.node = t1;
21806 },
21807 _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
21808 this.$this = t0;
21809 this.node = t1;
21810 },
21811 _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
21812 this.$this = t0;
21813 this.node = t1;
21814 },
21815 _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
21816 this.$this = t0;
21817 this.node = t1;
21818 },
21819 _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
21820 this.$this = t0;
21821 this.node = t1;
21822 },
21823 _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
21824 this.$this = t0;
21825 this.node = t1;
21826 },
21827 _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
21828 this.$this = t0;
21829 this.node = t1;
21830 },
21831 _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
21832 this.$this = t0;
21833 this.node = t1;
21834 },
21835 _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
21836 },
21837 _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
21838 this.$this = t0;
21839 this.value = t1;
21840 },
21841 _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
21842 this.$this = t0;
21843 },
21844 _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
21845 this.$this = t0;
21846 },
21847 _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
21848 },
21849 _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
21850 this.$this = t0;
21851 this.value = t1;
21852 },
21853 _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1, t2) {
21854 this._box_0 = t0;
21855 this.$this = t1;
21856 this.children = t2;
21857 },
21858 OutputStyle0: function OutputStyle0(t0) {
21859 this._serialize0$_name = t0;
21860 },
21861 LineFeed0: function LineFeed0(t0, t1) {
21862 this.name = t0;
21863 this.text = t1;
21864 },
21865 SerializeResult0: function SerializeResult0(t0, t1) {
21866 this.css = t0;
21867 this.sourceMap = t1;
21868 },
21869 ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
21870 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;
21871 },
21872 ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
21873 var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
21874 return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
21875 },
21876 ShadowedModuleView__needsBlocklist0(map, blocklist) {
21877 var t1 = map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
21878 return t1;
21879 },
21880 ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
21881 var _ = this;
21882 _._shadowed_view0$_inner = t0;
21883 _.variables = t1;
21884 _.variableNodes = t2;
21885 _.functions = t3;
21886 _.mixins = t4;
21887 _.$ti = t5;
21888 },
21889 SilentComment0: function SilentComment0(t0, t1) {
21890 this.text = t0;
21891 this.span = t1;
21892 },
21893 SimpleSelector0: function SimpleSelector0() {
21894 },
21895 SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
21896 var _ = this;
21897 _._single_unit$_unit = t0;
21898 _._number1$_value = t1;
21899 _.hashCache = null;
21900 _.asSlash = t2;
21901 },
21902 SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
21903 this.$this = t0;
21904 this.unit = t1;
21905 },
21906 SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
21907 this.$this = t0;
21908 },
21909 SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
21910 this._box_0 = t0;
21911 this.$this = t1;
21912 },
21913 SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
21914 this._box_0 = t0;
21915 this.$this = t1;
21916 },
21917 SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
21918 var _ = this;
21919 _._source_map_buffer0$_buffer = t0;
21920 _._source_map_buffer0$_entries = t1;
21921 _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
21922 _._source_map_buffer0$_inSpan = false;
21923 },
21924 SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
21925 this._box_0 = t0;
21926 this.prefixLength = t1;
21927 },
21928 updateSourceSpanPrototype() {
21929 var span = A.SourceFile$fromString("", null).span$1(0, 0),
21930 t1 = type$.JSClass,
21931 t2 = t1._as(span.constructor),
21932 t3 = type$.String,
21933 t4 = type$.Function;
21934 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));
21935 t1 = t1._as(A.FileLocation$_(span.file, span._file$_start).constructor);
21936 A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure4(), "column", new A.updateSourceSpanPrototype_closure5()], t3, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
21937 },
21938 updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure() {
21939 },
21940 updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
21941 },
21942 updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
21943 },
21944 updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
21945 },
21946 updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
21947 },
21948 updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
21949 },
21950 updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
21951 },
21952 _IterableExtension__search0(_this, callback) {
21953 var t1, value;
21954 for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
21955 value = callback.call$1(t1.get$current(t1));
21956 if (value != null)
21957 return value;
21958 }
21959 return null;
21960 },
21961 StatementSearchVisitor0: function StatementSearchVisitor0() {
21962 },
21963 StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
21964 this.$this = t0;
21965 },
21966 StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
21967 this.$this = t0;
21968 },
21969 StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
21970 this.$this = t0;
21971 },
21972 StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
21973 this.$this = t0;
21974 },
21975 StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
21976 this.$this = t0;
21977 },
21978 StaticImport0: function StaticImport0(t0, t1, t2, t3) {
21979 var _ = this;
21980 _.url = t0;
21981 _.supports = t1;
21982 _.media = t2;
21983 _.span = t3;
21984 },
21985 StderrLogger0: function StderrLogger0(t0) {
21986 this.color = t0;
21987 },
21988 StringExpression_quoteText0(text) {
21989 var t1,
21990 quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
21991 buffer = new A.StringBuffer("");
21992 buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
21993 A.StringExpression__quoteInnerText0(text, quote, buffer, true);
21994 t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
21995 return t1.charCodeAt(0) == 0 ? t1 : t1;
21996 },
21997 StringExpression__quoteInnerText0(text, quote, buffer, $static) {
21998 var t1, t2, i, codeUnit, next, t3;
21999 for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
22000 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
22001 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
22002 buffer.writeCharCode$1(92);
22003 buffer.writeCharCode$1(97);
22004 if (i !== t2) {
22005 next = B.JSString_methods._codeUnitAt$1(text, i + 1);
22006 if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex0(next))
22007 buffer.writeCharCode$1(32);
22008 }
22009 } else {
22010 if (codeUnit !== quote)
22011 if (codeUnit !== 92)
22012 t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
22013 else
22014 t3 = true;
22015 else
22016 t3 = true;
22017 if (t3)
22018 buffer.writeCharCode$1(92);
22019 buffer.writeCharCode$1(codeUnit);
22020 }
22021 }
22022 },
22023 StringExpression__bestQuote0(strings) {
22024 var t1, containsDoubleQuote, t2, t3, i, codeUnit;
22025 for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
22026 t2 = t1.get$current(t1);
22027 for (t3 = t2.length, i = 0; i < t3; ++i) {
22028 codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
22029 if (codeUnit === 39)
22030 return 34;
22031 if (codeUnit === 34)
22032 containsDoubleQuote = true;
22033 }
22034 }
22035 return containsDoubleQuote ? 39 : 34;
22036 },
22037 StringExpression0: function StringExpression0(t0, t1) {
22038 this.text = t0;
22039 this.hasQuotes = t1;
22040 },
22041 _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
22042 var result;
22043 if (index === 0)
22044 return 0;
22045 if (index > 0)
22046 return Math.min(index - 1, lengthInCodepoints);
22047 result = lengthInCodepoints + index;
22048 if (result < 0 && !allowNegative)
22049 return 0;
22050 return result;
22051 },
22052 _function6($name, $arguments, callback) {
22053 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
22054 },
22055 _unquote_closure0: function _unquote_closure0() {
22056 },
22057 _quote_closure0: function _quote_closure0() {
22058 },
22059 _length_closure1: function _length_closure1() {
22060 },
22061 _insert_closure0: function _insert_closure0() {
22062 },
22063 _index_closure1: function _index_closure1() {
22064 },
22065 _slice_closure0: function _slice_closure0() {
22066 },
22067 _toUpperCase_closure0: function _toUpperCase_closure0() {
22068 },
22069 _toLowerCase_closure0: function _toLowerCase_closure0() {
22070 },
22071 _uniqueId_closure0: function _uniqueId_closure0() {
22072 },
22073 _NodeSassString: function _NodeSassString() {
22074 },
22075 legacyStringClass_closure: function legacyStringClass_closure() {
22076 },
22077 legacyStringClass_closure0: function legacyStringClass_closure0() {
22078 },
22079 legacyStringClass_closure1: function legacyStringClass_closure1() {
22080 },
22081 stringClass_closure: function stringClass_closure() {
22082 },
22083 stringClass__closure: function stringClass__closure() {
22084 },
22085 stringClass__closure0: function stringClass__closure0() {
22086 },
22087 stringClass__closure1: function stringClass__closure1() {
22088 },
22089 stringClass__closure2: function stringClass__closure2() {
22090 },
22091 stringClass__closure3: function stringClass__closure3() {
22092 },
22093 _ConstructorOptions1: function _ConstructorOptions1() {
22094 },
22095 SassString$0(_text, quotes) {
22096 return new A.SassString0(_text, quotes);
22097 },
22098 SassString0: function SassString0(t0, t1) {
22099 var _ = this;
22100 _._string0$_text = t0;
22101 _._string0$_hasQuotes = t1;
22102 _._string0$__SassString__sassLength = $;
22103 _._string0$_hashCache = null;
22104 },
22105 ModifiableCssStyleRule$0(selector, span, originalSelector) {
22106 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22107 return new A.ModifiableCssStyleRule0(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22108 },
22109 ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4) {
22110 var _ = this;
22111 _.selector = t0;
22112 _.originalSelector = t1;
22113 _.span = t2;
22114 _.children = t3;
22115 _._node1$_children = t4;
22116 _._node1$_indexInParent = _._node1$_parent = null;
22117 _.isGroupEnd = false;
22118 },
22119 StyleRule$0(selector, children, span) {
22120 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
22121 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
22122 return new A.StyleRule0(selector, span, t1, t2);
22123 },
22124 StyleRule0: function StyleRule0(t0, t1, t2, t3) {
22125 var _ = this;
22126 _.selector = t0;
22127 _.span = t1;
22128 _.children = t2;
22129 _.hasDeclarations = t3;
22130 },
22131 CssStylesheet0: function CssStylesheet0(t0, t1) {
22132 this.children = t0;
22133 this.span = t1;
22134 },
22135 ModifiableCssStylesheet$0(span) {
22136 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22137 return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22138 },
22139 ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
22140 var _ = this;
22141 _.span = t0;
22142 _.children = t1;
22143 _._node1$_children = t2;
22144 _._node1$_indexInParent = _._node1$_parent = null;
22145 _.isGroupEnd = false;
22146 },
22147 StylesheetParser0: function StylesheetParser0() {
22148 },
22149 StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
22150 this.$this = t0;
22151 },
22152 StylesheetParser_parse__closure1: function StylesheetParser_parse__closure1(t0) {
22153 this.$this = t0;
22154 },
22155 StylesheetParser_parse__closure2: function StylesheetParser_parse__closure2() {
22156 },
22157 StylesheetParser_parseArgumentDeclaration_closure0: function StylesheetParser_parseArgumentDeclaration_closure0(t0) {
22158 this.$this = t0;
22159 },
22160 StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
22161 this.$this = t0;
22162 this.production = t1;
22163 this.T = t2;
22164 },
22165 StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
22166 this.$this = t0;
22167 this.requireParens = t1;
22168 },
22169 StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
22170 this.$this = t0;
22171 },
22172 StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
22173 this.$this = t0;
22174 this.start = t1;
22175 },
22176 StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
22177 this.declaration = t0;
22178 },
22179 StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
22180 this.name = t0;
22181 },
22182 StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0, t1) {
22183 this._box_0 = t0;
22184 this.name = t1;
22185 },
22186 StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
22187 var _ = this;
22188 _._box_0 = t0;
22189 _.$this = t1;
22190 _.wasInStyleRule = t2;
22191 _.start = t3;
22192 },
22193 StylesheetParser__propertyOrVariableDeclaration_closure1: function StylesheetParser__propertyOrVariableDeclaration_closure1(t0) {
22194 this._box_0 = t0;
22195 },
22196 StylesheetParser__propertyOrVariableDeclaration_closure2: function StylesheetParser__propertyOrVariableDeclaration_closure2(t0, t1) {
22197 this._box_0 = t0;
22198 this.value = t1;
22199 },
22200 StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
22201 this.query = t0;
22202 },
22203 StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
22204 },
22205 StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
22206 var _ = this;
22207 _.$this = t0;
22208 _.wasInControlDirective = t1;
22209 _.variables = t2;
22210 _.list = t3;
22211 },
22212 StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
22213 this.name = t0;
22214 this.$arguments = t1;
22215 this.precedingComment = t2;
22216 },
22217 StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
22218 this._box_0 = t0;
22219 this.$this = t1;
22220 },
22221 StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
22222 var _ = this;
22223 _._box_0 = t0;
22224 _.$this = t1;
22225 _.wasInControlDirective = t2;
22226 _.variable = t3;
22227 _.from = t4;
22228 _.to = t5;
22229 },
22230 StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
22231 this.$this = t0;
22232 this.variables = t1;
22233 this.identifiers = t2;
22234 },
22235 StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
22236 this.contentArguments_ = t0;
22237 },
22238 StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
22239 this.query = t0;
22240 },
22241 StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
22242 var _ = this;
22243 _.$this = t0;
22244 _.name = t1;
22245 _.$arguments = t2;
22246 _.precedingComment = t3;
22247 },
22248 StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
22249 var _ = this;
22250 _._box_0 = t0;
22251 _.$this = t1;
22252 _.name = t2;
22253 _.value = t3;
22254 },
22255 StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
22256 this.condition = t0;
22257 },
22258 StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
22259 this.$this = t0;
22260 this.wasInControlDirective = t1;
22261 this.condition = t2;
22262 },
22263 StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
22264 this._box_0 = t0;
22265 this.name = t1;
22266 },
22267 StylesheetParser_expression_resetState0: function StylesheetParser_expression_resetState0(t0, t1, t2) {
22268 this._box_0 = t0;
22269 this.$this = t1;
22270 this.start = t2;
22271 },
22272 StylesheetParser_expression_resolveOneOperation0: function StylesheetParser_expression_resolveOneOperation0(t0, t1) {
22273 this._box_0 = t0;
22274 this.$this = t1;
22275 },
22276 StylesheetParser_expression_resolveOperations0: function StylesheetParser_expression_resolveOperations0(t0, t1) {
22277 this._box_0 = t0;
22278 this.resolveOneOperation = t1;
22279 },
22280 StylesheetParser_expression_addSingleExpression0: function StylesheetParser_expression_addSingleExpression0(t0, t1, t2, t3) {
22281 var _ = this;
22282 _._box_0 = t0;
22283 _.$this = t1;
22284 _.resetState = t2;
22285 _.resolveOperations = t3;
22286 },
22287 StylesheetParser_expression_addOperator0: function StylesheetParser_expression_addOperator0(t0, t1, t2) {
22288 this._box_0 = t0;
22289 this.$this = t1;
22290 this.resolveOneOperation = t2;
22291 },
22292 StylesheetParser_expression_resolveSpaceExpressions0: function StylesheetParser_expression_resolveSpaceExpressions0(t0, t1, t2) {
22293 this._box_0 = t0;
22294 this.$this = t1;
22295 this.resolveOperations = t2;
22296 },
22297 StylesheetParser__expressionUntilComma_closure0: function StylesheetParser__expressionUntilComma_closure0(t0) {
22298 this.$this = t0;
22299 },
22300 StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
22301 },
22302 StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
22303 },
22304 StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
22305 this.$this = t0;
22306 this.start = t1;
22307 },
22308 StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
22309 },
22310 StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
22311 this.$this = t0;
22312 },
22313 StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
22314 this.$this = t0;
22315 this.start = t1;
22316 },
22317 Stylesheet$internal0(children, span, plainCss) {
22318 var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
22319 t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
22320 t3 = A.List_List$unmodifiable(children, type$.Statement_2),
22321 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure0());
22322 t1 = new A.Stylesheet0(span, plainCss, t1, t2, t3, t4);
22323 t1.Stylesheet$internal$3$plainCss0(children, span, plainCss);
22324 return t1;
22325 },
22326 Stylesheet_Stylesheet$parse0(contents, syntax, logger, url) {
22327 var t1, t2;
22328 switch (syntax) {
22329 case B.Syntax_Sass0:
22330 t1 = A.SpanScanner$(contents, url);
22331 t2 = logger == null ? B.StderrLogger_false0 : logger;
22332 return new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
22333 case B.Syntax_SCSS0:
22334 return A.ScssParser$0(contents, logger, url).parse$0();
22335 case B.Syntax_CSS0:
22336 t1 = A.SpanScanner$(contents, url);
22337 t2 = logger == null ? B.StderrLogger_false0 : logger;
22338 return new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
22339 default:
22340 throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
22341 }
22342 },
22343 Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5) {
22344 var _ = this;
22345 _.span = t0;
22346 _.plainCss = t1;
22347 _._stylesheet1$_uses = t2;
22348 _._stylesheet1$_forwards = t3;
22349 _.children = t4;
22350 _.hasDeclarations = t5;
22351 },
22352 ModifiableCssSupportsRule$0(condition, span) {
22353 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22354 return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22355 },
22356 ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
22357 var _ = this;
22358 _.condition = t0;
22359 _.span = t1;
22360 _.children = t2;
22361 _._node1$_children = t3;
22362 _._node1$_indexInParent = _._node1$_parent = null;
22363 _.isGroupEnd = false;
22364 },
22365 SupportsRule$0(condition, children, span) {
22366 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
22367 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
22368 return new A.SupportsRule0(condition, span, t1, t2);
22369 },
22370 SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
22371 var _ = this;
22372 _.condition = t0;
22373 _.span = t1;
22374 _.children = t2;
22375 _.hasDeclarations = t3;
22376 },
22377 NodeToDartImporter: function NodeToDartImporter(t0, t1) {
22378 this._sync$_canonicalize = t0;
22379 this._sync$_load = t1;
22380 },
22381 Syntax_forPath0(path) {
22382 switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
22383 case ".sass":
22384 return B.Syntax_Sass0;
22385 case ".css":
22386 return B.Syntax_CSS0;
22387 default:
22388 return B.Syntax_SCSS0;
22389 }
22390 },
22391 Syntax0: function Syntax0(t0) {
22392 this._syntax0$_name = t0;
22393 },
22394 TerseLogger0: function TerseLogger0(t0, t1) {
22395 this._terse$_warningCounts = t0;
22396 this._terse$_inner = t1;
22397 },
22398 TerseLogger_summarize_closure1: function TerseLogger_summarize_closure1() {
22399 },
22400 TerseLogger_summarize_closure2: function TerseLogger_summarize_closure2() {
22401 },
22402 TypeSelector0: function TypeSelector0(t0) {
22403 this.name = t0;
22404 },
22405 Types: function Types() {
22406 },
22407 UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
22408 this.operator = t0;
22409 this.operand = t1;
22410 this.span = t2;
22411 },
22412 UnaryOperator0: function UnaryOperator0(t0, t1) {
22413 this.name = t0;
22414 this.operator = t1;
22415 },
22416 UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
22417 this._number1$_value = t0;
22418 this.hashCache = null;
22419 this.asSlash = t1;
22420 },
22421 UniversalSelector0: function UniversalSelector0(t0) {
22422 this.namespace = t0;
22423 },
22424 UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
22425 this._unprefixed_map_view0$_map = t0;
22426 this._unprefixed_map_view0$_prefix = t1;
22427 this.$ti = t2;
22428 },
22429 _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
22430 this._unprefixed_map_view0$_view = t0;
22431 },
22432 _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
22433 this.$this = t0;
22434 },
22435 _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
22436 this.$this = t0;
22437 },
22438 JSUrl0: function JSUrl0() {
22439 },
22440 UseRule0: function UseRule0(t0, t1, t2, t3) {
22441 var _ = this;
22442 _.url = t0;
22443 _.namespace = t1;
22444 _.configuration = t2;
22445 _.span = t3;
22446 },
22447 UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
22448 var _ = this;
22449 _.declaration = t0;
22450 _.environment = t1;
22451 _.inDependency = t2;
22452 _.$ti = t3;
22453 },
22454 fromImport0() {
22455 var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
22456 return t1 === true;
22457 },
22458 resolveImportPath0(path) {
22459 var t1,
22460 extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
22461 if (extension === ".sass" || extension === ".scss" || extension === ".css") {
22462 t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
22463 return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
22464 }
22465 t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
22466 if (t1 == null)
22467 t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
22468 return t1 == null ? A._tryPathAsDirectory0(path) : t1;
22469 },
22470 _tryPathWithExtensions0(path) {
22471 var result = A._tryPath0(path + ".sass");
22472 B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
22473 return result.length !== 0 ? result : A._tryPath0(path + ".css");
22474 },
22475 _tryPath0(path) {
22476 var t1 = $.$get$context(),
22477 partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
22478 t1 = A._setArrayType([], type$.JSArray_String);
22479 if (A.fileExists0(partial))
22480 t1.push(partial);
22481 if (A.fileExists0(path))
22482 t1.push(path);
22483 return t1;
22484 },
22485 _tryPathAsDirectory0(path) {
22486 var t1;
22487 if (!A.dirExists0(path))
22488 return null;
22489 t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
22490 return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
22491 },
22492 _exactlyOne0(paths) {
22493 var t1 = paths.length;
22494 if (t1 === 0)
22495 return null;
22496 if (t1 === 1)
22497 return B.JSArray_methods.get$first(paths);
22498 throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
22499 },
22500 resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
22501 this.path = t0;
22502 this.extension = t1;
22503 },
22504 resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
22505 this.path = t0;
22506 },
22507 _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
22508 this.path = t0;
22509 },
22510 _exactlyOne_closure0: function _exactlyOne_closure0() {
22511 },
22512 jsThrow(error) {
22513 return type$.Never._as($.$get$_jsThrow().call$1(error));
22514 },
22515 attachJsStack(error, trace) {
22516 var traceString = trace.toString$0(0),
22517 firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
22518 if (firstRealLine !== -1)
22519 traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
22520 error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
22521 },
22522 jsForEach(object, callback) {
22523 var t1, t2;
22524 for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
22525 t2 = t1.get$current(t1);
22526 callback.call$2(t2, object[t2]);
22527 }
22528 },
22529 defineGetter(object, $name, get, value) {
22530 self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
22531 },
22532 allowInteropNamed($name, $function) {
22533 $function = A.allowInterop($function);
22534 A.defineGetter($function, "name", null, $name);
22535 A._hideDartProperties($function);
22536 return $function;
22537 },
22538 allowInteropCaptureThisNamed($name, $function) {
22539 $function = A.allowInteropCaptureThis($function);
22540 A.defineGetter($function, "name", null, $name);
22541 A._hideDartProperties($function);
22542 return $function;
22543 },
22544 _hideDartProperties(object) {
22545 var t1, t2, t3, t4;
22546 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();) {
22547 t3 = t2._as(t1.__internal$_current);
22548 if (B.JSString_methods.startsWith$1(t3, "_")) {
22549 t4 = {value: object[t3], enumerable: false};
22550 self.Object.defineProperty(object, t3, t4);
22551 }
22552 }
22553 },
22554 futureToPromise0(future) {
22555 return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
22556 },
22557 jsToDartUrl(url) {
22558 return A.Uri_parse(J.toString$0$(url));
22559 },
22560 dartToJSUrl(url) {
22561 return new self.URL(url.toString$0(0));
22562 },
22563 toJSArray(iterable) {
22564 var t1, t2,
22565 array = new self.Array();
22566 for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
22567 t2.push$1(array, t1.get$current(t1));
22568 return array;
22569 },
22570 objectToMap(object) {
22571 var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
22572 A.jsForEach(object, new A.objectToMap_closure(map));
22573 return map;
22574 },
22575 jsToDartSeparator(separator) {
22576 switch (separator) {
22577 case " ":
22578 return B.ListSeparator_woc0;
22579 case ",":
22580 return B.ListSeparator_kWM0;
22581 case "/":
22582 return B.ListSeparator_1gm0;
22583 case null:
22584 return B.ListSeparator_undecided_null0;
22585 default:
22586 A.jsThrow(new self.Error('Unknown separator "' + A.S(separator) + '".'));
22587 }
22588 },
22589 parseSyntax(syntax) {
22590 if (syntax == null || syntax === "scss")
22591 return B.Syntax_SCSS0;
22592 if (syntax === "indented")
22593 return B.Syntax_Sass0;
22594 if (syntax === "css")
22595 return B.Syntax_CSS0;
22596 A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
22597 },
22598 _PropertyDescriptor0: function _PropertyDescriptor0() {
22599 },
22600 futureToPromise_closure0: function futureToPromise_closure0(t0) {
22601 this.future = t0;
22602 },
22603 futureToPromise__closure0: function futureToPromise__closure0(t0) {
22604 this.resolve = t0;
22605 },
22606 futureToPromise__closure1: function futureToPromise__closure1(t0) {
22607 this.reject = t0;
22608 },
22609 objectToMap_closure: function objectToMap_closure(t0) {
22610 this.map = t0;
22611 },
22612 toSentence0(iter, conjunction) {
22613 var t1 = iter.__internal$_iterable,
22614 t2 = J.getInterceptor$asx(t1);
22615 if (t2.get$length(t1) === 1)
22616 return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
22617 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))));
22618 },
22619 indent0(string, indentation) {
22620 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");
22621 },
22622 pluralize0($name, number, plural) {
22623 if (number === 1)
22624 return $name;
22625 if (plural != null)
22626 return plural;
22627 return $name + "s";
22628 },
22629 trimAscii0(string, excludeEscape) {
22630 var t1,
22631 start = A._firstNonWhitespace0(string);
22632 if (start == null)
22633 t1 = "";
22634 else {
22635 t1 = A._lastNonWhitespace0(string, true);
22636 t1.toString;
22637 t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
22638 }
22639 return t1;
22640 },
22641 trimAsciiRight0(string, excludeEscape) {
22642 var end = A._lastNonWhitespace0(string, excludeEscape);
22643 return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
22644 },
22645 _firstNonWhitespace0(string) {
22646 var t1, i, t2;
22647 for (t1 = string.length, i = 0; i < t1; ++i) {
22648 t2 = B.JSString_methods._codeUnitAt$1(string, i);
22649 if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
22650 return i;
22651 }
22652 return null;
22653 },
22654 _lastNonWhitespace0(string, excludeEscape) {
22655 var t1, i, codeUnit;
22656 for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
22657 codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
22658 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
22659 if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
22660 return i + 1;
22661 else
22662 return i;
22663 }
22664 return null;
22665 },
22666 isPublic0(member) {
22667 var start = B.JSString_methods._codeUnitAt$1(member, 0);
22668 return start !== 45 && start !== 95;
22669 },
22670 flattenVertically0(iterable, $T) {
22671 var result,
22672 t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
22673 queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
22674 if (queues.length === 1)
22675 return B.JSArray_methods.get$first(queues);
22676 result = A._setArrayType([], $T._eval$1("JSArray<0>"));
22677 for (; queues.length !== 0;) {
22678 if (!!queues.fixed$length)
22679 A.throwExpression(A.UnsupportedError$("removeWhere"));
22680 B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
22681 }
22682 return result;
22683 },
22684 firstOrNull0(iterable) {
22685 var iterator = J.get$iterator$ax(iterable);
22686 return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
22687 },
22688 codepointIndexToCodeUnitIndex0(string, codepointIndex) {
22689 var codeUnitIndex, i, codeUnitIndex0;
22690 for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
22691 codeUnitIndex0 = codeUnitIndex + 1;
22692 codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
22693 }
22694 return codeUnitIndex;
22695 },
22696 codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
22697 var codepointIndex, i;
22698 for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
22699 ++codepointIndex;
22700 return codepointIndex;
22701 },
22702 frameForSpan0(span, member, url) {
22703 var t2, t3, t4,
22704 t1 = url == null ? span.file.url : url;
22705 if (t1 == null)
22706 t1 = $.$get$_noSourceUrl0();
22707 t2 = span.file;
22708 t3 = span._file$_start;
22709 t4 = A.FileLocation$_(t2, t3);
22710 t4 = t4.file.getLine$1(t4.offset);
22711 t3 = A.FileLocation$_(t2, t3);
22712 return new A.Frame(t1, t4 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
22713 },
22714 declarationName0(span) {
22715 var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
22716 return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
22717 },
22718 unvendor0($name) {
22719 var i,
22720 t1 = $name.length;
22721 if (t1 < 2)
22722 return $name;
22723 if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
22724 return $name;
22725 if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
22726 return $name;
22727 for (i = 2; i < t1; ++i)
22728 if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
22729 return B.JSString_methods.substring$1($name, i + 1);
22730 return $name;
22731 },
22732 equalsIgnoreCase0(string1, string2) {
22733 var t1, i;
22734 if (string1 === string2)
22735 return true;
22736 if (string1 == null || false)
22737 return false;
22738 t1 = string1.length;
22739 if (t1 !== string2.length)
22740 return false;
22741 for (i = 0; i < t1; ++i)
22742 if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
22743 return false;
22744 return true;
22745 },
22746 startsWithIgnoreCase0(string, prefix) {
22747 var i,
22748 t1 = prefix.length;
22749 if (string.length < t1)
22750 return false;
22751 for (i = 0; i < t1; ++i)
22752 if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
22753 return false;
22754 return true;
22755 },
22756 mapInPlace0(list, $function) {
22757 var i;
22758 for (i = 0; i < list.length; ++i)
22759 list[i] = $function.call$1(list[i]);
22760 },
22761 longestCommonSubsequence0(list1, list2, select, $T) {
22762 var t1, _length, lengths, t2, t3, _i, selections, i, i0, j, selection, j0;
22763 if (select == null)
22764 select = new A.longestCommonSubsequence_closure0($T);
22765 t1 = J.getInterceptor$asx(list1);
22766 _length = t1.get$length(list1) + 1;
22767 lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
22768 for (t2 = J.getInterceptor$asx(list2), t3 = type$.int, _i = 0; _i < _length; ++_i)
22769 lengths[_i] = A.List_List$filled(t2.get$length(list2) + 1, 0, false, t3);
22770 _length = t1.get$length(list1);
22771 selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
22772 for (t3 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
22773 selections[_i] = A.List_List$filled(t2.get$length(list2), null, false, t3);
22774 for (i = 0; i < t1.get$length(list1); i = i0)
22775 for (i0 = i + 1, j = 0; j < t2.get$length(list2); j = j0) {
22776 selection = select.call$2(t1.$index(list1, i), t2.$index(list2, j));
22777 selections[i][j] = selection;
22778 t3 = lengths[i0];
22779 j0 = j + 1;
22780 t3[j0] = selection == null ? Math.max(t3[j], lengths[i][j0]) : lengths[i][j] + 1;
22781 }
22782 return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(t1.get$length(list1) - 1, t2.get$length(list2) - 1);
22783 },
22784 removeFirstWhere0(list, test, orElse) {
22785 var i;
22786 for (i = 0; i < list.length; ++i) {
22787 if (!test.call$1(list[i]))
22788 continue;
22789 B.JSArray_methods.removeAt$1(list, i);
22790 return;
22791 }
22792 orElse.call$0();
22793 },
22794 mapAddAll20(destination, source, K1, K2, $V) {
22795 source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
22796 },
22797 setAll0(map, keys, value) {
22798 var t1;
22799 for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
22800 map.$indexSet(0, t1.get$current(t1), value);
22801 },
22802 rotateSlice0(list, start, end) {
22803 var i, next,
22804 element = list.$index(0, end - 1);
22805 for (i = start; i < end; ++i, element = next) {
22806 next = list.$index(0, i);
22807 list.$indexSet(0, i, element);
22808 }
22809 },
22810 mapAsync0(iterable, callback, $E, $F) {
22811 return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
22812 },
22813 mapAsync$body0(iterable, callback, $E, $F, $async$type) {
22814 var $async$goto = 0,
22815 $async$completer = A._makeAsyncAwaitCompleter($async$type),
22816 $async$returnValue, t2, _i, t1, $async$temp1;
22817 var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
22818 if ($async$errorCode === 1)
22819 return A._asyncRethrow($async$result, $async$completer);
22820 while (true)
22821 switch ($async$goto) {
22822 case 0:
22823 // Function start
22824 t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
22825 t2 = iterable.length, _i = 0;
22826 case 3:
22827 // for condition
22828 if (!(_i < t2)) {
22829 // goto after for
22830 $async$goto = 5;
22831 break;
22832 }
22833 $async$temp1 = t1;
22834 $async$goto = 6;
22835 return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
22836 case 6:
22837 // returning from await.
22838 $async$temp1.push($async$result);
22839 case 4:
22840 // for update
22841 ++_i;
22842 // goto for condition
22843 $async$goto = 3;
22844 break;
22845 case 5:
22846 // after for
22847 $async$returnValue = t1;
22848 // goto return
22849 $async$goto = 1;
22850 break;
22851 case 1:
22852 // return
22853 return A._asyncReturn($async$returnValue, $async$completer);
22854 }
22855 });
22856 return A._asyncStartSync($async$mapAsync0, $async$completer);
22857 },
22858 putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
22859 return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
22860 },
22861 putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
22862 var $async$goto = 0,
22863 $async$completer = A._makeAsyncAwaitCompleter($async$type),
22864 $async$returnValue, value;
22865 var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
22866 if ($async$errorCode === 1)
22867 return A._asyncRethrow($async$result, $async$completer);
22868 while (true)
22869 switch ($async$goto) {
22870 case 0:
22871 // Function start
22872 if (map.containsKey$1(key)) {
22873 $async$returnValue = $V._as(map.$index(0, key));
22874 // goto return
22875 $async$goto = 1;
22876 break;
22877 }
22878 $async$goto = 3;
22879 return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
22880 case 3:
22881 // returning from await.
22882 value = $async$result;
22883 map.$indexSet(0, key, value);
22884 $async$returnValue = value;
22885 // goto return
22886 $async$goto = 1;
22887 break;
22888 case 1:
22889 // return
22890 return A._asyncReturn($async$returnValue, $async$completer);
22891 }
22892 });
22893 return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
22894 },
22895 copyMapOfMap0(map, K1, K2, $V) {
22896 var t2, t3, t4, t5,
22897 t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
22898 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
22899 t3 = t2.get$current(t2);
22900 t4 = t3.key;
22901 t3 = t3.value;
22902 t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
22903 t5.addAll$1(0, t3);
22904 t1.$indexSet(0, t4, t5);
22905 }
22906 return t1;
22907 },
22908 copyMapOfList0(map, $K, $E) {
22909 var t2, t3,
22910 t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
22911 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
22912 t3 = t2.get$current(t2);
22913 t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
22914 }
22915 return t1;
22916 },
22917 consumeEscapedCharacter0(scanner) {
22918 var first, value, i, next, t1;
22919 scanner.expectChar$1(92);
22920 first = scanner.peekChar$0();
22921 if (first == null)
22922 return 65533;
22923 else if (first === 10 || first === 13 || first === 12)
22924 scanner.error$1(0, "Expected escape sequence.");
22925 else if (A.isHex0(first)) {
22926 for (value = 0, i = 0; i < 6; ++i) {
22927 next = scanner.peekChar$0();
22928 if (next == null || !A.isHex0(next))
22929 break;
22930 value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
22931 }
22932 t1 = scanner.peekChar$0();
22933 if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
22934 scanner.readChar$0();
22935 if (value !== 0)
22936 t1 = value >= 55296 && value <= 57343 || value >= 1114111;
22937 else
22938 t1 = true;
22939 if (t1)
22940 return 65533;
22941 else
22942 return value;
22943 } else
22944 return scanner.readChar$0();
22945 },
22946 throwWithTrace0(error, trace) {
22947 A.attachTrace0(error, trace);
22948 throw A.wrapException(error);
22949 },
22950 attachTrace0(error, trace) {
22951 var t1;
22952 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
22953 return;
22954 if (trace.toString$0(0).length === 0)
22955 return;
22956 t1 = $.$get$_traces0();
22957 A.Expando__checkType(error);
22958 t1 = t1._jsWeakMap;
22959 if (t1.get(error) == null)
22960 t1.set(error, trace);
22961 },
22962 getTrace0(error) {
22963 var t1;
22964 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
22965 t1 = null;
22966 else {
22967 t1 = $.$get$_traces0();
22968 A.Expando__checkType(error);
22969 t1 = t1._jsWeakMap.get(error);
22970 }
22971 return t1;
22972 },
22973 indent_closure0: function indent_closure0(t0) {
22974 this.indentation = t0;
22975 },
22976 flattenVertically_closure1: function flattenVertically_closure1(t0) {
22977 this.T = t0;
22978 },
22979 flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
22980 this.result = t0;
22981 this.T = t1;
22982 },
22983 longestCommonSubsequence_closure0: function longestCommonSubsequence_closure0(t0) {
22984 this.T = t0;
22985 },
22986 longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
22987 this.selections = t0;
22988 this.lengths = t1;
22989 this.T = t2;
22990 },
22991 mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
22992 var _ = this;
22993 _.destination = t0;
22994 _.K1 = t1;
22995 _.K2 = t2;
22996 _.V = t3;
22997 },
22998 CssValue0: function CssValue0(t0, t1, t2) {
22999 this.value = t0;
23000 this.span = t1;
23001 this.$ti = t2;
23002 },
23003 ValueExpression0: function ValueExpression0(t0, t1) {
23004 this.value = t0;
23005 this.span = t1;
23006 },
23007 ModifiableCssValue0: function ModifiableCssValue0(t0, t1, t2) {
23008 this.value = t0;
23009 this.span = t1;
23010 this.$ti = t2;
23011 },
23012 valueClass_closure: function valueClass_closure() {
23013 },
23014 valueClass__closure: function valueClass__closure() {
23015 },
23016 valueClass__closure0: function valueClass__closure0() {
23017 },
23018 valueClass__closure1: function valueClass__closure1() {
23019 },
23020 valueClass__closure2: function valueClass__closure2() {
23021 },
23022 valueClass__closure3: function valueClass__closure3() {
23023 },
23024 valueClass__closure4: function valueClass__closure4() {
23025 },
23026 valueClass__closure5: function valueClass__closure5() {
23027 },
23028 valueClass__closure6: function valueClass__closure6() {
23029 },
23030 valueClass__closure7: function valueClass__closure7() {
23031 },
23032 valueClass__closure8: function valueClass__closure8() {
23033 },
23034 valueClass__closure9: function valueClass__closure9() {
23035 },
23036 valueClass__closure10: function valueClass__closure10() {
23037 },
23038 valueClass__closure11: function valueClass__closure11() {
23039 },
23040 valueClass__closure12: function valueClass__closure12() {
23041 },
23042 valueClass__closure13: function valueClass__closure13() {
23043 },
23044 valueClass__closure14: function valueClass__closure14() {
23045 },
23046 valueClass__closure15: function valueClass__closure15() {
23047 },
23048 valueClass__closure16: function valueClass__closure16() {
23049 },
23050 Value0: function Value0() {
23051 },
23052 VariableExpression0: function VariableExpression0(t0, t1, t2) {
23053 this.namespace = t0;
23054 this.name = t1;
23055 this.span = t2;
23056 },
23057 VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
23058 if (namespace != null && global)
23059 A.throwExpression(A.ArgumentError$(string$.Other_, null));
23060 return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
23061 },
23062 VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
23063 var _ = this;
23064 _.namespace = t0;
23065 _.name = t1;
23066 _.expression = t2;
23067 _.isGuarded = t3;
23068 _.isGlobal = t4;
23069 _.span = t5;
23070 },
23071 WarnRule0: function WarnRule0(t0, t1) {
23072 this.expression = t0;
23073 this.span = t1;
23074 },
23075 WhileRule$0(condition, children, span) {
23076 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
23077 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
23078 return new A.WhileRule0(condition, span, t1, t2);
23079 },
23080 WhileRule0: function WhileRule0(t0, t1, t2, t3) {
23081 var _ = this;
23082 _.condition = t0;
23083 _.span = t1;
23084 _.children = t2;
23085 _.hasDeclarations = t3;
23086 },
23087 printString(string) {
23088 if (typeof dartPrint == "function") {
23089 dartPrint(string);
23090 return;
23091 }
23092 if (typeof console == "object" && typeof console.log != "undefined") {
23093 console.log(string);
23094 return;
23095 }
23096 if (typeof window == "object")
23097 return;
23098 if (typeof print == "function") {
23099 print(string);
23100 return;
23101 }
23102 throw "Unable to print message: " + String(string);
23103 },
23104 _convertDartFunctionFast(f) {
23105 var ret,
23106 existing = f.$dart_jsFunction;
23107 if (existing != null)
23108 return existing;
23109 ret = function(_call, f) {
23110 return function() {
23111 return _call(f, Array.prototype.slice.apply(arguments));
23112 };
23113 }(A._callDartFunctionFast, f);
23114 ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
23115 f.$dart_jsFunction = ret;
23116 return ret;
23117 },
23118 _convertDartFunctionFastCaptureThis(f) {
23119 var ret,
23120 existing = f._$dart_jsFunctionCaptureThis;
23121 if (existing != null)
23122 return existing;
23123 ret = function(_call, f) {
23124 return function() {
23125 return _call(f, this, Array.prototype.slice.apply(arguments));
23126 };
23127 }(A._callDartFunctionFastCaptureThis, f);
23128 ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
23129 f._$dart_jsFunctionCaptureThis = ret;
23130 return ret;
23131 },
23132 _callDartFunctionFast(callback, $arguments) {
23133 return A.Function_apply(callback, $arguments);
23134 },
23135 _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
23136 var t1 = [$self];
23137 B.JSArray_methods.addAll$1(t1, $arguments);
23138 return A.Function_apply(callback, t1);
23139 },
23140 allowInterop(f) {
23141 if (typeof f == "function")
23142 return f;
23143 else
23144 return A._convertDartFunctionFast(f);
23145 },
23146 allowInteropCaptureThis(f) {
23147 if (typeof f == "function")
23148 throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
23149 else
23150 return A._convertDartFunctionFastCaptureThis(f);
23151 },
23152 mergeMaps(map1, map2, $K, $V) {
23153 var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
23154 result.addAll$1(0, map2);
23155 return result;
23156 },
23157 groupBy(values, key, $S, $T) {
23158 var t1, t2, _i, element, t3, t4,
23159 map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
23160 for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
23161 element = values[_i];
23162 t3 = key.call$1(element);
23163 t4 = map.$index(0, t3);
23164 if (t4 == null) {
23165 t4 = A._setArrayType([], t2);
23166 map.$indexSet(0, t3, t4);
23167 t3 = t4;
23168 } else
23169 t3 = t4;
23170 J.add$1$ax(t3, element);
23171 }
23172 return map;
23173 },
23174 minBy(values, orderBy) {
23175 var t1, t2, minValue, minOrderBy, element, elementOrderBy;
23176 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();) {
23177 element = t2._as(t1.__internal$_current);
23178 elementOrderBy = orderBy.call$1(element);
23179 if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
23180 minOrderBy = elementOrderBy;
23181 minValue = element;
23182 }
23183 }
23184 return minValue;
23185 },
23186 IterableNullableExtension_whereNotNull(_this, $T) {
23187 return A.IterableNullableExtension_whereNotNull$body(_this, $T, $T);
23188 },
23189 IterableNullableExtension_whereNotNull$body($async$_this, $async$$T, $async$type) {
23190 return A._makeSyncStarIterable(function() {
23191 var _this = $async$_this,
23192 $T = $async$$T;
23193 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element;
23194 return function $async$IterableNullableExtension_whereNotNull($async$errorCode, $async$result) {
23195 if ($async$errorCode === 1) {
23196 $async$currentError = $async$result;
23197 $async$goto = $async$handler;
23198 }
23199 while (true)
23200 switch ($async$goto) {
23201 case 0:
23202 // Function start
23203 t1 = _this.get$iterator(_this);
23204 case 2:
23205 // for condition
23206 if (!t1.moveNext$0()) {
23207 // goto after for
23208 $async$goto = 3;
23209 break;
23210 }
23211 element = t1.get$current(t1);
23212 $async$goto = element != null ? 4 : 5;
23213 break;
23214 case 4:
23215 // then
23216 $async$goto = 6;
23217 return element;
23218 case 6:
23219 // after yield
23220 case 5:
23221 // join
23222 // goto for condition
23223 $async$goto = 2;
23224 break;
23225 case 3:
23226 // after for
23227 // implicit return
23228 return A._IterationMarker_endOfIteration();
23229 case 1:
23230 // rethrow
23231 return A._IterationMarker_uncaughtError($async$currentError);
23232 }
23233 };
23234 }, $async$type);
23235 },
23236 IterableIntegerExtension_get_sum(_this) {
23237 var t1, t2, result;
23238 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();)
23239 result += t2._as(t1.__internal$_current);
23240 return result;
23241 },
23242 ListExtensions_mapIndexed(_this, convert, $E, $R) {
23243 return A.ListExtensions_mapIndexed$body(_this, convert, $E, $R, $R);
23244 },
23245 ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R, $async$type) {
23246 return A._makeSyncStarIterable(function() {
23247 var _this = $async$_this,
23248 convert = $async$convert,
23249 $E = $async$$E,
23250 $R = $async$$R;
23251 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, index;
23252 return function $async$ListExtensions_mapIndexed($async$errorCode, $async$result) {
23253 if ($async$errorCode === 1) {
23254 $async$currentError = $async$result;
23255 $async$goto = $async$handler;
23256 }
23257 while (true)
23258 switch ($async$goto) {
23259 case 0:
23260 // Function start
23261 t1 = _this.length, index = 0;
23262 case 2:
23263 // for condition
23264 if (!(index < t1)) {
23265 // goto after for
23266 $async$goto = 4;
23267 break;
23268 }
23269 $async$goto = 5;
23270 return convert.call$2(index, _this[index]);
23271 case 5:
23272 // after yield
23273 case 3:
23274 // for update
23275 ++index;
23276 // goto for condition
23277 $async$goto = 2;
23278 break;
23279 case 4:
23280 // after for
23281 // implicit return
23282 return A._IterationMarker_endOfIteration();
23283 case 1:
23284 // rethrow
23285 return A._IterationMarker_uncaughtError($async$currentError);
23286 }
23287 };
23288 }, $async$type);
23289 },
23290 defaultCompare(value1, value2) {
23291 return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
23292 },
23293 current() {
23294 var exception, t1, path, lastIndex, uri = null;
23295 try {
23296 uri = A.Uri_base();
23297 } catch (exception) {
23298 if (type$.Exception._is(A.unwrapException(exception))) {
23299 t1 = $._current;
23300 if (t1 != null)
23301 return t1;
23302 throw exception;
23303 } else
23304 throw exception;
23305 }
23306 if (J.$eq$(uri, $._currentUriBase)) {
23307 t1 = $._current;
23308 t1.toString;
23309 return t1;
23310 }
23311 $._currentUriBase = uri;
23312 if ($.$get$Style_platform() == $.$get$Style_url())
23313 t1 = $._current = uri.resolve$1(".").toString$0(0);
23314 else {
23315 path = uri.toFilePath$0();
23316 lastIndex = path.length - 1;
23317 t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
23318 }
23319 return t1;
23320 },
23321 absolute(part1, part2, part3, part4, part5, part6, part7) {
23322 return $.$get$context().absolute$7(part1, part2, part3, part4, part5, part6, part7);
23323 },
23324 join(part1, part2, part3) {
23325 var _null = null;
23326 return $.$get$context().join$8(0, part1, part2, part3, _null, _null, _null, _null, _null);
23327 },
23328 prettyUri(uri) {
23329 return $.$get$context().prettyUri$1(uri);
23330 },
23331 isAlphabetic(char) {
23332 var t1;
23333 if (!(char >= 65 && char <= 90))
23334 t1 = char >= 97 && char <= 122;
23335 else
23336 t1 = true;
23337 return t1;
23338 },
23339 isDriveLetter(path, index) {
23340 var t1 = path.length,
23341 t2 = index + 2;
23342 if (t1 < t2)
23343 return false;
23344 if (!A.isAlphabetic(B.JSString_methods.codeUnitAt$1(path, index)))
23345 return false;
23346 if (B.JSString_methods.codeUnitAt$1(path, index + 1) !== 58)
23347 return false;
23348 if (t1 === t2)
23349 return true;
23350 return B.JSString_methods.codeUnitAt$1(path, t2) === 47;
23351 },
23352 _combine(hash, value) {
23353 hash = hash + value & 536870911;
23354 hash = hash + ((hash & 524287) << 10) & 536870911;
23355 return hash ^ hash >>> 6;
23356 },
23357 _finish(hash) {
23358 hash = hash + ((hash & 67108863) << 3) & 536870911;
23359 hash ^= hash >>> 11;
23360 return hash + ((hash & 16383) << 15) & 536870911;
23361 },
23362 EvaluationContext_current() {
23363 var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
23364 if (type$.EvaluationContext._is(context))
23365 return context;
23366 throw A.wrapException(A.StateError$(string$.No_Sass));
23367 },
23368 repl(options) {
23369 return A.repl$body(options);
23370 },
23371 repl$body(options) {
23372 var $async$goto = 0,
23373 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
23374 $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;
23375 var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
23376 if ($async$errorCode === 1) {
23377 $async$currentError = $async$result;
23378 $async$goto = $async$handler;
23379 }
23380 while (true)
23381 switch ($async$goto) {
23382 case 0:
23383 // Function start
23384 t1 = A._setArrayType([], type$.JSArray_String);
23385 t2 = B.JSString_methods.$mul(" ", 3);
23386 t3 = $.$get$alwaysValid();
23387 repl0 = new A.Repl(">> ", t2, t3, t1);
23388 repl0.__Repl__adapter = new A.ReplAdapter(repl0);
23389 repl = repl0;
23390 t1 = options._options;
23391 logger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
23392 t2 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
23393 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));
23394 t2 = new A._StreamIterator(A.checkNotNullable(A._lateReadCheck(repl.__Repl__adapter, "_adapter").runAsync$0(), "stream", type$.Object));
23395 $async$handler = 2;
23396 t1 = type$.Expression, t3 = type$.String, t4 = type$.VariableDeclaration;
23397 case 5:
23398 // for condition
23399 $async$goto = 7;
23400 return A._asyncAwait(t2.moveNext$0(), $async$repl);
23401 case 7:
23402 // returning from await.
23403 if (!$async$result) {
23404 // goto after for
23405 $async$goto = 6;
23406 break;
23407 }
23408 line = t2.get$current(t2);
23409 if (J.trim$0$s(line).length === 0) {
23410 // goto for condition
23411 $async$goto = 5;
23412 break;
23413 }
23414 try {
23415 if (J.startsWith$1$s(line, "@")) {
23416 t5 = evaluator;
23417 t6 = logger;
23418 t7 = A.SpanScanner$(line, null);
23419 if (t6 == null)
23420 t6 = B.StderrLogger_false;
23421 t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6).parseUseRule$0();
23422 t5._visitor.runStatement$2(t5._importer, t6);
23423 // goto for condition
23424 $async$goto = 5;
23425 break;
23426 }
23427 t5 = A.SpanScanner$(line, null);
23428 if (new A.Parser(t5, B.StderrLogger_false)._isVariableDeclarationLike$0()) {
23429 t5 = logger;
23430 t6 = A.SpanScanner$(line, null);
23431 if (t5 == null)
23432 t5 = B.StderrLogger_false;
23433 declaration = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t6, t5).parseVariableDeclaration$0();
23434 t5 = evaluator;
23435 t5._visitor.runStatement$2(t5._importer, declaration);
23436 t5 = evaluator;
23437 t6 = declaration.name;
23438 t7 = declaration.span;
23439 t8 = declaration.namespace;
23440 line0 = t5._visitor.runExpression$2(t5._importer, new A.VariableExpression(t8, t6, t7)).toString$0(0);
23441 toZone = $.printToZone;
23442 if (toZone == null)
23443 A.printString(line0);
23444 else
23445 toZone.call$1(line0);
23446 } else {
23447 t5 = evaluator;
23448 t6 = logger;
23449 t7 = A.SpanScanner$(line, null);
23450 if (t6 == null)
23451 t6 = B.StderrLogger_false;
23452 t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6);
23453 t6 = t6._parseSingleProduction$1$1(t6.get$expression(), t1);
23454 line0 = t5._visitor.runExpression$2(t5._importer, t6).toString$0(0);
23455 toZone = $.printToZone;
23456 if (toZone == null)
23457 A.printString(line0);
23458 else
23459 toZone.call$1(line0);
23460 }
23461 } catch (exception) {
23462 t5 = A.unwrapException(exception);
23463 if (t5 instanceof A.SassException) {
23464 error = t5;
23465 stackTrace = A.getTraceFromException(exception);
23466 t5 = error;
23467 t6 = typeof t5 == "string";
23468 if (t6 || typeof t5 == "number" || A._isBool(t5))
23469 t5 = null;
23470 else {
23471 t7 = $.$get$_traces();
23472 t6 = A._isBool(t5) || typeof t5 == "number" || t6;
23473 if (t6)
23474 A.throwExpression(A.ArgumentError$value(t5, string$.Expand, null));
23475 t5 = t7._jsWeakMap.get(t5);
23476 }
23477 if (t5 == null)
23478 t5 = stackTrace;
23479 A._logError(error, t5, line, repl, options, logger);
23480 } else
23481 throw exception;
23482 }
23483 // goto for condition
23484 $async$goto = 5;
23485 break;
23486 case 6:
23487 // after for
23488 $async$next.push(4);
23489 // goto finally
23490 $async$goto = 3;
23491 break;
23492 case 2:
23493 // uncaught
23494 $async$next = [1];
23495 case 3:
23496 // finally
23497 $async$handler = 1;
23498 $async$goto = 8;
23499 return A._asyncAwait(t2.cancel$0(), $async$repl);
23500 case 8:
23501 // returning from await.
23502 // goto the next finally handler
23503 $async$goto = $async$next.pop();
23504 break;
23505 case 4:
23506 // after finally
23507 // implicit return
23508 return A._asyncReturn(null, $async$completer);
23509 case 1:
23510 // rethrow
23511 return A._asyncRethrow($async$currentError, $async$completer);
23512 }
23513 });
23514 return A._asyncStartSync($async$repl, $async$completer);
23515 },
23516 _logError(error, stackTrace, line, repl, options, logger) {
23517 var t1, t2, spacesBeforeError;
23518 if (A.SourceSpanException.prototype.get$span.call(error, error).file.url == null)
23519 if (!A._asBool(options._options.$index(0, "quiet")))
23520 t1 = logger._emittedDebug || logger._emittedWarning;
23521 else
23522 t1 = false;
23523 else
23524 t1 = true;
23525 if (t1) {
23526 A.print(error.toString$1$color(0, options.get$color()));
23527 return;
23528 }
23529 t1 = options.get$color() ? "" + "\x1b[31m" : "";
23530 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23531 t2 = A.FileLocation$_(t2.file, t2._file$_start);
23532 spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
23533 if (options.get$color()) {
23534 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23535 t2 = A.FileLocation$_(t2.file, t2._file$_start);
23536 t2 = t2.file.getColumn$1(t2.offset) < line.length;
23537 } else
23538 t2 = false;
23539 if (t2) {
23540 t1 += "\x1b[1F\x1b[" + spacesBeforeError + "C";
23541 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23542 t2 = t1 + (A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null) + "\n");
23543 t1 = t2;
23544 }
23545 t1 += B.JSString_methods.$mul(" ", spacesBeforeError);
23546 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23547 t2 = t1 + (B.JSString_methods.$mul("^", Math.max(1, t2._end - t2._file$_start)) + "\n");
23548 t1 = options.get$color() ? t2 + "\x1b[0m" : t2;
23549 t1 += "Error: " + error._span_exception$_message + "\n";
23550 if (A._asBool(options._options.$index(0, "trace")))
23551 t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
23552 A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
23553 },
23554 isWhitespace(character) {
23555 return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
23556 },
23557 isNewline(character) {
23558 return character === 10 || character === 13 || character === 12;
23559 },
23560 isAlphabetic0(character) {
23561 var t1;
23562 if (!(character >= 97 && character <= 122))
23563 t1 = character >= 65 && character <= 90;
23564 else
23565 t1 = true;
23566 return t1;
23567 },
23568 isDigit(character) {
23569 return character != null && character >= 48 && character <= 57;
23570 },
23571 isHex(character) {
23572 if (character == null)
23573 return false;
23574 if (A.isDigit(character))
23575 return true;
23576 if (character >= 97 && character <= 102)
23577 return true;
23578 if (character >= 65 && character <= 70)
23579 return true;
23580 return false;
23581 },
23582 asHex(character) {
23583 if (character <= 57)
23584 return character - 48;
23585 if (character <= 70)
23586 return 10 + character - 65;
23587 return 10 + character - 97;
23588 },
23589 hexCharFor(number) {
23590 return number < 10 ? 48 + number : 87 + number;
23591 },
23592 opposite(character) {
23593 switch (character) {
23594 case 40:
23595 return 41;
23596 case 123:
23597 return 125;
23598 case 91:
23599 return 93;
23600 default:
23601 throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
23602 }
23603 },
23604 characterEqualsIgnoreCase(character1, character2) {
23605 var upperCase1;
23606 if (character1 === character2)
23607 return true;
23608 if ((character1 ^ character2) >>> 0 !== 32)
23609 return false;
23610 upperCase1 = (character1 & 4294967263) >>> 0;
23611 return upperCase1 >= 65 && upperCase1 <= 90;
23612 },
23613 NullableExtension_andThen(_this, fn) {
23614 return _this == null ? null : fn.call$1(_this);
23615 },
23616 SetExtension_removeNull(_this, $T) {
23617 _this.remove$1(0, null);
23618 return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
23619 },
23620 fuzzyHashCode(number) {
23621 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()));
23622 },
23623 fuzzyLessThan(number1, number2) {
23624 return number1 < number2 && !(Math.abs(number1 - number2) < $.$get$epsilon());
23625 },
23626 fuzzyLessThanOrEquals(number1, number2) {
23627 return number1 < number2 || Math.abs(number1 - number2) < $.$get$epsilon();
23628 },
23629 fuzzyGreaterThan(number1, number2) {
23630 return number1 > number2 && !(Math.abs(number1 - number2) < $.$get$epsilon());
23631 },
23632 fuzzyGreaterThanOrEquals(number1, number2) {
23633 return number1 > number2 || Math.abs(number1 - number2) < $.$get$epsilon();
23634 },
23635 fuzzyIsInt(number) {
23636 if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
23637 return false;
23638 if (A._isInt(number))
23639 return true;
23640 return Math.abs(B.JSNumber_methods.$mod(Math.abs(number - 0.5), 1) - 0.5) < $.$get$epsilon();
23641 },
23642 fuzzyRound(number) {
23643 var t1;
23644 if (number > 0) {
23645 t1 = B.JSNumber_methods.$mod(number, 1);
23646 return t1 < 0.5 && !(Math.abs(t1 - 0.5) < $.$get$epsilon()) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23647 } else {
23648 t1 = B.JSNumber_methods.$mod(number, 1);
23649 return t1 < 0.5 || Math.abs(t1 - 0.5) < $.$get$epsilon() ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23650 }
23651 },
23652 fuzzyCheckRange(number, min, max) {
23653 var t1 = $.$get$epsilon();
23654 if (Math.abs(number - min) < t1)
23655 return min;
23656 if (Math.abs(number - max) < t1)
23657 return max;
23658 if (number > min && number < max)
23659 return number;
23660 return null;
23661 },
23662 fuzzyAssertRange(number, min, max, $name) {
23663 var result = A.fuzzyCheckRange(number, min, max);
23664 if (result != null)
23665 return result;
23666 throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
23667 },
23668 SpanExtensions_trimLeft(_this) {
23669 var t5,
23670 t1 = _this._file$_start,
23671 t2 = _this._end,
23672 t3 = _this.file._decodedChars,
23673 t4 = t3.length,
23674 start = 0;
23675 while (true) {
23676 t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
23677 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23678 break;
23679 ++start;
23680 }
23681 return A.FileSpanExtension_subspan(_this, start, null);
23682 },
23683 SpanExtensions_trimRight(_this) {
23684 var t5,
23685 t1 = _this._file$_start,
23686 t2 = _this._end,
23687 t3 = _this.file._decodedChars,
23688 end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
23689 t4 = t3.length;
23690 while (true) {
23691 t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
23692 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23693 break;
23694 --end;
23695 }
23696 return A.FileSpanExtension_subspan(_this, 0, end + 1);
23697 },
23698 encodeVlq(value) {
23699 var res, signBit, digit, t1;
23700 if (value < $.$get$MIN_INT32() || value > $.$get$MAX_INT32())
23701 throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
23702 res = A._setArrayType([], type$.JSArray_String);
23703 if (value < 0) {
23704 value = -value;
23705 signBit = 1;
23706 } else
23707 signBit = 0;
23708 value = value << 1 | signBit;
23709 do {
23710 digit = value & 31;
23711 value = value >>> 5;
23712 t1 = value > 0;
23713 res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
23714 } while (t1);
23715 return res;
23716 },
23717 isAllTheSame(iter) {
23718 var firstValue, t1, t2;
23719 if (iter.get$length(iter) === 0)
23720 return true;
23721 firstValue = iter.get$first(iter);
23722 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();)
23723 if (!J.$eq$(t2._as(t1.__internal$_current), firstValue))
23724 return false;
23725 return true;
23726 },
23727 replaceFirstNull(list, element) {
23728 var index = B.JSArray_methods.indexOf$1(list, null);
23729 if (index < 0)
23730 throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
23731 list[index] = element;
23732 },
23733 replaceWithNull(list, element) {
23734 var index = B.JSArray_methods.indexOf$1(list, element);
23735 if (index < 0)
23736 throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
23737 list[index] = null;
23738 },
23739 countCodeUnits(string, codeUnit) {
23740 var t1, t2, count;
23741 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();)
23742 if (t2._as(t1.__internal$_current) === codeUnit)
23743 ++count;
23744 return count;
23745 },
23746 findLineStart(context, text, column) {
23747 var beginningOfLine, index, lineStart;
23748 if (text.length === 0)
23749 for (beginningOfLine = 0; true;) {
23750 index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
23751 if (index === -1)
23752 return context.length - beginningOfLine >= column ? beginningOfLine : null;
23753 if (index - beginningOfLine >= column)
23754 return beginningOfLine;
23755 beginningOfLine = index + 1;
23756 }
23757 index = B.JSString_methods.indexOf$1(context, text);
23758 for (; index !== -1;) {
23759 lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
23760 if (column === index - lineStart)
23761 return lineStart;
23762 index = B.JSString_methods.indexOf$2(context, text, index + 1);
23763 }
23764 return null;
23765 },
23766 validateErrorArgs(string, match, position, $length) {
23767 var t2,
23768 t1 = position != null;
23769 if (t1)
23770 if (position < 0)
23771 throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
23772 else if (position > string.length)
23773 throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
23774 t2 = $length != null;
23775 if (t2 && $length < 0)
23776 throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
23777 if (t1 && t2 && position + $length > string.length)
23778 throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
23779 },
23780 isWhitespace0(character) {
23781 return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
23782 },
23783 isNewline0(character) {
23784 return character === 10 || character === 13 || character === 12;
23785 },
23786 isAlphabetic1(character) {
23787 var t1;
23788 if (!(character >= 97 && character <= 122))
23789 t1 = character >= 65 && character <= 90;
23790 else
23791 t1 = true;
23792 return t1;
23793 },
23794 isDigit0(character) {
23795 return character != null && character >= 48 && character <= 57;
23796 },
23797 isHex0(character) {
23798 if (character == null)
23799 return false;
23800 if (A.isDigit0(character))
23801 return true;
23802 if (character >= 97 && character <= 102)
23803 return true;
23804 if (character >= 65 && character <= 70)
23805 return true;
23806 return false;
23807 },
23808 asHex0(character) {
23809 if (character <= 57)
23810 return character - 48;
23811 if (character <= 70)
23812 return 10 + character - 65;
23813 return 10 + character - 97;
23814 },
23815 hexCharFor0(number) {
23816 return number < 10 ? 48 + number : 87 + number;
23817 },
23818 opposite0(character) {
23819 switch (character) {
23820 case 40:
23821 return 41;
23822 case 123:
23823 return 125;
23824 case 91:
23825 return 93;
23826 default:
23827 throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
23828 }
23829 },
23830 characterEqualsIgnoreCase0(character1, character2) {
23831 var upperCase1;
23832 if (character1 === character2)
23833 return true;
23834 if ((character1 ^ character2) >>> 0 !== 32)
23835 return false;
23836 upperCase1 = (character1 & 4294967263) >>> 0;
23837 return upperCase1 >= 65 && upperCase1 <= 90;
23838 },
23839 EvaluationContext_current0() {
23840 var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
23841 if (type$.EvaluationContext_2._is(context))
23842 return context;
23843 throw A.wrapException(A.StateError$(string$.No_Sass));
23844 },
23845 NullableExtension_andThen0(_this, fn) {
23846 return _this == null ? null : fn.call$1(_this);
23847 },
23848 fuzzyHashCode0(number) {
23849 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()));
23850 },
23851 fuzzyLessThan0(number1, number2) {
23852 return number1 < number2 && !(Math.abs(number1 - number2) < $.$get$epsilon0());
23853 },
23854 fuzzyLessThanOrEquals0(number1, number2) {
23855 return number1 < number2 || Math.abs(number1 - number2) < $.$get$epsilon0();
23856 },
23857 fuzzyGreaterThan0(number1, number2) {
23858 return number1 > number2 && !(Math.abs(number1 - number2) < $.$get$epsilon0());
23859 },
23860 fuzzyGreaterThanOrEquals0(number1, number2) {
23861 return number1 > number2 || Math.abs(number1 - number2) < $.$get$epsilon0();
23862 },
23863 fuzzyIsInt0(number) {
23864 if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
23865 return false;
23866 if (A._isInt(number))
23867 return true;
23868 return Math.abs(B.JSNumber_methods.$mod(Math.abs(number - 0.5), 1) - 0.5) < $.$get$epsilon0();
23869 },
23870 fuzzyRound0(number) {
23871 var t1;
23872 if (number > 0) {
23873 t1 = B.JSNumber_methods.$mod(number, 1);
23874 return t1 < 0.5 && !(Math.abs(t1 - 0.5) < $.$get$epsilon0()) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23875 } else {
23876 t1 = B.JSNumber_methods.$mod(number, 1);
23877 return t1 < 0.5 || Math.abs(t1 - 0.5) < $.$get$epsilon0() ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23878 }
23879 },
23880 fuzzyCheckRange0(number, min, max) {
23881 var t1 = $.$get$epsilon0();
23882 if (Math.abs(number - min) < t1)
23883 return min;
23884 if (Math.abs(number - max) < t1)
23885 return max;
23886 if (number > min && number < max)
23887 return number;
23888 return null;
23889 },
23890 fuzzyAssertRange0(number, min, max, $name) {
23891 var result = A.fuzzyCheckRange0(number, min, max);
23892 if (result != null)
23893 return result;
23894 throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
23895 },
23896 SpanExtensions_trimLeft0(_this) {
23897 var t5,
23898 t1 = _this._file$_start,
23899 t2 = _this._end,
23900 t3 = _this.file._decodedChars,
23901 t4 = t3.length,
23902 start = 0;
23903 while (true) {
23904 t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
23905 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23906 break;
23907 ++start;
23908 }
23909 return A.FileSpanExtension_subspan(_this, start, null);
23910 },
23911 SpanExtensions_trimRight0(_this) {
23912 var t5,
23913 t1 = _this._file$_start,
23914 t2 = _this._end,
23915 t3 = _this.file._decodedChars,
23916 end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
23917 t4 = t3.length;
23918 while (true) {
23919 t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
23920 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23921 break;
23922 --end;
23923 }
23924 return A.FileSpanExtension_subspan(_this, 0, end + 1);
23925 },
23926 unwrapValue(object) {
23927 var value;
23928 if (object != null) {
23929 if (object instanceof A.Value0)
23930 return object;
23931 value = object.dartValue;
23932 if (value != null && value instanceof A.Value0)
23933 return value;
23934 if (object instanceof self.Error)
23935 throw A.wrapException(object);
23936 }
23937 throw A.wrapException(A.S(object) + " must be a Sass value type.");
23938 },
23939 wrapValue(value) {
23940 if (value instanceof A.SassColor0)
23941 return A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
23942 if (value instanceof A.SassList0)
23943 return A.callConstructor($.$get$legacyListClass(), [null, null, value]);
23944 if (value instanceof A.SassMap0)
23945 return A.callConstructor($.$get$legacyMapClass(), [null, value]);
23946 if (value instanceof A.SassNumber0)
23947 return A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
23948 if (value instanceof A.SassString0)
23949 return A.callConstructor($.$get$legacyStringClass(), [null, value]);
23950 return value;
23951 }
23952 },
23953 J = {
23954 makeDispatchRecord(interceptor, proto, extension, indexability) {
23955 return {i: interceptor, p: proto, e: extension, x: indexability};
23956 },
23957 getNativeInterceptor(object) {
23958 var proto, objectProto, $constructor, interceptor, t1,
23959 record = object[init.dispatchPropertyName];
23960 if (record == null)
23961 if ($.initNativeDispatchFlag == null) {
23962 A.initNativeDispatch();
23963 record = object[init.dispatchPropertyName];
23964 }
23965 if (record != null) {
23966 proto = record.p;
23967 if (false === proto)
23968 return record.i;
23969 if (true === proto)
23970 return object;
23971 objectProto = Object.getPrototypeOf(object);
23972 if (proto === objectProto)
23973 return record.i;
23974 if (record.e === objectProto)
23975 throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
23976 }
23977 $constructor = object.constructor;
23978 if ($constructor == null)
23979 interceptor = null;
23980 else {
23981 t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
23982 if (t1 == null)
23983 t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
23984 interceptor = $constructor[t1];
23985 }
23986 if (interceptor != null)
23987 return interceptor;
23988 interceptor = A.lookupAndCacheInterceptor(object);
23989 if (interceptor != null)
23990 return interceptor;
23991 if (typeof object == "function")
23992 return B.JavaScriptFunction_methods;
23993 proto = Object.getPrototypeOf(object);
23994 if (proto == null)
23995 return B.PlainJavaScriptObject_methods;
23996 if (proto === Object.prototype)
23997 return B.PlainJavaScriptObject_methods;
23998 if (typeof $constructor == "function") {
23999 t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
24000 if (t1 == null)
24001 t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
24002 Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
24003 return B.UnknownJavaScriptObject_methods;
24004 }
24005 return B.UnknownJavaScriptObject_methods;
24006 },
24007 JSArray_JSArray$fixed($length, $E) {
24008 if ($length < 0 || $length > 4294967295)
24009 throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
24010 return J.JSArray_JSArray$markFixed(new Array($length), $E);
24011 },
24012 JSArray_JSArray$allocateFixed($length, $E) {
24013 if ($length > 4294967295)
24014 throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
24015 return J.JSArray_JSArray$markFixed(new Array($length), $E);
24016 },
24017 JSArray_JSArray$growable($length, $E) {
24018 if ($length < 0)
24019 throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
24020 return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
24021 },
24022 JSArray_JSArray$allocateGrowable($length, $E) {
24023 if ($length < 0)
24024 throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
24025 return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
24026 },
24027 JSArray_JSArray$markFixed(allocation, $E) {
24028 return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")));
24029 },
24030 JSArray_markFixedList(list) {
24031 list.fixed$length = Array;
24032 return list;
24033 },
24034 JSArray_markUnmodifiableList(list) {
24035 list.fixed$length = Array;
24036 list.immutable$list = Array;
24037 return list;
24038 },
24039 JSArray__compareAny(a, b) {
24040 return J.compareTo$1$ns(a, b);
24041 },
24042 JSString__isWhitespace(codeUnit) {
24043 if (codeUnit < 256)
24044 switch (codeUnit) {
24045 case 9:
24046 case 10:
24047 case 11:
24048 case 12:
24049 case 13:
24050 case 32:
24051 case 133:
24052 case 160:
24053 return true;
24054 default:
24055 return false;
24056 }
24057 switch (codeUnit) {
24058 case 5760:
24059 case 8192:
24060 case 8193:
24061 case 8194:
24062 case 8195:
24063 case 8196:
24064 case 8197:
24065 case 8198:
24066 case 8199:
24067 case 8200:
24068 case 8201:
24069 case 8202:
24070 case 8232:
24071 case 8233:
24072 case 8239:
24073 case 8287:
24074 case 12288:
24075 case 65279:
24076 return true;
24077 default:
24078 return false;
24079 }
24080 },
24081 JSString__skipLeadingWhitespace(string, index) {
24082 var t1, codeUnit;
24083 for (t1 = string.length; index < t1;) {
24084 codeUnit = B.JSString_methods._codeUnitAt$1(string, index);
24085 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
24086 break;
24087 ++index;
24088 }
24089 return index;
24090 },
24091 JSString__skipTrailingWhitespace(string, index) {
24092 var index0, codeUnit;
24093 for (; index > 0; index = index0) {
24094 index0 = index - 1;
24095 codeUnit = B.JSString_methods.codeUnitAt$1(string, index0);
24096 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
24097 break;
24098 }
24099 return index;
24100 },
24101 getInterceptor$(receiver) {
24102 if (typeof receiver == "number") {
24103 if (Math.floor(receiver) == receiver)
24104 return J.JSInt.prototype;
24105 return J.JSNumNotInt.prototype;
24106 }
24107 if (typeof receiver == "string")
24108 return J.JSString.prototype;
24109 if (receiver == null)
24110 return J.JSNull.prototype;
24111 if (typeof receiver == "boolean")
24112 return J.JSBool.prototype;
24113 if (receiver.constructor == Array)
24114 return J.JSArray.prototype;
24115 if (typeof receiver != "object") {
24116 if (typeof receiver == "function")
24117 return J.JavaScriptFunction.prototype;
24118 return receiver;
24119 }
24120 if (receiver instanceof A.Object)
24121 return receiver;
24122 return J.getNativeInterceptor(receiver);
24123 },
24124 getInterceptor$ansx(receiver) {
24125 if (typeof receiver == "number")
24126 return J.JSNumber.prototype;
24127 if (typeof receiver == "string")
24128 return J.JSString.prototype;
24129 if (receiver == null)
24130 return receiver;
24131 if (receiver.constructor == Array)
24132 return J.JSArray.prototype;
24133 if (typeof receiver != "object") {
24134 if (typeof receiver == "function")
24135 return J.JavaScriptFunction.prototype;
24136 return receiver;
24137 }
24138 if (receiver instanceof A.Object)
24139 return receiver;
24140 return J.getNativeInterceptor(receiver);
24141 },
24142 getInterceptor$asx(receiver) {
24143 if (typeof receiver == "string")
24144 return J.JSString.prototype;
24145 if (receiver == null)
24146 return receiver;
24147 if (receiver.constructor == Array)
24148 return J.JSArray.prototype;
24149 if (typeof receiver != "object") {
24150 if (typeof receiver == "function")
24151 return J.JavaScriptFunction.prototype;
24152 return receiver;
24153 }
24154 if (receiver instanceof A.Object)
24155 return receiver;
24156 return J.getNativeInterceptor(receiver);
24157 },
24158 getInterceptor$ax(receiver) {
24159 if (receiver == null)
24160 return receiver;
24161 if (receiver.constructor == Array)
24162 return J.JSArray.prototype;
24163 if (typeof receiver != "object") {
24164 if (typeof receiver == "function")
24165 return J.JavaScriptFunction.prototype;
24166 return receiver;
24167 }
24168 if (receiver instanceof A.Object)
24169 return receiver;
24170 return J.getNativeInterceptor(receiver);
24171 },
24172 getInterceptor$n(receiver) {
24173 if (typeof receiver == "number")
24174 return J.JSNumber.prototype;
24175 if (receiver == null)
24176 return receiver;
24177 if (!(receiver instanceof A.Object))
24178 return J.UnknownJavaScriptObject.prototype;
24179 return receiver;
24180 },
24181 getInterceptor$ns(receiver) {
24182 if (typeof receiver == "number")
24183 return J.JSNumber.prototype;
24184 if (typeof receiver == "string")
24185 return J.JSString.prototype;
24186 if (receiver == null)
24187 return receiver;
24188 if (!(receiver instanceof A.Object))
24189 return J.UnknownJavaScriptObject.prototype;
24190 return receiver;
24191 },
24192 getInterceptor$s(receiver) {
24193 if (typeof receiver == "string")
24194 return J.JSString.prototype;
24195 if (receiver == null)
24196 return receiver;
24197 if (!(receiver instanceof A.Object))
24198 return J.UnknownJavaScriptObject.prototype;
24199 return receiver;
24200 },
24201 getInterceptor$u(receiver) {
24202 if (receiver == null)
24203 return J.JSNull.prototype;
24204 if (!(receiver instanceof A.Object))
24205 return J.UnknownJavaScriptObject.prototype;
24206 return receiver;
24207 },
24208 getInterceptor$x(receiver) {
24209 if (receiver == null)
24210 return receiver;
24211 if (typeof receiver != "object") {
24212 if (typeof receiver == "function")
24213 return J.JavaScriptFunction.prototype;
24214 return receiver;
24215 }
24216 if (receiver instanceof A.Object)
24217 return receiver;
24218 return J.getNativeInterceptor(receiver);
24219 },
24220 getInterceptor$z(receiver) {
24221 if (receiver == null)
24222 return receiver;
24223 if (!(receiver instanceof A.Object))
24224 return J.UnknownJavaScriptObject.prototype;
24225 return receiver;
24226 },
24227 set$Exception$x(receiver, value) {
24228 return J.getInterceptor$x(receiver).set$Exception(receiver, value);
24229 },
24230 set$FALSE$x(receiver, value) {
24231 return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
24232 },
24233 set$Logger$x(receiver, value) {
24234 return J.getInterceptor$x(receiver).set$Logger(receiver, value);
24235 },
24236 set$NULL$x(receiver, value) {
24237 return J.getInterceptor$x(receiver).set$NULL(receiver, value);
24238 },
24239 set$SassArgumentList$x(receiver, value) {
24240 return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
24241 },
24242 set$SassBoolean$x(receiver, value) {
24243 return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
24244 },
24245 set$SassColor$x(receiver, value) {
24246 return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
24247 },
24248 set$SassFunction$x(receiver, value) {
24249 return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
24250 },
24251 set$SassList$x(receiver, value) {
24252 return J.getInterceptor$x(receiver).set$SassList(receiver, value);
24253 },
24254 set$SassMap$x(receiver, value) {
24255 return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
24256 },
24257 set$SassNumber$x(receiver, value) {
24258 return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
24259 },
24260 set$SassString$x(receiver, value) {
24261 return J.getInterceptor$x(receiver).set$SassString(receiver, value);
24262 },
24263 set$TRUE$x(receiver, value) {
24264 return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
24265 },
24266 set$Value$x(receiver, value) {
24267 return J.getInterceptor$x(receiver).set$Value(receiver, value);
24268 },
24269 set$cli_pkg_main_0_$x(receiver, value) {
24270 return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
24271 },
24272 set$compile$x(receiver, value) {
24273 return J.getInterceptor$x(receiver).set$compile(receiver, value);
24274 },
24275 set$compileAsync$x(receiver, value) {
24276 return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
24277 },
24278 set$compileString$x(receiver, value) {
24279 return J.getInterceptor$x(receiver).set$compileString(receiver, value);
24280 },
24281 set$compileStringAsync$x(receiver, value) {
24282 return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
24283 },
24284 set$context$x(receiver, value) {
24285 return J.getInterceptor$x(receiver).set$context(receiver, value);
24286 },
24287 set$dartValue$x(receiver, value) {
24288 return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
24289 },
24290 set$exitCode$x(receiver, value) {
24291 return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
24292 },
24293 set$info$x(receiver, value) {
24294 return J.getInterceptor$x(receiver).set$info(receiver, value);
24295 },
24296 set$length$asx(receiver, value) {
24297 return J.getInterceptor$asx(receiver).set$length(receiver, value);
24298 },
24299 set$render$x(receiver, value) {
24300 return J.getInterceptor$x(receiver).set$render(receiver, value);
24301 },
24302 set$renderSync$x(receiver, value) {
24303 return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
24304 },
24305 set$sassFalse$x(receiver, value) {
24306 return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
24307 },
24308 set$sassNull$x(receiver, value) {
24309 return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
24310 },
24311 set$sassTrue$x(receiver, value) {
24312 return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
24313 },
24314 set$types$x(receiver, value) {
24315 return J.getInterceptor$x(receiver).set$types(receiver, value);
24316 },
24317 get$$prototype$x(receiver) {
24318 return J.getInterceptor$x(receiver).get$$prototype(receiver);
24319 },
24320 get$_dartException$x(receiver) {
24321 return J.getInterceptor$x(receiver).get$_dartException(receiver);
24322 },
24323 get$alertAscii$x(receiver) {
24324 return J.getInterceptor$x(receiver).get$alertAscii(receiver);
24325 },
24326 get$alertColor$x(receiver) {
24327 return J.getInterceptor$x(receiver).get$alertColor(receiver);
24328 },
24329 get$blue$x(receiver) {
24330 return J.getInterceptor$x(receiver).get$blue(receiver);
24331 },
24332 get$brackets$x(receiver) {
24333 return J.getInterceptor$x(receiver).get$brackets(receiver);
24334 },
24335 get$code$x(receiver) {
24336 return J.getInterceptor$x(receiver).get$code(receiver);
24337 },
24338 get$current$x(receiver) {
24339 return J.getInterceptor$x(receiver).get$current(receiver);
24340 },
24341 get$dartValue$x(receiver) {
24342 return J.getInterceptor$x(receiver).get$dartValue(receiver);
24343 },
24344 get$debug$x(receiver) {
24345 return J.getInterceptor$x(receiver).get$debug(receiver);
24346 },
24347 get$denominatorUnits$x(receiver) {
24348 return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
24349 },
24350 get$end$z(receiver) {
24351 return J.getInterceptor$z(receiver).get$end(receiver);
24352 },
24353 get$env$x(receiver) {
24354 return J.getInterceptor$x(receiver).get$env(receiver);
24355 },
24356 get$exitCode$x(receiver) {
24357 return J.getInterceptor$x(receiver).get$exitCode(receiver);
24358 },
24359 get$fiber$x(receiver) {
24360 return J.getInterceptor$x(receiver).get$fiber(receiver);
24361 },
24362 get$file$x(receiver) {
24363 return J.getInterceptor$x(receiver).get$file(receiver);
24364 },
24365 get$first$ax(receiver) {
24366 return J.getInterceptor$ax(receiver).get$first(receiver);
24367 },
24368 get$functions$x(receiver) {
24369 return J.getInterceptor$x(receiver).get$functions(receiver);
24370 },
24371 get$green$x(receiver) {
24372 return J.getInterceptor$x(receiver).get$green(receiver);
24373 },
24374 get$hashCode$(receiver) {
24375 return J.getInterceptor$(receiver).get$hashCode(receiver);
24376 },
24377 get$importer$x(receiver) {
24378 return J.getInterceptor$x(receiver).get$importer(receiver);
24379 },
24380 get$importers$x(receiver) {
24381 return J.getInterceptor$x(receiver).get$importers(receiver);
24382 },
24383 get$isEmpty$asx(receiver) {
24384 return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
24385 },
24386 get$isNotEmpty$asx(receiver) {
24387 return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
24388 },
24389 get$isTTY$x(receiver) {
24390 return J.getInterceptor$x(receiver).get$isTTY(receiver);
24391 },
24392 get$iterator$ax(receiver) {
24393 return J.getInterceptor$ax(receiver).get$iterator(receiver);
24394 },
24395 get$keys$z(receiver) {
24396 return J.getInterceptor$z(receiver).get$keys(receiver);
24397 },
24398 get$last$ax(receiver) {
24399 return J.getInterceptor$ax(receiver).get$last(receiver);
24400 },
24401 get$length$asx(receiver) {
24402 return J.getInterceptor$asx(receiver).get$length(receiver);
24403 },
24404 get$loadPaths$x(receiver) {
24405 return J.getInterceptor$x(receiver).get$loadPaths(receiver);
24406 },
24407 get$logger$x(receiver) {
24408 return J.getInterceptor$x(receiver).get$logger(receiver);
24409 },
24410 get$message$x(receiver) {
24411 return J.getInterceptor$x(receiver).get$message(receiver);
24412 },
24413 get$mtime$x(receiver) {
24414 return J.getInterceptor$x(receiver).get$mtime(receiver);
24415 },
24416 get$name$x(receiver) {
24417 return J.getInterceptor$x(receiver).get$name(receiver);
24418 },
24419 get$numeratorUnits$x(receiver) {
24420 return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
24421 },
24422 get$options$x(receiver) {
24423 return J.getInterceptor$x(receiver).get$options(receiver);
24424 },
24425 get$parent$z(receiver) {
24426 return J.getInterceptor$z(receiver).get$parent(receiver);
24427 },
24428 get$path$x(receiver) {
24429 return J.getInterceptor$x(receiver).get$path(receiver);
24430 },
24431 get$platform$x(receiver) {
24432 return J.getInterceptor$x(receiver).get$platform(receiver);
24433 },
24434 get$quietDeps$x(receiver) {
24435 return J.getInterceptor$x(receiver).get$quietDeps(receiver);
24436 },
24437 get$quotes$x(receiver) {
24438 return J.getInterceptor$x(receiver).get$quotes(receiver);
24439 },
24440 get$red$x(receiver) {
24441 return J.getInterceptor$x(receiver).get$red(receiver);
24442 },
24443 get$reversed$ax(receiver) {
24444 return J.getInterceptor$ax(receiver).get$reversed(receiver);
24445 },
24446 get$runtimeType$u(receiver) {
24447 return J.getInterceptor$u(receiver).get$runtimeType(receiver);
24448 },
24449 get$separator$x(receiver) {
24450 return J.getInterceptor$x(receiver).get$separator(receiver);
24451 },
24452 get$single$ax(receiver) {
24453 return J.getInterceptor$ax(receiver).get$single(receiver);
24454 },
24455 get$sourceMap$x(receiver) {
24456 return J.getInterceptor$x(receiver).get$sourceMap(receiver);
24457 },
24458 get$sourceMapIncludeSources$x(receiver) {
24459 return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
24460 },
24461 get$span$z(receiver) {
24462 return J.getInterceptor$z(receiver).get$span(receiver);
24463 },
24464 get$stderr$x(receiver) {
24465 return J.getInterceptor$x(receiver).get$stderr(receiver);
24466 },
24467 get$stdin$x(receiver) {
24468 return J.getInterceptor$x(receiver).get$stdin(receiver);
24469 },
24470 get$style$x(receiver) {
24471 return J.getInterceptor$x(receiver).get$style(receiver);
24472 },
24473 get$syntax$x(receiver) {
24474 return J.getInterceptor$x(receiver).get$syntax(receiver);
24475 },
24476 get$trace$z(receiver) {
24477 return J.getInterceptor$z(receiver).get$trace(receiver);
24478 },
24479 get$url$x(receiver) {
24480 return J.getInterceptor$x(receiver).get$url(receiver);
24481 },
24482 get$values$z(receiver) {
24483 return J.getInterceptor$z(receiver).get$values(receiver);
24484 },
24485 get$verbose$x(receiver) {
24486 return J.getInterceptor$x(receiver).get$verbose(receiver);
24487 },
24488 get$warn$x(receiver) {
24489 return J.getInterceptor$x(receiver).get$warn(receiver);
24490 },
24491 $add$ansx(receiver, a0) {
24492 if (typeof receiver == "number" && typeof a0 == "number")
24493 return receiver + a0;
24494 return J.getInterceptor$ansx(receiver).$add(receiver, a0);
24495 },
24496 $eq$(receiver, a0) {
24497 if (receiver == null)
24498 return a0 == null;
24499 if (typeof receiver != "object")
24500 return a0 != null && receiver === a0;
24501 return J.getInterceptor$(receiver).$eq(receiver, a0);
24502 },
24503 $index$asx(receiver, a0) {
24504 if (typeof a0 === "number")
24505 if (receiver.constructor == Array || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
24506 if (a0 >>> 0 === a0 && a0 < receiver.length)
24507 return receiver[a0];
24508 return J.getInterceptor$asx(receiver).$index(receiver, a0);
24509 },
24510 $indexSet$ax(receiver, a0, a1) {
24511 if (typeof a0 === "number")
24512 if ((receiver.constructor == Array || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
24513 return receiver[a0] = a1;
24514 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
24515 },
24516 $set$2$x(receiver, a0, a1) {
24517 return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
24518 },
24519 add$1$ax(receiver, a0) {
24520 return J.getInterceptor$ax(receiver).add$1(receiver, a0);
24521 },
24522 addAll$1$ax(receiver, a0) {
24523 return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
24524 },
24525 allMatches$1$s(receiver, a0) {
24526 return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
24527 },
24528 allMatches$2$s(receiver, a0, a1) {
24529 return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
24530 },
24531 any$1$ax(receiver, a0) {
24532 return J.getInterceptor$ax(receiver).any$1(receiver, a0);
24533 },
24534 apply$2$x(receiver, a0, a1) {
24535 return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
24536 },
24537 asImmutable$0$x(receiver) {
24538 return J.getInterceptor$x(receiver).asImmutable$0(receiver);
24539 },
24540 asMutable$0$x(receiver) {
24541 return J.getInterceptor$x(receiver).asMutable$0(receiver);
24542 },
24543 canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
24544 return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
24545 },
24546 cast$1$0$ax(receiver, $T1) {
24547 return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
24548 },
24549 close$0$x(receiver) {
24550 return J.getInterceptor$x(receiver).close$0(receiver);
24551 },
24552 codeUnitAt$1$s(receiver, a0) {
24553 return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
24554 },
24555 compareTo$1$ns(receiver, a0) {
24556 return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
24557 },
24558 contains$1$asx(receiver, a0) {
24559 return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
24560 },
24561 createInterface$1$x(receiver, a0) {
24562 return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
24563 },
24564 elementAt$1$ax(receiver, a0) {
24565 return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
24566 },
24567 endsWith$1$s(receiver, a0) {
24568 return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
24569 },
24570 every$1$ax(receiver, a0) {
24571 return J.getInterceptor$ax(receiver).every$1(receiver, a0);
24572 },
24573 existsSync$1$x(receiver, a0) {
24574 return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
24575 },
24576 expand$1$1$ax(receiver, a0, $T1) {
24577 return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
24578 },
24579 fillRange$3$ax(receiver, a0, a1, a2) {
24580 return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
24581 },
24582 fold$2$ax(receiver, a0, a1) {
24583 return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
24584 },
24585 forEach$1$x(receiver, a0) {
24586 return J.getInterceptor$x(receiver).forEach$1(receiver, a0);
24587 },
24588 getRange$2$ax(receiver, a0, a1) {
24589 return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
24590 },
24591 getTime$0$x(receiver) {
24592 return J.getInterceptor$x(receiver).getTime$0(receiver);
24593 },
24594 isDirectory$0$x(receiver) {
24595 return J.getInterceptor$x(receiver).isDirectory$0(receiver);
24596 },
24597 isFile$0$x(receiver) {
24598 return J.getInterceptor$x(receiver).isFile$0(receiver);
24599 },
24600 join$0$ax(receiver) {
24601 return J.getInterceptor$ax(receiver).join$0(receiver);
24602 },
24603 join$1$ax(receiver, a0) {
24604 return J.getInterceptor$ax(receiver).join$1(receiver, a0);
24605 },
24606 listen$1$z(receiver, a0) {
24607 return J.getInterceptor$z(receiver).listen$1(receiver, a0);
24608 },
24609 map$1$1$ax(receiver, a0, $T1) {
24610 return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
24611 },
24612 matchAsPrefix$2$s(receiver, a0, a1) {
24613 return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
24614 },
24615 mkdirSync$1$x(receiver, a0) {
24616 return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
24617 },
24618 noSuchMethod$1$(receiver, a0) {
24619 return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
24620 },
24621 on$2$x(receiver, a0, a1) {
24622 return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
24623 },
24624 readFileSync$2$x(receiver, a0, a1) {
24625 return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
24626 },
24627 readdirSync$1$x(receiver, a0) {
24628 return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
24629 },
24630 remove$1$z(receiver, a0) {
24631 return J.getInterceptor$z(receiver).remove$1(receiver, a0);
24632 },
24633 run$0$x(receiver) {
24634 return J.getInterceptor$x(receiver).run$0(receiver);
24635 },
24636 run$1$x(receiver, a0) {
24637 return J.getInterceptor$x(receiver).run$1(receiver, a0);
24638 },
24639 setRange$4$ax(receiver, a0, a1, a2, a3) {
24640 return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
24641 },
24642 skip$1$ax(receiver, a0) {
24643 return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
24644 },
24645 sort$1$ax(receiver, a0) {
24646 return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
24647 },
24648 startsWith$1$s(receiver, a0) {
24649 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
24650 },
24651 statSync$1$x(receiver, a0) {
24652 return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
24653 },
24654 substring$1$s(receiver, a0) {
24655 return J.getInterceptor$s(receiver).substring$1(receiver, a0);
24656 },
24657 substring$2$s(receiver, a0, a1) {
24658 return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
24659 },
24660 take$1$ax(receiver, a0) {
24661 return J.getInterceptor$ax(receiver).take$1(receiver, a0);
24662 },
24663 then$1$1$x(receiver, a0, $T1) {
24664 return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
24665 },
24666 then$1$2$onError$x(receiver, a0, a1, $T1) {
24667 return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
24668 },
24669 then$2$x(receiver, a0, a1) {
24670 return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
24671 },
24672 toArray$0$x(receiver) {
24673 return J.getInterceptor$x(receiver).toArray$0(receiver);
24674 },
24675 toList$0$ax(receiver) {
24676 return J.getInterceptor$ax(receiver).toList$0(receiver);
24677 },
24678 toList$1$growable$ax(receiver, a0) {
24679 return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
24680 },
24681 toRadixString$1$n(receiver, a0) {
24682 return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
24683 },
24684 toSet$0$ax(receiver) {
24685 return J.getInterceptor$ax(receiver).toSet$0(receiver);
24686 },
24687 toString$0$(receiver) {
24688 return J.getInterceptor$(receiver).toString$0(receiver);
24689 },
24690 toString$1$color$(receiver, a0) {
24691 return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
24692 },
24693 trim$0$s(receiver) {
24694 return J.getInterceptor$s(receiver).trim$0(receiver);
24695 },
24696 unlinkSync$1$x(receiver, a0) {
24697 return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
24698 },
24699 watch$2$x(receiver, a0, a1) {
24700 return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
24701 },
24702 where$1$ax(receiver, a0) {
24703 return J.getInterceptor$ax(receiver).where$1(receiver, a0);
24704 },
24705 write$1$x(receiver, a0) {
24706 return J.getInterceptor$x(receiver).write$1(receiver, a0);
24707 },
24708 writeFileSync$2$x(receiver, a0, a1) {
24709 return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
24710 },
24711 yield$0$x(receiver) {
24712 return J.getInterceptor$x(receiver).yield$0(receiver);
24713 },
24714 Interceptor: function Interceptor() {
24715 },
24716 JSBool: function JSBool() {
24717 },
24718 JSNull: function JSNull() {
24719 },
24720 JavaScriptObject: function JavaScriptObject() {
24721 },
24722 LegacyJavaScriptObject: function LegacyJavaScriptObject() {
24723 },
24724 PlainJavaScriptObject: function PlainJavaScriptObject() {
24725 },
24726 UnknownJavaScriptObject: function UnknownJavaScriptObject() {
24727 },
24728 JavaScriptFunction: function JavaScriptFunction() {
24729 },
24730 JSArray: function JSArray(t0) {
24731 this.$ti = t0;
24732 },
24733 JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
24734 this.$ti = t0;
24735 },
24736 ArrayIterator: function ArrayIterator(t0, t1) {
24737 var _ = this;
24738 _._iterable = t0;
24739 _._length = t1;
24740 _._index = 0;
24741 _._current = null;
24742 },
24743 JSNumber: function JSNumber() {
24744 },
24745 JSInt: function JSInt() {
24746 },
24747 JSNumNotInt: function JSNumNotInt() {
24748 },
24749 JSString: function JSString() {
24750 }
24751 },
24752 B = {};
24753 var holders = [A, J, B];
24754 hunkHelpers.setFunctionNamesIfNecessary(holders);
24755 var $ = {};
24756 A.JS_CONST.prototype = {};
24757 J.Interceptor.prototype = {
24758 $eq(receiver, other) {
24759 return receiver === other;
24760 },
24761 get$hashCode(receiver) {
24762 return A.Primitives_objectHashCode(receiver);
24763 },
24764 toString$0(receiver) {
24765 return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
24766 },
24767 noSuchMethod$1(receiver, invocation) {
24768 throw A.wrapException(A.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
24769 }
24770 };
24771 J.JSBool.prototype = {
24772 toString$0(receiver) {
24773 return String(receiver);
24774 },
24775 get$hashCode(receiver) {
24776 return receiver ? 519018 : 218159;
24777 },
24778 $isbool: 1
24779 };
24780 J.JSNull.prototype = {
24781 $eq(receiver, other) {
24782 return null == other;
24783 },
24784 toString$0(receiver) {
24785 return "null";
24786 },
24787 get$hashCode(receiver) {
24788 return 0;
24789 },
24790 get$runtimeType(receiver) {
24791 return B.Type_Null_Yyn;
24792 },
24793 $isNull: 1
24794 };
24795 J.JavaScriptObject.prototype = {};
24796 J.LegacyJavaScriptObject.prototype = {
24797 get$hashCode(receiver) {
24798 return 0;
24799 },
24800 toString$0(receiver) {
24801 return String(receiver);
24802 },
24803 $isPromise: 1,
24804 $isJsSystemError: 1,
24805 $is_NodeSassColor: 1,
24806 $is_Channels: 1,
24807 $isCompileOptions: 1,
24808 $isCompileStringOptions: 1,
24809 $isNodeCompileResult: 1,
24810 $is_NodeException: 1,
24811 $isFiber: 1,
24812 $isJSFunction0: 1,
24813 $isImmutableList: 1,
24814 $isImmutableMap: 1,
24815 $isNodeImporter0: 1,
24816 $isNodeImporterResult0: 1,
24817 $isNodeImporterResult1: 1,
24818 $is_NodeSassList: 1,
24819 $is_ConstructorOptions: 1,
24820 $isWarnOptions: 1,
24821 $isDebugOptions: 1,
24822 $is_NodeSassMap: 1,
24823 $is_NodeSassNumber: 1,
24824 $is_ConstructorOptions0: 1,
24825 $isJSClass0: 1,
24826 $isRenderContextOptions0: 1,
24827 $isRenderOptions: 1,
24828 $isRenderResult: 1,
24829 $is_NodeSassString: 1,
24830 $is_ConstructorOptions1: 1,
24831 $isJSUrl0: 1,
24832 get$isTTY(obj) {
24833 return obj.isTTY;
24834 },
24835 get$write(obj) {
24836 return obj.write;
24837 },
24838 write$1(receiver, p0) {
24839 return receiver.write(p0);
24840 },
24841 createInterface$1(receiver, p0) {
24842 return receiver.createInterface(p0);
24843 },
24844 on$2(receiver, p0, p1) {
24845 return receiver.on(p0, p1);
24846 },
24847 get$close(obj) {
24848 return obj.close;
24849 },
24850 close$0(receiver) {
24851 return receiver.close();
24852 },
24853 setPrompt$1(receiver, p0) {
24854 return receiver.setPrompt(p0);
24855 },
24856 get$length(obj) {
24857 return obj.length;
24858 },
24859 toString$0(receiver) {
24860 return receiver.toString();
24861 },
24862 clear$0(receiver) {
24863 return receiver.clear();
24864 },
24865 get$debug(obj) {
24866 return obj.debug;
24867 },
24868 debug$2(receiver, p0, p1) {
24869 return receiver.debug(p0, p1);
24870 },
24871 get$warn(obj) {
24872 return obj.warn;
24873 },
24874 warn$1(receiver, p0) {
24875 return receiver.warn(p0);
24876 },
24877 existsSync$1(receiver, p0) {
24878 return receiver.existsSync(p0);
24879 },
24880 mkdirSync$1(receiver, p0) {
24881 return receiver.mkdirSync(p0);
24882 },
24883 readdirSync$1(receiver, p0) {
24884 return receiver.readdirSync(p0);
24885 },
24886 readFileSync$2(receiver, p0, p1) {
24887 return receiver.readFileSync(p0, p1);
24888 },
24889 statSync$1(receiver, p0) {
24890 return receiver.statSync(p0);
24891 },
24892 unlinkSync$1(receiver, p0) {
24893 return receiver.unlinkSync(p0);
24894 },
24895 watch$2(receiver, p0, p1) {
24896 return receiver.watch(p0, p1);
24897 },
24898 writeFileSync$2(receiver, p0, p1) {
24899 return receiver.writeFileSync(p0, p1);
24900 },
24901 get$path(obj) {
24902 return obj.path;
24903 },
24904 isDirectory$0(receiver) {
24905 return receiver.isDirectory();
24906 },
24907 isFile$0(receiver) {
24908 return receiver.isFile();
24909 },
24910 get$mtime(obj) {
24911 return obj.mtime;
24912 },
24913 then$1$1(receiver, p0) {
24914 return receiver.then(p0);
24915 },
24916 then$2(receiver, p0, p1) {
24917 return receiver.then(p0, p1);
24918 },
24919 getTime$0(receiver) {
24920 return receiver.getTime();
24921 },
24922 get$message(obj) {
24923 return obj.message;
24924 },
24925 message$1(receiver, p0) {
24926 return receiver.message(p0);
24927 },
24928 get$code(obj) {
24929 return obj.code;
24930 },
24931 get$syscall(obj) {
24932 return obj.syscall;
24933 },
24934 get$env(obj) {
24935 return obj.env;
24936 },
24937 get$exitCode(obj) {
24938 return obj.exitCode;
24939 },
24940 set$exitCode(obj, v) {
24941 return obj.exitCode = v;
24942 },
24943 get$platform(obj) {
24944 return obj.platform;
24945 },
24946 get$stderr(obj) {
24947 return obj.stderr;
24948 },
24949 get$stdin(obj) {
24950 return obj.stdin;
24951 },
24952 get$name(obj) {
24953 return obj.name;
24954 },
24955 push$1(receiver, p0) {
24956 return receiver.push(p0);
24957 },
24958 call$0(receiver) {
24959 return receiver.call();
24960 },
24961 call$1(receiver, p0) {
24962 return receiver.call(p0);
24963 },
24964 call$2(receiver, p0, p1) {
24965 return receiver.call(p0, p1);
24966 },
24967 call$3$1(receiver, p0) {
24968 return receiver.call(p0);
24969 },
24970 call$2$1(receiver, p0) {
24971 return receiver.call(p0);
24972 },
24973 call$1$1(receiver, p0) {
24974 return receiver.call(p0);
24975 },
24976 call$3(receiver, p0, p1, p2) {
24977 return receiver.call(p0, p1, p2);
24978 },
24979 call$3$3(receiver, p0, p1, p2) {
24980 return receiver.call(p0, p1, p2);
24981 },
24982 call$2$2(receiver, p0, p1) {
24983 return receiver.call(p0, p1);
24984 },
24985 call$1$0(receiver) {
24986 return receiver.call();
24987 },
24988 call$2$0(receiver) {
24989 return receiver.call();
24990 },
24991 call$2$3(receiver, p0, p1, p2) {
24992 return receiver.call(p0, p1, p2);
24993 },
24994 call$1$2(receiver, p0, p1) {
24995 return receiver.call(p0, p1);
24996 },
24997 apply$2(receiver, p0, p1) {
24998 return receiver.apply(p0, p1);
24999 },
25000 get$file(obj) {
25001 return obj.file;
25002 },
25003 get$contents(obj) {
25004 return obj.contents;
25005 },
25006 get$options(obj) {
25007 return obj.options;
25008 },
25009 get$data(obj) {
25010 return obj.data;
25011 },
25012 get$includePaths(obj) {
25013 return obj.includePaths;
25014 },
25015 get$style(obj) {
25016 return obj.style;
25017 },
25018 get$indentType(obj) {
25019 return obj.indentType;
25020 },
25021 get$indentWidth(obj) {
25022 return obj.indentWidth;
25023 },
25024 get$linefeed(obj) {
25025 return obj.linefeed;
25026 },
25027 set$context(obj, v) {
25028 return obj.context = v;
25029 },
25030 get$$prototype(obj) {
25031 return obj.prototype;
25032 },
25033 get$dartValue(obj) {
25034 return obj.dartValue;
25035 },
25036 set$dartValue(obj, v) {
25037 return obj.dartValue = v;
25038 },
25039 get$red(obj) {
25040 return obj.red;
25041 },
25042 get$green(obj) {
25043 return obj.green;
25044 },
25045 get$blue(obj) {
25046 return obj.blue;
25047 },
25048 get$hue(obj) {
25049 return obj.hue;
25050 },
25051 get$saturation(obj) {
25052 return obj.saturation;
25053 },
25054 get$lightness(obj) {
25055 return obj.lightness;
25056 },
25057 get$whiteness(obj) {
25058 return obj.whiteness;
25059 },
25060 get$blackness(obj) {
25061 return obj.blackness;
25062 },
25063 get$alpha(obj) {
25064 return obj.alpha;
25065 },
25066 get$alertAscii(obj) {
25067 return obj.alertAscii;
25068 },
25069 get$alertColor(obj) {
25070 return obj.alertColor;
25071 },
25072 get$loadPaths(obj) {
25073 return obj.loadPaths;
25074 },
25075 get$quietDeps(obj) {
25076 return obj.quietDeps;
25077 },
25078 get$verbose(obj) {
25079 return obj.verbose;
25080 },
25081 get$sourceMap(obj) {
25082 return obj.sourceMap;
25083 },
25084 get$sourceMapIncludeSources(obj) {
25085 return obj.sourceMapIncludeSources;
25086 },
25087 get$logger(obj) {
25088 return obj.logger;
25089 },
25090 get$importers(obj) {
25091 return obj.importers;
25092 },
25093 get$functions(obj) {
25094 return obj.functions;
25095 },
25096 get$syntax(obj) {
25097 return obj.syntax;
25098 },
25099 get$url(obj) {
25100 return obj.url;
25101 },
25102 get$importer(obj) {
25103 return obj.importer;
25104 },
25105 get$_dartException(obj) {
25106 return obj._dartException;
25107 },
25108 set$renderSync(obj, v) {
25109 return obj.renderSync = v;
25110 },
25111 set$compileString(obj, v) {
25112 return obj.compileString = v;
25113 },
25114 set$compileStringAsync(obj, v) {
25115 return obj.compileStringAsync = v;
25116 },
25117 set$compile(obj, v) {
25118 return obj.compile = v;
25119 },
25120 set$compileAsync(obj, v) {
25121 return obj.compileAsync = v;
25122 },
25123 set$info(obj, v) {
25124 return obj.info = v;
25125 },
25126 set$Exception(obj, v) {
25127 return obj.Exception = v;
25128 },
25129 set$Logger(obj, v) {
25130 return obj.Logger = v;
25131 },
25132 set$Value(obj, v) {
25133 return obj.Value = v;
25134 },
25135 set$SassArgumentList(obj, v) {
25136 return obj.SassArgumentList = v;
25137 },
25138 set$SassBoolean(obj, v) {
25139 return obj.SassBoolean = v;
25140 },
25141 set$SassColor(obj, v) {
25142 return obj.SassColor = v;
25143 },
25144 set$SassFunction(obj, v) {
25145 return obj.SassFunction = v;
25146 },
25147 set$SassList(obj, v) {
25148 return obj.SassList = v;
25149 },
25150 set$SassMap(obj, v) {
25151 return obj.SassMap = v;
25152 },
25153 set$SassNumber(obj, v) {
25154 return obj.SassNumber = v;
25155 },
25156 set$SassString(obj, v) {
25157 return obj.SassString = v;
25158 },
25159 set$sassNull(obj, v) {
25160 return obj.sassNull = v;
25161 },
25162 set$sassTrue(obj, v) {
25163 return obj.sassTrue = v;
25164 },
25165 set$sassFalse(obj, v) {
25166 return obj.sassFalse = v;
25167 },
25168 set$render(obj, v) {
25169 return obj.render = v;
25170 },
25171 set$types(obj, v) {
25172 return obj.types = v;
25173 },
25174 set$NULL(obj, v) {
25175 return obj.NULL = v;
25176 },
25177 set$TRUE(obj, v) {
25178 return obj.TRUE = v;
25179 },
25180 set$FALSE(obj, v) {
25181 return obj.FALSE = v;
25182 },
25183 get$current(obj) {
25184 return obj.current;
25185 },
25186 yield$0(receiver) {
25187 return receiver.yield();
25188 },
25189 run$1$1(receiver, p0) {
25190 return receiver.run(p0);
25191 },
25192 run$1(receiver, p0) {
25193 return receiver.run(p0);
25194 },
25195 run$0(receiver) {
25196 return receiver.run();
25197 },
25198 toArray$0(receiver) {
25199 return receiver.toArray();
25200 },
25201 asMutable$0(receiver) {
25202 return receiver.asMutable();
25203 },
25204 asImmutable$0(receiver) {
25205 return receiver.asImmutable();
25206 },
25207 $set$2(receiver, p0, p1) {
25208 return receiver.set(p0, p1);
25209 },
25210 forEach$1(receiver, p0) {
25211 return receiver.forEach(p0);
25212 },
25213 get$canonicalize(obj) {
25214 return obj.canonicalize;
25215 },
25216 canonicalize$1(receiver, p0) {
25217 return receiver.canonicalize(p0);
25218 },
25219 get$load(obj) {
25220 return obj.load;
25221 },
25222 load$1(receiver, p0) {
25223 return receiver.load(p0);
25224 },
25225 get$findFileUrl(obj) {
25226 return obj.findFileUrl;
25227 },
25228 get$sourceMapUrl(obj) {
25229 return obj.sourceMapUrl;
25230 },
25231 get$separator(obj) {
25232 return obj.separator;
25233 },
25234 get$brackets(obj) {
25235 return obj.brackets;
25236 },
25237 get$numeratorUnits(obj) {
25238 return obj.numeratorUnits;
25239 },
25240 get$denominatorUnits(obj) {
25241 return obj.denominatorUnits;
25242 },
25243 get$indentedSyntax(obj) {
25244 return obj.indentedSyntax;
25245 },
25246 get$omitSourceMapUrl(obj) {
25247 return obj.omitSourceMapUrl;
25248 },
25249 get$outFile(obj) {
25250 return obj.outFile;
25251 },
25252 get$outputStyle(obj) {
25253 return obj.outputStyle;
25254 },
25255 get$fiber(obj) {
25256 return obj.fiber;
25257 },
25258 get$sourceMapContents(obj) {
25259 return obj.sourceMapContents;
25260 },
25261 get$sourceMapEmbed(obj) {
25262 return obj.sourceMapEmbed;
25263 },
25264 get$sourceMapRoot(obj) {
25265 return obj.sourceMapRoot;
25266 },
25267 get$charset(obj) {
25268 return obj.charset;
25269 },
25270 set$cli_pkg_main_0_(obj, v) {
25271 return obj.cli_pkg_main_0_ = v;
25272 },
25273 get$quotes(obj) {
25274 return obj.quotes;
25275 }
25276 };
25277 J.PlainJavaScriptObject.prototype = {};
25278 J.UnknownJavaScriptObject.prototype = {};
25279 J.JavaScriptFunction.prototype = {
25280 toString$0(receiver) {
25281 var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
25282 if (dartClosure == null)
25283 return this.super$LegacyJavaScriptObject$toString(receiver);
25284 return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
25285 },
25286 $isFunction: 1
25287 };
25288 J.JSArray.prototype = {
25289 cast$1$0(receiver, $R) {
25290 return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
25291 },
25292 add$1(receiver, value) {
25293 if (!!receiver.fixed$length)
25294 A.throwExpression(A.UnsupportedError$("add"));
25295 receiver.push(value);
25296 },
25297 removeAt$1(receiver, index) {
25298 var t1;
25299 if (!!receiver.fixed$length)
25300 A.throwExpression(A.UnsupportedError$("removeAt"));
25301 t1 = receiver.length;
25302 if (index >= t1)
25303 throw A.wrapException(A.RangeError$value(index, null, null));
25304 return receiver.splice(index, 1)[0];
25305 },
25306 insert$2(receiver, index, value) {
25307 var t1;
25308 if (!!receiver.fixed$length)
25309 A.throwExpression(A.UnsupportedError$("insert"));
25310 t1 = receiver.length;
25311 if (index > t1)
25312 throw A.wrapException(A.RangeError$value(index, null, null));
25313 receiver.splice(index, 0, value);
25314 },
25315 insertAll$2(receiver, index, iterable) {
25316 var insertionLength, end;
25317 if (!!receiver.fixed$length)
25318 A.throwExpression(A.UnsupportedError$("insertAll"));
25319 A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
25320 if (!type$.EfficientLengthIterable_dynamic._is(iterable))
25321 iterable = J.toList$0$ax(iterable);
25322 insertionLength = J.get$length$asx(iterable);
25323 receiver.length = receiver.length + insertionLength;
25324 end = index + insertionLength;
25325 this.setRange$4(receiver, end, receiver.length, receiver, index);
25326 this.setRange$3(receiver, index, end, iterable);
25327 },
25328 removeLast$0(receiver) {
25329 if (!!receiver.fixed$length)
25330 A.throwExpression(A.UnsupportedError$("removeLast"));
25331 if (receiver.length === 0)
25332 throw A.wrapException(A.diagnoseIndexError(receiver, -1));
25333 return receiver.pop();
25334 },
25335 _removeWhere$2(receiver, test, removeMatching) {
25336 var i, element, t1, retained = [],
25337 end = receiver.length;
25338 for (i = 0; i < end; ++i) {
25339 element = receiver[i];
25340 if (!test.call$1(element))
25341 retained.push(element);
25342 if (receiver.length !== end)
25343 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25344 }
25345 t1 = retained.length;
25346 if (t1 === end)
25347 return;
25348 this.set$length(receiver, t1);
25349 for (i = 0; i < retained.length; ++i)
25350 receiver[i] = retained[i];
25351 },
25352 where$1(receiver, f) {
25353 return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
25354 },
25355 expand$1$1(receiver, f, $T) {
25356 return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
25357 },
25358 addAll$1(receiver, collection) {
25359 var t1;
25360 if (!!receiver.fixed$length)
25361 A.throwExpression(A.UnsupportedError$("addAll"));
25362 if (Array.isArray(collection)) {
25363 this._addAllFromArray$1(receiver, collection);
25364 return;
25365 }
25366 for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
25367 receiver.push(t1.get$current(t1));
25368 },
25369 _addAllFromArray$1(receiver, array) {
25370 var i,
25371 len = array.length;
25372 if (len === 0)
25373 return;
25374 if (receiver === array)
25375 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25376 for (i = 0; i < len; ++i)
25377 receiver.push(array[i]);
25378 },
25379 map$1$1(receiver, f, $T) {
25380 return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
25381 },
25382 join$1(receiver, separator) {
25383 var i,
25384 list = A.List_List$filled(receiver.length, "", false, type$.String);
25385 for (i = 0; i < receiver.length; ++i)
25386 list[i] = A.S(receiver[i]);
25387 return list.join(separator);
25388 },
25389 join$0($receiver) {
25390 return this.join$1($receiver, "");
25391 },
25392 take$1(receiver, n) {
25393 return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
25394 },
25395 skip$1(receiver, n) {
25396 return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
25397 },
25398 fold$1$2(receiver, initialValue, combine) {
25399 var value, i,
25400 $length = receiver.length;
25401 for (value = initialValue, i = 0; i < $length; ++i) {
25402 value = combine.call$2(value, receiver[i]);
25403 if (receiver.length !== $length)
25404 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25405 }
25406 return value;
25407 },
25408 fold$2($receiver, initialValue, combine) {
25409 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
25410 },
25411 elementAt$1(receiver, index) {
25412 return receiver[index];
25413 },
25414 sublist$2(receiver, start, end) {
25415 var end0 = receiver.length;
25416 if (start > end0)
25417 throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
25418 if (end == null)
25419 end = end0;
25420 else if (end < start || end > end0)
25421 throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
25422 if (start === end)
25423 return A._setArrayType([], A._arrayInstanceType(receiver));
25424 return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
25425 },
25426 sublist$1($receiver, start) {
25427 return this.sublist$2($receiver, start, null);
25428 },
25429 getRange$2(receiver, start, end) {
25430 A.RangeError_checkValidRange(start, end, receiver.length);
25431 return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
25432 },
25433 get$first(receiver) {
25434 if (receiver.length > 0)
25435 return receiver[0];
25436 throw A.wrapException(A.IterableElementError_noElement());
25437 },
25438 get$last(receiver) {
25439 var t1 = receiver.length;
25440 if (t1 > 0)
25441 return receiver[t1 - 1];
25442 throw A.wrapException(A.IterableElementError_noElement());
25443 },
25444 get$single(receiver) {
25445 var t1 = receiver.length;
25446 if (t1 === 1)
25447 return receiver[0];
25448 if (t1 === 0)
25449 throw A.wrapException(A.IterableElementError_noElement());
25450 throw A.wrapException(A.IterableElementError_tooMany());
25451 },
25452 removeRange$2(receiver, start, end) {
25453 if (!!receiver.fixed$length)
25454 A.throwExpression(A.UnsupportedError$("removeRange"));
25455 A.RangeError_checkValidRange(start, end, receiver.length);
25456 receiver.splice(start, end - start);
25457 },
25458 setRange$4(receiver, start, end, iterable, skipCount) {
25459 var $length, otherList, otherStart, t1, i;
25460 if (!!receiver.immutable$list)
25461 A.throwExpression(A.UnsupportedError$("setRange"));
25462 A.RangeError_checkValidRange(start, end, receiver.length);
25463 $length = end - start;
25464 if ($length === 0)
25465 return;
25466 A.RangeError_checkNotNegative(skipCount, "skipCount");
25467 if (type$.List_dynamic._is(iterable)) {
25468 otherList = iterable;
25469 otherStart = skipCount;
25470 } else {
25471 otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
25472 otherStart = 0;
25473 }
25474 t1 = J.getInterceptor$asx(otherList);
25475 if (otherStart + $length > t1.get$length(otherList))
25476 throw A.wrapException(A.IterableElementError_tooFew());
25477 if (otherStart < start)
25478 for (i = $length - 1; i >= 0; --i)
25479 receiver[start + i] = t1.$index(otherList, otherStart + i);
25480 else
25481 for (i = 0; i < $length; ++i)
25482 receiver[start + i] = t1.$index(otherList, otherStart + i);
25483 },
25484 setRange$3($receiver, start, end, iterable) {
25485 return this.setRange$4($receiver, start, end, iterable, 0);
25486 },
25487 fillRange$3(receiver, start, end, fillValue) {
25488 var i;
25489 if (!!receiver.immutable$list)
25490 A.throwExpression(A.UnsupportedError$("fill range"));
25491 A.RangeError_checkValidRange(start, end, receiver.length);
25492 A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
25493 for (i = start; i < end; ++i)
25494 receiver[i] = fillValue;
25495 },
25496 any$1(receiver, test) {
25497 var i,
25498 end = receiver.length;
25499 for (i = 0; i < end; ++i) {
25500 if (test.call$1(receiver[i]))
25501 return true;
25502 if (receiver.length !== end)
25503 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25504 }
25505 return false;
25506 },
25507 every$1(receiver, test) {
25508 var i,
25509 end = receiver.length;
25510 for (i = 0; i < end; ++i) {
25511 if (!test.call$1(receiver[i]))
25512 return false;
25513 if (receiver.length !== end)
25514 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25515 }
25516 return true;
25517 },
25518 get$reversed(receiver) {
25519 return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
25520 },
25521 sort$1(receiver, compare) {
25522 if (!!receiver.immutable$list)
25523 A.throwExpression(A.UnsupportedError$("sort"));
25524 A.Sort_sort(receiver, compare == null ? J._interceptors_JSArray__compareAny$closure() : compare);
25525 },
25526 sort$0($receiver) {
25527 return this.sort$1($receiver, null);
25528 },
25529 indexOf$1(receiver, element) {
25530 var i,
25531 $length = receiver.length;
25532 if (0 >= $length)
25533 return -1;
25534 for (i = 0; i < $length; ++i)
25535 if (J.$eq$(receiver[i], element))
25536 return i;
25537 return -1;
25538 },
25539 contains$1(receiver, other) {
25540 var i;
25541 for (i = 0; i < receiver.length; ++i)
25542 if (J.$eq$(receiver[i], other))
25543 return true;
25544 return false;
25545 },
25546 get$isEmpty(receiver) {
25547 return receiver.length === 0;
25548 },
25549 get$isNotEmpty(receiver) {
25550 return receiver.length !== 0;
25551 },
25552 toString$0(receiver) {
25553 return A.IterableBase_iterableToFullString(receiver, "[", "]");
25554 },
25555 toList$1$growable(receiver, growable) {
25556 var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
25557 return t1;
25558 },
25559 toList$0($receiver) {
25560 return this.toList$1$growable($receiver, true);
25561 },
25562 toSet$0(receiver) {
25563 return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
25564 },
25565 get$iterator(receiver) {
25566 return new J.ArrayIterator(receiver, receiver.length);
25567 },
25568 get$hashCode(receiver) {
25569 return A.Primitives_objectHashCode(receiver);
25570 },
25571 get$length(receiver) {
25572 return receiver.length;
25573 },
25574 set$length(receiver, newLength) {
25575 if (!!receiver.fixed$length)
25576 A.throwExpression(A.UnsupportedError$("set length"));
25577 if (newLength < 0)
25578 throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
25579 if (newLength > receiver.length)
25580 A._arrayInstanceType(receiver)._precomputed1._as(null);
25581 receiver.length = newLength;
25582 },
25583 $index(receiver, index) {
25584 if (!(index >= 0 && index < receiver.length))
25585 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25586 return receiver[index];
25587 },
25588 $indexSet(receiver, index, value) {
25589 if (!!receiver.immutable$list)
25590 A.throwExpression(A.UnsupportedError$("indexed set"));
25591 if (!(index >= 0 && index < receiver.length))
25592 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25593 receiver[index] = value;
25594 },
25595 $add(receiver, other) {
25596 var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
25597 this.addAll$1(t1, other);
25598 return t1;
25599 },
25600 indexWhere$1(receiver, test) {
25601 var i;
25602 if (0 >= receiver.length)
25603 return -1;
25604 for (i = 0; i < receiver.length; ++i)
25605 if (test.call$1(receiver[i]))
25606 return i;
25607 return -1;
25608 },
25609 $isEfficientLengthIterable: 1,
25610 $isIterable: 1,
25611 $isList: 1
25612 };
25613 J.JSUnmodifiableArray.prototype = {};
25614 J.ArrayIterator.prototype = {
25615 get$current(_) {
25616 return A._instanceType(this)._precomputed1._as(this._current);
25617 },
25618 moveNext$0() {
25619 var t2, _this = this,
25620 t1 = _this._iterable,
25621 $length = t1.length;
25622 if (_this._length !== $length)
25623 throw A.wrapException(A.throwConcurrentModificationError(t1));
25624 t2 = _this._index;
25625 if (t2 >= $length) {
25626 _this._current = null;
25627 return false;
25628 }
25629 _this._current = t1[t2];
25630 _this._index = t2 + 1;
25631 return true;
25632 }
25633 };
25634 J.JSNumber.prototype = {
25635 compareTo$1(receiver, b) {
25636 var bIsNegative;
25637 if (receiver < b)
25638 return -1;
25639 else if (receiver > b)
25640 return 1;
25641 else if (receiver === b) {
25642 if (receiver === 0) {
25643 bIsNegative = this.get$isNegative(b);
25644 if (this.get$isNegative(receiver) === bIsNegative)
25645 return 0;
25646 if (this.get$isNegative(receiver))
25647 return -1;
25648 return 1;
25649 }
25650 return 0;
25651 } else if (isNaN(receiver)) {
25652 if (isNaN(b))
25653 return 0;
25654 return 1;
25655 } else
25656 return -1;
25657 },
25658 get$isNegative(receiver) {
25659 return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
25660 },
25661 ceil$0(receiver) {
25662 var truncated, d;
25663 if (receiver >= 0) {
25664 if (receiver <= 2147483647) {
25665 truncated = receiver | 0;
25666 return receiver === truncated ? truncated : truncated + 1;
25667 }
25668 } else if (receiver >= -2147483648)
25669 return receiver | 0;
25670 d = Math.ceil(receiver);
25671 if (isFinite(d))
25672 return d;
25673 throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
25674 },
25675 floor$0(receiver) {
25676 var truncated, d;
25677 if (receiver >= 0) {
25678 if (receiver <= 2147483647)
25679 return receiver | 0;
25680 } else if (receiver >= -2147483648) {
25681 truncated = receiver | 0;
25682 return receiver === truncated ? truncated : truncated - 1;
25683 }
25684 d = Math.floor(receiver);
25685 if (isFinite(d))
25686 return d;
25687 throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
25688 },
25689 round$0(receiver) {
25690 if (receiver > 0) {
25691 if (receiver !== 1 / 0)
25692 return Math.round(receiver);
25693 } else if (receiver > -1 / 0)
25694 return 0 - Math.round(0 - receiver);
25695 throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
25696 },
25697 clamp$2(receiver, lowerLimit, upperLimit) {
25698 if (B.JSInt_methods.compareTo$1(lowerLimit, upperLimit) > 0)
25699 throw A.wrapException(A.argumentErrorValue(lowerLimit));
25700 if (this.compareTo$1(receiver, lowerLimit) < 0)
25701 return lowerLimit;
25702 if (this.compareTo$1(receiver, upperLimit) > 0)
25703 return upperLimit;
25704 return receiver;
25705 },
25706 toRadixString$1(receiver, radix) {
25707 var result, match, exponent, t1;
25708 if (radix < 2 || radix > 36)
25709 throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
25710 result = receiver.toString(radix);
25711 if (B.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41)
25712 return result;
25713 match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
25714 if (match == null)
25715 A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
25716 result = match[1];
25717 exponent = +match[3];
25718 t1 = match[2];
25719 if (t1 != null) {
25720 result += t1;
25721 exponent -= t1.length;
25722 }
25723 return result + B.JSString_methods.$mul("0", exponent);
25724 },
25725 toString$0(receiver) {
25726 if (receiver === 0 && 1 / receiver < 0)
25727 return "-0.0";
25728 else
25729 return "" + receiver;
25730 },
25731 get$hashCode(receiver) {
25732 var absolute, floorLog2, factor, scaled,
25733 intValue = receiver | 0;
25734 if (receiver === intValue)
25735 return intValue & 536870911;
25736 absolute = Math.abs(receiver);
25737 floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
25738 factor = Math.pow(2, floorLog2);
25739 scaled = absolute < 1 ? absolute / factor : factor / absolute;
25740 return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
25741 },
25742 $add(receiver, other) {
25743 return receiver + other;
25744 },
25745 $mod(receiver, other) {
25746 var result = receiver % other;
25747 if (result === 0)
25748 return 0;
25749 if (result > 0)
25750 return result;
25751 if (other < 0)
25752 return result - other;
25753 else
25754 return result + other;
25755 },
25756 $tdiv(receiver, other) {
25757 if ((receiver | 0) === receiver)
25758 if (other >= 1 || other < -1)
25759 return receiver / other | 0;
25760 return this._tdivSlow$1(receiver, other);
25761 },
25762 _tdivFast$1(receiver, other) {
25763 return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
25764 },
25765 _tdivSlow$1(receiver, other) {
25766 var quotient = receiver / other;
25767 if (quotient >= -2147483648 && quotient <= 2147483647)
25768 return quotient | 0;
25769 if (quotient > 0) {
25770 if (quotient !== 1 / 0)
25771 return Math.floor(quotient);
25772 } else if (quotient > -1 / 0)
25773 return Math.ceil(quotient);
25774 throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
25775 },
25776 _shrOtherPositive$1(receiver, other) {
25777 var t1;
25778 if (receiver > 0)
25779 t1 = this._shrBothPositive$1(receiver, other);
25780 else {
25781 t1 = other > 31 ? 31 : other;
25782 t1 = receiver >> t1 >>> 0;
25783 }
25784 return t1;
25785 },
25786 _shrReceiverPositive$1(receiver, other) {
25787 if (0 > other)
25788 throw A.wrapException(A.argumentErrorValue(other));
25789 return this._shrBothPositive$1(receiver, other);
25790 },
25791 _shrBothPositive$1(receiver, other) {
25792 return other > 31 ? 0 : receiver >>> other;
25793 },
25794 $isComparable: 1,
25795 $isdouble: 1,
25796 $isnum: 1
25797 };
25798 J.JSInt.prototype = {$isint: 1};
25799 J.JSNumNotInt.prototype = {};
25800 J.JSString.prototype = {
25801 codeUnitAt$1(receiver, index) {
25802 if (index < 0)
25803 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25804 if (index >= receiver.length)
25805 A.throwExpression(A.diagnoseIndexError(receiver, index));
25806 return receiver.charCodeAt(index);
25807 },
25808 _codeUnitAt$1(receiver, index) {
25809 if (index >= receiver.length)
25810 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25811 return receiver.charCodeAt(index);
25812 },
25813 allMatches$2(receiver, string, start) {
25814 var t1 = string.length;
25815 if (start > t1)
25816 throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
25817 return new A._StringAllMatchesIterable(string, receiver, start);
25818 },
25819 allMatches$1($receiver, string) {
25820 return this.allMatches$2($receiver, string, 0);
25821 },
25822 matchAsPrefix$2(receiver, string, start) {
25823 var t1, i, _null = null;
25824 if (start < 0 || start > string.length)
25825 throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
25826 t1 = receiver.length;
25827 if (start + t1 > string.length)
25828 return _null;
25829 for (i = 0; i < t1; ++i)
25830 if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i))
25831 return _null;
25832 return new A.StringMatch(start, receiver);
25833 },
25834 $add(receiver, other) {
25835 return receiver + other;
25836 },
25837 endsWith$1(receiver, other) {
25838 var otherLength = other.length,
25839 t1 = receiver.length;
25840 if (otherLength > t1)
25841 return false;
25842 return other === this.substring$1(receiver, t1 - otherLength);
25843 },
25844 replaceFirst$2(receiver, from, to) {
25845 A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
25846 return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
25847 },
25848 split$1(receiver, pattern) {
25849 if (typeof pattern == "string")
25850 return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
25851 else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0)
25852 return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
25853 else
25854 return this._defaultSplit$1(receiver, pattern);
25855 },
25856 replaceRange$3(receiver, start, end, replacement) {
25857 var e = A.RangeError_checkValidRange(start, end, receiver.length);
25858 return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
25859 },
25860 _defaultSplit$1(receiver, pattern) {
25861 var t1, start, $length, match, matchStart, matchEnd,
25862 result = A._setArrayType([], type$.JSArray_String);
25863 for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
25864 match = t1.get$current(t1);
25865 matchStart = match.get$start(match);
25866 matchEnd = match.get$end(match);
25867 $length = matchEnd - matchStart;
25868 if ($length === 0 && start === matchStart)
25869 continue;
25870 result.push(this.substring$2(receiver, start, matchStart));
25871 start = matchEnd;
25872 }
25873 if (start < receiver.length || $length > 0)
25874 result.push(this.substring$1(receiver, start));
25875 return result;
25876 },
25877 startsWith$2(receiver, pattern, index) {
25878 var endIndex;
25879 if (index < 0 || index > receiver.length)
25880 throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
25881 if (typeof pattern == "string") {
25882 endIndex = index + pattern.length;
25883 if (endIndex > receiver.length)
25884 return false;
25885 return pattern === receiver.substring(index, endIndex);
25886 }
25887 return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
25888 },
25889 startsWith$1($receiver, pattern) {
25890 return this.startsWith$2($receiver, pattern, 0);
25891 },
25892 substring$2(receiver, start, end) {
25893 return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
25894 },
25895 substring$1($receiver, start) {
25896 return this.substring$2($receiver, start, null);
25897 },
25898 trim$0(receiver) {
25899 var startIndex, t1, endIndex0,
25900 result = receiver.trim(),
25901 endIndex = result.length;
25902 if (endIndex === 0)
25903 return result;
25904 if (this._codeUnitAt$1(result, 0) === 133) {
25905 startIndex = J.JSString__skipLeadingWhitespace(result, 1);
25906 if (startIndex === endIndex)
25907 return "";
25908 } else
25909 startIndex = 0;
25910 t1 = endIndex - 1;
25911 endIndex0 = this.codeUnitAt$1(result, t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
25912 if (startIndex === 0 && endIndex0 === endIndex)
25913 return result;
25914 return result.substring(startIndex, endIndex0);
25915 },
25916 trimRight$0(receiver) {
25917 var result, endIndex, t1;
25918 if (typeof receiver.trimRight != "undefined") {
25919 result = receiver.trimRight();
25920 endIndex = result.length;
25921 if (endIndex === 0)
25922 return result;
25923 t1 = endIndex - 1;
25924 if (this.codeUnitAt$1(result, t1) === 133)
25925 endIndex = J.JSString__skipTrailingWhitespace(result, t1);
25926 } else {
25927 endIndex = J.JSString__skipTrailingWhitespace(receiver, receiver.length);
25928 result = receiver;
25929 }
25930 if (endIndex === result.length)
25931 return result;
25932 if (endIndex === 0)
25933 return "";
25934 return result.substring(0, endIndex);
25935 },
25936 $mul(receiver, times) {
25937 var s, result;
25938 if (0 >= times)
25939 return "";
25940 if (times === 1 || receiver.length === 0)
25941 return receiver;
25942 if (times !== times >>> 0)
25943 throw A.wrapException(B.C_OutOfMemoryError);
25944 for (s = receiver, result = ""; true;) {
25945 if ((times & 1) === 1)
25946 result = s + result;
25947 times = times >>> 1;
25948 if (times === 0)
25949 break;
25950 s += s;
25951 }
25952 return result;
25953 },
25954 padLeft$2(receiver, width, padding) {
25955 var delta = width - receiver.length;
25956 if (delta <= 0)
25957 return receiver;
25958 return this.$mul(padding, delta) + receiver;
25959 },
25960 padRight$1(receiver, width) {
25961 var delta = width - receiver.length;
25962 if (delta <= 0)
25963 return receiver;
25964 return receiver + this.$mul(" ", delta);
25965 },
25966 indexOf$2(receiver, pattern, start) {
25967 var t1;
25968 if (start < 0 || start > receiver.length)
25969 throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
25970 t1 = receiver.indexOf(pattern, start);
25971 return t1;
25972 },
25973 indexOf$1($receiver, pattern) {
25974 return this.indexOf$2($receiver, pattern, 0);
25975 },
25976 lastIndexOf$2(receiver, pattern, start) {
25977 var t1, t2, i;
25978 if (start == null)
25979 start = receiver.length;
25980 else if (start < 0 || start > receiver.length)
25981 throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
25982 if (typeof pattern == "string") {
25983 t1 = pattern.length;
25984 t2 = receiver.length;
25985 if (start + t1 > t2)
25986 start = t2 - t1;
25987 return receiver.lastIndexOf(pattern, start);
25988 }
25989 for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
25990 if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
25991 return i;
25992 return -1;
25993 },
25994 lastIndexOf$1($receiver, pattern) {
25995 return this.lastIndexOf$2($receiver, pattern, null);
25996 },
25997 contains$2(receiver, other, startIndex) {
25998 var t1 = receiver.length;
25999 if (startIndex > t1)
26000 throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
26001 return A.stringContainsUnchecked(receiver, other, startIndex);
26002 },
26003 contains$1($receiver, other) {
26004 return this.contains$2($receiver, other, 0);
26005 },
26006 get$isNotEmpty(receiver) {
26007 return receiver.length !== 0;
26008 },
26009 compareTo$1(receiver, other) {
26010 var t1;
26011 if (receiver === other)
26012 t1 = 0;
26013 else
26014 t1 = receiver < other ? -1 : 1;
26015 return t1;
26016 },
26017 toString$0(receiver) {
26018 return receiver;
26019 },
26020 get$hashCode(receiver) {
26021 var t1, hash, i;
26022 for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
26023 hash = hash + receiver.charCodeAt(i) & 536870911;
26024 hash = hash + ((hash & 524287) << 10) & 536870911;
26025 hash ^= hash >> 6;
26026 }
26027 hash = hash + ((hash & 67108863) << 3) & 536870911;
26028 hash ^= hash >> 11;
26029 return hash + ((hash & 16383) << 15) & 536870911;
26030 },
26031 get$length(receiver) {
26032 return receiver.length;
26033 },
26034 $isComparable: 1,
26035 $isString: 1
26036 };
26037 A._CastIterableBase.prototype = {
26038 get$iterator(_) {
26039 var t1 = A._instanceType(this);
26040 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>"));
26041 },
26042 get$length(_) {
26043 return J.get$length$asx(this.get$_source());
26044 },
26045 get$isEmpty(_) {
26046 return J.get$isEmpty$asx(this.get$_source());
26047 },
26048 get$isNotEmpty(_) {
26049 return J.get$isNotEmpty$asx(this.get$_source());
26050 },
26051 skip$1(_, count) {
26052 var t1 = A._instanceType(this);
26053 return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
26054 },
26055 take$1(_, count) {
26056 var t1 = A._instanceType(this);
26057 return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
26058 },
26059 elementAt$1(_, index) {
26060 return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
26061 },
26062 get$first(_) {
26063 return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
26064 },
26065 get$last(_) {
26066 return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
26067 },
26068 get$single(_) {
26069 return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
26070 },
26071 contains$1(_, other) {
26072 return J.contains$1$asx(this.get$_source(), other);
26073 },
26074 toString$0(_) {
26075 return J.toString$0$(this.get$_source());
26076 }
26077 };
26078 A.CastIterator.prototype = {
26079 moveNext$0() {
26080 return this._source.moveNext$0();
26081 },
26082 get$current(_) {
26083 var t1 = this._source;
26084 return this.$ti._rest[1]._as(t1.get$current(t1));
26085 }
26086 };
26087 A.CastIterable.prototype = {
26088 get$_source() {
26089 return this._source;
26090 }
26091 };
26092 A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
26093 A._CastListBase.prototype = {
26094 $index(_, index) {
26095 return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
26096 },
26097 $indexSet(_, index, value) {
26098 J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
26099 },
26100 set$length(_, $length) {
26101 J.set$length$asx(this._source, $length);
26102 },
26103 add$1(_, value) {
26104 J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
26105 },
26106 sort$1(_, compare) {
26107 var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
26108 J.sort$1$ax(this._source, t1);
26109 },
26110 getRange$2(_, start, end) {
26111 var t1 = this.$ti;
26112 return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
26113 },
26114 setRange$4(_, start, end, iterable, skipCount) {
26115 var t1 = this.$ti;
26116 J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
26117 },
26118 fillRange$3(_, start, end, fillValue) {
26119 J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
26120 },
26121 $isEfficientLengthIterable: 1,
26122 $isList: 1
26123 };
26124 A._CastListBase_sort_closure.prototype = {
26125 call$2(v1, v2) {
26126 var t1 = this.$this.$ti._rest[1];
26127 return this.compare.call$2(t1._as(v1), t1._as(v2));
26128 },
26129 $signature() {
26130 return this.$this.$ti._eval$1("int(1,1)");
26131 }
26132 };
26133 A.CastList.prototype = {
26134 cast$1$0(_, $R) {
26135 return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
26136 },
26137 get$_source() {
26138 return this._source;
26139 }
26140 };
26141 A.CastSet.prototype = {
26142 add$1(_, value) {
26143 return this._source.add$1(0, this.$ti._precomputed1._as(value));
26144 },
26145 addAll$1(_, elements) {
26146 var t1 = this.$ti;
26147 this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
26148 },
26149 difference$1(other) {
26150 var t1, _this = this;
26151 if (_this._emptySet != null)
26152 return _this._conditionalAdd$2(other, false);
26153 t1 = _this.$ti;
26154 return new A.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>"));
26155 },
26156 _conditionalAdd$2(other, otherContains) {
26157 var t3, castElement,
26158 emptySet = this._emptySet,
26159 t1 = this.$ti,
26160 t2 = t1._rest[1],
26161 result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
26162 for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
26163 castElement = t1._as(t2.get$current(t2));
26164 if (otherContains === t3.contains$1(0, castElement))
26165 result.add$1(0, castElement);
26166 }
26167 return result;
26168 },
26169 toSet$0(_) {
26170 var emptySet = this._emptySet,
26171 t1 = this.$ti._rest[1],
26172 result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
26173 result.addAll$1(0, this);
26174 return result;
26175 },
26176 $isEfficientLengthIterable: 1,
26177 $isSet: 1,
26178 get$_source() {
26179 return this._source;
26180 }
26181 };
26182 A.CastMap.prototype = {
26183 cast$2$0(_, RK, RV) {
26184 var t1 = this.$ti;
26185 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>"));
26186 },
26187 containsKey$1(key) {
26188 return this._source.containsKey$1(key);
26189 },
26190 $index(_, key) {
26191 return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
26192 },
26193 $indexSet(_, key, value) {
26194 var t1 = this.$ti;
26195 this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
26196 },
26197 addAll$1(_, other) {
26198 var t1 = this.$ti;
26199 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>")));
26200 },
26201 remove$1(_, key) {
26202 return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
26203 },
26204 forEach$1(_, f) {
26205 this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
26206 },
26207 get$keys(_) {
26208 var t1 = this._source,
26209 t2 = this.$ti;
26210 return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
26211 },
26212 get$values(_) {
26213 var t1 = this._source,
26214 t2 = this.$ti;
26215 return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
26216 },
26217 get$length(_) {
26218 var t1 = this._source;
26219 return t1.get$length(t1);
26220 },
26221 get$isEmpty(_) {
26222 var t1 = this._source;
26223 return t1.get$isEmpty(t1);
26224 },
26225 get$isNotEmpty(_) {
26226 var t1 = this._source;
26227 return t1.get$isNotEmpty(t1);
26228 },
26229 get$entries(_) {
26230 var t1 = this._source;
26231 return t1.get$entries(t1).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
26232 }
26233 };
26234 A.CastMap_forEach_closure.prototype = {
26235 call$2(key, value) {
26236 var t1 = this.$this.$ti;
26237 this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
26238 },
26239 $signature() {
26240 return this.$this.$ti._eval$1("~(1,2)");
26241 }
26242 };
26243 A.CastMap_entries_closure.prototype = {
26244 call$1(e) {
26245 var t1 = this.$this.$ti,
26246 t2 = t1._rest[3];
26247 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>"));
26248 },
26249 $signature() {
26250 return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
26251 }
26252 };
26253 A.LateError.prototype = {
26254 toString$0(_) {
26255 var t1 = "LateInitializationError: " + this._message;
26256 return t1;
26257 }
26258 };
26259 A.CodeUnits.prototype = {
26260 get$length(_) {
26261 return this._string.length;
26262 },
26263 $index(_, i) {
26264 return B.JSString_methods.codeUnitAt$1(this._string, i);
26265 }
26266 };
26267 A.nullFuture_closure.prototype = {
26268 call$0() {
26269 return A.Future_Future$value(null, type$.Null);
26270 },
26271 $signature: 2
26272 };
26273 A.SentinelValue.prototype = {};
26274 A.EfficientLengthIterable.prototype = {};
26275 A.ListIterable.prototype = {
26276 get$iterator(_) {
26277 return new A.ListIterator(this, this.get$length(this));
26278 },
26279 get$isEmpty(_) {
26280 return this.get$length(this) === 0;
26281 },
26282 get$first(_) {
26283 if (this.get$length(this) === 0)
26284 throw A.wrapException(A.IterableElementError_noElement());
26285 return this.elementAt$1(0, 0);
26286 },
26287 get$last(_) {
26288 var _this = this;
26289 if (_this.get$length(_this) === 0)
26290 throw A.wrapException(A.IterableElementError_noElement());
26291 return _this.elementAt$1(0, _this.get$length(_this) - 1);
26292 },
26293 get$single(_) {
26294 var _this = this;
26295 if (_this.get$length(_this) === 0)
26296 throw A.wrapException(A.IterableElementError_noElement());
26297 if (_this.get$length(_this) > 1)
26298 throw A.wrapException(A.IterableElementError_tooMany());
26299 return _this.elementAt$1(0, 0);
26300 },
26301 contains$1(_, element) {
26302 var i, _this = this,
26303 $length = _this.get$length(_this);
26304 for (i = 0; i < $length; ++i) {
26305 if (J.$eq$(_this.elementAt$1(0, i), element))
26306 return true;
26307 if ($length !== _this.get$length(_this))
26308 throw A.wrapException(A.ConcurrentModificationError$(_this));
26309 }
26310 return false;
26311 },
26312 any$1(_, test) {
26313 var i, _this = this,
26314 $length = _this.get$length(_this);
26315 for (i = 0; i < $length; ++i) {
26316 if (test.call$1(_this.elementAt$1(0, i)))
26317 return true;
26318 if ($length !== _this.get$length(_this))
26319 throw A.wrapException(A.ConcurrentModificationError$(_this));
26320 }
26321 return false;
26322 },
26323 join$1(_, separator) {
26324 var first, t1, i, _this = this,
26325 $length = _this.get$length(_this);
26326 if (separator.length !== 0) {
26327 if ($length === 0)
26328 return "";
26329 first = A.S(_this.elementAt$1(0, 0));
26330 if ($length !== _this.get$length(_this))
26331 throw A.wrapException(A.ConcurrentModificationError$(_this));
26332 for (t1 = first, i = 1; i < $length; ++i) {
26333 t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
26334 if ($length !== _this.get$length(_this))
26335 throw A.wrapException(A.ConcurrentModificationError$(_this));
26336 }
26337 return t1.charCodeAt(0) == 0 ? t1 : t1;
26338 } else {
26339 for (i = 0, t1 = ""; i < $length; ++i) {
26340 t1 += A.S(_this.elementAt$1(0, i));
26341 if ($length !== _this.get$length(_this))
26342 throw A.wrapException(A.ConcurrentModificationError$(_this));
26343 }
26344 return t1.charCodeAt(0) == 0 ? t1 : t1;
26345 }
26346 },
26347 join$0($receiver) {
26348 return this.join$1($receiver, "");
26349 },
26350 where$1(_, test) {
26351 return this.super$Iterable$where(0, test);
26352 },
26353 map$1$1(_, toElement, $T) {
26354 return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
26355 },
26356 reduce$1(_, combine) {
26357 var value, i, _this = this,
26358 $length = _this.get$length(_this);
26359 if ($length === 0)
26360 throw A.wrapException(A.IterableElementError_noElement());
26361 value = _this.elementAt$1(0, 0);
26362 for (i = 1; i < $length; ++i) {
26363 value = combine.call$2(value, _this.elementAt$1(0, i));
26364 if ($length !== _this.get$length(_this))
26365 throw A.wrapException(A.ConcurrentModificationError$(_this));
26366 }
26367 return value;
26368 },
26369 fold$1$2(_, initialValue, combine) {
26370 var value, i, _this = this,
26371 $length = _this.get$length(_this);
26372 for (value = initialValue, i = 0; i < $length; ++i) {
26373 value = combine.call$2(value, _this.elementAt$1(0, i));
26374 if ($length !== _this.get$length(_this))
26375 throw A.wrapException(A.ConcurrentModificationError$(_this));
26376 }
26377 return value;
26378 },
26379 fold$2($receiver, initialValue, combine) {
26380 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
26381 },
26382 skip$1(_, count) {
26383 return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
26384 },
26385 take$1(_, count) {
26386 return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
26387 },
26388 toList$1$growable(_, growable) {
26389 return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
26390 },
26391 toList$0($receiver) {
26392 return this.toList$1$growable($receiver, true);
26393 },
26394 toSet$0(_) {
26395 var i, _this = this,
26396 result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
26397 for (i = 0; i < _this.get$length(_this); ++i)
26398 result.add$1(0, _this.elementAt$1(0, i));
26399 return result;
26400 }
26401 };
26402 A.SubListIterable.prototype = {
26403 SubListIterable$3(_iterable, _start, _endOrLength, $E) {
26404 var endOrLength,
26405 t1 = this._start;
26406 A.RangeError_checkNotNegative(t1, "start");
26407 endOrLength = this._endOrLength;
26408 if (endOrLength != null) {
26409 A.RangeError_checkNotNegative(endOrLength, "end");
26410 if (t1 > endOrLength)
26411 throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
26412 }
26413 },
26414 get$_endIndex() {
26415 var $length = J.get$length$asx(this.__internal$_iterable),
26416 endOrLength = this._endOrLength;
26417 if (endOrLength == null || endOrLength > $length)
26418 return $length;
26419 return endOrLength;
26420 },
26421 get$_startIndex() {
26422 var $length = J.get$length$asx(this.__internal$_iterable),
26423 t1 = this._start;
26424 if (t1 > $length)
26425 return $length;
26426 return t1;
26427 },
26428 get$length(_) {
26429 var endOrLength,
26430 $length = J.get$length$asx(this.__internal$_iterable),
26431 t1 = this._start;
26432 if (t1 >= $length)
26433 return 0;
26434 endOrLength = this._endOrLength;
26435 if (endOrLength == null || endOrLength >= $length)
26436 return $length - t1;
26437 return endOrLength - t1;
26438 },
26439 elementAt$1(_, index) {
26440 var _this = this,
26441 realIndex = _this.get$_startIndex() + index;
26442 if (index < 0 || realIndex >= _this.get$_endIndex())
26443 throw A.wrapException(A.IndexError$(index, _this, "index", null, null));
26444 return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
26445 },
26446 skip$1(_, count) {
26447 var newStart, endOrLength, _this = this;
26448 A.RangeError_checkNotNegative(count, "count");
26449 newStart = _this._start + count;
26450 endOrLength = _this._endOrLength;
26451 if (endOrLength != null && newStart >= endOrLength)
26452 return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
26453 return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
26454 },
26455 take$1(_, count) {
26456 var endOrLength, t1, newEnd, _this = this;
26457 A.RangeError_checkNotNegative(count, "count");
26458 endOrLength = _this._endOrLength;
26459 t1 = _this._start;
26460 newEnd = t1 + count;
26461 if (endOrLength == null)
26462 return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
26463 else {
26464 if (endOrLength < newEnd)
26465 return _this;
26466 return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
26467 }
26468 },
26469 toList$1$growable(_, growable) {
26470 var $length, result, i, _this = this,
26471 start = _this._start,
26472 t1 = _this.__internal$_iterable,
26473 t2 = J.getInterceptor$asx(t1),
26474 end = t2.get$length(t1),
26475 endOrLength = _this._endOrLength;
26476 if (endOrLength != null && endOrLength < end)
26477 end = endOrLength;
26478 $length = end - start;
26479 if ($length <= 0) {
26480 t1 = _this.$ti._precomputed1;
26481 return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
26482 }
26483 result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
26484 for (i = 1; i < $length; ++i) {
26485 result[i] = t2.elementAt$1(t1, start + i);
26486 if (t2.get$length(t1) < end)
26487 throw A.wrapException(A.ConcurrentModificationError$(_this));
26488 }
26489 return result;
26490 },
26491 toList$0($receiver) {
26492 return this.toList$1$growable($receiver, true);
26493 }
26494 };
26495 A.ListIterator.prototype = {
26496 get$current(_) {
26497 return A._instanceType(this)._precomputed1._as(this.__internal$_current);
26498 },
26499 moveNext$0() {
26500 var t3, _this = this,
26501 t1 = _this.__internal$_iterable,
26502 t2 = J.getInterceptor$asx(t1),
26503 $length = t2.get$length(t1);
26504 if (_this.__internal$_length !== $length)
26505 throw A.wrapException(A.ConcurrentModificationError$(t1));
26506 t3 = _this.__internal$_index;
26507 if (t3 >= $length) {
26508 _this.__internal$_current = null;
26509 return false;
26510 }
26511 _this.__internal$_current = t2.elementAt$1(t1, t3);
26512 ++_this.__internal$_index;
26513 return true;
26514 }
26515 };
26516 A.MappedIterable.prototype = {
26517 get$iterator(_) {
26518 return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26519 },
26520 get$length(_) {
26521 return J.get$length$asx(this.__internal$_iterable);
26522 },
26523 get$isEmpty(_) {
26524 return J.get$isEmpty$asx(this.__internal$_iterable);
26525 },
26526 get$first(_) {
26527 return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
26528 },
26529 get$last(_) {
26530 return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
26531 },
26532 get$single(_) {
26533 return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
26534 },
26535 elementAt$1(_, index) {
26536 return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
26537 }
26538 };
26539 A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
26540 A.MappedIterator.prototype = {
26541 moveNext$0() {
26542 var _this = this,
26543 t1 = _this._iterator;
26544 if (t1.moveNext$0()) {
26545 _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
26546 return true;
26547 }
26548 _this.__internal$_current = null;
26549 return false;
26550 },
26551 get$current(_) {
26552 return A._instanceType(this)._rest[1]._as(this.__internal$_current);
26553 }
26554 };
26555 A.MappedListIterable.prototype = {
26556 get$length(_) {
26557 return J.get$length$asx(this._source);
26558 },
26559 elementAt$1(_, index) {
26560 return this._f.call$1(J.elementAt$1$ax(this._source, index));
26561 }
26562 };
26563 A.WhereIterable.prototype = {
26564 get$iterator(_) {
26565 return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26566 },
26567 map$1$1(_, toElement, $T) {
26568 return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
26569 }
26570 };
26571 A.WhereIterator.prototype = {
26572 moveNext$0() {
26573 var t1, t2;
26574 for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
26575 if (t2.call$1(t1.get$current(t1)))
26576 return true;
26577 return false;
26578 },
26579 get$current(_) {
26580 var t1 = this._iterator;
26581 return t1.get$current(t1);
26582 }
26583 };
26584 A.ExpandIterable.prototype = {
26585 get$iterator(_) {
26586 return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator);
26587 }
26588 };
26589 A.ExpandIterator.prototype = {
26590 get$current(_) {
26591 return A._instanceType(this)._rest[1]._as(this.__internal$_current);
26592 },
26593 moveNext$0() {
26594 var t2, t3, _this = this,
26595 t1 = _this._currentExpansion;
26596 if (t1 == null)
26597 return false;
26598 for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
26599 _this.__internal$_current = null;
26600 if (t2.moveNext$0()) {
26601 _this._currentExpansion = null;
26602 t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
26603 _this._currentExpansion = t1;
26604 } else
26605 return false;
26606 }
26607 t1 = _this._currentExpansion;
26608 _this.__internal$_current = t1.get$current(t1);
26609 return true;
26610 }
26611 };
26612 A.TakeIterable.prototype = {
26613 get$iterator(_) {
26614 return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount);
26615 }
26616 };
26617 A.EfficientLengthTakeIterable.prototype = {
26618 get$length(_) {
26619 var iterableLength = J.get$length$asx(this.__internal$_iterable),
26620 t1 = this._takeCount;
26621 if (iterableLength > t1)
26622 return t1;
26623 return iterableLength;
26624 },
26625 $isEfficientLengthIterable: 1
26626 };
26627 A.TakeIterator.prototype = {
26628 moveNext$0() {
26629 if (--this._remaining >= 0)
26630 return this._iterator.moveNext$0();
26631 this._remaining = -1;
26632 return false;
26633 },
26634 get$current(_) {
26635 var t1;
26636 if (this._remaining < 0)
26637 return A._instanceType(this)._precomputed1._as(null);
26638 t1 = this._iterator;
26639 return t1.get$current(t1);
26640 }
26641 };
26642 A.SkipIterable.prototype = {
26643 skip$1(_, count) {
26644 A.ArgumentError_checkNotNull(count, "count");
26645 A.RangeError_checkNotNegative(count, "count");
26646 return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
26647 },
26648 get$iterator(_) {
26649 return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
26650 }
26651 };
26652 A.EfficientLengthSkipIterable.prototype = {
26653 get$length(_) {
26654 var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
26655 if ($length >= 0)
26656 return $length;
26657 return 0;
26658 },
26659 skip$1(_, count) {
26660 A.ArgumentError_checkNotNull(count, "count");
26661 A.RangeError_checkNotNegative(count, "count");
26662 return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
26663 },
26664 $isEfficientLengthIterable: 1
26665 };
26666 A.SkipIterator.prototype = {
26667 moveNext$0() {
26668 var t1, i;
26669 for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
26670 t1.moveNext$0();
26671 this._skipCount = 0;
26672 return t1.moveNext$0();
26673 },
26674 get$current(_) {
26675 var t1 = this._iterator;
26676 return t1.get$current(t1);
26677 }
26678 };
26679 A.SkipWhileIterable.prototype = {
26680 get$iterator(_) {
26681 return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26682 }
26683 };
26684 A.SkipWhileIterator.prototype = {
26685 moveNext$0() {
26686 var t1, t2, _this = this;
26687 if (!_this._hasSkipped) {
26688 _this._hasSkipped = true;
26689 for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
26690 if (!t2.call$1(t1.get$current(t1)))
26691 return true;
26692 }
26693 return _this._iterator.moveNext$0();
26694 },
26695 get$current(_) {
26696 var t1 = this._iterator;
26697 return t1.get$current(t1);
26698 }
26699 };
26700 A.EmptyIterable.prototype = {
26701 get$iterator(_) {
26702 return B.C_EmptyIterator;
26703 },
26704 get$isEmpty(_) {
26705 return true;
26706 },
26707 get$length(_) {
26708 return 0;
26709 },
26710 get$first(_) {
26711 throw A.wrapException(A.IterableElementError_noElement());
26712 },
26713 get$last(_) {
26714 throw A.wrapException(A.IterableElementError_noElement());
26715 },
26716 get$single(_) {
26717 throw A.wrapException(A.IterableElementError_noElement());
26718 },
26719 elementAt$1(_, index) {
26720 throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
26721 },
26722 contains$1(_, element) {
26723 return false;
26724 },
26725 join$1(_, separator) {
26726 return "";
26727 },
26728 join$0($receiver) {
26729 return this.join$1($receiver, "");
26730 },
26731 where$1(_, test) {
26732 return this;
26733 },
26734 map$1$1(_, toElement, $T) {
26735 return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
26736 },
26737 skip$1(_, count) {
26738 A.RangeError_checkNotNegative(count, "count");
26739 return this;
26740 },
26741 take$1(_, count) {
26742 A.RangeError_checkNotNegative(count, "count");
26743 return this;
26744 },
26745 toList$1$growable(_, growable) {
26746 var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
26747 return t1;
26748 },
26749 toList$0($receiver) {
26750 return this.toList$1$growable($receiver, true);
26751 },
26752 toSet$0(_) {
26753 return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
26754 }
26755 };
26756 A.EmptyIterator.prototype = {
26757 moveNext$0() {
26758 return false;
26759 },
26760 get$current(_) {
26761 throw A.wrapException(A.IterableElementError_noElement());
26762 }
26763 };
26764 A.FollowedByIterable.prototype = {
26765 get$iterator(_) {
26766 return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
26767 },
26768 get$length(_) {
26769 var t1 = this._second;
26770 return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
26771 },
26772 get$isEmpty(_) {
26773 var t1;
26774 if (J.get$isEmpty$asx(this.__internal$_first)) {
26775 t1 = this._second;
26776 t1 = t1.get$isEmpty(t1);
26777 } else
26778 t1 = false;
26779 return t1;
26780 },
26781 get$isNotEmpty(_) {
26782 var t1;
26783 if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
26784 t1 = this._second;
26785 t1 = t1.get$isNotEmpty(t1);
26786 } else
26787 t1 = true;
26788 return t1;
26789 },
26790 contains$1(_, value) {
26791 var t1;
26792 if (!J.contains$1$asx(this.__internal$_first, value)) {
26793 t1 = this._second;
26794 t1 = t1.contains$1(t1, value);
26795 } else
26796 t1 = true;
26797 return t1;
26798 },
26799 get$first(_) {
26800 var t1,
26801 iterator = J.get$iterator$ax(this.__internal$_first);
26802 if (iterator.moveNext$0())
26803 return iterator.get$current(iterator);
26804 t1 = this._second;
26805 return t1.get$first(t1);
26806 },
26807 get$last(_) {
26808 var last,
26809 t1 = this._second,
26810 iterator = t1.get$iterator(t1);
26811 if (iterator.moveNext$0()) {
26812 last = iterator.get$current(iterator);
26813 for (; iterator.moveNext$0();)
26814 last = iterator.get$current(iterator);
26815 return last;
26816 }
26817 return J.get$last$ax(this.__internal$_first);
26818 }
26819 };
26820 A.EfficientLengthFollowedByIterable.prototype = {
26821 elementAt$1(_, index) {
26822 var t1 = this.__internal$_first,
26823 t2 = J.getInterceptor$asx(t1),
26824 firstLength = t2.get$length(t1);
26825 if (index < firstLength)
26826 return t2.elementAt$1(t1, index);
26827 t1 = this._second;
26828 return t1.elementAt$1(t1, index - firstLength);
26829 },
26830 get$first(_) {
26831 var t1 = this.__internal$_first,
26832 t2 = J.getInterceptor$asx(t1);
26833 if (t2.get$isNotEmpty(t1))
26834 return t2.get$first(t1);
26835 t1 = this._second;
26836 return t1.get$first(t1);
26837 },
26838 get$last(_) {
26839 var t1 = this._second;
26840 if (t1.get$isNotEmpty(t1))
26841 return t1.get$last(t1);
26842 return J.get$last$ax(this.__internal$_first);
26843 },
26844 $isEfficientLengthIterable: 1
26845 };
26846 A.FollowedByIterator.prototype = {
26847 moveNext$0() {
26848 var t1, _this = this;
26849 if (_this._currentIterator.moveNext$0())
26850 return true;
26851 t1 = _this._nextIterable;
26852 if (t1 != null) {
26853 t1 = t1.get$iterator(t1);
26854 _this._currentIterator = t1;
26855 _this._nextIterable = null;
26856 return t1.moveNext$0();
26857 }
26858 return false;
26859 },
26860 get$current(_) {
26861 var t1 = this._currentIterator;
26862 return t1.get$current(t1);
26863 }
26864 };
26865 A.WhereTypeIterable.prototype = {
26866 get$iterator(_) {
26867 return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
26868 }
26869 };
26870 A.WhereTypeIterator.prototype = {
26871 moveNext$0() {
26872 var t1, t2;
26873 for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
26874 if (t2._is(t1.get$current(t1)))
26875 return true;
26876 return false;
26877 },
26878 get$current(_) {
26879 var t1 = this._source;
26880 return this.$ti._precomputed1._as(t1.get$current(t1));
26881 }
26882 };
26883 A.FixedLengthListMixin.prototype = {
26884 set$length(receiver, newLength) {
26885 throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
26886 },
26887 add$1(receiver, value) {
26888 throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
26889 }
26890 };
26891 A.UnmodifiableListMixin.prototype = {
26892 $indexSet(_, index, value) {
26893 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26894 },
26895 set$length(_, newLength) {
26896 throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
26897 },
26898 add$1(_, value) {
26899 throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
26900 },
26901 sort$1(_, compare) {
26902 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26903 },
26904 setRange$4(_, start, end, iterable, skipCount) {
26905 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26906 },
26907 fillRange$3(_, start, end, fillValue) {
26908 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26909 }
26910 };
26911 A.UnmodifiableListBase.prototype = {};
26912 A.ReversedListIterable.prototype = {
26913 get$length(_) {
26914 return J.get$length$asx(this._source);
26915 },
26916 elementAt$1(_, index) {
26917 var t1 = this._source,
26918 t2 = J.getInterceptor$asx(t1);
26919 return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
26920 }
26921 };
26922 A.Symbol.prototype = {
26923 get$hashCode(_) {
26924 var hash = this._hashCode;
26925 if (hash != null)
26926 return hash;
26927 hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911;
26928 this._hashCode = hash;
26929 return hash;
26930 },
26931 toString$0(_) {
26932 return 'Symbol("' + A.S(this.__internal$_name) + '")';
26933 },
26934 $eq(_, other) {
26935 if (other == null)
26936 return false;
26937 return other instanceof A.Symbol && this.__internal$_name == other.__internal$_name;
26938 },
26939 $isSymbol0: 1
26940 };
26941 A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
26942 A.ConstantMapView.prototype = {};
26943 A.ConstantMap.prototype = {
26944 cast$2$0(_, RK, RV) {
26945 var t1 = A._instanceType(this);
26946 return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
26947 },
26948 get$isEmpty(_) {
26949 return this.get$length(this) === 0;
26950 },
26951 get$isNotEmpty(_) {
26952 return this.get$length(this) !== 0;
26953 },
26954 toString$0(_) {
26955 return A.MapBase_mapToString(this);
26956 },
26957 $indexSet(_, key, val) {
26958 A.ConstantMap__throwUnmodifiable();
26959 },
26960 remove$1(_, key) {
26961 A.ConstantMap__throwUnmodifiable();
26962 },
26963 addAll$1(_, other) {
26964 A.ConstantMap__throwUnmodifiable();
26965 },
26966 get$entries(_) {
26967 return this.entries$body$ConstantMap(0, A._instanceType(this)._eval$1("MapEntry<1,2>"));
26968 },
26969 entries$body$ConstantMap($async$_, $async$type) {
26970 var $async$self = this;
26971 return A._makeSyncStarIterable(function() {
26972 var _ = $async$_;
26973 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key;
26974 return function $async$get$entries($async$errorCode, $async$result) {
26975 if ($async$errorCode === 1) {
26976 $async$currentError = $async$result;
26977 $async$goto = $async$handler;
26978 }
26979 while (true)
26980 switch ($async$goto) {
26981 case 0:
26982 // Function start
26983 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>");
26984 case 2:
26985 // for condition
26986 if (!t1.moveNext$0()) {
26987 // goto after for
26988 $async$goto = 3;
26989 break;
26990 }
26991 key = t1.get$current(t1);
26992 $async$goto = 4;
26993 return new A.MapEntry(key, $async$self.$index(0, key), t2);
26994 case 4:
26995 // after yield
26996 // goto for condition
26997 $async$goto = 2;
26998 break;
26999 case 3:
27000 // after for
27001 // implicit return
27002 return A._IterationMarker_endOfIteration();
27003 case 1:
27004 // rethrow
27005 return A._IterationMarker_uncaughtError($async$currentError);
27006 }
27007 };
27008 }, $async$type);
27009 },
27010 $isMap: 1
27011 };
27012 A.ConstantStringMap.prototype = {
27013 get$length(_) {
27014 return this.__js_helper$_length;
27015 },
27016 containsKey$1(key) {
27017 if (typeof key != "string")
27018 return false;
27019 if ("__proto__" === key)
27020 return false;
27021 return this._jsObject.hasOwnProperty(key);
27022 },
27023 $index(_, key) {
27024 if (!this.containsKey$1(key))
27025 return null;
27026 return this._jsObject[key];
27027 },
27028 forEach$1(_, f) {
27029 var t1, t2, i, key,
27030 keys = this.__js_helper$_keys;
27031 for (t1 = keys.length, t2 = this._jsObject, i = 0; i < t1; ++i) {
27032 key = keys[i];
27033 f.call$2(key, t2[key]);
27034 }
27035 },
27036 get$keys(_) {
27037 return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>"));
27038 },
27039 get$values(_) {
27040 var t1 = this.$ti;
27041 return A.MappedIterable_MappedIterable(this.__js_helper$_keys, new A.ConstantStringMap_values_closure(this), t1._precomputed1, t1._rest[1]);
27042 }
27043 };
27044 A.ConstantStringMap_values_closure.prototype = {
27045 call$1(key) {
27046 return this.$this._jsObject[key];
27047 },
27048 $signature() {
27049 return this.$this.$ti._eval$1("2(1)");
27050 }
27051 };
27052 A._ConstantMapKeyIterable.prototype = {
27053 get$iterator(_) {
27054 var t1 = this.__js_helper$_map.__js_helper$_keys;
27055 return new J.ArrayIterator(t1, t1.length);
27056 },
27057 get$length(_) {
27058 return this.__js_helper$_map.__js_helper$_keys.length;
27059 }
27060 };
27061 A.Instantiation.prototype = {
27062 Instantiation$1(_genericClosure) {
27063 if (false)
27064 A.instantiatedGenericFunctionType(0, 0);
27065 },
27066 $eq(_, other) {
27067 if (other == null)
27068 return false;
27069 return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeType(this) === A.getRuntimeType(other);
27070 },
27071 get$hashCode(_) {
27072 return A.Object_hash(this._genericClosure, A.getRuntimeType(this), B.C_SentinelValue);
27073 },
27074 toString$0(_) {
27075 var types = "<" + B.JSArray_methods.join$1(this.get$_types(), ", ") + ">";
27076 return this._genericClosure.toString$0(0) + " with " + types;
27077 }
27078 };
27079 A.Instantiation1.prototype = {
27080 get$_types() {
27081 return [A.createRuntimeType(this.$ti._precomputed1)];
27082 },
27083 call$0() {
27084 return this._genericClosure.call$1$0(this.$ti._rest[0]);
27085 },
27086 call$2(a0, a1) {
27087 return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
27088 },
27089 call$3(a0, a1, a2) {
27090 return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
27091 },
27092 call$4(a0, a1, a2, a3) {
27093 return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
27094 },
27095 $signature() {
27096 return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
27097 }
27098 };
27099 A.JSInvocationMirror.prototype = {
27100 get$memberName() {
27101 var t1 = this.__js_helper$_memberName;
27102 return t1;
27103 },
27104 get$positionalArguments() {
27105 var t1, argumentCount, list, index, _this = this;
27106 if (_this.__js_helper$_kind === 1)
27107 return B.List_empty9;
27108 t1 = _this._arguments;
27109 argumentCount = t1.length - _this._namedArgumentNames.length - _this._typeArgumentCount;
27110 if (argumentCount === 0)
27111 return B.List_empty9;
27112 list = [];
27113 for (index = 0; index < argumentCount; ++index)
27114 list.push(t1[index]);
27115 return J.JSArray_markUnmodifiableList(list);
27116 },
27117 get$namedArguments() {
27118 var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, _this = this;
27119 if (_this.__js_helper$_kind !== 0)
27120 return B.Map_empty4;
27121 t1 = _this._namedArgumentNames;
27122 namedArgumentCount = t1.length;
27123 t2 = _this._arguments;
27124 namedArgumentsStartIndex = t2.length - namedArgumentCount - _this._typeArgumentCount;
27125 if (namedArgumentCount === 0)
27126 return B.Map_empty4;
27127 map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
27128 for (i = 0; i < namedArgumentCount; ++i)
27129 map.$indexSet(0, new A.Symbol(t1[i]), t2[namedArgumentsStartIndex + i]);
27130 return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
27131 }
27132 };
27133 A.Primitives_functionNoSuchMethod_closure.prototype = {
27134 call$2($name, argument) {
27135 var t1 = this._box_0;
27136 t1.names = t1.names + "$" + $name;
27137 this.namedArgumentList.push($name);
27138 this.$arguments.push(argument);
27139 ++t1.argumentCount;
27140 },
27141 $signature: 232
27142 };
27143 A.TypeErrorDecoder.prototype = {
27144 matchTypeError$1(message) {
27145 var result, t1, _this = this,
27146 match = new RegExp(_this._pattern).exec(message);
27147 if (match == null)
27148 return null;
27149 result = Object.create(null);
27150 t1 = _this._arguments;
27151 if (t1 !== -1)
27152 result.arguments = match[t1 + 1];
27153 t1 = _this._argumentsExpr;
27154 if (t1 !== -1)
27155 result.argumentsExpr = match[t1 + 1];
27156 t1 = _this._expr;
27157 if (t1 !== -1)
27158 result.expr = match[t1 + 1];
27159 t1 = _this._method;
27160 if (t1 !== -1)
27161 result.method = match[t1 + 1];
27162 t1 = _this._receiver;
27163 if (t1 !== -1)
27164 result.receiver = match[t1 + 1];
27165 return result;
27166 }
27167 };
27168 A.NullError.prototype = {
27169 toString$0(_) {
27170 var t1 = this._method;
27171 if (t1 == null)
27172 return "NoSuchMethodError: " + this.__js_helper$_message;
27173 return "NoSuchMethodError: method not found: '" + t1 + "' on null";
27174 }
27175 };
27176 A.JsNoSuchMethodError.prototype = {
27177 toString$0(_) {
27178 var t2, _this = this,
27179 _s38_ = "NoSuchMethodError: method not found: '",
27180 t1 = _this._method;
27181 if (t1 == null)
27182 return "NoSuchMethodError: " + _this.__js_helper$_message;
27183 t2 = _this._receiver;
27184 if (t2 == null)
27185 return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
27186 return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
27187 }
27188 };
27189 A.UnknownJsTypeError.prototype = {
27190 toString$0(_) {
27191 var t1 = this.__js_helper$_message;
27192 return t1.length === 0 ? "Error" : "Error: " + t1;
27193 }
27194 };
27195 A.NullThrownFromJavaScriptException.prototype = {
27196 toString$0(_) {
27197 return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
27198 },
27199 $isException: 1
27200 };
27201 A.ExceptionAndStackTrace.prototype = {};
27202 A._StackTrace.prototype = {
27203 toString$0(_) {
27204 var trace,
27205 t1 = this._trace;
27206 if (t1 != null)
27207 return t1;
27208 t1 = this._exception;
27209 trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
27210 return this._trace = trace == null ? "" : trace;
27211 },
27212 $isStackTrace: 1
27213 };
27214 A.Closure.prototype = {
27215 toString$0(_) {
27216 var $constructor = this.constructor,
27217 $name = $constructor == null ? null : $constructor.name;
27218 return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
27219 },
27220 $isFunction: 1,
27221 get$$call() {
27222 return this;
27223 },
27224 "call*": "call$1",
27225 $requiredArgCount: 1,
27226 $defaultValues: null
27227 };
27228 A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
27229 A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
27230 A.TearOffClosure.prototype = {};
27231 A.StaticClosure.prototype = {
27232 toString$0(_) {
27233 var $name = this.$static_name;
27234 if ($name == null)
27235 return "Closure of unknown static method";
27236 return "Closure '" + A.unminifyOrTag($name) + "'";
27237 }
27238 };
27239 A.BoundClosure.prototype = {
27240 $eq(_, other) {
27241 if (other == null)
27242 return false;
27243 if (this === other)
27244 return true;
27245 if (!(other instanceof A.BoundClosure))
27246 return false;
27247 return this.$_target === other.$_target && this._receiver === other._receiver;
27248 },
27249 get$hashCode(_) {
27250 return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
27251 },
27252 toString$0(_) {
27253 return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
27254 }
27255 };
27256 A.RuntimeError.prototype = {
27257 toString$0(_) {
27258 return "RuntimeError: " + this.message;
27259 },
27260 get$message(receiver) {
27261 return this.message;
27262 }
27263 };
27264 A._Required.prototype = {};
27265 A.JsLinkedHashMap.prototype = {
27266 get$length(_) {
27267 return this.__js_helper$_length;
27268 },
27269 get$isEmpty(_) {
27270 return this.__js_helper$_length === 0;
27271 },
27272 get$isNotEmpty(_) {
27273 return !this.get$isEmpty(this);
27274 },
27275 get$keys(_) {
27276 return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"));
27277 },
27278 get$values(_) {
27279 var _this = this,
27280 t1 = A._instanceType(_this);
27281 return A.MappedIterable_MappedIterable(_this.get$keys(_this), new A.JsLinkedHashMap_values_closure(_this), t1._precomputed1, t1._rest[1]);
27282 },
27283 containsKey$1(key) {
27284 var strings, nums, _this = this;
27285 if (typeof key == "string") {
27286 strings = _this._strings;
27287 if (strings == null)
27288 return false;
27289 return _this._containsTableEntry$2(strings, key);
27290 } else if (typeof key == "number" && (key & 0x3ffffff) === key) {
27291 nums = _this._nums;
27292 if (nums == null)
27293 return false;
27294 return _this._containsTableEntry$2(nums, key);
27295 } else
27296 return _this.internalContainsKey$1(key);
27297 },
27298 internalContainsKey$1(key) {
27299 var _this = this,
27300 rest = _this.__js_helper$_rest;
27301 if (rest == null)
27302 return false;
27303 return _this.internalFindBucketIndex$2(_this._getTableBucket$2(rest, _this.internalComputeHashCode$1(key)), key) >= 0;
27304 },
27305 addAll$1(_, other) {
27306 other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
27307 },
27308 $index(_, key) {
27309 var strings, cell, t1, nums, _this = this, _null = null;
27310 if (typeof key == "string") {
27311 strings = _this._strings;
27312 if (strings == null)
27313 return _null;
27314 cell = _this._getTableCell$2(strings, key);
27315 t1 = cell == null ? _null : cell.hashMapCellValue;
27316 return t1;
27317 } else if (typeof key == "number" && (key & 0x3ffffff) === key) {
27318 nums = _this._nums;
27319 if (nums == null)
27320 return _null;
27321 cell = _this._getTableCell$2(nums, key);
27322 t1 = cell == null ? _null : cell.hashMapCellValue;
27323 return t1;
27324 } else
27325 return _this.internalGet$1(key);
27326 },
27327 internalGet$1(key) {
27328 var bucket, index, _this = this,
27329 rest = _this.__js_helper$_rest;
27330 if (rest == null)
27331 return null;
27332 bucket = _this._getTableBucket$2(rest, _this.internalComputeHashCode$1(key));
27333 index = _this.internalFindBucketIndex$2(bucket, key);
27334 if (index < 0)
27335 return null;
27336 return bucket[index].hashMapCellValue;
27337 },
27338 $indexSet(_, key, value) {
27339 var strings, nums, _this = this;
27340 if (typeof key == "string") {
27341 strings = _this._strings;
27342 _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
27343 } else if (typeof key == "number" && (key & 0x3ffffff) === key) {
27344 nums = _this._nums;
27345 _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
27346 } else
27347 _this.internalSet$2(key, value);
27348 },
27349 internalSet$2(key, value) {
27350 var hash, bucket, index, _this = this,
27351 rest = _this.__js_helper$_rest;
27352 if (rest == null)
27353 rest = _this.__js_helper$_rest = _this._newHashTable$0();
27354 hash = _this.internalComputeHashCode$1(key);
27355 bucket = _this._getTableBucket$2(rest, hash);
27356 if (bucket == null)
27357 _this._setTableEntry$3(rest, hash, [_this._newLinkedCell$2(key, value)]);
27358 else {
27359 index = _this.internalFindBucketIndex$2(bucket, key);
27360 if (index >= 0)
27361 bucket[index].hashMapCellValue = value;
27362 else
27363 bucket.push(_this._newLinkedCell$2(key, value));
27364 }
27365 },
27366 putIfAbsent$2(key, ifAbsent) {
27367 var value, _this = this;
27368 if (_this.containsKey$1(key))
27369 return A._instanceType(_this)._rest[1]._as(_this.$index(0, key));
27370 value = ifAbsent.call$0();
27371 _this.$indexSet(0, key, value);
27372 return value;
27373 },
27374 remove$1(_, key) {
27375 var _this = this;
27376 if (typeof key == "string")
27377 return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
27378 else if (typeof key == "number" && (key & 0x3ffffff) === key)
27379 return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
27380 else
27381 return _this.internalRemove$1(key);
27382 },
27383 internalRemove$1(key) {
27384 var hash, bucket, index, cell, _this = this,
27385 rest = _this.__js_helper$_rest;
27386 if (rest == null)
27387 return null;
27388 hash = _this.internalComputeHashCode$1(key);
27389 bucket = _this._getTableBucket$2(rest, hash);
27390 index = _this.internalFindBucketIndex$2(bucket, key);
27391 if (index < 0)
27392 return null;
27393 cell = bucket.splice(index, 1)[0];
27394 _this.__js_helper$_unlinkCell$1(cell);
27395 if (bucket.length === 0)
27396 _this._deleteTableEntry$2(rest, hash);
27397 return cell.hashMapCellValue;
27398 },
27399 clear$0(_) {
27400 var _this = this;
27401 if (_this.__js_helper$_length > 0) {
27402 _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
27403 _this.__js_helper$_length = 0;
27404 _this._modified$0();
27405 }
27406 },
27407 forEach$1(_, action) {
27408 var _this = this,
27409 cell = _this._first,
27410 modifications = _this._modifications;
27411 for (; cell != null;) {
27412 action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
27413 if (modifications !== _this._modifications)
27414 throw A.wrapException(A.ConcurrentModificationError$(_this));
27415 cell = cell._next;
27416 }
27417 },
27418 _addHashTableEntry$3(table, key, value) {
27419 var cell = this._getTableCell$2(table, key);
27420 if (cell == null)
27421 this._setTableEntry$3(table, key, this._newLinkedCell$2(key, value));
27422 else
27423 cell.hashMapCellValue = value;
27424 },
27425 __js_helper$_removeHashTableEntry$2(table, key) {
27426 var cell;
27427 if (table == null)
27428 return null;
27429 cell = this._getTableCell$2(table, key);
27430 if (cell == null)
27431 return null;
27432 this.__js_helper$_unlinkCell$1(cell);
27433 this._deleteTableEntry$2(table, key);
27434 return cell.hashMapCellValue;
27435 },
27436 _modified$0() {
27437 this._modifications = this._modifications + 1 & 67108863;
27438 },
27439 _newLinkedCell$2(key, value) {
27440 var t1, _this = this,
27441 cell = new A.LinkedHashMapCell(key, value);
27442 if (_this._first == null)
27443 _this._first = _this._last = cell;
27444 else {
27445 t1 = _this._last;
27446 t1.toString;
27447 cell._previous = t1;
27448 _this._last = t1._next = cell;
27449 }
27450 ++_this.__js_helper$_length;
27451 _this._modified$0();
27452 return cell;
27453 },
27454 __js_helper$_unlinkCell$1(cell) {
27455 var _this = this,
27456 previous = cell._previous,
27457 next = cell._next;
27458 if (previous == null)
27459 _this._first = next;
27460 else
27461 previous._next = next;
27462 if (next == null)
27463 _this._last = previous;
27464 else
27465 next._previous = previous;
27466 --_this.__js_helper$_length;
27467 _this._modified$0();
27468 },
27469 internalComputeHashCode$1(key) {
27470 return J.get$hashCode$(key) & 0x3ffffff;
27471 },
27472 internalFindBucketIndex$2(bucket, key) {
27473 var $length, i;
27474 if (bucket == null)
27475 return -1;
27476 $length = bucket.length;
27477 for (i = 0; i < $length; ++i)
27478 if (J.$eq$(bucket[i].hashMapCellKey, key))
27479 return i;
27480 return -1;
27481 },
27482 toString$0(_) {
27483 return A.MapBase_mapToString(this);
27484 },
27485 _getTableCell$2(table, key) {
27486 return table[key];
27487 },
27488 _getTableBucket$2(table, key) {
27489 return table[key];
27490 },
27491 _setTableEntry$3(table, key, value) {
27492 table[key] = value;
27493 },
27494 _deleteTableEntry$2(table, key) {
27495 delete table[key];
27496 },
27497 _containsTableEntry$2(table, key) {
27498 return this._getTableCell$2(table, key) != null;
27499 },
27500 _newHashTable$0() {
27501 var _s20_ = "<non-identifier-key>",
27502 table = Object.create(null);
27503 this._setTableEntry$3(table, _s20_, table);
27504 this._deleteTableEntry$2(table, _s20_);
27505 return table;
27506 }
27507 };
27508 A.JsLinkedHashMap_values_closure.prototype = {
27509 call$1(each) {
27510 var t1 = this.$this;
27511 return A._instanceType(t1)._rest[1]._as(t1.$index(0, each));
27512 },
27513 $signature() {
27514 return A._instanceType(this.$this)._eval$1("2(1)");
27515 }
27516 };
27517 A.JsLinkedHashMap_addAll_closure.prototype = {
27518 call$2(key, value) {
27519 this.$this.$indexSet(0, key, value);
27520 },
27521 $signature() {
27522 return A._instanceType(this.$this)._eval$1("~(1,2)");
27523 }
27524 };
27525 A.LinkedHashMapCell.prototype = {};
27526 A.LinkedHashMapKeyIterable.prototype = {
27527 get$length(_) {
27528 return this.__js_helper$_map.__js_helper$_length;
27529 },
27530 get$isEmpty(_) {
27531 return this.__js_helper$_map.__js_helper$_length === 0;
27532 },
27533 get$iterator(_) {
27534 var t1 = this.__js_helper$_map,
27535 t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications);
27536 t2._cell = t1._first;
27537 return t2;
27538 },
27539 contains$1(_, element) {
27540 return this.__js_helper$_map.containsKey$1(element);
27541 }
27542 };
27543 A.LinkedHashMapKeyIterator.prototype = {
27544 get$current(_) {
27545 return this.__js_helper$_current;
27546 },
27547 moveNext$0() {
27548 var cell, _this = this,
27549 t1 = _this.__js_helper$_map;
27550 if (_this._modifications !== t1._modifications)
27551 throw A.wrapException(A.ConcurrentModificationError$(t1));
27552 cell = _this._cell;
27553 if (cell == null) {
27554 _this.__js_helper$_current = null;
27555 return false;
27556 } else {
27557 _this.__js_helper$_current = cell.hashMapCellKey;
27558 _this._cell = cell._next;
27559 return true;
27560 }
27561 }
27562 };
27563 A.initHooks_closure.prototype = {
27564 call$1(o) {
27565 return this.getTag(o);
27566 },
27567 $signature: 100
27568 };
27569 A.initHooks_closure0.prototype = {
27570 call$2(o, tag) {
27571 return this.getUnknownTag(o, tag);
27572 },
27573 $signature: 363
27574 };
27575 A.initHooks_closure1.prototype = {
27576 call$1(tag) {
27577 return this.prototypeForTag(tag);
27578 },
27579 $signature: 541
27580 };
27581 A.JSSyntaxRegExp.prototype = {
27582 toString$0(_) {
27583 return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
27584 },
27585 get$_nativeGlobalVersion() {
27586 var _this = this,
27587 t1 = _this._nativeGlobalRegExp;
27588 if (t1 != null)
27589 return t1;
27590 t1 = _this._nativeRegExp;
27591 return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
27592 },
27593 get$_nativeAnchoredVersion() {
27594 var _this = this,
27595 t1 = _this._nativeAnchoredRegExp;
27596 if (t1 != null)
27597 return t1;
27598 t1 = _this._nativeRegExp;
27599 return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
27600 },
27601 firstMatch$1(string) {
27602 var m = this._nativeRegExp.exec(string);
27603 if (m == null)
27604 return null;
27605 return new A._MatchImplementation(m);
27606 },
27607 allMatches$2(_, string, start) {
27608 var t1 = string.length;
27609 if (start > t1)
27610 throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
27611 return new A._AllMatchesIterable(this, string, start);
27612 },
27613 allMatches$1($receiver, string) {
27614 return this.allMatches$2($receiver, string, 0);
27615 },
27616 _execGlobal$2(string, start) {
27617 var match,
27618 regexp = this.get$_nativeGlobalVersion();
27619 regexp.lastIndex = start;
27620 match = regexp.exec(string);
27621 if (match == null)
27622 return null;
27623 return new A._MatchImplementation(match);
27624 },
27625 _execAnchored$2(string, start) {
27626 var match,
27627 regexp = this.get$_nativeAnchoredVersion();
27628 regexp.lastIndex = start;
27629 match = regexp.exec(string);
27630 if (match == null)
27631 return null;
27632 if (match.pop() != null)
27633 return null;
27634 return new A._MatchImplementation(match);
27635 },
27636 matchAsPrefix$2(_, string, start) {
27637 if (start < 0 || start > string.length)
27638 throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
27639 return this._execAnchored$2(string, start);
27640 }
27641 };
27642 A._MatchImplementation.prototype = {
27643 get$start(_) {
27644 return this._match.index;
27645 },
27646 get$end(_) {
27647 var t1 = this._match;
27648 return t1.index + t1[0].length;
27649 },
27650 $isMatch: 1,
27651 $isRegExpMatch: 1
27652 };
27653 A._AllMatchesIterable.prototype = {
27654 get$iterator(_) {
27655 return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start);
27656 }
27657 };
27658 A._AllMatchesIterator.prototype = {
27659 get$current(_) {
27660 return type$.RegExpMatch._as(this.__js_helper$_current);
27661 },
27662 moveNext$0() {
27663 var t1, t2, t3, match, nextIndex, _this = this,
27664 string = _this.__js_helper$_string;
27665 if (string == null)
27666 return false;
27667 t1 = _this._nextIndex;
27668 t2 = string.length;
27669 if (t1 <= t2) {
27670 t3 = _this._regExp;
27671 match = t3._execGlobal$2(string, t1);
27672 if (match != null) {
27673 _this.__js_helper$_current = match;
27674 nextIndex = match.get$end(match);
27675 if (match._match.index === nextIndex) {
27676 if (t3._nativeRegExp.unicode) {
27677 t1 = _this._nextIndex;
27678 t3 = t1 + 1;
27679 if (t3 < t2) {
27680 t1 = B.JSString_methods.codeUnitAt$1(string, t1);
27681 if (t1 >= 55296 && t1 <= 56319) {
27682 t1 = B.JSString_methods.codeUnitAt$1(string, t3);
27683 t1 = t1 >= 56320 && t1 <= 57343;
27684 } else
27685 t1 = false;
27686 } else
27687 t1 = false;
27688 } else
27689 t1 = false;
27690 nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
27691 }
27692 _this._nextIndex = nextIndex;
27693 return true;
27694 }
27695 }
27696 _this.__js_helper$_string = _this.__js_helper$_current = null;
27697 return false;
27698 }
27699 };
27700 A.StringMatch.prototype = {
27701 get$end(_) {
27702 return this.start + this.pattern.length;
27703 },
27704 $isMatch: 1,
27705 get$start(receiver) {
27706 return this.start;
27707 }
27708 };
27709 A._StringAllMatchesIterable.prototype = {
27710 get$iterator(_) {
27711 return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
27712 },
27713 get$first(_) {
27714 var t1 = this._pattern,
27715 index = this._input.indexOf(t1, this.__js_helper$_index);
27716 if (index >= 0)
27717 return new A.StringMatch(index, t1);
27718 throw A.wrapException(A.IterableElementError_noElement());
27719 }
27720 };
27721 A._StringAllMatchesIterator.prototype = {
27722 moveNext$0() {
27723 var index, end, _this = this,
27724 t1 = _this.__js_helper$_index,
27725 t2 = _this._pattern,
27726 t3 = t2.length,
27727 t4 = _this._input,
27728 t5 = t4.length;
27729 if (t1 + t3 > t5) {
27730 _this.__js_helper$_current = null;
27731 return false;
27732 }
27733 index = t4.indexOf(t2, t1);
27734 if (index < 0) {
27735 _this.__js_helper$_index = t5 + 1;
27736 _this.__js_helper$_current = null;
27737 return false;
27738 }
27739 end = index + t3;
27740 _this.__js_helper$_current = new A.StringMatch(index, t2);
27741 _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
27742 return true;
27743 },
27744 get$current(_) {
27745 var t1 = this.__js_helper$_current;
27746 t1.toString;
27747 return t1;
27748 }
27749 };
27750 A._Cell.prototype = {
27751 _readLocal$0() {
27752 var t1 = this._value;
27753 if (t1 === this)
27754 throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
27755 return t1;
27756 }
27757 };
27758 A.NativeTypedData.prototype = {
27759 _invalidPosition$3(receiver, position, $length, $name) {
27760 var t1 = A.RangeError$range(position, 0, $length, $name, null);
27761 throw A.wrapException(t1);
27762 },
27763 _checkPosition$3(receiver, position, $length, $name) {
27764 if (position >>> 0 !== position || position > $length)
27765 this._invalidPosition$3(receiver, position, $length, $name);
27766 }
27767 };
27768 A.NativeTypedArray.prototype = {
27769 get$length(receiver) {
27770 return receiver.length;
27771 },
27772 _setRangeFast$4(receiver, start, end, source, skipCount) {
27773 var count, sourceLength,
27774 targetLength = receiver.length;
27775 this._checkPosition$3(receiver, start, targetLength, "start");
27776 this._checkPosition$3(receiver, end, targetLength, "end");
27777 if (start > end)
27778 throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
27779 count = end - start;
27780 if (skipCount < 0)
27781 throw A.wrapException(A.ArgumentError$(skipCount, null));
27782 sourceLength = source.length;
27783 if (sourceLength - skipCount < count)
27784 throw A.wrapException(A.StateError$("Not enough elements"));
27785 if (skipCount !== 0 || sourceLength !== count)
27786 source = source.subarray(skipCount, skipCount + count);
27787 receiver.set(source, start);
27788 },
27789 $isJavaScriptIndexingBehavior: 1
27790 };
27791 A.NativeTypedArrayOfDouble.prototype = {
27792 $index(receiver, index) {
27793 A._checkValidIndex(index, receiver, receiver.length);
27794 return receiver[index];
27795 },
27796 $indexSet(receiver, index, value) {
27797 A._checkValidIndex(index, receiver, receiver.length);
27798 receiver[index] = value;
27799 },
27800 setRange$4(receiver, start, end, iterable, skipCount) {
27801 if (type$.NativeTypedArrayOfDouble._is(iterable)) {
27802 this._setRangeFast$4(receiver, start, end, iterable, skipCount);
27803 return;
27804 }
27805 this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
27806 },
27807 $isEfficientLengthIterable: 1,
27808 $isIterable: 1,
27809 $isList: 1
27810 };
27811 A.NativeTypedArrayOfInt.prototype = {
27812 $indexSet(receiver, index, value) {
27813 A._checkValidIndex(index, receiver, receiver.length);
27814 receiver[index] = value;
27815 },
27816 setRange$4(receiver, start, end, iterable, skipCount) {
27817 if (type$.NativeTypedArrayOfInt._is(iterable)) {
27818 this._setRangeFast$4(receiver, start, end, iterable, skipCount);
27819 return;
27820 }
27821 this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
27822 },
27823 $isEfficientLengthIterable: 1,
27824 $isIterable: 1,
27825 $isList: 1
27826 };
27827 A.NativeFloat32List.prototype = {
27828 sublist$2(receiver, start, end) {
27829 return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27830 }
27831 };
27832 A.NativeFloat64List.prototype = {
27833 sublist$2(receiver, start, end) {
27834 return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27835 }
27836 };
27837 A.NativeInt16List.prototype = {
27838 $index(receiver, index) {
27839 A._checkValidIndex(index, receiver, receiver.length);
27840 return receiver[index];
27841 },
27842 sublist$2(receiver, start, end) {
27843 return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27844 }
27845 };
27846 A.NativeInt32List.prototype = {
27847 $index(receiver, index) {
27848 A._checkValidIndex(index, receiver, receiver.length);
27849 return receiver[index];
27850 },
27851 sublist$2(receiver, start, end) {
27852 return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27853 }
27854 };
27855 A.NativeInt8List.prototype = {
27856 $index(receiver, index) {
27857 A._checkValidIndex(index, receiver, receiver.length);
27858 return receiver[index];
27859 },
27860 sublist$2(receiver, start, end) {
27861 return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27862 }
27863 };
27864 A.NativeUint16List.prototype = {
27865 $index(receiver, index) {
27866 A._checkValidIndex(index, receiver, receiver.length);
27867 return receiver[index];
27868 },
27869 sublist$2(receiver, start, end) {
27870 return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27871 }
27872 };
27873 A.NativeUint32List.prototype = {
27874 $index(receiver, index) {
27875 A._checkValidIndex(index, receiver, receiver.length);
27876 return receiver[index];
27877 },
27878 sublist$2(receiver, start, end) {
27879 return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27880 }
27881 };
27882 A.NativeUint8ClampedList.prototype = {
27883 get$length(receiver) {
27884 return receiver.length;
27885 },
27886 $index(receiver, index) {
27887 A._checkValidIndex(index, receiver, receiver.length);
27888 return receiver[index];
27889 },
27890 sublist$2(receiver, start, end) {
27891 return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27892 }
27893 };
27894 A.NativeUint8List.prototype = {
27895 get$length(receiver) {
27896 return receiver.length;
27897 },
27898 $index(receiver, index) {
27899 A._checkValidIndex(index, receiver, receiver.length);
27900 return receiver[index];
27901 },
27902 sublist$2(receiver, start, end) {
27903 return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27904 },
27905 $isNativeUint8List: 1,
27906 $isUint8List: 1
27907 };
27908 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
27909 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
27910 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
27911 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
27912 A.Rti.prototype = {
27913 _eval$1(recipe) {
27914 return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
27915 },
27916 _bind$1(typeOrTuple) {
27917 return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
27918 }
27919 };
27920 A._FunctionParameters.prototype = {};
27921 A._Type.prototype = {
27922 toString$0(_) {
27923 return A._rtiToString(this._rti, null);
27924 }
27925 };
27926 A._Error.prototype = {
27927 toString$0(_) {
27928 return this.__rti$_message;
27929 }
27930 };
27931 A._TypeError.prototype = {
27932 get$message(_) {
27933 return this.__rti$_message;
27934 },
27935 $isTypeError: 1
27936 };
27937 A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
27938 call$1(_) {
27939 var t1 = this._box_0,
27940 f = t1.storedCallback;
27941 t1.storedCallback = null;
27942 f.call$0();
27943 },
27944 $signature: 64
27945 };
27946 A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
27947 call$1(callback) {
27948 var t1, t2;
27949 this._box_0.storedCallback = callback;
27950 t1 = this.div;
27951 t2 = this.span;
27952 t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
27953 },
27954 $signature: 26
27955 };
27956 A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
27957 call$0() {
27958 this.callback.call$0();
27959 },
27960 $signature: 1
27961 };
27962 A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
27963 call$0() {
27964 this.callback.call$0();
27965 },
27966 $signature: 1
27967 };
27968 A._TimerImpl.prototype = {
27969 _TimerImpl$2(milliseconds, callback) {
27970 if (self.setTimeout != null)
27971 this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
27972 else
27973 throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
27974 },
27975 _TimerImpl$periodic$2(milliseconds, callback) {
27976 if (self.setTimeout != null)
27977 this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
27978 else
27979 throw A.wrapException(A.UnsupportedError$("Periodic timer."));
27980 },
27981 cancel$0() {
27982 if (self.setTimeout != null) {
27983 var t1 = this._handle;
27984 if (t1 == null)
27985 return;
27986 if (this._once)
27987 self.clearTimeout(t1);
27988 else
27989 self.clearInterval(t1);
27990 this._handle = null;
27991 } else
27992 throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
27993 }
27994 };
27995 A._TimerImpl_internalCallback.prototype = {
27996 call$0() {
27997 var t1 = this.$this;
27998 t1._handle = null;
27999 t1._tick = 1;
28000 this.callback.call$0();
28001 },
28002 $signature: 0
28003 };
28004 A._TimerImpl$periodic_closure.prototype = {
28005 call$0() {
28006 var duration, _this = this,
28007 t1 = _this.$this,
28008 tick = t1._tick + 1,
28009 t2 = _this.milliseconds;
28010 if (t2 > 0) {
28011 duration = Date.now() - _this.start;
28012 if (duration > (tick + 1) * t2)
28013 tick = B.JSInt_methods.$tdiv(duration, t2);
28014 }
28015 t1._tick = tick;
28016 _this.callback.call$1(t1);
28017 },
28018 $signature: 1
28019 };
28020 A._AsyncAwaitCompleter.prototype = {
28021 complete$1(value) {
28022 var t1, _this = this;
28023 if (value == null)
28024 value = _this.$ti._precomputed1._as(value);
28025 if (!_this.isSync)
28026 _this._future._asyncComplete$1(value);
28027 else {
28028 t1 = _this._future;
28029 if (_this.$ti._eval$1("Future<1>")._is(value))
28030 t1._chainFuture$1(value);
28031 else
28032 t1._completeWithValue$1(value);
28033 }
28034 },
28035 completeError$2(e, st) {
28036 var t1 = this._future;
28037 if (this.isSync)
28038 t1._completeError$2(e, st);
28039 else
28040 t1._asyncCompleteError$2(e, st);
28041 }
28042 };
28043 A._awaitOnObject_closure.prototype = {
28044 call$1(result) {
28045 return this.bodyFunction.call$2(0, result);
28046 },
28047 $signature: 121
28048 };
28049 A._awaitOnObject_closure0.prototype = {
28050 call$2(error, stackTrace) {
28051 this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
28052 },
28053 $signature: 199
28054 };
28055 A._wrapJsFunctionForAsync_closure.prototype = {
28056 call$2(errorCode, result) {
28057 this.$protected(errorCode, result);
28058 },
28059 $signature: 576
28060 };
28061 A._IterationMarker.prototype = {
28062 toString$0(_) {
28063 return "IterationMarker(" + this.state + ", " + A.S(this.value) + ")";
28064 }
28065 };
28066 A._SyncStarIterator.prototype = {
28067 get$current(_) {
28068 var nested = this._nestedIterator;
28069 if (nested == null)
28070 return this._async$_current;
28071 return nested.get$current(nested);
28072 },
28073 moveNext$0() {
28074 var t1, value, state, suspendedBodies, inner, _this = this;
28075 for (; true;) {
28076 t1 = _this._nestedIterator;
28077 if (t1 != null)
28078 if (t1.moveNext$0())
28079 return true;
28080 else
28081 _this._nestedIterator = null;
28082 value = function(body, SUCCESS, ERROR) {
28083 var errorValue,
28084 errorCode = SUCCESS;
28085 while (true)
28086 try {
28087 return body(errorCode, errorValue);
28088 } catch (error) {
28089 errorValue = error;
28090 errorCode = ERROR;
28091 }
28092 }(_this._body, 0, 1);
28093 if (value instanceof A._IterationMarker) {
28094 state = value.state;
28095 if (state === 2) {
28096 suspendedBodies = _this._suspendedBodies;
28097 if (suspendedBodies == null || suspendedBodies.length === 0) {
28098 _this._async$_current = null;
28099 return false;
28100 }
28101 _this._body = suspendedBodies.pop();
28102 continue;
28103 } else {
28104 t1 = value.value;
28105 if (state === 3)
28106 throw t1;
28107 else {
28108 inner = J.get$iterator$ax(t1);
28109 if (inner instanceof A._SyncStarIterator) {
28110 t1 = _this._suspendedBodies;
28111 if (t1 == null)
28112 t1 = _this._suspendedBodies = [];
28113 t1.push(_this._body);
28114 _this._body = inner._body;
28115 continue;
28116 } else {
28117 _this._nestedIterator = inner;
28118 continue;
28119 }
28120 }
28121 }
28122 } else {
28123 _this._async$_current = value;
28124 return true;
28125 }
28126 }
28127 return false;
28128 }
28129 };
28130 A._SyncStarIterable.prototype = {
28131 get$iterator(_) {
28132 return new A._SyncStarIterator(this._outerHelper());
28133 }
28134 };
28135 A.AsyncError.prototype = {
28136 toString$0(_) {
28137 return A.S(this.error);
28138 },
28139 $isError: 1,
28140 get$stackTrace() {
28141 return this.stackTrace;
28142 }
28143 };
28144 A.Future_wait_handleError.prototype = {
28145 call$2(theError, theStackTrace) {
28146 var _this = this,
28147 t1 = _this._box_0,
28148 t2 = --t1.remaining;
28149 if (t1.values != null) {
28150 t1.values = null;
28151 if (t1.remaining === 0 || _this.eagerError)
28152 _this._future._completeError$2(theError, theStackTrace);
28153 else {
28154 _this.error._value = theError;
28155 _this.stackTrace._value = theStackTrace;
28156 }
28157 } else if (t2 === 0 && !_this.eagerError)
28158 _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
28159 },
28160 $signature: 65
28161 };
28162 A.Future_wait_closure.prototype = {
28163 call$1(value) {
28164 var valueList, _this = this,
28165 t1 = _this._box_0;
28166 --t1.remaining;
28167 valueList = t1.values;
28168 if (valueList != null) {
28169 J.$indexSet$ax(valueList, _this.pos, value);
28170 if (t1.remaining === 0)
28171 _this._future._completeWithValue$1(A.List_List$from(valueList, true, _this.T));
28172 } else if (t1.remaining === 0 && !_this.eagerError)
28173 _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
28174 },
28175 $signature() {
28176 return this.T._eval$1("Null(0)");
28177 }
28178 };
28179 A._Completer.prototype = {
28180 completeError$2(error, stackTrace) {
28181 var replacement;
28182 A.checkNotNullable(error, "error", type$.Object);
28183 if ((this.future._state & 30) !== 0)
28184 throw A.wrapException(A.StateError$("Future already completed"));
28185 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
28186 if (replacement != null) {
28187 error = replacement.error;
28188 stackTrace = replacement.stackTrace;
28189 } else if (stackTrace == null)
28190 stackTrace = A.AsyncError_defaultStackTrace(error);
28191 this._completeError$2(error, stackTrace);
28192 },
28193 completeError$1(error) {
28194 return this.completeError$2(error, null);
28195 }
28196 };
28197 A._AsyncCompleter.prototype = {
28198 complete$1(value) {
28199 var t1 = this.future;
28200 if ((t1._state & 30) !== 0)
28201 throw A.wrapException(A.StateError$("Future already completed"));
28202 t1._asyncComplete$1(value);
28203 },
28204 complete$0() {
28205 return this.complete$1(null);
28206 },
28207 _completeError$2(error, stackTrace) {
28208 this.future._asyncCompleteError$2(error, stackTrace);
28209 }
28210 };
28211 A._SyncCompleter.prototype = {
28212 complete$1(value) {
28213 var t1 = this.future;
28214 if ((t1._state & 30) !== 0)
28215 throw A.wrapException(A.StateError$("Future already completed"));
28216 t1._complete$1(value);
28217 },
28218 complete$0() {
28219 return this.complete$1(null);
28220 },
28221 _completeError$2(error, stackTrace) {
28222 this.future._completeError$2(error, stackTrace);
28223 }
28224 };
28225 A._FutureListener.prototype = {
28226 matchesErrorTest$1(asyncError) {
28227 if ((this.state & 15) !== 6)
28228 return true;
28229 return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
28230 },
28231 handleError$1(asyncError) {
28232 var exception,
28233 errorCallback = this.errorCallback,
28234 result = null,
28235 t1 = type$.dynamic,
28236 t2 = type$.Object,
28237 t3 = asyncError.error,
28238 t4 = this.result._zone;
28239 if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
28240 result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
28241 else
28242 result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
28243 try {
28244 t1 = result;
28245 return t1;
28246 } catch (exception) {
28247 if (type$.TypeError._is(A.unwrapException(exception))) {
28248 if ((this.state & 1) !== 0)
28249 throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
28250 throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
28251 } else
28252 throw exception;
28253 }
28254 }
28255 };
28256 A._Future.prototype = {
28257 then$1$2$onError(_, f, onError, $R) {
28258 var result, t1,
28259 currentZone = $.Zone__current;
28260 if (currentZone === B.C__RootZone) {
28261 if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
28262 throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
28263 } else {
28264 f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
28265 if (onError != null)
28266 onError = A._registerErrorHandler(onError, currentZone);
28267 }
28268 result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
28269 t1 = onError == null ? 1 : 3;
28270 this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
28271 return result;
28272 },
28273 then$1$1($receiver, f, $R) {
28274 return this.then$1$2$onError($receiver, f, null, $R);
28275 },
28276 _thenAwait$1$2(f, onError, $E) {
28277 var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
28278 this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
28279 return result;
28280 },
28281 whenComplete$1(action) {
28282 var t1 = this.$ti,
28283 t2 = $.Zone__current,
28284 result = new A._Future(t2, t1);
28285 if (t2 !== B.C__RootZone)
28286 action = t2.registerCallback$1$1(action, type$.dynamic);
28287 this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
28288 return result;
28289 },
28290 _setErrorObject$1(error) {
28291 this._state = this._state & 1 | 16;
28292 this._resultOrListeners = error;
28293 },
28294 _cloneResult$1(source) {
28295 this._state = source._state & 30 | this._state & 1;
28296 this._resultOrListeners = source._resultOrListeners;
28297 },
28298 _addListener$1(listener) {
28299 var _this = this,
28300 t1 = _this._state;
28301 if (t1 <= 3) {
28302 listener._nextListener = _this._resultOrListeners;
28303 _this._resultOrListeners = listener;
28304 } else {
28305 if ((t1 & 4) !== 0) {
28306 t1 = _this._resultOrListeners;
28307 if ((t1._state & 24) === 0) {
28308 t1._addListener$1(listener);
28309 return;
28310 }
28311 _this._cloneResult$1(t1);
28312 }
28313 _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
28314 }
28315 },
28316 _prependListeners$1(listeners) {
28317 var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
28318 _box_0.listeners = listeners;
28319 if (listeners == null)
28320 return;
28321 t1 = _this._state;
28322 if (t1 <= 3) {
28323 existingListeners = _this._resultOrListeners;
28324 _this._resultOrListeners = listeners;
28325 if (existingListeners != null) {
28326 next = listeners._nextListener;
28327 for (cursor = listeners; next != null; cursor = next, next = next0)
28328 next0 = next._nextListener;
28329 cursor._nextListener = existingListeners;
28330 }
28331 } else {
28332 if ((t1 & 4) !== 0) {
28333 t1 = _this._resultOrListeners;
28334 if ((t1._state & 24) === 0) {
28335 t1._prependListeners$1(listeners);
28336 return;
28337 }
28338 _this._cloneResult$1(t1);
28339 }
28340 _box_0.listeners = _this._reverseListeners$1(listeners);
28341 _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
28342 }
28343 },
28344 _removeListeners$0() {
28345 var current = this._resultOrListeners;
28346 this._resultOrListeners = null;
28347 return this._reverseListeners$1(current);
28348 },
28349 _reverseListeners$1(listeners) {
28350 var current, prev, next;
28351 for (current = listeners, prev = null; current != null; prev = current, current = next) {
28352 next = current._nextListener;
28353 current._nextListener = prev;
28354 }
28355 return prev;
28356 },
28357 _chainForeignFuture$1(source) {
28358 var e, s, exception, _this = this;
28359 _this._state ^= 2;
28360 try {
28361 source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
28362 } catch (exception) {
28363 e = A.unwrapException(exception);
28364 s = A.getTraceFromException(exception);
28365 A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
28366 }
28367 },
28368 _complete$1(value) {
28369 var listeners, _this = this,
28370 t1 = _this.$ti;
28371 if (t1._eval$1("Future<1>")._is(value))
28372 if (t1._is(value))
28373 A._Future__chainCoreFuture(value, _this);
28374 else
28375 _this._chainForeignFuture$1(value);
28376 else {
28377 listeners = _this._removeListeners$0();
28378 _this._state = 8;
28379 _this._resultOrListeners = value;
28380 A._Future__propagateToListeners(_this, listeners);
28381 }
28382 },
28383 _completeWithValue$1(value) {
28384 var _this = this,
28385 listeners = _this._removeListeners$0();
28386 _this._state = 8;
28387 _this._resultOrListeners = value;
28388 A._Future__propagateToListeners(_this, listeners);
28389 },
28390 _completeError$2(error, stackTrace) {
28391 var listeners = this._removeListeners$0();
28392 this._setErrorObject$1(A.AsyncError$(error, stackTrace));
28393 A._Future__propagateToListeners(this, listeners);
28394 },
28395 _asyncComplete$1(value) {
28396 if (this.$ti._eval$1("Future<1>")._is(value)) {
28397 this._chainFuture$1(value);
28398 return;
28399 }
28400 this._asyncCompleteWithValue$1(value);
28401 },
28402 _asyncCompleteWithValue$1(value) {
28403 this._state ^= 2;
28404 this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
28405 },
28406 _chainFuture$1(value) {
28407 var _this = this;
28408 if (_this.$ti._is(value)) {
28409 if ((value._state & 16) !== 0) {
28410 _this._state ^= 2;
28411 _this._zone.scheduleMicrotask$1(new A._Future__chainFuture_closure(_this, value));
28412 } else
28413 A._Future__chainCoreFuture(value, _this);
28414 return;
28415 }
28416 _this._chainForeignFuture$1(value);
28417 },
28418 _asyncCompleteError$2(error, stackTrace) {
28419 this._state ^= 2;
28420 this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
28421 },
28422 $isFuture: 1
28423 };
28424 A._Future__addListener_closure.prototype = {
28425 call$0() {
28426 A._Future__propagateToListeners(this.$this, this.listener);
28427 },
28428 $signature: 0
28429 };
28430 A._Future__prependListeners_closure.prototype = {
28431 call$0() {
28432 A._Future__propagateToListeners(this.$this, this._box_0.listeners);
28433 },
28434 $signature: 0
28435 };
28436 A._Future__chainForeignFuture_closure.prototype = {
28437 call$1(value) {
28438 var error, stackTrace, exception,
28439 t1 = this.$this;
28440 t1._state ^= 2;
28441 try {
28442 t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
28443 } catch (exception) {
28444 error = A.unwrapException(exception);
28445 stackTrace = A.getTraceFromException(exception);
28446 t1._completeError$2(error, stackTrace);
28447 }
28448 },
28449 $signature: 64
28450 };
28451 A._Future__chainForeignFuture_closure0.prototype = {
28452 call$2(error, stackTrace) {
28453 this.$this._completeError$2(error, stackTrace);
28454 },
28455 $signature: 42
28456 };
28457 A._Future__chainForeignFuture_closure1.prototype = {
28458 call$0() {
28459 this.$this._completeError$2(this.e, this.s);
28460 },
28461 $signature: 0
28462 };
28463 A._Future__asyncCompleteWithValue_closure.prototype = {
28464 call$0() {
28465 this.$this._completeWithValue$1(this.value);
28466 },
28467 $signature: 0
28468 };
28469 A._Future__chainFuture_closure.prototype = {
28470 call$0() {
28471 A._Future__chainCoreFuture(this.value, this.$this);
28472 },
28473 $signature: 0
28474 };
28475 A._Future__asyncCompleteError_closure.prototype = {
28476 call$0() {
28477 this.$this._completeError$2(this.error, this.stackTrace);
28478 },
28479 $signature: 0
28480 };
28481 A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
28482 call$0() {
28483 var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null;
28484 try {
28485 t1 = _this._box_0.listener;
28486 completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
28487 } catch (exception) {
28488 e = A.unwrapException(exception);
28489 s = A.getTraceFromException(exception);
28490 t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e;
28491 t2 = _this._box_0;
28492 if (t1)
28493 t2.listenerValueOrError = _this._box_1.source._resultOrListeners;
28494 else
28495 t2.listenerValueOrError = A.AsyncError$(e, s);
28496 t2.listenerHasError = true;
28497 return;
28498 }
28499 if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
28500 if ((completeResult._state & 16) !== 0) {
28501 t1 = _this._box_0;
28502 t1.listenerValueOrError = completeResult._resultOrListeners;
28503 t1.listenerHasError = true;
28504 }
28505 return;
28506 }
28507 if (type$.Future_dynamic._is(completeResult)) {
28508 originalSource = _this._box_1.source;
28509 t1 = _this._box_0;
28510 t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic);
28511 t1.listenerHasError = false;
28512 }
28513 },
28514 $signature: 0
28515 };
28516 A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
28517 call$1(_) {
28518 return this.originalSource;
28519 },
28520 $signature: 512
28521 };
28522 A._Future__propagateToListeners_handleValueCallback.prototype = {
28523 call$0() {
28524 var e, s, t1, t2, t3, exception;
28525 try {
28526 t1 = this._box_0;
28527 t2 = t1.listener;
28528 t3 = t2.$ti;
28529 t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
28530 } catch (exception) {
28531 e = A.unwrapException(exception);
28532 s = A.getTraceFromException(exception);
28533 t1 = this._box_0;
28534 t1.listenerValueOrError = A.AsyncError$(e, s);
28535 t1.listenerHasError = true;
28536 }
28537 },
28538 $signature: 0
28539 };
28540 A._Future__propagateToListeners_handleError.prototype = {
28541 call$0() {
28542 var asyncError, e, s, t1, exception, t2, _this = this;
28543 try {
28544 asyncError = _this._box_1.source._resultOrListeners;
28545 t1 = _this._box_0;
28546 if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
28547 t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
28548 t1.listenerHasError = false;
28549 }
28550 } catch (exception) {
28551 e = A.unwrapException(exception);
28552 s = A.getTraceFromException(exception);
28553 t1 = _this._box_1.source._resultOrListeners;
28554 t2 = _this._box_0;
28555 if (t1.error === e)
28556 t2.listenerValueOrError = t1;
28557 else
28558 t2.listenerValueOrError = A.AsyncError$(e, s);
28559 t2.listenerHasError = true;
28560 }
28561 },
28562 $signature: 0
28563 };
28564 A._AsyncCallbackEntry.prototype = {};
28565 A.Stream.prototype = {
28566 get$isBroadcast() {
28567 return false;
28568 },
28569 get$length(_) {
28570 var t1 = {},
28571 future = new A._Future($.Zone__current, type$._Future_int);
28572 t1.count = 0;
28573 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());
28574 return future;
28575 }
28576 };
28577 A.Stream_Stream$fromFuture_closure.prototype = {
28578 call$1(value) {
28579 var t1 = this.controller;
28580 t1._async$_add$1(value);
28581 t1._closeUnchecked$0();
28582 },
28583 $signature() {
28584 return this.T._eval$1("Null(0)");
28585 }
28586 };
28587 A.Stream_Stream$fromFuture_closure0.prototype = {
28588 call$2(error, stackTrace) {
28589 var t1 = this.controller;
28590 t1._addError$2(error, stackTrace);
28591 t1._closeUnchecked$0();
28592 },
28593 $signature: 521
28594 };
28595 A.Stream_length_closure.prototype = {
28596 call$1(_) {
28597 ++this._box_0.count;
28598 },
28599 $signature() {
28600 return A._instanceType(this.$this)._eval$1("~(Stream.T)");
28601 }
28602 };
28603 A.Stream_length_closure0.prototype = {
28604 call$0() {
28605 this.future._complete$1(this._box_0.count);
28606 },
28607 $signature: 0
28608 };
28609 A.StreamTransformerBase.prototype = {};
28610 A._StreamController.prototype = {
28611 get$stream() {
28612 return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
28613 },
28614 get$_pendingEvents() {
28615 if ((this._state & 8) === 0)
28616 return this._varData;
28617 return this._varData.varData;
28618 },
28619 _ensurePendingEvents$0() {
28620 var events, state, _this = this;
28621 if ((_this._state & 8) === 0) {
28622 events = _this._varData;
28623 return events == null ? _this._varData = new A._StreamImplEvents() : events;
28624 }
28625 state = _this._varData;
28626 events = state.varData;
28627 return events == null ? state.varData = new A._StreamImplEvents() : events;
28628 },
28629 get$_subscription() {
28630 var varData = this._varData;
28631 return (this._state & 8) !== 0 ? varData.varData : varData;
28632 },
28633 _badEventState$0() {
28634 if ((this._state & 4) !== 0)
28635 return new A.StateError("Cannot add event after closing");
28636 return new A.StateError("Cannot add event while adding a stream");
28637 },
28638 addStream$2$cancelOnError(source, cancelOnError) {
28639 var t2, t3, t4, _this = this,
28640 t1 = _this._state;
28641 if (t1 >= 4)
28642 throw A.wrapException(_this._badEventState$0());
28643 if ((t1 & 2) !== 0) {
28644 t1 = new A._Future($.Zone__current, type$._Future_dynamic);
28645 t1._asyncComplete$1(null);
28646 return t1;
28647 }
28648 t1 = _this._varData;
28649 t2 = new A._Future($.Zone__current, type$._Future_dynamic);
28650 t3 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), false, _this.get$_close(), _this.get$_addError());
28651 t4 = _this._state;
28652 if ((t4 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t4 & 2) === 0)
28653 t3.pause$0(0);
28654 _this._varData = new A._StreamControllerAddStreamState(t1, t2, t3);
28655 _this._state |= 8;
28656 return t2;
28657 },
28658 _ensureDoneFuture$0() {
28659 var t1 = this._doneFuture;
28660 if (t1 == null)
28661 t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
28662 return t1;
28663 },
28664 add$1(_, value) {
28665 if (this._state >= 4)
28666 throw A.wrapException(this._badEventState$0());
28667 this._async$_add$1(value);
28668 },
28669 addError$2(error, stackTrace) {
28670 var replacement;
28671 A.checkNotNullable(error, "error", type$.Object);
28672 if (this._state >= 4)
28673 throw A.wrapException(this._badEventState$0());
28674 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
28675 if (replacement != null) {
28676 error = replacement.error;
28677 stackTrace = replacement.stackTrace;
28678 } else if (stackTrace == null)
28679 stackTrace = A.AsyncError_defaultStackTrace(error);
28680 this._addError$2(error, stackTrace);
28681 },
28682 addError$1(error) {
28683 return this.addError$2(error, null);
28684 },
28685 close$0(_) {
28686 var _this = this,
28687 t1 = _this._state;
28688 if ((t1 & 4) !== 0)
28689 return _this._ensureDoneFuture$0();
28690 if (t1 >= 4)
28691 throw A.wrapException(_this._badEventState$0());
28692 _this._closeUnchecked$0();
28693 return _this._ensureDoneFuture$0();
28694 },
28695 _closeUnchecked$0() {
28696 var t1 = this._state |= 4;
28697 if ((t1 & 1) !== 0)
28698 this._sendDone$0();
28699 else if ((t1 & 3) === 0)
28700 this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
28701 },
28702 _async$_add$1(value) {
28703 var t1 = this._state;
28704 if ((t1 & 1) !== 0)
28705 this._sendData$1(value);
28706 else if ((t1 & 3) === 0)
28707 this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
28708 },
28709 _addError$2(error, stackTrace) {
28710 var t1 = this._state;
28711 if ((t1 & 1) !== 0)
28712 this._sendError$2(error, stackTrace);
28713 else if ((t1 & 3) === 0)
28714 this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
28715 },
28716 _close$0() {
28717 var addState = this._varData;
28718 this._varData = addState.varData;
28719 this._state &= 4294967287;
28720 addState.addStreamFuture._asyncComplete$1(null);
28721 },
28722 _subscribe$4(onData, onError, onDone, cancelOnError) {
28723 var subscription, pendingEvents, t1, addState, _this = this;
28724 if ((_this._state & 3) !== 0)
28725 throw A.wrapException(A.StateError$("Stream has already been listened to."));
28726 subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
28727 pendingEvents = _this.get$_pendingEvents();
28728 t1 = _this._state |= 1;
28729 if ((t1 & 8) !== 0) {
28730 addState = _this._varData;
28731 addState.varData = subscription;
28732 addState.addSubscription.resume$0(0);
28733 } else
28734 _this._varData = subscription;
28735 subscription._setPendingEvents$1(pendingEvents);
28736 subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
28737 return subscription;
28738 },
28739 _recordCancel$1(subscription) {
28740 var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
28741 if ((_this._state & 8) !== 0)
28742 result = _this._varData.cancel$0();
28743 _this._varData = null;
28744 _this._state = _this._state & 4294967286 | 2;
28745 onCancel = _this.onCancel;
28746 if (onCancel != null)
28747 if (result == null)
28748 try {
28749 cancelResult = onCancel.call$0();
28750 if (type$.Future_void._is(cancelResult))
28751 result = cancelResult;
28752 } catch (exception) {
28753 e = A.unwrapException(exception);
28754 s = A.getTraceFromException(exception);
28755 result0 = new A._Future($.Zone__current, type$._Future_void);
28756 result0._asyncCompleteError$2(e, s);
28757 result = result0;
28758 }
28759 else
28760 result = result.whenComplete$1(onCancel);
28761 t1 = new A._StreamController__recordCancel_complete(_this);
28762 if (result != null)
28763 result = result.whenComplete$1(t1);
28764 else
28765 t1.call$0();
28766 return result;
28767 },
28768 _recordPause$1(subscription) {
28769 if ((this._state & 8) !== 0)
28770 this._varData.addSubscription.pause$0(0);
28771 A._runGuarded(this.onPause);
28772 },
28773 _recordResume$1(subscription) {
28774 if ((this._state & 8) !== 0)
28775 this._varData.addSubscription.resume$0(0);
28776 A._runGuarded(this.onResume);
28777 },
28778 $isEventSink: 1,
28779 set$onPause(val) {
28780 return this.onPause = val;
28781 },
28782 set$onResume(val) {
28783 return this.onResume = val;
28784 },
28785 set$onCancel(val) {
28786 return this.onCancel = val;
28787 }
28788 };
28789 A._StreamController__subscribe_closure.prototype = {
28790 call$0() {
28791 A._runGuarded(this.$this.onListen);
28792 },
28793 $signature: 0
28794 };
28795 A._StreamController__recordCancel_complete.prototype = {
28796 call$0() {
28797 var doneFuture = this.$this._doneFuture;
28798 if (doneFuture != null && (doneFuture._state & 30) === 0)
28799 doneFuture._asyncComplete$1(null);
28800 },
28801 $signature: 0
28802 };
28803 A._SyncStreamControllerDispatch.prototype = {
28804 _sendData$1(data) {
28805 this.get$_subscription()._async$_add$1(data);
28806 },
28807 _sendError$2(error, stackTrace) {
28808 this.get$_subscription()._addError$2(error, stackTrace);
28809 },
28810 _sendDone$0() {
28811 this.get$_subscription()._close$0();
28812 }
28813 };
28814 A._AsyncStreamControllerDispatch.prototype = {
28815 _sendData$1(data) {
28816 this.get$_subscription()._addPending$1(new A._DelayedData(data));
28817 },
28818 _sendError$2(error, stackTrace) {
28819 this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
28820 },
28821 _sendDone$0() {
28822 this.get$_subscription()._addPending$1(B.C__DelayedDone);
28823 }
28824 };
28825 A._AsyncStreamController.prototype = {};
28826 A._SyncStreamController.prototype = {};
28827 A._ControllerStream.prototype = {
28828 get$hashCode(_) {
28829 return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
28830 },
28831 $eq(_, other) {
28832 if (other == null)
28833 return false;
28834 if (this === other)
28835 return true;
28836 return other instanceof A._ControllerStream && other._controller === this._controller;
28837 }
28838 };
28839 A._ControllerSubscription.prototype = {
28840 _async$_onCancel$0() {
28841 return this._controller._recordCancel$1(this);
28842 },
28843 _async$_onPause$0() {
28844 this._controller._recordPause$1(this);
28845 },
28846 _async$_onResume$0() {
28847 this._controller._recordResume$1(this);
28848 }
28849 };
28850 A._AddStreamState.prototype = {
28851 cancel$0() {
28852 var cancel = this.addSubscription.cancel$0();
28853 return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
28854 }
28855 };
28856 A._AddStreamState_cancel_closure.prototype = {
28857 call$0() {
28858 this.$this.addStreamFuture._asyncComplete$1(null);
28859 },
28860 $signature: 1
28861 };
28862 A._StreamControllerAddStreamState.prototype = {};
28863 A._BufferingStreamSubscription.prototype = {
28864 _setPendingEvents$1(pendingEvents) {
28865 var _this = this;
28866 if (pendingEvents == null)
28867 return;
28868 _this._pending = pendingEvents;
28869 if (pendingEvents.lastPendingEvent != null) {
28870 _this._state = (_this._state | 64) >>> 0;
28871 pendingEvents.schedule$1(_this);
28872 }
28873 },
28874 onData$1(handleData) {
28875 this._onData = A._BufferingStreamSubscription__registerDataHandler(this._zone, handleData, A._instanceType(this)._eval$1("_BufferingStreamSubscription.T"));
28876 },
28877 onError$1(handleError) {
28878 this._onError = A._BufferingStreamSubscription__registerErrorHandler(this._zone, handleError);
28879 },
28880 onDone$1(handleDone) {
28881 this._onDone = A._BufferingStreamSubscription__registerDoneHandler(this._zone, handleDone);
28882 },
28883 pause$1(_, resumeSignal) {
28884 var t2, t3, _this = this,
28885 t1 = _this._state;
28886 if ((t1 & 8) !== 0)
28887 return;
28888 t2 = (t1 + 128 | 4) >>> 0;
28889 _this._state = t2;
28890 if (t1 < 128) {
28891 t3 = _this._pending;
28892 if (t3 != null)
28893 if (t3._state === 1)
28894 t3._state = 3;
28895 }
28896 if ((t1 & 4) === 0 && (t2 & 32) === 0)
28897 _this._guardCallback$1(_this.get$_async$_onPause());
28898 },
28899 pause$0($receiver) {
28900 return this.pause$1($receiver, null);
28901 },
28902 resume$0(_) {
28903 var _this = this,
28904 t1 = _this._state;
28905 if ((t1 & 8) !== 0)
28906 return;
28907 if (t1 >= 128) {
28908 t1 = _this._state = t1 - 128;
28909 if (t1 < 128)
28910 if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent != null)
28911 _this._pending.schedule$1(_this);
28912 else {
28913 t1 = (t1 & 4294967291) >>> 0;
28914 _this._state = t1;
28915 if ((t1 & 32) === 0)
28916 _this._guardCallback$1(_this.get$_async$_onResume());
28917 }
28918 }
28919 },
28920 cancel$0() {
28921 var _this = this,
28922 t1 = (_this._state & 4294967279) >>> 0;
28923 _this._state = t1;
28924 if ((t1 & 8) === 0)
28925 _this._async$_cancel$0();
28926 t1 = _this._cancelFuture;
28927 return t1 == null ? $.$get$Future__nullFuture() : t1;
28928 },
28929 _async$_cancel$0() {
28930 var t2, _this = this,
28931 t1 = _this._state = (_this._state | 8) >>> 0;
28932 if ((t1 & 64) !== 0) {
28933 t2 = _this._pending;
28934 if (t2._state === 1)
28935 t2._state = 3;
28936 }
28937 if ((t1 & 32) === 0)
28938 _this._pending = null;
28939 _this._cancelFuture = _this._async$_onCancel$0();
28940 },
28941 _async$_add$1(data) {
28942 var t1 = this._state;
28943 if ((t1 & 8) !== 0)
28944 return;
28945 if (t1 < 32)
28946 this._sendData$1(data);
28947 else
28948 this._addPending$1(new A._DelayedData(data));
28949 },
28950 _addError$2(error, stackTrace) {
28951 var t1 = this._state;
28952 if ((t1 & 8) !== 0)
28953 return;
28954 if (t1 < 32)
28955 this._sendError$2(error, stackTrace);
28956 else
28957 this._addPending$1(new A._DelayedError(error, stackTrace));
28958 },
28959 _close$0() {
28960 var _this = this,
28961 t1 = _this._state;
28962 if ((t1 & 8) !== 0)
28963 return;
28964 t1 = (t1 | 2) >>> 0;
28965 _this._state = t1;
28966 if (t1 < 32)
28967 _this._sendDone$0();
28968 else
28969 _this._addPending$1(B.C__DelayedDone);
28970 },
28971 _async$_onPause$0() {
28972 },
28973 _async$_onResume$0() {
28974 },
28975 _async$_onCancel$0() {
28976 return null;
28977 },
28978 _addPending$1($event) {
28979 var t1, _this = this,
28980 pending = _this._pending;
28981 if (pending == null)
28982 pending = new A._StreamImplEvents();
28983 _this._pending = pending;
28984 pending.add$1(0, $event);
28985 t1 = _this._state;
28986 if ((t1 & 64) === 0) {
28987 t1 = (t1 | 64) >>> 0;
28988 _this._state = t1;
28989 if (t1 < 128)
28990 pending.schedule$1(_this);
28991 }
28992 },
28993 _sendData$1(data) {
28994 var _this = this,
28995 t1 = _this._state;
28996 _this._state = (t1 | 32) >>> 0;
28997 _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
28998 _this._state = (_this._state & 4294967263) >>> 0;
28999 _this._checkState$1((t1 & 4) !== 0);
29000 },
29001 _sendError$2(error, stackTrace) {
29002 var cancelFuture, _this = this,
29003 t1 = _this._state,
29004 t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
29005 if ((t1 & 1) !== 0) {
29006 _this._state = (t1 | 16) >>> 0;
29007 _this._async$_cancel$0();
29008 cancelFuture = _this._cancelFuture;
29009 if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
29010 cancelFuture.whenComplete$1(t2);
29011 else
29012 t2.call$0();
29013 } else {
29014 t2.call$0();
29015 _this._checkState$1((t1 & 4) !== 0);
29016 }
29017 },
29018 _sendDone$0() {
29019 var cancelFuture, _this = this,
29020 t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
29021 _this._async$_cancel$0();
29022 _this._state = (_this._state | 16) >>> 0;
29023 cancelFuture = _this._cancelFuture;
29024 if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
29025 cancelFuture.whenComplete$1(t1);
29026 else
29027 t1.call$0();
29028 },
29029 _guardCallback$1(callback) {
29030 var _this = this,
29031 t1 = _this._state;
29032 _this._state = (t1 | 32) >>> 0;
29033 callback.call$0();
29034 _this._state = (_this._state & 4294967263) >>> 0;
29035 _this._checkState$1((t1 & 4) !== 0);
29036 },
29037 _checkState$1(wasInputPaused) {
29038 var t2, isInputPaused, _this = this,
29039 t1 = _this._state;
29040 if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) {
29041 t1 = _this._state = (t1 & 4294967231) >>> 0;
29042 if ((t1 & 4) !== 0)
29043 if (t1 < 128) {
29044 t2 = _this._pending;
29045 t2 = t2 == null ? null : t2.lastPendingEvent == null;
29046 t2 = t2 !== false;
29047 } else
29048 t2 = false;
29049 else
29050 t2 = false;
29051 if (t2) {
29052 t1 = (t1 & 4294967291) >>> 0;
29053 _this._state = t1;
29054 }
29055 }
29056 for (; true; wasInputPaused = isInputPaused) {
29057 if ((t1 & 8) !== 0) {
29058 _this._pending = null;
29059 return;
29060 }
29061 isInputPaused = (t1 & 4) !== 0;
29062 if (wasInputPaused === isInputPaused)
29063 break;
29064 _this._state = (t1 ^ 32) >>> 0;
29065 if (isInputPaused)
29066 _this._async$_onPause$0();
29067 else
29068 _this._async$_onResume$0();
29069 t1 = (_this._state & 4294967263) >>> 0;
29070 _this._state = t1;
29071 }
29072 if ((t1 & 64) !== 0 && t1 < 128)
29073 _this._pending.schedule$1(_this);
29074 },
29075 $isStreamSubscription: 1
29076 };
29077 A._BufferingStreamSubscription__sendError_sendError.prototype = {
29078 call$0() {
29079 var onError, t3, t4,
29080 t1 = this.$this,
29081 t2 = t1._state;
29082 if ((t2 & 8) !== 0 && (t2 & 16) === 0)
29083 return;
29084 t1._state = (t2 | 32) >>> 0;
29085 onError = t1._onError;
29086 t2 = this.error;
29087 t3 = type$.Object;
29088 t4 = t1._zone;
29089 if (type$.void_Function_Object_StackTrace._is(onError))
29090 t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
29091 else
29092 t4.runUnaryGuarded$1$2(onError, t2, t3);
29093 t1._state = (t1._state & 4294967263) >>> 0;
29094 },
29095 $signature: 0
29096 };
29097 A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
29098 call$0() {
29099 var t1 = this.$this,
29100 t2 = t1._state;
29101 if ((t2 & 16) === 0)
29102 return;
29103 t1._state = (t2 | 42) >>> 0;
29104 t1._zone.runGuarded$1(t1._onDone);
29105 t1._state = (t1._state & 4294967263) >>> 0;
29106 },
29107 $signature: 0
29108 };
29109 A._StreamImpl.prototype = {
29110 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
29111 return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
29112 },
29113 listen$1($receiver, onData) {
29114 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
29115 },
29116 listen$3$onDone$onError($receiver, onData, onDone, onError) {
29117 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
29118 }
29119 };
29120 A._DelayedEvent.prototype = {
29121 get$next() {
29122 return this.next;
29123 },
29124 set$next(val) {
29125 return this.next = val;
29126 }
29127 };
29128 A._DelayedData.prototype = {
29129 perform$1(dispatch) {
29130 dispatch._sendData$1(this.value);
29131 }
29132 };
29133 A._DelayedError.prototype = {
29134 perform$1(dispatch) {
29135 dispatch._sendError$2(this.error, this.stackTrace);
29136 }
29137 };
29138 A._DelayedDone.prototype = {
29139 perform$1(dispatch) {
29140 dispatch._sendDone$0();
29141 },
29142 get$next() {
29143 return null;
29144 },
29145 set$next(_) {
29146 throw A.wrapException(A.StateError$("No events after a done."));
29147 }
29148 };
29149 A._PendingEvents.prototype = {
29150 schedule$1(dispatch) {
29151 var _this = this,
29152 t1 = _this._state;
29153 if (t1 === 1)
29154 return;
29155 if (t1 >= 1) {
29156 _this._state = 1;
29157 return;
29158 }
29159 A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
29160 _this._state = 1;
29161 }
29162 };
29163 A._PendingEvents_schedule_closure.prototype = {
29164 call$0() {
29165 var $event, nextEvent,
29166 t1 = this.$this,
29167 oldState = t1._state;
29168 t1._state = 0;
29169 if (oldState === 3)
29170 return;
29171 $event = t1.firstPendingEvent;
29172 nextEvent = $event.get$next();
29173 t1.firstPendingEvent = nextEvent;
29174 if (nextEvent == null)
29175 t1.lastPendingEvent = null;
29176 $event.perform$1(this.dispatch);
29177 },
29178 $signature: 0
29179 };
29180 A._StreamImplEvents.prototype = {
29181 add$1(_, $event) {
29182 var _this = this,
29183 lastEvent = _this.lastPendingEvent;
29184 if (lastEvent == null)
29185 _this.firstPendingEvent = _this.lastPendingEvent = $event;
29186 else {
29187 lastEvent.set$next($event);
29188 _this.lastPendingEvent = $event;
29189 }
29190 }
29191 };
29192 A._StreamIterator.prototype = {
29193 get$current(_) {
29194 if (this._async$_hasValue)
29195 return this._stateData;
29196 return null;
29197 },
29198 moveNext$0() {
29199 var future, _this = this,
29200 subscription = _this._subscription;
29201 if (subscription != null) {
29202 if (_this._async$_hasValue) {
29203 future = new A._Future($.Zone__current, type$._Future_bool);
29204 _this._stateData = future;
29205 _this._async$_hasValue = false;
29206 subscription.resume$0(0);
29207 return future;
29208 }
29209 throw A.wrapException(A.StateError$("Already waiting for next."));
29210 }
29211 return _this._initializeOrDone$0();
29212 },
29213 _initializeOrDone$0() {
29214 var future, subscription, _this = this,
29215 stateData = _this._stateData;
29216 if (stateData != null) {
29217 future = new A._Future($.Zone__current, type$._Future_bool);
29218 _this._stateData = future;
29219 subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
29220 if (_this._stateData != null)
29221 _this._subscription = subscription;
29222 return future;
29223 }
29224 return $.$get$Future__falseFuture();
29225 },
29226 cancel$0() {
29227 var _this = this,
29228 subscription = _this._subscription,
29229 stateData = _this._stateData;
29230 _this._stateData = null;
29231 if (subscription != null) {
29232 _this._subscription = null;
29233 if (!_this._async$_hasValue)
29234 stateData._asyncComplete$1(false);
29235 else
29236 _this._async$_hasValue = false;
29237 return subscription.cancel$0();
29238 }
29239 return $.$get$Future__nullFuture();
29240 },
29241 _onData$1(data) {
29242 var moveNextFuture, t1, _this = this;
29243 if (_this._subscription == null)
29244 return;
29245 moveNextFuture = _this._stateData;
29246 _this._stateData = data;
29247 _this._async$_hasValue = true;
29248 moveNextFuture._complete$1(true);
29249 if (_this._async$_hasValue) {
29250 t1 = _this._subscription;
29251 if (t1 != null)
29252 t1.pause$0(0);
29253 }
29254 },
29255 _onError$2(error, stackTrace) {
29256 var _this = this,
29257 subscription = _this._subscription,
29258 moveNextFuture = _this._stateData;
29259 _this._stateData = _this._subscription = null;
29260 if (subscription != null)
29261 moveNextFuture._completeError$2(error, stackTrace);
29262 else
29263 moveNextFuture._asyncCompleteError$2(error, stackTrace);
29264 },
29265 _onDone$0() {
29266 var _this = this,
29267 subscription = _this._subscription,
29268 moveNextFuture = _this._stateData;
29269 _this._stateData = _this._subscription = null;
29270 if (subscription != null)
29271 moveNextFuture._completeWithValue$1(false);
29272 else
29273 moveNextFuture._asyncCompleteWithValue$1(false);
29274 }
29275 };
29276 A._ForwardingStream.prototype = {
29277 get$isBroadcast() {
29278 return this._async$_source.get$isBroadcast();
29279 },
29280 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
29281 var t1 = this.$ti,
29282 t2 = t1._rest[1],
29283 t3 = $.Zone__current,
29284 t4 = cancelOnError === true ? 1 : 0;
29285 t2 = new A._ForwardingStreamSubscription(this, A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2), A._BufferingStreamSubscription__registerErrorHandler(t3, onError), A._BufferingStreamSubscription__registerDoneHandler(t3, onDone), t3, t4, t1._eval$1("@<1>")._bind$1(t2)._eval$1("_ForwardingStreamSubscription<1,2>"));
29286 t2._subscription = this._async$_source.listen$3$onDone$onError(0, t2.get$_handleData(), t2.get$_handleDone(), t2.get$_handleError());
29287 return t2;
29288 },
29289 listen$1($receiver, onData) {
29290 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
29291 },
29292 listen$3$onDone$onError($receiver, onData, onDone, onError) {
29293 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
29294 }
29295 };
29296 A._ForwardingStreamSubscription.prototype = {
29297 _async$_add$1(data) {
29298 if ((this._state & 2) !== 0)
29299 return;
29300 this.super$_BufferingStreamSubscription$_add(data);
29301 },
29302 _addError$2(error, stackTrace) {
29303 if ((this._state & 2) !== 0)
29304 return;
29305 this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
29306 },
29307 _async$_onPause$0() {
29308 var t1 = this._subscription;
29309 if (t1 != null)
29310 t1.pause$0(0);
29311 },
29312 _async$_onResume$0() {
29313 var t1 = this._subscription;
29314 if (t1 != null)
29315 t1.resume$0(0);
29316 },
29317 _async$_onCancel$0() {
29318 var subscription = this._subscription;
29319 if (subscription != null) {
29320 this._subscription = null;
29321 return subscription.cancel$0();
29322 }
29323 return null;
29324 },
29325 _handleData$1(data) {
29326 this._stream._handleData$2(data, this);
29327 },
29328 _handleError$2(error, stackTrace) {
29329 this._addError$2(error, stackTrace);
29330 },
29331 _handleDone$0() {
29332 this._close$0();
29333 }
29334 };
29335 A._ExpandStream.prototype = {
29336 _handleData$2(inputEvent, sink) {
29337 var value, e, s, t1, exception, error, stackTrace, replacement;
29338 try {
29339 for (t1 = J.get$iterator$ax(this._expand.call$1(inputEvent)); t1.moveNext$0();) {
29340 value = t1.get$current(t1);
29341 sink._async$_add$1(value);
29342 }
29343 } catch (exception) {
29344 e = A.unwrapException(exception);
29345 s = A.getTraceFromException(exception);
29346 error = e;
29347 stackTrace = s;
29348 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
29349 if (replacement != null) {
29350 error = replacement.error;
29351 stackTrace = replacement.stackTrace;
29352 }
29353 sink._addError$2(error, stackTrace);
29354 }
29355 }
29356 };
29357 A._ZoneFunction.prototype = {};
29358 A._RunNullaryZoneFunction.prototype = {};
29359 A._RunUnaryZoneFunction.prototype = {};
29360 A._RunBinaryZoneFunction.prototype = {};
29361 A._RegisterNullaryZoneFunction.prototype = {};
29362 A._RegisterUnaryZoneFunction.prototype = {};
29363 A._RegisterBinaryZoneFunction.prototype = {};
29364 A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
29365 A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
29366 A._Zone.prototype = {
29367 _processUncaughtError$3(zone, error, stackTrace) {
29368 var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
29369 implementation = this.get$_handleUncaughtError(),
29370 implZone = implementation.zone;
29371 if (implZone === B.C__RootZone) {
29372 A._rootHandleError(error, stackTrace);
29373 return;
29374 }
29375 handler = implementation.$function;
29376 parentDelegate = implZone.get$_parentDelegate();
29377 t1 = J.get$parent$z(implZone);
29378 t1.toString;
29379 parentZone = t1;
29380 currentZone = $.Zone__current;
29381 try {
29382 $.Zone__current = parentZone;
29383 handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
29384 $.Zone__current = currentZone;
29385 } catch (exception) {
29386 e = A.unwrapException(exception);
29387 s = A.getTraceFromException(exception);
29388 $.Zone__current = currentZone;
29389 t1 = error === e ? stackTrace : s;
29390 parentZone._processUncaughtError$3(implZone, e, t1);
29391 }
29392 },
29393 $isZone: 1
29394 };
29395 A._CustomZone.prototype = {
29396 get$_delegate() {
29397 var t1 = this._delegateCache;
29398 return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
29399 },
29400 get$_parentDelegate() {
29401 return this.parent.get$_delegate();
29402 },
29403 get$errorZone() {
29404 return this._handleUncaughtError.zone;
29405 },
29406 runGuarded$1(f) {
29407 var e, s, exception;
29408 try {
29409 this.run$1$1(0, f, type$.void);
29410 } catch (exception) {
29411 e = A.unwrapException(exception);
29412 s = A.getTraceFromException(exception);
29413 this._processUncaughtError$3(this, e, s);
29414 }
29415 },
29416 runUnaryGuarded$1$2(f, arg, $T) {
29417 var e, s, exception;
29418 try {
29419 this.runUnary$2$2(f, arg, type$.void, $T);
29420 } catch (exception) {
29421 e = A.unwrapException(exception);
29422 s = A.getTraceFromException(exception);
29423 this._processUncaughtError$3(this, e, s);
29424 }
29425 },
29426 runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
29427 var e, s, exception;
29428 try {
29429 this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
29430 } catch (exception) {
29431 e = A.unwrapException(exception);
29432 s = A.getTraceFromException(exception);
29433 this._processUncaughtError$3(this, e, s);
29434 }
29435 },
29436 bindCallback$1$1(f, $R) {
29437 return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
29438 },
29439 bindUnaryCallback$2$1(f, $R, $T) {
29440 return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
29441 },
29442 bindCallbackGuarded$1(f) {
29443 return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
29444 },
29445 $index(_, key) {
29446 var value,
29447 t1 = this._async$_map,
29448 result = t1.$index(0, key);
29449 if (result != null || t1.containsKey$1(key))
29450 return result;
29451 value = this.parent.$index(0, key);
29452 if (value != null)
29453 t1.$indexSet(0, key, value);
29454 return value;
29455 },
29456 handleUncaughtError$2(error, stackTrace) {
29457 this._processUncaughtError$3(this, error, stackTrace);
29458 },
29459 fork$2$specification$zoneValues(specification, zoneValues) {
29460 var implementation = this._fork,
29461 t1 = implementation.zone;
29462 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
29463 },
29464 run$1$1(_, f) {
29465 var implementation = this._run,
29466 t1 = implementation.zone;
29467 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
29468 },
29469 runUnary$2$2(f, arg) {
29470 var implementation = this._runUnary,
29471 t1 = implementation.zone;
29472 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
29473 },
29474 runBinary$3$3(f, arg1, arg2) {
29475 var implementation = this._runBinary,
29476 t1 = implementation.zone;
29477 return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
29478 },
29479 registerCallback$1$1(callback) {
29480 var implementation = this._registerCallback,
29481 t1 = implementation.zone;
29482 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29483 },
29484 registerUnaryCallback$2$1(callback) {
29485 var implementation = this._registerUnaryCallback,
29486 t1 = implementation.zone;
29487 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29488 },
29489 registerBinaryCallback$3$1(callback) {
29490 var implementation = this._registerBinaryCallback,
29491 t1 = implementation.zone;
29492 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29493 },
29494 errorCallback$2(error, stackTrace) {
29495 var implementation, implementationZone;
29496 A.checkNotNullable(error, "error", type$.Object);
29497 implementation = this._errorCallback;
29498 implementationZone = implementation.zone;
29499 if (implementationZone === B.C__RootZone)
29500 return null;
29501 return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
29502 },
29503 scheduleMicrotask$1(f) {
29504 var implementation = this._scheduleMicrotask,
29505 t1 = implementation.zone;
29506 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
29507 },
29508 createTimer$2(duration, f) {
29509 var implementation = this._createTimer,
29510 t1 = implementation.zone;
29511 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
29512 },
29513 print$1(line) {
29514 var implementation = this._print,
29515 t1 = implementation.zone;
29516 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
29517 },
29518 get$_run() {
29519 return this._run;
29520 },
29521 get$_runUnary() {
29522 return this._runUnary;
29523 },
29524 get$_runBinary() {
29525 return this._runBinary;
29526 },
29527 get$_registerCallback() {
29528 return this._registerCallback;
29529 },
29530 get$_registerUnaryCallback() {
29531 return this._registerUnaryCallback;
29532 },
29533 get$_registerBinaryCallback() {
29534 return this._registerBinaryCallback;
29535 },
29536 get$_errorCallback() {
29537 return this._errorCallback;
29538 },
29539 get$_scheduleMicrotask() {
29540 return this._scheduleMicrotask;
29541 },
29542 get$_createTimer() {
29543 return this._createTimer;
29544 },
29545 get$_createPeriodicTimer() {
29546 return this._createPeriodicTimer;
29547 },
29548 get$_print() {
29549 return this._print;
29550 },
29551 get$_fork() {
29552 return this._fork;
29553 },
29554 get$_handleUncaughtError() {
29555 return this._handleUncaughtError;
29556 },
29557 get$parent(receiver) {
29558 return this.parent;
29559 },
29560 get$_async$_map() {
29561 return this._async$_map;
29562 }
29563 };
29564 A._CustomZone_bindCallback_closure.prototype = {
29565 call$0() {
29566 return this.$this.run$1$1(0, this.registered, this.R);
29567 },
29568 $signature() {
29569 return this.R._eval$1("0()");
29570 }
29571 };
29572 A._CustomZone_bindUnaryCallback_closure.prototype = {
29573 call$1(arg) {
29574 var _this = this;
29575 return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
29576 },
29577 $signature() {
29578 return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
29579 }
29580 };
29581 A._CustomZone_bindCallbackGuarded_closure.prototype = {
29582 call$0() {
29583 return this.$this.runGuarded$1(this.registered);
29584 },
29585 $signature: 0
29586 };
29587 A._rootHandleError_closure.prototype = {
29588 call$0() {
29589 var t1 = this.error,
29590 t2 = this.stackTrace;
29591 A.checkNotNullable(t1, "error", type$.Object);
29592 A.checkNotNullable(t2, "stackTrace", type$.StackTrace);
29593 A.Error__throw(t1, t2);
29594 },
29595 $signature: 0
29596 };
29597 A._RootZone.prototype = {
29598 get$_run() {
29599 return B._RunNullaryZoneFunction__RootZone__rootRun;
29600 },
29601 get$_runUnary() {
29602 return B._RunUnaryZoneFunction__RootZone__rootRunUnary;
29603 },
29604 get$_runBinary() {
29605 return B._RunBinaryZoneFunction__RootZone__rootRunBinary;
29606 },
29607 get$_registerCallback() {
29608 return B._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback;
29609 },
29610 get$_registerUnaryCallback() {
29611 return B._RegisterUnaryZoneFunction_Bqo;
29612 },
29613 get$_registerBinaryCallback() {
29614 return B._RegisterBinaryZoneFunction_kGu;
29615 },
29616 get$_errorCallback() {
29617 return B._ZoneFunction__RootZone__rootErrorCallback;
29618 },
29619 get$_scheduleMicrotask() {
29620 return B._ZoneFunction__RootZone__rootScheduleMicrotask;
29621 },
29622 get$_createTimer() {
29623 return B._ZoneFunction__RootZone__rootCreateTimer;
29624 },
29625 get$_createPeriodicTimer() {
29626 return B._ZoneFunction_3bB;
29627 },
29628 get$_print() {
29629 return B._ZoneFunction__RootZone__rootPrint;
29630 },
29631 get$_fork() {
29632 return B._ZoneFunction__RootZone__rootFork;
29633 },
29634 get$_handleUncaughtError() {
29635 return B._ZoneFunction_NMc;
29636 },
29637 get$parent(_) {
29638 return null;
29639 },
29640 get$_async$_map() {
29641 return $.$get$_RootZone__rootMap();
29642 },
29643 get$_delegate() {
29644 var t1 = $._RootZone__rootDelegate;
29645 return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
29646 },
29647 get$_parentDelegate() {
29648 var t1 = $._RootZone__rootDelegate;
29649 return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
29650 },
29651 get$errorZone() {
29652 return this;
29653 },
29654 runGuarded$1(f) {
29655 var e, s, exception;
29656 try {
29657 if (B.C__RootZone === $.Zone__current) {
29658 f.call$0();
29659 return;
29660 }
29661 A._rootRun(null, null, this, f);
29662 } catch (exception) {
29663 e = A.unwrapException(exception);
29664 s = A.getTraceFromException(exception);
29665 A._rootHandleError(e, s);
29666 }
29667 },
29668 runUnaryGuarded$1$2(f, arg) {
29669 var e, s, exception;
29670 try {
29671 if (B.C__RootZone === $.Zone__current) {
29672 f.call$1(arg);
29673 return;
29674 }
29675 A._rootRunUnary(null, null, this, f, arg);
29676 } catch (exception) {
29677 e = A.unwrapException(exception);
29678 s = A.getTraceFromException(exception);
29679 A._rootHandleError(e, s);
29680 }
29681 },
29682 runBinaryGuarded$2$3(f, arg1, arg2) {
29683 var e, s, exception;
29684 try {
29685 if (B.C__RootZone === $.Zone__current) {
29686 f.call$2(arg1, arg2);
29687 return;
29688 }
29689 A._rootRunBinary(null, null, this, f, arg1, arg2);
29690 } catch (exception) {
29691 e = A.unwrapException(exception);
29692 s = A.getTraceFromException(exception);
29693 A._rootHandleError(e, s);
29694 }
29695 },
29696 bindCallback$1$1(f, $R) {
29697 return new A._RootZone_bindCallback_closure(this, f, $R);
29698 },
29699 bindUnaryCallback$2$1(f, $R, $T) {
29700 return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
29701 },
29702 bindCallbackGuarded$1(f) {
29703 return new A._RootZone_bindCallbackGuarded_closure(this, f);
29704 },
29705 $index(_, key) {
29706 return null;
29707 },
29708 handleUncaughtError$2(error, stackTrace) {
29709 A._rootHandleError(error, stackTrace);
29710 },
29711 fork$2$specification$zoneValues(specification, zoneValues) {
29712 return A._rootFork(null, null, this, specification, zoneValues);
29713 },
29714 run$1$1(_, f) {
29715 if ($.Zone__current === B.C__RootZone)
29716 return f.call$0();
29717 return A._rootRun(null, null, this, f);
29718 },
29719 runUnary$2$2(f, arg) {
29720 if ($.Zone__current === B.C__RootZone)
29721 return f.call$1(arg);
29722 return A._rootRunUnary(null, null, this, f, arg);
29723 },
29724 runBinary$3$3(f, arg1, arg2) {
29725 if ($.Zone__current === B.C__RootZone)
29726 return f.call$2(arg1, arg2);
29727 return A._rootRunBinary(null, null, this, f, arg1, arg2);
29728 },
29729 registerCallback$1$1(f) {
29730 return f;
29731 },
29732 registerUnaryCallback$2$1(f) {
29733 return f;
29734 },
29735 registerBinaryCallback$3$1(f) {
29736 return f;
29737 },
29738 errorCallback$2(error, stackTrace) {
29739 return null;
29740 },
29741 scheduleMicrotask$1(f) {
29742 A._rootScheduleMicrotask(null, null, this, f);
29743 },
29744 createTimer$2(duration, f) {
29745 return A.Timer__createTimer(duration, f);
29746 },
29747 print$1(line) {
29748 A.printString(line);
29749 }
29750 };
29751 A._RootZone_bindCallback_closure.prototype = {
29752 call$0() {
29753 return this.$this.run$1$1(0, this.f, this.R);
29754 },
29755 $signature() {
29756 return this.R._eval$1("0()");
29757 }
29758 };
29759 A._RootZone_bindUnaryCallback_closure.prototype = {
29760 call$1(arg) {
29761 var _this = this;
29762 return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
29763 },
29764 $signature() {
29765 return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
29766 }
29767 };
29768 A._RootZone_bindCallbackGuarded_closure.prototype = {
29769 call$0() {
29770 return this.$this.runGuarded$1(this.f);
29771 },
29772 $signature: 0
29773 };
29774 A._HashMap.prototype = {
29775 get$length(_) {
29776 return this._collection$_length;
29777 },
29778 get$isEmpty(_) {
29779 return this._collection$_length === 0;
29780 },
29781 get$isNotEmpty(_) {
29782 return this._collection$_length !== 0;
29783 },
29784 get$keys(_) {
29785 return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
29786 },
29787 get$values(_) {
29788 var t1 = A._instanceType(this);
29789 return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
29790 },
29791 containsKey$1(key) {
29792 var strings, nums;
29793 if (typeof key == "string" && key !== "__proto__") {
29794 strings = this._collection$_strings;
29795 return strings == null ? false : strings[key] != null;
29796 } else if (typeof key == "number" && (key & 1073741823) === key) {
29797 nums = this._collection$_nums;
29798 return nums == null ? false : nums[key] != null;
29799 } else
29800 return this._containsKey$1(key);
29801 },
29802 _containsKey$1(key) {
29803 var rest = this._collection$_rest;
29804 if (rest == null)
29805 return false;
29806 return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
29807 },
29808 addAll$1(_, other) {
29809 other.forEach$1(0, new A._HashMap_addAll_closure(this));
29810 },
29811 $index(_, key) {
29812 var strings, t1, nums;
29813 if (typeof key == "string" && key !== "__proto__") {
29814 strings = this._collection$_strings;
29815 t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
29816 return t1;
29817 } else if (typeof key == "number" && (key & 1073741823) === key) {
29818 nums = this._collection$_nums;
29819 t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
29820 return t1;
29821 } else
29822 return this._get$1(key);
29823 },
29824 _get$1(key) {
29825 var bucket, index,
29826 rest = this._collection$_rest;
29827 if (rest == null)
29828 return null;
29829 bucket = this._getBucket$2(rest, key);
29830 index = this._findBucketIndex$2(bucket, key);
29831 return index < 0 ? null : bucket[index + 1];
29832 },
29833 $indexSet(_, key, value) {
29834 var strings, nums, _this = this;
29835 if (typeof key == "string" && key !== "__proto__") {
29836 strings = _this._collection$_strings;
29837 _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
29838 } else if (typeof key == "number" && (key & 1073741823) === key) {
29839 nums = _this._collection$_nums;
29840 _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
29841 } else
29842 _this._set$2(key, value);
29843 },
29844 _set$2(key, value) {
29845 var hash, bucket, index, _this = this,
29846 rest = _this._collection$_rest;
29847 if (rest == null)
29848 rest = _this._collection$_rest = A._HashMap__newHashTable();
29849 hash = _this._computeHashCode$1(key);
29850 bucket = rest[hash];
29851 if (bucket == null) {
29852 A._HashMap__setTableEntry(rest, hash, [key, value]);
29853 ++_this._collection$_length;
29854 _this._keys = null;
29855 } else {
29856 index = _this._findBucketIndex$2(bucket, key);
29857 if (index >= 0)
29858 bucket[index + 1] = value;
29859 else {
29860 bucket.push(key, value);
29861 ++_this._collection$_length;
29862 _this._keys = null;
29863 }
29864 }
29865 },
29866 remove$1(_, key) {
29867 var t1;
29868 if (typeof key == "string" && key !== "__proto__")
29869 return this._removeHashTableEntry$2(this._collection$_strings, key);
29870 else {
29871 t1 = this._remove$1(key);
29872 return t1;
29873 }
29874 },
29875 _remove$1(key) {
29876 var hash, bucket, index, result, _this = this,
29877 rest = _this._collection$_rest;
29878 if (rest == null)
29879 return null;
29880 hash = _this._computeHashCode$1(key);
29881 bucket = rest[hash];
29882 index = _this._findBucketIndex$2(bucket, key);
29883 if (index < 0)
29884 return null;
29885 --_this._collection$_length;
29886 _this._keys = null;
29887 result = bucket.splice(index, 2)[1];
29888 if (0 === bucket.length)
29889 delete rest[hash];
29890 return result;
29891 },
29892 forEach$1(_, action) {
29893 var $length, t1, i, key, _this = this,
29894 keys = _this._computeKeys$0();
29895 for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
29896 key = keys[i];
29897 action.call$2(key, t1._as(_this.$index(0, key)));
29898 if (keys !== _this._keys)
29899 throw A.wrapException(A.ConcurrentModificationError$(_this));
29900 }
29901 },
29902 _computeKeys$0() {
29903 var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this,
29904 result = _this._keys;
29905 if (result != null)
29906 return result;
29907 result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
29908 strings = _this._collection$_strings;
29909 if (strings != null) {
29910 names = Object.getOwnPropertyNames(strings);
29911 entries = names.length;
29912 for (index = 0, i = 0; i < entries; ++i) {
29913 result[index] = names[i];
29914 ++index;
29915 }
29916 } else
29917 index = 0;
29918 nums = _this._collection$_nums;
29919 if (nums != null) {
29920 names = Object.getOwnPropertyNames(nums);
29921 entries = names.length;
29922 for (i = 0; i < entries; ++i) {
29923 result[index] = +names[i];
29924 ++index;
29925 }
29926 }
29927 rest = _this._collection$_rest;
29928 if (rest != null) {
29929 names = Object.getOwnPropertyNames(rest);
29930 entries = names.length;
29931 for (i = 0; i < entries; ++i) {
29932 bucket = rest[names[i]];
29933 $length = bucket.length;
29934 for (i0 = 0; i0 < $length; i0 += 2) {
29935 result[index] = bucket[i0];
29936 ++index;
29937 }
29938 }
29939 }
29940 return _this._keys = result;
29941 },
29942 _collection$_addHashTableEntry$3(table, key, value) {
29943 if (table[key] == null) {
29944 ++this._collection$_length;
29945 this._keys = null;
29946 }
29947 A._HashMap__setTableEntry(table, key, value);
29948 },
29949 _removeHashTableEntry$2(table, key) {
29950 var value;
29951 if (table != null && table[key] != null) {
29952 value = A._HashMap__getTableEntry(table, key);
29953 delete table[key];
29954 --this._collection$_length;
29955 this._keys = null;
29956 return value;
29957 } else
29958 return null;
29959 },
29960 _computeHashCode$1(key) {
29961 return J.get$hashCode$(key) & 1073741823;
29962 },
29963 _getBucket$2(table, key) {
29964 return table[this._computeHashCode$1(key)];
29965 },
29966 _findBucketIndex$2(bucket, key) {
29967 var $length, i;
29968 if (bucket == null)
29969 return -1;
29970 $length = bucket.length;
29971 for (i = 0; i < $length; i += 2)
29972 if (J.$eq$(bucket[i], key))
29973 return i;
29974 return -1;
29975 }
29976 };
29977 A._HashMap_values_closure.prototype = {
29978 call$1(each) {
29979 var t1 = this.$this;
29980 return A._instanceType(t1)._rest[1]._as(t1.$index(0, each));
29981 },
29982 $signature() {
29983 return A._instanceType(this.$this)._eval$1("2(1)");
29984 }
29985 };
29986 A._HashMap_addAll_closure.prototype = {
29987 call$2(key, value) {
29988 this.$this.$indexSet(0, key, value);
29989 },
29990 $signature() {
29991 return A._instanceType(this.$this)._eval$1("~(1,2)");
29992 }
29993 };
29994 A._IdentityHashMap.prototype = {
29995 _computeHashCode$1(key) {
29996 return A.objectHashCode(key) & 1073741823;
29997 },
29998 _findBucketIndex$2(bucket, key) {
29999 var $length, i, t1;
30000 if (bucket == null)
30001 return -1;
30002 $length = bucket.length;
30003 for (i = 0; i < $length; i += 2) {
30004 t1 = bucket[i];
30005 if (t1 == null ? key == null : t1 === key)
30006 return i;
30007 }
30008 return -1;
30009 }
30010 };
30011 A._HashMapKeyIterable.prototype = {
30012 get$length(_) {
30013 return this._map._collection$_length;
30014 },
30015 get$isEmpty(_) {
30016 return this._map._collection$_length === 0;
30017 },
30018 get$iterator(_) {
30019 var t1 = this._map;
30020 return new A._HashMapKeyIterator(t1, t1._computeKeys$0());
30021 },
30022 contains$1(_, element) {
30023 return this._map.containsKey$1(element);
30024 }
30025 };
30026 A._HashMapKeyIterator.prototype = {
30027 get$current(_) {
30028 return A._instanceType(this)._precomputed1._as(this._collection$_current);
30029 },
30030 moveNext$0() {
30031 var _this = this,
30032 keys = _this._keys,
30033 offset = _this._offset,
30034 t1 = _this._map;
30035 if (keys !== t1._keys)
30036 throw A.wrapException(A.ConcurrentModificationError$(t1));
30037 else if (offset >= keys.length) {
30038 _this._collection$_current = null;
30039 return false;
30040 } else {
30041 _this._collection$_current = keys[offset];
30042 _this._offset = offset + 1;
30043 return true;
30044 }
30045 }
30046 };
30047 A._LinkedIdentityHashMap.prototype = {
30048 internalComputeHashCode$1(key) {
30049 return A.objectHashCode(key) & 1073741823;
30050 },
30051 internalFindBucketIndex$2(bucket, key) {
30052 var $length, i, t1;
30053 if (bucket == null)
30054 return -1;
30055 $length = bucket.length;
30056 for (i = 0; i < $length; ++i) {
30057 t1 = bucket[i].hashMapCellKey;
30058 if (t1 == null ? key == null : t1 === key)
30059 return i;
30060 }
30061 return -1;
30062 }
30063 };
30064 A._LinkedCustomHashMap.prototype = {
30065 $index(_, key) {
30066 if (!this._validKey.call$1(key))
30067 return null;
30068 return this.super$JsLinkedHashMap$internalGet(key);
30069 },
30070 $indexSet(_, key, value) {
30071 this.super$JsLinkedHashMap$internalSet(key, value);
30072 },
30073 containsKey$1(key) {
30074 if (!this._validKey.call$1(key))
30075 return false;
30076 return this.super$JsLinkedHashMap$internalContainsKey(key);
30077 },
30078 remove$1(_, key) {
30079 if (!this._validKey.call$1(key))
30080 return null;
30081 return this.super$JsLinkedHashMap$internalRemove(key);
30082 },
30083 internalComputeHashCode$1(key) {
30084 return this._hashCode.call$1(key) & 1073741823;
30085 },
30086 internalFindBucketIndex$2(bucket, key) {
30087 var $length, t1, i;
30088 if (bucket == null)
30089 return -1;
30090 $length = bucket.length;
30091 for (t1 = this._equals, i = 0; i < $length; ++i)
30092 if (t1.call$2(bucket[i].hashMapCellKey, key))
30093 return i;
30094 return -1;
30095 }
30096 };
30097 A._LinkedCustomHashMap_closure.prototype = {
30098 call$1(v) {
30099 return this.K._is(v);
30100 },
30101 $signature: 128
30102 };
30103 A._LinkedHashSet.prototype = {
30104 _newSet$0() {
30105 return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
30106 },
30107 _newSimilarSet$1$0($R) {
30108 return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
30109 },
30110 _newSimilarSet$0() {
30111 return this._newSimilarSet$1$0(type$.dynamic);
30112 },
30113 get$iterator(_) {
30114 var t1 = new A._LinkedHashSetIterator(this, this._collection$_modifications);
30115 t1._collection$_cell = this._collection$_first;
30116 return t1;
30117 },
30118 get$length(_) {
30119 return this._collection$_length;
30120 },
30121 get$isEmpty(_) {
30122 return this._collection$_length === 0;
30123 },
30124 get$isNotEmpty(_) {
30125 return this._collection$_length !== 0;
30126 },
30127 contains$1(_, object) {
30128 var strings, nums;
30129 if (typeof object == "string" && object !== "__proto__") {
30130 strings = this._collection$_strings;
30131 if (strings == null)
30132 return false;
30133 return strings[object] != null;
30134 } else if (typeof object == "number" && (object & 1073741823) === object) {
30135 nums = this._collection$_nums;
30136 if (nums == null)
30137 return false;
30138 return nums[object] != null;
30139 } else
30140 return this._contains$1(object);
30141 },
30142 _contains$1(object) {
30143 var rest = this._collection$_rest;
30144 if (rest == null)
30145 return false;
30146 return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
30147 },
30148 get$first(_) {
30149 var first = this._collection$_first;
30150 if (first == null)
30151 throw A.wrapException(A.StateError$("No elements"));
30152 return first._element;
30153 },
30154 get$last(_) {
30155 var last = this._collection$_last;
30156 if (last == null)
30157 throw A.wrapException(A.StateError$("No elements"));
30158 return last._element;
30159 },
30160 add$1(_, element) {
30161 var strings, nums, _this = this;
30162 if (typeof element == "string" && element !== "__proto__") {
30163 strings = _this._collection$_strings;
30164 return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
30165 } else if (typeof element == "number" && (element & 1073741823) === element) {
30166 nums = _this._collection$_nums;
30167 return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
30168 } else
30169 return _this._add$1(element);
30170 },
30171 _add$1(element) {
30172 var hash, bucket, _this = this,
30173 rest = _this._collection$_rest;
30174 if (rest == null)
30175 rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
30176 hash = _this._computeHashCode$1(element);
30177 bucket = rest[hash];
30178 if (bucket == null)
30179 rest[hash] = [_this._collection$_newLinkedCell$1(element)];
30180 else {
30181 if (_this._findBucketIndex$2(bucket, element) >= 0)
30182 return false;
30183 bucket.push(_this._collection$_newLinkedCell$1(element));
30184 }
30185 return true;
30186 },
30187 remove$1(_, object) {
30188 var _this = this;
30189 if (typeof object == "string" && object !== "__proto__")
30190 return _this._removeHashTableEntry$2(_this._collection$_strings, object);
30191 else if (typeof object == "number" && (object & 1073741823) === object)
30192 return _this._removeHashTableEntry$2(_this._collection$_nums, object);
30193 else
30194 return _this._remove$1(object);
30195 },
30196 _remove$1(object) {
30197 var hash, bucket, index, cell, _this = this,
30198 rest = _this._collection$_rest;
30199 if (rest == null)
30200 return false;
30201 hash = _this._computeHashCode$1(object);
30202 bucket = rest[hash];
30203 index = _this._findBucketIndex$2(bucket, object);
30204 if (index < 0)
30205 return false;
30206 cell = bucket.splice(index, 1)[0];
30207 if (0 === bucket.length)
30208 delete rest[hash];
30209 _this._unlinkCell$1(cell);
30210 return true;
30211 },
30212 _collection$_addHashTableEntry$2(table, element) {
30213 if (table[element] != null)
30214 return false;
30215 table[element] = this._collection$_newLinkedCell$1(element);
30216 return true;
30217 },
30218 _removeHashTableEntry$2(table, element) {
30219 var cell;
30220 if (table == null)
30221 return false;
30222 cell = table[element];
30223 if (cell == null)
30224 return false;
30225 this._unlinkCell$1(cell);
30226 delete table[element];
30227 return true;
30228 },
30229 _collection$_modified$0() {
30230 this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
30231 },
30232 _collection$_newLinkedCell$1(element) {
30233 var t1, _this = this,
30234 cell = new A._LinkedHashSetCell(element);
30235 if (_this._collection$_first == null)
30236 _this._collection$_first = _this._collection$_last = cell;
30237 else {
30238 t1 = _this._collection$_last;
30239 t1.toString;
30240 cell._collection$_previous = t1;
30241 _this._collection$_last = t1._collection$_next = cell;
30242 }
30243 ++_this._collection$_length;
30244 _this._collection$_modified$0();
30245 return cell;
30246 },
30247 _unlinkCell$1(cell) {
30248 var _this = this,
30249 previous = cell._collection$_previous,
30250 next = cell._collection$_next;
30251 if (previous == null)
30252 _this._collection$_first = next;
30253 else
30254 previous._collection$_next = next;
30255 if (next == null)
30256 _this._collection$_last = previous;
30257 else
30258 next._collection$_previous = previous;
30259 --_this._collection$_length;
30260 _this._collection$_modified$0();
30261 },
30262 _computeHashCode$1(element) {
30263 return J.get$hashCode$(element) & 1073741823;
30264 },
30265 _findBucketIndex$2(bucket, element) {
30266 var $length, i;
30267 if (bucket == null)
30268 return -1;
30269 $length = bucket.length;
30270 for (i = 0; i < $length; ++i)
30271 if (J.$eq$(bucket[i]._element, element))
30272 return i;
30273 return -1;
30274 }
30275 };
30276 A._LinkedIdentityHashSet.prototype = {
30277 _newSet$0() {
30278 return new A._LinkedIdentityHashSet(this.$ti);
30279 },
30280 _newSimilarSet$1$0($R) {
30281 return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
30282 },
30283 _newSimilarSet$0() {
30284 return this._newSimilarSet$1$0(type$.dynamic);
30285 },
30286 _computeHashCode$1(key) {
30287 return A.objectHashCode(key) & 1073741823;
30288 },
30289 _findBucketIndex$2(bucket, element) {
30290 var $length, i, t1;
30291 if (bucket == null)
30292 return -1;
30293 $length = bucket.length;
30294 for (i = 0; i < $length; ++i) {
30295 t1 = bucket[i]._element;
30296 if (t1 == null ? element == null : t1 === element)
30297 return i;
30298 }
30299 return -1;
30300 }
30301 };
30302 A._LinkedHashSetCell.prototype = {};
30303 A._LinkedHashSetIterator.prototype = {
30304 get$current(_) {
30305 return A._instanceType(this)._precomputed1._as(this._collection$_current);
30306 },
30307 moveNext$0() {
30308 var _this = this,
30309 cell = _this._collection$_cell,
30310 t1 = _this._set;
30311 if (_this._collection$_modifications !== t1._collection$_modifications)
30312 throw A.wrapException(A.ConcurrentModificationError$(t1));
30313 else if (cell == null) {
30314 _this._collection$_current = null;
30315 return false;
30316 } else {
30317 _this._collection$_current = cell._element;
30318 _this._collection$_cell = cell._collection$_next;
30319 return true;
30320 }
30321 }
30322 };
30323 A.UnmodifiableListView.prototype = {
30324 cast$1$0(_, $R) {
30325 return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
30326 },
30327 get$length(_) {
30328 return J.get$length$asx(this._collection$_source);
30329 },
30330 $index(_, index) {
30331 return J.elementAt$1$ax(this._collection$_source, index);
30332 }
30333 };
30334 A.HashMap_HashMap$from_closure.prototype = {
30335 call$2(k, v) {
30336 this.result.$indexSet(0, this.K._as(k), this.V._as(v));
30337 },
30338 $signature: 187
30339 };
30340 A.IterableBase.prototype = {};
30341 A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
30342 call$2(k, v) {
30343 this.result.$indexSet(0, this.K._as(k), this.V._as(v));
30344 },
30345 $signature: 187
30346 };
30347 A.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1};
30348 A.ListMixin.prototype = {
30349 get$iterator(receiver) {
30350 return new A.ListIterator(receiver, this.get$length(receiver));
30351 },
30352 elementAt$1(receiver, index) {
30353 return this.$index(receiver, index);
30354 },
30355 get$isEmpty(receiver) {
30356 return this.get$length(receiver) === 0;
30357 },
30358 get$isNotEmpty(receiver) {
30359 return !this.get$isEmpty(receiver);
30360 },
30361 get$first(receiver) {
30362 if (this.get$length(receiver) === 0)
30363 throw A.wrapException(A.IterableElementError_noElement());
30364 return this.$index(receiver, 0);
30365 },
30366 get$last(receiver) {
30367 if (this.get$length(receiver) === 0)
30368 throw A.wrapException(A.IterableElementError_noElement());
30369 return this.$index(receiver, this.get$length(receiver) - 1);
30370 },
30371 get$single(receiver) {
30372 if (this.get$length(receiver) === 0)
30373 throw A.wrapException(A.IterableElementError_noElement());
30374 if (this.get$length(receiver) > 1)
30375 throw A.wrapException(A.IterableElementError_tooMany());
30376 return this.$index(receiver, 0);
30377 },
30378 contains$1(receiver, element) {
30379 var i,
30380 $length = this.get$length(receiver);
30381 for (i = 0; i < $length; ++i) {
30382 if (J.$eq$(this.$index(receiver, i), element))
30383 return true;
30384 if ($length !== this.get$length(receiver))
30385 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30386 }
30387 return false;
30388 },
30389 every$1(receiver, test) {
30390 var i,
30391 $length = this.get$length(receiver);
30392 for (i = 0; i < $length; ++i) {
30393 if (!test.call$1(this.$index(receiver, i)))
30394 return false;
30395 if ($length !== this.get$length(receiver))
30396 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30397 }
30398 return true;
30399 },
30400 any$1(receiver, test) {
30401 var i,
30402 $length = this.get$length(receiver);
30403 for (i = 0; i < $length; ++i) {
30404 if (test.call$1(this.$index(receiver, i)))
30405 return true;
30406 if ($length !== this.get$length(receiver))
30407 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30408 }
30409 return false;
30410 },
30411 lastWhere$2$orElse(receiver, test, orElse) {
30412 var i, element,
30413 $length = this.get$length(receiver);
30414 for (i = $length - 1; i >= 0; --i) {
30415 element = this.$index(receiver, i);
30416 if (test.call$1(element))
30417 return element;
30418 if ($length !== this.get$length(receiver))
30419 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30420 }
30421 if (orElse != null)
30422 return orElse.call$0();
30423 throw A.wrapException(A.IterableElementError_noElement());
30424 },
30425 join$1(receiver, separator) {
30426 var t1;
30427 if (this.get$length(receiver) === 0)
30428 return "";
30429 t1 = A.StringBuffer__writeAll("", receiver, separator);
30430 return t1.charCodeAt(0) == 0 ? t1 : t1;
30431 },
30432 join$0($receiver) {
30433 return this.join$1($receiver, "");
30434 },
30435 where$1(receiver, test) {
30436 return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListMixin.E>"));
30437 },
30438 map$1$1(receiver, f, $T) {
30439 return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
30440 },
30441 expand$1$1(receiver, f, $T) {
30442 return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
30443 },
30444 skip$1(receiver, count) {
30445 return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListMixin.E"));
30446 },
30447 take$1(receiver, count) {
30448 return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListMixin.E"));
30449 },
30450 toList$1$growable(receiver, growable) {
30451 var t1, first, result, i, _this = this;
30452 if (_this.get$isEmpty(receiver)) {
30453 t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListMixin.E"));
30454 return t1;
30455 }
30456 first = _this.$index(receiver, 0);
30457 result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListMixin.E"));
30458 for (i = 1; i < _this.get$length(receiver); ++i)
30459 result[i] = _this.$index(receiver, i);
30460 return result;
30461 },
30462 toList$0($receiver) {
30463 return this.toList$1$growable($receiver, true);
30464 },
30465 toSet$0(receiver) {
30466 var i,
30467 result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListMixin.E"));
30468 for (i = 0; i < this.get$length(receiver); ++i)
30469 result.add$1(0, this.$index(receiver, i));
30470 return result;
30471 },
30472 add$1(receiver, element) {
30473 var t1 = this.get$length(receiver);
30474 this.set$length(receiver, t1 + 1);
30475 this.$indexSet(receiver, t1, element);
30476 },
30477 cast$1$0(receiver, $R) {
30478 return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($R)._eval$1("CastList<1,2>"));
30479 },
30480 sort$1(receiver, compare) {
30481 A.Sort_sort(receiver, compare == null ? A.collection_ListMixin__compareAny$closure() : compare);
30482 },
30483 sublist$2(receiver, start, end) {
30484 var listLength = this.get$length(receiver);
30485 A.RangeError_checkValidRange(start, end, listLength);
30486 return A.List_List$from(this.getRange$2(receiver, start, end), true, A.instanceType(receiver)._eval$1("ListMixin.E"));
30487 },
30488 getRange$2(receiver, start, end) {
30489 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30490 return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListMixin.E"));
30491 },
30492 fillRange$3(receiver, start, end, fill) {
30493 var i;
30494 A.instanceType(receiver)._eval$1("ListMixin.E")._as(fill);
30495 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30496 for (i = start; i < end; ++i)
30497 this.$indexSet(receiver, i, fill);
30498 },
30499 setRange$4(receiver, start, end, iterable, skipCount) {
30500 var $length, otherStart, otherList, t1, i;
30501 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30502 $length = end - start;
30503 if ($length === 0)
30504 return;
30505 A.RangeError_checkNotNegative(skipCount, "skipCount");
30506 if (A.instanceType(receiver)._eval$1("List<ListMixin.E>")._is(iterable)) {
30507 otherStart = skipCount;
30508 otherList = iterable;
30509 } else {
30510 otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
30511 otherStart = 0;
30512 }
30513 t1 = J.getInterceptor$asx(otherList);
30514 if (otherStart + $length > t1.get$length(otherList))
30515 throw A.wrapException(A.IterableElementError_tooFew());
30516 if (otherStart < start)
30517 for (i = $length - 1; i >= 0; --i)
30518 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
30519 else
30520 for (i = 0; i < $length; ++i)
30521 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
30522 },
30523 get$reversed(receiver) {
30524 return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListMixin.E>"));
30525 },
30526 toString$0(receiver) {
30527 return A.IterableBase_iterableToFullString(receiver, "[", "]");
30528 }
30529 };
30530 A.MapBase.prototype = {};
30531 A.MapBase_mapToString_closure.prototype = {
30532 call$2(k, v) {
30533 var t2,
30534 t1 = this._box_0;
30535 if (!t1.first)
30536 this.result._contents += ", ";
30537 t1.first = false;
30538 t1 = this.result;
30539 t2 = t1._contents += A.S(k);
30540 t1._contents = t2 + ": ";
30541 t1._contents += A.S(v);
30542 },
30543 $signature: 186
30544 };
30545 A.MapMixin.prototype = {
30546 cast$2$0(_, RK, RV) {
30547 var t1 = A._instanceType(this);
30548 return A.Map_castFrom(this, t1._eval$1("MapMixin.K"), t1._eval$1("MapMixin.V"), RK, RV);
30549 },
30550 forEach$1(_, action) {
30551 var t1, t2, key, _this = this;
30552 for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapMixin.V"); t1.moveNext$0();) {
30553 key = t1.get$current(t1);
30554 action.call$2(key, t2._as(_this.$index(0, key)));
30555 }
30556 },
30557 addAll$1(_, other) {
30558 var t1, t2, key;
30559 for (t1 = J.get$iterator$ax(other.get$keys(other)), t2 = A._instanceType(this)._eval$1("MapMixin.V"); t1.moveNext$0();) {
30560 key = t1.get$current(t1);
30561 this.$indexSet(0, key, t2._as(other.$index(0, key)));
30562 }
30563 },
30564 get$entries(_) {
30565 var _this = this;
30566 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>"));
30567 },
30568 containsKey$1(key) {
30569 return J.contains$1$asx(this.get$keys(this), key);
30570 },
30571 get$length(_) {
30572 return J.get$length$asx(this.get$keys(this));
30573 },
30574 get$isEmpty(_) {
30575 return J.get$isEmpty$asx(this.get$keys(this));
30576 },
30577 get$isNotEmpty(_) {
30578 return J.get$isNotEmpty$asx(this.get$keys(this));
30579 },
30580 get$values(_) {
30581 var t1 = A._instanceType(this);
30582 return new A._MapBaseValueIterable(this, t1._eval$1("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("_MapBaseValueIterable<1,2>"));
30583 },
30584 toString$0(_) {
30585 return A.MapBase_mapToString(this);
30586 },
30587 $isMap: 1
30588 };
30589 A.MapMixin_entries_closure.prototype = {
30590 call$1(key) {
30591 var t1 = this.$this,
30592 t2 = A._instanceType(t1),
30593 t3 = t2._eval$1("MapMixin.V");
30594 return new A.MapEntry(key, t3._as(t1.$index(0, key)), t2._eval$1("@<MapMixin.K>")._bind$1(t3)._eval$1("MapEntry<1,2>"));
30595 },
30596 $signature() {
30597 return A._instanceType(this.$this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>(MapMixin.K)");
30598 }
30599 };
30600 A.UnmodifiableMapBase.prototype = {};
30601 A._MapBaseValueIterable.prototype = {
30602 get$length(_) {
30603 var t1 = this._map;
30604 return t1.get$length(t1);
30605 },
30606 get$isEmpty(_) {
30607 var t1 = this._map;
30608 return t1.get$isEmpty(t1);
30609 },
30610 get$isNotEmpty(_) {
30611 var t1 = this._map;
30612 return t1.get$isNotEmpty(t1);
30613 },
30614 get$first(_) {
30615 var t1 = this._map;
30616 return this.$ti._rest[1]._as(t1.$index(0, J.get$first$ax(t1.get$keys(t1))));
30617 },
30618 get$single(_) {
30619 var t1 = this._map;
30620 return this.$ti._rest[1]._as(t1.$index(0, J.get$single$ax(t1.get$keys(t1))));
30621 },
30622 get$last(_) {
30623 var t1 = this._map;
30624 return this.$ti._rest[1]._as(t1.$index(0, J.get$last$ax(t1.get$keys(t1))));
30625 },
30626 get$iterator(_) {
30627 var t1 = this._map;
30628 return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1);
30629 }
30630 };
30631 A._MapBaseValueIterator.prototype = {
30632 moveNext$0() {
30633 var _this = this,
30634 t1 = _this._keys;
30635 if (t1.moveNext$0()) {
30636 _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
30637 return true;
30638 }
30639 _this._collection$_current = null;
30640 return false;
30641 },
30642 get$current(_) {
30643 return A._instanceType(this)._rest[1]._as(this._collection$_current);
30644 }
30645 };
30646 A._UnmodifiableMapMixin.prototype = {
30647 $indexSet(_, key, value) {
30648 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30649 },
30650 addAll$1(_, other) {
30651 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30652 },
30653 remove$1(_, key) {
30654 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30655 }
30656 };
30657 A.MapView.prototype = {
30658 cast$2$0(_, RK, RV) {
30659 return this._map.cast$2$0(0, RK, RV);
30660 },
30661 $index(_, key) {
30662 return this._map.$index(0, key);
30663 },
30664 $indexSet(_, key, value) {
30665 this._map.$indexSet(0, key, value);
30666 },
30667 addAll$1(_, other) {
30668 this._map.addAll$1(0, other);
30669 },
30670 containsKey$1(key) {
30671 return this._map.containsKey$1(key);
30672 },
30673 forEach$1(_, action) {
30674 this._map.forEach$1(0, action);
30675 },
30676 get$isEmpty(_) {
30677 var t1 = this._map;
30678 return t1.get$isEmpty(t1);
30679 },
30680 get$isNotEmpty(_) {
30681 var t1 = this._map;
30682 return t1.get$isNotEmpty(t1);
30683 },
30684 get$length(_) {
30685 var t1 = this._map;
30686 return t1.get$length(t1);
30687 },
30688 get$keys(_) {
30689 var t1 = this._map;
30690 return t1.get$keys(t1);
30691 },
30692 remove$1(_, key) {
30693 return this._map.remove$1(0, key);
30694 },
30695 toString$0(_) {
30696 return this._map.toString$0(0);
30697 },
30698 get$values(_) {
30699 var t1 = this._map;
30700 return t1.get$values(t1);
30701 },
30702 get$entries(_) {
30703 var t1 = this._map;
30704 return t1.get$entries(t1);
30705 },
30706 $isMap: 1
30707 };
30708 A.UnmodifiableMapView.prototype = {
30709 cast$2$0(_, RK, RV) {
30710 return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
30711 }
30712 };
30713 A.ListQueue.prototype = {
30714 get$iterator(_) {
30715 var _this = this;
30716 return new A._ListQueueIterator(_this, _this._collection$_tail, _this._modificationCount, _this._collection$_head);
30717 },
30718 get$isEmpty(_) {
30719 return this._collection$_head === this._collection$_tail;
30720 },
30721 get$length(_) {
30722 return (this._collection$_tail - this._collection$_head & this._collection$_table.length - 1) >>> 0;
30723 },
30724 get$first(_) {
30725 var _this = this,
30726 t1 = _this._collection$_head;
30727 if (t1 === _this._collection$_tail)
30728 throw A.wrapException(A.IterableElementError_noElement());
30729 return _this.$ti._precomputed1._as(_this._collection$_table[t1]);
30730 },
30731 get$last(_) {
30732 var _this = this,
30733 t1 = _this._collection$_head,
30734 t2 = _this._collection$_tail;
30735 if (t1 === t2)
30736 throw A.wrapException(A.IterableElementError_noElement());
30737 t1 = _this._collection$_table;
30738 return _this.$ti._precomputed1._as(t1[(t2 - 1 & t1.length - 1) >>> 0]);
30739 },
30740 get$single(_) {
30741 var _this = this;
30742 if (_this._collection$_head === _this._collection$_tail)
30743 throw A.wrapException(A.IterableElementError_noElement());
30744 if (_this.get$length(_this) > 1)
30745 throw A.wrapException(A.IterableElementError_tooMany());
30746 return _this.$ti._precomputed1._as(_this._collection$_table[_this._collection$_head]);
30747 },
30748 elementAt$1(_, index) {
30749 var t1, _this = this;
30750 A.RangeError_checkValidIndex(index, _this, null);
30751 t1 = _this._collection$_table;
30752 return _this.$ti._precomputed1._as(t1[(_this._collection$_head + index & t1.length - 1) >>> 0]);
30753 },
30754 toList$1$growable(_, growable) {
30755 var t1, list, t2, t3, i, _this = this,
30756 mask = _this._collection$_table.length - 1,
30757 $length = (_this._collection$_tail - _this._collection$_head & mask) >>> 0;
30758 if ($length === 0) {
30759 t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
30760 return t1;
30761 }
30762 t1 = _this.$ti._precomputed1;
30763 list = A.List_List$filled($length, _this.get$first(_this), true, t1);
30764 for (t2 = _this._collection$_table, t3 = _this._collection$_head, i = 0; i < $length; ++i)
30765 list[i] = t1._as(t2[(t3 + i & mask) >>> 0]);
30766 return list;
30767 },
30768 toList$0($receiver) {
30769 return this.toList$1$growable($receiver, true);
30770 },
30771 add$1(_, value) {
30772 this._add$1(value);
30773 },
30774 addAll$1(_, elements) {
30775 var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _this = this,
30776 t1 = _this.$ti;
30777 if (t1._eval$1("List<1>")._is(elements)) {
30778 addCount = J.get$length$asx(elements);
30779 $length = _this.get$length(_this);
30780 t2 = $length + addCount;
30781 t3 = _this._collection$_table;
30782 t4 = t3.length;
30783 if (t2 >= t4) {
30784 newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + B.JSInt_methods._shrOtherPositive$1(t2, 1)), null, false, t1._eval$1("1?"));
30785 _this._collection$_tail = _this._collection$_writeToList$1(newTable);
30786 _this._collection$_table = newTable;
30787 _this._collection$_head = 0;
30788 B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
30789 _this._collection$_tail += addCount;
30790 } else {
30791 t1 = _this._collection$_tail;
30792 endSpace = t4 - t1;
30793 if (addCount < endSpace) {
30794 B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
30795 _this._collection$_tail += addCount;
30796 } else {
30797 preSpace = addCount - endSpace;
30798 B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
30799 B.JSArray_methods.setRange$4(_this._collection$_table, 0, preSpace, elements, endSpace);
30800 _this._collection$_tail = preSpace;
30801 }
30802 }
30803 ++_this._modificationCount;
30804 } else
30805 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30806 _this._add$1(t1.get$current(t1));
30807 },
30808 clear$0(_) {
30809 var t2, t3, _this = this,
30810 i = _this._collection$_head,
30811 t1 = _this._collection$_tail;
30812 if (i !== t1) {
30813 for (t2 = _this._collection$_table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
30814 t2[i] = null;
30815 _this._collection$_head = _this._collection$_tail = 0;
30816 ++_this._modificationCount;
30817 }
30818 },
30819 toString$0(_) {
30820 return A.IterableBase_iterableToFullString(this, "{", "}");
30821 },
30822 addFirst$1(value) {
30823 var _this = this,
30824 t1 = _this._collection$_head,
30825 t2 = _this._collection$_table;
30826 t1 = _this._collection$_head = (t1 - 1 & t2.length - 1) >>> 0;
30827 t2[t1] = value;
30828 if (t1 === _this._collection$_tail)
30829 _this._collection$_grow$0();
30830 ++_this._modificationCount;
30831 },
30832 removeFirst$0() {
30833 var t2, result, _this = this,
30834 t1 = _this._collection$_head;
30835 if (t1 === _this._collection$_tail)
30836 throw A.wrapException(A.IterableElementError_noElement());
30837 ++_this._modificationCount;
30838 t2 = _this._collection$_table;
30839 result = _this.$ti._precomputed1._as(t2[t1]);
30840 t2[t1] = null;
30841 _this._collection$_head = (t1 + 1 & t2.length - 1) >>> 0;
30842 return result;
30843 },
30844 removeLast$0(_) {
30845 var result, _this = this,
30846 t1 = _this._collection$_head,
30847 t2 = _this._collection$_tail;
30848 if (t1 === t2)
30849 throw A.wrapException(A.IterableElementError_noElement());
30850 ++_this._modificationCount;
30851 t1 = _this._collection$_table;
30852 t2 = _this._collection$_tail = (t2 - 1 & t1.length - 1) >>> 0;
30853 result = _this.$ti._precomputed1._as(t1[t2]);
30854 t1[t2] = null;
30855 return result;
30856 },
30857 _add$1(element) {
30858 var _this = this,
30859 t1 = _this._collection$_table,
30860 t2 = _this._collection$_tail;
30861 t1[t2] = element;
30862 t1 = (t2 + 1 & t1.length - 1) >>> 0;
30863 _this._collection$_tail = t1;
30864 if (_this._collection$_head === t1)
30865 _this._collection$_grow$0();
30866 ++_this._modificationCount;
30867 },
30868 _collection$_grow$0() {
30869 var _this = this,
30870 newTable = A.List_List$filled(_this._collection$_table.length * 2, null, false, _this.$ti._eval$1("1?")),
30871 t1 = _this._collection$_table,
30872 t2 = _this._collection$_head,
30873 split = t1.length - t2;
30874 B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
30875 B.JSArray_methods.setRange$4(newTable, split, split + _this._collection$_head, _this._collection$_table, 0);
30876 _this._collection$_head = 0;
30877 _this._collection$_tail = _this._collection$_table.length;
30878 _this._collection$_table = newTable;
30879 },
30880 _collection$_writeToList$1(target) {
30881 var $length, firstPartSize, _this = this,
30882 t1 = _this._collection$_head,
30883 t2 = _this._collection$_tail,
30884 t3 = _this._collection$_table;
30885 if (t1 <= t2) {
30886 $length = t2 - t1;
30887 B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
30888 return $length;
30889 } else {
30890 firstPartSize = t3.length - t1;
30891 B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
30892 B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._collection$_tail, _this._collection$_table, 0);
30893 return _this._collection$_tail + firstPartSize;
30894 }
30895 },
30896 $isQueue: 1
30897 };
30898 A._ListQueueIterator.prototype = {
30899 get$current(_) {
30900 return A._instanceType(this)._precomputed1._as(this._collection$_current);
30901 },
30902 moveNext$0() {
30903 var t2, _this = this,
30904 t1 = _this._queue;
30905 if (_this._modificationCount !== t1._modificationCount)
30906 A.throwExpression(A.ConcurrentModificationError$(t1));
30907 t2 = _this._collection$_position;
30908 if (t2 === _this._collection$_end) {
30909 _this._collection$_current = null;
30910 return false;
30911 }
30912 t1 = t1._collection$_table;
30913 _this._collection$_current = t1[t2];
30914 _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
30915 return true;
30916 }
30917 };
30918 A.SetMixin.prototype = {
30919 get$isEmpty(_) {
30920 return this.get$length(this) === 0;
30921 },
30922 get$isNotEmpty(_) {
30923 return this.get$length(this) !== 0;
30924 },
30925 addAll$1(_, elements) {
30926 var t1;
30927 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30928 this.add$1(0, t1.get$current(t1));
30929 },
30930 removeAll$1(elements) {
30931 var t1;
30932 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30933 this.remove$1(0, t1.get$current(t1));
30934 },
30935 toList$1$growable(_, growable) {
30936 return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
30937 },
30938 toList$0($receiver) {
30939 return this.toList$1$growable($receiver, true);
30940 },
30941 map$1$1(_, f, $T) {
30942 return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
30943 },
30944 get$single(_) {
30945 var it, _this = this;
30946 if (_this.get$length(_this) > 1)
30947 throw A.wrapException(A.IterableElementError_tooMany());
30948 it = _this.get$iterator(_this);
30949 if (!it.moveNext$0())
30950 throw A.wrapException(A.IterableElementError_noElement());
30951 return it.get$current(it);
30952 },
30953 toString$0(_) {
30954 return A.IterableBase_iterableToFullString(this, "{", "}");
30955 },
30956 where$1(_, f) {
30957 return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
30958 },
30959 join$1(_, separator) {
30960 var t1,
30961 iterator = this.get$iterator(this);
30962 if (!iterator.moveNext$0())
30963 return "";
30964 if (separator === "") {
30965 t1 = "";
30966 do
30967 t1 += A.S(iterator.get$current(iterator));
30968 while (iterator.moveNext$0());
30969 } else {
30970 t1 = "" + A.S(iterator.get$current(iterator));
30971 for (; iterator.moveNext$0();)
30972 t1 = t1 + separator + A.S(iterator.get$current(iterator));
30973 }
30974 return t1.charCodeAt(0) == 0 ? t1 : t1;
30975 },
30976 join$0($receiver) {
30977 return this.join$1($receiver, "");
30978 },
30979 any$1(_, test) {
30980 var t1;
30981 for (t1 = this.get$iterator(this); t1.moveNext$0();)
30982 if (test.call$1(t1.get$current(t1)))
30983 return true;
30984 return false;
30985 },
30986 take$1(_, n) {
30987 return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
30988 },
30989 skip$1(_, n) {
30990 return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
30991 },
30992 get$first(_) {
30993 var it = this.get$iterator(this);
30994 if (!it.moveNext$0())
30995 throw A.wrapException(A.IterableElementError_noElement());
30996 return it.get$current(it);
30997 },
30998 get$last(_) {
30999 var result,
31000 it = this.get$iterator(this);
31001 if (!it.moveNext$0())
31002 throw A.wrapException(A.IterableElementError_noElement());
31003 do
31004 result = it.get$current(it);
31005 while (it.moveNext$0());
31006 return result;
31007 },
31008 elementAt$1(_, index) {
31009 var t1, elementIndex, element, _s5_ = "index";
31010 A.checkNotNullable(index, _s5_, type$.int);
31011 A.RangeError_checkNotNegative(index, _s5_);
31012 for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
31013 element = t1.get$current(t1);
31014 if (index === elementIndex)
31015 return element;
31016 ++elementIndex;
31017 }
31018 throw A.wrapException(A.IndexError$(index, this, _s5_, null, elementIndex));
31019 }
31020 };
31021 A._SetBase.prototype = {
31022 difference$1(other) {
31023 var t1, t2, element,
31024 result = this._newSet$0();
31025 for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
31026 element = t1.get$current(t1);
31027 if (!t2.contains$1(0, element))
31028 result.add$1(0, element);
31029 }
31030 return result;
31031 },
31032 intersection$1(other) {
31033 var t1, t2, element,
31034 result = this._newSet$0();
31035 for (t1 = this.get$iterator(this), t2 = other._baseMap; t1.moveNext$0();) {
31036 element = t1.get$current(t1);
31037 if (t2.containsKey$1(element))
31038 result.add$1(0, element);
31039 }
31040 return result;
31041 },
31042 toSet$0(_) {
31043 var t1 = this._newSet$0();
31044 t1.addAll$1(0, this);
31045 return t1;
31046 },
31047 $isEfficientLengthIterable: 1,
31048 $isIterable: 1,
31049 $isSet: 1
31050 };
31051 A._UnmodifiableSetMixin.prototype = {
31052 add$1(_, value) {
31053 return A._UnmodifiableSetMixin__throwUnmodifiable();
31054 },
31055 addAll$1(_, elements) {
31056 return A._UnmodifiableSetMixin__throwUnmodifiable();
31057 },
31058 remove$1(_, value) {
31059 return A._UnmodifiableSetMixin__throwUnmodifiable();
31060 }
31061 };
31062 A._UnmodifiableSet.prototype = {
31063 _newSet$0() {
31064 return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
31065 },
31066 contains$1(_, element) {
31067 return this._map.containsKey$1(element);
31068 },
31069 get$iterator(_) {
31070 var t1 = this._map;
31071 return J.get$iterator$ax(t1.get$keys(t1));
31072 },
31073 get$length(_) {
31074 var t1 = this._map;
31075 return t1.get$length(t1);
31076 }
31077 };
31078 A._ListBase_Object_ListMixin.prototype = {};
31079 A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
31080 A.__SetBase_Object_SetMixin.prototype = {};
31081 A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin.prototype = {};
31082 A.Utf8Decoder__decoder_closure.prototype = {
31083 call$0() {
31084 var t1, exception;
31085 try {
31086 t1 = new TextDecoder("utf-8", {fatal: true});
31087 return t1;
31088 } catch (exception) {
31089 }
31090 return null;
31091 },
31092 $signature: 93
31093 };
31094 A.Utf8Decoder__decoderNonfatal_closure.prototype = {
31095 call$0() {
31096 var t1, exception;
31097 try {
31098 t1 = new TextDecoder("utf-8", {fatal: false});
31099 return t1;
31100 } catch (exception) {
31101 }
31102 return null;
31103 },
31104 $signature: 93
31105 };
31106 A.AsciiCodec.prototype = {
31107 encode$1(source) {
31108 return B.AsciiEncoder_127.convert$1(source);
31109 },
31110 get$encoder() {
31111 return B.AsciiEncoder_127;
31112 }
31113 };
31114 A._UnicodeSubsetEncoder.prototype = {
31115 convert$1(string) {
31116 var t1, i, codeUnit,
31117 $length = A.RangeError_checkValidRange(0, null, string.length) - 0,
31118 result = new Uint8Array($length);
31119 for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) {
31120 codeUnit = B.JSString_methods._codeUnitAt$1(string, i);
31121 if ((codeUnit & t1) !== 0)
31122 throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
31123 result[i] = codeUnit;
31124 }
31125 return result;
31126 }
31127 };
31128 A.AsciiEncoder.prototype = {};
31129 A.Base64Codec.prototype = {
31130 get$encoder() {
31131 return B.C_Base64Encoder;
31132 },
31133 normalize$3(source, start, end) {
31134 var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
31135 _s31_ = "Invalid base64 encoding length ";
31136 end = A.RangeError_checkValidRange(start, end, source.length);
31137 inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
31138 for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
31139 i0 = i + 1;
31140 char = B.JSString_methods._codeUnitAt$1(source, i);
31141 if (char === 37) {
31142 i1 = i0 + 2;
31143 if (i1 <= end) {
31144 digit1 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0));
31145 digit2 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0 + 1));
31146 char0 = digit1 * 16 + digit2 - (digit2 & 256);
31147 if (char0 === 37)
31148 char0 = -1;
31149 i0 = i1;
31150 } else
31151 char0 = -1;
31152 } else
31153 char0 = char;
31154 if (0 <= char0 && char0 <= 127) {
31155 value = inverseAlphabet[char0];
31156 if (value >= 0) {
31157 char0 = B.JSString_methods.codeUnitAt$1(string$.ABCDEF, value);
31158 if (char0 === char)
31159 continue;
31160 char = char0;
31161 } else {
31162 if (value === -1) {
31163 if (firstPadding < 0) {
31164 t1 = buffer == null ? null : buffer._contents.length;
31165 if (t1 == null)
31166 t1 = 0;
31167 firstPadding = t1 + (i - sliceStart);
31168 firstPaddingSourceIndex = i;
31169 }
31170 ++paddingCount;
31171 if (char === 61)
31172 continue;
31173 }
31174 char = char0;
31175 }
31176 if (value !== -2) {
31177 if (buffer == null) {
31178 buffer = new A.StringBuffer("");
31179 t1 = buffer;
31180 } else
31181 t1 = buffer;
31182 t2 = t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
31183 t1._contents = t2 + A.Primitives_stringFromCharCode(char);
31184 sliceStart = i0;
31185 continue;
31186 }
31187 }
31188 throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
31189 }
31190 if (buffer != null) {
31191 t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end);
31192 t2 = t1.length;
31193 if (firstPadding >= 0)
31194 A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
31195 else {
31196 endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
31197 if (endLength === 1)
31198 throw A.wrapException(A.FormatException$(_s31_, source, end));
31199 for (; endLength < 4;) {
31200 t1 += "=";
31201 buffer._contents = t1;
31202 ++endLength;
31203 }
31204 }
31205 t1 = buffer._contents;
31206 return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
31207 }
31208 $length = end - start;
31209 if (firstPadding >= 0)
31210 A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
31211 else {
31212 endLength = B.JSInt_methods.$mod($length, 4);
31213 if (endLength === 1)
31214 throw A.wrapException(A.FormatException$(_s31_, source, end));
31215 if (endLength > 1)
31216 source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
31217 }
31218 return source;
31219 }
31220 };
31221 A.Base64Encoder.prototype = {
31222 convert$1(input) {
31223 var t1 = J.getInterceptor$asx(input);
31224 if (t1.get$isEmpty(input))
31225 return "";
31226 t1 = new A._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true);
31227 t1.toString;
31228 return A.String_String$fromCharCodes(t1, 0, null);
31229 },
31230 startChunkedConversion$1(sink) {
31231 return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
31232 }
31233 };
31234 A._Base64Encoder.prototype = {
31235 createBuffer$1(bufferLength) {
31236 return new Uint8Array(bufferLength);
31237 },
31238 encode$4(bytes, start, end, isLast) {
31239 var output, _this = this,
31240 byteCount = (_this._convert$_state & 3) + (end - start),
31241 fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
31242 bufferLength = fullChunks * 4;
31243 if (isLast && byteCount - fullChunks * 3 > 0)
31244 bufferLength += 4;
31245 output = _this.createBuffer$1(bufferLength);
31246 _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
31247 if (bufferLength > 0)
31248 return output;
31249 return null;
31250 }
31251 };
31252 A._Base64EncoderSink.prototype = {
31253 add$1(_, source) {
31254 this._convert$_add$4(source, 0, source.get$length(source), false);
31255 }
31256 };
31257 A._Utf8Base64EncoderSink.prototype = {
31258 _convert$_add$4(source, start, end, isLast) {
31259 var buffer = this._encoder.encode$4(source, start, end, isLast);
31260 if (buffer != null)
31261 this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
31262 }
31263 };
31264 A.ByteConversionSink.prototype = {};
31265 A.ByteConversionSinkBase.prototype = {};
31266 A.ChunkedConversionSink.prototype = {};
31267 A.Codec.prototype = {
31268 encode$1(input) {
31269 return this.get$encoder().convert$1(input);
31270 }
31271 };
31272 A.Converter.prototype = {};
31273 A.Encoding.prototype = {};
31274 A.JsonUnsupportedObjectError.prototype = {
31275 toString$0(_) {
31276 var safeString = A.Error_safeToString(this.unsupportedObject);
31277 return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
31278 }
31279 };
31280 A.JsonCyclicError.prototype = {
31281 toString$0(_) {
31282 return "Cyclic error in JSON stringify";
31283 }
31284 };
31285 A.JsonCodec.prototype = {
31286 encode$2$toEncodable(value, toEncodable) {
31287 var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
31288 return t1;
31289 },
31290 get$encoder() {
31291 return B.JsonEncoder_null;
31292 }
31293 };
31294 A.JsonEncoder.prototype = {
31295 convert$1(object) {
31296 var t1,
31297 output = new A.StringBuffer(""),
31298 stringifier = A._JsonStringStringifier$(output, this._toEncodable);
31299 stringifier.writeObject$1(object);
31300 t1 = output._contents;
31301 return t1.charCodeAt(0) == 0 ? t1 : t1;
31302 }
31303 };
31304 A._JsonStringifier.prototype = {
31305 writeStringContent$1(s) {
31306 var offset, i, charCode, t1, t2, _this = this,
31307 $length = s.length;
31308 for (offset = 0, i = 0; i < $length; ++i) {
31309 charCode = B.JSString_methods._codeUnitAt$1(s, i);
31310 if (charCode > 92) {
31311 if (charCode >= 55296) {
31312 t1 = charCode & 64512;
31313 if (t1 === 55296) {
31314 t2 = i + 1;
31315 t2 = !(t2 < $length && (B.JSString_methods._codeUnitAt$1(s, t2) & 64512) === 56320);
31316 } else
31317 t2 = false;
31318 if (!t2)
31319 if (t1 === 56320) {
31320 t1 = i - 1;
31321 t1 = !(t1 >= 0 && (B.JSString_methods.codeUnitAt$1(s, t1) & 64512) === 55296);
31322 } else
31323 t1 = false;
31324 else
31325 t1 = true;
31326 if (t1) {
31327 if (i > offset)
31328 _this.writeStringSlice$3(s, offset, i);
31329 offset = i + 1;
31330 _this.writeCharCode$1(92);
31331 _this.writeCharCode$1(117);
31332 _this.writeCharCode$1(100);
31333 t1 = charCode >>> 8 & 15;
31334 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31335 t1 = charCode >>> 4 & 15;
31336 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31337 t1 = charCode & 15;
31338 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31339 }
31340 }
31341 continue;
31342 }
31343 if (charCode < 32) {
31344 if (i > offset)
31345 _this.writeStringSlice$3(s, offset, i);
31346 offset = i + 1;
31347 _this.writeCharCode$1(92);
31348 switch (charCode) {
31349 case 8:
31350 _this.writeCharCode$1(98);
31351 break;
31352 case 9:
31353 _this.writeCharCode$1(116);
31354 break;
31355 case 10:
31356 _this.writeCharCode$1(110);
31357 break;
31358 case 12:
31359 _this.writeCharCode$1(102);
31360 break;
31361 case 13:
31362 _this.writeCharCode$1(114);
31363 break;
31364 default:
31365 _this.writeCharCode$1(117);
31366 _this.writeCharCode$1(48);
31367 _this.writeCharCode$1(48);
31368 t1 = charCode >>> 4 & 15;
31369 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31370 t1 = charCode & 15;
31371 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31372 break;
31373 }
31374 } else if (charCode === 34 || charCode === 92) {
31375 if (i > offset)
31376 _this.writeStringSlice$3(s, offset, i);
31377 offset = i + 1;
31378 _this.writeCharCode$1(92);
31379 _this.writeCharCode$1(charCode);
31380 }
31381 }
31382 if (offset === 0)
31383 _this.writeString$1(s);
31384 else if (offset < $length)
31385 _this.writeStringSlice$3(s, offset, $length);
31386 },
31387 _checkCycle$1(object) {
31388 var t1, t2, i, t3;
31389 for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
31390 t3 = t1[i];
31391 if (object == null ? t3 == null : object === t3)
31392 throw A.wrapException(new A.JsonCyclicError(object, null));
31393 }
31394 t1.push(object);
31395 },
31396 writeObject$1(object) {
31397 var customJson, e, t1, exception, _this = this;
31398 if (_this.writeJsonValue$1(object))
31399 return;
31400 _this._checkCycle$1(object);
31401 try {
31402 customJson = _this._toEncodable.call$1(object);
31403 if (!_this.writeJsonValue$1(customJson)) {
31404 t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
31405 throw A.wrapException(t1);
31406 }
31407 _this._seen.pop();
31408 } catch (exception) {
31409 e = A.unwrapException(exception);
31410 t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
31411 throw A.wrapException(t1);
31412 }
31413 },
31414 writeJsonValue$1(object) {
31415 var success, _this = this;
31416 if (typeof object == "number") {
31417 if (!isFinite(object))
31418 return false;
31419 _this.writeNumber$1(object);
31420 return true;
31421 } else if (object === true) {
31422 _this.writeString$1("true");
31423 return true;
31424 } else if (object === false) {
31425 _this.writeString$1("false");
31426 return true;
31427 } else if (object == null) {
31428 _this.writeString$1("null");
31429 return true;
31430 } else if (typeof object == "string") {
31431 _this.writeString$1('"');
31432 _this.writeStringContent$1(object);
31433 _this.writeString$1('"');
31434 return true;
31435 } else if (type$.List_dynamic._is(object)) {
31436 _this._checkCycle$1(object);
31437 _this.writeList$1(object);
31438 _this._seen.pop();
31439 return true;
31440 } else if (type$.Map_dynamic_dynamic._is(object)) {
31441 _this._checkCycle$1(object);
31442 success = _this.writeMap$1(object);
31443 _this._seen.pop();
31444 return success;
31445 } else
31446 return false;
31447 },
31448 writeList$1(list) {
31449 var t1, i, _this = this;
31450 _this.writeString$1("[");
31451 t1 = J.getInterceptor$asx(list);
31452 if (t1.get$isNotEmpty(list)) {
31453 _this.writeObject$1(t1.$index(list, 0));
31454 for (i = 1; i < t1.get$length(list); ++i) {
31455 _this.writeString$1(",");
31456 _this.writeObject$1(t1.$index(list, i));
31457 }
31458 }
31459 _this.writeString$1("]");
31460 },
31461 writeMap$1(map) {
31462 var t1, keyValueList, i, separator, _this = this, _box_0 = {};
31463 if (map.get$isEmpty(map)) {
31464 _this.writeString$1("{}");
31465 return true;
31466 }
31467 t1 = map.get$length(map) * 2;
31468 keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
31469 i = _box_0.i = 0;
31470 _box_0.allStringKeys = true;
31471 map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
31472 if (!_box_0.allStringKeys)
31473 return false;
31474 _this.writeString$1("{");
31475 for (separator = '"'; i < t1; i += 2, separator = ',"') {
31476 _this.writeString$1(separator);
31477 _this.writeStringContent$1(A._asString(keyValueList[i]));
31478 _this.writeString$1('":');
31479 _this.writeObject$1(keyValueList[i + 1]);
31480 }
31481 _this.writeString$1("}");
31482 return true;
31483 }
31484 };
31485 A._JsonStringifier_writeMap_closure.prototype = {
31486 call$2(key, value) {
31487 var t1, t2, t3, i;
31488 if (typeof key != "string")
31489 this._box_0.allStringKeys = false;
31490 t1 = this.keyValueList;
31491 t2 = this._box_0;
31492 t3 = t2.i;
31493 i = t2.i = t3 + 1;
31494 t1[t3] = key;
31495 t2.i = i + 1;
31496 t1[i] = value;
31497 },
31498 $signature: 186
31499 };
31500 A._JsonStringStringifier.prototype = {
31501 get$_partialResult() {
31502 var t1 = this._sink._contents;
31503 return t1.charCodeAt(0) == 0 ? t1 : t1;
31504 },
31505 writeNumber$1(number) {
31506 this._sink._contents += B.JSNumber_methods.toString$0(number);
31507 },
31508 writeString$1(string) {
31509 this._sink._contents += string;
31510 },
31511 writeStringSlice$3(string, start, end) {
31512 this._sink._contents += B.JSString_methods.substring$2(string, start, end);
31513 },
31514 writeCharCode$1(charCode) {
31515 this._sink._contents += A.Primitives_stringFromCharCode(charCode);
31516 }
31517 };
31518 A.StringConversionSinkBase.prototype = {};
31519 A.StringConversionSinkMixin.prototype = {
31520 add$1(_, str) {
31521 this.addSlice$4(str, 0, str.length, false);
31522 }
31523 };
31524 A._StringSinkConversionSink.prototype = {
31525 close$0(_) {
31526 },
31527 addSlice$4(str, start, end, isLast) {
31528 var t1, i;
31529 if (start !== 0 || end !== str.length)
31530 for (t1 = this._stringSink, i = start; i < end; ++i)
31531 t1._contents += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(str, i));
31532 else
31533 this._stringSink._contents += str;
31534 if (isLast)
31535 this.close$0(0);
31536 },
31537 add$1(_, str) {
31538 this._stringSink._contents += str;
31539 }
31540 };
31541 A._StringCallbackSink.prototype = {
31542 close$0(_) {
31543 var t1 = this._stringSink,
31544 t2 = t1._contents;
31545 t1._contents = "";
31546 this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
31547 },
31548 asUtf8Sink$1(allowMalformed) {
31549 return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
31550 }
31551 };
31552 A._Utf8StringSinkAdapter.prototype = {
31553 close$0(_) {
31554 this._decoder.flush$1(this._stringSink);
31555 this._sink.close$0(0);
31556 },
31557 add$1(_, chunk) {
31558 this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
31559 },
31560 addSlice$4(codeUnits, startIndex, endIndex, isLast) {
31561 this._stringSink._contents += this._decoder.convertGeneral$4(codeUnits, startIndex, endIndex, false);
31562 if (isLast)
31563 this.close$0(0);
31564 }
31565 };
31566 A.Utf8Codec.prototype = {
31567 get$encoder() {
31568 return B.C_Utf8Encoder;
31569 }
31570 };
31571 A.Utf8Encoder.prototype = {
31572 convert$1(string) {
31573 var t1, encoder,
31574 end = A.RangeError_checkValidRange(0, null, string.length),
31575 $length = end - 0;
31576 if ($length === 0)
31577 return new Uint8Array(0);
31578 t1 = new Uint8Array($length * 3);
31579 encoder = new A._Utf8Encoder(t1);
31580 if (encoder._fillBuffer$3(string, 0, end) !== end) {
31581 B.JSString_methods.codeUnitAt$1(string, end - 1);
31582 encoder._writeReplacementCharacter$0();
31583 }
31584 return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
31585 }
31586 };
31587 A._Utf8Encoder.prototype = {
31588 _writeReplacementCharacter$0() {
31589 var _this = this,
31590 t1 = _this._convert$_buffer,
31591 t2 = _this._bufferIndex,
31592 t3 = _this._bufferIndex = t2 + 1;
31593 t1[t2] = 239;
31594 t2 = _this._bufferIndex = t3 + 1;
31595 t1[t3] = 191;
31596 _this._bufferIndex = t2 + 1;
31597 t1[t2] = 189;
31598 },
31599 _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
31600 var rune, t1, t2, t3, _this = this;
31601 if ((nextCodeUnit & 64512) === 56320) {
31602 rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
31603 t1 = _this._convert$_buffer;
31604 t2 = _this._bufferIndex;
31605 t3 = _this._bufferIndex = t2 + 1;
31606 t1[t2] = rune >>> 18 | 240;
31607 t2 = _this._bufferIndex = t3 + 1;
31608 t1[t3] = rune >>> 12 & 63 | 128;
31609 t3 = _this._bufferIndex = t2 + 1;
31610 t1[t2] = rune >>> 6 & 63 | 128;
31611 _this._bufferIndex = t3 + 1;
31612 t1[t3] = rune & 63 | 128;
31613 return true;
31614 } else {
31615 _this._writeReplacementCharacter$0();
31616 return false;
31617 }
31618 },
31619 _fillBuffer$3(str, start, end) {
31620 var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this;
31621 if (start !== end && (B.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296)
31622 --end;
31623 for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
31624 codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex);
31625 if (codeUnit <= 127) {
31626 t3 = _this._bufferIndex;
31627 if (t3 >= t2)
31628 break;
31629 _this._bufferIndex = t3 + 1;
31630 t1[t3] = codeUnit;
31631 } else {
31632 t3 = codeUnit & 64512;
31633 if (t3 === 55296) {
31634 if (_this._bufferIndex + 4 > t2)
31635 break;
31636 stringIndex0 = stringIndex + 1;
31637 if (_this._writeSurrogate$2(codeUnit, B.JSString_methods._codeUnitAt$1(str, stringIndex0)))
31638 stringIndex = stringIndex0;
31639 } else if (t3 === 56320) {
31640 if (_this._bufferIndex + 3 > t2)
31641 break;
31642 _this._writeReplacementCharacter$0();
31643 } else if (codeUnit <= 2047) {
31644 t3 = _this._bufferIndex;
31645 t4 = t3 + 1;
31646 if (t4 >= t2)
31647 break;
31648 _this._bufferIndex = t4;
31649 t1[t3] = codeUnit >>> 6 | 192;
31650 _this._bufferIndex = t4 + 1;
31651 t1[t4] = codeUnit & 63 | 128;
31652 } else {
31653 t3 = _this._bufferIndex;
31654 if (t3 + 2 >= t2)
31655 break;
31656 t4 = _this._bufferIndex = t3 + 1;
31657 t1[t3] = codeUnit >>> 12 | 224;
31658 t3 = _this._bufferIndex = t4 + 1;
31659 t1[t4] = codeUnit >>> 6 & 63 | 128;
31660 _this._bufferIndex = t3 + 1;
31661 t1[t3] = codeUnit & 63 | 128;
31662 }
31663 }
31664 }
31665 return stringIndex;
31666 }
31667 };
31668 A.Utf8Decoder.prototype = {
31669 convert$1(codeUnits) {
31670 var t1 = this._allowMalformed,
31671 result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null);
31672 if (result != null)
31673 return result;
31674 return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true);
31675 }
31676 };
31677 A._Utf8Decoder.prototype = {
31678 convertGeneral$4(codeUnits, start, maybeEnd, single) {
31679 var bytes, errorOffset, result, t1, message, _this = this,
31680 end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
31681 if (start === end)
31682 return "";
31683 if (type$.Uint8List._is(codeUnits)) {
31684 bytes = codeUnits;
31685 errorOffset = 0;
31686 } else {
31687 bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end);
31688 end -= start;
31689 errorOffset = start;
31690 start = 0;
31691 }
31692 result = _this._convertRecursive$4(bytes, start, end, single);
31693 t1 = _this._convert$_state;
31694 if ((t1 & 1) !== 0) {
31695 message = A._Utf8Decoder_errorDescription(t1);
31696 _this._convert$_state = 0;
31697 throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
31698 }
31699 return result;
31700 },
31701 _convertRecursive$4(bytes, start, end, single) {
31702 var mid, s1, _this = this;
31703 if (end - start > 1000) {
31704 mid = B.JSInt_methods._tdivFast$1(start + end, 2);
31705 s1 = _this._convertRecursive$4(bytes, start, mid, false);
31706 if ((_this._convert$_state & 1) !== 0)
31707 return s1;
31708 return s1 + _this._convertRecursive$4(bytes, mid, end, single);
31709 }
31710 return _this.decodeGeneral$4(bytes, start, end, single);
31711 },
31712 flush$1(sink) {
31713 var state = this._convert$_state;
31714 this._convert$_state = 0;
31715 if (state <= 32)
31716 return;
31717 if (this.allowMalformed)
31718 sink._contents += A.Primitives_stringFromCharCode(65533);
31719 else
31720 throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
31721 },
31722 decodeGeneral$4(bytes, start, end, single) {
31723 var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
31724 state = _this._convert$_state,
31725 char = _this._charOrIndex,
31726 buffer = new A.StringBuffer(""),
31727 i = start + 1,
31728 byte = bytes[start];
31729 $label0$0:
31730 for (t1 = _this.allowMalformed; true;) {
31731 for (; true; i = i0) {
31732 type = B.JSString_methods._codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31;
31733 char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
31734 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);
31735 if (state === 0) {
31736 buffer._contents += A.Primitives_stringFromCharCode(char);
31737 if (i === end)
31738 break $label0$0;
31739 break;
31740 } else if ((state & 1) !== 0) {
31741 if (t1)
31742 switch (state) {
31743 case 69:
31744 case 67:
31745 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31746 break;
31747 case 65:
31748 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31749 --i;
31750 break;
31751 default:
31752 t2 = buffer._contents += A.Primitives_stringFromCharCode(_65533);
31753 buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
31754 break;
31755 }
31756 else {
31757 _this._convert$_state = state;
31758 _this._charOrIndex = i - 1;
31759 return "";
31760 }
31761 state = 0;
31762 }
31763 if (i === end)
31764 break $label0$0;
31765 i0 = i + 1;
31766 byte = bytes[i];
31767 }
31768 i0 = i + 1;
31769 byte = bytes[i];
31770 if (byte < 128) {
31771 while (true) {
31772 if (!(i0 < end)) {
31773 markEnd = end;
31774 break;
31775 }
31776 i1 = i0 + 1;
31777 byte = bytes[i0];
31778 if (byte >= 128) {
31779 markEnd = i1 - 1;
31780 i0 = i1;
31781 break;
31782 }
31783 i0 = i1;
31784 }
31785 if (markEnd - i < 20)
31786 for (m = i; m < markEnd; ++m)
31787 buffer._contents += A.Primitives_stringFromCharCode(bytes[m]);
31788 else
31789 buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd);
31790 if (markEnd === end)
31791 break $label0$0;
31792 i = i0;
31793 } else
31794 i = i0;
31795 }
31796 if (single && state > 32)
31797 if (t1)
31798 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31799 else {
31800 _this._convert$_state = 77;
31801 _this._charOrIndex = end;
31802 return "";
31803 }
31804 _this._convert$_state = state;
31805 _this._charOrIndex = char;
31806 t1 = buffer._contents;
31807 return t1.charCodeAt(0) == 0 ? t1 : t1;
31808 }
31809 };
31810 A.NoSuchMethodError_toString_closure.prototype = {
31811 call$2(key, value) {
31812 var t1 = this.sb,
31813 t2 = this._box_0,
31814 t3 = t1._contents += t2.comma;
31815 t3 += key.__internal$_name;
31816 t1._contents = t3;
31817 t1._contents = t3 + ": ";
31818 t1._contents += A.Error_safeToString(value);
31819 t2.comma = ", ";
31820 },
31821 $signature: 294
31822 };
31823 A.DateTime.prototype = {
31824 add$1(_, duration) {
31825 return A.DateTime$_withValue(B.JSInt_methods.$add(this._core$_value, duration.get$inMilliseconds()), false);
31826 },
31827 $eq(_, other) {
31828 if (other == null)
31829 return false;
31830 return other instanceof A.DateTime && this._core$_value === other._core$_value && true;
31831 },
31832 compareTo$1(_, other) {
31833 return B.JSInt_methods.compareTo$1(this._core$_value, other._core$_value);
31834 },
31835 get$hashCode(_) {
31836 var t1 = this._core$_value;
31837 return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823;
31838 },
31839 toString$0(_) {
31840 var _this = this,
31841 y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
31842 m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
31843 d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
31844 h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
31845 min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
31846 sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
31847 ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)),
31848 t1 = y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms;
31849 return t1;
31850 },
31851 $isComparable: 1
31852 };
31853 A.Duration.prototype = {
31854 $eq(_, other) {
31855 if (other == null)
31856 return false;
31857 return other instanceof A.Duration && this._duration === other._duration;
31858 },
31859 get$hashCode(_) {
31860 return B.JSInt_methods.get$hashCode(this._duration);
31861 },
31862 compareTo$1(_, other) {
31863 return B.JSInt_methods.compareTo$1(this._duration, other._duration);
31864 },
31865 toString$0(_) {
31866 var minutes, minutesPadding, seconds, secondsPadding, paddedMicroseconds,
31867 microseconds = this._duration,
31868 hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000);
31869 microseconds %= 3600000000;
31870 if (microseconds < 0)
31871 microseconds = -microseconds;
31872 minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
31873 microseconds %= 60000000;
31874 minutesPadding = minutes < 10 ? "0" : "";
31875 seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
31876 secondsPadding = seconds < 10 ? "0" : "";
31877 paddedMicroseconds = B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
31878 return "" + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + paddedMicroseconds;
31879 },
31880 $isComparable: 1
31881 };
31882 A.Error.prototype = {
31883 get$stackTrace() {
31884 return A.getTraceFromException(this.$thrownJsError);
31885 }
31886 };
31887 A.AssertionError.prototype = {
31888 toString$0(_) {
31889 var t1 = this.message;
31890 if (t1 != null)
31891 return "Assertion failed: " + A.Error_safeToString(t1);
31892 return "Assertion failed";
31893 },
31894 get$message(receiver) {
31895 return this.message;
31896 }
31897 };
31898 A.TypeError.prototype = {};
31899 A.NullThrownError.prototype = {
31900 toString$0(_) {
31901 return "Throw of null.";
31902 }
31903 };
31904 A.ArgumentError.prototype = {
31905 get$_errorName() {
31906 return "Invalid argument" + (!this._hasValue ? "(s)" : "");
31907 },
31908 get$_errorExplanation() {
31909 return "";
31910 },
31911 toString$0(_) {
31912 var explanation, errorValue, _this = this,
31913 $name = _this.name,
31914 nameString = $name == null ? "" : " (" + $name + ")",
31915 message = _this.message,
31916 messageString = message == null ? "" : ": " + A.S(message),
31917 prefix = _this.get$_errorName() + nameString + messageString;
31918 if (!_this._hasValue)
31919 return prefix;
31920 explanation = _this.get$_errorExplanation();
31921 errorValue = A.Error_safeToString(_this.invalidValue);
31922 return prefix + explanation + ": " + errorValue;
31923 },
31924 get$message(receiver) {
31925 return this.message;
31926 }
31927 };
31928 A.RangeError.prototype = {
31929 get$_errorName() {
31930 return "RangeError";
31931 },
31932 get$_errorExplanation() {
31933 var explanation,
31934 start = this.start,
31935 end = this.end;
31936 if (start == null)
31937 explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
31938 else if (end == null)
31939 explanation = ": Not greater than or equal to " + A.S(start);
31940 else if (end > start)
31941 explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
31942 else
31943 explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
31944 return explanation;
31945 }
31946 };
31947 A.IndexError.prototype = {
31948 get$_errorName() {
31949 return "RangeError";
31950 },
31951 get$_errorExplanation() {
31952 if (this.invalidValue < 0)
31953 return ": index must not be negative";
31954 var t1 = this.length;
31955 if (t1 === 0)
31956 return ": no indices are valid";
31957 return ": index should be less than " + t1;
31958 },
31959 $isRangeError: 1,
31960 get$length(receiver) {
31961 return this.length;
31962 }
31963 };
31964 A.NoSuchMethodError.prototype = {
31965 toString$0(_) {
31966 var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
31967 sb = new A.StringBuffer("");
31968 _box_0.comma = "";
31969 $arguments = _this._core$_arguments;
31970 for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
31971 argument = $arguments[_i];
31972 sb._contents = t2 + t3;
31973 t2 = sb._contents += A.Error_safeToString(argument);
31974 _box_0.comma = ", ";
31975 }
31976 _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
31977 receiverText = A.Error_safeToString(_this._core$_receiver);
31978 actualParameters = sb.toString$0(0);
31979 t1 = "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
31980 return t1;
31981 }
31982 };
31983 A.UnsupportedError.prototype = {
31984 toString$0(_) {
31985 return "Unsupported operation: " + this.message;
31986 },
31987 get$message(receiver) {
31988 return this.message;
31989 }
31990 };
31991 A.UnimplementedError.prototype = {
31992 toString$0(_) {
31993 var t1 = "UnimplementedError: " + this.message;
31994 return t1;
31995 },
31996 get$message(receiver) {
31997 return this.message;
31998 }
31999 };
32000 A.StateError.prototype = {
32001 toString$0(_) {
32002 return "Bad state: " + this.message;
32003 },
32004 get$message(receiver) {
32005 return this.message;
32006 }
32007 };
32008 A.ConcurrentModificationError.prototype = {
32009 toString$0(_) {
32010 var t1 = this.modifiedObject;
32011 if (t1 == null)
32012 return "Concurrent modification during iteration.";
32013 return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
32014 }
32015 };
32016 A.OutOfMemoryError.prototype = {
32017 toString$0(_) {
32018 return "Out of Memory";
32019 },
32020 get$stackTrace() {
32021 return null;
32022 },
32023 $isError: 1
32024 };
32025 A.StackOverflowError.prototype = {
32026 toString$0(_) {
32027 return "Stack Overflow";
32028 },
32029 get$stackTrace() {
32030 return null;
32031 },
32032 $isError: 1
32033 };
32034 A.CyclicInitializationError.prototype = {
32035 toString$0(_) {
32036 var t1 = "Reading static variable '" + this.variableName + "' during its initialization";
32037 return t1;
32038 }
32039 };
32040 A._Exception.prototype = {
32041 toString$0(_) {
32042 return "Exception: " + this.message;
32043 },
32044 $isException: 1,
32045 get$message(receiver) {
32046 return this.message;
32047 }
32048 };
32049 A.FormatException.prototype = {
32050 toString$0(_) {
32051 var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix, slice,
32052 message = this.message,
32053 report = "" !== message ? "FormatException: " + message : "FormatException",
32054 offset = this.offset,
32055 source = this.source;
32056 if (typeof source == "string") {
32057 if (offset != null)
32058 t1 = offset < 0 || offset > source.length;
32059 else
32060 t1 = false;
32061 if (t1)
32062 offset = null;
32063 if (offset == null) {
32064 if (source.length > 78)
32065 source = B.JSString_methods.substring$2(source, 0, 75) + "...";
32066 return report + "\n" + source;
32067 }
32068 for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
32069 char = B.JSString_methods._codeUnitAt$1(source, i);
32070 if (char === 10) {
32071 if (lineStart !== i || !previousCharWasCR)
32072 ++lineNum;
32073 lineStart = i + 1;
32074 previousCharWasCR = false;
32075 } else if (char === 13) {
32076 ++lineNum;
32077 lineStart = i + 1;
32078 previousCharWasCR = true;
32079 }
32080 }
32081 report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
32082 lineEnd = source.length;
32083 for (i = offset; i < lineEnd; ++i) {
32084 char = B.JSString_methods.codeUnitAt$1(source, i);
32085 if (char === 10 || char === 13) {
32086 lineEnd = i;
32087 break;
32088 }
32089 }
32090 if (lineEnd - lineStart > 78)
32091 if (offset - lineStart < 75) {
32092 end = lineStart + 75;
32093 start = lineStart;
32094 prefix = "";
32095 postfix = "...";
32096 } else {
32097 if (lineEnd - offset < 75) {
32098 start = lineEnd - 75;
32099 end = lineEnd;
32100 postfix = "";
32101 } else {
32102 start = offset - 36;
32103 end = offset + 36;
32104 postfix = "...";
32105 }
32106 prefix = "...";
32107 }
32108 else {
32109 end = lineEnd;
32110 start = lineStart;
32111 prefix = "";
32112 postfix = "";
32113 }
32114 slice = B.JSString_methods.substring$2(source, start, end);
32115 return report + prefix + slice + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
32116 } else
32117 return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
32118 },
32119 $isException: 1,
32120 get$message(receiver) {
32121 return this.message;
32122 }
32123 };
32124 A.Expando.prototype = {
32125 toString$0(_) {
32126 return "Expando:null";
32127 }
32128 };
32129 A.Iterable.prototype = {
32130 cast$1$0(_, $R) {
32131 return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
32132 },
32133 followedBy$1(_, other) {
32134 var _this = this,
32135 t1 = A._instanceType(_this);
32136 if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
32137 return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
32138 return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
32139 },
32140 map$1$1(_, toElement, $T) {
32141 return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
32142 },
32143 where$1(_, test) {
32144 return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
32145 },
32146 expand$1$1(_, toElements, $T) {
32147 return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
32148 },
32149 contains$1(_, element) {
32150 var t1;
32151 for (t1 = this.get$iterator(this); t1.moveNext$0();)
32152 if (J.$eq$(t1.get$current(t1), element))
32153 return true;
32154 return false;
32155 },
32156 fold$1$2(_, initialValue, combine) {
32157 var t1, value;
32158 for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
32159 value = combine.call$2(value, t1.get$current(t1));
32160 return value;
32161 },
32162 fold$2($receiver, initialValue, combine) {
32163 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
32164 },
32165 join$1(_, separator) {
32166 var t1,
32167 iterator = this.get$iterator(this);
32168 if (!iterator.moveNext$0())
32169 return "";
32170 if (separator === "") {
32171 t1 = "";
32172 do
32173 t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
32174 while (iterator.moveNext$0());
32175 } else {
32176 t1 = "" + A.S(J.toString$0$(iterator.get$current(iterator)));
32177 for (; iterator.moveNext$0();)
32178 t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
32179 }
32180 return t1.charCodeAt(0) == 0 ? t1 : t1;
32181 },
32182 join$0($receiver) {
32183 return this.join$1($receiver, "");
32184 },
32185 any$1(_, test) {
32186 var t1;
32187 for (t1 = this.get$iterator(this); t1.moveNext$0();)
32188 if (test.call$1(t1.get$current(t1)))
32189 return true;
32190 return false;
32191 },
32192 toList$1$growable(_, growable) {
32193 return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
32194 },
32195 toList$0($receiver) {
32196 return this.toList$1$growable($receiver, true);
32197 },
32198 toSet$0(_) {
32199 return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
32200 },
32201 get$length(_) {
32202 var count,
32203 it = this.get$iterator(this);
32204 for (count = 0; it.moveNext$0();)
32205 ++count;
32206 return count;
32207 },
32208 get$isEmpty(_) {
32209 return !this.get$iterator(this).moveNext$0();
32210 },
32211 get$isNotEmpty(_) {
32212 return !this.get$isEmpty(this);
32213 },
32214 take$1(_, count) {
32215 return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
32216 },
32217 skip$1(_, count) {
32218 return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
32219 },
32220 skipWhile$1(_, test) {
32221 return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
32222 },
32223 get$first(_) {
32224 var it = this.get$iterator(this);
32225 if (!it.moveNext$0())
32226 throw A.wrapException(A.IterableElementError_noElement());
32227 return it.get$current(it);
32228 },
32229 get$last(_) {
32230 var result,
32231 it = this.get$iterator(this);
32232 if (!it.moveNext$0())
32233 throw A.wrapException(A.IterableElementError_noElement());
32234 do
32235 result = it.get$current(it);
32236 while (it.moveNext$0());
32237 return result;
32238 },
32239 get$single(_) {
32240 var result,
32241 it = this.get$iterator(this);
32242 if (!it.moveNext$0())
32243 throw A.wrapException(A.IterableElementError_noElement());
32244 result = it.get$current(it);
32245 if (it.moveNext$0())
32246 throw A.wrapException(A.IterableElementError_tooMany());
32247 return result;
32248 },
32249 elementAt$1(_, index) {
32250 var t1, elementIndex, element;
32251 A.RangeError_checkNotNegative(index, "index");
32252 for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
32253 element = t1.get$current(t1);
32254 if (index === elementIndex)
32255 return element;
32256 ++elementIndex;
32257 }
32258 throw A.wrapException(A.IndexError$(index, this, "index", null, elementIndex));
32259 },
32260 toString$0(_) {
32261 return A.IterableBase_iterableToShortString(this, "(", ")");
32262 }
32263 };
32264 A._GeneratorIterable.prototype = {
32265 elementAt$1(_, index) {
32266 A.RangeError_checkValidIndex(index, this, null);
32267 return this._generator.call$1(index);
32268 },
32269 get$length(receiver) {
32270 return this.length;
32271 }
32272 };
32273 A.Iterator.prototype = {};
32274 A.MapEntry.prototype = {
32275 toString$0(_) {
32276 return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
32277 }
32278 };
32279 A.Null.prototype = {
32280 get$hashCode(_) {
32281 return A.Object.prototype.get$hashCode.call(this, this);
32282 },
32283 toString$0(_) {
32284 return "null";
32285 }
32286 };
32287 A.Object.prototype = {$isObject: 1,
32288 $eq(_, other) {
32289 return this === other;
32290 },
32291 get$hashCode(_) {
32292 return A.Primitives_objectHashCode(this);
32293 },
32294 toString$0(_) {
32295 return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
32296 },
32297 noSuchMethod$1(_, invocation) {
32298 throw A.wrapException(A.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
32299 },
32300 get$runtimeType(_) {
32301 var rti = this instanceof A.Closure ? A.closureFunctionType(this) : null;
32302 return A.createRuntimeType(rti == null ? A.instanceType(this) : rti);
32303 },
32304 toString() {
32305 return this.toString$0(this);
32306 }
32307 };
32308 A._StringStackTrace.prototype = {
32309 toString$0(_) {
32310 return this._stackTrace;
32311 },
32312 $isStackTrace: 1
32313 };
32314 A.Runes.prototype = {
32315 get$iterator(_) {
32316 return new A.RuneIterator(this.string);
32317 },
32318 get$last(_) {
32319 var code, previousCode,
32320 t1 = this.string,
32321 t2 = t1.length;
32322 if (t2 === 0)
32323 throw A.wrapException(A.StateError$("No elements."));
32324 code = B.JSString_methods.codeUnitAt$1(t1, t2 - 1);
32325 if ((code & 64512) === 56320 && t2 > 1) {
32326 previousCode = B.JSString_methods.codeUnitAt$1(t1, t2 - 2);
32327 if ((previousCode & 64512) === 55296)
32328 return A._combineSurrogatePair(previousCode, code);
32329 }
32330 return code;
32331 }
32332 };
32333 A.RuneIterator.prototype = {
32334 get$current(_) {
32335 return this._currentCodePoint;
32336 },
32337 moveNext$0() {
32338 var codeUnit, nextPosition, nextCodeUnit, _this = this,
32339 t1 = _this._position = _this._nextPosition,
32340 t2 = _this.string,
32341 t3 = t2.length;
32342 if (t1 === t3) {
32343 _this._currentCodePoint = -1;
32344 return false;
32345 }
32346 codeUnit = B.JSString_methods._codeUnitAt$1(t2, t1);
32347 nextPosition = t1 + 1;
32348 if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
32349 nextCodeUnit = B.JSString_methods._codeUnitAt$1(t2, nextPosition);
32350 if ((nextCodeUnit & 64512) === 56320) {
32351 _this._nextPosition = nextPosition + 1;
32352 _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
32353 return true;
32354 }
32355 }
32356 _this._nextPosition = nextPosition;
32357 _this._currentCodePoint = codeUnit;
32358 return true;
32359 }
32360 };
32361 A.StringBuffer.prototype = {
32362 get$length(_) {
32363 return this._contents.length;
32364 },
32365 write$1(_, obj) {
32366 this._contents += A.S(obj);
32367 },
32368 writeCharCode$1(charCode) {
32369 this._contents += A.Primitives_stringFromCharCode(charCode);
32370 },
32371 toString$0(_) {
32372 var t1 = this._contents;
32373 return t1.charCodeAt(0) == 0 ? t1 : t1;
32374 }
32375 };
32376 A.Uri__parseIPv4Address_error.prototype = {
32377 call$2(msg, position) {
32378 throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
32379 },
32380 $signature: 317
32381 };
32382 A.Uri_parseIPv6Address_error.prototype = {
32383 call$2(msg, position) {
32384 throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
32385 },
32386 $signature: 326
32387 };
32388 A.Uri_parseIPv6Address_parseHex.prototype = {
32389 call$2(start, end) {
32390 var value;
32391 if (end - start > 4)
32392 this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
32393 value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
32394 if (value < 0 || value > 65535)
32395 this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
32396 return value;
32397 },
32398 $signature: 331
32399 };
32400 A._Uri.prototype = {
32401 get$_text() {
32402 var t1, t2, t3, t4, _this = this,
32403 value = _this.___Uri__text;
32404 if (value === $) {
32405 t1 = _this.scheme;
32406 t2 = t1.length !== 0 ? "" + t1 + ":" : "";
32407 t3 = _this._host;
32408 t4 = t3 == null;
32409 if (!t4 || t1 === "file") {
32410 t1 = t2 + "//";
32411 t2 = _this._userInfo;
32412 if (t2.length !== 0)
32413 t1 = t1 + t2 + "@";
32414 if (!t4)
32415 t1 += t3;
32416 t2 = _this._port;
32417 if (t2 != null)
32418 t1 = t1 + ":" + A.S(t2);
32419 } else
32420 t1 = t2;
32421 t1 += _this.path;
32422 t2 = _this._query;
32423 if (t2 != null)
32424 t1 = t1 + "?" + t2;
32425 t2 = _this._fragment;
32426 if (t2 != null)
32427 t1 = t1 + "#" + t2;
32428 A._lateInitializeOnceCheck(_this.___Uri__text, "_text");
32429 value = _this.___Uri__text = t1.charCodeAt(0) == 0 ? t1 : t1;
32430 }
32431 return value;
32432 },
32433 get$pathSegments() {
32434 var pathToSplit, result, _this = this,
32435 value = _this.___Uri_pathSegments;
32436 if (value === $) {
32437 pathToSplit = _this.path;
32438 if (pathToSplit.length !== 0 && B.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47)
32439 pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
32440 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);
32441 A._lateInitializeOnceCheck(_this.___Uri_pathSegments, "pathSegments");
32442 value = _this.___Uri_pathSegments = result;
32443 }
32444 return value;
32445 },
32446 get$hashCode(_) {
32447 var result, _this = this,
32448 value = _this.___Uri_hashCode;
32449 if (value === $) {
32450 result = B.JSString_methods.get$hashCode(_this.get$_text());
32451 A._lateInitializeOnceCheck(_this.___Uri_hashCode, "hashCode");
32452 _this.___Uri_hashCode = result;
32453 value = result;
32454 }
32455 return value;
32456 },
32457 get$userInfo() {
32458 return this._userInfo;
32459 },
32460 get$host() {
32461 var host = this._host;
32462 if (host == null)
32463 return "";
32464 if (B.JSString_methods.startsWith$1(host, "["))
32465 return B.JSString_methods.substring$2(host, 1, host.length - 1);
32466 return host;
32467 },
32468 get$port(_) {
32469 var t1 = this._port;
32470 return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
32471 },
32472 get$query() {
32473 var t1 = this._query;
32474 return t1 == null ? "" : t1;
32475 },
32476 get$fragment() {
32477 var t1 = this._fragment;
32478 return t1 == null ? "" : t1;
32479 },
32480 isScheme$1(scheme) {
32481 var thisScheme = this.scheme;
32482 if (scheme.length !== thisScheme.length)
32483 return false;
32484 return A._Uri__compareScheme(scheme, thisScheme);
32485 },
32486 _mergePaths$2(base, reference) {
32487 var backCount, refStart, baseEnd, newEnd, delta, t1;
32488 for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
32489 refStart += 3;
32490 ++backCount;
32491 }
32492 baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
32493 while (true) {
32494 if (!(baseEnd > 0 && backCount > 0))
32495 break;
32496 newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
32497 if (newEnd < 0)
32498 break;
32499 delta = baseEnd - newEnd;
32500 t1 = delta !== 2;
32501 if (!t1 || delta === 3)
32502 if (B.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46)
32503 t1 = !t1 || B.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46;
32504 else
32505 t1 = false;
32506 else
32507 t1 = false;
32508 if (t1)
32509 break;
32510 --backCount;
32511 baseEnd = newEnd;
32512 }
32513 return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
32514 },
32515 resolve$1(reference) {
32516 return this.resolveUri$1(A.Uri_parse(reference));
32517 },
32518 resolveUri$1(reference) {
32519 var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null;
32520 if (reference.get$scheme().length !== 0) {
32521 targetScheme = reference.get$scheme();
32522 if (reference.get$hasAuthority()) {
32523 targetUserInfo = reference.get$userInfo();
32524 targetHost = reference.get$host();
32525 targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
32526 } else {
32527 targetPort = _null;
32528 targetHost = targetPort;
32529 targetUserInfo = "";
32530 }
32531 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32532 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32533 } else {
32534 targetScheme = _this.scheme;
32535 if (reference.get$hasAuthority()) {
32536 targetUserInfo = reference.get$userInfo();
32537 targetHost = reference.get$host();
32538 targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
32539 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32540 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32541 } else {
32542 targetUserInfo = _this._userInfo;
32543 targetHost = _this._host;
32544 targetPort = _this._port;
32545 targetPath = _this.path;
32546 if (reference.get$path(reference) === "")
32547 targetQuery = reference.get$hasQuery() ? reference.get$query() : _this._query;
32548 else {
32549 packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
32550 if (packageNameEnd > 0) {
32551 packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
32552 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)));
32553 } else if (reference.get$hasAbsolutePath())
32554 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32555 else if (targetPath.length === 0)
32556 if (targetHost == null)
32557 targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
32558 else
32559 targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
32560 else {
32561 mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
32562 t1 = targetScheme.length === 0;
32563 if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
32564 targetPath = A._Uri__removeDotSegments(mergedPath);
32565 else
32566 targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
32567 }
32568 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32569 }
32570 }
32571 }
32572 return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null);
32573 },
32574 get$hasAuthority() {
32575 return this._host != null;
32576 },
32577 get$hasPort() {
32578 return this._port != null;
32579 },
32580 get$hasQuery() {
32581 return this._query != null;
32582 },
32583 get$hasFragment() {
32584 return this._fragment != null;
32585 },
32586 get$hasAbsolutePath() {
32587 return B.JSString_methods.startsWith$1(this.path, "/");
32588 },
32589 toFilePath$0() {
32590 var pathSegments, _this = this,
32591 t1 = _this.scheme;
32592 if (t1 !== "" && t1 !== "file")
32593 throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
32594 t1 = _this._query;
32595 if ((t1 == null ? "" : t1) !== "")
32596 throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
32597 t1 = _this._fragment;
32598 if ((t1 == null ? "" : t1) !== "")
32599 throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
32600 t1 = $.$get$_Uri__isWindowsCached();
32601 if (t1)
32602 t1 = A._Uri__toWindowsFilePath(_this);
32603 else {
32604 if (_this._host != null && _this.get$host() !== "")
32605 A.throwExpression(A.UnsupportedError$(string$.Cannotn));
32606 pathSegments = _this.get$pathSegments();
32607 A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
32608 t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
32609 t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
32610 }
32611 return t1;
32612 },
32613 toString$0(_) {
32614 return this.get$_text();
32615 },
32616 $eq(_, other) {
32617 var t1, t2, _this = this;
32618 if (other == null)
32619 return false;
32620 if (_this === other)
32621 return true;
32622 if (type$.Uri._is(other))
32623 if (_this.scheme === other.get$scheme())
32624 if (_this._host != null === other.get$hasAuthority())
32625 if (_this._userInfo === other.get$userInfo())
32626 if (_this.get$host() === other.get$host())
32627 if (_this.get$port(_this) === other.get$port(other))
32628 if (_this.path === other.get$path(other)) {
32629 t1 = _this._query;
32630 t2 = t1 == null;
32631 if (!t2 === other.get$hasQuery()) {
32632 if (t2)
32633 t1 = "";
32634 if (t1 === other.get$query()) {
32635 t1 = _this._fragment;
32636 t2 = t1 == null;
32637 if (!t2 === other.get$hasFragment()) {
32638 if (t2)
32639 t1 = "";
32640 t1 = t1 === other.get$fragment();
32641 } else
32642 t1 = false;
32643 } else
32644 t1 = false;
32645 } else
32646 t1 = false;
32647 } else
32648 t1 = false;
32649 else
32650 t1 = false;
32651 else
32652 t1 = false;
32653 else
32654 t1 = false;
32655 else
32656 t1 = false;
32657 else
32658 t1 = false;
32659 else
32660 t1 = false;
32661 return t1;
32662 },
32663 $isUri: 1,
32664 get$scheme() {
32665 return this.scheme;
32666 },
32667 get$path(receiver) {
32668 return this.path;
32669 }
32670 };
32671 A._Uri__makePath_closure.prototype = {
32672 call$1(s) {
32673 return A._Uri__uriEncode(B.List_qg40, s, B.C_Utf8Codec, false);
32674 },
32675 $signature: 5
32676 };
32677 A.UriData.prototype = {
32678 get$uri() {
32679 var t2, queryIndex, end, query, _this = this, _null = null,
32680 t1 = _this._uriCache;
32681 if (t1 == null) {
32682 t1 = _this._text;
32683 t2 = _this._separatorIndices[0] + 1;
32684 queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
32685 end = t1.length;
32686 if (queryIndex >= 0) {
32687 query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_CVk, false);
32688 end = queryIndex;
32689 } else
32690 query = _null;
32691 t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_qg4, false), query, _null);
32692 }
32693 return t1;
32694 },
32695 toString$0(_) {
32696 var t1 = this._text;
32697 return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
32698 }
32699 };
32700 A._createTables_build.prototype = {
32701 call$2(state, defaultTransition) {
32702 var t1 = this.tables[state];
32703 B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition);
32704 return t1;
32705 },
32706 $signature: 341
32707 };
32708 A._createTables_setChars.prototype = {
32709 call$3(target, chars, transition) {
32710 var t1, i;
32711 for (t1 = chars.length, i = 0; i < t1; ++i)
32712 target[B.JSString_methods._codeUnitAt$1(chars, i) ^ 96] = transition;
32713 },
32714 $signature: 183
32715 };
32716 A._createTables_setRange.prototype = {
32717 call$3(target, range, transition) {
32718 var i, n;
32719 for (i = B.JSString_methods._codeUnitAt$1(range, 0), n = B.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i)
32720 target[(i ^ 96) >>> 0] = transition;
32721 },
32722 $signature: 183
32723 };
32724 A._SimpleUri.prototype = {
32725 get$hasAuthority() {
32726 return this._hostStart > 0;
32727 },
32728 get$hasPort() {
32729 return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
32730 },
32731 get$hasQuery() {
32732 return this._queryStart < this._fragmentStart;
32733 },
32734 get$hasFragment() {
32735 return this._fragmentStart < this._uri.length;
32736 },
32737 get$hasAbsolutePath() {
32738 return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
32739 },
32740 get$scheme() {
32741 var t1 = this._schemeCache;
32742 return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
32743 },
32744 _computeScheme$0() {
32745 var t2, _this = this,
32746 t1 = _this._schemeEnd;
32747 if (t1 <= 0)
32748 return "";
32749 t2 = t1 === 4;
32750 if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
32751 return "http";
32752 if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
32753 return "https";
32754 if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
32755 return "file";
32756 if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
32757 return "package";
32758 return B.JSString_methods.substring$2(_this._uri, 0, t1);
32759 },
32760 get$userInfo() {
32761 var t1 = this._hostStart,
32762 t2 = this._schemeEnd + 3;
32763 return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
32764 },
32765 get$host() {
32766 var t1 = this._hostStart;
32767 return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
32768 },
32769 get$port(_) {
32770 var t1, _this = this;
32771 if (_this.get$hasPort())
32772 return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
32773 t1 = _this._schemeEnd;
32774 if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
32775 return 80;
32776 if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
32777 return 443;
32778 return 0;
32779 },
32780 get$path(_) {
32781 return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
32782 },
32783 get$query() {
32784 var t1 = this._queryStart,
32785 t2 = this._fragmentStart;
32786 return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
32787 },
32788 get$fragment() {
32789 var t1 = this._fragmentStart,
32790 t2 = this._uri;
32791 return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
32792 },
32793 get$pathSegments() {
32794 var parts, i,
32795 start = this._pathStart,
32796 end = this._queryStart,
32797 t1 = this._uri;
32798 if (B.JSString_methods.startsWith$2(t1, "/", start))
32799 ++start;
32800 if (start === end)
32801 return B.List_empty;
32802 parts = A._setArrayType([], type$.JSArray_String);
32803 for (i = start; i < end; ++i)
32804 if (B.JSString_methods.codeUnitAt$1(t1, i) === 47) {
32805 parts.push(B.JSString_methods.substring$2(t1, start, i));
32806 start = i + 1;
32807 }
32808 parts.push(B.JSString_methods.substring$2(t1, start, end));
32809 return A.List_List$unmodifiable(parts, type$.String);
32810 },
32811 _isPort$1(port) {
32812 var portDigitStart = this._portStart + 1;
32813 return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
32814 },
32815 removeFragment$0() {
32816 var _this = this,
32817 t1 = _this._fragmentStart,
32818 t2 = _this._uri;
32819 if (t1 >= t2.length)
32820 return _this;
32821 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);
32822 },
32823 resolve$1(reference) {
32824 return this.resolveUri$1(A.Uri_parse(reference));
32825 },
32826 resolveUri$1(reference) {
32827 if (reference instanceof A._SimpleUri)
32828 return this._simpleMerge$2(this, reference);
32829 return this._toNonSimple$0().resolveUri$1(reference);
32830 },
32831 _simpleMerge$2(base, ref) {
32832 var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
32833 t1 = ref._schemeEnd;
32834 if (t1 > 0)
32835 return ref;
32836 t2 = ref._hostStart;
32837 if (t2 > 0) {
32838 t3 = base._schemeEnd;
32839 if (t3 <= 0)
32840 return ref;
32841 t4 = t3 === 4;
32842 if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
32843 isSimple = ref._pathStart !== ref._queryStart;
32844 else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
32845 isSimple = !ref._isPort$1("80");
32846 else
32847 isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
32848 if (isSimple) {
32849 delta = t3 + 1;
32850 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);
32851 } else
32852 return this._toNonSimple$0().resolveUri$1(ref);
32853 }
32854 refStart = ref._pathStart;
32855 t1 = ref._queryStart;
32856 if (refStart === t1) {
32857 t2 = ref._fragmentStart;
32858 if (t1 < t2) {
32859 t3 = base._queryStart;
32860 delta = t3 - t1;
32861 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);
32862 }
32863 t1 = ref._uri;
32864 if (t2 < t1.length) {
32865 t3 = base._fragmentStart;
32866 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);
32867 }
32868 return base.removeFragment$0();
32869 }
32870 t2 = ref._uri;
32871 if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
32872 basePathStart = base._pathStart;
32873 packageNameEnd = A._SimpleUri__packageNameEnd(this);
32874 basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
32875 delta = basePathStart0 - refStart;
32876 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);
32877 }
32878 baseStart = base._pathStart;
32879 baseEnd = base._queryStart;
32880 if (baseStart === baseEnd && base._hostStart > 0) {
32881 for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
32882 refStart += 3;
32883 delta = baseStart - refStart + 1;
32884 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);
32885 }
32886 baseUri = base._uri;
32887 packageNameEnd = A._SimpleUri__packageNameEnd(this);
32888 if (packageNameEnd >= 0)
32889 baseStart0 = packageNameEnd;
32890 else
32891 for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
32892 baseStart0 += 3;
32893 backCount = 0;
32894 while (true) {
32895 refStart0 = refStart + 3;
32896 if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
32897 break;
32898 ++backCount;
32899 refStart = refStart0;
32900 }
32901 for (insert = ""; baseEnd > baseStart0;) {
32902 --baseEnd;
32903 if (B.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) {
32904 if (backCount === 0) {
32905 insert = "/";
32906 break;
32907 }
32908 --backCount;
32909 insert = "/";
32910 }
32911 }
32912 if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
32913 refStart -= backCount * 3;
32914 insert = "";
32915 }
32916 delta = baseEnd - refStart + insert.length;
32917 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);
32918 },
32919 toFilePath$0() {
32920 var t2, t3, _this = this,
32921 t1 = _this._schemeEnd;
32922 if (t1 >= 0) {
32923 t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
32924 t1 = t2;
32925 } else
32926 t1 = false;
32927 if (t1)
32928 throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
32929 t1 = _this._queryStart;
32930 t2 = _this._uri;
32931 if (t1 < t2.length) {
32932 if (t1 < _this._fragmentStart)
32933 throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
32934 throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
32935 }
32936 t3 = $.$get$_Uri__isWindowsCached();
32937 if (t3)
32938 t1 = A._Uri__toWindowsFilePath(_this);
32939 else {
32940 if (_this._hostStart < _this._portStart)
32941 A.throwExpression(A.UnsupportedError$(string$.Cannotn));
32942 t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
32943 }
32944 return t1;
32945 },
32946 get$hashCode(_) {
32947 var t1 = this._hashCodeCache;
32948 return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
32949 },
32950 $eq(_, other) {
32951 if (other == null)
32952 return false;
32953 if (this === other)
32954 return true;
32955 return type$.Uri._is(other) && this._uri === other.toString$0(0);
32956 },
32957 _toNonSimple$0() {
32958 var _this = this, _null = null,
32959 t1 = _this.get$scheme(),
32960 t2 = _this.get$userInfo(),
32961 t3 = _this._hostStart > 0 ? _this.get$host() : _null,
32962 t4 = _this.get$hasPort() ? _this.get$port(_this) : _null,
32963 t5 = _this._uri,
32964 t6 = _this._queryStart,
32965 t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
32966 t8 = _this._fragmentStart;
32967 t6 = t6 < t8 ? _this.get$query() : _null;
32968 return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
32969 },
32970 toString$0(_) {
32971 return this._uri;
32972 },
32973 $isUri: 1
32974 };
32975 A._DataUri.prototype = {};
32976 A._convertDataTree__convert.prototype = {
32977 call$1(o) {
32978 var convertedMap, key, convertedList,
32979 t1 = this._convertedObjects;
32980 if (t1.containsKey$1(o))
32981 return t1.$index(0, o);
32982 if (type$.Map_dynamic_dynamic._is(o)) {
32983 convertedMap = {};
32984 t1.$indexSet(0, o, convertedMap);
32985 for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
32986 key = t1.get$current(t1);
32987 convertedMap[key] = this.call$1(o.$index(0, key));
32988 }
32989 return convertedMap;
32990 } else if (type$.Iterable_dynamic._is(o)) {
32991 convertedList = [];
32992 t1.$indexSet(0, o, convertedList);
32993 B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
32994 return convertedList;
32995 } else
32996 return o;
32997 },
32998 $signature: 351
32999 };
33000 A._JSRandom.prototype = {
33001 nextInt$1(max) {
33002 if (max <= 0 || max > 4294967296)
33003 throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
33004 return Math.random() * max >>> 0;
33005 },
33006 nextDouble$0() {
33007 return Math.random();
33008 }
33009 };
33010 A.ArgParser.prototype = {
33011 addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
33012 var _null = null;
33013 this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_nMZ, B.List_empty, hide, negatable);
33014 },
33015 addFlag$2$hide($name, hide) {
33016 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
33017 },
33018 addFlag$2$help($name, help) {
33019 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
33020 },
33021 addFlag$3$defaultsTo$help($name, defaultsTo, help) {
33022 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
33023 },
33024 addFlag$3$help$negatable($name, help, negatable) {
33025 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
33026 },
33027 addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
33028 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
33029 },
33030 addFlag$3$abbr$help($name, abbr, help) {
33031 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
33032 },
33033 addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
33034 this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_YwU, B.List_empty, hide, false);
33035 },
33036 addOption$2$hide($name, hide) {
33037 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, null, null, null, hide, null);
33038 },
33039 addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
33040 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
33041 },
33042 addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
33043 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
33044 },
33045 addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
33046 var t1 = A._setArrayType([], type$.JSArray_String);
33047 this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, null, null, t1, null, B.OptionType_qyr, B.List_empty, false, false);
33048 },
33049 _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
33050 var existing, t2, option, _i, _this = this, _null = null,
33051 t1 = A._setArrayType([$name], type$.JSArray_String);
33052 B.JSArray_methods.addAll$1(t1, aliases);
33053 if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
33054 throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
33055 t1 = abbr != null;
33056 if (t1) {
33057 existing = _this.findByAbbreviation$1(abbr);
33058 if (existing != null)
33059 throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
33060 }
33061 t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
33062 option = new A.Option($name, abbr, help, valueHelp, t2, _null, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_qyr : splitCommas, false, hide);
33063 if ($name.length === 0)
33064 A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
33065 else if (B.JSString_methods.startsWith$1($name, "-"))
33066 A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
33067 t2 = $.$get$Option__invalidChars()._nativeRegExp;
33068 if (t2.test($name))
33069 A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
33070 if (t1) {
33071 if (abbr.length !== 1)
33072 A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
33073 else if (abbr === "-")
33074 A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
33075 if (t2.test(abbr))
33076 A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
33077 }
33078 _this._arg_parser$_options.$indexSet(0, $name, option);
33079 _this._optionsAndSeparators.push(option);
33080 for (t1 = _this._aliases, _i = 0; false; ++_i)
33081 t1.$indexSet(0, aliases[_i], $name);
33082 },
33083 _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
33084 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
33085 },
33086 _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
33087 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
33088 },
33089 _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
33090 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
33091 },
33092 findByAbbreviation$1(abbr) {
33093 var t1, t2;
33094 for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
33095 t2 = t1.get$current(t1);
33096 if (t2.abbr === abbr)
33097 return t2;
33098 }
33099 return null;
33100 },
33101 findByNameOrAlias$1($name) {
33102 var t1 = this._aliases.$index(0, $name);
33103 if (t1 == null)
33104 t1 = $name;
33105 return this.options._map.$index(0, t1);
33106 }
33107 };
33108 A.ArgParser__addOption_closure.prototype = {
33109 call$1($name) {
33110 return this.$this.findByNameOrAlias$1($name) != null;
33111 },
33112 $signature: 6
33113 };
33114 A.ArgParserException.prototype = {};
33115 A.ArgResults.prototype = {
33116 $index(_, $name) {
33117 var t1 = this._parser.options._map;
33118 if (!t1.containsKey$1($name))
33119 throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
33120 t1 = t1.$index(0, $name);
33121 t1.toString;
33122 return t1.valueOrDefault$1(this._parsed.$index(0, $name));
33123 },
33124 wasParsed$1($name) {
33125 if (!this._parser.options._map.containsKey$1($name))
33126 throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
33127 return this._parsed.containsKey$1($name);
33128 }
33129 };
33130 A.Option.prototype = {
33131 valueOrDefault$1(value) {
33132 var t1;
33133 if (value != null)
33134 return value;
33135 if (this.type === B.OptionType_qyr) {
33136 t1 = this.defaultsTo;
33137 return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
33138 }
33139 return this.defaultsTo;
33140 }
33141 };
33142 A.OptionType.prototype = {};
33143 A.Parser0.prototype = {
33144 parse$0() {
33145 var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, command, exception, _this = this,
33146 t2 = _this._args;
33147 t2.toList$0(0);
33148 commandResults = null;
33149 for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands; !t2.get$isEmpty(t2);) {
33150 t6 = t2._collection$_head;
33151 if (t6 === t2._collection$_tail)
33152 A.throwExpression(A.IterableElementError_noElement());
33153 t6 = t2.$ti._precomputed1._as(t2._collection$_table[t6]);
33154 if (t6 === "--") {
33155 t2.removeFirst$0();
33156 break;
33157 }
33158 command = t5._map.$index(0, t6);
33159 if (command != null) {
33160 if (t3.length !== 0)
33161 A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null));
33162 commandName = t2.removeFirst$0();
33163 t5 = type$.JSArray_String;
33164 t6 = A._setArrayType([], t5);
33165 B.JSArray_methods.addAll$1(t6, t3);
33166 commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
33167 try {
33168 commandResults = commandParser.parse$0();
33169 } catch (exception) {
33170 t2 = A.unwrapException(exception);
33171 if (t2 instanceof A.ArgParserException) {
33172 error = t2;
33173 t2 = error.message;
33174 t1 = A._setArrayType([commandName], t5);
33175 J.addAll$1$ax(t1, error.commands);
33176 throw A.wrapException(A.ArgParserException$(t2, t1));
33177 } else
33178 throw exception;
33179 }
33180 B.JSArray_methods.set$length(t3, 0);
33181 break;
33182 }
33183 if (_this._parseSoloOption$0())
33184 continue;
33185 if (_this._parseAbbreviation$1(_this))
33186 continue;
33187 if (_this._parseLongOption$0())
33188 continue;
33189 t3.push(t2.removeFirst$0());
33190 }
33191 t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
33192 B.JSArray_methods.addAll$1(t3, t2);
33193 t2.clear$0(0);
33194 return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
33195 },
33196 _readNextArgAsValue$1(option) {
33197 var t1 = this._args,
33198 t2 = t1.get$isEmpty(t1),
33199 t3 = 'Missing argument for "' + option.name + '".';
33200 if (t2)
33201 A.throwExpression(A.ArgParserException$(t3, null));
33202 this._setOption$3(this._results, option, t1.get$first(t1));
33203 t1.removeFirst$0();
33204 },
33205 _parseSoloOption$0() {
33206 var opt,
33207 t1 = this._args;
33208 if (t1.get$first(t1).length !== 2)
33209 return false;
33210 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
33211 return false;
33212 opt = t1.get$first(t1)[1];
33213 if (!A._isLetterOrDigit(B.JSString_methods._codeUnitAt$1(opt, 0)))
33214 return false;
33215 this._handleSoloOption$1(opt);
33216 return true;
33217 },
33218 _handleSoloOption$1(opt) {
33219 var t1, t2, _this = this,
33220 option = _this._grammar.findByAbbreviation$1(opt);
33221 if (option == null) {
33222 t1 = _this._parser$_parent;
33223 t2 = 'Could not find an option or flag "-' + opt + '".';
33224 if (t1 == null)
33225 A.throwExpression(A.ArgParserException$(t2, null));
33226 t1._handleSoloOption$1(opt);
33227 return true;
33228 }
33229 _this._args.removeFirst$0();
33230 if (option.type === B.OptionType_nMZ)
33231 _this._results.$indexSet(0, option.name, true);
33232 else
33233 _this._readNextArgAsValue$1(option);
33234 return true;
33235 },
33236 _parseAbbreviation$1(innermostCommand) {
33237 var index, t2, lettersAndDigits, rest,
33238 t1 = this._args;
33239 if (t1.get$first(t1).length < 2)
33240 return false;
33241 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
33242 return false;
33243 index = 1;
33244 while (true) {
33245 t2 = t1._collection$_head;
33246 if (t2 === t1._collection$_tail)
33247 A.throwExpression(A.IterableElementError_noElement());
33248 t2 = t1.$ti._precomputed1._as(t1._collection$_table[t2]);
33249 if (index < t2.length) {
33250 t2 = B.JSString_methods._codeUnitAt$1(t2, index);
33251 if (!(t2 >= 65 && t2 <= 90))
33252 if (!(t2 >= 97 && t2 <= 122))
33253 t2 = t2 >= 48 && t2 <= 57;
33254 else
33255 t2 = true;
33256 else
33257 t2 = true;
33258 } else
33259 t2 = false;
33260 if (!t2)
33261 break;
33262 ++index;
33263 }
33264 if (index === 1)
33265 return false;
33266 lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(t1), 1, index);
33267 rest = B.JSString_methods.substring$1(t1.get$first(t1), index);
33268 if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
33269 return false;
33270 this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
33271 return true;
33272 },
33273 _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
33274 var t1, t2, i, i0, _this = this,
33275 c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
33276 first = _this._grammar.findByAbbreviation$1(c);
33277 if (first == null) {
33278 t1 = _this._parser$_parent;
33279 t2 = string$.Could_ + c + '".';
33280 if (t1 == null)
33281 A.throwExpression(A.ArgParserException$(t2, null));
33282 t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
33283 return true;
33284 } else if (first.type !== B.OptionType_nMZ)
33285 _this._setOption$3(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest);
33286 else {
33287 t1 = 'Option "-' + c + '" is a flag and cannot handle value "' + B.JSString_methods.substring$1(lettersAndDigits, 1) + rest + '".';
33288 if (rest !== "")
33289 A.throwExpression(A.ArgParserException$(t1, null));
33290 for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
33291 i0 = i + 1;
33292 innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
33293 }
33294 }
33295 _this._args.removeFirst$0();
33296 return true;
33297 },
33298 _parseShortFlag$1(c) {
33299 var t1, t2,
33300 option = this._grammar.findByAbbreviation$1(c);
33301 if (option == null) {
33302 t1 = this._parser$_parent;
33303 t2 = string$.Could_ + c + '".';
33304 if (t1 == null)
33305 A.throwExpression(A.ArgParserException$(t2, null));
33306 t1._parseShortFlag$1(c);
33307 return;
33308 }
33309 t1 = option.type;
33310 t2 = 'Option "-' + c + '" must be a flag to be in a collapsed "-".';
33311 if (t1 !== B.OptionType_nMZ)
33312 A.throwExpression(A.ArgParserException$(t2, null));
33313 this._results.$indexSet(0, option.name, true);
33314 },
33315 _parseLongOption$0() {
33316 var index, t2, $name, t3, i, t4, t5, value,
33317 t1 = this._args;
33318 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "--"))
33319 return false;
33320 index = B.JSString_methods.indexOf$1(t1.get$first(t1), "=");
33321 t2 = index === -1;
33322 $name = t2 ? B.JSString_methods.substring$1(t1.get$first(t1), 2) : B.JSString_methods.substring$2(t1.get$first(t1), 2, index);
33323 for (t3 = $name.length, i = 0; i !== t3; ++i) {
33324 t4 = B.JSString_methods._codeUnitAt$1($name, i);
33325 if (!(t4 >= 65 && t4 <= 90))
33326 if (!(t4 >= 97 && t4 <= 122))
33327 t5 = t4 >= 48 && t4 <= 57;
33328 else
33329 t5 = true;
33330 else
33331 t5 = true;
33332 if (!(t5 || t4 === 45 || t4 === 95))
33333 return false;
33334 }
33335 value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(t1), index + 1);
33336 if (value != null)
33337 t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
33338 else
33339 t1 = false;
33340 if (t1)
33341 return false;
33342 this._handleLongOption$2($name, value);
33343 return true;
33344 },
33345 _handleLongOption$2($name, value) {
33346 var t2, _this = this, _null = null,
33347 _s32_ = 'Could not find an option named "',
33348 t1 = _this._grammar,
33349 option = t1.findByNameOrAlias$1($name);
33350 if (option != null) {
33351 _this._args.removeFirst$0();
33352 if (option.type === B.OptionType_nMZ) {
33353 t1 = 'Flag option "' + $name + '" should not be given a value.';
33354 if (value != null)
33355 A.throwExpression(A.ArgParserException$(t1, _null));
33356 _this._results.$indexSet(0, option.name, true);
33357 } else if (value != null)
33358 _this._setOption$3(_this._results, option, value);
33359 else
33360 _this._readNextArgAsValue$1(option);
33361 } else if (B.JSString_methods.startsWith$1($name, "no-")) {
33362 option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
33363 if (option == null) {
33364 t1 = _this._parser$_parent;
33365 t2 = _s32_ + $name + '".';
33366 if (t1 == null)
33367 A.throwExpression(A.ArgParserException$(t2, _null));
33368 t1._handleLongOption$2($name, value);
33369 return true;
33370 }
33371 _this._args.removeFirst$0();
33372 t1 = option.type;
33373 t2 = 'Cannot negate non-flag option "' + $name + '".';
33374 if (t1 !== B.OptionType_nMZ)
33375 A.throwExpression(A.ArgParserException$(t2, _null));
33376 t1 = option.negatable;
33377 t2 = 'Cannot negate option "' + $name + '".';
33378 if (!t1)
33379 A.throwExpression(A.ArgParserException$(t2, _null));
33380 _this._results.$indexSet(0, option.name, false);
33381 } else {
33382 t1 = _this._parser$_parent;
33383 t2 = _s32_ + $name + '".';
33384 if (t1 == null)
33385 A.throwExpression(A.ArgParserException$(t2, _null));
33386 t1._handleLongOption$2($name, value);
33387 return true;
33388 }
33389 return true;
33390 },
33391 _setOption$3(results, option, value) {
33392 var list, t1, t2, t3, _i, element;
33393 if (option.type !== B.OptionType_qyr) {
33394 this._validateAllowed$2(option, value);
33395 results.$indexSet(0, option.name, value);
33396 return;
33397 }
33398 list = results.putIfAbsent$2(option.name, new A.Parser__setOption_closure());
33399 if (option.splitCommas)
33400 for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
33401 element = t1[_i];
33402 this._validateAllowed$2(option, element);
33403 t3.add$1(list, element);
33404 }
33405 else {
33406 this._validateAllowed$2(option, value);
33407 J.add$1$ax(list, value);
33408 }
33409 },
33410 _validateAllowed$2(option, value) {
33411 var t2,
33412 t1 = option.allowed;
33413 if (t1 == null)
33414 return;
33415 t1 = B.JSArray_methods.contains$1(t1, value);
33416 t2 = '"' + value + '" is not an allowed value for option "' + option.name + '".';
33417 if (!t1)
33418 A.throwExpression(A.ArgParserException$(t2, null));
33419 }
33420 };
33421 A.Parser_parse_closure.prototype = {
33422 call$2($name, option) {
33423 var parsedOption = this.$this._results.$index(0, $name),
33424 callback = option.callback;
33425 if (callback == null)
33426 return;
33427 callback.call$1(option.valueOrDefault$1(parsedOption));
33428 },
33429 $signature: 507
33430 };
33431 A.Parser__setOption_closure.prototype = {
33432 call$0() {
33433 return A._setArrayType([], type$.JSArray_String);
33434 },
33435 $signature: 49
33436 };
33437 A._Usage.prototype = {
33438 get$_columnWidths() {
33439 var result, _this = this,
33440 value = _this.___Usage__columnWidths;
33441 if (value === $) {
33442 result = _this._calculateColumnWidths$0();
33443 A._lateInitializeOnceCheck(_this.___Usage__columnWidths, "_columnWidths");
33444 _this.___Usage__columnWidths = result;
33445 value = result;
33446 }
33447 return value;
33448 },
33449 generate$0() {
33450 var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
33451 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) {
33452 optionOrSeparator = t1[_i];
33453 if (typeof optionOrSeparator == "string") {
33454 t5 = t4._contents;
33455 t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
33456 _this._newlinesNeeded = 1;
33457 continue;
33458 }
33459 t3._as(optionOrSeparator);
33460 if (optionOrSeparator.hide)
33461 continue;
33462 _this._writeOption$1(optionOrSeparator);
33463 }
33464 t1 = t4._contents;
33465 return t1.charCodeAt(0) == 0 ? t1 : t1;
33466 },
33467 _writeOption$1(option) {
33468 var allowedNames, t2, t3, t4, _i, $name, isDefault, t5, _this = this,
33469 t1 = option.abbr;
33470 _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
33471 t1 = _this._longOption$1(option);
33472 _this._write$2(1, t1);
33473 t1 = option.help;
33474 if (t1 != null)
33475 _this._write$2(2, t1);
33476 t1 = option.allowedHelp;
33477 if (t1 != null) {
33478 allowedNames = J.toList$0$ax(t1.get$keys(t1));
33479 B.JSArray_methods.sort$0(allowedNames);
33480 _this._newline$0();
33481 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) {
33482 $name = allowedNames[_i];
33483 isDefault = t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name;
33484 t5 = " [" + $name + "]";
33485 _this._write$2(1, t5 + (isDefault ? " (default)" : ""));
33486 t5 = t1.$index(0, $name);
33487 t5.toString;
33488 _this._write$2(2, t5);
33489 }
33490 _this._newline$0();
33491 } else if (option.allowed != null)
33492 _this._write$2(2, _this._buildAllowedList$1(option));
33493 else {
33494 t1 = option.type;
33495 if (t1 === B.OptionType_nMZ) {
33496 if (option.defaultsTo === true)
33497 _this._write$2(2, "(defaults to on)");
33498 } else if (t1 === B.OptionType_qyr) {
33499 t1 = option.defaultsTo;
33500 if (t1 != null && J.get$isNotEmpty$asx(t1)) {
33501 type$.List_dynamic._as(t1);
33502 _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, ", ") + ")");
33503 }
33504 } else {
33505 t1 = option.defaultsTo;
33506 if (t1 != null)
33507 _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
33508 }
33509 }
33510 },
33511 _longOption$1(option) {
33512 var t1 = option.name,
33513 result = option.negatable ? "--[no-]" + t1 : "--" + t1;
33514 t1 = option.valueHelp;
33515 return t1 != null ? result + ("=<" + t1 + ">") : result;
33516 },
33517 _calculateColumnWidths$0() {
33518 var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, isDefault;
33519 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) {
33520 option = t1[_i];
33521 if (!(option instanceof A.Option))
33522 continue;
33523 if (option.hide)
33524 continue;
33525 t4 = option.abbr;
33526 abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
33527 t4 = this._longOption$1(option);
33528 title = Math.max(title, t4.length);
33529 t4 = option.allowedHelp;
33530 if (t4 != null)
33531 for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
33532 t7 = t4.get$current(t4);
33533 isDefault = t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7;
33534 t7 = " [" + t7 + "]";
33535 title = Math.max(title, (t7 + (isDefault ? " (default)" : "")).length);
33536 }
33537 }
33538 return A._setArrayType([abbr, title + 4], type$.JSArray_int);
33539 },
33540 _newline$0() {
33541 ++this._newlinesNeeded;
33542 this._currentColumn = 0;
33543 },
33544 _write$2(column, text) {
33545 var t1, _i,
33546 lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
33547 this.get$_columnWidths();
33548 while (true) {
33549 if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
33550 break;
33551 B.JSArray_methods.removeAt$1(lines, 0);
33552 }
33553 while (true) {
33554 if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
33555 break;
33556 lines.pop();
33557 }
33558 for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
33559 this._writeLine$2(column, lines[_i]);
33560 },
33561 _writeLine$2(column, text) {
33562 var t1, t2, _this = this;
33563 for (t1 = _this._buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
33564 t1._contents += "\n";
33565 _this._newlinesNeeded = t2 - 1;
33566 }
33567 for (; t2 = _this._currentColumn, t2 !== column;) {
33568 if (t2 < 2)
33569 t1._contents += B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
33570 else
33571 t1._contents += "\n";
33572 _this._currentColumn = (_this._currentColumn + 1) % 3;
33573 }
33574 _this.get$_columnWidths();
33575 if (column < 2)
33576 t1._contents += B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
33577 else
33578 t1._contents += text;
33579 _this._currentColumn = (_this._currentColumn + 1) % 3;
33580 if (column === 2)
33581 ++_this._newlinesNeeded;
33582 },
33583 _buildAllowedList$1(option) {
33584 var t2, t3, first, _i, allowed,
33585 t1 = option.defaultsTo,
33586 isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
33587 t1 = "" + "[";
33588 for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
33589 allowed = t2[_i];
33590 if (!first)
33591 t1 += ", ";
33592 t1 += A.S(allowed);
33593 if (isDefault.call$1(allowed))
33594 t1 += " (default)";
33595 }
33596 t1 += "]";
33597 return t1.charCodeAt(0) == 0 ? t1 : t1;
33598 }
33599 };
33600 A._Usage__writeOption_closure.prototype = {
33601 call$1(value) {
33602 return '"' + A.S(value) + '"';
33603 },
33604 $signature: 91
33605 };
33606 A._Usage__buildAllowedList_closure.prototype = {
33607 call$1(value) {
33608 return value === this.option.defaultsTo;
33609 },
33610 $signature: 128
33611 };
33612 A.CancelableOperation.prototype = {
33613 valueOrCancellation$0() {
33614 var t1 = this.$ti,
33615 t2 = $.Zone__current,
33616 t3 = new A._Future(t2, t1._eval$1("_Future<1?>")),
33617 completer = new A._SyncCompleter(t3, t1._eval$1("_SyncCompleter<1?>")),
33618 t4 = this._completer,
33619 t5 = t4._cancelable_operation$_inner;
33620 t5 = t5 == null ? null : t5.future;
33621 t1 = t5 == null ? new A._Future(t2, t1._eval$1("_Future<1>")) : t5;
33622 t2 = completer.get$completeError();
33623 t1.then$1$2$onError(0, completer.get$complete(), t2, type$.void);
33624 t4 = t4._cancelCompleter;
33625 if (t4 != null)
33626 t4.future.then$1$2$onError(0, new A.CancelableOperation_valueOrCancellation_closure(completer, null), t2, type$.Null);
33627 return t3;
33628 },
33629 then$1$2$onError(_, onValue, onError, $R) {
33630 var completer = A.CancelableCompleter$(this.get$cancel(), $R),
33631 t1 = this._completer,
33632 t2 = t1._cancelable_operation$_inner;
33633 if (t2 != null) {
33634 t2 = t2.future;
33635 t2.then$1$2$onError(0, new A.CancelableOperation_then_closure(this, completer, onValue), new A.CancelableOperation_then_closure0(completer, onError), type$.void);
33636 }
33637 t1 = t1._cancelCompleter;
33638 if (t1 != null) {
33639 t1 = t1.future;
33640 t1.whenComplete$1(completer.get$_cancel());
33641 }
33642 return completer.get$operation();
33643 },
33644 cancel$0() {
33645 return this._completer._cancel$0();
33646 }
33647 };
33648 A.CancelableOperation_race__cancelAll.prototype = {
33649 call$0() {
33650 var t1 = this._box_0;
33651 t1.done = true;
33652 t1 = t1.operations;
33653 return A.Future_wait(new A.MappedListIterable(t1, new A.CancelableOperation_race__cancelAll_closure(this.T), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Future<@>>")), type$.dynamic);
33654 },
33655 $signature: 28
33656 };
33657 A.CancelableOperation_race__cancelAll_closure.prototype = {
33658 call$1(operation) {
33659 return operation._completer._cancel$0();
33660 },
33661 $signature() {
33662 return this.T._eval$1("Future<@>(CancelableOperation<0>)");
33663 }
33664 };
33665 A.CancelableOperation_race_closure.prototype = {
33666 call$1(value) {
33667 if (!this._box_0.done)
33668 this._cancelAll.call$0().whenComplete$1(new A.CancelableOperation_race__closure0(this.completer, value));
33669 },
33670 $signature() {
33671 return this.T._eval$1("Null(0)");
33672 }
33673 };
33674 A.CancelableOperation_race__closure0.prototype = {
33675 call$0() {
33676 return this.completer.complete$1(this.value);
33677 },
33678 $signature: 0
33679 };
33680 A.CancelableOperation_race_closure0.prototype = {
33681 call$2(error, stackTrace) {
33682 if (!this._box_0.done)
33683 this._cancelAll.call$0().whenComplete$1(new A.CancelableOperation_race__closure(this.completer, error, stackTrace));
33684 },
33685 $signature: 42
33686 };
33687 A.CancelableOperation_race__closure.prototype = {
33688 call$0() {
33689 return this.completer.completeError$2(this.error, this.stackTrace);
33690 },
33691 $signature: 0
33692 };
33693 A.CancelableOperation_valueOrCancellation_closure.prototype = {
33694 call$1(_) {
33695 this.completer.complete$1(this.cancellationValue);
33696 },
33697 $signature: 550
33698 };
33699 A.CancelableOperation_then_closure.prototype = {
33700 call$1(value) {
33701 var error, stack, exception,
33702 t1 = this.completer;
33703 if (t1._cancelable_operation$_inner == null)
33704 return;
33705 try {
33706 t1.complete$1(this.onValue.call$1(value));
33707 } catch (exception) {
33708 error = A.unwrapException(exception);
33709 stack = A.getTraceFromException(exception);
33710 t1.completeError$2(error, stack);
33711 }
33712 },
33713 $signature() {
33714 return this.$this.$ti._eval$1("Null(1)");
33715 }
33716 };
33717 A.CancelableOperation_then_closure0.prototype = {
33718 call$2(error, stack) {
33719 var error2, stack2, exception,
33720 t1 = this.completer;
33721 if (t1._cancelable_operation$_inner == null)
33722 return;
33723 try {
33724 t1.complete$1(this.onError.call$2(error, stack));
33725 } catch (exception) {
33726 error2 = A.unwrapException(exception);
33727 stack2 = A.getTraceFromException(exception);
33728 t1.completeError$2(error2, stack2);
33729 }
33730 },
33731 $signature: 42
33732 };
33733 A.CancelableCompleter.prototype = {
33734 get$operation() {
33735 var _this = this,
33736 value = _this.__CancelableCompleter_operation;
33737 if (value === $) {
33738 A._lateInitializeOnceCheck(value, "operation");
33739 value = _this.__CancelableCompleter_operation = new A.CancelableOperation(_this, _this.$ti._eval$1("CancelableOperation<1>"));
33740 }
33741 return value;
33742 },
33743 complete$1(value) {
33744 var t1, _this = this;
33745 if (!_this._mayComplete)
33746 throw A.wrapException(A.StateError$("Operation already completed"));
33747 _this._mayComplete = false;
33748 t1 = _this.$ti;
33749 if (!t1._eval$1("Future<1>")._is(value)) {
33750 t1 = _this._completeNow$0();
33751 if (t1 != null)
33752 t1.complete$1(value);
33753 return;
33754 }
33755 if (_this._cancelable_operation$_inner == null) {
33756 if (t1._eval$1("_Future<1>")._is(value))
33757 value._state |= 1;
33758 else
33759 value.then$1$2$onError(0, A.async__FutureExtensions__ignore$closure(), A.async__FutureExtensions__ignore$closure(), type$.void);
33760 return;
33761 }
33762 value.then$1$2$onError(0, new A.CancelableCompleter_complete_closure(_this), new A.CancelableCompleter_complete_closure0(_this), type$.Null);
33763 },
33764 complete$0() {
33765 return this.complete$1(null);
33766 },
33767 _completeNow$0() {
33768 var inner = this._cancelable_operation$_inner;
33769 if (inner == null)
33770 return null;
33771 this._cancelCompleter = null;
33772 return inner;
33773 },
33774 completeError$2(error, stackTrace) {
33775 var t1;
33776 if (!this._mayComplete)
33777 throw A.wrapException(A.StateError$("Operation already completed"));
33778 this._mayComplete = false;
33779 t1 = this._completeNow$0();
33780 if (t1 != null)
33781 t1.completeError$2(error, stackTrace);
33782 },
33783 completeError$1(error) {
33784 return this.completeError$2(error, null);
33785 },
33786 _cancel$0() {
33787 var onCancel, _this = this,
33788 cancelCompleter = _this._cancelCompleter;
33789 if (cancelCompleter == null)
33790 return A.Future_Future$value(null, type$.void);
33791 if (_this._cancelable_operation$_inner != null) {
33792 _this._cancelable_operation$_inner = null;
33793 onCancel = _this._onCancel;
33794 cancelCompleter.complete$1(onCancel == null ? null : A.Future_Future$sync(onCancel, type$.void));
33795 }
33796 return cancelCompleter.future;
33797 }
33798 };
33799 A.CancelableCompleter_complete_closure.prototype = {
33800 call$1(result) {
33801 var t1 = this.$this._completeNow$0();
33802 if (t1 != null)
33803 t1.complete$1(result);
33804 },
33805 $signature() {
33806 return this.$this.$ti._eval$1("Null(1)");
33807 }
33808 };
33809 A.CancelableCompleter_complete_closure0.prototype = {
33810 call$2(error, stackTrace) {
33811 var t1 = this.$this._completeNow$0();
33812 if (t1 != null)
33813 t1.completeError$2(error, stackTrace);
33814 },
33815 $signature: 42
33816 };
33817 A.DelegatingStreamSubscription.prototype = {
33818 onData$1(handleData) {
33819 var t1 = this._stream_subscription$_source;
33820 t1._onData = A._BufferingStreamSubscription__registerDataHandler(t1._zone, handleData, t1.$ti._eval$1("_BufferingStreamSubscription.T"));
33821 },
33822 onError$1(handleError) {
33823 var t1 = this._stream_subscription$_source;
33824 t1._onError = A._BufferingStreamSubscription__registerErrorHandler(t1._zone, handleError);
33825 },
33826 onDone$1(handleDone) {
33827 var t1 = this._stream_subscription$_source;
33828 t1._onDone = A._BufferingStreamSubscription__registerDoneHandler(t1._zone, handleDone);
33829 },
33830 pause$1(_, resumeFuture) {
33831 this._stream_subscription$_source.pause$1(0, resumeFuture);
33832 },
33833 pause$0($receiver) {
33834 return this.pause$1($receiver, null);
33835 },
33836 resume$0(_) {
33837 this._stream_subscription$_source.resume$0(0);
33838 },
33839 cancel$0() {
33840 return this._stream_subscription$_source.cancel$0();
33841 },
33842 $isStreamSubscription: 1
33843 };
33844 A.ErrorResult.prototype = {
33845 complete$1(completer) {
33846 completer.completeError$2(this.error, this.stackTrace);
33847 },
33848 get$hashCode(_) {
33849 return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
33850 },
33851 $eq(_, other) {
33852 if (other == null)
33853 return false;
33854 return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
33855 },
33856 $isResult: 1
33857 };
33858 A.ValueResult.prototype = {
33859 complete$1(completer) {
33860 completer.complete$1(this.value);
33861 },
33862 get$hashCode(_) {
33863 return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
33864 },
33865 $eq(_, other) {
33866 if (other == null)
33867 return false;
33868 return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
33869 },
33870 $isResult: 1
33871 };
33872 A.StreamCompleter.prototype = {
33873 setSourceStream$1(sourceStream) {
33874 var t1 = this._stream_completer$_stream;
33875 if (t1._sourceStream != null)
33876 throw A.wrapException(A.StateError$("Source stream already set"));
33877 t1._sourceStream = sourceStream;
33878 if (t1._stream_completer$_controller != null)
33879 t1._linkStreamToController$0();
33880 },
33881 setError$2(error, stackTrace) {
33882 var t1 = this.$ti._precomputed1;
33883 this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
33884 },
33885 setError$1(error) {
33886 return this.setError$2(error, null);
33887 }
33888 };
33889 A._CompleterStream.prototype = {
33890 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
33891 var sourceStream, t1, _this = this, _null = null;
33892 if (_this._stream_completer$_controller == null) {
33893 sourceStream = _this._sourceStream;
33894 if (sourceStream != null && !sourceStream.get$isBroadcast())
33895 return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
33896 if (_this._stream_completer$_controller == null)
33897 _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
33898 if (_this._sourceStream != null)
33899 _this._linkStreamToController$0();
33900 }
33901 t1 = _this._stream_completer$_controller;
33902 t1.toString;
33903 return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
33904 },
33905 listen$1($receiver, onData) {
33906 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
33907 },
33908 listen$3$onDone$onError($receiver, onData, onDone, onError) {
33909 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
33910 },
33911 _linkStreamToController$0() {
33912 var t2,
33913 t1 = this._stream_completer$_controller;
33914 t1.toString;
33915 t2 = this._sourceStream;
33916 t2.toString;
33917 t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
33918 }
33919 };
33920 A.StreamGroup.prototype = {
33921 add$1(_, stream) {
33922 var t1, _this = this;
33923 if (_this._closed)
33924 throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
33925 t1 = _this._stream_group$_state;
33926 if (t1 === B._StreamGroupState_dormant)
33927 _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
33928 else if (t1 === B._StreamGroupState_canceled)
33929 return stream.listen$1(0, null).cancel$0();
33930 else
33931 _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
33932 return null;
33933 },
33934 remove$1(_, stream) {
33935 var t1 = this._subscriptions,
33936 subscription = t1.remove$1(0, stream),
33937 future = subscription == null ? null : subscription.cancel$0();
33938 if (t1.get$isEmpty(t1))
33939 if (this._closed) {
33940 t1 = A._lateReadCheck(this.__StreamGroup__controller, "_controller");
33941 A.scheduleMicrotask(t1.get$close(t1));
33942 }
33943 return future;
33944 },
33945 _onListen$0() {
33946 var stream, t1, t2, t3, _i, entry, exception, onError, _this = this;
33947 _this._stream_group$_state = B._StreamGroupState_listening;
33948 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) {
33949 entry = t2[_i];
33950 if (entry.value != null)
33951 continue;
33952 stream = entry.key;
33953 try {
33954 t1.$indexSet(0, stream, _this._listenToStream$1(stream));
33955 } catch (exception) {
33956 t1 = _this._stream_group$_onCancel$0();
33957 if (t1 != null) {
33958 onError = new A.StreamGroup__onListen_closure();
33959 t2 = t1.$ti;
33960 t3 = $.Zone__current;
33961 if (t3 !== B.C__RootZone)
33962 onError = A._registerErrorHandler(onError, t3);
33963 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>")));
33964 }
33965 throw exception;
33966 }
33967 }
33968 },
33969 _onPause$0() {
33970 this._stream_group$_state = B._StreamGroupState_paused;
33971 for (var t1 = this._subscriptions, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();)
33972 t1.get$current(t1).pause$0(0);
33973 },
33974 _onResume$0() {
33975 this._stream_group$_state = B._StreamGroupState_listening;
33976 for (var t1 = this._subscriptions, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();)
33977 t1.get$current(t1).resume$0(0);
33978 },
33979 _stream_group$_onCancel$0() {
33980 var t1, t2, futures;
33981 this._stream_group$_state = B._StreamGroupState_canceled;
33982 t1 = this._subscriptions;
33983 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);
33984 futures = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E"));
33985 t1.clear$0(0);
33986 return futures.length === 0 ? null : A.Future_wait(futures, type$.void);
33987 },
33988 _listenToStream$1(stream) {
33989 var _this = this,
33990 _s11_ = "_controller",
33991 t1 = A._lateReadCheck(_this.__StreamGroup__controller, _s11_),
33992 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());
33993 if (_this._stream_group$_state === B._StreamGroupState_paused)
33994 subscription.pause$0(0);
33995 return subscription;
33996 }
33997 };
33998 A.StreamGroup_add_closure.prototype = {
33999 call$0() {
34000 return null;
34001 },
34002 $signature: 1
34003 };
34004 A.StreamGroup_add_closure0.prototype = {
34005 call$0() {
34006 return this.$this._listenToStream$1(this.stream);
34007 },
34008 $signature() {
34009 return this.$this.$ti._eval$1("StreamSubscription<1>()");
34010 }
34011 };
34012 A.StreamGroup__onListen_closure.prototype = {
34013 call$1(_) {
34014 },
34015 $signature: 64
34016 };
34017 A.StreamGroup__onCancel_closure.prototype = {
34018 call$1(entry) {
34019 var t1, exception,
34020 subscription = entry.value;
34021 try {
34022 if (subscription != null) {
34023 t1 = subscription.cancel$0();
34024 return t1;
34025 }
34026 t1 = J.listen$1$z(entry.key, null).cancel$0();
34027 return t1;
34028 } catch (exception) {
34029 return null;
34030 }
34031 },
34032 $signature() {
34033 return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
34034 }
34035 };
34036 A.StreamGroup__listenToStream_closure.prototype = {
34037 call$0() {
34038 return this.$this.remove$1(0, this.stream);
34039 },
34040 $signature: 0
34041 };
34042 A._StreamGroupState.prototype = {
34043 toString$0(_) {
34044 return this.name;
34045 }
34046 };
34047 A.StreamQueue.prototype = {
34048 _updateRequests$0() {
34049 var t1, t2, t3, _this = this;
34050 for (t1 = _this._requestQueue, t2 = _this._eventQueue; !t1.get$isEmpty(t1);) {
34051 t3 = t1._collection$_head;
34052 if (t3 === t1._collection$_tail)
34053 A.throwExpression(A.IterableElementError_noElement());
34054 if (t1.$ti._precomputed1._as(t1._collection$_table[t3]).update$2(t2, _this._isDone))
34055 t1.removeFirst$0();
34056 else
34057 return;
34058 }
34059 if (!_this._isDone)
34060 _this._stream_queue$_subscription.pause$0(0);
34061 },
34062 _ensureListening$0() {
34063 var t1, _this = this;
34064 if (_this._isDone)
34065 return;
34066 t1 = _this._stream_queue$_subscription;
34067 if (t1 == null)
34068 _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));
34069 else
34070 t1.resume$0(0);
34071 },
34072 _addResult$1(result) {
34073 ++this._eventsReceived;
34074 this._eventQueue._queue_list$_add$1(result);
34075 this._updateRequests$0();
34076 },
34077 _addRequest$1(request) {
34078 var _this = this,
34079 t1 = _this._requestQueue;
34080 if (t1._collection$_head === t1._collection$_tail) {
34081 if (request.update$2(_this._eventQueue, _this._isDone))
34082 return;
34083 _this._ensureListening$0();
34084 }
34085 t1._add$1(request);
34086 }
34087 };
34088 A.StreamQueue__ensureListening_closure.prototype = {
34089 call$1(data) {
34090 var t1 = this.$this;
34091 t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
34092 },
34093 $signature() {
34094 return this.$this.$ti._eval$1("~(1)");
34095 }
34096 };
34097 A.StreamQueue__ensureListening_closure1.prototype = {
34098 call$2(error, stackTrace) {
34099 this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
34100 },
34101 $signature: 42
34102 };
34103 A.StreamQueue__ensureListening_closure0.prototype = {
34104 call$0() {
34105 var t1 = this.$this;
34106 t1._stream_queue$_subscription = null;
34107 t1._isDone = true;
34108 t1._updateRequests$0();
34109 },
34110 $signature: 0
34111 };
34112 A._NextRequest.prototype = {
34113 update$2(events, isDone) {
34114 if (!events.get$isEmpty(events)) {
34115 events.removeFirst$0().complete$1(this._stream_queue$_completer);
34116 return true;
34117 }
34118 if (isDone) {
34119 this._stream_queue$_completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
34120 return true;
34121 }
34122 return false;
34123 },
34124 $is_EventRequest: 1
34125 };
34126 A.SubscriptionStream.prototype = {
34127 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
34128 var result,
34129 subscription = this._subscription_stream$_source;
34130 if (subscription == null)
34131 throw A.wrapException(A.StateError$("Stream has already been listened to."));
34132 this._subscription_stream$_source = null;
34133 result = true === cancelOnError ? new A._CancelOnErrorSubscriptionWrapper(subscription, this.$ti._eval$1("_CancelOnErrorSubscriptionWrapper<1>")) : subscription;
34134 result.onData$1(onData);
34135 result.onError$1(onError);
34136 result.onDone$1(onDone);
34137 subscription.resume$0(0);
34138 return result;
34139 },
34140 listen$1($receiver, onData) {
34141 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
34142 },
34143 listen$3$onDone$onError($receiver, onData, onDone, onError) {
34144 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
34145 }
34146 };
34147 A._CancelOnErrorSubscriptionWrapper.prototype = {
34148 onError$1(handleError) {
34149 this.super$DelegatingStreamSubscription$onError(new A._CancelOnErrorSubscriptionWrapper_onError_closure(this, handleError));
34150 }
34151 };
34152 A._CancelOnErrorSubscriptionWrapper_onError_closure.prototype = {
34153 call$2(error, stackTrace) {
34154 this.$this.super$DelegatingStreamSubscription$cancel().whenComplete$1(new A._CancelOnErrorSubscriptionWrapper_onError__closure(this.handleError, error, stackTrace));
34155 },
34156 $signature: 199
34157 };
34158 A._CancelOnErrorSubscriptionWrapper_onError__closure.prototype = {
34159 call$0() {
34160 var _this = this,
34161 t1 = _this.handleError;
34162 if (type$.dynamic_Function_dynamic_dynamic._is(t1))
34163 t1.call$2(_this.error, _this.stackTrace);
34164 else if (t1 != null)
34165 t1.call$1(_this.error);
34166 },
34167 $signature: 1
34168 };
34169 A.Repl.prototype = {};
34170 A.alwaysValid_closure.prototype = {
34171 call$1(text) {
34172 return true;
34173 },
34174 $signature: 6
34175 };
34176 A.ReplAdapter.prototype = {
34177 runAsync$0() {
34178 var rl, runController, _this = this, t1 = {},
34179 t2 = J.get$isTTY$x(self.process.stdin),
34180 output = (t2 == null ? false : t2) ? self.process.stdout : null;
34181 t2 = _this.repl.prompt;
34182 rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
34183 _this.rl = rl;
34184 t1.statement = "";
34185 t1.prompt = t2;
34186 runController = A._Cell$();
34187 runController._value = A.StreamController_StreamController(_this.get$exit(_this), new A.ReplAdapter_runAsync_closure(t1, _this, rl, runController), null, null, false, type$.String);
34188 return runController._readLocal$0().get$stream();
34189 },
34190 exit$0(_) {
34191 var t1 = this.rl;
34192 if (t1 != null)
34193 J.close$0$x(t1);
34194 this.rl = null;
34195 }
34196 };
34197 A.ReplAdapter_runAsync_closure.prototype = {
34198 call$0() {
34199 var $async$goto = 0,
34200 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
34201 $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;
34202 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
34203 if ($async$errorCode === 1) {
34204 $async$currentError = $async$result;
34205 $async$goto = $async$handler;
34206 }
34207 while (true)
34208 switch ($async$goto) {
34209 case 0:
34210 // Function start
34211 $async$handler = 3;
34212 lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
34213 t1 = lineController;
34214 t2 = A.QueueList$(null, type$.Result_String);
34215 t3 = A.ListQueue$(type$._EventRequest_dynamic);
34216 lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A.instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
34217 t1 = $async$self.rl;
34218 t2 = J.getInterceptor$x(t1);
34219 t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
34220 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;
34221 case 6:
34222 // for condition
34223 // trivial condition
34224 t7 = J.get$isTTY$x(self.process.stdin);
34225 if (t7 == null ? false : t7)
34226 J.write$1$x(self.process.stdout, t3.prompt);
34227 t7 = lineQueue;
34228 t8 = A.instanceType(t7);
34229 t9 = new A._Future($.Zone__current, t8._eval$1("_Future<1>"));
34230 t7._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t9, t8._eval$1("_AsyncCompleter<1>")), t8._eval$1("_NextRequest<1>")));
34231 $async$goto = 8;
34232 return A._asyncAwait(t9, $async$call$0);
34233 case 8:
34234 // returning from await.
34235 line = $async$result;
34236 t7 = J.get$isTTY$x(self.process.stdin);
34237 if (!(t7 == null ? false : t7)) {
34238 line0 = t3.prompt + A.S(line);
34239 toZone = $.printToZone;
34240 if (toZone == null)
34241 A.printString(line0);
34242 else
34243 toZone.call$1(line0);
34244 }
34245 statement = B.JSString_methods.$add(t3.statement, line);
34246 t3.statement = statement;
34247 if (t4.validator.call$1(statement)) {
34248 t7 = t5._value;
34249 if (t7 === t5)
34250 A.throwExpression(A.LateError$localNI(t6));
34251 J.add$1$ax(t7, t3.statement);
34252 t3.statement = "";
34253 t3.prompt = prompt0;
34254 t2.setPrompt$1(t1, prompt0);
34255 } else {
34256 t3.statement += "\n";
34257 t3.prompt = $prompt;
34258 t2.setPrompt$1(t1, $prompt);
34259 }
34260 // goto for condition
34261 $async$goto = 6;
34262 break;
34263 case 7:
34264 // after for
34265 $async$handler = 1;
34266 // goto after finally
34267 $async$goto = 5;
34268 break;
34269 case 3:
34270 // catch
34271 $async$handler = 2;
34272 $async$exception = $async$currentError;
34273 error = A.unwrapException($async$exception);
34274 stackTrace = A.getTraceFromException($async$exception);
34275 t1 = $async$self.runController;
34276 t1._readLocal$0().addError$2(error, stackTrace);
34277 $async$goto = 9;
34278 return A._asyncAwait($async$self.$this.exit$0(0), $async$call$0);
34279 case 9:
34280 // returning from await.
34281 J.close$0$x(t1._readLocal$0());
34282 // goto after finally
34283 $async$goto = 5;
34284 break;
34285 case 2:
34286 // uncaught
34287 // goto rethrow
34288 $async$goto = 1;
34289 break;
34290 case 5:
34291 // after finally
34292 // implicit return
34293 return A._asyncReturn(null, $async$completer);
34294 case 1:
34295 // rethrow
34296 return A._asyncRethrow($async$currentError, $async$completer);
34297 }
34298 });
34299 return A._asyncStartSync($async$call$0, $async$completer);
34300 },
34301 $signature: 28
34302 };
34303 A.ReplAdapter_runAsync__closure.prototype = {
34304 call$1(value) {
34305 return this.lineController.add$1(0, A._asString(value));
34306 },
34307 $signature: 121
34308 };
34309 A.Stdin.prototype = {};
34310 A.Stdout.prototype = {};
34311 A.ReadlineModule.prototype = {};
34312 A.ReadlineOptions.prototype = {};
34313 A.ReadlineInterface.prototype = {};
34314 A.EmptyUnmodifiableSet.prototype = {
34315 get$iterator(_) {
34316 return B.C_EmptyIterator;
34317 },
34318 get$length(_) {
34319 return 0;
34320 },
34321 contains$1(_, element) {
34322 return false;
34323 },
34324 toSet$0(_) {
34325 return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
34326 },
34327 $isEfficientLengthIterable: 1,
34328 $isSet: 1
34329 };
34330 A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
34331 A.DefaultEquality.prototype = {};
34332 A.IterableEquality.prototype = {
34333 equals$2(_, elements1, elements2) {
34334 var it1, it2, hasNext;
34335 if (elements1 === elements2)
34336 return true;
34337 it1 = J.get$iterator$ax(elements1);
34338 it2 = J.get$iterator$ax(elements2);
34339 for (; true;) {
34340 hasNext = it1.moveNext$0();
34341 if (hasNext !== it2.moveNext$0())
34342 return false;
34343 if (!hasNext)
34344 return true;
34345 if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
34346 return false;
34347 }
34348 }
34349 };
34350 A.ListEquality.prototype = {
34351 equals$2(_, list1, list2) {
34352 var t1, $length, t2, i;
34353 if (list1 == null ? list2 == null : list1 === list2)
34354 return true;
34355 if (list1 == null || list2 == null)
34356 return false;
34357 t1 = J.getInterceptor$asx(list1);
34358 $length = t1.get$length(list1);
34359 t2 = J.getInterceptor$asx(list2);
34360 if ($length !== t2.get$length(list2))
34361 return false;
34362 for (i = 0; i < $length; ++i)
34363 if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
34364 return false;
34365 return true;
34366 },
34367 hash$1(list) {
34368 var hash, i;
34369 for (hash = 0, i = 0; i < list.length; ++i) {
34370 hash = hash + J.get$hashCode$(list[i]) & 2147483647;
34371 hash = hash + (hash << 10 >>> 0) & 2147483647;
34372 hash ^= hash >>> 6;
34373 }
34374 hash = hash + (hash << 3 >>> 0) & 2147483647;
34375 hash ^= hash >>> 11;
34376 return hash + (hash << 15 >>> 0) & 2147483647;
34377 }
34378 };
34379 A._MapEntry.prototype = {
34380 get$hashCode(_) {
34381 return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
34382 },
34383 $eq(_, other) {
34384 if (other == null)
34385 return false;
34386 return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
34387 }
34388 };
34389 A.MapEquality.prototype = {
34390 equals$2(_, map1, map2) {
34391 var equalElementCounts, t1, key, entry, count;
34392 if (map1 === map2)
34393 return true;
34394 if (map1.get$length(map1) !== map2.get$length(map2))
34395 return false;
34396 equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
34397 for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
34398 key = t1.get$current(t1);
34399 entry = new A._MapEntry(this, key, map1.$index(0, key));
34400 count = equalElementCounts.$index(0, entry);
34401 equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
34402 }
34403 for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
34404 key = t1.get$current(t1);
34405 entry = new A._MapEntry(this, key, map2.$index(0, key));
34406 count = equalElementCounts.$index(0, entry);
34407 if (count == null || count === 0)
34408 return false;
34409 equalElementCounts.$indexSet(0, entry, count - 1);
34410 }
34411 return true;
34412 },
34413 hash$1(map) {
34414 var t1, t2, hash, key;
34415 for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = A._instanceType(this)._rest[1], hash = 0; t1.moveNext$0();) {
34416 key = t1.get$current(t1);
34417 hash = hash + 3 * J.get$hashCode$(key) + 7 * J.get$hashCode$(t2._as(map.$index(0, key))) & 2147483647;
34418 }
34419 hash = hash + (hash << 3 >>> 0) & 2147483647;
34420 hash ^= hash >>> 11;
34421 return hash + (hash << 15 >>> 0) & 2147483647;
34422 }
34423 };
34424 A.QueueList.prototype = {
34425 add$1(_, element) {
34426 this._queue_list$_add$1(element);
34427 },
34428 addAll$1(_, iterable) {
34429 var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
34430 if (type$.List_dynamic._is(iterable)) {
34431 addCount = J.get$length$asx(iterable);
34432 $length = _this.get$length(_this);
34433 t1 = $length + addCount;
34434 if (t1 >= J.get$length$asx(_this._table)) {
34435 _this._preGrow$1(t1);
34436 J.setRange$4$ax(_this._table, $length, t1, iterable, 0);
34437 _this.set$_tail(_this.get$_tail() + addCount);
34438 } else {
34439 endSpace = J.get$length$asx(_this._table) - _this.get$_tail();
34440 t1 = _this._table;
34441 t2 = J.getInterceptor$ax(t1);
34442 if (addCount < endSpace) {
34443 t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + addCount, iterable, 0);
34444 _this.set$_tail(_this.get$_tail() + addCount);
34445 } else {
34446 preSpace = addCount - endSpace;
34447 t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + endSpace, iterable, 0);
34448 J.setRange$4$ax(_this._table, 0, preSpace, iterable, endSpace);
34449 _this.set$_tail(preSpace);
34450 }
34451 }
34452 } else
34453 for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
34454 _this._queue_list$_add$1(t1.get$current(t1));
34455 },
34456 cast$1$0(_, $T) {
34457 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>"));
34458 },
34459 toString$0(_) {
34460 return A.IterableBase_iterableToFullString(this, "{", "}");
34461 },
34462 addFirst$1(element) {
34463 var _this = this;
34464 _this.set$_head((_this.get$_head() - 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34465 J.$indexSet$ax(_this._table, _this.get$_head(), element);
34466 if (_this.get$_head() === _this.get$_tail())
34467 _this._grow$0();
34468 },
34469 removeFirst$0() {
34470 var result, _this = this;
34471 if (_this.get$_head() === _this.get$_tail())
34472 throw A.wrapException(A.StateError$("No element"));
34473 result = A._instanceType(_this)._eval$1("QueueList.E")._as(J.$index$asx(_this._table, _this.get$_head()));
34474 J.$indexSet$ax(_this._table, _this.get$_head(), null);
34475 _this.set$_head((_this.get$_head() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34476 return result;
34477 },
34478 get$length(_) {
34479 return (this.get$_tail() - this.get$_head() & J.get$length$asx(this._table) - 1) >>> 0;
34480 },
34481 set$length(_, value) {
34482 var delta, newTail, t1, t2, _this = this;
34483 if (value < 0)
34484 throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
34485 if (value > _this.get$length(_this) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
34486 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) + "`."));
34487 delta = value - _this.get$length(_this);
34488 if (delta >= 0) {
34489 if (J.get$length$asx(_this._table) <= value)
34490 _this._preGrow$1(value);
34491 _this.set$_tail((_this.get$_tail() + delta & J.get$length$asx(_this._table) - 1) >>> 0);
34492 return;
34493 }
34494 newTail = _this.get$_tail() + delta;
34495 t1 = _this._table;
34496 if (newTail >= 0)
34497 J.fillRange$3$ax(t1, newTail, _this.get$_tail(), null);
34498 else {
34499 newTail += J.get$length$asx(t1);
34500 J.fillRange$3$ax(_this._table, 0, _this.get$_tail(), null);
34501 t1 = _this._table;
34502 t2 = J.getInterceptor$asx(t1);
34503 t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
34504 }
34505 _this.set$_tail(newTail);
34506 },
34507 $index(_, index) {
34508 var _this = this;
34509 if (index < 0 || index >= _this.get$length(_this))
34510 throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
34511 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));
34512 },
34513 $indexSet(_, index, value) {
34514 var _this = this;
34515 if (index < 0 || index >= _this.get$length(_this))
34516 throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
34517 J.$indexSet$ax(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0, value);
34518 },
34519 _queue_list$_add$1(element) {
34520 var _this = this;
34521 J.$indexSet$ax(_this._table, _this.get$_tail(), element);
34522 _this.set$_tail((_this.get$_tail() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34523 if (_this.get$_head() === _this.get$_tail())
34524 _this._grow$0();
34525 },
34526 _grow$0() {
34527 var _this = this,
34528 newTable = A.List_List$filled(J.get$length$asx(_this._table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
34529 split = J.get$length$asx(_this._table) - _this.get$_head();
34530 B.JSArray_methods.setRange$4(newTable, 0, split, _this._table, _this.get$_head());
34531 B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_head(), _this._table, 0);
34532 _this.set$_head(0);
34533 _this.set$_tail(J.get$length$asx(_this._table));
34534 _this._table = newTable;
34535 },
34536 _writeToList$1(target) {
34537 var $length, firstPartSize, _this = this;
34538 if (_this.get$_head() <= _this.get$_tail()) {
34539 $length = _this.get$_tail() - _this.get$_head();
34540 B.JSArray_methods.setRange$4(target, 0, $length, _this._table, _this.get$_head());
34541 return $length;
34542 } else {
34543 firstPartSize = J.get$length$asx(_this._table) - _this.get$_head();
34544 B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._table, _this.get$_head());
34545 B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_tail(), _this._table, 0);
34546 return _this.get$_tail() + firstPartSize;
34547 }
34548 },
34549 _preGrow$1(newElementCount) {
34550 var _this = this,
34551 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?"));
34552 _this.set$_tail(_this._writeToList$1(newTable));
34553 _this._table = newTable;
34554 _this.set$_head(0);
34555 },
34556 $isEfficientLengthIterable: 1,
34557 $isQueue: 1,
34558 $isIterable: 1,
34559 $isList: 1,
34560 get$_head() {
34561 return this._head;
34562 },
34563 get$_tail() {
34564 return this._tail;
34565 },
34566 set$_head(val) {
34567 return this._head = val;
34568 },
34569 set$_tail(val) {
34570 return this._tail = val;
34571 }
34572 };
34573 A._CastQueueList.prototype = {
34574 get$_head() {
34575 return this._queue_list$_delegate.get$_head();
34576 },
34577 set$_head(value) {
34578 this._queue_list$_delegate.set$_head(value);
34579 },
34580 get$_tail() {
34581 return this._queue_list$_delegate.get$_tail();
34582 },
34583 set$_tail(value) {
34584 this._queue_list$_delegate.set$_tail(value);
34585 }
34586 };
34587 A._QueueList_Object_ListMixin.prototype = {};
34588 A.UnmodifiableSetView.prototype = {};
34589 A.UnmodifiableSetMixin.prototype = {
34590 add$1(_, value) {
34591 return A.UnmodifiableSetMixin__throw();
34592 },
34593 addAll$1(_, elements) {
34594 return A.UnmodifiableSetMixin__throw();
34595 }
34596 };
34597 A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
34598 A._DelegatingIterableBase.prototype = {
34599 contains$1(_, element) {
34600 return J.contains$1$asx(this.get$_base(), element);
34601 },
34602 elementAt$1(_, index) {
34603 return J.elementAt$1$ax(this.get$_base(), index);
34604 },
34605 get$first(_) {
34606 return J.get$first$ax(this.get$_base());
34607 },
34608 get$isEmpty(_) {
34609 return J.get$isEmpty$asx(this.get$_base());
34610 },
34611 get$isNotEmpty(_) {
34612 return J.get$isNotEmpty$asx(this.get$_base());
34613 },
34614 get$iterator(_) {
34615 return J.get$iterator$ax(this.get$_base());
34616 },
34617 join$1(_, separator) {
34618 return J.join$1$ax(this.get$_base(), separator);
34619 },
34620 join$0($receiver) {
34621 return this.join$1($receiver, "");
34622 },
34623 get$last(_) {
34624 return J.get$last$ax(this.get$_base());
34625 },
34626 get$length(_) {
34627 return J.get$length$asx(this.get$_base());
34628 },
34629 map$1$1(_, f, $T) {
34630 return J.map$1$1$ax(this.get$_base(), f, $T);
34631 },
34632 get$single(_) {
34633 return J.get$single$ax(this.get$_base());
34634 },
34635 skip$1(_, n) {
34636 return J.skip$1$ax(this.get$_base(), n);
34637 },
34638 take$1(_, n) {
34639 return J.take$1$ax(this.get$_base(), n);
34640 },
34641 toList$1$growable(_, growable) {
34642 return J.toList$1$growable$ax(this.get$_base(), true);
34643 },
34644 toList$0($receiver) {
34645 return this.toList$1$growable($receiver, true);
34646 },
34647 toSet$0(_) {
34648 return J.toSet$0$ax(this.get$_base());
34649 },
34650 where$1(_, test) {
34651 return J.where$1$ax(this.get$_base(), test);
34652 },
34653 toString$0(_) {
34654 return J.toString$0$(this.get$_base());
34655 },
34656 $isIterable: 1
34657 };
34658 A.DelegatingSet.prototype = {
34659 add$1(_, value) {
34660 return this._base.add$1(0, value);
34661 },
34662 addAll$1(_, elements) {
34663 this._base.addAll$1(0, elements);
34664 },
34665 toSet$0(_) {
34666 return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
34667 },
34668 $isEfficientLengthIterable: 1,
34669 $isSet: 1,
34670 get$_base() {
34671 return this._base;
34672 }
34673 };
34674 A.MapKeySet.prototype = {
34675 get$_base() {
34676 var t1 = this._baseMap;
34677 return t1.get$keys(t1);
34678 },
34679 contains$1(_, element) {
34680 return this._baseMap.containsKey$1(element);
34681 },
34682 get$isEmpty(_) {
34683 var t1 = this._baseMap;
34684 return t1.get$isEmpty(t1);
34685 },
34686 get$isNotEmpty(_) {
34687 var t1 = this._baseMap;
34688 return t1.get$isNotEmpty(t1);
34689 },
34690 get$length(_) {
34691 var t1 = this._baseMap;
34692 return t1.get$length(t1);
34693 },
34694 toString$0(_) {
34695 return A.IterableBase_iterableToFullString(this, "{", "}");
34696 },
34697 difference$1(other) {
34698 return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
34699 },
34700 $isEfficientLengthIterable: 1,
34701 $isSet: 1
34702 };
34703 A.MapKeySet_difference_closure.prototype = {
34704 call$1(element) {
34705 return !this.other._source.contains$1(0, element);
34706 },
34707 $signature() {
34708 return this.$this.$ti._eval$1("bool(1)");
34709 }
34710 };
34711 A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
34712 A.BufferModule.prototype = {};
34713 A.BufferConstants.prototype = {};
34714 A.Buffer.prototype = {};
34715 A.ConsoleModule.prototype = {};
34716 A.Console.prototype = {};
34717 A.EventEmitter.prototype = {};
34718 A.FS.prototype = {};
34719 A.FSConstants.prototype = {};
34720 A.FSWatcher.prototype = {};
34721 A.ReadStream.prototype = {};
34722 A.ReadStreamOptions.prototype = {};
34723 A.WriteStream.prototype = {};
34724 A.WriteStreamOptions.prototype = {};
34725 A.FileOptions.prototype = {};
34726 A.StatOptions.prototype = {};
34727 A.MkdirOptions.prototype = {};
34728 A.RmdirOptions.prototype = {};
34729 A.WatchOptions.prototype = {};
34730 A.WatchFileOptions.prototype = {};
34731 A.Stats.prototype = {};
34732 A.Promise.prototype = {};
34733 A.Date.prototype = {};
34734 A.JsError.prototype = {};
34735 A.Atomics.prototype = {};
34736 A.Modules.prototype = {};
34737 A.Module1.prototype = {};
34738 A.Net.prototype = {};
34739 A.Socket.prototype = {};
34740 A.NetAddress.prototype = {};
34741 A.NetServer.prototype = {};
34742 A.NodeJsError.prototype = {};
34743 A.JsAssertionError.prototype = {};
34744 A.JsRangeError.prototype = {};
34745 A.JsReferenceError.prototype = {};
34746 A.JsSyntaxError.prototype = {};
34747 A.JsTypeError.prototype = {};
34748 A.JsSystemError.prototype = {};
34749 A.Process.prototype = {};
34750 A.CPUUsage.prototype = {};
34751 A.Release.prototype = {};
34752 A.StreamModule.prototype = {};
34753 A.Readable.prototype = {};
34754 A.Writable.prototype = {};
34755 A.Duplex.prototype = {};
34756 A.Transform.prototype = {};
34757 A.WritableOptions.prototype = {};
34758 A.ReadableOptions.prototype = {};
34759 A.Immediate.prototype = {};
34760 A.Timeout.prototype = {};
34761 A.TTY.prototype = {};
34762 A.TTYReadStream.prototype = {};
34763 A.TTYWriteStream.prototype = {};
34764 A.Util.prototype = {};
34765 A.promiseToFuture_closure.prototype = {
34766 call$1(value) {
34767 this.completer.complete$1(value);
34768 },
34769 $signature: 64
34770 };
34771 A.promiseToFuture_closure0.prototype = {
34772 call$1(error) {
34773 this.completer.completeError$1(error);
34774 },
34775 $signature: 64
34776 };
34777 A.futureToPromise_closure.prototype = {
34778 call$2(resolve, reject) {
34779 this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
34780 },
34781 $signature: 593
34782 };
34783 A.futureToPromise__closure.prototype = {
34784 call$1(result) {
34785 return this.resolve.call$1(result);
34786 },
34787 $signature() {
34788 return this.T._eval$1("@(0)");
34789 }
34790 };
34791 A.Context.prototype = {
34792 absolute$7(part1, part2, part3, part4, part5, part6, part7) {
34793 var t1;
34794 A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7], type$.JSArray_nullable_String));
34795 if (part2 == null) {
34796 t1 = this.style;
34797 t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
34798 } else
34799 t1 = false;
34800 if (t1)
34801 return part1;
34802 t1 = this._context$_current;
34803 return this.join$8(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7);
34804 },
34805 absolute$1(part1) {
34806 return this.absolute$7(part1, null, null, null, null, null, null);
34807 },
34808 dirname$1(path) {
34809 var t1, t2,
34810 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34811 parsed.removeTrailingSeparators$0();
34812 t1 = parsed.parts;
34813 t2 = t1.length;
34814 if (t2 === 0) {
34815 t1 = parsed.root;
34816 return t1 == null ? "." : t1;
34817 }
34818 if (t2 === 1) {
34819 t1 = parsed.root;
34820 return t1 == null ? "." : t1;
34821 }
34822 B.JSArray_methods.removeLast$0(t1);
34823 parsed.separators.pop();
34824 parsed.removeTrailingSeparators$0();
34825 return parsed.toString$0(0);
34826 },
34827 join$8(_, part1, part2, part3, part4, part5, part6, part7, part8) {
34828 var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8], type$.JSArray_nullable_String);
34829 A._validateArgList("join", parts);
34830 return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
34831 },
34832 join$2($receiver, part1, part2) {
34833 return this.join$8($receiver, part1, part2, null, null, null, null, null, null);
34834 },
34835 joinAll$1(parts) {
34836 var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
34837 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();) {
34838 t5 = t1.get$current(t1);
34839 if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
34840 parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
34841 path = t4.charCodeAt(0) == 0 ? t4 : t4;
34842 t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
34843 parsed.root = t4;
34844 if (t3.needsSeparator$1(t4))
34845 parsed.separators[0] = t3.get$separator(t3);
34846 t4 = "" + parsed.toString$0(0);
34847 } else if (t3.rootLength$1(t5) > 0) {
34848 isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
34849 t4 = "" + t5;
34850 } else {
34851 if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
34852 if (needsSeparator)
34853 t4 += t3.get$separator(t3);
34854 t4 += t5;
34855 }
34856 needsSeparator = t3.needsSeparator$1(t5);
34857 }
34858 return t4.charCodeAt(0) == 0 ? t4 : t4;
34859 },
34860 split$1(_, path) {
34861 var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
34862 t1 = parsed.parts,
34863 t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
34864 t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
34865 parsed.parts = t2;
34866 t1 = parsed.root;
34867 if (t1 != null)
34868 B.JSArray_methods.insert$2(t2, 0, t1);
34869 return parsed.parts;
34870 },
34871 canonicalize$1(_, path) {
34872 var t1, parsed;
34873 path = this.absolute$1(path);
34874 t1 = this.style;
34875 if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
34876 return path;
34877 parsed = A.ParsedPath_ParsedPath$parse(path, t1);
34878 parsed.normalize$1$canonicalize(true);
34879 return parsed.toString$0(0);
34880 },
34881 normalize$1(path) {
34882 var parsed;
34883 if (!this._needsNormalization$1(path))
34884 return path;
34885 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34886 parsed.normalize$0();
34887 return parsed.toString$0(0);
34888 },
34889 _needsNormalization$1(path) {
34890 var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
34891 t1 = this.style,
34892 root = t1.rootLength$1(path);
34893 if (root !== 0) {
34894 if (t1 === $.$get$Style_windows())
34895 for (i = 0; i < root; ++i)
34896 if (B.JSString_methods._codeUnitAt$1(path, i) === 47)
34897 return true;
34898 start = root;
34899 previous = 47;
34900 } else {
34901 start = 0;
34902 previous = null;
34903 }
34904 for (t2 = new A.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
34905 codeUnit = B.JSString_methods.codeUnitAt$1(t2, i);
34906 if (t1.isSeparator$1(codeUnit)) {
34907 if (t1 === $.$get$Style_windows() && codeUnit === 47)
34908 return true;
34909 if (previous != null && t1.isSeparator$1(previous))
34910 return true;
34911 if (previous === 46)
34912 t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
34913 else
34914 t4 = false;
34915 if (t4)
34916 return true;
34917 }
34918 }
34919 if (previous == null)
34920 return true;
34921 if (t1.isSeparator$1(previous))
34922 return true;
34923 if (previous === 46)
34924 t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
34925 else
34926 t1 = false;
34927 if (t1)
34928 return true;
34929 return false;
34930 },
34931 relative$2$from(path, from) {
34932 var fromParsed, pathParsed, t2, t3, _this = this,
34933 _s26_ = 'Unable to find a path to "',
34934 t1 = from == null;
34935 if (t1 && _this.style.rootLength$1(path) <= 0)
34936 return _this.normalize$1(path);
34937 if (t1) {
34938 t1 = _this._context$_current;
34939 from = t1 == null ? A.current() : t1;
34940 } else
34941 from = _this.absolute$1(from);
34942 t1 = _this.style;
34943 if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
34944 return _this.normalize$1(path);
34945 if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
34946 path = _this.absolute$1(path);
34947 if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
34948 throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
34949 fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
34950 fromParsed.normalize$0();
34951 pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
34952 pathParsed.normalize$0();
34953 t2 = fromParsed.parts;
34954 if (t2.length !== 0 && J.$eq$(t2[0], "."))
34955 return pathParsed.toString$0(0);
34956 t2 = fromParsed.root;
34957 t3 = pathParsed.root;
34958 if (t2 != t3)
34959 t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
34960 else
34961 t2 = false;
34962 if (t2)
34963 return pathParsed.toString$0(0);
34964 while (true) {
34965 t2 = fromParsed.parts;
34966 if (t2.length !== 0) {
34967 t3 = pathParsed.parts;
34968 t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
34969 } else
34970 t2 = false;
34971 if (!t2)
34972 break;
34973 B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
34974 B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
34975 B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
34976 B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
34977 }
34978 t2 = fromParsed.parts;
34979 if (t2.length !== 0 && J.$eq$(t2[0], ".."))
34980 throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
34981 t2 = type$.String;
34982 B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2));
34983 t3 = pathParsed.separators;
34984 t3[0] = "";
34985 B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
34986 t1 = pathParsed.parts;
34987 t2 = t1.length;
34988 if (t2 === 0)
34989 return ".";
34990 if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
34991 B.JSArray_methods.removeLast$0(pathParsed.parts);
34992 t1 = pathParsed.separators;
34993 t1.pop();
34994 t1.pop();
34995 t1.push("");
34996 }
34997 pathParsed.root = "";
34998 pathParsed.removeTrailingSeparators$0();
34999 return pathParsed.toString$0(0);
35000 },
35001 relative$1(path) {
35002 return this.relative$2$from(path, null);
35003 },
35004 _isWithinOrEquals$2($parent, child) {
35005 var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
35006 $parent = $parent;
35007 child = child;
35008 t1 = _this.style;
35009 parentIsAbsolute = t1.rootLength$1($parent) > 0;
35010 childIsAbsolute = t1.rootLength$1(child) > 0;
35011 if (parentIsAbsolute && !childIsAbsolute) {
35012 child = _this.absolute$1(child);
35013 if (t1.isRootRelative$1($parent))
35014 $parent = _this.absolute$1($parent);
35015 } else if (childIsAbsolute && !parentIsAbsolute) {
35016 $parent = _this.absolute$1($parent);
35017 if (t1.isRootRelative$1(child))
35018 child = _this.absolute$1(child);
35019 } else if (childIsAbsolute && parentIsAbsolute) {
35020 childIsRootRelative = t1.isRootRelative$1(child);
35021 parentIsRootRelative = t1.isRootRelative$1($parent);
35022 if (childIsRootRelative && !parentIsRootRelative)
35023 child = _this.absolute$1(child);
35024 else if (parentIsRootRelative && !childIsRootRelative)
35025 $parent = _this.absolute$1($parent);
35026 }
35027 result = _this._isWithinOrEqualsFast$2($parent, child);
35028 if (result !== B._PathRelation_inconclusive)
35029 return result;
35030 relative = null;
35031 try {
35032 relative = _this.relative$2$from(child, $parent);
35033 } catch (exception) {
35034 if (A.unwrapException(exception) instanceof A.PathException)
35035 return B._PathRelation_different;
35036 else
35037 throw exception;
35038 }
35039 if (t1.rootLength$1(relative) > 0)
35040 return B._PathRelation_different;
35041 if (J.$eq$(relative, "."))
35042 return B._PathRelation_equal;
35043 if (J.$eq$(relative, ".."))
35044 return B._PathRelation_different;
35045 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;
35046 },
35047 _isWithinOrEqualsFast$2($parent, child) {
35048 var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
35049 if ($parent === ".")
35050 $parent = "";
35051 t1 = _this.style;
35052 parentRootLength = t1.rootLength$1($parent);
35053 childRootLength = t1.rootLength$1(child);
35054 if (parentRootLength !== childRootLength)
35055 return B._PathRelation_different;
35056 for (i = 0; i < parentRootLength; ++i)
35057 if (!t1.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1($parent, i), B.JSString_methods._codeUnitAt$1(child, i)))
35058 return B._PathRelation_different;
35059 t2 = child.length;
35060 t3 = $parent.length;
35061 childIndex = childRootLength;
35062 parentIndex = parentRootLength;
35063 lastCodeUnit = 47;
35064 lastParentSeparator = null;
35065 while (true) {
35066 if (!(parentIndex < t3 && childIndex < t2))
35067 break;
35068 c$0: {
35069 parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
35070 childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
35071 if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
35072 if (t1.isSeparator$1(parentCodeUnit))
35073 lastParentSeparator = parentIndex;
35074 ++parentIndex;
35075 ++childIndex;
35076 lastCodeUnit = parentCodeUnit;
35077 break c$0;
35078 }
35079 if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
35080 parentIndex0 = parentIndex + 1;
35081 lastParentSeparator = parentIndex;
35082 parentIndex = parentIndex0;
35083 break c$0;
35084 } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
35085 ++childIndex;
35086 break c$0;
35087 }
35088 if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
35089 ++parentIndex;
35090 if (parentIndex === t3)
35091 break;
35092 parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
35093 if (t1.isSeparator$1(parentCodeUnit)) {
35094 parentIndex0 = parentIndex + 1;
35095 lastParentSeparator = parentIndex;
35096 parentIndex = parentIndex0;
35097 break c$0;
35098 }
35099 if (parentCodeUnit === 46) {
35100 ++parentIndex;
35101 if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
35102 return B._PathRelation_inconclusive;
35103 }
35104 }
35105 if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
35106 ++childIndex;
35107 if (childIndex === t2)
35108 break;
35109 childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
35110 if (t1.isSeparator$1(childCodeUnit)) {
35111 ++childIndex;
35112 break c$0;
35113 }
35114 if (childCodeUnit === 46) {
35115 ++childIndex;
35116 if (childIndex === t2 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)))
35117 return B._PathRelation_inconclusive;
35118 }
35119 }
35120 if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_988)
35121 return B._PathRelation_inconclusive;
35122 if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_988)
35123 return B._PathRelation_inconclusive;
35124 return B._PathRelation_different;
35125 }
35126 }
35127 if (childIndex === t2) {
35128 if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
35129 lastParentSeparator = parentIndex;
35130 else if (lastParentSeparator == null)
35131 lastParentSeparator = Math.max(0, parentRootLength - 1);
35132 direction = _this._pathDirection$2($parent, lastParentSeparator);
35133 if (direction === B._PathDirection_8Gl)
35134 return B._PathRelation_equal;
35135 return direction === B._PathDirection_ZGD ? B._PathRelation_inconclusive : B._PathRelation_different;
35136 }
35137 direction = _this._pathDirection$2(child, childIndex);
35138 if (direction === B._PathDirection_8Gl)
35139 return B._PathRelation_equal;
35140 if (direction === B._PathDirection_ZGD)
35141 return B._PathRelation_inconclusive;
35142 return t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
35143 },
35144 _pathDirection$2(path, index) {
35145 var t1, t2, i, depth, reachedRoot, i0, t3;
35146 for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
35147 while (true) {
35148 if (!(i < t1 && t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i))))
35149 break;
35150 ++i;
35151 }
35152 if (i === t1)
35153 break;
35154 i0 = i;
35155 while (true) {
35156 if (!(i0 < t1 && !t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i0))))
35157 break;
35158 ++i0;
35159 }
35160 t3 = i0 - i;
35161 if (!(t3 === 1 && B.JSString_methods.codeUnitAt$1(path, i) === 46))
35162 if (t3 === 2 && B.JSString_methods.codeUnitAt$1(path, i) === 46 && B.JSString_methods.codeUnitAt$1(path, i + 1) === 46) {
35163 --depth;
35164 if (depth < 0)
35165 break;
35166 if (depth === 0)
35167 reachedRoot = true;
35168 } else
35169 ++depth;
35170 if (i0 === t1)
35171 break;
35172 i = i0 + 1;
35173 }
35174 if (depth < 0)
35175 return B._PathDirection_ZGD;
35176 if (depth === 0)
35177 return B._PathDirection_8Gl;
35178 if (reachedRoot)
35179 return B._PathDirection_FIw;
35180 return B._PathDirection_988;
35181 },
35182 hash$1(path) {
35183 var result, parsed, t1, _this = this;
35184 path = _this.absolute$1(path);
35185 result = _this._hashFast$1(path);
35186 if (result != null)
35187 return result;
35188 parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
35189 parsed.normalize$0();
35190 t1 = _this._hashFast$1(parsed.toString$0(0));
35191 t1.toString;
35192 return t1;
35193 },
35194 _hashFast$1(path) {
35195 var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
35196 for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
35197 codeUnit = t2.canonicalizeCodeUnit$1(B.JSString_methods._codeUnitAt$1(path, i));
35198 if (t2.isSeparator$1(codeUnit)) {
35199 wasSeparator = true;
35200 continue;
35201 }
35202 if (codeUnit === 46 && wasSeparator) {
35203 t3 = i + 1;
35204 if (t3 === t1)
35205 break;
35206 next = B.JSString_methods._codeUnitAt$1(path, t3);
35207 if (t2.isSeparator$1(next))
35208 continue;
35209 if (!beginning)
35210 if (next === 46) {
35211 t3 = i + 2;
35212 t3 = t3 === t1 || t2.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, t3));
35213 } else
35214 t3 = false;
35215 else
35216 t3 = false;
35217 if (t3)
35218 return null;
35219 }
35220 hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
35221 beginning = false;
35222 wasSeparator = false;
35223 }
35224 return hash;
35225 },
35226 withoutExtension$1(path) {
35227 var i,
35228 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
35229 for (i = parsed.parts.length - 1; i >= 0; --i)
35230 if (J.get$length$asx(parsed.parts[i]) !== 0) {
35231 parsed.parts[i] = parsed._splitExtension$0()[0];
35232 break;
35233 }
35234 return parsed.toString$0(0);
35235 },
35236 toUri$1(path) {
35237 var t2,
35238 t1 = this.style;
35239 if (t1.rootLength$1(path) <= 0)
35240 return t1.relativePathToUri$1(path);
35241 else {
35242 t2 = this._context$_current;
35243 return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
35244 }
35245 },
35246 prettyUri$1(uri) {
35247 var path, rel, _this = this,
35248 typedUri = A._parseUri(uri);
35249 if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
35250 return typedUri.toString$0(0);
35251 else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
35252 return typedUri.toString$0(0);
35253 path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
35254 rel = _this.relative$1(path);
35255 return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
35256 }
35257 };
35258 A.Context_joinAll_closure.prototype = {
35259 call$1(part) {
35260 return part !== "";
35261 },
35262 $signature: 6
35263 };
35264 A.Context_split_closure.prototype = {
35265 call$1(part) {
35266 return part.length !== 0;
35267 },
35268 $signature: 6
35269 };
35270 A._validateArgList_closure.prototype = {
35271 call$1(arg) {
35272 return arg == null ? "null" : '"' + arg + '"';
35273 },
35274 $signature: 293
35275 };
35276 A._PathDirection.prototype = {
35277 toString$0(_) {
35278 return this.name;
35279 }
35280 };
35281 A._PathRelation.prototype = {
35282 toString$0(_) {
35283 return this.name;
35284 }
35285 };
35286 A.InternalStyle.prototype = {
35287 getRoot$1(path) {
35288 var $length = this.rootLength$1(path);
35289 if ($length > 0)
35290 return B.JSString_methods.substring$2(path, 0, $length);
35291 return this.isRootRelative$1(path) ? path[0] : null;
35292 },
35293 relativePathToUri$1(path) {
35294 var segments, _null = null,
35295 t1 = path.length;
35296 if (t1 === 0)
35297 return A._Uri__Uri(_null, _null, _null, _null);
35298 segments = A.Context_Context(this).split$1(0, path);
35299 if (this.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, t1 - 1)))
35300 B.JSArray_methods.add$1(segments, "");
35301 return A._Uri__Uri(_null, _null, segments, _null);
35302 },
35303 codeUnitsEqual$2(codeUnit1, codeUnit2) {
35304 return codeUnit1 === codeUnit2;
35305 },
35306 pathsEqual$2(path1, path2) {
35307 return path1 === path2;
35308 },
35309 canonicalizeCodeUnit$1(codeUnit) {
35310 return codeUnit;
35311 },
35312 canonicalizePart$1(part) {
35313 return part;
35314 }
35315 };
35316 A.ParsedPath.prototype = {
35317 get$basename() {
35318 var _this = this,
35319 t1 = type$.String,
35320 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));
35321 copy.removeTrailingSeparators$0();
35322 t1 = copy.parts;
35323 if (t1.length === 0) {
35324 t1 = _this.root;
35325 return t1 == null ? "" : t1;
35326 }
35327 return B.JSArray_methods.get$last(t1);
35328 },
35329 get$hasTrailingSeparator() {
35330 var t1 = this.parts;
35331 if (t1.length !== 0)
35332 t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
35333 else
35334 t1 = false;
35335 return t1;
35336 },
35337 removeTrailingSeparators$0() {
35338 var t1, t2, _this = this;
35339 while (true) {
35340 t1 = _this.parts;
35341 if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
35342 break;
35343 B.JSArray_methods.removeLast$0(_this.parts);
35344 _this.separators.pop();
35345 }
35346 t1 = _this.separators;
35347 t2 = t1.length;
35348 if (t2 !== 0)
35349 t1[t2 - 1] = "";
35350 },
35351 normalize$1$canonicalize(canonicalize) {
35352 var t1, t2, t3, leadingDoubles, _i, part, t4, _this = this,
35353 newParts = A._setArrayType([], type$.JSArray_String);
35354 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) {
35355 part = t1[_i];
35356 t4 = J.getInterceptor$(part);
35357 if (!(t4.$eq(part, ".") || t4.$eq(part, "")))
35358 if (t4.$eq(part, ".."))
35359 if (newParts.length !== 0)
35360 newParts.pop();
35361 else
35362 ++leadingDoubles;
35363 else
35364 newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
35365 }
35366 if (_this.root == null)
35367 B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
35368 if (newParts.length === 0 && _this.root == null)
35369 newParts.push(".");
35370 _this.parts = newParts;
35371 _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
35372 t1 = _this.root;
35373 if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
35374 _this.separators[0] = "";
35375 t1 = _this.root;
35376 if (t1 != null && t3 === $.$get$Style_windows()) {
35377 if (canonicalize)
35378 t1 = _this.root = t1.toLowerCase();
35379 t1.toString;
35380 _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
35381 }
35382 _this.removeTrailingSeparators$0();
35383 },
35384 normalize$0() {
35385 return this.normalize$1$canonicalize(false);
35386 },
35387 toString$0(_) {
35388 var i, _this = this,
35389 t1 = _this.root;
35390 t1 = t1 != null ? "" + t1 : "";
35391 for (i = 0; i < _this.parts.length; ++i)
35392 t1 = t1 + A.S(_this.separators[i]) + A.S(_this.parts[i]);
35393 t1 += A.S(B.JSArray_methods.get$last(_this.separators));
35394 return t1.charCodeAt(0) == 0 ? t1 : t1;
35395 },
35396 _kthLastIndexOf$3(path, character, k) {
35397 var index, count, leftMostIndexedCharacter;
35398 for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
35399 if (path[index] === character) {
35400 ++count;
35401 if (count === k)
35402 return index;
35403 leftMostIndexedCharacter = index;
35404 }
35405 return leftMostIndexedCharacter;
35406 },
35407 _splitExtension$1(level) {
35408 var t1, file, lastDot;
35409 if (level <= 0)
35410 throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
35411 t1 = this.parts;
35412 t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
35413 file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
35414 if (file == null)
35415 return A._setArrayType(["", ""], type$.JSArray_String);
35416 if (file === "..")
35417 return A._setArrayType(["..", ""], type$.JSArray_String);
35418 lastDot = this._kthLastIndexOf$3(file, ".", level);
35419 if (lastDot <= 0)
35420 return A._setArrayType([file, ""], type$.JSArray_String);
35421 return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
35422 },
35423 _splitExtension$0() {
35424 return this._splitExtension$1(1);
35425 }
35426 };
35427 A.ParsedPath__splitExtension_closure.prototype = {
35428 call$1(p) {
35429 return p !== "";
35430 },
35431 $signature: 172
35432 };
35433 A.ParsedPath__splitExtension_closure0.prototype = {
35434 call$0() {
35435 return null;
35436 },
35437 $signature: 1
35438 };
35439 A.PathException.prototype = {
35440 toString$0(_) {
35441 return "PathException: " + this.message;
35442 },
35443 $isException: 1,
35444 get$message(receiver) {
35445 return this.message;
35446 }
35447 };
35448 A.PathMap.prototype = {};
35449 A.PathMap__create_closure.prototype = {
35450 call$2(path1, path2) {
35451 if (path1 == null)
35452 return path2 == null;
35453 if (path2 == null)
35454 return false;
35455 return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
35456 },
35457 $signature: 296
35458 };
35459 A.PathMap__create_closure0.prototype = {
35460 call$1(path) {
35461 return path == null ? 0 : this._box_0.context.hash$1(path);
35462 },
35463 $signature: 301
35464 };
35465 A.PathMap__create_closure1.prototype = {
35466 call$1(path) {
35467 return typeof path == "string" || path == null;
35468 },
35469 $signature: 128
35470 };
35471 A.Style.prototype = {
35472 toString$0(_) {
35473 return this.get$name(this);
35474 }
35475 };
35476 A.PosixStyle.prototype = {
35477 containsSeparator$1(path) {
35478 return B.JSString_methods.contains$1(path, "/");
35479 },
35480 isSeparator$1(codeUnit) {
35481 return codeUnit === 47;
35482 },
35483 needsSeparator$1(path) {
35484 var t1 = path.length;
35485 return t1 !== 0 && B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47;
35486 },
35487 rootLength$2$withDrive(path, withDrive) {
35488 if (path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47)
35489 return 1;
35490 return 0;
35491 },
35492 rootLength$1(path) {
35493 return this.rootLength$2$withDrive(path, false);
35494 },
35495 isRootRelative$1(path) {
35496 return false;
35497 },
35498 pathFromUri$1(uri) {
35499 var t1;
35500 if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
35501 t1 = uri.get$path(uri);
35502 return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
35503 }
35504 throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
35505 },
35506 absolutePathToUri$1(path) {
35507 var parsed = A.ParsedPath_ParsedPath$parse(path, this),
35508 t1 = parsed.parts;
35509 if (t1.length === 0)
35510 B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
35511 else if (parsed.get$hasTrailingSeparator())
35512 B.JSArray_methods.add$1(parsed.parts, "");
35513 return A._Uri__Uri(null, null, parsed.parts, "file");
35514 },
35515 get$name() {
35516 return "posix";
35517 },
35518 get$separator() {
35519 return "/";
35520 }
35521 };
35522 A.UrlStyle.prototype = {
35523 containsSeparator$1(path) {
35524 return B.JSString_methods.contains$1(path, "/");
35525 },
35526 isSeparator$1(codeUnit) {
35527 return codeUnit === 47;
35528 },
35529 needsSeparator$1(path) {
35530 var t1 = path.length;
35531 if (t1 === 0)
35532 return false;
35533 if (B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47)
35534 return true;
35535 return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
35536 },
35537 rootLength$2$withDrive(path, withDrive) {
35538 var i, codeUnit, index, t2,
35539 t1 = path.length;
35540 if (t1 === 0)
35541 return 0;
35542 if (B.JSString_methods._codeUnitAt$1(path, 0) === 47)
35543 return 1;
35544 for (i = 0; i < t1; ++i) {
35545 codeUnit = B.JSString_methods._codeUnitAt$1(path, i);
35546 if (codeUnit === 47)
35547 return 0;
35548 if (codeUnit === 58) {
35549 if (i === 0)
35550 return 0;
35551 index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
35552 if (index <= 0)
35553 return t1;
35554 if (!withDrive || t1 < index + 3)
35555 return index;
35556 if (!B.JSString_methods.startsWith$1(path, "file://"))
35557 return index;
35558 if (!A.isDriveLetter(path, index + 1))
35559 return index;
35560 t2 = index + 3;
35561 return t1 === t2 ? t2 : index + 4;
35562 }
35563 }
35564 return 0;
35565 },
35566 rootLength$1(path) {
35567 return this.rootLength$2$withDrive(path, false);
35568 },
35569 isRootRelative$1(path) {
35570 return path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47;
35571 },
35572 pathFromUri$1(uri) {
35573 return uri.toString$0(0);
35574 },
35575 relativePathToUri$1(path) {
35576 return A.Uri_parse(path);
35577 },
35578 absolutePathToUri$1(path) {
35579 return A.Uri_parse(path);
35580 },
35581 get$name() {
35582 return "url";
35583 },
35584 get$separator() {
35585 return "/";
35586 }
35587 };
35588 A.WindowsStyle.prototype = {
35589 containsSeparator$1(path) {
35590 return B.JSString_methods.contains$1(path, "/");
35591 },
35592 isSeparator$1(codeUnit) {
35593 return codeUnit === 47 || codeUnit === 92;
35594 },
35595 needsSeparator$1(path) {
35596 var t1 = path.length;
35597 if (t1 === 0)
35598 return false;
35599 t1 = B.JSString_methods.codeUnitAt$1(path, t1 - 1);
35600 return !(t1 === 47 || t1 === 92);
35601 },
35602 rootLength$2$withDrive(path, withDrive) {
35603 var t2, index,
35604 t1 = path.length;
35605 if (t1 === 0)
35606 return 0;
35607 t2 = B.JSString_methods._codeUnitAt$1(path, 0);
35608 if (t2 === 47)
35609 return 1;
35610 if (t2 === 92) {
35611 if (t1 < 2 || B.JSString_methods._codeUnitAt$1(path, 1) !== 92)
35612 return 1;
35613 index = B.JSString_methods.indexOf$2(path, "\\", 2);
35614 if (index > 0) {
35615 index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
35616 if (index > 0)
35617 return index;
35618 }
35619 return t1;
35620 }
35621 if (t1 < 3)
35622 return 0;
35623 if (!A.isAlphabetic(t2))
35624 return 0;
35625 if (B.JSString_methods._codeUnitAt$1(path, 1) !== 58)
35626 return 0;
35627 t1 = B.JSString_methods._codeUnitAt$1(path, 2);
35628 if (!(t1 === 47 || t1 === 92))
35629 return 0;
35630 return 3;
35631 },
35632 rootLength$1(path) {
35633 return this.rootLength$2$withDrive(path, false);
35634 },
35635 isRootRelative$1(path) {
35636 return this.rootLength$1(path) === 1;
35637 },
35638 pathFromUri$1(uri) {
35639 var path, t1;
35640 if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
35641 throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
35642 path = uri.get$path(uri);
35643 if (uri.get$host() === "") {
35644 if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.isDriveLetter(path, 1))
35645 path = B.JSString_methods.replaceFirst$2(path, "/", "");
35646 } else
35647 path = "\\\\" + uri.get$host() + path;
35648 t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
35649 return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
35650 },
35651 absolutePathToUri$1(path) {
35652 var rootParts, t2,
35653 parsed = A.ParsedPath_ParsedPath$parse(path, this),
35654 t1 = parsed.root;
35655 t1.toString;
35656 if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
35657 rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
35658 B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts));
35659 if (parsed.get$hasTrailingSeparator())
35660 B.JSArray_methods.add$1(parsed.parts, "");
35661 return A._Uri__Uri(rootParts.get$first(rootParts), null, parsed.parts, "file");
35662 } else {
35663 if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
35664 B.JSArray_methods.add$1(parsed.parts, "");
35665 t1 = parsed.parts;
35666 t2 = parsed.root;
35667 t2.toString;
35668 t2 = A.stringReplaceAllUnchecked(t2, "/", "");
35669 B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
35670 return A._Uri__Uri(null, null, parsed.parts, "file");
35671 }
35672 },
35673 codeUnitsEqual$2(codeUnit1, codeUnit2) {
35674 var upperCase1;
35675 if (codeUnit1 === codeUnit2)
35676 return true;
35677 if (codeUnit1 === 47)
35678 return codeUnit2 === 92;
35679 if (codeUnit1 === 92)
35680 return codeUnit2 === 47;
35681 if ((codeUnit1 ^ codeUnit2) !== 32)
35682 return false;
35683 upperCase1 = codeUnit1 | 32;
35684 return upperCase1 >= 97 && upperCase1 <= 122;
35685 },
35686 pathsEqual$2(path1, path2) {
35687 var t1, i;
35688 if (path1 === path2)
35689 return true;
35690 t1 = path1.length;
35691 if (t1 !== path2.length)
35692 return false;
35693 for (i = 0; i < t1; ++i)
35694 if (!this.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1(path1, i), B.JSString_methods._codeUnitAt$1(path2, i)))
35695 return false;
35696 return true;
35697 },
35698 canonicalizeCodeUnit$1(codeUnit) {
35699 if (codeUnit === 47)
35700 return 92;
35701 if (codeUnit < 65)
35702 return codeUnit;
35703 if (codeUnit > 90)
35704 return codeUnit;
35705 return codeUnit | 32;
35706 },
35707 canonicalizePart$1(part) {
35708 return part.toLowerCase();
35709 },
35710 get$name() {
35711 return "windows";
35712 },
35713 get$separator() {
35714 return "\\";
35715 }
35716 };
35717 A.WindowsStyle_absolutePathToUri_closure.prototype = {
35718 call$1(part) {
35719 return part !== "";
35720 },
35721 $signature: 6
35722 };
35723 A.CssMediaQuery.prototype = {
35724 merge$1(other) {
35725 var t8, negativeFeatures, features, type, modifier, fewerFeatures, fewerFeatures0, moreFeatures, _this = this, _null = null, _s3_ = "all",
35726 t1 = _this.modifier,
35727 ourModifier = t1 == null ? _null : t1.toLowerCase(),
35728 t2 = _this.type,
35729 t3 = t2 == null,
35730 ourType = t3 ? _null : t2.toLowerCase(),
35731 t4 = other.modifier,
35732 theirModifier = t4 == null ? _null : t4.toLowerCase(),
35733 t5 = other.type,
35734 t6 = t5 == null,
35735 theirType = t6 ? _null : t5.toLowerCase(),
35736 t7 = ourType == null;
35737 if (t7 && theirType == null) {
35738 t1 = type$.String;
35739 t2 = A.List_List$of(_this.features, true, t1);
35740 B.JSArray_methods.addAll$1(t2, other.features);
35741 return new A.MediaQuerySuccessfulMergeResult(new A.CssMediaQuery(_null, _null, A.List_List$unmodifiable(t2, t1)));
35742 }
35743 t8 = ourModifier === "not";
35744 if (t8 !== (theirModifier === "not")) {
35745 if (ourType == theirType) {
35746 negativeFeatures = t8 ? _this.features : other.features;
35747 if (B.JSArray_methods.every$1(negativeFeatures, B.JSArray_methods.get$contains(t8 ? other.features : _this.features)))
35748 return B._SingletonCssMediaQueryMergeResult_empty;
35749 else
35750 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35751 } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
35752 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35753 if (t8) {
35754 features = other.features;
35755 type = theirType;
35756 modifier = theirModifier;
35757 } else {
35758 features = _this.features;
35759 type = ourType;
35760 modifier = ourModifier;
35761 }
35762 } else if (t8) {
35763 if (ourType != theirType)
35764 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35765 fewerFeatures = _this.features;
35766 fewerFeatures0 = other.features;
35767 t3 = fewerFeatures.length > fewerFeatures0.length;
35768 moreFeatures = t3 ? fewerFeatures : fewerFeatures0;
35769 if (t3)
35770 fewerFeatures = fewerFeatures0;
35771 if (!B.JSArray_methods.every$1(fewerFeatures, B.JSArray_methods.get$contains(moreFeatures)))
35772 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35773 features = moreFeatures;
35774 type = ourType;
35775 modifier = ourModifier;
35776 } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
35777 type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
35778 t3 = A.List_List$of(_this.features, true, type$.String);
35779 B.JSArray_methods.addAll$1(t3, other.features);
35780 features = t3;
35781 modifier = theirModifier;
35782 } else {
35783 if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
35784 t3 = A.List_List$of(_this.features, true, type$.String);
35785 B.JSArray_methods.addAll$1(t3, other.features);
35786 features = t3;
35787 modifier = ourModifier;
35788 } else {
35789 if (ourType != theirType)
35790 return B._SingletonCssMediaQueryMergeResult_empty;
35791 else {
35792 modifier = ourModifier == null ? theirModifier : ourModifier;
35793 t3 = A.List_List$of(_this.features, true, type$.String);
35794 B.JSArray_methods.addAll$1(t3, other.features);
35795 }
35796 features = t3;
35797 }
35798 type = ourType;
35799 }
35800 t2 = type == ourType ? t2 : t5;
35801 t1 = modifier == ourModifier ? t1 : t4;
35802 t3 = A.List_List$unmodifiable(features, type$.String);
35803 return new A.MediaQuerySuccessfulMergeResult(new A.CssMediaQuery(t1, t2, t3));
35804 },
35805 $eq(_, other) {
35806 if (other == null)
35807 return false;
35808 return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.features, this.features);
35809 },
35810 get$hashCode(_) {
35811 return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.features);
35812 },
35813 toString$0(_) {
35814 var t2, _this = this,
35815 t1 = _this.modifier;
35816 t1 = t1 != null ? "" + (t1 + " ") : "";
35817 t2 = _this.type;
35818 if (t2 != null) {
35819 t1 += t2;
35820 if (_this.features.length !== 0)
35821 t1 += " and ";
35822 }
35823 t1 += B.JSArray_methods.join$1(_this.features, " and ");
35824 return t1.charCodeAt(0) == 0 ? t1 : t1;
35825 }
35826 };
35827 A._SingletonCssMediaQueryMergeResult.prototype = {
35828 toString$0(_) {
35829 return this._media_query$_name;
35830 }
35831 };
35832 A.MediaQuerySuccessfulMergeResult.prototype = {};
35833 A.ModifiableCssAtRule.prototype = {
35834 accept$1$1(visitor) {
35835 return visitor.visitCssAtRule$1(this);
35836 },
35837 accept$1(visitor) {
35838 return this.accept$1$1(visitor, type$.dynamic);
35839 },
35840 copyWithoutChildren$0() {
35841 var _this = this;
35842 return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
35843 },
35844 addChild$1(child) {
35845 this.super$ModifiableCssParentNode$addChild(child);
35846 },
35847 $isCssAtRule: 1,
35848 get$isChildless() {
35849 return this.isChildless;
35850 },
35851 get$span(receiver) {
35852 return this.span;
35853 }
35854 };
35855 A.ModifiableCssComment.prototype = {
35856 accept$1$1(visitor) {
35857 return visitor.visitCssComment$1(this);
35858 },
35859 accept$1(visitor) {
35860 return this.accept$1$1(visitor, type$.dynamic);
35861 },
35862 $isCssComment: 1,
35863 get$span(receiver) {
35864 return this.span;
35865 }
35866 };
35867 A.ModifiableCssDeclaration.prototype = {
35868 accept$1$1(visitor) {
35869 return visitor.visitCssDeclaration$1(this);
35870 },
35871 accept$1(visitor) {
35872 return this.accept$1$1(visitor, type$.dynamic);
35873 },
35874 toString$0(_) {
35875 return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
35876 },
35877 get$span(receiver) {
35878 return this.span;
35879 }
35880 };
35881 A.ModifiableCssImport.prototype = {
35882 accept$1$1(visitor) {
35883 return visitor.visitCssImport$1(this);
35884 },
35885 accept$1(visitor) {
35886 return this.accept$1$1(visitor, type$.dynamic);
35887 },
35888 $isCssImport: 1,
35889 get$span(receiver) {
35890 return this.span;
35891 }
35892 };
35893 A.ModifiableCssKeyframeBlock.prototype = {
35894 accept$1$1(visitor) {
35895 return visitor.visitCssKeyframeBlock$1(this);
35896 },
35897 accept$1(visitor) {
35898 return this.accept$1$1(visitor, type$.dynamic);
35899 },
35900 copyWithoutChildren$0() {
35901 return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
35902 },
35903 get$span(receiver) {
35904 return this.span;
35905 }
35906 };
35907 A.ModifiableCssMediaRule.prototype = {
35908 accept$1$1(visitor) {
35909 return visitor.visitCssMediaRule$1(this);
35910 },
35911 accept$1(visitor) {
35912 return this.accept$1$1(visitor, type$.dynamic);
35913 },
35914 copyWithoutChildren$0() {
35915 return A.ModifiableCssMediaRule$(this.queries, this.span);
35916 },
35917 $isCssMediaRule: 1,
35918 get$span(receiver) {
35919 return this.span;
35920 }
35921 };
35922 A.ModifiableCssNode.prototype = {
35923 get$hasFollowingSibling() {
35924 var siblings, t1, i, t2,
35925 $parent = this._parent;
35926 if ($parent == null)
35927 return false;
35928 siblings = $parent.children;
35929 t1 = this._indexInParent;
35930 t1.toString;
35931 i = t1 + 1;
35932 t1 = siblings._collection$_source;
35933 t2 = J.getInterceptor$asx(t1);
35934 for (; i < t2.get$length(t1); ++i)
35935 if (!this._node$_isInvisible$1(t2.elementAt$1(t1, i)))
35936 return true;
35937 return false;
35938 },
35939 _node$_isInvisible$1(node) {
35940 if (type$.CssParentNode._is(node)) {
35941 if (type$.CssAtRule._is(node))
35942 return false;
35943 if (type$.CssStyleRule._is(node) && node.selector.value.get$isInvisible())
35944 return true;
35945 return J.every$1$ax(node.get$children(node), this.get$_node$_isInvisible());
35946 } else
35947 return false;
35948 },
35949 get$isGroupEnd() {
35950 return this.isGroupEnd;
35951 }
35952 };
35953 A.ModifiableCssParentNode.prototype = {
35954 get$isChildless() {
35955 return false;
35956 },
35957 addChild$1(child) {
35958 var t1;
35959 child._parent = this;
35960 t1 = this._children;
35961 child._indexInParent = t1.length;
35962 t1.push(child);
35963 },
35964 $isCssParentNode: 1,
35965 get$children(receiver) {
35966 return this.children;
35967 }
35968 };
35969 A.ModifiableCssStyleRule.prototype = {
35970 accept$1$1(visitor) {
35971 return visitor.visitCssStyleRule$1(this);
35972 },
35973 accept$1(visitor) {
35974 return this.accept$1$1(visitor, type$.dynamic);
35975 },
35976 copyWithoutChildren$0() {
35977 return A.ModifiableCssStyleRule$(this.selector, this.span, this.originalSelector);
35978 },
35979 $isCssStyleRule: 1,
35980 get$span(receiver) {
35981 return this.span;
35982 }
35983 };
35984 A.ModifiableCssStylesheet.prototype = {
35985 accept$1$1(visitor) {
35986 return visitor.visitCssStylesheet$1(this);
35987 },
35988 accept$1(visitor) {
35989 return this.accept$1$1(visitor, type$.dynamic);
35990 },
35991 copyWithoutChildren$0() {
35992 return A.ModifiableCssStylesheet$(this.span);
35993 },
35994 $isCssStylesheet: 1,
35995 get$span(receiver) {
35996 return this.span;
35997 }
35998 };
35999 A.ModifiableCssSupportsRule.prototype = {
36000 accept$1$1(visitor) {
36001 return visitor.visitCssSupportsRule$1(this);
36002 },
36003 accept$1(visitor) {
36004 return this.accept$1$1(visitor, type$.dynamic);
36005 },
36006 copyWithoutChildren$0() {
36007 return A.ModifiableCssSupportsRule$(this.condition, this.span);
36008 },
36009 $isCssSupportsRule: 1,
36010 get$span(receiver) {
36011 return this.span;
36012 }
36013 };
36014 A.ModifiableCssValue.prototype = {
36015 toString$0(_) {
36016 return A.serializeSelector(this.value, true);
36017 },
36018 $isCssValue: 1,
36019 $isAstNode: 1,
36020 get$value(receiver) {
36021 return this.value;
36022 },
36023 get$span(receiver) {
36024 return this.span;
36025 }
36026 };
36027 A.CssNode.prototype = {
36028 toString$0(_) {
36029 return A.serialize(this, true, null, true, null, false, null, true).css;
36030 }
36031 };
36032 A.CssParentNode.prototype = {};
36033 A.CssStylesheet.prototype = {
36034 get$isGroupEnd() {
36035 return false;
36036 },
36037 get$isChildless() {
36038 return false;
36039 },
36040 accept$1$1(visitor) {
36041 return visitor.visitCssStylesheet$1(this);
36042 },
36043 accept$1(visitor) {
36044 return this.accept$1$1(visitor, type$.dynamic);
36045 },
36046 get$children(receiver) {
36047 return this.children;
36048 },
36049 get$span(receiver) {
36050 return this.span;
36051 }
36052 };
36053 A.CssValue.prototype = {
36054 toString$0(_) {
36055 return J.toString$0$(this.value);
36056 },
36057 $isAstNode: 1,
36058 get$value(receiver) {
36059 return this.value;
36060 },
36061 get$span(receiver) {
36062 return this.span;
36063 }
36064 };
36065 A.AstNode.prototype = {};
36066 A._FakeAstNode.prototype = {
36067 get$span(_) {
36068 return this._callback.call$0();
36069 },
36070 $isAstNode: 1
36071 };
36072 A.Argument.prototype = {
36073 toString$0(_) {
36074 var t1 = this.defaultValue,
36075 t2 = this.name;
36076 return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
36077 },
36078 $isAstNode: 1,
36079 get$span(receiver) {
36080 return this.span;
36081 }
36082 };
36083 A.ArgumentDeclaration.prototype = {
36084 get$spanWithName() {
36085 var t3, t4,
36086 t1 = this.span,
36087 t2 = t1.file,
36088 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
36089 i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
36090 while (true) {
36091 if (i > 0) {
36092 t3 = B.JSString_methods.codeUnitAt$1(text, i);
36093 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
36094 } else
36095 t3 = false;
36096 if (!t3)
36097 break;
36098 --i;
36099 }
36100 t3 = B.JSString_methods.codeUnitAt$1(text, i);
36101 if (!(t3 === 95 || A.isAlphabetic0(t3) || t3 >= 128 || A.isDigit(t3) || t3 === 45))
36102 return t1;
36103 --i;
36104 while (true) {
36105 if (i >= 0) {
36106 t3 = B.JSString_methods.codeUnitAt$1(text, i);
36107 if (t3 !== 95) {
36108 if (!(t3 >= 97 && t3 <= 122))
36109 t4 = t3 >= 65 && t3 <= 90;
36110 else
36111 t4 = true;
36112 t4 = t4 || t3 >= 128;
36113 } else
36114 t4 = true;
36115 if (!t4) {
36116 t4 = t3 >= 48 && t3 <= 57;
36117 t3 = t4 || t3 === 45;
36118 } else
36119 t3 = true;
36120 } else
36121 t3 = false;
36122 if (!t3)
36123 break;
36124 --i;
36125 }
36126 t3 = i + 1;
36127 t4 = B.JSString_methods.codeUnitAt$1(text, t3);
36128 if (!(t4 === 95 || A.isAlphabetic0(t4) || t4 >= 128))
36129 return t1;
36130 return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
36131 },
36132 verify$2(positional, names) {
36133 var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
36134 _s10_ = "invocation",
36135 _s8_ = "argument";
36136 for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
36137 argument = t1[i];
36138 if (i < positional) {
36139 t4 = argument.name;
36140 if (t3.containsKey$1(t4))
36141 throw A.wrapException(A.SassScriptException$("Argument " + _this._originalArgumentName$1(t4) + string$.x20was_p));
36142 } else {
36143 t4 = argument.name;
36144 if (t3.containsKey$1(t4))
36145 ++namedUsed;
36146 else if (argument.defaultValue == null)
36147 throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
36148 }
36149 }
36150 if (_this.restArgument != null)
36151 return;
36152 if (positional > t2) {
36153 t1 = "Only " + t2 + " ";
36154 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)));
36155 }
36156 if (namedUsed < t3.get$length(t3)) {
36157 t2 = type$.String;
36158 unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
36159 unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
36160 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)));
36161 }
36162 },
36163 _originalArgumentName$1($name) {
36164 var t1, text, t2, _i, argument, t3, t4, end, _null = null;
36165 if ($name === this.restArgument) {
36166 t1 = this.span;
36167 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
36168 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, "."));
36169 }
36170 for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
36171 argument = t1[_i];
36172 if (argument.name === $name) {
36173 t1 = argument.defaultValue;
36174 t2 = argument.span;
36175 t3 = t2.file;
36176 t4 = t2._file$_start;
36177 t2 = t2._end;
36178 if (t1 == null) {
36179 t1 = t3._decodedChars;
36180 t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
36181 } else {
36182 t1 = t3._decodedChars;
36183 text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
36184 t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
36185 end = A._lastNonWhitespace(t1, false);
36186 t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
36187 }
36188 return t1;
36189 }
36190 }
36191 throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
36192 },
36193 matches$2(positional, names) {
36194 var t1, t2, t3, namedUsed, i, argument;
36195 for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
36196 argument = t1[i];
36197 if (i < positional) {
36198 if (t3.containsKey$1(argument.name))
36199 return false;
36200 } else if (t3.containsKey$1(argument.name))
36201 ++namedUsed;
36202 else if (argument.defaultValue == null)
36203 return false;
36204 }
36205 if (this.restArgument != null)
36206 return true;
36207 if (positional > t2)
36208 return false;
36209 if (namedUsed < t3.get$length(t3))
36210 return false;
36211 return true;
36212 },
36213 toString$0(_) {
36214 var t2, t3, _i, arg, t4, t5,
36215 t1 = A._setArrayType([], type$.JSArray_String);
36216 for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i) {
36217 arg = t2[_i];
36218 t4 = arg.defaultValue;
36219 t5 = arg.name;
36220 t1.push(t4 == null ? t5 : t5 + ": " + t4.toString$0(0));
36221 }
36222 t2 = this.restArgument;
36223 if (t2 != null)
36224 t1.push(t2 + "...");
36225 return B.JSArray_methods.join$1(t1, ", ");
36226 },
36227 $isAstNode: 1,
36228 get$span(receiver) {
36229 return this.span;
36230 }
36231 };
36232 A.ArgumentDeclaration_verify_closure.prototype = {
36233 call$1(argument) {
36234 return argument.name;
36235 },
36236 $signature: 319
36237 };
36238 A.ArgumentDeclaration_verify_closure0.prototype = {
36239 call$1($name) {
36240 return "$" + $name;
36241 },
36242 $signature: 5
36243 };
36244 A.ArgumentInvocation.prototype = {
36245 get$isEmpty(_) {
36246 var t1;
36247 if (this.positional.length === 0) {
36248 t1 = this.named;
36249 t1 = t1.get$isEmpty(t1) && this.rest == null;
36250 } else
36251 t1 = false;
36252 return t1;
36253 },
36254 toString$0(_) {
36255 var t2, t3, t4, _this = this,
36256 t1 = A.List_List$of(_this.positional, true, type$.Object);
36257 for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
36258 t4 = t3.get$current(t3);
36259 t1.push(t4 + ": " + A.S(t2.$index(0, t4)));
36260 }
36261 t2 = _this.rest;
36262 if (t2 != null)
36263 t1.push(t2.toString$0(0) + "...");
36264 t2 = _this.keywordRest;
36265 if (t2 != null)
36266 t1.push(t2.toString$0(0) + "...");
36267 return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
36268 },
36269 $isAstNode: 1,
36270 get$span(receiver) {
36271 return this.span;
36272 }
36273 };
36274 A.AtRootQuery.prototype = {
36275 excludes$1(node) {
36276 var t1, _this = this;
36277 if (_this._all)
36278 return !_this.include;
36279 if (type$.CssStyleRule._is(node))
36280 return _this._at_root_query$_rule !== _this.include;
36281 if (type$.CssMediaRule._is(node))
36282 return _this.excludesName$1("media");
36283 if (type$.CssSupportsRule._is(node))
36284 return _this.excludesName$1("supports");
36285 if (type$.CssAtRule._is(node)) {
36286 t1 = node.name;
36287 return _this.excludesName$1(t1.get$value(t1).toLowerCase());
36288 }
36289 return false;
36290 },
36291 excludesName$1($name) {
36292 var t1 = this._all || this.names.contains$1(0, $name);
36293 return t1 !== this.include;
36294 }
36295 };
36296 A.ConfiguredVariable.prototype = {
36297 toString$0(_) {
36298 var t1 = "$" + this.name + ": " + this.expression.toString$0(0);
36299 return t1 + (this.isGuarded ? " !default" : "");
36300 },
36301 $isAstNode: 1,
36302 get$span(receiver) {
36303 return this.span;
36304 }
36305 };
36306 A.BinaryOperationExpression.prototype = {
36307 get$span(_) {
36308 var right,
36309 left = this.left;
36310 for (; left instanceof A.BinaryOperationExpression;)
36311 left = left.left;
36312 right = this.right;
36313 for (; right instanceof A.BinaryOperationExpression;)
36314 right = right.right;
36315 return left.get$span(left).expand$1(0, right.get$span(right));
36316 },
36317 accept$1$1(visitor) {
36318 return visitor.visitBinaryOperationExpression$1(this);
36319 },
36320 accept$1(visitor) {
36321 return this.accept$1$1(visitor, type$.dynamic);
36322 },
36323 toString$0(_) {
36324 var t2, right, rightNeedsParens, _this = this,
36325 left = _this.left,
36326 leftNeedsParens = left instanceof A.BinaryOperationExpression && left.operator.precedence < _this.operator.precedence,
36327 t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
36328 t1 += left.toString$0(0);
36329 if (leftNeedsParens)
36330 t1 += A.Primitives_stringFromCharCode(41);
36331 t2 = _this.operator;
36332 t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
36333 right = _this.right;
36334 rightNeedsParens = right instanceof A.BinaryOperationExpression && right.operator.precedence <= t2.precedence;
36335 if (rightNeedsParens)
36336 t1 += A.Primitives_stringFromCharCode(40);
36337 t1 += right.toString$0(0);
36338 if (rightNeedsParens)
36339 t1 += A.Primitives_stringFromCharCode(41);
36340 return t1.charCodeAt(0) == 0 ? t1 : t1;
36341 },
36342 $isAstNode: 1,
36343 $isExpression: 1
36344 };
36345 A.BinaryOperator.prototype = {
36346 toString$0(_) {
36347 return this.name;
36348 }
36349 };
36350 A.BooleanExpression.prototype = {
36351 accept$1$1(visitor) {
36352 return visitor.visitBooleanExpression$1(this);
36353 },
36354 accept$1(visitor) {
36355 return this.accept$1$1(visitor, type$.dynamic);
36356 },
36357 toString$0(_) {
36358 return String(this.value);
36359 },
36360 $isAstNode: 1,
36361 $isExpression: 1,
36362 get$span(receiver) {
36363 return this.span;
36364 }
36365 };
36366 A.CalculationExpression.prototype = {
36367 accept$1$1(visitor) {
36368 return visitor.visitCalculationExpression$1(this);
36369 },
36370 accept$1(visitor) {
36371 return this.accept$1$1(visitor, type$.dynamic);
36372 },
36373 toString$0(_) {
36374 return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
36375 },
36376 $isAstNode: 1,
36377 $isExpression: 1,
36378 get$span(receiver) {
36379 return this.span;
36380 }
36381 };
36382 A.CalculationExpression__verifyArguments_closure.prototype = {
36383 call$1(arg) {
36384 A.CalculationExpression__verify(arg);
36385 return arg;
36386 },
36387 $signature: 320
36388 };
36389 A.ColorExpression.prototype = {
36390 accept$1$1(visitor) {
36391 return visitor.visitColorExpression$1(this);
36392 },
36393 accept$1(visitor) {
36394 return this.accept$1$1(visitor, type$.dynamic);
36395 },
36396 toString$0(_) {
36397 return A.serializeValue(this.value, true, true);
36398 },
36399 $isAstNode: 1,
36400 $isExpression: 1,
36401 get$span(receiver) {
36402 return this.span;
36403 }
36404 };
36405 A.FunctionExpression.prototype = {
36406 accept$1$1(visitor) {
36407 return visitor.visitFunctionExpression$1(this);
36408 },
36409 accept$1(visitor) {
36410 return this.accept$1$1(visitor, type$.dynamic);
36411 },
36412 toString$0(_) {
36413 var t1 = this.namespace;
36414 t1 = t1 != null ? "" + (t1 + ".") : "";
36415 t1 += this.originalName + this.$arguments.toString$0(0);
36416 return t1.charCodeAt(0) == 0 ? t1 : t1;
36417 },
36418 $isAstNode: 1,
36419 $isExpression: 1,
36420 get$span(receiver) {
36421 return this.span;
36422 }
36423 };
36424 A.IfExpression.prototype = {
36425 accept$1$1(visitor) {
36426 return visitor.visitIfExpression$1(this);
36427 },
36428 accept$1(visitor) {
36429 return this.accept$1$1(visitor, type$.dynamic);
36430 },
36431 toString$0(_) {
36432 return "if" + this.$arguments.toString$0(0);
36433 },
36434 $isAstNode: 1,
36435 $isExpression: 1,
36436 get$span(receiver) {
36437 return this.span;
36438 }
36439 };
36440 A.InterpolatedFunctionExpression.prototype = {
36441 accept$1$1(visitor) {
36442 return visitor.visitInterpolatedFunctionExpression$1(this);
36443 },
36444 accept$1(visitor) {
36445 return this.accept$1$1(visitor, type$.dynamic);
36446 },
36447 toString$0(_) {
36448 return this.name.toString$0(0) + this.$arguments.toString$0(0);
36449 },
36450 $isAstNode: 1,
36451 $isExpression: 1,
36452 get$span(receiver) {
36453 return this.span;
36454 }
36455 };
36456 A.ListExpression.prototype = {
36457 accept$1$1(visitor) {
36458 return visitor.visitListExpression$1(this);
36459 },
36460 accept$1(visitor) {
36461 return this.accept$1$1(visitor, type$.dynamic);
36462 },
36463 toString$0(_) {
36464 var _this = this,
36465 t1 = _this.hasBrackets,
36466 t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
36467 t3 = _this.contents,
36468 t4 = _this.separator === B.ListSeparator_kWM ? ", " : " ";
36469 t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
36470 t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
36471 return t1.charCodeAt(0) == 0 ? t1 : t1;
36472 },
36473 _list0$_elementNeedsParens$1(expression) {
36474 var t1, t2;
36475 if (expression instanceof A.ListExpression) {
36476 if (expression.contents.length < 2)
36477 return false;
36478 if (expression.hasBrackets)
36479 return false;
36480 t1 = this.separator;
36481 t2 = t1 === B.ListSeparator_kWM;
36482 return t2 ? t2 : t1 !== B.ListSeparator_undecided_null;
36483 }
36484 if (this.separator !== B.ListSeparator_woc)
36485 return false;
36486 if (expression instanceof A.UnaryOperationExpression) {
36487 t1 = expression.operator;
36488 return t1 === B.UnaryOperator_j2w || t1 === B.UnaryOperator_U4G;
36489 }
36490 return false;
36491 },
36492 $isAstNode: 1,
36493 $isExpression: 1,
36494 get$span(receiver) {
36495 return this.span;
36496 }
36497 };
36498 A.ListExpression_toString_closure.prototype = {
36499 call$1(element) {
36500 return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
36501 },
36502 $signature: 136
36503 };
36504 A.MapExpression.prototype = {
36505 accept$1$1(visitor) {
36506 return visitor.visitMapExpression$1(this);
36507 },
36508 accept$1(visitor) {
36509 return this.accept$1$1(visitor, type$.dynamic);
36510 },
36511 toString$0(_) {
36512 var t1 = this.pairs;
36513 return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
36514 },
36515 $isAstNode: 1,
36516 $isExpression: 1,
36517 get$span(receiver) {
36518 return this.span;
36519 }
36520 };
36521 A.MapExpression_toString_closure.prototype = {
36522 call$1(pair) {
36523 return A.S(pair.item1) + ": " + A.S(pair.item2);
36524 },
36525 $signature: 330
36526 };
36527 A.NullExpression.prototype = {
36528 accept$1$1(visitor) {
36529 return visitor.visitNullExpression$1(this);
36530 },
36531 accept$1(visitor) {
36532 return this.accept$1$1(visitor, type$.dynamic);
36533 },
36534 toString$0(_) {
36535 return "null";
36536 },
36537 $isAstNode: 1,
36538 $isExpression: 1,
36539 get$span(receiver) {
36540 return this.span;
36541 }
36542 };
36543 A.NumberExpression.prototype = {
36544 accept$1$1(visitor) {
36545 return visitor.visitNumberExpression$1(this);
36546 },
36547 accept$1(visitor) {
36548 return this.accept$1$1(visitor, type$.dynamic);
36549 },
36550 toString$0(_) {
36551 var t1 = A.S(this.value),
36552 t2 = this.unit;
36553 return t1 + (t2 == null ? "" : t2);
36554 },
36555 $isAstNode: 1,
36556 $isExpression: 1,
36557 get$span(receiver) {
36558 return this.span;
36559 }
36560 };
36561 A.ParenthesizedExpression.prototype = {
36562 accept$1$1(visitor) {
36563 return visitor.visitParenthesizedExpression$1(this);
36564 },
36565 accept$1(visitor) {
36566 return this.accept$1$1(visitor, type$.dynamic);
36567 },
36568 toString$0(_) {
36569 return "(" + this.expression.toString$0(0) + ")";
36570 },
36571 $isAstNode: 1,
36572 $isExpression: 1,
36573 get$span(receiver) {
36574 return this.span;
36575 }
36576 };
36577 A.SelectorExpression.prototype = {
36578 accept$1$1(visitor) {
36579 return visitor.visitSelectorExpression$1(this);
36580 },
36581 accept$1(visitor) {
36582 return this.accept$1$1(visitor, type$.dynamic);
36583 },
36584 toString$0(_) {
36585 return "&";
36586 },
36587 $isAstNode: 1,
36588 $isExpression: 1,
36589 get$span(receiver) {
36590 return this.span;
36591 }
36592 };
36593 A.StringExpression.prototype = {
36594 get$span(_) {
36595 return this.text.span;
36596 },
36597 accept$1$1(visitor) {
36598 return visitor.visitStringExpression$1(this);
36599 },
36600 accept$1(visitor) {
36601 return this.accept$1$1(visitor, type$.dynamic);
36602 },
36603 asInterpolation$1$static($static) {
36604 var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
36605 if (!this.hasQuotes)
36606 return this.text;
36607 t1 = this.text;
36608 t2 = t1.contents;
36609 quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
36610 t3 = new A.StringBuffer("");
36611 t4 = A._setArrayType([], type$.JSArray_Object);
36612 buffer = new A.InterpolationBuffer(t3, t4);
36613 t3._contents = "" + A.Primitives_stringFromCharCode(quote);
36614 for (t5 = t2.length, t6 = type$.Expression, _i = 0; _i < t5; ++_i) {
36615 value = t2[_i];
36616 if (t6._is(value)) {
36617 buffer._flushText$0();
36618 t4.push(value);
36619 } else if (typeof value == "string")
36620 A.StringExpression__quoteInnerText(value, quote, buffer, $static);
36621 }
36622 t3._contents += A.Primitives_stringFromCharCode(quote);
36623 return buffer.interpolation$1(t1.span);
36624 },
36625 asInterpolation$0() {
36626 return this.asInterpolation$1$static(false);
36627 },
36628 toString$0(_) {
36629 return this.asInterpolation$0().toString$0(0);
36630 },
36631 $isAstNode: 1,
36632 $isExpression: 1
36633 };
36634 A.UnaryOperationExpression.prototype = {
36635 accept$1$1(visitor) {
36636 return visitor.visitUnaryOperationExpression$1(this);
36637 },
36638 accept$1(visitor) {
36639 return this.accept$1$1(visitor, type$.dynamic);
36640 },
36641 toString$0(_) {
36642 var t1 = this.operator,
36643 t2 = t1.operator;
36644 t1 = t1 === B.UnaryOperator_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
36645 t1 += this.operand.toString$0(0);
36646 return t1.charCodeAt(0) == 0 ? t1 : t1;
36647 },
36648 $isAstNode: 1,
36649 $isExpression: 1,
36650 get$span(receiver) {
36651 return this.span;
36652 }
36653 };
36654 A.UnaryOperator.prototype = {
36655 toString$0(_) {
36656 return this.name;
36657 }
36658 };
36659 A.ValueExpression.prototype = {
36660 accept$1$1(visitor) {
36661 return visitor.visitValueExpression$1(this);
36662 },
36663 accept$1(visitor) {
36664 return this.accept$1$1(visitor, type$.dynamic);
36665 },
36666 toString$0(_) {
36667 return A.serializeValue(this.value, true, true);
36668 },
36669 $isAstNode: 1,
36670 $isExpression: 1,
36671 get$span(receiver) {
36672 return this.span;
36673 }
36674 };
36675 A.VariableExpression.prototype = {
36676 accept$1$1(visitor) {
36677 return visitor.visitVariableExpression$1(this);
36678 },
36679 accept$1(visitor) {
36680 return this.accept$1$1(visitor, type$.dynamic);
36681 },
36682 toString$0(_) {
36683 var t1 = this.namespace,
36684 t2 = this.name;
36685 return t1 == null ? "$" + t2 : t1 + ".$" + t2;
36686 },
36687 $isAstNode: 1,
36688 $isExpression: 1,
36689 get$span(receiver) {
36690 return this.span;
36691 }
36692 };
36693 A.DynamicImport.prototype = {
36694 toString$0(_) {
36695 return A.StringExpression_quoteText(this.urlString);
36696 },
36697 $isAstNode: 1,
36698 $isImport: 1,
36699 get$span(receiver) {
36700 return this.span;
36701 }
36702 };
36703 A.StaticImport.prototype = {
36704 toString$0(_) {
36705 var t1 = this.url.toString$0(0),
36706 t2 = this.supports;
36707 if (t2 != null)
36708 t1 += " supports(" + t2.toString$0(0) + ")";
36709 t2 = this.media;
36710 if (t2 != null)
36711 t1 += " " + t2.toString$0(0);
36712 t1 += A.Primitives_stringFromCharCode(59);
36713 return t1.charCodeAt(0) == 0 ? t1 : t1;
36714 },
36715 $isAstNode: 1,
36716 $isImport: 1,
36717 get$span(receiver) {
36718 return this.span;
36719 }
36720 };
36721 A.Interpolation.prototype = {
36722 get$asPlain() {
36723 var first,
36724 t1 = this.contents,
36725 t2 = t1.length;
36726 if (t2 === 0)
36727 return "";
36728 if (t2 > 1)
36729 return null;
36730 first = B.JSArray_methods.get$first(t1);
36731 return typeof first == "string" ? first : null;
36732 },
36733 get$initialPlain() {
36734 var first = B.JSArray_methods.get$first(this.contents);
36735 return typeof first == "string" ? first : "";
36736 },
36737 Interpolation$2(contents, span) {
36738 var t1, t2, t3, i, t4, t5,
36739 _s8_ = "contents";
36740 for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression, i = 0; i < t2; ++i) {
36741 t4 = t1[i];
36742 t5 = typeof t4 == "string";
36743 if (!t5 && !t3._is(t4))
36744 throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
36745 if (i !== 0 && typeof t1[i - 1] == "string" && t5)
36746 throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
36747 }
36748 },
36749 toString$0(_) {
36750 var t1 = this.contents;
36751 return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
36752 },
36753 $isAstNode: 1,
36754 get$span(receiver) {
36755 return this.span;
36756 }
36757 };
36758 A.Interpolation_toString_closure.prototype = {
36759 call$1(value) {
36760 return typeof value == "string" ? value : "#{" + A.S(value) + "}";
36761 },
36762 $signature: 47
36763 };
36764 A.AtRootRule.prototype = {
36765 accept$1$1(visitor) {
36766 return visitor.visitAtRootRule$1(this);
36767 },
36768 accept$1(visitor) {
36769 return this.accept$1$1(visitor, type$.dynamic);
36770 },
36771 toString$0(_) {
36772 var buffer = new A.StringBuffer("@at-root "),
36773 t1 = this.query;
36774 if (t1 != null)
36775 buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
36776 t1 = this.children;
36777 return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36778 },
36779 get$span(receiver) {
36780 return this.span;
36781 }
36782 };
36783 A.AtRule.prototype = {
36784 accept$1$1(visitor) {
36785 return visitor.visitAtRule$1(this);
36786 },
36787 accept$1(visitor) {
36788 return this.accept$1$1(visitor, type$.dynamic);
36789 },
36790 toString$0(_) {
36791 var children,
36792 t1 = "@" + this.name.toString$0(0),
36793 buffer = new A.StringBuffer(t1),
36794 t2 = this.value;
36795 if (t2 != null)
36796 buffer._contents = t1 + (" " + t2.toString$0(0));
36797 children = this.children;
36798 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
36799 },
36800 get$span(receiver) {
36801 return this.span;
36802 }
36803 };
36804 A.CallableDeclaration.prototype = {
36805 get$span(receiver) {
36806 return this.span;
36807 }
36808 };
36809 A.ContentBlock.prototype = {
36810 accept$1$1(visitor) {
36811 return visitor.visitContentBlock$1(this);
36812 },
36813 accept$1(visitor) {
36814 return this.accept$1$1(visitor, type$.dynamic);
36815 },
36816 toString$0(_) {
36817 var t2,
36818 t1 = this.$arguments;
36819 t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
36820 t2 = this.children;
36821 return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
36822 }
36823 };
36824 A.ContentRule.prototype = {
36825 accept$1$1(visitor) {
36826 return visitor.visitContentRule$1(this);
36827 },
36828 accept$1(visitor) {
36829 return this.accept$1$1(visitor, type$.dynamic);
36830 },
36831 toString$0(_) {
36832 var t1 = this.$arguments;
36833 return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
36834 },
36835 $isAstNode: 1,
36836 $isStatement: 1,
36837 get$span(receiver) {
36838 return this.span;
36839 }
36840 };
36841 A.DebugRule.prototype = {
36842 accept$1$1(visitor) {
36843 return visitor.visitDebugRule$1(this);
36844 },
36845 accept$1(visitor) {
36846 return this.accept$1$1(visitor, type$.dynamic);
36847 },
36848 toString$0(_) {
36849 return "@debug " + this.expression.toString$0(0) + ";";
36850 },
36851 $isAstNode: 1,
36852 $isStatement: 1,
36853 get$span(receiver) {
36854 return this.span;
36855 }
36856 };
36857 A.Declaration.prototype = {
36858 accept$1$1(visitor) {
36859 return visitor.visitDeclaration$1(this);
36860 },
36861 accept$1(visitor) {
36862 return this.accept$1$1(visitor, type$.dynamic);
36863 },
36864 get$span(receiver) {
36865 return this.span;
36866 }
36867 };
36868 A.EachRule.prototype = {
36869 accept$1$1(visitor) {
36870 return visitor.visitEachRule$1(this);
36871 },
36872 accept$1(visitor) {
36873 return this.accept$1$1(visitor, type$.dynamic);
36874 },
36875 toString$0(_) {
36876 var t1 = this.variables,
36877 t2 = this.children;
36878 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, " ") + "}";
36879 },
36880 get$span(receiver) {
36881 return this.span;
36882 }
36883 };
36884 A.EachRule_toString_closure.prototype = {
36885 call$1(variable) {
36886 return "$" + variable;
36887 },
36888 $signature: 5
36889 };
36890 A.ErrorRule.prototype = {
36891 accept$1$1(visitor) {
36892 return visitor.visitErrorRule$1(this);
36893 },
36894 accept$1(visitor) {
36895 return this.accept$1$1(visitor, type$.dynamic);
36896 },
36897 toString$0(_) {
36898 return "@error " + this.expression.toString$0(0) + ";";
36899 },
36900 $isAstNode: 1,
36901 $isStatement: 1,
36902 get$span(receiver) {
36903 return this.span;
36904 }
36905 };
36906 A.ExtendRule.prototype = {
36907 accept$1$1(visitor) {
36908 return visitor.visitExtendRule$1(this);
36909 },
36910 accept$1(visitor) {
36911 return this.accept$1$1(visitor, type$.dynamic);
36912 },
36913 toString$0(_) {
36914 return "@extend " + this.selector.toString$0(0);
36915 },
36916 $isAstNode: 1,
36917 $isStatement: 1,
36918 get$span(receiver) {
36919 return this.span;
36920 }
36921 };
36922 A.ForRule.prototype = {
36923 accept$1$1(visitor) {
36924 return visitor.visitForRule$1(this);
36925 },
36926 accept$1(visitor) {
36927 return this.accept$1$1(visitor, type$.dynamic);
36928 },
36929 toString$0(_) {
36930 var _this = this,
36931 t1 = "@for $" + _this.variable + " from " + _this.from.toString$0(0) + " ",
36932 t2 = _this.children;
36933 return t1 + (_this.isExclusive ? "to" : "through") + " " + _this.to.toString$0(0) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
36934 },
36935 get$span(receiver) {
36936 return this.span;
36937 }
36938 };
36939 A.ForwardRule.prototype = {
36940 accept$1$1(visitor) {
36941 return visitor.visitForwardRule$1(this);
36942 },
36943 accept$1(visitor) {
36944 return this.accept$1$1(visitor, type$.dynamic);
36945 },
36946 toString$0(_) {
36947 var t2, prefix, _this = this,
36948 t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
36949 shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
36950 hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
36951 if (shownMixinsAndFunctions != null) {
36952 t1 += " show ";
36953 t2 = _this.shownVariables;
36954 t2.toString;
36955 t2 = t1 + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
36956 t1 = t2;
36957 } else {
36958 if (hiddenMixinsAndFunctions != null) {
36959 t2 = hiddenMixinsAndFunctions._base;
36960 t2 = t2.get$isNotEmpty(t2);
36961 } else
36962 t2 = false;
36963 if (t2) {
36964 t1 += " hide ";
36965 t2 = _this.hiddenVariables;
36966 t2.toString;
36967 t2 = t1 + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
36968 t1 = t2;
36969 }
36970 }
36971 prefix = _this.prefix;
36972 if (prefix != null)
36973 t1 += " as " + prefix + "*";
36974 t2 = _this.configuration;
36975 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
36976 return t1.charCodeAt(0) == 0 ? t1 : t1;
36977 },
36978 _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
36979 var t2,
36980 t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
36981 for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
36982 t1.push("$" + t2.get$current(t2));
36983 return B.JSArray_methods.join$1(t1, ", ");
36984 },
36985 $isAstNode: 1,
36986 $isStatement: 1,
36987 get$span(receiver) {
36988 return this.span;
36989 }
36990 };
36991 A.FunctionRule.prototype = {
36992 accept$1$1(visitor) {
36993 return visitor.visitFunctionRule$1(this);
36994 },
36995 accept$1(visitor) {
36996 return this.accept$1$1(visitor, type$.dynamic);
36997 },
36998 toString$0(_) {
36999 var t1 = this.children;
37000 return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
37001 }
37002 };
37003 A.IfRule.prototype = {
37004 accept$1$1(visitor) {
37005 return visitor.visitIfRule$1(this);
37006 },
37007 accept$1(visitor) {
37008 return this.accept$1$1(visitor, type$.dynamic);
37009 },
37010 toString$0(_) {
37011 var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
37012 lastClause = this.lastClause;
37013 return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
37014 },
37015 $isAstNode: 1,
37016 $isStatement: 1,
37017 get$span(receiver) {
37018 return this.span;
37019 }
37020 };
37021 A.IfRule_toString_closure.prototype = {
37022 call$2(index, clause) {
37023 return "@" + (index === 0 ? "if" : "else if") + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
37024 },
37025 $signature: 337
37026 };
37027 A.IfRuleClause.prototype = {};
37028 A.IfRuleClause$__closure.prototype = {
37029 call$1(child) {
37030 var t1;
37031 if (!(child instanceof A.VariableDeclaration))
37032 if (!(child instanceof A.FunctionRule))
37033 if (!(child instanceof A.MixinRule))
37034 t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
37035 else
37036 t1 = true;
37037 else
37038 t1 = true;
37039 else
37040 t1 = true;
37041 return t1;
37042 },
37043 $signature: 260
37044 };
37045 A.IfRuleClause$___closure.prototype = {
37046 call$1($import) {
37047 return $import instanceof A.DynamicImport;
37048 },
37049 $signature: 162
37050 };
37051 A.IfClause.prototype = {
37052 toString$0(_) {
37053 return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
37054 }
37055 };
37056 A.ElseClause.prototype = {
37057 toString$0(_) {
37058 return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
37059 }
37060 };
37061 A.ImportRule.prototype = {
37062 accept$1$1(visitor) {
37063 return visitor.visitImportRule$1(this);
37064 },
37065 accept$1(visitor) {
37066 return this.accept$1$1(visitor, type$.dynamic);
37067 },
37068 toString$0(_) {
37069 return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
37070 },
37071 $isAstNode: 1,
37072 $isStatement: 1,
37073 get$span(receiver) {
37074 return this.span;
37075 }
37076 };
37077 A.IncludeRule.prototype = {
37078 get$spanWithoutContent() {
37079 var t2, t3,
37080 t1 = this.span;
37081 if (!(this.content == null)) {
37082 t2 = t1.file;
37083 t3 = this.$arguments.span;
37084 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)));
37085 t1 = t3;
37086 }
37087 return t1;
37088 },
37089 accept$1$1(visitor) {
37090 return visitor.visitIncludeRule$1(this);
37091 },
37092 accept$1(visitor) {
37093 return this.accept$1$1(visitor, type$.dynamic);
37094 },
37095 toString$0(_) {
37096 var t2, _this = this,
37097 t1 = _this.namespace;
37098 t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
37099 t1 += _this.name;
37100 t2 = _this.$arguments;
37101 if (!t2.get$isEmpty(t2))
37102 t1 += "(" + t2.toString$0(0) + ")";
37103 t2 = _this.content;
37104 t1 += t2 == null ? ";" : " " + t2.toString$0(0);
37105 return t1.charCodeAt(0) == 0 ? t1 : t1;
37106 },
37107 $isAstNode: 1,
37108 $isStatement: 1,
37109 get$span(receiver) {
37110 return this.span;
37111 }
37112 };
37113 A.LoudComment.prototype = {
37114 get$span(_) {
37115 return this.text.span;
37116 },
37117 accept$1$1(visitor) {
37118 return visitor.visitLoudComment$1(this);
37119 },
37120 accept$1(visitor) {
37121 return this.accept$1$1(visitor, type$.dynamic);
37122 },
37123 toString$0(_) {
37124 return this.text.toString$0(0);
37125 },
37126 $isAstNode: 1,
37127 $isStatement: 1
37128 };
37129 A.MediaRule.prototype = {
37130 accept$1$1(visitor) {
37131 return visitor.visitMediaRule$1(this);
37132 },
37133 accept$1(visitor) {
37134 return this.accept$1$1(visitor, type$.dynamic);
37135 },
37136 toString$0(_) {
37137 var t1 = this.children;
37138 return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
37139 },
37140 get$span(receiver) {
37141 return this.span;
37142 }
37143 };
37144 A.MixinRule.prototype = {
37145 get$hasContent() {
37146 var result, _this = this,
37147 value = _this.__MixinRule_hasContent;
37148 if (value === $) {
37149 result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
37150 A._lateInitializeOnceCheck(_this.__MixinRule_hasContent, "hasContent");
37151 _this.__MixinRule_hasContent = result;
37152 value = result;
37153 }
37154 return value;
37155 },
37156 accept$1$1(visitor) {
37157 return visitor.visitMixinRule$1(this);
37158 },
37159 accept$1(visitor) {
37160 return this.accept$1$1(visitor, type$.dynamic);
37161 },
37162 toString$0(_) {
37163 var t1 = "@mixin " + this.name,
37164 t2 = this.$arguments;
37165 if (!(t2.$arguments.length === 0 && t2.restArgument == null))
37166 t1 += "(" + t2.toString$0(0) + ")";
37167 t2 = this.children;
37168 t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
37169 return t2.charCodeAt(0) == 0 ? t2 : t2;
37170 }
37171 };
37172 A._HasContentVisitor.prototype = {
37173 visitContentRule$1(_) {
37174 return true;
37175 }
37176 };
37177 A.ParentStatement.prototype = {$isAstNode: 1, $isStatement: 1};
37178 A.ParentStatement_closure.prototype = {
37179 call$1(child) {
37180 var t1;
37181 if (!(child instanceof A.VariableDeclaration))
37182 if (!(child instanceof A.FunctionRule))
37183 if (!(child instanceof A.MixinRule))
37184 t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
37185 else
37186 t1 = true;
37187 else
37188 t1 = true;
37189 else
37190 t1 = true;
37191 return t1;
37192 },
37193 $signature: 260
37194 };
37195 A.ParentStatement__closure.prototype = {
37196 call$1($import) {
37197 return $import instanceof A.DynamicImport;
37198 },
37199 $signature: 162
37200 };
37201 A.ReturnRule.prototype = {
37202 accept$1$1(visitor) {
37203 return visitor.visitReturnRule$1(this);
37204 },
37205 accept$1(visitor) {
37206 return this.accept$1$1(visitor, type$.dynamic);
37207 },
37208 toString$0(_) {
37209 return "@return " + this.expression.toString$0(0) + ";";
37210 },
37211 $isAstNode: 1,
37212 $isStatement: 1,
37213 get$span(receiver) {
37214 return this.span;
37215 }
37216 };
37217 A.SilentComment.prototype = {
37218 accept$1$1(visitor) {
37219 return visitor.visitSilentComment$1(this);
37220 },
37221 accept$1(visitor) {
37222 return this.accept$1$1(visitor, type$.dynamic);
37223 },
37224 toString$0(_) {
37225 return this.text;
37226 },
37227 $isAstNode: 1,
37228 $isStatement: 1,
37229 get$span(receiver) {
37230 return this.span;
37231 }
37232 };
37233 A.StyleRule.prototype = {
37234 accept$1$1(visitor) {
37235 return visitor.visitStyleRule$1(this);
37236 },
37237 accept$1(visitor) {
37238 return this.accept$1$1(visitor, type$.dynamic);
37239 },
37240 toString$0(_) {
37241 var t1 = this.children;
37242 return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
37243 },
37244 get$span(receiver) {
37245 return this.span;
37246 }
37247 };
37248 A.Stylesheet.prototype = {
37249 Stylesheet$internal$3$plainCss(children, span, plainCss) {
37250 var t1, t2, t3, t4, _i, child;
37251 for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
37252 child = t1[_i];
37253 if (child instanceof A.UseRule)
37254 t4.push(child);
37255 else if (child instanceof A.ForwardRule)
37256 t3.push(child);
37257 else if (!(child instanceof A.SilentComment) && !(child instanceof A.LoudComment) && !(child instanceof A.VariableDeclaration))
37258 break;
37259 }
37260 },
37261 accept$1$1(visitor) {
37262 return visitor.visitStylesheet$1(this);
37263 },
37264 accept$1(visitor) {
37265 return this.accept$1$1(visitor, type$.dynamic);
37266 },
37267 toString$0(_) {
37268 var t1 = this.children;
37269 return (t1 && B.JSArray_methods).join$1(t1, " ");
37270 },
37271 get$span(receiver) {
37272 return this.span;
37273 }
37274 };
37275 A.SupportsRule.prototype = {
37276 accept$1$1(visitor) {
37277 return visitor.visitSupportsRule$1(this);
37278 },
37279 accept$1(visitor) {
37280 return this.accept$1$1(visitor, type$.dynamic);
37281 },
37282 toString$0(_) {
37283 var t1 = this.children;
37284 return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
37285 },
37286 get$span(receiver) {
37287 return this.span;
37288 }
37289 };
37290 A.UseRule.prototype = {
37291 UseRule$4$configuration(url, namespace, span, configuration) {
37292 var t1, t2, _i, variable;
37293 for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
37294 variable = t1[_i];
37295 if (variable.isGuarded)
37296 throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
37297 }
37298 },
37299 accept$1$1(visitor) {
37300 return visitor.visitUseRule$1(this);
37301 },
37302 accept$1(visitor) {
37303 return this.accept$1$1(visitor, type$.dynamic);
37304 },
37305 toString$0(_) {
37306 var t1 = this.url,
37307 t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
37308 basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
37309 dot = B.JSString_methods.indexOf$1(basename, ".");
37310 t1 = this.namespace;
37311 if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
37312 t1 = t2 + (" as " + (t1 == null ? "*" : t1));
37313 else
37314 t1 = t2;
37315 t2 = this.configuration;
37316 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
37317 return t1.charCodeAt(0) == 0 ? t1 : t1;
37318 },
37319 $isAstNode: 1,
37320 $isStatement: 1,
37321 get$span(receiver) {
37322 return this.span;
37323 }
37324 };
37325 A.VariableDeclaration.prototype = {
37326 accept$1$1(visitor) {
37327 return visitor.visitVariableDeclaration$1(this);
37328 },
37329 accept$1(visitor) {
37330 return this.accept$1$1(visitor, type$.dynamic);
37331 },
37332 toString$0(_) {
37333 var t1 = this.namespace;
37334 t1 = t1 != null ? "$" + (t1 + ".") : "$";
37335 t1 += this.name + ": " + this.expression.toString$0(0) + ";";
37336 return t1.charCodeAt(0) == 0 ? t1 : t1;
37337 },
37338 $isAstNode: 1,
37339 $isStatement: 1,
37340 get$span(receiver) {
37341 return this.span;
37342 }
37343 };
37344 A.WarnRule.prototype = {
37345 accept$1$1(visitor) {
37346 return visitor.visitWarnRule$1(this);
37347 },
37348 accept$1(visitor) {
37349 return this.accept$1$1(visitor, type$.dynamic);
37350 },
37351 toString$0(_) {
37352 return "@warn " + this.expression.toString$0(0) + ";";
37353 },
37354 $isAstNode: 1,
37355 $isStatement: 1,
37356 get$span(receiver) {
37357 return this.span;
37358 }
37359 };
37360 A.WhileRule.prototype = {
37361 accept$1$1(visitor) {
37362 return visitor.visitWhileRule$1(this);
37363 },
37364 accept$1(visitor) {
37365 return this.accept$1$1(visitor, type$.dynamic);
37366 },
37367 toString$0(_) {
37368 var t1 = this.children;
37369 return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
37370 },
37371 get$span(receiver) {
37372 return this.span;
37373 }
37374 };
37375 A.SupportsAnything.prototype = {
37376 toString$0(_) {
37377 return "(" + this.contents.toString$0(0) + ")";
37378 },
37379 $isAstNode: 1,
37380 $isSupportsCondition: 1,
37381 get$span(receiver) {
37382 return this.span;
37383 }
37384 };
37385 A.SupportsDeclaration.prototype = {
37386 get$isCustomProperty() {
37387 var $name = this.name;
37388 return $name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
37389 },
37390 toString$0(_) {
37391 return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
37392 },
37393 $isAstNode: 1,
37394 $isSupportsCondition: 1,
37395 get$span(receiver) {
37396 return this.span;
37397 }
37398 };
37399 A.SupportsFunction.prototype = {
37400 toString$0(_) {
37401 return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
37402 },
37403 $isAstNode: 1,
37404 $isSupportsCondition: 1,
37405 get$span(receiver) {
37406 return this.span;
37407 }
37408 };
37409 A.SupportsInterpolation.prototype = {
37410 toString$0(_) {
37411 return "#{" + this.expression.toString$0(0) + "}";
37412 },
37413 $isAstNode: 1,
37414 $isSupportsCondition: 1,
37415 get$span(receiver) {
37416 return this.span;
37417 }
37418 };
37419 A.SupportsNegation.prototype = {
37420 toString$0(_) {
37421 var t1 = this.condition;
37422 if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
37423 return "not (" + t1.toString$0(0) + ")";
37424 else
37425 return "not " + t1.toString$0(0);
37426 },
37427 $isAstNode: 1,
37428 $isSupportsCondition: 1,
37429 get$span(receiver) {
37430 return this.span;
37431 }
37432 };
37433 A.SupportsOperation.prototype = {
37434 toString$0(_) {
37435 var _this = this;
37436 return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
37437 },
37438 _operation$_parenthesize$1(condition) {
37439 var t1;
37440 if (!(condition instanceof A.SupportsNegation))
37441 t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
37442 else
37443 t1 = true;
37444 return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
37445 },
37446 $isAstNode: 1,
37447 $isSupportsCondition: 1,
37448 get$span(receiver) {
37449 return this.span;
37450 }
37451 };
37452 A.Selector.prototype = {
37453 get$isInvisible() {
37454 return false;
37455 },
37456 toString$0(_) {
37457 var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
37458 this.accept$1(visitor);
37459 return visitor._serialize$_buffer.toString$0(0);
37460 }
37461 };
37462 A.AttributeSelector.prototype = {
37463 accept$1$1(visitor) {
37464 var value, t2, _this = this,
37465 t1 = visitor._serialize$_buffer;
37466 t1.writeCharCode$1(91);
37467 t1.write$1(0, _this.name);
37468 value = _this.value;
37469 if (value != null) {
37470 t1.write$1(0, _this.op);
37471 if (A.Parser_isIdentifier(value) && !B.JSString_methods.startsWith$1(value, "--")) {
37472 t1.write$1(0, value);
37473 t2 = _this.modifier;
37474 if (t2 != null)
37475 t1.writeCharCode$1(32);
37476 } else {
37477 visitor._visitQuotedString$1(value);
37478 t2 = _this.modifier;
37479 if (t2 != null)
37480 if (visitor._style !== B.OutputStyle_compressed)
37481 t1.writeCharCode$1(32);
37482 }
37483 if (t2 != null)
37484 t1.write$1(0, t2);
37485 }
37486 t1.writeCharCode$1(93);
37487 return null;
37488 },
37489 accept$1(visitor) {
37490 return this.accept$1$1(visitor, type$.dynamic);
37491 },
37492 $eq(_, other) {
37493 var _this = this;
37494 if (other == null)
37495 return false;
37496 return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
37497 },
37498 get$hashCode(_) {
37499 var _this = this,
37500 t1 = _this.name;
37501 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;
37502 }
37503 };
37504 A.AttributeOperator.prototype = {
37505 toString$0(_) {
37506 return this._attribute$_text;
37507 }
37508 };
37509 A.ClassSelector.prototype = {
37510 $eq(_, other) {
37511 if (other == null)
37512 return false;
37513 return other instanceof A.ClassSelector && other.name === this.name;
37514 },
37515 accept$1$1(visitor) {
37516 var t1 = visitor._serialize$_buffer;
37517 t1.writeCharCode$1(46);
37518 t1.write$1(0, this.name);
37519 return null;
37520 },
37521 accept$1(visitor) {
37522 return this.accept$1$1(visitor, type$.dynamic);
37523 },
37524 addSuffix$1(suffix) {
37525 return new A.ClassSelector(this.name + suffix);
37526 },
37527 get$hashCode(_) {
37528 return B.JSString_methods.get$hashCode(this.name);
37529 }
37530 };
37531 A.ComplexSelector.prototype = {
37532 get$minSpecificity() {
37533 if (this._minSpecificity == null)
37534 this._computeSpecificity$0();
37535 var t1 = this._minSpecificity;
37536 t1.toString;
37537 return t1;
37538 },
37539 get$maxSpecificity() {
37540 if (this._complex$_maxSpecificity == null)
37541 this._computeSpecificity$0();
37542 var t1 = this._complex$_maxSpecificity;
37543 t1.toString;
37544 return t1;
37545 },
37546 get$isInvisible() {
37547 var result, _this = this,
37548 value = _this.__ComplexSelector_isInvisible;
37549 if (value === $) {
37550 result = B.JSArray_methods.any$1(_this.components, new A.ComplexSelector_isInvisible_closure());
37551 A._lateInitializeOnceCheck(_this.__ComplexSelector_isInvisible, "isInvisible");
37552 _this.__ComplexSelector_isInvisible = result;
37553 value = result;
37554 }
37555 return value;
37556 },
37557 accept$1$1(visitor) {
37558 return visitor.visitComplexSelector$1(this);
37559 },
37560 accept$1(visitor) {
37561 return this.accept$1$1(visitor, type$.dynamic);
37562 },
37563 _computeSpecificity$0() {
37564 var t1, t2, minSpecificity, maxSpecificity, _i, component, t3;
37565 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37566 component = t1[_i];
37567 if (component instanceof A.CompoundSelector) {
37568 if (component._compound$_minSpecificity == null)
37569 component._compound$_computeSpecificity$0();
37570 t3 = component._compound$_minSpecificity;
37571 t3.toString;
37572 minSpecificity += t3;
37573 if (component._maxSpecificity == null)
37574 component._compound$_computeSpecificity$0();
37575 t3 = component._maxSpecificity;
37576 t3.toString;
37577 maxSpecificity += t3;
37578 }
37579 }
37580 this._minSpecificity = minSpecificity;
37581 this._complex$_maxSpecificity = maxSpecificity;
37582 },
37583 get$hashCode(_) {
37584 return B.C_ListEquality0.hash$1(this.components);
37585 },
37586 $eq(_, other) {
37587 if (other == null)
37588 return false;
37589 return other instanceof A.ComplexSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
37590 }
37591 };
37592 A.ComplexSelector_isInvisible_closure.prototype = {
37593 call$1(component) {
37594 return component instanceof A.CompoundSelector && component.get$isInvisible();
37595 },
37596 $signature: 140
37597 };
37598 A.Combinator.prototype = {
37599 toString$0(_) {
37600 return this._complex$_text;
37601 },
37602 $isComplexSelectorComponent: 1
37603 };
37604 A.CompoundSelector.prototype = {
37605 get$isInvisible() {
37606 return B.JSArray_methods.any$1(this.components, new A.CompoundSelector_isInvisible_closure());
37607 },
37608 accept$1$1(visitor) {
37609 return visitor.visitCompoundSelector$1(this);
37610 },
37611 accept$1(visitor) {
37612 return this.accept$1$1(visitor, type$.dynamic);
37613 },
37614 _compound$_computeSpecificity$0() {
37615 var t1, t2, minSpecificity, maxSpecificity, _i, simple;
37616 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37617 simple = t1[_i];
37618 minSpecificity += simple.get$minSpecificity();
37619 maxSpecificity += simple.get$maxSpecificity();
37620 }
37621 this._compound$_minSpecificity = minSpecificity;
37622 this._maxSpecificity = maxSpecificity;
37623 },
37624 get$hashCode(_) {
37625 return B.C_ListEquality0.hash$1(this.components);
37626 },
37627 $eq(_, other) {
37628 if (other == null)
37629 return false;
37630 return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
37631 },
37632 $isComplexSelectorComponent: 1
37633 };
37634 A.CompoundSelector_isInvisible_closure.prototype = {
37635 call$1(component) {
37636 return component.get$isInvisible();
37637 },
37638 $signature: 16
37639 };
37640 A.IDSelector.prototype = {
37641 get$minSpecificity() {
37642 return A._asInt(Math.pow(A.SimpleSelector.prototype.get$minSpecificity.call(this), 2));
37643 },
37644 accept$1$1(visitor) {
37645 var t1 = visitor._serialize$_buffer;
37646 t1.writeCharCode$1(35);
37647 t1.write$1(0, this.name);
37648 return null;
37649 },
37650 accept$1(visitor) {
37651 return this.accept$1$1(visitor, type$.dynamic);
37652 },
37653 addSuffix$1(suffix) {
37654 return new A.IDSelector(this.name + suffix);
37655 },
37656 unify$1(compound) {
37657 if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
37658 return null;
37659 return this.super$SimpleSelector$unify(compound);
37660 },
37661 $eq(_, other) {
37662 if (other == null)
37663 return false;
37664 return other instanceof A.IDSelector && other.name === this.name;
37665 },
37666 get$hashCode(_) {
37667 return B.JSString_methods.get$hashCode(this.name);
37668 }
37669 };
37670 A.IDSelector_unify_closure.prototype = {
37671 call$1(simple) {
37672 var t1;
37673 if (simple instanceof A.IDSelector) {
37674 t1 = simple.name;
37675 t1 = this.$this.name !== t1;
37676 } else
37677 t1 = false;
37678 return t1;
37679 },
37680 $signature: 16
37681 };
37682 A.SelectorList.prototype = {
37683 get$isInvisible() {
37684 return B.JSArray_methods.every$1(this.components, new A.SelectorList_isInvisible_closure());
37685 },
37686 get$asSassList() {
37687 var t1 = this.components;
37688 return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
37689 },
37690 accept$1$1(visitor) {
37691 return visitor.visitSelectorList$1(this);
37692 },
37693 accept$1(visitor) {
37694 return this.accept$1$1(visitor, type$.dynamic);
37695 },
37696 unify$1(other) {
37697 var t1 = this.components,
37698 t2 = A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector>"),
37699 contents = A.List_List$of(new A.ExpandIterable(t1, new A.SelectorList_unify_closure(other), t2), true, t2._eval$1("Iterable.E"));
37700 return contents.length === 0 ? null : A.SelectorList$(contents);
37701 },
37702 resolveParentSelectors$2$implicitParent($parent, implicitParent) {
37703 var t1, _this = this;
37704 if ($parent == null) {
37705 if (!B.JSArray_methods.any$1(_this.components, _this.get$_complexContainsParentSelector()))
37706 return _this;
37707 throw A.wrapException(A.SassScriptException$(string$.Top_le));
37708 }
37709 t1 = _this.components;
37710 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));
37711 },
37712 resolveParentSelectors$1($parent) {
37713 return this.resolveParentSelectors$2$implicitParent($parent, true);
37714 },
37715 _complexContainsParentSelector$1(complex) {
37716 return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure());
37717 },
37718 _resolveParentSelectorsCompound$2(compound, $parent) {
37719 var resolvedMembers0, parentSelector, t1,
37720 resolvedMembers = compound.components,
37721 containsSelectorPseudo = B.JSArray_methods.any$1(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure());
37722 if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(resolvedMembers) instanceof A.ParentSelector))
37723 return null;
37724 resolvedMembers0 = containsSelectorPseudo ? new A.MappedListIterable(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure0($parent), A._arrayInstanceType(resolvedMembers)._eval$1("MappedListIterable<1,SimpleSelector>")) : resolvedMembers;
37725 parentSelector = B.JSArray_methods.get$first(resolvedMembers);
37726 if (parentSelector instanceof A.ParentSelector) {
37727 if (resolvedMembers.length === 1 && parentSelector.suffix == null)
37728 return $parent.components;
37729 } else
37730 return A._setArrayType([A.ComplexSelector$(A._setArrayType([A.CompoundSelector$(resolvedMembers0)], type$.JSArray_ComplexSelectorComponent), false)], type$.JSArray_ComplexSelector);
37731 t1 = $parent.components;
37732 return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure1(compound, resolvedMembers0), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
37733 },
37734 get$hashCode(_) {
37735 return B.C_ListEquality0.hash$1(this.components);
37736 },
37737 $eq(_, other) {
37738 if (other == null)
37739 return false;
37740 return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
37741 }
37742 };
37743 A.SelectorList_isInvisible_closure.prototype = {
37744 call$1(complex) {
37745 return complex.get$isInvisible();
37746 },
37747 $signature: 19
37748 };
37749 A.SelectorList_asSassList_closure.prototype = {
37750 call$1(complex) {
37751 var t1 = complex.components;
37752 return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_woc, false);
37753 },
37754 $signature: 365
37755 };
37756 A.SelectorList_asSassList__closure.prototype = {
37757 call$1(component) {
37758 return new A.SassString(component.toString$0(0), false);
37759 },
37760 $signature: 482
37761 };
37762 A.SelectorList_unify_closure.prototype = {
37763 call$1(complex1) {
37764 var t1 = this.other.components;
37765 return new A.ExpandIterable(t1, new A.SelectorList_unify__closure(complex1), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector>"));
37766 },
37767 $signature: 144
37768 };
37769 A.SelectorList_unify__closure.prototype = {
37770 call$1(complex2) {
37771 var unified = A.unifyComplex(A._setArrayType([this.complex1.components, complex2.components], type$.JSArray_List_ComplexSelectorComponent));
37772 if (unified == null)
37773 return B.List_empty4;
37774 return J.map$1$1$ax(unified, new A.SelectorList_unify___closure(), type$.ComplexSelector);
37775 },
37776 $signature: 144
37777 };
37778 A.SelectorList_unify___closure.prototype = {
37779 call$1(complex) {
37780 return A.ComplexSelector$(complex, false);
37781 },
37782 $signature: 87
37783 };
37784 A.SelectorList_resolveParentSelectors_closure.prototype = {
37785 call$1(complex) {
37786 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 = {},
37787 t1 = _this.$this;
37788 if (!t1._complexContainsParentSelector$1(complex)) {
37789 if (!_this.implicitParent)
37790 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
37791 t1 = _this.parent.components;
37792 return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
37793 }
37794 t2 = type$.JSArray_List_ComplexSelectorComponent;
37795 newComplexes = A._setArrayType([A._setArrayType([], type$.JSArray_ComplexSelectorComponent)], t2);
37796 t3 = type$.JSArray_bool;
37797 _box_0.lineBreaks = A._setArrayType([false], t3);
37798 for (t4 = complex.components, t5 = t4.length, t6 = type$.ComplexSelectorComponent, t7 = _this.parent, _i = 0; _i < t5; ++_i) {
37799 component = t4[_i];
37800 if (component instanceof A.CompoundSelector) {
37801 resolved = t1._resolveParentSelectorsCompound$2(component, t7);
37802 if (resolved == null) {
37803 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
37804 newComplexes[_i0].push(component);
37805 continue;
37806 }
37807 previousLineBreaks = _box_0.lineBreaks;
37808 newComplexes0 = A._setArrayType([], t2);
37809 _box_0.lineBreaks = A._setArrayType([], t3);
37810 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) {
37811 newComplex = newComplexes[_i0];
37812 i0 = i + 1;
37813 lineBreak = previousLineBreaks[i];
37814 for (t10 = t9.get$iterator(resolved), t11 = !lineBreak; t10.moveNext$0();) {
37815 t12 = t10.get$current(t10);
37816 t13 = A.List_List$of(newComplex, true, t6);
37817 B.JSArray_methods.addAll$1(t13, t12.components);
37818 newComplexes0.push(t13);
37819 t13 = _box_0.lineBreaks;
37820 t13.push(!t11 || t12.lineBreak);
37821 }
37822 }
37823 newComplexes = newComplexes0;
37824 } else
37825 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
37826 newComplexes[_i0].push(component);
37827 }
37828 _box_0.i = 0;
37829 return new A.MappedListIterable(newComplexes, new A.SelectorList_resolveParentSelectors__closure0(_box_0), A._arrayInstanceType(newComplexes)._eval$1("MappedListIterable<1,ComplexSelector>"));
37830 },
37831 $signature: 144
37832 };
37833 A.SelectorList_resolveParentSelectors__closure.prototype = {
37834 call$1(parentComplex) {
37835 var t1 = A.List_List$of(parentComplex.components, true, type$.ComplexSelectorComponent),
37836 t2 = this.complex;
37837 B.JSArray_methods.addAll$1(t1, t2.components);
37838 return A.ComplexSelector$(t1, t2.lineBreak || parentComplex.lineBreak);
37839 },
37840 $signature: 147
37841 };
37842 A.SelectorList_resolveParentSelectors__closure0.prototype = {
37843 call$1(newComplex) {
37844 var t1 = this._box_0;
37845 return A.ComplexSelector$(newComplex, t1.lineBreaks[t1.i++]);
37846 },
37847 $signature: 87
37848 };
37849 A.SelectorList__complexContainsParentSelector_closure.prototype = {
37850 call$1(component) {
37851 return component instanceof A.CompoundSelector && B.JSArray_methods.any$1(component.components, new A.SelectorList__complexContainsParentSelector__closure());
37852 },
37853 $signature: 140
37854 };
37855 A.SelectorList__complexContainsParentSelector__closure.prototype = {
37856 call$1(simple) {
37857 var selector;
37858 if (simple instanceof A.ParentSelector)
37859 return true;
37860 if (!(simple instanceof A.PseudoSelector))
37861 return false;
37862 selector = simple.selector;
37863 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
37864 },
37865 $signature: 16
37866 };
37867 A.SelectorList__resolveParentSelectorsCompound_closure.prototype = {
37868 call$1(simple) {
37869 var selector;
37870 if (!(simple instanceof A.PseudoSelector))
37871 return false;
37872 selector = simple.selector;
37873 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
37874 },
37875 $signature: 16
37876 };
37877 A.SelectorList__resolveParentSelectorsCompound_closure0.prototype = {
37878 call$1(simple) {
37879 var selector, t1, t2, t3;
37880 if (!(simple instanceof A.PseudoSelector))
37881 return simple;
37882 selector = simple.selector;
37883 if (selector == null)
37884 return simple;
37885 if (!B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector()))
37886 return simple;
37887 t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
37888 t2 = simple.name;
37889 t3 = simple.isClass;
37890 return A.PseudoSelector$(t2, simple.argument, !t3, t1);
37891 },
37892 $signature: 531
37893 };
37894 A.SelectorList__resolveParentSelectorsCompound_closure1.prototype = {
37895 call$1(complex) {
37896 var suffix, t2, t3, t4, t5, last,
37897 t1 = complex.components,
37898 lastComponent = B.JSArray_methods.get$last(t1);
37899 if (!(lastComponent instanceof A.CompoundSelector))
37900 throw A.wrapException(A.SassScriptException$('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.'));
37901 suffix = type$.ParentSelector._as(B.JSArray_methods.get$first(this.compound.components)).suffix;
37902 t2 = type$.SimpleSelector;
37903 t3 = this.resolvedMembers;
37904 t4 = lastComponent.components;
37905 t5 = J.getInterceptor$ax(t3);
37906 if (suffix != null) {
37907 t2 = A.List_List$of(A.SubListIterable$(t4, 0, A.checkNotNullable(t4.length - 1, "count", type$.int), A._arrayInstanceType(t4)._precomputed1), true, t2);
37908 t2.push(B.JSArray_methods.get$last(t4).addSuffix$1(suffix));
37909 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
37910 last = A.CompoundSelector$(t2);
37911 } else {
37912 t2 = A.List_List$of(t4, true, t2);
37913 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
37914 last = A.CompoundSelector$(t2);
37915 }
37916 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(t1.length - 1, "count", type$.int), A._arrayInstanceType(t1)._precomputed1), true, type$.ComplexSelectorComponent);
37917 t1.push(last);
37918 return A.ComplexSelector$(t1, complex.lineBreak);
37919 },
37920 $signature: 147
37921 };
37922 A.ParentSelector.prototype = {
37923 accept$1$1(visitor) {
37924 var t2,
37925 t1 = visitor._serialize$_buffer;
37926 t1.writeCharCode$1(38);
37927 t2 = this.suffix;
37928 if (t2 != null)
37929 t1.write$1(0, t2);
37930 return null;
37931 },
37932 accept$1(visitor) {
37933 return this.accept$1$1(visitor, type$.dynamic);
37934 },
37935 unify$1(compound) {
37936 return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
37937 }
37938 };
37939 A.PlaceholderSelector.prototype = {
37940 get$isInvisible() {
37941 return true;
37942 },
37943 accept$1$1(visitor) {
37944 var t1 = visitor._serialize$_buffer;
37945 t1.writeCharCode$1(37);
37946 t1.write$1(0, this.name);
37947 return null;
37948 },
37949 accept$1(visitor) {
37950 return this.accept$1$1(visitor, type$.dynamic);
37951 },
37952 addSuffix$1(suffix) {
37953 return new A.PlaceholderSelector(this.name + suffix);
37954 },
37955 $eq(_, other) {
37956 if (other == null)
37957 return false;
37958 return other instanceof A.PlaceholderSelector && other.name === this.name;
37959 },
37960 get$hashCode(_) {
37961 return B.JSString_methods.get$hashCode(this.name);
37962 }
37963 };
37964 A.PseudoSelector.prototype = {
37965 get$isHostContext() {
37966 return this.isClass && this.name === "host-context" && this.selector != null;
37967 },
37968 get$minSpecificity() {
37969 if (this._pseudo$_minSpecificity == null)
37970 this._pseudo$_computeSpecificity$0();
37971 var t1 = this._pseudo$_minSpecificity;
37972 t1.toString;
37973 return t1;
37974 },
37975 get$maxSpecificity() {
37976 if (this._pseudo$_maxSpecificity == null)
37977 this._pseudo$_computeSpecificity$0();
37978 var t1 = this._pseudo$_maxSpecificity;
37979 t1.toString;
37980 return t1;
37981 },
37982 get$isInvisible() {
37983 var selector = this.selector;
37984 if (selector == null)
37985 return false;
37986 return this.name !== "not" && selector.get$isInvisible();
37987 },
37988 addSuffix$1(suffix) {
37989 var _this = this;
37990 if (_this.argument != null || _this.selector != null)
37991 _this.super$SimpleSelector$addSuffix(suffix);
37992 return A.PseudoSelector$(_this.name + suffix, null, !_this.isClass, null);
37993 },
37994 unify$1(compound) {
37995 var other, result, t2, addedThis, _i, simple, _this = this,
37996 t1 = _this.name;
37997 if (t1 === "host" || t1 === "host-context") {
37998 if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
37999 return null;
38000 } else if (compound.length === 1) {
38001 other = B.JSArray_methods.get$first(compound);
38002 if (!(other instanceof A.UniversalSelector))
38003 if (other instanceof A.PseudoSelector)
38004 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
38005 else
38006 t1 = false;
38007 else
38008 t1 = true;
38009 if (t1)
38010 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
38011 }
38012 if (B.JSArray_methods.contains$1(compound, _this))
38013 return compound;
38014 result = A._setArrayType([], type$.JSArray_SimpleSelector);
38015 for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
38016 simple = compound[_i];
38017 if (simple instanceof A.PseudoSelector && !simple.isClass) {
38018 if (t2)
38019 return null;
38020 result.push(_this);
38021 addedThis = true;
38022 }
38023 result.push(simple);
38024 }
38025 if (!addedThis)
38026 result.push(_this);
38027 return result;
38028 },
38029 _pseudo$_computeSpecificity$0() {
38030 var selector, t1, t2, minSpecificity, maxSpecificity, _i, complex, t3, _this = this;
38031 if (!_this.isClass) {
38032 _this._pseudo$_maxSpecificity = _this._pseudo$_minSpecificity = 1;
38033 return;
38034 }
38035 selector = _this.selector;
38036 if (selector == null) {
38037 _this._pseudo$_minSpecificity = A.SimpleSelector.prototype.get$minSpecificity.call(_this);
38038 _this._pseudo$_maxSpecificity = A.SimpleSelector.prototype.get$maxSpecificity.call(_this);
38039 return;
38040 }
38041 if (_this.name === "not") {
38042 for (t1 = selector.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
38043 complex = t1[_i];
38044 if (complex._minSpecificity == null)
38045 complex._computeSpecificity$0();
38046 t3 = complex._minSpecificity;
38047 t3.toString;
38048 minSpecificity = Math.max(minSpecificity, t3);
38049 if (complex._complex$_maxSpecificity == null)
38050 complex._computeSpecificity$0();
38051 t3 = complex._complex$_maxSpecificity;
38052 t3.toString;
38053 maxSpecificity = Math.max(maxSpecificity, t3);
38054 }
38055 _this._pseudo$_minSpecificity = minSpecificity;
38056 _this._pseudo$_maxSpecificity = maxSpecificity;
38057 } else {
38058 minSpecificity = A._asInt(Math.pow(A.SimpleSelector.prototype.get$minSpecificity.call(_this), 3));
38059 for (t1 = selector.components, t2 = t1.length, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
38060 complex = t1[_i];
38061 if (complex._minSpecificity == null)
38062 complex._computeSpecificity$0();
38063 t3 = complex._minSpecificity;
38064 t3.toString;
38065 minSpecificity = Math.min(minSpecificity, t3);
38066 if (complex._complex$_maxSpecificity == null)
38067 complex._computeSpecificity$0();
38068 t3 = complex._complex$_maxSpecificity;
38069 t3.toString;
38070 maxSpecificity = Math.max(maxSpecificity, t3);
38071 }
38072 _this._pseudo$_minSpecificity = minSpecificity;
38073 _this._pseudo$_maxSpecificity = maxSpecificity;
38074 }
38075 },
38076 accept$1$1(visitor) {
38077 return visitor.visitPseudoSelector$1(this);
38078 },
38079 accept$1(visitor) {
38080 return this.accept$1$1(visitor, type$.dynamic);
38081 },
38082 $eq(_, other) {
38083 var _this = this;
38084 if (other == null)
38085 return false;
38086 return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
38087 },
38088 get$hashCode(_) {
38089 var _this = this,
38090 t1 = B.JSString_methods.get$hashCode(_this.name),
38091 t2 = !_this.isClass ? 519018 : 218159;
38092 return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
38093 }
38094 };
38095 A.PseudoSelector_unify_closure.prototype = {
38096 call$1(simple) {
38097 var t1;
38098 if (simple instanceof A.PseudoSelector)
38099 t1 = simple.isClass && simple.name === "host" || simple.selector != null;
38100 else
38101 t1 = false;
38102 return t1;
38103 },
38104 $signature: 16
38105 };
38106 A.QualifiedName.prototype = {
38107 $eq(_, other) {
38108 if (other == null)
38109 return false;
38110 return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
38111 },
38112 get$hashCode(_) {
38113 return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
38114 },
38115 toString$0(_) {
38116 var t1 = this.namespace,
38117 t2 = this.name;
38118 return t1 == null ? t2 : t1 + "|" + t2;
38119 }
38120 };
38121 A.SimpleSelector.prototype = {
38122 get$minSpecificity() {
38123 return 1000;
38124 },
38125 get$maxSpecificity() {
38126 return this.get$minSpecificity();
38127 },
38128 addSuffix$1(suffix) {
38129 return A.throwExpression(A.SassScriptException$('Invalid parent selector "' + this.toString$0(0) + '"'));
38130 },
38131 unify$1(compound) {
38132 var other, t1, result, addedThis, _i, simple, _this = this;
38133 if (compound.length === 1) {
38134 other = B.JSArray_methods.get$first(compound);
38135 if (!(other instanceof A.UniversalSelector))
38136 if (other instanceof A.PseudoSelector)
38137 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
38138 else
38139 t1 = false;
38140 else
38141 t1 = true;
38142 if (t1)
38143 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
38144 }
38145 if (B.JSArray_methods.contains$1(compound, _this))
38146 return compound;
38147 result = A._setArrayType([], type$.JSArray_SimpleSelector);
38148 for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
38149 simple = compound[_i];
38150 if (!addedThis && simple instanceof A.PseudoSelector) {
38151 result.push(_this);
38152 addedThis = true;
38153 }
38154 result.push(simple);
38155 }
38156 if (!addedThis)
38157 result.push(_this);
38158 return result;
38159 }
38160 };
38161 A.TypeSelector.prototype = {
38162 get$minSpecificity() {
38163 return 1;
38164 },
38165 accept$1$1(visitor) {
38166 visitor._serialize$_buffer.write$1(0, this.name);
38167 return null;
38168 },
38169 accept$1(visitor) {
38170 return this.accept$1$1(visitor, type$.dynamic);
38171 },
38172 addSuffix$1(suffix) {
38173 var t1 = this.name;
38174 return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace));
38175 },
38176 unify$1(compound) {
38177 var unified, t1;
38178 if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector) {
38179 unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
38180 if (unified == null)
38181 return null;
38182 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
38183 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
38184 return t1;
38185 } else {
38186 t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
38187 B.JSArray_methods.addAll$1(t1, compound);
38188 return t1;
38189 }
38190 },
38191 $eq(_, other) {
38192 if (other == null)
38193 return false;
38194 return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
38195 },
38196 get$hashCode(_) {
38197 var t1 = this.name;
38198 return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
38199 }
38200 };
38201 A.UniversalSelector.prototype = {
38202 get$minSpecificity() {
38203 return 0;
38204 },
38205 accept$1$1(visitor) {
38206 var t2,
38207 t1 = this.namespace;
38208 if (t1 != null) {
38209 t2 = visitor._serialize$_buffer;
38210 t2.write$1(0, t1);
38211 t2.writeCharCode$1(124);
38212 }
38213 visitor._serialize$_buffer.writeCharCode$1(42);
38214 return null;
38215 },
38216 accept$1(visitor) {
38217 return this.accept$1$1(visitor, type$.dynamic);
38218 },
38219 unify$1(compound) {
38220 var unified, t1, _this = this,
38221 first = B.JSArray_methods.get$first(compound);
38222 if (first instanceof A.UniversalSelector || first instanceof A.TypeSelector) {
38223 unified = A.unifyUniversalAndElement(_this, first);
38224 if (unified == null)
38225 return null;
38226 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
38227 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
38228 return t1;
38229 } else {
38230 if (compound.length === 1)
38231 if (first instanceof A.PseudoSelector)
38232 t1 = first.isClass && first.name === "host" || first.get$isHostContext();
38233 else
38234 t1 = false;
38235 else
38236 t1 = false;
38237 if (t1)
38238 return null;
38239 }
38240 t1 = _this.namespace;
38241 if (t1 != null && t1 !== "*") {
38242 t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
38243 B.JSArray_methods.addAll$1(t1, compound);
38244 return t1;
38245 }
38246 if (compound.length !== 0)
38247 return compound;
38248 return A._setArrayType([_this], type$.JSArray_SimpleSelector);
38249 },
38250 $eq(_, other) {
38251 if (other == null)
38252 return false;
38253 return other instanceof A.UniversalSelector && other.namespace == this.namespace;
38254 },
38255 get$hashCode(_) {
38256 return J.get$hashCode$(this.namespace);
38257 }
38258 };
38259 A._compileStylesheet_closure0.prototype = {
38260 call$1(url) {
38261 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);
38262 },
38263 $signature: 5
38264 };
38265 A.AsyncEnvironment.prototype = {
38266 closure$0() {
38267 var t4, t5, t6, _this = this,
38268 t1 = _this._async_environment$_forwardedModules,
38269 t2 = _this._async_environment$_nestedForwardedModules,
38270 t3 = _this._async_environment$_variables;
38271 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
38272 t4 = _this._async_environment$_variableNodes;
38273 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
38274 t5 = _this._async_environment$_functions;
38275 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
38276 t6 = _this._async_environment$_mixins;
38277 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
38278 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);
38279 },
38280 addModule$3$namespace(module, nodeWithSpan, namespace) {
38281 var t1, t2, span, _this = this;
38282 if (namespace == null) {
38283 _this._async_environment$_globalModules.$indexSet(0, module, nodeWithSpan);
38284 _this._async_environment$_allModules.push(module);
38285 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment$_variables))); t1.moveNext$0();) {
38286 t2 = t1.get$current(t1);
38287 if (module.get$variables().containsKey$1(t2))
38288 throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".'));
38289 }
38290 } else {
38291 t1 = _this._async_environment$_modules;
38292 if (t1.containsKey$1(namespace)) {
38293 t1 = _this._async_environment$_namespaceNodes.$index(0, namespace);
38294 span = t1 == null ? null : t1.span;
38295 t1 = string$.There_ + namespace + '".';
38296 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
38297 if (span != null)
38298 t2.$indexSet(0, span, "original @use");
38299 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @use", t2));
38300 }
38301 t1.$indexSet(0, namespace, module);
38302 _this._async_environment$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
38303 _this._async_environment$_allModules.push(module);
38304 }
38305 },
38306 forwardModule$2(module, rule) {
38307 var view, t1, t2, _this = this,
38308 forwardedModules = _this._async_environment$_forwardedModules;
38309 if (forwardedModules == null)
38310 forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
38311 view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
38312 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
38313 t2 = t1.get$current(t1);
38314 _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
38315 _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
38316 _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
38317 }
38318 _this._async_environment$_allModules.push(module);
38319 forwardedModules.$indexSet(0, view, rule);
38320 },
38321 _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
38322 var larger, smaller, t1, t2, $name, span;
38323 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
38324 larger = oldMembers;
38325 smaller = newMembers;
38326 } else {
38327 larger = newMembers;
38328 smaller = oldMembers;
38329 }
38330 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
38331 $name = t1.get$current(t1);
38332 if (!larger.containsKey$1($name))
38333 continue;
38334 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
38335 continue;
38336 if (t2)
38337 $name = "$" + $name;
38338 t1 = this._async_environment$_forwardedModules;
38339 if (t1 == null)
38340 span = null;
38341 else {
38342 t1 = t1.$index(0, oldModule);
38343 span = t1 == null ? null : J.get$span$z(t1);
38344 }
38345 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
38346 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
38347 if (span != null)
38348 t2.$indexSet(0, span, "original @forward");
38349 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @forward", t2));
38350 }
38351 },
38352 importForwards$1(module) {
38353 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
38354 forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
38355 if (forwarded == null)
38356 return;
38357 forwardedModules = _this._async_environment$_forwardedModules;
38358 if (forwardedModules != null) {
38359 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
38360 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment$_globalModules; t2.moveNext$0();) {
38361 t4 = t2.get$current(t2);
38362 t5 = t4.key;
38363 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
38364 t1.$indexSet(0, t5, t4.value);
38365 }
38366 forwarded = t1;
38367 } else
38368 forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
38369 t1 = forwarded.get$keys(forwarded);
38370 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
38371 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure(), t2), t2._eval$1("Iterable.E"));
38372 t2 = forwarded.get$keys(forwarded);
38373 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
38374 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.AsyncEnvironment_importForwards_closure0(), t1), t1._eval$1("Iterable.E"));
38375 t1 = forwarded.get$keys(forwarded);
38376 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
38377 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure1(), t2), t2._eval$1("Iterable.E"));
38378 t1 = _this._async_environment$_variables;
38379 t2 = t1.length;
38380 if (t2 === 1) {
38381 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) {
38382 entry = t3[_i];
38383 module = entry.key;
38384 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
38385 if (shadowed != null) {
38386 t2.remove$1(0, module);
38387 t6 = shadowed.variables;
38388 if (t6.get$isEmpty(t6)) {
38389 t6 = shadowed.functions;
38390 if (t6.get$isEmpty(t6)) {
38391 t6 = shadowed.mixins;
38392 if (t6.get$isEmpty(t6)) {
38393 t6 = shadowed._shadowed_view$_inner;
38394 t6 = t6.get$css(t6);
38395 t6 = J.get$isEmpty$asx(t6.get$children(t6));
38396 } else
38397 t6 = false;
38398 } else
38399 t6 = false;
38400 } else
38401 t6 = false;
38402 if (!t6)
38403 t2.$indexSet(0, shadowed, entry.value);
38404 }
38405 }
38406 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) {
38407 entry = t3[_i];
38408 module = entry.key;
38409 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
38410 if (shadowed != null) {
38411 forwardedModules.remove$1(0, module);
38412 t6 = shadowed.variables;
38413 if (t6.get$isEmpty(t6)) {
38414 t6 = shadowed.functions;
38415 if (t6.get$isEmpty(t6)) {
38416 t6 = shadowed.mixins;
38417 if (t6.get$isEmpty(t6)) {
38418 t6 = shadowed._shadowed_view$_inner;
38419 t6 = t6.get$css(t6);
38420 t6 = J.get$isEmpty$asx(t6.get$children(t6));
38421 } else
38422 t6 = false;
38423 } else
38424 t6 = false;
38425 } else
38426 t6 = false;
38427 if (!t6)
38428 forwardedModules.$indexSet(0, shadowed, entry.value);
38429 }
38430 }
38431 t2.addAll$1(0, forwarded);
38432 forwardedModules.addAll$1(0, forwarded);
38433 } else {
38434 t3 = _this._async_environment$_nestedForwardedModules;
38435 if (t3 == null) {
38436 _length = t2 - 1;
38437 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
38438 for (t2 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
38439 _list[_i] = A._setArrayType([], t2);
38440 _this._async_environment$_nestedForwardedModules = _list;
38441 t2 = _list;
38442 } else
38443 t2 = t3;
38444 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
38445 }
38446 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();) {
38447 t6 = t3._as(t2._collection$_current);
38448 t4.remove$1(0, t6);
38449 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
38450 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
38451 }
38452 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();) {
38453 t5 = t2._as(t1._collection$_current);
38454 t3.remove$1(0, t5);
38455 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
38456 }
38457 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();) {
38458 t5 = t2._as(t1._collection$_current);
38459 t3.remove$1(0, t5);
38460 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
38461 }
38462 },
38463 getVariable$2$namespace($name, namespace) {
38464 var t1, index, _this = this;
38465 if (namespace != null)
38466 return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
38467 if (_this._async_environment$_lastVariableName === $name) {
38468 t1 = _this._async_environment$_lastVariableIndex;
38469 t1.toString;
38470 t1 = J.$index$asx(_this._async_environment$_variables[t1], $name);
38471 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38472 }
38473 t1 = _this._async_environment$_variableIndices;
38474 index = t1.$index(0, $name);
38475 if (index != null) {
38476 _this._async_environment$_lastVariableName = $name;
38477 _this._async_environment$_lastVariableIndex = index;
38478 t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
38479 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38480 }
38481 index = _this._async_environment$_variableIndex$1($name);
38482 if (index == null)
38483 return _this._async_environment$_getVariableFromGlobalModule$1($name);
38484 _this._async_environment$_lastVariableName = $name;
38485 _this._async_environment$_lastVariableIndex = index;
38486 t1.$indexSet(0, $name, index);
38487 t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
38488 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38489 },
38490 getVariable$1($name) {
38491 return this.getVariable$2$namespace($name, null);
38492 },
38493 _async_environment$_getVariableFromGlobalModule$1($name) {
38494 return this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name), type$.Value);
38495 },
38496 getVariableNode$2$namespace($name, namespace) {
38497 var t1, index, _this = this;
38498 if (namespace != null)
38499 return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
38500 if (_this._async_environment$_lastVariableName === $name) {
38501 t1 = _this._async_environment$_lastVariableIndex;
38502 t1.toString;
38503 t1 = J.$index$asx(_this._async_environment$_variableNodes[t1], $name);
38504 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38505 }
38506 t1 = _this._async_environment$_variableIndices;
38507 index = t1.$index(0, $name);
38508 if (index != null) {
38509 _this._async_environment$_lastVariableName = $name;
38510 _this._async_environment$_lastVariableIndex = index;
38511 t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
38512 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38513 }
38514 index = _this._async_environment$_variableIndex$1($name);
38515 if (index == null)
38516 return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
38517 _this._async_environment$_lastVariableName = $name;
38518 _this._async_environment$_lastVariableIndex = index;
38519 t1.$indexSet(0, $name, index);
38520 t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
38521 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38522 },
38523 _async_environment$_getVariableNodeFromGlobalModule$1($name) {
38524 var t1, t2, value;
38525 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();) {
38526 t1 = t2._currentIterator;
38527 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
38528 if (value != null)
38529 return value;
38530 }
38531 return null;
38532 },
38533 globalVariableExists$2$namespace($name, namespace) {
38534 if (namespace != null)
38535 return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
38536 if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
38537 return true;
38538 return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
38539 },
38540 globalVariableExists$1($name) {
38541 return this.globalVariableExists$2$namespace($name, null);
38542 },
38543 _async_environment$_variableIndex$1($name) {
38544 var t1, i;
38545 for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
38546 if (t1[i].containsKey$1($name))
38547 return i;
38548 return null;
38549 },
38550 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
38551 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
38552 if (namespace != null) {
38553 _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
38554 return;
38555 }
38556 if (global || _this._async_environment$_variables.length === 1) {
38557 _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
38558 t1 = _this._async_environment$_variables;
38559 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
38560 moduleWithName = _this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name), type$.Module_AsyncCallable);
38561 if (moduleWithName != null) {
38562 moduleWithName.setVariable$3($name, value, nodeWithSpan);
38563 return;
38564 }
38565 }
38566 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
38567 J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
38568 return;
38569 }
38570 nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
38571 if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
38572 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();)
38573 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();) {
38574 t5 = t4._as(t3.__internal$_current);
38575 if (t5.get$variables().containsKey$1($name)) {
38576 t5.setVariable$3($name, value, nodeWithSpan);
38577 return;
38578 }
38579 }
38580 if (_this._async_environment$_lastVariableName === $name) {
38581 t1 = _this._async_environment$_lastVariableIndex;
38582 t1.toString;
38583 index = t1;
38584 } else
38585 index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
38586 if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
38587 index = _this._async_environment$_variables.length - 1;
38588 _this._async_environment$_variableIndices.$indexSet(0, $name, index);
38589 }
38590 _this._async_environment$_lastVariableName = $name;
38591 _this._async_environment$_lastVariableIndex = index;
38592 J.$indexSet$ax(_this._async_environment$_variables[index], $name, value);
38593 J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
38594 },
38595 setVariable$4$global($name, value, nodeWithSpan, global) {
38596 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
38597 },
38598 setLocalVariable$3($name, value, nodeWithSpan) {
38599 var index, _this = this,
38600 t1 = _this._async_environment$_variables,
38601 t2 = t1.length;
38602 _this._async_environment$_lastVariableName = $name;
38603 index = _this._async_environment$_lastVariableIndex = t2 - 1;
38604 _this._async_environment$_variableIndices.$indexSet(0, $name, index);
38605 J.$indexSet$ax(t1[index], $name, value);
38606 J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
38607 },
38608 getFunction$2$namespace($name, namespace) {
38609 var t1, index, _this = this;
38610 if (namespace != null) {
38611 t1 = _this._async_environment$_getModule$1(namespace);
38612 return t1.get$functions(t1).$index(0, $name);
38613 }
38614 t1 = _this._async_environment$_functionIndices;
38615 index = t1.$index(0, $name);
38616 if (index != null) {
38617 t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
38618 return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
38619 }
38620 index = _this._async_environment$_functionIndex$1($name);
38621 if (index == null)
38622 return _this._async_environment$_getFunctionFromGlobalModule$1($name);
38623 t1.$indexSet(0, $name, index);
38624 t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
38625 return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
38626 },
38627 _async_environment$_getFunctionFromGlobalModule$1($name) {
38628 return this._async_environment$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name), type$.AsyncCallable);
38629 },
38630 _async_environment$_functionIndex$1($name) {
38631 var t1, i;
38632 for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
38633 if (t1[i].containsKey$1($name))
38634 return i;
38635 return null;
38636 },
38637 getMixin$2$namespace($name, namespace) {
38638 var t1, index, _this = this;
38639 if (namespace != null)
38640 return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
38641 t1 = _this._async_environment$_mixinIndices;
38642 index = t1.$index(0, $name);
38643 if (index != null) {
38644 t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
38645 return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
38646 }
38647 index = _this._async_environment$_mixinIndex$1($name);
38648 if (index == null)
38649 return _this._async_environment$_getMixinFromGlobalModule$1($name);
38650 t1.$indexSet(0, $name, index);
38651 t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
38652 return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
38653 },
38654 _async_environment$_getMixinFromGlobalModule$1($name) {
38655 return this._async_environment$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name), type$.AsyncCallable);
38656 },
38657 _async_environment$_mixinIndex$1($name) {
38658 var t1, i;
38659 for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
38660 if (t1[i].containsKey$1($name))
38661 return i;
38662 return null;
38663 },
38664 withContent$2($content, callback) {
38665 return this.withContent$body$AsyncEnvironment($content, callback);
38666 },
38667 withContent$body$AsyncEnvironment($content, callback) {
38668 var $async$goto = 0,
38669 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
38670 $async$self = this, oldContent;
38671 var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38672 if ($async$errorCode === 1)
38673 return A._asyncRethrow($async$result, $async$completer);
38674 while (true)
38675 switch ($async$goto) {
38676 case 0:
38677 // Function start
38678 oldContent = $async$self._async_environment$_content;
38679 $async$self._async_environment$_content = $content;
38680 $async$goto = 2;
38681 return A._asyncAwait(callback.call$0(), $async$withContent$2);
38682 case 2:
38683 // returning from await.
38684 $async$self._async_environment$_content = oldContent;
38685 // implicit return
38686 return A._asyncReturn(null, $async$completer);
38687 }
38688 });
38689 return A._asyncStartSync($async$withContent$2, $async$completer);
38690 },
38691 asMixin$1(callback) {
38692 var $async$goto = 0,
38693 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
38694 $async$self = this, oldInMixin;
38695 var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38696 if ($async$errorCode === 1)
38697 return A._asyncRethrow($async$result, $async$completer);
38698 while (true)
38699 switch ($async$goto) {
38700 case 0:
38701 // Function start
38702 oldInMixin = $async$self._async_environment$_inMixin;
38703 $async$self._async_environment$_inMixin = true;
38704 $async$goto = 2;
38705 return A._asyncAwait(callback.call$0(), $async$asMixin$1);
38706 case 2:
38707 // returning from await.
38708 $async$self._async_environment$_inMixin = oldInMixin;
38709 // implicit return
38710 return A._asyncReturn(null, $async$completer);
38711 }
38712 });
38713 return A._asyncStartSync($async$asMixin$1, $async$completer);
38714 },
38715 scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
38716 return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
38717 },
38718 scope$1$1(callback, $T) {
38719 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
38720 },
38721 scope$1$2$when(callback, when, $T) {
38722 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
38723 },
38724 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
38725 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
38726 },
38727 scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
38728 var $async$goto = 0,
38729 $async$completer = A._makeAsyncAwaitCompleter($async$type),
38730 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5;
38731 var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38732 if ($async$errorCode === 1) {
38733 $async$currentError = $async$result;
38734 $async$goto = $async$handler;
38735 }
38736 while (true)
38737 switch ($async$goto) {
38738 case 0:
38739 // Function start
38740 semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
38741 wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
38742 $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
38743 $async$goto = !when ? 3 : 4;
38744 break;
38745 case 3:
38746 // then
38747 $async$handler = 5;
38748 $async$goto = 8;
38749 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
38750 case 8:
38751 // returning from await.
38752 t1 = $async$result;
38753 $async$returnValue = t1;
38754 $async$next = [1];
38755 // goto finally
38756 $async$goto = 6;
38757 break;
38758 $async$next.push(7);
38759 // goto finally
38760 $async$goto = 6;
38761 break;
38762 case 5:
38763 // uncaught
38764 $async$next = [2];
38765 case 6:
38766 // finally
38767 $async$handler = 2;
38768 $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
38769 // goto the next finally handler
38770 $async$goto = $async$next.pop();
38771 break;
38772 case 7:
38773 // after finally
38774 case 4:
38775 // join
38776 t1 = $async$self._async_environment$_variables;
38777 t2 = type$.String;
38778 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
38779 B.JSArray_methods.add$1($async$self._async_environment$_variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
38780 t3 = $async$self._async_environment$_functions;
38781 t4 = type$.AsyncCallable;
38782 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
38783 t5 = $async$self._async_environment$_mixins;
38784 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
38785 t4 = $async$self._async_environment$_nestedForwardedModules;
38786 if (t4 != null)
38787 t4.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
38788 $async$handler = 9;
38789 $async$goto = 12;
38790 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
38791 case 12:
38792 // returning from await.
38793 t2 = $async$result;
38794 $async$returnValue = t2;
38795 $async$next = [1];
38796 // goto finally
38797 $async$goto = 10;
38798 break;
38799 $async$next.push(11);
38800 // goto finally
38801 $async$goto = 10;
38802 break;
38803 case 9:
38804 // uncaught
38805 $async$next = [2];
38806 case 10:
38807 // finally
38808 $async$handler = 2;
38809 $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
38810 $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
38811 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();) {
38812 $name = t1.get$current(t1);
38813 t2.remove$1(0, $name);
38814 }
38815 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();) {
38816 name0 = t1.get$current(t1);
38817 t2.remove$1(0, name0);
38818 }
38819 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();) {
38820 name1 = t1.get$current(t1);
38821 t2.remove$1(0, name1);
38822 }
38823 t1 = $async$self._async_environment$_nestedForwardedModules;
38824 if (t1 != null)
38825 t1.pop();
38826 // goto the next finally handler
38827 $async$goto = $async$next.pop();
38828 break;
38829 case 11:
38830 // after finally
38831 case 1:
38832 // return
38833 return A._asyncReturn($async$returnValue, $async$completer);
38834 case 2:
38835 // rethrow
38836 return A._asyncRethrow($async$currentError, $async$completer);
38837 }
38838 });
38839 return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
38840 },
38841 toImplicitConfiguration$0() {
38842 var t1, t2, i, values, nodes, t3, t4, t5, t6,
38843 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
38844 for (t1 = this._async_environment$_variables, t2 = this._async_environment$_variableNodes, i = 0; i < t1.length; ++i) {
38845 values = t1[i];
38846 nodes = t2[i];
38847 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
38848 t4 = t3.get$current(t3);
38849 t5 = t4.key;
38850 t4 = t4.value;
38851 t6 = nodes.$index(0, t5);
38852 t6.toString;
38853 configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
38854 }
38855 }
38856 return new A.Configuration(configuration);
38857 },
38858 toModule$2(css, extensionStore) {
38859 return A._EnvironmentModule__EnvironmentModule0(this, css, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
38860 },
38861 toDummyModule$0() {
38862 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()));
38863 },
38864 _async_environment$_getModule$1(namespace) {
38865 var module = this._async_environment$_modules.$index(0, namespace);
38866 if (module != null)
38867 return module;
38868 throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".'));
38869 },
38870 _async_environment$_fromOneModule$1$3($name, type, callback, $T) {
38871 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
38872 nestedForwardedModules = this._async_environment$_nestedForwardedModules;
38873 if (nestedForwardedModules != null)
38874 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();)
38875 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();) {
38876 value = callback.call$1(t4._as(t3.__internal$_current));
38877 if (value != null)
38878 return value;
38879 }
38880 for (t1 = this._async_environment$_importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
38881 value = callback.call$1(t1.get$current(t1));
38882 if (value != null)
38883 return value;
38884 }
38885 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();) {
38886 t4 = t2.get$current(t2);
38887 valueInModule = callback.call$1(t4);
38888 if (valueInModule == null)
38889 continue;
38890 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
38891 if (identityFromModule.$eq(0, identity))
38892 continue;
38893 if (value != null) {
38894 spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
38895 t2 = "This " + type + string$.x20is_av;
38896 t3 = type + " use";
38897 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
38898 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
38899 t5 = t1.get$current(t1);
38900 if (t5 != null)
38901 t4.$indexSet(0, t5, "includes " + type);
38902 }
38903 throw A.wrapException(A.MultiSpanSassScriptException$(t2, t3, t4));
38904 }
38905 identity = identityFromModule;
38906 value = valueInModule;
38907 }
38908 return value;
38909 }
38910 };
38911 A.AsyncEnvironment_importForwards_closure.prototype = {
38912 call$1(module) {
38913 var t1 = module.get$variables();
38914 return t1.get$keys(t1);
38915 },
38916 $signature: 113
38917 };
38918 A.AsyncEnvironment_importForwards_closure0.prototype = {
38919 call$1(module) {
38920 var t1 = module.get$functions(module);
38921 return t1.get$keys(t1);
38922 },
38923 $signature: 113
38924 };
38925 A.AsyncEnvironment_importForwards_closure1.prototype = {
38926 call$1(module) {
38927 var t1 = module.get$mixins();
38928 return t1.get$keys(t1);
38929 },
38930 $signature: 113
38931 };
38932 A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
38933 call$1(module) {
38934 return module.get$variables().$index(0, this.name);
38935 },
38936 $signature: 548
38937 };
38938 A.AsyncEnvironment_setVariable_closure.prototype = {
38939 call$0() {
38940 var t1 = this.$this;
38941 t1._async_environment$_lastVariableName = this.name;
38942 return t1._async_environment$_lastVariableIndex = 0;
38943 },
38944 $signature: 12
38945 };
38946 A.AsyncEnvironment_setVariable_closure0.prototype = {
38947 call$1(module) {
38948 return module.get$variables().containsKey$1(this.name) ? module : null;
38949 },
38950 $signature: 557
38951 };
38952 A.AsyncEnvironment_setVariable_closure1.prototype = {
38953 call$0() {
38954 var t1 = this.$this,
38955 t2 = t1._async_environment$_variableIndex$1(this.name);
38956 return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
38957 },
38958 $signature: 12
38959 };
38960 A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
38961 call$1(module) {
38962 return module.get$functions(module).$index(0, this.name);
38963 },
38964 $signature: 170
38965 };
38966 A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
38967 call$1(module) {
38968 return module.get$mixins().$index(0, this.name);
38969 },
38970 $signature: 170
38971 };
38972 A.AsyncEnvironment_toModule_closure.prototype = {
38973 call$1(modules) {
38974 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
38975 },
38976 $signature: 217
38977 };
38978 A.AsyncEnvironment_toDummyModule_closure.prototype = {
38979 call$1(modules) {
38980 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
38981 },
38982 $signature: 217
38983 };
38984 A.AsyncEnvironment__fromOneModule_closure.prototype = {
38985 call$1(entry) {
38986 return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure(entry, this.T));
38987 },
38988 $signature: 610
38989 };
38990 A.AsyncEnvironment__fromOneModule__closure.prototype = {
38991 call$1(_) {
38992 return J.get$span$z(this.entry.value);
38993 },
38994 $signature() {
38995 return this.T._eval$1("FileSpan(0)");
38996 }
38997 };
38998 A._EnvironmentModule0.prototype = {
38999 get$url(_) {
39000 var t1 = this.css;
39001 return t1.get$span(t1).file.url;
39002 },
39003 setVariable$3($name, value, nodeWithSpan) {
39004 var t1, t2,
39005 module = this._async_environment$_modulesByVariable.$index(0, $name);
39006 if (module != null) {
39007 module.setVariable$3($name, value, nodeWithSpan);
39008 return;
39009 }
39010 t1 = this._async_environment$_environment;
39011 t2 = t1._async_environment$_variables;
39012 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
39013 throw A.wrapException(A.SassScriptException$("Undefined variable."));
39014 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
39015 J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
39016 return;
39017 },
39018 variableIdentity$1($name) {
39019 var module = this._async_environment$_modulesByVariable.$index(0, $name);
39020 return module == null ? this : module.variableIdentity$1($name);
39021 },
39022 cloneCss$0() {
39023 var newCssAndExtensionStore, _this = this,
39024 t1 = _this.css;
39025 if (J.get$isEmpty$asx(t1.get$children(t1)))
39026 return _this;
39027 newCssAndExtensionStore = A.cloneCssStylesheet(t1, _this.extensionStore);
39028 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);
39029 },
39030 toString$0(_) {
39031 var t1 = this.css;
39032 if (t1.get$span(t1).file.url == null)
39033 t1 = "<unknown url>";
39034 else {
39035 t1 = t1.get$span(t1);
39036 t1 = $.$get$context().prettyUri$1(t1.file.url);
39037 }
39038 return t1;
39039 },
39040 $isModule: 1,
39041 get$upstream() {
39042 return this.upstream;
39043 },
39044 get$variables() {
39045 return this.variables;
39046 },
39047 get$variableNodes() {
39048 return this.variableNodes;
39049 },
39050 get$functions(receiver) {
39051 return this.functions;
39052 },
39053 get$mixins() {
39054 return this.mixins;
39055 },
39056 get$extensionStore() {
39057 return this.extensionStore;
39058 },
39059 get$css(receiver) {
39060 return this.css;
39061 },
39062 get$transitivelyContainsCss() {
39063 return this.transitivelyContainsCss;
39064 },
39065 get$transitivelyContainsExtensions() {
39066 return this.transitivelyContainsExtensions;
39067 }
39068 };
39069 A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
39070 call$1(module) {
39071 return module.get$variables();
39072 },
39073 $signature: 271
39074 };
39075 A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
39076 call$1(module) {
39077 return module.get$variableNodes();
39078 },
39079 $signature: 281
39080 };
39081 A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
39082 call$1(module) {
39083 return module.get$functions(module);
39084 },
39085 $signature: 182
39086 };
39087 A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
39088 call$1(module) {
39089 return module.get$mixins();
39090 },
39091 $signature: 182
39092 };
39093 A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
39094 call$1(module) {
39095 return module.get$transitivelyContainsCss();
39096 },
39097 $signature: 111
39098 };
39099 A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
39100 call$1(module) {
39101 return module.get$transitivelyContainsExtensions();
39102 },
39103 $signature: 111
39104 };
39105 A.AsyncImportCache.prototype = {
39106 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
39107 return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
39108 },
39109 canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
39110 var $async$goto = 0,
39111 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
39112 $async$returnValue, $async$self = this, t1, relativeResult;
39113 var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
39114 if ($async$errorCode === 1)
39115 return A._asyncRethrow($async$result, $async$completer);
39116 while (true)
39117 switch ($async$goto) {
39118 case 0:
39119 // Function start
39120 $async$goto = baseImporter != null ? 3 : 4;
39121 break;
39122 case 3:
39123 // then
39124 t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri;
39125 $async$goto = 5;
39126 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);
39127 case 5:
39128 // returning from await.
39129 relativeResult = $async$result;
39130 if (relativeResult != null) {
39131 $async$returnValue = relativeResult;
39132 // goto return
39133 $async$goto = 1;
39134 break;
39135 }
39136 case 4:
39137 // join
39138 t1 = type$.Tuple2_Uri_bool;
39139 $async$goto = 6;
39140 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);
39141 case 6:
39142 // returning from await.
39143 $async$returnValue = $async$result;
39144 // goto return
39145 $async$goto = 1;
39146 break;
39147 case 1:
39148 // return
39149 return A._asyncReturn($async$returnValue, $async$completer);
39150 }
39151 });
39152 return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
39153 },
39154 _async_import_cache$_canonicalize$3(importer, url, forImport) {
39155 return this._canonicalize$body$AsyncImportCache(importer, url, forImport);
39156 },
39157 _canonicalize$body$AsyncImportCache(importer, url, forImport) {
39158 var $async$goto = 0,
39159 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
39160 $async$returnValue, $async$self = this, t1, result;
39161 var $async$_async_import_cache$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
39162 if ($async$errorCode === 1)
39163 return A._asyncRethrow($async$result, $async$completer);
39164 while (true)
39165 switch ($async$goto) {
39166 case 0:
39167 // Function start
39168 if (forImport) {
39169 t1 = type$.nullable_Object;
39170 t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
39171 } else
39172 t1 = importer.canonicalize$1(0, url);
39173 $async$goto = 3;
39174 return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$3);
39175 case 3:
39176 // returning from await.
39177 result = $async$result;
39178 if ((result == null ? null : result.get$scheme()) === "")
39179 $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);
39180 $async$returnValue = result;
39181 // goto return
39182 $async$goto = 1;
39183 break;
39184 case 1:
39185 // return
39186 return A._asyncReturn($async$returnValue, $async$completer);
39187 }
39188 });
39189 return A._asyncStartSync($async$_async_import_cache$_canonicalize$3, $async$completer);
39190 },
39191 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
39192 return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet);
39193 },
39194 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
39195 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
39196 },
39197 importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet) {
39198 var $async$goto = 0,
39199 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
39200 $async$returnValue, $async$self = this;
39201 var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
39202 if ($async$errorCode === 1)
39203 return A._asyncRethrow($async$result, $async$completer);
39204 while (true)
39205 switch ($async$goto) {
39206 case 0:
39207 // Function start
39208 $async$goto = 3;
39209 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);
39210 case 3:
39211 // returning from await.
39212 $async$returnValue = $async$result;
39213 // goto return
39214 $async$goto = 1;
39215 break;
39216 case 1:
39217 // return
39218 return A._asyncReturn($async$returnValue, $async$completer);
39219 }
39220 });
39221 return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
39222 },
39223 humanize$1(canonicalUrl) {
39224 var t2, url,
39225 t1 = this._async_import_cache$_canonicalizeCache;
39226 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri);
39227 t2 = t1.$ti;
39228 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());
39229 if (url == null)
39230 return canonicalUrl;
39231 t1 = $.$get$url();
39232 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
39233 },
39234 sourceMapUrl$1(_, canonicalUrl) {
39235 var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
39236 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
39237 return t1 == null ? canonicalUrl : t1;
39238 }
39239 };
39240 A.AsyncImportCache_canonicalize_closure.prototype = {
39241 call$0() {
39242 var $async$goto = 0,
39243 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
39244 $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
39245 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
39246 if ($async$errorCode === 1)
39247 return A._asyncRethrow($async$result, $async$completer);
39248 while (true)
39249 switch ($async$goto) {
39250 case 0:
39251 // Function start
39252 t1 = $async$self.baseUrl;
39253 resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
39254 if (resolvedUrl == null)
39255 resolvedUrl = $async$self.url;
39256 t1 = $async$self.baseImporter;
39257 $async$goto = 3;
39258 return A._asyncAwait($async$self.$this._async_import_cache$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
39259 case 3:
39260 // returning from await.
39261 canonicalUrl = $async$result;
39262 if (canonicalUrl == null) {
39263 $async$returnValue = null;
39264 // goto return
39265 $async$goto = 1;
39266 break;
39267 }
39268 $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri);
39269 // goto return
39270 $async$goto = 1;
39271 break;
39272 case 1:
39273 // return
39274 return A._asyncReturn($async$returnValue, $async$completer);
39275 }
39276 });
39277 return A._asyncStartSync($async$call$0, $async$completer);
39278 },
39279 $signature: 185
39280 };
39281 A.AsyncImportCache_canonicalize_closure0.prototype = {
39282 call$0() {
39283 var $async$goto = 0,
39284 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
39285 $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
39286 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
39287 if ($async$errorCode === 1)
39288 return A._asyncRethrow($async$result, $async$completer);
39289 while (true)
39290 switch ($async$goto) {
39291 case 0:
39292 // Function start
39293 t1 = $async$self.$this, t2 = t1._async_import_cache$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
39294 case 3:
39295 // for condition
39296 if (!(_i < t2.length)) {
39297 // goto after for
39298 $async$goto = 5;
39299 break;
39300 }
39301 importer = t2[_i];
39302 $async$goto = 6;
39303 return A._asyncAwait(t1._async_import_cache$_canonicalize$3(importer, t4, t5), $async$call$0);
39304 case 6:
39305 // returning from await.
39306 canonicalUrl = $async$result;
39307 if (canonicalUrl != null) {
39308 $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri);
39309 // goto return
39310 $async$goto = 1;
39311 break;
39312 }
39313 case 4:
39314 // for update
39315 t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
39316 // goto for condition
39317 $async$goto = 3;
39318 break;
39319 case 5:
39320 // after for
39321 $async$returnValue = null;
39322 // goto return
39323 $async$goto = 1;
39324 break;
39325 case 1:
39326 // return
39327 return A._asyncReturn($async$returnValue, $async$completer);
39328 }
39329 });
39330 return A._asyncStartSync($async$call$0, $async$completer);
39331 },
39332 $signature: 185
39333 };
39334 A.AsyncImportCache__canonicalize_closure.prototype = {
39335 call$0() {
39336 return this.importer.canonicalize$1(0, this.url);
39337 },
39338 $signature: 204
39339 };
39340 A.AsyncImportCache_importCanonical_closure.prototype = {
39341 call$0() {
39342 var $async$goto = 0,
39343 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
39344 $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
39345 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
39346 if ($async$errorCode === 1)
39347 return A._asyncRethrow($async$result, $async$completer);
39348 while (true)
39349 switch ($async$goto) {
39350 case 0:
39351 // Function start
39352 t1 = $async$self.canonicalUrl;
39353 $async$goto = 3;
39354 return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
39355 case 3:
39356 // returning from await.
39357 result = $async$result;
39358 if (result == null) {
39359 $async$returnValue = null;
39360 // goto return
39361 $async$goto = 1;
39362 break;
39363 }
39364 t2 = $async$self.$this;
39365 t2._async_import_cache$_resultsCache.$indexSet(0, t1, result);
39366 t3 = result.contents;
39367 t4 = result.syntax;
39368 t1 = $async$self.originalUrl.resolveUri$1(t1);
39369 $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t4, $async$self.quiet ? $.$get$Logger_quiet() : t2._async_import_cache$_logger, t1);
39370 // goto return
39371 $async$goto = 1;
39372 break;
39373 case 1:
39374 // return
39375 return A._asyncReturn($async$returnValue, $async$completer);
39376 }
39377 });
39378 return A._asyncStartSync($async$call$0, $async$completer);
39379 },
39380 $signature: 304
39381 };
39382 A.AsyncImportCache_humanize_closure.prototype = {
39383 call$1(tuple) {
39384 return tuple.item2.$eq(0, this.canonicalUrl);
39385 },
39386 $signature: 308
39387 };
39388 A.AsyncImportCache_humanize_closure0.prototype = {
39389 call$1(tuple) {
39390 return tuple.item3;
39391 },
39392 $signature: 314
39393 };
39394 A.AsyncImportCache_humanize_closure1.prototype = {
39395 call$1(url) {
39396 return url.get$path(url).length;
39397 },
39398 $signature: 80
39399 };
39400 A.AsyncBuiltInCallable.prototype = {
39401 callbackFor$2(positional, names) {
39402 return new A.Tuple2(this._async_built_in$_arguments, this._async_built_in$_callback, type$.Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value);
39403 },
39404 $isAsyncCallable: 1,
39405 get$name(receiver) {
39406 return this.name;
39407 }
39408 };
39409 A.AsyncBuiltInCallable$mixin_closure.prototype = {
39410 call$1($arguments) {
39411 return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
39412 },
39413 $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
39414 var $async$goto = 0,
39415 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
39416 $async$returnValue, $async$self = this;
39417 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
39418 if ($async$errorCode === 1)
39419 return A._asyncRethrow($async$result, $async$completer);
39420 while (true)
39421 switch ($async$goto) {
39422 case 0:
39423 // Function start
39424 $async$goto = 3;
39425 return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
39426 case 3:
39427 // returning from await.
39428 $async$returnValue = B.C__SassNull;
39429 // goto return
39430 $async$goto = 1;
39431 break;
39432 case 1:
39433 // return
39434 return A._asyncReturn($async$returnValue, $async$completer);
39435 }
39436 });
39437 return A._asyncStartSync($async$call$1, $async$completer);
39438 },
39439 $signature: 208
39440 };
39441 A.BuiltInCallable.prototype = {
39442 callbackFor$2(positional, names) {
39443 var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
39444 for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
39445 overload = t1[_i];
39446 t3 = overload.item1;
39447 if (t3.matches$2(positional, names))
39448 return overload;
39449 mismatchDistance = t3.$arguments.length - positional;
39450 if (minMismatchDistance != null) {
39451 t3 = Math.abs(mismatchDistance);
39452 t4 = Math.abs(minMismatchDistance);
39453 if (t3 > t4)
39454 continue;
39455 if (t3 === t4 && mismatchDistance < 0)
39456 continue;
39457 }
39458 minMismatchDistance = mismatchDistance;
39459 fuzzyMatch = overload;
39460 }
39461 if (fuzzyMatch != null)
39462 return fuzzyMatch;
39463 throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
39464 },
39465 withName$1($name) {
39466 return new A.BuiltInCallable($name, this._overloads);
39467 },
39468 $isCallable: 1,
39469 $isAsyncCallable: 1,
39470 $isAsyncBuiltInCallable: 1,
39471 get$name(receiver) {
39472 return this.name;
39473 }
39474 };
39475 A.BuiltInCallable$mixin_closure.prototype = {
39476 call$1($arguments) {
39477 this.callback.call$1($arguments);
39478 return B.C__SassNull;
39479 },
39480 $signature: 4
39481 };
39482 A.PlainCssCallable.prototype = {
39483 $eq(_, other) {
39484 if (other == null)
39485 return false;
39486 return other instanceof A.PlainCssCallable && this.name === other.name;
39487 },
39488 get$hashCode(_) {
39489 return B.JSString_methods.get$hashCode(this.name);
39490 },
39491 $isCallable: 1,
39492 $isAsyncCallable: 1,
39493 get$name(receiver) {
39494 return this.name;
39495 }
39496 };
39497 A.UserDefinedCallable.prototype = {
39498 get$name(_) {
39499 return this.declaration.name;
39500 },
39501 $isCallable: 1,
39502 $isAsyncCallable: 1
39503 };
39504 A._compileStylesheet_closure.prototype = {
39505 call$1(url) {
39506 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);
39507 },
39508 $signature: 5
39509 };
39510 A.CompileResult.prototype = {};
39511 A.Configuration.prototype = {
39512 throughForward$1($forward) {
39513 var prefix, shownVariables, hiddenVariables, t1,
39514 newValues = this._values;
39515 if (newValues.get$isEmpty(newValues))
39516 return B.Configuration_Map_empty;
39517 prefix = $forward.prefix;
39518 if (prefix != null)
39519 newValues = new A.UnprefixedMapView(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue);
39520 shownVariables = $forward.shownVariables;
39521 hiddenVariables = $forward.hiddenVariables;
39522 if (shownVariables != null)
39523 newValues = new A.LimitedMapView(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
39524 else {
39525 if (hiddenVariables != null) {
39526 t1 = hiddenVariables._base;
39527 t1 = t1.get$isNotEmpty(t1);
39528 } else
39529 t1 = false;
39530 if (t1)
39531 newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
39532 }
39533 return this._withValues$1(newValues);
39534 },
39535 _withValues$1(values) {
39536 return new A.Configuration(values);
39537 },
39538 toString$0(_) {
39539 var t1 = this._values;
39540 return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure(), type$.String).join$1(0, ", ") + ")";
39541 }
39542 };
39543 A.Configuration_toString_closure.prototype = {
39544 call$1(entry) {
39545 return "$" + A.S(entry.key) + ": " + A.S(entry.value);
39546 },
39547 $signature: 321
39548 };
39549 A.ExplicitConfiguration.prototype = {
39550 _withValues$1(values) {
39551 return new A.ExplicitConfiguration(this.nodeWithSpan, values);
39552 }
39553 };
39554 A.ConfiguredValue.prototype = {
39555 toString$0(_) {
39556 return A.serializeValue(this.value, true, true);
39557 }
39558 };
39559 A.Environment.prototype = {
39560 closure$0() {
39561 var t4, t5, t6, _this = this,
39562 t1 = _this._forwardedModules,
39563 t2 = _this._nestedForwardedModules,
39564 t3 = _this._variables;
39565 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
39566 t4 = _this._variableNodes;
39567 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
39568 t5 = _this._functions;
39569 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
39570 t6 = _this._mixins;
39571 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
39572 return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
39573 },
39574 addModule$3$namespace(module, nodeWithSpan, namespace) {
39575 var t1, t2, span, _this = this;
39576 if (namespace == null) {
39577 _this._globalModules.$indexSet(0, module, nodeWithSpan);
39578 _this._allModules.push(module);
39579 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._variables))); t1.moveNext$0();) {
39580 t2 = t1.get$current(t1);
39581 if (module.get$variables().containsKey$1(t2))
39582 throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".'));
39583 }
39584 } else {
39585 t1 = _this._environment$_modules;
39586 if (t1.containsKey$1(namespace)) {
39587 t1 = _this._namespaceNodes.$index(0, namespace);
39588 span = t1 == null ? null : t1.span;
39589 t1 = string$.There_ + namespace + '".';
39590 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39591 if (span != null)
39592 t2.$indexSet(0, span, "original @use");
39593 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @use", t2));
39594 }
39595 t1.$indexSet(0, namespace, module);
39596 _this._namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
39597 _this._allModules.push(module);
39598 }
39599 },
39600 forwardModule$2(module, rule) {
39601 var view, t1, t2, _this = this,
39602 forwardedModules = _this._forwardedModules;
39603 if (forwardedModules == null)
39604 forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39605 view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
39606 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
39607 t2 = t1.get$current(t1);
39608 _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
39609 _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
39610 _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
39611 }
39612 _this._allModules.push(module);
39613 forwardedModules.$indexSet(0, view, rule);
39614 },
39615 _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
39616 var larger, smaller, t1, t2, $name, span;
39617 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
39618 larger = oldMembers;
39619 smaller = newMembers;
39620 } else {
39621 larger = newMembers;
39622 smaller = oldMembers;
39623 }
39624 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
39625 $name = t1.get$current(t1);
39626 if (!larger.containsKey$1($name))
39627 continue;
39628 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
39629 continue;
39630 if (t2)
39631 $name = "$" + $name;
39632 t1 = this._forwardedModules;
39633 if (t1 == null)
39634 span = null;
39635 else {
39636 t1 = t1.$index(0, oldModule);
39637 span = t1 == null ? null : J.get$span$z(t1);
39638 }
39639 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
39640 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39641 if (span != null)
39642 t2.$indexSet(0, span, "original @forward");
39643 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @forward", t2));
39644 }
39645 },
39646 importForwards$1(module) {
39647 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
39648 forwarded = module._environment$_environment._forwardedModules;
39649 if (forwarded == null)
39650 return;
39651 forwardedModules = _this._forwardedModules;
39652 if (forwardedModules != null) {
39653 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39654 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._globalModules; t2.moveNext$0();) {
39655 t4 = t2.get$current(t2);
39656 t5 = t4.key;
39657 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
39658 t1.$indexSet(0, t5, t4.value);
39659 }
39660 forwarded = t1;
39661 } else
39662 forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39663 t1 = forwarded.get$keys(forwarded);
39664 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
39665 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure(), t2), t2._eval$1("Iterable.E"));
39666 t2 = forwarded.get$keys(forwarded);
39667 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
39668 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.Environment_importForwards_closure0(), t1), t1._eval$1("Iterable.E"));
39669 t1 = forwarded.get$keys(forwarded);
39670 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
39671 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure1(), t2), t2._eval$1("Iterable.E"));
39672 t1 = _this._variables;
39673 t2 = t1.length;
39674 if (t2 === 1) {
39675 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) {
39676 entry = t3[_i];
39677 module = entry.key;
39678 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
39679 if (shadowed != null) {
39680 t2.remove$1(0, module);
39681 t6 = shadowed.variables;
39682 if (t6.get$isEmpty(t6)) {
39683 t6 = shadowed.functions;
39684 if (t6.get$isEmpty(t6)) {
39685 t6 = shadowed.mixins;
39686 if (t6.get$isEmpty(t6)) {
39687 t6 = shadowed._shadowed_view$_inner;
39688 t6 = t6.get$css(t6);
39689 t6 = J.get$isEmpty$asx(t6.get$children(t6));
39690 } else
39691 t6 = false;
39692 } else
39693 t6 = false;
39694 } else
39695 t6 = false;
39696 if (!t6)
39697 t2.$indexSet(0, shadowed, entry.value);
39698 }
39699 }
39700 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) {
39701 entry = t3[_i];
39702 module = entry.key;
39703 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
39704 if (shadowed != null) {
39705 forwardedModules.remove$1(0, module);
39706 t6 = shadowed.variables;
39707 if (t6.get$isEmpty(t6)) {
39708 t6 = shadowed.functions;
39709 if (t6.get$isEmpty(t6)) {
39710 t6 = shadowed.mixins;
39711 if (t6.get$isEmpty(t6)) {
39712 t6 = shadowed._shadowed_view$_inner;
39713 t6 = t6.get$css(t6);
39714 t6 = J.get$isEmpty$asx(t6.get$children(t6));
39715 } else
39716 t6 = false;
39717 } else
39718 t6 = false;
39719 } else
39720 t6 = false;
39721 if (!t6)
39722 forwardedModules.$indexSet(0, shadowed, entry.value);
39723 }
39724 }
39725 t2.addAll$1(0, forwarded);
39726 forwardedModules.addAll$1(0, forwarded);
39727 } else {
39728 t3 = _this._nestedForwardedModules;
39729 if (t3 == null) {
39730 _length = t2 - 1;
39731 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
39732 for (t2 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
39733 _list[_i] = A._setArrayType([], t2);
39734 _this._nestedForwardedModules = _list;
39735 t2 = _list;
39736 } else
39737 t2 = t3;
39738 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
39739 }
39740 for (t2 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = A._instanceType(t2)._precomputed1, t4 = _this._variableIndices, t5 = _this._variableNodes; t2.moveNext$0();) {
39741 t6 = t3._as(t2._collection$_current);
39742 t4.remove$1(0, t6);
39743 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
39744 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
39745 }
39746 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._functionIndices, t4 = _this._functions; t1.moveNext$0();) {
39747 t5 = t2._as(t1._collection$_current);
39748 t3.remove$1(0, t5);
39749 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
39750 }
39751 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._mixinIndices, t4 = _this._mixins; t1.moveNext$0();) {
39752 t5 = t2._as(t1._collection$_current);
39753 t3.remove$1(0, t5);
39754 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
39755 }
39756 },
39757 getVariable$2$namespace($name, namespace) {
39758 var t1, index, _this = this;
39759 if (namespace != null)
39760 return _this._getModule$1(namespace).get$variables().$index(0, $name);
39761 if (_this._lastVariableName === $name) {
39762 t1 = _this._lastVariableIndex;
39763 t1.toString;
39764 t1 = J.$index$asx(_this._variables[t1], $name);
39765 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39766 }
39767 t1 = _this._variableIndices;
39768 index = t1.$index(0, $name);
39769 if (index != null) {
39770 _this._lastVariableName = $name;
39771 _this._lastVariableIndex = index;
39772 t1 = J.$index$asx(_this._variables[index], $name);
39773 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39774 }
39775 index = _this._variableIndex$1($name);
39776 if (index == null)
39777 return _this._getVariableFromGlobalModule$1($name);
39778 _this._lastVariableName = $name;
39779 _this._lastVariableIndex = index;
39780 t1.$indexSet(0, $name, index);
39781 t1 = J.$index$asx(_this._variables[index], $name);
39782 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39783 },
39784 getVariable$1($name) {
39785 return this.getVariable$2$namespace($name, null);
39786 },
39787 _getVariableFromGlobalModule$1($name) {
39788 return this._fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name), type$.Value);
39789 },
39790 getVariableNode$2$namespace($name, namespace) {
39791 var t1, index, _this = this;
39792 if (namespace != null)
39793 return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
39794 if (_this._lastVariableName === $name) {
39795 t1 = _this._lastVariableIndex;
39796 t1.toString;
39797 t1 = J.$index$asx(_this._variableNodes[t1], $name);
39798 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39799 }
39800 t1 = _this._variableIndices;
39801 index = t1.$index(0, $name);
39802 if (index != null) {
39803 _this._lastVariableName = $name;
39804 _this._lastVariableIndex = index;
39805 t1 = J.$index$asx(_this._variableNodes[index], $name);
39806 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39807 }
39808 index = _this._variableIndex$1($name);
39809 if (index == null)
39810 return _this._getVariableNodeFromGlobalModule$1($name);
39811 _this._lastVariableName = $name;
39812 _this._lastVariableIndex = index;
39813 t1.$indexSet(0, $name, index);
39814 t1 = J.$index$asx(_this._variableNodes[index], $name);
39815 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39816 },
39817 _getVariableNodeFromGlobalModule$1($name) {
39818 var t1, t2, value;
39819 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();) {
39820 t1 = t2._currentIterator;
39821 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
39822 if (value != null)
39823 return value;
39824 }
39825 return null;
39826 },
39827 globalVariableExists$2$namespace($name, namespace) {
39828 if (namespace != null)
39829 return this._getModule$1(namespace).get$variables().containsKey$1($name);
39830 if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
39831 return true;
39832 return this._getVariableFromGlobalModule$1($name) != null;
39833 },
39834 globalVariableExists$1($name) {
39835 return this.globalVariableExists$2$namespace($name, null);
39836 },
39837 _variableIndex$1($name) {
39838 var t1, i;
39839 for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
39840 if (t1[i].containsKey$1($name))
39841 return i;
39842 return null;
39843 },
39844 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
39845 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
39846 if (namespace != null) {
39847 _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
39848 return;
39849 }
39850 if (global || _this._variables.length === 1) {
39851 _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
39852 t1 = _this._variables;
39853 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
39854 moduleWithName = _this._fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure0($name), type$.Module_Callable);
39855 if (moduleWithName != null) {
39856 moduleWithName.setVariable$3($name, value, nodeWithSpan);
39857 return;
39858 }
39859 }
39860 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
39861 J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
39862 return;
39863 }
39864 nestedForwardedModules = _this._nestedForwardedModules;
39865 if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
39866 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();)
39867 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();) {
39868 t5 = t4._as(t3.__internal$_current);
39869 if (t5.get$variables().containsKey$1($name)) {
39870 t5.setVariable$3($name, value, nodeWithSpan);
39871 return;
39872 }
39873 }
39874 if (_this._lastVariableName === $name) {
39875 t1 = _this._lastVariableIndex;
39876 t1.toString;
39877 index = t1;
39878 } else
39879 index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
39880 if (!_this._inSemiGlobalScope && index === 0) {
39881 index = _this._variables.length - 1;
39882 _this._variableIndices.$indexSet(0, $name, index);
39883 }
39884 _this._lastVariableName = $name;
39885 _this._lastVariableIndex = index;
39886 J.$indexSet$ax(_this._variables[index], $name, value);
39887 J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
39888 },
39889 setVariable$4$global($name, value, nodeWithSpan, global) {
39890 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
39891 },
39892 setLocalVariable$3($name, value, nodeWithSpan) {
39893 var index, _this = this,
39894 t1 = _this._variables,
39895 t2 = t1.length;
39896 _this._lastVariableName = $name;
39897 index = _this._lastVariableIndex = t2 - 1;
39898 _this._variableIndices.$indexSet(0, $name, index);
39899 J.$indexSet$ax(t1[index], $name, value);
39900 J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
39901 },
39902 getFunction$2$namespace($name, namespace) {
39903 var t1, index, _this = this;
39904 if (namespace != null) {
39905 t1 = _this._getModule$1(namespace);
39906 return t1.get$functions(t1).$index(0, $name);
39907 }
39908 t1 = _this._functionIndices;
39909 index = t1.$index(0, $name);
39910 if (index != null) {
39911 t1 = J.$index$asx(_this._functions[index], $name);
39912 return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
39913 }
39914 index = _this._functionIndex$1($name);
39915 if (index == null)
39916 return _this._getFunctionFromGlobalModule$1($name);
39917 t1.$indexSet(0, $name, index);
39918 t1 = J.$index$asx(_this._functions[index], $name);
39919 return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
39920 },
39921 _getFunctionFromGlobalModule$1($name) {
39922 return this._fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name), type$.Callable);
39923 },
39924 _functionIndex$1($name) {
39925 var t1, i;
39926 for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
39927 if (t1[i].containsKey$1($name))
39928 return i;
39929 return null;
39930 },
39931 getMixin$2$namespace($name, namespace) {
39932 var t1, index, _this = this;
39933 if (namespace != null)
39934 return _this._getModule$1(namespace).get$mixins().$index(0, $name);
39935 t1 = _this._mixinIndices;
39936 index = t1.$index(0, $name);
39937 if (index != null) {
39938 t1 = J.$index$asx(_this._mixins[index], $name);
39939 return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
39940 }
39941 index = _this._mixinIndex$1($name);
39942 if (index == null)
39943 return _this._getMixinFromGlobalModule$1($name);
39944 t1.$indexSet(0, $name, index);
39945 t1 = J.$index$asx(_this._mixins[index], $name);
39946 return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
39947 },
39948 _getMixinFromGlobalModule$1($name) {
39949 return this._fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name), type$.Callable);
39950 },
39951 _mixinIndex$1($name) {
39952 var t1, i;
39953 for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
39954 if (t1[i].containsKey$1($name))
39955 return i;
39956 return null;
39957 },
39958 scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
39959 var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, _this = this;
39960 semiGlobal = semiGlobal && _this._inSemiGlobalScope;
39961 wasInSemiGlobalScope = _this._inSemiGlobalScope;
39962 _this._inSemiGlobalScope = semiGlobal;
39963 if (!when)
39964 try {
39965 t1 = callback.call$0();
39966 return t1;
39967 } finally {
39968 _this._inSemiGlobalScope = wasInSemiGlobalScope;
39969 }
39970 t1 = _this._variables;
39971 t2 = type$.String;
39972 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
39973 B.JSArray_methods.add$1(_this._variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
39974 t3 = _this._functions;
39975 t4 = type$.Callable;
39976 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
39977 t5 = _this._mixins;
39978 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
39979 t4 = _this._nestedForwardedModules;
39980 if (t4 != null)
39981 t4.push(A._setArrayType([], type$.JSArray_Module_Callable));
39982 try {
39983 t2 = callback.call$0();
39984 return t2;
39985 } finally {
39986 _this._inSemiGlobalScope = wasInSemiGlobalScope;
39987 _this._lastVariableIndex = _this._lastVariableName = null;
39988 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
39989 $name = t1.get$current(t1);
39990 t2.remove$1(0, $name);
39991 }
39992 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t3))), t2 = _this._functionIndices; t1.moveNext$0();) {
39993 name0 = t1.get$current(t1);
39994 t2.remove$1(0, name0);
39995 }
39996 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t5))), t2 = _this._mixinIndices; t1.moveNext$0();) {
39997 name1 = t1.get$current(t1);
39998 t2.remove$1(0, name1);
39999 }
40000 t1 = _this._nestedForwardedModules;
40001 if (t1 != null)
40002 t1.pop();
40003 }
40004 },
40005 scope$1$1(callback, $T) {
40006 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
40007 },
40008 scope$1$2$when(callback, when, $T) {
40009 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
40010 },
40011 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
40012 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
40013 },
40014 toImplicitConfiguration$0() {
40015 var t1, t2, i, values, nodes, t3, t4, t5, t6,
40016 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
40017 for (t1 = this._variables, t2 = this._variableNodes, i = 0; i < t1.length; ++i) {
40018 values = t1[i];
40019 nodes = t2[i];
40020 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
40021 t4 = t3.get$current(t3);
40022 t5 = t4.key;
40023 t4 = t4.value;
40024 t6 = nodes.$index(0, t5);
40025 t6.toString;
40026 configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
40027 }
40028 }
40029 return new A.Configuration(configuration);
40030 },
40031 toModule$2(css, extensionStore) {
40032 return A._EnvironmentModule__EnvironmentModule(this, css, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
40033 },
40034 toDummyModule$0() {
40035 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()));
40036 },
40037 _getModule$1(namespace) {
40038 var module = this._environment$_modules.$index(0, namespace);
40039 if (module != null)
40040 return module;
40041 throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".'));
40042 },
40043 _fromOneModule$1$3($name, type, callback, $T) {
40044 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
40045 nestedForwardedModules = this._nestedForwardedModules;
40046 if (nestedForwardedModules != null)
40047 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();)
40048 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();) {
40049 value = callback.call$1(t4._as(t3.__internal$_current));
40050 if (value != null)
40051 return value;
40052 }
40053 for (t1 = this._importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
40054 value = callback.call$1(t1.get$current(t1));
40055 if (value != null)
40056 return value;
40057 }
40058 for (t1 = this._globalModules, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
40059 t4 = t2.get$current(t2);
40060 valueInModule = callback.call$1(t4);
40061 if (valueInModule == null)
40062 continue;
40063 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
40064 if (identityFromModule.$eq(0, identity))
40065 continue;
40066 if (value != null) {
40067 spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
40068 t2 = "This " + type + string$.x20is_av;
40069 t3 = type + " use";
40070 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
40071 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
40072 t5 = t1.get$current(t1);
40073 if (t5 != null)
40074 t4.$indexSet(0, t5, "includes " + type);
40075 }
40076 throw A.wrapException(A.MultiSpanSassScriptException$(t2, t3, t4));
40077 }
40078 identity = identityFromModule;
40079 value = valueInModule;
40080 }
40081 return value;
40082 }
40083 };
40084 A.Environment_importForwards_closure.prototype = {
40085 call$1(module) {
40086 var t1 = module.get$variables();
40087 return t1.get$keys(t1);
40088 },
40089 $signature: 106
40090 };
40091 A.Environment_importForwards_closure0.prototype = {
40092 call$1(module) {
40093 var t1 = module.get$functions(module);
40094 return t1.get$keys(t1);
40095 },
40096 $signature: 106
40097 };
40098 A.Environment_importForwards_closure1.prototype = {
40099 call$1(module) {
40100 var t1 = module.get$mixins();
40101 return t1.get$keys(t1);
40102 },
40103 $signature: 106
40104 };
40105 A.Environment__getVariableFromGlobalModule_closure.prototype = {
40106 call$1(module) {
40107 return module.get$variables().$index(0, this.name);
40108 },
40109 $signature: 327
40110 };
40111 A.Environment_setVariable_closure.prototype = {
40112 call$0() {
40113 var t1 = this.$this;
40114 t1._lastVariableName = this.name;
40115 return t1._lastVariableIndex = 0;
40116 },
40117 $signature: 12
40118 };
40119 A.Environment_setVariable_closure0.prototype = {
40120 call$1(module) {
40121 return module.get$variables().containsKey$1(this.name) ? module : null;
40122 },
40123 $signature: 329
40124 };
40125 A.Environment_setVariable_closure1.prototype = {
40126 call$0() {
40127 var t1 = this.$this,
40128 t2 = t1._variableIndex$1(this.name);
40129 return t2 == null ? t1._variables.length - 1 : t2;
40130 },
40131 $signature: 12
40132 };
40133 A.Environment__getFunctionFromGlobalModule_closure.prototype = {
40134 call$1(module) {
40135 return module.get$functions(module).$index(0, this.name);
40136 },
40137 $signature: 226
40138 };
40139 A.Environment__getMixinFromGlobalModule_closure.prototype = {
40140 call$1(module) {
40141 return module.get$mixins().$index(0, this.name);
40142 },
40143 $signature: 226
40144 };
40145 A.Environment_toModule_closure.prototype = {
40146 call$1(modules) {
40147 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
40148 },
40149 $signature: 234
40150 };
40151 A.Environment_toDummyModule_closure.prototype = {
40152 call$1(modules) {
40153 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
40154 },
40155 $signature: 234
40156 };
40157 A.Environment__fromOneModule_closure.prototype = {
40158 call$1(entry) {
40159 return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure(entry, this.T));
40160 },
40161 $signature: 333
40162 };
40163 A.Environment__fromOneModule__closure.prototype = {
40164 call$1(_) {
40165 return J.get$span$z(this.entry.value);
40166 },
40167 $signature() {
40168 return this.T._eval$1("FileSpan(0)");
40169 }
40170 };
40171 A._EnvironmentModule.prototype = {
40172 get$url(_) {
40173 var t1 = this.css;
40174 return t1.get$span(t1).file.url;
40175 },
40176 setVariable$3($name, value, nodeWithSpan) {
40177 var t1, t2,
40178 module = this._modulesByVariable.$index(0, $name);
40179 if (module != null) {
40180 module.setVariable$3($name, value, nodeWithSpan);
40181 return;
40182 }
40183 t1 = this._environment$_environment;
40184 t2 = t1._variables;
40185 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
40186 throw A.wrapException(A.SassScriptException$("Undefined variable."));
40187 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
40188 J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
40189 return;
40190 },
40191 variableIdentity$1($name) {
40192 var module = this._modulesByVariable.$index(0, $name);
40193 return module == null ? this : module.variableIdentity$1($name);
40194 },
40195 cloneCss$0() {
40196 var newCssAndExtensionStore, _this = this,
40197 t1 = _this.css;
40198 if (J.get$isEmpty$asx(t1.get$children(t1)))
40199 return _this;
40200 newCssAndExtensionStore = A.cloneCssStylesheet(t1, _this.extensionStore);
40201 return A._EnvironmentModule$_(_this._environment$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
40202 },
40203 toString$0(_) {
40204 var t1 = this.css;
40205 if (t1.get$span(t1).file.url == null)
40206 t1 = "<unknown url>";
40207 else {
40208 t1 = t1.get$span(t1);
40209 t1 = $.$get$context().prettyUri$1(t1.file.url);
40210 }
40211 return t1;
40212 },
40213 $isModule: 1,
40214 get$upstream() {
40215 return this.upstream;
40216 },
40217 get$variables() {
40218 return this.variables;
40219 },
40220 get$variableNodes() {
40221 return this.variableNodes;
40222 },
40223 get$functions(receiver) {
40224 return this.functions;
40225 },
40226 get$mixins() {
40227 return this.mixins;
40228 },
40229 get$extensionStore() {
40230 return this.extensionStore;
40231 },
40232 get$css(receiver) {
40233 return this.css;
40234 },
40235 get$transitivelyContainsCss() {
40236 return this.transitivelyContainsCss;
40237 },
40238 get$transitivelyContainsExtensions() {
40239 return this.transitivelyContainsExtensions;
40240 }
40241 };
40242 A._EnvironmentModule__EnvironmentModule_closure.prototype = {
40243 call$1(module) {
40244 return module.get$variables();
40245 },
40246 $signature: 334
40247 };
40248 A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
40249 call$1(module) {
40250 return module.get$variableNodes();
40251 },
40252 $signature: 336
40253 };
40254 A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
40255 call$1(module) {
40256 return module.get$functions(module);
40257 },
40258 $signature: 257
40259 };
40260 A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
40261 call$1(module) {
40262 return module.get$mixins();
40263 },
40264 $signature: 257
40265 };
40266 A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
40267 call$1(module) {
40268 return module.get$transitivelyContainsCss();
40269 },
40270 $signature: 122
40271 };
40272 A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
40273 call$1(module) {
40274 return module.get$transitivelyContainsExtensions();
40275 },
40276 $signature: 122
40277 };
40278 A.SassException.prototype = {
40279 get$trace(_) {
40280 return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
40281 },
40282 get$span(_) {
40283 return A.SourceSpanException.prototype.get$span.call(this, this);
40284 },
40285 toString$1$color(_, color) {
40286 var t2, _i, frame, t3, _this = this,
40287 buffer = new A.StringBuffer(""),
40288 t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
40289 buffer._contents = t1;
40290 buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
40291 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
40292 frame = t1[_i];
40293 if (J.get$length$asx(frame) === 0)
40294 continue;
40295 t3 = buffer._contents += "\n";
40296 buffer._contents = t3 + (" " + A.S(frame));
40297 }
40298 t1 = buffer._contents;
40299 return t1.charCodeAt(0) == 0 ? t1 : t1;
40300 },
40301 toString$0($receiver) {
40302 return this.toString$1$color($receiver, null);
40303 },
40304 toCssString$0() {
40305 var commentMessage, stringMessage, rune,
40306 t1 = $._glyphs,
40307 t2 = $._glyphs = B.C_AsciiGlyphSet,
40308 t3 = this.toString$1$color(0, false);
40309 t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
40310 commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
40311 $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
40312 stringMessage = new A.StringBuffer("");
40313 for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
40314 rune = t1._currentCodePoint;
40315 t2 = stringMessage._contents;
40316 if (rune > 255) {
40317 stringMessage._contents = t2 + A.Primitives_stringFromCharCode(92);
40318 t2 = stringMessage._contents += B.JSInt_methods.toRadixString$1(rune, 16);
40319 t2 = stringMessage._contents = t2 + A.Primitives_stringFromCharCode(32);
40320 } else
40321 t2 = stringMessage._contents = t2 + A.Primitives_stringFromCharCode(rune);
40322 }
40323 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}";
40324 }
40325 };
40326 A.MultiSpanSassException.prototype = {
40327 toString$1$color(_, color) {
40328 var t1, t2, _i, frame, _this = this,
40329 useColor = color === true && true,
40330 buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
40331 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));
40332 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
40333 frame = t1[_i];
40334 if (J.get$length$asx(frame) === 0)
40335 continue;
40336 buffer._contents += "\n";
40337 buffer._contents += " " + A.S(frame);
40338 }
40339 t1 = buffer._contents;
40340 return t1.charCodeAt(0) == 0 ? t1 : t1;
40341 },
40342 toString$0($receiver) {
40343 return this.toString$1$color($receiver, null);
40344 }
40345 };
40346 A.SassRuntimeException.prototype = {
40347 get$trace(receiver) {
40348 return this.trace;
40349 }
40350 };
40351 A.MultiSpanSassRuntimeException.prototype = {$isSassRuntimeException: 1,
40352 get$trace(receiver) {
40353 return this.trace;
40354 }
40355 };
40356 A.SassFormatException.prototype = {
40357 get$source() {
40358 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(this, this).file._decodedChars, 0, null), 0, null);
40359 },
40360 $isFormatException: 1,
40361 $isSourceSpanFormatException: 1
40362 };
40363 A.SassScriptException.prototype = {
40364 toString$0(_) {
40365 return this.message + string$.x0a_BUG_;
40366 },
40367 get$message(receiver) {
40368 return this.message;
40369 }
40370 };
40371 A.MultiSpanSassScriptException.prototype = {};
40372 A._writeSourceMap_closure.prototype = {
40373 call$1(url) {
40374 return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
40375 },
40376 $signature: 5
40377 };
40378 A.ExecutableOptions.prototype = {
40379 get$interactive() {
40380 var result, _this = this,
40381 value = _this.__ExecutableOptions_interactive;
40382 if (value === $) {
40383 result = new A.ExecutableOptions_interactive_closure(_this).call$0();
40384 A._lateInitializeOnceCheck(_this.__ExecutableOptions_interactive, "interactive");
40385 _this.__ExecutableOptions_interactive = result;
40386 value = result;
40387 }
40388 return value;
40389 },
40390 get$color() {
40391 var t1 = this._options;
40392 return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
40393 },
40394 get$emitErrorCss() {
40395 var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
40396 if (t1 == null) {
40397 this._ensureSources$0();
40398 t1 = this._sourcesToDestinations;
40399 t1 = t1.get$values(t1).any$1(0, new A.ExecutableOptions_emitErrorCss_closure());
40400 }
40401 return t1;
40402 },
40403 _ensureSources$0() {
40404 var t1, stdin, t2, t3, $directories, t4, t5, colonArgs, positionalArgs, t6, t7, t8, message, target, source, destination, seen, sourceAndDestination, _this = this, _null = null,
40405 _s32_ = "_sourceDirectoriesToDestinations",
40406 _s18_ = 'Duplicate source "';
40407 if (_this._sourcesToDestinations != null)
40408 return;
40409 t1 = _this._options;
40410 stdin = A._asBool(t1.$index(0, "stdin"));
40411 t2 = t1.rest;
40412 if (t2.get$length(t2) === 0 && !stdin)
40413 A.ExecutableOptions__fail("Compile Sass to CSS.");
40414 t3 = type$.String;
40415 $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
40416 for (t4 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t4)._precomputed1, colonArgs = false, positionalArgs = false; t4.moveNext$0();) {
40417 t6 = t5._as(t4.__internal$_current);
40418 t7 = t6.length;
40419 if (t7 === 0)
40420 A.ExecutableOptions__fail('Invalid argument "".');
40421 if (A.stringContainsUnchecked(t6, ":", 0)) {
40422 if (t7 > 2) {
40423 t8 = B.JSString_methods._codeUnitAt$1(t6, 0);
40424 if (!(t8 >= 97 && t8 <= 122))
40425 t8 = t8 >= 65 && t8 <= 90;
40426 else
40427 t8 = true;
40428 t8 = t8 && B.JSString_methods._codeUnitAt$1(t6, 1) === 58;
40429 } else
40430 t8 = false;
40431 if (t8) {
40432 if (2 > t7)
40433 A.throwExpression(A.RangeError$range(2, 0, t7, _null, _null));
40434 t7 = A.stringContainsUnchecked(t6, ":", 2);
40435 } else
40436 t7 = true;
40437 } else
40438 t7 = false;
40439 if (t7)
40440 colonArgs = true;
40441 else if (A.dirExists(t6))
40442 $directories.add$1(0, t6);
40443 else
40444 positionalArgs = true;
40445 }
40446 if (positionalArgs || t2.get$length(t2) === 0) {
40447 if (colonArgs)
40448 A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
40449 else if (stdin) {
40450 if (J.get$length$asx(t2._collection$_source) > 1)
40451 A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
40452 else if (A._asBool(t1.$index(0, "update")))
40453 A.ExecutableOptions__fail("--update is not allowed with --stdin.");
40454 else if (A._asBool(t1.$index(0, "watch")))
40455 A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
40456 t1 = t2.get$length(t2) === 0 ? _null : t2.get$first(t2);
40457 t2 = type$.dynamic;
40458 t3 = type$.nullable_String;
40459 _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
40460 } else {
40461 t3 = t2._collection$_source;
40462 t4 = J.getInterceptor$asx(t3);
40463 if (t4.get$length(t3) > 2)
40464 A.ExecutableOptions__fail("Only two positional args may be passed.");
40465 else if ($directories._collection$_length !== 0) {
40466 message = 'Directory "' + A.S($directories.get$first($directories)) + '" may not be a positional arg.';
40467 target = t2.get$last(t2);
40468 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);
40469 } else {
40470 source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
40471 destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
40472 if (destination == null)
40473 if (A._asBool(t1.$index(0, "update")))
40474 A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
40475 else if (A._asBool(t1.$index(0, "watch")))
40476 A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
40477 t1 = A.PathMap__create(_null, type$.nullable_String);
40478 t1.$indexSet(0, source, destination);
40479 _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
40480 }
40481 }
40482 A._lateWriteOnceCheck(_this.__ExecutableOptions__sourceDirectoriesToDestinations, _s32_);
40483 _this.__ExecutableOptions__sourceDirectoriesToDestinations = B.Map_empty5;
40484 return;
40485 }
40486 if (stdin)
40487 A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
40488 seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
40489 t1 = A.PathMap__create(_null, t3);
40490 t4 = type$.PathMap_String;
40491 t3 = A.PathMap__create(_null, t3);
40492 for (t2 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
40493 t6 = t5._as(t2.__internal$_current);
40494 if ($directories.contains$1(0, t6)) {
40495 if (!seen.add$1(0, t6))
40496 A.ExecutableOptions__fail(_s18_ + t6 + '".');
40497 t3.$indexSet(0, t6, t6);
40498 t1.addAll$1(0, _this._listSourceDirectory$2(t6, t6));
40499 continue;
40500 }
40501 sourceAndDestination = _this._splitSourceAndDestination$1(t6);
40502 source = sourceAndDestination.item1;
40503 destination = sourceAndDestination.item2;
40504 if (!seen.add$1(0, source))
40505 A.ExecutableOptions__fail(_s18_ + source + '".');
40506 if (source === "-")
40507 t1.$indexSet(0, _null, destination);
40508 else if (A.dirExists(source)) {
40509 t3.$indexSet(0, source, destination);
40510 t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
40511 } else
40512 t1.$indexSet(0, source, destination);
40513 }
40514 _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t4), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
40515 A._lateWriteOnceCheck(_this.__ExecutableOptions__sourceDirectoriesToDestinations, _s32_);
40516 _this.__ExecutableOptions__sourceDirectoriesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t3, t4), type$.UnmodifiableMapView_of_nullable_String_and_String);
40517 },
40518 _splitSourceAndDestination$1(argument) {
40519 var t1, i, t2, t3, nextColon;
40520 for (t1 = argument.length, i = 0; i < t1; ++i) {
40521 if (i === 1) {
40522 t2 = i - 1;
40523 if (t1 > t2 + 2) {
40524 t3 = B.JSString_methods.codeUnitAt$1(argument, t2);
40525 if (!(t3 >= 97 && t3 <= 122))
40526 t3 = t3 >= 65 && t3 <= 90;
40527 else
40528 t3 = true;
40529 t2 = t3 && B.JSString_methods.codeUnitAt$1(argument, t2 + 1) === 58;
40530 } else
40531 t2 = false;
40532 } else
40533 t2 = false;
40534 if (t2)
40535 continue;
40536 if (B.JSString_methods._codeUnitAt$1(argument, i) === 58) {
40537 t2 = i + 1;
40538 nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
40539 if (nextColon === i + 2)
40540 if (t1 > t2 + 2) {
40541 t1 = B.JSString_methods._codeUnitAt$1(argument, t2);
40542 if (!(t1 >= 97 && t1 <= 122))
40543 t1 = t1 >= 65 && t1 <= 90;
40544 else
40545 t1 = true;
40546 t1 = t1 && B.JSString_methods._codeUnitAt$1(argument, t2 + 1) === 58;
40547 } else
40548 t1 = false;
40549 else
40550 t1 = false;
40551 if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
40552 A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
40553 return new A.Tuple2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2), type$.Tuple2_String_String);
40554 }
40555 }
40556 throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
40557 },
40558 _listSourceDirectory$2(source, destination) {
40559 var t2, t3, t4, t5, t6, t7, parts,
40560 t1 = type$.String;
40561 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
40562 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();) {
40563 t6 = t2.get$current(t2);
40564 if (this._isEntrypoint$1(t6))
40565 t7 = !(t3 && A.ParsedPath_ParsedPath$parse(t6, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
40566 else
40567 t7 = false;
40568 if (t7) {
40569 t7 = $.$get$context();
40570 parts = A._setArrayType([destination, t7.withoutExtension$1(t7.relative$2$from(t6, source)) + ".css", null, null, null, null, null, null], t4);
40571 A._validateArgList("join", parts);
40572 t1.$indexSet(0, t6, t7.joinAll$1(new A.WhereTypeIterable(parts, t5)));
40573 }
40574 }
40575 return t1;
40576 },
40577 _isEntrypoint$1(path) {
40578 var extension,
40579 t1 = $.$get$context().style;
40580 if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
40581 return false;
40582 extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
40583 return extension === ".scss" || extension === ".sass" || extension === ".css";
40584 },
40585 get$_writeToStdout() {
40586 var t1, _this = this;
40587 _this._ensureSources$0();
40588 t1 = _this._sourcesToDestinations;
40589 if (t1.get$length(t1) === 1) {
40590 _this._ensureSources$0();
40591 t1 = _this._sourcesToDestinations;
40592 t1 = t1.get$values(t1);
40593 t1 = t1.get$single(t1) == null;
40594 } else
40595 t1 = false;
40596 return t1;
40597 },
40598 get$emitSourceMap() {
40599 var _this = this,
40600 _s10_ = "source-map",
40601 _s15_ = "source-map-urls",
40602 _s13_ = "embed-sources",
40603 _s16_ = "embed-source-map",
40604 t1 = _this._options;
40605 if (!A._asBool(t1.$index(0, _s10_)))
40606 if (t1.wasParsed$1(_s15_))
40607 A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
40608 else if (t1.wasParsed$1(_s13_))
40609 A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
40610 else if (t1.wasParsed$1(_s16_))
40611 A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
40612 if (!_this.get$_writeToStdout())
40613 return A._asBool(t1.$index(0, _s10_));
40614 if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
40615 A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
40616 if (A._asBool(t1.$index(0, _s16_)))
40617 return A._asBool(t1.$index(0, _s10_));
40618 else if (J.$eq$(_this._ifParsed$1(_s10_), true))
40619 A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
40620 else if (t1.wasParsed$1(_s15_))
40621 A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
40622 else if (A._asBool(t1.$index(0, _s13_)))
40623 A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
40624 else
40625 return false;
40626 },
40627 sourceMapUrl$2(_, url, destination) {
40628 var t1, path, t2, _null = null;
40629 if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
40630 return url;
40631 t1 = $.$get$context();
40632 path = t1.style.pathFromUri$1(A._parseUri(url));
40633 if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
40634 destination.toString;
40635 t2 = t1.relative$2$from(path, t1.dirname$1(destination));
40636 } else
40637 t2 = t1.absolute$7(path, _null, _null, _null, _null, _null, _null);
40638 return t1.toUri$1(t2);
40639 },
40640 _ifParsed$1($name) {
40641 var t1 = this._options;
40642 return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
40643 }
40644 };
40645 A.ExecutableOptions__parser_closure.prototype = {
40646 call$0() {
40647 var t1 = type$.String,
40648 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
40649 t3 = [],
40650 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);
40651 parser.addOption$2$hide("precision", true);
40652 parser.addFlag$2$hide("async", true);
40653 t3.push(A.ExecutableOptions__separator("Input and Output"));
40654 parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
40655 parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
40656 parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
40657 t1 = type$.JSArray_String;
40658 parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t1), "expanded", "Output style.", "NAME");
40659 parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
40660 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.");
40661 parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
40662 t3.push(A.ExecutableOptions__separator("Source Maps"));
40663 parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
40664 parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t1), "relative", "How to link from source maps to source files.");
40665 parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
40666 parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
40667 t3.push(A.ExecutableOptions__separator("Other"));
40668 parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
40669 parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
40670 parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
40671 parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
40672 parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
40673 parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
40674 parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
40675 parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
40676 parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
40677 parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
40678 parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
40679 parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
40680 return parser;
40681 },
40682 $signature: 340
40683 };
40684 A.ExecutableOptions_interactive_closure.prototype = {
40685 call$0() {
40686 var invalidOptions, _i, option,
40687 t1 = this.$this._options;
40688 if (!A._asBool(t1.$index(0, "interactive")))
40689 return false;
40690 invalidOptions = ["stdin", "indented", "style", "source-map", "source-map-urls", "embed-sources", "embed-source-map", "update", "watch"];
40691 for (_i = 0; _i < 9; ++_i) {
40692 option = invalidOptions[_i];
40693 if (!t1._parser.options._map.containsKey$1(option))
40694 A.throwExpression(A.ArgumentError$('Could not find an option named "' + option + '".', null));
40695 if (t1._parsed.containsKey$1(option))
40696 throw A.wrapException(A.UsageException$("--" + option + " isn't allowed with --interactive."));
40697 }
40698 return true;
40699 },
40700 $signature: 29
40701 };
40702 A.ExecutableOptions_emitErrorCss_closure.prototype = {
40703 call$1(destination) {
40704 return destination != null;
40705 },
40706 $signature: 172
40707 };
40708 A.UsageException.prototype = {$isException: 1,
40709 get$message(receiver) {
40710 return this.message;
40711 }
40712 };
40713 A.watch_closure.prototype = {
40714 call$0() {
40715 var $async$goto = 0,
40716 $async$completer = A._makeAsyncAwaitCompleter(type$.CancelableOperation_void),
40717 $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, dirWatcher, watcher, t1;
40718 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40719 if ($async$errorCode === 1)
40720 return A._asyncRethrow($async$result, $async$completer);
40721 while (true)
40722 switch ($async$goto) {
40723 case 0:
40724 // Function start
40725 t1 = $async$self.options;
40726 t1._ensureSources$0();
40727 t2 = type$.String;
40728 t3 = A._lateReadCheck(t1.__ExecutableOptions__sourceDirectoriesToDestinations, "_sourceDirectoriesToDestinations").cast$2$0(0, t2, t2);
40729 t3 = A.List_List$of(t3.get$keys(t3), true, t2);
40730 for (t1._ensureSources$0(), t4 = t1._sourcesToDestinations.cast$2$0(0, t2, t2), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();) {
40731 t5 = t4.get$current(t4);
40732 t3.push($.$get$context().dirname$1(t5));
40733 }
40734 t4 = t1._options;
40735 B.JSArray_methods.addAll$1(t3, type$.List_String._as(t4.$index(0, "load-path")));
40736 t5 = A._asBool(t4.$index(0, "poll"));
40737 t6 = type$.Stream_WatchEvent;
40738 t7 = A.PathMap__create(null, t6);
40739 t6 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t6, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
40740 t6.__StreamGroup__controller = A.StreamController_StreamController(t6.get$_stream_group$_onCancel(), t6.get$_onListen(), t6.get$_onPause(), t6.get$_onResume(), true, type$.WatchEvent);
40741 dirWatcher = new A.MultiDirWatcher(new A.PathMap(t7, type$.PathMap_Stream_WatchEvent), t6, t5);
40742 $async$goto = 3;
40743 return A._asyncAwait(A.Future_wait(new A.MappedListIterable(t3, new A.watch__closure(dirWatcher), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,Future<~>>")), type$.void), $async$call$0);
40744 case 3:
40745 // returning from await.
40746 t3 = $async$self.graph;
40747 watcher = new A._Watcher(t1, t3);
40748 t1._ensureSources$0(), t1 = t1._sourcesToDestinations.cast$2$0(0, t2, t2), t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
40749 case 4:
40750 // for condition
40751 if (!t1.moveNext$0()) {
40752 // goto after for
40753 $async$goto = 5;
40754 break;
40755 }
40756 t2 = t1.get$current(t1);
40757 t5 = $.$get$context();
40758 t6 = t5.absolute$7(".", null, null, null, null, null, null);
40759 t7 = t2.key;
40760 t3.addCanonical$4$recanonicalize(new A.FilesystemImporter(t6), t5.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t5.absolute$7(t5.normalize$1(t7), null, null, null, null, null, null)) : t5.canonicalize$1(0, t7)), t5.toUri$1(t7), false);
40761 $async$goto = 6;
40762 return A._asyncAwait(watcher.compile$3$ifModified(0, t7, t2.value, true), $async$call$0);
40763 case 6:
40764 // returning from await.
40765 if (!$async$result && A._asBool(t4.$index(0, "stop-on-error"))) {
40766 t1 = A._lateReadCheck(dirWatcher._group.__StreamGroup__controller, "_controller");
40767 t1._subscribe$4(null, null, null, false).cancel$0();
40768 t1 = type$._Future_void;
40769 t2 = new A._Future($.Zone__current, t1);
40770 t2._asyncComplete$1(null);
40771 t3 = $.Zone__current;
40772 t4 = type$._AsyncCompleter_void;
40773 t4 = new A.CancelableCompleter(new A._AsyncCompleter(new A._Future(t3, t1), t4), new A._AsyncCompleter(new A._Future(t3, t1), t4), null, type$.CancelableCompleter_void);
40774 t4.complete$1(t2);
40775 $async$returnValue = t4.get$operation();
40776 // goto return
40777 $async$goto = 1;
40778 break;
40779 }
40780 // goto for condition
40781 $async$goto = 4;
40782 break;
40783 case 5:
40784 // after for
40785 A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
40786 $async$returnValue = watcher.watch$1(0, dirWatcher);
40787 // goto return
40788 $async$goto = 1;
40789 break;
40790 case 1:
40791 // return
40792 return A._asyncReturn($async$returnValue, $async$completer);
40793 }
40794 });
40795 return A._asyncStartSync($async$call$0, $async$completer);
40796 },
40797 $signature: 342
40798 };
40799 A.watch__closure.prototype = {
40800 call$1(dir) {
40801 for (; !A.dirExists(dir);)
40802 dir = $.$get$context().dirname$1(dir);
40803 return this.dirWatcher.watch$1(0, dir);
40804 },
40805 $signature: 343
40806 };
40807 A._Watcher.prototype = {
40808 compile$3$ifModified(_, source, destination, ifModified) {
40809 return this.compile$body$_Watcher(0, source, destination, ifModified);
40810 },
40811 compile$2($receiver, source, destination) {
40812 return this.compile$3$ifModified($receiver, source, destination, false);
40813 },
40814 compile$body$_Watcher(_, source, destination, ifModified) {
40815 var $async$goto = 0,
40816 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40817 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, path, exception, t1, t2, $async$exception;
40818 var $async$compile$3$ifModified = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40819 if ($async$errorCode === 1) {
40820 $async$currentError = $async$result;
40821 $async$goto = $async$handler;
40822 }
40823 while (true)
40824 switch ($async$goto) {
40825 case 0:
40826 // Function start
40827 $async$handler = 4;
40828 $async$goto = 7;
40829 return A._asyncAwait(A.compileStylesheet($async$self._watch$_options, $async$self._graph, source, destination, ifModified), $async$compile$3$ifModified);
40830 case 7:
40831 // returning from await.
40832 $async$returnValue = true;
40833 // goto return
40834 $async$goto = 1;
40835 break;
40836 $async$handler = 2;
40837 // goto after finally
40838 $async$goto = 6;
40839 break;
40840 case 4:
40841 // catch
40842 $async$handler = 3;
40843 $async$exception = $async$currentError;
40844 t1 = A.unwrapException($async$exception);
40845 if (t1 instanceof A.SassException) {
40846 error = t1;
40847 stackTrace = A.getTraceFromException($async$exception);
40848 t1 = $async$self._watch$_options;
40849 if (!t1.get$emitErrorCss())
40850 $async$self._delete$1(destination);
40851 t1 = J.toString$1$color$(error, t1.get$color());
40852 t2 = A.getTrace(error);
40853 $async$self._printError$2(t1, t2 == null ? stackTrace : t2);
40854 J.set$exitCode$x(self.process, 65);
40855 $async$returnValue = false;
40856 // goto return
40857 $async$goto = 1;
40858 break;
40859 } else if (t1 instanceof A.FileSystemException) {
40860 error0 = t1;
40861 stackTrace0 = A.getTraceFromException($async$exception);
40862 path = error0.path;
40863 t1 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
40864 t2 = A.getTrace(error0);
40865 $async$self._printError$2(t1, t2 == null ? stackTrace0 : t2);
40866 J.set$exitCode$x(self.process, 66);
40867 $async$returnValue = false;
40868 // goto return
40869 $async$goto = 1;
40870 break;
40871 } else
40872 throw $async$exception;
40873 // goto after finally
40874 $async$goto = 6;
40875 break;
40876 case 3:
40877 // uncaught
40878 // goto rethrow
40879 $async$goto = 2;
40880 break;
40881 case 6:
40882 // after finally
40883 case 1:
40884 // return
40885 return A._asyncReturn($async$returnValue, $async$completer);
40886 case 2:
40887 // rethrow
40888 return A._asyncRethrow($async$currentError, $async$completer);
40889 }
40890 });
40891 return A._asyncStartSync($async$compile$3$ifModified, $async$completer);
40892 },
40893 _delete$1(path) {
40894 var buffer, t1, exception;
40895 try {
40896 A.deleteFile(path);
40897 buffer = new A.StringBuffer("");
40898 t1 = this._watch$_options;
40899 if (t1.get$color())
40900 buffer._contents += "\x1b[33m";
40901 buffer._contents += "Deleted " + path + ".";
40902 if (t1.get$color())
40903 buffer._contents += "\x1b[0m";
40904 A.print(buffer);
40905 } catch (exception) {
40906 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
40907 throw exception;
40908 }
40909 },
40910 _printError$2(message, stackTrace) {
40911 var t2,
40912 t1 = $.$get$stderr();
40913 t1.writeln$1(message);
40914 t2 = this._watch$_options._options;
40915 if (A._asBool(t2.$index(0, "trace"))) {
40916 t1.writeln$0();
40917 t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
40918 }
40919 if (!A._asBool(t2.$index(0, "stop-on-error")))
40920 t1.writeln$0();
40921 },
40922 watch$1(_, watcher) {
40923 var t1 = {};
40924 t1.subscription = null;
40925 return A.CancelableOperation_CancelableOperation$fromFuture(new A._Watcher_watch_closure(t1, this, watcher).call$0(), new A._Watcher_watch_closure0(t1), type$.void);
40926 },
40927 _handleModify$1(path) {
40928 return this._handleModify$body$_Watcher(path);
40929 },
40930 _handleModify$body$_Watcher(path) {
40931 var $async$goto = 0,
40932 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40933 $async$returnValue, $async$self = this, t1, t2, t0, url, node;
40934 var $async$_handleModify$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40935 if ($async$errorCode === 1)
40936 return A._asyncRethrow($async$result, $async$completer);
40937 while (true)
40938 switch ($async$goto) {
40939 case 0:
40940 // Function start
40941 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
40942 t1 = $.$get$context();
40943 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
40944 t0 = t2;
40945 t2 = t1;
40946 t1 = t0;
40947 } else {
40948 t1 = $.$get$context();
40949 t2 = t1.canonicalize$1(0, path);
40950 t0 = t2;
40951 t2 = t1;
40952 t1 = t0;
40953 }
40954 url = t2.toUri$1(t1);
40955 t1 = $async$self._graph;
40956 node = t1._nodes.$index(0, url);
40957 if (node == null) {
40958 $async$returnValue = $async$self._handleAdd$1(path);
40959 // goto return
40960 $async$goto = 1;
40961 break;
40962 }
40963 t1.reload$1(url);
40964 $async$goto = 3;
40965 return A._asyncAwait($async$self._recompileDownstream$1(A._setArrayType([node], type$.JSArray_StylesheetNode)), $async$_handleModify$1);
40966 case 3:
40967 // returning from await.
40968 $async$returnValue = $async$result;
40969 // goto return
40970 $async$goto = 1;
40971 break;
40972 case 1:
40973 // return
40974 return A._asyncReturn($async$returnValue, $async$completer);
40975 }
40976 });
40977 return A._asyncStartSync($async$_handleModify$1, $async$completer);
40978 },
40979 _handleAdd$1(path) {
40980 return this._handleAdd$body$_Watcher(path);
40981 },
40982 _handleAdd$body$_Watcher(path) {
40983 var $async$goto = 0,
40984 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40985 $async$returnValue, $async$self = this, destination, success, t1, t2, $async$temp1;
40986 var $async$_handleAdd$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40987 if ($async$errorCode === 1)
40988 return A._asyncRethrow($async$result, $async$completer);
40989 while (true)
40990 switch ($async$goto) {
40991 case 0:
40992 // Function start
40993 destination = $async$self._destinationFor$1(path);
40994 $async$temp1 = destination == null;
40995 if ($async$temp1)
40996 $async$result = $async$temp1;
40997 else {
40998 // goto then
40999 $async$goto = 3;
41000 break;
41001 }
41002 // goto join
41003 $async$goto = 4;
41004 break;
41005 case 3:
41006 // then
41007 $async$goto = 5;
41008 return A._asyncAwait($async$self.compile$2(0, path, destination), $async$_handleAdd$1);
41009 case 5:
41010 // returning from await.
41011 case 4:
41012 // join
41013 success = $async$result;
41014 t1 = $.$get$context();
41015 t2 = t1.absolute$7(".", null, null, null, null, null, null);
41016 $async$goto = 6;
41017 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);
41018 case 6:
41019 // returning from await.
41020 $async$returnValue = $async$result && success;
41021 // goto return
41022 $async$goto = 1;
41023 break;
41024 case 1:
41025 // return
41026 return A._asyncReturn($async$returnValue, $async$completer);
41027 }
41028 });
41029 return A._asyncStartSync($async$_handleAdd$1, $async$completer);
41030 },
41031 _handleRemove$1(path) {
41032 return this._handleRemove$body$_Watcher(path);
41033 },
41034 _handleRemove$body$_Watcher(path) {
41035 var $async$goto = 0,
41036 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
41037 $async$returnValue, $async$self = this, t1, t2, t0, url, t3, destination, node, toRecompile;
41038 var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
41039 if ($async$errorCode === 1)
41040 return A._asyncRethrow($async$result, $async$completer);
41041 while (true)
41042 switch ($async$goto) {
41043 case 0:
41044 // Function start
41045 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
41046 t1 = $.$get$context();
41047 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
41048 t0 = t2;
41049 t2 = t1;
41050 t1 = t0;
41051 } else {
41052 t1 = $.$get$context();
41053 t2 = t1.canonicalize$1(0, path);
41054 t0 = t2;
41055 t2 = t1;
41056 t1 = t0;
41057 }
41058 url = t2.toUri$1(t1);
41059 t1 = $async$self._graph;
41060 t3 = t1._nodes;
41061 if (t3.containsKey$1(url)) {
41062 destination = $async$self._destinationFor$1(path);
41063 if (destination != null)
41064 $async$self._delete$1(destination);
41065 }
41066 t2 = t2.absolute$7(".", null, null, null, null, null, null);
41067 node = t3.remove$1(0, url);
41068 t3 = node != null;
41069 if (t3) {
41070 t1._transitiveModificationTimes.clear$0(0);
41071 t1.importCache.clearImport$1(url);
41072 node._stylesheet_graph$_remove$0();
41073 }
41074 toRecompile = t1._recanonicalizeImports$2(new A.FilesystemImporter(t2), url);
41075 if (t3)
41076 toRecompile.addAll$1(0, node._downstream);
41077 $async$goto = 3;
41078 return A._asyncAwait($async$self._recompileDownstream$1(toRecompile), $async$_handleRemove$1);
41079 case 3:
41080 // returning from await.
41081 $async$returnValue = $async$result;
41082 // goto return
41083 $async$goto = 1;
41084 break;
41085 case 1:
41086 // return
41087 return A._asyncReturn($async$returnValue, $async$completer);
41088 }
41089 });
41090 return A._asyncStartSync($async$_handleRemove$1, $async$completer);
41091 },
41092 _debounceEvents$1(events) {
41093 var t1 = type$.WatchEvent;
41094 t1 = A.RateLimit__debounceAggregate(events, A.Duration$(25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
41095 return new A._ExpandStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_ExpandStream<Stream.T,WatchEvent>"));
41096 },
41097 _recompileDownstream$1(nodes) {
41098 return this._recompileDownstream$body$_Watcher(nodes);
41099 },
41100 _recompileDownstream$body$_Watcher(nodes) {
41101 var $async$goto = 0,
41102 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
41103 $async$returnValue, $async$self = this, t2, allSucceeded, node, success, t1, seen, toRecompile;
41104 var $async$_recompileDownstream$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
41105 if ($async$errorCode === 1)
41106 return A._asyncRethrow($async$result, $async$completer);
41107 while (true)
41108 switch ($async$goto) {
41109 case 0:
41110 // Function start
41111 t1 = type$.StylesheetNode;
41112 seen = A.LinkedHashSet_LinkedHashSet$_empty(t1);
41113 toRecompile = A.ListQueue_ListQueue$of(nodes, t1);
41114 t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = $async$self._watch$_options._options, allSucceeded = true;
41115 case 3:
41116 // for condition
41117 if (!!toRecompile.get$isEmpty(toRecompile)) {
41118 // goto after for
41119 $async$goto = 4;
41120 break;
41121 }
41122 node = toRecompile.removeFirst$0();
41123 if (!seen.add$1(0, node)) {
41124 // goto for condition
41125 $async$goto = 3;
41126 break;
41127 }
41128 $async$goto = 5;
41129 return A._asyncAwait($async$self._compileIfEntrypoint$1(node.canonicalUrl), $async$_recompileDownstream$1);
41130 case 5:
41131 // returning from await.
41132 success = $async$result;
41133 allSucceeded = allSucceeded && success;
41134 if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
41135 $async$returnValue = false;
41136 // goto return
41137 $async$goto = 1;
41138 break;
41139 }
41140 toRecompile.addAll$1(0, new A.UnmodifiableSetView(node._downstream, t1));
41141 // goto for condition
41142 $async$goto = 3;
41143 break;
41144 case 4:
41145 // after for
41146 $async$returnValue = allSucceeded;
41147 // goto return
41148 $async$goto = 1;
41149 break;
41150 case 1:
41151 // return
41152 return A._asyncReturn($async$returnValue, $async$completer);
41153 }
41154 });
41155 return A._asyncStartSync($async$_recompileDownstream$1, $async$completer);
41156 },
41157 _compileIfEntrypoint$1(url) {
41158 return this._compileIfEntrypoint$body$_Watcher(url);
41159 },
41160 _compileIfEntrypoint$body$_Watcher(url) {
41161 var $async$goto = 0,
41162 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
41163 $async$returnValue, $async$self = this, source, destination;
41164 var $async$_compileIfEntrypoint$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
41165 if ($async$errorCode === 1)
41166 return A._asyncRethrow($async$result, $async$completer);
41167 while (true)
41168 switch ($async$goto) {
41169 case 0:
41170 // Function start
41171 if (url.get$scheme() !== "file") {
41172 $async$returnValue = true;
41173 // goto return
41174 $async$goto = 1;
41175 break;
41176 }
41177 source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
41178 destination = $async$self._destinationFor$1(source);
41179 if (destination == null) {
41180 $async$returnValue = true;
41181 // goto return
41182 $async$goto = 1;
41183 break;
41184 }
41185 $async$goto = 3;
41186 return A._asyncAwait($async$self.compile$2(0, source, destination), $async$_compileIfEntrypoint$1);
41187 case 3:
41188 // returning from await.
41189 $async$returnValue = $async$result;
41190 // goto return
41191 $async$goto = 1;
41192 break;
41193 case 1:
41194 // return
41195 return A._asyncReturn($async$returnValue, $async$completer);
41196 }
41197 });
41198 return A._asyncStartSync($async$_compileIfEntrypoint$1, $async$completer);
41199 },
41200 _destinationFor$1(source) {
41201 var t2, destination, t3, t4, t5, t6, parts,
41202 t1 = this._watch$_options;
41203 t1._ensureSources$0();
41204 t2 = type$.String;
41205 destination = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
41206 if (destination != null)
41207 return destination;
41208 t3 = $.$get$context();
41209 if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
41210 return null;
41211 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();) {
41212 t5 = t1.get$current(t1);
41213 t6 = t5.key;
41214 if (t3._isWithinOrEquals$2(t6, source) !== B._PathRelation_within)
41215 continue;
41216 parts = A._setArrayType([t5.value, t3.withoutExtension$1(t3.relative$2$from(source, t6)) + ".css", null, null, null, null, null, null], t2);
41217 A._validateArgList("join", parts);
41218 destination = t3.joinAll$1(new A.WhereTypeIterable(parts, t4));
41219 if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
41220 return destination;
41221 }
41222 return null;
41223 }
41224 };
41225 A._Watcher_watch_closure.prototype = {
41226 call$0() {
41227 var $async$goto = 0,
41228 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
41229 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, $event, extension, success, success0, success1, t3, t1, t2, subscription;
41230 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
41231 if ($async$errorCode === 1) {
41232 $async$currentError = $async$result;
41233 $async$goto = $async$handler;
41234 }
41235 while (true)
41236 switch ($async$goto) {
41237 case 0:
41238 // Function start
41239 t1 = $async$self.$this;
41240 t2 = A._lateReadCheck($async$self.watcher._group.__StreamGroup__controller, "_controller");
41241 subscription = t1._debounceEvents$1(new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>"))).listen$1(0, null);
41242 $async$self._box_0.subscription = subscription;
41243 subscription.pause$0(0);
41244 t2 = subscription._zone;
41245 subscription._onData = A._BufferingStreamSubscription__registerDataHandler(t2, null, subscription.$ti._eval$1("_BufferingStreamSubscription.T"));
41246 subscription._onError = A._BufferingStreamSubscription__registerErrorHandler(t2, null);
41247 subscription._onDone = A._BufferingStreamSubscription__registerDoneHandler(t2, null);
41248 t2 = new A._StreamIterator(A.checkNotNullable(new A.SubscriptionStream(subscription, type$.SubscriptionStream_WatchEvent), "stream", type$.Object));
41249 $async$handler = 3;
41250 t3 = t1._watch$_options._options;
41251 case 6:
41252 // for condition
41253 $async$goto = 8;
41254 return A._asyncAwait(t2.moveNext$0(), $async$call$0);
41255 case 8:
41256 // returning from await.
41257 if (!$async$result) {
41258 // goto after for
41259 $async$goto = 7;
41260 break;
41261 }
41262 $event = t2.get$current(t2);
41263 extension = A.ParsedPath_ParsedPath$parse($event.path, $.$get$context().style)._splitExtension$1(1)[1];
41264 if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css")) {
41265 // goto for condition
41266 $async$goto = 6;
41267 break;
41268 }
41269 case 9:
41270 // switch
41271 switch ($event.type) {
41272 case B.ChangeType_modify:
41273 // goto case
41274 $async$goto = 11;
41275 break;
41276 case B.ChangeType_add:
41277 // goto case
41278 $async$goto = 12;
41279 break;
41280 case B.ChangeType_remove:
41281 // goto case
41282 $async$goto = 13;
41283 break;
41284 default:
41285 // goto after switch
41286 $async$goto = 10;
41287 break;
41288 }
41289 break;
41290 case 11:
41291 // case
41292 $async$goto = 14;
41293 return A._asyncAwait(t1._handleModify$1($event.path), $async$call$0);
41294 case 14:
41295 // returning from await.
41296 success = $async$result;
41297 if (!success && A._asBool(t3.$index(0, "stop-on-error"))) {
41298 $async$next = [1];
41299 // goto finally
41300 $async$goto = 4;
41301 break;
41302 }
41303 // goto after switch
41304 $async$goto = 10;
41305 break;
41306 case 12:
41307 // case
41308 $async$goto = 15;
41309 return A._asyncAwait(t1._handleAdd$1($event.path), $async$call$0);
41310 case 15:
41311 // returning from await.
41312 success0 = $async$result;
41313 if (!success0 && A._asBool(t3.$index(0, "stop-on-error"))) {
41314 $async$next = [1];
41315 // goto finally
41316 $async$goto = 4;
41317 break;
41318 }
41319 // goto after switch
41320 $async$goto = 10;
41321 break;
41322 case 13:
41323 // case
41324 $async$goto = 16;
41325 return A._asyncAwait(t1._handleRemove$1($event.path), $async$call$0);
41326 case 16:
41327 // returning from await.
41328 success1 = $async$result;
41329 if (!success1 && A._asBool(t3.$index(0, "stop-on-error"))) {
41330 $async$next = [1];
41331 // goto finally
41332 $async$goto = 4;
41333 break;
41334 }
41335 // goto after switch
41336 $async$goto = 10;
41337 break;
41338 case 10:
41339 // after switch
41340 // goto for condition
41341 $async$goto = 6;
41342 break;
41343 case 7:
41344 // after for
41345 $async$next.push(5);
41346 // goto finally
41347 $async$goto = 4;
41348 break;
41349 case 3:
41350 // uncaught
41351 $async$next = [2];
41352 case 4:
41353 // finally
41354 $async$handler = 2;
41355 $async$goto = 17;
41356 return A._asyncAwait(t2.cancel$0(), $async$call$0);
41357 case 17:
41358 // returning from await.
41359 // goto the next finally handler
41360 $async$goto = $async$next.pop();
41361 break;
41362 case 5:
41363 // after finally
41364 case 1:
41365 // return
41366 return A._asyncReturn($async$returnValue, $async$completer);
41367 case 2:
41368 // rethrow
41369 return A._asyncRethrow($async$currentError, $async$completer);
41370 }
41371 });
41372 return A._asyncStartSync($async$call$0, $async$completer);
41373 },
41374 $signature: 2
41375 };
41376 A._Watcher_watch_closure0.prototype = {
41377 call$0() {
41378 var t1 = this._box_0.subscription;
41379 return t1 == null ? null : t1.cancel$0();
41380 },
41381 $signature: 134
41382 };
41383 A._Watcher__debounceEvents_closure.prototype = {
41384 call$1(buffer) {
41385 var t2, t3, t4, oldType,
41386 t1 = A.PathMap__create(null, type$.ChangeType);
41387 for (t2 = J.get$iterator$ax(buffer); t2.moveNext$0();) {
41388 t3 = t2.get$current(t2);
41389 t4 = t3.path;
41390 oldType = t1.$index(0, t4);
41391 if (oldType == null)
41392 t1.$indexSet(0, t4, t3.type);
41393 else if (t3.type === B.ChangeType_remove)
41394 t1.$indexSet(0, t4, B.ChangeType_remove);
41395 else if (oldType !== B.ChangeType_add)
41396 t1.$indexSet(0, t4, B.ChangeType_modify);
41397 }
41398 t2 = A._setArrayType([], type$.JSArray_WatchEvent);
41399 for (t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
41400 t3 = t1.get$current(t1);
41401 t4 = t3.value;
41402 t3 = t3.key;
41403 t3.toString;
41404 t2.push(new A.WatchEvent(t4, t3));
41405 }
41406 return t2;
41407 },
41408 $signature: 347
41409 };
41410 A.EmptyExtensionStore.prototype = {
41411 get$isEmpty(_) {
41412 return true;
41413 },
41414 get$simpleSelectors() {
41415 return B.C_EmptyUnmodifiableSet;
41416 },
41417 extensionsWhereTarget$1(callback) {
41418 return B.List_empty2;
41419 },
41420 addSelector$3(selector, span, mediaContext) {
41421 throw A.wrapException(A.UnsupportedError$(string$.addSel));
41422 },
41423 addExtension$4(extender, target, extend, mediaContext) {
41424 throw A.wrapException(A.UnsupportedError$(string$.addExt_));
41425 },
41426 addExtensions$1(extenders) {
41427 throw A.wrapException(A.UnsupportedError$(string$.addExts));
41428 },
41429 clone$0() {
41430 return B.Tuple2_EmptyExtensionStore_Map_empty;
41431 },
41432 $isExtensionStore: 1
41433 };
41434 A.Extension.prototype = {
41435 toString$0(_) {
41436 var t1 = this.extender.toString$0(0) + " {@extend " + this.target.toString$0(0);
41437 return t1 + (this.isOptional ? " !optional" : "") + "}";
41438 }
41439 };
41440 A.Extender.prototype = {
41441 assertCompatibleMediaContext$1(mediaContext) {
41442 var expectedMediaContext,
41443 extension = this._extension;
41444 if (extension == null)
41445 return;
41446 expectedMediaContext = extension.mediaContext;
41447 if (expectedMediaContext == null)
41448 return;
41449 if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
41450 return;
41451 throw A.wrapException(A.SassException$(string$.You_ma, extension.span));
41452 },
41453 toString$0(_) {
41454 return A.serializeSelector(this.selector, true);
41455 }
41456 };
41457 A.ExtensionStore.prototype = {
41458 get$isEmpty(_) {
41459 var t1 = this._extensions;
41460 return t1.get$isEmpty(t1);
41461 },
41462 get$simpleSelectors() {
41463 return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
41464 },
41465 extensionsWhereTarget$1($async$callback) {
41466 var $async$self = this;
41467 return A._makeSyncStarIterable(function() {
41468 var callback = $async$callback;
41469 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
41470 return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
41471 if ($async$errorCode === 1) {
41472 $async$currentError = $async$result;
41473 $async$goto = $async$handler;
41474 }
41475 while (true)
41476 switch ($async$goto) {
41477 case 0:
41478 // Function start
41479 t1 = $async$self._extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
41480 case 2:
41481 // for condition
41482 if (!t1.moveNext$0()) {
41483 // goto after for
41484 $async$goto = 3;
41485 break;
41486 }
41487 t2 = t1.get$current(t1);
41488 if (!callback.call$1(t2.key)) {
41489 // goto for condition
41490 $async$goto = 2;
41491 break;
41492 }
41493 t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
41494 case 4:
41495 // for condition
41496 if (!t2.moveNext$0()) {
41497 // goto after for
41498 $async$goto = 5;
41499 break;
41500 }
41501 t3 = t2.get$current(t2);
41502 $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
41503 break;
41504 case 6:
41505 // then
41506 t3 = t3.unmerge$0();
41507 $async$goto = 9;
41508 return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
41509 case 9:
41510 // after yield
41511 // goto join
41512 $async$goto = 7;
41513 break;
41514 case 8:
41515 // else
41516 $async$goto = !t3.isOptional ? 10 : 11;
41517 break;
41518 case 10:
41519 // then
41520 $async$goto = 12;
41521 return t3;
41522 case 12:
41523 // after yield
41524 case 11:
41525 // join
41526 case 7:
41527 // join
41528 // goto for condition
41529 $async$goto = 4;
41530 break;
41531 case 5:
41532 // after for
41533 // goto for condition
41534 $async$goto = 2;
41535 break;
41536 case 3:
41537 // after for
41538 // implicit return
41539 return A._IterationMarker_endOfIteration();
41540 case 1:
41541 // rethrow
41542 return A._IterationMarker_uncaughtError($async$currentError);
41543 }
41544 };
41545 }, type$.Extension);
41546 },
41547 addSelector$3(selector, selectorSpan, mediaContext) {
41548 var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
41549 selector = selector;
41550 originalSelector = selector;
41551 if (!originalSelector.get$isInvisible())
41552 for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._originals, _i = 0; _i < t2; ++_i)
41553 t3.add$1(0, t1[_i]);
41554 t1 = _this._extensions;
41555 if (t1.get$isNotEmpty(t1))
41556 try {
41557 selector = _this._extendList$4(originalSelector, selectorSpan, t1, mediaContext);
41558 } catch (exception) {
41559 t1 = A.unwrapException(exception);
41560 if (t1 instanceof A.SassException) {
41561 error = t1;
41562 stackTrace = A.getTraceFromException(exception);
41563 t1 = error;
41564 t2 = J.getInterceptor$z(t1);
41565 t3 = error;
41566 t4 = J.getInterceptor$z(t3);
41567 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);
41568 } else
41569 throw exception;
41570 }
41571 modifiableSelector = new A.ModifiableCssValue(selector, selectorSpan, type$.ModifiableCssValue_SelectorList);
41572 if (mediaContext != null)
41573 _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
41574 _this._registerSelector$2(selector, modifiableSelector);
41575 return modifiableSelector;
41576 },
41577 _registerSelector$2(list, selector) {
41578 var t1, t2, t3, _i, t4, t5, _i0, component, t6, t7, _i1, simple, selectorInPseudo;
41579 for (t1 = list.components, t2 = t1.length, t3 = this._selectors, _i = 0; _i < t2; ++_i)
41580 for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0) {
41581 component = t4[_i0];
41582 if (!(component instanceof A.CompoundSelector))
41583 continue;
41584 for (t6 = component.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
41585 simple = t6[_i1];
41586 J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()), selector);
41587 if (!(simple instanceof A.PseudoSelector))
41588 continue;
41589 selectorInPseudo = simple.selector;
41590 if (selectorInPseudo != null)
41591 this._registerSelector$2(selectorInPseudo, selector);
41592 }
41593 }
41594 },
41595 addExtension$4(extender, target, extend, mediaContext) {
41596 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
41597 selectors = _this._selectors.$index(0, target),
41598 t1 = _this._extensionsByExtender,
41599 existingExtensions = t1.$index(0, target),
41600 sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
41601 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) {
41602 complex = t2[_i];
41603 if (complex._complex$_maxSpecificity == null)
41604 complex._computeSpecificity$0();
41605 complex._complex$_maxSpecificity.toString;
41606 t12 = new A.Extender(complex, false, t6);
41607 extension = t12._extension = new A.Extension(t12, target, mediaContext, t8, t7);
41608 existingExtension = sources.$index(0, complex);
41609 if (existingExtension != null) {
41610 sources.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, extension));
41611 continue;
41612 }
41613 sources.$indexSet(0, complex, extension);
41614 for (t12 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
41615 t13 = t12.get$current(t12);
41616 J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure0()), extension);
41617 t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure1(complex));
41618 }
41619 if (!t4 || t9) {
41620 if (newExtensions == null)
41621 newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
41622 newExtensions.$indexSet(0, complex, extension);
41623 }
41624 }
41625 if (newExtensions == null)
41626 return;
41627 t1 = type$.SimpleSelector;
41628 newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
41629 if (t9) {
41630 additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
41631 if (additionalExtensions != null)
41632 A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
41633 }
41634 if (!t4)
41635 _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
41636 },
41637 _simpleSelectors$1(complex) {
41638 return this._simpleSelectors$body$ExtensionStore(complex);
41639 },
41640 _simpleSelectors$body$ExtensionStore($async$complex) {
41641 var $async$self = this;
41642 return A._makeSyncStarIterable(function() {
41643 var complex = $async$complex;
41644 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, component, t3, t4, _i0, simple, selector, t5, t6, _i1;
41645 return function $async$_simpleSelectors$1($async$errorCode, $async$result) {
41646 if ($async$errorCode === 1) {
41647 $async$currentError = $async$result;
41648 $async$goto = $async$handler;
41649 }
41650 while (true)
41651 switch ($async$goto) {
41652 case 0:
41653 // Function start
41654 t1 = complex.components, t2 = t1.length, _i = 0;
41655 case 2:
41656 // for condition
41657 if (!(_i < t2)) {
41658 // goto after for
41659 $async$goto = 4;
41660 break;
41661 }
41662 component = t1[_i];
41663 $async$goto = component instanceof A.CompoundSelector ? 5 : 6;
41664 break;
41665 case 5:
41666 // then
41667 t3 = component.components, t4 = t3.length, _i0 = 0;
41668 case 7:
41669 // for condition
41670 if (!(_i0 < t4)) {
41671 // goto after for
41672 $async$goto = 9;
41673 break;
41674 }
41675 simple = t3[_i0];
41676 $async$goto = 10;
41677 return simple;
41678 case 10:
41679 // after yield
41680 if (!(simple instanceof A.PseudoSelector)) {
41681 // goto for update
41682 $async$goto = 8;
41683 break;
41684 }
41685 selector = simple.selector;
41686 if (selector == null) {
41687 // goto for update
41688 $async$goto = 8;
41689 break;
41690 }
41691 t5 = selector.components, t6 = t5.length, _i1 = 0;
41692 case 11:
41693 // for condition
41694 if (!(_i1 < t6)) {
41695 // goto after for
41696 $async$goto = 13;
41697 break;
41698 }
41699 $async$goto = 14;
41700 return A._IterationMarker_yieldStar($async$self._simpleSelectors$1(t5[_i1]));
41701 case 14:
41702 // after yield
41703 case 12:
41704 // for update
41705 ++_i1;
41706 // goto for condition
41707 $async$goto = 11;
41708 break;
41709 case 13:
41710 // after for
41711 case 8:
41712 // for update
41713 ++_i0;
41714 // goto for condition
41715 $async$goto = 7;
41716 break;
41717 case 9:
41718 // after for
41719 case 6:
41720 // join
41721 case 3:
41722 // for update
41723 ++_i;
41724 // goto for condition
41725 $async$goto = 2;
41726 break;
41727 case 4:
41728 // after for
41729 // implicit return
41730 return A._IterationMarker_endOfIteration();
41731 case 1:
41732 // rethrow
41733 return A._IterationMarker_uncaughtError($async$currentError);
41734 }
41735 };
41736 }, type$.SimpleSelector);
41737 },
41738 _extendExistingExtensions$2(extensions, newExtensions) {
41739 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;
41740 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) {
41741 extension = t1[_i];
41742 t7 = t6.$index(0, extension.target);
41743 t7.toString;
41744 selectors = null;
41745 try {
41746 selectors = this._extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
41747 if (selectors == null)
41748 continue;
41749 } catch (exception) {
41750 t8 = A.unwrapException(exception);
41751 if (t8 instanceof A.SassException) {
41752 error = t8;
41753 stackTrace = A.getTraceFromException(exception);
41754 t8 = error;
41755 t9 = J.getInterceptor$z(t8);
41756 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);
41757 } else
41758 throw exception;
41759 }
41760 t8 = J.get$first$ax(selectors);
41761 t9 = extension.extender;
41762 containsExtension = B.C_ListEquality.equals$2(0, t8.components, t9.selector.components);
41763 for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
41764 complex = t8[_i0];
41765 if (containsExtension && first) {
41766 first = false;
41767 continue;
41768 }
41769 t10 = extension;
41770 t11 = t10.extender;
41771 t12 = t10.target;
41772 t13 = t10.span;
41773 t14 = t10.mediaContext;
41774 t10 = t10.isOptional;
41775 if (complex._complex$_maxSpecificity == null)
41776 complex._computeSpecificity$0();
41777 complex._complex$_maxSpecificity.toString;
41778 t11 = new A.Extender(complex, false, t11.span);
41779 withExtender = t11._extension = new A.Extension(t11, t12, t14, t10, t13);
41780 existingExtension = t7.$index(0, complex);
41781 if (existingExtension != null)
41782 t7.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, withExtender));
41783 else {
41784 t7.$indexSet(0, complex, withExtender);
41785 for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1) {
41786 component = t10[_i1];
41787 if (component instanceof A.CompoundSelector)
41788 for (t12 = component.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
41789 J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
41790 }
41791 if (newExtensions.containsKey$1(extension.target)) {
41792 if (additionalExtensions == null)
41793 additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
41794 additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, complex, withExtender);
41795 }
41796 }
41797 }
41798 if (!containsExtension)
41799 t7.remove$1(0, extension.extender);
41800 }
41801 return additionalExtensions;
41802 },
41803 _extendExistingSelectors$2(selectors, newExtensions) {
41804 var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
41805 for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
41806 selector = t1.get$current(t1);
41807 oldValue = selector.value;
41808 try {
41809 selector.value = this._extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
41810 } catch (exception) {
41811 t3 = A.unwrapException(exception);
41812 if (t3 instanceof A.SassException) {
41813 error = t3;
41814 stackTrace = A.getTraceFromException(exception);
41815 t3 = error;
41816 t4 = J.getInterceptor$z(t3);
41817 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);
41818 } else
41819 throw exception;
41820 }
41821 if (oldValue === selector.value)
41822 continue;
41823 this._registerSelector$2(selector.value, selector);
41824 }
41825 },
41826 addExtensions$1(extensionStores) {
41827 var t1, t2, t3, _box_0 = {};
41828 _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
41829 for (t1 = J.get$iterator$ax(extensionStores), t2 = this._sourceSpecificity; t1.moveNext$0();) {
41830 t3 = t1.get$current(t1);
41831 if (t3.get$isEmpty(t3))
41832 continue;
41833 t2.addAll$1(0, t3.get$_sourceSpecificity());
41834 t3.get$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure(_box_0, this));
41835 }
41836 A.NullableExtension_andThen(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure0(_box_0, this));
41837 },
41838 _extendList$4(list, listSpan, extensions, mediaQueryContext) {
41839 var t1, t2, t3, extended, i, complex, result, t4;
41840 for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
41841 complex = t1[i];
41842 result = this._extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
41843 if (result == null) {
41844 if (extended != null)
41845 extended.push(complex);
41846 } else {
41847 if (extended == null)
41848 if (i === 0)
41849 extended = A._setArrayType([], t3);
41850 else {
41851 t4 = B.JSArray_methods.sublist$2(t1, 0, i);
41852 extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
41853 }
41854 B.JSArray_methods.addAll$1(extended, result);
41855 }
41856 }
41857 if (extended == null)
41858 return list;
41859 t1 = this._originals;
41860 return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)));
41861 },
41862 _extendList$3(list, listSpan, extensions) {
41863 return this._extendList$4(list, listSpan, extensions, null);
41864 },
41865 _extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
41866 var t1, t2, t3, t4, t5, extendedNotExpanded, i, component, extended, result, t6, t7, t8, _null = null,
41867 _s28_ = "components may not be empty.",
41868 _box_0 = {},
41869 isOriginal = this._originals.contains$1(0, complex);
41870 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) {
41871 component = t1[i];
41872 if (component instanceof A.CompoundSelector) {
41873 extended = this._extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
41874 if (extended == null) {
41875 if (extendedNotExpanded != null) {
41876 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
41877 result.fixed$length = Array;
41878 result.immutable$list = Array;
41879 t6 = result;
41880 if (t6.length === 0)
41881 A.throwExpression(A.ArgumentError$(_s28_, _null));
41882 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector(t6, false)], t3));
41883 }
41884 } else {
41885 if (extendedNotExpanded == null) {
41886 t6 = A._arrayInstanceType(t1);
41887 t7 = t6._eval$1("SubListIterable<1>");
41888 t8 = new A.SubListIterable(t1, 0, i, t7);
41889 t8.SubListIterable$3(t1, 0, i, t6._precomputed1);
41890 t7 = t7._eval$1("MappedListIterable<ListIterable.E,List<ComplexSelector>>");
41891 extendedNotExpanded = A.List_List$of(new A.MappedListIterable(t8, new A.ExtensionStore__extendComplex_closure(complex), t7), true, t7._eval$1("ListIterable.E"));
41892 }
41893 B.JSArray_methods.add$1(extendedNotExpanded, extended);
41894 }
41895 } else if (extendedNotExpanded != null) {
41896 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
41897 result.fixed$length = Array;
41898 result.immutable$list = Array;
41899 t6 = result;
41900 if (t6.length === 0)
41901 A.throwExpression(A.ArgumentError$(_s28_, _null));
41902 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector(t6, false)], t3));
41903 }
41904 }
41905 if (extendedNotExpanded == null)
41906 return _null;
41907 _box_0.first = true;
41908 t1 = type$.ComplexSelector;
41909 t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
41910 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
41911 },
41912 _extendCompound$5$inOriginal(compound, compoundSpan, extensions, mediaQueryContext, inOriginal) {
41913 var t2, t3, t4, t5, t6, t7, t8, t9, t10, options, i, simple, extended, result, t11, t12, isOriginal, _this = this, _null = null,
41914 _s28_ = "components may not be empty.",
41915 _box_1 = {},
41916 t1 = _this._mode,
41917 targetsUsed = t1 === B.ExtendMode_normal || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
41918 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) {
41919 simple = t2[i];
41920 extended = _this._extendSimple$5(simple, compoundSpan, extensions, mediaQueryContext, targetsUsed);
41921 if (extended == null) {
41922 if (options != null) {
41923 result = A.List_List$from(A._setArrayType([simple], t10), false, t8);
41924 result.fixed$length = Array;
41925 result.immutable$list = Array;
41926 t11 = result;
41927 if (t11.length === 0)
41928 A.throwExpression(A.ArgumentError$(_s28_, _null));
41929 result = A.List_List$from(A._setArrayType([new A.CompoundSelector(t11)], t6), false, t7);
41930 result.fixed$length = Array;
41931 result.immutable$list = Array;
41932 t11 = result;
41933 if (t11.length === 0)
41934 A.throwExpression(A.ArgumentError$(_s28_, _null));
41935 t9.$index(0, simple);
41936 options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t11, false), true, compoundSpan)], t5));
41937 }
41938 } else {
41939 if (options == null) {
41940 options = A._setArrayType([], t4);
41941 if (i !== 0) {
41942 t11 = A._arrayInstanceType(t2);
41943 t12 = new A.SubListIterable(t2, 0, i, t11._eval$1("SubListIterable<1>"));
41944 t12.SubListIterable$3(t2, 0, i, t11._precomputed1);
41945 result = A.List_List$from(t12, false, t8);
41946 result.fixed$length = Array;
41947 result.immutable$list = Array;
41948 t12 = result;
41949 compound = new A.CompoundSelector(t12);
41950 if (t12.length === 0)
41951 A.throwExpression(A.ArgumentError$(_s28_, _null));
41952 result = A.List_List$from(A._setArrayType([compound], t6), false, t7);
41953 result.fixed$length = Array;
41954 result.immutable$list = Array;
41955 t11 = result;
41956 if (t11.length === 0)
41957 A.throwExpression(A.ArgumentError$(_s28_, _null));
41958 _this._sourceSpecificityFor$1(compound);
41959 options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t11, false), true, compoundSpan)], t5));
41960 }
41961 }
41962 B.JSArray_methods.addAll$1(options, extended);
41963 }
41964 }
41965 if (options == null)
41966 return _null;
41967 if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
41968 return _null;
41969 if (options.length === 1)
41970 return J.map$1$1$ax(B.JSArray_methods.get$first(options), new A.ExtensionStore__extendCompound_closure(mediaQueryContext), type$.ComplexSelector).toList$0(0);
41971 t1 = _box_1.first = t1 !== B.ExtendMode_replace;
41972 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);
41973 t3 = t2.$ti._eval$1("ExpandIterable<Iterable.E,ComplexSelector>");
41974 result = A.List_List$of(new A.ExpandIterable(t2, new A.ExtensionStore__extendCompound_closure1(), t3), true, t3._eval$1("Iterable.E"));
41975 isOriginal = new A.ExtensionStore__extendCompound_closure2();
41976 return _this._trim$2(result, inOriginal && t1 ? new A.ExtensionStore__extendCompound_closure3(B.JSArray_methods.get$first(result)) : isOriginal);
41977 },
41978 _extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
41979 var extended,
41980 t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed, simpleSpan);
41981 if (simple instanceof A.PseudoSelector && simple.selector != null) {
41982 extended = this._extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
41983 if (extended != null)
41984 return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender>>"));
41985 }
41986 return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
41987 },
41988 _extenderForSimple$2(simple, span) {
41989 var t1 = A.ComplexSelector$(A._setArrayType([A.CompoundSelector$(A._setArrayType([simple], type$.JSArray_SimpleSelector))], type$.JSArray_ComplexSelectorComponent), false);
41990 this._sourceSpecificity.$index(0, simple);
41991 return new A.Extender(t1, true, span);
41992 },
41993 _extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
41994 var extended, complexes, t1, result,
41995 selector = pseudo.selector;
41996 if (selector == null)
41997 throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
41998 extended = this._extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
41999 if (extended === selector)
42000 return null;
42001 complexes = extended.components;
42002 t1 = pseudo.normalizedName === "not";
42003 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()))
42004 complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
42005 complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
42006 if (t1 && selector.components.length === 1) {
42007 t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
42008 result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
42009 return result.length === 0 ? null : result;
42010 } else
42011 return A._setArrayType([A.PseudoSelector$(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$(complexes))], type$.JSArray_PseudoSelector);
42012 },
42013 _trim$2(selectors, isOriginal) {
42014 var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, component;
42015 if (selectors.length > 100)
42016 return selectors;
42017 result = A.QueueList$(null, type$.ComplexSelector);
42018 $label0$0:
42019 for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
42020 _box_0 = {};
42021 complex1 = selectors[i];
42022 if (isOriginal.call$1(complex1)) {
42023 for (j = 0; j < numOriginals; ++j)
42024 if (J.$eq$(result.$index(0, j), complex1)) {
42025 A.rotateSlice(result, 0, j + 1);
42026 continue $label0$0;
42027 }
42028 ++numOriginals;
42029 result.addFirst$1(complex1);
42030 continue $label0$0;
42031 }
42032 _box_0.maxSpecificity = 0;
42033 for (t3 = complex1.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
42034 component = t3[_i];
42035 if (component instanceof A.CompoundSelector)
42036 _box_0.maxSpecificity = Math.max(_box_0.maxSpecificity, this._sourceSpecificityFor$1(component));
42037 }
42038 if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
42039 continue $label0$0;
42040 t3 = new A.SubListIterable(selectors, 0, i, t1);
42041 t3.SubListIterable$3(selectors, 0, i, t2);
42042 if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
42043 continue $label0$0;
42044 result.addFirst$1(complex1);
42045 }
42046 return result;
42047 },
42048 _sourceSpecificityFor$1(compound) {
42049 var t1, t2, t3, specificity, _i, t4;
42050 for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
42051 t4 = t3.$index(0, t1[_i]);
42052 specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
42053 }
42054 return specificity;
42055 },
42056 clone$0() {
42057 var t3, t4, _this = this,
42058 t1 = type$.SimpleSelector,
42059 newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList),
42060 t2 = type$.ModifiableCssValue_SelectorList,
42061 newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery),
42062 oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList, t2);
42063 _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
42064 t2 = type$.Extension;
42065 t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
42066 t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
42067 t1 = A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int);
42068 t1.addAll$1(0, _this._sourceSpecificity);
42069 t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
42070 t4.addAll$1(0, _this._originals);
42071 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);
42072 },
42073 get$_extensions() {
42074 return this._extensions;
42075 },
42076 get$_sourceSpecificity() {
42077 return this._sourceSpecificity;
42078 }
42079 };
42080 A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
42081 call$1(extension) {
42082 return !extension.isOptional;
42083 },
42084 $signature: 305
42085 };
42086 A.ExtensionStore__registerSelector_closure.prototype = {
42087 call$0() {
42088 return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList);
42089 },
42090 $signature: 358
42091 };
42092 A.ExtensionStore_addExtension_closure.prototype = {
42093 call$0() {
42094 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
42095 },
42096 $signature: 145
42097 };
42098 A.ExtensionStore_addExtension_closure0.prototype = {
42099 call$0() {
42100 return A._setArrayType([], type$.JSArray_Extension);
42101 },
42102 $signature: 211
42103 };
42104 A.ExtensionStore_addExtension_closure1.prototype = {
42105 call$0() {
42106 return this.complex.get$maxSpecificity();
42107 },
42108 $signature: 12
42109 };
42110 A.ExtensionStore__extendExistingExtensions_closure.prototype = {
42111 call$0() {
42112 return A._setArrayType([], type$.JSArray_Extension);
42113 },
42114 $signature: 211
42115 };
42116 A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
42117 call$0() {
42118 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
42119 },
42120 $signature: 145
42121 };
42122 A.ExtensionStore_addExtensions_closure.prototype = {
42123 call$2(target, newSources) {
42124 var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
42125 if (target instanceof A.PlaceholderSelector) {
42126 first = B.JSString_methods._codeUnitAt$1(target.name, 0);
42127 t1 = first === 45 || first === 95;
42128 } else
42129 t1 = false;
42130 if (t1)
42131 return;
42132 t1 = _this.$this;
42133 extensionsForTarget = t1._extensionsByExtender.$index(0, target);
42134 t2 = extensionsForTarget == null;
42135 if (!t2) {
42136 t3 = _this._box_0;
42137 t4 = t3.extensionsToExtend;
42138 B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension) : t4, extensionsForTarget);
42139 }
42140 selectorsForTarget = t1._selectors.$index(0, target);
42141 t3 = selectorsForTarget != null;
42142 if (t3) {
42143 t4 = _this._box_0;
42144 t5 = t4.selectorsToExtend;
42145 (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList) : t5).addAll$1(0, selectorsForTarget);
42146 }
42147 t1 = t1._extensions;
42148 existingSources = t1.$index(0, target);
42149 if (existingSources == null) {
42150 t4 = type$.ComplexSelector;
42151 t5 = type$.Extension;
42152 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
42153 if (!t2 || t3) {
42154 t1 = _this._box_0;
42155 t2 = t1.newExtensions;
42156 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
42157 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
42158 }
42159 } else
42160 newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure1(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
42161 },
42162 $signature: 368
42163 };
42164 A.ExtensionStore_addExtensions__closure1.prototype = {
42165 call$2(extender, extension) {
42166 var t2, _this = this,
42167 t1 = _this.existingSources;
42168 if (t1.containsKey$1(extender)) {
42169 t2 = t1.$index(0, extender);
42170 t2.toString;
42171 extension = A.MergedExtension_merge(t2, extension);
42172 t1.$indexSet(0, extender, extension);
42173 } else
42174 t1.$indexSet(0, extender, extension);
42175 if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
42176 t1 = _this._box_0;
42177 t2 = t1.newExtensions;
42178 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
42179 J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure()), extender, extension);
42180 }
42181 },
42182 $signature: 377
42183 };
42184 A.ExtensionStore_addExtensions___closure.prototype = {
42185 call$0() {
42186 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
42187 },
42188 $signature: 145
42189 };
42190 A.ExtensionStore_addExtensions_closure0.prototype = {
42191 call$1(newExtensions) {
42192 var t1 = this._box_0,
42193 t2 = this.$this;
42194 A.NullableExtension_andThen(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure(t2, newExtensions));
42195 A.NullableExtension_andThen(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure0(t2, newExtensions));
42196 },
42197 $signature: 380
42198 };
42199 A.ExtensionStore_addExtensions__closure.prototype = {
42200 call$1(extensionsToExtend) {
42201 return this.$this._extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
42202 },
42203 $signature: 387
42204 };
42205 A.ExtensionStore_addExtensions__closure0.prototype = {
42206 call$1(selectorsToExtend) {
42207 return this.$this._extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
42208 },
42209 $signature: 395
42210 };
42211 A.ExtensionStore__extendComplex_closure.prototype = {
42212 call$1(component) {
42213 return A._setArrayType([A.ComplexSelector$(A._setArrayType([component], type$.JSArray_ComplexSelectorComponent), this.complex.lineBreak)], type$.JSArray_ComplexSelector);
42214 },
42215 $signature: 399
42216 };
42217 A.ExtensionStore__extendComplex_closure0.prototype = {
42218 call$1(path) {
42219 var t1 = A.weave(J.map$1$1$ax(path, new A.ExtensionStore__extendComplex__closure(), type$.List_ComplexSelectorComponent).toList$0(0));
42220 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>"));
42221 },
42222 $signature: 400
42223 };
42224 A.ExtensionStore__extendComplex__closure.prototype = {
42225 call$1(complex) {
42226 return complex.components;
42227 },
42228 $signature: 405
42229 };
42230 A.ExtensionStore__extendComplex__closure0.prototype = {
42231 call$1(components) {
42232 var _this = this,
42233 t1 = _this.complex,
42234 outputComplex = A.ComplexSelector$(components, t1.lineBreak || J.any$1$ax(_this.path, new A.ExtensionStore__extendComplex___closure())),
42235 t2 = _this._box_0;
42236 if (t2.first && _this.$this._originals.contains$1(0, t1))
42237 _this.$this._originals.add$1(0, outputComplex);
42238 t2.first = false;
42239 return outputComplex;
42240 },
42241 $signature: 87
42242 };
42243 A.ExtensionStore__extendComplex___closure.prototype = {
42244 call$1(inputComplex) {
42245 return inputComplex.lineBreak;
42246 },
42247 $signature: 19
42248 };
42249 A.ExtensionStore__extendCompound_closure.prototype = {
42250 call$1(extender) {
42251 extender.assertCompatibleMediaContext$1(this.mediaQueryContext);
42252 return extender.selector;
42253 },
42254 $signature: 416
42255 };
42256 A.ExtensionStore__extendCompound_closure0.prototype = {
42257 call$1(path) {
42258 var complexes, toUnify, t2, t3, originals, t4, _box_0 = {},
42259 t1 = this._box_1;
42260 if (t1.first) {
42261 t1.first = false;
42262 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);
42263 } else {
42264 toUnify = A.QueueList$(null, type$.List_ComplexSelectorComponent);
42265 for (t1 = J.get$iterator$ax(path), t2 = type$.CompoundSelector, t3 = type$.JSArray_SimpleSelector, originals = null; t1.moveNext$0();) {
42266 t4 = t1.get$current(t1);
42267 if (t4.isOriginal) {
42268 if (originals == null)
42269 originals = A._setArrayType([], t3);
42270 B.JSArray_methods.addAll$1(originals, t2._as(B.JSArray_methods.get$last(t4.selector.components)).components);
42271 } else
42272 toUnify._queue_list$_add$1(t4.selector.components);
42273 }
42274 if (originals != null)
42275 toUnify.addFirst$1(A._setArrayType([A.CompoundSelector$(originals)], type$.JSArray_ComplexSelectorComponent));
42276 complexes = A.unifyComplex(toUnify);
42277 if (complexes == null)
42278 return null;
42279 }
42280 _box_0.lineBreak = false;
42281 for (t1 = J.get$iterator$ax(path), t2 = this.mediaQueryContext; t1.moveNext$0();) {
42282 t3 = t1.get$current(t1);
42283 t3.assertCompatibleMediaContext$1(t2);
42284 _box_0.lineBreak = _box_0.lineBreak || t3.selector.lineBreak;
42285 }
42286 t1 = J.map$1$1$ax(complexes, new A.ExtensionStore__extendCompound__closure0(_box_0), type$.ComplexSelector);
42287 return A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
42288 },
42289 $signature: 420
42290 };
42291 A.ExtensionStore__extendCompound__closure.prototype = {
42292 call$1(extender) {
42293 return type$.CompoundSelector._as(B.JSArray_methods.get$last(extender.selector.components)).components;
42294 },
42295 $signature: 421
42296 };
42297 A.ExtensionStore__extendCompound__closure0.prototype = {
42298 call$1(components) {
42299 return A.ComplexSelector$(components, this._box_0.lineBreak);
42300 },
42301 $signature: 87
42302 };
42303 A.ExtensionStore__extendCompound_closure1.prototype = {
42304 call$1(l) {
42305 return l;
42306 },
42307 $signature: 431
42308 };
42309 A.ExtensionStore__extendCompound_closure2.prototype = {
42310 call$1(_) {
42311 return false;
42312 },
42313 $signature: 19
42314 };
42315 A.ExtensionStore__extendCompound_closure3.prototype = {
42316 call$1(complex) {
42317 var t1 = B.C_ListEquality.equals$2(0, complex.components, this.original.components);
42318 return t1;
42319 },
42320 $signature: 19
42321 };
42322 A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
42323 call$1(simple) {
42324 var t1, t2, _this = this,
42325 extensionsForSimple = _this.extensions.$index(0, simple);
42326 if (extensionsForSimple == null)
42327 return null;
42328 t1 = _this.targetsUsed;
42329 if (t1 != null)
42330 t1.add$1(0, simple);
42331 t1 = A._setArrayType([], type$.JSArray_Extender);
42332 t2 = _this.$this;
42333 if (t2._mode !== B.ExtendMode_replace)
42334 t1.push(t2._extenderForSimple$2(simple, _this.simpleSpan));
42335 for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
42336 t1.push(t2.get$current(t2).extender);
42337 return t1;
42338 },
42339 $signature: 446
42340 };
42341 A.ExtensionStore__extendSimple_closure.prototype = {
42342 call$1(pseudo) {
42343 var t1 = this.withoutPseudo.call$1(pseudo);
42344 return t1 == null ? A._setArrayType([this.$this._extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender) : t1;
42345 },
42346 $signature: 454
42347 };
42348 A.ExtensionStore__extendSimple_closure0.prototype = {
42349 call$1(result) {
42350 return A._setArrayType([result], type$.JSArray_List_Extender);
42351 },
42352 $signature: 455
42353 };
42354 A.ExtensionStore__extendPseudo_closure.prototype = {
42355 call$1(complex) {
42356 return complex.components.length > 1;
42357 },
42358 $signature: 19
42359 };
42360 A.ExtensionStore__extendPseudo_closure0.prototype = {
42361 call$1(complex) {
42362 return complex.components.length === 1;
42363 },
42364 $signature: 19
42365 };
42366 A.ExtensionStore__extendPseudo_closure1.prototype = {
42367 call$1(complex) {
42368 return complex.components.length <= 1;
42369 },
42370 $signature: 19
42371 };
42372 A.ExtensionStore__extendPseudo_closure2.prototype = {
42373 call$1(complex) {
42374 var innerPseudo, innerSelector,
42375 t1 = complex.components;
42376 if (t1.length !== 1)
42377 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
42378 if (!(B.JSArray_methods.get$first(t1) instanceof A.CompoundSelector))
42379 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
42380 t1 = type$.CompoundSelector._as(B.JSArray_methods.get$first(t1)).components;
42381 if (t1.length !== 1)
42382 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
42383 if (!(B.JSArray_methods.get$first(t1) instanceof A.PseudoSelector))
42384 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
42385 innerPseudo = type$.PseudoSelector._as(B.JSArray_methods.get$first(t1));
42386 innerSelector = innerPseudo.selector;
42387 if (innerSelector == null)
42388 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
42389 t1 = this.pseudo;
42390 switch (t1.normalizedName) {
42391 case "not":
42392 if (!B.Set_YEQji._map.containsKey$1(innerPseudo.normalizedName))
42393 return A._setArrayType([], type$.JSArray_ComplexSelector);
42394 return innerSelector.components;
42395 case "is":
42396 case "matches":
42397 case "where":
42398 case "any":
42399 case "current":
42400 case "nth-child":
42401 case "nth-last-child":
42402 if (innerPseudo.name !== t1.name)
42403 return A._setArrayType([], type$.JSArray_ComplexSelector);
42404 if (innerPseudo.argument != t1.argument)
42405 return A._setArrayType([], type$.JSArray_ComplexSelector);
42406 return innerSelector.components;
42407 case "has":
42408 case "host":
42409 case "host-context":
42410 case "slotted":
42411 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
42412 default:
42413 return A._setArrayType([], type$.JSArray_ComplexSelector);
42414 }
42415 },
42416 $signature: 458
42417 };
42418 A.ExtensionStore__extendPseudo_closure3.prototype = {
42419 call$1(complex) {
42420 var t1 = this.pseudo;
42421 return A.PseudoSelector$(t1.name, t1.argument, !t1.isClass, A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector)));
42422 },
42423 $signature: 471
42424 };
42425 A.ExtensionStore__trim_closure.prototype = {
42426 call$1(complex2) {
42427 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector(complex2.components, this.complex1.components);
42428 },
42429 $signature: 19
42430 };
42431 A.ExtensionStore__trim_closure0.prototype = {
42432 call$1(complex2) {
42433 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector(complex2.components, this.complex1.components);
42434 },
42435 $signature: 19
42436 };
42437 A.ExtensionStore_clone_closure.prototype = {
42438 call$2(simple, selectors) {
42439 var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
42440 t1 = type$.ModifiableCssValue_SelectorList,
42441 newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
42442 _this.newSelectors.$indexSet(0, simple, newSelectorSet);
42443 for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
42444 t6 = t2.get$current(t2);
42445 newSelector = new A.ModifiableCssValue(t6.value, t6.span, t1);
42446 newSelectorSet.add$1(0, newSelector);
42447 t3.$indexSet(0, t6, newSelector);
42448 mediaContext = t4.$index(0, t6);
42449 if (mediaContext != null)
42450 t5.$indexSet(0, newSelector, mediaContext);
42451 }
42452 },
42453 $signature: 472
42454 };
42455 A.unifyComplex_closure.prototype = {
42456 call$1(complex) {
42457 var t1 = J.getInterceptor$asx(complex);
42458 return t1.sublist$2(complex, 0, t1.get$length(complex) - 1);
42459 },
42460 $signature: 104
42461 };
42462 A._weaveParents_closure.prototype = {
42463 call$2(group1, group2) {
42464 var unified, t1, _null = null;
42465 if (B.C_ListEquality.equals$2(0, group1, group2))
42466 return group1;
42467 if (!(J.get$first$ax(group1) instanceof A.CompoundSelector) || !(J.get$first$ax(group2) instanceof A.CompoundSelector))
42468 return _null;
42469 if (A.complexIsParentSuperselector(group1, group2))
42470 return group2;
42471 if (A.complexIsParentSuperselector(group2, group1))
42472 return group1;
42473 if (!A._mustUnify(group1, group2))
42474 return _null;
42475 unified = A.unifyComplex(A._setArrayType([group1, group2], type$.JSArray_List_ComplexSelectorComponent));
42476 if (unified == null)
42477 return _null;
42478 t1 = J.getInterceptor$asx(unified);
42479 if (t1.get$length(unified) > 1)
42480 return _null;
42481 return t1.get$first(unified);
42482 },
42483 $signature: 490
42484 };
42485 A._weaveParents_closure0.prototype = {
42486 call$1(sequence) {
42487 return A.complexIsParentSuperselector(sequence.get$first(sequence), this.group);
42488 },
42489 $signature: 505
42490 };
42491 A._weaveParents_closure1.prototype = {
42492 call$1(chunk) {
42493 return J.expand$1$1$ax(chunk, new A._weaveParents__closure1(), type$.ComplexSelectorComponent);
42494 },
42495 $signature: 253
42496 };
42497 A._weaveParents__closure1.prototype = {
42498 call$1(group) {
42499 return group;
42500 },
42501 $signature: 104
42502 };
42503 A._weaveParents_closure2.prototype = {
42504 call$1(sequence) {
42505 return sequence.get$length(sequence) === 0;
42506 },
42507 $signature: 174
42508 };
42509 A._weaveParents_closure3.prototype = {
42510 call$1(chunk) {
42511 return J.expand$1$1$ax(chunk, new A._weaveParents__closure0(), type$.ComplexSelectorComponent);
42512 },
42513 $signature: 253
42514 };
42515 A._weaveParents__closure0.prototype = {
42516 call$1(group) {
42517 return group;
42518 },
42519 $signature: 104
42520 };
42521 A._weaveParents_closure4.prototype = {
42522 call$1(choice) {
42523 return J.get$isNotEmpty$asx(choice);
42524 },
42525 $signature: 515
42526 };
42527 A._weaveParents_closure5.prototype = {
42528 call$1(path) {
42529 var t1 = J.expand$1$1$ax(path, new A._weaveParents__closure(), type$.ComplexSelectorComponent);
42530 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
42531 },
42532 $signature: 516
42533 };
42534 A._weaveParents__closure.prototype = {
42535 call$1(group) {
42536 return group;
42537 },
42538 $signature: 519
42539 };
42540 A._mustUnify_closure.prototype = {
42541 call$1(component) {
42542 return component instanceof A.CompoundSelector && B.JSArray_methods.any$1(component.components, new A._mustUnify__closure(this.uniqueSelectors));
42543 },
42544 $signature: 140
42545 };
42546 A._mustUnify__closure.prototype = {
42547 call$1(simple) {
42548 var t1;
42549 if (!(simple instanceof A.IDSelector))
42550 t1 = simple instanceof A.PseudoSelector && !simple.isClass;
42551 else
42552 t1 = true;
42553 return t1 && this.uniqueSelectors.contains$1(0, simple);
42554 },
42555 $signature: 16
42556 };
42557 A.paths_closure.prototype = {
42558 call$2(paths, choice) {
42559 var t1 = this.T;
42560 t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
42561 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
42562 },
42563 $signature() {
42564 return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
42565 }
42566 };
42567 A.paths__closure.prototype = {
42568 call$1(option) {
42569 var t1 = this.T;
42570 return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
42571 },
42572 $signature() {
42573 return this.T._eval$1("Iterable<List<0>>(0)");
42574 }
42575 };
42576 A.paths___closure.prototype = {
42577 call$1(path) {
42578 var t1 = A.List_List$of(path, true, this.T);
42579 t1.push(this.option);
42580 return t1;
42581 },
42582 $signature() {
42583 return this.T._eval$1("List<0>(List<0>)");
42584 }
42585 };
42586 A._hasRoot_closure.prototype = {
42587 call$1(simple) {
42588 return simple instanceof A.PseudoSelector && simple.isClass && simple.normalizedName === "root";
42589 },
42590 $signature: 16
42591 };
42592 A.listIsSuperselector_closure.prototype = {
42593 call$1(complex1) {
42594 return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
42595 },
42596 $signature: 19
42597 };
42598 A.listIsSuperselector__closure.prototype = {
42599 call$1(complex2) {
42600 return A.complexIsSuperselector(complex2.components, this.complex1.components);
42601 },
42602 $signature: 19
42603 };
42604 A._simpleIsSuperselectorOfCompound_closure.prototype = {
42605 call$1(theirSimple) {
42606 var selector,
42607 t1 = this.simple;
42608 if (t1.$eq(0, theirSimple))
42609 return true;
42610 if (!(theirSimple instanceof A.PseudoSelector))
42611 return false;
42612 selector = theirSimple.selector;
42613 if (selector == null)
42614 return false;
42615 if (!$._subselectorPseudos.contains$1(0, theirSimple.normalizedName))
42616 return false;
42617 return B.JSArray_methods.every$1(selector.components, new A._simpleIsSuperselectorOfCompound__closure(t1));
42618 },
42619 $signature: 16
42620 };
42621 A._simpleIsSuperselectorOfCompound__closure.prototype = {
42622 call$1(complex) {
42623 var t1 = complex.components;
42624 if (t1.length !== 1)
42625 return false;
42626 return B.JSArray_methods.contains$1(type$.CompoundSelector._as(B.JSArray_methods.get$single(t1)).components, this.simple);
42627 },
42628 $signature: 19
42629 };
42630 A._selectorPseudoIsSuperselector_closure.prototype = {
42631 call$1(selector2) {
42632 return A.listIsSuperselector(this.selector1.components, selector2.components);
42633 },
42634 $signature: 72
42635 };
42636 A._selectorPseudoIsSuperselector_closure0.prototype = {
42637 call$1(complex1) {
42638 var t1 = complex1.components,
42639 t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent),
42640 t3 = this.parents;
42641 if (t3 != null)
42642 B.JSArray_methods.addAll$1(t2, t3);
42643 t2.push(this.compound2);
42644 return A.complexIsSuperselector(t1, t2);
42645 },
42646 $signature: 19
42647 };
42648 A._selectorPseudoIsSuperselector_closure1.prototype = {
42649 call$1(selector2) {
42650 return A.listIsSuperselector(this.selector1.components, selector2.components);
42651 },
42652 $signature: 72
42653 };
42654 A._selectorPseudoIsSuperselector_closure2.prototype = {
42655 call$1(selector2) {
42656 return A.listIsSuperselector(this.selector1.components, selector2.components);
42657 },
42658 $signature: 72
42659 };
42660 A._selectorPseudoIsSuperselector_closure3.prototype = {
42661 call$1(complex) {
42662 return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
42663 },
42664 $signature: 19
42665 };
42666 A._selectorPseudoIsSuperselector__closure.prototype = {
42667 call$1(simple2) {
42668 var compound1, selector2, _this = this;
42669 if (simple2 instanceof A.TypeSelector) {
42670 compound1 = B.JSArray_methods.get$last(_this.complex.components);
42671 return compound1 instanceof A.CompoundSelector && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure(simple2));
42672 } else if (simple2 instanceof A.IDSelector) {
42673 compound1 = B.JSArray_methods.get$last(_this.complex.components);
42674 return compound1 instanceof A.CompoundSelector && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
42675 } else if (simple2 instanceof A.PseudoSelector && simple2.name === _this.pseudo1.name) {
42676 selector2 = simple2.selector;
42677 if (selector2 == null)
42678 return false;
42679 return A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
42680 } else
42681 return false;
42682 },
42683 $signature: 16
42684 };
42685 A._selectorPseudoIsSuperselector___closure.prototype = {
42686 call$1(simple1) {
42687 var t1;
42688 if (simple1 instanceof A.TypeSelector) {
42689 t1 = this.simple2.name.$eq(0, simple1.name);
42690 t1 = !t1;
42691 } else
42692 t1 = false;
42693 return t1;
42694 },
42695 $signature: 16
42696 };
42697 A._selectorPseudoIsSuperselector___closure0.prototype = {
42698 call$1(simple1) {
42699 var t1;
42700 if (simple1 instanceof A.IDSelector) {
42701 t1 = simple1.name;
42702 t1 = this.simple2.name !== t1;
42703 } else
42704 t1 = false;
42705 return t1;
42706 },
42707 $signature: 16
42708 };
42709 A._selectorPseudoIsSuperselector_closure4.prototype = {
42710 call$1(selector2) {
42711 var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
42712 return t1;
42713 },
42714 $signature: 72
42715 };
42716 A._selectorPseudoIsSuperselector_closure5.prototype = {
42717 call$1(pseudo2) {
42718 var t1, selector2;
42719 if (!(pseudo2 instanceof A.PseudoSelector))
42720 return false;
42721 t1 = this.pseudo1;
42722 if (pseudo2.name !== t1.name)
42723 return false;
42724 if (pseudo2.argument != t1.argument)
42725 return false;
42726 selector2 = pseudo2.selector;
42727 if (selector2 == null)
42728 return false;
42729 return A.listIsSuperselector(this.selector1.components, selector2.components);
42730 },
42731 $signature: 16
42732 };
42733 A._selectorPseudoArgs_closure.prototype = {
42734 call$1(pseudo) {
42735 return pseudo.isClass === this.isClass && pseudo.name === this.name;
42736 },
42737 $signature: 522
42738 };
42739 A._selectorPseudoArgs_closure0.prototype = {
42740 call$1(pseudo) {
42741 return pseudo.selector;
42742 },
42743 $signature: 530
42744 };
42745 A.MergedExtension.prototype = {
42746 unmerge$0() {
42747 var $async$self = this;
42748 return A._makeSyncStarIterable(function() {
42749 var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
42750 return function $async$unmerge$0($async$errorCode, $async$result) {
42751 if ($async$errorCode === 1) {
42752 $async$currentError = $async$result;
42753 $async$goto = $async$handler;
42754 }
42755 while (true)
42756 switch ($async$goto) {
42757 case 0:
42758 // Function start
42759 left = $async$self.left;
42760 $async$goto = left instanceof A.MergedExtension ? 2 : 4;
42761 break;
42762 case 2:
42763 // then
42764 $async$goto = 5;
42765 return A._IterationMarker_yieldStar(left.unmerge$0());
42766 case 5:
42767 // after yield
42768 // goto join
42769 $async$goto = 3;
42770 break;
42771 case 4:
42772 // else
42773 $async$goto = 6;
42774 return left;
42775 case 6:
42776 // after yield
42777 case 3:
42778 // join
42779 right = $async$self.right;
42780 $async$goto = right instanceof A.MergedExtension ? 7 : 9;
42781 break;
42782 case 7:
42783 // then
42784 $async$goto = 10;
42785 return A._IterationMarker_yieldStar(right.unmerge$0());
42786 case 10:
42787 // after yield
42788 // goto join
42789 $async$goto = 8;
42790 break;
42791 case 9:
42792 // else
42793 $async$goto = 11;
42794 return right;
42795 case 11:
42796 // after yield
42797 case 8:
42798 // join
42799 // implicit return
42800 return A._IterationMarker_endOfIteration();
42801 case 1:
42802 // rethrow
42803 return A._IterationMarker_uncaughtError($async$currentError);
42804 }
42805 };
42806 }, type$.Extension);
42807 }
42808 };
42809 A.ExtendMode.prototype = {
42810 toString$0(_) {
42811 return this.name;
42812 }
42813 };
42814 A.globalFunctions_closure.prototype = {
42815 call$1($arguments) {
42816 var t1 = J.getInterceptor$asx($arguments);
42817 return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
42818 },
42819 $signature: 4
42820 };
42821 A.global_closure.prototype = {
42822 call$1($arguments) {
42823 return A._rgb("rgb", $arguments);
42824 },
42825 $signature: 4
42826 };
42827 A.global_closure0.prototype = {
42828 call$1($arguments) {
42829 return A._rgb("rgb", $arguments);
42830 },
42831 $signature: 4
42832 };
42833 A.global_closure1.prototype = {
42834 call$1($arguments) {
42835 return A._rgbTwoArg("rgb", $arguments);
42836 },
42837 $signature: 4
42838 };
42839 A.global_closure2.prototype = {
42840 call$1($arguments) {
42841 var parsed = A._parseChannels("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
42842 return parsed instanceof A.SassString ? parsed : A._rgb("rgb", type$.List_Value._as(parsed));
42843 },
42844 $signature: 4
42845 };
42846 A.global_closure3.prototype = {
42847 call$1($arguments) {
42848 return A._rgb("rgba", $arguments);
42849 },
42850 $signature: 4
42851 };
42852 A.global_closure4.prototype = {
42853 call$1($arguments) {
42854 return A._rgb("rgba", $arguments);
42855 },
42856 $signature: 4
42857 };
42858 A.global_closure5.prototype = {
42859 call$1($arguments) {
42860 return A._rgbTwoArg("rgba", $arguments);
42861 },
42862 $signature: 4
42863 };
42864 A.global_closure6.prototype = {
42865 call$1($arguments) {
42866 var parsed = A._parseChannels("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
42867 return parsed instanceof A.SassString ? parsed : A._rgb("rgba", type$.List_Value._as(parsed));
42868 },
42869 $signature: 4
42870 };
42871 A.global_closure7.prototype = {
42872 call$1($arguments) {
42873 var color, t2,
42874 t1 = J.getInterceptor$asx($arguments),
42875 weight = t1.$index($arguments, 1).assertNumber$1("weight");
42876 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42877 if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
42878 throw A.wrapException(string$.Only_oa);
42879 return A._functionString("invert", t1.take$1($arguments, 1));
42880 }
42881 color = t1.$index($arguments, 0).assertColor$1("color");
42882 t1 = color.get$red(color);
42883 t2 = color.get$green(color);
42884 return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
42885 },
42886 $signature: 4
42887 };
42888 A.global_closure8.prototype = {
42889 call$1($arguments) {
42890 return A._hsl("hsl", $arguments);
42891 },
42892 $signature: 4
42893 };
42894 A.global_closure9.prototype = {
42895 call$1($arguments) {
42896 return A._hsl("hsl", $arguments);
42897 },
42898 $signature: 4
42899 };
42900 A.global_closure10.prototype = {
42901 call$1($arguments) {
42902 var t1 = J.getInterceptor$asx($arguments);
42903 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
42904 return A._functionString("hsl", $arguments);
42905 else
42906 throw A.wrapException(A.SassScriptException$("Missing argument $lightness."));
42907 },
42908 $signature: 14
42909 };
42910 A.global_closure11.prototype = {
42911 call$1($arguments) {
42912 var parsed = A._parseChannels("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
42913 return parsed instanceof A.SassString ? parsed : A._hsl("hsl", type$.List_Value._as(parsed));
42914 },
42915 $signature: 4
42916 };
42917 A.global_closure12.prototype = {
42918 call$1($arguments) {
42919 return A._hsl("hsla", $arguments);
42920 },
42921 $signature: 4
42922 };
42923 A.global_closure13.prototype = {
42924 call$1($arguments) {
42925 return A._hsl("hsla", $arguments);
42926 },
42927 $signature: 4
42928 };
42929 A.global_closure14.prototype = {
42930 call$1($arguments) {
42931 var t1 = J.getInterceptor$asx($arguments);
42932 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
42933 return A._functionString("hsla", $arguments);
42934 else
42935 throw A.wrapException(A.SassScriptException$("Missing argument $lightness."));
42936 },
42937 $signature: 14
42938 };
42939 A.global_closure15.prototype = {
42940 call$1($arguments) {
42941 var parsed = A._parseChannels("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
42942 return parsed instanceof A.SassString ? parsed : A._hsl("hsla", type$.List_Value._as(parsed));
42943 },
42944 $signature: 4
42945 };
42946 A.global_closure16.prototype = {
42947 call$1($arguments) {
42948 var t1 = J.getInterceptor$asx($arguments);
42949 if (t1.$index($arguments, 0) instanceof A.SassNumber)
42950 return A._functionString("grayscale", $arguments);
42951 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
42952 },
42953 $signature: 4
42954 };
42955 A.global_closure17.prototype = {
42956 call$1($arguments) {
42957 var t1 = J.getInterceptor$asx($arguments),
42958 color = t1.$index($arguments, 0).assertColor$1("color"),
42959 degrees = t1.$index($arguments, 1).assertNumber$1("degrees");
42960 A._checkAngle(degrees, null);
42961 return color.changeHsl$1$hue(color.get$hue(color) + degrees._number$_value);
42962 },
42963 $signature: 23
42964 };
42965 A.global_closure18.prototype = {
42966 call$1($arguments) {
42967 var t1 = J.getInterceptor$asx($arguments),
42968 color = t1.$index($arguments, 0).assertColor$1("color"),
42969 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42970 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
42971 },
42972 $signature: 23
42973 };
42974 A.global_closure19.prototype = {
42975 call$1($arguments) {
42976 var t1 = J.getInterceptor$asx($arguments),
42977 color = t1.$index($arguments, 0).assertColor$1("color"),
42978 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42979 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
42980 },
42981 $signature: 23
42982 };
42983 A.global_closure20.prototype = {
42984 call$1($arguments) {
42985 return new A.SassString("saturate(" + A.serializeValue(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
42986 },
42987 $signature: 14
42988 };
42989 A.global_closure21.prototype = {
42990 call$1($arguments) {
42991 var t1 = J.getInterceptor$asx($arguments),
42992 color = t1.$index($arguments, 0).assertColor$1("color"),
42993 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42994 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
42995 },
42996 $signature: 23
42997 };
42998 A.global_closure22.prototype = {
42999 call$1($arguments) {
43000 var t1 = J.getInterceptor$asx($arguments),
43001 color = t1.$index($arguments, 0).assertColor$1("color"),
43002 amount = t1.$index($arguments, 1).assertNumber$1("amount");
43003 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
43004 },
43005 $signature: 23
43006 };
43007 A.global_closure23.prototype = {
43008 call$1($arguments) {
43009 var color,
43010 argument = J.$index$asx($arguments, 0);
43011 if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart()))
43012 return A._functionString("alpha", $arguments);
43013 color = argument.assertColor$1("color");
43014 return new A.UnitlessSassNumber(color._alpha, null);
43015 },
43016 $signature: 4
43017 };
43018 A.global_closure24.prototype = {
43019 call$1($arguments) {
43020 var t1,
43021 argList = J.$index$asx($arguments, 0).get$asList();
43022 if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
43023 return A._functionString("alpha", $arguments);
43024 t1 = argList.length;
43025 if (t1 === 0)
43026 throw A.wrapException(A.SassScriptException$("Missing argument $color."));
43027 else
43028 throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed."));
43029 },
43030 $signature: 14
43031 };
43032 A.global__closure.prototype = {
43033 call$1(argument) {
43034 return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
43035 },
43036 $signature: 68
43037 };
43038 A.global_closure25.prototype = {
43039 call$1($arguments) {
43040 var color,
43041 t1 = J.getInterceptor$asx($arguments);
43042 if (t1.$index($arguments, 0) instanceof A.SassNumber)
43043 return A._functionString("opacity", $arguments);
43044 color = t1.$index($arguments, 0).assertColor$1("color");
43045 return new A.UnitlessSassNumber(color._alpha, null);
43046 },
43047 $signature: 4
43048 };
43049 A.module_closure.prototype = {
43050 call$1($arguments) {
43051 var result, color, t2,
43052 t1 = J.getInterceptor$asx($arguments),
43053 weight = t1.$index($arguments, 1).assertNumber$1("weight");
43054 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
43055 if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
43056 throw A.wrapException(string$.Only_oa);
43057 result = A._functionString("invert", t1.take$1($arguments, 1));
43058 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_ci + result.toString$0(0);
43059 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
43060 return result;
43061 }
43062 color = t1.$index($arguments, 0).assertColor$1("color");
43063 t1 = color.get$red(color);
43064 t2 = color.get$green(color);
43065 return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
43066 },
43067 $signature: 4
43068 };
43069 A.module_closure0.prototype = {
43070 call$1($arguments) {
43071 var result,
43072 t1 = J.getInterceptor$asx($arguments);
43073 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
43074 result = A._functionString("grayscale", t1.take$1($arguments, 1));
43075 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_cg + result.toString$0(0);
43076 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
43077 return result;
43078 }
43079 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
43080 },
43081 $signature: 4
43082 };
43083 A.module_closure1.prototype = {
43084 call$1($arguments) {
43085 return A._hwb($arguments);
43086 },
43087 $signature: 4
43088 };
43089 A.module_closure2.prototype = {
43090 call$1($arguments) {
43091 var parsed = A._parseChannels("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
43092 if (parsed instanceof A.SassString)
43093 throw A.wrapException(A.SassScriptException$('Expected numeric channels, got "' + parsed.toString$0(0) + '".'));
43094 else
43095 return A._hwb(type$.List_Value._as(parsed));
43096 },
43097 $signature: 4
43098 };
43099 A.module_closure3.prototype = {
43100 call$1($arguments) {
43101 var t1 = J.get$first$ax($arguments).assertColor$1("color");
43102 t1 = t1.get$whiteness(t1);
43103 return new A.SingleUnitSassNumber("%", t1, null);
43104 },
43105 $signature: 10
43106 };
43107 A.module_closure4.prototype = {
43108 call$1($arguments) {
43109 var t1 = J.get$first$ax($arguments).assertColor$1("color");
43110 t1 = t1.get$blackness(t1);
43111 return new A.SingleUnitSassNumber("%", t1, null);
43112 },
43113 $signature: 10
43114 };
43115 A.module_closure5.prototype = {
43116 call$1($arguments) {
43117 var result, t1, color,
43118 argument = J.$index$asx($arguments, 0);
43119 if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart())) {
43120 result = A._functionString("alpha", $arguments);
43121 t1 = string$.Using_c + result.toString$0(0);
43122 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
43123 return result;
43124 }
43125 color = argument.assertColor$1("color");
43126 return new A.UnitlessSassNumber(color._alpha, null);
43127 },
43128 $signature: 4
43129 };
43130 A.module_closure6.prototype = {
43131 call$1($arguments) {
43132 var result,
43133 t1 = J.getInterceptor$asx($arguments);
43134 if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure())) {
43135 result = A._functionString("alpha", $arguments);
43136 t1 = string$.Using_c + result.toString$0(0);
43137 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
43138 return result;
43139 }
43140 throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed."));
43141 },
43142 $signature: 14
43143 };
43144 A.module__closure.prototype = {
43145 call$1(argument) {
43146 return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
43147 },
43148 $signature: 68
43149 };
43150 A.module_closure7.prototype = {
43151 call$1($arguments) {
43152 var result, color,
43153 t1 = J.getInterceptor$asx($arguments);
43154 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
43155 result = A._functionString("opacity", $arguments);
43156 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x20to_co + result.toString$0(0);
43157 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
43158 return result;
43159 }
43160 color = t1.$index($arguments, 0).assertColor$1("color");
43161 return new A.UnitlessSassNumber(color._alpha, null);
43162 },
43163 $signature: 4
43164 };
43165 A._red_closure.prototype = {
43166 call$1($arguments) {
43167 var t1 = J.get$first$ax($arguments).assertColor$1("color");
43168 t1 = t1.get$red(t1);
43169 return new A.UnitlessSassNumber(t1, null);
43170 },
43171 $signature: 10
43172 };
43173 A._green_closure.prototype = {
43174 call$1($arguments) {
43175 var t1 = J.get$first$ax($arguments).assertColor$1("color");
43176 t1 = t1.get$green(t1);
43177 return new A.UnitlessSassNumber(t1, null);
43178 },
43179 $signature: 10
43180 };
43181 A._blue_closure.prototype = {
43182 call$1($arguments) {
43183 var t1 = J.get$first$ax($arguments).assertColor$1("color");
43184 t1 = t1.get$blue(t1);
43185 return new A.UnitlessSassNumber(t1, null);
43186 },
43187 $signature: 10
43188 };
43189 A._mix_closure.prototype = {
43190 call$1($arguments) {
43191 var t1 = J.getInterceptor$asx($arguments);
43192 return A._mixColors(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
43193 },
43194 $signature: 23
43195 };
43196 A._hue_closure.prototype = {
43197 call$1($arguments) {
43198 var t1 = J.get$first$ax($arguments).assertColor$1("color");
43199 t1 = t1.get$hue(t1);
43200 return new A.SingleUnitSassNumber("deg", t1, null);
43201 },
43202 $signature: 10
43203 };
43204 A._saturation_closure.prototype = {
43205 call$1($arguments) {
43206 var t1 = J.get$first$ax($arguments).assertColor$1("color");
43207 t1 = t1.get$saturation(t1);
43208 return new A.SingleUnitSassNumber("%", t1, null);
43209 },
43210 $signature: 10
43211 };
43212 A._lightness_closure.prototype = {
43213 call$1($arguments) {
43214 var t1 = J.get$first$ax($arguments).assertColor$1("color");
43215 t1 = t1.get$lightness(t1);
43216 return new A.SingleUnitSassNumber("%", t1, null);
43217 },
43218 $signature: 10
43219 };
43220 A._complement_closure.prototype = {
43221 call$1($arguments) {
43222 var color = J.$index$asx($arguments, 0).assertColor$1("color");
43223 return color.changeHsl$1$hue(color.get$hue(color) + 180);
43224 },
43225 $signature: 23
43226 };
43227 A._adjust_closure.prototype = {
43228 call$1($arguments) {
43229 return A._updateComponents($arguments, true, false, false);
43230 },
43231 $signature: 23
43232 };
43233 A._scale_closure.prototype = {
43234 call$1($arguments) {
43235 return A._updateComponents($arguments, false, false, true);
43236 },
43237 $signature: 23
43238 };
43239 A._change_closure.prototype = {
43240 call$1($arguments) {
43241 return A._updateComponents($arguments, false, true, false);
43242 },
43243 $signature: 23
43244 };
43245 A._ieHexStr_closure.prototype = {
43246 call$1($arguments) {
43247 var color = J.$index$asx($arguments, 0).assertColor$1("color"),
43248 t1 = new A._ieHexStr_closure_hexString();
43249 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);
43250 },
43251 $signature: 14
43252 };
43253 A._ieHexStr_closure_hexString.prototype = {
43254 call$1(component) {
43255 return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
43256 },
43257 $signature: 168
43258 };
43259 A._updateComponents_getParam.prototype = {
43260 call$4$assertPercent$checkPercent($name, max, assertPercent, checkPercent) {
43261 var t2,
43262 t1 = this.keywords.remove$1(0, $name),
43263 number = t1 == null ? null : t1.assertNumber$1($name);
43264 if (number == null)
43265 return null;
43266 t1 = this.scale;
43267 t2 = !t1;
43268 if (t2 && checkPercent)
43269 A._checkPercent(number, $name);
43270 if (!t2 || assertPercent)
43271 number.assertUnit$2("%", $name);
43272 if (t1)
43273 max = 100;
43274 return number.valueInRange$3(this.change ? 0 : -max, max, $name);
43275 },
43276 call$2($name, max) {
43277 return this.call$4$assertPercent$checkPercent($name, max, false, false);
43278 },
43279 call$3$checkPercent($name, max, checkPercent) {
43280 return this.call$4$assertPercent$checkPercent($name, max, false, checkPercent);
43281 },
43282 call$3$assertPercent($name, max, assertPercent) {
43283 return this.call$4$assertPercent$checkPercent($name, max, assertPercent, false);
43284 },
43285 $signature: 196
43286 };
43287 A._updateComponents_closure.prototype = {
43288 call$1($name) {
43289 return "$" + $name;
43290 },
43291 $signature: 5
43292 };
43293 A._updateComponents_updateValue.prototype = {
43294 call$3(current, param, max) {
43295 var t1;
43296 if (param == null)
43297 return current;
43298 if (this.change)
43299 return param;
43300 if (this.adjust)
43301 return B.JSNumber_methods.clamp$2(current + param, 0, max);
43302 t1 = param > 0 ? max - current : current;
43303 return current + t1 * (param / 100);
43304 },
43305 $signature: 175
43306 };
43307 A._updateComponents_updateRgb.prototype = {
43308 call$2(current, param) {
43309 return A.fuzzyRound(this.updateValue.call$3(current, param, 255));
43310 },
43311 $signature: 159
43312 };
43313 A._functionString_closure.prototype = {
43314 call$1(argument) {
43315 return A.serializeValue(argument, false, true);
43316 },
43317 $signature: 266
43318 };
43319 A._removedColorFunction_closure.prototype = {
43320 call$1($arguments) {
43321 var t1 = this.name,
43322 t2 = J.getInterceptor$asx($arguments),
43323 t3 = "The function " + t1 + string$.x28__isn + A.S(t2.$index($arguments, 0)) + ", $" + this.argument + ": ";
43324 throw A.wrapException(A.SassScriptException$(t3 + (this.negative ? "-" : "") + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Morx3a + t1));
43325 },
43326 $signature: 268
43327 };
43328 A._rgb_closure.prototype = {
43329 call$1(alpha) {
43330 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
43331 },
43332 $signature: 108
43333 };
43334 A._hsl_closure.prototype = {
43335 call$1(alpha) {
43336 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
43337 },
43338 $signature: 108
43339 };
43340 A._removeUnits_closure.prototype = {
43341 call$1(unit) {
43342 return " * 1" + unit;
43343 },
43344 $signature: 5
43345 };
43346 A._removeUnits_closure0.prototype = {
43347 call$1(unit) {
43348 return " / 1" + unit;
43349 },
43350 $signature: 5
43351 };
43352 A._hwb_closure.prototype = {
43353 call$1(alpha) {
43354 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
43355 },
43356 $signature: 108
43357 };
43358 A._parseChannels_closure.prototype = {
43359 call$1(value) {
43360 return value.get$isVar();
43361 },
43362 $signature: 68
43363 };
43364 A._length_closure0.prototype = {
43365 call$1($arguments) {
43366 var t1 = J.$index$asx($arguments, 0).get$asList().length;
43367 return new A.UnitlessSassNumber(t1, null);
43368 },
43369 $signature: 10
43370 };
43371 A._nth_closure.prototype = {
43372 call$1($arguments) {
43373 var t1 = J.getInterceptor$asx($arguments),
43374 list = t1.$index($arguments, 0),
43375 index = t1.$index($arguments, 1);
43376 return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
43377 },
43378 $signature: 4
43379 };
43380 A._setNth_closure.prototype = {
43381 call$1($arguments) {
43382 var t1 = J.getInterceptor$asx($arguments),
43383 list = t1.$index($arguments, 0),
43384 index = t1.$index($arguments, 1),
43385 value = t1.$index($arguments, 2),
43386 t2 = list.get$asList(),
43387 newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
43388 newList[list.sassIndexToListIndex$2(index, "n")] = value;
43389 return t1.$index($arguments, 0).withListContents$1(newList);
43390 },
43391 $signature: 22
43392 };
43393 A._join_closure.prototype = {
43394 call$1($arguments) {
43395 var separator, bracketed,
43396 t1 = J.getInterceptor$asx($arguments),
43397 list1 = t1.$index($arguments, 0),
43398 list2 = t1.$index($arguments, 1),
43399 separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
43400 bracketedParam = t1.$index($arguments, 3);
43401 t1 = separatorParam._string$_text;
43402 if (t1 === "auto")
43403 if (list1.get$separator(list1) !== B.ListSeparator_undecided_null)
43404 separator = list1.get$separator(list1);
43405 else
43406 separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null ? list2.get$separator(list2) : B.ListSeparator_woc;
43407 else if (t1 === "space")
43408 separator = B.ListSeparator_woc;
43409 else if (t1 === "comma")
43410 separator = B.ListSeparator_kWM;
43411 else {
43412 if (t1 !== "slash")
43413 throw A.wrapException(A.SassScriptException$(string$.x24separ));
43414 separator = B.ListSeparator_1gm;
43415 }
43416 bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
43417 t1 = A.List_List$of(list1.get$asList(), true, type$.Value);
43418 B.JSArray_methods.addAll$1(t1, list2.get$asList());
43419 return A.SassList$(t1, separator, bracketed);
43420 },
43421 $signature: 22
43422 };
43423 A._append_closure0.prototype = {
43424 call$1($arguments) {
43425 var separator,
43426 t1 = J.getInterceptor$asx($arguments),
43427 list = t1.$index($arguments, 0),
43428 value = t1.$index($arguments, 1);
43429 t1 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
43430 if (t1 === "auto")
43431 separator = list.get$separator(list) === B.ListSeparator_undecided_null ? B.ListSeparator_woc : list.get$separator(list);
43432 else if (t1 === "space")
43433 separator = B.ListSeparator_woc;
43434 else if (t1 === "comma")
43435 separator = B.ListSeparator_kWM;
43436 else {
43437 if (t1 !== "slash")
43438 throw A.wrapException(A.SassScriptException$(string$.x24separ));
43439 separator = B.ListSeparator_1gm;
43440 }
43441 t1 = A.List_List$of(list.get$asList(), true, type$.Value);
43442 t1.push(value);
43443 return list.withListContents$2$separator(t1, separator);
43444 },
43445 $signature: 22
43446 };
43447 A._zip_closure.prototype = {
43448 call$1($arguments) {
43449 var results, result, _box_0 = {},
43450 t1 = J.$index$asx($arguments, 0).get$asList(),
43451 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
43452 lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
43453 if (lists.length === 0)
43454 return B.SassList_yfz;
43455 _box_0.i = 0;
43456 results = A._setArrayType([], type$.JSArray_SassList);
43457 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));) {
43458 result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
43459 result.fixed$length = Array;
43460 result.immutable$list = Array;
43461 results.push(new A.SassList(result, B.ListSeparator_woc, false));
43462 ++_box_0.i;
43463 }
43464 return A.SassList$(results, B.ListSeparator_kWM, false);
43465 },
43466 $signature: 22
43467 };
43468 A._zip__closure.prototype = {
43469 call$1(list) {
43470 return list.get$asList();
43471 },
43472 $signature: 288
43473 };
43474 A._zip__closure0.prototype = {
43475 call$1(list) {
43476 return this._box_0.i !== J.get$length$asx(list);
43477 },
43478 $signature: 291
43479 };
43480 A._zip__closure1.prototype = {
43481 call$1(list) {
43482 return J.$index$asx(list, this._box_0.i);
43483 },
43484 $signature: 4
43485 };
43486 A._index_closure0.prototype = {
43487 call$1($arguments) {
43488 var t1 = J.getInterceptor$asx($arguments),
43489 index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
43490 if (index === -1)
43491 t1 = B.C__SassNull;
43492 else
43493 t1 = new A.UnitlessSassNumber(index + 1, null);
43494 return t1;
43495 },
43496 $signature: 4
43497 };
43498 A._separator_closure.prototype = {
43499 call$1($arguments) {
43500 switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
43501 case B.ListSeparator_kWM:
43502 return new A.SassString("comma", false);
43503 case B.ListSeparator_1gm:
43504 return new A.SassString("slash", false);
43505 default:
43506 return new A.SassString("space", false);
43507 }
43508 },
43509 $signature: 14
43510 };
43511 A._isBracketed_closure.prototype = {
43512 call$1($arguments) {
43513 return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
43514 },
43515 $signature: 20
43516 };
43517 A._slash_closure.prototype = {
43518 call$1($arguments) {
43519 var list = J.$index$asx($arguments, 0).get$asList();
43520 if (list.length < 2)
43521 throw A.wrapException(A.SassScriptException$("At least two elements are required."));
43522 return A.SassList$(list, B.ListSeparator_1gm, false);
43523 },
43524 $signature: 22
43525 };
43526 A._get_closure.prototype = {
43527 call$1($arguments) {
43528 var t3, value,
43529 t1 = J.getInterceptor$asx($arguments),
43530 map = t1.$index($arguments, 0).assertMap$1("map"),
43531 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43532 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43533 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) {
43534 value = map._map$_contents.$index(0, t3._as(t1.__internal$_current));
43535 if (!(value instanceof A.SassMap))
43536 return B.C__SassNull;
43537 }
43538 t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
43539 return t1 == null ? B.C__SassNull : t1;
43540 },
43541 $signature: 4
43542 };
43543 A._set_closure.prototype = {
43544 call$1($arguments) {
43545 var t1 = J.getInterceptor$asx($arguments);
43546 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);
43547 },
43548 $signature: 4
43549 };
43550 A._set__closure0.prototype = {
43551 call$1(_) {
43552 return J.$index$asx(this.$arguments, 2);
43553 },
43554 $signature: 38
43555 };
43556 A._set_closure0.prototype = {
43557 call$1($arguments) {
43558 var t1 = J.getInterceptor$asx($arguments),
43559 map = t1.$index($arguments, 0).assertMap$1("map"),
43560 args = t1.$index($arguments, 1).get$asList();
43561 t1 = args.length;
43562 if (t1 === 0)
43563 throw A.wrapException(A.SassScriptException$("Expected $args to contain a key."));
43564 else if (t1 === 1)
43565 throw A.wrapException(A.SassScriptException$("Expected $args to contain a value."));
43566 return A._modify(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure(args), true);
43567 },
43568 $signature: 4
43569 };
43570 A._set__closure.prototype = {
43571 call$1(_) {
43572 return B.JSArray_methods.get$last(this.args);
43573 },
43574 $signature: 38
43575 };
43576 A._merge_closure.prototype = {
43577 call$1($arguments) {
43578 var t2, t3, t4,
43579 t1 = J.getInterceptor$asx($arguments),
43580 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
43581 map2 = t1.$index($arguments, 1).assertMap$1("map2");
43582 t1 = type$.Value;
43583 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43584 for (t3 = map1._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43585 t4 = t3.get$current(t3);
43586 t2.$indexSet(0, t4.key, t4.value);
43587 }
43588 for (t3 = map2._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43589 t4 = t3.get$current(t3);
43590 t2.$indexSet(0, t4.key, t4.value);
43591 }
43592 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43593 },
43594 $signature: 37
43595 };
43596 A._merge_closure0.prototype = {
43597 call$1($arguments) {
43598 var map2,
43599 t1 = J.getInterceptor$asx($arguments),
43600 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
43601 args = t1.$index($arguments, 1).get$asList();
43602 t1 = args.length;
43603 if (t1 === 0)
43604 throw A.wrapException(A.SassScriptException$("Expected $args to contain a key."));
43605 else if (t1 === 1)
43606 throw A.wrapException(A.SassScriptException$("Expected $args to contain a map."));
43607 map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
43608 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);
43609 },
43610 $signature: 4
43611 };
43612 A._merge__closure.prototype = {
43613 call$1(oldValue) {
43614 var t1, t2, t3, t4,
43615 nestedMap = oldValue.tryMap$0();
43616 if (nestedMap == null)
43617 return this.map2;
43618 t1 = type$.Value;
43619 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43620 for (t3 = nestedMap._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43621 t4 = t3.get$current(t3);
43622 t2.$indexSet(0, t4.key, t4.value);
43623 }
43624 for (t3 = this.map2._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43625 t4 = t3.get$current(t3);
43626 t2.$indexSet(0, t4.key, t4.value);
43627 }
43628 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43629 },
43630 $signature: 297
43631 };
43632 A._deepMerge_closure.prototype = {
43633 call$1($arguments) {
43634 var t1 = J.getInterceptor$asx($arguments);
43635 return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
43636 },
43637 $signature: 37
43638 };
43639 A._deepRemove_closure.prototype = {
43640 call$1($arguments) {
43641 var t1 = J.getInterceptor$asx($arguments),
43642 map = t1.$index($arguments, 0).assertMap$1("map"),
43643 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43644 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43645 return A._modify(map, A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value), new A._deepRemove__closure(t2), false);
43646 },
43647 $signature: 4
43648 };
43649 A._deepRemove__closure.prototype = {
43650 call$1(value) {
43651 var t1, t2,
43652 nestedMap = value.tryMap$0();
43653 if (nestedMap != null && nestedMap._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
43654 t1 = type$.Value;
43655 t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
43656 t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
43657 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43658 }
43659 return value;
43660 },
43661 $signature: 38
43662 };
43663 A._remove_closure.prototype = {
43664 call$1($arguments) {
43665 return J.$index$asx($arguments, 0).assertMap$1("map");
43666 },
43667 $signature: 37
43668 };
43669 A._remove_closure0.prototype = {
43670 call$1($arguments) {
43671 var mutableMap, t3, _i,
43672 t1 = J.getInterceptor$asx($arguments),
43673 map = t1.$index($arguments, 0).assertMap$1("map"),
43674 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43675 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43676 t1 = type$.Value;
43677 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
43678 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
43679 mutableMap.remove$1(0, t2[_i]);
43680 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43681 },
43682 $signature: 37
43683 };
43684 A._keys_closure.prototype = {
43685 call$1($arguments) {
43686 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
43687 return A.SassList$(t1.get$keys(t1), B.ListSeparator_kWM, false);
43688 },
43689 $signature: 22
43690 };
43691 A._values_closure.prototype = {
43692 call$1($arguments) {
43693 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
43694 return A.SassList$(t1.get$values(t1), B.ListSeparator_kWM, false);
43695 },
43696 $signature: 22
43697 };
43698 A._hasKey_closure.prototype = {
43699 call$1($arguments) {
43700 var t3, value,
43701 t1 = J.getInterceptor$asx($arguments),
43702 map = t1.$index($arguments, 0).assertMap$1("map"),
43703 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43704 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43705 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) {
43706 value = map._map$_contents.$index(0, t3._as(t1.__internal$_current));
43707 if (!(value instanceof A.SassMap))
43708 return B.SassBoolean_false;
43709 }
43710 return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
43711 },
43712 $signature: 20
43713 };
43714 A._modify__modifyNestedMap.prototype = {
43715 call$1(map) {
43716 var nestedMap, _this = this,
43717 t1 = type$.Value,
43718 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
43719 t2 = _this.keyIterator,
43720 key = t2.get$current(t2);
43721 if (!t2.moveNext$0()) {
43722 t2 = mutableMap.$index(0, key);
43723 if (t2 == null)
43724 t2 = B.C__SassNull;
43725 mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
43726 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43727 }
43728 t2 = mutableMap.$index(0, key);
43729 nestedMap = t2 == null ? null : t2.tryMap$0();
43730 t2 = nestedMap == null;
43731 if (t2 && !_this.addNesting)
43732 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43733 mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
43734 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43735 },
43736 $signature: 298
43737 };
43738 A._deepMergeImpl__ensureMutable.prototype = {
43739 call$0() {
43740 var t2,
43741 t1 = this._box_0;
43742 if (t1.mutable)
43743 return;
43744 t1.mutable = true;
43745 t2 = type$.Value;
43746 t1.result = A.LinkedHashMap_LinkedHashMap$of(t1.result, t2, t2);
43747 },
43748 $signature: 0
43749 };
43750 A._deepMergeImpl_closure.prototype = {
43751 call$2(key, value) {
43752 var resultMap, valueMap, merged,
43753 t1 = this._box_0,
43754 resultValue = t1.result.$index(0, key);
43755 if (resultValue == null) {
43756 this._ensureMutable.call$0();
43757 t1.result.$indexSet(0, key, value);
43758 } else {
43759 resultMap = resultValue.tryMap$0();
43760 valueMap = value.tryMap$0();
43761 if (resultMap != null && valueMap != null) {
43762 merged = A._deepMergeImpl(valueMap, resultMap);
43763 if (merged === resultMap)
43764 return;
43765 this._ensureMutable.call$0();
43766 t1.result.$indexSet(0, key, merged);
43767 }
43768 }
43769 },
43770 $signature: 59
43771 };
43772 A._ceil_closure.prototype = {
43773 call$1(value) {
43774 return B.JSNumber_methods.ceil$0(value);
43775 },
43776 $signature: 44
43777 };
43778 A._clamp_closure.prototype = {
43779 call$1($arguments) {
43780 var t1 = J.getInterceptor$asx($arguments),
43781 min = t1.$index($arguments, 0).assertNumber$1("min"),
43782 number = t1.$index($arguments, 1).assertNumber$1("number"),
43783 max = t1.$index($arguments, 2).assertNumber$1("max");
43784 number.convertValueToMatch$3(min, "number", "min");
43785 max.convertValueToMatch$3(min, "max", "min");
43786 if (min.greaterThanOrEquals$1(max).value)
43787 return min;
43788 if (min.greaterThanOrEquals$1(number).value)
43789 return min;
43790 if (number.greaterThanOrEquals$1(max).value)
43791 return max;
43792 return number;
43793 },
43794 $signature: 10
43795 };
43796 A._floor_closure.prototype = {
43797 call$1(value) {
43798 return B.JSNumber_methods.floor$0(value);
43799 },
43800 $signature: 44
43801 };
43802 A._max_closure.prototype = {
43803 call$1($arguments) {
43804 var t1, t2, max, _i, number;
43805 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) {
43806 number = t1[_i].assertNumber$0();
43807 if (max == null || max.lessThan$1(number).value)
43808 max = number;
43809 }
43810 if (max != null)
43811 return max;
43812 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43813 },
43814 $signature: 10
43815 };
43816 A._min_closure.prototype = {
43817 call$1($arguments) {
43818 var t1, t2, min, _i, number;
43819 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) {
43820 number = t1[_i].assertNumber$0();
43821 if (min == null || min.greaterThan$1(number).value)
43822 min = number;
43823 }
43824 if (min != null)
43825 return min;
43826 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43827 },
43828 $signature: 10
43829 };
43830 A._abs_closure.prototype = {
43831 call$1(value) {
43832 return Math.abs(value);
43833 },
43834 $signature: 73
43835 };
43836 A._hypot_closure.prototype = {
43837 call$1($arguments) {
43838 var subtotal, i, i0, t3, t4,
43839 t1 = J.$index$asx($arguments, 0).get$asList(),
43840 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
43841 numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
43842 t1 = numbers.length;
43843 if (t1 === 0)
43844 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43845 for (subtotal = 0, i = 0; i < t1; i = i0) {
43846 i0 = i + 1;
43847 subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
43848 }
43849 t1 = Math.sqrt(subtotal);
43850 t2 = numbers[0];
43851 t3 = J.getInterceptor$x(t2);
43852 t4 = t3.get$numeratorUnits(t2);
43853 return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t2), t4);
43854 },
43855 $signature: 10
43856 };
43857 A._hypot__closure.prototype = {
43858 call$1(argument) {
43859 return argument.assertNumber$0();
43860 },
43861 $signature: 309
43862 };
43863 A._log_closure.prototype = {
43864 call$1($arguments) {
43865 var numberValue, base, baseValue, t2,
43866 _s18_ = " to have no units.",
43867 t1 = J.getInterceptor$asx($arguments),
43868 number = t1.$index($arguments, 0).assertNumber$1("number");
43869 if (number.get$hasUnits())
43870 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_));
43871 numberValue = A._fuzzyRoundIfZero(number._number$_value);
43872 if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull)) {
43873 t1 = Math.log(numberValue);
43874 return new A.UnitlessSassNumber(t1, null);
43875 }
43876 base = t1.$index($arguments, 1).assertNumber$1("base");
43877 if (base.get$hasUnits())
43878 throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_));
43879 t1 = base._number$_value;
43880 baseValue = Math.abs(t1 - 1) < $.$get$epsilon() ? A.fuzzyRound(t1) : A._fuzzyRoundIfZero(t1);
43881 t1 = Math.log(numberValue);
43882 t2 = Math.log(baseValue);
43883 return new A.UnitlessSassNumber(t1 / t2, null);
43884 },
43885 $signature: 10
43886 };
43887 A._pow_closure.prototype = {
43888 call$1($arguments) {
43889 var baseValue, exponentValue, t2, intExponent, t3,
43890 _s18_ = " to have no units.",
43891 _null = null,
43892 t1 = J.getInterceptor$asx($arguments),
43893 base = t1.$index($arguments, 0).assertNumber$1("base"),
43894 exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
43895 if (base.get$hasUnits())
43896 throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_));
43897 else if (exponent.get$hasUnits())
43898 throw A.wrapException(A.SassScriptException$("$exponent: Expected " + exponent.toString$0(0) + _s18_));
43899 baseValue = A._fuzzyRoundIfZero(base._number$_value);
43900 exponentValue = A._fuzzyRoundIfZero(exponent._number$_value);
43901 t1 = $.$get$epsilon();
43902 if (Math.abs(Math.abs(baseValue) - 1) < t1)
43903 t2 = exponentValue == 1 / 0 || exponentValue == -1 / 0;
43904 else
43905 t2 = false;
43906 if (t2)
43907 return new A.UnitlessSassNumber(0 / 0, _null);
43908 else {
43909 t2 = Math.abs(baseValue - 0);
43910 if (t2 < t1) {
43911 if (isFinite(exponentValue)) {
43912 intExponent = A.fuzzyIsInt(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
43913 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
43914 exponentValue = A.fuzzyRound(exponentValue);
43915 }
43916 } else {
43917 if (isFinite(baseValue))
43918 t3 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue) && A.fuzzyIsInt(exponentValue);
43919 else
43920 t3 = false;
43921 if (t3)
43922 exponentValue = A.fuzzyRound(exponentValue);
43923 else {
43924 if (baseValue == 1 / 0 || baseValue == -1 / 0)
43925 t1 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue);
43926 else
43927 t1 = false;
43928 if (t1) {
43929 intExponent = A.fuzzyIsInt(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
43930 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
43931 exponentValue = A.fuzzyRound(exponentValue);
43932 }
43933 }
43934 }
43935 }
43936 t1 = Math.pow(baseValue, exponentValue);
43937 return new A.UnitlessSassNumber(t1, _null);
43938 },
43939 $signature: 10
43940 };
43941 A._sqrt_closure.prototype = {
43942 call$1($arguments) {
43943 var t1,
43944 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43945 if (number.get$hasUnits())
43946 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43947 t1 = Math.sqrt(A._fuzzyRoundIfZero(number._number$_value));
43948 return new A.UnitlessSassNumber(t1, null);
43949 },
43950 $signature: 10
43951 };
43952 A._acos_closure.prototype = {
43953 call$1($arguments) {
43954 var numberValue,
43955 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43956 if (number.get$hasUnits())
43957 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43958 numberValue = number._number$_value;
43959 if (Math.abs(Math.abs(numberValue) - 1) < $.$get$epsilon())
43960 numberValue = A.fuzzyRound(numberValue);
43961 return A.SassNumber_SassNumber$withUnits(Math.acos(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43962 },
43963 $signature: 10
43964 };
43965 A._asin_closure.prototype = {
43966 call$1($arguments) {
43967 var t1, numberValue,
43968 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43969 if (number.get$hasUnits())
43970 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43971 t1 = number._number$_value;
43972 numberValue = Math.abs(Math.abs(t1) - 1) < $.$get$epsilon() ? A.fuzzyRound(t1) : A._fuzzyRoundIfZero(t1);
43973 return A.SassNumber_SassNumber$withUnits(Math.asin(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43974 },
43975 $signature: 10
43976 };
43977 A._atan_closure.prototype = {
43978 call$1($arguments) {
43979 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
43980 if (number.get$hasUnits())
43981 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43982 return A.SassNumber_SassNumber$withUnits(Math.atan(A._fuzzyRoundIfZero(number._number$_value)) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43983 },
43984 $signature: 10
43985 };
43986 A._atan2_closure.prototype = {
43987 call$1($arguments) {
43988 var t1 = J.getInterceptor$asx($arguments),
43989 y = t1.$index($arguments, 0).assertNumber$1("y"),
43990 xValue = A._fuzzyRoundIfZero(t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y"));
43991 return A.SassNumber_SassNumber$withUnits(Math.atan2(A._fuzzyRoundIfZero(y._number$_value), xValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43992 },
43993 $signature: 10
43994 };
43995 A._cos_closure.prototype = {
43996 call$1($arguments) {
43997 var t1 = Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"));
43998 return new A.UnitlessSassNumber(t1, null);
43999 },
44000 $signature: 10
44001 };
44002 A._sin_closure.prototype = {
44003 call$1($arguments) {
44004 var t1 = Math.sin(A._fuzzyRoundIfZero(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")));
44005 return new A.UnitlessSassNumber(t1, null);
44006 },
44007 $signature: 10
44008 };
44009 A._tan_closure.prototype = {
44010 call$1($arguments) {
44011 var value = J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"),
44012 t1 = B.JSNumber_methods.$mod(value - 1.5707963267948966, 6.283185307179586),
44013 t2 = $.$get$epsilon();
44014 if (Math.abs(t1 - 0) < t2)
44015 return new A.UnitlessSassNumber(1 / 0, null);
44016 else if (Math.abs(B.JSNumber_methods.$mod(value + 1.5707963267948966, 6.283185307179586) - 0) < t2)
44017 return new A.UnitlessSassNumber(-1 / 0, null);
44018 else {
44019 t1 = Math.tan(A._fuzzyRoundIfZero(value));
44020 return new A.UnitlessSassNumber(t1, null);
44021 }
44022 },
44023 $signature: 10
44024 };
44025 A._compatible_closure.prototype = {
44026 call$1($arguments) {
44027 var t1 = J.getInterceptor$asx($arguments);
44028 return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
44029 },
44030 $signature: 20
44031 };
44032 A._isUnitless_closure.prototype = {
44033 call$1($arguments) {
44034 return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
44035 },
44036 $signature: 20
44037 };
44038 A._unit_closure.prototype = {
44039 call$1($arguments) {
44040 return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
44041 },
44042 $signature: 14
44043 };
44044 A._percentage_closure.prototype = {
44045 call$1($arguments) {
44046 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
44047 number.assertNoUnits$1("number");
44048 return new A.SingleUnitSassNumber("%", number._number$_value * 100, null);
44049 },
44050 $signature: 10
44051 };
44052 A._randomFunction_closure.prototype = {
44053 call$1($arguments) {
44054 var limit,
44055 t1 = J.getInterceptor$asx($arguments);
44056 if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull)) {
44057 t1 = $.$get$_random0().nextDouble$0();
44058 return new A.UnitlessSassNumber(t1, null);
44059 }
44060 limit = t1.$index($arguments, 0).assertNumber$1("limit").assertInt$1("limit");
44061 if (limit < 1)
44062 throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit + "."));
44063 t1 = $.$get$_random0().nextInt$1(limit);
44064 return new A.UnitlessSassNumber(t1 + 1, null);
44065 },
44066 $signature: 10
44067 };
44068 A._div_closure.prototype = {
44069 call$1($arguments) {
44070 var t1 = J.getInterceptor$asx($arguments),
44071 number1 = t1.$index($arguments, 0),
44072 number2 = t1.$index($arguments, 1);
44073 if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
44074 A.EvaluationContext_current().warn$2$deprecation(0, string$.math_d, false);
44075 return number1.dividedBy$1(number2);
44076 },
44077 $signature: 4
44078 };
44079 A._numberFunction_closure.prototype = {
44080 call$1($arguments) {
44081 var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
44082 t1 = this.transform.call$1(number._number$_value),
44083 t2 = number.get$numeratorUnits(number);
44084 return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
44085 },
44086 $signature: 10
44087 };
44088 A.global_closure26.prototype = {
44089 call$1($arguments) {
44090 return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
44091 },
44092 $signature: 20
44093 };
44094 A.global_closure27.prototype = {
44095 call$1($arguments) {
44096 return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
44097 },
44098 $signature: 14
44099 };
44100 A.global_closure28.prototype = {
44101 call$1($arguments) {
44102 var value = J.$index$asx($arguments, 0);
44103 if (value instanceof A.SassArgumentList)
44104 return new A.SassString("arglist", false);
44105 if (value instanceof A.SassBoolean)
44106 return new A.SassString("bool", false);
44107 if (value instanceof A.SassColor)
44108 return new A.SassString("color", false);
44109 if (value instanceof A.SassList)
44110 return new A.SassString("list", false);
44111 if (value instanceof A.SassMap)
44112 return new A.SassString("map", false);
44113 if (value.$eq(0, B.C__SassNull))
44114 return new A.SassString("null", false);
44115 if (value instanceof A.SassNumber)
44116 return new A.SassString("number", false);
44117 if (value instanceof A.SassFunction)
44118 return new A.SassString("function", false);
44119 if (value instanceof A.SassCalculation)
44120 return new A.SassString("calculation", false);
44121 return new A.SassString("string", false);
44122 },
44123 $signature: 14
44124 };
44125 A.global_closure29.prototype = {
44126 call$1($arguments) {
44127 var t1, t2, t3, t4,
44128 argumentList = J.$index$asx($arguments, 0);
44129 if (argumentList instanceof A.SassArgumentList) {
44130 t1 = type$.Value;
44131 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
44132 for (argumentList._wereKeywordsAccessed = true, t3 = argumentList._keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
44133 t4 = t3.get$current(t3);
44134 t2.$indexSet(0, new A.SassString(t4.key, false), t4.value);
44135 }
44136 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
44137 } else
44138 throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
44139 },
44140 $signature: 37
44141 };
44142 A.local_closure.prototype = {
44143 call$1($arguments) {
44144 return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
44145 },
44146 $signature: 14
44147 };
44148 A.local_closure0.prototype = {
44149 call$1($arguments) {
44150 var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
44151 return A.SassList$(new A.MappedListIterable(t1, new A.local__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
44152 },
44153 $signature: 22
44154 };
44155 A.local__closure.prototype = {
44156 call$1(argument) {
44157 if (argument instanceof A.Value)
44158 return argument;
44159 return new A.SassString(J.toString$0$(argument), false);
44160 },
44161 $signature: 313
44162 };
44163 A._nest_closure.prototype = {
44164 call$1($arguments) {
44165 var t1 = {},
44166 selectors = J.$index$asx($arguments, 0).get$asList();
44167 if (selectors.length === 0)
44168 throw A.wrapException(A.SassScriptException$(string$.x24selec));
44169 t1.first = true;
44170 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();
44171 },
44172 $signature: 22
44173 };
44174 A._nest__closure.prototype = {
44175 call$1(selector) {
44176 var t1 = this._box_0,
44177 result = selector.assertSelector$1$allowParent(!t1.first);
44178 t1.first = false;
44179 return result;
44180 },
44181 $signature: 202
44182 };
44183 A._nest__closure0.prototype = {
44184 call$2($parent, child) {
44185 return child.resolveParentSelectors$1($parent);
44186 },
44187 $signature: 181
44188 };
44189 A._append_closure.prototype = {
44190 call$1($arguments) {
44191 var selectors = J.$index$asx($arguments, 0).get$asList();
44192 if (selectors.length === 0)
44193 throw A.wrapException(A.SassScriptException$(string$.x24selec));
44194 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();
44195 },
44196 $signature: 22
44197 };
44198 A._append__closure.prototype = {
44199 call$1(selector) {
44200 return selector.assertSelector$0();
44201 },
44202 $signature: 202
44203 };
44204 A._append__closure0.prototype = {
44205 call$2($parent, child) {
44206 var t1 = child.components;
44207 return A.SelectorList$(new A.MappedListIterable(t1, new A._append___closure($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"))).resolveParentSelectors$1($parent);
44208 },
44209 $signature: 181
44210 };
44211 A._append___closure.prototype = {
44212 call$1(complex) {
44213 var newCompound, t2,
44214 t1 = complex.components,
44215 compound = B.JSArray_methods.get$first(t1);
44216 if (compound instanceof A.CompoundSelector) {
44217 newCompound = A._prependParent(compound);
44218 if (newCompound == null)
44219 throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
44220 t2 = A._setArrayType([newCompound], type$.JSArray_ComplexSelectorComponent);
44221 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
44222 return A.ComplexSelector$(t2, false);
44223 } else
44224 throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
44225 },
44226 $signature: 147
44227 };
44228 A._extend_closure.prototype = {
44229 call$1($arguments) {
44230 var t1 = J.getInterceptor$asx($arguments),
44231 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
44232 target = t1.$index($arguments, 1).assertSelector$1$name("extendee");
44233 return A.ExtensionStore__extendOrReplace(selector, t1.$index($arguments, 2).assertSelector$1$name("extender"), target, B.ExtendMode_allTargets, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
44234 },
44235 $signature: 22
44236 };
44237 A._replace_closure.prototype = {
44238 call$1($arguments) {
44239 var t1 = J.getInterceptor$asx($arguments),
44240 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
44241 target = t1.$index($arguments, 1).assertSelector$1$name("original");
44242 return A.ExtensionStore__extendOrReplace(selector, t1.$index($arguments, 2).assertSelector$1$name("replacement"), target, B.ExtendMode_replace, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
44243 },
44244 $signature: 22
44245 };
44246 A._unify_closure.prototype = {
44247 call$1($arguments) {
44248 var t1 = J.getInterceptor$asx($arguments),
44249 result = t1.$index($arguments, 0).assertSelector$1$name("selector1").unify$1(t1.$index($arguments, 1).assertSelector$1$name("selector2"));
44250 return result == null ? B.C__SassNull : result.get$asSassList();
44251 },
44252 $signature: 4
44253 };
44254 A._isSuperselector_closure.prototype = {
44255 call$1($arguments) {
44256 var t1 = J.getInterceptor$asx($arguments),
44257 selector1 = t1.$index($arguments, 0).assertSelector$1$name("super"),
44258 selector2 = t1.$index($arguments, 1).assertSelector$1$name("sub");
44259 return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
44260 },
44261 $signature: 20
44262 };
44263 A._simpleSelectors_closure.prototype = {
44264 call$1($arguments) {
44265 var t1 = J.$index$asx($arguments, 0).assertCompoundSelector$1$name("selector").components;
44266 return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
44267 },
44268 $signature: 22
44269 };
44270 A._simpleSelectors__closure.prototype = {
44271 call$1(simple) {
44272 return new A.SassString(A.serializeSelector(simple, true), false);
44273 },
44274 $signature: 318
44275 };
44276 A._parse_closure.prototype = {
44277 call$1($arguments) {
44278 return J.$index$asx($arguments, 0).assertSelector$1$name("selector").get$asSassList();
44279 },
44280 $signature: 22
44281 };
44282 A._unquote_closure.prototype = {
44283 call$1($arguments) {
44284 var string = J.$index$asx($arguments, 0).assertString$1("string");
44285 if (!string._hasQuotes)
44286 return string;
44287 return new A.SassString(string._string$_text, false);
44288 },
44289 $signature: 14
44290 };
44291 A._quote_closure.prototype = {
44292 call$1($arguments) {
44293 var string = J.$index$asx($arguments, 0).assertString$1("string");
44294 if (string._hasQuotes)
44295 return string;
44296 return new A.SassString(string._string$_text, true);
44297 },
44298 $signature: 14
44299 };
44300 A._length_closure.prototype = {
44301 call$1($arguments) {
44302 var t1 = J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength();
44303 return new A.UnitlessSassNumber(t1, null);
44304 },
44305 $signature: 10
44306 };
44307 A._insert_closure.prototype = {
44308 call$1($arguments) {
44309 var indexInt, codeUnitIndex, _s5_ = "index",
44310 t1 = J.getInterceptor$asx($arguments),
44311 string = t1.$index($arguments, 0).assertString$1("string"),
44312 insert = t1.$index($arguments, 1).assertString$1("insert"),
44313 index = t1.$index($arguments, 2).assertNumber$1(_s5_);
44314 index.assertNoUnits$1(_s5_);
44315 indexInt = index.assertInt$1(_s5_);
44316 if (indexInt < 0)
44317 indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
44318 t1 = string._string$_text;
44319 codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
44320 return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
44321 },
44322 $signature: 14
44323 };
44324 A._index_closure.prototype = {
44325 call$1($arguments) {
44326 var codepointIndex,
44327 t1 = J.getInterceptor$asx($arguments),
44328 t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
44329 codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
44330 if (codeUnitIndex === -1)
44331 return B.C__SassNull;
44332 codepointIndex = A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex);
44333 return new A.UnitlessSassNumber(codepointIndex + 1, null);
44334 },
44335 $signature: 4
44336 };
44337 A._slice_closure.prototype = {
44338 call$1($arguments) {
44339 var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
44340 _s8_ = "start-at",
44341 t1 = J.getInterceptor$asx($arguments),
44342 string = t1.$index($arguments, 0).assertString$1("string"),
44343 start = t1.$index($arguments, 1).assertNumber$1(_s8_),
44344 end = t1.$index($arguments, 2).assertNumber$1("end-at");
44345 start.assertNoUnits$1(_s8_);
44346 end.assertNoUnits$1("end-at");
44347 lengthInCodepoints = string.get$_sassLength();
44348 endInt = end.assertInt$0();
44349 if (endInt === 0)
44350 return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
44351 startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
44352 endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
44353 if (endCodepoint === lengthInCodepoints)
44354 --endCodepoint;
44355 if (endCodepoint < startCodepoint)
44356 return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
44357 t1 = string._string$_text;
44358 return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
44359 },
44360 $signature: 14
44361 };
44362 A._toUpperCase_closure.prototype = {
44363 call$1($arguments) {
44364 var t1, t2, i, t3, t4,
44365 string = J.$index$asx($arguments, 0).assertString$1("string");
44366 for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
44367 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
44368 t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
44369 }
44370 return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
44371 },
44372 $signature: 14
44373 };
44374 A._toLowerCase_closure.prototype = {
44375 call$1($arguments) {
44376 var t1, t2, i, t3, t4,
44377 string = J.$index$asx($arguments, 0).assertString$1("string");
44378 for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
44379 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
44380 t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
44381 }
44382 return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
44383 },
44384 $signature: 14
44385 };
44386 A._uniqueId_closure.prototype = {
44387 call$1($arguments) {
44388 var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
44389 $._previousUniqueId = t1;
44390 if (t1 > Math.pow(36, 6))
44391 $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
44392 return new A.SassString("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId(), 36), 6, "0"), false);
44393 },
44394 $signature: 14
44395 };
44396 A.ImportCache.prototype = {
44397 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
44398 var relativeResult, _this = this;
44399 if (baseImporter != null) {
44400 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));
44401 if (relativeResult != null)
44402 return relativeResult;
44403 }
44404 return _this._canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure0(_this, url, forImport));
44405 },
44406 canonicalize$3$baseImporter$baseUrl($receiver, url, baseImporter, baseUrl) {
44407 return this.canonicalize$4$baseImporter$baseUrl$forImport($receiver, url, baseImporter, baseUrl, false);
44408 },
44409 _canonicalize$3(importer, url, forImport) {
44410 var t1, result;
44411 if (forImport) {
44412 t1 = type$.nullable_Object;
44413 result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
44414 } else
44415 result = importer.canonicalize$1(0, url);
44416 if ((result == null ? null : result.get$scheme()) === "")
44417 this._logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
44418 return result;
44419 },
44420 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
44421 return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl, quiet));
44422 },
44423 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
44424 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
44425 },
44426 importCanonical$2(importer, canonicalUrl) {
44427 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, null, false);
44428 },
44429 humanize$1(canonicalUrl) {
44430 var t2, url,
44431 t1 = this._canonicalizeCache;
44432 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri);
44433 t2 = t1.$ti;
44434 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());
44435 if (url == null)
44436 return canonicalUrl;
44437 t1 = $.$get$url();
44438 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
44439 },
44440 sourceMapUrl$1(_, canonicalUrl) {
44441 var t1 = this._resultsCache.$index(0, canonicalUrl);
44442 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
44443 return t1 == null ? canonicalUrl : t1;
44444 },
44445 clearCanonicalize$1(url) {
44446 var t3, t4, _i,
44447 t1 = this._canonicalizeCache,
44448 t2 = type$.Tuple2_Uri_bool;
44449 t1.remove$1(0, new A.Tuple2(url, false, t2));
44450 t1.remove$1(0, new A.Tuple2(url, true, t2));
44451 t2 = A._setArrayType([], type$.JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri);
44452 for (t1 = this._relativeCanonicalizeCache, t3 = t1.get$keys(t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
44453 t4 = t3.get$current(t3);
44454 if (t4.item1.$eq(0, url))
44455 t2.push(t4);
44456 }
44457 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
44458 t1.remove$1(0, t2[_i]);
44459 },
44460 clearImport$1(canonicalUrl) {
44461 this._resultsCache.remove$1(0, canonicalUrl);
44462 this._importCache.remove$1(0, canonicalUrl);
44463 }
44464 };
44465 A.ImportCache_canonicalize_closure.prototype = {
44466 call$0() {
44467 var canonicalUrl, _this = this,
44468 t1 = _this.baseUrl,
44469 resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
44470 if (resolvedUrl == null)
44471 resolvedUrl = _this.url;
44472 t1 = _this.baseImporter;
44473 canonicalUrl = _this.$this._canonicalize$3(t1, resolvedUrl, _this.forImport);
44474 if (canonicalUrl == null)
44475 return null;
44476 return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri);
44477 },
44478 $signature: 74
44479 };
44480 A.ImportCache_canonicalize_closure0.prototype = {
44481 call$0() {
44482 var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
44483 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) {
44484 importer = t2[_i];
44485 canonicalUrl = t1._canonicalize$3(importer, t4, t5);
44486 if (canonicalUrl != null)
44487 return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri);
44488 }
44489 return null;
44490 },
44491 $signature: 74
44492 };
44493 A.ImportCache__canonicalize_closure.prototype = {
44494 call$0() {
44495 return this.importer.canonicalize$1(0, this.url);
44496 },
44497 $signature: 164
44498 };
44499 A.ImportCache_importCanonical_closure.prototype = {
44500 call$0() {
44501 var t3, _this = this,
44502 t1 = _this.canonicalUrl,
44503 result = _this.importer.load$1(0, t1),
44504 t2 = _this.$this;
44505 t2._resultsCache.$indexSet(0, t1, result);
44506 t3 = _this.originalUrl;
44507 t1 = t3 == null ? t1 : t3.resolveUri$1(t1);
44508 t2 = _this.quiet ? $.$get$Logger_quiet() : t2._logger;
44509 return A.Stylesheet_Stylesheet$parse(result.contents, result.syntax, t2, t1);
44510 },
44511 $signature: 75
44512 };
44513 A.ImportCache_humanize_closure.prototype = {
44514 call$1(tuple) {
44515 return tuple.item2.$eq(0, this.canonicalUrl);
44516 },
44517 $signature: 323
44518 };
44519 A.ImportCache_humanize_closure0.prototype = {
44520 call$1(tuple) {
44521 return tuple.item3;
44522 },
44523 $signature: 324
44524 };
44525 A.ImportCache_humanize_closure1.prototype = {
44526 call$1(url) {
44527 return url.get$path(url).length;
44528 },
44529 $signature: 80
44530 };
44531 A.Importer.prototype = {
44532 modificationTime$1(url) {
44533 return new A.DateTime(Date.now(), false);
44534 },
44535 couldCanonicalize$2(url, canonicalUrl) {
44536 return true;
44537 }
44538 };
44539 A.AsyncImporter.prototype = {};
44540 A.FilesystemImporter.prototype = {
44541 canonicalize$1(_, url) {
44542 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
44543 return null;
44544 return A.NullableExtension_andThen(A.resolveImportPath(A.join(this._loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure());
44545 },
44546 load$1(_, url) {
44547 var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
44548 t1 = A.readFile(path),
44549 t2 = A.Syntax_forPath(path),
44550 t3 = url.get$scheme();
44551 if (t3 === "")
44552 A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
44553 return new A.ImporterResult(t1, url, t2);
44554 },
44555 modificationTime$1(url) {
44556 return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
44557 },
44558 couldCanonicalize$2(url, canonicalUrl) {
44559 var t1, t2, t3, basename, canonicalBasename;
44560 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
44561 return false;
44562 if (canonicalUrl.get$scheme() !== "file")
44563 return false;
44564 t1 = $.$get$url();
44565 t2 = url.get$path(url);
44566 t3 = t1.style;
44567 basename = A.ParsedPath_ParsedPath$parse(t2, t3).get$basename();
44568 canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t3).get$basename();
44569 if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
44570 canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
44571 return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
44572 },
44573 toString$0(_) {
44574 return this._loadPath;
44575 }
44576 };
44577 A.FilesystemImporter_canonicalize_closure.prototype = {
44578 call$1(resolved) {
44579 var t1, t2, t0, _null = null;
44580 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
44581 t1 = $.$get$context();
44582 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
44583 t0 = t2;
44584 t2 = t1;
44585 t1 = t0;
44586 } else {
44587 t1 = $.$get$context();
44588 t2 = t1.canonicalize$1(0, resolved);
44589 t0 = t2;
44590 t2 = t1;
44591 t1 = t0;
44592 }
44593 return t2.toUri$1(t1);
44594 },
44595 $signature: 152
44596 };
44597 A.ImporterResult.prototype = {
44598 get$sourceMapUrl(_) {
44599 return this._sourceMapUrl;
44600 }
44601 };
44602 A.resolveImportPath_closure.prototype = {
44603 call$0() {
44604 return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
44605 },
44606 $signature: 41
44607 };
44608 A.resolveImportPath_closure0.prototype = {
44609 call$0() {
44610 return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
44611 },
44612 $signature: 41
44613 };
44614 A._tryPathAsDirectory_closure.prototype = {
44615 call$0() {
44616 return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
44617 },
44618 $signature: 41
44619 };
44620 A._exactlyOne_closure.prototype = {
44621 call$1(path) {
44622 var t1 = $.$get$context();
44623 return " " + t1.prettyUri$1(t1.toUri$1(path));
44624 },
44625 $signature: 5
44626 };
44627 A.InterpolationBuffer.prototype = {
44628 writeCharCode$1(character) {
44629 this._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(character);
44630 return null;
44631 },
44632 add$1(_, expression) {
44633 this._flushText$0();
44634 this._interpolation_buffer$_contents.push(expression);
44635 },
44636 addInterpolation$1(interpolation) {
44637 var first, t1, _this = this,
44638 toAdd = interpolation.contents;
44639 if (toAdd.length === 0)
44640 return;
44641 first = B.JSArray_methods.get$first(toAdd);
44642 if (typeof first == "string") {
44643 _this._interpolation_buffer$_text._contents += first;
44644 toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
44645 }
44646 _this._flushText$0();
44647 t1 = _this._interpolation_buffer$_contents;
44648 B.JSArray_methods.addAll$1(t1, toAdd);
44649 if (typeof B.JSArray_methods.get$last(t1) == "string")
44650 _this._interpolation_buffer$_text._contents += A.S(t1.pop());
44651 },
44652 _flushText$0() {
44653 var t1 = this._interpolation_buffer$_text,
44654 t2 = t1._contents;
44655 if (t2.length === 0)
44656 return;
44657 this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
44658 t1._contents = "";
44659 },
44660 interpolation$1(span) {
44661 var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
44662 t2 = this._interpolation_buffer$_text._contents;
44663 if (t2.length !== 0)
44664 t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
44665 return A.Interpolation$(t1, span);
44666 },
44667 toString$0(_) {
44668 var t1, t2, _i, t3, element;
44669 for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
44670 element = t1[_i];
44671 t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
44672 }
44673 t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
44674 return t1.charCodeAt(0) == 0 ? t1 : t1;
44675 }
44676 };
44677 A._realCasePath_helper.prototype = {
44678 call$1(path) {
44679 var dirname = $.$get$context().dirname$1(path);
44680 if (dirname === path)
44681 return path;
44682 return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
44683 },
44684 $signature: 5
44685 };
44686 A._realCasePath_helper_closure.prototype = {
44687 call$0() {
44688 var matches, t2, exception,
44689 realDirname = this.helper.call$1(this.dirname),
44690 t1 = this.path,
44691 basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
44692 try {
44693 matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
44694 t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
44695 return t2;
44696 } catch (exception) {
44697 if (A.unwrapException(exception) instanceof A.FileSystemException)
44698 return t1;
44699 else
44700 throw exception;
44701 }
44702 },
44703 $signature: 30
44704 };
44705 A._realCasePath_helper__closure.prototype = {
44706 call$1(realPath) {
44707 return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
44708 },
44709 $signature: 6
44710 };
44711 A.FileSystemException.prototype = {
44712 toString$0(_) {
44713 var t1 = $.$get$context();
44714 return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
44715 },
44716 get$message(receiver) {
44717 return this.message;
44718 }
44719 };
44720 A.Stderr.prototype = {
44721 writeln$1(object) {
44722 J.write$1$x(this._stderr, A.S(object == null ? "" : object) + "\n");
44723 },
44724 writeln$0() {
44725 return this.writeln$1(null);
44726 }
44727 };
44728 A._readFile_closure.prototype = {
44729 call$0() {
44730 return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
44731 },
44732 $signature: 93
44733 };
44734 A.writeFile_closure.prototype = {
44735 call$0() {
44736 return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
44737 },
44738 $signature: 0
44739 };
44740 A.deleteFile_closure.prototype = {
44741 call$0() {
44742 return J.unlinkSync$1$x(A.fs(), this.path);
44743 },
44744 $signature: 0
44745 };
44746 A.readStdin_closure.prototype = {
44747 call$1(result) {
44748 this._box_0.contents = result;
44749 this.completer.complete$1(result);
44750 },
44751 $signature: 137
44752 };
44753 A.readStdin_closure0.prototype = {
44754 call$1(chunk) {
44755 this.sink.add$1(0, type$.List_int._as(chunk));
44756 },
44757 call$0() {
44758 return this.call$1(null);
44759 },
44760 "call*": "call$1",
44761 $requiredArgCount: 0,
44762 $defaultValues() {
44763 return [null];
44764 },
44765 $signature: 76
44766 };
44767 A.readStdin_closure1.prototype = {
44768 call$1(_) {
44769 this.sink.close$0(0);
44770 },
44771 call$0() {
44772 return this.call$1(null);
44773 },
44774 "call*": "call$1",
44775 $requiredArgCount: 0,
44776 $defaultValues() {
44777 return [null];
44778 },
44779 $signature: 76
44780 };
44781 A.readStdin_closure2.prototype = {
44782 call$1(e) {
44783 var t1 = $.$get$stderr();
44784 t1.writeln$1("Failed to read from stdin");
44785 t1.writeln$1(e);
44786 e.toString;
44787 this.completer.completeError$1(e);
44788 },
44789 call$0() {
44790 return this.call$1(null);
44791 },
44792 "call*": "call$1",
44793 $requiredArgCount: 0,
44794 $defaultValues() {
44795 return [null];
44796 },
44797 $signature: 76
44798 };
44799 A.fileExists_closure.prototype = {
44800 call$0() {
44801 var error, systemError, exception,
44802 t1 = this.path;
44803 if (!J.existsSync$1$x(A.fs(), t1))
44804 return false;
44805 try {
44806 t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
44807 return t1;
44808 } catch (exception) {
44809 error = A.unwrapException(exception);
44810 systemError = type$.JsSystemError._as(error);
44811 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
44812 return false;
44813 throw exception;
44814 }
44815 },
44816 $signature: 29
44817 };
44818 A.dirExists_closure.prototype = {
44819 call$0() {
44820 var error, systemError, exception,
44821 t1 = this.path;
44822 if (!J.existsSync$1$x(A.fs(), t1))
44823 return false;
44824 try {
44825 t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
44826 return t1;
44827 } catch (exception) {
44828 error = A.unwrapException(exception);
44829 systemError = type$.JsSystemError._as(error);
44830 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
44831 return false;
44832 throw exception;
44833 }
44834 },
44835 $signature: 29
44836 };
44837 A.ensureDir_closure.prototype = {
44838 call$0() {
44839 var error, systemError, exception, t1;
44840 try {
44841 J.mkdirSync$1$x(A.fs(), this.path);
44842 } catch (exception) {
44843 error = A.unwrapException(exception);
44844 systemError = type$.JsSystemError._as(error);
44845 if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
44846 return;
44847 if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
44848 throw exception;
44849 t1 = this.path;
44850 A.ensureDir($.$get$context().dirname$1(t1));
44851 J.mkdirSync$1$x(A.fs(), t1);
44852 }
44853 },
44854 $signature: 0
44855 };
44856 A.listDir_closure.prototype = {
44857 call$0() {
44858 var t1 = this.path;
44859 if (!this.recursive)
44860 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());
44861 else
44862 return new A.listDir_closure_list().call$1(t1);
44863 },
44864 $signature: 176
44865 };
44866 A.listDir__closure.prototype = {
44867 call$1(child) {
44868 return A.join(this.path, A._asString(child), null);
44869 },
44870 $signature: 91
44871 };
44872 A.listDir__closure0.prototype = {
44873 call$1(child) {
44874 return !A.dirExists(child);
44875 },
44876 $signature: 6
44877 };
44878 A.listDir_closure_list.prototype = {
44879 call$1($parent) {
44880 return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
44881 },
44882 $signature: 259
44883 };
44884 A.listDir__list_closure.prototype = {
44885 call$1(child) {
44886 var path = A.join(this.parent, A._asString(child), null);
44887 return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
44888 },
44889 $signature: 184
44890 };
44891 A.modificationTime_closure.prototype = {
44892 call$0() {
44893 var t2,
44894 t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
44895 if (Math.abs(t1) <= 864e13)
44896 t2 = false;
44897 else
44898 t2 = true;
44899 if (t2)
44900 A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + A.S(t1), null));
44901 A.checkNotNullable(false, "isUtc", type$.bool);
44902 return new A.DateTime(t1, false);
44903 },
44904 $signature: 188
44905 };
44906 A.onStdinClose_closure.prototype = {
44907 call$0() {
44908 return this.completer.complete$0();
44909 },
44910 $signature: 0
44911 };
44912 A.watchDir_closure.prototype = {
44913 call$2(path, _) {
44914 var t1 = this._box_0.controller;
44915 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
44916 },
44917 call$1(path) {
44918 return this.call$2(path, null);
44919 },
44920 "call*": "call$2",
44921 $requiredArgCount: 1,
44922 $defaultValues() {
44923 return [null];
44924 },
44925 $signature: 197
44926 };
44927 A.watchDir_closure0.prototype = {
44928 call$2(path, _) {
44929 var t1 = this._box_0.controller;
44930 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
44931 },
44932 call$1(path) {
44933 return this.call$2(path, null);
44934 },
44935 "call*": "call$2",
44936 $requiredArgCount: 1,
44937 $defaultValues() {
44938 return [null];
44939 },
44940 $signature: 197
44941 };
44942 A.watchDir_closure1.prototype = {
44943 call$1(path) {
44944 var t1 = this._box_0.controller;
44945 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
44946 },
44947 $signature: 137
44948 };
44949 A.watchDir_closure2.prototype = {
44950 call$1(error) {
44951 var t1 = this._box_0.controller;
44952 return t1 == null ? null : t1.addError$1(error);
44953 },
44954 $signature: 127
44955 };
44956 A.watchDir_closure3.prototype = {
44957 call$0() {
44958 var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
44959 this._box_0.controller = controller;
44960 this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
44961 },
44962 $signature: 1
44963 };
44964 A.watchDir__closure.prototype = {
44965 call$0() {
44966 J.close$0$x(this.watcher);
44967 },
44968 $signature: 1
44969 };
44970 A._QuietLogger.prototype = {
44971 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44972 },
44973 warn$1($receiver, message) {
44974 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
44975 },
44976 warn$2$span($receiver, message, span) {
44977 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44978 },
44979 warn$2$deprecation($receiver, message, deprecation) {
44980 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44981 },
44982 warn$3$deprecation$span($receiver, message, deprecation, span) {
44983 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44984 },
44985 warn$2$trace($receiver, message, trace) {
44986 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44987 },
44988 debug$2(_, message, span) {
44989 }
44990 };
44991 A.StderrLogger.prototype = {
44992 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44993 var t2, t3, t4,
44994 t1 = this.color;
44995 if (t1) {
44996 t2 = $.$get$stderr();
44997 t3 = t2._stderr;
44998 t4 = J.getInterceptor$x(t3);
44999 t4.write$1(t3, "\x1b[33m\x1b[1m");
45000 if (deprecation)
45001 t4.write$1(t3, "Deprecation ");
45002 t4.write$1(t3, "Warning\x1b[0m");
45003 } else {
45004 if (deprecation)
45005 J.write$1$x($.$get$stderr()._stderr, "DEPRECATION ");
45006 t2 = $.$get$stderr();
45007 J.write$1$x(t2._stderr, "WARNING");
45008 }
45009 if (span == null)
45010 t2.writeln$1(": " + message);
45011 else if (trace != null)
45012 t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
45013 else
45014 t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
45015 if (trace != null)
45016 t2.writeln$1(A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
45017 t2.writeln$0();
45018 },
45019 warn$1($receiver, message) {
45020 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
45021 },
45022 warn$2$span($receiver, message, span) {
45023 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
45024 },
45025 warn$2$deprecation($receiver, message, deprecation) {
45026 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
45027 },
45028 warn$3$deprecation$span($receiver, message, deprecation, span) {
45029 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
45030 },
45031 warn$2$trace($receiver, message, trace) {
45032 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
45033 },
45034 debug$2(_, message, span) {
45035 var url, t3, t4,
45036 t1 = span.file,
45037 t2 = span._file$_start;
45038 if (A.FileLocation$_(t1, t2).file.url == null)
45039 url = "-";
45040 else {
45041 t3 = A.FileLocation$_(t1, t2);
45042 url = $.$get$context().prettyUri$1(t3.file.url);
45043 }
45044 t3 = $.$get$stderr();
45045 t4 = url + ":";
45046 t2 = A.FileLocation$_(t1, t2);
45047 t2 = t4 + (t2.file.getLine$1(t2.offset) + 1) + " ";
45048 t4 = t3._stderr;
45049 t1 = J.getInterceptor$x(t4);
45050 t1.write$1(t4, t2);
45051 t1.write$1(t4, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
45052 t3.writeln$1(": " + message);
45053 }
45054 };
45055 A.TerseLogger.prototype = {
45056 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
45057 var firstParagraph, t1, t2, count;
45058 if (deprecation) {
45059 firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
45060 t1 = this._warningCounts;
45061 t2 = t1.$index(0, firstParagraph);
45062 count = (t2 == null ? 0 : t2) + 1;
45063 t1.$indexSet(0, firstParagraph, count);
45064 if (count > 5)
45065 return;
45066 }
45067 this._inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
45068 },
45069 warn$2$span($receiver, message, span) {
45070 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
45071 },
45072 warn$2$deprecation($receiver, message, deprecation) {
45073 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
45074 },
45075 warn$3$deprecation$span($receiver, message, deprecation, span) {
45076 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
45077 },
45078 warn$2$trace($receiver, message, trace) {
45079 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
45080 },
45081 debug$2(_, message, span) {
45082 return this._inner.debug$2(0, message, span);
45083 },
45084 summarize$1$node(node) {
45085 var t2, total,
45086 t1 = this._warningCounts;
45087 t1 = t1.get$values(t1);
45088 t2 = A._instanceType(t1);
45089 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>")));
45090 if (total > 0) {
45091 t1 = "" + total + string$.x20repet;
45092 this._inner.warn$1(0, t1 + (node ? "" : string$.x0aRun_i));
45093 }
45094 }
45095 };
45096 A.TerseLogger_summarize_closure.prototype = {
45097 call$1(count) {
45098 return count > 5;
45099 },
45100 $signature: 58
45101 };
45102 A.TerseLogger_summarize_closure0.prototype = {
45103 call$1(count) {
45104 return count - 5;
45105 },
45106 $signature: 219
45107 };
45108 A.TrackingLogger.prototype = {
45109 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
45110 this._emittedWarning = true;
45111 this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
45112 },
45113 warn$2$span($receiver, message, span) {
45114 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
45115 },
45116 warn$2$deprecation($receiver, message, deprecation) {
45117 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
45118 },
45119 warn$3$deprecation$span($receiver, message, deprecation, span) {
45120 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
45121 },
45122 warn$2$trace($receiver, message, trace) {
45123 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
45124 },
45125 debug$2(_, message, span) {
45126 this._emittedDebug = true;
45127 this._tracking$_logger.debug$2(0, message, span);
45128 }
45129 };
45130 A.BuiltInModule.prototype = {
45131 get$upstream() {
45132 return B.List_empty3;
45133 },
45134 get$variableNodes() {
45135 return B.Map_empty0;
45136 },
45137 get$extensionStore() {
45138 return B.C_EmptyExtensionStore;
45139 },
45140 get$css(_) {
45141 return new A.CssStylesheet(B.List_empty0, A.SourceFile$decoded(B.List_empty1, this.url).span$2(0, 0, 0));
45142 },
45143 get$transitivelyContainsCss() {
45144 return false;
45145 },
45146 get$transitivelyContainsExtensions() {
45147 return false;
45148 },
45149 setVariable$3($name, value, nodeWithSpan) {
45150 if (!this.variables.containsKey$1($name))
45151 throw A.wrapException(A.SassScriptException$("Undefined variable."));
45152 throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable."));
45153 },
45154 variableIdentity$1($name) {
45155 return this;
45156 },
45157 cloneCss$0() {
45158 return this;
45159 },
45160 $isModule: 1,
45161 get$url(receiver) {
45162 return this.url;
45163 },
45164 get$functions(receiver) {
45165 return this.functions;
45166 },
45167 get$mixins() {
45168 return this.mixins;
45169 },
45170 get$variables() {
45171 return this.variables;
45172 }
45173 };
45174 A.ForwardedModuleView.prototype = {
45175 get$url(_) {
45176 var t1 = this._forwarded_view$_inner;
45177 return t1.get$url(t1);
45178 },
45179 get$upstream() {
45180 return this._forwarded_view$_inner.get$upstream();
45181 },
45182 get$extensionStore() {
45183 return this._forwarded_view$_inner.get$extensionStore();
45184 },
45185 get$css(_) {
45186 var t1 = this._forwarded_view$_inner;
45187 return t1.get$css(t1);
45188 },
45189 get$transitivelyContainsCss() {
45190 return this._forwarded_view$_inner.get$transitivelyContainsCss();
45191 },
45192 get$transitivelyContainsExtensions() {
45193 return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
45194 },
45195 setVariable$3($name, value, nodeWithSpan) {
45196 var prefix,
45197 _s19_ = "Undefined variable.",
45198 t1 = this._rule,
45199 shownVariables = t1.shownVariables,
45200 hiddenVariables = t1.hiddenVariables;
45201 if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
45202 throw A.wrapException(A.SassScriptException$(_s19_));
45203 else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
45204 throw A.wrapException(A.SassScriptException$(_s19_));
45205 prefix = t1.prefix;
45206 if (prefix != null) {
45207 if (!B.JSString_methods.startsWith$1($name, prefix))
45208 throw A.wrapException(A.SassScriptException$(_s19_));
45209 $name = B.JSString_methods.substring$1($name, prefix.length);
45210 }
45211 return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
45212 },
45213 variableIdentity$1($name) {
45214 var prefix = this._rule.prefix;
45215 if (prefix != null)
45216 $name = B.JSString_methods.substring$1($name, prefix.length);
45217 return this._forwarded_view$_inner.variableIdentity$1($name);
45218 },
45219 $eq(_, other) {
45220 if (other == null)
45221 return false;
45222 return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
45223 },
45224 get$hashCode(_) {
45225 var t1 = this._forwarded_view$_inner;
45226 return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
45227 },
45228 cloneCss$0() {
45229 return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
45230 },
45231 toString$0(_) {
45232 return "forwarded " + this._forwarded_view$_inner.toString$0(0);
45233 },
45234 $isModule: 1,
45235 get$variables() {
45236 return this.variables;
45237 },
45238 get$variableNodes() {
45239 return this.variableNodes;
45240 },
45241 get$functions(receiver) {
45242 return this.functions;
45243 },
45244 get$mixins() {
45245 return this.mixins;
45246 }
45247 };
45248 A.ShadowedModuleView.prototype = {
45249 get$url(_) {
45250 var t1 = this._shadowed_view$_inner;
45251 return t1.get$url(t1);
45252 },
45253 get$upstream() {
45254 return this._shadowed_view$_inner.get$upstream();
45255 },
45256 get$extensionStore() {
45257 return this._shadowed_view$_inner.get$extensionStore();
45258 },
45259 get$css(_) {
45260 var t1 = this._shadowed_view$_inner;
45261 return t1.get$css(t1);
45262 },
45263 get$transitivelyContainsCss() {
45264 return this._shadowed_view$_inner.get$transitivelyContainsCss();
45265 },
45266 get$transitivelyContainsExtensions() {
45267 return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
45268 },
45269 setVariable$3($name, value, nodeWithSpan) {
45270 if (!this.variables.containsKey$1($name))
45271 throw A.wrapException(A.SassScriptException$("Undefined variable."));
45272 else
45273 return this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
45274 },
45275 variableIdentity$1($name) {
45276 return this._shadowed_view$_inner.variableIdentity$1($name);
45277 },
45278 $eq(_, other) {
45279 var t1, t2, _this = this;
45280 if (other == null)
45281 return false;
45282 if (other instanceof A.ShadowedModuleView)
45283 if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
45284 t1 = _this.variables;
45285 t1 = t1.get$keys(t1);
45286 t2 = other.variables;
45287 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
45288 t1 = _this.functions;
45289 t1 = t1.get$keys(t1);
45290 t2 = other.functions;
45291 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
45292 t1 = _this.mixins;
45293 t1 = t1.get$keys(t1);
45294 t2 = other.mixins;
45295 t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
45296 t1 = t2;
45297 } else
45298 t1 = false;
45299 } else
45300 t1 = false;
45301 } else
45302 t1 = false;
45303 else
45304 t1 = false;
45305 return t1;
45306 },
45307 get$hashCode(_) {
45308 var t1 = this._shadowed_view$_inner;
45309 return t1.get$hashCode(t1);
45310 },
45311 cloneCss$0() {
45312 var _this = this;
45313 return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
45314 },
45315 toString$0(_) {
45316 return "shadowed " + this._shadowed_view$_inner.toString$0(0);
45317 },
45318 $isModule: 1,
45319 get$variables() {
45320 return this.variables;
45321 },
45322 get$variableNodes() {
45323 return this.variableNodes;
45324 },
45325 get$functions(receiver) {
45326 return this.functions;
45327 },
45328 get$mixins() {
45329 return this.mixins;
45330 }
45331 };
45332 A.JSArray0.prototype = {};
45333 A.Chokidar.prototype = {};
45334 A.ChokidarOptions.prototype = {};
45335 A.ChokidarWatcher.prototype = {};
45336 A.JSFunction.prototype = {};
45337 A.NodeImporterResult.prototype = {};
45338 A.RenderContext.prototype = {};
45339 A.RenderContextOptions.prototype = {};
45340 A.RenderContextResult.prototype = {};
45341 A.RenderContextResultStats.prototype = {};
45342 A.JSClass.prototype = {};
45343 A.JSUrl.prototype = {};
45344 A._PropertyDescriptor.prototype = {};
45345 A.AtRootQueryParser.prototype = {
45346 parse$0() {
45347 return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
45348 }
45349 };
45350 A.AtRootQueryParser_parse_closure.prototype = {
45351 call$0() {
45352 var include, atRules,
45353 t1 = this.$this,
45354 t2 = t1.scanner;
45355 t2.expectChar$1(40);
45356 t1.whitespace$0();
45357 include = t1.scanIdentifier$1("with");
45358 if (!include)
45359 t1.expectIdentifier$2$name("without", '"with" or "without"');
45360 t1.whitespace$0();
45361 t2.expectChar$1(58);
45362 t1.whitespace$0();
45363 atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
45364 do {
45365 atRules.add$1(0, t1.identifier$0().toLowerCase());
45366 t1.whitespace$0();
45367 } while (t1.lookingAtIdentifier$0());
45368 t2.expectChar$1(41);
45369 t2.expectDone$0();
45370 return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
45371 },
45372 $signature: 142
45373 };
45374 A._disallowedFunctionNames_closure.prototype = {
45375 call$1($function) {
45376 return $function.name;
45377 },
45378 $signature: 346
45379 };
45380 A.CssParser.prototype = {
45381 get$plainCss() {
45382 return true;
45383 },
45384 silentComment$0() {
45385 var t1 = this.scanner,
45386 t2 = t1._string_scanner$_position;
45387 this.super$Parser$silentComment();
45388 this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
45389 },
45390 atRule$2$root(child, root) {
45391 var $name, urlStart, next, url, urlSpan, queries, t2, t3, t4, t5, _this = this,
45392 t1 = _this.scanner,
45393 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45394 t1.expectChar$1(64);
45395 $name = _this.interpolatedIdentifier$0();
45396 _this.whitespace$0();
45397 switch ($name.get$asPlain()) {
45398 case "at-root":
45399 case "content":
45400 case "debug":
45401 case "each":
45402 case "error":
45403 case "extend":
45404 case "for":
45405 case "function":
45406 case "if":
45407 case "include":
45408 case "mixin":
45409 case "return":
45410 case "warn":
45411 case "while":
45412 _this.almostAnyValue$0();
45413 _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
45414 break;
45415 case "import":
45416 urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
45417 next = t1.peekChar$0();
45418 url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression(_this.interpolatedString$0().asInterpolation$1$static(true), false);
45419 urlSpan = t1.spanFrom$1(urlStart);
45420 _this.whitespace$0();
45421 queries = _this.tryImportQueries$0();
45422 _this.expectStatementSeparator$1("@import rule");
45423 t2 = A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), urlSpan);
45424 t3 = t1.spanFrom$1(urlStart);
45425 t4 = queries == null;
45426 t5 = t4 ? null : queries.item1;
45427 t2 = A._setArrayType([new A.StaticImport(t2, t5, t4 ? null : queries.item2, t3)], type$.JSArray_Import);
45428 t1 = t1.spanFrom$1(start);
45429 return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
45430 case "media":
45431 return _this.mediaRule$1(start);
45432 case "-moz-document":
45433 return _this.mozDocumentRule$2(start, $name);
45434 case "supports":
45435 return _this.supportsRule$1(start);
45436 default:
45437 return _this.unknownAtRule$2(start, $name);
45438 }
45439 },
45440 identifierLike$0() {
45441 var t2, $arguments, t3, t4, _this = this,
45442 t1 = _this.scanner,
45443 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
45444 identifier = _this.interpolatedIdentifier$0(),
45445 plain = identifier.get$asPlain(),
45446 specialFunction = _this.trySpecialFunction$2(plain.toLowerCase(), start);
45447 if (specialFunction != null)
45448 return specialFunction;
45449 t2 = t1._string_scanner$_position;
45450 if (!t1.scanChar$1(40))
45451 return new A.StringExpression(identifier, false);
45452 $arguments = A._setArrayType([], type$.JSArray_Expression);
45453 if (!t1.scanChar$1(41)) {
45454 do {
45455 _this.whitespace$0();
45456 $arguments.push(_this.expression$1$singleEquals(true));
45457 _this.whitespace$0();
45458 } while (t1.scanChar$1(44));
45459 t1.expectChar$1(41);
45460 }
45461 if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
45462 _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
45463 t3 = A.Interpolation$(A._setArrayType([new A.StringExpression(identifier, false)], type$.JSArray_Object), identifier.span);
45464 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
45465 t4 = type$.Expression;
45466 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));
45467 },
45468 namespacedExpression$2(namespace, start) {
45469 var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
45470 this.error$2(0, string$.Modulen, expression.get$span(expression));
45471 }
45472 };
45473 A.KeyframeSelectorParser.prototype = {
45474 parse$0() {
45475 return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
45476 },
45477 _percentage$0() {
45478 var t3, next,
45479 t1 = this.scanner,
45480 t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
45481 second = t1.peekChar$0();
45482 if (!A.isDigit(second) && second !== 46)
45483 t1.error$1(0, "Expected number.");
45484 while (true) {
45485 t3 = t1.peekChar$0();
45486 if (!(t3 != null && t3 >= 48 && t3 <= 57))
45487 break;
45488 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45489 }
45490 if (t1.peekChar$0() === 46) {
45491 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45492 while (true) {
45493 t3 = t1.peekChar$0();
45494 if (!(t3 != null && t3 >= 48 && t3 <= 57))
45495 break;
45496 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45497 }
45498 }
45499 if (this.scanIdentChar$1(101)) {
45500 t2 += A.Primitives_stringFromCharCode(101);
45501 next = t1.peekChar$0();
45502 if (next === 43 || next === 45)
45503 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45504 if (!A.isDigit(t1.peekChar$0()))
45505 t1.error$1(0, "Expected digit.");
45506 while (true) {
45507 t3 = t1.peekChar$0();
45508 if (!(t3 != null && t3 >= 48 && t3 <= 57))
45509 break;
45510 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
45511 }
45512 }
45513 t1.expectChar$1(37);
45514 t2 += A.Primitives_stringFromCharCode(37);
45515 return t2.charCodeAt(0) == 0 ? t2 : t2;
45516 }
45517 };
45518 A.KeyframeSelectorParser_parse_closure.prototype = {
45519 call$0() {
45520 var selectors = A._setArrayType([], type$.JSArray_String),
45521 t1 = this.$this,
45522 t2 = t1.scanner;
45523 do {
45524 t1.whitespace$0();
45525 if (t1.lookingAtIdentifier$0())
45526 if (t1.scanIdentifier$1("from"))
45527 selectors.push("from");
45528 else {
45529 t1.expectIdentifier$2$name("to", '"to" or "from"');
45530 selectors.push("to");
45531 }
45532 else
45533 selectors.push(t1._percentage$0());
45534 t1.whitespace$0();
45535 } while (t2.scanChar$1(44));
45536 t2.expectDone$0();
45537 return selectors;
45538 },
45539 $signature: 49
45540 };
45541 A.MediaQueryParser.prototype = {
45542 parse$0() {
45543 return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
45544 },
45545 _mediaQuery$0() {
45546 var identifier1, identifier2, type, modifier, features, _this = this, _null = null,
45547 t1 = _this.scanner;
45548 if (t1.peekChar$0() !== 40) {
45549 identifier1 = _this.identifier$0();
45550 _this.whitespace$0();
45551 if (!_this.lookingAtIdentifier$0())
45552 return new A.CssMediaQuery(_null, identifier1, B.List_empty);
45553 identifier2 = _this.identifier$0();
45554 _this.whitespace$0();
45555 if (A.equalsIgnoreCase(identifier2, "and")) {
45556 type = identifier1;
45557 modifier = _null;
45558 } else {
45559 if (_this.scanIdentifier$1("and"))
45560 _this.whitespace$0();
45561 else
45562 return new A.CssMediaQuery(identifier1, identifier2, B.List_empty);
45563 type = identifier2;
45564 modifier = identifier1;
45565 }
45566 } else {
45567 type = _null;
45568 modifier = type;
45569 }
45570 features = A._setArrayType([], type$.JSArray_String);
45571 do {
45572 _this.whitespace$0();
45573 t1.expectChar$1(40);
45574 features.push("(" + _this.declarationValue$0() + ")");
45575 t1.expectChar$1(41);
45576 _this.whitespace$0();
45577 } while (_this.scanIdentifier$1("and"));
45578 if (type == null)
45579 return new A.CssMediaQuery(_null, _null, A.List_List$unmodifiable(features, type$.String));
45580 else {
45581 t1 = A.List_List$unmodifiable(features, type$.String);
45582 return new A.CssMediaQuery(modifier, type, t1);
45583 }
45584 }
45585 };
45586 A.MediaQueryParser_parse_closure.prototype = {
45587 call$0() {
45588 var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
45589 t1 = this.$this,
45590 t2 = t1.scanner;
45591 do {
45592 t1.whitespace$0();
45593 queries.push(t1._mediaQuery$0());
45594 } while (t2.scanChar$1(44));
45595 t2.expectDone$0();
45596 return queries;
45597 },
45598 $signature: 129
45599 };
45600 A.Parser.prototype = {
45601 _parseIdentifier$0() {
45602 return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
45603 },
45604 _isVariableDeclarationLike$0() {
45605 var _this = this,
45606 t1 = _this.scanner;
45607 if (!t1.scanChar$1(36))
45608 return false;
45609 if (!_this.lookingAtIdentifier$0())
45610 return false;
45611 _this.identifier$0();
45612 _this.whitespace$0();
45613 return t1.scanChar$1(58);
45614 },
45615 whitespace$0() {
45616 do
45617 this.whitespaceWithoutComments$0();
45618 while (this.scanComment$0());
45619 },
45620 whitespaceWithoutComments$0() {
45621 var t3,
45622 t1 = this.scanner,
45623 t2 = t1.string.length;
45624 while (true) {
45625 if (t1._string_scanner$_position !== t2) {
45626 t3 = t1.peekChar$0();
45627 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
45628 } else
45629 t3 = false;
45630 if (!t3)
45631 break;
45632 t1.readChar$0();
45633 }
45634 },
45635 spaces$0() {
45636 var t3,
45637 t1 = this.scanner,
45638 t2 = t1.string.length;
45639 while (true) {
45640 if (t1._string_scanner$_position !== t2) {
45641 t3 = t1.peekChar$0();
45642 t3 = t3 === 32 || t3 === 9;
45643 } else
45644 t3 = false;
45645 if (!t3)
45646 break;
45647 t1.readChar$0();
45648 }
45649 },
45650 scanComment$0() {
45651 var next,
45652 t1 = this.scanner;
45653 if (t1.peekChar$0() !== 47)
45654 return false;
45655 next = t1.peekChar$1(1);
45656 if (next === 47) {
45657 this.silentComment$0();
45658 return true;
45659 } else if (next === 42) {
45660 this.loudComment$0();
45661 return true;
45662 } else
45663 return false;
45664 },
45665 silentComment$0() {
45666 var t2, t3,
45667 t1 = this.scanner;
45668 t1.expect$1("//");
45669 t2 = t1.string.length;
45670 while (true) {
45671 if (t1._string_scanner$_position !== t2) {
45672 t3 = t1.peekChar$0();
45673 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
45674 } else
45675 t3 = false;
45676 if (!t3)
45677 break;
45678 t1.readChar$0();
45679 }
45680 },
45681 loudComment$0() {
45682 var next,
45683 t1 = this.scanner;
45684 t1.expect$1("/*");
45685 for (; true;) {
45686 if (t1.readChar$0() !== 42)
45687 continue;
45688 do
45689 next = t1.readChar$0();
45690 while (next === 42);
45691 if (next === 47)
45692 break;
45693 }
45694 },
45695 identifier$2$normalize$unit(normalize, unit) {
45696 var t2, first, _this = this,
45697 _s20_ = "Expected identifier.",
45698 text = new A.StringBuffer(""),
45699 t1 = _this.scanner;
45700 if (t1.scanChar$1(45)) {
45701 t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
45702 if (t1.scanChar$1(45)) {
45703 text._contents = t2 + A.Primitives_stringFromCharCode(45);
45704 _this._identifierBody$3$normalize$unit(text, normalize, unit);
45705 t1 = text._contents;
45706 return t1.charCodeAt(0) == 0 ? t1 : t1;
45707 }
45708 } else
45709 t2 = "";
45710 first = t1.peekChar$0();
45711 if (first == null)
45712 t1.error$1(0, _s20_);
45713 else if (normalize && first === 95) {
45714 t1.readChar$0();
45715 text._contents = t2 + A.Primitives_stringFromCharCode(45);
45716 } else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
45717 text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
45718 else if (first === 92)
45719 text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
45720 else
45721 t1.error$1(0, _s20_);
45722 _this._identifierBody$3$normalize$unit(text, normalize, unit);
45723 t1 = text._contents;
45724 return t1.charCodeAt(0) == 0 ? t1 : t1;
45725 },
45726 identifier$0() {
45727 return this.identifier$2$normalize$unit(false, false);
45728 },
45729 identifier$1$normalize(normalize) {
45730 return this.identifier$2$normalize$unit(normalize, false);
45731 },
45732 identifier$1$unit(unit) {
45733 return this.identifier$2$normalize$unit(false, unit);
45734 },
45735 _identifierBody$3$normalize$unit(text, normalize, unit) {
45736 var t1, next, second, t2;
45737 for (t1 = this.scanner; true;) {
45738 next = t1.peekChar$0();
45739 if (next == null)
45740 break;
45741 else if (unit && next === 45) {
45742 second = t1.peekChar$1(1);
45743 if (second != null)
45744 if (second !== 46)
45745 t2 = second >= 48 && second <= 57;
45746 else
45747 t2 = true;
45748 else
45749 t2 = false;
45750 if (t2)
45751 break;
45752 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45753 } else if (normalize && next === 95) {
45754 t1.readChar$0();
45755 text._contents += A.Primitives_stringFromCharCode(45);
45756 } else {
45757 if (next !== 95) {
45758 if (!(next >= 97 && next <= 122))
45759 t2 = next >= 65 && next <= 90;
45760 else
45761 t2 = true;
45762 t2 = t2 || next >= 128;
45763 } else
45764 t2 = true;
45765 if (!t2) {
45766 t2 = next >= 48 && next <= 57;
45767 t2 = t2 || next === 45;
45768 } else
45769 t2 = true;
45770 if (t2)
45771 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45772 else if (next === 92)
45773 text._contents += A.S(this.escape$0());
45774 else
45775 break;
45776 }
45777 }
45778 },
45779 _identifierBody$1(text) {
45780 return this._identifierBody$3$normalize$unit(text, false, false);
45781 },
45782 string$0() {
45783 var buffer, next, t2,
45784 t1 = this.scanner,
45785 quote = t1.readChar$0();
45786 if (quote !== 39 && quote !== 34)
45787 t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
45788 buffer = new A.StringBuffer("");
45789 for (; true;) {
45790 next = t1.peekChar$0();
45791 if (next === quote) {
45792 t1.readChar$0();
45793 break;
45794 } else if (next == null || next === 10 || next === 13 || next === 12)
45795 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
45796 else if (next === 92) {
45797 t2 = t1.peekChar$1(1);
45798 if (t2 === 10 || t2 === 13 || t2 === 12) {
45799 t1.readChar$0();
45800 t1.readChar$0();
45801 } else
45802 buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
45803 } else
45804 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45805 }
45806 t1 = buffer._contents;
45807 return t1.charCodeAt(0) == 0 ? t1 : t1;
45808 },
45809 naturalNumber$0() {
45810 var number, t2,
45811 t1 = this.scanner,
45812 first = t1.readChar$0();
45813 if (!A.isDigit(first))
45814 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
45815 number = first - 48;
45816 while (true) {
45817 t2 = t1.peekChar$0();
45818 if (!(t2 != null && t2 >= 48 && t2 <= 57))
45819 break;
45820 number = number * 10 + (t1.readChar$0() - 48);
45821 }
45822 return number;
45823 },
45824 declarationValue$1$allowEmpty(allowEmpty) {
45825 var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
45826 buffer = new A.StringBuffer(""),
45827 brackets = A._setArrayType([], type$.JSArray_int);
45828 $label0$1:
45829 for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
45830 next = t1.peekChar$0();
45831 switch (next) {
45832 case 92:
45833 buffer._contents += A.S(_this.escape$1$identifierStart(true));
45834 wroteNewline = false;
45835 break;
45836 case 34:
45837 case 39:
45838 start = t1._string_scanner$_position;
45839 t2.call$0();
45840 end = t1._string_scanner$_position;
45841 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
45842 wroteNewline = false;
45843 break;
45844 case 47:
45845 if (t1.peekChar$1(1) === 42) {
45846 t3 = _this.get$loudComment();
45847 start = t1._string_scanner$_position;
45848 t3.call$0();
45849 end = t1._string_scanner$_position;
45850 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
45851 } else
45852 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45853 wroteNewline = false;
45854 break;
45855 case 32:
45856 case 9:
45857 if (!wroteNewline) {
45858 t3 = t1.peekChar$1(1);
45859 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
45860 } else
45861 t3 = true;
45862 if (t3)
45863 buffer._contents += A.Primitives_stringFromCharCode(32);
45864 t1.readChar$0();
45865 break;
45866 case 10:
45867 case 13:
45868 case 12:
45869 t3 = t1.peekChar$1(-1);
45870 if (!(t3 === 10 || t3 === 13 || t3 === 12))
45871 buffer._contents += "\n";
45872 t1.readChar$0();
45873 wroteNewline = true;
45874 break;
45875 case 40:
45876 case 123:
45877 case 91:
45878 next.toString;
45879 buffer._contents += A.Primitives_stringFromCharCode(next);
45880 brackets.push(A.opposite(t1.readChar$0()));
45881 wroteNewline = false;
45882 break;
45883 case 41:
45884 case 125:
45885 case 93:
45886 if (brackets.length === 0)
45887 break $label0$1;
45888 next.toString;
45889 buffer._contents += A.Primitives_stringFromCharCode(next);
45890 t1.expectChar$1(brackets.pop());
45891 wroteNewline = false;
45892 break;
45893 case 59:
45894 if (brackets.length === 0)
45895 break $label0$1;
45896 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45897 break;
45898 case 117:
45899 case 85:
45900 url = _this.tryUrl$0();
45901 if (url != null)
45902 buffer._contents += url;
45903 else
45904 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45905 wroteNewline = false;
45906 break;
45907 default:
45908 if (next == null)
45909 break $label0$1;
45910 if (_this.lookingAtIdentifier$0())
45911 buffer._contents += _this.identifier$0();
45912 else
45913 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45914 wroteNewline = false;
45915 break;
45916 }
45917 }
45918 if (brackets.length !== 0)
45919 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
45920 if (!allowEmpty && buffer._contents.length === 0)
45921 t1.error$1(0, "Expected token.");
45922 t1 = buffer._contents;
45923 return t1.charCodeAt(0) == 0 ? t1 : t1;
45924 },
45925 declarationValue$0() {
45926 return this.declarationValue$1$allowEmpty(false);
45927 },
45928 tryUrl$0() {
45929 var buffer, next, t2, _this = this,
45930 t1 = _this.scanner,
45931 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45932 if (!_this.scanIdentifier$1("url"))
45933 return null;
45934 if (!t1.scanChar$1(40)) {
45935 t1.set$state(start);
45936 return null;
45937 }
45938 _this.whitespace$0();
45939 buffer = new A.StringBuffer("");
45940 buffer._contents = "" + "url(";
45941 for (; true;) {
45942 next = t1.peekChar$0();
45943 if (next == null)
45944 break;
45945 else if (next === 92)
45946 buffer._contents += A.S(_this.escape$0());
45947 else {
45948 if (next !== 37)
45949 if (next !== 38)
45950 if (next !== 35)
45951 t2 = next >= 42 && next <= 126 || next >= 128;
45952 else
45953 t2 = true;
45954 else
45955 t2 = true;
45956 else
45957 t2 = true;
45958 if (t2)
45959 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45960 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
45961 _this.whitespace$0();
45962 if (t1.peekChar$0() !== 41)
45963 break;
45964 } else if (next === 41) {
45965 t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45966 return t2.charCodeAt(0) == 0 ? t2 : t2;
45967 } else
45968 break;
45969 }
45970 }
45971 t1.set$state(start);
45972 return null;
45973 },
45974 variableName$0() {
45975 this.scanner.expectChar$1(36);
45976 return this.identifier$1$normalize(true);
45977 },
45978 escape$1$identifierStart(identifierStart) {
45979 var value, first, i, next, t2, exception,
45980 _s25_ = "Expected escape sequence.",
45981 t1 = this.scanner,
45982 start = t1._string_scanner$_position;
45983 t1.expectChar$1(92);
45984 value = 0;
45985 first = t1.peekChar$0();
45986 if (first == null)
45987 t1.error$1(0, _s25_);
45988 else if (first === 10 || first === 13 || first === 12)
45989 t1.error$1(0, _s25_);
45990 else if (A.isHex(first)) {
45991 for (i = 0; i < 6; ++i) {
45992 next = t1.peekChar$0();
45993 if (next == null || !A.isHex(next))
45994 break;
45995 value *= 16;
45996 value += A.asHex(t1.readChar$0());
45997 }
45998 this.scanCharIf$1(A.character__isWhitespace$closure());
45999 } else
46000 value = t1.readChar$0();
46001 if (identifierStart) {
46002 t2 = value;
46003 t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128;
46004 } else {
46005 t2 = value;
46006 t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128 || A.isDigit(t2) || t2 === 45;
46007 }
46008 if (t2)
46009 try {
46010 t2 = A.Primitives_stringFromCharCode(value);
46011 return t2;
46012 } catch (exception) {
46013 if (type$.RangeError._is(A.unwrapException(exception)))
46014 t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
46015 else
46016 throw exception;
46017 }
46018 else {
46019 if (!(value <= 31))
46020 if (!J.$eq$(value, 127))
46021 t1 = identifierStart && A.isDigit(value);
46022 else
46023 t1 = true;
46024 else
46025 t1 = true;
46026 if (t1) {
46027 t1 = "" + A.Primitives_stringFromCharCode(92);
46028 if (value > 15)
46029 t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
46030 t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
46031 return t1.charCodeAt(0) == 0 ? t1 : t1;
46032 } else
46033 return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
46034 }
46035 },
46036 escape$0() {
46037 return this.escape$1$identifierStart(false);
46038 },
46039 scanCharIf$1(condition) {
46040 var t1 = this.scanner;
46041 if (!condition.call$1(t1.peekChar$0()))
46042 return false;
46043 t1.readChar$0();
46044 return true;
46045 },
46046 scanIdentChar$2$caseSensitive(char, caseSensitive) {
46047 var t3,
46048 t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
46049 t2 = this.scanner,
46050 next = t2.peekChar$0();
46051 if (next != null && t1.call$1(next)) {
46052 t2.readChar$0();
46053 return true;
46054 } else if (next === 92) {
46055 t3 = t2._string_scanner$_position;
46056 if (t1.call$1(A.consumeEscapedCharacter(t2)))
46057 return true;
46058 t2.set$state(new A._SpanScannerState(t2, t3));
46059 }
46060 return false;
46061 },
46062 scanIdentChar$1(char) {
46063 return this.scanIdentChar$2$caseSensitive(char, false);
46064 },
46065 expectIdentChar$1(letter) {
46066 var t1;
46067 if (this.scanIdentChar$2$caseSensitive(letter, false))
46068 return;
46069 t1 = this.scanner;
46070 t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
46071 },
46072 lookingAtIdentifier$1($forward) {
46073 var t1, first, second;
46074 if ($forward == null)
46075 $forward = 0;
46076 t1 = this.scanner;
46077 first = t1.peekChar$1($forward);
46078 if (first == null)
46079 return false;
46080 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
46081 return true;
46082 if (first !== 45)
46083 return false;
46084 second = t1.peekChar$1($forward + 1);
46085 if (second == null)
46086 return false;
46087 return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
46088 },
46089 lookingAtIdentifier$0() {
46090 return this.lookingAtIdentifier$1(null);
46091 },
46092 lookingAtIdentifierBody$0() {
46093 var t1,
46094 next = this.scanner.peekChar$0();
46095 if (next != null)
46096 t1 = next === 95 || A.isAlphabetic0(next) || next >= 128 || A.isDigit(next) || next === 45 || next === 92;
46097 else
46098 t1 = false;
46099 return t1;
46100 },
46101 scanIdentifier$2$caseSensitive(text, caseSensitive) {
46102 var t1, start, t2, t3, _this = this;
46103 if (!_this.lookingAtIdentifier$0())
46104 return false;
46105 t1 = _this.scanner;
46106 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46107 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
46108 if (_this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), caseSensitive))
46109 continue;
46110 if (start._scanner !== t1)
46111 A.throwExpression(A.ArgumentError$(string$.The_gi, null));
46112 t2 = start.position;
46113 if (t2 < 0 || t2 > t1.string.length)
46114 A.throwExpression(A.ArgumentError$("Invalid position " + t2, null));
46115 t1._string_scanner$_position = t2;
46116 t1._lastMatch = null;
46117 return false;
46118 }
46119 if (!_this.lookingAtIdentifierBody$0())
46120 return true;
46121 t1.set$state(start);
46122 return false;
46123 },
46124 scanIdentifier$1(text) {
46125 return this.scanIdentifier$2$caseSensitive(text, false);
46126 },
46127 expectIdentifier$2$name(text, $name) {
46128 var t1, start, t2, t3;
46129 if ($name == null)
46130 $name = '"' + text + '"';
46131 t1 = this.scanner;
46132 start = t1._string_scanner$_position;
46133 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
46134 if (this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), false))
46135 continue;
46136 t1.error$2$position(0, "Expected " + $name + ".", start);
46137 }
46138 if (!this.lookingAtIdentifierBody$0())
46139 return;
46140 t1.error$2$position(0, "Expected " + $name, start);
46141 },
46142 expectIdentifier$1(text) {
46143 return this.expectIdentifier$2$name(text, null);
46144 },
46145 rawText$1(consumer) {
46146 var t1 = this.scanner,
46147 start = t1._string_scanner$_position;
46148 consumer.call$0();
46149 return t1.substring$1(0, start);
46150 },
46151 error$3(_, message, span, trace) {
46152 var exception = new A.StringScannerException(this.scanner.string, message, span);
46153 if (trace == null)
46154 throw A.wrapException(exception);
46155 else
46156 A.throwWithTrace(exception, trace);
46157 },
46158 error$2($receiver, message, span) {
46159 return this.error$3($receiver, message, span, null);
46160 },
46161 withErrorMessage$1$2(message, callback) {
46162 var error, stackTrace, t1, exception;
46163 try {
46164 t1 = callback.call$0();
46165 return t1;
46166 } catch (exception) {
46167 t1 = A.unwrapException(exception);
46168 if (type$.SourceSpanFormatException._is(t1)) {
46169 error = t1;
46170 stackTrace = A.getTraceFromException(exception);
46171 t1 = J.get$span$z(error);
46172 A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
46173 } else
46174 throw exception;
46175 }
46176 },
46177 withErrorMessage$2(message, callback) {
46178 return this.withErrorMessage$1$2(message, callback, type$.dynamic);
46179 },
46180 wrapSpanFormatException$1$1(callback) {
46181 var error, stackTrace, span, startPosition, t1, exception;
46182 try {
46183 t1 = callback.call$0();
46184 return t1;
46185 } catch (exception) {
46186 t1 = A.unwrapException(exception);
46187 if (type$.SourceSpanFormatException._is(t1)) {
46188 error = t1;
46189 stackTrace = A.getTraceFromException(exception);
46190 span = J.get$span$z(error);
46191 if (A.startsWithIgnoreCase(error._span_exception$_message, "expected")) {
46192 t1 = span;
46193 t1 = t1._end - t1._file$_start === 0;
46194 } else
46195 t1 = false;
46196 if (t1) {
46197 t1 = span;
46198 startPosition = this._firstNewlineBefore$1(A.FileLocation$_(t1.file, t1._file$_start).offset);
46199 t1 = span;
46200 if (!J.$eq$(startPosition, A.FileLocation$_(t1.file, t1._file$_start).offset))
46201 span = span.file.span$2(0, startPosition, startPosition);
46202 }
46203 A.throwWithTrace(new A.SassFormatException(error._span_exception$_message, span), stackTrace);
46204 } else
46205 throw exception;
46206 }
46207 },
46208 wrapSpanFormatException$1(callback) {
46209 return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
46210 },
46211 _firstNewlineBefore$1(position) {
46212 var t1, lastNewline, codeUnit,
46213 index = position - 1;
46214 for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
46215 codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
46216 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
46217 return lastNewline == null ? position : lastNewline;
46218 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
46219 lastNewline = index;
46220 --index;
46221 }
46222 return position;
46223 }
46224 };
46225 A.Parser__parseIdentifier_closure.prototype = {
46226 call$0() {
46227 var t1 = this.$this,
46228 result = t1.identifier$0();
46229 t1.scanner.expectDone$0();
46230 return result;
46231 },
46232 $signature: 30
46233 };
46234 A.Parser_scanIdentChar_matches.prototype = {
46235 call$1(actual) {
46236 var t1 = this.char;
46237 return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
46238 },
46239 $signature: 58
46240 };
46241 A.SassParser.prototype = {
46242 get$currentIndentation() {
46243 return this._currentIndentation;
46244 },
46245 get$indented() {
46246 return true;
46247 },
46248 styleRuleSelector$0() {
46249 var t4,
46250 t1 = this.scanner,
46251 t2 = t1._string_scanner$_position,
46252 t3 = new A.StringBuffer(""),
46253 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
46254 do {
46255 buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
46256 t4 = t3._contents += A.Primitives_stringFromCharCode(10);
46257 } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character__isNewline$closure()));
46258 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
46259 },
46260 expectStatementSeparator$1($name) {
46261 var _this = this;
46262 if (!_this.atEndOfStatement$0())
46263 _this._expectNewline$0();
46264 if (_this._peekIndentation$0() <= _this._currentIndentation)
46265 return;
46266 _this.scanner.error$2$position(0, "Nothing may be indented " + ($name == null ? "here" : "beneath a " + $name) + ".", _this._nextIndentationEnd.position);
46267 },
46268 expectStatementSeparator$0() {
46269 return this.expectStatementSeparator$1(null);
46270 },
46271 atEndOfStatement$0() {
46272 var next = this.scanner.peekChar$0();
46273 return next == null || next === 10 || next === 13 || next === 12;
46274 },
46275 lookingAtChildren$0() {
46276 return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
46277 },
46278 importArgument$0() {
46279 var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
46280 t1 = _this.scanner;
46281 switch (t1.peekChar$0()) {
46282 case 117:
46283 case 85:
46284 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46285 if (_this.scanIdentifier$1("url"))
46286 if (t1.scanChar$1(40)) {
46287 t1.set$state(start);
46288 return _this.super$StylesheetParser$importArgument();
46289 } else
46290 t1.set$state(start);
46291 break;
46292 case 39:
46293 case 34:
46294 return _this.super$StylesheetParser$importArgument();
46295 }
46296 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46297 next = t1.peekChar$0();
46298 while (true) {
46299 if (next != null)
46300 if (next !== 44)
46301 if (next !== 59)
46302 t2 = !(next === 10 || next === 13 || next === 12);
46303 else
46304 t2 = false;
46305 else
46306 t2 = false;
46307 else
46308 t2 = false;
46309 if (!t2)
46310 break;
46311 t1.readChar$0();
46312 next = t1.peekChar$0();
46313 }
46314 url = t1.substring$1(0, start.position);
46315 span = t1.spanFrom$1(start);
46316 if (_this.isPlainImportUrl$1(url))
46317 return new A.StaticImport(A.Interpolation$(A._setArrayType([A.serializeValue(new A.SassString(url, true), true, true)], type$.JSArray_Object), span), null, null, span);
46318 else
46319 try {
46320 t1 = _this.parseImportUrl$1(url);
46321 return new A.DynamicImport(t1, span);
46322 } catch (exception) {
46323 t1 = A.unwrapException(exception);
46324 if (type$.FormatException._is(t1)) {
46325 innerError = t1;
46326 stackTrace = A.getTraceFromException(exception);
46327 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
46328 } else
46329 throw exception;
46330 }
46331 },
46332 scanElse$1(ifIndentation) {
46333 var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
46334 if (_this._peekIndentation$0() !== ifIndentation)
46335 return false;
46336 t1 = _this.scanner;
46337 t2 = t1._string_scanner$_position;
46338 startIndentation = _this._currentIndentation;
46339 startNextIndentation = _this._nextIndentation;
46340 startNextIndentationEnd = _this._nextIndentationEnd;
46341 _this._readIndentation$0();
46342 if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
46343 return true;
46344 t1.set$state(new A._SpanScannerState(t1, t2));
46345 _this._currentIndentation = startIndentation;
46346 _this._nextIndentation = startNextIndentation;
46347 _this._nextIndentationEnd = startNextIndentationEnd;
46348 return false;
46349 },
46350 children$1(_, child) {
46351 var children = A._setArrayType([], type$.JSArray_Statement);
46352 this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
46353 return children;
46354 },
46355 statements$1(statement) {
46356 var statements, t2, child,
46357 t1 = this.scanner,
46358 first = t1.peekChar$0();
46359 if (first === 9 || first === 32)
46360 t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
46361 statements = A._setArrayType([], type$.JSArray_Statement);
46362 for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
46363 child = this._child$1(statement);
46364 if (child != null)
46365 statements.push(child);
46366 this._readIndentation$0();
46367 }
46368 return statements;
46369 },
46370 _child$1(child) {
46371 var _this = this,
46372 t1 = _this.scanner;
46373 switch (t1.peekChar$0()) {
46374 case 13:
46375 case 10:
46376 case 12:
46377 return null;
46378 case 36:
46379 return _this.variableDeclarationWithoutNamespace$0();
46380 case 47:
46381 switch (t1.peekChar$1(1)) {
46382 case 47:
46383 return _this._silentComment$0();
46384 case 42:
46385 return _this._loudComment$0();
46386 default:
46387 return child.call$0();
46388 }
46389 default:
46390 return child.call$0();
46391 }
46392 },
46393 _silentComment$0() {
46394 var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
46395 t1 = _this.scanner,
46396 t2 = t1._string_scanner$_position;
46397 t1.expect$1("//");
46398 buffer = new A.StringBuffer("");
46399 parentIndentation = _this._currentIndentation;
46400 t3 = t1.string.length;
46401 t4 = 1 + parentIndentation;
46402 t5 = 2 + parentIndentation;
46403 $label0$0:
46404 do {
46405 commentPrefix = t1.scanChar$1(47) ? "///" : "//";
46406 for (i = commentPrefix.length; true;) {
46407 t6 = buffer._contents += commentPrefix;
46408 for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
46409 t6 += A.Primitives_stringFromCharCode(32);
46410 buffer._contents = t6;
46411 }
46412 while (true) {
46413 if (t1._string_scanner$_position !== t3) {
46414 t7 = t1.peekChar$0();
46415 t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
46416 } else
46417 t7 = false;
46418 if (!t7)
46419 break;
46420 t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
46421 buffer._contents = t6;
46422 }
46423 buffer._contents = t6 + "\n";
46424 if (_this._peekIndentation$0() < parentIndentation)
46425 break $label0$0;
46426 if (_this._peekIndentation$0() === parentIndentation) {
46427 if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
46428 _this._readIndentation$0();
46429 break;
46430 }
46431 _this._readIndentation$0();
46432 }
46433 } while (t1.scan$1("//"));
46434 t3 = buffer._contents;
46435 return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
46436 },
46437 _loudComment$0() {
46438 var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
46439 t1 = _this.scanner,
46440 t2 = t1._string_scanner$_position;
46441 t1.expect$1("/*");
46442 t3 = new A.StringBuffer("");
46443 t4 = A._setArrayType([], type$.JSArray_Object);
46444 buffer = new A.InterpolationBuffer(t3, t4);
46445 t3._contents = "" + "/*";
46446 parentIndentation = _this._currentIndentation;
46447 for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
46448 if (first) {
46449 beginningOfComment = t1._string_scanner$_position;
46450 _this.spaces$0();
46451 t7 = t1.peekChar$0();
46452 if (t7 === 10 || t7 === 13 || t7 === 12) {
46453 _this._readIndentation$0();
46454 t7 = t3._contents += A.Primitives_stringFromCharCode(32);
46455 } else {
46456 end = t1._string_scanner$_position;
46457 t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
46458 }
46459 } else {
46460 t7 = t3._contents += "\n";
46461 t7 += " * ";
46462 t3._contents = t7;
46463 }
46464 for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
46465 t7 += A.Primitives_stringFromCharCode(32);
46466 t3._contents = t7;
46467 }
46468 $label0$1:
46469 for (; t1._string_scanner$_position !== t6;)
46470 switch (t1.peekChar$0()) {
46471 case 10:
46472 case 13:
46473 case 12:
46474 break $label0$1;
46475 case 35:
46476 if (t1.peekChar$1(1) === 123) {
46477 t7 = _this.singleInterpolation$0();
46478 buffer._flushText$0();
46479 t4.push(t7);
46480 } else
46481 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46482 break;
46483 default:
46484 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46485 break;
46486 }
46487 if (_this._peekIndentation$0() <= parentIndentation)
46488 break;
46489 for (; _this._lookingAtDoubleNewline$0();) {
46490 _this._expectNewline$0();
46491 t7 = t3._contents += "\n";
46492 t3._contents = t7 + " *";
46493 }
46494 _this._readIndentation$0();
46495 }
46496 t4 = t3._contents;
46497 if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
46498 t3._contents += " */";
46499 return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
46500 },
46501 whitespaceWithoutComments$0() {
46502 var t1, t2, next;
46503 for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
46504 next = t1.peekChar$0();
46505 if (next !== 9 && next !== 32)
46506 break;
46507 t1.readChar$0();
46508 }
46509 },
46510 loudComment$0() {
46511 var next,
46512 t1 = this.scanner;
46513 t1.expect$1("/*");
46514 for (; true;) {
46515 next = t1.readChar$0();
46516 if (next === 10 || next === 13 || next === 12)
46517 t1.error$1(0, "expected */.");
46518 if (next !== 42)
46519 continue;
46520 do
46521 next = t1.readChar$0();
46522 while (next === 42);
46523 if (next === 47)
46524 break;
46525 }
46526 },
46527 _expectNewline$0() {
46528 var t1 = this.scanner;
46529 switch (t1.peekChar$0()) {
46530 case 59:
46531 t1.error$1(0, string$.semico);
46532 break;
46533 case 13:
46534 t1.readChar$0();
46535 if (t1.peekChar$0() === 10)
46536 t1.readChar$0();
46537 return;
46538 case 10:
46539 case 12:
46540 t1.readChar$0();
46541 return;
46542 default:
46543 t1.error$1(0, "expected newline.");
46544 }
46545 },
46546 _lookingAtDoubleNewline$0() {
46547 var nextChar,
46548 t1 = this.scanner;
46549 switch (t1.peekChar$0()) {
46550 case 13:
46551 nextChar = t1.peekChar$1(1);
46552 if (nextChar === 10) {
46553 t1 = t1.peekChar$1(2);
46554 return t1 === 10 || t1 === 13 || t1 === 12;
46555 }
46556 return nextChar === 13 || nextChar === 12;
46557 case 10:
46558 case 12:
46559 t1 = t1.peekChar$1(1);
46560 return t1 === 10 || t1 === 13 || t1 === 12;
46561 default:
46562 return false;
46563 }
46564 },
46565 _whileIndentedLower$1(body) {
46566 var t1, t2, childIndentation, indentation, t3, t4, t5, _this = this,
46567 parentIndentation = _this._currentIndentation;
46568 for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
46569 indentation = _this._readIndentation$0();
46570 if (childIndentation == null)
46571 childIndentation = indentation;
46572 if (childIndentation !== indentation) {
46573 t3 = "Inconsistent indentation, expected " + childIndentation + " spaces.";
46574 t4 = t1._string_scanner$_position;
46575 t5 = t2.getColumn$1(t4);
46576 t1.error$3$length$position(0, t3, t2.getColumn$1(t1._string_scanner$_position), t4 - t5);
46577 }
46578 body.call$0();
46579 }
46580 },
46581 _readIndentation$0() {
46582 var t1, _this = this,
46583 currentIndentation = _this._nextIndentation;
46584 if (currentIndentation == null)
46585 currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
46586 _this._currentIndentation = currentIndentation;
46587 t1 = _this._nextIndentationEnd;
46588 t1.toString;
46589 _this.scanner.set$state(t1);
46590 _this._nextIndentationEnd = _this._nextIndentation = null;
46591 return currentIndentation;
46592 },
46593 _peekIndentation$0() {
46594 var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
46595 cached = _this._nextIndentation;
46596 if (cached != null)
46597 return cached;
46598 t1 = _this.scanner;
46599 t2 = t1._string_scanner$_position;
46600 t3 = t1.string.length;
46601 if (t2 === t3) {
46602 _this._nextIndentation = 0;
46603 _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
46604 return 0;
46605 }
46606 start = new A._SpanScannerState(t1, t2);
46607 if (!_this.scanCharIf$1(A.character__isNewline$closure()))
46608 t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
46609 containsTab = A._Cell$();
46610 containsSpace = A._Cell$();
46611 nextIndentation = A._Cell$();
46612 t2 = nextIndentation.__late_helper$_name;
46613 do {
46614 containsSpace._value = containsTab._value = false;
46615 nextIndentation._value = 0;
46616 for (; true;) {
46617 next = t1.peekChar$0();
46618 if (next === 32)
46619 containsSpace._value = true;
46620 else if (next === 9)
46621 containsTab._value = true;
46622 else
46623 break;
46624 t4 = nextIndentation._value;
46625 if (t4 === nextIndentation)
46626 A.throwExpression(A.LateError$localNI(t2));
46627 nextIndentation._value = t4 + 1;
46628 t1.readChar$0();
46629 }
46630 t4 = t1._string_scanner$_position;
46631 if (t4 === t3) {
46632 _this._nextIndentation = 0;
46633 _this._nextIndentationEnd = new A._SpanScannerState(t1, t4);
46634 t1.set$state(start);
46635 return 0;
46636 }
46637 } while (_this.scanCharIf$1(A.character__isNewline$closure()));
46638 t2 = containsTab._readLocal$0();
46639 t3 = containsSpace._readLocal$0();
46640 if (t2) {
46641 if (t3) {
46642 t2 = t1._string_scanner$_position;
46643 t3 = t1._sourceFile;
46644 t4 = t3.getColumn$1(t2);
46645 t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46646 } else if (_this._spaces === true) {
46647 t2 = t1._string_scanner$_position;
46648 t3 = t1._sourceFile;
46649 t4 = t3.getColumn$1(t2);
46650 t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46651 }
46652 } else if (t3 && _this._spaces === false) {
46653 t2 = t1._string_scanner$_position;
46654 t3 = t1._sourceFile;
46655 t4 = t3.getColumn$1(t2);
46656 t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46657 }
46658 _this._nextIndentation = nextIndentation._readLocal$0();
46659 if (nextIndentation._readLocal$0() > 0)
46660 if (_this._spaces == null)
46661 _this._spaces = containsSpace._readLocal$0();
46662 _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
46663 t1.set$state(start);
46664 return nextIndentation._readLocal$0();
46665 }
46666 };
46667 A.SassParser_children_closure.prototype = {
46668 call$0() {
46669 var parsedChild = this.$this._child$1(this.child);
46670 if (parsedChild != null)
46671 this.children.push(parsedChild);
46672 },
46673 $signature: 0
46674 };
46675 A.ScssParser.prototype = {
46676 get$indented() {
46677 return false;
46678 },
46679 get$currentIndentation() {
46680 return 0;
46681 },
46682 styleRuleSelector$0() {
46683 return this.almostAnyValue$0();
46684 },
46685 expectStatementSeparator$1($name) {
46686 var t1, next;
46687 this.whitespaceWithoutComments$0();
46688 t1 = this.scanner;
46689 if (t1._string_scanner$_position === t1.string.length)
46690 return;
46691 next = t1.peekChar$0();
46692 if (next === 59 || next === 125)
46693 return;
46694 t1.expectChar$1(59);
46695 },
46696 expectStatementSeparator$0() {
46697 return this.expectStatementSeparator$1(null);
46698 },
46699 atEndOfStatement$0() {
46700 var next = this.scanner.peekChar$0();
46701 return next == null || next === 59 || next === 125 || next === 123;
46702 },
46703 lookingAtChildren$0() {
46704 return this.scanner.peekChar$0() === 123;
46705 },
46706 scanElse$1(ifIndentation) {
46707 var t3, _this = this,
46708 t1 = _this.scanner,
46709 t2 = t1._string_scanner$_position;
46710 _this.whitespace$0();
46711 t3 = t1._string_scanner$_position;
46712 if (t1.scanChar$1(64)) {
46713 if (_this.scanIdentifier$2$caseSensitive("else", true))
46714 return true;
46715 if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
46716 _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
46717 t1.set$position(t1._string_scanner$_position - 2);
46718 return true;
46719 }
46720 }
46721 t1.set$state(new A._SpanScannerState(t1, t2));
46722 return false;
46723 },
46724 children$1(_, child) {
46725 var children, _this = this,
46726 t1 = _this.scanner;
46727 t1.expectChar$1(123);
46728 _this.whitespaceWithoutComments$0();
46729 children = A._setArrayType([], type$.JSArray_Statement);
46730 for (; true;)
46731 switch (t1.peekChar$0()) {
46732 case 36:
46733 children.push(_this.variableDeclarationWithoutNamespace$0());
46734 break;
46735 case 47:
46736 switch (t1.peekChar$1(1)) {
46737 case 47:
46738 children.push(_this._scss$_silentComment$0());
46739 _this.whitespaceWithoutComments$0();
46740 break;
46741 case 42:
46742 children.push(_this._scss$_loudComment$0());
46743 _this.whitespaceWithoutComments$0();
46744 break;
46745 default:
46746 children.push(child.call$0());
46747 break;
46748 }
46749 break;
46750 case 59:
46751 t1.readChar$0();
46752 _this.whitespaceWithoutComments$0();
46753 break;
46754 case 125:
46755 t1.expectChar$1(125);
46756 return children;
46757 default:
46758 children.push(child.call$0());
46759 break;
46760 }
46761 },
46762 statements$1(statement) {
46763 var t1, t2, child, _this = this,
46764 statements = A._setArrayType([], type$.JSArray_Statement);
46765 _this.whitespaceWithoutComments$0();
46766 for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
46767 switch (t1.peekChar$0()) {
46768 case 36:
46769 statements.push(_this.variableDeclarationWithoutNamespace$0());
46770 break;
46771 case 47:
46772 switch (t1.peekChar$1(1)) {
46773 case 47:
46774 statements.push(_this._scss$_silentComment$0());
46775 _this.whitespaceWithoutComments$0();
46776 break;
46777 case 42:
46778 statements.push(_this._scss$_loudComment$0());
46779 _this.whitespaceWithoutComments$0();
46780 break;
46781 default:
46782 child = statement.call$0();
46783 if (child != null)
46784 statements.push(child);
46785 break;
46786 }
46787 break;
46788 case 59:
46789 t1.readChar$0();
46790 _this.whitespaceWithoutComments$0();
46791 break;
46792 default:
46793 child = statement.call$0();
46794 if (child != null)
46795 statements.push(child);
46796 break;
46797 }
46798 return statements;
46799 },
46800 _scss$_silentComment$0() {
46801 var t2, t3, _this = this,
46802 t1 = _this.scanner,
46803 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46804 t1.expect$1("//");
46805 t2 = t1.string.length;
46806 do {
46807 while (true) {
46808 if (t1._string_scanner$_position !== t2) {
46809 t3 = t1.readChar$0();
46810 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
46811 } else
46812 t3 = false;
46813 if (!t3)
46814 break;
46815 }
46816 if (t1._string_scanner$_position === t2)
46817 break;
46818 _this.whitespaceWithoutComments$0();
46819 } while (t1.scan$1("//"));
46820 if (_this.get$plainCss())
46821 _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
46822 return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
46823 },
46824 _scss$_loudComment$0() {
46825 var t3, t4, buffer, t5, endPosition, t6, result,
46826 t1 = this.scanner,
46827 t2 = t1._string_scanner$_position;
46828 t1.expect$1("/*");
46829 t3 = new A.StringBuffer("");
46830 t4 = A._setArrayType([], type$.JSArray_Object);
46831 buffer = new A.InterpolationBuffer(t3, t4);
46832 t3._contents = "" + "/*";
46833 for (; true;)
46834 switch (t1.peekChar$0()) {
46835 case 35:
46836 if (t1.peekChar$1(1) === 123) {
46837 t5 = this.singleInterpolation$0();
46838 buffer._flushText$0();
46839 t4.push(t5);
46840 } else
46841 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46842 break;
46843 case 42:
46844 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46845 if (t1.peekChar$0() !== 47)
46846 break;
46847 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46848 endPosition = t1._string_scanner$_position;
46849 t5 = t1._sourceFile;
46850 t6 = new A._SpanScannerState(t1, t2).position;
46851 t1 = new A._FileSpan(t5, t6, endPosition);
46852 t1._FileSpan$3(t5, t6, endPosition);
46853 t6 = type$.Object;
46854 t5 = A.List_List$of(t4, true, t6);
46855 t2 = t3._contents;
46856 if (t2.length !== 0)
46857 t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
46858 result = A.List_List$from(t5, false, t6);
46859 result.fixed$length = Array;
46860 result.immutable$list = Array;
46861 t2 = new A.Interpolation(result, t1);
46862 t2.Interpolation$2(t5, t1);
46863 return new A.LoudComment(t2);
46864 case 13:
46865 t1.readChar$0();
46866 if (t1.peekChar$0() !== 10)
46867 t3._contents += A.Primitives_stringFromCharCode(10);
46868 break;
46869 case 12:
46870 t1.readChar$0();
46871 t3._contents += A.Primitives_stringFromCharCode(10);
46872 break;
46873 default:
46874 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46875 break;
46876 }
46877 }
46878 };
46879 A.SelectorParser.prototype = {
46880 parse$0() {
46881 return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
46882 },
46883 parseCompoundSelector$0() {
46884 return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
46885 },
46886 _selectorList$0() {
46887 var t3, t4, lineBreak, _this = this,
46888 t1 = _this.scanner,
46889 t2 = t1._sourceFile,
46890 previousLine = t2.getLine$1(t1._string_scanner$_position),
46891 components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
46892 _this.whitespace$0();
46893 for (t3 = t1.string.length; t1.scanChar$1(44);) {
46894 _this.whitespace$0();
46895 if (t1.peekChar$0() === 44)
46896 continue;
46897 t4 = t1._string_scanner$_position;
46898 if (t4 === t3)
46899 break;
46900 lineBreak = t2.getLine$1(t4) !== previousLine;
46901 if (lineBreak)
46902 previousLine = t2.getLine$1(t1._string_scanner$_position);
46903 components.push(_this._complexSelector$1$lineBreak(lineBreak));
46904 }
46905 return A.SelectorList$(components);
46906 },
46907 _complexSelector$1$lineBreak(lineBreak) {
46908 var t1, next, _this = this,
46909 _s58_ = string$.x22x26__ma,
46910 components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
46911 $label0$1:
46912 for (t1 = _this.scanner; true;) {
46913 _this.whitespace$0();
46914 next = t1.peekChar$0();
46915 switch (next) {
46916 case 43:
46917 t1.readChar$0();
46918 components.push(B.Combinator_uzg);
46919 break;
46920 case 62:
46921 t1.readChar$0();
46922 components.push(B.Combinator_sgq);
46923 break;
46924 case 126:
46925 t1.readChar$0();
46926 components.push(B.Combinator_CzM);
46927 break;
46928 case 91:
46929 case 46:
46930 case 35:
46931 case 37:
46932 case 58:
46933 case 38:
46934 case 42:
46935 case 124:
46936 components.push(_this._compoundSelector$0());
46937 if (t1.peekChar$0() === 38)
46938 t1.error$1(0, _s58_);
46939 break;
46940 default:
46941 if (next == null || !_this.lookingAtIdentifier$0())
46942 break $label0$1;
46943 components.push(_this._compoundSelector$0());
46944 if (t1.peekChar$0() === 38)
46945 t1.error$1(0, _s58_);
46946 break;
46947 }
46948 }
46949 if (components.length === 0)
46950 t1.error$1(0, "expected selector.");
46951 return A.ComplexSelector$(components, lineBreak);
46952 },
46953 _complexSelector$0() {
46954 return this._complexSelector$1$lineBreak(false);
46955 },
46956 _compoundSelector$0() {
46957 var t2,
46958 components = A._setArrayType([this._simpleSelector$0()], type$.JSArray_SimpleSelector),
46959 t1 = this.scanner;
46960 while (true) {
46961 t2 = t1.peekChar$0();
46962 if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
46963 break;
46964 components.push(this._simpleSelector$1$allowParent(false));
46965 }
46966 return A.CompoundSelector$(components);
46967 },
46968 _simpleSelector$1$allowParent(allowParent) {
46969 var $name, text, t2, suffix, _this = this,
46970 t1 = _this.scanner,
46971 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46972 if (allowParent == null)
46973 allowParent = _this._allowParent;
46974 switch (t1.peekChar$0()) {
46975 case 91:
46976 return _this._attributeSelector$0();
46977 case 46:
46978 t1.expectChar$1(46);
46979 return new A.ClassSelector(_this.identifier$0());
46980 case 35:
46981 t1.expectChar$1(35);
46982 return new A.IDSelector(_this.identifier$0());
46983 case 37:
46984 t1.expectChar$1(37);
46985 $name = _this.identifier$0();
46986 if (!_this._allowPlaceholder)
46987 _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
46988 return new A.PlaceholderSelector($name);
46989 case 58:
46990 return _this._pseudoSelector$0();
46991 case 38:
46992 t1.expectChar$1(38);
46993 if (_this.lookingAtIdentifierBody$0()) {
46994 text = new A.StringBuffer("");
46995 _this._identifierBody$1(text);
46996 if (text._contents.length === 0)
46997 t1.error$1(0, "Expected identifier body.");
46998 t2 = text._contents;
46999 suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
47000 } else
47001 suffix = null;
47002 if (!allowParent)
47003 _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
47004 return new A.ParentSelector(suffix);
47005 default:
47006 return _this._typeOrUniversalSelector$0();
47007 }
47008 },
47009 _simpleSelector$0() {
47010 return this._simpleSelector$1$allowParent(null);
47011 },
47012 _attributeSelector$0() {
47013 var $name, operator, next, value, modifier, _this = this, _null = null,
47014 t1 = _this.scanner;
47015 t1.expectChar$1(91);
47016 _this.whitespace$0();
47017 $name = _this._attributeName$0();
47018 _this.whitespace$0();
47019 if (t1.scanChar$1(93))
47020 return new A.AttributeSelector($name, _null, _null, _null);
47021 operator = _this._attributeOperator$0();
47022 _this.whitespace$0();
47023 next = t1.peekChar$0();
47024 value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
47025 _this.whitespace$0();
47026 next = t1.peekChar$0();
47027 modifier = next != null && A.isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
47028 t1.expectChar$1(93);
47029 return new A.AttributeSelector($name, operator, value, modifier);
47030 },
47031 _attributeName$0() {
47032 var nameOrNamespace, _this = this,
47033 t1 = _this.scanner;
47034 if (t1.scanChar$1(42)) {
47035 t1.expectChar$1(124);
47036 return new A.QualifiedName(_this.identifier$0(), "*");
47037 }
47038 if (t1.scanChar$1(124))
47039 return new A.QualifiedName(_this.identifier$0(), "");
47040 nameOrNamespace = _this.identifier$0();
47041 if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
47042 return new A.QualifiedName(nameOrNamespace, null);
47043 t1.readChar$0();
47044 return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
47045 },
47046 _attributeOperator$0() {
47047 var t1 = this.scanner,
47048 t2 = t1._string_scanner$_position;
47049 switch (t1.readChar$0()) {
47050 case 61:
47051 return B.AttributeOperator_sEs;
47052 case 126:
47053 t1.expectChar$1(61);
47054 return B.AttributeOperator_fz1;
47055 case 124:
47056 t1.expectChar$1(61);
47057 return B.AttributeOperator_AuK;
47058 case 94:
47059 t1.expectChar$1(61);
47060 return B.AttributeOperator_4L5;
47061 case 36:
47062 t1.expectChar$1(61);
47063 return B.AttributeOperator_mOX;
47064 case 42:
47065 t1.expectChar$1(61);
47066 return B.AttributeOperator_gqZ;
47067 default:
47068 t1.error$2$position(0, 'Expected "]".', t2);
47069 }
47070 },
47071 _pseudoSelector$0() {
47072 var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
47073 t1 = _this.scanner;
47074 t1.expectChar$1(58);
47075 element = t1.scanChar$1(58);
47076 $name = _this.identifier$0();
47077 if (!t1.scanChar$1(40))
47078 return A.PseudoSelector$($name, _null, element, _null);
47079 _this.whitespace$0();
47080 unvendored = A.unvendor($name);
47081 if (element)
47082 if ($._selectorPseudoElements.contains$1(0, unvendored)) {
47083 selector = _this._selectorList$0();
47084 argument = _null;
47085 } else {
47086 argument = _this.declarationValue$1$allowEmpty(true);
47087 selector = _null;
47088 }
47089 else if ($._selectorPseudoClasses.contains$1(0, unvendored)) {
47090 selector = _this._selectorList$0();
47091 argument = _null;
47092 } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
47093 argument = _this._aNPlusB$0();
47094 _this.whitespace$0();
47095 t2 = t1.peekChar$1(-1);
47096 if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
47097 _this.expectIdentifier$1("of");
47098 argument += " of";
47099 _this.whitespace$0();
47100 selector = _this._selectorList$0();
47101 } else
47102 selector = _null;
47103 } else {
47104 argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
47105 selector = _null;
47106 }
47107 t1.expectChar$1(41);
47108 return A.PseudoSelector$($name, argument, element, selector);
47109 },
47110 _aNPlusB$0() {
47111 var t2, first, t3, next, last, _this = this,
47112 t1 = _this.scanner;
47113 switch (t1.peekChar$0()) {
47114 case 101:
47115 case 69:
47116 _this.expectIdentifier$1("even");
47117 return "even";
47118 case 111:
47119 case 79:
47120 _this.expectIdentifier$1("odd");
47121 return "odd";
47122 case 43:
47123 case 45:
47124 t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
47125 break;
47126 default:
47127 t2 = "";
47128 }
47129 first = t1.peekChar$0();
47130 if (first != null && A.isDigit(first)) {
47131 while (true) {
47132 t3 = t1.peekChar$0();
47133 if (!(t3 != null && t3 >= 48 && t3 <= 57))
47134 break;
47135 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
47136 }
47137 _this.whitespace$0();
47138 if (!_this.scanIdentChar$1(110))
47139 return t2.charCodeAt(0) == 0 ? t2 : t2;
47140 } else
47141 _this.expectIdentChar$1(110);
47142 t2 += A.Primitives_stringFromCharCode(110);
47143 _this.whitespace$0();
47144 next = t1.peekChar$0();
47145 if (next !== 43 && next !== 45)
47146 return t2.charCodeAt(0) == 0 ? t2 : t2;
47147 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
47148 _this.whitespace$0();
47149 last = t1.peekChar$0();
47150 if (last == null || !A.isDigit(last))
47151 t1.error$1(0, "Expected a number.");
47152 while (true) {
47153 t3 = t1.peekChar$0();
47154 if (!(t3 != null && t3 >= 48 && t3 <= 57))
47155 break;
47156 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
47157 }
47158 return t2.charCodeAt(0) == 0 ? t2 : t2;
47159 },
47160 _typeOrUniversalSelector$0() {
47161 var nameOrNamespace, _this = this,
47162 t1 = _this.scanner,
47163 first = t1.peekChar$0();
47164 if (first === 42) {
47165 t1.readChar$0();
47166 if (!t1.scanChar$1(124))
47167 return new A.UniversalSelector(null);
47168 if (t1.scanChar$1(42))
47169 return new A.UniversalSelector("*");
47170 else
47171 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), "*"));
47172 } else if (first === 124) {
47173 t1.readChar$0();
47174 if (t1.scanChar$1(42))
47175 return new A.UniversalSelector("");
47176 else
47177 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), ""));
47178 }
47179 nameOrNamespace = _this.identifier$0();
47180 if (!t1.scanChar$1(124))
47181 return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null));
47182 else if (t1.scanChar$1(42))
47183 return new A.UniversalSelector(nameOrNamespace);
47184 else
47185 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace));
47186 }
47187 };
47188 A.SelectorParser_parse_closure.prototype = {
47189 call$0() {
47190 var t1 = this.$this,
47191 selector = t1._selectorList$0();
47192 t1 = t1.scanner;
47193 if (t1._string_scanner$_position !== t1.string.length)
47194 t1.error$1(0, "expected selector.");
47195 return selector;
47196 },
47197 $signature: 48
47198 };
47199 A.SelectorParser_parseCompoundSelector_closure.prototype = {
47200 call$0() {
47201 var t1 = this.$this,
47202 compound = t1._compoundSelector$0();
47203 t1 = t1.scanner;
47204 if (t1._string_scanner$_position !== t1.string.length)
47205 t1.error$1(0, "expected selector.");
47206 return compound;
47207 },
47208 $signature: 349
47209 };
47210 A.StylesheetParser.prototype = {
47211 parse$0() {
47212 return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
47213 },
47214 parseArgumentDeclaration$0() {
47215 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure(this), type$.ArgumentDeclaration);
47216 },
47217 parseVariableDeclaration$0() {
47218 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration);
47219 },
47220 parseUseRule$0() {
47221 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule);
47222 },
47223 _parseSingleProduction$1$1(production, $T) {
47224 return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
47225 },
47226 _statement$1$root(root) {
47227 var t2, _this = this,
47228 t1 = _this.scanner;
47229 switch (t1.peekChar$0()) {
47230 case 64:
47231 return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
47232 case 43:
47233 if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
47234 return _this._styleRule$0();
47235 _this._isUseAllowed = false;
47236 t2 = t1._string_scanner$_position;
47237 t1.readChar$0();
47238 return _this._includeRule$1(new A._SpanScannerState(t1, t2));
47239 case 61:
47240 if (!_this.get$indented())
47241 return _this._styleRule$0();
47242 _this._isUseAllowed = false;
47243 t2 = t1._string_scanner$_position;
47244 t1.readChar$0();
47245 _this.whitespace$0();
47246 return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
47247 case 125:
47248 t1.error$2$length(0, 'unmatched "}".', 1);
47249 break;
47250 default:
47251 return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
47252 }
47253 },
47254 _statement$0() {
47255 return this._statement$1$root(false);
47256 },
47257 _variableDeclarationWithNamespace$0() {
47258 var t1 = this.scanner,
47259 t2 = t1._string_scanner$_position,
47260 namespace = this.identifier$0();
47261 t1.expectChar$1(46);
47262 return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
47263 },
47264 variableDeclarationWithoutNamespace$2(namespace, start_) {
47265 var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
47266 precedingComment = _this.lastSilentComment;
47267 _this.lastSilentComment = null;
47268 if (start_ == null) {
47269 t1 = _this.scanner;
47270 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47271 } else
47272 start = start_;
47273 $name = _this.variableName$0();
47274 t1 = namespace != null;
47275 if (t1)
47276 _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
47277 if (_this.get$plainCss())
47278 _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
47279 _this.whitespace$0();
47280 t2 = _this.scanner;
47281 t2.expectChar$1(58);
47282 _this.whitespace$0();
47283 value = _this.expression$0();
47284 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
47285 for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
47286 flag = _this.identifier$0();
47287 if (flag === "default")
47288 guarded = true;
47289 else if (flag === "global") {
47290 if (t1) {
47291 endPosition = t2._string_scanner$_position;
47292 t4 = t2._sourceFile;
47293 t5 = flagStart.position;
47294 t6 = new A._FileSpan(t4, t5, endPosition);
47295 t6._FileSpan$3(t4, t5, endPosition);
47296 A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
47297 }
47298 global = true;
47299 } else {
47300 endPosition = t2._string_scanner$_position;
47301 t4 = t2._sourceFile;
47302 t5 = flagStart.position;
47303 t6 = new A._FileSpan(t4, t5, endPosition);
47304 t6._FileSpan$3(t4, t5, endPosition);
47305 A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
47306 }
47307 _this.whitespace$0();
47308 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
47309 }
47310 _this.expectStatementSeparator$1("variable declaration");
47311 declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
47312 if (global)
47313 _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
47314 return declaration;
47315 },
47316 variableDeclarationWithoutNamespace$0() {
47317 return this.variableDeclarationWithoutNamespace$2(null, null);
47318 },
47319 _variableDeclarationOrStyleRule$0() {
47320 var t1, t2, variableOrInterpolation, t3, _this = this;
47321 if (_this.get$plainCss())
47322 return _this._styleRule$0();
47323 if (_this.get$indented() && _this.scanner.scanChar$1(92))
47324 return _this._styleRule$0();
47325 if (!_this.lookingAtIdentifier$0())
47326 return _this._styleRule$0();
47327 t1 = _this.scanner;
47328 t2 = t1._string_scanner$_position;
47329 variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
47330 if (variableOrInterpolation instanceof A.VariableDeclaration)
47331 return variableOrInterpolation;
47332 else {
47333 t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
47334 t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
47335 return _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
47336 }
47337 },
47338 _declarationOrStyleRule$0() {
47339 var t1, t2, declarationOrBuffer, _this = this;
47340 if (_this.get$plainCss() && _this._inStyleRule && !_this._stylesheet$_inUnknownAtRule)
47341 return _this._propertyOrVariableDeclaration$0();
47342 if (_this.get$indented() && _this.scanner.scanChar$1(92))
47343 return _this._styleRule$0();
47344 t1 = _this.scanner;
47345 t2 = t1._string_scanner$_position;
47346 declarationOrBuffer = _this._declarationOrBuffer$0();
47347 return type$.Statement._is(declarationOrBuffer) ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
47348 },
47349 _declarationOrBuffer$0() {
47350 var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
47351 t2 = _this.scanner,
47352 start = new A._SpanScannerState(t2, t2._string_scanner$_position),
47353 nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
47354 first = t2.peekChar$0();
47355 if (first !== 58)
47356 if (first !== 42)
47357 if (first !== 46)
47358 t3 = first === 35 && t2.peekChar$1(1) !== 123;
47359 else
47360 t3 = true;
47361 else
47362 t3 = true;
47363 else
47364 t3 = true;
47365 if (t3) {
47366 t3 = t2.readChar$0();
47367 nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(t3);
47368 t3 = _this.rawText$1(_this.get$whitespace());
47369 nameBuffer._interpolation_buffer$_text._contents += t3;
47370 startsWithPunctuation = true;
47371 } else
47372 startsWithPunctuation = false;
47373 if (!_this._lookingAtInterpolatedIdentifier$0())
47374 return nameBuffer;
47375 variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
47376 if (variableOrInterpolation instanceof A.VariableDeclaration)
47377 return variableOrInterpolation;
47378 else
47379 nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
47380 _this._isUseAllowed = false;
47381 if (t2.matches$1("/*")) {
47382 t3 = _this.rawText$1(_this.get$loudComment());
47383 nameBuffer._interpolation_buffer$_text._contents += t3;
47384 }
47385 midBuffer = new A.StringBuffer("");
47386 t3 = _this.get$whitespace();
47387 midBuffer._contents += _this.rawText$1(t3);
47388 t4 = t2._string_scanner$_position;
47389 if (!t2.scanChar$1(58)) {
47390 if (midBuffer._contents.length !== 0)
47391 nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(32);
47392 return nameBuffer;
47393 }
47394 midBuffer._contents += A.Primitives_stringFromCharCode(58);
47395 $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
47396 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
47397 t1 = _this._interpolatedDeclarationValue$0();
47398 _this.expectStatementSeparator$1("custom property");
47399 return A.Declaration$($name, new A.StringExpression(t1, false), t2.spanFrom$1(start));
47400 }
47401 if (t2.scanChar$1(58)) {
47402 t1 = nameBuffer;
47403 t2 = t1._interpolation_buffer$_text;
47404 t3 = t2._contents += A.S(midBuffer);
47405 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
47406 return t1;
47407 } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
47408 t1 = nameBuffer;
47409 t1._interpolation_buffer$_text._contents += A.S(midBuffer);
47410 return t1;
47411 }
47412 postColonWhitespace = _this.rawText$1(t3);
47413 if (_this.lookingAtChildren$0())
47414 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure($name));
47415 midBuffer._contents += postColonWhitespace;
47416 couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
47417 beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
47418 t3 = t1.value = null;
47419 try {
47420 t3 = t1.value = _this.expression$0();
47421 if (_this.lookingAtChildren$0()) {
47422 if (couldBeSelector)
47423 _this.expectStatementSeparator$0();
47424 } else if (!_this.atEndOfStatement$0())
47425 _this.expectStatementSeparator$0();
47426 } catch (exception) {
47427 if (type$.FormatException._is(A.unwrapException(exception))) {
47428 if (!couldBeSelector)
47429 throw exception;
47430 t2.set$state(beforeDeclaration);
47431 additional = _this.almostAnyValue$0();
47432 if (!_this.get$indented() && t2.peekChar$0() === 59)
47433 throw exception;
47434 nameBuffer._interpolation_buffer$_text._contents += A.S(midBuffer);
47435 nameBuffer.addInterpolation$1(additional);
47436 return nameBuffer;
47437 } else
47438 throw exception;
47439 }
47440 if (_this.lookingAtChildren$0())
47441 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure0(t1, $name));
47442 else {
47443 _this.expectStatementSeparator$0();
47444 return A.Declaration$($name, t3, t2.spanFrom$1(start));
47445 }
47446 },
47447 _variableDeclarationOrInterpolation$0() {
47448 var t1, start, identifier, t2, buffer, _this = this;
47449 if (!_this.lookingAtIdentifier$0())
47450 return _this.interpolatedIdentifier$0();
47451 t1 = _this.scanner;
47452 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47453 identifier = _this.identifier$0();
47454 if (t1.matches$1(".$")) {
47455 t1.readChar$0();
47456 return _this.variableDeclarationWithoutNamespace$2(identifier, start);
47457 } else {
47458 t2 = new A.StringBuffer("");
47459 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
47460 t2._contents = "" + identifier;
47461 if (_this._lookingAtInterpolatedIdentifierBody$0())
47462 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
47463 return buffer.interpolation$1(t1.spanFrom$1(start));
47464 }
47465 },
47466 _styleRule$2(buffer, start_) {
47467 var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
47468 _this._isUseAllowed = false;
47469 if (start_ == null) {
47470 t2 = _this.scanner;
47471 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
47472 } else
47473 start = start_;
47474 interpolation = t1.interpolation = _this.styleRuleSelector$0();
47475 if (buffer != null) {
47476 buffer.addInterpolation$1(interpolation);
47477 t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
47478 } else
47479 t2 = interpolation;
47480 if (t2.contents.length === 0)
47481 _this.scanner.error$1(0, 'expected "}".');
47482 wasInStyleRule = _this._inStyleRule;
47483 _this._inStyleRule = true;
47484 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
47485 },
47486 _styleRule$0() {
47487 return this._styleRule$2(null, null);
47488 },
47489 _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
47490 var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
47491 _s48_ = string$.Nested,
47492 t1 = {},
47493 t2 = _this.scanner,
47494 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
47495 t1.name = null;
47496 first = t2.peekChar$0();
47497 if (first !== 58)
47498 if (first !== 42)
47499 if (first !== 46)
47500 t3 = first === 35 && t2.peekChar$1(1) !== 123;
47501 else
47502 t3 = true;
47503 else
47504 t3 = true;
47505 else
47506 t3 = true;
47507 if (t3) {
47508 t3 = new A.StringBuffer("");
47509 nameBuffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
47510 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
47511 t3._contents += _this.rawText$1(_this.get$whitespace());
47512 nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
47513 t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
47514 } else if (!_this.get$plainCss()) {
47515 variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
47516 if (variableOrInterpolation instanceof A.VariableDeclaration)
47517 return variableOrInterpolation;
47518 else {
47519 type$.Interpolation._as(variableOrInterpolation);
47520 t1.name = variableOrInterpolation;
47521 }
47522 t3 = variableOrInterpolation;
47523 } else {
47524 $name = _this.interpolatedIdentifier$0();
47525 t1.name = $name;
47526 t3 = $name;
47527 }
47528 _this.whitespace$0();
47529 t2.expectChar$1(58);
47530 if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
47531 t1 = _this._interpolatedDeclarationValue$0();
47532 _this.expectStatementSeparator$1("custom property");
47533 return A.Declaration$(t3, new A.StringExpression(t1, false), t2.spanFrom$1(start));
47534 }
47535 _this.whitespace$0();
47536 if (_this.lookingAtChildren$0()) {
47537 if (_this.get$plainCss())
47538 t2.error$1(0, _s48_);
47539 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure(t1));
47540 }
47541 value = _this.expression$0();
47542 if (_this.lookingAtChildren$0()) {
47543 if (_this.get$plainCss())
47544 t2.error$1(0, _s48_);
47545 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure0(t1, value));
47546 } else {
47547 _this.expectStatementSeparator$0();
47548 return A.Declaration$(t3, value, t2.spanFrom$1(start));
47549 }
47550 },
47551 _propertyOrVariableDeclaration$0() {
47552 return this._propertyOrVariableDeclaration$1$parseCustomProperties(true);
47553 },
47554 _declarationChild$0() {
47555 if (this.scanner.peekChar$0() === 64)
47556 return this._declarationAtRule$0();
47557 return this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
47558 },
47559 atRule$2$root(child, root) {
47560 var $name, wasUseAllowed, value, optional, _this = this,
47561 t1 = _this.scanner,
47562 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47563 t1.expectChar$2$name(64, "@-rule");
47564 $name = _this.interpolatedIdentifier$0();
47565 _this.whitespace$0();
47566 wasUseAllowed = _this._isUseAllowed;
47567 _this._isUseAllowed = false;
47568 switch ($name.get$asPlain()) {
47569 case "at-root":
47570 return _this._atRootRule$1(start);
47571 case "content":
47572 return _this._contentRule$1(start);
47573 case "debug":
47574 return _this._debugRule$1(start);
47575 case "each":
47576 return _this._eachRule$2(start, child);
47577 case "else":
47578 return _this._disallowedAtRule$1(start);
47579 case "error":
47580 return _this._errorRule$1(start);
47581 case "extend":
47582 if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
47583 _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
47584 value = _this.almostAnyValue$0();
47585 optional = t1.scanChar$1(33);
47586 if (optional)
47587 _this.expectIdentifier$1("optional");
47588 _this.expectStatementSeparator$1("@extend rule");
47589 return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
47590 case "for":
47591 return _this._forRule$2(start, child);
47592 case "forward":
47593 _this._isUseAllowed = wasUseAllowed;
47594 if (!root)
47595 _this._disallowedAtRule$1(start);
47596 return _this._forwardRule$1(start);
47597 case "function":
47598 return _this._functionRule$1(start);
47599 case "if":
47600 return _this._ifRule$2(start, child);
47601 case "import":
47602 return _this._importRule$1(start);
47603 case "include":
47604 return _this._includeRule$1(start);
47605 case "media":
47606 return _this.mediaRule$1(start);
47607 case "mixin":
47608 return _this._mixinRule$1(start);
47609 case "-moz-document":
47610 return _this.mozDocumentRule$2(start, $name);
47611 case "return":
47612 return _this._disallowedAtRule$1(start);
47613 case "supports":
47614 return _this.supportsRule$1(start);
47615 case "use":
47616 _this._isUseAllowed = wasUseAllowed;
47617 if (!root)
47618 _this._disallowedAtRule$1(start);
47619 return _this._useRule$1(start);
47620 case "warn":
47621 return _this._warnRule$1(start);
47622 case "while":
47623 return _this._whileRule$2(start, child);
47624 default:
47625 return _this.unknownAtRule$2(start, $name);
47626 }
47627 },
47628 _declarationAtRule$0() {
47629 var _this = this,
47630 t1 = _this.scanner,
47631 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47632 switch (_this._plainAtRuleName$0()) {
47633 case "content":
47634 return _this._contentRule$1(start);
47635 case "debug":
47636 return _this._debugRule$1(start);
47637 case "each":
47638 return _this._eachRule$2(start, _this.get$_declarationChild());
47639 case "else":
47640 return _this._disallowedAtRule$1(start);
47641 case "error":
47642 return _this._errorRule$1(start);
47643 case "for":
47644 return _this._forRule$2(start, _this.get$_declarationChild());
47645 case "if":
47646 return _this._ifRule$2(start, _this.get$_declarationChild());
47647 case "include":
47648 return _this._includeRule$1(start);
47649 case "warn":
47650 return _this._warnRule$1(start);
47651 case "while":
47652 return _this._whileRule$2(start, _this.get$_declarationChild());
47653 default:
47654 return _this._disallowedAtRule$1(start);
47655 }
47656 },
47657 _functionChild$0() {
47658 var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, value, _this = this,
47659 t1 = _this.scanner;
47660 if (t1.peekChar$0() !== 64) {
47661 state = new A._SpanScannerState(t1, t1._string_scanner$_position);
47662 try {
47663 t2 = _this._variableDeclarationWithNamespace$0();
47664 return t2;
47665 } catch (exception) {
47666 t2 = A.unwrapException(exception);
47667 t3 = type$.SourceSpanFormatException;
47668 if (t3._is(t2)) {
47669 variableDeclarationError = t2;
47670 stackTrace = A.getTraceFromException(exception);
47671 t1.set$state(state);
47672 statement = null;
47673 try {
47674 statement = _this._declarationOrStyleRule$0();
47675 } catch (exception) {
47676 if (t3._is(A.unwrapException(exception)))
47677 throw A.wrapException(variableDeclarationError);
47678 else
47679 throw exception;
47680 }
47681 _this.error$3(0, "@function rules may not contain " + (statement instanceof A.StyleRule ? "style rules" : "declarations") + ".", J.get$span$z(statement), stackTrace);
47682 } else
47683 throw exception;
47684 }
47685 }
47686 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47687 switch (_this._plainAtRuleName$0()) {
47688 case "debug":
47689 return _this._debugRule$1(start);
47690 case "each":
47691 return _this._eachRule$2(start, _this.get$_functionChild());
47692 case "else":
47693 return _this._disallowedAtRule$1(start);
47694 case "error":
47695 return _this._errorRule$1(start);
47696 case "for":
47697 return _this._forRule$2(start, _this.get$_functionChild());
47698 case "if":
47699 return _this._ifRule$2(start, _this.get$_functionChild());
47700 case "return":
47701 value = _this.expression$0();
47702 _this.expectStatementSeparator$1("@return rule");
47703 return new A.ReturnRule(value, t1.spanFrom$1(start));
47704 case "warn":
47705 return _this._warnRule$1(start);
47706 case "while":
47707 return _this._whileRule$2(start, _this.get$_functionChild());
47708 default:
47709 return _this._disallowedAtRule$1(start);
47710 }
47711 },
47712 _plainAtRuleName$0() {
47713 this.scanner.expectChar$2$name(64, "@-rule");
47714 var $name = this.identifier$0();
47715 this.whitespace$0();
47716 return $name;
47717 },
47718 _atRootRule$1(start) {
47719 var query, _this = this,
47720 t1 = _this.scanner;
47721 if (t1.peekChar$0() === 40) {
47722 query = _this._atRootQuery$0();
47723 _this.whitespace$0();
47724 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(query));
47725 } else if (_this.lookingAtChildren$0())
47726 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
47727 else
47728 return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
47729 },
47730 _atRootQuery$0() {
47731 var interpolation, t2, t3, t4, buffer, t5, _this = this,
47732 t1 = _this.scanner;
47733 if (t1.peekChar$0() === 35) {
47734 interpolation = _this.singleInterpolation$0();
47735 return A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
47736 }
47737 t2 = t1._string_scanner$_position;
47738 t3 = new A.StringBuffer("");
47739 t4 = A._setArrayType([], type$.JSArray_Object);
47740 buffer = new A.InterpolationBuffer(t3, t4);
47741 t1.expectChar$1(40);
47742 t3._contents += A.Primitives_stringFromCharCode(40);
47743 _this.whitespace$0();
47744 t5 = _this.expression$0();
47745 buffer._flushText$0();
47746 t4.push(t5);
47747 if (t1.scanChar$1(58)) {
47748 _this.whitespace$0();
47749 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
47750 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
47751 t5 = _this.expression$0();
47752 buffer._flushText$0();
47753 t4.push(t5);
47754 }
47755 t1.expectChar$1(41);
47756 _this.whitespace$0();
47757 t3._contents += A.Primitives_stringFromCharCode(41);
47758 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
47759 },
47760 _contentRule$1(start) {
47761 var t1, $arguments, t2, t3, _this = this;
47762 if (!_this._stylesheet$_inMixin)
47763 _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
47764 _this.whitespace$0();
47765 t1 = _this.scanner;
47766 if (t1.peekChar$0() === 40)
47767 $arguments = _this._argumentInvocation$1$mixin(true);
47768 else {
47769 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47770 t3 = t2.offset;
47771 $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
47772 }
47773 _this.expectStatementSeparator$1("@content rule");
47774 return new A.ContentRule($arguments, t1.spanFrom$1(start));
47775 },
47776 _debugRule$1(start) {
47777 var value = this.expression$0();
47778 this.expectStatementSeparator$1("@debug rule");
47779 return new A.DebugRule(value, this.scanner.spanFrom$1(start));
47780 },
47781 _eachRule$2(start, child) {
47782 var variables, t1, _this = this,
47783 wasInControlDirective = _this._inControlDirective;
47784 _this._inControlDirective = true;
47785 variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
47786 _this.whitespace$0();
47787 for (t1 = _this.scanner; t1.scanChar$1(44);) {
47788 _this.whitespace$0();
47789 t1.expectChar$1(36);
47790 variables.push(_this.identifier$1$normalize(true));
47791 _this.whitespace$0();
47792 }
47793 _this.expectIdentifier$1("in");
47794 _this.whitespace$0();
47795 return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this.expression$0()));
47796 },
47797 _errorRule$1(start) {
47798 var value = this.expression$0();
47799 this.expectStatementSeparator$1("@error rule");
47800 return new A.ErrorRule(value, this.scanner.spanFrom$1(start));
47801 },
47802 _functionRule$1(start) {
47803 var $name, $arguments, _this = this,
47804 precedingComment = _this.lastSilentComment;
47805 _this.lastSilentComment = null;
47806 $name = _this.identifier$1$normalize(true);
47807 _this.whitespace$0();
47808 $arguments = _this._argumentDeclaration$0();
47809 if (_this._stylesheet$_inMixin || _this._inContentBlock)
47810 _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
47811 else if (_this._inControlDirective)
47812 _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
47813 switch (A.unvendor($name)) {
47814 case "calc":
47815 case "element":
47816 case "expression":
47817 case "url":
47818 case "and":
47819 case "or":
47820 case "not":
47821 case "clamp":
47822 _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
47823 break;
47824 }
47825 _this.whitespace$0();
47826 return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, $arguments, precedingComment));
47827 },
47828 _forRule$2(start, child) {
47829 var variable, from, _this = this, t1 = {},
47830 wasInControlDirective = _this._inControlDirective;
47831 _this._inControlDirective = true;
47832 variable = _this.variableName$0();
47833 _this.whitespace$0();
47834 _this.expectIdentifier$1("from");
47835 _this.whitespace$0();
47836 t1.exclusive = null;
47837 from = _this.expression$1$until(new A.StylesheetParser__forRule_closure(t1, _this));
47838 if (t1.exclusive == null)
47839 _this.scanner.error$1(0, 'Expected "to" or "through".');
47840 _this.whitespace$0();
47841 return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this.expression$0()));
47842 },
47843 _forwardRule$1(start) {
47844 var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
47845 url = _this._urlString$0();
47846 _this.whitespace$0();
47847 if (_this.scanIdentifier$1("as")) {
47848 _this.whitespace$0();
47849 prefix = _this.identifier$1$normalize(true);
47850 _this.scanner.expectChar$1(42);
47851 _this.whitespace$0();
47852 } else
47853 prefix = _null;
47854 if (_this.scanIdentifier$1("show")) {
47855 members = _this._memberList$0();
47856 shownMixinsAndFunctions = members.item1;
47857 shownVariables = members.item2;
47858 hiddenVariables = _null;
47859 hiddenMixinsAndFunctions = hiddenVariables;
47860 } else {
47861 if (_this.scanIdentifier$1("hide")) {
47862 members = _this._memberList$0();
47863 hiddenMixinsAndFunctions = members.item1;
47864 hiddenVariables = members.item2;
47865 } else {
47866 hiddenVariables = _null;
47867 hiddenMixinsAndFunctions = hiddenVariables;
47868 }
47869 shownVariables = _null;
47870 shownMixinsAndFunctions = shownVariables;
47871 }
47872 configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
47873 _this.expectStatementSeparator$1("@forward rule");
47874 span = _this.scanner.spanFrom$1(start);
47875 if (!_this._isUseAllowed)
47876 _this.error$2(0, string$.x40forwa, span);
47877 if (shownMixinsAndFunctions != null) {
47878 shownVariables.toString;
47879 t1 = type$.String;
47880 t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
47881 t3 = type$.UnmodifiableSetView_String;
47882 t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
47883 t4 = configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
47884 return new A.ForwardRule(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
47885 } else if (hiddenMixinsAndFunctions != null) {
47886 hiddenVariables.toString;
47887 t1 = type$.String;
47888 t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
47889 t3 = type$.UnmodifiableSetView_String;
47890 t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
47891 t4 = configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
47892 return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
47893 } else
47894 return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
47895 },
47896 _memberList$0() {
47897 var _this = this,
47898 t1 = type$.String,
47899 identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
47900 variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
47901 t1 = _this.scanner;
47902 do {
47903 _this.whitespace$0();
47904 _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
47905 _this.whitespace$0();
47906 } while (t1.scanChar$1(44));
47907 return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
47908 },
47909 _ifRule$2(start, child) {
47910 var condition, children, clauses, lastClause, span, _this = this,
47911 ifIndentation = _this.get$currentIndentation(),
47912 wasInControlDirective = _this._inControlDirective;
47913 _this._inControlDirective = true;
47914 condition = _this.expression$0();
47915 children = _this.children$1(0, child);
47916 _this.whitespaceWithoutComments$0();
47917 clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
47918 while (true) {
47919 if (!_this.scanElse$1(ifIndentation)) {
47920 lastClause = null;
47921 break;
47922 }
47923 _this.whitespace$0();
47924 if (_this.scanIdentifier$1("if")) {
47925 _this.whitespace$0();
47926 clauses.push(A.IfClause$(_this.expression$0(), _this.children$1(0, child)));
47927 } else {
47928 lastClause = A.ElseClause$(_this.children$1(0, child));
47929 break;
47930 }
47931 }
47932 _this._inControlDirective = wasInControlDirective;
47933 span = _this.scanner.spanFrom$1(start);
47934 _this.whitespaceWithoutComments$0();
47935 return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
47936 },
47937 _importRule$1(start) {
47938 var argument, _this = this,
47939 imports = A._setArrayType([], type$.JSArray_Import),
47940 t1 = _this.scanner;
47941 do {
47942 _this.whitespace$0();
47943 argument = _this.importArgument$0();
47944 if ((_this._inControlDirective || _this._stylesheet$_inMixin) && argument instanceof A.DynamicImport)
47945 _this._disallowedAtRule$1(start);
47946 imports.push(argument);
47947 _this.whitespace$0();
47948 } while (t1.scanChar$1(44));
47949 _this.expectStatementSeparator$1("@import rule");
47950 t1 = t1.spanFrom$1(start);
47951 return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
47952 },
47953 importArgument$0() {
47954 var url, urlSpan, innerError, stackTrace, queries, t2, t3, t4, exception, _this = this, _null = null,
47955 t1 = _this.scanner,
47956 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
47957 next = t1.peekChar$0();
47958 if (next === 117 || next === 85) {
47959 url = _this.dynamicUrl$0();
47960 _this.whitespace$0();
47961 queries = _this.tryImportQueries$0();
47962 t2 = A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start));
47963 t1 = t1.spanFrom$1(start);
47964 t3 = queries == null;
47965 t4 = t3 ? _null : queries.item1;
47966 return new A.StaticImport(t2, t4, t3 ? _null : queries.item2, t1);
47967 }
47968 url = _this.string$0();
47969 urlSpan = t1.spanFrom$1(start);
47970 _this.whitespace$0();
47971 queries = _this.tryImportQueries$0();
47972 if (_this.isPlainImportUrl$1(url) || queries != null) {
47973 t2 = urlSpan;
47974 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);
47975 t1 = t1.spanFrom$1(start);
47976 t3 = queries == null;
47977 t4 = t3 ? _null : queries.item1;
47978 return new A.StaticImport(t2, t4, t3 ? _null : queries.item2, t1);
47979 } else
47980 try {
47981 t1 = _this.parseImportUrl$1(url);
47982 return new A.DynamicImport(t1, urlSpan);
47983 } catch (exception) {
47984 t1 = A.unwrapException(exception);
47985 if (type$.FormatException._is(t1)) {
47986 innerError = t1;
47987 stackTrace = A.getTraceFromException(exception);
47988 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
47989 } else
47990 throw exception;
47991 }
47992 },
47993 parseImportUrl$1(url) {
47994 var t1 = $.$get$windows();
47995 if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
47996 return t1.toUri$1(url).toString$0(0);
47997 A.Uri_parse(url);
47998 return url;
47999 },
48000 isPlainImportUrl$1(url) {
48001 var first;
48002 if (url.length < 5)
48003 return false;
48004 if (B.JSString_methods.endsWith$1(url, ".css"))
48005 return true;
48006 first = B.JSString_methods._codeUnitAt$1(url, 0);
48007 if (first === 47)
48008 return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
48009 if (first !== 104)
48010 return false;
48011 return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
48012 },
48013 tryImportQueries$0() {
48014 var t1, start, supports, identifier, t2, $arguments, $name, media, _this = this, _null = null;
48015 if (_this.scanIdentifier$1("supports")) {
48016 t1 = _this.scanner;
48017 t1.expectChar$1(40);
48018 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48019 if (_this.scanIdentifier$1("not")) {
48020 _this.whitespace$0();
48021 supports = new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(start));
48022 } else if (t1.peekChar$0() === 40)
48023 supports = _this._supportsCondition$0();
48024 else {
48025 if (_this._lookingAtInterpolatedIdentifier$0()) {
48026 identifier = _this.interpolatedIdentifier$0();
48027 t2 = identifier.get$asPlain();
48028 if ((t2 == null ? _null : t2.toLowerCase()) === "not")
48029 _this.error$2(0, '"not" is not a valid identifier here.', identifier.span);
48030 if (t1.scanChar$1(40)) {
48031 $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
48032 t1.expectChar$1(41);
48033 supports = new A.SupportsFunction(identifier, $arguments, t1.spanFrom$1(start));
48034 } else {
48035 t1.set$state(start);
48036 supports = _null;
48037 }
48038 } else
48039 supports = _null;
48040 if (supports == null) {
48041 $name = _this.expression$0();
48042 t1.expectChar$1(58);
48043 supports = _this._supportsDeclarationValue$2($name, start);
48044 }
48045 }
48046 t1.expectChar$1(41);
48047 _this.whitespace$0();
48048 } else
48049 supports = _null;
48050 media = _this._lookingAtInterpolatedIdentifier$0() || _this.scanner.peekChar$0() === 40 ? _this._mediaQueryList$0() : _null;
48051 if (supports == null && media == null)
48052 return _null;
48053 return new A.Tuple2(supports, media, type$.Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation);
48054 },
48055 _includeRule$1(start) {
48056 var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
48057 $name = _this.identifier$0(),
48058 t1 = _this.scanner;
48059 if (t1.scanChar$1(46)) {
48060 name0 = _this._publicIdentifier$0();
48061 namespace = $name;
48062 $name = name0;
48063 } else {
48064 $name = A.stringReplaceAllUnchecked($name, "_", "-");
48065 namespace = _null;
48066 }
48067 _this.whitespace$0();
48068 if (t1.peekChar$0() === 40)
48069 $arguments = _this._argumentInvocation$1$mixin(true);
48070 else {
48071 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
48072 t3 = t2.offset;
48073 $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
48074 }
48075 _this.whitespace$0();
48076 if (_this.scanIdentifier$1("using")) {
48077 _this.whitespace$0();
48078 contentArguments = _this._argumentDeclaration$0();
48079 _this.whitespace$0();
48080 } else
48081 contentArguments = _null;
48082 t2 = contentArguments == null;
48083 if (!t2 || _this.lookingAtChildren$0()) {
48084 if (t2) {
48085 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
48086 t3 = t2.offset;
48087 contentArguments_ = new A.ArgumentDeclaration(B.List_empty8, _null, A._FileSpan$(t2.file, t3, t3));
48088 } else
48089 contentArguments_ = contentArguments;
48090 wasInContentBlock = _this._inContentBlock;
48091 _this._inContentBlock = true;
48092 $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentArguments_));
48093 _this._inContentBlock = wasInContentBlock;
48094 } else {
48095 _this.expectStatementSeparator$0();
48096 $content = _null;
48097 }
48098 t1 = t1.spanFrom$2(start, start);
48099 t2 = $content == null ? $arguments : $content;
48100 return new A.IncludeRule(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
48101 },
48102 mediaRule$1(start) {
48103 return this._withChildren$3(this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()));
48104 },
48105 _mixinRule$1(start) {
48106 var $name, t1, $arguments, t2, t3, _this = this,
48107 precedingComment = _this.lastSilentComment;
48108 _this.lastSilentComment = null;
48109 $name = _this.identifier$1$normalize(true);
48110 _this.whitespace$0();
48111 t1 = _this.scanner;
48112 if (t1.peekChar$0() === 40)
48113 $arguments = _this._argumentDeclaration$0();
48114 else {
48115 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
48116 t3 = t2.offset;
48117 $arguments = new A.ArgumentDeclaration(B.List_empty8, null, A._FileSpan$(t2.file, t3, t3));
48118 }
48119 if (_this._stylesheet$_inMixin || _this._inContentBlock)
48120 _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
48121 else if (_this._inControlDirective)
48122 _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
48123 _this.whitespace$0();
48124 _this._stylesheet$_inMixin = true;
48125 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, $arguments, precedingComment));
48126 },
48127 mozDocumentRule$2(start, $name) {
48128 var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
48129 t1 = _this.scanner,
48130 t2 = t1._string_scanner$_position,
48131 t3 = new A.StringBuffer(""),
48132 t4 = A._setArrayType([], type$.JSArray_Object),
48133 buffer = new A.InterpolationBuffer(t3, t4);
48134 _box_0.needsDeprecationWarning = false;
48135 for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
48136 if (t1.peekChar$0() === 35) {
48137 t7 = _this.singleInterpolation$0();
48138 buffer._flushText$0();
48139 t4.push(t7);
48140 _box_0.needsDeprecationWarning = true;
48141 } else {
48142 t7 = t1._string_scanner$_position;
48143 identifier = _this.identifier$0();
48144 switch (identifier) {
48145 case "url":
48146 case "url-prefix":
48147 case "domain":
48148 contents = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
48149 if (contents != null)
48150 buffer.addInterpolation$1(contents);
48151 else {
48152 t1.expectChar$1(40);
48153 _this.whitespace$0();
48154 argument = _this.interpolatedString$0();
48155 t1.expectChar$1(41);
48156 t7 = t3._contents += identifier;
48157 t3._contents = t7 + A.Primitives_stringFromCharCode(40);
48158 buffer.addInterpolation$1(argument.asInterpolation$0());
48159 t3._contents += A.Primitives_stringFromCharCode(41);
48160 }
48161 t7 = t3._contents;
48162 trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
48163 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("")'))
48164 _box_0.needsDeprecationWarning = true;
48165 break;
48166 case "regexp":
48167 t3._contents += "regexp(";
48168 t1.expectChar$1(40);
48169 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
48170 t1.expectChar$1(41);
48171 t3._contents += A.Primitives_stringFromCharCode(41);
48172 _box_0.needsDeprecationWarning = true;
48173 break;
48174 default:
48175 endPosition = t1._string_scanner$_position;
48176 t8 = t1._sourceFile;
48177 t9 = new A._FileSpan(t8, t7, endPosition);
48178 t9._FileSpan$3(t8, t7, endPosition);
48179 A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
48180 }
48181 }
48182 _this.whitespace$0();
48183 if (!t1.scanChar$1(44))
48184 break;
48185 t3._contents += A.Primitives_stringFromCharCode(44);
48186 start0 = t1._string_scanner$_position;
48187 t5.call$0();
48188 end = t1._string_scanner$_position;
48189 t3._contents += B.JSString_methods.substring$2(t6, start0, end);
48190 }
48191 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)))));
48192 },
48193 supportsRule$1(start) {
48194 var _this = this,
48195 condition = _this._supportsCondition$0();
48196 _this.whitespace$0();
48197 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
48198 },
48199 _useRule$1(start) {
48200 var namespace, configuration, span, t1, _this = this,
48201 _s9_ = "@use rule",
48202 url = _this._urlString$0();
48203 _this.whitespace$0();
48204 namespace = _this._useNamespace$2(url, start);
48205 _this.whitespace$0();
48206 configuration = _this._stylesheet$_configuration$0();
48207 _this.expectStatementSeparator$1(_s9_);
48208 span = _this.scanner.spanFrom$1(start);
48209 if (!_this._isUseAllowed)
48210 _this.error$2(0, string$.x40use_r, span);
48211 _this.expectStatementSeparator$1(_s9_);
48212 t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
48213 t1.UseRule$4$configuration(url, namespace, span, configuration);
48214 return t1;
48215 },
48216 _useNamespace$2(url, start) {
48217 var namespace, basename, dot, t1, exception, _this = this;
48218 if (_this.scanIdentifier$1("as")) {
48219 _this.whitespace$0();
48220 return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
48221 }
48222 basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
48223 dot = B.JSString_methods.indexOf$1(basename, ".");
48224 t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
48225 namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
48226 try {
48227 t1 = A.SpanScanner$(namespace, null);
48228 t1 = new A.Parser(t1, _this.logger)._parseIdentifier$0();
48229 return t1;
48230 } catch (exception) {
48231 if (A.unwrapException(exception) instanceof A.SassFormatException)
48232 _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
48233 else
48234 throw exception;
48235 }
48236 },
48237 _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
48238 var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
48239 if (!_this.scanIdentifier$1("with"))
48240 return null;
48241 variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
48242 configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
48243 _this.whitespace$0();
48244 t1 = _this.scanner;
48245 t1.expectChar$1(40);
48246 for (t2 = t1.string; true;) {
48247 _this.whitespace$0();
48248 t3 = t1._string_scanner$_position;
48249 t1.expectChar$1(36);
48250 $name = _this.identifier$1$normalize(true);
48251 _this.whitespace$0();
48252 t1.expectChar$1(58);
48253 _this.whitespace$0();
48254 expression = _this._expressionUntilComma$0();
48255 t4 = t1._string_scanner$_position;
48256 if (allowGuarded && t1.scanChar$1(33))
48257 if (_this.identifier$0() === "default") {
48258 _this.whitespace$0();
48259 guarded = true;
48260 } else {
48261 endPosition = t1._string_scanner$_position;
48262 t5 = t1._sourceFile;
48263 t6 = new A._FileSpan(t5, t4, endPosition);
48264 t6._FileSpan$3(t5, t4, endPosition);
48265 A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
48266 guarded = false;
48267 }
48268 else
48269 guarded = false;
48270 endPosition = t1._string_scanner$_position;
48271 t4 = t1._sourceFile;
48272 span = new A._FileSpan(t4, t3, endPosition);
48273 span._FileSpan$3(t4, t3, endPosition);
48274 if (variableNames.contains$1(0, $name))
48275 A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
48276 variableNames.add$1(0, $name);
48277 configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
48278 if (!t1.scanChar$1(44))
48279 break;
48280 _this.whitespace$0();
48281 if (!_this._lookingAtExpression$0())
48282 break;
48283 }
48284 t1.expectChar$1(41);
48285 return configuration;
48286 },
48287 _stylesheet$_configuration$0() {
48288 return this._stylesheet$_configuration$1$allowGuarded(false);
48289 },
48290 _warnRule$1(start) {
48291 var value = this.expression$0();
48292 this.expectStatementSeparator$1("@warn rule");
48293 return new A.WarnRule(value, this.scanner.spanFrom$1(start));
48294 },
48295 _whileRule$2(start, child) {
48296 var _this = this,
48297 wasInControlDirective = _this._inControlDirective;
48298 _this._inControlDirective = true;
48299 return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this.expression$0()));
48300 },
48301 unknownAtRule$2(start, $name) {
48302 var t2, t3, rule, _this = this, t1 = {},
48303 wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
48304 _this._stylesheet$_inUnknownAtRule = true;
48305 t1.value = null;
48306 t2 = _this.scanner;
48307 t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
48308 if (_this.lookingAtChildren$0())
48309 rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
48310 else {
48311 _this.expectStatementSeparator$0();
48312 rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
48313 }
48314 _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
48315 return rule;
48316 },
48317 _disallowedAtRule$1(start) {
48318 this.almostAnyValue$0();
48319 this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
48320 },
48321 _argumentDeclaration$0() {
48322 var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
48323 t1 = _this.scanner,
48324 t2 = t1._string_scanner$_position;
48325 t1.expectChar$1(40);
48326 _this.whitespace$0();
48327 $arguments = A._setArrayType([], type$.JSArray_Argument);
48328 named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
48329 t3 = t1.string;
48330 while (true) {
48331 if (!(t1.peekChar$0() === 36)) {
48332 restArgument = null;
48333 break;
48334 }
48335 t4 = t1._string_scanner$_position;
48336 t1.expectChar$1(36);
48337 $name = _this.identifier$1$normalize(true);
48338 _this.whitespace$0();
48339 if (t1.scanChar$1(58)) {
48340 _this.whitespace$0();
48341 defaultValue = _this._expressionUntilComma$0();
48342 } else {
48343 if (t1.scanChar$1(46)) {
48344 t1.expectChar$1(46);
48345 t1.expectChar$1(46);
48346 _this.whitespace$0();
48347 restArgument = $name;
48348 break;
48349 }
48350 defaultValue = null;
48351 }
48352 endPosition = t1._string_scanner$_position;
48353 t5 = t1._sourceFile;
48354 t6 = new A._FileSpan(t5, t4, endPosition);
48355 t6._FileSpan$3(t5, t4, endPosition);
48356 $arguments.push(new A.Argument($name, defaultValue, t6));
48357 if (!named.add$1(0, $name))
48358 A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
48359 if (!t1.scanChar$1(44)) {
48360 restArgument = null;
48361 break;
48362 }
48363 _this.whitespace$0();
48364 }
48365 t1.expectChar$1(41);
48366 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
48367 return new A.ArgumentDeclaration(A.List_List$unmodifiable($arguments, type$.Argument), restArgument, t1);
48368 },
48369 _argumentInvocation$1$mixin(mixin) {
48370 var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, _this = this,
48371 t1 = _this.scanner,
48372 t2 = t1._string_scanner$_position;
48373 t1.expectChar$1(40);
48374 _this.whitespace$0();
48375 positional = A._setArrayType([], type$.JSArray_Expression);
48376 t3 = type$.String;
48377 t4 = type$.Expression;
48378 named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
48379 t5 = !mixin;
48380 t6 = t1.string;
48381 rest = null;
48382 while (true) {
48383 if (!_this._lookingAtExpression$0()) {
48384 keywordRest = null;
48385 break;
48386 }
48387 expression = _this._expressionUntilComma$1$singleEquals(t5);
48388 _this.whitespace$0();
48389 if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
48390 _this.whitespace$0();
48391 t7 = expression.name;
48392 if (named.containsKey$1(t7))
48393 A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
48394 named.$indexSet(0, t7, _this._expressionUntilComma$1$singleEquals(t5));
48395 } else if (t1.scanChar$1(46)) {
48396 t1.expectChar$1(46);
48397 t1.expectChar$1(46);
48398 if (rest != null) {
48399 _this.whitespace$0();
48400 keywordRest = expression;
48401 break;
48402 }
48403 rest = expression;
48404 } else if (named.get$isNotEmpty(named))
48405 A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
48406 else
48407 positional.push(expression);
48408 _this.whitespace$0();
48409 if (!t1.scanChar$1(44)) {
48410 keywordRest = null;
48411 break;
48412 }
48413 _this.whitespace$0();
48414 }
48415 t1.expectChar$1(41);
48416 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
48417 return new A.ArgumentInvocation(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
48418 },
48419 _argumentInvocation$0() {
48420 return this._argumentInvocation$1$mixin(false);
48421 },
48422 expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
48423 var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
48424 _s20_ = "Expected expression.",
48425 _box_0 = {},
48426 t1 = until != null;
48427 if (t1 && until.call$0())
48428 _this.scanner.error$1(0, _s20_);
48429 if (bracketList) {
48430 t2 = _this.scanner;
48431 beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
48432 t2.expectChar$1(91);
48433 _this.whitespace$0();
48434 if (t2.scanChar$1(93)) {
48435 t1 = A._setArrayType([], type$.JSArray_Expression);
48436 t2 = t2.spanFrom$1(beforeBracket);
48437 return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null, true, t2);
48438 }
48439 } else
48440 beforeBracket = null;
48441 t2 = _this.scanner;
48442 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
48443 wasInParentheses = _this._inParentheses;
48444 _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
48445 _box_0.allowSlash = true;
48446 _box_0.singleExpression_ = _this._singleExpression$0();
48447 resetState = new A.StylesheetParser_expression_resetState(_box_0, _this, start);
48448 resolveOneOperation = new A.StylesheetParser_expression_resolveOneOperation(_box_0, _this);
48449 resolveOperations = new A.StylesheetParser_expression_resolveOperations(_box_0, resolveOneOperation);
48450 addSingleExpression = new A.StylesheetParser_expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
48451 addOperator = new A.StylesheetParser_expression_addOperator(_box_0, _this, resolveOneOperation);
48452 resolveSpaceExpressions = new A.StylesheetParser_expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
48453 $label0$0:
48454 for (t3 = type$.JSArray_Expression; true;) {
48455 _this.whitespace$0();
48456 if (t1 && until.call$0())
48457 break $label0$0;
48458 first = t2.peekChar$0();
48459 switch (first) {
48460 case 40:
48461 addSingleExpression.call$1(_this._parentheses$0());
48462 break;
48463 case 91:
48464 addSingleExpression.call$1(_this.expression$1$bracketList(true));
48465 break;
48466 case 36:
48467 addSingleExpression.call$1(_this._variable$0());
48468 break;
48469 case 38:
48470 addSingleExpression.call$1(_this._selector$0());
48471 break;
48472 case 39:
48473 case 34:
48474 addSingleExpression.call$1(_this.interpolatedString$0());
48475 break;
48476 case 35:
48477 addSingleExpression.call$1(_this._hashExpression$0());
48478 break;
48479 case 61:
48480 t2.readChar$0();
48481 if (singleEquals && t2.peekChar$0() !== 61)
48482 addOperator.call$1(B.BinaryOperator_kjl);
48483 else {
48484 t2.expectChar$1(61);
48485 addOperator.call$1(B.BinaryOperator_YlX);
48486 }
48487 break;
48488 case 33:
48489 next = t2.peekChar$1(1);
48490 if (next === 61) {
48491 t2.readChar$0();
48492 t2.readChar$0();
48493 addOperator.call$1(B.BinaryOperator_i5H);
48494 } else {
48495 if (next != null)
48496 if ((next | 32) >>> 0 !== 105)
48497 t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
48498 else
48499 t4 = true;
48500 else
48501 t4 = true;
48502 if (t4)
48503 addSingleExpression.call$1(_this._importantExpression$0());
48504 else
48505 break $label0$0;
48506 }
48507 break;
48508 case 60:
48509 t2.readChar$0();
48510 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_33h : B.BinaryOperator_8qt);
48511 break;
48512 case 62:
48513 t2.readChar$0();
48514 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_1da : B.BinaryOperator_AcR);
48515 break;
48516 case 42:
48517 t2.readChar$0();
48518 addOperator.call$1(B.BinaryOperator_O1M);
48519 break;
48520 case 43:
48521 if (_box_0.singleExpression_ == null)
48522 addSingleExpression.call$1(_this._unaryOperation$0());
48523 else {
48524 t2.readChar$0();
48525 addOperator.call$1(B.BinaryOperator_AcR0);
48526 }
48527 break;
48528 case 45:
48529 next = t2.peekChar$1(1);
48530 if (next != null && next >= 48 && next <= 57 || next === 46)
48531 if (_box_0.singleExpression_ != null) {
48532 t4 = t2.peekChar$1(-1);
48533 t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
48534 } else
48535 t4 = true;
48536 else
48537 t4 = false;
48538 if (t4)
48539 addSingleExpression.call$1(_this._number$0());
48540 else if (_this._lookingAtInterpolatedIdentifier$0())
48541 addSingleExpression.call$1(_this.identifierLike$0());
48542 else if (_box_0.singleExpression_ == null)
48543 addSingleExpression.call$1(_this._unaryOperation$0());
48544 else {
48545 t2.readChar$0();
48546 addOperator.call$1(B.BinaryOperator_iyO);
48547 }
48548 break;
48549 case 47:
48550 if (_box_0.singleExpression_ == null)
48551 addSingleExpression.call$1(_this._unaryOperation$0());
48552 else {
48553 t2.readChar$0();
48554 addOperator.call$1(B.BinaryOperator_RTB);
48555 }
48556 break;
48557 case 37:
48558 t2.readChar$0();
48559 addOperator.call$1(B.BinaryOperator_2ad);
48560 break;
48561 case 48:
48562 case 49:
48563 case 50:
48564 case 51:
48565 case 52:
48566 case 53:
48567 case 54:
48568 case 55:
48569 case 56:
48570 case 57:
48571 addSingleExpression.call$1(_this._number$0());
48572 break;
48573 case 46:
48574 if (t2.peekChar$1(1) === 46)
48575 break $label0$0;
48576 addSingleExpression.call$1(_this._number$0());
48577 break;
48578 case 97:
48579 if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
48580 addOperator.call$1(B.BinaryOperator_and_and_2);
48581 else
48582 addSingleExpression.call$1(_this.identifierLike$0());
48583 break;
48584 case 111:
48585 if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
48586 addOperator.call$1(B.BinaryOperator_or_or_1);
48587 else
48588 addSingleExpression.call$1(_this.identifierLike$0());
48589 break;
48590 case 117:
48591 case 85:
48592 if (t2.peekChar$1(1) === 43)
48593 addSingleExpression.call$1(_this._unicodeRange$0());
48594 else
48595 addSingleExpression.call$1(_this.identifierLike$0());
48596 break;
48597 case 98:
48598 case 99:
48599 case 100:
48600 case 101:
48601 case 102:
48602 case 103:
48603 case 104:
48604 case 105:
48605 case 106:
48606 case 107:
48607 case 108:
48608 case 109:
48609 case 110:
48610 case 112:
48611 case 113:
48612 case 114:
48613 case 115:
48614 case 116:
48615 case 118:
48616 case 119:
48617 case 120:
48618 case 121:
48619 case 122:
48620 case 65:
48621 case 66:
48622 case 67:
48623 case 68:
48624 case 69:
48625 case 70:
48626 case 71:
48627 case 72:
48628 case 73:
48629 case 74:
48630 case 75:
48631 case 76:
48632 case 77:
48633 case 78:
48634 case 79:
48635 case 80:
48636 case 81:
48637 case 82:
48638 case 83:
48639 case 84:
48640 case 86:
48641 case 87:
48642 case 88:
48643 case 89:
48644 case 90:
48645 case 95:
48646 case 92:
48647 addSingleExpression.call$1(_this.identifierLike$0());
48648 break;
48649 case 44:
48650 if (_this._inParentheses) {
48651 _this._inParentheses = false;
48652 if (_box_0.allowSlash) {
48653 resetState.call$0();
48654 break;
48655 }
48656 }
48657 commaExpressions = _box_0.commaExpressions_;
48658 if (commaExpressions == null)
48659 commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
48660 if (_box_0.singleExpression_ == null)
48661 t2.error$1(0, _s20_);
48662 resolveSpaceExpressions.call$0();
48663 t4 = _box_0.singleExpression_;
48664 t4.toString;
48665 commaExpressions.push(t4);
48666 t2.readChar$0();
48667 _box_0.allowSlash = true;
48668 _box_0.singleExpression_ = null;
48669 break;
48670 default:
48671 if (first != null && first >= 128) {
48672 addSingleExpression.call$1(_this.identifierLike$0());
48673 break;
48674 } else
48675 break $label0$0;
48676 }
48677 }
48678 if (bracketList)
48679 t2.expectChar$1(93);
48680 commaExpressions = _box_0.commaExpressions_;
48681 spaceExpressions = _box_0.spaceExpressions_;
48682 if (commaExpressions != null) {
48683 resolveSpaceExpressions.call$0();
48684 _this._inParentheses = wasInParentheses;
48685 singleExpression = _box_0.singleExpression_;
48686 if (singleExpression != null)
48687 commaExpressions.push(singleExpression);
48688 t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
48689 return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_kWM, bracketList, t1);
48690 } else if (bracketList && spaceExpressions != null) {
48691 resolveOperations.call$0();
48692 t1 = _box_0.singleExpression_;
48693 t1.toString;
48694 spaceExpressions.push(t1);
48695 beforeBracket.toString;
48696 t2 = t2.spanFrom$1(beforeBracket);
48697 return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_woc, true, t2);
48698 } else {
48699 resolveSpaceExpressions.call$0();
48700 if (bracketList) {
48701 t1 = _box_0.singleExpression_;
48702 t1.toString;
48703 t3 = A._setArrayType([t1], t3);
48704 beforeBracket.toString;
48705 t2 = t2.spanFrom$1(beforeBracket);
48706 _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t3, type$.Expression), B.ListSeparator_undecided_null, true, t2);
48707 }
48708 t1 = _box_0.singleExpression_;
48709 t1.toString;
48710 return t1;
48711 }
48712 },
48713 expression$0() {
48714 return this.expression$3$bracketList$singleEquals$until(false, false, null);
48715 },
48716 expression$2$singleEquals$until(singleEquals, until) {
48717 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, until);
48718 },
48719 expression$1$bracketList(bracketList) {
48720 return this.expression$3$bracketList$singleEquals$until(bracketList, false, null);
48721 },
48722 expression$1$singleEquals(singleEquals) {
48723 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, null);
48724 },
48725 expression$1$until(until) {
48726 return this.expression$3$bracketList$singleEquals$until(false, false, until);
48727 },
48728 _expressionUntilComma$1$singleEquals(singleEquals) {
48729 return this.expression$2$singleEquals$until(singleEquals, new A.StylesheetParser__expressionUntilComma_closure(this));
48730 },
48731 _expressionUntilComma$0() {
48732 return this._expressionUntilComma$1$singleEquals(false);
48733 },
48734 _isSlashOperand$1(expression) {
48735 var t1;
48736 if (!(expression instanceof A.NumberExpression))
48737 if (!(expression instanceof A.CalculationExpression))
48738 t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
48739 else
48740 t1 = true;
48741 else
48742 t1 = true;
48743 return t1;
48744 },
48745 _singleExpression$0() {
48746 var next, _this = this,
48747 t1 = _this.scanner,
48748 first = t1.peekChar$0();
48749 switch (first) {
48750 case 40:
48751 return _this._parentheses$0();
48752 case 47:
48753 return _this._unaryOperation$0();
48754 case 46:
48755 return _this._number$0();
48756 case 91:
48757 return _this.expression$1$bracketList(true);
48758 case 36:
48759 return _this._variable$0();
48760 case 38:
48761 return _this._selector$0();
48762 case 39:
48763 case 34:
48764 return _this.interpolatedString$0();
48765 case 35:
48766 return _this._hashExpression$0();
48767 case 43:
48768 next = t1.peekChar$1(1);
48769 return A.isDigit(next) || next === 46 ? _this._number$0() : _this._unaryOperation$0();
48770 case 45:
48771 return _this._minusExpression$0();
48772 case 33:
48773 return _this._importantExpression$0();
48774 case 117:
48775 case 85:
48776 if (t1.peekChar$1(1) === 43)
48777 return _this._unicodeRange$0();
48778 else
48779 return _this.identifierLike$0();
48780 case 48:
48781 case 49:
48782 case 50:
48783 case 51:
48784 case 52:
48785 case 53:
48786 case 54:
48787 case 55:
48788 case 56:
48789 case 57:
48790 return _this._number$0();
48791 case 97:
48792 case 98:
48793 case 99:
48794 case 100:
48795 case 101:
48796 case 102:
48797 case 103:
48798 case 104:
48799 case 105:
48800 case 106:
48801 case 107:
48802 case 108:
48803 case 109:
48804 case 110:
48805 case 111:
48806 case 112:
48807 case 113:
48808 case 114:
48809 case 115:
48810 case 116:
48811 case 118:
48812 case 119:
48813 case 120:
48814 case 121:
48815 case 122:
48816 case 65:
48817 case 66:
48818 case 67:
48819 case 68:
48820 case 69:
48821 case 70:
48822 case 71:
48823 case 72:
48824 case 73:
48825 case 74:
48826 case 75:
48827 case 76:
48828 case 77:
48829 case 78:
48830 case 79:
48831 case 80:
48832 case 81:
48833 case 82:
48834 case 83:
48835 case 84:
48836 case 86:
48837 case 87:
48838 case 88:
48839 case 89:
48840 case 90:
48841 case 95:
48842 case 92:
48843 return _this.identifierLike$0();
48844 default:
48845 if (first != null && first >= 128)
48846 return _this.identifierLike$0();
48847 t1.error$1(0, "Expected expression.");
48848 }
48849 },
48850 _parentheses$0() {
48851 var wasInParentheses, start, first, expressions, t1, t2, _this = this;
48852 if (_this.get$plainCss())
48853 _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
48854 wasInParentheses = _this._inParentheses;
48855 _this._inParentheses = true;
48856 try {
48857 t1 = _this.scanner;
48858 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48859 t1.expectChar$1(40);
48860 _this.whitespace$0();
48861 if (!_this._lookingAtExpression$0()) {
48862 t1.expectChar$1(41);
48863 t2 = A._setArrayType([], type$.JSArray_Expression);
48864 t1 = t1.spanFrom$1(start);
48865 t2 = A.List_List$unmodifiable(t2, type$.Expression);
48866 return new A.ListExpression(t2, B.ListSeparator_undecided_null, false, t1);
48867 }
48868 first = _this._expressionUntilComma$0();
48869 if (t1.scanChar$1(58)) {
48870 _this.whitespace$0();
48871 t1 = _this._stylesheet$_map$2(first, start);
48872 return t1;
48873 }
48874 if (!t1.scanChar$1(44)) {
48875 t1.expectChar$1(41);
48876 t1 = t1.spanFrom$1(start);
48877 return new A.ParenthesizedExpression(first, t1);
48878 }
48879 _this.whitespace$0();
48880 expressions = A._setArrayType([first], type$.JSArray_Expression);
48881 for (; true;) {
48882 if (!_this._lookingAtExpression$0())
48883 break;
48884 J.add$1$ax(expressions, _this._expressionUntilComma$0());
48885 if (!t1.scanChar$1(44))
48886 break;
48887 _this.whitespace$0();
48888 }
48889 t1.expectChar$1(41);
48890 t1 = t1.spanFrom$1(start);
48891 t2 = A.List_List$unmodifiable(expressions, type$.Expression);
48892 return new A.ListExpression(t2, B.ListSeparator_kWM, false, t1);
48893 } finally {
48894 _this._inParentheses = wasInParentheses;
48895 }
48896 },
48897 _stylesheet$_map$2(first, start) {
48898 var t2, key, _this = this,
48899 t1 = type$.Tuple2_Expression_Expression,
48900 pairs = A._setArrayType([new A.Tuple2(first, _this._expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression);
48901 for (t2 = _this.scanner; t2.scanChar$1(44);) {
48902 _this.whitespace$0();
48903 if (!_this._lookingAtExpression$0())
48904 break;
48905 key = _this._expressionUntilComma$0();
48906 t2.expectChar$1(58);
48907 _this.whitespace$0();
48908 pairs.push(new A.Tuple2(key, _this._expressionUntilComma$0(), t1));
48909 }
48910 t2.expectChar$1(41);
48911 t2 = t2.spanFrom$1(start);
48912 return new A.MapExpression(A.List_List$unmodifiable(pairs, t1), t2);
48913 },
48914 _hashExpression$0() {
48915 var start, first, t2, identifier, buffer, _this = this,
48916 t1 = _this.scanner;
48917 if (t1.peekChar$1(1) === 123)
48918 return _this.identifierLike$0();
48919 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48920 t1.expectChar$1(35);
48921 first = t1.peekChar$0();
48922 if (first != null && A.isDigit(first))
48923 return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
48924 t2 = t1._string_scanner$_position;
48925 identifier = _this.interpolatedIdentifier$0();
48926 if (_this._isHexColor$1(identifier)) {
48927 t1.set$state(new A._SpanScannerState(t1, t2));
48928 return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
48929 }
48930 t2 = new A.StringBuffer("");
48931 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48932 t2._contents = "" + A.Primitives_stringFromCharCode(35);
48933 buffer.addInterpolation$1(identifier);
48934 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
48935 },
48936 _hexColorContents$1(start) {
48937 var red, green, blue, alpha, digit4, t2, t3, _this = this,
48938 digit1 = _this._hexDigit$0(),
48939 digit2 = _this._hexDigit$0(),
48940 digit3 = _this._hexDigit$0(),
48941 t1 = _this.scanner;
48942 if (!A.isHex(t1.peekChar$0())) {
48943 red = (digit1 << 4 >>> 0) + digit1;
48944 green = (digit2 << 4 >>> 0) + digit2;
48945 blue = (digit3 << 4 >>> 0) + digit3;
48946 alpha = null;
48947 } else {
48948 digit4 = _this._hexDigit$0();
48949 t2 = digit1 << 4 >>> 0;
48950 t3 = digit3 << 4 >>> 0;
48951 if (!A.isHex(t1.peekChar$0())) {
48952 red = t2 + digit1;
48953 green = (digit2 << 4 >>> 0) + digit2;
48954 blue = t3 + digit3;
48955 alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
48956 } else {
48957 red = t2 + digit2;
48958 green = t3 + digit4;
48959 blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
48960 alpha = A.isHex(t1.peekChar$0()) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
48961 }
48962 }
48963 return A.SassColor$rgbInternal(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
48964 },
48965 _isHexColor$1(interpolation) {
48966 var t1,
48967 plain = interpolation.get$asPlain();
48968 if (plain == null)
48969 return false;
48970 t1 = plain.length;
48971 if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
48972 return false;
48973 t1 = new A.CodeUnits(plain);
48974 return t1.every$1(t1, A.character__isHex$closure());
48975 },
48976 _hexDigit$0() {
48977 var t1 = this.scanner,
48978 char = t1.peekChar$0();
48979 if (char == null || !A.isHex(char))
48980 t1.error$1(0, "Expected hex digit.");
48981 return A.asHex(t1.readChar$0());
48982 },
48983 _minusExpression$0() {
48984 var _this = this,
48985 next = _this.scanner.peekChar$1(1);
48986 if (A.isDigit(next) || next === 46)
48987 return _this._number$0();
48988 if (_this._lookingAtInterpolatedIdentifier$0())
48989 return _this.identifierLike$0();
48990 return _this._unaryOperation$0();
48991 },
48992 _importantExpression$0() {
48993 var t1 = this.scanner,
48994 t2 = t1._string_scanner$_position;
48995 t1.readChar$0();
48996 this.whitespace$0();
48997 this.expectIdentifier$1("important");
48998 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
48999 return new A.StringExpression(A.Interpolation$(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
49000 },
49001 _unaryOperation$0() {
49002 var _this = this,
49003 t1 = _this.scanner,
49004 t2 = t1._string_scanner$_position,
49005 operator = _this._unaryOperatorFor$1(t1.readChar$0());
49006 if (operator == null)
49007 t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
49008 else if (_this.get$plainCss() && operator !== B.UnaryOperator_zDx)
49009 t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
49010 _this.whitespace$0();
49011 return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49012 },
49013 _unaryOperatorFor$1(character) {
49014 switch (character) {
49015 case 43:
49016 return B.UnaryOperator_j2w;
49017 case 45:
49018 return B.UnaryOperator_U4G;
49019 case 47:
49020 return B.UnaryOperator_zDx;
49021 default:
49022 return null;
49023 }
49024 },
49025 _number$0() {
49026 var number, t4, unit, t5, _this = this,
49027 t1 = _this.scanner,
49028 t2 = t1._string_scanner$_position,
49029 first = t1.peekChar$0(),
49030 t3 = first === 45,
49031 sign = t3 ? -1 : 1;
49032 if (first === 43 || t3)
49033 t1.readChar$0();
49034 number = t1.peekChar$0() === 46 ? 0 : _this.naturalNumber$0();
49035 t3 = _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
49036 t4 = _this._tryExponent$0();
49037 if (t1.scanChar$1(37))
49038 unit = "%";
49039 else {
49040 if (_this.lookingAtIdentifier$0())
49041 t5 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
49042 else
49043 t5 = false;
49044 unit = t5 ? _this.identifier$1$unit(true) : null;
49045 }
49046 return new A.NumberExpression(sign * ((number + t3) * t4), unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49047 },
49048 _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
49049 var t2,
49050 t1 = this.scanner,
49051 start = t1._string_scanner$_position;
49052 if (t1.peekChar$0() !== 46)
49053 return 0;
49054 if (!A.isDigit(t1.peekChar$1(1))) {
49055 if (allowTrailingDot)
49056 return 0;
49057 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
49058 }
49059 t1.readChar$0();
49060 while (true) {
49061 t2 = t1.peekChar$0();
49062 if (!(t2 != null && t2 >= 48 && t2 <= 57))
49063 break;
49064 t1.readChar$0();
49065 }
49066 return A.double_parse(t1.substring$1(0, start));
49067 },
49068 _tryExponent$0() {
49069 var next, t2, exponentSign, exponent,
49070 t1 = this.scanner,
49071 first = t1.peekChar$0();
49072 if (first !== 101 && first !== 69)
49073 return 1;
49074 next = t1.peekChar$1(1);
49075 if (!A.isDigit(next) && next !== 45 && next !== 43)
49076 return 1;
49077 t1.readChar$0();
49078 t2 = next === 45;
49079 exponentSign = t2 ? -1 : 1;
49080 if (next === 43 || t2)
49081 t1.readChar$0();
49082 if (!A.isDigit(t1.peekChar$0()))
49083 t1.error$1(0, "Expected digit.");
49084 exponent = 0;
49085 while (true) {
49086 t2 = t1.peekChar$0();
49087 if (!(t2 != null && t2 >= 48 && t2 <= 57))
49088 break;
49089 exponent = exponent * 10 + (t1.readChar$0() - 48);
49090 }
49091 return Math.pow(10, exponentSign * exponent);
49092 },
49093 _unicodeRange$0() {
49094 var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
49095 _s26_ = "Expected at most 6 digits.",
49096 t1 = _this.scanner,
49097 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49098 _this.expectIdentChar$1(117);
49099 t1.expectChar$1(43);
49100 for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
49101 ++firstRangeLength;
49102 for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
49103 ++firstRangeLength;
49104 if (firstRangeLength === 0)
49105 t1.error$1(0, 'Expected hex digit or "?".');
49106 else if (firstRangeLength > 6)
49107 _this.error$2(0, _s26_, t1.spanFrom$1(start));
49108 else if (hasQuestionMark) {
49109 t2 = t1.substring$1(0, start.position);
49110 t1 = t1.spanFrom$1(start);
49111 return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
49112 }
49113 if (t1.scanChar$1(45)) {
49114 t2 = t1._string_scanner$_position;
49115 for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
49116 ++secondRangeLength;
49117 if (secondRangeLength === 0)
49118 t1.error$1(0, "Expected hex digit.");
49119 else if (secondRangeLength > 6)
49120 _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49121 }
49122 if (_this._lookingAtInterpolatedIdentifierBody$0())
49123 t1.error$1(0, "Expected end of identifier.");
49124 t2 = t1.substring$1(0, start.position);
49125 t1 = t1.spanFrom$1(start);
49126 return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
49127 },
49128 _variable$0() {
49129 var _this = this,
49130 t1 = _this.scanner,
49131 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
49132 $name = _this.variableName$0();
49133 if (_this.get$plainCss())
49134 _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
49135 return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
49136 },
49137 _selector$0() {
49138 var t1, start, _this = this;
49139 if (_this.get$plainCss())
49140 _this.scanner.error$2$length(0, string$.The_pa, 1);
49141 t1 = _this.scanner;
49142 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49143 t1.expectChar$1(38);
49144 if (t1.scanChar$1(38)) {
49145 _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
49146 t1.set$position(t1._string_scanner$_position - 1);
49147 }
49148 return new A.SelectorExpression(t1.spanFrom$1(start));
49149 },
49150 interpolatedString$0() {
49151 var t3, t4, buffer, next, second, t5,
49152 t1 = this.scanner,
49153 t2 = t1._string_scanner$_position,
49154 quote = t1.readChar$0();
49155 if (quote !== 39 && quote !== 34)
49156 t1.error$2$position(0, "Expected string.", t2);
49157 t3 = new A.StringBuffer("");
49158 t4 = A._setArrayType([], type$.JSArray_Object);
49159 buffer = new A.InterpolationBuffer(t3, t4);
49160 for (; true;) {
49161 next = t1.peekChar$0();
49162 if (next === quote) {
49163 t1.readChar$0();
49164 break;
49165 } else if (next == null || next === 10 || next === 13 || next === 12)
49166 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
49167 else if (next === 92) {
49168 second = t1.peekChar$1(1);
49169 if (second === 10 || second === 13 || second === 12) {
49170 t1.readChar$0();
49171 t1.readChar$0();
49172 if (second === 13)
49173 t1.scanChar$1(10);
49174 } else
49175 t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
49176 } else if (next === 35)
49177 if (t1.peekChar$1(1) === 123) {
49178 t5 = this.singleInterpolation$0();
49179 buffer._flushText$0();
49180 t4.push(t5);
49181 } else
49182 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49183 else
49184 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49185 }
49186 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
49187 },
49188 identifierLike$0() {
49189 var invocation, lower, color, specialFunction, _this = this,
49190 t1 = _this.scanner,
49191 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
49192 identifier = _this.interpolatedIdentifier$0(),
49193 plain = identifier.get$asPlain(),
49194 t2 = plain == null,
49195 t3 = !t2;
49196 if (t3) {
49197 if (plain === "if" && t1.peekChar$0() === 40) {
49198 invocation = _this._argumentInvocation$0();
49199 return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
49200 } else if (plain === "not") {
49201 _this.whitespace$0();
49202 return new A.UnaryOperationExpression(B.UnaryOperator_not_not, _this._singleExpression$0(), identifier.span);
49203 }
49204 lower = plain.toLowerCase();
49205 if (t1.peekChar$0() !== 40) {
49206 switch (plain) {
49207 case "false":
49208 return new A.BooleanExpression(false, identifier.span);
49209 case "null":
49210 return new A.NullExpression(identifier.span);
49211 case "true":
49212 return new A.BooleanExpression(true, identifier.span);
49213 }
49214 color = $.$get$colorsByName().$index(0, lower);
49215 if (color != null) {
49216 t1 = identifier.span;
49217 return new A.ColorExpression(A.SassColor$rgbInternal(color.get$red(color), color.get$green(color), color.get$blue(color), color._alpha, new A.SpanColorFormat(t1)), t1);
49218 }
49219 }
49220 specialFunction = _this.trySpecialFunction$2(lower, start);
49221 if (specialFunction != null)
49222 return specialFunction;
49223 }
49224 switch (t1.peekChar$0()) {
49225 case 46:
49226 if (t1.peekChar$1(1) === 46)
49227 return new A.StringExpression(identifier, false);
49228 t1.readChar$0();
49229 if (t3)
49230 return _this.namespacedExpression$2(plain, start);
49231 _this.error$2(0, string$.Interpn, identifier.span);
49232 break;
49233 case 40:
49234 if (t2)
49235 return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
49236 else
49237 return new A.FunctionExpression(null, plain, _this._argumentInvocation$0(), t1.spanFrom$1(start));
49238 default:
49239 return new A.StringExpression(identifier, false);
49240 }
49241 },
49242 namespacedExpression$2(namespace, start) {
49243 var $name, _this = this,
49244 t1 = _this.scanner;
49245 if (t1.peekChar$0() === 36) {
49246 $name = _this.variableName$0();
49247 _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
49248 return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
49249 }
49250 return new A.FunctionExpression(namespace, _this._publicIdentifier$0(), _this._argumentInvocation$0(), t1.spanFrom$1(start));
49251 },
49252 trySpecialFunction$2($name, start) {
49253 var t2, buffer, t3, next, _this = this, _null = null,
49254 t1 = _this.scanner,
49255 calculation = t1.peekChar$0() === 40 ? _this._tryCalculation$2($name, start) : _null;
49256 if (calculation != null)
49257 return calculation;
49258 switch (A.unvendor($name)) {
49259 case "calc":
49260 case "element":
49261 case "expression":
49262 if (!t1.scanChar$1(40))
49263 return _null;
49264 t2 = new A.StringBuffer("");
49265 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
49266 t3 = "" + $name;
49267 t2._contents = t3;
49268 t2._contents = t3 + A.Primitives_stringFromCharCode(40);
49269 break;
49270 case "progid":
49271 if (!t1.scanChar$1(58))
49272 return _null;
49273 t2 = new A.StringBuffer("");
49274 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
49275 t3 = "" + $name;
49276 t2._contents = t3;
49277 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
49278 next = t1.peekChar$0();
49279 while (true) {
49280 if (next != null) {
49281 if (!(next >= 97 && next <= 122))
49282 t3 = next >= 65 && next <= 90;
49283 else
49284 t3 = true;
49285 t3 = t3 || next === 46;
49286 } else
49287 t3 = false;
49288 if (!t3)
49289 break;
49290 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49291 next = t1.peekChar$0();
49292 }
49293 t1.expectChar$1(40);
49294 t2._contents += A.Primitives_stringFromCharCode(40);
49295 break;
49296 case "url":
49297 return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
49298 default:
49299 return _null;
49300 }
49301 buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
49302 t1.expectChar$1(41);
49303 buffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(41);
49304 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
49305 },
49306 _tryCalculation$2($name, start) {
49307 var beforeArguments, $arguments, t1, exception, t2, _this = this;
49308 switch ($name) {
49309 case "calc":
49310 $arguments = _this._calculationArguments$1(1);
49311 t1 = _this.scanner.spanFrom$1(start);
49312 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
49313 case "min":
49314 case "max":
49315 t1 = _this.scanner;
49316 beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
49317 $arguments = null;
49318 try {
49319 $arguments = _this._calculationArguments$0();
49320 } catch (exception) {
49321 if (type$.FormatException._is(A.unwrapException(exception))) {
49322 t1.set$state(beforeArguments);
49323 return null;
49324 } else
49325 throw exception;
49326 }
49327 t2 = $arguments;
49328 t1 = t1.spanFrom$1(start);
49329 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments(t2), t1);
49330 case "clamp":
49331 $arguments = _this._calculationArguments$1(3);
49332 t1 = _this.scanner.spanFrom$1(start);
49333 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
49334 default:
49335 return null;
49336 }
49337 },
49338 _calculationArguments$1(maxArgs) {
49339 var interpolation, $arguments, t2, _this = this,
49340 t1 = _this.scanner;
49341 t1.expectChar$1(40);
49342 interpolation = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
49343 if (interpolation != null) {
49344 t1.expectChar$1(41);
49345 return A._setArrayType([interpolation], type$.JSArray_Expression);
49346 }
49347 _this.whitespace$0();
49348 $arguments = A._setArrayType([_this._calculationSum$0()], type$.JSArray_Expression);
49349 t2 = maxArgs != null;
49350 while (true) {
49351 if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
49352 break;
49353 _this.whitespace$0();
49354 $arguments.push(_this._calculationSum$0());
49355 }
49356 t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
49357 return $arguments;
49358 },
49359 _calculationArguments$0() {
49360 return this._calculationArguments$1(null);
49361 },
49362 _calculationSum$0() {
49363 var t1, next, t2, t3, _this = this,
49364 sum = _this._calculationProduct$0();
49365 for (t1 = _this.scanner; true;) {
49366 next = t1.peekChar$0();
49367 t2 = next === 43;
49368 if (t2 || next === 45) {
49369 t3 = t1.peekChar$1(-1);
49370 if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
49371 t3 = t1.peekChar$1(1);
49372 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
49373 } else
49374 t3 = true;
49375 if (t3)
49376 t1.error$1(0, string$.x22x2b__an);
49377 t1.readChar$0();
49378 _this.whitespace$0();
49379 t2 = t2 ? B.BinaryOperator_AcR0 : B.BinaryOperator_iyO;
49380 sum = new A.BinaryOperationExpression(t2, sum, _this._calculationProduct$0(), false);
49381 } else
49382 return sum;
49383 }
49384 },
49385 _calculationProduct$0() {
49386 var t1, next, t2, _this = this,
49387 product = _this._calculationValue$0();
49388 for (t1 = _this.scanner; true;) {
49389 _this.whitespace$0();
49390 next = t1.peekChar$0();
49391 t2 = next === 42;
49392 if (t2 || next === 47) {
49393 t1.readChar$0();
49394 _this.whitespace$0();
49395 t2 = t2 ? B.BinaryOperator_O1M : B.BinaryOperator_RTB;
49396 product = new A.BinaryOperationExpression(t2, product, _this._calculationValue$0(), false);
49397 } else
49398 return product;
49399 }
49400 },
49401 _calculationValue$0() {
49402 var t2, value, start, ident, lowerCase, calculation, _this = this,
49403 t1 = _this.scanner,
49404 next = t1.peekChar$0();
49405 if (next === 43 || next === 45 || next === 46 || A.isDigit(next))
49406 return _this._number$0();
49407 else if (next === 36)
49408 return _this._variable$0();
49409 else if (next === 40) {
49410 t2 = t1._string_scanner$_position;
49411 t1.readChar$0();
49412 value = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
49413 if (value == null) {
49414 _this.whitespace$0();
49415 value = _this._calculationSum$0();
49416 }
49417 _this.whitespace$0();
49418 t1.expectChar$1(41);
49419 return new A.ParenthesizedExpression(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49420 } else if (!_this.lookingAtIdentifier$0())
49421 t1.error$1(0, string$.Expectn);
49422 else {
49423 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49424 ident = _this.identifier$0();
49425 if (t1.scanChar$1(46))
49426 return _this.namespacedExpression$2(ident, start);
49427 if (t1.peekChar$0() !== 40)
49428 t1.error$1(0, 'Expected "(" or ".".');
49429 lowerCase = ident.toLowerCase();
49430 calculation = _this._tryCalculation$2(lowerCase, start);
49431 if (calculation != null)
49432 return calculation;
49433 else if (lowerCase === "if")
49434 return new A.IfExpression(_this._argumentInvocation$0(), t1.spanFrom$1(start));
49435 else
49436 return new A.FunctionExpression(null, ident, _this._argumentInvocation$0(), t1.spanFrom$1(start));
49437 }
49438 },
49439 _containsCalculationInterpolation$0() {
49440 var t2, parens, next, target, t3, _null = null,
49441 _s64_ = string$.The_gi,
49442 _s17_ = "Invalid position ",
49443 brackets = A._setArrayType([], type$.JSArray_int),
49444 t1 = this.scanner,
49445 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49446 for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
49447 next = t1.peekChar$0();
49448 switch (next) {
49449 case 92:
49450 target = 1;
49451 break;
49452 case 47:
49453 target = 2;
49454 break;
49455 case 39:
49456 case 34:
49457 target = 3;
49458 break;
49459 case 35:
49460 target = 4;
49461 break;
49462 case 40:
49463 target = 5;
49464 break;
49465 case 123:
49466 case 91:
49467 target = 6;
49468 break;
49469 case 41:
49470 target = 7;
49471 break;
49472 case 125:
49473 case 93:
49474 target = 8;
49475 break;
49476 default:
49477 target = 9;
49478 break;
49479 }
49480 c$0:
49481 for (; true;)
49482 switch (target) {
49483 case 1:
49484 t1.readChar$0();
49485 t1.readChar$0();
49486 break c$0;
49487 case 2:
49488 if (!this.scanComment$0())
49489 t1.readChar$0();
49490 break c$0;
49491 case 3:
49492 this.interpolatedString$0();
49493 break c$0;
49494 case 4:
49495 if (parens === 0 && t1.peekChar$1(1) === 123) {
49496 if (start._scanner !== t1)
49497 A.throwExpression(A.ArgumentError$(_s64_, _null));
49498 t3 = start.position;
49499 if (t3 < 0 || t3 > t2)
49500 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
49501 t1._string_scanner$_position = t3;
49502 t1._lastMatch = null;
49503 return true;
49504 }
49505 t1.readChar$0();
49506 break c$0;
49507 case 5:
49508 ++parens;
49509 target = 6;
49510 continue c$0;
49511 case 6:
49512 next.toString;
49513 brackets.push(A.opposite(next));
49514 t1.readChar$0();
49515 break c$0;
49516 case 7:
49517 --parens;
49518 target = 8;
49519 continue c$0;
49520 case 8:
49521 if (brackets.length === 0 || brackets.pop() !== next) {
49522 if (start._scanner !== t1)
49523 A.throwExpression(A.ArgumentError$(_s64_, _null));
49524 t3 = start.position;
49525 if (t3 < 0 || t3 > t2)
49526 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
49527 t1._string_scanner$_position = t3;
49528 t1._lastMatch = null;
49529 return false;
49530 }
49531 t1.readChar$0();
49532 break c$0;
49533 case 9:
49534 t1.readChar$0();
49535 break c$0;
49536 }
49537 }
49538 t1.set$state(start);
49539 return false;
49540 },
49541 _tryUrlContents$2$name(start, $name) {
49542 var t3, t4, buffer, t5, next, endPosition, result, _this = this,
49543 t1 = _this.scanner,
49544 t2 = t1._string_scanner$_position;
49545 if (!t1.scanChar$1(40))
49546 return null;
49547 _this.whitespaceWithoutComments$0();
49548 t3 = new A.StringBuffer("");
49549 t4 = A._setArrayType([], type$.JSArray_Object);
49550 buffer = new A.InterpolationBuffer(t3, t4);
49551 t5 = "" + ($name == null ? "url" : $name);
49552 t3._contents = t5;
49553 t3._contents = t5 + A.Primitives_stringFromCharCode(40);
49554 for (; true;) {
49555 next = t1.peekChar$0();
49556 if (next == null)
49557 break;
49558 else if (next === 92)
49559 t3._contents += A.S(_this.escape$0());
49560 else {
49561 if (next !== 33)
49562 if (next !== 37)
49563 if (next !== 38)
49564 t5 = next >= 42 && next <= 126 || next >= 128;
49565 else
49566 t5 = true;
49567 else
49568 t5 = true;
49569 else
49570 t5 = true;
49571 if (t5)
49572 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49573 else if (next === 35)
49574 if (t1.peekChar$1(1) === 123) {
49575 t5 = _this.singleInterpolation$0();
49576 buffer._flushText$0();
49577 t4.push(t5);
49578 } else
49579 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49580 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
49581 _this.whitespaceWithoutComments$0();
49582 if (t1.peekChar$0() !== 41)
49583 break;
49584 } else if (next === 41) {
49585 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49586 endPosition = t1._string_scanner$_position;
49587 t2 = t1._sourceFile;
49588 t5 = start.position;
49589 t1 = new A._FileSpan(t2, t5, endPosition);
49590 t1._FileSpan$3(t2, t5, endPosition);
49591 t5 = type$.Object;
49592 t2 = A.List_List$of(t4, true, t5);
49593 t4 = t3._contents;
49594 if (t4.length !== 0)
49595 t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
49596 result = A.List_List$from(t2, false, t5);
49597 result.fixed$length = Array;
49598 result.immutable$list = Array;
49599 t3 = new A.Interpolation(result, t1);
49600 t3.Interpolation$2(t2, t1);
49601 return t3;
49602 } else
49603 break;
49604 }
49605 }
49606 t1.set$state(new A._SpanScannerState(t1, t2));
49607 return null;
49608 },
49609 _tryUrlContents$1(start) {
49610 return this._tryUrlContents$2$name(start, null);
49611 },
49612 dynamicUrl$0() {
49613 var contents, _this = this,
49614 t1 = _this.scanner,
49615 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49616 _this.expectIdentifier$1("url");
49617 contents = _this._tryUrlContents$1(start);
49618 if (contents != null)
49619 return new A.StringExpression(contents, false);
49620 return new A.InterpolatedFunctionExpression(A.Interpolation$(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._argumentInvocation$0(), t1.spanFrom$1(start));
49621 },
49622 almostAnyValue$1$omitComments(omitComments) {
49623 var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
49624 t1 = _this.scanner,
49625 t2 = t1._string_scanner$_position,
49626 t3 = new A.StringBuffer(""),
49627 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
49628 $label0$1:
49629 for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
49630 next = t1.peekChar$0();
49631 switch (next) {
49632 case 92:
49633 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49634 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49635 break;
49636 case 34:
49637 case 39:
49638 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
49639 break;
49640 case 47:
49641 commentStart = t1._string_scanner$_position;
49642 if (_this.scanComment$0()) {
49643 if (t6) {
49644 end = t1._string_scanner$_position;
49645 t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
49646 }
49647 } else
49648 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49649 break;
49650 case 35:
49651 if (t1.peekChar$1(1) === 123)
49652 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49653 else
49654 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49655 break;
49656 case 13:
49657 case 10:
49658 case 12:
49659 if (_this.get$indented())
49660 break $label0$1;
49661 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49662 break;
49663 case 33:
49664 case 59:
49665 case 123:
49666 case 125:
49667 break $label0$1;
49668 case 117:
49669 case 85:
49670 t7 = t1._string_scanner$_position;
49671 if (!_this.scanIdentifier$1("url")) {
49672 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49673 break;
49674 }
49675 contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t7));
49676 if (contents == null) {
49677 if (t7 < 0 || t7 > t5)
49678 A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
49679 t1._string_scanner$_position = t7;
49680 t1._lastMatch = null;
49681 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49682 } else
49683 buffer.addInterpolation$1(contents);
49684 break;
49685 default:
49686 if (next == null)
49687 break $label0$1;
49688 if (_this.lookingAtIdentifier$0())
49689 t3._contents += _this.identifier$0();
49690 else
49691 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49692 break;
49693 }
49694 }
49695 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49696 },
49697 almostAnyValue$0() {
49698 return this.almostAnyValue$1$omitComments(false);
49699 },
49700 _interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
49701 var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
49702 t1 = _this.scanner,
49703 t2 = t1._string_scanner$_position,
49704 t3 = new A.StringBuffer(""),
49705 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object)),
49706 brackets = A._setArrayType([], type$.JSArray_int);
49707 $label0$1:
49708 for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
49709 next = t1.peekChar$0();
49710 switch (next) {
49711 case 92:
49712 t3._contents += A.S(_this.escape$1$identifierStart(true));
49713 wroteNewline = false;
49714 break;
49715 case 34:
49716 case 39:
49717 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
49718 wroteNewline = false;
49719 break;
49720 case 47:
49721 if (t1.peekChar$1(1) === 42) {
49722 t8 = _this.get$loudComment();
49723 start = t1._string_scanner$_position;
49724 t8.call$0();
49725 end = t1._string_scanner$_position;
49726 t3._contents += B.JSString_methods.substring$2(t4, start, end);
49727 } else
49728 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49729 wroteNewline = false;
49730 break;
49731 case 35:
49732 if (t1.peekChar$1(1) === 123)
49733 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49734 else
49735 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49736 wroteNewline = false;
49737 break;
49738 case 32:
49739 case 9:
49740 if (!wroteNewline) {
49741 t8 = t1.peekChar$1(1);
49742 t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
49743 } else
49744 t8 = true;
49745 if (t8)
49746 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49747 else
49748 t1.readChar$0();
49749 break;
49750 case 10:
49751 case 13:
49752 case 12:
49753 if (_this.get$indented())
49754 break $label0$1;
49755 t8 = t1.peekChar$1(-1);
49756 if (!(t8 === 10 || t8 === 13 || t8 === 12))
49757 t3._contents += "\n";
49758 t1.readChar$0();
49759 wroteNewline = true;
49760 break;
49761 case 40:
49762 case 123:
49763 case 91:
49764 next.toString;
49765 t3._contents += A.Primitives_stringFromCharCode(next);
49766 brackets.push(A.opposite(t1.readChar$0()));
49767 wroteNewline = false;
49768 break;
49769 case 41:
49770 case 125:
49771 case 93:
49772 if (brackets.length === 0)
49773 break $label0$1;
49774 next.toString;
49775 t3._contents += A.Primitives_stringFromCharCode(next);
49776 t1.expectChar$1(brackets.pop());
49777 wroteNewline = false;
49778 break;
49779 case 59:
49780 if (t7 && brackets.length === 0)
49781 break $label0$1;
49782 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49783 wroteNewline = false;
49784 break;
49785 case 58:
49786 if (t6 && brackets.length === 0)
49787 break $label0$1;
49788 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49789 wroteNewline = false;
49790 break;
49791 case 117:
49792 case 85:
49793 t8 = t1._string_scanner$_position;
49794 if (!_this.scanIdentifier$1("url")) {
49795 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49796 wroteNewline = false;
49797 break;
49798 }
49799 contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t8));
49800 if (contents == null) {
49801 if (t8 < 0 || t8 > t5)
49802 A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
49803 t1._string_scanner$_position = t8;
49804 t1._lastMatch = null;
49805 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49806 } else
49807 buffer.addInterpolation$1(contents);
49808 wroteNewline = false;
49809 break;
49810 default:
49811 if (next == null)
49812 break $label0$1;
49813 if (_this.lookingAtIdentifier$0())
49814 t3._contents += _this.identifier$0();
49815 else
49816 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49817 wroteNewline = false;
49818 break;
49819 }
49820 }
49821 if (brackets.length !== 0)
49822 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
49823 if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
49824 t1.error$1(0, "Expected token.");
49825 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49826 },
49827 _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
49828 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
49829 },
49830 _interpolatedDeclarationValue$0() {
49831 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
49832 },
49833 _interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
49834 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
49835 },
49836 interpolatedIdentifier$0() {
49837 var first, _this = this,
49838 _s20_ = "Expected identifier.",
49839 t1 = _this.scanner,
49840 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
49841 t2 = new A.StringBuffer(""),
49842 t3 = A._setArrayType([], type$.JSArray_Object),
49843 buffer = new A.InterpolationBuffer(t2, t3);
49844 if (t1.scanChar$1(45)) {
49845 t2._contents += A.Primitives_stringFromCharCode(45);
49846 if (t1.scanChar$1(45)) {
49847 t2._contents += A.Primitives_stringFromCharCode(45);
49848 _this._interpolatedIdentifierBody$1(buffer);
49849 return buffer.interpolation$1(t1.spanFrom$1(start));
49850 }
49851 }
49852 first = t1.peekChar$0();
49853 if (first == null)
49854 t1.error$1(0, _s20_);
49855 else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
49856 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49857 else if (first === 92)
49858 t2._contents += A.S(_this.escape$1$identifierStart(true));
49859 else if (first === 35 && t1.peekChar$1(1) === 123) {
49860 t2 = _this.singleInterpolation$0();
49861 buffer._flushText$0();
49862 t3.push(t2);
49863 } else
49864 t1.error$1(0, _s20_);
49865 _this._interpolatedIdentifierBody$1(buffer);
49866 return buffer.interpolation$1(t1.spanFrom$1(start));
49867 },
49868 _interpolatedIdentifierBody$1(buffer) {
49869 var t1, t2, t3, next, t4;
49870 for (t1 = buffer._interpolation_buffer$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer$_text; true;) {
49871 next = t2.peekChar$0();
49872 if (next == null)
49873 break;
49874 else {
49875 if (next !== 95)
49876 if (next !== 45) {
49877 if (!(next >= 97 && next <= 122))
49878 t4 = next >= 65 && next <= 90;
49879 else
49880 t4 = true;
49881 if (!t4)
49882 t4 = next >= 48 && next <= 57;
49883 else
49884 t4 = true;
49885 t4 = t4 || next >= 128;
49886 } else
49887 t4 = true;
49888 else
49889 t4 = true;
49890 if (t4)
49891 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
49892 else if (next === 92)
49893 t3._contents += A.S(this.escape$0());
49894 else if (next === 35 && t2.peekChar$1(1) === 123) {
49895 t4 = this.singleInterpolation$0();
49896 buffer._flushText$0();
49897 t1.push(t4);
49898 } else
49899 break;
49900 }
49901 }
49902 },
49903 singleInterpolation$0() {
49904 var contents, _this = this,
49905 t1 = _this.scanner,
49906 t2 = t1._string_scanner$_position;
49907 t1.expect$1("#{");
49908 _this.whitespace$0();
49909 contents = _this.expression$0();
49910 t1.expectChar$1(125);
49911 if (_this.get$plainCss())
49912 _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49913 return contents;
49914 },
49915 _mediaQueryList$0() {
49916 var t4,
49917 t1 = this.scanner,
49918 t2 = t1._string_scanner$_position,
49919 t3 = new A.StringBuffer(""),
49920 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
49921 for (; true;) {
49922 this.whitespace$0();
49923 this._stylesheet$_mediaQuery$1(buffer);
49924 if (!t1.scanChar$1(44))
49925 break;
49926 t4 = t3._contents += A.Primitives_stringFromCharCode(44);
49927 t3._contents = t4 + A.Primitives_stringFromCharCode(32);
49928 }
49929 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49930 },
49931 _stylesheet$_mediaQuery$1(buffer) {
49932 var t1, identifier, _this = this;
49933 if (_this.scanner.peekChar$0() !== 40) {
49934 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49935 _this.whitespace$0();
49936 if (!_this._lookingAtInterpolatedIdentifier$0())
49937 return;
49938 t1 = buffer._interpolation_buffer$_text;
49939 t1._contents += A.Primitives_stringFromCharCode(32);
49940 identifier = _this.interpolatedIdentifier$0();
49941 _this.whitespace$0();
49942 if (A.equalsIgnoreCase(identifier.get$asPlain(), "and"))
49943 t1._contents += " and ";
49944 else {
49945 buffer.addInterpolation$1(identifier);
49946 if (_this.scanIdentifier$1("and")) {
49947 _this.whitespace$0();
49948 t1._contents += " and ";
49949 } else
49950 return;
49951 }
49952 }
49953 for (t1 = buffer._interpolation_buffer$_text; true;) {
49954 _this.whitespace$0();
49955 buffer.addInterpolation$1(_this._mediaFeature$0());
49956 _this.whitespace$0();
49957 if (!_this.scanIdentifier$1("and"))
49958 break;
49959 t1._contents += " and ";
49960 }
49961 },
49962 _mediaFeature$0() {
49963 var interpolation, t2, t3, t4, buffer, t5, next, t6, _this = this,
49964 t1 = _this.scanner;
49965 if (t1.peekChar$0() === 35) {
49966 interpolation = _this.singleInterpolation$0();
49967 return A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
49968 }
49969 t2 = t1._string_scanner$_position;
49970 t3 = new A.StringBuffer("");
49971 t4 = A._setArrayType([], type$.JSArray_Object);
49972 buffer = new A.InterpolationBuffer(t3, t4);
49973 t1.expectChar$1(40);
49974 t3._contents += A.Primitives_stringFromCharCode(40);
49975 _this.whitespace$0();
49976 t5 = _this._expressionUntilComparison$0();
49977 buffer._flushText$0();
49978 t4.push(t5);
49979 if (t1.scanChar$1(58)) {
49980 _this.whitespace$0();
49981 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
49982 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
49983 t5 = _this.expression$0();
49984 buffer._flushText$0();
49985 t4.push(t5);
49986 } else {
49987 next = t1.peekChar$0();
49988 t5 = next !== 60;
49989 if (!t5 || next === 62 || next === 61) {
49990 t3._contents += A.Primitives_stringFromCharCode(32);
49991 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49992 if ((!t5 || next === 62) && t1.scanChar$1(61))
49993 t3._contents += A.Primitives_stringFromCharCode(61);
49994 t3._contents += A.Primitives_stringFromCharCode(32);
49995 _this.whitespace$0();
49996 t6 = _this._expressionUntilComparison$0();
49997 buffer._flushText$0();
49998 t4.push(t6);
49999 if (!t5 || next === 62) {
50000 next.toString;
50001 t5 = t1.scanChar$1(next);
50002 } else
50003 t5 = false;
50004 if (t5) {
50005 t5 = t3._contents += A.Primitives_stringFromCharCode(32);
50006 t3._contents = t5 + A.Primitives_stringFromCharCode(next);
50007 if (t1.scanChar$1(61))
50008 t3._contents += A.Primitives_stringFromCharCode(61);
50009 t3._contents += A.Primitives_stringFromCharCode(32);
50010 _this.whitespace$0();
50011 t5 = _this._expressionUntilComparison$0();
50012 buffer._flushText$0();
50013 t4.push(t5);
50014 }
50015 }
50016 }
50017 t1.expectChar$1(41);
50018 _this.whitespace$0();
50019 t3._contents += A.Primitives_stringFromCharCode(41);
50020 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
50021 },
50022 _expressionUntilComparison$0() {
50023 return this.expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure(this));
50024 },
50025 _supportsCondition$0() {
50026 var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
50027 t1 = _this.scanner,
50028 t2 = t1._string_scanner$_position;
50029 if (_this.scanIdentifier$1("not")) {
50030 _this.whitespace$0();
50031 return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
50032 }
50033 condition = _this._supportsConditionInParens$0();
50034 _this.whitespace$0();
50035 for (operator = null; _this.lookingAtIdentifier$0();) {
50036 if (operator != null)
50037 _this.expectIdentifier$1(operator);
50038 else if (_this.scanIdentifier$1("or"))
50039 operator = "or";
50040 else {
50041 _this.expectIdentifier$1("and");
50042 operator = "and";
50043 }
50044 _this.whitespace$0();
50045 right = _this._supportsConditionInParens$0();
50046 endPosition = t1._string_scanner$_position;
50047 t3 = t1._sourceFile;
50048 t4 = new A._FileSpan(t3, t2, endPosition);
50049 t4._FileSpan$3(t3, t2, endPosition);
50050 condition = new A.SupportsOperation(condition, right, operator, t4);
50051 lowerOperator = operator.toLowerCase();
50052 if (lowerOperator !== "and" && lowerOperator !== "or")
50053 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
50054 _this.whitespace$0();
50055 }
50056 return condition;
50057 },
50058 _supportsConditionInParens$0() {
50059 var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
50060 t1 = _this.scanner,
50061 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
50062 if (_this._lookingAtInterpolatedIdentifier$0()) {
50063 identifier0 = _this.interpolatedIdentifier$0();
50064 t2 = identifier0.get$asPlain();
50065 if ((t2 == null ? null : t2.toLowerCase()) === "not")
50066 _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
50067 if (t1.scanChar$1(40)) {
50068 $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
50069 t1.expectChar$1(41);
50070 return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
50071 } else {
50072 t2 = identifier0.contents;
50073 if (t2.length !== 1 || !type$.Expression._is(B.JSArray_methods.get$first(t2)))
50074 _this.error$2(0, "Expected @supports condition.", identifier0.span);
50075 else
50076 return new A.SupportsInterpolation(type$.Expression._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
50077 }
50078 }
50079 t1.expectChar$1(40);
50080 _this.whitespace$0();
50081 if (_this.scanIdentifier$1("not")) {
50082 _this.whitespace$0();
50083 condition = _this._supportsConditionInParens$0();
50084 t1.expectChar$1(41);
50085 return new A.SupportsNegation(condition, t1.spanFrom$1(start));
50086 } else if (t1.peekChar$0() === 40) {
50087 condition = _this._supportsCondition$0();
50088 t1.expectChar$1(41);
50089 return condition;
50090 }
50091 $name = null;
50092 nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
50093 wasInParentheses = _this._inParentheses;
50094 try {
50095 $name = _this.expression$0();
50096 t1.expectChar$1(58);
50097 } catch (exception) {
50098 if (type$.FormatException._is(A.unwrapException(exception))) {
50099 t1.set$state(nameStart);
50100 _this._inParentheses = wasInParentheses;
50101 identifier = _this.interpolatedIdentifier$0();
50102 operation = _this._trySupportsOperation$2(identifier, nameStart);
50103 if (operation != null) {
50104 t1.expectChar$1(41);
50105 return operation;
50106 }
50107 t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
50108 t2.addInterpolation$1(identifier);
50109 t2.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
50110 contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
50111 if (t1.peekChar$0() === 58)
50112 throw exception;
50113 t1.expectChar$1(41);
50114 return new A.SupportsAnything(contents, t1.spanFrom$1(start));
50115 } else
50116 throw exception;
50117 }
50118 declaration = _this._supportsDeclarationValue$2($name, start);
50119 t1.expectChar$1(41);
50120 return declaration;
50121 },
50122 _supportsDeclarationValue$2($name, start) {
50123 var value, _this = this;
50124 if ($name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
50125 value = new A.StringExpression(_this._interpolatedDeclarationValue$0(), false);
50126 else {
50127 _this.whitespace$0();
50128 value = _this.expression$0();
50129 }
50130 return new A.SupportsDeclaration($name, value, _this.scanner.spanFrom$1(start));
50131 },
50132 _trySupportsOperation$2(interpolation, start) {
50133 var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
50134 t1 = interpolation.contents;
50135 if (t1.length !== 1)
50136 return _null;
50137 expression = B.JSArray_methods.get$first(t1);
50138 if (!type$.Expression._is(expression))
50139 return _null;
50140 t1 = _this.scanner;
50141 beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
50142 _this.whitespace$0();
50143 for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
50144 if (operator != null)
50145 _this.expectIdentifier$1(operator);
50146 else if (_this.scanIdentifier$1("and"))
50147 operator = "and";
50148 else {
50149 if (!_this.scanIdentifier$1("or")) {
50150 if (beforeWhitespace._scanner !== t1)
50151 A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
50152 t2 = beforeWhitespace.position;
50153 if (t2 < 0 || t2 > t1.string.length)
50154 A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
50155 t1._string_scanner$_position = t2;
50156 return t1._lastMatch = null;
50157 }
50158 operator = "or";
50159 }
50160 _this.whitespace$0();
50161 right = _this._supportsConditionInParens$0();
50162 t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
50163 endPosition = t1._string_scanner$_position;
50164 t5 = t1._sourceFile;
50165 t6 = new A._FileSpan(t5, t2, endPosition);
50166 t6._FileSpan$3(t5, t2, endPosition);
50167 operation = new A.SupportsOperation(t4, right, operator, t6);
50168 lowerOperator = operator.toLowerCase();
50169 if (lowerOperator !== "and" && lowerOperator !== "or")
50170 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
50171 _this.whitespace$0();
50172 }
50173 return operation;
50174 },
50175 _lookingAtInterpolatedIdentifier$0() {
50176 var second,
50177 t1 = this.scanner,
50178 first = t1.peekChar$0();
50179 if (first == null)
50180 return false;
50181 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
50182 return true;
50183 if (first === 35)
50184 return t1.peekChar$1(1) === 123;
50185 if (first !== 45)
50186 return false;
50187 second = t1.peekChar$1(1);
50188 if (second == null)
50189 return false;
50190 if (second === 35)
50191 return t1.peekChar$1(2) === 123;
50192 return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
50193 },
50194 _lookingAtInterpolatedIdentifierBody$0() {
50195 var t1 = this.scanner,
50196 first = t1.peekChar$0();
50197 if (first == null)
50198 return false;
50199 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || A.isDigit(first) || first === 45 || first === 92)
50200 return true;
50201 return first === 35 && t1.peekChar$1(1) === 123;
50202 },
50203 _lookingAtExpression$0() {
50204 var next,
50205 t1 = this.scanner,
50206 character = t1.peekChar$0();
50207 if (character == null)
50208 return false;
50209 if (character === 46)
50210 return t1.peekChar$1(1) !== 46;
50211 if (character === 33) {
50212 next = t1.peekChar$1(1);
50213 if (next != null)
50214 if ((next | 32) >>> 0 !== 105)
50215 t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
50216 else
50217 t1 = true;
50218 else
50219 t1 = true;
50220 return t1;
50221 }
50222 if (character !== 40)
50223 if (character !== 47)
50224 if (character !== 91)
50225 if (character !== 39)
50226 if (character !== 34)
50227 if (character !== 35)
50228 if (character !== 43)
50229 if (character !== 45)
50230 if (character !== 92)
50231 if (character !== 36)
50232 if (character !== 38)
50233 t1 = character === 95 || A.isAlphabetic0(character) || character >= 128 || A.isDigit(character);
50234 else
50235 t1 = true;
50236 else
50237 t1 = true;
50238 else
50239 t1 = true;
50240 else
50241 t1 = true;
50242 else
50243 t1 = true;
50244 else
50245 t1 = true;
50246 else
50247 t1 = true;
50248 else
50249 t1 = true;
50250 else
50251 t1 = true;
50252 else
50253 t1 = true;
50254 else
50255 t1 = true;
50256 return t1;
50257 },
50258 _withChildren$1$3(child, start, create) {
50259 var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
50260 this.whitespaceWithoutComments$0();
50261 return result;
50262 },
50263 _withChildren$3(child, start, create) {
50264 return this._withChildren$1$3(child, start, create, type$.dynamic);
50265 },
50266 _urlString$0() {
50267 var innerError, stackTrace, t2, exception,
50268 t1 = this.scanner,
50269 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
50270 url = this.string$0();
50271 try {
50272 t2 = A.Uri_parse(url);
50273 return t2;
50274 } catch (exception) {
50275 t2 = A.unwrapException(exception);
50276 if (type$.FormatException._is(t2)) {
50277 innerError = t2;
50278 stackTrace = A.getTraceFromException(exception);
50279 this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
50280 } else
50281 throw exception;
50282 }
50283 },
50284 _publicIdentifier$0() {
50285 var _this = this,
50286 t1 = _this.scanner,
50287 t2 = t1._string_scanner$_position,
50288 result = _this.identifier$1$normalize(true);
50289 _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
50290 return result;
50291 },
50292 _assertPublic$2(identifier, span) {
50293 var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
50294 if (!(first === 45 || first === 95))
50295 return;
50296 this.error$2(0, string$.Privat, span.call$0());
50297 },
50298 get$plainCss() {
50299 return false;
50300 }
50301 };
50302 A.StylesheetParser_parse_closure.prototype = {
50303 call$0() {
50304 var statements, t4,
50305 t1 = this.$this,
50306 t2 = t1.scanner,
50307 t3 = t2._string_scanner$_position;
50308 t2.scanChar$1(65279);
50309 statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
50310 t2.expectDone$0();
50311 t4 = t1._globalVariables;
50312 t4 = t4.get$values(t4);
50313 B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement));
50314 return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
50315 },
50316 $signature: 354
50317 };
50318 A.StylesheetParser_parse__closure.prototype = {
50319 call$0() {
50320 var t1 = this.$this;
50321 if (t1.scanner.scan$1("@charset")) {
50322 t1.whitespace$0();
50323 t1.string$0();
50324 return null;
50325 }
50326 return t1._statement$1$root(true);
50327 },
50328 $signature: 355
50329 };
50330 A.StylesheetParser_parse__closure0.prototype = {
50331 call$1(declaration) {
50332 var t1 = declaration.name,
50333 t2 = declaration.expression;
50334 return A.VariableDeclaration$(t1, new A.NullExpression(t2.get$span(t2)), declaration.span, null, false, true, null);
50335 },
50336 $signature: 356
50337 };
50338 A.StylesheetParser_parseArgumentDeclaration_closure.prototype = {
50339 call$0() {
50340 var $arguments,
50341 t1 = this.$this,
50342 t2 = t1.scanner;
50343 t2.expectChar$2$name(64, "@-rule");
50344 t1.identifier$0();
50345 t1.whitespace$0();
50346 t1.identifier$0();
50347 $arguments = t1._argumentDeclaration$0();
50348 t1.whitespace$0();
50349 t2.expectChar$1(123);
50350 return $arguments;
50351 },
50352 $signature: 357
50353 };
50354 A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
50355 call$0() {
50356 var t1 = this.$this;
50357 return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
50358 },
50359 $signature: 155
50360 };
50361 A.StylesheetParser_parseUseRule_closure.prototype = {
50362 call$0() {
50363 var t1 = this.$this,
50364 t2 = t1.scanner,
50365 t3 = t2._string_scanner$_position;
50366 t2.expectChar$2$name(64, "@-rule");
50367 t1.expectIdentifier$1("use");
50368 t1.whitespace$0();
50369 return t1._useRule$1(new A._SpanScannerState(t2, t3));
50370 },
50371 $signature: 359
50372 };
50373 A.StylesheetParser__parseSingleProduction_closure.prototype = {
50374 call$0() {
50375 var result = this.production.call$0();
50376 this.$this.scanner.expectDone$0();
50377 return result;
50378 },
50379 $signature() {
50380 return this.T._eval$1("0()");
50381 }
50382 };
50383 A.StylesheetParser__statement_closure.prototype = {
50384 call$0() {
50385 return this.$this._statement$0();
50386 },
50387 $signature: 102
50388 };
50389 A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
50390 call$0() {
50391 return this.$this.scanner.spanFrom$1(this.start);
50392 },
50393 $signature: 31
50394 };
50395 A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
50396 call$0() {
50397 return this.declaration;
50398 },
50399 $signature: 155
50400 };
50401 A.StylesheetParser__declarationOrBuffer_closure.prototype = {
50402 call$2(children, span) {
50403 return A.Declaration$nested(this.name, children, span, null);
50404 },
50405 $signature: 78
50406 };
50407 A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
50408 call$2(children, span) {
50409 return A.Declaration$nested(this.name, children, span, this._box_0.value);
50410 },
50411 $signature: 78
50412 };
50413 A.StylesheetParser__styleRule_closure.prototype = {
50414 call$2(children, span) {
50415 var _this = this,
50416 t1 = _this.$this;
50417 if (t1.get$indented() && children.length === 0)
50418 t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
50419 t1._inStyleRule = _this.wasInStyleRule;
50420 return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
50421 },
50422 $signature: 367
50423 };
50424 A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
50425 call$2(children, span) {
50426 return A.Declaration$nested(this._box_0.name, children, span, null);
50427 },
50428 $signature: 78
50429 };
50430 A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
50431 call$2(children, span) {
50432 return A.Declaration$nested(this._box_0.name, children, span, this.value);
50433 },
50434 $signature: 78
50435 };
50436 A.StylesheetParser__atRootRule_closure.prototype = {
50437 call$2(children, span) {
50438 return A.AtRootRule$(children, span, this.query);
50439 },
50440 $signature: 252
50441 };
50442 A.StylesheetParser__atRootRule_closure0.prototype = {
50443 call$2(children, span) {
50444 return A.AtRootRule$(children, span, null);
50445 },
50446 $signature: 252
50447 };
50448 A.StylesheetParser__eachRule_closure.prototype = {
50449 call$2(children, span) {
50450 var _this = this;
50451 _this.$this._inControlDirective = _this.wasInControlDirective;
50452 return A.EachRule$(_this.variables, _this.list, children, span);
50453 },
50454 $signature: 369
50455 };
50456 A.StylesheetParser__functionRule_closure.prototype = {
50457 call$2(children, span) {
50458 return A.FunctionRule$(this.name, this.$arguments, children, span, this.precedingComment);
50459 },
50460 $signature: 370
50461 };
50462 A.StylesheetParser__forRule_closure.prototype = {
50463 call$0() {
50464 var t1 = this.$this;
50465 if (!t1.lookingAtIdentifier$0())
50466 return false;
50467 if (t1.scanIdentifier$1("to"))
50468 return this._box_0.exclusive = true;
50469 else if (t1.scanIdentifier$1("through")) {
50470 this._box_0.exclusive = false;
50471 return true;
50472 } else
50473 return false;
50474 },
50475 $signature: 29
50476 };
50477 A.StylesheetParser__forRule_closure0.prototype = {
50478 call$2(children, span) {
50479 var t1, _this = this;
50480 _this.$this._inControlDirective = _this.wasInControlDirective;
50481 t1 = _this._box_0.exclusive;
50482 t1.toString;
50483 return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
50484 },
50485 $signature: 371
50486 };
50487 A.StylesheetParser__memberList_closure.prototype = {
50488 call$0() {
50489 var t1 = this.$this;
50490 if (t1.scanner.peekChar$0() === 36)
50491 this.variables.add$1(0, t1.variableName$0());
50492 else
50493 this.identifiers.add$1(0, t1.identifier$1$normalize(true));
50494 },
50495 $signature: 1
50496 };
50497 A.StylesheetParser__includeRule_closure.prototype = {
50498 call$2(children, span) {
50499 return A.ContentBlock$(this.contentArguments_, children, span);
50500 },
50501 $signature: 373
50502 };
50503 A.StylesheetParser_mediaRule_closure.prototype = {
50504 call$2(children, span) {
50505 return A.MediaRule$(this.query, children, span);
50506 },
50507 $signature: 375
50508 };
50509 A.StylesheetParser__mixinRule_closure.prototype = {
50510 call$2(children, span) {
50511 var _this = this;
50512 _this.$this._stylesheet$_inMixin = false;
50513 return A.MixinRule$(_this.name, _this.$arguments, children, span, _this.precedingComment);
50514 },
50515 $signature: 261
50516 };
50517 A.StylesheetParser_mozDocumentRule_closure.prototype = {
50518 call$2(children, span) {
50519 var _this = this;
50520 if (_this._box_0.needsDeprecationWarning)
50521 _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
50522 return A.AtRule$(_this.name, span, children, _this.value);
50523 },
50524 $signature: 228
50525 };
50526 A.StylesheetParser_supportsRule_closure.prototype = {
50527 call$2(children, span) {
50528 return A.SupportsRule$(this.condition, children, span);
50529 },
50530 $signature: 381
50531 };
50532 A.StylesheetParser__whileRule_closure.prototype = {
50533 call$2(children, span) {
50534 this.$this._inControlDirective = this.wasInControlDirective;
50535 return A.WhileRule$(this.condition, children, span);
50536 },
50537 $signature: 382
50538 };
50539 A.StylesheetParser_unknownAtRule_closure.prototype = {
50540 call$2(children, span) {
50541 return A.AtRule$(this.name, span, children, this._box_0.value);
50542 },
50543 $signature: 228
50544 };
50545 A.StylesheetParser_expression_resetState.prototype = {
50546 call$0() {
50547 var t2,
50548 t1 = this._box_0;
50549 t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
50550 t2 = this.$this;
50551 t2.scanner.set$state(this.start);
50552 t1.allowSlash = true;
50553 t1.singleExpression_ = t2._singleExpression$0();
50554 },
50555 $signature: 0
50556 };
50557 A.StylesheetParser_expression_resolveOneOperation.prototype = {
50558 call$0() {
50559 var t2, t3,
50560 t1 = this._box_0,
50561 operator = t1.operators_.pop(),
50562 left = t1.operands_.pop(),
50563 right = t1.singleExpression_;
50564 if (right == null) {
50565 t2 = this.$this.scanner;
50566 t3 = operator.operator.length;
50567 t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
50568 }
50569 if (t1.allowSlash) {
50570 t2 = this.$this;
50571 t2 = !t2._inParentheses && operator === B.BinaryOperator_RTB && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
50572 } else
50573 t2 = false;
50574 if (t2)
50575 t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_RTB, left, right, true);
50576 else {
50577 t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
50578 t1.allowSlash = false;
50579 }
50580 },
50581 $signature: 0
50582 };
50583 A.StylesheetParser_expression_resolveOperations.prototype = {
50584 call$0() {
50585 var t1,
50586 operators = this._box_0.operators_;
50587 if (operators == null)
50588 return;
50589 for (t1 = this.resolveOneOperation; operators.length !== 0;)
50590 t1.call$0();
50591 },
50592 $signature: 0
50593 };
50594 A.StylesheetParser_expression_addSingleExpression.prototype = {
50595 call$1(expression) {
50596 var t2, spaceExpressions, _this = this,
50597 t1 = _this._box_0;
50598 if (t1.singleExpression_ != null) {
50599 t2 = _this.$this;
50600 if (t2._inParentheses) {
50601 t2._inParentheses = false;
50602 if (t1.allowSlash) {
50603 _this.resetState.call$0();
50604 return;
50605 }
50606 }
50607 spaceExpressions = t1.spaceExpressions_;
50608 if (spaceExpressions == null)
50609 spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
50610 _this.resolveOperations.call$0();
50611 t2 = t1.singleExpression_;
50612 t2.toString;
50613 spaceExpressions.push(t2);
50614 t1.allowSlash = true;
50615 }
50616 t1.singleExpression_ = expression;
50617 },
50618 $signature: 383
50619 };
50620 A.StylesheetParser_expression_addOperator.prototype = {
50621 call$1(operator) {
50622 var t2, t3, operators, operands, t4, singleExpression,
50623 t1 = this.$this;
50624 if (t1.get$plainCss() && operator !== B.BinaryOperator_RTB && operator !== B.BinaryOperator_kjl) {
50625 t2 = t1.scanner;
50626 t3 = operator.operator.length;
50627 t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
50628 }
50629 t2 = this._box_0;
50630 t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_RTB;
50631 operators = t2.operators_;
50632 if (operators == null)
50633 operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
50634 operands = t2.operands_;
50635 if (operands == null)
50636 operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
50637 t3 = this.resolveOneOperation;
50638 t4 = operator.precedence;
50639 while (true) {
50640 if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
50641 break;
50642 t3.call$0();
50643 }
50644 operators.push(operator);
50645 singleExpression = t2.singleExpression_;
50646 if (singleExpression == null) {
50647 t3 = t1.scanner;
50648 t4 = operator.operator.length;
50649 t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
50650 }
50651 operands.push(singleExpression);
50652 t1.whitespace$0();
50653 t2.singleExpression_ = t1._singleExpression$0();
50654 },
50655 $signature: 386
50656 };
50657 A.StylesheetParser_expression_resolveSpaceExpressions.prototype = {
50658 call$0() {
50659 var t1, spaceExpressions, singleExpression, t2;
50660 this.resolveOperations.call$0();
50661 t1 = this._box_0;
50662 spaceExpressions = t1.spaceExpressions_;
50663 if (spaceExpressions != null) {
50664 singleExpression = t1.singleExpression_;
50665 if (singleExpression == null)
50666 this.$this.scanner.error$1(0, "Expected expression.");
50667 spaceExpressions.push(singleExpression);
50668 t2 = B.JSArray_methods.get$first(spaceExpressions);
50669 t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
50670 t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_woc, false, t2);
50671 t1.spaceExpressions_ = null;
50672 }
50673 },
50674 $signature: 0
50675 };
50676 A.StylesheetParser__expressionUntilComma_closure.prototype = {
50677 call$0() {
50678 return this.$this.scanner.peekChar$0() === 44;
50679 },
50680 $signature: 29
50681 };
50682 A.StylesheetParser__unicodeRange_closure.prototype = {
50683 call$1(char) {
50684 return char != null && A.isHex(char);
50685 },
50686 $signature: 33
50687 };
50688 A.StylesheetParser__unicodeRange_closure0.prototype = {
50689 call$1(char) {
50690 return char != null && A.isHex(char);
50691 },
50692 $signature: 33
50693 };
50694 A.StylesheetParser_namespacedExpression_closure.prototype = {
50695 call$0() {
50696 return this.$this.scanner.spanFrom$1(this.start);
50697 },
50698 $signature: 31
50699 };
50700 A.StylesheetParser_trySpecialFunction_closure.prototype = {
50701 call$1(contents) {
50702 return new A.StringExpression(contents, false);
50703 },
50704 $signature: 390
50705 };
50706 A.StylesheetParser__expressionUntilComparison_closure.prototype = {
50707 call$0() {
50708 var t1 = this.$this.scanner,
50709 next = t1.peekChar$0();
50710 if (next === 61)
50711 return t1.peekChar$1(1) !== 61;
50712 return next === 60 || next === 62;
50713 },
50714 $signature: 29
50715 };
50716 A.StylesheetParser__publicIdentifier_closure.prototype = {
50717 call$0() {
50718 return this.$this.scanner.spanFrom$1(this.start);
50719 },
50720 $signature: 31
50721 };
50722 A.StylesheetGraph.prototype = {
50723 modifiedSince$3(url, since, baseImporter) {
50724 var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
50725 if (node == null)
50726 return true;
50727 return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node)._core$_value > since._core$_value;
50728 },
50729 _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
50730 var t1, t2, _this = this,
50731 tuple = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
50732 if (tuple == null)
50733 return null;
50734 t1 = tuple.item1;
50735 t2 = tuple.item2;
50736 _this.addCanonical$3(t1, t2, tuple.item3);
50737 return _this._nodes.$index(0, t2);
50738 },
50739 addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
50740 var stylesheet, _this = this,
50741 t1 = _this._nodes;
50742 if (t1.$index(0, canonicalUrl) != null)
50743 return B.Set_empty1;
50744 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
50745 if (stylesheet == null)
50746 return B.Set_empty1;
50747 t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
50748 return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty1;
50749 },
50750 addCanonical$3(importer, canonicalUrl, originalUrl) {
50751 return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
50752 },
50753 _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
50754 var t4, t5, t6, t7,
50755 t1 = type$.Uri,
50756 active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
50757 t2 = type$.JSArray_Uri,
50758 t3 = A._setArrayType([], t2);
50759 t2 = A._setArrayType([], t2);
50760 new A._FindDependenciesVisitor(t3, t2).visitChildren$1(stylesheet.children);
50761 t4 = type$.nullable_StylesheetNode;
50762 t5 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
50763 for (t6 = B.JSArray_methods.get$iterator(t3); t6.moveNext$0();) {
50764 t7 = t6.get$current(t6);
50765 t5.$indexSet(0, t7, this._nodeFor$4(t7, baseImporter, baseUrl, active));
50766 }
50767 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
50768 for (t2 = J.get$iterator$ax(new A.Tuple2(t3, t2, type$.Tuple2_of_List_Uri_and_List_Uri).item2); t2.moveNext$0();) {
50769 t3 = t2.get$current(t2);
50770 t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
50771 }
50772 return new A.Tuple2(t5, t1, type$.Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode);
50773 },
50774 reload$1(canonicalUrl) {
50775 var stylesheet, upstream, _this = this,
50776 node = _this._nodes.$index(0, canonicalUrl);
50777 if (node == null)
50778 throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
50779 _this._transitiveModificationTimes.clear$0(0);
50780 _this.importCache.clearImport$1(canonicalUrl);
50781 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
50782 if (stylesheet == null)
50783 return false;
50784 node._stylesheet = stylesheet;
50785 upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
50786 node._replaceUpstream$2(upstream.item1, upstream.item2);
50787 return true;
50788 },
50789 _recanonicalizeImports$2(importer, canonicalUrl) {
50790 var t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this,
50791 changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
50792 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();) {
50793 t5 = t1.get$current(t1);
50794 newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
50795 newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
50796 if (newUpstream.get$isNotEmpty(newUpstream) || newUpstreamImports.get$isNotEmpty(newUpstreamImports)) {
50797 changed.add$1(0, t5);
50798 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));
50799 }
50800 }
50801 if (changed._collection$_length !== 0)
50802 _this._transitiveModificationTimes.clear$0(0);
50803 return changed;
50804 },
50805 _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
50806 var t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
50807 map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1),
50808 newMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.nullable_StylesheetNode);
50809 map._map.forEach$1(0, new A.StylesheetGraph__recanonicalizeImportsForNode_closure(this, importer, canonicalUrl, node, forImport, newMap));
50810 return newMap;
50811 },
50812 _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
50813 var importer, canonicalUrl, resolvedUrl, t1, stylesheet, node, _this = this,
50814 tuple = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
50815 if (tuple == null)
50816 return null;
50817 importer = tuple.item1;
50818 canonicalUrl = tuple.item2;
50819 resolvedUrl = tuple.item3;
50820 t1 = _this._nodes;
50821 if (t1.containsKey$1(canonicalUrl))
50822 return t1.$index(0, canonicalUrl);
50823 if (active.contains$1(0, canonicalUrl))
50824 return null;
50825 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(_this, importer, canonicalUrl, resolvedUrl));
50826 if (stylesheet == null)
50827 return null;
50828 active.add$1(0, canonicalUrl);
50829 node = A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl));
50830 active.remove$1(0, canonicalUrl);
50831 t1.$indexSet(0, canonicalUrl, node);
50832 return node;
50833 },
50834 _nodeFor$4(url, baseImporter, baseUrl, active) {
50835 return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
50836 },
50837 _ignoreErrors$1$1(callback) {
50838 var t1, exception;
50839 try {
50840 t1 = callback.call$0();
50841 return t1;
50842 } catch (exception) {
50843 return null;
50844 }
50845 },
50846 _ignoreErrors$1(callback) {
50847 return this._ignoreErrors$1$1(callback, type$.dynamic);
50848 }
50849 };
50850 A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
50851 call$1(node) {
50852 return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
50853 },
50854 $signature: 391
50855 };
50856 A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
50857 call$0() {
50858 var t2, t3, upstreamTime,
50859 t1 = this.node,
50860 latest = t1.importer.modificationTime$1(t1.canonicalUrl);
50861 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();) {
50862 t3 = t1._currentIterator;
50863 t3 = t3.get$current(t3);
50864 upstreamTime = t3 == null ? new A.DateTime(Date.now(), false) : t2.call$1(t3);
50865 if (upstreamTime._core$_value > latest._core$_value)
50866 latest = upstreamTime;
50867 }
50868 return latest;
50869 },
50870 $signature: 188
50871 };
50872 A.StylesheetGraph__add_closure.prototype = {
50873 call$0() {
50874 var _this = this;
50875 return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
50876 },
50877 $signature: 74
50878 };
50879 A.StylesheetGraph_addCanonical_closure.prototype = {
50880 call$0() {
50881 var _this = this;
50882 return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
50883 },
50884 $signature: 75
50885 };
50886 A.StylesheetGraph_reload_closure.prototype = {
50887 call$0() {
50888 return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
50889 },
50890 $signature: 75
50891 };
50892 A.StylesheetGraph__recanonicalizeImportsForNode_closure.prototype = {
50893 call$2(url, upstream) {
50894 var result, t1, t2, t3, exception, newCanonicalUrl, _this = this;
50895 if (!_this.importer.couldCanonicalize$2(url, _this.canonicalUrl))
50896 return;
50897 t1 = _this.$this;
50898 t2 = t1.importCache;
50899 t2.clearCanonicalize$1(url);
50900 result = null;
50901 try {
50902 t3 = _this.node;
50903 result = t2.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t3.importer, t3.canonicalUrl, _this.forImport);
50904 } catch (exception) {
50905 }
50906 t2 = result;
50907 newCanonicalUrl = t2 == null ? null : t2.item2;
50908 if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
50909 return;
50910 t1 = result == null ? null : t1._nodes.$index(0, result.item2);
50911 _this.newMap.$indexSet(0, url, t1);
50912 },
50913 $signature: 394
50914 };
50915 A.StylesheetGraph__nodeFor_closure.prototype = {
50916 call$0() {
50917 var _this = this;
50918 return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
50919 },
50920 $signature: 74
50921 };
50922 A.StylesheetGraph__nodeFor_closure0.prototype = {
50923 call$0() {
50924 var _this = this;
50925 return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.resolvedUrl);
50926 },
50927 $signature: 75
50928 };
50929 A.StylesheetNode.prototype = {
50930 StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
50931 var t1, t2;
50932 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();) {
50933 t1 = t2._currentIterator;
50934 t1 = t1.get$current(t1);
50935 if (t1 != null)
50936 t1._downstream.add$1(0, this);
50937 }
50938 },
50939 _replaceUpstream$2(newUpstream, newUpstreamImports) {
50940 var t3, oldUpstream, newUpstreamSet, _this = this,
50941 t1 = type$.nullable_StylesheetNode,
50942 t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
50943 for (t3 = _this._upstream, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();)
50944 t2.add$1(0, t3.get$current(t3));
50945 for (t3 = _this._upstreamImports, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();)
50946 t2.add$1(0, t3.get$current(t3));
50947 t3 = type$.StylesheetNode;
50948 oldUpstream = A.SetExtension_removeNull(t2, t3);
50949 t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
50950 for (t2 = newUpstream.get$values(newUpstream), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50951 t1.add$1(0, t2.get$current(t2));
50952 for (t2 = newUpstreamImports.get$values(newUpstreamImports), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50953 t1.add$1(0, t2.get$current(t2));
50954 newUpstreamSet = A.SetExtension_removeNull(t1, t3);
50955 for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
50956 t1.get$current(t1)._downstream.remove$1(0, _this);
50957 for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
50958 t1.get$current(t1)._downstream.add$1(0, _this);
50959 _this._upstream = newUpstream;
50960 _this._upstreamImports = newUpstreamImports;
50961 },
50962 _stylesheet_graph$_remove$0() {
50963 var t2, t3, t4, _i, url, _this = this,
50964 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_StylesheetNode);
50965 for (t2 = _this._upstream, t2 = t2.get$values(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50966 t1.add$1(0, t2.get$current(t2));
50967 for (t2 = _this._upstreamImports, t2 = t2.get$values(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50968 t1.add$1(0, t2.get$current(t2));
50969 t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications);
50970 t2 = A._instanceType(t1)._precomputed1;
50971 for (; t1.moveNext$0();) {
50972 t3 = t2._as(t1._collection$_current);
50973 if (t3 == null)
50974 continue;
50975 t3._downstream.remove$1(0, _this);
50976 }
50977 for (t1 = _this._downstream, t1 = t1.get$iterator(t1); t1.moveNext$0();) {
50978 t2 = t1.get$current(t1);
50979 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) {
50980 url = t3[_i];
50981 if (J.$eq$(t2._upstream.$index(0, url), _this)) {
50982 t2._upstream.$indexSet(0, url, null);
50983 break;
50984 }
50985 }
50986 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) {
50987 url = t3[_i];
50988 if (J.$eq$(t2._upstreamImports.$index(0, url), _this)) {
50989 t2._upstreamImports.$indexSet(0, url, null);
50990 break;
50991 }
50992 }
50993 }
50994 },
50995 toString$0(_) {
50996 var t1 = A.NullableExtension_andThen(this._stylesheet.span.file.url, A.path__prettyUri$closure());
50997 return t1 == null ? "<unknown>" : t1;
50998 }
50999 };
51000 A.Syntax.prototype = {
51001 toString$0(_) {
51002 return this._syntax$_name;
51003 }
51004 };
51005 A.LimitedMapView.prototype = {
51006 get$keys(_) {
51007 return this._limited_map_view$_keys;
51008 },
51009 get$length(_) {
51010 return this._limited_map_view$_keys._collection$_length;
51011 },
51012 get$isEmpty(_) {
51013 return this._limited_map_view$_keys._collection$_length === 0;
51014 },
51015 get$isNotEmpty(_) {
51016 return this._limited_map_view$_keys._collection$_length !== 0;
51017 },
51018 $index(_, key) {
51019 return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
51020 },
51021 containsKey$1(key) {
51022 return this._limited_map_view$_keys.contains$1(0, key);
51023 },
51024 remove$1(_, key) {
51025 return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
51026 }
51027 };
51028 A.MergedMapView.prototype = {
51029 get$keys(_) {
51030 var t1 = this._mapsByKey;
51031 return t1.get$keys(t1);
51032 },
51033 get$length(_) {
51034 var t1 = this._mapsByKey;
51035 return t1.get$length(t1);
51036 },
51037 get$isEmpty(_) {
51038 var t1 = this._mapsByKey;
51039 return t1.get$isEmpty(t1);
51040 },
51041 get$isNotEmpty(_) {
51042 var t1 = this._mapsByKey;
51043 return t1.get$isNotEmpty(t1);
51044 },
51045 MergedMapView$1(maps, $K, $V) {
51046 var t1, t2, t3, _i, map, t4, t5;
51047 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) {
51048 map = maps[_i];
51049 if (t3._is(map))
51050 for (t4 = map._mapsByKey, t4 = t4.get$values(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
51051 t5 = t4.get$current(t4);
51052 A.setAll(t2, t5.get$keys(t5), t5);
51053 }
51054 else
51055 A.setAll(t2, map.get$keys(map), map);
51056 }
51057 },
51058 $index(_, key) {
51059 var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
51060 return t1 == null ? null : t1.$index(0, key);
51061 },
51062 $indexSet(_, key, value) {
51063 var child = this._mapsByKey.$index(0, key);
51064 if (child == null)
51065 throw A.wrapException(A.UnsupportedError$(string$.New_en));
51066 child.$indexSet(0, key, value);
51067 },
51068 remove$1(_, key) {
51069 throw A.wrapException(A.UnsupportedError$(string$.Entrie));
51070 },
51071 containsKey$1(key) {
51072 return this._mapsByKey.containsKey$1(key);
51073 }
51074 };
51075 A.MultiDirWatcher.prototype = {
51076 watch$1(_, directory) {
51077 var t1, t2, t3, t4, isParentOfExistingDir, _i, entry, t5, existingWatcher, t6, future, completer;
51078 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) {
51079 entry = t2[_i];
51080 t5 = entry.key;
51081 t5.toString;
51082 existingWatcher = entry.value;
51083 if (!isParentOfExistingDir) {
51084 t6 = $.$get$context();
51085 t6 = t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_within;
51086 } else
51087 t6 = false;
51088 if (t6) {
51089 t1 = new A._Future($.Zone__current, type$._Future_void);
51090 t1._asyncComplete$1(null);
51091 return t1;
51092 }
51093 if ($.$get$context()._isWithinOrEquals$2(directory, t5) === B._PathRelation_within) {
51094 t1.remove$1(0, t5);
51095 t4.remove$1(0, existingWatcher);
51096 isParentOfExistingDir = true;
51097 }
51098 }
51099 future = A.watchDir(directory, this._poll);
51100 t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
51101 completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
51102 future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
51103 t1.$indexSet(0, directory, t2);
51104 t4.add$1(0, t2);
51105 return future;
51106 }
51107 };
51108 A.NoSourceMapBuffer.prototype = {
51109 get$length(_) {
51110 return this._no_source_map_buffer$_buffer._contents.length;
51111 },
51112 forSpan$1$2(span, callback) {
51113 return callback.call$0();
51114 },
51115 forSpan$2(span, callback) {
51116 return this.forSpan$1$2(span, callback, type$.dynamic);
51117 },
51118 write$1(_, object) {
51119 this._no_source_map_buffer$_buffer._contents += A.S(object);
51120 return null;
51121 },
51122 writeCharCode$1(charCode) {
51123 this._no_source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
51124 return null;
51125 },
51126 toString$0(_) {
51127 var t1 = this._no_source_map_buffer$_buffer._contents;
51128 return t1.charCodeAt(0) == 0 ? t1 : t1;
51129 },
51130 buildSourceMap$1$prefix(prefix) {
51131 return A.throwExpression(A.UnsupportedError$(string$.NoSour));
51132 }
51133 };
51134 A.PrefixedMapView.prototype = {
51135 get$keys(_) {
51136 return new A._PrefixedKeys(this);
51137 },
51138 get$length(_) {
51139 var t1 = this._prefixed_map_view$_map;
51140 return t1.get$length(t1);
51141 },
51142 get$isEmpty(_) {
51143 var t1 = this._prefixed_map_view$_map;
51144 return t1.get$isEmpty(t1);
51145 },
51146 get$isNotEmpty(_) {
51147 var t1 = this._prefixed_map_view$_map;
51148 return t1.get$isNotEmpty(t1);
51149 },
51150 $index(_, key) {
51151 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;
51152 },
51153 containsKey$1(key) {
51154 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));
51155 }
51156 };
51157 A._PrefixedKeys.prototype = {
51158 get$length(_) {
51159 var t1 = this._view._prefixed_map_view$_map;
51160 return t1.get$length(t1);
51161 },
51162 get$iterator(_) {
51163 var t1 = this._view._prefixed_map_view$_map;
51164 t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
51165 return t1.get$iterator(t1);
51166 },
51167 contains$1(_, key) {
51168 return this._view.containsKey$1(key);
51169 }
51170 };
51171 A._PrefixedKeys_iterator_closure.prototype = {
51172 call$1(key) {
51173 return this.$this._view._prefix + key;
51174 },
51175 $signature: 5
51176 };
51177 A.PublicMemberMapView.prototype = {
51178 get$keys(_) {
51179 var t1 = this._public_member_map_view$_inner;
51180 return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
51181 },
51182 containsKey$1(key) {
51183 return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
51184 },
51185 $index(_, key) {
51186 if (typeof key == "string" && A.isPublic(key))
51187 return this._public_member_map_view$_inner.$index(0, key);
51188 return null;
51189 }
51190 };
51191 A.SourceMapBuffer.prototype = {
51192 get$_targetLocation() {
51193 var t1 = this._source_map_buffer$_buffer._contents,
51194 t2 = this._line;
51195 return A.SourceLocation$(t1.length, this._column, t2, null);
51196 },
51197 get$length(_) {
51198 return this._source_map_buffer$_buffer._contents.length;
51199 },
51200 forSpan$1$2(span, callback) {
51201 var t1, _this = this,
51202 wasInSpan = _this._inSpan;
51203 _this._inSpan = true;
51204 _this._addEntry$2(A.FileLocation$_(span.file, span._file$_start), _this.get$_targetLocation());
51205 try {
51206 t1 = callback.call$0();
51207 return t1;
51208 } finally {
51209 _this._inSpan = wasInSpan;
51210 }
51211 },
51212 forSpan$2(span, callback) {
51213 return this.forSpan$1$2(span, callback, type$.dynamic);
51214 },
51215 _addEntry$2(source, target) {
51216 var entry, t2,
51217 t1 = this._entries;
51218 if (t1.length !== 0) {
51219 entry = B.JSArray_methods.get$last(t1);
51220 t2 = entry.source;
51221 if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
51222 return;
51223 if (entry.target.offset === target.offset)
51224 return;
51225 }
51226 t1.push(new A.Entry(source, target, null));
51227 },
51228 write$1(_, object) {
51229 var t1, i,
51230 string = J.toString$0$(object);
51231 this._source_map_buffer$_buffer._contents += string;
51232 for (t1 = string.length, i = 0; i < t1; ++i)
51233 if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
51234 this._source_map_buffer$_writeLine$0();
51235 else
51236 ++this._column;
51237 },
51238 writeCharCode$1(charCode) {
51239 this._source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
51240 if (charCode === 10)
51241 this._source_map_buffer$_writeLine$0();
51242 else
51243 ++this._column;
51244 },
51245 _source_map_buffer$_writeLine$0() {
51246 var _this = this,
51247 t1 = _this._entries;
51248 if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
51249 t1.pop();
51250 ++_this._line;
51251 _this._column = 0;
51252 if (_this._inSpan)
51253 t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
51254 },
51255 toString$0(_) {
51256 var t1 = this._source_map_buffer$_buffer._contents;
51257 return t1.charCodeAt(0) == 0 ? t1 : t1;
51258 },
51259 buildSourceMap$1$prefix(prefix) {
51260 var i, t2, prefixColumn, _box_0 = {},
51261 t1 = prefix.length;
51262 if (t1 === 0)
51263 return A.SingleMapping_SingleMapping$fromEntries(this._entries);
51264 _box_0.prefixColumn = _box_0.prefixLines = 0;
51265 for (i = 0, t2 = 0; i < t1; ++i)
51266 if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
51267 ++_box_0.prefixLines;
51268 _box_0.prefixColumn = 0;
51269 t2 = 0;
51270 } else {
51271 prefixColumn = t2 + 1;
51272 _box_0.prefixColumn = prefixColumn;
51273 t2 = prefixColumn;
51274 }
51275 t2 = this._entries;
51276 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>")));
51277 }
51278 };
51279 A.SourceMapBuffer_buildSourceMap_closure.prototype = {
51280 call$1(entry) {
51281 var t1 = entry.source,
51282 t2 = entry.target,
51283 t3 = t2.line,
51284 t4 = this._box_0,
51285 t5 = t4.prefixLines;
51286 t4 = t3 === 0 ? t4.prefixColumn : 0;
51287 return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
51288 },
51289 $signature: 225
51290 };
51291 A.UnprefixedMapView.prototype = {
51292 get$keys(_) {
51293 return new A._UnprefixedKeys(this);
51294 },
51295 $index(_, key) {
51296 return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
51297 },
51298 containsKey$1(key) {
51299 return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
51300 },
51301 remove$1(_, key) {
51302 return typeof key == "string" ? this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key) : null;
51303 }
51304 };
51305 A._UnprefixedKeys.prototype = {
51306 get$iterator(_) {
51307 var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
51308 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);
51309 return t1.get$iterator(t1);
51310 },
51311 contains$1(_, key) {
51312 return this._unprefixed_map_view$_view.containsKey$1(key);
51313 }
51314 };
51315 A._UnprefixedKeys_iterator_closure.prototype = {
51316 call$1(key) {
51317 return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
51318 },
51319 $signature: 6
51320 };
51321 A._UnprefixedKeys_iterator_closure0.prototype = {
51322 call$1(key) {
51323 return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
51324 },
51325 $signature: 5
51326 };
51327 A.indent_closure.prototype = {
51328 call$1(line) {
51329 return B.JSString_methods.$mul(" ", this.indentation) + line;
51330 },
51331 $signature: 5
51332 };
51333 A.flattenVertically_closure.prototype = {
51334 call$1(inner) {
51335 return A.QueueList_QueueList$from(inner, this.T);
51336 },
51337 $signature() {
51338 return this.T._eval$1("QueueList<0>(Iterable<0>)");
51339 }
51340 };
51341 A.flattenVertically_closure0.prototype = {
51342 call$1(queue) {
51343 this.result.push(queue.removeFirst$0());
51344 return queue.get$length(queue) === 0;
51345 },
51346 $signature() {
51347 return this.T._eval$1("bool(QueueList<0>)");
51348 }
51349 };
51350 A.longestCommonSubsequence_closure.prototype = {
51351 call$2(element1, element2) {
51352 return J.$eq$(element1, element2) ? element1 : null;
51353 },
51354 $signature() {
51355 return this.T._eval$1("0?(0,0)");
51356 }
51357 };
51358 A.longestCommonSubsequence_backtrack.prototype = {
51359 call$2(i, j) {
51360 var selection, t1, _this = this;
51361 if (i === -1 || j === -1)
51362 return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
51363 selection = _this.selections[i][j];
51364 if (selection != null) {
51365 t1 = _this.call$2(i - 1, j - 1);
51366 J.add$1$ax(t1, selection);
51367 return t1;
51368 }
51369 t1 = _this.lengths;
51370 return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
51371 },
51372 $signature() {
51373 return this.T._eval$1("List<0>(int,int)");
51374 }
51375 };
51376 A.mapAddAll2_closure.prototype = {
51377 call$2(key, inner) {
51378 var t1 = this.destination,
51379 innerDestination = t1.$index(0, key);
51380 if (innerDestination != null)
51381 innerDestination.addAll$1(0, inner);
51382 else
51383 t1.$indexSet(0, key, inner);
51384 },
51385 $signature() {
51386 return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
51387 }
51388 };
51389 A.unwrapCancelableOperation_closure.prototype = {
51390 call$0() {
51391 return this.future.then$1$1(0, new A.unwrapCancelableOperation__closure(this.T), type$.dynamic);
51392 },
51393 $signature: 138
51394 };
51395 A.unwrapCancelableOperation__closure.prototype = {
51396 call$1(operation) {
51397 return operation._completer._cancel$0();
51398 },
51399 $signature() {
51400 return this.T._eval$1("Future<@>(CancelableOperation<0>)");
51401 }
51402 };
51403 A.unwrapCancelableOperation_closure0.prototype = {
51404 call$1(operation) {
51405 var t1 = this.completer;
51406 operation.then$1$2$onError(0, t1.get$complete(), t1.get$completeError(), type$.void);
51407 },
51408 $signature() {
51409 return this.T._eval$1("Null(CancelableOperation<0>)");
51410 }
51411 };
51412 A.Value.prototype = {
51413 get$isTruthy() {
51414 return true;
51415 },
51416 get$separator(_) {
51417 return B.ListSeparator_undecided_null;
51418 },
51419 get$hasBrackets() {
51420 return false;
51421 },
51422 get$asList() {
51423 return A._setArrayType([this], type$.JSArray_Value);
51424 },
51425 get$lengthAsList() {
51426 return 1;
51427 },
51428 get$isBlank() {
51429 return false;
51430 },
51431 get$isSpecialNumber() {
51432 return false;
51433 },
51434 get$isVar() {
51435 return false;
51436 },
51437 get$realNull() {
51438 return this;
51439 },
51440 sassIndexToListIndex$2(sassIndex, $name) {
51441 var _this = this,
51442 index = sassIndex.assertNumber$1($name).assertInt$1($name);
51443 if (index === 0)
51444 throw A.wrapException(_this._value$_exception$2("List index may not be 0.", $name));
51445 if (Math.abs(index) > _this.get$lengthAsList())
51446 throw A.wrapException(_this._value$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a list with " + _this.get$lengthAsList() + " elements.", $name));
51447 return index < 0 ? _this.get$lengthAsList() + index : index - 1;
51448 },
51449 assertCalculation$1($name) {
51450 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a calculation.", $name));
51451 },
51452 assertColor$1($name) {
51453 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a color.", $name));
51454 },
51455 assertFunction$1($name) {
51456 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a function reference.", $name));
51457 },
51458 assertMap$1($name) {
51459 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a map.", $name));
51460 },
51461 tryMap$0() {
51462 return null;
51463 },
51464 assertNumber$1($name) {
51465 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a number.", $name));
51466 },
51467 assertNumber$0() {
51468 return this.assertNumber$1(null);
51469 },
51470 assertString$1($name) {
51471 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a string.", $name));
51472 },
51473 assertSelector$2$allowParent$name(allowParent, $name) {
51474 var error, stackTrace, t1, exception,
51475 string = this._selectorString$1($name);
51476 try {
51477 t1 = A.SelectorList_SelectorList$parse(string, allowParent, true, null);
51478 return t1;
51479 } catch (exception) {
51480 t1 = A.unwrapException(exception);
51481 if (t1 instanceof A.SassFormatException) {
51482 error = t1;
51483 stackTrace = A.getTraceFromException(exception);
51484 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
51485 A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
51486 } else
51487 throw exception;
51488 }
51489 },
51490 assertSelector$1$name($name) {
51491 return this.assertSelector$2$allowParent$name(false, $name);
51492 },
51493 assertSelector$0() {
51494 return this.assertSelector$2$allowParent$name(false, null);
51495 },
51496 assertSelector$1$allowParent(allowParent) {
51497 return this.assertSelector$2$allowParent$name(allowParent, null);
51498 },
51499 assertCompoundSelector$1$name($name) {
51500 var error, stackTrace, t1, exception,
51501 allowParent = false,
51502 string = this._selectorString$1($name);
51503 try {
51504 t1 = A.SelectorParser$(string, allowParent, true, null, null).parseCompoundSelector$0();
51505 return t1;
51506 } catch (exception) {
51507 t1 = A.unwrapException(exception);
51508 if (t1 instanceof A.SassFormatException) {
51509 error = t1;
51510 stackTrace = A.getTraceFromException(exception);
51511 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
51512 t1 = "$" + $name + ": " + t1;
51513 A.throwWithTrace(new A.SassScriptException(t1), stackTrace);
51514 } else
51515 throw exception;
51516 }
51517 },
51518 _selectorString$1($name) {
51519 var string = this._selectorStringOrNull$0();
51520 if (string != null)
51521 return string;
51522 throw A.wrapException(this._value$_exception$2(this.toString$0(0) + string$.x20is_no, $name));
51523 },
51524 _selectorStringOrNull$0() {
51525 var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
51526 if (_this instanceof A.SassString)
51527 return _this._string$_text;
51528 if (!(_this instanceof A.SassList))
51529 return _null;
51530 t1 = _this._list$_contents;
51531 t2 = t1.length;
51532 if (t2 === 0)
51533 return _null;
51534 result = A._setArrayType([], type$.JSArray_String);
51535 t3 = _this._separator;
51536 switch (t3) {
51537 case B.ListSeparator_kWM:
51538 for (_i = 0; _i < t2; ++_i) {
51539 complex = t1[_i];
51540 if (complex instanceof A.SassString)
51541 result.push(complex._string$_text);
51542 else if (complex instanceof A.SassList && complex._separator === B.ListSeparator_woc) {
51543 string = complex._selectorStringOrNull$0();
51544 if (string == null)
51545 return _null;
51546 result.push(string);
51547 } else
51548 return _null;
51549 }
51550 break;
51551 case B.ListSeparator_1gm:
51552 return _null;
51553 default:
51554 for (_i = 0; _i < t2; ++_i) {
51555 compound = t1[_i];
51556 if (compound instanceof A.SassString)
51557 result.push(compound._string$_text);
51558 else
51559 return _null;
51560 }
51561 break;
51562 }
51563 return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_kWM ? ", " : " ");
51564 },
51565 withListContents$2$separator(contents, separator) {
51566 var t1 = separator == null ? this.get$separator(this) : separator,
51567 t2 = this.get$hasBrackets();
51568 return A.SassList$(contents, t1, t2);
51569 },
51570 withListContents$1(contents) {
51571 return this.withListContents$2$separator(contents, null);
51572 },
51573 greaterThan$1(other) {
51574 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
51575 },
51576 greaterThanOrEquals$1(other) {
51577 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
51578 },
51579 lessThan$1(other) {
51580 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
51581 },
51582 lessThanOrEquals$1(other) {
51583 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
51584 },
51585 times$1(other) {
51586 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".'));
51587 },
51588 modulo$1(other) {
51589 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".'));
51590 },
51591 plus$1(other) {
51592 if (other instanceof A.SassString)
51593 return new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
51594 else if (other instanceof A.SassCalculation)
51595 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51596 else
51597 return new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
51598 },
51599 minus$1(other) {
51600 if (other instanceof A.SassCalculation)
51601 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51602 else
51603 return new A.SassString(A.serializeValue(this, false, true) + "-" + A.serializeValue(other, false, true), false);
51604 },
51605 dividedBy$1(other) {
51606 return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
51607 },
51608 unaryPlus$0() {
51609 return new A.SassString("+" + A.serializeValue(this, false, true), false);
51610 },
51611 unaryMinus$0() {
51612 return new A.SassString("-" + A.serializeValue(this, false, true), false);
51613 },
51614 unaryNot$0() {
51615 return B.SassBoolean_false;
51616 },
51617 withoutSlash$0() {
51618 return this;
51619 },
51620 toString$0(_) {
51621 return A.serializeValue(this, true, true);
51622 },
51623 _value$_exception$2(message, $name) {
51624 return new A.SassScriptException($name == null ? message : "$" + $name + ": " + message);
51625 }
51626 };
51627 A.SassArgumentList.prototype = {};
51628 A.SassBoolean.prototype = {
51629 get$isTruthy() {
51630 return this.value;
51631 },
51632 accept$1$1(visitor) {
51633 return visitor._serialize$_buffer.write$1(0, String(this.value));
51634 },
51635 accept$1(visitor) {
51636 return this.accept$1$1(visitor, type$.dynamic);
51637 },
51638 unaryNot$0() {
51639 return this.value ? B.SassBoolean_false : B.SassBoolean_true;
51640 }
51641 };
51642 A.SassCalculation.prototype = {
51643 get$isSpecialNumber() {
51644 return true;
51645 },
51646 accept$1$1(visitor) {
51647 var t2,
51648 t1 = visitor._serialize$_buffer;
51649 t1.write$1(0, this.name);
51650 t1.writeCharCode$1(40);
51651 t2 = visitor._style === B.OutputStyle_compressed ? "," : ", ";
51652 visitor._writeBetween$3(this.$arguments, t2, visitor.get$_writeCalculationValue());
51653 t1.writeCharCode$1(41);
51654 return null;
51655 },
51656 accept$1(visitor) {
51657 return this.accept$1$1(visitor, type$.dynamic);
51658 },
51659 assertCalculation$1($name) {
51660 return this;
51661 },
51662 plus$1(other) {
51663 if (other instanceof A.SassString)
51664 return this.super$Value$plus(other);
51665 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51666 },
51667 minus$1(other) {
51668 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51669 },
51670 unaryPlus$0() {
51671 return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".'));
51672 },
51673 unaryMinus$0() {
51674 return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".'));
51675 },
51676 $eq(_, other) {
51677 if (other == null)
51678 return false;
51679 return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
51680 },
51681 get$hashCode(_) {
51682 return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
51683 }
51684 };
51685 A.SassCalculation__verifyLength_closure.prototype = {
51686 call$1(arg) {
51687 return arg instanceof A.SassString || arg instanceof A.CalculationInterpolation;
51688 },
51689 $signature: 105
51690 };
51691 A.CalculationOperation.prototype = {
51692 $eq(_, other) {
51693 if (other == null)
51694 return false;
51695 return other instanceof A.CalculationOperation && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
51696 },
51697 get$hashCode(_) {
51698 return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
51699 },
51700 toString$0(_) {
51701 var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
51702 return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
51703 }
51704 };
51705 A.CalculationOperator.prototype = {
51706 toString$0(_) {
51707 return this.name;
51708 }
51709 };
51710 A.CalculationInterpolation.prototype = {
51711 $eq(_, other) {
51712 if (other == null)
51713 return false;
51714 return other instanceof A.CalculationInterpolation && this.value === other.value;
51715 },
51716 get$hashCode(_) {
51717 return B.JSString_methods.get$hashCode(this.value);
51718 },
51719 toString$0(_) {
51720 return this.value;
51721 }
51722 };
51723 A.SassColor.prototype = {
51724 get$red(_) {
51725 var t1;
51726 if (this._red == null)
51727 this._hslToRgb$0();
51728 t1 = this._red;
51729 t1.toString;
51730 return t1;
51731 },
51732 get$green(_) {
51733 var t1;
51734 if (this._green == null)
51735 this._hslToRgb$0();
51736 t1 = this._green;
51737 t1.toString;
51738 return t1;
51739 },
51740 get$blue(_) {
51741 var t1;
51742 if (this._blue == null)
51743 this._hslToRgb$0();
51744 t1 = this._blue;
51745 t1.toString;
51746 return t1;
51747 },
51748 get$hue(_) {
51749 var t1;
51750 if (this._hue == null)
51751 this._rgbToHsl$0();
51752 t1 = this._hue;
51753 t1.toString;
51754 return t1;
51755 },
51756 get$saturation(_) {
51757 var t1;
51758 if (this._saturation == null)
51759 this._rgbToHsl$0();
51760 t1 = this._saturation;
51761 t1.toString;
51762 return t1;
51763 },
51764 get$lightness(_) {
51765 var t1;
51766 if (this._lightness == null)
51767 this._rgbToHsl$0();
51768 t1 = this._lightness;
51769 t1.toString;
51770 return t1;
51771 },
51772 get$whiteness(_) {
51773 var _this = this;
51774 return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
51775 },
51776 get$blackness(_) {
51777 var _this = this;
51778 return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
51779 },
51780 accept$1$1(visitor) {
51781 var $name, hexLength, t1, format, t2, opaque, _this = this;
51782 if (visitor._style === B.OutputStyle_compressed)
51783 if (!(Math.abs(_this._alpha - 1) < $.$get$epsilon()))
51784 visitor._writeRgb$1(_this);
51785 else {
51786 $name = $.$get$namesByColor().$index(0, _this);
51787 hexLength = visitor._canUseShortHex$1(_this) ? 4 : 7;
51788 if ($name != null && $name.length <= hexLength)
51789 visitor._serialize$_buffer.write$1(0, $name);
51790 else {
51791 t1 = visitor._serialize$_buffer;
51792 if (visitor._canUseShortHex$1(_this)) {
51793 t1.writeCharCode$1(35);
51794 t1.writeCharCode$1(A.hexCharFor(_this.get$red(_this) & 15));
51795 t1.writeCharCode$1(A.hexCharFor(_this.get$green(_this) & 15));
51796 t1.writeCharCode$1(A.hexCharFor(_this.get$blue(_this) & 15));
51797 } else {
51798 t1.writeCharCode$1(35);
51799 visitor._writeHexComponent$1(_this.get$red(_this));
51800 visitor._writeHexComponent$1(_this.get$green(_this));
51801 visitor._writeHexComponent$1(_this.get$blue(_this));
51802 }
51803 }
51804 }
51805 else {
51806 format = _this.format;
51807 if (format != null)
51808 if (format === B._ColorFormatEnum_rgbFunction)
51809 visitor._writeRgb$1(_this);
51810 else {
51811 t1 = visitor._serialize$_buffer;
51812 if (format === B._ColorFormatEnum_hslFunction) {
51813 t2 = _this._alpha;
51814 opaque = Math.abs(t2 - 1) < $.$get$epsilon();
51815 t1.write$1(0, opaque ? "hsl(" : "hsla(");
51816 visitor._writeNumber$1(_this.get$hue(_this));
51817 t1.write$1(0, "deg");
51818 t1.write$1(0, ", ");
51819 visitor._writeNumber$1(_this.get$saturation(_this));
51820 t1.writeCharCode$1(37);
51821 t1.write$1(0, ", ");
51822 visitor._writeNumber$1(_this.get$lightness(_this));
51823 t1.writeCharCode$1(37);
51824 if (!opaque) {
51825 t1.write$1(0, ", ");
51826 visitor._writeNumber$1(t2);
51827 }
51828 t1.writeCharCode$1(41);
51829 } else {
51830 t2 = type$.SpanColorFormat._as(format)._color$_span;
51831 t1.write$1(0, A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null));
51832 }
51833 }
51834 else {
51835 t1 = $.$get$namesByColor();
51836 if (t1.containsKey$1(_this) && !(Math.abs(_this._alpha - 0) < $.$get$epsilon()))
51837 visitor._serialize$_buffer.write$1(0, t1.$index(0, _this));
51838 else if (Math.abs(_this._alpha - 1) < $.$get$epsilon()) {
51839 visitor._serialize$_buffer.writeCharCode$1(35);
51840 visitor._writeHexComponent$1(_this.get$red(_this));
51841 visitor._writeHexComponent$1(_this.get$green(_this));
51842 visitor._writeHexComponent$1(_this.get$blue(_this));
51843 } else
51844 visitor._writeRgb$1(_this);
51845 }
51846 }
51847 return null;
51848 },
51849 accept$1(visitor) {
51850 return this.accept$1$1(visitor, type$.dynamic);
51851 },
51852 assertColor$1($name) {
51853 return this;
51854 },
51855 changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
51856 return A.SassColor$rgb(red, green, blue, alpha == null ? this._alpha : alpha);
51857 },
51858 changeRgb$3$blue$green$red(blue, green, red) {
51859 return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
51860 },
51861 changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
51862 var _this = this, _null = null,
51863 t1 = hue == null ? _this.get$hue(_this) : hue,
51864 t2 = saturation == null ? _this.get$saturation(_this) : saturation,
51865 t3 = lightness == null ? _this.get$lightness(_this) : lightness,
51866 t4 = alpha == null ? _this._alpha : alpha;
51867 t1 = B.JSNumber_methods.$mod(t1, 360);
51868 t2 = A.fuzzyAssertRange(t2, 0, 100, "saturation");
51869 t3 = A.fuzzyAssertRange(t3, 0, 100, "lightness");
51870 t4 = A.fuzzyAssertRange(t4, 0, 1, "alpha");
51871 return new A.SassColor(_null, _null, _null, t1, t2, t3, t4, _null);
51872 },
51873 changeHsl$1$saturation(saturation) {
51874 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
51875 },
51876 changeHsl$1$lightness(lightness) {
51877 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
51878 },
51879 changeHsl$1$hue(hue) {
51880 return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
51881 },
51882 changeAlpha$1(alpha) {
51883 var _this = this;
51884 return new A.SassColor(_this._red, _this._green, _this._blue, _this._hue, _this._saturation, _this._lightness, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), null);
51885 },
51886 plus$1(other) {
51887 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51888 return this.super$Value$plus(other);
51889 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51890 },
51891 minus$1(other) {
51892 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51893 return this.super$Value$minus(other);
51894 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51895 },
51896 dividedBy$1(other) {
51897 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51898 return this.super$Value$dividedBy(other);
51899 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".'));
51900 },
51901 $eq(_, other) {
51902 var _this = this;
51903 if (other == null)
51904 return false;
51905 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;
51906 },
51907 get$hashCode(_) {
51908 var _this = this;
51909 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);
51910 },
51911 _rgbToHsl$0() {
51912 var t2, lightness, _this = this,
51913 scaledRed = _this.get$red(_this) / 255,
51914 scaledGreen = _this.get$green(_this) / 255,
51915 scaledBlue = _this.get$blue(_this) / 255,
51916 max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
51917 min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
51918 delta = max - min,
51919 t1 = max === min;
51920 if (t1)
51921 _this._hue = 0;
51922 else if (max === scaledRed)
51923 _this._hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
51924 else if (max === scaledGreen)
51925 _this._hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
51926 else if (max === scaledBlue)
51927 _this._hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
51928 t2 = max + min;
51929 lightness = 50 * t2;
51930 _this._lightness = lightness;
51931 if (t1)
51932 _this._saturation = 0;
51933 else {
51934 t1 = 100 * delta;
51935 if (lightness < 50)
51936 _this._saturation = t1 / t2;
51937 else
51938 _this._saturation = t1 / (2 - max - min);
51939 }
51940 },
51941 _hslToRgb$0() {
51942 var _this = this,
51943 scaledHue = _this.get$hue(_this) / 360,
51944 scaledSaturation = _this.get$saturation(_this) / 100,
51945 scaledLightness = _this.get$lightness(_this) / 100,
51946 m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
51947 m1 = scaledLightness * 2 - m2;
51948 _this._red = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue + 0.3333333333333333) * 255);
51949 _this._green = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue) * 255);
51950 _this._blue = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue - 0.3333333333333333) * 255);
51951 }
51952 };
51953 A.SassColor_SassColor$hwb_toRgb.prototype = {
51954 call$1(hue) {
51955 return A.fuzzyRound((A.SassColor__hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
51956 },
51957 $signature: 44
51958 };
51959 A._ColorFormatEnum.prototype = {
51960 toString$0(_) {
51961 return this._color$_name;
51962 }
51963 };
51964 A.SpanColorFormat.prototype = {};
51965 A.SassFunction.prototype = {
51966 accept$1$1(visitor) {
51967 var t1, t2;
51968 if (!visitor._inspect)
51969 A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value."));
51970 t1 = visitor._serialize$_buffer;
51971 t1.write$1(0, "get-function(");
51972 t2 = this.callable;
51973 visitor._visitQuotedString$1(t2.get$name(t2));
51974 t1.writeCharCode$1(41);
51975 return null;
51976 },
51977 accept$1(visitor) {
51978 return this.accept$1$1(visitor, type$.dynamic);
51979 },
51980 assertFunction$1($name) {
51981 return this;
51982 },
51983 $eq(_, other) {
51984 if (other == null)
51985 return false;
51986 return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
51987 },
51988 get$hashCode(_) {
51989 var t1 = this.callable;
51990 return t1.get$hashCode(t1);
51991 }
51992 };
51993 A.SassList.prototype = {
51994 get$separator(_) {
51995 return this._separator;
51996 },
51997 get$hasBrackets() {
51998 return this._hasBrackets;
51999 },
52000 get$isBlank() {
52001 return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
52002 },
52003 get$asList() {
52004 return this._list$_contents;
52005 },
52006 get$lengthAsList() {
52007 return this._list$_contents.length;
52008 },
52009 SassList$3$brackets(contents, _separator, brackets) {
52010 if (this._separator === B.ListSeparator_undecided_null && this._list$_contents.length > 1)
52011 throw A.wrapException(A.ArgumentError$(string$.A_list, null));
52012 },
52013 accept$1$1(visitor) {
52014 return visitor.visitList$1(this);
52015 },
52016 accept$1(visitor) {
52017 return this.accept$1$1(visitor, type$.dynamic);
52018 },
52019 assertMap$1($name) {
52020 return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
52021 },
52022 tryMap$0() {
52023 return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
52024 },
52025 $eq(_, other) {
52026 var t1, _this = this;
52027 if (other == null)
52028 return false;
52029 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)))
52030 t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
52031 else
52032 t1 = true;
52033 return t1;
52034 },
52035 get$hashCode(_) {
52036 return B.C_ListEquality0.hash$1(this._list$_contents);
52037 }
52038 };
52039 A.SassList_isBlank_closure.prototype = {
52040 call$1(element) {
52041 return element.get$isBlank();
52042 },
52043 $signature: 68
52044 };
52045 A.ListSeparator.prototype = {
52046 toString$0(_) {
52047 return this._list$_name;
52048 }
52049 };
52050 A.SassMap.prototype = {
52051 get$separator(_) {
52052 var t1 = this._map$_contents;
52053 return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null : B.ListSeparator_kWM;
52054 },
52055 get$asList() {
52056 var result = A._setArrayType([], type$.JSArray_Value);
52057 this._map$_contents.forEach$1(0, new A.SassMap_asList_closure(result));
52058 return result;
52059 },
52060 get$lengthAsList() {
52061 var t1 = this._map$_contents;
52062 return t1.get$length(t1);
52063 },
52064 accept$1$1(visitor) {
52065 return visitor.visitMap$1(this);
52066 },
52067 accept$1(visitor) {
52068 return this.accept$1$1(visitor, type$.dynamic);
52069 },
52070 assertMap$1($name) {
52071 return this;
52072 },
52073 tryMap$0() {
52074 return this;
52075 },
52076 $eq(_, other) {
52077 var t1;
52078 if (other == null)
52079 return false;
52080 if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
52081 t1 = this._map$_contents;
52082 t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
52083 } else
52084 t1 = true;
52085 return t1;
52086 },
52087 get$hashCode(_) {
52088 var t1 = this._map$_contents;
52089 return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty5) : B.C_MapEquality.hash$1(t1);
52090 }
52091 };
52092 A.SassMap_asList_closure.prototype = {
52093 call$2(key, value) {
52094 this.result.push(A.SassList$(A._setArrayType([key, value], type$.JSArray_Value), B.ListSeparator_woc, false));
52095 },
52096 $signature: 59
52097 };
52098 A._SassNull.prototype = {
52099 get$isTruthy() {
52100 return false;
52101 },
52102 get$isBlank() {
52103 return true;
52104 },
52105 get$realNull() {
52106 return null;
52107 },
52108 accept$1$1(visitor) {
52109 if (visitor._inspect)
52110 visitor._serialize$_buffer.write$1(0, "null");
52111 return null;
52112 },
52113 accept$1(visitor) {
52114 return this.accept$1$1(visitor, type$.dynamic);
52115 },
52116 unaryNot$0() {
52117 return B.SassBoolean_true;
52118 }
52119 };
52120 A.SassNumber.prototype = {
52121 get$unitString() {
52122 var _this = this;
52123 return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
52124 },
52125 accept$1$1(visitor) {
52126 return visitor.visitNumber$1(this);
52127 },
52128 accept$1(visitor) {
52129 return this.accept$1$1(visitor, type$.dynamic);
52130 },
52131 withoutSlash$0() {
52132 var _this = this;
52133 return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
52134 },
52135 assertNumber$1($name) {
52136 return this;
52137 },
52138 assertNumber$0() {
52139 return this.assertNumber$1(null);
52140 },
52141 assertInt$1($name) {
52142 var t1 = this._number$_value,
52143 integer = A.fuzzyIsInt(t1) ? B.JSNumber_methods.round$0(t1) : null;
52144 if (integer != null)
52145 return integer;
52146 throw A.wrapException(this._number$_exception$2(this.toString$0(0) + " is not an int.", $name));
52147 },
52148 assertInt$0() {
52149 return this.assertInt$1(null);
52150 },
52151 valueInRange$3(min, max, $name) {
52152 var _this = this,
52153 result = A.fuzzyCheckRange(_this._number$_value, min, max);
52154 if (result != null)
52155 return result;
52156 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));
52157 },
52158 hasCompatibleUnits$1(other) {
52159 var _this = this;
52160 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
52161 return false;
52162 if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
52163 return false;
52164 return _this.isComparableTo$1(other);
52165 },
52166 assertUnit$2(unit, $name) {
52167 if (this.hasUnit$1(unit))
52168 return;
52169 throw A.wrapException(this._number$_exception$2("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
52170 },
52171 assertNoUnits$1($name) {
52172 if (!this.get$hasUnits())
52173 return;
52174 throw A.wrapException(this._number$_exception$2("Expected " + this.toString$0(0) + " to have no units.", $name));
52175 },
52176 convertValueToMatch$3(other, $name, otherName) {
52177 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
52178 },
52179 coerce$3(newNumerators, newDenominators, $name) {
52180 return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
52181 },
52182 coerce$2(newNumerators, newDenominators) {
52183 return this.coerce$3(newNumerators, newDenominators, null);
52184 },
52185 coerceValue$3(newNumerators, newDenominators, $name) {
52186 return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
52187 },
52188 coerceValueToUnit$2(unit, $name) {
52189 var t1 = type$.JSArray_String;
52190 return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
52191 },
52192 coerceValueToMatch$3(other, $name, otherName) {
52193 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
52194 },
52195 coerceValueToMatch$1(other) {
52196 return this.coerceValueToMatch$3(other, null, null);
52197 },
52198 _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
52199 var otherHasUnits, t1, _compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
52200 if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
52201 return _this._number$_value;
52202 otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
52203 if (coerceUnitless)
52204 t1 = !_this.get$hasUnits() || !otherHasUnits;
52205 else
52206 t1 = false;
52207 if (t1)
52208 return _this._number$_value;
52209 _compatibilityException = new A.SassNumber__coerceOrConvertValue__compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
52210 _box_0.value = _this._number$_value;
52211 t1 = _this.get$numeratorUnits(_this);
52212 oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
52213 for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
52214 A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(_compatibilityException));
52215 t1 = _this.get$denominatorUnits(_this);
52216 oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
52217 for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
52218 A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(_compatibilityException));
52219 if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
52220 throw A.wrapException(_compatibilityException.call$0());
52221 return _box_0.value;
52222 },
52223 _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
52224 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
52225 },
52226 isComparableTo$1(other) {
52227 var exception;
52228 if (!this.get$hasUnits() || !other.get$hasUnits())
52229 return true;
52230 try {
52231 this.greaterThan$1(other);
52232 return true;
52233 } catch (exception) {
52234 if (A.unwrapException(exception) instanceof A.SassScriptException)
52235 return false;
52236 else
52237 throw exception;
52238 }
52239 },
52240 greaterThan$1(other) {
52241 if (other instanceof A.SassNumber)
52242 return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
52243 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
52244 },
52245 greaterThanOrEquals$1(other) {
52246 if (other instanceof A.SassNumber)
52247 return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
52248 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
52249 },
52250 lessThan$1(other) {
52251 if (other instanceof A.SassNumber)
52252 return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
52253 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
52254 },
52255 lessThanOrEquals$1(other) {
52256 if (other instanceof A.SassNumber)
52257 return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
52258 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
52259 },
52260 modulo$1(other) {
52261 var _this = this;
52262 if (other instanceof A.SassNumber)
52263 return _this.withValue$1(_this._coerceUnits$2(other, _this.get$moduloLikeSass()));
52264 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " % " + other.toString$0(0) + '".'));
52265 },
52266 moduloLikeSass$2(num1, num2) {
52267 var result;
52268 if (num2 > 0)
52269 return B.JSNumber_methods.$mod(num1, num2);
52270 if (num2 === 0)
52271 return 0 / 0;
52272 result = B.JSNumber_methods.$mod(num1, num2);
52273 return result === 0 ? 0 : result + num2;
52274 },
52275 plus$1(other) {
52276 var _this = this;
52277 if (other instanceof A.SassNumber)
52278 return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
52279 if (!(other instanceof A.SassColor))
52280 return _this.super$Value$plus(other);
52281 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".'));
52282 },
52283 minus$1(other) {
52284 var _this = this;
52285 if (other instanceof A.SassNumber)
52286 return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
52287 if (!(other instanceof A.SassColor))
52288 return _this.super$Value$minus(other);
52289 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".'));
52290 },
52291 times$1(other) {
52292 var _this = this;
52293 if (other instanceof A.SassNumber) {
52294 if (!other.get$hasUnits())
52295 return _this.withValue$1(_this._number$_value * other._number$_value);
52296 return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
52297 }
52298 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".'));
52299 },
52300 dividedBy$1(other) {
52301 var _this = this;
52302 if (other instanceof A.SassNumber) {
52303 if (!other.get$hasUnits())
52304 return _this.withValue$1(_this._number$_value / other._number$_value);
52305 return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
52306 }
52307 return _this.super$Value$dividedBy(other);
52308 },
52309 unaryPlus$0() {
52310 return this;
52311 },
52312 _coerceUnits$1$2(other, operation) {
52313 var t1, exception;
52314 try {
52315 t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
52316 return t1;
52317 } catch (exception) {
52318 if (A.unwrapException(exception) instanceof A.SassScriptException) {
52319 this.coerceValueToMatch$1(other);
52320 throw exception;
52321 } else
52322 throw exception;
52323 }
52324 },
52325 _coerceUnits$2(other, operation) {
52326 return this._coerceUnits$1$2(other, operation, type$.dynamic);
52327 },
52328 multiplyUnits$3(value, otherNumerators, otherDenominators) {
52329 var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
52330 _box_0.value = value;
52331 if (_this.get$numeratorUnits(_this).length === 0) {
52332 if (otherDenominators.length === 0 && !_this._areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
52333 return A.SassNumber_SassNumber$withUnits(value, _this.get$denominatorUnits(_this), otherNumerators);
52334 else if (_this.get$denominatorUnits(_this).length === 0)
52335 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, otherNumerators);
52336 } else if (otherNumerators.length === 0)
52337 if (otherDenominators.length === 0)
52338 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
52339 else if (_this.get$denominatorUnits(_this).length === 0 && !_this._areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
52340 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
52341 newNumerators = A._setArrayType([], type$.JSArray_String);
52342 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
52343 for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
52344 numerator = t1[_i];
52345 A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
52346 }
52347 t1 = _this.get$denominatorUnits(_this);
52348 mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
52349 for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
52350 numerator = otherNumerators[_i];
52351 A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
52352 }
52353 t1 = _box_0.value;
52354 B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
52355 return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
52356 },
52357 _areAnyConvertible$2(units1, units2) {
52358 return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
52359 },
52360 _unitString$2(numerators, denominators) {
52361 var t1;
52362 if (numerators.length === 0) {
52363 t1 = denominators.length;
52364 if (t1 === 0)
52365 return "no units";
52366 if (t1 === 1)
52367 return J.$add$ansx(B.JSArray_methods.get$single(denominators), "^-1");
52368 return "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
52369 }
52370 if (denominators.length === 0)
52371 return B.JSArray_methods.join$1(numerators, "*");
52372 return B.JSArray_methods.join$1(numerators, "*") + "/" + B.JSArray_methods.join$1(denominators, "*");
52373 },
52374 $eq(_, other) {
52375 var _this = this;
52376 if (other == null)
52377 return false;
52378 if (other instanceof A.SassNumber) {
52379 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
52380 return false;
52381 if (!_this.get$hasUnits())
52382 return Math.abs(_this._number$_value - other._number$_value) < $.$get$epsilon();
52383 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))))
52384 return false;
52385 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();
52386 } else
52387 return false;
52388 },
52389 get$hashCode(_) {
52390 var _this = this,
52391 t1 = _this.hashCache;
52392 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;
52393 },
52394 _canonicalizeUnitList$1(units) {
52395 var type,
52396 t1 = units.length;
52397 if (t1 === 0)
52398 return units;
52399 if (t1 === 1) {
52400 type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
52401 if (type == null)
52402 t1 = units;
52403 else {
52404 t1 = B.Map_U8AHF.$index(0, type);
52405 t1.toString;
52406 t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
52407 }
52408 return t1;
52409 }
52410 t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
52411 t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
52412 B.JSArray_methods.sort$0(t1);
52413 return t1;
52414 },
52415 _canonicalMultiplier$1(units) {
52416 return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
52417 },
52418 canonicalMultiplierForUnit$1(unit) {
52419 var t1,
52420 innerMap = B.Map_K2BWj.$index(0, unit);
52421 if (innerMap == null)
52422 t1 = 1;
52423 else {
52424 t1 = innerMap.get$values(innerMap);
52425 t1 = 1 / t1.get$first(t1);
52426 }
52427 return t1;
52428 },
52429 _number$_exception$2(message, $name) {
52430 return new A.SassScriptException($name == null ? message : "$" + $name + ": " + message);
52431 }
52432 };
52433 A.SassNumber__coerceOrConvertValue__compatibilityException.prototype = {
52434 call$0() {
52435 var t2, t3, message, t4, type, unit, _this = this,
52436 t1 = _this.other;
52437 if (t1 != null) {
52438 t2 = _this.$this;
52439 t3 = t2.toString$0(0) + " and";
52440 message = new A.StringBuffer(t3);
52441 t4 = _this.otherName;
52442 if (t4 != null)
52443 t3 = message._contents = t3 + (" $" + t4 + ":");
52444 t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
52445 message._contents = t1;
52446 if (!t2.get$hasUnits() || !_this.otherHasUnits)
52447 message._contents = t1 + " (one has units and the other doesn't)";
52448 t1 = message.toString$0(0) + ".";
52449 t2 = _this.name;
52450 return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
52451 } else if (!_this.otherHasUnits) {
52452 t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
52453 t2 = _this.name;
52454 return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
52455 } else {
52456 t1 = _this.newNumerators;
52457 if (t1.length === 1 && _this.newDenominators.length === 0) {
52458 type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
52459 if (type != null) {
52460 t1 = "Expected " + _this.$this.toString$0(0) + " to have ";
52461 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 (";
52462 t2 = B.Map_U8AHF.$index(0, type);
52463 t2.toString;
52464 t2 = t1 + B.JSArray_methods.join$1(t2, ", ") + ").";
52465 t1 = _this.name;
52466 return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
52467 }
52468 }
52469 t2 = _this.newDenominators;
52470 unit = A.pluralize("unit", t1.length + t2.length, null);
52471 t3 = _this.$this;
52472 t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
52473 t1 = _this.name;
52474 return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
52475 }
52476 },
52477 $signature: 403
52478 };
52479 A.SassNumber__coerceOrConvertValue_closure.prototype = {
52480 call$1(oldNumerator) {
52481 var factor = A.conversionFactor(this.newNumerator, oldNumerator);
52482 if (factor == null)
52483 return false;
52484 this._box_0.value *= factor;
52485 return true;
52486 },
52487 $signature: 6
52488 };
52489 A.SassNumber__coerceOrConvertValue_closure0.prototype = {
52490 call$0() {
52491 return A.throwExpression(this._compatibilityException.call$0());
52492 },
52493 $signature: 0
52494 };
52495 A.SassNumber__coerceOrConvertValue_closure1.prototype = {
52496 call$1(oldDenominator) {
52497 var factor = A.conversionFactor(this.newDenominator, oldDenominator);
52498 if (factor == null)
52499 return false;
52500 this._box_0.value /= factor;
52501 return true;
52502 },
52503 $signature: 6
52504 };
52505 A.SassNumber__coerceOrConvertValue_closure2.prototype = {
52506 call$0() {
52507 return A.throwExpression(this._compatibilityException.call$0());
52508 },
52509 $signature: 0
52510 };
52511 A.SassNumber_plus_closure.prototype = {
52512 call$2(num1, num2) {
52513 return num1 + num2;
52514 },
52515 $signature: 56
52516 };
52517 A.SassNumber_minus_closure.prototype = {
52518 call$2(num1, num2) {
52519 return num1 - num2;
52520 },
52521 $signature: 56
52522 };
52523 A.SassNumber_multiplyUnits_closure.prototype = {
52524 call$1(denominator) {
52525 var factor = A.conversionFactor(this.numerator, denominator);
52526 if (factor == null)
52527 return false;
52528 this._box_0.value /= factor;
52529 return true;
52530 },
52531 $signature: 6
52532 };
52533 A.SassNumber_multiplyUnits_closure0.prototype = {
52534 call$0() {
52535 return this.newNumerators.push(this.numerator);
52536 },
52537 $signature: 0
52538 };
52539 A.SassNumber_multiplyUnits_closure1.prototype = {
52540 call$1(denominator) {
52541 var factor = A.conversionFactor(this.numerator, denominator);
52542 if (factor == null)
52543 return false;
52544 this._box_0.value /= factor;
52545 return true;
52546 },
52547 $signature: 6
52548 };
52549 A.SassNumber_multiplyUnits_closure2.prototype = {
52550 call$0() {
52551 return this.newNumerators.push(this.numerator);
52552 },
52553 $signature: 0
52554 };
52555 A.SassNumber__areAnyConvertible_closure.prototype = {
52556 call$1(unit1) {
52557 var innerMap = B.Map_K2BWj.$index(0, unit1);
52558 if (innerMap == null)
52559 return B.JSArray_methods.contains$1(this.units2, unit1);
52560 return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
52561 },
52562 $signature: 6
52563 };
52564 A.SassNumber__canonicalizeUnitList_closure.prototype = {
52565 call$1(unit) {
52566 var t1,
52567 type = $.$get$_typesByUnit().$index(0, unit);
52568 if (type == null)
52569 t1 = unit;
52570 else {
52571 t1 = B.Map_U8AHF.$index(0, type);
52572 t1.toString;
52573 t1 = B.JSArray_methods.get$first(t1);
52574 }
52575 return t1;
52576 },
52577 $signature: 5
52578 };
52579 A.SassNumber__canonicalMultiplier_closure.prototype = {
52580 call$2(multiplier, unit) {
52581 return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
52582 },
52583 $signature: 224
52584 };
52585 A.ComplexSassNumber.prototype = {
52586 get$numeratorUnits(_) {
52587 return this._numeratorUnits;
52588 },
52589 get$denominatorUnits(_) {
52590 return this._denominatorUnits;
52591 },
52592 get$hasUnits() {
52593 return true;
52594 },
52595 hasUnit$1(unit) {
52596 return false;
52597 },
52598 compatibleWithUnit$1(unit) {
52599 return false;
52600 },
52601 hasPossiblyCompatibleUnits$1(other) {
52602 throw A.wrapException(A.UnimplementedError$(string$.Comple));
52603 },
52604 withValue$1(value) {
52605 return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
52606 },
52607 withSlash$2(numerator, denominator) {
52608 return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52609 }
52610 };
52611 A.SingleUnitSassNumber.prototype = {
52612 get$numeratorUnits(_) {
52613 return A.List_List$unmodifiable([this._unit], type$.String);
52614 },
52615 get$denominatorUnits(_) {
52616 return B.List_empty;
52617 },
52618 get$hasUnits() {
52619 return true;
52620 },
52621 withValue$1(value) {
52622 return new A.SingleUnitSassNumber(this._unit, value, null);
52623 },
52624 withSlash$2(numerator, denominator) {
52625 return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52626 },
52627 hasUnit$1(unit) {
52628 return unit === this._unit;
52629 },
52630 hasCompatibleUnits$1(other) {
52631 return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
52632 },
52633 hasPossiblyCompatibleUnits$1(other) {
52634 var t1, knownCompatibilities, otherUnit;
52635 if (!(other instanceof A.SingleUnitSassNumber))
52636 return false;
52637 t1 = $.$get$_knownCompatibilitiesByUnit();
52638 knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
52639 if (knownCompatibilities == null)
52640 return true;
52641 otherUnit = other._unit.toLowerCase();
52642 return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
52643 },
52644 compatibleWithUnit$1(unit) {
52645 return A.conversionFactor(this._unit, unit) != null;
52646 },
52647 coerceValueToMatch$1(other) {
52648 var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
52649 return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, null, null) : t1;
52650 },
52651 convertValueToMatch$3(other, $name, otherName) {
52652 var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
52653 return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
52654 },
52655 coerce$2(newNumerators, newDenominators) {
52656 var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
52657 return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
52658 },
52659 coerceValue$3(newNumerators, newDenominators, $name) {
52660 var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
52661 return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
52662 },
52663 coerceValueToUnit$2(unit, $name) {
52664 var t1 = this._coerceValueToUnit$1(unit);
52665 return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
52666 },
52667 _coerceToUnit$1(unit) {
52668 var t1 = this._unit;
52669 if (t1 === unit)
52670 return this;
52671 return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
52672 },
52673 _coerceValueToUnit$1(unit) {
52674 return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
52675 },
52676 multiplyUnits$3(value, otherNumerators, otherDenominators) {
52677 var mutableOtherDenominators, t1 = {};
52678 t1.value = value;
52679 t1.newNumerators = otherNumerators;
52680 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
52681 A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
52682 return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
52683 },
52684 unaryMinus$0() {
52685 return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
52686 },
52687 $eq(_, other) {
52688 var factor;
52689 if (other == null)
52690 return false;
52691 if (other instanceof A.SingleUnitSassNumber) {
52692 factor = A.conversionFactor(other._unit, this._unit);
52693 return factor != null && Math.abs(this._number$_value * factor - other._number$_value) < $.$get$epsilon();
52694 } else
52695 return false;
52696 },
52697 get$hashCode(_) {
52698 var _this = this,
52699 t1 = _this.hashCache;
52700 return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
52701 }
52702 };
52703 A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
52704 call$1(factor) {
52705 return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
52706 },
52707 $signature: 409
52708 };
52709 A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
52710 call$1(factor) {
52711 return this.$this._number$_value * factor;
52712 },
52713 $signature: 73
52714 };
52715 A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
52716 call$1(denominator) {
52717 var factor = A.conversionFactor(denominator, this.$this._unit);
52718 if (factor == null)
52719 return false;
52720 this._box_0.value *= factor;
52721 return true;
52722 },
52723 $signature: 6
52724 };
52725 A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
52726 call$0() {
52727 var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
52728 t2 = this._box_0;
52729 B.JSArray_methods.addAll$1(t1, t2.newNumerators);
52730 t2.newNumerators = t1;
52731 },
52732 $signature: 0
52733 };
52734 A.UnitlessSassNumber.prototype = {
52735 get$numeratorUnits(_) {
52736 return B.List_empty;
52737 },
52738 get$denominatorUnits(_) {
52739 return B.List_empty;
52740 },
52741 get$hasUnits() {
52742 return false;
52743 },
52744 withValue$1(value) {
52745 return new A.UnitlessSassNumber(value, null);
52746 },
52747 withSlash$2(numerator, denominator) {
52748 return new A.UnitlessSassNumber(this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52749 },
52750 hasUnit$1(unit) {
52751 return false;
52752 },
52753 hasCompatibleUnits$1(other) {
52754 return other instanceof A.UnitlessSassNumber;
52755 },
52756 hasPossiblyCompatibleUnits$1(other) {
52757 return other instanceof A.UnitlessSassNumber;
52758 },
52759 compatibleWithUnit$1(unit) {
52760 return true;
52761 },
52762 coerceValueToMatch$1(other) {
52763 return this._number$_value;
52764 },
52765 convertValueToMatch$3(other, $name, otherName) {
52766 return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
52767 },
52768 coerce$2(newNumerators, newDenominators) {
52769 return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
52770 },
52771 coerceValue$3(newNumerators, newDenominators, $name) {
52772 return this._number$_value;
52773 },
52774 coerceValueToUnit$2(unit, $name) {
52775 return this._number$_value;
52776 },
52777 greaterThan$1(other) {
52778 var t1, t2;
52779 if (other instanceof A.SassNumber) {
52780 t1 = this._number$_value;
52781 t2 = other._number$_value;
52782 return t1 > t2 && !(Math.abs(t1 - t2) < $.$get$epsilon()) ? B.SassBoolean_true : B.SassBoolean_false;
52783 }
52784 return this.super$SassNumber$greaterThan(other);
52785 },
52786 greaterThanOrEquals$1(other) {
52787 var t1, t2;
52788 if (other instanceof A.SassNumber) {
52789 t1 = this._number$_value;
52790 t2 = other._number$_value;
52791 return t1 > t2 || Math.abs(t1 - t2) < $.$get$epsilon() ? B.SassBoolean_true : B.SassBoolean_false;
52792 }
52793 return this.super$SassNumber$greaterThanOrEquals(other);
52794 },
52795 lessThan$1(other) {
52796 var t1, t2;
52797 if (other instanceof A.SassNumber) {
52798 t1 = this._number$_value;
52799 t2 = other._number$_value;
52800 return t1 < t2 && !(Math.abs(t1 - t2) < $.$get$epsilon()) ? B.SassBoolean_true : B.SassBoolean_false;
52801 }
52802 return this.super$SassNumber$lessThan(other);
52803 },
52804 lessThanOrEquals$1(other) {
52805 var t1, t2;
52806 if (other instanceof A.SassNumber) {
52807 t1 = this._number$_value;
52808 t2 = other._number$_value;
52809 return t1 < t2 || Math.abs(t1 - t2) < $.$get$epsilon() ? B.SassBoolean_true : B.SassBoolean_false;
52810 }
52811 return this.super$SassNumber$lessThanOrEquals(other);
52812 },
52813 modulo$1(other) {
52814 if (other instanceof A.SassNumber)
52815 return other.withValue$1(this.moduloLikeSass$2(this._number$_value, other._number$_value));
52816 return this.super$SassNumber$modulo(other);
52817 },
52818 plus$1(other) {
52819 if (other instanceof A.SassNumber)
52820 return other.withValue$1(this._number$_value + other._number$_value);
52821 return this.super$SassNumber$plus(other);
52822 },
52823 minus$1(other) {
52824 if (other instanceof A.SassNumber)
52825 return other.withValue$1(this._number$_value - other._number$_value);
52826 return this.super$SassNumber$minus(other);
52827 },
52828 times$1(other) {
52829 if (other instanceof A.SassNumber)
52830 return other.withValue$1(this._number$_value * other._number$_value);
52831 return this.super$SassNumber$times(other);
52832 },
52833 dividedBy$1(other) {
52834 var t1, t2;
52835 if (other instanceof A.SassNumber) {
52836 t1 = this._number$_value / other._number$_value;
52837 if (other.get$hasUnits()) {
52838 t2 = other.get$denominatorUnits(other);
52839 t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
52840 t1 = t2;
52841 } else
52842 t1 = new A.UnitlessSassNumber(t1, null);
52843 return t1;
52844 }
52845 return this.super$SassNumber$dividedBy(other);
52846 },
52847 unaryMinus$0() {
52848 return new A.UnitlessSassNumber(-this._number$_value, null);
52849 },
52850 $eq(_, other) {
52851 if (other == null)
52852 return false;
52853 return other instanceof A.UnitlessSassNumber && Math.abs(this._number$_value - other._number$_value) < $.$get$epsilon();
52854 },
52855 get$hashCode(_) {
52856 var t1 = this.hashCache;
52857 return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
52858 }
52859 };
52860 A.SassString.prototype = {
52861 get$_sassLength() {
52862 var t1, result, _this = this,
52863 value = _this.__SassString__sassLength;
52864 if (value === $) {
52865 t1 = new A.Runes(_this._string$_text);
52866 result = t1.get$length(t1);
52867 A._lateInitializeOnceCheck(_this.__SassString__sassLength, "_sassLength");
52868 _this.__SassString__sassLength = result;
52869 value = result;
52870 }
52871 return value;
52872 },
52873 get$isSpecialNumber() {
52874 var t1, t2;
52875 if (this._hasQuotes)
52876 return false;
52877 t1 = this._string$_text;
52878 if (t1.length < 6)
52879 return false;
52880 t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
52881 if (t2 === 99) {
52882 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
52883 if (t2 === 108) {
52884 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
52885 return false;
52886 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
52887 return false;
52888 if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
52889 return false;
52890 return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
52891 } else if (t2 === 97) {
52892 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
52893 return false;
52894 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
52895 return false;
52896 return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
52897 } else
52898 return false;
52899 } else if (t2 === 118) {
52900 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
52901 return false;
52902 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
52903 return false;
52904 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52905 } else if (t2 === 101) {
52906 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
52907 return false;
52908 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
52909 return false;
52910 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52911 } else if (t2 === 109) {
52912 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
52913 if (t2 === 97) {
52914 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
52915 return false;
52916 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52917 } else if (t2 === 105) {
52918 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
52919 return false;
52920 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52921 } else
52922 return false;
52923 } else
52924 return false;
52925 },
52926 get$isVar() {
52927 if (this._hasQuotes)
52928 return false;
52929 var t1 = this._string$_text;
52930 if (t1.length < 8)
52931 return false;
52932 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;
52933 },
52934 get$isBlank() {
52935 return !this._hasQuotes && this._string$_text.length === 0;
52936 },
52937 accept$1$1(visitor) {
52938 var t1 = visitor._quote && this._hasQuotes,
52939 t2 = this._string$_text;
52940 if (t1)
52941 visitor._visitQuotedString$1(t2);
52942 else
52943 visitor._visitUnquotedString$1(t2);
52944 return null;
52945 },
52946 accept$1(visitor) {
52947 return this.accept$1$1(visitor, type$.dynamic);
52948 },
52949 assertString$1($name) {
52950 return this;
52951 },
52952 plus$1(other) {
52953 var t1 = this._string$_text,
52954 t2 = this._hasQuotes;
52955 if (other instanceof A.SassString)
52956 return new A.SassString(t1 + other._string$_text, t2);
52957 else
52958 return new A.SassString(t1 + A.serializeValue(other, false, true), t2);
52959 },
52960 $eq(_, other) {
52961 if (other == null)
52962 return false;
52963 return other instanceof A.SassString && this._string$_text === other._string$_text;
52964 },
52965 get$hashCode(_) {
52966 var t1 = this._hashCache;
52967 return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
52968 }
52969 };
52970 A._EvaluateVisitor0.prototype = {
52971 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
52972 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
52973 _s20_ = "$name, $module: null",
52974 _s9_ = "sass:meta",
52975 t1 = type$.JSArray_AsyncBuiltInCallable,
52976 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),
52977 metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure18(_this), _s9_)], t1);
52978 t1 = type$.AsyncBuiltInCallable;
52979 t2 = A.List_List$of($.$get$global(), true, t1);
52980 B.JSArray_methods.addAll$1(t2, $.$get$local());
52981 B.JSArray_methods.addAll$1(t2, metaFunctions);
52982 metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
52983 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) {
52984 module = t1[_i];
52985 t3.$indexSet(0, module.url, module);
52986 }
52987 t1 = A._setArrayType([], type$.JSArray_AsyncCallable);
52988 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
52989 B.JSArray_methods.addAll$1(t1, metaFunctions);
52990 for (t2 = t1.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
52991 $function = t1[_i];
52992 t4 = J.get$name$x($function);
52993 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
52994 }
52995 },
52996 run$2(_, importer, node) {
52997 return this.run$body$_EvaluateVisitor(0, importer, node);
52998 },
52999 run$body$_EvaluateVisitor(_, importer, node) {
53000 var $async$goto = 0,
53001 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
53002 $async$returnValue, $async$self = this, t1;
53003 var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53004 if ($async$errorCode === 1)
53005 return A._asyncRethrow($async$result, $async$completer);
53006 while (true)
53007 switch ($async$goto) {
53008 case 0:
53009 // Function start
53010 t1 = type$.nullable_Object;
53011 $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);
53012 // goto return
53013 $async$goto = 1;
53014 break;
53015 case 1:
53016 // return
53017 return A._asyncReturn($async$returnValue, $async$completer);
53018 }
53019 });
53020 return A._asyncStartSync($async$run$2, $async$completer);
53021 },
53022 _async_evaluate$_assertInModule$1$2(value, $name) {
53023 if (value != null)
53024 return value;
53025 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
53026 },
53027 _async_evaluate$_assertInModule$2(value, $name) {
53028 return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
53029 },
53030 _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
53031 return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
53032 },
53033 _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
53034 return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
53035 },
53036 _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
53037 return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
53038 },
53039 _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
53040 var $async$goto = 0,
53041 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
53042 $async$returnValue, $async$self = this, t1, t2, builtInModule;
53043 var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53044 if ($async$errorCode === 1)
53045 return A._asyncRethrow($async$result, $async$completer);
53046 while (true)
53047 switch ($async$goto) {
53048 case 0:
53049 // Function start
53050 builtInModule = $async$self._async_evaluate$_builtInModules.$index(0, url);
53051 $async$goto = builtInModule != null ? 3 : 4;
53052 break;
53053 case 3:
53054 // then
53055 if (configuration instanceof A.ExplicitConfiguration) {
53056 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
53057 t2 = configuration.nodeWithSpan;
53058 throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
53059 }
53060 $async$goto = 5;
53061 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);
53062 case 5:
53063 // returning from await.
53064 // goto return
53065 $async$goto = 1;
53066 break;
53067 case 4:
53068 // join
53069 $async$goto = 6;
53070 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);
53071 case 6:
53072 // returning from await.
53073 case 1:
53074 // return
53075 return A._asyncReturn($async$returnValue, $async$completer);
53076 }
53077 });
53078 return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
53079 },
53080 _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
53081 return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
53082 },
53083 _async_evaluate$_execute$2(importer, stylesheet) {
53084 return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
53085 },
53086 _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
53087 var $async$goto = 0,
53088 $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
53089 $async$returnValue, $async$self = this, currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
53090 var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53091 if ($async$errorCode === 1)
53092 return A._asyncRethrow($async$result, $async$completer);
53093 while (true)
53094 switch ($async$goto) {
53095 case 0:
53096 // Function start
53097 url = stylesheet.span.file.url;
53098 t1 = $async$self._async_evaluate$_modules;
53099 alreadyLoaded = t1.$index(0, url);
53100 if (alreadyLoaded != null) {
53101 t1 = configuration == null;
53102 currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
53103 if (currentConfiguration instanceof A.ExplicitConfiguration) {
53104 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
53105 t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
53106 existingSpan = t2 == null ? null : J.get$span$z(t2);
53107 if (t1) {
53108 t1 = currentConfiguration.nodeWithSpan;
53109 configurationSpan = t1.get$span(t1);
53110 } else
53111 configurationSpan = null;
53112 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
53113 if (existingSpan != null)
53114 t1.$indexSet(0, existingSpan, "original load");
53115 if (configurationSpan != null)
53116 t1.$indexSet(0, configurationSpan, "configuration");
53117 throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
53118 }
53119 $async$returnValue = alreadyLoaded;
53120 // goto return
53121 $async$goto = 1;
53122 break;
53123 }
53124 environment = A.AsyncEnvironment$();
53125 css = A._Cell$();
53126 extensionStore = A.ExtensionStore$();
53127 $async$goto = 3;
53128 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);
53129 case 3:
53130 // returning from await.
53131 module = environment.toModule$2(css._readLocal$0(), extensionStore);
53132 if (url != null) {
53133 t1.$indexSet(0, url, module);
53134 if (nodeWithSpan != null)
53135 $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
53136 }
53137 $async$returnValue = module;
53138 // goto return
53139 $async$goto = 1;
53140 break;
53141 case 1:
53142 // return
53143 return A._asyncReturn($async$returnValue, $async$completer);
53144 }
53145 });
53146 return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
53147 },
53148 _async_evaluate$_addOutOfOrderImports$0() {
53149 var t1, t2, _this = this, _s5_ = "_root",
53150 _s13_ = "_endOfImports",
53151 outOfOrderImports = _this._async_evaluate$_outOfOrderImports;
53152 if (outOfOrderImports == null)
53153 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
53154 t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
53155 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);
53156 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
53157 t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
53158 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")));
53159 return t1;
53160 },
53161 _async_evaluate$_combineCss$2$clone(root, clone) {
53162 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
53163 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure2())) {
53164 selectors = root.get$extensionStore().get$simpleSelectors();
53165 unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure3(selectors)));
53166 if (unsatisfiedExtension != null)
53167 _this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
53168 return root.get$css(root);
53169 }
53170 sortedModules = _this._async_evaluate$_topologicalModules$1(root);
53171 if (clone) {
53172 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<AsyncCallable>>");
53173 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure4(), t1), true, t1._eval$1("ListIterable.E"));
53174 }
53175 _this._async_evaluate$_extendModules$1(sortedModules);
53176 t1 = type$.JSArray_CssNode;
53177 imports = A._setArrayType([], t1);
53178 css = A._setArrayType([], t1);
53179 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
53180 t3 = t2._as(t1.__internal$_current);
53181 t3 = t3.get$css(t3);
53182 statements = t3.get$children(t3);
53183 index = _this._async_evaluate$_indexAfterImports$1(statements);
53184 t3 = J.getInterceptor$ax(statements);
53185 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
53186 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
53187 }
53188 t1 = B.JSArray_methods.$add(imports, css);
53189 t2 = root.get$css(root);
53190 return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
53191 },
53192 _async_evaluate$_combineCss$1(root) {
53193 return this._async_evaluate$_combineCss$2$clone(root, false);
53194 },
53195 _async_evaluate$_extendModules$1(sortedModules) {
53196 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
53197 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
53198 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
53199 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
53200 t2 = t1.get$current(t1);
53201 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
53202 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
53203 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
53204 t3 = t2.get$extensionStore().get$addExtensions();
53205 if ($self != null)
53206 t3.call$1($self);
53207 t3 = t2.get$extensionStore();
53208 if (t3.get$isEmpty(t3))
53209 continue;
53210 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
53211 upstream = t3[_i];
53212 url = upstream.get$url(upstream);
53213 if (url == null)
53214 continue;
53215 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure2()), t2.get$extensionStore());
53216 }
53217 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
53218 }
53219 if (unsatisfiedExtensions._collection$_length !== 0)
53220 this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
53221 },
53222 _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
53223 throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
53224 },
53225 _async_evaluate$_topologicalModules$1(root) {
53226 var t1 = type$.Module_AsyncCallable,
53227 sorted = A.QueueList$(null, t1);
53228 new A._EvaluateVisitor__topologicalModules_visitModule0(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
53229 return sorted;
53230 },
53231 _async_evaluate$_indexAfterImports$1(statements) {
53232 var t1, t2, t3, lastImport, i, statement;
53233 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
53234 statement = t1.$index(statements, i);
53235 if (t3._is(statement))
53236 lastImport = i;
53237 else if (!t2._is(statement))
53238 break;
53239 }
53240 return lastImport + 1;
53241 },
53242 visitStylesheet$1(node) {
53243 return this.visitStylesheet$body$_EvaluateVisitor(node);
53244 },
53245 visitStylesheet$body$_EvaluateVisitor(node) {
53246 var $async$goto = 0,
53247 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53248 $async$returnValue, $async$self = this, t1, t2, _i;
53249 var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53250 if ($async$errorCode === 1)
53251 return A._asyncRethrow($async$result, $async$completer);
53252 while (true)
53253 switch ($async$goto) {
53254 case 0:
53255 // Function start
53256 t1 = node.children, t2 = t1.length, _i = 0;
53257 case 3:
53258 // for condition
53259 if (!(_i < t2)) {
53260 // goto after for
53261 $async$goto = 5;
53262 break;
53263 }
53264 $async$goto = 6;
53265 return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
53266 case 6:
53267 // returning from await.
53268 case 4:
53269 // for update
53270 ++_i;
53271 // goto for condition
53272 $async$goto = 3;
53273 break;
53274 case 5:
53275 // after for
53276 $async$returnValue = null;
53277 // goto return
53278 $async$goto = 1;
53279 break;
53280 case 1:
53281 // return
53282 return A._asyncReturn($async$returnValue, $async$completer);
53283 }
53284 });
53285 return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
53286 },
53287 visitAtRootRule$1(node) {
53288 return this.visitAtRootRule$body$_EvaluateVisitor(node);
53289 },
53290 visitAtRootRule$body$_EvaluateVisitor(node) {
53291 var $async$goto = 0,
53292 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53293 $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
53294 var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53295 if ($async$errorCode === 1)
53296 return A._asyncRethrow($async$result, $async$completer);
53297 while (true)
53298 switch ($async$goto) {
53299 case 0:
53300 // Function start
53301 unparsedQuery = node.query;
53302 $async$goto = unparsedQuery != null ? 3 : 5;
53303 break;
53304 case 3:
53305 // then
53306 $async$temp1 = unparsedQuery;
53307 $async$temp2 = A;
53308 $async$goto = 6;
53309 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
53310 case 6:
53311 // returning from await.
53312 $async$result = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure2($async$self, $async$result));
53313 // goto join
53314 $async$goto = 4;
53315 break;
53316 case 5:
53317 // else
53318 $async$result = B.AtRootQuery_UsS;
53319 case 4:
53320 // join
53321 query = $async$result;
53322 $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
53323 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
53324 for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
53325 if (!query.excludes$1($parent))
53326 included.push($parent);
53327 grandparent = $parent._parent;
53328 if (grandparent == null)
53329 throw A.wrapException(A.StateError$(string$.CssNod));
53330 }
53331 root = $async$self._async_evaluate$_trimIncluded$1(included);
53332 $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
53333 break;
53334 case 7:
53335 // then
53336 $async$goto = 9;
53337 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);
53338 case 9:
53339 // returning from await.
53340 $async$returnValue = null;
53341 // goto return
53342 $async$goto = 1;
53343 break;
53344 case 8:
53345 // join
53346 if (included.length !== 0) {
53347 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
53348 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) {
53349 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
53350 copy.addChild$1(outerCopy);
53351 }
53352 root.addChild$1(outerCopy);
53353 } else
53354 innerCopy = root;
53355 $async$goto = 10;
53356 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);
53357 case 10:
53358 // returning from await.
53359 $async$returnValue = null;
53360 // goto return
53361 $async$goto = 1;
53362 break;
53363 case 1:
53364 // return
53365 return A._asyncReturn($async$returnValue, $async$completer);
53366 }
53367 });
53368 return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
53369 },
53370 _async_evaluate$_trimIncluded$1(nodes) {
53371 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
53372 _s22_ = " to be an ancestor of ";
53373 if (nodes.length === 0)
53374 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
53375 $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
53376 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
53377 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
53378 grandparent = $parent._parent;
53379 if (grandparent == null)
53380 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
53381 }
53382 if (innermostContiguous == null)
53383 innermostContiguous = i;
53384 grandparent = $parent._parent;
53385 if (grandparent == null)
53386 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
53387 }
53388 if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
53389 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
53390 innermostContiguous.toString;
53391 root = nodes[innermostContiguous];
53392 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
53393 return root;
53394 },
53395 _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
53396 var _this = this,
53397 scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
53398 t1 = query._all || query._at_root_query$_rule;
53399 if (t1 !== query.include)
53400 scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
53401 if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
53402 scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
53403 if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
53404 scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
53405 return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
53406 },
53407 visitContentBlock$1(node) {
53408 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
53409 },
53410 visitContentRule$1(node) {
53411 return this.visitContentRule$body$_EvaluateVisitor(node);
53412 },
53413 visitContentRule$body$_EvaluateVisitor(node) {
53414 var $async$goto = 0,
53415 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53416 $async$returnValue, $async$self = this, $content;
53417 var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53418 if ($async$errorCode === 1)
53419 return A._asyncRethrow($async$result, $async$completer);
53420 while (true)
53421 switch ($async$goto) {
53422 case 0:
53423 // Function start
53424 $content = $async$self._async_evaluate$_environment._async_environment$_content;
53425 if ($content == null) {
53426 $async$returnValue = null;
53427 // goto return
53428 $async$goto = 1;
53429 break;
53430 }
53431 $async$goto = 3;
53432 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);
53433 case 3:
53434 // returning from await.
53435 $async$returnValue = null;
53436 // goto return
53437 $async$goto = 1;
53438 break;
53439 case 1:
53440 // return
53441 return A._asyncReturn($async$returnValue, $async$completer);
53442 }
53443 });
53444 return A._asyncStartSync($async$visitContentRule$1, $async$completer);
53445 },
53446 visitDebugRule$1(node) {
53447 return this.visitDebugRule$body$_EvaluateVisitor(node);
53448 },
53449 visitDebugRule$body$_EvaluateVisitor(node) {
53450 var $async$goto = 0,
53451 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53452 $async$returnValue, $async$self = this, value, t1;
53453 var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53454 if ($async$errorCode === 1)
53455 return A._asyncRethrow($async$result, $async$completer);
53456 while (true)
53457 switch ($async$goto) {
53458 case 0:
53459 // Function start
53460 $async$goto = 3;
53461 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
53462 case 3:
53463 // returning from await.
53464 value = $async$result;
53465 t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
53466 $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
53467 $async$returnValue = null;
53468 // goto return
53469 $async$goto = 1;
53470 break;
53471 case 1:
53472 // return
53473 return A._asyncReturn($async$returnValue, $async$completer);
53474 }
53475 });
53476 return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
53477 },
53478 visitDeclaration$1(node) {
53479 return this.visitDeclaration$body$_EvaluateVisitor(node);
53480 },
53481 visitDeclaration$body$_EvaluateVisitor(node) {
53482 var $async$goto = 0,
53483 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53484 $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
53485 var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53486 if ($async$errorCode === 1)
53487 return A._asyncRethrow($async$result, $async$completer);
53488 while (true)
53489 switch ($async$goto) {
53490 case 0:
53491 // Function start
53492 if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
53493 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
53494 t1 = node.name;
53495 $async$goto = 3;
53496 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
53497 case 3:
53498 // returning from await.
53499 $name = $async$result;
53500 t2 = $async$self._async_evaluate$_declarationName;
53501 if (t2 != null)
53502 $name = new A.CssValue(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String);
53503 t2 = node.value;
53504 $async$goto = 4;
53505 return A._asyncAwait(A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure1($async$self)), $async$visitDeclaration$1);
53506 case 4:
53507 // returning from await.
53508 cssValue = $async$result;
53509 t3 = cssValue != null;
53510 if (t3)
53511 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
53512 else
53513 t4 = false;
53514 if (t4) {
53515 t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
53516 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
53517 if ($async$self._async_evaluate$_sourceMap) {
53518 t2 = A.NullableExtension_andThen(t2, $async$self.get$_async_evaluate$_expressionNode());
53519 t2 = t2 == null ? null : J.get$span$z(t2);
53520 } else
53521 t2 = null;
53522 t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
53523 } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
53524 throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
53525 children = node.children;
53526 $async$goto = children != null ? 5 : 6;
53527 break;
53528 case 5:
53529 // then
53530 oldDeclarationName = $async$self._async_evaluate$_declarationName;
53531 $async$self._async_evaluate$_declarationName = $name.get$value($name);
53532 $async$goto = 7;
53533 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);
53534 case 7:
53535 // returning from await.
53536 $async$self._async_evaluate$_declarationName = oldDeclarationName;
53537 case 6:
53538 // join
53539 $async$returnValue = null;
53540 // goto return
53541 $async$goto = 1;
53542 break;
53543 case 1:
53544 // return
53545 return A._asyncReturn($async$returnValue, $async$completer);
53546 }
53547 });
53548 return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
53549 },
53550 visitEachRule$1(node) {
53551 return this.visitEachRule$body$_EvaluateVisitor(node);
53552 },
53553 visitEachRule$body$_EvaluateVisitor(node) {
53554 var $async$goto = 0,
53555 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53556 $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
53557 var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53558 if ($async$errorCode === 1)
53559 return A._asyncRethrow($async$result, $async$completer);
53560 while (true)
53561 switch ($async$goto) {
53562 case 0:
53563 // Function start
53564 t1 = node.list;
53565 $async$goto = 3;
53566 return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
53567 case 3:
53568 // returning from await.
53569 list = $async$result;
53570 nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
53571 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure2($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure3($async$self, node, nodeWithSpan);
53572 $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);
53573 // goto return
53574 $async$goto = 1;
53575 break;
53576 case 1:
53577 // return
53578 return A._asyncReturn($async$returnValue, $async$completer);
53579 }
53580 });
53581 return A._asyncStartSync($async$visitEachRule$1, $async$completer);
53582 },
53583 _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
53584 var i,
53585 list = value.get$asList(),
53586 t1 = variables.length,
53587 minLength = Math.min(t1, list.length);
53588 for (i = 0; i < minLength; ++i)
53589 this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
53590 for (i = minLength; i < t1; ++i)
53591 this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
53592 },
53593 visitErrorRule$1(node) {
53594 return this.visitErrorRule$body$_EvaluateVisitor(node);
53595 },
53596 visitErrorRule$body$_EvaluateVisitor(node) {
53597 var $async$goto = 0,
53598 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
53599 $async$self = this, $async$temp1, $async$temp2;
53600 var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53601 if ($async$errorCode === 1)
53602 return A._asyncRethrow($async$result, $async$completer);
53603 while (true)
53604 switch ($async$goto) {
53605 case 0:
53606 // Function start
53607 $async$temp1 = A;
53608 $async$temp2 = J;
53609 $async$goto = 2;
53610 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
53611 case 2:
53612 // returning from await.
53613 throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
53614 // implicit return
53615 return A._asyncReturn(null, $async$completer);
53616 }
53617 });
53618 return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
53619 },
53620 visitExtendRule$1(node) {
53621 return this.visitExtendRule$body$_EvaluateVisitor(node);
53622 },
53623 visitExtendRule$body$_EvaluateVisitor(node) {
53624 var $async$goto = 0,
53625 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53626 $async$returnValue, $async$self = this, targetText, t1, t2, t3, _i, t4, styleRule;
53627 var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53628 if ($async$errorCode === 1)
53629 return A._asyncRethrow($async$result, $async$completer);
53630 while (true)
53631 switch ($async$goto) {
53632 case 0:
53633 // Function start
53634 styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
53635 if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
53636 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
53637 $async$goto = 3;
53638 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
53639 case 3:
53640 // returning from await.
53641 targetText = $async$result;
53642 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) {
53643 t4 = t1[_i].components;
53644 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector))
53645 throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.get$span(targetText)));
53646 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
53647 if (t4.length !== 1)
53648 throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
53649 $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);
53650 }
53651 $async$returnValue = null;
53652 // goto return
53653 $async$goto = 1;
53654 break;
53655 case 1:
53656 // return
53657 return A._asyncReturn($async$returnValue, $async$completer);
53658 }
53659 });
53660 return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
53661 },
53662 visitAtRule$1(node) {
53663 return this.visitAtRule$body$_EvaluateVisitor(node);
53664 },
53665 visitAtRule$body$_EvaluateVisitor(node) {
53666 var $async$goto = 0,
53667 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53668 $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
53669 var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53670 if ($async$errorCode === 1)
53671 return A._asyncRethrow($async$result, $async$completer);
53672 while (true)
53673 switch ($async$goto) {
53674 case 0:
53675 // Function start
53676 if ($async$self._async_evaluate$_declarationName != null)
53677 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
53678 $async$goto = 3;
53679 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
53680 case 3:
53681 // returning from await.
53682 $name = $async$result;
53683 $async$goto = 4;
53684 return A._asyncAwait(A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self)), $async$visitAtRule$1);
53685 case 4:
53686 // returning from await.
53687 value = $async$result;
53688 children = node.children;
53689 if (children == null) {
53690 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
53691 $async$returnValue = null;
53692 // goto return
53693 $async$goto = 1;
53694 break;
53695 }
53696 wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
53697 wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
53698 if (A.unvendor($name.get$value($name)) === "keyframes")
53699 $async$self._async_evaluate$_inKeyframes = true;
53700 else
53701 $async$self._async_evaluate$_inUnknownAtRule = true;
53702 $async$goto = 5;
53703 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);
53704 case 5:
53705 // returning from await.
53706 $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
53707 $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
53708 $async$returnValue = null;
53709 // goto return
53710 $async$goto = 1;
53711 break;
53712 case 1:
53713 // return
53714 return A._asyncReturn($async$returnValue, $async$completer);
53715 }
53716 });
53717 return A._asyncStartSync($async$visitAtRule$1, $async$completer);
53718 },
53719 visitForRule$1(node) {
53720 return this.visitForRule$body$_EvaluateVisitor(node);
53721 },
53722 visitForRule$body$_EvaluateVisitor(node) {
53723 var $async$goto = 0,
53724 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53725 $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
53726 var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53727 if ($async$errorCode === 1)
53728 return A._asyncRethrow($async$result, $async$completer);
53729 while (true)
53730 switch ($async$goto) {
53731 case 0:
53732 // Function start
53733 t1 = {};
53734 t2 = node.from;
53735 t3 = type$.SassNumber;
53736 $async$goto = 3;
53737 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
53738 case 3:
53739 // returning from await.
53740 fromNumber = $async$result;
53741 t4 = node.to;
53742 $async$goto = 4;
53743 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
53744 case 4:
53745 // returning from await.
53746 toNumber = $async$result;
53747 from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
53748 to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
53749 direction = from > to ? -1 : 1;
53750 if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
53751 $async$returnValue = null;
53752 // goto return
53753 $async$goto = 1;
53754 break;
53755 }
53756 $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);
53757 // goto return
53758 $async$goto = 1;
53759 break;
53760 case 1:
53761 // return
53762 return A._asyncReturn($async$returnValue, $async$completer);
53763 }
53764 });
53765 return A._asyncStartSync($async$visitForRule$1, $async$completer);
53766 },
53767 visitForwardRule$1(node) {
53768 return this.visitForwardRule$body$_EvaluateVisitor(node);
53769 },
53770 visitForwardRule$body$_EvaluateVisitor(node) {
53771 var $async$goto = 0,
53772 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53773 $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
53774 var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53775 if ($async$errorCode === 1)
53776 return A._asyncRethrow($async$result, $async$completer);
53777 while (true)
53778 switch ($async$goto) {
53779 case 0:
53780 // Function start
53781 oldConfiguration = $async$self._async_evaluate$_configuration;
53782 adjustedConfiguration = oldConfiguration.throughForward$1(node);
53783 t1 = node.configuration;
53784 t2 = t1.length;
53785 t3 = node.url;
53786 $async$goto = t2 !== 0 ? 3 : 5;
53787 break;
53788 case 3:
53789 // then
53790 $async$goto = 6;
53791 return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
53792 case 6:
53793 // returning from await.
53794 newConfiguration = $async$result;
53795 $async$goto = 7;
53796 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);
53797 case 7:
53798 // returning from await.
53799 t3 = type$.String;
53800 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
53801 for (_i = 0; _i < t2; ++_i) {
53802 variable = t1[_i];
53803 if (!variable.isGuarded)
53804 t4.add$1(0, variable.name);
53805 }
53806 $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
53807 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
53808 for (_i = 0; _i < t2; ++_i)
53809 t3.add$1(0, t1[_i].name);
53810 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) {
53811 $name = t2[_i];
53812 if (!t3.contains$1(0, $name))
53813 if (!t1.get$isEmpty(t1))
53814 t1.remove$1(0, $name);
53815 }
53816 $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
53817 // goto join
53818 $async$goto = 4;
53819 break;
53820 case 5:
53821 // else
53822 $async$self._async_evaluate$_configuration = adjustedConfiguration;
53823 $async$goto = 8;
53824 return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
53825 case 8:
53826 // returning from await.
53827 $async$self._async_evaluate$_configuration = oldConfiguration;
53828 case 4:
53829 // join
53830 $async$returnValue = null;
53831 // goto return
53832 $async$goto = 1;
53833 break;
53834 case 1:
53835 // return
53836 return A._asyncReturn($async$returnValue, $async$completer);
53837 }
53838 });
53839 return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
53840 },
53841 _async_evaluate$_addForwardConfiguration$2(configuration, node) {
53842 return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
53843 },
53844 _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
53845 var $async$goto = 0,
53846 $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
53847 $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
53848 var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53849 if ($async$errorCode === 1)
53850 return A._asyncRethrow($async$result, $async$completer);
53851 while (true)
53852 switch ($async$goto) {
53853 case 0:
53854 // Function start
53855 t1 = configuration._values;
53856 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
53857 t2 = node.configuration, t3 = t2.length, _i = 0;
53858 case 3:
53859 // for condition
53860 if (!(_i < t3)) {
53861 // goto after for
53862 $async$goto = 5;
53863 break;
53864 }
53865 variable = t2[_i];
53866 if (variable.isGuarded) {
53867 t4 = variable.name;
53868 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
53869 if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
53870 newValues.$indexSet(0, t4, t5);
53871 // goto for update
53872 $async$goto = 4;
53873 break;
53874 }
53875 }
53876 t4 = variable.expression;
53877 variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t4);
53878 $async$temp1 = newValues;
53879 $async$temp2 = variable.name;
53880 $async$temp3 = A;
53881 $async$goto = 6;
53882 return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate$_addForwardConfiguration$2);
53883 case 6:
53884 // returning from await.
53885 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
53886 case 4:
53887 // for update
53888 ++_i;
53889 // goto for condition
53890 $async$goto = 3;
53891 break;
53892 case 5:
53893 // after for
53894 if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
53895 $async$returnValue = new A.ExplicitConfiguration(node, newValues);
53896 // goto return
53897 $async$goto = 1;
53898 break;
53899 } else {
53900 $async$returnValue = new A.Configuration(newValues);
53901 // goto return
53902 $async$goto = 1;
53903 break;
53904 }
53905 case 1:
53906 // return
53907 return A._asyncReturn($async$returnValue, $async$completer);
53908 }
53909 });
53910 return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
53911 },
53912 _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
53913 var t1, t2, t3, t4, _i, $name;
53914 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) {
53915 $name = t2[_i];
53916 if (except.contains$1(0, $name))
53917 continue;
53918 if (!t4.containsKey$1($name))
53919 if (!t1.get$isEmpty(t1))
53920 t1.remove$1(0, $name);
53921 }
53922 },
53923 _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
53924 var t1, entry;
53925 if (!(configuration instanceof A.ExplicitConfiguration))
53926 return;
53927 t1 = configuration._values;
53928 if (t1.get$isEmpty(t1))
53929 return;
53930 t1 = t1.get$entries(t1);
53931 entry = t1.get$first(t1);
53932 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
53933 throw A.wrapException(this._async_evaluate$_exception$2(t1, entry.value.configurationSpan));
53934 },
53935 _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
53936 return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
53937 },
53938 visitFunctionRule$1(node) {
53939 return this.visitFunctionRule$body$_EvaluateVisitor(node);
53940 },
53941 visitFunctionRule$body$_EvaluateVisitor(node) {
53942 var $async$goto = 0,
53943 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53944 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
53945 var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53946 if ($async$errorCode === 1)
53947 return A._asyncRethrow($async$result, $async$completer);
53948 while (true)
53949 switch ($async$goto) {
53950 case 0:
53951 // Function start
53952 t1 = $async$self._async_evaluate$_environment;
53953 t2 = t1.closure$0();
53954 t3 = $async$self._async_evaluate$_inDependency;
53955 t4 = t1._async_environment$_functions;
53956 index = t4.length - 1;
53957 t5 = node.name;
53958 t1._async_environment$_functionIndices.$indexSet(0, t5, index);
53959 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
53960 $async$returnValue = null;
53961 // goto return
53962 $async$goto = 1;
53963 break;
53964 case 1:
53965 // return
53966 return A._asyncReturn($async$returnValue, $async$completer);
53967 }
53968 });
53969 return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
53970 },
53971 visitIfRule$1(node) {
53972 return this.visitIfRule$body$_EvaluateVisitor(node);
53973 },
53974 visitIfRule$body$_EvaluateVisitor(node) {
53975 var $async$goto = 0,
53976 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53977 $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
53978 var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53979 if ($async$errorCode === 1)
53980 return A._asyncRethrow($async$result, $async$completer);
53981 while (true)
53982 switch ($async$goto) {
53983 case 0:
53984 // Function start
53985 _box_0 = {};
53986 _box_0.clause = node.lastClause;
53987 t1 = node.clauses, t2 = t1.length, _i = 0;
53988 case 3:
53989 // for condition
53990 if (!(_i < t2)) {
53991 // goto after for
53992 $async$goto = 5;
53993 break;
53994 }
53995 clauseToCheck = t1[_i];
53996 $async$goto = 6;
53997 return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
53998 case 6:
53999 // returning from await.
54000 if ($async$result.get$isTruthy()) {
54001 _box_0.clause = clauseToCheck;
54002 // goto after for
54003 $async$goto = 5;
54004 break;
54005 }
54006 case 4:
54007 // for update
54008 ++_i;
54009 // goto for condition
54010 $async$goto = 3;
54011 break;
54012 case 5:
54013 // after for
54014 t1 = _box_0.clause;
54015 if (t1 == null) {
54016 $async$returnValue = null;
54017 // goto return
54018 $async$goto = 1;
54019 break;
54020 }
54021 $async$goto = 7;
54022 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);
54023 case 7:
54024 // returning from await.
54025 $async$returnValue = $async$result;
54026 // goto return
54027 $async$goto = 1;
54028 break;
54029 case 1:
54030 // return
54031 return A._asyncReturn($async$returnValue, $async$completer);
54032 }
54033 });
54034 return A._asyncStartSync($async$visitIfRule$1, $async$completer);
54035 },
54036 visitImportRule$1(node) {
54037 return this.visitImportRule$body$_EvaluateVisitor(node);
54038 },
54039 visitImportRule$body$_EvaluateVisitor(node) {
54040 var $async$goto = 0,
54041 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54042 $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
54043 var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54044 if ($async$errorCode === 1)
54045 return A._asyncRethrow($async$result, $async$completer);
54046 while (true)
54047 switch ($async$goto) {
54048 case 0:
54049 // Function start
54050 t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
54051 case 3:
54052 // for condition
54053 if (!(_i < t2)) {
54054 // goto after for
54055 $async$goto = 5;
54056 break;
54057 }
54058 $import = t1[_i];
54059 $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
54060 break;
54061 case 6:
54062 // then
54063 $async$goto = 9;
54064 return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
54065 case 9:
54066 // returning from await.
54067 // goto join
54068 $async$goto = 7;
54069 break;
54070 case 8:
54071 // else
54072 $async$goto = 10;
54073 return A._asyncAwait($async$self._async_evaluate$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
54074 case 10:
54075 // returning from await.
54076 case 7:
54077 // join
54078 case 4:
54079 // for update
54080 ++_i;
54081 // goto for condition
54082 $async$goto = 3;
54083 break;
54084 case 5:
54085 // after for
54086 $async$returnValue = null;
54087 // goto return
54088 $async$goto = 1;
54089 break;
54090 case 1:
54091 // return
54092 return A._asyncReturn($async$returnValue, $async$completer);
54093 }
54094 });
54095 return A._asyncStartSync($async$visitImportRule$1, $async$completer);
54096 },
54097 _async_evaluate$_visitDynamicImport$1($import) {
54098 return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
54099 },
54100 _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
54101 return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
54102 },
54103 _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
54104 return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
54105 },
54106 _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
54107 return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
54108 },
54109 _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
54110 var $async$goto = 0,
54111 $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet),
54112 $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;
54113 var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54114 if ($async$errorCode === 1) {
54115 $async$currentError = $async$result;
54116 $async$goto = $async$handler;
54117 }
54118 while (true)
54119 switch ($async$goto) {
54120 case 0:
54121 // Function start
54122 baseUrl = baseUrl;
54123 $async$handler = 4;
54124 $async$self._async_evaluate$_importSpan = span;
54125 importCache = $async$self._async_evaluate$_importCache;
54126 $async$goto = importCache != null ? 7 : 9;
54127 break;
54128 case 7:
54129 // then
54130 if (baseUrl == null)
54131 baseUrl = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span.file.url;
54132 $async$goto = 10;
54133 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);
54134 case 10:
54135 // returning from await.
54136 tuple = $async$result;
54137 $async$goto = tuple != null ? 11 : 12;
54138 break;
54139 case 11:
54140 // then
54141 isDependency = $async$self._async_evaluate$_inDependency || tuple.item1 !== $async$self._async_evaluate$_importer;
54142 t1 = tuple.item1;
54143 t2 = tuple.item2;
54144 t3 = tuple.item3;
54145 t4 = $async$self._async_evaluate$_quietDeps && isDependency;
54146 $async$goto = 13;
54147 return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
54148 case 13:
54149 // returning from await.
54150 stylesheet = $async$result;
54151 if (stylesheet != null) {
54152 $async$self._async_evaluate$_loadedUrls.add$1(0, tuple.item2);
54153 t1 = tuple.item1;
54154 $async$returnValue = new A._LoadedStylesheet0(stylesheet, t1, isDependency);
54155 $async$next = [1];
54156 // goto finally
54157 $async$goto = 5;
54158 break;
54159 }
54160 case 12:
54161 // join
54162 // goto join
54163 $async$goto = 8;
54164 break;
54165 case 9:
54166 // else
54167 $async$goto = 14;
54168 return A._asyncAwait($async$self._async_evaluate$_importLikeNode$2(url, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
54169 case 14:
54170 // returning from await.
54171 result = $async$result;
54172 if (result != null) {
54173 t1 = $async$self._async_evaluate$_loadedUrls;
54174 A.NullableExtension_andThen(result.stylesheet.span.file.url, t1.get$add(t1));
54175 $async$returnValue = result;
54176 $async$next = [1];
54177 // goto finally
54178 $async$goto = 5;
54179 break;
54180 }
54181 case 8:
54182 // join
54183 if (B.JSString_methods.startsWith$1(url, "package:") && true)
54184 throw A.wrapException(string$.x22packa);
54185 else
54186 throw A.wrapException("Can't find stylesheet to import.");
54187 $async$next.push(6);
54188 // goto finally
54189 $async$goto = 5;
54190 break;
54191 case 4:
54192 // catch
54193 $async$handler = 3;
54194 $async$exception = $async$currentError;
54195 t1 = A.unwrapException($async$exception);
54196 if (t1 instanceof A.SassException) {
54197 error = t1;
54198 stackTrace = A.getTraceFromException($async$exception);
54199 t1 = error;
54200 t2 = J.getInterceptor$z(t1);
54201 A.throwWithTrace($async$self._async_evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
54202 } else {
54203 error0 = t1;
54204 stackTrace0 = A.getTraceFromException($async$exception);
54205 message = null;
54206 try {
54207 message = A._asString(J.get$message$x(error0));
54208 } catch (exception) {
54209 message0 = J.toString$0$(error0);
54210 message = message0;
54211 }
54212 A.throwWithTrace($async$self._async_evaluate$_exception$1(message), stackTrace0);
54213 }
54214 $async$next.push(6);
54215 // goto finally
54216 $async$goto = 5;
54217 break;
54218 case 3:
54219 // uncaught
54220 $async$next = [2];
54221 case 5:
54222 // finally
54223 $async$handler = 2;
54224 $async$self._async_evaluate$_importSpan = null;
54225 // goto the next finally handler
54226 $async$goto = $async$next.pop();
54227 break;
54228 case 6:
54229 // after finally
54230 case 1:
54231 // return
54232 return A._asyncReturn($async$returnValue, $async$completer);
54233 case 2:
54234 // rethrow
54235 return A._asyncRethrow($async$currentError, $async$completer);
54236 }
54237 });
54238 return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
54239 },
54240 _async_evaluate$_importLikeNode$2(originalUrl, forImport) {
54241 return this._importLikeNode$body$_EvaluateVisitor(originalUrl, forImport);
54242 },
54243 _importLikeNode$body$_EvaluateVisitor(originalUrl, forImport) {
54244 var $async$goto = 0,
54245 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet),
54246 $async$returnValue, $async$self = this, result, isDependency, url, t2, t1;
54247 var $async$_async_evaluate$_importLikeNode$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54248 if ($async$errorCode === 1)
54249 return A._asyncRethrow($async$result, $async$completer);
54250 while (true)
54251 switch ($async$goto) {
54252 case 0:
54253 // Function start
54254 t1 = $async$self._async_evaluate$_nodeImporter;
54255 t1.toString;
54256 result = t1.loadRelative$3(originalUrl, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span.file.url, forImport);
54257 isDependency = $async$self._async_evaluate$_inDependency;
54258 url = result.item2;
54259 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS;
54260 t2 = $async$self._async_evaluate$_quietDeps && isDependency ? $.$get$Logger_quiet() : $async$self._async_evaluate$_logger;
54261 $async$returnValue = new A._LoadedStylesheet0(A.Stylesheet_Stylesheet$parse(result.item1, t1, t2, url), null, isDependency);
54262 // goto return
54263 $async$goto = 1;
54264 break;
54265 case 1:
54266 // return
54267 return A._asyncReturn($async$returnValue, $async$completer);
54268 }
54269 });
54270 return A._asyncStartSync($async$_async_evaluate$_importLikeNode$2, $async$completer);
54271 },
54272 _async_evaluate$_visitStaticImport$1($import) {
54273 return this._visitStaticImport$body$_EvaluateVisitor($import);
54274 },
54275 _visitStaticImport$body$_EvaluateVisitor($import) {
54276 var $async$goto = 0,
54277 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
54278 $async$self = this, t1, url, supports, node, $async$temp1, $async$temp2, $async$temp3;
54279 var $async$_async_evaluate$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54280 if ($async$errorCode === 1)
54281 return A._asyncRethrow($async$result, $async$completer);
54282 while (true)
54283 switch ($async$goto) {
54284 case 0:
54285 // Function start
54286 $async$goto = 2;
54287 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_async_evaluate$_visitStaticImport$1);
54288 case 2:
54289 // returning from await.
54290 url = $async$result;
54291 $async$goto = 3;
54292 return A._asyncAwait(A.NullableExtension_andThen($import.supports, new A._EvaluateVisitor__visitStaticImport_closure0($async$self)), $async$_async_evaluate$_visitStaticImport$1);
54293 case 3:
54294 // returning from await.
54295 supports = $async$result;
54296 $async$temp1 = A;
54297 $async$temp2 = url;
54298 $async$temp3 = $import.span;
54299 $async$goto = 4;
54300 return A._asyncAwait(A.NullableExtension_andThen($import.media, $async$self.get$_async_evaluate$_visitMediaQueries()), $async$_async_evaluate$_visitStaticImport$1);
54301 case 4:
54302 // returning from await.
54303 node = $async$temp1.ModifiableCssImport$($async$temp2, $async$temp3, $async$result, supports);
54304 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"))
54305 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
54306 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)) {
54307 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
54308 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
54309 } else {
54310 t1 = $async$self._async_evaluate$_outOfOrderImports;
54311 (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
54312 }
54313 // implicit return
54314 return A._asyncReturn(null, $async$completer);
54315 }
54316 });
54317 return A._asyncStartSync($async$_async_evaluate$_visitStaticImport$1, $async$completer);
54318 },
54319 visitIncludeRule$1(node) {
54320 return this.visitIncludeRule$body$_EvaluateVisitor(node);
54321 },
54322 visitIncludeRule$body$_EvaluateVisitor(node) {
54323 var $async$goto = 0,
54324 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54325 $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
54326 var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54327 if ($async$errorCode === 1)
54328 return A._asyncRethrow($async$result, $async$completer);
54329 while (true)
54330 switch ($async$goto) {
54331 case 0:
54332 // Function start
54333 mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure3($async$self, node));
54334 if (mixin == null)
54335 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", node.span));
54336 nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure4(node));
54337 $async$goto = type$.AsyncBuiltInCallable._is(mixin) ? 3 : 5;
54338 break;
54339 case 3:
54340 // then
54341 if (node.content != null)
54342 throw A.wrapException($async$self._async_evaluate$_exception$2("Mixin doesn't accept a content block.", node.span));
54343 $async$goto = 6;
54344 return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
54345 case 6:
54346 // returning from await.
54347 // goto join
54348 $async$goto = 4;
54349 break;
54350 case 5:
54351 // else
54352 $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(mixin) ? 7 : 9;
54353 break;
54354 case 7:
54355 // then
54356 t1 = node.content;
54357 if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
54358 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())));
54359 $async$goto = 10;
54360 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);
54361 case 10:
54362 // returning from await.
54363 // goto join
54364 $async$goto = 8;
54365 break;
54366 case 9:
54367 // else
54368 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
54369 case 8:
54370 // join
54371 case 4:
54372 // join
54373 $async$returnValue = null;
54374 // goto return
54375 $async$goto = 1;
54376 break;
54377 case 1:
54378 // return
54379 return A._asyncReturn($async$returnValue, $async$completer);
54380 }
54381 });
54382 return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
54383 },
54384 visitMixinRule$1(node) {
54385 return this.visitMixinRule$body$_EvaluateVisitor(node);
54386 },
54387 visitMixinRule$body$_EvaluateVisitor(node) {
54388 var $async$goto = 0,
54389 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54390 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
54391 var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54392 if ($async$errorCode === 1)
54393 return A._asyncRethrow($async$result, $async$completer);
54394 while (true)
54395 switch ($async$goto) {
54396 case 0:
54397 // Function start
54398 t1 = $async$self._async_evaluate$_environment;
54399 t2 = t1.closure$0();
54400 t3 = $async$self._async_evaluate$_inDependency;
54401 t4 = t1._async_environment$_mixins;
54402 index = t4.length - 1;
54403 t5 = node.name;
54404 t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
54405 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
54406 $async$returnValue = null;
54407 // goto return
54408 $async$goto = 1;
54409 break;
54410 case 1:
54411 // return
54412 return A._asyncReturn($async$returnValue, $async$completer);
54413 }
54414 });
54415 return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
54416 },
54417 visitLoudComment$1(node) {
54418 return this.visitLoudComment$body$_EvaluateVisitor(node);
54419 },
54420 visitLoudComment$body$_EvaluateVisitor(node) {
54421 var $async$goto = 0,
54422 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54423 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
54424 var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54425 if ($async$errorCode === 1)
54426 return A._asyncRethrow($async$result, $async$completer);
54427 while (true)
54428 switch ($async$goto) {
54429 case 0:
54430 // Function start
54431 if ($async$self._async_evaluate$_inFunction) {
54432 $async$returnValue = null;
54433 // goto return
54434 $async$goto = 1;
54435 break;
54436 }
54437 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))
54438 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
54439 t1 = node.text;
54440 $async$temp1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
54441 $async$temp2 = A;
54442 $async$goto = 3;
54443 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
54444 case 3:
54445 // returning from await.
54446 $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment($async$result, t1.span));
54447 $async$returnValue = null;
54448 // goto return
54449 $async$goto = 1;
54450 break;
54451 case 1:
54452 // return
54453 return A._asyncReturn($async$returnValue, $async$completer);
54454 }
54455 });
54456 return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
54457 },
54458 visitMediaRule$1(node) {
54459 return this.visitMediaRule$body$_EvaluateVisitor(node);
54460 },
54461 visitMediaRule$body$_EvaluateVisitor(node) {
54462 var $async$goto = 0,
54463 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54464 $async$returnValue, $async$self = this, queries, mergedQueries, t1;
54465 var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54466 if ($async$errorCode === 1)
54467 return A._asyncRethrow($async$result, $async$completer);
54468 while (true)
54469 switch ($async$goto) {
54470 case 0:
54471 // Function start
54472 if ($async$self._async_evaluate$_declarationName != null)
54473 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
54474 $async$goto = 3;
54475 return A._asyncAwait($async$self._async_evaluate$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
54476 case 3:
54477 // returning from await.
54478 queries = $async$result;
54479 mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
54480 t1 = mergedQueries == null;
54481 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
54482 $async$returnValue = null;
54483 // goto return
54484 $async$goto = 1;
54485 break;
54486 }
54487 t1 = t1 ? queries : mergedQueries;
54488 $async$goto = 4;
54489 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);
54490 case 4:
54491 // returning from await.
54492 $async$returnValue = null;
54493 // goto return
54494 $async$goto = 1;
54495 break;
54496 case 1:
54497 // return
54498 return A._asyncReturn($async$returnValue, $async$completer);
54499 }
54500 });
54501 return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
54502 },
54503 _async_evaluate$_visitMediaQueries$1(interpolation) {
54504 return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
54505 },
54506 _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
54507 var $async$goto = 0,
54508 $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
54509 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
54510 var $async$_async_evaluate$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54511 if ($async$errorCode === 1)
54512 return A._asyncRethrow($async$result, $async$completer);
54513 while (true)
54514 switch ($async$goto) {
54515 case 0:
54516 // Function start
54517 $async$temp1 = interpolation;
54518 $async$temp2 = A;
54519 $async$goto = 3;
54520 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate$_visitMediaQueries$1);
54521 case 3:
54522 // returning from await.
54523 $async$returnValue = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure0($async$self, $async$result));
54524 // goto return
54525 $async$goto = 1;
54526 break;
54527 case 1:
54528 // return
54529 return A._asyncReturn($async$returnValue, $async$completer);
54530 }
54531 });
54532 return A._asyncStartSync($async$_async_evaluate$_visitMediaQueries$1, $async$completer);
54533 },
54534 _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
54535 var t1, t2, t3, t4, t5, result,
54536 queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
54537 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
54538 t4 = t1.get$current(t1);
54539 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
54540 result = t4.merge$1(t5.get$current(t5));
54541 if (result === B._SingletonCssMediaQueryMergeResult_empty)
54542 continue;
54543 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
54544 return null;
54545 queries.push(t3._as(result).query);
54546 }
54547 }
54548 return queries;
54549 },
54550 visitReturnRule$1(node) {
54551 return this.visitReturnRule$body$_EvaluateVisitor(node);
54552 },
54553 visitReturnRule$body$_EvaluateVisitor(node) {
54554 var $async$goto = 0,
54555 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54556 $async$returnValue, $async$self = this, t1;
54557 var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54558 if ($async$errorCode === 1)
54559 return A._asyncRethrow($async$result, $async$completer);
54560 while (true)
54561 switch ($async$goto) {
54562 case 0:
54563 // Function start
54564 t1 = node.expression;
54565 $async$goto = 3;
54566 return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
54567 case 3:
54568 // returning from await.
54569 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
54570 // goto return
54571 $async$goto = 1;
54572 break;
54573 case 1:
54574 // return
54575 return A._asyncReturn($async$returnValue, $async$completer);
54576 }
54577 });
54578 return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
54579 },
54580 visitSilentComment$1(node) {
54581 return this.visitSilentComment$body$_EvaluateVisitor(node);
54582 },
54583 visitSilentComment$body$_EvaluateVisitor(node) {
54584 var $async$goto = 0,
54585 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54586 $async$returnValue;
54587 var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54588 if ($async$errorCode === 1)
54589 return A._asyncRethrow($async$result, $async$completer);
54590 while (true)
54591 switch ($async$goto) {
54592 case 0:
54593 // Function start
54594 $async$returnValue = null;
54595 // goto return
54596 $async$goto = 1;
54597 break;
54598 case 1:
54599 // return
54600 return A._asyncReturn($async$returnValue, $async$completer);
54601 }
54602 });
54603 return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
54604 },
54605 visitStyleRule$1(node) {
54606 return this.visitStyleRule$body$_EvaluateVisitor(node);
54607 },
54608 visitStyleRule$body$_EvaluateVisitor(node) {
54609 var $async$goto = 0,
54610 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54611 $async$returnValue, $async$self = this, t2, selectorText, rule, oldAtRootExcludingStyleRule, t1;
54612 var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54613 if ($async$errorCode === 1)
54614 return A._asyncRethrow($async$result, $async$completer);
54615 while (true)
54616 switch ($async$goto) {
54617 case 0:
54618 // Function start
54619 t1 = {};
54620 if ($async$self._async_evaluate$_declarationName != null)
54621 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
54622 t2 = node.selector;
54623 $async$goto = 3;
54624 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$3$trim$warnForColor(t2, true, true), $async$visitStyleRule$1);
54625 case 3:
54626 // returning from await.
54627 selectorText = $async$result;
54628 $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
54629 break;
54630 case 4:
54631 // then
54632 $async$goto = 6;
54633 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);
54634 case 6:
54635 // returning from await.
54636 $async$returnValue = null;
54637 // goto return
54638 $async$goto = 1;
54639 break;
54640 case 5:
54641 // join
54642 t1.parsedSelector = $async$self._async_evaluate$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure9($async$self, selectorText));
54643 t1.parsedSelector = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure10(t1, $async$self));
54644 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);
54645 oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
54646 t1 = $async$self._async_evaluate$_atRootExcludingStyleRule = false;
54647 $async$goto = 7;
54648 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);
54649 case 7:
54650 // returning from await.
54651 $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
54652 if ((oldAtRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
54653 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
54654 t1 = !t1.get$isEmpty(t1);
54655 }
54656 if (t1) {
54657 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
54658 t1.get$last(t1).isGroupEnd = true;
54659 }
54660 $async$returnValue = null;
54661 // goto return
54662 $async$goto = 1;
54663 break;
54664 case 1:
54665 // return
54666 return A._asyncReturn($async$returnValue, $async$completer);
54667 }
54668 });
54669 return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
54670 },
54671 visitSupportsRule$1(node) {
54672 return this.visitSupportsRule$body$_EvaluateVisitor(node);
54673 },
54674 visitSupportsRule$body$_EvaluateVisitor(node) {
54675 var $async$goto = 0,
54676 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54677 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
54678 var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54679 if ($async$errorCode === 1)
54680 return A._asyncRethrow($async$result, $async$completer);
54681 while (true)
54682 switch ($async$goto) {
54683 case 0:
54684 // Function start
54685 if ($async$self._async_evaluate$_declarationName != null)
54686 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
54687 t1 = node.condition;
54688 $async$temp1 = A;
54689 $async$temp2 = A;
54690 $async$goto = 4;
54691 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
54692 case 4:
54693 // returning from await.
54694 $async$goto = 3;
54695 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);
54696 case 3:
54697 // returning from await.
54698 $async$returnValue = null;
54699 // goto return
54700 $async$goto = 1;
54701 break;
54702 case 1:
54703 // return
54704 return A._asyncReturn($async$returnValue, $async$completer);
54705 }
54706 });
54707 return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
54708 },
54709 _async_evaluate$_visitSupportsCondition$1(condition) {
54710 return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
54711 },
54712 _visitSupportsCondition$body$_EvaluateVisitor(condition) {
54713 var $async$goto = 0,
54714 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
54715 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, result, $async$temp1, $async$temp2;
54716 var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54717 if ($async$errorCode === 1)
54718 return A._asyncRethrow($async$result, $async$completer);
54719 while (true)
54720 switch ($async$goto) {
54721 case 0:
54722 // Function start
54723 $async$goto = condition instanceof A.SupportsOperation ? 3 : 5;
54724 break;
54725 case 3:
54726 // then
54727 t1 = condition.operator;
54728 $async$temp1 = A;
54729 $async$goto = 6;
54730 return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
54731 case 6:
54732 // returning from await.
54733 $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
54734 $async$temp2 = A;
54735 $async$goto = 7;
54736 return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
54737 case 7:
54738 // returning from await.
54739 $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
54740 // goto return
54741 $async$goto = 1;
54742 break;
54743 // goto join
54744 $async$goto = 4;
54745 break;
54746 case 5:
54747 // else
54748 $async$goto = condition instanceof A.SupportsNegation ? 8 : 10;
54749 break;
54750 case 8:
54751 // then
54752 $async$temp1 = A;
54753 $async$goto = 11;
54754 return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
54755 case 11:
54756 // returning from await.
54757 $async$returnValue = "not " + $async$temp1.S($async$result);
54758 // goto return
54759 $async$goto = 1;
54760 break;
54761 // goto join
54762 $async$goto = 9;
54763 break;
54764 case 10:
54765 // else
54766 $async$goto = condition instanceof A.SupportsInterpolation ? 12 : 14;
54767 break;
54768 case 12:
54769 // then
54770 $async$goto = 15;
54771 return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
54772 case 15:
54773 // returning from await.
54774 $async$returnValue = $async$result;
54775 // goto return
54776 $async$goto = 1;
54777 break;
54778 // goto join
54779 $async$goto = 13;
54780 break;
54781 case 14:
54782 // else
54783 $async$goto = condition instanceof A.SupportsDeclaration ? 16 : 18;
54784 break;
54785 case 16:
54786 // then
54787 oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
54788 $async$self._async_evaluate$_inSupportsDeclaration = true;
54789 $async$temp1 = A;
54790 $async$goto = 19;
54791 return A._asyncAwait($async$self._evaluateToCss$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
54792 case 19:
54793 // returning from await.
54794 t1 = "(" + $async$temp1.S($async$result) + ":";
54795 $async$temp1 = t1 + (condition.get$isCustomProperty() ? "" : " ");
54796 $async$temp2 = A;
54797 $async$goto = 20;
54798 return A._asyncAwait($async$self._evaluateToCss$1(condition.value), $async$_async_evaluate$_visitSupportsCondition$1);
54799 case 20:
54800 // returning from await.
54801 result = $async$temp1 + $async$temp2.S($async$result) + ")";
54802 $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
54803 $async$returnValue = result;
54804 // goto return
54805 $async$goto = 1;
54806 break;
54807 // goto join
54808 $async$goto = 17;
54809 break;
54810 case 18:
54811 // else
54812 $async$goto = condition instanceof A.SupportsFunction ? 21 : 23;
54813 break;
54814 case 21:
54815 // then
54816 $async$temp1 = A;
54817 $async$goto = 24;
54818 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
54819 case 24:
54820 // returning from await.
54821 $async$temp1 = $async$temp1.S($async$result) + "(";
54822 $async$temp2 = A;
54823 $async$goto = 25;
54824 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
54825 case 25:
54826 // returning from await.
54827 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
54828 // goto return
54829 $async$goto = 1;
54830 break;
54831 // goto join
54832 $async$goto = 22;
54833 break;
54834 case 23:
54835 // else
54836 $async$goto = condition instanceof A.SupportsAnything ? 26 : 28;
54837 break;
54838 case 26:
54839 // then
54840 $async$temp1 = A;
54841 $async$goto = 29;
54842 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
54843 case 29:
54844 // returning from await.
54845 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
54846 // goto return
54847 $async$goto = 1;
54848 break;
54849 // goto join
54850 $async$goto = 27;
54851 break;
54852 case 28:
54853 // else
54854 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
54855 case 27:
54856 // join
54857 case 22:
54858 // join
54859 case 17:
54860 // join
54861 case 13:
54862 // join
54863 case 9:
54864 // join
54865 case 4:
54866 // join
54867 case 1:
54868 // return
54869 return A._asyncReturn($async$returnValue, $async$completer);
54870 }
54871 });
54872 return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
54873 },
54874 _async_evaluate$_parenthesize$2(condition, operator) {
54875 return this._parenthesize$body$_EvaluateVisitor(condition, operator);
54876 },
54877 _async_evaluate$_parenthesize$1(condition) {
54878 return this._async_evaluate$_parenthesize$2(condition, null);
54879 },
54880 _parenthesize$body$_EvaluateVisitor(condition, operator) {
54881 var $async$goto = 0,
54882 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
54883 $async$returnValue, $async$self = this, t1, $async$temp1;
54884 var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54885 if ($async$errorCode === 1)
54886 return A._asyncRethrow($async$result, $async$completer);
54887 while (true)
54888 switch ($async$goto) {
54889 case 0:
54890 // Function start
54891 if (!(condition instanceof A.SupportsNegation))
54892 if (condition instanceof A.SupportsOperation)
54893 t1 = operator == null || operator !== condition.operator;
54894 else
54895 t1 = false;
54896 else
54897 t1 = true;
54898 $async$goto = t1 ? 3 : 5;
54899 break;
54900 case 3:
54901 // then
54902 $async$temp1 = A;
54903 $async$goto = 6;
54904 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
54905 case 6:
54906 // returning from await.
54907 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
54908 // goto return
54909 $async$goto = 1;
54910 break;
54911 // goto join
54912 $async$goto = 4;
54913 break;
54914 case 5:
54915 // else
54916 $async$goto = 7;
54917 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
54918 case 7:
54919 // returning from await.
54920 $async$returnValue = $async$result;
54921 // goto return
54922 $async$goto = 1;
54923 break;
54924 case 4:
54925 // join
54926 case 1:
54927 // return
54928 return A._asyncReturn($async$returnValue, $async$completer);
54929 }
54930 });
54931 return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
54932 },
54933 visitVariableDeclaration$1(node) {
54934 return this.visitVariableDeclaration$body$_EvaluateVisitor(node);
54935 },
54936 visitVariableDeclaration$body$_EvaluateVisitor(node) {
54937 var $async$goto = 0,
54938 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54939 $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
54940 var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54941 if ($async$errorCode === 1)
54942 return A._asyncRethrow($async$result, $async$completer);
54943 while (true)
54944 switch ($async$goto) {
54945 case 0:
54946 // Function start
54947 if (node.isGuarded) {
54948 if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
54949 t1 = $async$self._async_evaluate$_configuration._values;
54950 t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
54951 if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
54952 $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2($async$self, node, t1));
54953 $async$returnValue = null;
54954 // goto return
54955 $async$goto = 1;
54956 break;
54957 }
54958 }
54959 value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
54960 if (value != null && !value.$eq(0, B.C__SassNull)) {
54961 $async$returnValue = null;
54962 // goto return
54963 $async$goto = 1;
54964 break;
54965 }
54966 }
54967 if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
54968 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.";
54969 $async$self._async_evaluate$_warn$3$deprecation(t1, node.span, true);
54970 }
54971 t1 = node.expression;
54972 $async$temp1 = node;
54973 $async$temp2 = A;
54974 $async$temp3 = node;
54975 $async$goto = 3;
54976 return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
54977 case 3:
54978 // returning from await.
54979 $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)));
54980 $async$returnValue = null;
54981 // goto return
54982 $async$goto = 1;
54983 break;
54984 case 1:
54985 // return
54986 return A._asyncReturn($async$returnValue, $async$completer);
54987 }
54988 });
54989 return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
54990 },
54991 visitUseRule$1(node) {
54992 return this.visitUseRule$body$_EvaluateVisitor(node);
54993 },
54994 visitUseRule$body$_EvaluateVisitor(node) {
54995 var $async$goto = 0,
54996 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54997 $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
54998 var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54999 if ($async$errorCode === 1)
55000 return A._asyncRethrow($async$result, $async$completer);
55001 while (true)
55002 switch ($async$goto) {
55003 case 0:
55004 // Function start
55005 t1 = node.configuration;
55006 t2 = t1.length;
55007 $async$goto = t2 !== 0 ? 3 : 5;
55008 break;
55009 case 3:
55010 // then
55011 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
55012 _i = 0;
55013 case 6:
55014 // for condition
55015 if (!(_i < t2)) {
55016 // goto after for
55017 $async$goto = 8;
55018 break;
55019 }
55020 variable = t1[_i];
55021 t3 = variable.expression;
55022 variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t3);
55023 $async$temp1 = values;
55024 $async$temp2 = variable.name;
55025 $async$temp3 = A;
55026 $async$goto = 9;
55027 return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
55028 case 9:
55029 // returning from await.
55030 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
55031 case 7:
55032 // for update
55033 ++_i;
55034 // goto for condition
55035 $async$goto = 6;
55036 break;
55037 case 8:
55038 // after for
55039 configuration = new A.ExplicitConfiguration(node, values);
55040 // goto join
55041 $async$goto = 4;
55042 break;
55043 case 5:
55044 // else
55045 configuration = B.Configuration_Map_empty;
55046 case 4:
55047 // join
55048 $async$goto = 10;
55049 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);
55050 case 10:
55051 // returning from await.
55052 $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
55053 $async$returnValue = null;
55054 // goto return
55055 $async$goto = 1;
55056 break;
55057 case 1:
55058 // return
55059 return A._asyncReturn($async$returnValue, $async$completer);
55060 }
55061 });
55062 return A._asyncStartSync($async$visitUseRule$1, $async$completer);
55063 },
55064 visitWarnRule$1(node) {
55065 return this.visitWarnRule$body$_EvaluateVisitor(node);
55066 },
55067 visitWarnRule$body$_EvaluateVisitor(node) {
55068 var $async$goto = 0,
55069 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
55070 $async$returnValue, $async$self = this, value, t1;
55071 var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55072 if ($async$errorCode === 1)
55073 return A._asyncRethrow($async$result, $async$completer);
55074 while (true)
55075 switch ($async$goto) {
55076 case 0:
55077 // Function start
55078 $async$goto = 3;
55079 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
55080 case 3:
55081 // returning from await.
55082 value = $async$result;
55083 t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
55084 $async$self._async_evaluate$_logger.warn$2$trace(0, t1, $async$self._async_evaluate$_stackTrace$1(node.span));
55085 $async$returnValue = null;
55086 // goto return
55087 $async$goto = 1;
55088 break;
55089 case 1:
55090 // return
55091 return A._asyncReturn($async$returnValue, $async$completer);
55092 }
55093 });
55094 return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
55095 },
55096 visitWhileRule$1(node) {
55097 return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
55098 },
55099 visitBinaryOperationExpression$1(node) {
55100 return this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(this, node), type$.Value);
55101 },
55102 visitValueExpression$1(node) {
55103 return this.visitValueExpression$body$_EvaluateVisitor(node);
55104 },
55105 visitValueExpression$body$_EvaluateVisitor(node) {
55106 var $async$goto = 0,
55107 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55108 $async$returnValue;
55109 var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55110 if ($async$errorCode === 1)
55111 return A._asyncRethrow($async$result, $async$completer);
55112 while (true)
55113 switch ($async$goto) {
55114 case 0:
55115 // Function start
55116 $async$returnValue = node.value;
55117 // goto return
55118 $async$goto = 1;
55119 break;
55120 case 1:
55121 // return
55122 return A._asyncReturn($async$returnValue, $async$completer);
55123 }
55124 });
55125 return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
55126 },
55127 visitVariableExpression$1(node) {
55128 return this.visitVariableExpression$body$_EvaluateVisitor(node);
55129 },
55130 visitVariableExpression$body$_EvaluateVisitor(node) {
55131 var $async$goto = 0,
55132 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55133 $async$returnValue, $async$self = this, result;
55134 var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55135 if ($async$errorCode === 1)
55136 return A._asyncRethrow($async$result, $async$completer);
55137 while (true)
55138 switch ($async$goto) {
55139 case 0:
55140 // Function start
55141 result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
55142 if (result != null) {
55143 $async$returnValue = result;
55144 // goto return
55145 $async$goto = 1;
55146 break;
55147 }
55148 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
55149 case 1:
55150 // return
55151 return A._asyncReturn($async$returnValue, $async$completer);
55152 }
55153 });
55154 return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
55155 },
55156 visitUnaryOperationExpression$1(node) {
55157 return this.visitUnaryOperationExpression$body$_EvaluateVisitor(node);
55158 },
55159 visitUnaryOperationExpression$body$_EvaluateVisitor(node) {
55160 var $async$goto = 0,
55161 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55162 $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
55163 var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55164 if ($async$errorCode === 1)
55165 return A._asyncRethrow($async$result, $async$completer);
55166 while (true)
55167 switch ($async$goto) {
55168 case 0:
55169 // Function start
55170 $async$temp1 = node;
55171 $async$temp2 = A;
55172 $async$temp3 = node;
55173 $async$goto = 3;
55174 return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
55175 case 3:
55176 // returning from await.
55177 $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
55178 // goto return
55179 $async$goto = 1;
55180 break;
55181 case 1:
55182 // return
55183 return A._asyncReturn($async$returnValue, $async$completer);
55184 }
55185 });
55186 return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
55187 },
55188 visitBooleanExpression$1(node) {
55189 return this.visitBooleanExpression$body$_EvaluateVisitor(node);
55190 },
55191 visitBooleanExpression$body$_EvaluateVisitor(node) {
55192 var $async$goto = 0,
55193 $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
55194 $async$returnValue;
55195 var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55196 if ($async$errorCode === 1)
55197 return A._asyncRethrow($async$result, $async$completer);
55198 while (true)
55199 switch ($async$goto) {
55200 case 0:
55201 // Function start
55202 $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
55203 // goto return
55204 $async$goto = 1;
55205 break;
55206 case 1:
55207 // return
55208 return A._asyncReturn($async$returnValue, $async$completer);
55209 }
55210 });
55211 return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
55212 },
55213 visitIfExpression$1(node) {
55214 return this.visitIfExpression$body$_EvaluateVisitor(node);
55215 },
55216 visitIfExpression$body$_EvaluateVisitor(node) {
55217 var $async$goto = 0,
55218 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55219 $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
55220 var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55221 if ($async$errorCode === 1)
55222 return A._asyncRethrow($async$result, $async$completer);
55223 while (true)
55224 switch ($async$goto) {
55225 case 0:
55226 // Function start
55227 $async$goto = 3;
55228 return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
55229 case 3:
55230 // returning from await.
55231 pair = $async$result;
55232 positional = pair.item1;
55233 named = pair.item2;
55234 t1 = J.getInterceptor$asx(positional);
55235 $async$self._async_evaluate$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
55236 if (t1.get$length(positional) > 0)
55237 condition = t1.$index(positional, 0);
55238 else {
55239 t2 = named.$index(0, "condition");
55240 t2.toString;
55241 condition = t2;
55242 }
55243 if (t1.get$length(positional) > 1)
55244 ifTrue = t1.$index(positional, 1);
55245 else {
55246 t2 = named.$index(0, "if-true");
55247 t2.toString;
55248 ifTrue = t2;
55249 }
55250 if (t1.get$length(positional) > 2)
55251 ifFalse = t1.$index(positional, 2);
55252 else {
55253 t1 = named.$index(0, "if-false");
55254 t1.toString;
55255 ifFalse = t1;
55256 }
55257 $async$goto = 4;
55258 return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
55259 case 4:
55260 // returning from await.
55261 result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
55262 $async$goto = 5;
55263 return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
55264 case 5:
55265 // returning from await.
55266 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
55267 // goto return
55268 $async$goto = 1;
55269 break;
55270 case 1:
55271 // return
55272 return A._asyncReturn($async$returnValue, $async$completer);
55273 }
55274 });
55275 return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
55276 },
55277 visitNullExpression$1(node) {
55278 return this.visitNullExpression$body$_EvaluateVisitor(node);
55279 },
55280 visitNullExpression$body$_EvaluateVisitor(node) {
55281 var $async$goto = 0,
55282 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55283 $async$returnValue;
55284 var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55285 if ($async$errorCode === 1)
55286 return A._asyncRethrow($async$result, $async$completer);
55287 while (true)
55288 switch ($async$goto) {
55289 case 0:
55290 // Function start
55291 $async$returnValue = B.C__SassNull;
55292 // goto return
55293 $async$goto = 1;
55294 break;
55295 case 1:
55296 // return
55297 return A._asyncReturn($async$returnValue, $async$completer);
55298 }
55299 });
55300 return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
55301 },
55302 visitNumberExpression$1(node) {
55303 return this.visitNumberExpression$body$_EvaluateVisitor(node);
55304 },
55305 visitNumberExpression$body$_EvaluateVisitor(node) {
55306 var $async$goto = 0,
55307 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
55308 $async$returnValue, t1, t2;
55309 var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55310 if ($async$errorCode === 1)
55311 return A._asyncRethrow($async$result, $async$completer);
55312 while (true)
55313 switch ($async$goto) {
55314 case 0:
55315 // Function start
55316 t1 = node.value;
55317 t2 = node.unit;
55318 $async$returnValue = t2 == null ? new A.UnitlessSassNumber(t1, null) : new A.SingleUnitSassNumber(t2, t1, null);
55319 // goto return
55320 $async$goto = 1;
55321 break;
55322 case 1:
55323 // return
55324 return A._asyncReturn($async$returnValue, $async$completer);
55325 }
55326 });
55327 return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
55328 },
55329 visitParenthesizedExpression$1(node) {
55330 return node.expression.accept$1(this);
55331 },
55332 visitCalculationExpression$1(node) {
55333 return this.visitCalculationExpression$body$_EvaluateVisitor(node);
55334 },
55335 visitCalculationExpression$body$_EvaluateVisitor(node) {
55336 var $async$goto = 0,
55337 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55338 $async$returnValue, $async$next = [], $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
55339 var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55340 if ($async$errorCode === 1)
55341 return A._asyncRethrow($async$result, $async$completer);
55342 while (true)
55343 $async$outer:
55344 switch ($async$goto) {
55345 case 0:
55346 // Function start
55347 t1 = A._setArrayType([], type$.JSArray_Object);
55348 t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
55349 case 3:
55350 // for condition
55351 if (!(_i < t3)) {
55352 // goto after for
55353 $async$goto = 5;
55354 break;
55355 }
55356 argument = t2[_i];
55357 $async$temp1 = t1;
55358 $async$goto = 6;
55359 return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
55360 case 6:
55361 // returning from await.
55362 $async$temp1.push($async$result);
55363 case 4:
55364 // for update
55365 ++_i;
55366 // goto for condition
55367 $async$goto = 3;
55368 break;
55369 case 5:
55370 // after for
55371 $arguments = t1;
55372 if ($async$self._async_evaluate$_inSupportsDeclaration) {
55373 $async$returnValue = new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
55374 // goto return
55375 $async$goto = 1;
55376 break;
55377 }
55378 try {
55379 switch (t4) {
55380 case "calc":
55381 t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
55382 $async$returnValue = t1;
55383 // goto return
55384 $async$goto = 1;
55385 break $async$outer;
55386 case "min":
55387 t1 = A.SassCalculation_min($arguments);
55388 $async$returnValue = t1;
55389 // goto return
55390 $async$goto = 1;
55391 break $async$outer;
55392 case "max":
55393 t1 = A.SassCalculation_max($arguments);
55394 $async$returnValue = t1;
55395 // goto return
55396 $async$goto = 1;
55397 break $async$outer;
55398 case "clamp":
55399 t1 = J.$index$asx($arguments, 0);
55400 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
55401 t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
55402 $async$returnValue = t1;
55403 // goto return
55404 $async$goto = 1;
55405 break $async$outer;
55406 default:
55407 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
55408 throw A.wrapException(t1);
55409 }
55410 } catch (exception) {
55411 t1 = A.unwrapException(exception);
55412 if (t1 instanceof A.SassScriptException) {
55413 error = t1;
55414 stackTrace = A.getTraceFromException(exception);
55415 $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
55416 A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), stackTrace);
55417 } else
55418 throw exception;
55419 }
55420 case 1:
55421 // return
55422 return A._asyncReturn($async$returnValue, $async$completer);
55423 }
55424 });
55425 return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
55426 },
55427 _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
55428 var i, t1, arg, number1, j, number2;
55429 for (i = 0; t1 = args.length, i < t1; ++i) {
55430 arg = args[i];
55431 if (!(arg instanceof A.SassNumber))
55432 continue;
55433 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
55434 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])));
55435 }
55436 for (i = 0; i < t1 - 1; ++i) {
55437 number1 = args[i];
55438 if (!(number1 instanceof A.SassNumber))
55439 continue;
55440 for (j = i + 1; t1 = args.length, j < t1; ++j) {
55441 number2 = args[j];
55442 if (!(number2 instanceof A.SassNumber))
55443 continue;
55444 if (number1.hasPossiblyCompatibleUnits$1(number2))
55445 continue;
55446 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]))));
55447 }
55448 }
55449 },
55450 _async_evaluate$_visitCalculationValue$2$inMinMax(node, inMinMax) {
55451 return this._visitCalculationValue$body$_EvaluateVisitor(node, inMinMax);
55452 },
55453 _visitCalculationValue$body$_EvaluateVisitor(node, inMinMax) {
55454 var $async$goto = 0,
55455 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
55456 $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
55457 var $async$_async_evaluate$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55458 if ($async$errorCode === 1)
55459 return A._asyncRethrow($async$result, $async$completer);
55460 while (true)
55461 switch ($async$goto) {
55462 case 0:
55463 // Function start
55464 $async$goto = node instanceof A.ParenthesizedExpression ? 3 : 5;
55465 break;
55466 case 3:
55467 // then
55468 inner = node.expression;
55469 $async$goto = 6;
55470 return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
55471 case 6:
55472 // returning from await.
55473 result = $async$result;
55474 if (inner instanceof A.FunctionExpression)
55475 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
55476 else
55477 t1 = false;
55478 $async$returnValue = t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
55479 // goto return
55480 $async$goto = 1;
55481 break;
55482 // goto join
55483 $async$goto = 4;
55484 break;
55485 case 5:
55486 // else
55487 $async$goto = node instanceof A.StringExpression ? 7 : 9;
55488 break;
55489 case 7:
55490 // then
55491 $async$temp1 = A;
55492 $async$goto = 10;
55493 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.text), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
55494 case 10:
55495 // returning from await.
55496 $async$returnValue = new $async$temp1.CalculationInterpolation($async$result);
55497 // goto return
55498 $async$goto = 1;
55499 break;
55500 // goto join
55501 $async$goto = 8;
55502 break;
55503 case 9:
55504 // else
55505 $async$goto = node instanceof A.BinaryOperationExpression ? 11 : 13;
55506 break;
55507 case 11:
55508 // then
55509 $async$goto = 14;
55510 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);
55511 case 14:
55512 // returning from await.
55513 $async$returnValue = $async$result;
55514 // goto return
55515 $async$goto = 1;
55516 break;
55517 // goto join
55518 $async$goto = 12;
55519 break;
55520 case 13:
55521 // else
55522 $async$goto = 15;
55523 return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
55524 case 15:
55525 // returning from await.
55526 result = $async$result;
55527 if (result instanceof A.SassNumber || result instanceof A.SassCalculation) {
55528 $async$returnValue = result;
55529 // goto return
55530 $async$goto = 1;
55531 break;
55532 }
55533 if (result instanceof A.SassString && !result._hasQuotes) {
55534 $async$returnValue = result;
55535 // goto return
55536 $async$goto = 1;
55537 break;
55538 }
55539 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)));
55540 case 12:
55541 // join
55542 case 8:
55543 // join
55544 case 4:
55545 // join
55546 case 1:
55547 // return
55548 return A._asyncReturn($async$returnValue, $async$completer);
55549 }
55550 });
55551 return A._asyncStartSync($async$_async_evaluate$_visitCalculationValue$2$inMinMax, $async$completer);
55552 },
55553 _async_evaluate$_binaryOperatorToCalculationOperator$1(operator) {
55554 switch (operator) {
55555 case B.BinaryOperator_AcR0:
55556 return B.CalculationOperator_Iem;
55557 case B.BinaryOperator_iyO:
55558 return B.CalculationOperator_uti;
55559 case B.BinaryOperator_O1M:
55560 return B.CalculationOperator_Dih;
55561 case B.BinaryOperator_RTB:
55562 return B.CalculationOperator_jB6;
55563 default:
55564 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
55565 }
55566 },
55567 visitColorExpression$1(node) {
55568 return this.visitColorExpression$body$_EvaluateVisitor(node);
55569 },
55570 visitColorExpression$body$_EvaluateVisitor(node) {
55571 var $async$goto = 0,
55572 $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
55573 $async$returnValue;
55574 var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55575 if ($async$errorCode === 1)
55576 return A._asyncRethrow($async$result, $async$completer);
55577 while (true)
55578 switch ($async$goto) {
55579 case 0:
55580 // Function start
55581 $async$returnValue = node.value;
55582 // goto return
55583 $async$goto = 1;
55584 break;
55585 case 1:
55586 // return
55587 return A._asyncReturn($async$returnValue, $async$completer);
55588 }
55589 });
55590 return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
55591 },
55592 visitListExpression$1(node) {
55593 return this.visitListExpression$body$_EvaluateVisitor(node);
55594 },
55595 visitListExpression$body$_EvaluateVisitor(node) {
55596 var $async$goto = 0,
55597 $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
55598 $async$returnValue, $async$self = this, $async$temp1;
55599 var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55600 if ($async$errorCode === 1)
55601 return A._asyncRethrow($async$result, $async$completer);
55602 while (true)
55603 switch ($async$goto) {
55604 case 0:
55605 // Function start
55606 $async$temp1 = A;
55607 $async$goto = 3;
55608 return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
55609 case 3:
55610 // returning from await.
55611 $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
55612 // goto return
55613 $async$goto = 1;
55614 break;
55615 case 1:
55616 // return
55617 return A._asyncReturn($async$returnValue, $async$completer);
55618 }
55619 });
55620 return A._asyncStartSync($async$visitListExpression$1, $async$completer);
55621 },
55622 visitMapExpression$1(node) {
55623 return this.visitMapExpression$body$_EvaluateVisitor(node);
55624 },
55625 visitMapExpression$body$_EvaluateVisitor(node) {
55626 var $async$goto = 0,
55627 $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
55628 $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
55629 var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55630 if ($async$errorCode === 1)
55631 return A._asyncRethrow($async$result, $async$completer);
55632 while (true)
55633 switch ($async$goto) {
55634 case 0:
55635 // Function start
55636 t1 = type$.Value;
55637 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
55638 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
55639 t2 = node.pairs, t3 = t2.length, _i = 0;
55640 case 3:
55641 // for condition
55642 if (!(_i < t3)) {
55643 // goto after for
55644 $async$goto = 5;
55645 break;
55646 }
55647 pair = t2[_i];
55648 t4 = pair.item1;
55649 $async$goto = 6;
55650 return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
55651 case 6:
55652 // returning from await.
55653 keyValue = $async$result;
55654 $async$goto = 7;
55655 return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
55656 case 7:
55657 // returning from await.
55658 valueValue = $async$result;
55659 if (map.$index(0, keyValue) != null) {
55660 t1 = keyNodes.$index(0, keyValue);
55661 oldValueSpan = t1 == null ? null : t1.get$span(t1);
55662 t1 = J.getInterceptor$z(t4);
55663 t2 = t1.get$span(t4);
55664 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
55665 if (oldValueSpan != null)
55666 t3.$indexSet(0, oldValueSpan, "first key");
55667 throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate$_stackTrace$1(t1.get$span(t4))));
55668 }
55669 map.$indexSet(0, keyValue, valueValue);
55670 keyNodes.$indexSet(0, keyValue, t4);
55671 case 4:
55672 // for update
55673 ++_i;
55674 // goto for condition
55675 $async$goto = 3;
55676 break;
55677 case 5:
55678 // after for
55679 $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
55680 // goto return
55681 $async$goto = 1;
55682 break;
55683 case 1:
55684 // return
55685 return A._asyncReturn($async$returnValue, $async$completer);
55686 }
55687 });
55688 return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
55689 },
55690 visitFunctionExpression$1(node) {
55691 return this.visitFunctionExpression$body$_EvaluateVisitor(node);
55692 },
55693 visitFunctionExpression$body$_EvaluateVisitor(node) {
55694 var $async$goto = 0,
55695 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55696 $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
55697 var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55698 if ($async$errorCode === 1)
55699 return A._asyncRethrow($async$result, $async$completer);
55700 while (true)
55701 switch ($async$goto) {
55702 case 0:
55703 // Function start
55704 t1 = {};
55705 $function = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1($async$self, node));
55706 t1.$function = $function;
55707 if ($function == null) {
55708 if (node.namespace != null)
55709 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
55710 t1.$function = new A.PlainCssCallable(node.originalName);
55711 }
55712 oldInFunction = $async$self._async_evaluate$_inFunction;
55713 $async$self._async_evaluate$_inFunction = true;
55714 $async$goto = 3;
55715 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);
55716 case 3:
55717 // returning from await.
55718 result = $async$result;
55719 $async$self._async_evaluate$_inFunction = oldInFunction;
55720 $async$returnValue = result;
55721 // goto return
55722 $async$goto = 1;
55723 break;
55724 case 1:
55725 // return
55726 return A._asyncReturn($async$returnValue, $async$completer);
55727 }
55728 });
55729 return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
55730 },
55731 visitInterpolatedFunctionExpression$1(node) {
55732 return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node);
55733 },
55734 visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node) {
55735 var $async$goto = 0,
55736 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55737 $async$returnValue, $async$self = this, result, t1, oldInFunction;
55738 var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55739 if ($async$errorCode === 1)
55740 return A._asyncRethrow($async$result, $async$completer);
55741 while (true)
55742 switch ($async$goto) {
55743 case 0:
55744 // Function start
55745 $async$goto = 3;
55746 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
55747 case 3:
55748 // returning from await.
55749 t1 = $async$result;
55750 oldInFunction = $async$self._async_evaluate$_inFunction;
55751 $async$self._async_evaluate$_inFunction = true;
55752 $async$goto = 4;
55753 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);
55754 case 4:
55755 // returning from await.
55756 result = $async$result;
55757 $async$self._async_evaluate$_inFunction = oldInFunction;
55758 $async$returnValue = result;
55759 // goto return
55760 $async$goto = 1;
55761 break;
55762 case 1:
55763 // return
55764 return A._asyncReturn($async$returnValue, $async$completer);
55765 }
55766 });
55767 return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
55768 },
55769 _async_evaluate$_getFunction$2$namespace($name, namespace) {
55770 var local = this._async_evaluate$_environment.getFunction$2$namespace($name, namespace);
55771 if (local != null || namespace != null)
55772 return local;
55773 return this._async_evaluate$_builtInFunctions.$index(0, $name);
55774 },
55775 _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
55776 return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
55777 },
55778 _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
55779 var $async$goto = 0,
55780 $async$completer = A._makeAsyncAwaitCompleter($async$type),
55781 $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
55782 var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55783 if ($async$errorCode === 1)
55784 return A._asyncRethrow($async$result, $async$completer);
55785 while (true)
55786 switch ($async$goto) {
55787 case 0:
55788 // Function start
55789 $async$goto = 3;
55790 return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
55791 case 3:
55792 // returning from await.
55793 evaluated = $async$result;
55794 $name = callable.declaration.name;
55795 if ($name !== "@content")
55796 $name += "()";
55797 oldCallable = $async$self._async_evaluate$_currentCallable;
55798 $async$self._async_evaluate$_currentCallable = callable;
55799 $async$goto = 4;
55800 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);
55801 case 4:
55802 // returning from await.
55803 result = $async$result;
55804 $async$self._async_evaluate$_currentCallable = oldCallable;
55805 $async$returnValue = result;
55806 // goto return
55807 $async$goto = 1;
55808 break;
55809 case 1:
55810 // return
55811 return A._asyncReturn($async$returnValue, $async$completer);
55812 }
55813 });
55814 return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
55815 },
55816 _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
55817 return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
55818 },
55819 _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
55820 var $async$goto = 0,
55821 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55822 $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
55823 var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55824 if ($async$errorCode === 1)
55825 return A._asyncRethrow($async$result, $async$completer);
55826 while (true)
55827 switch ($async$goto) {
55828 case 0:
55829 // Function start
55830 $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
55831 break;
55832 case 3:
55833 // then
55834 $async$goto = 6;
55835 return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
55836 case 6:
55837 // returning from await.
55838 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
55839 // goto return
55840 $async$goto = 1;
55841 break;
55842 // goto join
55843 $async$goto = 4;
55844 break;
55845 case 5:
55846 // else
55847 $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
55848 break;
55849 case 7:
55850 // then
55851 $async$goto = 10;
55852 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);
55853 case 10:
55854 // returning from await.
55855 $async$returnValue = $async$result;
55856 // goto return
55857 $async$goto = 1;
55858 break;
55859 // goto join
55860 $async$goto = 8;
55861 break;
55862 case 9:
55863 // else
55864 $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
55865 break;
55866 case 11:
55867 // then
55868 t1 = $arguments.named;
55869 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
55870 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
55871 t1 = callable.name + "(";
55872 t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
55873 case 14:
55874 // for condition
55875 if (!(_i < t3)) {
55876 // goto after for
55877 $async$goto = 16;
55878 break;
55879 }
55880 argument = t2[_i];
55881 if (first)
55882 first = false;
55883 else
55884 t1 += ", ";
55885 $async$temp1 = A;
55886 $async$goto = 17;
55887 return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
55888 case 17:
55889 // returning from await.
55890 t1 += $async$temp1.S($async$result);
55891 case 15:
55892 // for update
55893 ++_i;
55894 // goto for condition
55895 $async$goto = 14;
55896 break;
55897 case 16:
55898 // after for
55899 restArg = $arguments.rest;
55900 $async$goto = restArg != null ? 18 : 19;
55901 break;
55902 case 18:
55903 // then
55904 $async$goto = 20;
55905 return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
55906 case 20:
55907 // returning from await.
55908 rest = $async$result;
55909 if (!first)
55910 t1 += ", ";
55911 t1 += $async$self._async_evaluate$_serialize$2(rest, restArg);
55912 case 19:
55913 // join
55914 t1 += A.Primitives_stringFromCharCode(41);
55915 $async$returnValue = new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
55916 // goto return
55917 $async$goto = 1;
55918 break;
55919 // goto join
55920 $async$goto = 12;
55921 break;
55922 case 13:
55923 // else
55924 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
55925 case 12:
55926 // join
55927 case 8:
55928 // join
55929 case 4:
55930 // join
55931 case 1:
55932 // return
55933 return A._asyncReturn($async$returnValue, $async$completer);
55934 }
55935 });
55936 return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
55937 },
55938 _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
55939 return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
55940 },
55941 _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
55942 var $async$goto = 0,
55943 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55944 $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;
55945 var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55946 if ($async$errorCode === 1) {
55947 $async$currentError = $async$result;
55948 $async$goto = $async$handler;
55949 }
55950 while (true)
55951 switch ($async$goto) {
55952 case 0:
55953 // Function start
55954 $async$goto = 3;
55955 return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
55956 case 3:
55957 // returning from await.
55958 evaluated = $async$result;
55959 oldCallableNode = $async$self._async_evaluate$_callableNode;
55960 $async$self._async_evaluate$_callableNode = nodeWithSpan;
55961 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
55962 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
55963 overload = tuple.item1;
55964 callback = tuple.item2;
55965 $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure1(overload, evaluated, namedSet));
55966 declaredArguments = overload.$arguments;
55967 i = evaluated.positional.length, t1 = declaredArguments.length;
55968 case 4:
55969 // for condition
55970 if (!(i < t1)) {
55971 // goto after for
55972 $async$goto = 6;
55973 break;
55974 }
55975 argument = declaredArguments[i];
55976 t2 = evaluated.positional;
55977 t3 = evaluated.named.remove$1(0, argument.name);
55978 $async$goto = t3 == null ? 7 : 8;
55979 break;
55980 case 7:
55981 // then
55982 t3 = argument.defaultValue;
55983 $async$goto = 9;
55984 return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate$_runBuiltInCallable$3);
55985 case 9:
55986 // returning from await.
55987 t3 = $async$self._async_evaluate$_withoutSlash$2($async$result, t3);
55988 case 8:
55989 // join
55990 t2.push(t3);
55991 case 5:
55992 // for update
55993 ++i;
55994 // goto for condition
55995 $async$goto = 4;
55996 break;
55997 case 6:
55998 // after for
55999 if (overload.restArgument != null) {
56000 if (evaluated.positional.length > t1) {
56001 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
56002 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
56003 } else
56004 rest = B.List_empty5;
56005 t1 = evaluated.named;
56006 argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : evaluated.separator);
56007 evaluated.positional.push(argumentList);
56008 } else
56009 argumentList = null;
56010 result = null;
56011 $async$handler = 11;
56012 $async$goto = 14;
56013 return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate$_runBuiltInCallable$3);
56014 case 14:
56015 // returning from await.
56016 result = $async$result;
56017 $async$handler = 2;
56018 // goto after finally
56019 $async$goto = 13;
56020 break;
56021 case 11:
56022 // catch
56023 $async$handler = 10;
56024 $async$exception = $async$currentError;
56025 t1 = A.unwrapException($async$exception);
56026 if (type$.SassRuntimeException._is(t1))
56027 throw $async$exception;
56028 else if (t1 instanceof A.MultiSpanSassScriptException) {
56029 error = t1;
56030 stackTrace = A.getTraceFromException($async$exception);
56031 t1 = error.message;
56032 t2 = nodeWithSpan.get$span(nodeWithSpan);
56033 t3 = error.primaryLabel;
56034 t4 = error.secondarySpans;
56035 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);
56036 } else if (t1 instanceof A.MultiSpanSassException) {
56037 error0 = t1;
56038 stackTrace0 = A.getTraceFromException($async$exception);
56039 t1 = error0._span_exception$_message;
56040 t2 = error0;
56041 t3 = J.getInterceptor$z(t2);
56042 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
56043 t3 = error0.primaryLabel;
56044 t4 = error0.secondarySpans;
56045 t5 = error0;
56046 t6 = J.getInterceptor$z(t5);
56047 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);
56048 } else {
56049 error1 = t1;
56050 stackTrace1 = A.getTraceFromException($async$exception);
56051 message = null;
56052 try {
56053 message = A._asString(J.get$message$x(error1));
56054 } catch (exception) {
56055 message0 = J.toString$0$(error1);
56056 message = message0;
56057 }
56058 A.throwWithTrace($async$self._async_evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
56059 }
56060 // goto after finally
56061 $async$goto = 13;
56062 break;
56063 case 10:
56064 // uncaught
56065 // goto rethrow
56066 $async$goto = 2;
56067 break;
56068 case 13:
56069 // after finally
56070 $async$self._async_evaluate$_callableNode = oldCallableNode;
56071 if (argumentList == null) {
56072 $async$returnValue = result;
56073 // goto return
56074 $async$goto = 1;
56075 break;
56076 }
56077 t1 = evaluated.named;
56078 if (t1.get$isEmpty(t1)) {
56079 $async$returnValue = result;
56080 // goto return
56081 $async$goto = 1;
56082 break;
56083 }
56084 if (argumentList._wereKeywordsAccessed) {
56085 $async$returnValue = result;
56086 // goto return
56087 $async$goto = 1;
56088 break;
56089 }
56090 t1 = evaluated.named;
56091 t1 = t1.get$keys(t1);
56092 t1 = "No " + A.pluralize("argument", t1.get$length(t1), null) + " named ";
56093 t2 = evaluated.named;
56094 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))));
56095 case 1:
56096 // return
56097 return A._asyncReturn($async$returnValue, $async$completer);
56098 case 2:
56099 // rethrow
56100 return A._asyncRethrow($async$currentError, $async$completer);
56101 }
56102 });
56103 return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
56104 },
56105 _async_evaluate$_evaluateArguments$1($arguments) {
56106 return this._evaluateArguments$body$_EvaluateVisitor($arguments);
56107 },
56108 _evaluateArguments$body$_EvaluateVisitor($arguments) {
56109 var $async$goto = 0,
56110 $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults),
56111 $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;
56112 var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56113 if ($async$errorCode === 1)
56114 return A._asyncRethrow($async$result, $async$completer);
56115 while (true)
56116 switch ($async$goto) {
56117 case 0:
56118 // Function start
56119 positional = A._setArrayType([], type$.JSArray_Value);
56120 positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
56121 t1 = $arguments.positional, t2 = t1.length, _i = 0;
56122 case 3:
56123 // for condition
56124 if (!(_i < t2)) {
56125 // goto after for
56126 $async$goto = 5;
56127 break;
56128 }
56129 expression = t1[_i];
56130 nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
56131 $async$temp1 = positional;
56132 $async$goto = 6;
56133 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
56134 case 6:
56135 // returning from await.
56136 $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
56137 positionalNodes.push(nodeForSpan);
56138 case 4:
56139 // for update
56140 ++_i;
56141 // goto for condition
56142 $async$goto = 3;
56143 break;
56144 case 5:
56145 // after for
56146 t1 = type$.String;
56147 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
56148 t2 = type$.AstNode;
56149 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
56150 t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
56151 case 7:
56152 // for condition
56153 if (!t3.moveNext$0()) {
56154 // goto after for
56155 $async$goto = 8;
56156 break;
56157 }
56158 t4 = t3.get$current(t3);
56159 t5 = t4.value;
56160 nodeForSpan = $async$self._async_evaluate$_expressionNode$1(t5);
56161 t4 = t4.key;
56162 $async$temp1 = named;
56163 $async$temp2 = t4;
56164 $async$goto = 9;
56165 return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
56166 case 9:
56167 // returning from await.
56168 $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
56169 namedNodes.$indexSet(0, t4, nodeForSpan);
56170 // goto for condition
56171 $async$goto = 7;
56172 break;
56173 case 8:
56174 // after for
56175 restArgs = $arguments.rest;
56176 if (restArgs == null) {
56177 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null);
56178 // goto return
56179 $async$goto = 1;
56180 break;
56181 }
56182 $async$goto = 10;
56183 return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
56184 case 10:
56185 // returning from await.
56186 rest = $async$result;
56187 restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
56188 if (rest instanceof A.SassMap) {
56189 $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
56190 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
56191 for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
56192 t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
56193 namedNodes.addAll$1(0, t3);
56194 separator = B.ListSeparator_undecided_null;
56195 } else if (rest instanceof A.SassList) {
56196 t3 = rest._list$_contents;
56197 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>")));
56198 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
56199 separator = rest._separator;
56200 if (rest instanceof A.SassArgumentList) {
56201 rest._wereKeywordsAccessed = true;
56202 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
56203 }
56204 } else {
56205 positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
56206 positionalNodes.push(restNodeForSpan);
56207 separator = B.ListSeparator_undecided_null;
56208 }
56209 keywordRestArgs = $arguments.keywordRest;
56210 if (keywordRestArgs == null) {
56211 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
56212 // goto return
56213 $async$goto = 1;
56214 break;
56215 }
56216 $async$goto = 11;
56217 return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
56218 case 11:
56219 // returning from await.
56220 keywordRest = $async$result;
56221 keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
56222 if (keywordRest instanceof A.SassMap) {
56223 $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
56224 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
56225 for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
56226 t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
56227 namedNodes.addAll$1(0, t1);
56228 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
56229 // goto return
56230 $async$goto = 1;
56231 break;
56232 } else
56233 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
56234 case 1:
56235 // return
56236 return A._asyncReturn($async$returnValue, $async$completer);
56237 }
56238 });
56239 return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
56240 },
56241 _async_evaluate$_evaluateMacroArguments$1(invocation) {
56242 return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
56243 },
56244 _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
56245 var $async$goto = 0,
56246 $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression),
56247 $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
56248 var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56249 if ($async$errorCode === 1)
56250 return A._asyncRethrow($async$result, $async$completer);
56251 while (true)
56252 switch ($async$goto) {
56253 case 0:
56254 // Function start
56255 t1 = invocation.$arguments;
56256 restArgs_ = t1.rest;
56257 if (restArgs_ == null) {
56258 $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
56259 // goto return
56260 $async$goto = 1;
56261 break;
56262 }
56263 t2 = t1.positional;
56264 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
56265 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
56266 $async$goto = 3;
56267 return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
56268 case 3:
56269 // returning from await.
56270 rest = $async$result;
56271 restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
56272 if (rest instanceof A.SassMap)
56273 $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
56274 else if (rest instanceof A.SassList) {
56275 t2 = rest._list$_contents;
56276 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>")));
56277 if (rest instanceof A.SassArgumentList) {
56278 rest._wereKeywordsAccessed = true;
56279 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
56280 }
56281 } else
56282 positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
56283 keywordRestArgs_ = t1.keywordRest;
56284 if (keywordRestArgs_ == null) {
56285 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
56286 // goto return
56287 $async$goto = 1;
56288 break;
56289 }
56290 $async$goto = 4;
56291 return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
56292 case 4:
56293 // returning from await.
56294 keywordRest = $async$result;
56295 keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
56296 if (keywordRest instanceof A.SassMap) {
56297 $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
56298 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
56299 // goto return
56300 $async$goto = 1;
56301 break;
56302 } else
56303 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
56304 case 1:
56305 // return
56306 return A._asyncReturn($async$returnValue, $async$completer);
56307 }
56308 });
56309 return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
56310 },
56311 _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
56312 map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
56313 },
56314 _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
56315 return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
56316 },
56317 _async_evaluate$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
56318 return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0($arguments, positional, named));
56319 },
56320 visitSelectorExpression$1(node) {
56321 return this.visitSelectorExpression$body$_EvaluateVisitor(node);
56322 },
56323 visitSelectorExpression$body$_EvaluateVisitor(node) {
56324 var $async$goto = 0,
56325 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
56326 $async$returnValue, $async$self = this, t1;
56327 var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56328 if ($async$errorCode === 1)
56329 return A._asyncRethrow($async$result, $async$completer);
56330 while (true)
56331 switch ($async$goto) {
56332 case 0:
56333 // Function start
56334 t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
56335 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
56336 $async$returnValue = t1 == null ? B.C__SassNull : t1;
56337 // goto return
56338 $async$goto = 1;
56339 break;
56340 case 1:
56341 // return
56342 return A._asyncReturn($async$returnValue, $async$completer);
56343 }
56344 });
56345 return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
56346 },
56347 visitStringExpression$1(node) {
56348 return this.visitStringExpression$body$_EvaluateVisitor(node);
56349 },
56350 visitStringExpression$body$_EvaluateVisitor(node) {
56351 var $async$goto = 0,
56352 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
56353 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
56354 var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56355 if ($async$errorCode === 1)
56356 return A._asyncRethrow($async$result, $async$completer);
56357 while (true)
56358 switch ($async$goto) {
56359 case 0:
56360 // Function start
56361 oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
56362 $async$self._async_evaluate$_inSupportsDeclaration = false;
56363 $async$temp1 = J;
56364 $async$goto = 3;
56365 return A._asyncAwait(A.mapAsync(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure0($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
56366 case 3:
56367 // returning from await.
56368 t1 = $async$temp1.join$0$ax($async$result);
56369 $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
56370 $async$returnValue = new A.SassString(t1, node.hasQuotes);
56371 // goto return
56372 $async$goto = 1;
56373 break;
56374 case 1:
56375 // return
56376 return A._asyncReturn($async$returnValue, $async$completer);
56377 }
56378 });
56379 return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
56380 },
56381 visitCssAtRule$1(node) {
56382 return this.visitCssAtRule$body$_EvaluateVisitor(node);
56383 },
56384 visitCssAtRule$body$_EvaluateVisitor(node) {
56385 var $async$goto = 0,
56386 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56387 $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
56388 var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56389 if ($async$errorCode === 1)
56390 return A._asyncRethrow($async$result, $async$completer);
56391 while (true)
56392 switch ($async$goto) {
56393 case 0:
56394 // Function start
56395 if ($async$self._async_evaluate$_declarationName != null)
56396 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
56397 if (node.isChildless) {
56398 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
56399 // goto return
56400 $async$goto = 1;
56401 break;
56402 }
56403 wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
56404 wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
56405 t1 = node.name;
56406 if (A.unvendor(t1.get$value(t1)) === "keyframes")
56407 $async$self._async_evaluate$_inKeyframes = true;
56408 else
56409 $async$self._async_evaluate$_inUnknownAtRule = true;
56410 $async$goto = 3;
56411 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);
56412 case 3:
56413 // returning from await.
56414 $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
56415 $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
56416 case 1:
56417 // return
56418 return A._asyncReturn($async$returnValue, $async$completer);
56419 }
56420 });
56421 return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
56422 },
56423 visitCssComment$1(node) {
56424 return this.visitCssComment$body$_EvaluateVisitor(node);
56425 },
56426 visitCssComment$body$_EvaluateVisitor(node) {
56427 var $async$goto = 0,
56428 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56429 $async$self = this;
56430 var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56431 if ($async$errorCode === 1)
56432 return A._asyncRethrow($async$result, $async$completer);
56433 while (true)
56434 switch ($async$goto) {
56435 case 0:
56436 // Function start
56437 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))
56438 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
56439 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
56440 // implicit return
56441 return A._asyncReturn(null, $async$completer);
56442 }
56443 });
56444 return A._asyncStartSync($async$visitCssComment$1, $async$completer);
56445 },
56446 visitCssDeclaration$1(node) {
56447 return this.visitCssDeclaration$body$_EvaluateVisitor(node);
56448 },
56449 visitCssDeclaration$body$_EvaluateVisitor(node) {
56450 var $async$goto = 0,
56451 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56452 $async$self = this, t1;
56453 var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56454 if ($async$errorCode === 1)
56455 return A._asyncRethrow($async$result, $async$completer);
56456 while (true)
56457 switch ($async$goto) {
56458 case 0:
56459 // Function start
56460 t1 = node.name;
56461 $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));
56462 // implicit return
56463 return A._asyncReturn(null, $async$completer);
56464 }
56465 });
56466 return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
56467 },
56468 visitCssImport$1(node) {
56469 return this.visitCssImport$body$_EvaluateVisitor(node);
56470 },
56471 visitCssImport$body$_EvaluateVisitor(node) {
56472 var $async$goto = 0,
56473 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56474 $async$self = this, t1, modifiableNode;
56475 var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56476 if ($async$errorCode === 1)
56477 return A._asyncRethrow($async$result, $async$completer);
56478 while (true)
56479 switch ($async$goto) {
56480 case 0:
56481 // Function start
56482 modifiableNode = A.ModifiableCssImport$(node.url, node.span, node.media, node.supports);
56483 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"))
56484 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
56485 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)) {
56486 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
56487 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
56488 } else {
56489 t1 = $async$self._async_evaluate$_outOfOrderImports;
56490 (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
56491 }
56492 // implicit return
56493 return A._asyncReturn(null, $async$completer);
56494 }
56495 });
56496 return A._asyncStartSync($async$visitCssImport$1, $async$completer);
56497 },
56498 visitCssKeyframeBlock$1(node) {
56499 return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
56500 },
56501 visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
56502 var $async$goto = 0,
56503 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56504 $async$self = this;
56505 var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56506 if ($async$errorCode === 1)
56507 return A._asyncRethrow($async$result, $async$completer);
56508 while (true)
56509 switch ($async$goto) {
56510 case 0:
56511 // Function start
56512 $async$goto = 2;
56513 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);
56514 case 2:
56515 // returning from await.
56516 // implicit return
56517 return A._asyncReturn(null, $async$completer);
56518 }
56519 });
56520 return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
56521 },
56522 visitCssMediaRule$1(node) {
56523 return this.visitCssMediaRule$body$_EvaluateVisitor(node);
56524 },
56525 visitCssMediaRule$body$_EvaluateVisitor(node) {
56526 var $async$goto = 0,
56527 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56528 $async$returnValue, $async$self = this, mergedQueries, t1;
56529 var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56530 if ($async$errorCode === 1)
56531 return A._asyncRethrow($async$result, $async$completer);
56532 while (true)
56533 switch ($async$goto) {
56534 case 0:
56535 // Function start
56536 if ($async$self._async_evaluate$_declarationName != null)
56537 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
56538 mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
56539 t1 = mergedQueries == null;
56540 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
56541 // goto return
56542 $async$goto = 1;
56543 break;
56544 }
56545 t1 = t1 ? node.queries : mergedQueries;
56546 $async$goto = 3;
56547 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);
56548 case 3:
56549 // returning from await.
56550 case 1:
56551 // return
56552 return A._asyncReturn($async$returnValue, $async$completer);
56553 }
56554 });
56555 return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
56556 },
56557 visitCssStyleRule$1(node) {
56558 return this.visitCssStyleRule$body$_EvaluateVisitor(node);
56559 },
56560 visitCssStyleRule$body$_EvaluateVisitor(node) {
56561 var $async$goto = 0,
56562 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56563 $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
56564 var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56565 if ($async$errorCode === 1)
56566 return A._asyncRethrow($async$result, $async$completer);
56567 while (true)
56568 switch ($async$goto) {
56569 case 0:
56570 // Function start
56571 if ($async$self._async_evaluate$_declarationName != null)
56572 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
56573 t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
56574 styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
56575 t2 = node.selector;
56576 t3 = t2.value;
56577 t4 = styleRule == null;
56578 t5 = t4 ? null : styleRule.originalSelector;
56579 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
56580 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);
56581 oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
56582 $async$self._async_evaluate$_atRootExcludingStyleRule = false;
56583 $async$goto = 2;
56584 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);
56585 case 2:
56586 // returning from await.
56587 $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
56588 if (t4) {
56589 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
56590 t1 = !t1.get$isEmpty(t1);
56591 } else
56592 t1 = false;
56593 if (t1) {
56594 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
56595 t1.get$last(t1).isGroupEnd = true;
56596 }
56597 // implicit return
56598 return A._asyncReturn(null, $async$completer);
56599 }
56600 });
56601 return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
56602 },
56603 visitCssStylesheet$1(node) {
56604 return this.visitCssStylesheet$body$_EvaluateVisitor(node);
56605 },
56606 visitCssStylesheet$body$_EvaluateVisitor(node) {
56607 var $async$goto = 0,
56608 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56609 $async$self = this, t1;
56610 var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56611 if ($async$errorCode === 1)
56612 return A._asyncRethrow($async$result, $async$completer);
56613 while (true)
56614 switch ($async$goto) {
56615 case 0:
56616 // Function start
56617 t1 = J.get$iterator$ax(node.get$children(node));
56618 case 2:
56619 // for condition
56620 if (!t1.moveNext$0()) {
56621 // goto after for
56622 $async$goto = 3;
56623 break;
56624 }
56625 $async$goto = 4;
56626 return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
56627 case 4:
56628 // returning from await.
56629 // goto for condition
56630 $async$goto = 2;
56631 break;
56632 case 3:
56633 // after for
56634 // implicit return
56635 return A._asyncReturn(null, $async$completer);
56636 }
56637 });
56638 return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
56639 },
56640 visitCssSupportsRule$1(node) {
56641 return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
56642 },
56643 visitCssSupportsRule$body$_EvaluateVisitor(node) {
56644 var $async$goto = 0,
56645 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56646 $async$self = this;
56647 var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56648 if ($async$errorCode === 1)
56649 return A._asyncRethrow($async$result, $async$completer);
56650 while (true)
56651 switch ($async$goto) {
56652 case 0:
56653 // Function start
56654 if ($async$self._async_evaluate$_declarationName != null)
56655 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
56656 $async$goto = 2;
56657 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);
56658 case 2:
56659 // returning from await.
56660 // implicit return
56661 return A._asyncReturn(null, $async$completer);
56662 }
56663 });
56664 return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
56665 },
56666 _async_evaluate$_handleReturn$1$2(list, callback) {
56667 return this._handleReturn$body$_EvaluateVisitor(list, callback);
56668 },
56669 _async_evaluate$_handleReturn$2(list, callback) {
56670 return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
56671 },
56672 _handleReturn$body$_EvaluateVisitor(list, callback) {
56673 var $async$goto = 0,
56674 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
56675 $async$returnValue, t1, _i, result;
56676 var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56677 if ($async$errorCode === 1)
56678 return A._asyncRethrow($async$result, $async$completer);
56679 while (true)
56680 switch ($async$goto) {
56681 case 0:
56682 // Function start
56683 t1 = list.length, _i = 0;
56684 case 3:
56685 // for condition
56686 if (!(_i < list.length)) {
56687 // goto after for
56688 $async$goto = 5;
56689 break;
56690 }
56691 $async$goto = 6;
56692 return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
56693 case 6:
56694 // returning from await.
56695 result = $async$result;
56696 if (result != null) {
56697 $async$returnValue = result;
56698 // goto return
56699 $async$goto = 1;
56700 break;
56701 }
56702 case 4:
56703 // for update
56704 list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
56705 // goto for condition
56706 $async$goto = 3;
56707 break;
56708 case 5:
56709 // after for
56710 $async$returnValue = null;
56711 // goto return
56712 $async$goto = 1;
56713 break;
56714 case 1:
56715 // return
56716 return A._asyncReturn($async$returnValue, $async$completer);
56717 }
56718 });
56719 return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
56720 },
56721 _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
56722 return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
56723 },
56724 _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
56725 var $async$goto = 0,
56726 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56727 $async$returnValue, $async$self = this, result, oldEnvironment;
56728 var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56729 if ($async$errorCode === 1)
56730 return A._asyncRethrow($async$result, $async$completer);
56731 while (true)
56732 switch ($async$goto) {
56733 case 0:
56734 // Function start
56735 oldEnvironment = $async$self._async_evaluate$_environment;
56736 $async$self._async_evaluate$_environment = environment;
56737 $async$goto = 3;
56738 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
56739 case 3:
56740 // returning from await.
56741 result = $async$result;
56742 $async$self._async_evaluate$_environment = oldEnvironment;
56743 $async$returnValue = result;
56744 // goto return
56745 $async$goto = 1;
56746 break;
56747 case 1:
56748 // return
56749 return A._asyncReturn($async$returnValue, $async$completer);
56750 }
56751 });
56752 return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
56753 },
56754 _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
56755 return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
56756 },
56757 _async_evaluate$_interpolationToValue$1(interpolation) {
56758 return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
56759 },
56760 _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
56761 return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
56762 },
56763 _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
56764 var $async$goto = 0,
56765 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
56766 $async$returnValue, $async$self = this, result, t1;
56767 var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = 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 $async$goto = 3;
56775 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
56776 case 3:
56777 // returning from await.
56778 result = $async$result;
56779 t1 = trim ? A.trimAscii(result, true) : result;
56780 $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
56781 // goto return
56782 $async$goto = 1;
56783 break;
56784 case 1:
56785 // return
56786 return A._asyncReturn($async$returnValue, $async$completer);
56787 }
56788 });
56789 return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
56790 },
56791 _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
56792 return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
56793 },
56794 _async_evaluate$_performInterpolation$1(interpolation) {
56795 return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
56796 },
56797 _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
56798 var $async$goto = 0,
56799 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
56800 $async$returnValue, $async$self = this, result, oldInSupportsDeclaration, $async$temp1;
56801 var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56802 if ($async$errorCode === 1)
56803 return A._asyncRethrow($async$result, $async$completer);
56804 while (true)
56805 switch ($async$goto) {
56806 case 0:
56807 // Function start
56808 oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
56809 $async$self._async_evaluate$_inSupportsDeclaration = false;
56810 $async$temp1 = J;
56811 $async$goto = 3;
56812 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);
56813 case 3:
56814 // returning from await.
56815 result = $async$temp1.join$0$ax($async$result);
56816 $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
56817 $async$returnValue = result;
56818 // goto return
56819 $async$goto = 1;
56820 break;
56821 case 1:
56822 // return
56823 return A._asyncReturn($async$returnValue, $async$completer);
56824 }
56825 });
56826 return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
56827 },
56828 _evaluateToCss$2$quote(expression, quote) {
56829 return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
56830 },
56831 _evaluateToCss$1(expression) {
56832 return this._evaluateToCss$2$quote(expression, true);
56833 },
56834 _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
56835 var $async$goto = 0,
56836 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
56837 $async$returnValue, $async$self = this;
56838 var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56839 if ($async$errorCode === 1)
56840 return A._asyncRethrow($async$result, $async$completer);
56841 while (true)
56842 switch ($async$goto) {
56843 case 0:
56844 // Function start
56845 $async$goto = 3;
56846 return A._asyncAwait(expression.accept$1($async$self), $async$_evaluateToCss$2$quote);
56847 case 3:
56848 // returning from await.
56849 $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
56850 // goto return
56851 $async$goto = 1;
56852 break;
56853 case 1:
56854 // return
56855 return A._asyncReturn($async$returnValue, $async$completer);
56856 }
56857 });
56858 return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
56859 },
56860 _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
56861 return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
56862 },
56863 _async_evaluate$_serialize$2(value, nodeWithSpan) {
56864 return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
56865 },
56866 _async_evaluate$_expressionNode$1(expression) {
56867 var t1;
56868 if (expression instanceof A.VariableExpression) {
56869 t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
56870 return t1 == null ? expression : t1;
56871 } else
56872 return expression;
56873 },
56874 _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
56875 return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
56876 },
56877 _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
56878 return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
56879 },
56880 _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
56881 return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
56882 },
56883 _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
56884 var $async$goto = 0,
56885 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56886 $async$returnValue, $async$self = this, t1, result;
56887 var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56888 if ($async$errorCode === 1)
56889 return A._asyncRethrow($async$result, $async$completer);
56890 while (true)
56891 switch ($async$goto) {
56892 case 0:
56893 // Function start
56894 $async$self._async_evaluate$_addChild$2$through(node, through);
56895 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
56896 $async$self._async_evaluate$__parent = node;
56897 $async$goto = 3;
56898 return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
56899 case 3:
56900 // returning from await.
56901 result = $async$result;
56902 $async$self._async_evaluate$__parent = t1;
56903 $async$returnValue = result;
56904 // goto return
56905 $async$goto = 1;
56906 break;
56907 case 1:
56908 // return
56909 return A._asyncReturn($async$returnValue, $async$completer);
56910 }
56911 });
56912 return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
56913 },
56914 _async_evaluate$_addChild$2$through(node, through) {
56915 var grandparent, t1,
56916 $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
56917 if (through != null) {
56918 for (; through.call$1($parent); $parent = grandparent) {
56919 grandparent = $parent._parent;
56920 if (grandparent == null)
56921 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
56922 }
56923 if ($parent.get$hasFollowingSibling()) {
56924 t1 = $parent._parent;
56925 t1.toString;
56926 $parent = $parent.copyWithoutChildren$0();
56927 t1.addChild$1($parent);
56928 }
56929 }
56930 $parent.addChild$1(node);
56931 },
56932 _async_evaluate$_addChild$1(node) {
56933 return this._async_evaluate$_addChild$2$through(node, null);
56934 },
56935 _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
56936 return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
56937 },
56938 _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
56939 var $async$goto = 0,
56940 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56941 $async$returnValue, $async$self = this, result, oldRule;
56942 var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56943 if ($async$errorCode === 1)
56944 return A._asyncRethrow($async$result, $async$completer);
56945 while (true)
56946 switch ($async$goto) {
56947 case 0:
56948 // Function start
56949 oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
56950 $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
56951 $async$goto = 3;
56952 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
56953 case 3:
56954 // returning from await.
56955 result = $async$result;
56956 $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
56957 $async$returnValue = result;
56958 // goto return
56959 $async$goto = 1;
56960 break;
56961 case 1:
56962 // return
56963 return A._asyncReturn($async$returnValue, $async$completer);
56964 }
56965 });
56966 return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
56967 },
56968 _async_evaluate$_withMediaQueries$1$2(queries, callback, $T) {
56969 return this._withMediaQueries$body$_EvaluateVisitor(queries, callback, $T, $T);
56970 },
56971 _withMediaQueries$body$_EvaluateVisitor(queries, callback, $T, $async$type) {
56972 var $async$goto = 0,
56973 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56974 $async$returnValue, $async$self = this, result, oldMediaQueries;
56975 var $async$_async_evaluate$_withMediaQueries$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56976 if ($async$errorCode === 1)
56977 return A._asyncRethrow($async$result, $async$completer);
56978 while (true)
56979 switch ($async$goto) {
56980 case 0:
56981 // Function start
56982 oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
56983 $async$self._async_evaluate$_mediaQueries = queries;
56984 $async$goto = 3;
56985 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$2);
56986 case 3:
56987 // returning from await.
56988 result = $async$result;
56989 $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
56990 $async$returnValue = result;
56991 // goto return
56992 $async$goto = 1;
56993 break;
56994 case 1:
56995 // return
56996 return A._asyncReturn($async$returnValue, $async$completer);
56997 }
56998 });
56999 return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$2, $async$completer);
57000 },
57001 _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
57002 return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
57003 },
57004 _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
57005 var $async$goto = 0,
57006 $async$completer = A._makeAsyncAwaitCompleter($async$type),
57007 $async$returnValue, $async$self = this, oldMember, result, t1;
57008 var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57009 if ($async$errorCode === 1)
57010 return A._asyncRethrow($async$result, $async$completer);
57011 while (true)
57012 switch ($async$goto) {
57013 case 0:
57014 // Function start
57015 t1 = $async$self._async_evaluate$_stack;
57016 t1.push(new A.Tuple2($async$self._async_evaluate$_member, nodeWithSpan, type$.Tuple2_String_AstNode));
57017 oldMember = $async$self._async_evaluate$_member;
57018 $async$self._async_evaluate$_member = member;
57019 $async$goto = 3;
57020 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
57021 case 3:
57022 // returning from await.
57023 result = $async$result;
57024 $async$self._async_evaluate$_member = oldMember;
57025 t1.pop();
57026 $async$returnValue = result;
57027 // goto return
57028 $async$goto = 1;
57029 break;
57030 case 1:
57031 // return
57032 return A._asyncReturn($async$returnValue, $async$completer);
57033 }
57034 });
57035 return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
57036 },
57037 _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
57038 if (value instanceof A.SassNumber && value.asSlash != null)
57039 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);
57040 return value.withoutSlash$0();
57041 },
57042 _async_evaluate$_stackFrame$2(member, span) {
57043 return A.frameForSpan(span, member, A.NullableExtension_andThen(span.file.url, new A._EvaluateVisitor__stackFrame_closure0(this)));
57044 },
57045 _async_evaluate$_stackTrace$1(span) {
57046 var _this = this,
57047 t1 = _this._async_evaluate$_stack;
57048 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);
57049 if (span != null)
57050 t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
57051 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
57052 },
57053 _async_evaluate$_stackTrace$0() {
57054 return this._async_evaluate$_stackTrace$1(null);
57055 },
57056 _async_evaluate$_warn$3$deprecation(message, span, deprecation) {
57057 var t1, _this = this;
57058 if (_this._async_evaluate$_quietDeps)
57059 if (!_this._async_evaluate$_inDependency) {
57060 t1 = _this._async_evaluate$_currentCallable;
57061 t1 = t1 == null ? null : t1.inDependency;
57062 t1 = t1 === true;
57063 } else
57064 t1 = true;
57065 else
57066 t1 = false;
57067 if (t1)
57068 return;
57069 if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
57070 return;
57071 _this._async_evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate$_stackTrace$1(span));
57072 },
57073 _async_evaluate$_warn$2(message, span) {
57074 return this._async_evaluate$_warn$3$deprecation(message, span, false);
57075 },
57076 _async_evaluate$_exception$2(message, span) {
57077 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2) : span;
57078 return new A.SassRuntimeException(this._async_evaluate$_stackTrace$1(span), message, t1);
57079 },
57080 _async_evaluate$_exception$1(message) {
57081 return this._async_evaluate$_exception$2(message, null);
57082 },
57083 _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
57084 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2);
57085 return new A.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
57086 },
57087 _async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback) {
57088 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
57089 try {
57090 t1 = callback.call$0();
57091 return t1;
57092 } catch (exception) {
57093 t1 = A.unwrapException(exception);
57094 if (t1 instanceof A.SassFormatException) {
57095 error = t1;
57096 stackTrace = A.getTraceFromException(exception);
57097 t1 = error;
57098 t2 = J.getInterceptor$z(t1);
57099 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
57100 span = nodeWithSpan.get$span(nodeWithSpan);
57101 t1 = span;
57102 t2 = span;
57103 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);
57104 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
57105 t1 = span;
57106 t1 = A.FileLocation$_(t1.file, t1._file$_start);
57107 t3 = error;
57108 t4 = J.getInterceptor$z(t3);
57109 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
57110 t3 = A.FileLocation$_(t3.file, t3._file$_start);
57111 t4 = span;
57112 t4 = A.FileLocation$_(t4.file, t4._file$_start);
57113 t5 = error;
57114 t6 = J.getInterceptor$z(t5);
57115 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
57116 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
57117 A.throwWithTrace(this._async_evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
57118 } else
57119 throw exception;
57120 }
57121 },
57122 _async_evaluate$_adjustParseError$2(nodeWithSpan, callback) {
57123 return this._async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
57124 },
57125 _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
57126 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
57127 try {
57128 t1 = callback.call$0();
57129 return t1;
57130 } catch (exception) {
57131 t1 = A.unwrapException(exception);
57132 if (t1 instanceof A.MultiSpanSassScriptException) {
57133 error = t1;
57134 stackTrace = A.getTraceFromException(exception);
57135 t1 = error.message;
57136 t2 = nodeWithSpan.get$span(nodeWithSpan);
57137 t3 = error.primaryLabel;
57138 t4 = error.secondarySpans;
57139 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);
57140 } else if (t1 instanceof A.SassScriptException) {
57141 error0 = t1;
57142 stackTrace0 = A.getTraceFromException(exception);
57143 A.throwWithTrace(this._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
57144 } else
57145 throw exception;
57146 }
57147 },
57148 _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
57149 return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
57150 },
57151 _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
57152 return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
57153 },
57154 _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
57155 var $async$goto = 0,
57156 $async$completer = A._makeAsyncAwaitCompleter($async$type),
57157 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
57158 var $async$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57159 if ($async$errorCode === 1) {
57160 $async$currentError = $async$result;
57161 $async$goto = $async$handler;
57162 }
57163 while (true)
57164 switch ($async$goto) {
57165 case 0:
57166 // Function start
57167 $async$handler = 4;
57168 $async$goto = 7;
57169 return A._asyncAwait(callback.call$0(), $async$_addExceptionSpanAsync$1$2);
57170 case 7:
57171 // returning from await.
57172 t1 = $async$result;
57173 $async$returnValue = t1;
57174 // goto return
57175 $async$goto = 1;
57176 break;
57177 $async$handler = 2;
57178 // goto after finally
57179 $async$goto = 6;
57180 break;
57181 case 4:
57182 // catch
57183 $async$handler = 3;
57184 $async$exception = $async$currentError;
57185 t1 = A.unwrapException($async$exception);
57186 if (t1 instanceof A.MultiSpanSassScriptException) {
57187 error = t1;
57188 stackTrace = A.getTraceFromException($async$exception);
57189 t1 = error.message;
57190 t2 = nodeWithSpan.get$span(nodeWithSpan);
57191 t3 = error.primaryLabel;
57192 t4 = error.secondarySpans;
57193 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);
57194 } else if (t1 instanceof A.SassScriptException) {
57195 error0 = t1;
57196 stackTrace0 = A.getTraceFromException($async$exception);
57197 A.throwWithTrace($async$self._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
57198 } else
57199 throw $async$exception;
57200 // goto after finally
57201 $async$goto = 6;
57202 break;
57203 case 3:
57204 // uncaught
57205 // goto rethrow
57206 $async$goto = 2;
57207 break;
57208 case 6:
57209 // after finally
57210 case 1:
57211 // return
57212 return A._asyncReturn($async$returnValue, $async$completer);
57213 case 2:
57214 // rethrow
57215 return A._asyncRethrow($async$currentError, $async$completer);
57216 }
57217 });
57218 return A._asyncStartSync($async$_addExceptionSpanAsync$1$2, $async$completer);
57219 },
57220 _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
57221 return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
57222 },
57223 _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
57224 var $async$goto = 0,
57225 $async$completer = A._makeAsyncAwaitCompleter($async$type),
57226 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
57227 var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57228 if ($async$errorCode === 1) {
57229 $async$currentError = $async$result;
57230 $async$goto = $async$handler;
57231 }
57232 while (true)
57233 switch ($async$goto) {
57234 case 0:
57235 // Function start
57236 $async$handler = 4;
57237 $async$goto = 7;
57238 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
57239 case 7:
57240 // returning from await.
57241 t1 = $async$result;
57242 $async$returnValue = t1;
57243 // goto return
57244 $async$goto = 1;
57245 break;
57246 $async$handler = 2;
57247 // goto after finally
57248 $async$goto = 6;
57249 break;
57250 case 4:
57251 // catch
57252 $async$handler = 3;
57253 $async$exception = $async$currentError;
57254 t1 = A.unwrapException($async$exception);
57255 if (type$.SassRuntimeException._is(t1)) {
57256 error = t1;
57257 stackTrace = A.getTraceFromException($async$exception);
57258 t1 = J.get$span$z(error);
57259 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"))
57260 throw $async$exception;
57261 t1 = error._span_exception$_message;
57262 t2 = nodeWithSpan.get$span(nodeWithSpan);
57263 A.throwWithTrace(new A.SassRuntimeException($async$self._async_evaluate$_stackTrace$0(), t1, t2), stackTrace);
57264 } else
57265 throw $async$exception;
57266 // goto after finally
57267 $async$goto = 6;
57268 break;
57269 case 3:
57270 // uncaught
57271 // goto rethrow
57272 $async$goto = 2;
57273 break;
57274 case 6:
57275 // after finally
57276 case 1:
57277 // return
57278 return A._asyncReturn($async$returnValue, $async$completer);
57279 case 2:
57280 // rethrow
57281 return A._asyncRethrow($async$currentError, $async$completer);
57282 }
57283 });
57284 return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
57285 }
57286 };
57287 A._EvaluateVisitor_closure9.prototype = {
57288 call$1($arguments) {
57289 var module, t2,
57290 t1 = J.getInterceptor$asx($arguments),
57291 variable = t1.$index($arguments, 0).assertString$1("name");
57292 t1 = t1.$index($arguments, 1).get$realNull();
57293 module = t1 == null ? null : t1.assertString$1("module");
57294 t1 = this.$this._async_evaluate$_environment;
57295 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
57296 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
57297 },
57298 $signature: 20
57299 };
57300 A._EvaluateVisitor_closure10.prototype = {
57301 call$1($arguments) {
57302 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
57303 t1 = this.$this._async_evaluate$_environment;
57304 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
57305 },
57306 $signature: 20
57307 };
57308 A._EvaluateVisitor_closure11.prototype = {
57309 call$1($arguments) {
57310 var module, t2, t3, t4,
57311 t1 = J.getInterceptor$asx($arguments),
57312 variable = t1.$index($arguments, 0).assertString$1("name");
57313 t1 = t1.$index($arguments, 1).get$realNull();
57314 module = t1 == null ? null : t1.assertString$1("module");
57315 t1 = this.$this;
57316 t2 = t1._async_evaluate$_environment;
57317 t3 = variable._string$_text;
57318 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
57319 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;
57320 },
57321 $signature: 20
57322 };
57323 A._EvaluateVisitor_closure12.prototype = {
57324 call$1($arguments) {
57325 var module, t2,
57326 t1 = J.getInterceptor$asx($arguments),
57327 variable = t1.$index($arguments, 0).assertString$1("name");
57328 t1 = t1.$index($arguments, 1).get$realNull();
57329 module = t1 == null ? null : t1.assertString$1("module");
57330 t1 = this.$this._async_evaluate$_environment;
57331 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
57332 return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
57333 },
57334 $signature: 20
57335 };
57336 A._EvaluateVisitor_closure13.prototype = {
57337 call$1($arguments) {
57338 var t1 = this.$this._async_evaluate$_environment;
57339 if (!t1._async_environment$_inMixin)
57340 throw A.wrapException(A.SassScriptException$(string$.conten));
57341 return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
57342 },
57343 $signature: 20
57344 };
57345 A._EvaluateVisitor_closure14.prototype = {
57346 call$1($arguments) {
57347 var t2, t3, t4,
57348 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
57349 module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
57350 if (module == null)
57351 throw A.wrapException('There is no module with namespace "' + t1 + '".');
57352 t1 = type$.Value;
57353 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
57354 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
57355 t4 = t3.get$current(t3);
57356 t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
57357 }
57358 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
57359 },
57360 $signature: 37
57361 };
57362 A._EvaluateVisitor_closure15.prototype = {
57363 call$1($arguments) {
57364 var t2, t3, t4,
57365 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
57366 module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
57367 if (module == null)
57368 throw A.wrapException('There is no module with namespace "' + t1 + '".');
57369 t1 = type$.Value;
57370 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
57371 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
57372 t4 = t3.get$current(t3);
57373 t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
57374 }
57375 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
57376 },
57377 $signature: 37
57378 };
57379 A._EvaluateVisitor_closure16.prototype = {
57380 call$1($arguments) {
57381 var module, callable, t2,
57382 t1 = J.getInterceptor$asx($arguments),
57383 $name = t1.$index($arguments, 0).assertString$1("name"),
57384 css = t1.$index($arguments, 1).get$isTruthy();
57385 t1 = t1.$index($arguments, 2).get$realNull();
57386 module = t1 == null ? null : t1.assertString$1("module");
57387 if (css && module != null)
57388 throw A.wrapException(string$.x24css_a);
57389 if (css)
57390 callable = new A.PlainCssCallable($name._string$_text);
57391 else {
57392 t1 = this.$this;
57393 t2 = t1._async_evaluate$_callableNode;
57394 t2.toString;
57395 callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure4(t1, $name, module));
57396 }
57397 if (callable != null)
57398 return new A.SassFunction(callable);
57399 throw A.wrapException("Function not found: " + $name.toString$0(0));
57400 },
57401 $signature: 216
57402 };
57403 A._EvaluateVisitor__closure4.prototype = {
57404 call$0() {
57405 var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
57406 t2 = this.module;
57407 t2 = t2 == null ? null : t2._string$_text;
57408 return this.$this._async_evaluate$_getFunction$2$namespace(t1, t2);
57409 },
57410 $signature: 107
57411 };
57412 A._EvaluateVisitor_closure17.prototype = {
57413 call$1($arguments) {
57414 return this.$call$body$_EvaluateVisitor_closure0($arguments);
57415 },
57416 $call$body$_EvaluateVisitor_closure0($arguments) {
57417 var $async$goto = 0,
57418 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
57419 $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
57420 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57421 if ($async$errorCode === 1)
57422 return A._asyncRethrow($async$result, $async$completer);
57423 while (true)
57424 switch ($async$goto) {
57425 case 0:
57426 // Function start
57427 t1 = J.getInterceptor$asx($arguments);
57428 $function = t1.$index($arguments, 0);
57429 args = type$.SassArgumentList._as(t1.$index($arguments, 1));
57430 t1 = $async$self.$this;
57431 t2 = t1._async_evaluate$_callableNode;
57432 t2.toString;
57433 t3 = A._setArrayType([], type$.JSArray_Expression);
57434 t4 = type$.String;
57435 t5 = type$.Expression;
57436 t6 = t2.get$span(t2);
57437 t7 = t2.get$span(t2);
57438 args._wereKeywordsAccessed = true;
57439 t8 = args._keywords;
57440 if (t8.get$isEmpty(t8))
57441 t2 = null;
57442 else {
57443 t9 = type$.Value;
57444 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
57445 for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
57446 t11 = t8.get$current(t8);
57447 t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
57448 }
57449 t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
57450 }
57451 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);
57452 $async$goto = $function instanceof A.SassString ? 3 : 4;
57453 break;
57454 case 3:
57455 // then
57456 t2 = string$.Passin + $function.toString$0(0) + "))";
57457 A.EvaluationContext_current().warn$2$deprecation(0, t2, true);
57458 callableNode = t1._async_evaluate$_callableNode;
57459 $async$goto = 5;
57460 return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
57461 case 5:
57462 // returning from await.
57463 $async$returnValue = $async$result;
57464 // goto return
57465 $async$goto = 1;
57466 break;
57467 case 4:
57468 // join
57469 t2 = $function.assertFunction$1("function");
57470 t3 = t1._async_evaluate$_callableNode;
57471 t3.toString;
57472 $async$goto = 6;
57473 return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
57474 case 6:
57475 // returning from await.
57476 t3 = $async$result;
57477 $async$returnValue = t3;
57478 // goto return
57479 $async$goto = 1;
57480 break;
57481 case 1:
57482 // return
57483 return A._asyncReturn($async$returnValue, $async$completer);
57484 }
57485 });
57486 return A._asyncStartSync($async$call$1, $async$completer);
57487 },
57488 $signature: 208
57489 };
57490 A._EvaluateVisitor_closure18.prototype = {
57491 call$1($arguments) {
57492 return this.$call$body$_EvaluateVisitor_closure($arguments);
57493 },
57494 $call$body$_EvaluateVisitor_closure($arguments) {
57495 var $async$goto = 0,
57496 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
57497 $async$self = this, withMap, t2, values, configuration, t1, url;
57498 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57499 if ($async$errorCode === 1)
57500 return A._asyncRethrow($async$result, $async$completer);
57501 while (true)
57502 switch ($async$goto) {
57503 case 0:
57504 // Function start
57505 t1 = J.getInterceptor$asx($arguments);
57506 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
57507 t1 = t1.$index($arguments, 1).get$realNull();
57508 withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
57509 t1 = $async$self.$this;
57510 t2 = t1._async_evaluate$_callableNode;
57511 t2.toString;
57512 if (withMap != null) {
57513 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
57514 withMap.forEach$1(0, new A._EvaluateVisitor__closure2(values, t2.get$span(t2), t2));
57515 configuration = new A.ExplicitConfiguration(t2, values);
57516 } else
57517 configuration = B.Configuration_Map_empty;
57518 $async$goto = 2;
57519 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);
57520 case 2:
57521 // returning from await.
57522 t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
57523 // implicit return
57524 return A._asyncReturn(null, $async$completer);
57525 }
57526 });
57527 return A._asyncStartSync($async$call$1, $async$completer);
57528 },
57529 $signature: 430
57530 };
57531 A._EvaluateVisitor__closure2.prototype = {
57532 call$2(variable, value) {
57533 var t1 = variable.assertString$1("with key"),
57534 $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
57535 t1 = this.values;
57536 if (t1.containsKey$1($name))
57537 throw A.wrapException("The variable $" + $name + " was configured twice.");
57538 t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
57539 },
57540 $signature: 59
57541 };
57542 A._EvaluateVisitor__closure3.prototype = {
57543 call$1(module) {
57544 var t1 = this.$this;
57545 return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
57546 },
57547 $signature: 215
57548 };
57549 A._EvaluateVisitor_run_closure0.prototype = {
57550 call$0() {
57551 var $async$goto = 0,
57552 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
57553 $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
57554 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57555 if ($async$errorCode === 1)
57556 return A._asyncRethrow($async$result, $async$completer);
57557 while (true)
57558 switch ($async$goto) {
57559 case 0:
57560 // Function start
57561 t1 = $async$self.node;
57562 url = t1.span.file.url;
57563 if (url != null) {
57564 t2 = $async$self.$this;
57565 t2._async_evaluate$_activeModules.$indexSet(0, url, null);
57566 t2._async_evaluate$_loadedUrls.add$1(0, url);
57567 }
57568 t2 = $async$self.$this;
57569 $async$temp1 = A;
57570 $async$temp2 = t2;
57571 $async$goto = 3;
57572 return A._asyncAwait(t2._async_evaluate$_execute$2($async$self.importer, t1), $async$call$0);
57573 case 3:
57574 // returning from await.
57575 $async$returnValue = new $async$temp1.EvaluateResult($async$temp2._async_evaluate$_combineCss$1($async$result));
57576 // goto return
57577 $async$goto = 1;
57578 break;
57579 case 1:
57580 // return
57581 return A._asyncReturn($async$returnValue, $async$completer);
57582 }
57583 });
57584 return A._asyncStartSync($async$call$0, $async$completer);
57585 },
57586 $signature: 443
57587 };
57588 A._EvaluateVisitor__loadModule_closure1.prototype = {
57589 call$0() {
57590 return this.callback.call$1(this.builtInModule);
57591 },
57592 $signature: 0
57593 };
57594 A._EvaluateVisitor__loadModule_closure2.prototype = {
57595 call$0() {
57596 var $async$goto = 0,
57597 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57598 $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;
57599 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57600 if ($async$errorCode === 1) {
57601 $async$currentError = $async$result;
57602 $async$goto = $async$handler;
57603 }
57604 while (true)
57605 switch ($async$goto) {
57606 case 0:
57607 // Function start
57608 t1 = $async$self.$this;
57609 t2 = $async$self.nodeWithSpan;
57610 $async$goto = 2;
57611 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);
57612 case 2:
57613 // returning from await.
57614 result = $async$result;
57615 stylesheet = result.stylesheet;
57616 canonicalUrl = stylesheet.span.file.url;
57617 if (canonicalUrl != null && t1._async_evaluate$_activeModules.containsKey$1(canonicalUrl)) {
57618 message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
57619 t2 = A.NullableExtension_andThen(t1._async_evaluate$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure0(t1, message));
57620 throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1(message) : t2);
57621 }
57622 if (canonicalUrl != null)
57623 t1._async_evaluate$_activeModules.$indexSet(0, canonicalUrl, t2);
57624 oldInDependency = t1._async_evaluate$_inDependency;
57625 t1._async_evaluate$_inDependency = result.isDependency;
57626 module = null;
57627 $async$handler = 3;
57628 $async$goto = 6;
57629 return A._asyncAwait(t1._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
57630 case 6:
57631 // returning from await.
57632 module = $async$result;
57633 $async$next.push(5);
57634 // goto finally
57635 $async$goto = 4;
57636 break;
57637 case 3:
57638 // uncaught
57639 $async$next = [1];
57640 case 4:
57641 // finally
57642 $async$handler = 1;
57643 t1._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
57644 t1._async_evaluate$_inDependency = oldInDependency;
57645 // goto the next finally handler
57646 $async$goto = $async$next.pop();
57647 break;
57648 case 5:
57649 // after finally
57650 $async$handler = 8;
57651 $async$goto = 11;
57652 return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
57653 case 11:
57654 // returning from await.
57655 $async$handler = 1;
57656 // goto after finally
57657 $async$goto = 10;
57658 break;
57659 case 8:
57660 // catch
57661 $async$handler = 7;
57662 $async$exception = $async$currentError;
57663 t2 = A.unwrapException($async$exception);
57664 if (type$.SassRuntimeException._is(t2))
57665 throw $async$exception;
57666 else if (t2 instanceof A.MultiSpanSassException) {
57667 error = t2;
57668 stackTrace = A.getTraceFromException($async$exception);
57669 t2 = error._span_exception$_message;
57670 t3 = error;
57671 t4 = J.getInterceptor$z(t3);
57672 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
57673 t4 = error.primaryLabel;
57674 t5 = error.secondarySpans;
57675 t6 = error;
57676 t7 = J.getInterceptor$z(t6);
57677 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);
57678 } else if (t2 instanceof A.SassException) {
57679 error0 = t2;
57680 stackTrace0 = A.getTraceFromException($async$exception);
57681 t2 = error0;
57682 t3 = J.getInterceptor$z(t2);
57683 A.throwWithTrace(t1._async_evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
57684 } else if (t2 instanceof A.MultiSpanSassScriptException) {
57685 error1 = t2;
57686 stackTrace1 = A.getTraceFromException($async$exception);
57687 A.throwWithTrace(t1._async_evaluate$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
57688 } else if (t2 instanceof A.SassScriptException) {
57689 error2 = t2;
57690 stackTrace2 = A.getTraceFromException($async$exception);
57691 A.throwWithTrace(t1._async_evaluate$_exception$1(error2.message), stackTrace2);
57692 } else
57693 throw $async$exception;
57694 // goto after finally
57695 $async$goto = 10;
57696 break;
57697 case 7:
57698 // uncaught
57699 // goto rethrow
57700 $async$goto = 1;
57701 break;
57702 case 10:
57703 // after finally
57704 // implicit return
57705 return A._asyncReturn(null, $async$completer);
57706 case 1:
57707 // rethrow
57708 return A._asyncRethrow($async$currentError, $async$completer);
57709 }
57710 });
57711 return A._asyncStartSync($async$call$0, $async$completer);
57712 },
57713 $signature: 2
57714 };
57715 A._EvaluateVisitor__loadModule__closure0.prototype = {
57716 call$1(previousLoad) {
57717 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));
57718 },
57719 $signature: 79
57720 };
57721 A._EvaluateVisitor__execute_closure0.prototype = {
57722 call$0() {
57723 var $async$goto = 0,
57724 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57725 $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
57726 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57727 if ($async$errorCode === 1)
57728 return A._asyncRethrow($async$result, $async$completer);
57729 while (true)
57730 switch ($async$goto) {
57731 case 0:
57732 // Function start
57733 t1 = $async$self.$this;
57734 oldImporter = t1._async_evaluate$_importer;
57735 oldStylesheet = t1._async_evaluate$__stylesheet;
57736 oldRoot = t1._async_evaluate$__root;
57737 oldParent = t1._async_evaluate$__parent;
57738 oldEndOfImports = t1._async_evaluate$__endOfImports;
57739 oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
57740 oldExtensionStore = t1._async_evaluate$__extensionStore;
57741 t2 = t1._async_evaluate$_atRootExcludingStyleRule;
57742 oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
57743 oldMediaQueries = t1._async_evaluate$_mediaQueries;
57744 oldDeclarationName = t1._async_evaluate$_declarationName;
57745 oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
57746 oldInKeyframes = t1._async_evaluate$_inKeyframes;
57747 oldConfiguration = t1._async_evaluate$_configuration;
57748 t1._async_evaluate$_importer = $async$self.importer;
57749 t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
57750 t4 = t3.span;
57751 t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
57752 t1._async_evaluate$__endOfImports = 0;
57753 t1._async_evaluate$_outOfOrderImports = null;
57754 t1._async_evaluate$__extensionStore = $async$self.extensionStore;
57755 t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
57756 t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
57757 t6 = $async$self.configuration;
57758 if (t6 != null)
57759 t1._async_evaluate$_configuration = t6;
57760 $async$goto = 2;
57761 return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
57762 case 2:
57763 // returning from await.
57764 t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
57765 $async$self.css._value = t3;
57766 t1._async_evaluate$_importer = oldImporter;
57767 t1._async_evaluate$__stylesheet = oldStylesheet;
57768 t1._async_evaluate$__root = oldRoot;
57769 t1._async_evaluate$__parent = oldParent;
57770 t1._async_evaluate$__endOfImports = oldEndOfImports;
57771 t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
57772 t1._async_evaluate$__extensionStore = oldExtensionStore;
57773 t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
57774 t1._async_evaluate$_mediaQueries = oldMediaQueries;
57775 t1._async_evaluate$_declarationName = oldDeclarationName;
57776 t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
57777 t1._async_evaluate$_atRootExcludingStyleRule = t2;
57778 t1._async_evaluate$_inKeyframes = oldInKeyframes;
57779 t1._async_evaluate$_configuration = oldConfiguration;
57780 // implicit return
57781 return A._asyncReturn(null, $async$completer);
57782 }
57783 });
57784 return A._asyncStartSync($async$call$0, $async$completer);
57785 },
57786 $signature: 2
57787 };
57788 A._EvaluateVisitor__combineCss_closure2.prototype = {
57789 call$1(module) {
57790 return module.get$transitivelyContainsCss();
57791 },
57792 $signature: 111
57793 };
57794 A._EvaluateVisitor__combineCss_closure3.prototype = {
57795 call$1(target) {
57796 return !this.selectors.contains$1(0, target);
57797 },
57798 $signature: 16
57799 };
57800 A._EvaluateVisitor__combineCss_closure4.prototype = {
57801 call$1(module) {
57802 return module.cloneCss$0();
57803 },
57804 $signature: 450
57805 };
57806 A._EvaluateVisitor__extendModules_closure1.prototype = {
57807 call$1(target) {
57808 return !this.originalSelectors.contains$1(0, target);
57809 },
57810 $signature: 16
57811 };
57812 A._EvaluateVisitor__extendModules_closure2.prototype = {
57813 call$0() {
57814 return A._setArrayType([], type$.JSArray_ExtensionStore);
57815 },
57816 $signature: 209
57817 };
57818 A._EvaluateVisitor__topologicalModules_visitModule0.prototype = {
57819 call$1(module) {
57820 var t1, t2, t3, _i, upstream;
57821 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
57822 upstream = t1[_i];
57823 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
57824 this.call$1(upstream);
57825 }
57826 this.sorted.addFirst$1(module);
57827 },
57828 $signature: 215
57829 };
57830 A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
57831 call$0() {
57832 var t1 = A.SpanScanner$(this.resolved, null);
57833 return new A.AtRootQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
57834 },
57835 $signature: 142
57836 };
57837 A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
57838 call$0() {
57839 var $async$goto = 0,
57840 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57841 $async$self = this, t1, t2, t3, _i;
57842 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57843 if ($async$errorCode === 1)
57844 return A._asyncRethrow($async$result, $async$completer);
57845 while (true)
57846 switch ($async$goto) {
57847 case 0:
57848 // Function start
57849 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57850 case 2:
57851 // for condition
57852 if (!(_i < t2)) {
57853 // goto after for
57854 $async$goto = 4;
57855 break;
57856 }
57857 $async$goto = 5;
57858 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57859 case 5:
57860 // returning from await.
57861 case 3:
57862 // for update
57863 ++_i;
57864 // goto for condition
57865 $async$goto = 2;
57866 break;
57867 case 4:
57868 // after for
57869 // implicit return
57870 return A._asyncReturn(null, $async$completer);
57871 }
57872 });
57873 return A._asyncStartSync($async$call$0, $async$completer);
57874 },
57875 $signature: 2
57876 };
57877 A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
57878 call$0() {
57879 var $async$goto = 0,
57880 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
57881 $async$self = this, t1, t2, t3, _i;
57882 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57883 if ($async$errorCode === 1)
57884 return A._asyncRethrow($async$result, $async$completer);
57885 while (true)
57886 switch ($async$goto) {
57887 case 0:
57888 // Function start
57889 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57890 case 2:
57891 // for condition
57892 if (!(_i < t2)) {
57893 // goto after for
57894 $async$goto = 4;
57895 break;
57896 }
57897 $async$goto = 5;
57898 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57899 case 5:
57900 // returning from await.
57901 case 3:
57902 // for update
57903 ++_i;
57904 // goto for condition
57905 $async$goto = 2;
57906 break;
57907 case 4:
57908 // after for
57909 // implicit return
57910 return A._asyncReturn(null, $async$completer);
57911 }
57912 });
57913 return A._asyncStartSync($async$call$0, $async$completer);
57914 },
57915 $signature: 28
57916 };
57917 A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
57918 call$1(callback) {
57919 var $async$goto = 0,
57920 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57921 $async$self = this, t1, t2;
57922 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57923 if ($async$errorCode === 1)
57924 return A._asyncRethrow($async$result, $async$completer);
57925 while (true)
57926 switch ($async$goto) {
57927 case 0:
57928 // Function start
57929 t1 = $async$self.$this;
57930 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
57931 t1._async_evaluate$__parent = $async$self.newParent;
57932 $async$goto = 2;
57933 return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
57934 case 2:
57935 // returning from await.
57936 t1._async_evaluate$__parent = t2;
57937 // implicit return
57938 return A._asyncReturn(null, $async$completer);
57939 }
57940 });
57941 return A._asyncStartSync($async$call$1, $async$completer);
57942 },
57943 $signature: 32
57944 };
57945 A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
57946 call$1(callback) {
57947 var $async$goto = 0,
57948 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57949 $async$self = this, t1, oldAtRootExcludingStyleRule;
57950 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57951 if ($async$errorCode === 1)
57952 return A._asyncRethrow($async$result, $async$completer);
57953 while (true)
57954 switch ($async$goto) {
57955 case 0:
57956 // Function start
57957 t1 = $async$self.$this;
57958 oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
57959 t1._async_evaluate$_atRootExcludingStyleRule = true;
57960 $async$goto = 2;
57961 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57962 case 2:
57963 // returning from await.
57964 t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
57965 // implicit return
57966 return A._asyncReturn(null, $async$completer);
57967 }
57968 });
57969 return A._asyncStartSync($async$call$1, $async$completer);
57970 },
57971 $signature: 32
57972 };
57973 A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
57974 call$1(callback) {
57975 return this.$this._async_evaluate$_withMediaQueries$1$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
57976 },
57977 $signature: 32
57978 };
57979 A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
57980 call$0() {
57981 return this.innerScope.call$1(this.callback);
57982 },
57983 $signature: 2
57984 };
57985 A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
57986 call$1(callback) {
57987 var $async$goto = 0,
57988 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57989 $async$self = this, t1, wasInKeyframes;
57990 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57991 if ($async$errorCode === 1)
57992 return A._asyncRethrow($async$result, $async$completer);
57993 while (true)
57994 switch ($async$goto) {
57995 case 0:
57996 // Function start
57997 t1 = $async$self.$this;
57998 wasInKeyframes = t1._async_evaluate$_inKeyframes;
57999 t1._async_evaluate$_inKeyframes = false;
58000 $async$goto = 2;
58001 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
58002 case 2:
58003 // returning from await.
58004 t1._async_evaluate$_inKeyframes = wasInKeyframes;
58005 // implicit return
58006 return A._asyncReturn(null, $async$completer);
58007 }
58008 });
58009 return A._asyncStartSync($async$call$1, $async$completer);
58010 },
58011 $signature: 32
58012 };
58013 A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
58014 call$1($parent) {
58015 return type$.CssAtRule._is($parent);
58016 },
58017 $signature: 205
58018 };
58019 A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
58020 call$1(callback) {
58021 var $async$goto = 0,
58022 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58023 $async$self = this, t1, wasInUnknownAtRule;
58024 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58025 if ($async$errorCode === 1)
58026 return A._asyncRethrow($async$result, $async$completer);
58027 while (true)
58028 switch ($async$goto) {
58029 case 0:
58030 // Function start
58031 t1 = $async$self.$this;
58032 wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
58033 t1._async_evaluate$_inUnknownAtRule = false;
58034 $async$goto = 2;
58035 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
58036 case 2:
58037 // returning from await.
58038 t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
58039 // implicit return
58040 return A._asyncReturn(null, $async$completer);
58041 }
58042 });
58043 return A._asyncStartSync($async$call$1, $async$completer);
58044 },
58045 $signature: 32
58046 };
58047 A._EvaluateVisitor_visitContentRule_closure0.prototype = {
58048 call$0() {
58049 var $async$goto = 0,
58050 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58051 $async$returnValue, $async$self = this, t1, t2, t3, _i;
58052 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58053 if ($async$errorCode === 1)
58054 return A._asyncRethrow($async$result, $async$completer);
58055 while (true)
58056 switch ($async$goto) {
58057 case 0:
58058 // Function start
58059 t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58060 case 3:
58061 // for condition
58062 if (!(_i < t2)) {
58063 // goto after for
58064 $async$goto = 5;
58065 break;
58066 }
58067 $async$goto = 6;
58068 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58069 case 6:
58070 // returning from await.
58071 case 4:
58072 // for update
58073 ++_i;
58074 // goto for condition
58075 $async$goto = 3;
58076 break;
58077 case 5:
58078 // after for
58079 $async$returnValue = null;
58080 // goto return
58081 $async$goto = 1;
58082 break;
58083 case 1:
58084 // return
58085 return A._asyncReturn($async$returnValue, $async$completer);
58086 }
58087 });
58088 return A._asyncStartSync($async$call$0, $async$completer);
58089 },
58090 $signature: 2
58091 };
58092 A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
58093 call$1(value) {
58094 return this.$call$body$_EvaluateVisitor_visitDeclaration_closure(value);
58095 },
58096 $call$body$_EvaluateVisitor_visitDeclaration_closure(value) {
58097 var $async$goto = 0,
58098 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value),
58099 $async$returnValue, $async$self = this, $async$temp1;
58100 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58101 if ($async$errorCode === 1)
58102 return A._asyncRethrow($async$result, $async$completer);
58103 while (true)
58104 switch ($async$goto) {
58105 case 0:
58106 // Function start
58107 $async$temp1 = A;
58108 $async$goto = 3;
58109 return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
58110 case 3:
58111 // returning from await.
58112 $async$returnValue = new $async$temp1.CssValue($async$result, value.get$span(value), type$.CssValue_Value);
58113 // goto return
58114 $async$goto = 1;
58115 break;
58116 case 1:
58117 // return
58118 return A._asyncReturn($async$returnValue, $async$completer);
58119 }
58120 });
58121 return A._asyncStartSync($async$call$1, $async$completer);
58122 },
58123 $signature: 466
58124 };
58125 A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
58126 call$0() {
58127 var $async$goto = 0,
58128 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58129 $async$self = this, t1, t2, t3, _i;
58130 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58131 if ($async$errorCode === 1)
58132 return A._asyncRethrow($async$result, $async$completer);
58133 while (true)
58134 switch ($async$goto) {
58135 case 0:
58136 // Function start
58137 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58138 case 2:
58139 // for condition
58140 if (!(_i < t2)) {
58141 // goto after for
58142 $async$goto = 4;
58143 break;
58144 }
58145 $async$goto = 5;
58146 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58147 case 5:
58148 // returning from await.
58149 case 3:
58150 // for update
58151 ++_i;
58152 // goto for condition
58153 $async$goto = 2;
58154 break;
58155 case 4:
58156 // after for
58157 // implicit return
58158 return A._asyncReturn(null, $async$completer);
58159 }
58160 });
58161 return A._asyncStartSync($async$call$0, $async$completer);
58162 },
58163 $signature: 2
58164 };
58165 A._EvaluateVisitor_visitEachRule_closure2.prototype = {
58166 call$1(value) {
58167 var t1 = this.$this,
58168 t2 = this.nodeWithSpan;
58169 return t1._async_evaluate$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate$_withoutSlash$2(value, t2), t2);
58170 },
58171 $signature: 53
58172 };
58173 A._EvaluateVisitor_visitEachRule_closure3.prototype = {
58174 call$1(value) {
58175 return this.$this._async_evaluate$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
58176 },
58177 $signature: 53
58178 };
58179 A._EvaluateVisitor_visitEachRule_closure4.prototype = {
58180 call$0() {
58181 var _this = this,
58182 t1 = _this.$this;
58183 return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
58184 },
58185 $signature: 62
58186 };
58187 A._EvaluateVisitor_visitEachRule__closure0.prototype = {
58188 call$1(element) {
58189 var t1;
58190 this.setVariables.call$1(element);
58191 t1 = this.$this;
58192 return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
58193 },
58194 $signature: 475
58195 };
58196 A._EvaluateVisitor_visitEachRule___closure0.prototype = {
58197 call$1(child) {
58198 return child.accept$1(this.$this);
58199 },
58200 $signature: 81
58201 };
58202 A._EvaluateVisitor_visitExtendRule_closure0.prototype = {
58203 call$0() {
58204 var t1 = this.targetText;
58205 return A.SelectorList_SelectorList$parse(A.trimAscii(t1.get$value(t1), true), false, true, this.$this._async_evaluate$_logger);
58206 },
58207 $signature: 48
58208 };
58209 A._EvaluateVisitor_visitAtRule_closure2.prototype = {
58210 call$1(value) {
58211 return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
58212 },
58213 $signature: 488
58214 };
58215 A._EvaluateVisitor_visitAtRule_closure3.prototype = {
58216 call$0() {
58217 var $async$goto = 0,
58218 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58219 $async$self = this, t2, t3, _i, t1, styleRule;
58220 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58221 if ($async$errorCode === 1)
58222 return A._asyncRethrow($async$result, $async$completer);
58223 while (true)
58224 switch ($async$goto) {
58225 case 0:
58226 // Function start
58227 t1 = $async$self.$this;
58228 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
58229 $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes ? 2 : 4;
58230 break;
58231 case 2:
58232 // then
58233 t2 = $async$self.children, t3 = t2.length, _i = 0;
58234 case 5:
58235 // for condition
58236 if (!(_i < t3)) {
58237 // goto after for
58238 $async$goto = 7;
58239 break;
58240 }
58241 $async$goto = 8;
58242 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
58243 case 8:
58244 // returning from await.
58245 case 6:
58246 // for update
58247 ++_i;
58248 // goto for condition
58249 $async$goto = 5;
58250 break;
58251 case 7:
58252 // after for
58253 // goto join
58254 $async$goto = 3;
58255 break;
58256 case 4:
58257 // else
58258 $async$goto = 9;
58259 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);
58260 case 9:
58261 // returning from await.
58262 case 3:
58263 // join
58264 // implicit return
58265 return A._asyncReturn(null, $async$completer);
58266 }
58267 });
58268 return A._asyncStartSync($async$call$0, $async$completer);
58269 },
58270 $signature: 2
58271 };
58272 A._EvaluateVisitor_visitAtRule__closure0.prototype = {
58273 call$0() {
58274 var $async$goto = 0,
58275 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58276 $async$self = this, t1, t2, t3, _i;
58277 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58278 if ($async$errorCode === 1)
58279 return A._asyncRethrow($async$result, $async$completer);
58280 while (true)
58281 switch ($async$goto) {
58282 case 0:
58283 // Function start
58284 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58285 case 2:
58286 // for condition
58287 if (!(_i < t2)) {
58288 // goto after for
58289 $async$goto = 4;
58290 break;
58291 }
58292 $async$goto = 5;
58293 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58294 case 5:
58295 // returning from await.
58296 case 3:
58297 // for update
58298 ++_i;
58299 // goto for condition
58300 $async$goto = 2;
58301 break;
58302 case 4:
58303 // after for
58304 // implicit return
58305 return A._asyncReturn(null, $async$completer);
58306 }
58307 });
58308 return A._asyncStartSync($async$call$0, $async$completer);
58309 },
58310 $signature: 2
58311 };
58312 A._EvaluateVisitor_visitAtRule_closure4.prototype = {
58313 call$1(node) {
58314 return type$.CssStyleRule._is(node);
58315 },
58316 $signature: 8
58317 };
58318 A._EvaluateVisitor_visitForRule_closure4.prototype = {
58319 call$0() {
58320 var $async$goto = 0,
58321 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
58322 $async$returnValue, $async$self = this;
58323 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58324 if ($async$errorCode === 1)
58325 return A._asyncRethrow($async$result, $async$completer);
58326 while (true)
58327 switch ($async$goto) {
58328 case 0:
58329 // Function start
58330 $async$goto = 3;
58331 return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
58332 case 3:
58333 // returning from await.
58334 $async$returnValue = $async$result.assertNumber$0();
58335 // goto return
58336 $async$goto = 1;
58337 break;
58338 case 1:
58339 // return
58340 return A._asyncReturn($async$returnValue, $async$completer);
58341 }
58342 });
58343 return A._asyncStartSync($async$call$0, $async$completer);
58344 },
58345 $signature: 201
58346 };
58347 A._EvaluateVisitor_visitForRule_closure5.prototype = {
58348 call$0() {
58349 var $async$goto = 0,
58350 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
58351 $async$returnValue, $async$self = this;
58352 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58353 if ($async$errorCode === 1)
58354 return A._asyncRethrow($async$result, $async$completer);
58355 while (true)
58356 switch ($async$goto) {
58357 case 0:
58358 // Function start
58359 $async$goto = 3;
58360 return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
58361 case 3:
58362 // returning from await.
58363 $async$returnValue = $async$result.assertNumber$0();
58364 // goto return
58365 $async$goto = 1;
58366 break;
58367 case 1:
58368 // return
58369 return A._asyncReturn($async$returnValue, $async$completer);
58370 }
58371 });
58372 return A._asyncStartSync($async$call$0, $async$completer);
58373 },
58374 $signature: 201
58375 };
58376 A._EvaluateVisitor_visitForRule_closure6.prototype = {
58377 call$0() {
58378 return this.fromNumber.assertInt$0();
58379 },
58380 $signature: 12
58381 };
58382 A._EvaluateVisitor_visitForRule_closure7.prototype = {
58383 call$0() {
58384 var t1 = this.fromNumber;
58385 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
58386 },
58387 $signature: 12
58388 };
58389 A._EvaluateVisitor_visitForRule_closure8.prototype = {
58390 call$0() {
58391 var $async$goto = 0,
58392 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
58393 $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
58394 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58395 if ($async$errorCode === 1)
58396 return A._asyncRethrow($async$result, $async$completer);
58397 while (true)
58398 switch ($async$goto) {
58399 case 0:
58400 // Function start
58401 t1 = $async$self.$this;
58402 t2 = $async$self.node;
58403 nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
58404 i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
58405 case 3:
58406 // for condition
58407 if (!(i !== t3.to)) {
58408 // goto after for
58409 $async$goto = 5;
58410 break;
58411 }
58412 t7 = t1._async_evaluate$_environment;
58413 t8 = t6.get$numeratorUnits(t6);
58414 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
58415 $async$goto = 6;
58416 return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
58417 case 6:
58418 // returning from await.
58419 result = $async$result;
58420 if (result != null) {
58421 $async$returnValue = result;
58422 // goto return
58423 $async$goto = 1;
58424 break;
58425 }
58426 case 4:
58427 // for update
58428 i += t4;
58429 // goto for condition
58430 $async$goto = 3;
58431 break;
58432 case 5:
58433 // after for
58434 $async$returnValue = null;
58435 // goto return
58436 $async$goto = 1;
58437 break;
58438 case 1:
58439 // return
58440 return A._asyncReturn($async$returnValue, $async$completer);
58441 }
58442 });
58443 return A._asyncStartSync($async$call$0, $async$completer);
58444 },
58445 $signature: 62
58446 };
58447 A._EvaluateVisitor_visitForRule__closure0.prototype = {
58448 call$1(child) {
58449 return child.accept$1(this.$this);
58450 },
58451 $signature: 81
58452 };
58453 A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
58454 call$1(module) {
58455 this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
58456 },
58457 $signature: 109
58458 };
58459 A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
58460 call$1(module) {
58461 this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
58462 },
58463 $signature: 109
58464 };
58465 A._EvaluateVisitor_visitIfRule_closure0.prototype = {
58466 call$0() {
58467 var t1 = this.$this;
58468 return t1._async_evaluate$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure0(t1));
58469 },
58470 $signature: 62
58471 };
58472 A._EvaluateVisitor_visitIfRule__closure0.prototype = {
58473 call$1(child) {
58474 return child.accept$1(this.$this);
58475 },
58476 $signature: 81
58477 };
58478 A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
58479 call$0() {
58480 var $async$goto = 0,
58481 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58482 $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;
58483 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58484 if ($async$errorCode === 1)
58485 return A._asyncRethrow($async$result, $async$completer);
58486 while (true)
58487 switch ($async$goto) {
58488 case 0:
58489 // Function start
58490 t1 = $async$self.$this;
58491 t2 = $async$self.$import;
58492 $async$goto = 3;
58493 return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
58494 case 3:
58495 // returning from await.
58496 result = $async$result;
58497 stylesheet = result.stylesheet;
58498 url = stylesheet.span.file.url;
58499 if (url != null) {
58500 t3 = t1._async_evaluate$_activeModules;
58501 if (t3.containsKey$1(url)) {
58502 t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
58503 throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
58504 }
58505 t3.$indexSet(0, url, t2);
58506 }
58507 t2 = stylesheet._uses;
58508 t3 = type$.UnmodifiableListView_UseRule;
58509 t4 = new A.UnmodifiableListView(t2, t3);
58510 if (t4.get$length(t4) === 0) {
58511 t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
58512 t4 = t4.get$length(t4) === 0;
58513 } else
58514 t4 = false;
58515 $async$goto = t4 ? 4 : 5;
58516 break;
58517 case 4:
58518 // then
58519 oldImporter = t1._async_evaluate$_importer;
58520 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
58521 oldInDependency = t1._async_evaluate$_inDependency;
58522 t1._async_evaluate$_importer = result.importer;
58523 t1._async_evaluate$__stylesheet = stylesheet;
58524 t1._async_evaluate$_inDependency = result.isDependency;
58525 $async$goto = 6;
58526 return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
58527 case 6:
58528 // returning from await.
58529 t1._async_evaluate$_importer = oldImporter;
58530 t1._async_evaluate$__stylesheet = t2;
58531 t1._async_evaluate$_inDependency = oldInDependency;
58532 t1._async_evaluate$_activeModules.remove$1(0, url);
58533 // goto return
58534 $async$goto = 1;
58535 break;
58536 case 5:
58537 // join
58538 t2 = new A.UnmodifiableListView(t2, t3);
58539 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
58540 t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
58541 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
58542 } else
58543 loadsUserDefinedModules = true;
58544 children = A._Cell$();
58545 t2 = t1._async_evaluate$_environment;
58546 t3 = type$.String;
58547 t4 = type$.Module_AsyncCallable;
58548 t5 = type$.AstNode;
58549 t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
58550 t7 = t2._async_environment$_variables;
58551 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
58552 t8 = t2._async_environment$_variableNodes;
58553 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
58554 t9 = t2._async_environment$_functions;
58555 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
58556 t10 = t2._async_environment$_mixins;
58557 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
58558 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);
58559 $async$goto = 7;
58560 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);
58561 case 7:
58562 // returning from await.
58563 module = environment.toDummyModule$0();
58564 t1._async_evaluate$_environment.importForwards$1(module);
58565 $async$goto = loadsUserDefinedModules ? 8 : 9;
58566 break;
58567 case 8:
58568 // then
58569 $async$goto = module.transitivelyContainsCss ? 10 : 11;
58570 break;
58571 case 10:
58572 // then
58573 $async$goto = 12;
58574 return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
58575 case 12:
58576 // returning from await.
58577 case 11:
58578 // join
58579 visitor = new A._ImportedCssVisitor0(t1);
58580 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
58581 t2.get$current(t2).accept$1(visitor);
58582 case 9:
58583 // join
58584 t1._async_evaluate$_activeModules.remove$1(0, url);
58585 case 1:
58586 // return
58587 return A._asyncReturn($async$returnValue, $async$completer);
58588 }
58589 });
58590 return A._asyncStartSync($async$call$0, $async$completer);
58591 },
58592 $signature: 28
58593 };
58594 A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
58595 call$1(previousLoad) {
58596 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));
58597 },
58598 $signature: 79
58599 };
58600 A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
58601 call$1(rule) {
58602 return rule.url.get$scheme() !== "sass";
58603 },
58604 $signature: 198
58605 };
58606 A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
58607 call$1(rule) {
58608 return rule.url.get$scheme() !== "sass";
58609 },
58610 $signature: 195
58611 };
58612 A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
58613 call$0() {
58614 var $async$goto = 0,
58615 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58616 $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
58617 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58618 if ($async$errorCode === 1)
58619 return A._asyncRethrow($async$result, $async$completer);
58620 while (true)
58621 switch ($async$goto) {
58622 case 0:
58623 // Function start
58624 t1 = $async$self.$this;
58625 oldImporter = t1._async_evaluate$_importer;
58626 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
58627 t3 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
58628 t4 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
58629 t5 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
58630 oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
58631 oldConfiguration = t1._async_evaluate$_configuration;
58632 oldInDependency = t1._async_evaluate$_inDependency;
58633 t6 = $async$self.result;
58634 t1._async_evaluate$_importer = t6.importer;
58635 t7 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
58636 t8 = $async$self.loadsUserDefinedModules;
58637 if (t8) {
58638 t9 = A.ModifiableCssStylesheet$(t7.span);
58639 t1._async_evaluate$__root = t9;
58640 t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t9, "_root");
58641 t1._async_evaluate$__endOfImports = 0;
58642 t1._async_evaluate$_outOfOrderImports = null;
58643 }
58644 t1._async_evaluate$_inDependency = t6.isDependency;
58645 t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
58646 if (!t6.get$isEmpty(t6))
58647 t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
58648 $async$goto = 2;
58649 return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
58650 case 2:
58651 // returning from await.
58652 t6 = t8 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
58653 $async$self.children._value = t6;
58654 t1._async_evaluate$_importer = oldImporter;
58655 t1._async_evaluate$__stylesheet = t2;
58656 if (t8) {
58657 t1._async_evaluate$__root = t3;
58658 t1._async_evaluate$__parent = t4;
58659 t1._async_evaluate$__endOfImports = t5;
58660 t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
58661 }
58662 t1._async_evaluate$_configuration = oldConfiguration;
58663 t1._async_evaluate$_inDependency = oldInDependency;
58664 // implicit return
58665 return A._asyncReturn(null, $async$completer);
58666 }
58667 });
58668 return A._asyncStartSync($async$call$0, $async$completer);
58669 },
58670 $signature: 2
58671 };
58672 A._EvaluateVisitor__visitStaticImport_closure0.prototype = {
58673 call$1(supports) {
58674 return this.$call$body$_EvaluateVisitor__visitStaticImport_closure(supports);
58675 },
58676 $call$body$_EvaluateVisitor__visitStaticImport_closure(supports) {
58677 var $async$goto = 0,
58678 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
58679 $async$returnValue, $async$self = this, t2, arg, t1, $async$temp1, $async$temp2;
58680 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58681 if ($async$errorCode === 1)
58682 return A._asyncRethrow($async$result, $async$completer);
58683 while (true)
58684 switch ($async$goto) {
58685 case 0:
58686 // Function start
58687 t1 = $async$self.$this;
58688 $async$goto = supports instanceof A.SupportsDeclaration ? 3 : 5;
58689 break;
58690 case 3:
58691 // then
58692 $async$temp1 = A;
58693 $async$goto = 6;
58694 return A._asyncAwait(t1._evaluateToCss$1(supports.name), $async$call$1);
58695 case 6:
58696 // returning from await.
58697 t2 = $async$temp1.S($async$result) + ":";
58698 $async$temp1 = t2 + (supports.get$isCustomProperty() ? "" : " ");
58699 $async$temp2 = A;
58700 $async$goto = 7;
58701 return A._asyncAwait(t1._evaluateToCss$1(supports.value), $async$call$1);
58702 case 7:
58703 // returning from await.
58704 arg = $async$temp1 + $async$temp2.S($async$result);
58705 // goto join
58706 $async$goto = 4;
58707 break;
58708 case 5:
58709 // else
58710 $async$goto = 8;
58711 return A._asyncAwait(A.NullableExtension_andThen(supports, t1.get$_async_evaluate$_visitSupportsCondition()), $async$call$1);
58712 case 8:
58713 // returning from await.
58714 arg = $async$result;
58715 case 4:
58716 // join
58717 $async$returnValue = new A.CssValue("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String);
58718 // goto return
58719 $async$goto = 1;
58720 break;
58721 case 1:
58722 // return
58723 return A._asyncReturn($async$returnValue, $async$completer);
58724 }
58725 });
58726 return A._asyncStartSync($async$call$1, $async$completer);
58727 },
58728 $signature: 513
58729 };
58730 A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
58731 call$0() {
58732 var t1 = this.node;
58733 return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
58734 },
58735 $signature: 107
58736 };
58737 A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
58738 call$0() {
58739 return this.node.get$spanWithoutContent();
58740 },
58741 $signature: 31
58742 };
58743 A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
58744 call$1($content) {
58745 var t1 = this.$this;
58746 return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
58747 },
58748 $signature: 514
58749 };
58750 A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
58751 call$0() {
58752 var $async$goto = 0,
58753 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58754 $async$self = this, t1;
58755 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58756 if ($async$errorCode === 1)
58757 return A._asyncRethrow($async$result, $async$completer);
58758 while (true)
58759 switch ($async$goto) {
58760 case 0:
58761 // Function start
58762 t1 = $async$self.$this;
58763 $async$goto = 2;
58764 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);
58765 case 2:
58766 // returning from await.
58767 // implicit return
58768 return A._asyncReturn(null, $async$completer);
58769 }
58770 });
58771 return A._asyncStartSync($async$call$0, $async$completer);
58772 },
58773 $signature: 2
58774 };
58775 A._EvaluateVisitor_visitIncludeRule__closure0.prototype = {
58776 call$0() {
58777 var $async$goto = 0,
58778 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58779 $async$self = this, t1;
58780 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58781 if ($async$errorCode === 1)
58782 return A._asyncRethrow($async$result, $async$completer);
58783 while (true)
58784 switch ($async$goto) {
58785 case 0:
58786 // Function start
58787 t1 = $async$self.$this;
58788 $async$goto = 2;
58789 return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure0(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
58790 case 2:
58791 // returning from await.
58792 // implicit return
58793 return A._asyncReturn(null, $async$completer);
58794 }
58795 });
58796 return A._asyncStartSync($async$call$0, $async$completer);
58797 },
58798 $signature: 28
58799 };
58800 A._EvaluateVisitor_visitIncludeRule___closure0.prototype = {
58801 call$0() {
58802 var $async$goto = 0,
58803 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58804 $async$self = this, t1, t2, t3, t4, t5, _i;
58805 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58806 if ($async$errorCode === 1)
58807 return A._asyncRethrow($async$result, $async$completer);
58808 while (true)
58809 switch ($async$goto) {
58810 case 0:
58811 // Function start
58812 t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value, _i = 0;
58813 case 2:
58814 // for condition
58815 if (!(_i < t2)) {
58816 // goto after for
58817 $async$goto = 4;
58818 break;
58819 }
58820 $async$goto = 5;
58821 return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure0(t3, t1[_i]), t5), $async$call$0);
58822 case 5:
58823 // returning from await.
58824 case 3:
58825 // for update
58826 ++_i;
58827 // goto for condition
58828 $async$goto = 2;
58829 break;
58830 case 4:
58831 // after for
58832 // implicit return
58833 return A._asyncReturn(null, $async$completer);
58834 }
58835 });
58836 return A._asyncStartSync($async$call$0, $async$completer);
58837 },
58838 $signature: 28
58839 };
58840 A._EvaluateVisitor_visitIncludeRule____closure0.prototype = {
58841 call$0() {
58842 return this.statement.accept$1(this.$this);
58843 },
58844 $signature: 62
58845 };
58846 A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
58847 call$1(mediaQueries) {
58848 return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
58849 },
58850 $signature: 82
58851 };
58852 A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
58853 call$0() {
58854 var $async$goto = 0,
58855 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58856 $async$self = this, t1, t2;
58857 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58858 if ($async$errorCode === 1)
58859 return A._asyncRethrow($async$result, $async$completer);
58860 while (true)
58861 switch ($async$goto) {
58862 case 0:
58863 // Function start
58864 t1 = $async$self.$this;
58865 t2 = $async$self.mergedQueries;
58866 if (t2 == null)
58867 t2 = $async$self.queries;
58868 $async$goto = 2;
58869 return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
58870 case 2:
58871 // returning from await.
58872 // implicit return
58873 return A._asyncReturn(null, $async$completer);
58874 }
58875 });
58876 return A._asyncStartSync($async$call$0, $async$completer);
58877 },
58878 $signature: 2
58879 };
58880 A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
58881 call$0() {
58882 var $async$goto = 0,
58883 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58884 $async$self = this, t2, t3, _i, t1, styleRule;
58885 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58886 if ($async$errorCode === 1)
58887 return A._asyncRethrow($async$result, $async$completer);
58888 while (true)
58889 switch ($async$goto) {
58890 case 0:
58891 // Function start
58892 t1 = $async$self.$this;
58893 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
58894 $async$goto = styleRule == null ? 2 : 4;
58895 break;
58896 case 2:
58897 // then
58898 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
58899 case 5:
58900 // for condition
58901 if (!(_i < t3)) {
58902 // goto after for
58903 $async$goto = 7;
58904 break;
58905 }
58906 $async$goto = 8;
58907 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
58908 case 8:
58909 // returning from await.
58910 case 6:
58911 // for update
58912 ++_i;
58913 // goto for condition
58914 $async$goto = 5;
58915 break;
58916 case 7:
58917 // after for
58918 // goto join
58919 $async$goto = 3;
58920 break;
58921 case 4:
58922 // else
58923 $async$goto = 9;
58924 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);
58925 case 9:
58926 // returning from await.
58927 case 3:
58928 // join
58929 // implicit return
58930 return A._asyncReturn(null, $async$completer);
58931 }
58932 });
58933 return A._asyncStartSync($async$call$0, $async$completer);
58934 },
58935 $signature: 2
58936 };
58937 A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
58938 call$0() {
58939 var $async$goto = 0,
58940 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58941 $async$self = this, t1, t2, t3, _i;
58942 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58943 if ($async$errorCode === 1)
58944 return A._asyncRethrow($async$result, $async$completer);
58945 while (true)
58946 switch ($async$goto) {
58947 case 0:
58948 // Function start
58949 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58950 case 2:
58951 // for condition
58952 if (!(_i < t2)) {
58953 // goto after for
58954 $async$goto = 4;
58955 break;
58956 }
58957 $async$goto = 5;
58958 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58959 case 5:
58960 // returning from await.
58961 case 3:
58962 // for update
58963 ++_i;
58964 // goto for condition
58965 $async$goto = 2;
58966 break;
58967 case 4:
58968 // after for
58969 // implicit return
58970 return A._asyncReturn(null, $async$completer);
58971 }
58972 });
58973 return A._asyncStartSync($async$call$0, $async$completer);
58974 },
58975 $signature: 2
58976 };
58977 A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
58978 call$1(node) {
58979 var t1;
58980 if (!type$.CssStyleRule._is(node))
58981 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
58982 else
58983 t1 = true;
58984 return t1;
58985 },
58986 $signature: 8
58987 };
58988 A._EvaluateVisitor__visitMediaQueries_closure0.prototype = {
58989 call$0() {
58990 var t1 = A.SpanScanner$(this.resolved, null);
58991 return new A.MediaQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
58992 },
58993 $signature: 129
58994 };
58995 A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
58996 call$0() {
58997 var t1 = this.selectorText;
58998 return A.KeyframeSelectorParser$(t1.get$value(t1), this.$this._async_evaluate$_logger).parse$0();
58999 },
59000 $signature: 49
59001 };
59002 A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
59003 call$0() {
59004 var $async$goto = 0,
59005 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59006 $async$self = this, t1, t2, t3, _i;
59007 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59008 if ($async$errorCode === 1)
59009 return A._asyncRethrow($async$result, $async$completer);
59010 while (true)
59011 switch ($async$goto) {
59012 case 0:
59013 // Function start
59014 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
59015 case 2:
59016 // for condition
59017 if (!(_i < t2)) {
59018 // goto after for
59019 $async$goto = 4;
59020 break;
59021 }
59022 $async$goto = 5;
59023 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
59024 case 5:
59025 // returning from await.
59026 case 3:
59027 // for update
59028 ++_i;
59029 // goto for condition
59030 $async$goto = 2;
59031 break;
59032 case 4:
59033 // after for
59034 // implicit return
59035 return A._asyncReturn(null, $async$completer);
59036 }
59037 });
59038 return A._asyncStartSync($async$call$0, $async$completer);
59039 },
59040 $signature: 2
59041 };
59042 A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
59043 call$1(node) {
59044 return type$.CssStyleRule._is(node);
59045 },
59046 $signature: 8
59047 };
59048 A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
59049 call$0() {
59050 var _s11_ = "_stylesheet",
59051 t1 = this.selectorText,
59052 t2 = this.$this;
59053 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);
59054 },
59055 $signature: 48
59056 };
59057 A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
59058 call$0() {
59059 var t1 = this._box_0.parsedSelector,
59060 t2 = this.$this,
59061 t3 = t2._async_evaluate$_styleRuleIgnoringAtRoot;
59062 t3 = t3 == null ? null : t3.originalSelector;
59063 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate$_atRootExcludingStyleRule);
59064 },
59065 $signature: 48
59066 };
59067 A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
59068 call$0() {
59069 var $async$goto = 0,
59070 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59071 $async$self = this, t1;
59072 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59073 if ($async$errorCode === 1)
59074 return A._asyncRethrow($async$result, $async$completer);
59075 while (true)
59076 switch ($async$goto) {
59077 case 0:
59078 // Function start
59079 t1 = $async$self.$this;
59080 $async$goto = 2;
59081 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);
59082 case 2:
59083 // returning from await.
59084 // implicit return
59085 return A._asyncReturn(null, $async$completer);
59086 }
59087 });
59088 return A._asyncStartSync($async$call$0, $async$completer);
59089 },
59090 $signature: 2
59091 };
59092 A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
59093 call$0() {
59094 var $async$goto = 0,
59095 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59096 $async$self = this, t1, t2, t3, _i;
59097 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59098 if ($async$errorCode === 1)
59099 return A._asyncRethrow($async$result, $async$completer);
59100 while (true)
59101 switch ($async$goto) {
59102 case 0:
59103 // Function start
59104 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
59105 case 2:
59106 // for condition
59107 if (!(_i < t2)) {
59108 // goto after for
59109 $async$goto = 4;
59110 break;
59111 }
59112 $async$goto = 5;
59113 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
59114 case 5:
59115 // returning from await.
59116 case 3:
59117 // for update
59118 ++_i;
59119 // goto for condition
59120 $async$goto = 2;
59121 break;
59122 case 4:
59123 // after for
59124 // implicit return
59125 return A._asyncReturn(null, $async$completer);
59126 }
59127 });
59128 return A._asyncStartSync($async$call$0, $async$completer);
59129 },
59130 $signature: 2
59131 };
59132 A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
59133 call$1(node) {
59134 return type$.CssStyleRule._is(node);
59135 },
59136 $signature: 8
59137 };
59138 A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
59139 call$0() {
59140 var $async$goto = 0,
59141 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59142 $async$self = this, t2, t3, _i, t1, styleRule;
59143 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59144 if ($async$errorCode === 1)
59145 return A._asyncRethrow($async$result, $async$completer);
59146 while (true)
59147 switch ($async$goto) {
59148 case 0:
59149 // Function start
59150 t1 = $async$self.$this;
59151 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
59152 $async$goto = styleRule == null ? 2 : 4;
59153 break;
59154 case 2:
59155 // then
59156 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
59157 case 5:
59158 // for condition
59159 if (!(_i < t3)) {
59160 // goto after for
59161 $async$goto = 7;
59162 break;
59163 }
59164 $async$goto = 8;
59165 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
59166 case 8:
59167 // returning from await.
59168 case 6:
59169 // for update
59170 ++_i;
59171 // goto for condition
59172 $async$goto = 5;
59173 break;
59174 case 7:
59175 // after for
59176 // goto join
59177 $async$goto = 3;
59178 break;
59179 case 4:
59180 // else
59181 $async$goto = 9;
59182 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);
59183 case 9:
59184 // returning from await.
59185 case 3:
59186 // join
59187 // implicit return
59188 return A._asyncReturn(null, $async$completer);
59189 }
59190 });
59191 return A._asyncStartSync($async$call$0, $async$completer);
59192 },
59193 $signature: 2
59194 };
59195 A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
59196 call$0() {
59197 var $async$goto = 0,
59198 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59199 $async$self = this, t1, t2, t3, _i;
59200 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59201 if ($async$errorCode === 1)
59202 return A._asyncRethrow($async$result, $async$completer);
59203 while (true)
59204 switch ($async$goto) {
59205 case 0:
59206 // Function start
59207 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
59208 case 2:
59209 // for condition
59210 if (!(_i < t2)) {
59211 // goto after for
59212 $async$goto = 4;
59213 break;
59214 }
59215 $async$goto = 5;
59216 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
59217 case 5:
59218 // returning from await.
59219 case 3:
59220 // for update
59221 ++_i;
59222 // goto for condition
59223 $async$goto = 2;
59224 break;
59225 case 4:
59226 // after for
59227 // implicit return
59228 return A._asyncReturn(null, $async$completer);
59229 }
59230 });
59231 return A._asyncStartSync($async$call$0, $async$completer);
59232 },
59233 $signature: 2
59234 };
59235 A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
59236 call$1(node) {
59237 return type$.CssStyleRule._is(node);
59238 },
59239 $signature: 8
59240 };
59241 A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
59242 call$0() {
59243 var t1 = this.override;
59244 this.$this._async_evaluate$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
59245 },
59246 $signature: 1
59247 };
59248 A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
59249 call$0() {
59250 var t1 = this.node;
59251 return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
59252 },
59253 $signature: 36
59254 };
59255 A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
59256 call$0() {
59257 var t1 = this.$this,
59258 t2 = this.node;
59259 t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
59260 },
59261 $signature: 1
59262 };
59263 A._EvaluateVisitor_visitUseRule_closure0.prototype = {
59264 call$1(module) {
59265 var t1 = this.node;
59266 this.$this._async_evaluate$_environment.addModule$3$namespace(module, t1, t1.namespace);
59267 },
59268 $signature: 109
59269 };
59270 A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
59271 call$0() {
59272 return this.node.expression.accept$1(this.$this);
59273 },
59274 $signature: 60
59275 };
59276 A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
59277 call$0() {
59278 var $async$goto = 0,
59279 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
59280 $async$returnValue, $async$self = this, t1, t2, t3, result;
59281 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59282 if ($async$errorCode === 1)
59283 return A._asyncRethrow($async$result, $async$completer);
59284 while (true)
59285 switch ($async$goto) {
59286 case 0:
59287 // Function start
59288 t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
59289 case 3:
59290 // for condition
59291 $async$goto = 5;
59292 return A._asyncAwait(t2.accept$1(t3), $async$call$0);
59293 case 5:
59294 // returning from await.
59295 if (!$async$result.get$isTruthy()) {
59296 // goto after for
59297 $async$goto = 4;
59298 break;
59299 }
59300 $async$goto = 6;
59301 return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
59302 case 6:
59303 // returning from await.
59304 result = $async$result;
59305 if (result != null) {
59306 $async$returnValue = result;
59307 // goto return
59308 $async$goto = 1;
59309 break;
59310 }
59311 // goto for condition
59312 $async$goto = 3;
59313 break;
59314 case 4:
59315 // after for
59316 $async$returnValue = null;
59317 // goto return
59318 $async$goto = 1;
59319 break;
59320 case 1:
59321 // return
59322 return A._asyncReturn($async$returnValue, $async$completer);
59323 }
59324 });
59325 return A._asyncStartSync($async$call$0, $async$completer);
59326 },
59327 $signature: 62
59328 };
59329 A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
59330 call$1(child) {
59331 return child.accept$1(this.$this);
59332 },
59333 $signature: 81
59334 };
59335 A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
59336 call$0() {
59337 var $async$goto = 0,
59338 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
59339 $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
59340 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59341 if ($async$errorCode === 1)
59342 return A._asyncRethrow($async$result, $async$completer);
59343 while (true)
59344 switch ($async$goto) {
59345 case 0:
59346 // Function start
59347 t1 = $async$self.node;
59348 t2 = $async$self.$this;
59349 $async$goto = 3;
59350 return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
59351 case 3:
59352 // returning from await.
59353 left = $async$result;
59354 t3 = t1.operator;
59355 case 4:
59356 // switch
59357 switch (t3) {
59358 case B.BinaryOperator_kjl:
59359 // goto case
59360 $async$goto = 6;
59361 break;
59362 case B.BinaryOperator_or_or_1:
59363 // goto case
59364 $async$goto = 7;
59365 break;
59366 case B.BinaryOperator_and_and_2:
59367 // goto case
59368 $async$goto = 8;
59369 break;
59370 case B.BinaryOperator_YlX:
59371 // goto case
59372 $async$goto = 9;
59373 break;
59374 case B.BinaryOperator_i5H:
59375 // goto case
59376 $async$goto = 10;
59377 break;
59378 case B.BinaryOperator_AcR:
59379 // goto case
59380 $async$goto = 11;
59381 break;
59382 case B.BinaryOperator_1da:
59383 // goto case
59384 $async$goto = 12;
59385 break;
59386 case B.BinaryOperator_8qt:
59387 // goto case
59388 $async$goto = 13;
59389 break;
59390 case B.BinaryOperator_33h:
59391 // goto case
59392 $async$goto = 14;
59393 break;
59394 case B.BinaryOperator_AcR0:
59395 // goto case
59396 $async$goto = 15;
59397 break;
59398 case B.BinaryOperator_iyO:
59399 // goto case
59400 $async$goto = 16;
59401 break;
59402 case B.BinaryOperator_O1M:
59403 // goto case
59404 $async$goto = 17;
59405 break;
59406 case B.BinaryOperator_RTB:
59407 // goto case
59408 $async$goto = 18;
59409 break;
59410 case B.BinaryOperator_2ad:
59411 // goto case
59412 $async$goto = 19;
59413 break;
59414 default:
59415 // goto default
59416 $async$goto = 20;
59417 break;
59418 }
59419 break;
59420 case 6:
59421 // case
59422 $async$goto = 21;
59423 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59424 case 21:
59425 // returning from await.
59426 right = $async$result;
59427 $async$returnValue = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
59428 // goto return
59429 $async$goto = 1;
59430 break;
59431 case 7:
59432 // case
59433 $async$goto = left.get$isTruthy() ? 22 : 24;
59434 break;
59435 case 22:
59436 // then
59437 $async$result = left;
59438 // goto join
59439 $async$goto = 23;
59440 break;
59441 case 24:
59442 // else
59443 $async$goto = 25;
59444 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59445 case 25:
59446 // returning from await.
59447 case 23:
59448 // join
59449 $async$returnValue = $async$result;
59450 // goto return
59451 $async$goto = 1;
59452 break;
59453 case 8:
59454 // case
59455 $async$goto = left.get$isTruthy() ? 26 : 28;
59456 break;
59457 case 26:
59458 // then
59459 $async$goto = 29;
59460 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59461 case 29:
59462 // returning from await.
59463 // goto join
59464 $async$goto = 27;
59465 break;
59466 case 28:
59467 // else
59468 $async$result = left;
59469 case 27:
59470 // join
59471 $async$returnValue = $async$result;
59472 // goto return
59473 $async$goto = 1;
59474 break;
59475 case 9:
59476 // case
59477 $async$temp1 = left;
59478 $async$goto = 30;
59479 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59480 case 30:
59481 // returning from await.
59482 $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
59483 // goto return
59484 $async$goto = 1;
59485 break;
59486 case 10:
59487 // case
59488 $async$temp1 = left;
59489 $async$goto = 31;
59490 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59491 case 31:
59492 // returning from await.
59493 $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
59494 // goto return
59495 $async$goto = 1;
59496 break;
59497 case 11:
59498 // case
59499 $async$temp1 = left;
59500 $async$goto = 32;
59501 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59502 case 32:
59503 // returning from await.
59504 $async$returnValue = $async$temp1.greaterThan$1($async$result);
59505 // goto return
59506 $async$goto = 1;
59507 break;
59508 case 12:
59509 // case
59510 $async$temp1 = left;
59511 $async$goto = 33;
59512 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59513 case 33:
59514 // returning from await.
59515 $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
59516 // goto return
59517 $async$goto = 1;
59518 break;
59519 case 13:
59520 // case
59521 $async$temp1 = left;
59522 $async$goto = 34;
59523 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59524 case 34:
59525 // returning from await.
59526 $async$returnValue = $async$temp1.lessThan$1($async$result);
59527 // goto return
59528 $async$goto = 1;
59529 break;
59530 case 14:
59531 // case
59532 $async$temp1 = left;
59533 $async$goto = 35;
59534 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59535 case 35:
59536 // returning from await.
59537 $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
59538 // goto return
59539 $async$goto = 1;
59540 break;
59541 case 15:
59542 // case
59543 $async$temp1 = left;
59544 $async$goto = 36;
59545 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59546 case 36:
59547 // returning from await.
59548 $async$returnValue = $async$temp1.plus$1($async$result);
59549 // goto return
59550 $async$goto = 1;
59551 break;
59552 case 16:
59553 // case
59554 $async$temp1 = left;
59555 $async$goto = 37;
59556 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59557 case 37:
59558 // returning from await.
59559 $async$returnValue = $async$temp1.minus$1($async$result);
59560 // goto return
59561 $async$goto = 1;
59562 break;
59563 case 17:
59564 // case
59565 $async$temp1 = left;
59566 $async$goto = 38;
59567 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59568 case 38:
59569 // returning from await.
59570 $async$returnValue = $async$temp1.times$1($async$result);
59571 // goto return
59572 $async$goto = 1;
59573 break;
59574 case 18:
59575 // case
59576 $async$goto = 39;
59577 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59578 case 39:
59579 // returning from await.
59580 right = $async$result;
59581 result = left.dividedBy$1(right);
59582 if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber) {
59583 $async$returnValue = type$.SassNumber._as(result).withSlash$2(left, right);
59584 // goto return
59585 $async$goto = 1;
59586 break;
59587 } else {
59588 if (left instanceof A.SassNumber && right instanceof A.SassNumber)
59589 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);
59590 $async$returnValue = result;
59591 // goto return
59592 $async$goto = 1;
59593 break;
59594 }
59595 case 19:
59596 // case
59597 $async$temp1 = left;
59598 $async$goto = 40;
59599 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
59600 case 40:
59601 // returning from await.
59602 $async$returnValue = $async$temp1.modulo$1($async$result);
59603 // goto return
59604 $async$goto = 1;
59605 break;
59606 case 20:
59607 // default
59608 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
59609 case 5:
59610 // after switch
59611 case 1:
59612 // return
59613 return A._asyncReturn($async$returnValue, $async$completer);
59614 }
59615 });
59616 return A._asyncStartSync($async$call$0, $async$completer);
59617 },
59618 $signature: 60
59619 };
59620 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0.prototype = {
59621 call$1(expression) {
59622 if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_RTB)
59623 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
59624 else if (expression instanceof A.ParenthesizedExpression)
59625 return expression.expression.toString$0(0);
59626 else
59627 return expression.toString$0(0);
59628 },
59629 $signature: 136
59630 };
59631 A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
59632 call$0() {
59633 var t1 = this.node;
59634 return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
59635 },
59636 $signature: 36
59637 };
59638 A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
59639 call$0() {
59640 var _this = this,
59641 t1 = _this.node.operator;
59642 switch (t1) {
59643 case B.UnaryOperator_j2w:
59644 return _this.operand.unaryPlus$0();
59645 case B.UnaryOperator_U4G:
59646 return _this.operand.unaryMinus$0();
59647 case B.UnaryOperator_zDx:
59648 return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
59649 case B.UnaryOperator_not_not:
59650 return _this.operand.unaryNot$0();
59651 default:
59652 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
59653 }
59654 },
59655 $signature: 35
59656 };
59657 A._EvaluateVisitor__visitCalculationValue_closure0.prototype = {
59658 call$0() {
59659 var $async$goto = 0,
59660 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
59661 $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
59662 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59663 if ($async$errorCode === 1)
59664 return A._asyncRethrow($async$result, $async$completer);
59665 while (true)
59666 switch ($async$goto) {
59667 case 0:
59668 // Function start
59669 t1 = $async$self.$this;
59670 t2 = $async$self.node;
59671 t3 = $async$self.inMinMax;
59672 $async$temp1 = A;
59673 $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$1(t2.operator);
59674 $async$goto = 3;
59675 return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
59676 case 3:
59677 // returning from await.
59678 $async$temp3 = $async$result;
59679 $async$goto = 4;
59680 return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
59681 case 4:
59682 // returning from await.
59683 $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate$_inSupportsDeclaration);
59684 // goto return
59685 $async$goto = 1;
59686 break;
59687 case 1:
59688 // return
59689 return A._asyncReturn($async$returnValue, $async$completer);
59690 }
59691 });
59692 return A._asyncStartSync($async$call$0, $async$completer);
59693 },
59694 $signature: 178
59695 };
59696 A._EvaluateVisitor_visitListExpression_closure0.prototype = {
59697 call$1(expression) {
59698 return expression.accept$1(this.$this);
59699 },
59700 $signature: 528
59701 };
59702 A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
59703 call$0() {
59704 var t1 = this.node;
59705 return this.$this._async_evaluate$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
59706 },
59707 $signature: 107
59708 };
59709 A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
59710 call$0() {
59711 var t1 = this.node;
59712 return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
59713 },
59714 $signature: 60
59715 };
59716 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
59717 call$0() {
59718 var t1 = this.node;
59719 return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
59720 },
59721 $signature: 60
59722 };
59723 A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
59724 call$0() {
59725 var _this = this,
59726 t1 = _this.$this,
59727 t2 = _this.callable,
59728 t3 = _this.V;
59729 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);
59730 },
59731 $signature() {
59732 return this.V._eval$1("Future<0>()");
59733 }
59734 };
59735 A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
59736 call$0() {
59737 var _this = this,
59738 t1 = _this.$this,
59739 t2 = _this.V;
59740 return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
59741 },
59742 $signature() {
59743 return this.V._eval$1("Future<0>()");
59744 }
59745 };
59746 A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
59747 call$0() {
59748 return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
59749 },
59750 $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
59751 var $async$goto = 0,
59752 $async$completer = A._makeAsyncAwaitCompleter($async$type),
59753 $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;
59754 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59755 if ($async$errorCode === 1)
59756 return A._asyncRethrow($async$result, $async$completer);
59757 while (true)
59758 switch ($async$goto) {
59759 case 0:
59760 // Function start
59761 t1 = $async$self.$this;
59762 t2 = $async$self.evaluated;
59763 t3 = t2.positional;
59764 t4 = t2.named;
59765 t5 = $async$self.callable.declaration.$arguments;
59766 t6 = $async$self.nodeWithSpan;
59767 t1._async_evaluate$_verifyArguments$4(t3.length, t4, t5, t6);
59768 declaredArguments = t5.$arguments;
59769 t7 = declaredArguments.length;
59770 minLength = Math.min(t3.length, t7);
59771 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
59772 t1._async_evaluate$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
59773 i = t3.length, t8 = t2.namedNodes;
59774 case 3:
59775 // for condition
59776 if (!(i < t7)) {
59777 // goto after for
59778 $async$goto = 5;
59779 break;
59780 }
59781 argument = declaredArguments[i];
59782 t9 = argument.name;
59783 value = t4.remove$1(0, t9);
59784 $async$goto = value == null ? 6 : 7;
59785 break;
59786 case 6:
59787 // then
59788 t10 = argument.defaultValue;
59789 $async$temp1 = t1;
59790 $async$goto = 8;
59791 return A._asyncAwait(t10.accept$1(t1), $async$call$0);
59792 case 8:
59793 // returning from await.
59794 value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t10));
59795 case 7:
59796 // join
59797 t10 = t1._async_evaluate$_environment;
59798 t11 = t8.$index(0, t9);
59799 if (t11 == null) {
59800 t11 = argument.defaultValue;
59801 t11.toString;
59802 t11 = t1._async_evaluate$_expressionNode$1(t11);
59803 }
59804 t10.setLocalVariable$3(t9, value, t11);
59805 case 4:
59806 // for update
59807 ++i;
59808 // goto for condition
59809 $async$goto = 3;
59810 break;
59811 case 5:
59812 // after for
59813 restArgument = t5.restArgument;
59814 if (restArgument != null) {
59815 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty5;
59816 t2 = t2.separator;
59817 argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : t2);
59818 t1._async_evaluate$_environment.setLocalVariable$3(restArgument, argumentList, t6);
59819 } else
59820 argumentList = null;
59821 $async$goto = 9;
59822 return A._asyncAwait($async$self.run.call$0(), $async$call$0);
59823 case 9:
59824 // returning from await.
59825 result = $async$result;
59826 if (argumentList == null) {
59827 $async$returnValue = result;
59828 // goto return
59829 $async$goto = 1;
59830 break;
59831 }
59832 if (t4.get$isEmpty(t4)) {
59833 $async$returnValue = result;
59834 // goto return
59835 $async$goto = 1;
59836 break;
59837 }
59838 if (argumentList._wereKeywordsAccessed) {
59839 $async$returnValue = result;
59840 // goto return
59841 $async$goto = 1;
59842 break;
59843 }
59844 t2 = t4.get$keys(t4);
59845 argumentWord = A.pluralize("argument", t2.get$length(t2), null);
59846 t4 = t4.get$keys(t4);
59847 argumentNames = A.toSentence(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
59848 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))));
59849 case 1:
59850 // return
59851 return A._asyncReturn($async$returnValue, $async$completer);
59852 }
59853 });
59854 return A._asyncStartSync($async$call$0, $async$completer);
59855 },
59856 $signature() {
59857 return this.V._eval$1("Future<0>()");
59858 }
59859 };
59860 A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
59861 call$1($name) {
59862 return "$" + $name;
59863 },
59864 $signature: 5
59865 };
59866 A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
59867 call$0() {
59868 var $async$goto = 0,
59869 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
59870 $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
59871 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59872 if ($async$errorCode === 1)
59873 return A._asyncRethrow($async$result, $async$completer);
59874 while (true)
59875 switch ($async$goto) {
59876 case 0:
59877 // Function start
59878 t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
59879 case 3:
59880 // for condition
59881 if (!(_i < t3)) {
59882 // goto after for
59883 $async$goto = 5;
59884 break;
59885 }
59886 $async$goto = 6;
59887 return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
59888 case 6:
59889 // returning from await.
59890 $returnValue = $async$result;
59891 if ($returnValue instanceof A.Value) {
59892 $async$returnValue = $returnValue;
59893 // goto return
59894 $async$goto = 1;
59895 break;
59896 }
59897 case 4:
59898 // for update
59899 ++_i;
59900 // goto for condition
59901 $async$goto = 3;
59902 break;
59903 case 5:
59904 // after for
59905 throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
59906 case 1:
59907 // return
59908 return A._asyncReturn($async$returnValue, $async$completer);
59909 }
59910 });
59911 return A._asyncStartSync($async$call$0, $async$completer);
59912 },
59913 $signature: 60
59914 };
59915 A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
59916 call$0() {
59917 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
59918 },
59919 $signature: 0
59920 };
59921 A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
59922 call$1($name) {
59923 return "$" + $name;
59924 },
59925 $signature: 5
59926 };
59927 A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
59928 call$1(value) {
59929 return value;
59930 },
59931 $signature: 38
59932 };
59933 A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
59934 call$1(value) {
59935 return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
59936 },
59937 $signature: 38
59938 };
59939 A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
59940 call$2(key, value) {
59941 var _this = this,
59942 t1 = _this.restNodeForSpan;
59943 _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
59944 _this.namedNodes.$indexSet(0, key, t1);
59945 },
59946 $signature: 77
59947 };
59948 A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
59949 call$1(value) {
59950 return value;
59951 },
59952 $signature: 38
59953 };
59954 A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
59955 call$1(value) {
59956 var t1 = this.restArgs;
59957 return new A.ValueExpression(value, t1.get$span(t1));
59958 },
59959 $signature: 51
59960 };
59961 A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
59962 call$1(value) {
59963 var t1 = this.restArgs;
59964 return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
59965 },
59966 $signature: 51
59967 };
59968 A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
59969 call$2(key, value) {
59970 var _this = this,
59971 t1 = _this.restArgs;
59972 _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
59973 },
59974 $signature: 77
59975 };
59976 A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
59977 call$1(value) {
59978 var t1 = this.keywordRestArgs;
59979 return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
59980 },
59981 $signature: 51
59982 };
59983 A._EvaluateVisitor__addRestMap_closure0.prototype = {
59984 call$2(key, value) {
59985 var t2, _this = this,
59986 t1 = _this.$this;
59987 if (key instanceof A.SassString)
59988 _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
59989 else {
59990 t2 = _this.nodeWithSpan;
59991 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)));
59992 }
59993 },
59994 $signature: 59
59995 };
59996 A._EvaluateVisitor__verifyArguments_closure0.prototype = {
59997 call$0() {
59998 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
59999 },
60000 $signature: 0
60001 };
60002 A._EvaluateVisitor_visitStringExpression_closure0.prototype = {
60003 call$1(value) {
60004 var $async$goto = 0,
60005 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
60006 $async$returnValue, $async$self = this, t1, result;
60007 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
60008 if ($async$errorCode === 1)
60009 return A._asyncRethrow($async$result, $async$completer);
60010 while (true)
60011 switch ($async$goto) {
60012 case 0:
60013 // Function start
60014 if (typeof value == "string") {
60015 $async$returnValue = value;
60016 // goto return
60017 $async$goto = 1;
60018 break;
60019 }
60020 type$.Expression._as(value);
60021 t1 = $async$self.$this;
60022 $async$goto = 3;
60023 return A._asyncAwait(value.accept$1(t1), $async$call$1);
60024 case 3:
60025 // returning from await.
60026 result = $async$result;
60027 $async$returnValue = result instanceof A.SassString ? result._string$_text : t1._async_evaluate$_serialize$3$quote(result, value, false);
60028 // goto return
60029 $async$goto = 1;
60030 break;
60031 case 1:
60032 // return
60033 return A._asyncReturn($async$returnValue, $async$completer);
60034 }
60035 });
60036 return A._asyncStartSync($async$call$1, $async$completer);
60037 },
60038 $signature: 83
60039 };
60040 A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
60041 call$0() {
60042 var $async$goto = 0,
60043 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
60044 $async$self = this, t1, t2, t3;
60045 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
60046 if ($async$errorCode === 1)
60047 return A._asyncRethrow($async$result, $async$completer);
60048 while (true)
60049 switch ($async$goto) {
60050 case 0:
60051 // Function start
60052 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
60053 case 2:
60054 // for condition
60055 if (!t1.moveNext$0()) {
60056 // goto after for
60057 $async$goto = 3;
60058 break;
60059 }
60060 $async$goto = 4;
60061 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
60062 case 4:
60063 // returning from await.
60064 // goto for condition
60065 $async$goto = 2;
60066 break;
60067 case 3:
60068 // after for
60069 // implicit return
60070 return A._asyncReturn(null, $async$completer);
60071 }
60072 });
60073 return A._asyncStartSync($async$call$0, $async$completer);
60074 },
60075 $signature: 2
60076 };
60077 A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
60078 call$1(node) {
60079 return type$.CssStyleRule._is(node);
60080 },
60081 $signature: 8
60082 };
60083 A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
60084 call$0() {
60085 var $async$goto = 0,
60086 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
60087 $async$self = this, t1, t2, t3;
60088 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
60089 if ($async$errorCode === 1)
60090 return A._asyncRethrow($async$result, $async$completer);
60091 while (true)
60092 switch ($async$goto) {
60093 case 0:
60094 // Function start
60095 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
60096 case 2:
60097 // for condition
60098 if (!t1.moveNext$0()) {
60099 // goto after for
60100 $async$goto = 3;
60101 break;
60102 }
60103 $async$goto = 4;
60104 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
60105 case 4:
60106 // returning from await.
60107 // goto for condition
60108 $async$goto = 2;
60109 break;
60110 case 3:
60111 // after for
60112 // implicit return
60113 return A._asyncReturn(null, $async$completer);
60114 }
60115 });
60116 return A._asyncStartSync($async$call$0, $async$completer);
60117 },
60118 $signature: 2
60119 };
60120 A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
60121 call$1(node) {
60122 return type$.CssStyleRule._is(node);
60123 },
60124 $signature: 8
60125 };
60126 A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
60127 call$1(mediaQueries) {
60128 return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
60129 },
60130 $signature: 82
60131 };
60132 A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
60133 call$0() {
60134 var $async$goto = 0,
60135 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
60136 $async$self = this, t1, t2;
60137 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
60138 if ($async$errorCode === 1)
60139 return A._asyncRethrow($async$result, $async$completer);
60140 while (true)
60141 switch ($async$goto) {
60142 case 0:
60143 // Function start
60144 t1 = $async$self.$this;
60145 t2 = $async$self.mergedQueries;
60146 if (t2 == null)
60147 t2 = $async$self.node.queries;
60148 $async$goto = 2;
60149 return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
60150 case 2:
60151 // returning from await.
60152 // implicit return
60153 return A._asyncReturn(null, $async$completer);
60154 }
60155 });
60156 return A._asyncStartSync($async$call$0, $async$completer);
60157 },
60158 $signature: 2
60159 };
60160 A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
60161 call$0() {
60162 var $async$goto = 0,
60163 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
60164 $async$self = this, t2, t3, t1, styleRule;
60165 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
60166 if ($async$errorCode === 1)
60167 return A._asyncRethrow($async$result, $async$completer);
60168 while (true)
60169 switch ($async$goto) {
60170 case 0:
60171 // Function start
60172 t1 = $async$self.$this;
60173 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
60174 $async$goto = styleRule == null ? 2 : 4;
60175 break;
60176 case 2:
60177 // then
60178 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
60179 case 5:
60180 // for condition
60181 if (!t2.moveNext$0()) {
60182 // goto after for
60183 $async$goto = 6;
60184 break;
60185 }
60186 $async$goto = 7;
60187 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
60188 case 7:
60189 // returning from await.
60190 // goto for condition
60191 $async$goto = 5;
60192 break;
60193 case 6:
60194 // after for
60195 // goto join
60196 $async$goto = 3;
60197 break;
60198 case 4:
60199 // else
60200 $async$goto = 8;
60201 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);
60202 case 8:
60203 // returning from await.
60204 case 3:
60205 // join
60206 // implicit return
60207 return A._asyncReturn(null, $async$completer);
60208 }
60209 });
60210 return A._asyncStartSync($async$call$0, $async$completer);
60211 },
60212 $signature: 2
60213 };
60214 A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
60215 call$0() {
60216 var $async$goto = 0,
60217 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
60218 $async$self = this, t1, t2, t3;
60219 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
60220 if ($async$errorCode === 1)
60221 return A._asyncRethrow($async$result, $async$completer);
60222 while (true)
60223 switch ($async$goto) {
60224 case 0:
60225 // Function start
60226 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
60227 case 2:
60228 // for condition
60229 if (!t1.moveNext$0()) {
60230 // goto after for
60231 $async$goto = 3;
60232 break;
60233 }
60234 $async$goto = 4;
60235 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
60236 case 4:
60237 // returning from await.
60238 // goto for condition
60239 $async$goto = 2;
60240 break;
60241 case 3:
60242 // after for
60243 // implicit return
60244 return A._asyncReturn(null, $async$completer);
60245 }
60246 });
60247 return A._asyncStartSync($async$call$0, $async$completer);
60248 },
60249 $signature: 2
60250 };
60251 A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
60252 call$1(node) {
60253 var t1;
60254 if (!type$.CssStyleRule._is(node))
60255 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
60256 else
60257 t1 = true;
60258 return t1;
60259 },
60260 $signature: 8
60261 };
60262 A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
60263 call$0() {
60264 var $async$goto = 0,
60265 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
60266 $async$self = this, t1;
60267 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
60268 if ($async$errorCode === 1)
60269 return A._asyncRethrow($async$result, $async$completer);
60270 while (true)
60271 switch ($async$goto) {
60272 case 0:
60273 // Function start
60274 t1 = $async$self.$this;
60275 $async$goto = 2;
60276 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);
60277 case 2:
60278 // returning from await.
60279 // implicit return
60280 return A._asyncReturn(null, $async$completer);
60281 }
60282 });
60283 return A._asyncStartSync($async$call$0, $async$completer);
60284 },
60285 $signature: 2
60286 };
60287 A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
60288 call$0() {
60289 var $async$goto = 0,
60290 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
60291 $async$self = this, t1, t2, t3;
60292 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
60293 if ($async$errorCode === 1)
60294 return A._asyncRethrow($async$result, $async$completer);
60295 while (true)
60296 switch ($async$goto) {
60297 case 0:
60298 // Function start
60299 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
60300 case 2:
60301 // for condition
60302 if (!t1.moveNext$0()) {
60303 // goto after for
60304 $async$goto = 3;
60305 break;
60306 }
60307 $async$goto = 4;
60308 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
60309 case 4:
60310 // returning from await.
60311 // goto for condition
60312 $async$goto = 2;
60313 break;
60314 case 3:
60315 // after for
60316 // implicit return
60317 return A._asyncReturn(null, $async$completer);
60318 }
60319 });
60320 return A._asyncStartSync($async$call$0, $async$completer);
60321 },
60322 $signature: 2
60323 };
60324 A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
60325 call$1(node) {
60326 return type$.CssStyleRule._is(node);
60327 },
60328 $signature: 8
60329 };
60330 A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
60331 call$0() {
60332 var $async$goto = 0,
60333 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
60334 $async$self = this, t2, t3, t1, styleRule;
60335 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
60336 if ($async$errorCode === 1)
60337 return A._asyncRethrow($async$result, $async$completer);
60338 while (true)
60339 switch ($async$goto) {
60340 case 0:
60341 // Function start
60342 t1 = $async$self.$this;
60343 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
60344 $async$goto = styleRule == null ? 2 : 4;
60345 break;
60346 case 2:
60347 // then
60348 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
60349 case 5:
60350 // for condition
60351 if (!t2.moveNext$0()) {
60352 // goto after for
60353 $async$goto = 6;
60354 break;
60355 }
60356 $async$goto = 7;
60357 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
60358 case 7:
60359 // returning from await.
60360 // goto for condition
60361 $async$goto = 5;
60362 break;
60363 case 6:
60364 // after for
60365 // goto join
60366 $async$goto = 3;
60367 break;
60368 case 4:
60369 // else
60370 $async$goto = 8;
60371 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);
60372 case 8:
60373 // returning from await.
60374 case 3:
60375 // join
60376 // implicit return
60377 return A._asyncReturn(null, $async$completer);
60378 }
60379 });
60380 return A._asyncStartSync($async$call$0, $async$completer);
60381 },
60382 $signature: 2
60383 };
60384 A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
60385 call$0() {
60386 var $async$goto = 0,
60387 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
60388 $async$self = this, t1, t2, t3;
60389 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
60390 if ($async$errorCode === 1)
60391 return A._asyncRethrow($async$result, $async$completer);
60392 while (true)
60393 switch ($async$goto) {
60394 case 0:
60395 // Function start
60396 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
60397 case 2:
60398 // for condition
60399 if (!t1.moveNext$0()) {
60400 // goto after for
60401 $async$goto = 3;
60402 break;
60403 }
60404 $async$goto = 4;
60405 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
60406 case 4:
60407 // returning from await.
60408 // goto for condition
60409 $async$goto = 2;
60410 break;
60411 case 3:
60412 // after for
60413 // implicit return
60414 return A._asyncReturn(null, $async$completer);
60415 }
60416 });
60417 return A._asyncStartSync($async$call$0, $async$completer);
60418 },
60419 $signature: 2
60420 };
60421 A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
60422 call$1(node) {
60423 return type$.CssStyleRule._is(node);
60424 },
60425 $signature: 8
60426 };
60427 A._EvaluateVisitor__performInterpolation_closure0.prototype = {
60428 call$1(value) {
60429 var $async$goto = 0,
60430 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
60431 $async$returnValue, $async$self = this, t1, result, t2, t3;
60432 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
60433 if ($async$errorCode === 1)
60434 return A._asyncRethrow($async$result, $async$completer);
60435 while (true)
60436 switch ($async$goto) {
60437 case 0:
60438 // Function start
60439 if (typeof value == "string") {
60440 $async$returnValue = value;
60441 // goto return
60442 $async$goto = 1;
60443 break;
60444 }
60445 type$.Expression._as(value);
60446 t1 = $async$self.$this;
60447 $async$goto = 3;
60448 return A._asyncAwait(value.accept$1(t1), $async$call$1);
60449 case 3:
60450 // returning from await.
60451 result = $async$result;
60452 if ($async$self.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
60453 t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
60454 t3 = $.$get$namesByColor();
60455 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));
60456 }
60457 $async$returnValue = t1._async_evaluate$_serialize$3$quote(result, value, false);
60458 // goto return
60459 $async$goto = 1;
60460 break;
60461 case 1:
60462 // return
60463 return A._asyncReturn($async$returnValue, $async$completer);
60464 }
60465 });
60466 return A._asyncStartSync($async$call$1, $async$completer);
60467 },
60468 $signature: 83
60469 };
60470 A._EvaluateVisitor__serialize_closure0.prototype = {
60471 call$0() {
60472 return A.serializeValue(this.value, false, this.quote);
60473 },
60474 $signature: 30
60475 };
60476 A._EvaluateVisitor__expressionNode_closure0.prototype = {
60477 call$0() {
60478 var t1 = this.expression;
60479 return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
60480 },
60481 $signature: 167
60482 };
60483 A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
60484 call$1(number) {
60485 var asSlash = number.asSlash;
60486 if (asSlash != null)
60487 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
60488 else
60489 return A.serializeValue(number, true, true);
60490 },
60491 $signature: 165
60492 };
60493 A._EvaluateVisitor__stackFrame_closure0.prototype = {
60494 call$1(url) {
60495 var t1 = this.$this._async_evaluate$_importCache;
60496 t1 = t1 == null ? null : t1.humanize$1(url);
60497 return t1 == null ? url : t1;
60498 },
60499 $signature: 84
60500 };
60501 A._EvaluateVisitor__stackTrace_closure0.prototype = {
60502 call$1(tuple) {
60503 return this.$this._async_evaluate$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
60504 },
60505 $signature: 161
60506 };
60507 A._ImportedCssVisitor0.prototype = {
60508 visitCssAtRule$1(node) {
60509 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
60510 this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
60511 },
60512 visitCssComment$1(node) {
60513 return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
60514 },
60515 visitCssDeclaration$1(node) {
60516 },
60517 visitCssImport$1(node) {
60518 var t2,
60519 _s13_ = "_endOfImports",
60520 t1 = this._async_evaluate$_visitor;
60521 if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
60522 t1._async_evaluate$_addChild$1(node);
60523 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)) {
60524 t1._async_evaluate$_addChild$1(node);
60525 t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
60526 } else {
60527 t2 = t1._async_evaluate$_outOfOrderImports;
60528 (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
60529 }
60530 },
60531 visitCssKeyframeBlock$1(node) {
60532 },
60533 visitCssMediaRule$1(node) {
60534 var t1 = this._async_evaluate$_visitor,
60535 mediaQueries = t1._async_evaluate$_mediaQueries;
60536 t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
60537 },
60538 visitCssStyleRule$1(node) {
60539 return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
60540 },
60541 visitCssStylesheet$1(node) {
60542 var t1, t2;
60543 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
60544 t2._as(t1.__internal$_current).accept$1(this);
60545 },
60546 visitCssSupportsRule$1(node) {
60547 return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
60548 }
60549 };
60550 A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
60551 call$1(node) {
60552 return type$.CssStyleRule._is(node);
60553 },
60554 $signature: 8
60555 };
60556 A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
60557 call$1(node) {
60558 var t1;
60559 if (!type$.CssStyleRule._is(node))
60560 t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
60561 else
60562 t1 = true;
60563 return t1;
60564 },
60565 $signature: 8
60566 };
60567 A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
60568 call$1(node) {
60569 return type$.CssStyleRule._is(node);
60570 },
60571 $signature: 8
60572 };
60573 A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
60574 call$1(node) {
60575 return type$.CssStyleRule._is(node);
60576 },
60577 $signature: 8
60578 };
60579 A.EvaluateResult.prototype = {};
60580 A._EvaluationContext0.prototype = {
60581 get$currentCallableSpan() {
60582 var callableNode = this._async_evaluate$_visitor._async_evaluate$_callableNode;
60583 if (callableNode != null)
60584 return callableNode.get$span(callableNode);
60585 throw A.wrapException(A.StateError$(string$.No_Sasc));
60586 },
60587 warn$2$deprecation(_, message, deprecation) {
60588 var t1 = this._async_evaluate$_visitor,
60589 t2 = t1._async_evaluate$_importSpan;
60590 if (t2 == null) {
60591 t2 = t1._async_evaluate$_callableNode;
60592 t2 = t2 == null ? null : t2.get$span(t2);
60593 }
60594 t1._async_evaluate$_warn$3$deprecation(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
60595 },
60596 $isEvaluationContext: 1
60597 };
60598 A._ArgumentResults0.prototype = {};
60599 A._LoadedStylesheet0.prototype = {};
60600 A._CloneCssVisitor.prototype = {
60601 visitCssAtRule$1(node) {
60602 var t1 = node.isChildless,
60603 rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
60604 return t1 ? rule : this._visitChildren$2(rule, node);
60605 },
60606 visitCssComment$1(node) {
60607 return new A.ModifiableCssComment(node.text, node.span);
60608 },
60609 visitCssDeclaration$1(node) {
60610 return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
60611 },
60612 visitCssImport$1(node) {
60613 return A.ModifiableCssImport$(node.url, node.span, node.media, node.supports);
60614 },
60615 visitCssKeyframeBlock$1(node) {
60616 return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
60617 },
60618 visitCssMediaRule$1(node) {
60619 return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
60620 },
60621 visitCssStyleRule$1(node) {
60622 var newSelector = this._oldToNewSelectors.$index(0, node.selector);
60623 if (newSelector == null)
60624 throw A.wrapException(A.StateError$(string$.The_Ex));
60625 return this._visitChildren$2(A.ModifiableCssStyleRule$(newSelector, node.span, node.originalSelector), node);
60626 },
60627 visitCssStylesheet$1(node) {
60628 return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
60629 },
60630 visitCssSupportsRule$1(node) {
60631 return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
60632 },
60633 _visitChildren$1$2(newParent, oldParent) {
60634 var t1, t2, newChild;
60635 for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
60636 t2 = t1.get$current(t1);
60637 newChild = t2.accept$1(this);
60638 newChild.isGroupEnd = t2.get$isGroupEnd();
60639 newParent.addChild$1(newChild);
60640 }
60641 return newParent;
60642 },
60643 _visitChildren$2(newParent, oldParent) {
60644 return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
60645 }
60646 };
60647 A.Evaluator.prototype = {};
60648 A._EvaluateVisitor.prototype = {
60649 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
60650 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
60651 _s20_ = "$name, $module: null",
60652 _s9_ = "sass:meta",
60653 t1 = type$.JSArray_BuiltInCallable,
60654 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),
60655 metaMixins = A._setArrayType([A.BuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure8(_this), _s9_)], t1);
60656 t1 = type$.BuiltInCallable;
60657 t2 = A.List_List$of($.$get$global(), true, t1);
60658 B.JSArray_methods.addAll$1(t2, $.$get$local());
60659 B.JSArray_methods.addAll$1(t2, metaFunctions);
60660 metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
60661 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) {
60662 module = t1[_i];
60663 t3.$indexSet(0, module.url, module);
60664 }
60665 t1 = A._setArrayType([], type$.JSArray_Callable);
60666 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
60667 B.JSArray_methods.addAll$1(t1, metaFunctions);
60668 for (t2 = t1.length, t3 = _this._builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
60669 $function = t1[_i];
60670 t4 = J.get$name$x($function);
60671 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
60672 }
60673 },
60674 run$2(_, importer, node) {
60675 var t1 = type$.nullable_Object;
60676 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);
60677 },
60678 runExpression$2(importer, expression) {
60679 var t1 = type$.nullable_Object;
60680 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);
60681 },
60682 runStatement$2(importer, statement) {
60683 var t1 = type$.nullable_Object;
60684 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);
60685 },
60686 _assertInModule$1$2(value, $name) {
60687 if (value != null)
60688 return value;
60689 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
60690 },
60691 _assertInModule$2(value, $name) {
60692 return this._assertInModule$1$2(value, $name, type$.dynamic);
60693 },
60694 _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
60695 var t1, _this = this,
60696 oldImporter = _this._importer;
60697 _this._importer = importer;
60698 _this.__stylesheet = A.Stylesheet$(B.List_empty10, nodeWithSpan.get$span(nodeWithSpan));
60699 try {
60700 t1 = callback.call$0();
60701 return t1;
60702 } finally {
60703 _this._importer = oldImporter;
60704 _this.__stylesheet = null;
60705 }
60706 },
60707 _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
60708 return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
60709 },
60710 _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
60711 var t1, t2, _this = this,
60712 builtInModule = _this._builtInModules.$index(0, url);
60713 if (builtInModule != null) {
60714 if (configuration instanceof A.ExplicitConfiguration) {
60715 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
60716 t2 = configuration.nodeWithSpan;
60717 throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
60718 }
60719 _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(callback, builtInModule));
60720 return;
60721 }
60722 _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
60723 },
60724 _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
60725 return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
60726 },
60727 _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
60728 return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
60729 },
60730 _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
60731 var currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
60732 url = stylesheet.span.file.url,
60733 t1 = _this._modules,
60734 alreadyLoaded = t1.$index(0, url);
60735 if (alreadyLoaded != null) {
60736 t1 = configuration == null;
60737 currentConfiguration = t1 ? _this._configuration : configuration;
60738 if (currentConfiguration instanceof A.ExplicitConfiguration) {
60739 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
60740 t2 = _this._moduleNodes.$index(0, url);
60741 existingSpan = t2 == null ? null : J.get$span$z(t2);
60742 if (t1) {
60743 t1 = currentConfiguration.nodeWithSpan;
60744 configurationSpan = t1.get$span(t1);
60745 } else
60746 configurationSpan = null;
60747 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
60748 if (existingSpan != null)
60749 t1.$indexSet(0, existingSpan, "original load");
60750 if (configurationSpan != null)
60751 t1.$indexSet(0, configurationSpan, "configuration");
60752 throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
60753 }
60754 return alreadyLoaded;
60755 }
60756 environment = A.Environment$();
60757 css = A._Cell$();
60758 extensionStore = A.ExtensionStore$();
60759 _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css));
60760 module = environment.toModule$2(css._readLocal$0(), extensionStore);
60761 if (url != null) {
60762 t1.$indexSet(0, url, module);
60763 if (nodeWithSpan != null)
60764 _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
60765 }
60766 return module;
60767 },
60768 _execute$2(importer, stylesheet) {
60769 return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
60770 },
60771 _addOutOfOrderImports$0() {
60772 var t1, t2, _this = this, _s5_ = "_root",
60773 _s13_ = "_endOfImports",
60774 outOfOrderImports = _this._outOfOrderImports;
60775 if (outOfOrderImports == null)
60776 return _this._assertInModule$2(_this.__root, _s5_).children;
60777 t1 = _this._assertInModule$2(_this.__root, _s5_).children;
60778 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);
60779 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
60780 t2 = _this._assertInModule$2(_this.__root, _s5_).children;
60781 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
60782 return t1;
60783 },
60784 _combineCss$2$clone(root, clone) {
60785 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
60786 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
60787 selectors = root.get$extensionStore().get$simpleSelectors();
60788 unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
60789 if (unsatisfiedExtension != null)
60790 _this._throwForUnsatisfiedExtension$1(unsatisfiedExtension);
60791 return root.get$css(root);
60792 }
60793 sortedModules = _this._topologicalModules$1(root);
60794 if (clone) {
60795 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<Callable>>");
60796 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure1(), t1), true, t1._eval$1("ListIterable.E"));
60797 }
60798 _this._extendModules$1(sortedModules);
60799 t1 = type$.JSArray_CssNode;
60800 imports = A._setArrayType([], t1);
60801 css = A._setArrayType([], t1);
60802 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
60803 t3 = t2._as(t1.__internal$_current);
60804 t3 = t3.get$css(t3);
60805 statements = t3.get$children(t3);
60806 index = _this._indexAfterImports$1(statements);
60807 t3 = J.getInterceptor$ax(statements);
60808 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
60809 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
60810 }
60811 t1 = B.JSArray_methods.$add(imports, css);
60812 t2 = root.get$css(root);
60813 return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
60814 },
60815 _combineCss$1(root) {
60816 return this._combineCss$2$clone(root, false);
60817 },
60818 _extendModules$1(sortedModules) {
60819 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
60820 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
60821 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
60822 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
60823 t2 = t1.get$current(t1);
60824 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
60825 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
60826 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
60827 t3 = t2.get$extensionStore().get$addExtensions();
60828 if ($self != null)
60829 t3.call$1($self);
60830 t3 = t2.get$extensionStore();
60831 if (t3.get$isEmpty(t3))
60832 continue;
60833 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
60834 upstream = t3[_i];
60835 url = upstream.get$url(upstream);
60836 if (url == null)
60837 continue;
60838 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure0()), t2.get$extensionStore());
60839 }
60840 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
60841 }
60842 if (unsatisfiedExtensions._collection$_length !== 0)
60843 this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
60844 },
60845 _throwForUnsatisfiedExtension$1(extension) {
60846 throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
60847 },
60848 _topologicalModules$1(root) {
60849 var t1 = type$.Module_Callable,
60850 sorted = A.QueueList$(null, t1);
60851 new A._EvaluateVisitor__topologicalModules_visitModule(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
60852 return sorted;
60853 },
60854 _indexAfterImports$1(statements) {
60855 var t1, t2, t3, lastImport, i, statement;
60856 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
60857 statement = t1.$index(statements, i);
60858 if (t3._is(statement))
60859 lastImport = i;
60860 else if (!t2._is(statement))
60861 break;
60862 }
60863 return lastImport + 1;
60864 },
60865 visitStylesheet$1(node) {
60866 var t1, t2, _i;
60867 for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
60868 t1[_i].accept$1(this);
60869 return null;
60870 },
60871 visitAtRootRule$1(node) {
60872 var t1, grandparent, root, innerCopy, t2, outerCopy, copy, _this = this,
60873 _s8_ = "__parent",
60874 unparsedQuery = node.query,
60875 query = unparsedQuery != null ? _this._adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure(_this, _this._performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS,
60876 $parent = _this._assertInModule$2(_this.__parent, _s8_),
60877 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
60878 for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
60879 if (!query.excludes$1($parent))
60880 included.push($parent);
60881 grandparent = $parent._parent;
60882 if (grandparent == null)
60883 throw A.wrapException(A.StateError$(string$.CssNod));
60884 }
60885 root = _this._trimIncluded$1(included);
60886 if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
60887 _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node), node.hasDeclarations, type$.Null);
60888 return null;
60889 }
60890 if (included.length !== 0) {
60891 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
60892 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) {
60893 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
60894 copy.addChild$1(outerCopy);
60895 }
60896 root.addChild$1(outerCopy);
60897 } else
60898 innerCopy = root;
60899 _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure1(_this, node));
60900 return null;
60901 },
60902 _trimIncluded$1(nodes) {
60903 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
60904 _s22_ = " to be an ancestor of ";
60905 if (nodes.length === 0)
60906 return _this._assertInModule$2(_this.__root, _s5_);
60907 $parent = _this._assertInModule$2(_this.__parent, "__parent");
60908 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
60909 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
60910 grandparent = $parent._parent;
60911 if (grandparent == null)
60912 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
60913 }
60914 if (innermostContiguous == null)
60915 innermostContiguous = i;
60916 grandparent = $parent._parent;
60917 if (grandparent == null)
60918 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
60919 }
60920 if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
60921 return _this._assertInModule$2(_this.__root, _s5_);
60922 innermostContiguous.toString;
60923 root = nodes[innermostContiguous];
60924 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
60925 return root;
60926 },
60927 _scopeForAtRoot$4(node, newParent, query, included) {
60928 var _this = this,
60929 scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
60930 t1 = query._all || query._at_root_query$_rule;
60931 if (t1 !== query.include)
60932 scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
60933 if (_this._mediaQueries != null && query.excludesName$1("media"))
60934 scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
60935 if (_this._inKeyframes && query.excludesName$1("keyframes"))
60936 scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
60937 return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
60938 },
60939 visitContentBlock$1(node) {
60940 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
60941 },
60942 visitContentRule$1(node) {
60943 var $content = this._environment._content;
60944 if ($content == null)
60945 return null;
60946 this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
60947 return null;
60948 },
60949 visitDebugRule$1(node) {
60950 var value = node.expression.accept$1(this),
60951 t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
60952 this._evaluate$_logger.debug$2(0, t1, node.span);
60953 return null;
60954 },
60955 visitDeclaration$1(node) {
60956 var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
60957 if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
60958 throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
60959 t1 = node.name;
60960 $name = _this._interpolationToValue$2$warnForColor(t1, true);
60961 t2 = _this._declarationName;
60962 if (t2 != null)
60963 $name = new A.CssValue(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
60964 t2 = node.value;
60965 cssValue = A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure(_this));
60966 t3 = cssValue != null;
60967 if (t3)
60968 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
60969 else
60970 t4 = false;
60971 if (t4) {
60972 t3 = _this._assertInModule$2(_this.__parent, "__parent");
60973 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
60974 if (_this._sourceMap) {
60975 t2 = A.NullableExtension_andThen(t2, _this.get$_expressionNode());
60976 t2 = t2 == null ? _null : J.get$span$z(t2);
60977 } else
60978 t2 = _null;
60979 t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
60980 } else if (J.startsWith$1$s($name.value, "--") && t3)
60981 throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
60982 children = node.children;
60983 if (children != null) {
60984 oldDeclarationName = _this._declarationName;
60985 _this._declarationName = $name.value;
60986 _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure0(_this, children), node.hasDeclarations, type$.Null);
60987 _this._declarationName = oldDeclarationName;
60988 }
60989 return _null;
60990 },
60991 visitEachRule$1(node) {
60992 var _this = this,
60993 t1 = node.list,
60994 list = t1.accept$1(_this),
60995 nodeWithSpan = _this._expressionNode$1(t1),
60996 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure0(_this, node, nodeWithSpan);
60997 return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, setVariables, node), true, type$.nullable_Value);
60998 },
60999 _setMultipleVariables$3(variables, value, nodeWithSpan) {
61000 var i,
61001 list = value.get$asList(),
61002 t1 = variables.length,
61003 minLength = Math.min(t1, list.length);
61004 for (i = 0; i < minLength; ++i)
61005 this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
61006 for (i = minLength; i < t1; ++i)
61007 this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
61008 },
61009 visitErrorRule$1(node) {
61010 throw A.wrapException(this._evaluate$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
61011 },
61012 visitExtendRule$1(node) {
61013 var targetText, t1, t2, t3, _i, t4, _this = this,
61014 styleRule = _this._atRootExcludingStyleRule ? null : _this._styleRuleIgnoringAtRoot;
61015 if (styleRule == null || _this._declarationName != null)
61016 throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
61017 targetText = _this._interpolationToValue$2$warnForColor(node.selector, true);
61018 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) {
61019 t4 = t1[_i].components;
61020 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector))
61021 throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.span));
61022 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
61023 if (t4.length !== 1)
61024 throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
61025 _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, _this._mediaQueries);
61026 }
61027 return null;
61028 },
61029 visitAtRule$1(node) {
61030 var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
61031 if (_this._declarationName != null)
61032 throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
61033 $name = _this._interpolationToValue$1(node.name);
61034 value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
61035 children = node.children;
61036 if (children == null) {
61037 _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
61038 return null;
61039 }
61040 wasInKeyframes = _this._inKeyframes;
61041 wasInUnknownAtRule = _this._inUnknownAtRule;
61042 if (A.unvendor($name.value) === "keyframes")
61043 _this._inKeyframes = true;
61044 else
61045 _this._inUnknownAtRule = true;
61046 _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);
61047 _this._inUnknownAtRule = wasInUnknownAtRule;
61048 _this._inKeyframes = wasInKeyframes;
61049 return null;
61050 },
61051 visitForRule$1(node) {
61052 var _this = this, t1 = {},
61053 t2 = node.from,
61054 fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
61055 t3 = node.to,
61056 toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
61057 from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
61058 to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
61059 direction = from > to ? -1 : 1;
61060 if (from === (!node.isExclusive ? t1.to = to + direction : to))
61061 return null;
61062 return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
61063 },
61064 visitForwardRule$1(node) {
61065 var newConfiguration, t4, _i, variable, $name, _this = this,
61066 _s8_ = "@forward",
61067 oldConfiguration = _this._configuration,
61068 adjustedConfiguration = oldConfiguration.throughForward$1(node),
61069 t1 = node.configuration,
61070 t2 = t1.length,
61071 t3 = node.url;
61072 if (t2 !== 0) {
61073 newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
61074 _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
61075 t3 = type$.String;
61076 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
61077 for (_i = 0; _i < t2; ++_i) {
61078 variable = t1[_i];
61079 if (!variable.isGuarded)
61080 t4.add$1(0, variable.name);
61081 }
61082 _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
61083 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
61084 for (_i = 0; _i < t2; ++_i)
61085 t3.add$1(0, t1[_i].name);
61086 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) {
61087 $name = t2[_i];
61088 if (!t3.contains$1(0, $name))
61089 if (!t1.get$isEmpty(t1))
61090 t1.remove$1(0, $name);
61091 }
61092 _this._assertConfigurationIsEmpty$1(newConfiguration);
61093 } else {
61094 _this._configuration = adjustedConfiguration;
61095 _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
61096 _this._configuration = oldConfiguration;
61097 }
61098 return null;
61099 },
61100 _addForwardConfiguration$2(configuration, node) {
61101 var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
61102 t1 = configuration._values,
61103 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
61104 for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
61105 variable = t2[_i];
61106 if (variable.isGuarded) {
61107 t4 = variable.name;
61108 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
61109 if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
61110 newValues.$indexSet(0, t4, t5);
61111 continue;
61112 }
61113 }
61114 t4 = variable.expression;
61115 variableNodeWithSpan = this._expressionNode$1(t4);
61116 newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
61117 }
61118 if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
61119 return new A.ExplicitConfiguration(node, newValues);
61120 else
61121 return new A.Configuration(newValues);
61122 },
61123 _removeUsedConfiguration$3$except(upstream, downstream, except) {
61124 var t1, t2, t3, t4, _i, $name;
61125 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) {
61126 $name = t2[_i];
61127 if (except.contains$1(0, $name))
61128 continue;
61129 if (!t4.containsKey$1($name))
61130 if (!t1.get$isEmpty(t1))
61131 t1.remove$1(0, $name);
61132 }
61133 },
61134 _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
61135 var t1, entry;
61136 if (!(configuration instanceof A.ExplicitConfiguration))
61137 return;
61138 t1 = configuration._values;
61139 if (t1.get$isEmpty(t1))
61140 return;
61141 t1 = t1.get$entries(t1);
61142 entry = t1.get$first(t1);
61143 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
61144 throw A.wrapException(this._evaluate$_exception$2(t1, entry.value.configurationSpan));
61145 },
61146 _assertConfigurationIsEmpty$1(configuration) {
61147 return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
61148 },
61149 visitFunctionRule$1(node) {
61150 var t1 = this._environment,
61151 t2 = t1.closure$0(),
61152 t3 = this._inDependency,
61153 t4 = t1._functions,
61154 index = t4.length - 1,
61155 t5 = node.name;
61156 t1._functionIndices.$indexSet(0, t5, index);
61157 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
61158 return null;
61159 },
61160 visitIfRule$1(node) {
61161 var t1, t2, _i, clauseToCheck, _box_0 = {};
61162 _box_0.clause = node.lastClause;
61163 for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
61164 clauseToCheck = t1[_i];
61165 if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
61166 _box_0.clause = clauseToCheck;
61167 break;
61168 }
61169 }
61170 t1 = _box_0.clause;
61171 if (t1 == null)
61172 return null;
61173 return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value);
61174 },
61175 visitImportRule$1(node) {
61176 var t1, t2, t3, _i, $import;
61177 for (t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0; _i < t2; ++_i) {
61178 $import = t1[_i];
61179 if ($import instanceof A.DynamicImport)
61180 this._visitDynamicImport$1($import);
61181 else
61182 this._visitStaticImport$1(t3._as($import));
61183 }
61184 return null;
61185 },
61186 _visitDynamicImport$1($import) {
61187 return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
61188 },
61189 _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
61190 var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this;
61191 baseUrl = baseUrl;
61192 try {
61193 _this._importSpan = span;
61194 importCache = _this._evaluate$_importCache;
61195 if (importCache != null) {
61196 if (baseUrl == null)
61197 baseUrl = _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span.file.url;
61198 tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
61199 if (tuple != null) {
61200 isDependency = _this._inDependency || tuple.item1 !== _this._importer;
61201 t1 = tuple.item1;
61202 t2 = tuple.item2;
61203 t3 = tuple.item3;
61204 t4 = _this._quietDeps && isDependency;
61205 stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
61206 if (stylesheet != null) {
61207 _this._loadedUrls.add$1(0, tuple.item2);
61208 t1 = tuple.item1;
61209 return new A._LoadedStylesheet(stylesheet, t1, isDependency);
61210 }
61211 }
61212 } else {
61213 result = _this._importLikeNode$2(url, forImport);
61214 if (result != null) {
61215 t1 = _this._loadedUrls;
61216 A.NullableExtension_andThen(result.stylesheet.span.file.url, t1.get$add(t1));
61217 return result;
61218 }
61219 }
61220 if (B.JSString_methods.startsWith$1(url, "package:") && true)
61221 throw A.wrapException(string$.x22packa);
61222 else
61223 throw A.wrapException("Can't find stylesheet to import.");
61224 } catch (exception) {
61225 t1 = A.unwrapException(exception);
61226 if (t1 instanceof A.SassException) {
61227 error = t1;
61228 stackTrace = A.getTraceFromException(exception);
61229 t1 = error;
61230 t2 = J.getInterceptor$z(t1);
61231 A.throwWithTrace(_this._evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
61232 } else {
61233 error0 = t1;
61234 stackTrace0 = A.getTraceFromException(exception);
61235 message = null;
61236 try {
61237 message = A._asString(J.get$message$x(error0));
61238 } catch (exception) {
61239 message0 = J.toString$0$(error0);
61240 message = message0;
61241 }
61242 A.throwWithTrace(_this._evaluate$_exception$1(message), stackTrace0);
61243 }
61244 } finally {
61245 _this._importSpan = null;
61246 }
61247 },
61248 _loadStylesheet$3$baseUrl(url, span, baseUrl) {
61249 return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
61250 },
61251 _loadStylesheet$3$forImport(url, span, forImport) {
61252 return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
61253 },
61254 _importLikeNode$2(originalUrl, forImport) {
61255 var result, isDependency, contents, url, _this = this,
61256 t1 = _this._nodeImporter;
61257 t1.toString;
61258 result = t1.loadRelative$3(originalUrl, _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span.file.url, forImport);
61259 isDependency = _this._inDependency;
61260 contents = result.get$item1();
61261 url = result.get$item2();
61262 t1 = url.startsWith$1(0, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS;
61263 return new A._LoadedStylesheet(A.Stylesheet_Stylesheet$parse(contents, t1, _this._quietDeps && isDependency ? $.$get$Logger_quiet() : _this._evaluate$_logger, url), null, isDependency);
61264 },
61265 _visitStaticImport$1($import) {
61266 var t1, _this = this,
61267 _s8_ = "__parent",
61268 _s5_ = "_root",
61269 _s13_ = "_endOfImports",
61270 url = _this._interpolationToValue$1($import.url),
61271 supports = A.NullableExtension_andThen($import.supports, new A._EvaluateVisitor__visitStaticImport_closure(_this)),
61272 node = A.ModifiableCssImport$(url, $import.span, A.NullableExtension_andThen($import.media, _this.get$_visitMediaQueries()), supports);
61273 if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
61274 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
61275 else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
61276 _this._assertInModule$2(_this.__root, _s5_).addChild$1(node);
61277 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
61278 } else {
61279 t1 = _this._outOfOrderImports;
61280 (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
61281 }
61282 },
61283 visitIncludeRule$1(node) {
61284 var nodeWithSpan, t1, _this = this,
61285 _s37_ = "Mixin doesn't accept a content block.",
61286 mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
61287 if (mixin == null)
61288 throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", node.span));
61289 nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure0(node));
61290 if (mixin instanceof A.BuiltInCallable) {
61291 if (node.content != null)
61292 throw A.wrapException(_this._evaluate$_exception$2(_s37_, node.span));
61293 _this._runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
61294 } else if (type$.UserDefinedCallable_Environment._is(mixin)) {
61295 t1 = node.content;
61296 if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
61297 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())));
61298 _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);
61299 } else
61300 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
61301 return null;
61302 },
61303 visitMixinRule$1(node) {
61304 var t1 = this._environment,
61305 t2 = t1.closure$0(),
61306 t3 = this._inDependency,
61307 t4 = t1._mixins,
61308 index = t4.length - 1,
61309 t5 = node.name;
61310 t1._mixinIndices.$indexSet(0, t5, index);
61311 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
61312 return null;
61313 },
61314 visitLoudComment$1(node) {
61315 var t1, _this = this,
61316 _s8_ = "__parent",
61317 _s13_ = "_endOfImports";
61318 if (_this._inFunction)
61319 return null;
61320 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))
61321 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
61322 t1 = node.text;
61323 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(_this._performInterpolation$1(t1), t1.span));
61324 return null;
61325 },
61326 visitMediaRule$1(node) {
61327 var queries, mergedQueries, t1, _this = this;
61328 if (_this._declarationName != null)
61329 throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
61330 queries = _this._visitMediaQueries$1(node.query);
61331 mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
61332 t1 = mergedQueries == null;
61333 if (!t1 && J.get$isEmpty$asx(mergedQueries))
61334 return null;
61335 t1 = t1 ? queries : mergedQueries;
61336 _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);
61337 return null;
61338 },
61339 _visitMediaQueries$1(interpolation) {
61340 return this._adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure(this, this._performInterpolation$2$warnForColor(interpolation, true)));
61341 },
61342 _mergeMediaQueries$2(queries1, queries2) {
61343 var t1, t2, t3, t4, t5, result,
61344 queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
61345 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
61346 t4 = t1.get$current(t1);
61347 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
61348 result = t4.merge$1(t5.get$current(t5));
61349 if (result === B._SingletonCssMediaQueryMergeResult_empty)
61350 continue;
61351 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
61352 return null;
61353 queries.push(t3._as(result).query);
61354 }
61355 }
61356 return queries;
61357 },
61358 visitReturnRule$1(node) {
61359 var t1 = node.expression;
61360 return this._withoutSlash$2(t1.accept$1(this), t1);
61361 },
61362 visitSilentComment$1(node) {
61363 return null;
61364 },
61365 visitStyleRule$1(node) {
61366 var t2, selectorText, rule, oldAtRootExcludingStyleRule, _this = this,
61367 _s8_ = "__parent",
61368 t1 = {};
61369 if (_this._declarationName != null)
61370 throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
61371 t2 = node.selector;
61372 selectorText = _this._interpolationToValue$3$trim$warnForColor(t2, true, true);
61373 if (_this._inKeyframes) {
61374 _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);
61375 return null;
61376 }
61377 t1.parsedSelector = _this._adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure2(_this, selectorText));
61378 t1.parsedSelector = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure3(t1, _this));
61379 rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(t1.parsedSelector, t2.span, _this._mediaQueries), node.span, t1.parsedSelector);
61380 oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
61381 t1 = _this._atRootExcludingStyleRule = false;
61382 _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);
61383 _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
61384 if ((oldAtRootExcludingStyleRule ? null : _this._styleRuleIgnoringAtRoot) == null) {
61385 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61386 t1 = !t1.get$isEmpty(t1);
61387 }
61388 if (t1) {
61389 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61390 t1.get$last(t1).isGroupEnd = true;
61391 }
61392 return null;
61393 },
61394 visitSupportsRule$1(node) {
61395 var t1, _this = this;
61396 if (_this._declarationName != null)
61397 throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
61398 t1 = node.condition;
61399 _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);
61400 return null;
61401 },
61402 _visitSupportsCondition$1(condition) {
61403 var t1, oldInSupportsDeclaration, t2, result, _this = this;
61404 if (condition instanceof A.SupportsOperation) {
61405 t1 = condition.operator;
61406 return _this._parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._parenthesize$2(condition.right, t1);
61407 } else if (condition instanceof A.SupportsNegation)
61408 return "not " + _this._parenthesize$1(condition.condition);
61409 else if (condition instanceof A.SupportsInterpolation) {
61410 t1 = condition.expression;
61411 return _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
61412 } else if (condition instanceof A.SupportsDeclaration) {
61413 oldInSupportsDeclaration = _this._inSupportsDeclaration;
61414 _this._inSupportsDeclaration = true;
61415 t1 = condition.name;
61416 t1 = "(" + _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, true) + ":";
61417 t2 = condition.value;
61418 result = t1 + (condition.get$isCustomProperty() ? "" : " ") + _this._evaluate$_serialize$3$quote(t2.accept$1(_this), t2, true) + ")";
61419 _this._inSupportsDeclaration = oldInSupportsDeclaration;
61420 return result;
61421 } else if (condition instanceof A.SupportsFunction)
61422 return _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
61423 else if (condition instanceof A.SupportsAnything)
61424 return "(" + _this._performInterpolation$1(condition.contents) + ")";
61425 else
61426 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
61427 },
61428 _parenthesize$2(condition, operator) {
61429 var t1;
61430 if (!(condition instanceof A.SupportsNegation))
61431 if (condition instanceof A.SupportsOperation)
61432 t1 = operator == null || operator !== condition.operator;
61433 else
61434 t1 = false;
61435 else
61436 t1 = true;
61437 if (t1)
61438 return "(" + this._visitSupportsCondition$1(condition) + ")";
61439 else
61440 return this._visitSupportsCondition$1(condition);
61441 },
61442 _parenthesize$1(condition) {
61443 return this._parenthesize$2(condition, null);
61444 },
61445 visitVariableDeclaration$1(node) {
61446 var t1, value, _this = this, _null = null;
61447 if (node.isGuarded) {
61448 if (node.namespace == null && _this._environment._variables.length === 1) {
61449 t1 = _this._configuration._values;
61450 t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
61451 if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
61452 _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(_this, node, t1));
61453 return _null;
61454 }
61455 }
61456 value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
61457 if (value != null && !value.$eq(0, B.C__SassNull))
61458 return _null;
61459 }
61460 if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
61461 t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
61462 _this._warn$3$deprecation(t1, node.span, true);
61463 }
61464 t1 = node.expression;
61465 _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
61466 return _null;
61467 },
61468 visitUseRule$1(node) {
61469 var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
61470 t1 = node.configuration,
61471 t2 = t1.length;
61472 if (t2 !== 0) {
61473 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
61474 for (_i = 0; _i < t2; ++_i) {
61475 variable = t1[_i];
61476 t3 = variable.expression;
61477 variableNodeWithSpan = _this._expressionNode$1(t3);
61478 values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
61479 }
61480 configuration = new A.ExplicitConfiguration(node, values);
61481 } else
61482 configuration = B.Configuration_Map_empty;
61483 _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
61484 _this._assertConfigurationIsEmpty$1(configuration);
61485 return null;
61486 },
61487 visitWarnRule$1(node) {
61488 var _this = this,
61489 value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
61490 t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression);
61491 _this._evaluate$_logger.warn$2$trace(0, t1, _this._evaluate$_stackTrace$1(node.span));
61492 return null;
61493 },
61494 visitWhileRule$1(node) {
61495 return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
61496 },
61497 visitBinaryOperationExpression$1(node) {
61498 return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(this, node));
61499 },
61500 visitValueExpression$1(node) {
61501 return node.value;
61502 },
61503 visitVariableExpression$1(node) {
61504 var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
61505 if (result != null)
61506 return result;
61507 throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
61508 },
61509 visitUnaryOperationExpression$1(node) {
61510 return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
61511 },
61512 visitBooleanExpression$1(node) {
61513 return node.value ? B.SassBoolean_true : B.SassBoolean_false;
61514 },
61515 visitIfExpression$1(node) {
61516 var condition, t2, ifTrue, ifFalse, result, _this = this,
61517 pair = _this._evaluateMacroArguments$1(node),
61518 positional = pair.item1,
61519 named = pair.item2,
61520 t1 = J.getInterceptor$asx(positional);
61521 _this._verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
61522 if (t1.get$length(positional) > 0)
61523 condition = t1.$index(positional, 0);
61524 else {
61525 t2 = named.$index(0, "condition");
61526 t2.toString;
61527 condition = t2;
61528 }
61529 if (t1.get$length(positional) > 1)
61530 ifTrue = t1.$index(positional, 1);
61531 else {
61532 t2 = named.$index(0, "if-true");
61533 t2.toString;
61534 ifTrue = t2;
61535 }
61536 if (t1.get$length(positional) > 2)
61537 ifFalse = t1.$index(positional, 2);
61538 else {
61539 t1 = named.$index(0, "if-false");
61540 t1.toString;
61541 ifFalse = t1;
61542 }
61543 result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
61544 return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
61545 },
61546 visitNullExpression$1(node) {
61547 return B.C__SassNull;
61548 },
61549 visitNumberExpression$1(node) {
61550 var t1 = node.value,
61551 t2 = node.unit;
61552 return t2 == null ? new A.UnitlessSassNumber(t1, null) : new A.SingleUnitSassNumber(t2, t1, null);
61553 },
61554 visitParenthesizedExpression$1(node) {
61555 return node.expression.accept$1(this);
61556 },
61557 visitCalculationExpression$1(node) {
61558 var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
61559 t1 = A._setArrayType([], type$.JSArray_Object);
61560 for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
61561 argument = t2[_i];
61562 t1.push(_this._visitCalculationValue$2$inMinMax(argument, !t5 || t6));
61563 }
61564 $arguments = t1;
61565 if (_this._inSupportsDeclaration)
61566 return new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
61567 try {
61568 switch (t4) {
61569 case "calc":
61570 t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
61571 return t1;
61572 case "min":
61573 t1 = A.SassCalculation_min($arguments);
61574 return t1;
61575 case "max":
61576 t1 = A.SassCalculation_max($arguments);
61577 return t1;
61578 case "clamp":
61579 t1 = J.$index$asx($arguments, 0);
61580 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
61581 t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
61582 return t1;
61583 default:
61584 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
61585 throw A.wrapException(t1);
61586 }
61587 } catch (exception) {
61588 t1 = A.unwrapException(exception);
61589 if (t1 instanceof A.SassScriptException) {
61590 error = t1;
61591 stackTrace = A.getTraceFromException(exception);
61592 _this._verifyCompatibleNumbers$2($arguments, t2);
61593 A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), stackTrace);
61594 } else
61595 throw exception;
61596 }
61597 },
61598 _verifyCompatibleNumbers$2(args, nodesWithSpans) {
61599 var i, t1, arg, number1, j, number2;
61600 for (i = 0; t1 = args.length, i < t1; ++i) {
61601 arg = args[i];
61602 if (!(arg instanceof A.SassNumber))
61603 continue;
61604 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
61605 throw A.wrapException(this._evaluate$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
61606 }
61607 for (i = 0; i < t1 - 1; ++i) {
61608 number1 = args[i];
61609 if (!(number1 instanceof A.SassNumber))
61610 continue;
61611 for (j = i + 1; t1 = args.length, j < t1; ++j) {
61612 number2 = args[j];
61613 if (!(number2 instanceof A.SassNumber))
61614 continue;
61615 if (number1.hasPossiblyCompatibleUnits$1(number2))
61616 continue;
61617 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]))));
61618 }
61619 }
61620 },
61621 _visitCalculationValue$2$inMinMax(node, inMinMax) {
61622 var inner, result, t1, _this = this;
61623 if (node instanceof A.ParenthesizedExpression) {
61624 inner = node.expression;
61625 result = _this._visitCalculationValue$2$inMinMax(inner, inMinMax);
61626 if (inner instanceof A.FunctionExpression)
61627 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
61628 else
61629 t1 = false;
61630 return t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
61631 } else if (node instanceof A.StringExpression)
61632 return new A.CalculationInterpolation(_this._performInterpolation$1(node.text));
61633 else if (node instanceof A.BinaryOperationExpression)
61634 return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure(_this, node, inMinMax));
61635 else {
61636 result = node.accept$1(_this);
61637 if (result instanceof A.SassNumber || result instanceof A.SassCalculation)
61638 return result;
61639 if (result instanceof A.SassString && !result._hasQuotes)
61640 return result;
61641 throw A.wrapException(_this._evaluate$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
61642 }
61643 },
61644 _binaryOperatorToCalculationOperator$1(operator) {
61645 switch (operator) {
61646 case B.BinaryOperator_AcR0:
61647 return B.CalculationOperator_Iem;
61648 case B.BinaryOperator_iyO:
61649 return B.CalculationOperator_uti;
61650 case B.BinaryOperator_O1M:
61651 return B.CalculationOperator_Dih;
61652 case B.BinaryOperator_RTB:
61653 return B.CalculationOperator_jB6;
61654 default:
61655 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
61656 }
61657 },
61658 visitColorExpression$1(node) {
61659 return node.value;
61660 },
61661 visitListExpression$1(node) {
61662 var t1 = node.contents;
61663 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);
61664 },
61665 visitMapExpression$1(node) {
61666 var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
61667 t1 = type$.Value,
61668 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
61669 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
61670 for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
61671 pair = t2[_i];
61672 t4 = pair.item1;
61673 keyValue = t4.accept$1(this);
61674 valueValue = pair.item2.accept$1(this);
61675 if (map.$index(0, keyValue) != null) {
61676 t1 = keyNodes.$index(0, keyValue);
61677 oldValueSpan = t1 == null ? null : t1.get$span(t1);
61678 t1 = J.getInterceptor$z(t4);
61679 t2 = t1.get$span(t4);
61680 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
61681 if (oldValueSpan != null)
61682 t3.$indexSet(0, oldValueSpan, "first key");
61683 throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, this._evaluate$_stackTrace$1(t1.get$span(t4))));
61684 }
61685 map.$indexSet(0, keyValue, valueValue);
61686 keyNodes.$indexSet(0, keyValue, t4);
61687 }
61688 return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
61689 },
61690 visitFunctionExpression$1(node) {
61691 var oldInFunction, result, _this = this, t1 = {},
61692 $function = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
61693 t1.$function = $function;
61694 if ($function == null) {
61695 if (node.namespace != null)
61696 throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
61697 t1.$function = new A.PlainCssCallable(node.originalName);
61698 }
61699 oldInFunction = _this._inFunction;
61700 _this._inFunction = true;
61701 result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure0(t1, _this, node));
61702 _this._inFunction = oldInFunction;
61703 return result;
61704 },
61705 visitInterpolatedFunctionExpression$1(node) {
61706 var result, _this = this,
61707 t1 = _this._performInterpolation$1(node.name),
61708 oldInFunction = _this._inFunction;
61709 _this._inFunction = true;
61710 result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
61711 _this._inFunction = oldInFunction;
61712 return result;
61713 },
61714 _getFunction$2$namespace($name, namespace) {
61715 var local = this._environment.getFunction$2$namespace($name, namespace);
61716 if (local != null || namespace != null)
61717 return local;
61718 return this._builtInFunctions.$index(0, $name);
61719 },
61720 _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
61721 var oldCallable, result, _this = this,
61722 evaluated = _this._evaluateArguments$1($arguments),
61723 $name = callable.declaration.name;
61724 if ($name !== "@content")
61725 $name += "()";
61726 oldCallable = _this._currentCallable;
61727 _this._currentCallable = callable;
61728 result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
61729 _this._currentCallable = oldCallable;
61730 return result;
61731 },
61732 _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
61733 var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
61734 if (callable instanceof A.BuiltInCallable)
61735 return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
61736 else if (type$.UserDefinedCallable_Environment._is(callable))
61737 return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
61738 else if (callable instanceof A.PlainCssCallable) {
61739 t1 = $arguments.named;
61740 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
61741 throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
61742 t1 = callable.name + "(";
61743 for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
61744 argument = t2[_i];
61745 if (first)
61746 first = false;
61747 else
61748 t1 += ", ";
61749 t1 += _this._evaluate$_serialize$3$quote(argument.accept$1(_this), argument, true);
61750 }
61751 restArg = $arguments.rest;
61752 if (restArg != null) {
61753 rest = restArg.accept$1(_this);
61754 if (!first)
61755 t1 += ", ";
61756 t1 += _this._evaluate$_serialize$2(rest, restArg);
61757 }
61758 t1 += A.Primitives_stringFromCharCode(41);
61759 return new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
61760 } else
61761 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
61762 },
61763 _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
61764 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,
61765 evaluated = _this._evaluateArguments$1($arguments),
61766 oldCallableNode = _this._callableNode;
61767 _this._callableNode = nodeWithSpan;
61768 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
61769 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
61770 overload = tuple.item1;
61771 callback = tuple.item2;
61772 _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(overload, evaluated, namedSet));
61773 declaredArguments = overload.$arguments;
61774 for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
61775 argument = declaredArguments[i];
61776 t2 = evaluated.positional;
61777 t3 = evaluated.named.remove$1(0, argument.name);
61778 if (t3 == null) {
61779 t3 = argument.defaultValue;
61780 t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
61781 }
61782 t2.push(t3);
61783 }
61784 if (overload.restArgument != null) {
61785 if (evaluated.positional.length > t1) {
61786 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
61787 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
61788 } else
61789 rest = B.List_empty5;
61790 t1 = evaluated.named;
61791 argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : evaluated.separator);
61792 evaluated.positional.push(argumentList);
61793 } else
61794 argumentList = null;
61795 result = null;
61796 try {
61797 result = callback.call$1(evaluated.positional);
61798 } catch (exception) {
61799 t1 = A.unwrapException(exception);
61800 if (type$.SassRuntimeException._is(t1))
61801 throw exception;
61802 else if (t1 instanceof A.MultiSpanSassScriptException) {
61803 error = t1;
61804 stackTrace = A.getTraceFromException(exception);
61805 t1 = error.message;
61806 t2 = nodeWithSpan.get$span(nodeWithSpan);
61807 t3 = error.primaryLabel;
61808 t4 = error.secondarySpans;
61809 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);
61810 } else if (t1 instanceof A.MultiSpanSassException) {
61811 error0 = t1;
61812 stackTrace0 = A.getTraceFromException(exception);
61813 t1 = error0._span_exception$_message;
61814 t2 = error0;
61815 t3 = J.getInterceptor$z(t2);
61816 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
61817 t3 = error0.primaryLabel;
61818 t4 = error0.secondarySpans;
61819 t5 = error0;
61820 t6 = J.getInterceptor$z(t5);
61821 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);
61822 } else {
61823 error1 = t1;
61824 stackTrace1 = A.getTraceFromException(exception);
61825 message = null;
61826 try {
61827 message = A._asString(J.get$message$x(error1));
61828 } catch (exception) {
61829 message0 = J.toString$0$(error1);
61830 message = message0;
61831 }
61832 A.throwWithTrace(_this._evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
61833 }
61834 }
61835 _this._callableNode = oldCallableNode;
61836 if (argumentList == null)
61837 return result;
61838 t1 = evaluated.named;
61839 if (t1.get$isEmpty(t1))
61840 return result;
61841 if (argumentList._wereKeywordsAccessed)
61842 return result;
61843 t1 = evaluated.named;
61844 t1 = t1.get$keys(t1);
61845 t1 = "No " + A.pluralize("argument", t1.get$length(t1), null) + " named ";
61846 t2 = evaluated.named;
61847 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))));
61848 },
61849 _evaluateArguments$1($arguments) {
61850 var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
61851 positional = A._setArrayType([], type$.JSArray_Value),
61852 positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
61853 for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
61854 expression = t1[_i];
61855 nodeForSpan = _this._expressionNode$1(expression);
61856 positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
61857 positionalNodes.push(nodeForSpan);
61858 }
61859 t1 = type$.String;
61860 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
61861 t2 = type$.AstNode;
61862 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61863 for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
61864 t4 = t3.get$current(t3);
61865 t5 = t4.value;
61866 nodeForSpan = _this._expressionNode$1(t5);
61867 t4 = t4.key;
61868 named.$indexSet(0, t4, _this._withoutSlash$2(t5.accept$1(_this), nodeForSpan));
61869 namedNodes.$indexSet(0, t4, nodeForSpan);
61870 }
61871 restArgs = $arguments.rest;
61872 if (restArgs == null)
61873 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null);
61874 rest = restArgs.accept$1(_this);
61875 restNodeForSpan = _this._expressionNode$1(restArgs);
61876 if (rest instanceof A.SassMap) {
61877 _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
61878 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61879 for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
61880 t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
61881 namedNodes.addAll$1(0, t3);
61882 separator = B.ListSeparator_undecided_null;
61883 } else if (rest instanceof A.SassList) {
61884 t3 = rest._list$_contents;
61885 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>")));
61886 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
61887 separator = rest._separator;
61888 if (rest instanceof A.SassArgumentList) {
61889 rest._wereKeywordsAccessed = true;
61890 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
61891 }
61892 } else {
61893 positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
61894 positionalNodes.push(restNodeForSpan);
61895 separator = B.ListSeparator_undecided_null;
61896 }
61897 keywordRestArgs = $arguments.keywordRest;
61898 if (keywordRestArgs == null)
61899 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
61900 keywordRest = keywordRestArgs.accept$1(_this);
61901 keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
61902 if (keywordRest instanceof A.SassMap) {
61903 _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
61904 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61905 for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
61906 t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
61907 namedNodes.addAll$1(0, t1);
61908 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
61909 } else
61910 throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
61911 },
61912 _evaluateMacroArguments$1(invocation) {
61913 var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
61914 t1 = invocation.$arguments,
61915 restArgs_ = t1.rest;
61916 if (restArgs_ == null)
61917 return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61918 t2 = t1.positional;
61919 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
61920 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
61921 rest = restArgs_.accept$1(_this);
61922 restNodeForSpan = _this._expressionNode$1(restArgs_);
61923 if (rest instanceof A.SassMap)
61924 _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
61925 else if (rest instanceof A.SassList) {
61926 t2 = rest._list$_contents;
61927 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>")));
61928 if (rest instanceof A.SassArgumentList) {
61929 rest._wereKeywordsAccessed = true;
61930 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
61931 }
61932 } else
61933 positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
61934 keywordRestArgs_ = t1.keywordRest;
61935 if (keywordRestArgs_ == null)
61936 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61937 keywordRest = keywordRestArgs_.accept$1(_this);
61938 keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
61939 if (keywordRest instanceof A.SassMap) {
61940 _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
61941 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61942 } else
61943 throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
61944 },
61945 _addRestMap$1$4(values, map, nodeWithSpan, convert) {
61946 map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
61947 },
61948 _addRestMap$4(values, map, nodeWithSpan, convert) {
61949 return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
61950 },
61951 _verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
61952 return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure($arguments, positional, named));
61953 },
61954 visitSelectorExpression$1(node) {
61955 var t1 = this._styleRuleIgnoringAtRoot;
61956 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
61957 return t1 == null ? B.C__SassNull : t1;
61958 },
61959 visitStringExpression$1(node) {
61960 var t1, _this = this,
61961 oldInSupportsDeclaration = _this._inSupportsDeclaration;
61962 _this._inSupportsDeclaration = false;
61963 t1 = node.text.contents;
61964 t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
61965 _this._inSupportsDeclaration = oldInSupportsDeclaration;
61966 return new A.SassString(t1, node.hasQuotes);
61967 },
61968 visitCssAtRule$1(node) {
61969 var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
61970 if (_this._declarationName != null)
61971 throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
61972 if (node.isChildless) {
61973 _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
61974 return;
61975 }
61976 wasInKeyframes = _this._inKeyframes;
61977 wasInUnknownAtRule = _this._inUnknownAtRule;
61978 t1 = node.name;
61979 if (A.unvendor(t1.get$value(t1)) === "keyframes")
61980 _this._inKeyframes = true;
61981 else
61982 _this._inUnknownAtRule = true;
61983 _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);
61984 _this._inUnknownAtRule = wasInUnknownAtRule;
61985 _this._inKeyframes = wasInKeyframes;
61986 },
61987 visitCssComment$1(node) {
61988 var _this = this,
61989 _s8_ = "__parent",
61990 _s13_ = "_endOfImports";
61991 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))
61992 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
61993 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
61994 },
61995 visitCssDeclaration$1(node) {
61996 var t1 = node.name;
61997 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));
61998 },
61999 visitCssImport$1(node) {
62000 var t1, _this = this,
62001 _s8_ = "__parent",
62002 _s5_ = "_root",
62003 _s13_ = "_endOfImports",
62004 modifiableNode = A.ModifiableCssImport$(node.url, node.span, node.media, node.supports);
62005 if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
62006 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
62007 else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
62008 _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
62009 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
62010 } else {
62011 t1 = _this._outOfOrderImports;
62012 (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
62013 }
62014 },
62015 visitCssKeyframeBlock$1(node) {
62016 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);
62017 },
62018 visitCssMediaRule$1(node) {
62019 var mergedQueries, t1, _this = this;
62020 if (_this._declarationName != null)
62021 throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
62022 mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
62023 t1 = mergedQueries == null;
62024 if (!t1 && J.get$isEmpty$asx(mergedQueries))
62025 return;
62026 t1 = t1 ? node.queries : mergedQueries;
62027 _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);
62028 },
62029 visitCssStyleRule$1(node) {
62030 var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
62031 _s8_ = "__parent";
62032 if (_this._declarationName != null)
62033 throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
62034 t1 = _this._atRootExcludingStyleRule;
62035 styleRule = t1 ? null : _this._styleRuleIgnoringAtRoot;
62036 t2 = node.selector;
62037 t3 = t2.value;
62038 t4 = styleRule == null;
62039 t5 = t4 ? null : styleRule.originalSelector;
62040 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
62041 rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._mediaQueries), node.span, originalSelector);
62042 oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
62043 _this._atRootExcludingStyleRule = false;
62044 _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);
62045 _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
62046 if (t4) {
62047 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
62048 t1 = !t1.get$isEmpty(t1);
62049 } else
62050 t1 = false;
62051 if (t1) {
62052 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
62053 t1.get$last(t1).isGroupEnd = true;
62054 }
62055 },
62056 visitCssStylesheet$1(node) {
62057 var t1;
62058 for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
62059 t1.get$current(t1).accept$1(this);
62060 },
62061 visitCssSupportsRule$1(node) {
62062 var _this = this;
62063 if (_this._declarationName != null)
62064 throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
62065 _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);
62066 },
62067 _handleReturn$1$2(list, callback) {
62068 var t1, _i, result;
62069 for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
62070 result = callback.call$1(list[_i]);
62071 if (result != null)
62072 return result;
62073 }
62074 return null;
62075 },
62076 _handleReturn$2(list, callback) {
62077 return this._handleReturn$1$2(list, callback, type$.dynamic);
62078 },
62079 _withEnvironment$1$2(environment, callback) {
62080 var result,
62081 oldEnvironment = this._environment;
62082 this._environment = environment;
62083 result = callback.call$0();
62084 this._environment = oldEnvironment;
62085 return result;
62086 },
62087 _withEnvironment$2(environment, callback) {
62088 return this._withEnvironment$1$2(environment, callback, type$.dynamic);
62089 },
62090 _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
62091 var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
62092 t1 = trim ? A.trimAscii(result, true) : result;
62093 return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
62094 },
62095 _interpolationToValue$1(interpolation) {
62096 return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
62097 },
62098 _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
62099 return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
62100 },
62101 _performInterpolation$2$warnForColor(interpolation, warnForColor) {
62102 var t1, result, _this = this,
62103 oldInSupportsDeclaration = _this._inSupportsDeclaration;
62104 _this._inSupportsDeclaration = false;
62105 t1 = interpolation.contents;
62106 result = new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure(_this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
62107 _this._inSupportsDeclaration = oldInSupportsDeclaration;
62108 return result;
62109 },
62110 _performInterpolation$1(interpolation) {
62111 return this._performInterpolation$2$warnForColor(interpolation, false);
62112 },
62113 _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
62114 return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
62115 },
62116 _evaluate$_serialize$2(value, nodeWithSpan) {
62117 return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
62118 },
62119 _expressionNode$1(expression) {
62120 var t1;
62121 if (expression instanceof A.VariableExpression) {
62122 t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
62123 return t1 == null ? expression : t1;
62124 } else
62125 return expression;
62126 },
62127 _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
62128 var t1, result, _this = this;
62129 _this._addChild$2$through(node, through);
62130 t1 = _this._assertInModule$2(_this.__parent, "__parent");
62131 _this.__parent = node;
62132 result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
62133 _this.__parent = t1;
62134 return result;
62135 },
62136 _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
62137 return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
62138 },
62139 _withParent$2$2(node, callback, $S, $T) {
62140 return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
62141 },
62142 _addChild$2$through(node, through) {
62143 var grandparent, t1,
62144 $parent = this._assertInModule$2(this.__parent, "__parent");
62145 if (through != null) {
62146 for (; through.call$1($parent); $parent = grandparent) {
62147 grandparent = $parent._parent;
62148 if (grandparent == null)
62149 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
62150 }
62151 if ($parent.get$hasFollowingSibling()) {
62152 t1 = $parent._parent;
62153 t1.toString;
62154 $parent = $parent.copyWithoutChildren$0();
62155 t1.addChild$1($parent);
62156 }
62157 }
62158 $parent.addChild$1(node);
62159 },
62160 _addChild$1(node) {
62161 return this._addChild$2$through(node, null);
62162 },
62163 _withStyleRule$1$2(rule, callback) {
62164 var result,
62165 oldRule = this._styleRuleIgnoringAtRoot;
62166 this._styleRuleIgnoringAtRoot = rule;
62167 result = callback.call$0();
62168 this._styleRuleIgnoringAtRoot = oldRule;
62169 return result;
62170 },
62171 _withStyleRule$2(rule, callback) {
62172 return this._withStyleRule$1$2(rule, callback, type$.dynamic);
62173 },
62174 _withMediaQueries$1$2(queries, callback) {
62175 var result,
62176 oldMediaQueries = this._mediaQueries;
62177 this._mediaQueries = queries;
62178 result = callback.call$0();
62179 this._mediaQueries = oldMediaQueries;
62180 return result;
62181 },
62182 _withMediaQueries$2(queries, callback) {
62183 return this._withMediaQueries$1$2(queries, callback, type$.dynamic);
62184 },
62185 _withStackFrame$1$3(member, nodeWithSpan, callback) {
62186 var oldMember, result, _this = this,
62187 t1 = _this._stack;
62188 t1.push(new A.Tuple2(_this._member, nodeWithSpan, type$.Tuple2_String_AstNode));
62189 oldMember = _this._member;
62190 _this._member = member;
62191 result = callback.call$0();
62192 _this._member = oldMember;
62193 t1.pop();
62194 return result;
62195 },
62196 _withStackFrame$3(member, nodeWithSpan, callback) {
62197 return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
62198 },
62199 _withoutSlash$2(value, nodeForSpan) {
62200 if (value instanceof A.SassNumber && value.asSlash != null)
62201 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);
62202 return value.withoutSlash$0();
62203 },
62204 _stackFrame$2(member, span) {
62205 return A.frameForSpan(span, member, A.NullableExtension_andThen(span.file.url, new A._EvaluateVisitor__stackFrame_closure(this)));
62206 },
62207 _evaluate$_stackTrace$1(span) {
62208 var _this = this,
62209 t1 = _this._stack;
62210 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);
62211 if (span != null)
62212 t1.push(_this._stackFrame$2(_this._member, span));
62213 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
62214 },
62215 _evaluate$_stackTrace$0() {
62216 return this._evaluate$_stackTrace$1(null);
62217 },
62218 _warn$3$deprecation(message, span, deprecation) {
62219 var t1, _this = this;
62220 if (_this._quietDeps)
62221 if (!_this._inDependency) {
62222 t1 = _this._currentCallable;
62223 t1 = t1 == null ? null : t1.inDependency;
62224 t1 = t1 === true;
62225 } else
62226 t1 = true;
62227 else
62228 t1 = false;
62229 if (t1)
62230 return;
62231 if (!_this._warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
62232 return;
62233 _this._evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate$_stackTrace$1(span));
62234 },
62235 _warn$2(message, span) {
62236 return this._warn$3$deprecation(message, span, false);
62237 },
62238 _evaluate$_exception$2(message, span) {
62239 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._stack).item2) : span;
62240 return new A.SassRuntimeException(this._evaluate$_stackTrace$1(span), message, t1);
62241 },
62242 _evaluate$_exception$1(message) {
62243 return this._evaluate$_exception$2(message, null);
62244 },
62245 _multiSpanException$3(message, primaryLabel, secondaryLabels) {
62246 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._stack).item2);
62247 return new A.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
62248 },
62249 _adjustParseError$1$2(nodeWithSpan, callback) {
62250 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
62251 try {
62252 t1 = callback.call$0();
62253 return t1;
62254 } catch (exception) {
62255 t1 = A.unwrapException(exception);
62256 if (t1 instanceof A.SassFormatException) {
62257 error = t1;
62258 stackTrace = A.getTraceFromException(exception);
62259 t1 = error;
62260 t2 = J.getInterceptor$z(t1);
62261 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
62262 span = nodeWithSpan.get$span(nodeWithSpan);
62263 t1 = span;
62264 t2 = span;
62265 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);
62266 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
62267 t1 = span;
62268 t1 = A.FileLocation$_(t1.file, t1._file$_start);
62269 t3 = error;
62270 t4 = J.getInterceptor$z(t3);
62271 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
62272 t3 = A.FileLocation$_(t3.file, t3._file$_start);
62273 t4 = span;
62274 t4 = A.FileLocation$_(t4.file, t4._file$_start);
62275 t5 = error;
62276 t6 = J.getInterceptor$z(t5);
62277 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
62278 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
62279 A.throwWithTrace(this._evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
62280 } else
62281 throw exception;
62282 }
62283 },
62284 _adjustParseError$2(nodeWithSpan, callback) {
62285 return this._adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
62286 },
62287 _addExceptionSpan$1$2(nodeWithSpan, callback) {
62288 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
62289 try {
62290 t1 = callback.call$0();
62291 return t1;
62292 } catch (exception) {
62293 t1 = A.unwrapException(exception);
62294 if (t1 instanceof A.MultiSpanSassScriptException) {
62295 error = t1;
62296 stackTrace = A.getTraceFromException(exception);
62297 t1 = error.message;
62298 t2 = nodeWithSpan.get$span(nodeWithSpan);
62299 t3 = error.primaryLabel;
62300 t4 = error.secondarySpans;
62301 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);
62302 } else if (t1 instanceof A.SassScriptException) {
62303 error0 = t1;
62304 stackTrace0 = A.getTraceFromException(exception);
62305 A.throwWithTrace(this._evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
62306 } else
62307 throw exception;
62308 }
62309 },
62310 _addExceptionSpan$2(nodeWithSpan, callback) {
62311 return this._addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
62312 },
62313 _addErrorSpan$1$2(nodeWithSpan, callback) {
62314 var error, stackTrace, t1, exception, t2;
62315 try {
62316 t1 = callback.call$0();
62317 return t1;
62318 } catch (exception) {
62319 t1 = A.unwrapException(exception);
62320 if (type$.SassRuntimeException._is(t1)) {
62321 error = t1;
62322 stackTrace = A.getTraceFromException(exception);
62323 t1 = J.get$span$z(error);
62324 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"))
62325 throw exception;
62326 t1 = error._span_exception$_message;
62327 t2 = nodeWithSpan.get$span(nodeWithSpan);
62328 A.throwWithTrace(new A.SassRuntimeException(this._evaluate$_stackTrace$0(), t1, t2), stackTrace);
62329 } else
62330 throw exception;
62331 }
62332 },
62333 _addErrorSpan$2(nodeWithSpan, callback) {
62334 return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
62335 }
62336 };
62337 A._EvaluateVisitor_closure.prototype = {
62338 call$1($arguments) {
62339 var module, t2,
62340 t1 = J.getInterceptor$asx($arguments),
62341 variable = t1.$index($arguments, 0).assertString$1("name");
62342 t1 = t1.$index($arguments, 1).get$realNull();
62343 module = t1 == null ? null : t1.assertString$1("module");
62344 t1 = this.$this._environment;
62345 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
62346 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
62347 },
62348 $signature: 20
62349 };
62350 A._EvaluateVisitor_closure0.prototype = {
62351 call$1($arguments) {
62352 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
62353 t1 = this.$this._environment;
62354 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
62355 },
62356 $signature: 20
62357 };
62358 A._EvaluateVisitor_closure1.prototype = {
62359 call$1($arguments) {
62360 var module, t2, t3, t4,
62361 t1 = J.getInterceptor$asx($arguments),
62362 variable = t1.$index($arguments, 0).assertString$1("name");
62363 t1 = t1.$index($arguments, 1).get$realNull();
62364 module = t1 == null ? null : t1.assertString$1("module");
62365 t1 = this.$this;
62366 t2 = t1._environment;
62367 t3 = variable._string$_text;
62368 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
62369 return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
62370 },
62371 $signature: 20
62372 };
62373 A._EvaluateVisitor_closure2.prototype = {
62374 call$1($arguments) {
62375 var module, t2,
62376 t1 = J.getInterceptor$asx($arguments),
62377 variable = t1.$index($arguments, 0).assertString$1("name");
62378 t1 = t1.$index($arguments, 1).get$realNull();
62379 module = t1 == null ? null : t1.assertString$1("module");
62380 t1 = this.$this._environment;
62381 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
62382 return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
62383 },
62384 $signature: 20
62385 };
62386 A._EvaluateVisitor_closure3.prototype = {
62387 call$1($arguments) {
62388 var t1 = this.$this._environment;
62389 if (!t1._inMixin)
62390 throw A.wrapException(A.SassScriptException$(string$.conten));
62391 return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
62392 },
62393 $signature: 20
62394 };
62395 A._EvaluateVisitor_closure4.prototype = {
62396 call$1($arguments) {
62397 var t2, t3, t4,
62398 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
62399 module = this.$this._environment._environment$_modules.$index(0, t1);
62400 if (module == null)
62401 throw A.wrapException('There is no module with namespace "' + t1 + '".');
62402 t1 = type$.Value;
62403 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
62404 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
62405 t4 = t3.get$current(t3);
62406 t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
62407 }
62408 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
62409 },
62410 $signature: 37
62411 };
62412 A._EvaluateVisitor_closure5.prototype = {
62413 call$1($arguments) {
62414 var t2, t3, t4,
62415 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
62416 module = this.$this._environment._environment$_modules.$index(0, t1);
62417 if (module == null)
62418 throw A.wrapException('There is no module with namespace "' + t1 + '".');
62419 t1 = type$.Value;
62420 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
62421 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
62422 t4 = t3.get$current(t3);
62423 t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
62424 }
62425 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
62426 },
62427 $signature: 37
62428 };
62429 A._EvaluateVisitor_closure6.prototype = {
62430 call$1($arguments) {
62431 var module, callable, t2,
62432 t1 = J.getInterceptor$asx($arguments),
62433 $name = t1.$index($arguments, 0).assertString$1("name"),
62434 css = t1.$index($arguments, 1).get$isTruthy();
62435 t1 = t1.$index($arguments, 2).get$realNull();
62436 module = t1 == null ? null : t1.assertString$1("module");
62437 if (css && module != null)
62438 throw A.wrapException(string$.x24css_a);
62439 if (css)
62440 callable = new A.PlainCssCallable($name._string$_text);
62441 else {
62442 t1 = this.$this;
62443 t2 = t1._callableNode;
62444 t2.toString;
62445 callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
62446 }
62447 if (callable != null)
62448 return new A.SassFunction(callable);
62449 throw A.wrapException("Function not found: " + $name.toString$0(0));
62450 },
62451 $signature: 216
62452 };
62453 A._EvaluateVisitor__closure1.prototype = {
62454 call$0() {
62455 var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
62456 t2 = this.module;
62457 t2 = t2 == null ? null : t2._string$_text;
62458 return this.$this._getFunction$2$namespace(t1, t2);
62459 },
62460 $signature: 112
62461 };
62462 A._EvaluateVisitor_closure7.prototype = {
62463 call$1($arguments) {
62464 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
62465 t1 = J.getInterceptor$asx($arguments),
62466 $function = t1.$index($arguments, 0),
62467 args = type$.SassArgumentList._as(t1.$index($arguments, 1));
62468 t1 = this.$this;
62469 t2 = t1._callableNode;
62470 t2.toString;
62471 t3 = A._setArrayType([], type$.JSArray_Expression);
62472 t4 = type$.String;
62473 t5 = type$.Expression;
62474 t6 = t2.get$span(t2);
62475 t7 = t2.get$span(t2);
62476 args._wereKeywordsAccessed = true;
62477 t8 = args._keywords;
62478 if (t8.get$isEmpty(t8))
62479 t2 = null;
62480 else {
62481 t9 = type$.Value;
62482 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
62483 for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
62484 t11 = t8.get$current(t8);
62485 t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
62486 }
62487 t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
62488 }
62489 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);
62490 if ($function instanceof A.SassString) {
62491 t2 = string$.Passin + $function.toString$0(0) + "))";
62492 A.EvaluationContext_current().warn$2$deprecation(0, t2, true);
62493 callableNode = t1._callableNode;
62494 return t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode)));
62495 }
62496 callable = $function.assertFunction$1("function").callable;
62497 if (type$.Callable._is(callable)) {
62498 t2 = t1._callableNode;
62499 t2.toString;
62500 return t1._runFunctionCallable$3(invocation, callable, t2);
62501 } else
62502 throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as));
62503 },
62504 $signature: 4
62505 };
62506 A._EvaluateVisitor_closure8.prototype = {
62507 call$1($arguments) {
62508 var withMap, t2, values, configuration,
62509 t1 = J.getInterceptor$asx($arguments),
62510 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
62511 t1 = t1.$index($arguments, 1).get$realNull();
62512 withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
62513 t1 = this.$this;
62514 t2 = t1._callableNode;
62515 t2.toString;
62516 if (withMap != null) {
62517 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
62518 withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
62519 configuration = new A.ExplicitConfiguration(t2, values);
62520 } else
62521 configuration = B.Configuration_Map_empty;
62522 t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t2.get$span(t2).file.url, configuration, true);
62523 t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
62524 },
62525 $signature: 595
62526 };
62527 A._EvaluateVisitor__closure.prototype = {
62528 call$2(variable, value) {
62529 var t1 = variable.assertString$1("with key"),
62530 $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
62531 t1 = this.values;
62532 if (t1.containsKey$1($name))
62533 throw A.wrapException("The variable $" + $name + " was configured twice.");
62534 t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
62535 },
62536 $signature: 59
62537 };
62538 A._EvaluateVisitor__closure0.prototype = {
62539 call$1(module) {
62540 var t1 = this.$this;
62541 return t1._combineCss$2$clone(module, true).accept$1(t1);
62542 },
62543 $signature: 69
62544 };
62545 A._EvaluateVisitor_run_closure.prototype = {
62546 call$0() {
62547 var t2, _this = this,
62548 t1 = _this.node,
62549 url = t1.span.file.url;
62550 if (url != null) {
62551 t2 = _this.$this;
62552 t2._activeModules.$indexSet(0, url, null);
62553 t2._loadedUrls.add$1(0, url);
62554 }
62555 t2 = _this.$this;
62556 return new A.EvaluateResult(t2._combineCss$1(t2._execute$2(_this.importer, t1)));
62557 },
62558 $signature: 262
62559 };
62560 A._EvaluateVisitor_runExpression_closure.prototype = {
62561 call$0() {
62562 var t1 = this.$this,
62563 t2 = this.expression;
62564 return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
62565 },
62566 $signature: 35
62567 };
62568 A._EvaluateVisitor_runExpression__closure.prototype = {
62569 call$0() {
62570 return this.expression.accept$1(this.$this);
62571 },
62572 $signature: 35
62573 };
62574 A._EvaluateVisitor_runStatement_closure.prototype = {
62575 call$0() {
62576 var t1 = this.$this,
62577 t2 = this.statement;
62578 return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
62579 },
62580 $signature: 0
62581 };
62582 A._EvaluateVisitor_runStatement__closure.prototype = {
62583 call$0() {
62584 return this.statement.accept$1(this.$this);
62585 },
62586 $signature: 0
62587 };
62588 A._EvaluateVisitor__loadModule_closure.prototype = {
62589 call$0() {
62590 return this.callback.call$1(this.builtInModule);
62591 },
62592 $signature: 0
62593 };
62594 A._EvaluateVisitor__loadModule_closure0.prototype = {
62595 call$0() {
62596 var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, _this = this,
62597 t1 = _this.$this,
62598 t2 = _this.nodeWithSpan,
62599 result = t1._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
62600 stylesheet = result.stylesheet,
62601 canonicalUrl = stylesheet.span.file.url;
62602 if (canonicalUrl != null && t1._activeModules.containsKey$1(canonicalUrl)) {
62603 message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
62604 t2 = A.NullableExtension_andThen(t1._activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t1, message));
62605 throw A.wrapException(t2 == null ? t1._evaluate$_exception$1(message) : t2);
62606 }
62607 if (canonicalUrl != null)
62608 t1._activeModules.$indexSet(0, canonicalUrl, t2);
62609 oldInDependency = t1._inDependency;
62610 t1._inDependency = result.isDependency;
62611 module = null;
62612 try {
62613 module = t1._execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
62614 } finally {
62615 t1._activeModules.remove$1(0, canonicalUrl);
62616 t1._inDependency = oldInDependency;
62617 }
62618 try {
62619 _this.callback.call$1(module);
62620 } catch (exception) {
62621 t2 = A.unwrapException(exception);
62622 if (type$.SassRuntimeException._is(t2))
62623 throw exception;
62624 else if (t2 instanceof A.MultiSpanSassException) {
62625 error = t2;
62626 stackTrace = A.getTraceFromException(exception);
62627 t2 = error._span_exception$_message;
62628 t3 = error;
62629 t4 = J.getInterceptor$z(t3);
62630 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
62631 t4 = error.primaryLabel;
62632 t5 = error.secondarySpans;
62633 t6 = error;
62634 t7 = J.getInterceptor$z(t6);
62635 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);
62636 } else if (t2 instanceof A.SassException) {
62637 error0 = t2;
62638 stackTrace0 = A.getTraceFromException(exception);
62639 t2 = error0;
62640 t3 = J.getInterceptor$z(t2);
62641 A.throwWithTrace(t1._evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
62642 } else if (t2 instanceof A.MultiSpanSassScriptException) {
62643 error1 = t2;
62644 stackTrace1 = A.getTraceFromException(exception);
62645 A.throwWithTrace(t1._multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
62646 } else if (t2 instanceof A.SassScriptException) {
62647 error2 = t2;
62648 stackTrace2 = A.getTraceFromException(exception);
62649 A.throwWithTrace(t1._evaluate$_exception$1(error2.message), stackTrace2);
62650 } else
62651 throw exception;
62652 }
62653 },
62654 $signature: 1
62655 };
62656 A._EvaluateVisitor__loadModule__closure.prototype = {
62657 call$1(previousLoad) {
62658 return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
62659 },
62660 $signature: 79
62661 };
62662 A._EvaluateVisitor__execute_closure.prototype = {
62663 call$0() {
62664 var t3, t4, t5, t6, _this = this,
62665 t1 = _this.$this,
62666 oldImporter = t1._importer,
62667 oldStylesheet = t1.__stylesheet,
62668 oldRoot = t1.__root,
62669 oldParent = t1.__parent,
62670 oldEndOfImports = t1.__endOfImports,
62671 oldOutOfOrderImports = t1._outOfOrderImports,
62672 oldExtensionStore = t1.__extensionStore,
62673 t2 = t1._atRootExcludingStyleRule,
62674 oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
62675 oldMediaQueries = t1._mediaQueries,
62676 oldDeclarationName = t1._declarationName,
62677 oldInUnknownAtRule = t1._inUnknownAtRule,
62678 oldInKeyframes = t1._inKeyframes,
62679 oldConfiguration = t1._configuration;
62680 t1._importer = _this.importer;
62681 t3 = t1.__stylesheet = _this.stylesheet;
62682 t4 = t3.span;
62683 t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
62684 t1.__endOfImports = 0;
62685 t1._outOfOrderImports = null;
62686 t1.__extensionStore = _this.extensionStore;
62687 t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
62688 t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
62689 t6 = _this.configuration;
62690 if (t6 != null)
62691 t1._configuration = t6;
62692 t1.visitStylesheet$1(t3);
62693 t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
62694 _this.css._value = t3;
62695 t1._importer = oldImporter;
62696 t1.__stylesheet = oldStylesheet;
62697 t1.__root = oldRoot;
62698 t1.__parent = oldParent;
62699 t1.__endOfImports = oldEndOfImports;
62700 t1._outOfOrderImports = oldOutOfOrderImports;
62701 t1.__extensionStore = oldExtensionStore;
62702 t1._styleRuleIgnoringAtRoot = oldStyleRule;
62703 t1._mediaQueries = oldMediaQueries;
62704 t1._declarationName = oldDeclarationName;
62705 t1._inUnknownAtRule = oldInUnknownAtRule;
62706 t1._atRootExcludingStyleRule = t2;
62707 t1._inKeyframes = oldInKeyframes;
62708 t1._configuration = oldConfiguration;
62709 },
62710 $signature: 1
62711 };
62712 A._EvaluateVisitor__combineCss_closure.prototype = {
62713 call$1(module) {
62714 return module.get$transitivelyContainsCss();
62715 },
62716 $signature: 122
62717 };
62718 A._EvaluateVisitor__combineCss_closure0.prototype = {
62719 call$1(target) {
62720 return !this.selectors.contains$1(0, target);
62721 },
62722 $signature: 16
62723 };
62724 A._EvaluateVisitor__combineCss_closure1.prototype = {
62725 call$1(module) {
62726 return module.cloneCss$0();
62727 },
62728 $signature: 263
62729 };
62730 A._EvaluateVisitor__extendModules_closure.prototype = {
62731 call$1(target) {
62732 return !this.originalSelectors.contains$1(0, target);
62733 },
62734 $signature: 16
62735 };
62736 A._EvaluateVisitor__extendModules_closure0.prototype = {
62737 call$0() {
62738 return A._setArrayType([], type$.JSArray_ExtensionStore);
62739 },
62740 $signature: 209
62741 };
62742 A._EvaluateVisitor__topologicalModules_visitModule.prototype = {
62743 call$1(module) {
62744 var t1, t2, t3, _i, upstream;
62745 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
62746 upstream = t1[_i];
62747 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
62748 this.call$1(upstream);
62749 }
62750 this.sorted.addFirst$1(module);
62751 },
62752 $signature: 69
62753 };
62754 A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
62755 call$0() {
62756 var t1 = A.SpanScanner$(this.resolved, null);
62757 return new A.AtRootQueryParser(t1, this.$this._evaluate$_logger).parse$0();
62758 },
62759 $signature: 142
62760 };
62761 A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
62762 call$0() {
62763 var t1, t2, t3, _i;
62764 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62765 t1[_i].accept$1(t3);
62766 },
62767 $signature: 1
62768 };
62769 A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
62770 call$0() {
62771 var t1, t2, t3, _i;
62772 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62773 t1[_i].accept$1(t3);
62774 },
62775 $signature: 0
62776 };
62777 A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
62778 call$1(callback) {
62779 var t1 = this.$this,
62780 t2 = t1._assertInModule$2(t1.__parent, "__parent");
62781 t1.__parent = this.newParent;
62782 t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
62783 t1.__parent = t2;
62784 },
62785 $signature: 26
62786 };
62787 A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
62788 call$1(callback) {
62789 var t1 = this.$this,
62790 oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
62791 t1._atRootExcludingStyleRule = true;
62792 this.innerScope.call$1(callback);
62793 t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
62794 },
62795 $signature: 26
62796 };
62797 A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
62798 call$1(callback) {
62799 return this.$this._withMediaQueries$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
62800 },
62801 $signature: 26
62802 };
62803 A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
62804 call$0() {
62805 return this.innerScope.call$1(this.callback);
62806 },
62807 $signature: 1
62808 };
62809 A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
62810 call$1(callback) {
62811 var t1 = this.$this,
62812 wasInKeyframes = t1._inKeyframes;
62813 t1._inKeyframes = false;
62814 this.innerScope.call$1(callback);
62815 t1._inKeyframes = wasInKeyframes;
62816 },
62817 $signature: 26
62818 };
62819 A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
62820 call$1($parent) {
62821 return type$.CssAtRule._is($parent);
62822 },
62823 $signature: 205
62824 };
62825 A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
62826 call$1(callback) {
62827 var t1 = this.$this,
62828 wasInUnknownAtRule = t1._inUnknownAtRule;
62829 t1._inUnknownAtRule = false;
62830 this.innerScope.call$1(callback);
62831 t1._inUnknownAtRule = wasInUnknownAtRule;
62832 },
62833 $signature: 26
62834 };
62835 A._EvaluateVisitor_visitContentRule_closure.prototype = {
62836 call$0() {
62837 var t1, t2, t3, _i;
62838 for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62839 t1[_i].accept$1(t3);
62840 return null;
62841 },
62842 $signature: 1
62843 };
62844 A._EvaluateVisitor_visitDeclaration_closure.prototype = {
62845 call$1(value) {
62846 return new A.CssValue(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value);
62847 },
62848 $signature: 264
62849 };
62850 A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
62851 call$0() {
62852 var t1, t2, t3, _i;
62853 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62854 t1[_i].accept$1(t3);
62855 },
62856 $signature: 1
62857 };
62858 A._EvaluateVisitor_visitEachRule_closure.prototype = {
62859 call$1(value) {
62860 var t1 = this.$this,
62861 t2 = this.nodeWithSpan;
62862 return t1._environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._withoutSlash$2(value, t2), t2);
62863 },
62864 $signature: 53
62865 };
62866 A._EvaluateVisitor_visitEachRule_closure0.prototype = {
62867 call$1(value) {
62868 return this.$this._setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
62869 },
62870 $signature: 53
62871 };
62872 A._EvaluateVisitor_visitEachRule_closure1.prototype = {
62873 call$0() {
62874 var _this = this,
62875 t1 = _this.$this;
62876 return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
62877 },
62878 $signature: 36
62879 };
62880 A._EvaluateVisitor_visitEachRule__closure.prototype = {
62881 call$1(element) {
62882 var t1;
62883 this.setVariables.call$1(element);
62884 t1 = this.$this;
62885 return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
62886 },
62887 $signature: 265
62888 };
62889 A._EvaluateVisitor_visitEachRule___closure.prototype = {
62890 call$1(child) {
62891 return child.accept$1(this.$this);
62892 },
62893 $signature: 85
62894 };
62895 A._EvaluateVisitor_visitExtendRule_closure.prototype = {
62896 call$0() {
62897 return A.SelectorList_SelectorList$parse(A.trimAscii(this.targetText.value, true), false, true, this.$this._evaluate$_logger);
62898 },
62899 $signature: 48
62900 };
62901 A._EvaluateVisitor_visitAtRule_closure.prototype = {
62902 call$1(value) {
62903 return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
62904 },
62905 $signature: 267
62906 };
62907 A._EvaluateVisitor_visitAtRule_closure0.prototype = {
62908 call$0() {
62909 var t2, t3, _i,
62910 t1 = this.$this,
62911 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62912 if (styleRule == null || t1._inKeyframes)
62913 for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62914 t2[_i].accept$1(t1);
62915 else
62916 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);
62917 },
62918 $signature: 1
62919 };
62920 A._EvaluateVisitor_visitAtRule__closure.prototype = {
62921 call$0() {
62922 var t1, t2, t3, _i;
62923 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62924 t1[_i].accept$1(t3);
62925 },
62926 $signature: 1
62927 };
62928 A._EvaluateVisitor_visitAtRule_closure1.prototype = {
62929 call$1(node) {
62930 return type$.CssStyleRule._is(node);
62931 },
62932 $signature: 8
62933 };
62934 A._EvaluateVisitor_visitForRule_closure.prototype = {
62935 call$0() {
62936 return this.node.from.accept$1(this.$this).assertNumber$0();
62937 },
62938 $signature: 154
62939 };
62940 A._EvaluateVisitor_visitForRule_closure0.prototype = {
62941 call$0() {
62942 return this.node.to.accept$1(this.$this).assertNumber$0();
62943 },
62944 $signature: 154
62945 };
62946 A._EvaluateVisitor_visitForRule_closure1.prototype = {
62947 call$0() {
62948 return this.fromNumber.assertInt$0();
62949 },
62950 $signature: 12
62951 };
62952 A._EvaluateVisitor_visitForRule_closure2.prototype = {
62953 call$0() {
62954 var t1 = this.fromNumber;
62955 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
62956 },
62957 $signature: 12
62958 };
62959 A._EvaluateVisitor_visitForRule_closure3.prototype = {
62960 call$0() {
62961 var i, t3, t4, t5, t6, t7, t8, result, _this = this,
62962 t1 = _this.$this,
62963 t2 = _this.node,
62964 nodeWithSpan = t1._expressionNode$1(t2.from);
62965 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) {
62966 t7 = t1._environment;
62967 t8 = t6.get$numeratorUnits(t6);
62968 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
62969 result = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
62970 if (result != null)
62971 return result;
62972 }
62973 return null;
62974 },
62975 $signature: 36
62976 };
62977 A._EvaluateVisitor_visitForRule__closure.prototype = {
62978 call$1(child) {
62979 return child.accept$1(this.$this);
62980 },
62981 $signature: 85
62982 };
62983 A._EvaluateVisitor_visitForwardRule_closure.prototype = {
62984 call$1(module) {
62985 this.$this._environment.forwardModule$2(module, this.node);
62986 },
62987 $signature: 69
62988 };
62989 A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
62990 call$1(module) {
62991 this.$this._environment.forwardModule$2(module, this.node);
62992 },
62993 $signature: 69
62994 };
62995 A._EvaluateVisitor_visitIfRule_closure.prototype = {
62996 call$0() {
62997 var t1 = this.$this;
62998 return t1._handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure(t1));
62999 },
63000 $signature: 36
63001 };
63002 A._EvaluateVisitor_visitIfRule__closure.prototype = {
63003 call$1(child) {
63004 return child.accept$1(this.$this);
63005 },
63006 $signature: 85
63007 };
63008 A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
63009 call$0() {
63010 var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
63011 t1 = this.$this,
63012 t2 = this.$import,
63013 result = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true),
63014 stylesheet = result.stylesheet,
63015 url = stylesheet.span.file.url;
63016 if (url != null) {
63017 t3 = t1._activeModules;
63018 if (t3.containsKey$1(url)) {
63019 t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
63020 throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
63021 }
63022 t3.$indexSet(0, url, t2);
63023 }
63024 t2 = stylesheet._uses;
63025 t3 = type$.UnmodifiableListView_UseRule;
63026 t4 = new A.UnmodifiableListView(t2, t3);
63027 if (t4.get$length(t4) === 0) {
63028 t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
63029 t4 = t4.get$length(t4) === 0;
63030 } else
63031 t4 = false;
63032 if (t4) {
63033 oldImporter = t1._importer;
63034 t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
63035 oldInDependency = t1._inDependency;
63036 t1._importer = result.importer;
63037 t1.__stylesheet = stylesheet;
63038 t1._inDependency = result.isDependency;
63039 t1.visitStylesheet$1(stylesheet);
63040 t1._importer = oldImporter;
63041 t1.__stylesheet = t2;
63042 t1._inDependency = oldInDependency;
63043 t1._activeModules.remove$1(0, url);
63044 return;
63045 }
63046 t2 = new A.UnmodifiableListView(t2, t3);
63047 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
63048 t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
63049 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
63050 } else
63051 loadsUserDefinedModules = true;
63052 children = A._Cell$();
63053 t2 = t1._environment;
63054 t3 = type$.String;
63055 t4 = type$.Module_Callable;
63056 t5 = type$.AstNode;
63057 t6 = A._setArrayType([], type$.JSArray_Module_Callable);
63058 t7 = t2._variables;
63059 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
63060 t8 = t2._variableNodes;
63061 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
63062 t9 = t2._functions;
63063 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
63064 t10 = t2._mixins;
63065 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
63066 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);
63067 t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
63068 module = environment.toDummyModule$0();
63069 t1._environment.importForwards$1(module);
63070 if (loadsUserDefinedModules) {
63071 if (module.transitivelyContainsCss)
63072 t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
63073 visitor = new A._ImportedCssVisitor(t1);
63074 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
63075 t2.get$current(t2).accept$1(visitor);
63076 }
63077 t1._activeModules.remove$1(0, url);
63078 },
63079 $signature: 0
63080 };
63081 A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
63082 call$1(previousLoad) {
63083 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));
63084 },
63085 $signature: 79
63086 };
63087 A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
63088 call$1(rule) {
63089 return rule.url.get$scheme() !== "sass";
63090 },
63091 $signature: 198
63092 };
63093 A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
63094 call$1(rule) {
63095 return rule.url.get$scheme() !== "sass";
63096 },
63097 $signature: 195
63098 };
63099 A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
63100 call$0() {
63101 var t7, t8, t9, _this = this,
63102 t1 = _this.$this,
63103 oldImporter = t1._importer,
63104 t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
63105 t3 = t1._assertInModule$2(t1.__root, "_root"),
63106 t4 = t1._assertInModule$2(t1.__parent, "__parent"),
63107 t5 = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
63108 oldOutOfOrderImports = t1._outOfOrderImports,
63109 oldConfiguration = t1._configuration,
63110 oldInDependency = t1._inDependency,
63111 t6 = _this.result;
63112 t1._importer = t6.importer;
63113 t7 = t1.__stylesheet = _this.stylesheet;
63114 t8 = _this.loadsUserDefinedModules;
63115 if (t8) {
63116 t9 = A.ModifiableCssStylesheet$(t7.span);
63117 t1.__root = t9;
63118 t1.__parent = t1._assertInModule$2(t9, "_root");
63119 t1.__endOfImports = 0;
63120 t1._outOfOrderImports = null;
63121 }
63122 t1._inDependency = t6.isDependency;
63123 t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
63124 if (!t6.get$isEmpty(t6))
63125 t1._configuration = _this.environment.toImplicitConfiguration$0();
63126 t1.visitStylesheet$1(t7);
63127 t6 = t8 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
63128 _this.children._value = t6;
63129 t1._importer = oldImporter;
63130 t1.__stylesheet = t2;
63131 if (t8) {
63132 t1.__root = t3;
63133 t1.__parent = t4;
63134 t1.__endOfImports = t5;
63135 t1._outOfOrderImports = oldOutOfOrderImports;
63136 }
63137 t1._configuration = oldConfiguration;
63138 t1._inDependency = oldInDependency;
63139 },
63140 $signature: 1
63141 };
63142 A._EvaluateVisitor__visitStaticImport_closure.prototype = {
63143 call$1(supports) {
63144 var t2, t3, arg,
63145 t1 = this.$this;
63146 if (supports instanceof A.SupportsDeclaration) {
63147 t2 = supports.name;
63148 t2 = t1._evaluate$_serialize$3$quote(t2.accept$1(t1), t2, true) + ":";
63149 t3 = supports.value;
63150 arg = t2 + (supports.get$isCustomProperty() ? "" : " ") + t1._evaluate$_serialize$3$quote(t3.accept$1(t1), t3, true);
63151 } else
63152 arg = A.NullableExtension_andThen(supports, t1.get$_visitSupportsCondition());
63153 return new A.CssValue("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String);
63154 },
63155 $signature: 269
63156 };
63157 A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
63158 call$0() {
63159 var t1 = this.node;
63160 return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
63161 },
63162 $signature: 112
63163 };
63164 A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
63165 call$0() {
63166 return this.node.get$spanWithoutContent();
63167 },
63168 $signature: 31
63169 };
63170 A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
63171 call$1($content) {
63172 var t1 = this.$this;
63173 return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
63174 },
63175 $signature: 270
63176 };
63177 A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
63178 call$0() {
63179 var _this = this,
63180 t1 = _this.$this,
63181 t2 = t1._environment,
63182 oldContent = t2._content;
63183 t2._content = _this.contentCallable;
63184 new A._EvaluateVisitor_visitIncludeRule__closure(t1, _this.mixin, _this.nodeWithSpan).call$0();
63185 t2._content = oldContent;
63186 },
63187 $signature: 1
63188 };
63189 A._EvaluateVisitor_visitIncludeRule__closure.prototype = {
63190 call$0() {
63191 var t1 = this.$this,
63192 t2 = t1._environment,
63193 oldInMixin = t2._inMixin;
63194 t2._inMixin = true;
63195 new A._EvaluateVisitor_visitIncludeRule___closure(t1, this.mixin, this.nodeWithSpan).call$0();
63196 t2._inMixin = oldInMixin;
63197 },
63198 $signature: 0
63199 };
63200 A._EvaluateVisitor_visitIncludeRule___closure.prototype = {
63201 call$0() {
63202 var t1, t2, t3, t4, _i;
63203 for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
63204 t3._addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure(t3, t1[_i]));
63205 },
63206 $signature: 0
63207 };
63208 A._EvaluateVisitor_visitIncludeRule____closure.prototype = {
63209 call$0() {
63210 return this.statement.accept$1(this.$this);
63211 },
63212 $signature: 36
63213 };
63214 A._EvaluateVisitor_visitMediaRule_closure.prototype = {
63215 call$1(mediaQueries) {
63216 return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
63217 },
63218 $signature: 82
63219 };
63220 A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
63221 call$0() {
63222 var _this = this,
63223 t1 = _this.$this,
63224 t2 = _this.mergedQueries;
63225 if (t2 == null)
63226 t2 = _this.queries;
63227 t1._withMediaQueries$2(t2, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
63228 },
63229 $signature: 1
63230 };
63231 A._EvaluateVisitor_visitMediaRule__closure.prototype = {
63232 call$0() {
63233 var t2, t3, _i,
63234 t1 = this.$this,
63235 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
63236 if (styleRule == null)
63237 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
63238 t2[_i].accept$1(t1);
63239 else
63240 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);
63241 },
63242 $signature: 1
63243 };
63244 A._EvaluateVisitor_visitMediaRule___closure.prototype = {
63245 call$0() {
63246 var t1, t2, t3, _i;
63247 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
63248 t1[_i].accept$1(t3);
63249 },
63250 $signature: 1
63251 };
63252 A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
63253 call$1(node) {
63254 var t1;
63255 if (!type$.CssStyleRule._is(node))
63256 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
63257 else
63258 t1 = true;
63259 return t1;
63260 },
63261 $signature: 8
63262 };
63263 A._EvaluateVisitor__visitMediaQueries_closure.prototype = {
63264 call$0() {
63265 var t1 = A.SpanScanner$(this.resolved, null);
63266 return new A.MediaQueryParser(t1, this.$this._evaluate$_logger).parse$0();
63267 },
63268 $signature: 129
63269 };
63270 A._EvaluateVisitor_visitStyleRule_closure.prototype = {
63271 call$0() {
63272 return A.KeyframeSelectorParser$(this.selectorText.value, this.$this._evaluate$_logger).parse$0();
63273 },
63274 $signature: 49
63275 };
63276 A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
63277 call$0() {
63278 var t1, t2, t3, _i;
63279 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
63280 t1[_i].accept$1(t3);
63281 },
63282 $signature: 1
63283 };
63284 A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
63285 call$1(node) {
63286 return type$.CssStyleRule._is(node);
63287 },
63288 $signature: 8
63289 };
63290 A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
63291 call$0() {
63292 var _s11_ = "_stylesheet",
63293 t1 = this.$this;
63294 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);
63295 },
63296 $signature: 48
63297 };
63298 A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
63299 call$0() {
63300 var t1 = this._box_0.parsedSelector,
63301 t2 = this.$this,
63302 t3 = t2._styleRuleIgnoringAtRoot;
63303 t3 = t3 == null ? null : t3.originalSelector;
63304 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._atRootExcludingStyleRule);
63305 },
63306 $signature: 48
63307 };
63308 A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
63309 call$0() {
63310 var t1 = this.$this;
63311 t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
63312 },
63313 $signature: 1
63314 };
63315 A._EvaluateVisitor_visitStyleRule__closure.prototype = {
63316 call$0() {
63317 var t1, t2, t3, _i;
63318 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
63319 t1[_i].accept$1(t3);
63320 },
63321 $signature: 1
63322 };
63323 A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
63324 call$1(node) {
63325 return type$.CssStyleRule._is(node);
63326 },
63327 $signature: 8
63328 };
63329 A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
63330 call$0() {
63331 var t2, t3, _i,
63332 t1 = this.$this,
63333 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
63334 if (styleRule == null)
63335 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
63336 t2[_i].accept$1(t1);
63337 else
63338 t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
63339 },
63340 $signature: 1
63341 };
63342 A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
63343 call$0() {
63344 var t1, t2, t3, _i;
63345 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
63346 t1[_i].accept$1(t3);
63347 },
63348 $signature: 1
63349 };
63350 A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
63351 call$1(node) {
63352 return type$.CssStyleRule._is(node);
63353 },
63354 $signature: 8
63355 };
63356 A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
63357 call$0() {
63358 var t1 = this.override;
63359 this.$this._environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
63360 },
63361 $signature: 1
63362 };
63363 A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
63364 call$0() {
63365 var t1 = this.node;
63366 return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
63367 },
63368 $signature: 36
63369 };
63370 A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
63371 call$0() {
63372 var t1 = this.$this,
63373 t2 = this.node;
63374 t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
63375 },
63376 $signature: 1
63377 };
63378 A._EvaluateVisitor_visitUseRule_closure.prototype = {
63379 call$1(module) {
63380 var t1 = this.node;
63381 this.$this._environment.addModule$3$namespace(module, t1, t1.namespace);
63382 },
63383 $signature: 69
63384 };
63385 A._EvaluateVisitor_visitWarnRule_closure.prototype = {
63386 call$0() {
63387 return this.node.expression.accept$1(this.$this);
63388 },
63389 $signature: 35
63390 };
63391 A._EvaluateVisitor_visitWhileRule_closure.prototype = {
63392 call$0() {
63393 var t1, t2, t3, result;
63394 for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
63395 result = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
63396 if (result != null)
63397 return result;
63398 }
63399 return null;
63400 },
63401 $signature: 36
63402 };
63403 A._EvaluateVisitor_visitWhileRule__closure.prototype = {
63404 call$1(child) {
63405 return child.accept$1(this.$this);
63406 },
63407 $signature: 85
63408 };
63409 A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
63410 call$0() {
63411 var right, result,
63412 t1 = this.node,
63413 t2 = this.$this,
63414 left = t1.left.accept$1(t2),
63415 t3 = t1.operator;
63416 switch (t3) {
63417 case B.BinaryOperator_kjl:
63418 right = t1.right.accept$1(t2);
63419 return new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
63420 case B.BinaryOperator_or_or_1:
63421 return left.get$isTruthy() ? left : t1.right.accept$1(t2);
63422 case B.BinaryOperator_and_and_2:
63423 return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
63424 case B.BinaryOperator_YlX:
63425 return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
63426 case B.BinaryOperator_i5H:
63427 return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
63428 case B.BinaryOperator_AcR:
63429 return left.greaterThan$1(t1.right.accept$1(t2));
63430 case B.BinaryOperator_1da:
63431 return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
63432 case B.BinaryOperator_8qt:
63433 return left.lessThan$1(t1.right.accept$1(t2));
63434 case B.BinaryOperator_33h:
63435 return left.lessThanOrEquals$1(t1.right.accept$1(t2));
63436 case B.BinaryOperator_AcR0:
63437 return left.plus$1(t1.right.accept$1(t2));
63438 case B.BinaryOperator_iyO:
63439 return left.minus$1(t1.right.accept$1(t2));
63440 case B.BinaryOperator_O1M:
63441 return left.times$1(t1.right.accept$1(t2));
63442 case B.BinaryOperator_RTB:
63443 right = t1.right.accept$1(t2);
63444 result = left.dividedBy$1(right);
63445 if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber)
63446 return type$.SassNumber._as(result).withSlash$2(left, right);
63447 else {
63448 if (left instanceof A.SassNumber && right instanceof A.SassNumber)
63449 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);
63450 return result;
63451 }
63452 case B.BinaryOperator_2ad:
63453 return left.modulo$1(t1.right.accept$1(t2));
63454 default:
63455 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
63456 }
63457 },
63458 $signature: 35
63459 };
63460 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation.prototype = {
63461 call$1(expression) {
63462 if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_RTB)
63463 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
63464 else if (expression instanceof A.ParenthesizedExpression)
63465 return expression.expression.toString$0(0);
63466 else
63467 return expression.toString$0(0);
63468 },
63469 $signature: 136
63470 };
63471 A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
63472 call$0() {
63473 var t1 = this.node;
63474 return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
63475 },
63476 $signature: 36
63477 };
63478 A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
63479 call$0() {
63480 var _this = this,
63481 t1 = _this.node.operator;
63482 switch (t1) {
63483 case B.UnaryOperator_j2w:
63484 return _this.operand.unaryPlus$0();
63485 case B.UnaryOperator_U4G:
63486 return _this.operand.unaryMinus$0();
63487 case B.UnaryOperator_zDx:
63488 return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
63489 case B.UnaryOperator_not_not:
63490 return _this.operand.unaryNot$0();
63491 default:
63492 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
63493 }
63494 },
63495 $signature: 35
63496 };
63497 A._EvaluateVisitor__visitCalculationValue_closure.prototype = {
63498 call$0() {
63499 var t1 = this.$this,
63500 t2 = this.node,
63501 t3 = this.inMinMax;
63502 return A.SassCalculation_operateInternal(t1._binaryOperatorToCalculationOperator$1(t2.operator), t1._visitCalculationValue$2$inMinMax(t2.left, t3), t1._visitCalculationValue$2$inMinMax(t2.right, t3), t3, !t1._inSupportsDeclaration);
63503 },
63504 $signature: 86
63505 };
63506 A._EvaluateVisitor_visitListExpression_closure.prototype = {
63507 call$1(expression) {
63508 return expression.accept$1(this.$this);
63509 },
63510 $signature: 272
63511 };
63512 A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
63513 call$0() {
63514 var t1 = this.node;
63515 return this.$this._getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
63516 },
63517 $signature: 112
63518 };
63519 A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
63520 call$0() {
63521 var t1 = this.node;
63522 return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
63523 },
63524 $signature: 35
63525 };
63526 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
63527 call$0() {
63528 var t1 = this.node;
63529 return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
63530 },
63531 $signature: 35
63532 };
63533 A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
63534 call$0() {
63535 var _this = this,
63536 t1 = _this.$this,
63537 t2 = _this.callable;
63538 return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
63539 },
63540 $signature() {
63541 return this.V._eval$1("0()");
63542 }
63543 };
63544 A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
63545 call$0() {
63546 var _this = this,
63547 t1 = _this.$this,
63548 t2 = _this.V;
63549 return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
63550 },
63551 $signature() {
63552 return this.V._eval$1("0()");
63553 }
63554 };
63555 A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
63556 call$0() {
63557 var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, argumentWord, argumentNames, _this = this,
63558 t1 = _this.$this,
63559 t2 = _this.evaluated,
63560 t3 = t2.positional,
63561 t4 = t2.named,
63562 t5 = _this.callable.declaration.$arguments,
63563 t6 = _this.nodeWithSpan;
63564 t1._verifyArguments$4(t3.length, t4, t5, t6);
63565 declaredArguments = t5.$arguments;
63566 t7 = declaredArguments.length;
63567 minLength = Math.min(t3.length, t7);
63568 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
63569 t1._environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
63570 for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
63571 argument = declaredArguments[i];
63572 t9 = argument.name;
63573 value = t4.remove$1(0, t9);
63574 if (value == null) {
63575 t10 = argument.defaultValue;
63576 value = t1._withoutSlash$2(t10.accept$1(t1), t1._expressionNode$1(t10));
63577 }
63578 t10 = t1._environment;
63579 t11 = t8.$index(0, t9);
63580 if (t11 == null) {
63581 t11 = argument.defaultValue;
63582 t11.toString;
63583 t11 = t1._expressionNode$1(t11);
63584 }
63585 t10.setLocalVariable$3(t9, value, t11);
63586 }
63587 restArgument = t5.restArgument;
63588 if (restArgument != null) {
63589 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty5;
63590 t2 = t2.separator;
63591 argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : t2);
63592 t1._environment.setLocalVariable$3(restArgument, argumentList, t6);
63593 } else
63594 argumentList = null;
63595 result = _this.run.call$0();
63596 if (argumentList == null)
63597 return result;
63598 if (t4.get$isEmpty(t4))
63599 return result;
63600 if (argumentList._wereKeywordsAccessed)
63601 return result;
63602 t2 = t4.get$keys(t4);
63603 argumentWord = A.pluralize("argument", t2.get$length(t2), null);
63604 t4 = t4.get$keys(t4);
63605 argumentNames = A.toSentence(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
63606 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))));
63607 },
63608 $signature() {
63609 return this.V._eval$1("0()");
63610 }
63611 };
63612 A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
63613 call$1($name) {
63614 return "$" + $name;
63615 },
63616 $signature: 5
63617 };
63618 A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
63619 call$0() {
63620 var t1, t2, t3, t4, _i, $returnValue;
63621 for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
63622 $returnValue = t2[_i].accept$1(t4);
63623 if ($returnValue instanceof A.Value)
63624 return $returnValue;
63625 }
63626 throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
63627 },
63628 $signature: 35
63629 };
63630 A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
63631 call$0() {
63632 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
63633 },
63634 $signature: 0
63635 };
63636 A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
63637 call$1($name) {
63638 return "$" + $name;
63639 },
63640 $signature: 5
63641 };
63642 A._EvaluateVisitor__evaluateArguments_closure.prototype = {
63643 call$1(value) {
63644 return value;
63645 },
63646 $signature: 38
63647 };
63648 A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
63649 call$1(value) {
63650 return this.$this._withoutSlash$2(value, this.restNodeForSpan);
63651 },
63652 $signature: 38
63653 };
63654 A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
63655 call$2(key, value) {
63656 var _this = this,
63657 t1 = _this.restNodeForSpan;
63658 _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
63659 _this.namedNodes.$indexSet(0, key, t1);
63660 },
63661 $signature: 77
63662 };
63663 A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
63664 call$1(value) {
63665 return value;
63666 },
63667 $signature: 38
63668 };
63669 A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
63670 call$1(value) {
63671 var t1 = this.restArgs;
63672 return new A.ValueExpression(value, t1.get$span(t1));
63673 },
63674 $signature: 51
63675 };
63676 A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
63677 call$1(value) {
63678 var t1 = this.restArgs;
63679 return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
63680 },
63681 $signature: 51
63682 };
63683 A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
63684 call$2(key, value) {
63685 var _this = this,
63686 t1 = _this.restArgs;
63687 _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
63688 },
63689 $signature: 77
63690 };
63691 A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
63692 call$1(value) {
63693 var t1 = this.keywordRestArgs;
63694 return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
63695 },
63696 $signature: 51
63697 };
63698 A._EvaluateVisitor__addRestMap_closure.prototype = {
63699 call$2(key, value) {
63700 var t2, _this = this,
63701 t1 = _this.$this;
63702 if (key instanceof A.SassString)
63703 _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
63704 else {
63705 t2 = _this.nodeWithSpan;
63706 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)));
63707 }
63708 },
63709 $signature: 59
63710 };
63711 A._EvaluateVisitor__verifyArguments_closure.prototype = {
63712 call$0() {
63713 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
63714 },
63715 $signature: 0
63716 };
63717 A._EvaluateVisitor_visitStringExpression_closure.prototype = {
63718 call$1(value) {
63719 var t1, result;
63720 if (typeof value == "string")
63721 return value;
63722 type$.Expression._as(value);
63723 t1 = this.$this;
63724 result = value.accept$1(t1);
63725 return result instanceof A.SassString ? result._string$_text : t1._evaluate$_serialize$3$quote(result, value, false);
63726 },
63727 $signature: 47
63728 };
63729 A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
63730 call$0() {
63731 var t1, t2, t3;
63732 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();)
63733 t2._as(t1.__internal$_current).accept$1(t3);
63734 },
63735 $signature: 1
63736 };
63737 A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
63738 call$1(node) {
63739 return type$.CssStyleRule._is(node);
63740 },
63741 $signature: 8
63742 };
63743 A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
63744 call$0() {
63745 var t1, t2, t3;
63746 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();)
63747 t2._as(t1.__internal$_current).accept$1(t3);
63748 },
63749 $signature: 1
63750 };
63751 A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
63752 call$1(node) {
63753 return type$.CssStyleRule._is(node);
63754 },
63755 $signature: 8
63756 };
63757 A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
63758 call$1(mediaQueries) {
63759 return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
63760 },
63761 $signature: 82
63762 };
63763 A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
63764 call$0() {
63765 var _this = this,
63766 t1 = _this.$this,
63767 t2 = _this.mergedQueries;
63768 if (t2 == null)
63769 t2 = _this.node.queries;
63770 t1._withMediaQueries$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
63771 },
63772 $signature: 1
63773 };
63774 A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
63775 call$0() {
63776 var t2, t3,
63777 t1 = this.$this,
63778 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
63779 if (styleRule == null)
63780 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
63781 t3._as(t2.__internal$_current).accept$1(t1);
63782 else
63783 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);
63784 },
63785 $signature: 1
63786 };
63787 A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
63788 call$0() {
63789 var t1, t2, t3;
63790 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();)
63791 t2._as(t1.__internal$_current).accept$1(t3);
63792 },
63793 $signature: 1
63794 };
63795 A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
63796 call$1(node) {
63797 var t1;
63798 if (!type$.CssStyleRule._is(node))
63799 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
63800 else
63801 t1 = true;
63802 return t1;
63803 },
63804 $signature: 8
63805 };
63806 A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
63807 call$0() {
63808 var t1 = this.$this;
63809 t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
63810 },
63811 $signature: 1
63812 };
63813 A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
63814 call$0() {
63815 var t1, t2, t3;
63816 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();)
63817 t2._as(t1.__internal$_current).accept$1(t3);
63818 },
63819 $signature: 1
63820 };
63821 A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
63822 call$1(node) {
63823 return type$.CssStyleRule._is(node);
63824 },
63825 $signature: 8
63826 };
63827 A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
63828 call$0() {
63829 var t2, t3,
63830 t1 = this.$this,
63831 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
63832 if (styleRule == null)
63833 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
63834 t3._as(t2.__internal$_current).accept$1(t1);
63835 else
63836 t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
63837 },
63838 $signature: 1
63839 };
63840 A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
63841 call$0() {
63842 var t1, t2, t3;
63843 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();)
63844 t2._as(t1.__internal$_current).accept$1(t3);
63845 },
63846 $signature: 1
63847 };
63848 A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
63849 call$1(node) {
63850 return type$.CssStyleRule._is(node);
63851 },
63852 $signature: 8
63853 };
63854 A._EvaluateVisitor__performInterpolation_closure.prototype = {
63855 call$1(value) {
63856 var t1, result, t2, t3;
63857 if (typeof value == "string")
63858 return value;
63859 type$.Expression._as(value);
63860 t1 = this.$this;
63861 result = value.accept$1(t1);
63862 if (this.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
63863 t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
63864 t3 = $.$get$namesByColor();
63865 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));
63866 }
63867 return t1._evaluate$_serialize$3$quote(result, value, false);
63868 },
63869 $signature: 47
63870 };
63871 A._EvaluateVisitor__serialize_closure.prototype = {
63872 call$0() {
63873 return A.serializeValue(this.value, false, this.quote);
63874 },
63875 $signature: 30
63876 };
63877 A._EvaluateVisitor__expressionNode_closure.prototype = {
63878 call$0() {
63879 var t1 = this.expression;
63880 return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
63881 },
63882 $signature: 167
63883 };
63884 A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
63885 call$1(number) {
63886 var asSlash = number.asSlash;
63887 if (asSlash != null)
63888 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
63889 else
63890 return A.serializeValue(number, true, true);
63891 },
63892 $signature: 165
63893 };
63894 A._EvaluateVisitor__stackFrame_closure.prototype = {
63895 call$1(url) {
63896 var t1 = this.$this._evaluate$_importCache;
63897 t1 = t1 == null ? null : t1.humanize$1(url);
63898 return t1 == null ? url : t1;
63899 },
63900 $signature: 84
63901 };
63902 A._EvaluateVisitor__stackTrace_closure.prototype = {
63903 call$1(tuple) {
63904 return this.$this._stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
63905 },
63906 $signature: 161
63907 };
63908 A._ImportedCssVisitor.prototype = {
63909 visitCssAtRule$1(node) {
63910 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
63911 this._visitor._addChild$2$through(node, t1);
63912 },
63913 visitCssComment$1(node) {
63914 return this._visitor._addChild$1(node);
63915 },
63916 visitCssDeclaration$1(node) {
63917 },
63918 visitCssImport$1(node) {
63919 var t2,
63920 _s13_ = "_endOfImports",
63921 t1 = this._visitor;
63922 if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
63923 t1._addChild$1(node);
63924 else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
63925 t1._addChild$1(node);
63926 t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
63927 } else {
63928 t2 = t1._outOfOrderImports;
63929 (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
63930 }
63931 },
63932 visitCssKeyframeBlock$1(node) {
63933 },
63934 visitCssMediaRule$1(node) {
63935 var t1 = this._visitor,
63936 mediaQueries = t1._mediaQueries;
63937 t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
63938 },
63939 visitCssStyleRule$1(node) {
63940 return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
63941 },
63942 visitCssStylesheet$1(node) {
63943 var t1, t2;
63944 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
63945 t2._as(t1.__internal$_current).accept$1(this);
63946 },
63947 visitCssSupportsRule$1(node) {
63948 return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
63949 }
63950 };
63951 A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
63952 call$1(node) {
63953 return type$.CssStyleRule._is(node);
63954 },
63955 $signature: 8
63956 };
63957 A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
63958 call$1(node) {
63959 var t1;
63960 if (!type$.CssStyleRule._is(node))
63961 t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
63962 else
63963 t1 = true;
63964 return t1;
63965 },
63966 $signature: 8
63967 };
63968 A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
63969 call$1(node) {
63970 return type$.CssStyleRule._is(node);
63971 },
63972 $signature: 8
63973 };
63974 A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
63975 call$1(node) {
63976 return type$.CssStyleRule._is(node);
63977 },
63978 $signature: 8
63979 };
63980 A._EvaluationContext.prototype = {
63981 get$currentCallableSpan() {
63982 var callableNode = this._visitor._callableNode;
63983 if (callableNode != null)
63984 return callableNode.get$span(callableNode);
63985 throw A.wrapException(A.StateError$(string$.No_Sasc));
63986 },
63987 warn$2$deprecation(_, message, deprecation) {
63988 var t1 = this._visitor,
63989 t2 = t1._importSpan;
63990 if (t2 == null) {
63991 t2 = t1._callableNode;
63992 t2 = t2 == null ? null : t2.get$span(t2);
63993 }
63994 if (t2 == null) {
63995 t2 = this._defaultWarnNodeWithSpan;
63996 t2 = t2.get$span(t2);
63997 }
63998 t1._warn$3$deprecation(message, t2, deprecation);
63999 },
64000 $isEvaluationContext: 1
64001 };
64002 A._ArgumentResults.prototype = {};
64003 A._LoadedStylesheet.prototype = {};
64004 A._FindDependenciesVisitor.prototype = {
64005 visitEachRule$1(node) {
64006 },
64007 visitForRule$1(node) {
64008 },
64009 visitIfRule$1(node) {
64010 },
64011 visitWhileRule$1(node) {
64012 },
64013 visitUseRule$1(node) {
64014 var t1 = node.url;
64015 if (t1.get$scheme() !== "sass")
64016 this._usesAndForwards.push(t1);
64017 },
64018 visitForwardRule$1(node) {
64019 var t1 = node.url;
64020 if (t1.get$scheme() !== "sass")
64021 this._usesAndForwards.push(t1);
64022 },
64023 visitImportRule$1(node) {
64024 var t1, t2, t3, _i, $import;
64025 for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
64026 $import = t1[_i];
64027 if ($import instanceof A.DynamicImport)
64028 t3.push(A.Uri_parse($import.urlString));
64029 }
64030 }
64031 };
64032 A.RecursiveStatementVisitor.prototype = {
64033 visitAtRootRule$1(node) {
64034 this.visitChildren$1(node.children);
64035 },
64036 visitAtRule$1(node) {
64037 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
64038 },
64039 visitContentBlock$1(node) {
64040 return null;
64041 },
64042 visitContentRule$1(node) {
64043 },
64044 visitDebugRule$1(node) {
64045 },
64046 visitDeclaration$1(node) {
64047 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
64048 },
64049 visitErrorRule$1(node) {
64050 },
64051 visitExtendRule$1(node) {
64052 },
64053 visitFunctionRule$1(node) {
64054 return null;
64055 },
64056 visitIncludeRule$1(node) {
64057 return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
64058 },
64059 visitLoudComment$1(node) {
64060 },
64061 visitMediaRule$1(node) {
64062 return this.visitChildren$1(node.children);
64063 },
64064 visitMixinRule$1(node) {
64065 return null;
64066 },
64067 visitReturnRule$1(node) {
64068 },
64069 visitSilentComment$1(node) {
64070 },
64071 visitStyleRule$1(node) {
64072 return this.visitChildren$1(node.children);
64073 },
64074 visitStylesheet$1(node) {
64075 return this.visitChildren$1(node.children);
64076 },
64077 visitSupportsRule$1(node) {
64078 return this.visitChildren$1(node.children);
64079 },
64080 visitVariableDeclaration$1(node) {
64081 },
64082 visitWarnRule$1(node) {
64083 },
64084 visitChildren$1(children) {
64085 var t1;
64086 for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
64087 t1.get$current(t1).accept$1(this);
64088 }
64089 };
64090 A.serialize_closure.prototype = {
64091 call$1(codeUnit) {
64092 return codeUnit > 127;
64093 },
64094 $signature: 58
64095 };
64096 A._SerializeVisitor.prototype = {
64097 visitCssStylesheet$1(node) {
64098 var t1, t2, t3, t4, previous, i, child, _this = this;
64099 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) {
64100 child = J.$index$asx(node.get$children(node), i);
64101 if (_this._isInvisible$1(child))
64102 continue;
64103 if (previous != null) {
64104 if (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous))
64105 t4.writeCharCode$1(59);
64106 if (t1)
64107 t4.write$1(0, "\n");
64108 if (previous.get$isGroupEnd())
64109 if (t1)
64110 t4.write$1(0, "\n");
64111 }
64112 child.accept$1(_this);
64113 previous = child;
64114 }
64115 if (previous != null)
64116 t1 = (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous)) && t1;
64117 else
64118 t1 = false;
64119 if (t1)
64120 t4.writeCharCode$1(59);
64121 },
64122 visitCssComment$1(node) {
64123 this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
64124 },
64125 visitCssAtRule$1(node) {
64126 var t1, _this = this;
64127 _this._writeIndentation$0();
64128 t1 = _this._serialize$_buffer;
64129 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
64130 if (!node.isChildless) {
64131 if (_this._style !== B.OutputStyle_compressed)
64132 t1.writeCharCode$1(32);
64133 _this._serialize$_visitChildren$1(node.children);
64134 }
64135 },
64136 visitCssMediaRule$1(node) {
64137 var t1, _this = this;
64138 _this._writeIndentation$0();
64139 t1 = _this._serialize$_buffer;
64140 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
64141 if (_this._style !== B.OutputStyle_compressed)
64142 t1.writeCharCode$1(32);
64143 _this._serialize$_visitChildren$1(node.children);
64144 },
64145 visitCssImport$1(node) {
64146 this._writeIndentation$0();
64147 this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
64148 },
64149 _writeImportUrl$1(url) {
64150 var urlContents, maybeQuote, _this = this;
64151 if (_this._style !== B.OutputStyle_compressed || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
64152 _this._serialize$_buffer.write$1(0, url);
64153 return;
64154 }
64155 urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
64156 maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
64157 if (maybeQuote === 39 || maybeQuote === 34)
64158 _this._serialize$_buffer.write$1(0, urlContents);
64159 else
64160 _this._visitQuotedString$1(urlContents);
64161 },
64162 visitCssKeyframeBlock$1(node) {
64163 var t1, _this = this;
64164 _this._writeIndentation$0();
64165 t1 = _this._serialize$_buffer;
64166 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
64167 if (_this._style !== B.OutputStyle_compressed)
64168 t1.writeCharCode$1(32);
64169 _this._serialize$_visitChildren$1(node.children);
64170 },
64171 _visitMediaQuery$1(query) {
64172 var t2, t3, _this = this,
64173 t1 = query.modifier;
64174 if (t1 != null) {
64175 t2 = _this._serialize$_buffer;
64176 t2.write$1(0, t1);
64177 t2.writeCharCode$1(32);
64178 }
64179 t1 = query.type;
64180 if (t1 != null) {
64181 t2 = _this._serialize$_buffer;
64182 t2.write$1(0, t1);
64183 if (query.features.length !== 0)
64184 t2.write$1(0, " and ");
64185 }
64186 t1 = query.features;
64187 t2 = _this._style === B.OutputStyle_compressed ? "and " : " and ";
64188 t3 = _this._serialize$_buffer;
64189 _this._writeBetween$3(t1, t2, t3.get$write(t3));
64190 },
64191 visitCssStyleRule$1(node) {
64192 var t1, _this = this;
64193 _this._writeIndentation$0();
64194 t1 = _this._serialize$_buffer;
64195 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
64196 if (_this._style !== B.OutputStyle_compressed)
64197 t1.writeCharCode$1(32);
64198 _this._serialize$_visitChildren$1(node.children);
64199 },
64200 visitCssSupportsRule$1(node) {
64201 var t1, _this = this;
64202 _this._writeIndentation$0();
64203 t1 = _this._serialize$_buffer;
64204 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
64205 if (_this._style !== B.OutputStyle_compressed)
64206 t1.writeCharCode$1(32);
64207 _this._serialize$_visitChildren$1(node.children);
64208 },
64209 visitCssDeclaration$1(node) {
64210 var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
64211 _this._writeIndentation$0();
64212 t1 = node.name;
64213 _this._serialize$_write$1(t1);
64214 t2 = _this._serialize$_buffer;
64215 t2.writeCharCode$1(58);
64216 if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
64217 t1 = node.value;
64218 t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
64219 } else {
64220 if (_this._style !== B.OutputStyle_compressed)
64221 t2.writeCharCode$1(32);
64222 try {
64223 t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
64224 } catch (exception) {
64225 t1 = A.unwrapException(exception);
64226 if (t1 instanceof A.MultiSpanSassScriptException) {
64227 error = t1;
64228 stackTrace = A.getTraceFromException(exception);
64229 t1 = error.message;
64230 t2 = node.value;
64231 t2 = t2.get$span(t2);
64232 A.throwWithTrace(new A.MultiSpanSassException(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
64233 } else if (t1 instanceof A.SassScriptException) {
64234 error0 = t1;
64235 stackTrace0 = A.getTraceFromException(exception);
64236 t1 = node.value;
64237 A.throwWithTrace(new A.SassException(error0.message, t1.get$span(t1)), stackTrace0);
64238 } else
64239 throw exception;
64240 }
64241 }
64242 },
64243 _writeFoldedValue$1(node) {
64244 var t2, next, t3,
64245 t1 = node.value,
64246 scanner = A.StringScanner$(type$.SassString._as(t1.get$value(t1))._string$_text, null, null);
64247 for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
64248 next = scanner.readChar$0();
64249 if (next !== 10) {
64250 t2.writeCharCode$1(next);
64251 continue;
64252 }
64253 t2.writeCharCode$1(32);
64254 while (true) {
64255 t3 = scanner.peekChar$0();
64256 if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
64257 break;
64258 scanner.readChar$0();
64259 }
64260 }
64261 },
64262 _writeReindentedValue$1(node) {
64263 var _this = this,
64264 t1 = node.value,
64265 value = type$.SassString._as(t1.get$value(t1))._string$_text,
64266 minimumIndentation = _this._minimumIndentation$1(value);
64267 if (minimumIndentation == null) {
64268 _this._serialize$_buffer.write$1(0, value);
64269 return;
64270 } else if (minimumIndentation === -1) {
64271 t1 = _this._serialize$_buffer;
64272 t1.write$1(0, A.trimAsciiRight(value, true));
64273 t1.writeCharCode$1(32);
64274 return;
64275 }
64276 t1 = node.name;
64277 t1 = t1.get$span(t1);
64278 t1 = A.FileLocation$_(t1.file, t1._file$_start);
64279 _this._writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
64280 },
64281 _minimumIndentation$1(text) {
64282 var character, t2, min, next, min0,
64283 scanner = A.LineScanner$(text),
64284 t1 = scanner.string.length;
64285 while (true) {
64286 if (scanner._string_scanner$_position !== t1) {
64287 character = scanner.super$StringScanner$readChar();
64288 scanner._adjustLineAndColumn$1(character);
64289 t2 = character !== 10;
64290 } else
64291 t2 = false;
64292 if (!t2)
64293 break;
64294 }
64295 if (scanner._string_scanner$_position === t1)
64296 return scanner.peekChar$1(-1) === 10 ? -1 : null;
64297 for (min = null; scanner._string_scanner$_position !== t1;) {
64298 for (; scanner._string_scanner$_position !== t1;) {
64299 next = scanner.peekChar$0();
64300 if (next !== 32 && next !== 9)
64301 break;
64302 scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
64303 }
64304 if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
64305 continue;
64306 min0 = scanner._line_scanner$_column;
64307 min = min == null ? min0 : Math.min(min, min0);
64308 while (true) {
64309 if (scanner._string_scanner$_position !== t1) {
64310 character = scanner.super$StringScanner$readChar();
64311 scanner._adjustLineAndColumn$1(character);
64312 t2 = character !== 10;
64313 } else
64314 t2 = false;
64315 if (!t2)
64316 break;
64317 }
64318 }
64319 return min == null ? -1 : min;
64320 },
64321 _writeWithIndent$2(text, minimumIndentation) {
64322 var t1, t2, t3, character, lineStart, newlines, end,
64323 scanner = A.LineScanner$(text);
64324 for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
64325 character = scanner.super$StringScanner$readChar();
64326 scanner._adjustLineAndColumn$1(character);
64327 if (character === 10)
64328 break;
64329 t3.writeCharCode$1(character);
64330 }
64331 for (; true;) {
64332 lineStart = scanner._string_scanner$_position;
64333 for (newlines = 1; true;) {
64334 if (scanner._string_scanner$_position === t2) {
64335 t3.writeCharCode$1(32);
64336 return;
64337 }
64338 character = scanner.super$StringScanner$readChar();
64339 scanner._adjustLineAndColumn$1(character);
64340 if (character === 32 || character === 9)
64341 continue;
64342 if (character !== 10)
64343 break;
64344 lineStart = scanner._string_scanner$_position;
64345 ++newlines;
64346 }
64347 this._writeTimes$2(10, newlines);
64348 this._writeIndentation$0();
64349 end = scanner._string_scanner$_position;
64350 t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
64351 for (; true;) {
64352 if (scanner._string_scanner$_position === t2)
64353 return;
64354 character = scanner.super$StringScanner$readChar();
64355 scanner._adjustLineAndColumn$1(character);
64356 if (character === 10)
64357 break;
64358 t3.writeCharCode$1(character);
64359 }
64360 }
64361 },
64362 _writeCalculationValue$1(value) {
64363 var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
64364 if (value instanceof A.Value)
64365 value.accept$1(_this);
64366 else if (value instanceof A.CalculationInterpolation)
64367 _this._serialize$_buffer.write$1(0, value.value);
64368 else if (value instanceof A.CalculationOperation) {
64369 left = value.left;
64370 if (!(left instanceof A.CalculationInterpolation))
64371 parenthesizeLeft = left instanceof A.CalculationOperation && left.operator.precedence < value.operator.precedence;
64372 else
64373 parenthesizeLeft = true;
64374 if (parenthesizeLeft)
64375 _this._serialize$_buffer.writeCharCode$1(40);
64376 _this._writeCalculationValue$1(left);
64377 if (parenthesizeLeft)
64378 _this._serialize$_buffer.writeCharCode$1(41);
64379 operatorWhitespace = _this._style !== B.OutputStyle_compressed || value.operator.precedence === 1;
64380 if (operatorWhitespace)
64381 _this._serialize$_buffer.writeCharCode$1(32);
64382 t1 = _this._serialize$_buffer;
64383 t2 = value.operator;
64384 t1.write$1(0, t2.operator);
64385 if (operatorWhitespace)
64386 t1.writeCharCode$1(32);
64387 right = value.right;
64388 if (!(right instanceof A.CalculationInterpolation))
64389 parenthesizeRight = right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(t2, right.operator);
64390 else
64391 parenthesizeRight = true;
64392 if (parenthesizeRight)
64393 t1.writeCharCode$1(40);
64394 _this._writeCalculationValue$1(right);
64395 if (parenthesizeRight)
64396 t1.writeCharCode$1(41);
64397 }
64398 },
64399 _parenthesizeCalculationRhs$2(outer, right) {
64400 if (outer === B.CalculationOperator_jB6)
64401 return true;
64402 if (outer === B.CalculationOperator_Iem)
64403 return false;
64404 return right === B.CalculationOperator_Iem || right === B.CalculationOperator_uti;
64405 },
64406 _writeRgb$1(value) {
64407 var t3,
64408 t1 = value._alpha,
64409 opaque = Math.abs(t1 - 1) < $.$get$epsilon(),
64410 t2 = this._serialize$_buffer;
64411 t2.write$1(0, opaque ? "rgb(" : "rgba(");
64412 t2.write$1(0, value.get$red(value));
64413 t3 = this._style === B.OutputStyle_compressed;
64414 t2.write$1(0, t3 ? "," : ", ");
64415 t2.write$1(0, value.get$green(value));
64416 t2.write$1(0, t3 ? "," : ", ");
64417 t2.write$1(0, value.get$blue(value));
64418 if (!opaque) {
64419 t2.write$1(0, t3 ? "," : ", ");
64420 this._writeNumber$1(t1);
64421 }
64422 t2.writeCharCode$1(41);
64423 },
64424 _canUseShortHex$1(color) {
64425 var t1 = color.get$red(color);
64426 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
64427 t1 = color.get$green(color);
64428 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
64429 t1 = color.get$blue(color);
64430 t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
64431 } else
64432 t1 = false;
64433 } else
64434 t1 = false;
64435 return t1;
64436 },
64437 _writeHexComponent$1(color) {
64438 var t1 = this._serialize$_buffer;
64439 t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
64440 t1.writeCharCode$1(A.hexCharFor(color & 15));
64441 },
64442 visitList$1(value) {
64443 var t2, t3, singleton, t4, t5, _this = this,
64444 t1 = value._hasBrackets;
64445 if (t1)
64446 _this._serialize$_buffer.writeCharCode$1(91);
64447 else if (value._list$_contents.length === 0) {
64448 if (!_this._inspect)
64449 throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value."));
64450 _this._serialize$_buffer.write$1(0, "()");
64451 return;
64452 }
64453 t2 = _this._inspect;
64454 if (t2)
64455 if (value._list$_contents.length === 1) {
64456 t3 = value._separator;
64457 t3 = t3 === B.ListSeparator_kWM || t3 === B.ListSeparator_1gm;
64458 singleton = t3;
64459 } else
64460 singleton = false;
64461 else
64462 singleton = false;
64463 if (singleton && !t1)
64464 _this._serialize$_buffer.writeCharCode$1(40);
64465 t3 = value._list$_contents;
64466 t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
64467 t4 = value._separator;
64468 t5 = _this._separatorString$1(t4);
64469 _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
64470 if (singleton) {
64471 t2 = _this._serialize$_buffer;
64472 t2.write$1(0, t4.separator);
64473 if (!t1)
64474 t2.writeCharCode$1(41);
64475 }
64476 if (t1)
64477 _this._serialize$_buffer.writeCharCode$1(93);
64478 },
64479 _separatorString$1(separator) {
64480 switch (separator) {
64481 case B.ListSeparator_kWM:
64482 return this._style === B.OutputStyle_compressed ? "," : ", ";
64483 case B.ListSeparator_1gm:
64484 return this._style === B.OutputStyle_compressed ? "/" : " / ";
64485 case B.ListSeparator_woc:
64486 return " ";
64487 default:
64488 return "";
64489 }
64490 },
64491 _elementNeedsParens$2(separator, value) {
64492 var t1;
64493 if (value instanceof A.SassList) {
64494 if (value._list$_contents.length < 2)
64495 return false;
64496 if (value._hasBrackets)
64497 return false;
64498 switch (separator) {
64499 case B.ListSeparator_kWM:
64500 return value._separator === B.ListSeparator_kWM;
64501 case B.ListSeparator_1gm:
64502 t1 = value._separator;
64503 return t1 === B.ListSeparator_kWM || t1 === B.ListSeparator_1gm;
64504 default:
64505 return value._separator !== B.ListSeparator_undecided_null;
64506 }
64507 }
64508 return false;
64509 },
64510 visitMap$1(map) {
64511 var t1, t2, _this = this;
64512 if (!_this._inspect)
64513 throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value."));
64514 t1 = _this._serialize$_buffer;
64515 t1.writeCharCode$1(40);
64516 t2 = map._map$_contents;
64517 _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
64518 t1.writeCharCode$1(41);
64519 },
64520 _writeMapElement$1(value) {
64521 var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_kWM && !value._hasBrackets;
64522 if (needsParens)
64523 this._serialize$_buffer.writeCharCode$1(40);
64524 value.accept$1(this);
64525 if (needsParens)
64526 this._serialize$_buffer.writeCharCode$1(41);
64527 },
64528 visitNumber$1(value) {
64529 var _this = this,
64530 asSlash = value.asSlash;
64531 if (asSlash != null) {
64532 _this.visitNumber$1(asSlash.item1);
64533 _this._serialize$_buffer.writeCharCode$1(47);
64534 _this.visitNumber$1(asSlash.item2);
64535 return;
64536 }
64537 _this._writeNumber$1(value._number$_value);
64538 if (!_this._inspect) {
64539 if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
64540 throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value."));
64541 if (value.get$numeratorUnits(value).length !== 0)
64542 _this._serialize$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
64543 } else
64544 _this._serialize$_buffer.write$1(0, value.get$unitString());
64545 },
64546 _writeNumber$1(number) {
64547 var text, _this = this,
64548 integer = A.fuzzyIsInt(number) ? B.JSNumber_methods.round$0(number) : null;
64549 if (integer != null) {
64550 _this._serialize$_buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(integer)));
64551 return;
64552 }
64553 text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
64554 if (text.length < 12) {
64555 if (_this._style === B.OutputStyle_compressed && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
64556 text = B.JSString_methods.substring$1(text, 1);
64557 _this._serialize$_buffer.write$1(0, text);
64558 return;
64559 }
64560 _this._writeRounded$1(text);
64561 },
64562 _removeExponent$1(text) {
64563 var buffer, t3, additionalZeroes,
64564 t1 = B.JSString_methods._codeUnitAt$1(text, 0),
64565 negative = t1 === 45,
64566 exponent = A._Cell$(),
64567 t2 = text.length,
64568 i = 0;
64569 while (true) {
64570 if (!(i < t2)) {
64571 buffer = null;
64572 break;
64573 }
64574 c$0: {
64575 if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
64576 break c$0;
64577 buffer = new A.StringBuffer("");
64578 t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
64579 if (negative) {
64580 t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
64581 buffer._contents = t1;
64582 if (i > 3)
64583 buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
64584 } else if (i > 2)
64585 buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
64586 exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
64587 break;
64588 }
64589 ++i;
64590 }
64591 if (buffer == null)
64592 return text;
64593 if (exponent._readLocal$0() > 0) {
64594 t1 = exponent._readLocal$0();
64595 t2 = buffer._contents;
64596 t3 = negative ? 1 : 0;
64597 additionalZeroes = t1 - (t2.length - 1 - t3);
64598 for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
64599 t1 += A.Primitives_stringFromCharCode(48);
64600 buffer._contents = t1;
64601 }
64602 return t1.charCodeAt(0) == 0 ? t1 : t1;
64603 } else {
64604 t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
64605 t2 = exponent.__late_helper$_name;
64606 i = -1;
64607 while (true) {
64608 t3 = exponent._value;
64609 if (t3 === exponent)
64610 A.throwExpression(A.LateError$localNI(t2));
64611 if (!(i > t3))
64612 break;
64613 t1 += A.Primitives_stringFromCharCode(48);
64614 --i;
64615 }
64616 if (negative) {
64617 t2 = buffer._contents;
64618 t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
64619 } else
64620 t2 = buffer;
64621 t2 = t1 + A.S(t2);
64622 return t2.charCodeAt(0) == 0 ? t2 : t2;
64623 }
64624 },
64625 _writeRounded$1(text) {
64626 var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
64627 if (B.JSString_methods.endsWith$1(text, ".0")) {
64628 _this._serialize$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
64629 return;
64630 }
64631 t1 = text.length;
64632 digits = new Uint8Array(t1 + 1);
64633 negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
64634 textIndex = negative ? 1 : 0;
64635 for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
64636 if (textIndex === t1) {
64637 _this._serialize$_buffer.write$1(0, text);
64638 return;
64639 }
64640 textIndex0 = textIndex + 1;
64641 codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
64642 if (codeUnit === 46) {
64643 textIndex = textIndex0;
64644 break;
64645 }
64646 digitsIndex0 = digitsIndex + 1;
64647 digits[digitsIndex] = codeUnit - 48;
64648 }
64649 indexAfterPrecision = textIndex + 10;
64650 if (indexAfterPrecision >= t1) {
64651 _this._serialize$_buffer.write$1(0, text);
64652 return;
64653 }
64654 for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
64655 digitsIndex1 = digitsIndex0 + 1;
64656 textIndex0 = textIndex + 1;
64657 digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
64658 }
64659 if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
64660 for (; true; digitsIndex0 = digitsIndex1) {
64661 digitsIndex1 = digitsIndex0 - 1;
64662 newDigit = digits[digitsIndex1] + 1;
64663 digits[digitsIndex1] = newDigit;
64664 if (newDigit !== 10)
64665 break;
64666 }
64667 for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
64668 digits[digitsIndex0] = 0;
64669 while (true) {
64670 t1 = digitsIndex0 > digitsIndex;
64671 if (!(t1 && digits[digitsIndex0 - 1] === 0))
64672 break;
64673 --digitsIndex0;
64674 }
64675 if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
64676 _this._serialize$_buffer.writeCharCode$1(48);
64677 return;
64678 }
64679 if (negative)
64680 _this._serialize$_buffer.writeCharCode$1(45);
64681 if (digits[0] === 0)
64682 writtenIndex = _this._style === B.OutputStyle_compressed && digits[1] === 0 ? 2 : 1;
64683 else
64684 writtenIndex = 0;
64685 for (t2 = _this._serialize$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
64686 t2.writeCharCode$1(48 + digits[writtenIndex]);
64687 if (t1) {
64688 t2.writeCharCode$1(46);
64689 for (; writtenIndex < digitsIndex0; ++writtenIndex)
64690 t2.writeCharCode$1(48 + digits[writtenIndex]);
64691 }
64692 },
64693 _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
64694 var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
64695 buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
64696 if (forceDoubleQuote)
64697 buffer.writeCharCode$1(34);
64698 for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
64699 char = B.JSString_methods._codeUnitAt$1(string, i);
64700 switch (char) {
64701 case 39:
64702 if (forceDoubleQuote)
64703 buffer.writeCharCode$1(39);
64704 else {
64705 if (includesDoubleQuote) {
64706 _this._visitQuotedString$2$forceDoubleQuote(string, true);
64707 return;
64708 } else
64709 buffer.writeCharCode$1(39);
64710 includesSingleQuote = true;
64711 }
64712 break;
64713 case 34:
64714 if (forceDoubleQuote) {
64715 buffer.writeCharCode$1(92);
64716 buffer.writeCharCode$1(34);
64717 } else {
64718 if (includesSingleQuote) {
64719 _this._visitQuotedString$2$forceDoubleQuote(string, true);
64720 return;
64721 } else
64722 buffer.writeCharCode$1(34);
64723 includesDoubleQuote = true;
64724 }
64725 break;
64726 case 0:
64727 case 1:
64728 case 2:
64729 case 3:
64730 case 4:
64731 case 5:
64732 case 6:
64733 case 7:
64734 case 8:
64735 case 10:
64736 case 11:
64737 case 12:
64738 case 13:
64739 case 14:
64740 case 15:
64741 case 16:
64742 case 17:
64743 case 18:
64744 case 19:
64745 case 20:
64746 case 21:
64747 case 22:
64748 case 23:
64749 case 24:
64750 case 25:
64751 case 26:
64752 case 27:
64753 case 28:
64754 case 29:
64755 case 30:
64756 case 31:
64757 _this._writeEscape$4(buffer, char, string, i);
64758 break;
64759 case 92:
64760 buffer.writeCharCode$1(92);
64761 buffer.writeCharCode$1(92);
64762 break;
64763 default:
64764 newIndex = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
64765 if (newIndex != null) {
64766 i = newIndex;
64767 break;
64768 }
64769 buffer.writeCharCode$1(char);
64770 break;
64771 }
64772 }
64773 if (forceDoubleQuote)
64774 buffer.writeCharCode$1(34);
64775 else {
64776 quote = includesDoubleQuote ? 39 : 34;
64777 t1 = _this._serialize$_buffer;
64778 t1.writeCharCode$1(quote);
64779 t1.write$1(0, buffer);
64780 t1.writeCharCode$1(quote);
64781 }
64782 },
64783 _visitQuotedString$1(string) {
64784 return this._visitQuotedString$2$forceDoubleQuote(string, false);
64785 },
64786 _visitUnquotedString$1(string) {
64787 var t1, t2, afterNewline, i, char, newIndex;
64788 for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
64789 char = B.JSString_methods._codeUnitAt$1(string, i);
64790 switch (char) {
64791 case 10:
64792 t2.writeCharCode$1(32);
64793 afterNewline = true;
64794 break;
64795 case 32:
64796 if (!afterNewline)
64797 t2.writeCharCode$1(32);
64798 break;
64799 default:
64800 newIndex = this._tryPrivateUseCharacter$4(t2, char, string, i);
64801 if (newIndex != null) {
64802 i = newIndex;
64803 afterNewline = false;
64804 break;
64805 }
64806 t2.writeCharCode$1(char);
64807 afterNewline = false;
64808 break;
64809 }
64810 }
64811 },
64812 _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
64813 var t1;
64814 if (this._style === B.OutputStyle_compressed)
64815 return null;
64816 if (codeUnit >= 57344 && codeUnit <= 63743) {
64817 this._writeEscape$4(buffer, codeUnit, string, i);
64818 return i;
64819 }
64820 if (codeUnit >>> 7 === 439 && string.length > i + 1) {
64821 t1 = i + 1;
64822 this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
64823 return t1;
64824 }
64825 return null;
64826 },
64827 _writeEscape$4(buffer, character, string, i) {
64828 var t1, next;
64829 buffer.writeCharCode$1(92);
64830 buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
64831 t1 = i + 1;
64832 if (string.length === t1)
64833 return;
64834 next = B.JSString_methods._codeUnitAt$1(string, t1);
64835 if (A.isHex(next) || next === 32 || next === 9)
64836 buffer.writeCharCode$1(32);
64837 },
64838 visitComplexSelector$1(complex) {
64839 var t1, t2, t3, t4, lastComponent, _i, component, t5;
64840 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) {
64841 component = t1[_i];
64842 if (lastComponent != null)
64843 if (!(t4 && lastComponent instanceof A.Combinator))
64844 t5 = !(t4 && component instanceof A.Combinator);
64845 else
64846 t5 = false;
64847 else
64848 t5 = false;
64849 if (t5)
64850 t3.write$1(0, " ");
64851 if (component instanceof A.CompoundSelector)
64852 this.visitCompoundSelector$1(component);
64853 else
64854 t3.write$1(0, component);
64855 }
64856 },
64857 visitCompoundSelector$1(compound) {
64858 var t2, t3, _i,
64859 t1 = this._serialize$_buffer,
64860 start = t1.get$length(t1);
64861 for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
64862 t2[_i].accept$1(this);
64863 if (t1.get$length(t1) === start)
64864 t1.writeCharCode$1(42);
64865 },
64866 visitSelectorList$1(list) {
64867 var t1, t2, t3, first, t4, _this = this,
64868 complexes = list.components;
64869 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();) {
64870 t4 = t1.get$current(t1);
64871 if (first)
64872 first = false;
64873 else {
64874 t3.writeCharCode$1(44);
64875 if (t4.lineBreak) {
64876 if (t2)
64877 t3.write$1(0, "\n");
64878 } else if (t2)
64879 t3.writeCharCode$1(32);
64880 }
64881 _this.visitComplexSelector$1(t4);
64882 }
64883 },
64884 visitPseudoSelector$1(pseudo) {
64885 var t3, t4, t5,
64886 innerSelector = pseudo.selector,
64887 t1 = innerSelector == null,
64888 t2 = !t1;
64889 if (t2 && pseudo.name === "not" && innerSelector.get$isInvisible())
64890 return;
64891 t3 = this._serialize$_buffer;
64892 t3.writeCharCode$1(58);
64893 if (!pseudo.isSyntacticClass)
64894 t3.writeCharCode$1(58);
64895 t3.write$1(0, pseudo.name);
64896 t4 = pseudo.argument;
64897 t5 = t4 == null;
64898 if (t5 && t1)
64899 return;
64900 t3.writeCharCode$1(40);
64901 if (!t5) {
64902 t3.write$1(0, t4);
64903 if (t2)
64904 t3.writeCharCode$1(32);
64905 }
64906 if (t2)
64907 this.visitSelectorList$1(innerSelector);
64908 t3.writeCharCode$1(41);
64909 },
64910 _serialize$_write$1(value) {
64911 return this._serialize$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure(this, value));
64912 },
64913 _serialize$_visitChildren$1(children) {
64914 var _this = this, t1 = {},
64915 t2 = _this._serialize$_buffer;
64916 t2.writeCharCode$1(123);
64917 if (children.every$1(children, _this.get$_isInvisible())) {
64918 t2.writeCharCode$1(125);
64919 return;
64920 }
64921 _this._writeLineFeed$0();
64922 t1.previous_ = null;
64923 ++_this._indentation;
64924 new A._SerializeVisitor__visitChildren_closure(t1, _this, children).call$0();
64925 --_this._indentation;
64926 t1 = t1.previous_;
64927 t1.toString;
64928 if ((type$.CssParentNode._is(t1) ? t1.get$isChildless() : !type$.CssComment._is(t1)) && _this._style !== B.OutputStyle_compressed)
64929 t2.writeCharCode$1(59);
64930 _this._writeLineFeed$0();
64931 _this._writeIndentation$0();
64932 t2.writeCharCode$1(125);
64933 },
64934 _writeLineFeed$0() {
64935 if (this._style !== B.OutputStyle_compressed)
64936 this._serialize$_buffer.write$1(0, "\n");
64937 },
64938 _writeIndentation$0() {
64939 var _this = this;
64940 if (_this._style === B.OutputStyle_compressed)
64941 return;
64942 _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
64943 },
64944 _writeTimes$2(char, times) {
64945 var t1, i;
64946 for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
64947 t1.writeCharCode$1(char);
64948 },
64949 _writeBetween$1$3(iterable, text, callback) {
64950 var t1, t2, first, value;
64951 for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
64952 value = t1.get$current(t1);
64953 if (first)
64954 first = false;
64955 else
64956 t2.write$1(0, text);
64957 callback.call$1(value);
64958 }
64959 },
64960 _writeBetween$3(iterable, text, callback) {
64961 return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
64962 },
64963 _isInvisible$1(node) {
64964 if (this._inspect)
64965 return false;
64966 if (this._style === B.OutputStyle_compressed && type$.CssComment._is(node) && B.JSString_methods._codeUnitAt$1(node.text, 2) !== 33)
64967 return true;
64968 if (type$.CssParentNode._is(node)) {
64969 if (type$.CssAtRule._is(node))
64970 return false;
64971 if (type$.CssStyleRule._is(node) && node.selector.value.get$isInvisible())
64972 return true;
64973 return J.every$1$ax(node.get$children(node), this.get$_isInvisible());
64974 } else
64975 return false;
64976 }
64977 };
64978 A._SerializeVisitor_visitCssComment_closure.prototype = {
64979 call$0() {
64980 var t2, t3, minimumIndentation,
64981 t1 = this.$this;
64982 if (t1._style === B.OutputStyle_compressed && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
64983 return;
64984 t2 = this.node;
64985 t3 = t2.text;
64986 minimumIndentation = t1._minimumIndentation$1(t3);
64987 if (minimumIndentation == null) {
64988 t1._writeIndentation$0();
64989 t1._serialize$_buffer.write$1(0, t3);
64990 return;
64991 }
64992 t2 = t2.span;
64993 t2 = A.FileLocation$_(t2.file, t2._file$_start);
64994 minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
64995 t1._writeIndentation$0();
64996 t1._writeWithIndent$2(t3, minimumIndentation);
64997 },
64998 $signature: 1
64999 };
65000 A._SerializeVisitor_visitCssAtRule_closure.prototype = {
65001 call$0() {
65002 var t3, value,
65003 t1 = this.$this,
65004 t2 = t1._serialize$_buffer;
65005 t2.writeCharCode$1(64);
65006 t3 = this.node;
65007 t1._serialize$_write$1(t3.name);
65008 value = t3.value;
65009 if (value != null) {
65010 t2.writeCharCode$1(32);
65011 t1._serialize$_write$1(value);
65012 }
65013 },
65014 $signature: 1
65015 };
65016 A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
65017 call$0() {
65018 var t3, t4,
65019 t1 = this.$this,
65020 t2 = t1._serialize$_buffer;
65021 t2.write$1(0, "@media");
65022 t3 = t1._style === B.OutputStyle_compressed;
65023 if (t3) {
65024 t4 = B.JSArray_methods.get$first(this.node.queries);
65025 t4 = !(t4.modifier == null && t4.type == null);
65026 } else
65027 t4 = true;
65028 if (t4)
65029 t2.writeCharCode$1(32);
65030 t2 = t3 ? "," : ", ";
65031 t1._writeBetween$3(this.node.queries, t2, t1.get$_visitMediaQuery());
65032 },
65033 $signature: 1
65034 };
65035 A._SerializeVisitor_visitCssImport_closure.prototype = {
65036 call$0() {
65037 var t3, t4, t5, t6, supports, media,
65038 t1 = this.$this,
65039 t2 = t1._serialize$_buffer;
65040 t2.write$1(0, "@import");
65041 t3 = t1._style === B.OutputStyle_compressed;
65042 t4 = !t3;
65043 if (t4)
65044 t2.writeCharCode$1(32);
65045 t5 = this.node;
65046 t6 = t5.url;
65047 t2.forSpan$2(t6.get$span(t6), new A._SerializeVisitor_visitCssImport__closure(t1, t5));
65048 supports = t5.supports;
65049 if (supports != null) {
65050 if (t4)
65051 t2.writeCharCode$1(32);
65052 t1._serialize$_write$1(supports);
65053 }
65054 media = t5.media;
65055 if (media != null) {
65056 if (t4)
65057 t2.writeCharCode$1(32);
65058 t2 = t3 ? "," : ", ";
65059 t1._writeBetween$3(media, t2, t1.get$_visitMediaQuery());
65060 }
65061 },
65062 $signature: 1
65063 };
65064 A._SerializeVisitor_visitCssImport__closure.prototype = {
65065 call$0() {
65066 var t1 = this.node.url;
65067 return this.$this._writeImportUrl$1(t1.get$value(t1));
65068 },
65069 $signature: 0
65070 };
65071 A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
65072 call$0() {
65073 var t1 = this.$this,
65074 t2 = t1._style === B.OutputStyle_compressed ? "," : ", ",
65075 t3 = t1._serialize$_buffer;
65076 return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
65077 },
65078 $signature: 0
65079 };
65080 A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
65081 call$0() {
65082 return this.$this.visitSelectorList$1(this.node.selector.value);
65083 },
65084 $signature: 0
65085 };
65086 A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
65087 call$0() {
65088 var t1 = this.$this,
65089 t2 = t1._serialize$_buffer;
65090 t2.write$1(0, "@supports");
65091 if (!(t1._style === B.OutputStyle_compressed && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
65092 t2.writeCharCode$1(32);
65093 t1._serialize$_write$1(this.node.condition);
65094 },
65095 $signature: 1
65096 };
65097 A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
65098 call$0() {
65099 var t1 = this.$this,
65100 t2 = this.node;
65101 if (t1._style === B.OutputStyle_compressed)
65102 t1._writeFoldedValue$1(t2);
65103 else
65104 t1._writeReindentedValue$1(t2);
65105 },
65106 $signature: 1
65107 };
65108 A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
65109 call$0() {
65110 var t1 = this.node.value;
65111 return t1.get$value(t1).accept$1(this.$this);
65112 },
65113 $signature: 0
65114 };
65115 A._SerializeVisitor_visitList_closure.prototype = {
65116 call$1(element) {
65117 return !element.get$isBlank();
65118 },
65119 $signature: 68
65120 };
65121 A._SerializeVisitor_visitList_closure0.prototype = {
65122 call$1(element) {
65123 var t1 = this.$this,
65124 needsParens = t1._elementNeedsParens$2(this.value._separator, element);
65125 if (needsParens)
65126 t1._serialize$_buffer.writeCharCode$1(40);
65127 element.accept$1(t1);
65128 if (needsParens)
65129 t1._serialize$_buffer.writeCharCode$1(41);
65130 },
65131 $signature: 53
65132 };
65133 A._SerializeVisitor_visitList_closure1.prototype = {
65134 call$1(element) {
65135 element.accept$1(this.$this);
65136 },
65137 $signature: 53
65138 };
65139 A._SerializeVisitor_visitMap_closure.prototype = {
65140 call$1(entry) {
65141 var t1 = this.$this;
65142 t1._writeMapElement$1(entry.key);
65143 t1._serialize$_buffer.write$1(0, ": ");
65144 t1._writeMapElement$1(entry.value);
65145 },
65146 $signature: 276
65147 };
65148 A._SerializeVisitor_visitSelectorList_closure.prototype = {
65149 call$1(complex) {
65150 return !complex.get$isInvisible();
65151 },
65152 $signature: 19
65153 };
65154 A._SerializeVisitor__write_closure.prototype = {
65155 call$0() {
65156 var t1 = this.value;
65157 return this.$this._serialize$_buffer.write$1(0, t1.get$value(t1));
65158 },
65159 $signature: 0
65160 };
65161 A._SerializeVisitor__visitChildren_closure.prototype = {
65162 call$0() {
65163 var t1, t2, t3, t4, t5, t6, t7, i, child, previous, t8;
65164 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) {
65165 child = t2.elementAt$1(t1, i);
65166 if (t4._isInvisible$1(child))
65167 continue;
65168 previous = t3.previous_;
65169 if (previous != null) {
65170 if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
65171 t7.writeCharCode$1(59);
65172 t8 = t4._style !== B.OutputStyle_compressed;
65173 if (t8)
65174 t7.write$1(0, "\n");
65175 if (previous.get$isGroupEnd())
65176 if (t8)
65177 t7.write$1(0, "\n");
65178 }
65179 t3.previous_ = child;
65180 child.accept$1(t4);
65181 }
65182 },
65183 $signature: 0
65184 };
65185 A.OutputStyle.prototype = {
65186 toString$0(_) {
65187 return this._name;
65188 }
65189 };
65190 A.LineFeed.prototype = {
65191 toString$0(_) {
65192 return "lf";
65193 }
65194 };
65195 A.SerializeResult.prototype = {};
65196 A.StatementSearchVisitor.prototype = {
65197 visitAtRootRule$1(node) {
65198 return this.visitChildren$1(node.children);
65199 },
65200 visitAtRule$1(node) {
65201 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
65202 },
65203 visitContentBlock$1(node) {
65204 return this.visitChildren$1(node.children);
65205 },
65206 visitDebugRule$1(node) {
65207 return null;
65208 },
65209 visitDeclaration$1(node) {
65210 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
65211 },
65212 visitEachRule$1(node) {
65213 return this.visitChildren$1(node.children);
65214 },
65215 visitErrorRule$1(node) {
65216 return null;
65217 },
65218 visitExtendRule$1(node) {
65219 return null;
65220 },
65221 visitForRule$1(node) {
65222 return this.visitChildren$1(node.children);
65223 },
65224 visitForwardRule$1(node) {
65225 return null;
65226 },
65227 visitFunctionRule$1(node) {
65228 return this.visitChildren$1(node.children);
65229 },
65230 visitIfRule$1(node) {
65231 var t1 = A._IterableExtension__search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
65232 return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
65233 },
65234 visitImportRule$1(node) {
65235 return null;
65236 },
65237 visitIncludeRule$1(node) {
65238 return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
65239 },
65240 visitLoudComment$1(node) {
65241 return null;
65242 },
65243 visitMediaRule$1(node) {
65244 return this.visitChildren$1(node.children);
65245 },
65246 visitMixinRule$1(node) {
65247 return this.visitChildren$1(node.children);
65248 },
65249 visitReturnRule$1(node) {
65250 return null;
65251 },
65252 visitSilentComment$1(node) {
65253 return null;
65254 },
65255 visitStyleRule$1(node) {
65256 return this.visitChildren$1(node.children);
65257 },
65258 visitStylesheet$1(node) {
65259 return this.visitChildren$1(node.children);
65260 },
65261 visitSupportsRule$1(node) {
65262 return this.visitChildren$1(node.children);
65263 },
65264 visitUseRule$1(node) {
65265 return null;
65266 },
65267 visitVariableDeclaration$1(node) {
65268 return null;
65269 },
65270 visitWarnRule$1(node) {
65271 return null;
65272 },
65273 visitWhileRule$1(node) {
65274 return this.visitChildren$1(node.children);
65275 },
65276 visitChildren$1(children) {
65277 return A._IterableExtension__search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
65278 }
65279 };
65280 A.StatementSearchVisitor_visitIfRule_closure.prototype = {
65281 call$1(clause) {
65282 return A._IterableExtension__search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
65283 },
65284 $signature() {
65285 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
65286 }
65287 };
65288 A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
65289 call$1(child) {
65290 return child.accept$1(this.$this);
65291 },
65292 $signature() {
65293 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
65294 }
65295 };
65296 A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
65297 call$1(lastClause) {
65298 return A._IterableExtension__search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
65299 },
65300 $signature() {
65301 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
65302 }
65303 };
65304 A.StatementSearchVisitor_visitIfRule__closure.prototype = {
65305 call$1(child) {
65306 return child.accept$1(this.$this);
65307 },
65308 $signature() {
65309 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
65310 }
65311 };
65312 A.StatementSearchVisitor_visitChildren_closure.prototype = {
65313 call$1(child) {
65314 return child.accept$1(this.$this);
65315 },
65316 $signature() {
65317 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
65318 }
65319 };
65320 A.Entry.prototype = {
65321 compareTo$1(_, other) {
65322 var t1, t2,
65323 res = this.target.compareTo$1(0, other.target);
65324 if (res !== 0)
65325 return res;
65326 t1 = this.source;
65327 t2 = other.source;
65328 res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
65329 if (res !== 0)
65330 return res;
65331 return t1.compareTo$1(0, t2);
65332 },
65333 $isComparable: 1
65334 };
65335 A.Mapping.prototype = {};
65336 A.SingleMapping.prototype = {
65337 toJson$1$includeSourceContents(includeSourceContents) {
65338 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,
65339 buff = new A.StringBuffer("");
65340 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) {
65341 entry = t1[_i];
65342 nextLine = entry.line;
65343 if (nextLine > line) {
65344 for (i = line; i < nextLine; ++i)
65345 buff._contents += ";";
65346 line = nextLine;
65347 column = 0;
65348 first = true;
65349 }
65350 for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
65351 t4 = t3.get$current(t3);
65352 if (!first)
65353 buff._contents += ",";
65354 column0 = t4.column;
65355 t5 = A.encodeVlq(column0 - column);
65356 t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
65357 buff._contents = t5;
65358 newUrlId = t4.sourceUrlId;
65359 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
65360 buff._contents = t5;
65361 srcLine0 = t4.sourceLine;
65362 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
65363 buff._contents = t5;
65364 srcColumn0 = t4.sourceColumn;
65365 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
65366 buff._contents = t5;
65367 srcNameId0 = t4.sourceNameId;
65368 if (srcNameId0 == null) {
65369 srcUrlId = newUrlId;
65370 srcColumn = srcColumn0;
65371 srcLine = srcLine0;
65372 continue;
65373 }
65374 buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
65375 srcNameId = srcNameId0;
65376 srcUrlId = newUrlId;
65377 srcColumn = srcColumn0;
65378 srcLine = srcLine0;
65379 }
65380 }
65381 t1 = _this.sourceRoot;
65382 if (t1 == null)
65383 t1 = "";
65384 t2 = buff._contents;
65385 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);
65386 t1 = _this.targetUrl;
65387 if (t1 != null)
65388 result.$indexSet(0, "file", t1);
65389 if (includeSourceContents) {
65390 t1 = _this.files;
65391 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
65392 result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
65393 }
65394 _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
65395 return result;
65396 },
65397 toJson$0() {
65398 return this.toJson$1$includeSourceContents(false);
65399 },
65400 toString$0(_) {
65401 var _this = this,
65402 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) + "]";
65403 return t1.charCodeAt(0) == 0 ? t1 : t1;
65404 }
65405 };
65406 A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
65407 call$0() {
65408 var t1 = this.urls;
65409 return t1.get$length(t1);
65410 },
65411 $signature: 12
65412 };
65413 A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
65414 call$0() {
65415 return this.sourceEntry.source.file;
65416 },
65417 $signature: 277
65418 };
65419 A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
65420 call$1(i) {
65421 return this.files.$index(0, i);
65422 },
65423 $signature: 278
65424 };
65425 A.SingleMapping_toJson_closure.prototype = {
65426 call$1(file) {
65427 return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
65428 },
65429 $signature: 279
65430 };
65431 A.SingleMapping_toJson_closure0.prototype = {
65432 call$2($name, value) {
65433 this.result.$indexSet(0, $name, value);
65434 return value;
65435 },
65436 $signature: 232
65437 };
65438 A.TargetLineEntry.prototype = {
65439 toString$0(_) {
65440 return A.getRuntimeType(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
65441 }
65442 };
65443 A.TargetEntry.prototype = {
65444 toString$0(_) {
65445 var _this = this;
65446 return A.getRuntimeType(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
65447 }
65448 };
65449 A.SourceFile.prototype = {
65450 get$length(_) {
65451 return this._decodedChars.length;
65452 },
65453 get$lines() {
65454 return this._lineStarts.length;
65455 },
65456 SourceFile$decoded$2$url(decodedChars, url) {
65457 var t1, t2, t3, i, c, j;
65458 for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
65459 c = t1[i];
65460 if (c === 13) {
65461 j = i + 1;
65462 if (j >= t2 || t1[j] !== 10)
65463 c = 10;
65464 }
65465 if (c === 10)
65466 t3.push(i + 1);
65467 }
65468 },
65469 span$2(_, start, end) {
65470 return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
65471 },
65472 span$1($receiver, start) {
65473 return this.span$2($receiver, start, null);
65474 },
65475 getLine$1(offset) {
65476 var t1, _this = this;
65477 if (offset < 0)
65478 throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
65479 else if (offset > _this._decodedChars.length)
65480 throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(_this) + "."));
65481 t1 = _this._lineStarts;
65482 if (offset < B.JSArray_methods.get$first(t1))
65483 return -1;
65484 if (offset >= B.JSArray_methods.get$last(t1))
65485 return t1.length - 1;
65486 if (_this._isNearCachedLine$1(offset)) {
65487 t1 = _this._cachedLine;
65488 t1.toString;
65489 return t1;
65490 }
65491 return _this._cachedLine = _this._binarySearch$1(offset) - 1;
65492 },
65493 _isNearCachedLine$1(offset) {
65494 var t2, t3,
65495 t1 = this._cachedLine;
65496 if (t1 == null)
65497 return false;
65498 t2 = this._lineStarts;
65499 if (offset < t2[t1])
65500 return false;
65501 t3 = t2.length;
65502 if (t1 >= t3 - 1 || offset < t2[t1 + 1])
65503 return true;
65504 if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
65505 this._cachedLine = t1 + 1;
65506 return true;
65507 }
65508 return false;
65509 },
65510 _binarySearch$1(offset) {
65511 var min, half,
65512 t1 = this._lineStarts,
65513 max = t1.length - 1;
65514 for (min = 0; min < max;) {
65515 half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
65516 if (t1[half] > offset)
65517 max = half;
65518 else
65519 min = half + 1;
65520 }
65521 return max;
65522 },
65523 getColumn$1(offset) {
65524 var line, lineStart, _this = this;
65525 if (offset < 0)
65526 throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
65527 else if (offset > _this._decodedChars.length)
65528 throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(_this) + "."));
65529 line = _this.getLine$1(offset);
65530 lineStart = _this._lineStarts[line];
65531 if (lineStart > offset)
65532 throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
65533 return offset - lineStart;
65534 },
65535 getOffset$1(line) {
65536 var t1, t2, result, t3;
65537 if (line < 0)
65538 throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
65539 else {
65540 t1 = this._lineStarts;
65541 t2 = t1.length;
65542 if (line >= t2)
65543 throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
65544 }
65545 result = t1[line];
65546 if (result <= this._decodedChars.length) {
65547 t3 = line + 1;
65548 t1 = t3 < t2 && result >= t1[t3];
65549 } else
65550 t1 = true;
65551 if (t1)
65552 throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
65553 return result;
65554 }
65555 };
65556 A.FileLocation.prototype = {
65557 get$sourceUrl(_) {
65558 return this.file.url;
65559 },
65560 get$line() {
65561 return this.file.getLine$1(this.offset);
65562 },
65563 get$column() {
65564 return this.file.getColumn$1(this.offset);
65565 },
65566 pointSpan$0() {
65567 var t1 = this.offset;
65568 return A._FileSpan$(this.file, t1, t1);
65569 },
65570 get$offset() {
65571 return this.offset;
65572 }
65573 };
65574 A._FileSpan.prototype = {
65575 get$sourceUrl(_) {
65576 return this.file.url;
65577 },
65578 get$length(_) {
65579 return this._end - this._file$_start;
65580 },
65581 get$start(_) {
65582 return A.FileLocation$_(this.file, this._file$_start);
65583 },
65584 get$end(_) {
65585 return A.FileLocation$_(this.file, this._end);
65586 },
65587 get$text() {
65588 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
65589 },
65590 get$context(_) {
65591 var _this = this,
65592 t1 = _this.file,
65593 endOffset = _this._end,
65594 endLine = t1.getLine$1(endOffset);
65595 if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
65596 if (endOffset - _this._file$_start === 0)
65597 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);
65598 } else
65599 endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
65600 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
65601 },
65602 _FileSpan$3(file, _start, _end) {
65603 var t3,
65604 t1 = this._end,
65605 t2 = this._file$_start;
65606 if (t1 < t2)
65607 throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
65608 else {
65609 t3 = this.file;
65610 if (t1 > t3._decodedChars.length)
65611 throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_ + t3.get$length(t3) + "."));
65612 else if (t2 < 0)
65613 throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
65614 }
65615 },
65616 compareTo$1(_, other) {
65617 var result;
65618 if (!(other instanceof A._FileSpan))
65619 return this.super$SourceSpanMixin$compareTo(0, other);
65620 result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
65621 return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
65622 },
65623 $eq(_, other) {
65624 var _this = this;
65625 if (other == null)
65626 return false;
65627 if (!type$.FileSpan._is(other))
65628 return _this.super$SourceSpanMixin$$eq(0, other);
65629 return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
65630 },
65631 get$hashCode(_) {
65632 return A.Object_hash(this._file$_start, this._end, this.file.url);
65633 },
65634 expand$1(_, other) {
65635 var start, _this = this,
65636 t1 = _this.file;
65637 if (!J.$eq$(t1.url, other.file.url))
65638 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65639 start = Math.min(_this._file$_start, other._file$_start);
65640 return A._FileSpan$(t1, start, Math.max(_this._end, other._end));
65641 },
65642 $isFileSpan: 1,
65643 $isSourceSpanWithContext: 1
65644 };
65645 A.Highlighter.prototype = {
65646 highlight$0() {
65647 var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
65648 t1 = _this._lines;
65649 _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
65650 t2 = _this._maxMultilineSpans;
65651 highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
65652 for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
65653 line = t1[i];
65654 if (i > 0) {
65655 lastLine = t1[i - 1];
65656 t5 = lastLine.url;
65657 t6 = line.url;
65658 if (!J.$eq$(t5, t6)) {
65659 _this._writeSidebar$1$end($._glyphs.get$upEnd());
65660 t3._contents += "\n";
65661 _this._writeFileStart$1(t6);
65662 } else if (lastLine.number + 1 !== line.number) {
65663 _this._writeSidebar$1$text("...");
65664 t3._contents += "\n";
65665 }
65666 }
65667 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();) {
65668 t10 = t7._as(t6.__internal$_current);
65669 t11 = t10.span;
65670 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()))) {
65671 index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
65672 if (index < 0)
65673 A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
65674 highlightsByColumn[index] = t10;
65675 }
65676 }
65677 _this._writeSidebar$1$line(t8);
65678 t3._contents += " ";
65679 _this._writeMultilineHighlights$2(line, highlightsByColumn);
65680 if (t2)
65681 t3._contents += " ";
65682 primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
65683 primary = primaryIdx === -1 ? _null : t5[primaryIdx];
65684 t6 = primary != null;
65685 if (t6) {
65686 t7 = primary.span;
65687 t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
65688 _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
65689 } else
65690 _this._writeText$1(t9);
65691 t3._contents += "\n";
65692 if (t6)
65693 _this._writeIndicator$3(line, primary, highlightsByColumn);
65694 for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
65695 highlight = t5[_i];
65696 if (highlight.isPrimary)
65697 continue;
65698 _this._writeIndicator$3(line, highlight, highlightsByColumn);
65699 }
65700 }
65701 _this._writeSidebar$1$end($._glyphs.get$upEnd());
65702 t1 = t3._contents;
65703 return t1.charCodeAt(0) == 0 ? t1 : t1;
65704 },
65705 _writeFileStart$1(url) {
65706 var _this = this,
65707 t1 = !_this._multipleFiles || !type$.Uri._is(url),
65708 t2 = $._glyphs;
65709 if (t1)
65710 _this._writeSidebar$1$end(t2.get$downEnd());
65711 else {
65712 _this._writeSidebar$1$end(t2.get$topLeftCorner());
65713 _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
65714 _this._highlighter$_buffer._contents += " " + $.$get$context().prettyUri$1(url);
65715 }
65716 _this._highlighter$_buffer._contents += "\n";
65717 },
65718 _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
65719 var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
65720 _box_0.openedOnThisLine = false;
65721 _box_0.openedOnThisLineColor = null;
65722 t1 = current == null;
65723 if (t1)
65724 currentColor = null;
65725 else
65726 currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
65727 for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
65728 highlight = highlightsByColumn[_i];
65729 t6 = highlight == null;
65730 if (t6)
65731 startLine = null;
65732 else {
65733 t7 = highlight.span;
65734 startLine = t7.get$start(t7).get$line();
65735 }
65736 if (t6)
65737 endLine = null;
65738 else {
65739 t7 = highlight.span;
65740 endLine = t7.get$end(t7).get$line();
65741 }
65742 if (t1 && highlight === current) {
65743 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
65744 foundCurrent = true;
65745 } else if (foundCurrent)
65746 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
65747 else if (t6)
65748 if (_box_0.openedOnThisLine)
65749 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
65750 else
65751 t5._contents += " ";
65752 else {
65753 t6 = highlight.isPrimary ? t4 : t3;
65754 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
65755 }
65756 }
65757 },
65758 _writeMultilineHighlights$2(line, highlightsByColumn) {
65759 return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
65760 },
65761 _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
65762 var _this = this;
65763 _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
65764 _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
65765 _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
65766 },
65767 _writeIndicator$3(line, highlight, highlightsByColumn) {
65768 var t2, coversWholeLine, _this = this,
65769 color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
65770 t1 = highlight.span;
65771 if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
65772 _this._writeSidebar$0();
65773 t1 = _this._highlighter$_buffer;
65774 t1._contents += " ";
65775 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65776 if (highlightsByColumn.length !== 0)
65777 t1._contents += " ";
65778 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color);
65779 t1._contents += "\n";
65780 } else {
65781 t2 = line.number;
65782 if (t1.get$start(t1).get$line() === t2) {
65783 if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
65784 return;
65785 A.replaceFirstNull(highlightsByColumn, highlight);
65786 _this._writeSidebar$0();
65787 t1 = _this._highlighter$_buffer;
65788 t1._contents += " ";
65789 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65790 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
65791 t1._contents += "\n";
65792 } else if (t1.get$end(t1).get$line() === t2) {
65793 coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
65794 if (coversWholeLine && highlight.label == null) {
65795 A.replaceWithNull(highlightsByColumn, highlight);
65796 return;
65797 }
65798 _this._writeSidebar$0();
65799 t1 = _this._highlighter$_buffer;
65800 t1._contents += " ";
65801 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65802 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color);
65803 t1._contents += "\n";
65804 A.replaceWithNull(highlightsByColumn, highlight);
65805 }
65806 }
65807 },
65808 _writeArrow$3$beginning(line, column, beginning) {
65809 var t2,
65810 t1 = beginning ? 0 : 1,
65811 tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
65812 t1 = this._highlighter$_buffer;
65813 t2 = t1._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
65814 t1._contents = t2 + "^";
65815 },
65816 _writeArrow$2(line, column) {
65817 return this._writeArrow$3$beginning(line, column, true);
65818 },
65819 _writeText$1(text) {
65820 var t1, t2, t3, t4;
65821 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();) {
65822 t4 = t3._as(t1.__internal$_current);
65823 if (t4 === 9)
65824 t2._contents += B.JSString_methods.$mul(" ", 4);
65825 else
65826 t2._contents += A.Primitives_stringFromCharCode(t4);
65827 }
65828 },
65829 _writeSidebar$3$end$line$text(end, line, text) {
65830 var t1 = {};
65831 t1.text = text;
65832 if (line != null)
65833 t1.text = B.JSInt_methods.toString$0(line + 1);
65834 this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
65835 },
65836 _writeSidebar$1$end(end) {
65837 return this._writeSidebar$3$end$line$text(end, null, null);
65838 },
65839 _writeSidebar$1$text(text) {
65840 return this._writeSidebar$3$end$line$text(null, null, text);
65841 },
65842 _writeSidebar$1$line(line) {
65843 return this._writeSidebar$3$end$line$text(null, line, null);
65844 },
65845 _writeSidebar$0() {
65846 return this._writeSidebar$3$end$line$text(null, null, null);
65847 },
65848 _countTabs$1(text) {
65849 var t1, t2, count;
65850 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();)
65851 if (t2._as(t1.__internal$_current) === 9)
65852 ++count;
65853 return count;
65854 },
65855 _isOnlyWhitespace$1(text) {
65856 var t1, t2, t3;
65857 for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
65858 t3 = t2._as(t1.__internal$_current);
65859 if (t3 !== 32 && t3 !== 9)
65860 return false;
65861 }
65862 return true;
65863 },
65864 _colorize$2$color(callback, color) {
65865 var t1 = this._primaryColor != null;
65866 if (t1 && color != null)
65867 this._highlighter$_buffer._contents += color;
65868 callback.call$0();
65869 if (t1 && color != null)
65870 this._highlighter$_buffer._contents += "\x1b[0m";
65871 }
65872 };
65873 A.Highlighter_closure.prototype = {
65874 call$0() {
65875 var t1 = this.color,
65876 t2 = J.getInterceptor$(t1);
65877 if (t2.$eq(t1, true))
65878 return "\x1b[31m";
65879 if (t2.$eq(t1, false))
65880 return null;
65881 return A._asStringQ(t1);
65882 },
65883 $signature: 41
65884 };
65885 A.Highlighter$__closure.prototype = {
65886 call$1(line) {
65887 var t1 = line.highlights;
65888 t1 = new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"));
65889 return t1.get$length(t1);
65890 },
65891 $signature: 280
65892 };
65893 A.Highlighter$___closure.prototype = {
65894 call$1(highlight) {
65895 var t1 = highlight.span;
65896 return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
65897 },
65898 $signature: 114
65899 };
65900 A.Highlighter$__closure0.prototype = {
65901 call$1(line) {
65902 return line.url;
65903 },
65904 $signature: 282
65905 };
65906 A.Highlighter__collateLines_closure.prototype = {
65907 call$1(highlight) {
65908 var t1 = highlight.span;
65909 t1 = t1.get$sourceUrl(t1);
65910 return t1 == null ? new A.Object() : t1;
65911 },
65912 $signature: 283
65913 };
65914 A.Highlighter__collateLines_closure0.prototype = {
65915 call$2(highlight1, highlight2) {
65916 return highlight1.span.compareTo$1(0, highlight2.span);
65917 },
65918 $signature: 284
65919 };
65920 A.Highlighter__collateLines_closure1.prototype = {
65921 call$1(entry) {
65922 var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength,
65923 url = entry.key,
65924 highlightsForFile = entry.value,
65925 lines = A._setArrayType([], type$.JSArray__Line);
65926 for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
65927 t4 = t2.get$current(t2).span;
65928 context = t4.get$context(t4);
65929 t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
65930 t5.toString;
65931 t5 = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5));
65932 linesBeforeSpan = t5.get$length(t5);
65933 lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
65934 for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
65935 line = t4[_i];
65936 if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
65937 lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
65938 ++lineNumber;
65939 }
65940 }
65941 activeHighlights = A._setArrayType([], t3);
65942 for (t2 = lines.length, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
65943 line = lines[_i];
65944 if (!!activeHighlights.fixed$length)
65945 A.throwExpression(A.UnsupportedError$("removeWhere"));
65946 B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
65947 oldHighlightLength = activeHighlights.length;
65948 for (t3 = t1.skip$1(highlightsForFile, highlightIndex), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
65949 t4 = t3.get$current(t3);
65950 t5 = t4.span;
65951 if (t5.get$start(t5).get$line() > line.number)
65952 break;
65953 activeHighlights.push(t4);
65954 }
65955 highlightIndex += activeHighlights.length - oldHighlightLength;
65956 B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
65957 }
65958 return lines;
65959 },
65960 $signature: 285
65961 };
65962 A.Highlighter__collateLines__closure.prototype = {
65963 call$1(highlight) {
65964 var t1 = highlight.span;
65965 return t1.get$end(t1).get$line() < this.line.number;
65966 },
65967 $signature: 114
65968 };
65969 A.Highlighter_highlight_closure.prototype = {
65970 call$1(highlight) {
65971 return highlight.isPrimary;
65972 },
65973 $signature: 114
65974 };
65975 A.Highlighter__writeFileStart_closure.prototype = {
65976 call$0() {
65977 this.$this._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
65978 return null;
65979 },
65980 $signature: 0
65981 };
65982 A.Highlighter__writeMultilineHighlights_closure.prototype = {
65983 call$0() {
65984 var t1 = $._glyphs;
65985 t1 = this.startLine === this.line.number ? t1.get$topLeftCorner() : t1.get$bottomLeftCorner();
65986 this.$this._highlighter$_buffer._contents += t1;
65987 },
65988 $signature: 0
65989 };
65990 A.Highlighter__writeMultilineHighlights_closure0.prototype = {
65991 call$0() {
65992 var t1 = $._glyphs;
65993 t1 = this.highlight == null ? t1.get$horizontalLine() : t1.get$cross();
65994 this.$this._highlighter$_buffer._contents += t1;
65995 },
65996 $signature: 0
65997 };
65998 A.Highlighter__writeMultilineHighlights_closure1.prototype = {
65999 call$0() {
66000 this.$this._highlighter$_buffer._contents += $._glyphs.get$horizontalLine();
66001 return null;
66002 },
66003 $signature: 0
66004 };
66005 A.Highlighter__writeMultilineHighlights_closure2.prototype = {
66006 call$0() {
66007 var _this = this,
66008 t1 = _this._box_0,
66009 t2 = t1.openedOnThisLine,
66010 t3 = $._glyphs,
66011 vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
66012 if (_this.current != null)
66013 _this.$this._highlighter$_buffer._contents += vertical;
66014 else {
66015 t2 = _this.line;
66016 t3 = t2.number;
66017 if (_this.startLine === t3) {
66018 t2 = _this.$this;
66019 t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
66020 t1.openedOnThisLine = true;
66021 if (t1.openedOnThisLineColor == null)
66022 t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
66023 } else {
66024 if (_this.endLine === t3) {
66025 t3 = _this.highlight.span;
66026 t2 = t3.get$end(t3).get$column() === t2.text.length;
66027 } else
66028 t2 = false;
66029 t3 = _this.$this;
66030 if (t2) {
66031 t1 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
66032 t3._highlighter$_buffer._contents += t1;
66033 } else
66034 t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
66035 }
66036 }
66037 },
66038 $signature: 0
66039 };
66040 A.Highlighter__writeMultilineHighlights__closure.prototype = {
66041 call$0() {
66042 var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
66043 this.$this._highlighter$_buffer._contents += $._glyphs.glyphOrAscii$2(t1, "/");
66044 },
66045 $signature: 0
66046 };
66047 A.Highlighter__writeMultilineHighlights__closure0.prototype = {
66048 call$0() {
66049 this.$this._highlighter$_buffer._contents += this.vertical;
66050 },
66051 $signature: 0
66052 };
66053 A.Highlighter__writeHighlightedText_closure.prototype = {
66054 call$0() {
66055 var _this = this;
66056 return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
66057 },
66058 $signature: 0
66059 };
66060 A.Highlighter__writeIndicator_closure.prototype = {
66061 call$0() {
66062 var tabsBefore, tabsInside,
66063 t1 = this.$this,
66064 t2 = this.highlight,
66065 t3 = t2.span,
66066 t4 = t2.isPrimary ? "^" : $._glyphs.get$horizontalLineBold(),
66067 startColumn = t3.get$start(t3).get$column(),
66068 endColumn = t3.get$end(t3).get$column();
66069 t3 = this.line.text;
66070 tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t3, 0, startColumn));
66071 tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t3, startColumn, endColumn));
66072 startColumn += tabsBefore * 3;
66073 t1 = t1._highlighter$_buffer;
66074 t1._contents += B.JSString_methods.$mul(" ", startColumn);
66075 t4 = t1._contents += B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
66076 t2 = t2.label;
66077 if (t2 != null)
66078 t1._contents = t4 + (" " + t2);
66079 },
66080 $signature: 0
66081 };
66082 A.Highlighter__writeIndicator_closure0.prototype = {
66083 call$0() {
66084 var t1 = this.highlight.span;
66085 return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
66086 },
66087 $signature: 0
66088 };
66089 A.Highlighter__writeIndicator_closure1.prototype = {
66090 call$0() {
66091 var t2, _this = this,
66092 t1 = _this.$this;
66093 if (_this.coversWholeLine)
66094 t1._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
66095 else {
66096 t2 = _this.highlight.span;
66097 t1._writeArrow$3$beginning(_this.line, Math.max(t2.get$end(t2).get$column() - 1, 0), false);
66098 }
66099 t2 = _this.highlight.label;
66100 if (t2 != null)
66101 t1._highlighter$_buffer._contents += " " + t2;
66102 },
66103 $signature: 0
66104 };
66105 A.Highlighter__writeSidebar_closure.prototype = {
66106 call$0() {
66107 var t1 = this.$this,
66108 t2 = t1._highlighter$_buffer,
66109 t3 = this._box_0.text;
66110 if (t3 == null)
66111 t3 = "";
66112 t2._contents += B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
66113 t1 = this.end;
66114 t2._contents += t1 == null ? $._glyphs.get$verticalLine() : t1;
66115 },
66116 $signature: 0
66117 };
66118 A._Highlight.prototype = {
66119 toString$0(_) {
66120 var t1 = this.isPrimary ? "" + "primary " : "",
66121 t2 = this.span;
66122 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());
66123 t1 = this.label;
66124 t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
66125 return t1.charCodeAt(0) == 0 ? t1 : t1;
66126 }
66127 };
66128 A._Highlight_closure.prototype = {
66129 call$0() {
66130 var t2, t3, t4, t5,
66131 t1 = this.span;
66132 if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
66133 t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
66134 t3 = t1.get$end(t1).get$offset();
66135 t4 = t1.get$sourceUrl(t1);
66136 t5 = A.countCodeUnits(t1.get$text(), 10);
66137 t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
66138 }
66139 return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
66140 },
66141 $signature: 286
66142 };
66143 A._Line.prototype = {
66144 toString$0(_) {
66145 return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
66146 }
66147 };
66148 A.SourceLocation.prototype = {
66149 distance$1(other) {
66150 var t1 = this.sourceUrl;
66151 if (!J.$eq$(t1, other.get$sourceUrl(other)))
66152 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
66153 return Math.abs(this.offset - other.get$offset());
66154 },
66155 compareTo$1(_, other) {
66156 var t1 = this.sourceUrl;
66157 if (!J.$eq$(t1, other.get$sourceUrl(other)))
66158 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
66159 return this.offset - other.get$offset();
66160 },
66161 $eq(_, other) {
66162 if (other == null)
66163 return false;
66164 return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
66165 },
66166 get$hashCode(_) {
66167 var t1 = this.sourceUrl;
66168 t1 = t1 == null ? null : t1.get$hashCode(t1);
66169 if (t1 == null)
66170 t1 = 0;
66171 return t1 + this.offset;
66172 },
66173 toString$0(_) {
66174 var _this = this,
66175 t1 = "<" + A.getRuntimeType(_this).toString$0(0) + ": " + _this.offset + " ",
66176 source = _this.sourceUrl;
66177 return t1 + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
66178 },
66179 $isComparable: 1,
66180 get$sourceUrl(receiver) {
66181 return this.sourceUrl;
66182 },
66183 get$offset() {
66184 return this.offset;
66185 },
66186 get$line() {
66187 return this.line;
66188 },
66189 get$column() {
66190 return this.column;
66191 }
66192 };
66193 A.SourceLocationMixin.prototype = {
66194 distance$1(other) {
66195 var _this = this;
66196 if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
66197 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
66198 return Math.abs(_this.offset - other.get$offset());
66199 },
66200 compareTo$1(_, other) {
66201 var _this = this;
66202 if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
66203 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
66204 return _this.offset - other.get$offset();
66205 },
66206 $eq(_, other) {
66207 if (other == null)
66208 return false;
66209 return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
66210 },
66211 get$hashCode(_) {
66212 var t1 = this.file.url;
66213 t1 = t1 == null ? null : t1.get$hashCode(t1);
66214 if (t1 == null)
66215 t1 = 0;
66216 return t1 + this.offset;
66217 },
66218 toString$0(_) {
66219 var t1 = this.offset,
66220 t2 = "<" + A.getRuntimeType(this).toString$0(0) + ": " + t1 + " ",
66221 t3 = this.file,
66222 source = t3.url;
66223 return t2 + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t1) + 1) + ":" + (t3.getColumn$1(t1) + 1)) + ">";
66224 },
66225 $isComparable: 1,
66226 $isSourceLocation: 1
66227 };
66228 A.SourceSpanBase.prototype = {
66229 SourceSpanBase$3(start, end, text) {
66230 var t3,
66231 t1 = this.end,
66232 t2 = this.start;
66233 if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
66234 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
66235 else if (t1.get$offset() < t2.get$offset())
66236 throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
66237 else {
66238 t3 = this.text;
66239 if (t3.length !== t2.distance$1(t1))
66240 throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
66241 }
66242 },
66243 get$start(receiver) {
66244 return this.start;
66245 },
66246 get$end(receiver) {
66247 return this.end;
66248 },
66249 get$text() {
66250 return this.text;
66251 }
66252 };
66253 A.SourceSpanException.prototype = {
66254 get$message(_) {
66255 return this._span_exception$_message;
66256 },
66257 get$span(_) {
66258 return this._span;
66259 },
66260 toString$1$color(_, color) {
66261 var _this = this;
66262 _this.get$span(_this);
66263 return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
66264 },
66265 toString$0($receiver) {
66266 return this.toString$1$color($receiver, null);
66267 },
66268 $isException: 1
66269 };
66270 A.SourceSpanFormatException.prototype = {$isFormatException: 1,
66271 get$source() {
66272 return this.source;
66273 }
66274 };
66275 A.SourceSpanMixin.prototype = {
66276 get$sourceUrl(_) {
66277 var t1 = this.get$start(this);
66278 return t1.get$sourceUrl(t1);
66279 },
66280 get$length(_) {
66281 var _this = this;
66282 return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
66283 },
66284 compareTo$1(_, other) {
66285 var _this = this,
66286 result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
66287 return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
66288 },
66289 message$2$color(_, message, color) {
66290 var t2, highlight, _this = this,
66291 t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
66292 if (_this.get$sourceUrl(_this) != null) {
66293 t2 = _this.get$sourceUrl(_this);
66294 t2 = t1 + (" of " + $.$get$context().prettyUri$1(t2));
66295 t1 = t2;
66296 }
66297 t1 += ": " + message;
66298 highlight = _this.highlight$1$color(color);
66299 if (highlight.length !== 0)
66300 t1 = t1 + "\n" + highlight;
66301 return t1.charCodeAt(0) == 0 ? t1 : t1;
66302 },
66303 message$1($receiver, message) {
66304 return this.message$2$color($receiver, message, null);
66305 },
66306 highlight$1$color(color) {
66307 var _this = this;
66308 if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
66309 return "";
66310 return A.Highlighter$(_this, color).highlight$0();
66311 },
66312 $eq(_, other) {
66313 var _this = this;
66314 if (other == null)
66315 return false;
66316 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));
66317 },
66318 get$hashCode(_) {
66319 var _this = this;
66320 return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue);
66321 },
66322 toString$0(_) {
66323 var _this = this;
66324 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() + '">';
66325 },
66326 $isComparable: 1,
66327 $isSourceSpan: 1
66328 };
66329 A.SourceSpanWithContext.prototype = {
66330 get$context(_) {
66331 return this._context;
66332 }
66333 };
66334 A.Chain.prototype = {
66335 toTrace$0() {
66336 var t1 = this.traces;
66337 return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
66338 },
66339 toString$0(_) {
66340 var t1 = this.traces,
66341 t2 = A._arrayInstanceType(t1);
66342 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_____);
66343 },
66344 $isStackTrace: 1
66345 };
66346 A.Chain_Chain$parse_closure.prototype = {
66347 call$1(line) {
66348 return line.length !== 0;
66349 },
66350 $signature: 6
66351 };
66352 A.Chain_Chain$parse_closure0.prototype = {
66353 call$1(trace) {
66354 return A.Trace$parseVM(trace);
66355 },
66356 $signature: 150
66357 };
66358 A.Chain_Chain$parse_closure1.prototype = {
66359 call$1(trace) {
66360 return A.Trace$parseFriendly(trace);
66361 },
66362 $signature: 150
66363 };
66364 A.Chain_toTrace_closure.prototype = {
66365 call$1(trace) {
66366 return trace.get$frames();
66367 },
66368 $signature: 289
66369 };
66370 A.Chain_toString_closure0.prototype = {
66371 call$1(trace) {
66372 var t1 = trace.get$frames();
66373 return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
66374 },
66375 $signature: 290
66376 };
66377 A.Chain_toString__closure0.prototype = {
66378 call$1(frame) {
66379 return frame.get$location().length;
66380 },
66381 $signature: 148
66382 };
66383 A.Chain_toString_closure.prototype = {
66384 call$1(trace) {
66385 var t1 = trace.get$frames();
66386 return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
66387 },
66388 $signature: 292
66389 };
66390 A.Chain_toString__closure.prototype = {
66391 call$1(frame) {
66392 return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
66393 },
66394 $signature: 149
66395 };
66396 A.Frame.prototype = {
66397 get$isCore() {
66398 return this.uri.get$scheme() === "dart";
66399 },
66400 get$library() {
66401 var t1 = this.uri;
66402 if (t1.get$scheme() === "data")
66403 return "data:...";
66404 return $.$get$context().prettyUri$1(t1);
66405 },
66406 get$$package() {
66407 var t1 = this.uri;
66408 if (t1.get$scheme() !== "package")
66409 return null;
66410 return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
66411 },
66412 get$location() {
66413 var t2, _this = this,
66414 t1 = _this.line;
66415 if (t1 == null)
66416 return _this.get$library();
66417 t2 = _this.column;
66418 if (t2 == null)
66419 return _this.get$library() + " " + A.S(t1);
66420 return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
66421 },
66422 toString$0(_) {
66423 return this.get$location() + " in " + A.S(this.member);
66424 },
66425 get$uri() {
66426 return this.uri;
66427 },
66428 get$line() {
66429 return this.line;
66430 },
66431 get$column() {
66432 return this.column;
66433 },
66434 get$member() {
66435 return this.member;
66436 }
66437 };
66438 A.Frame_Frame$parseVM_closure.prototype = {
66439 call$0() {
66440 var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
66441 t1 = this.frame;
66442 if (t1 === "...")
66443 return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
66444 match = $.$get$_vmFrame().firstMatch$1(t1);
66445 if (match == null)
66446 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
66447 t1 = match._match;
66448 t2 = t1[1];
66449 t2.toString;
66450 t3 = $.$get$_asyncBody();
66451 t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
66452 member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
66453 t2 = t1[2];
66454 t3 = t2;
66455 t3.toString;
66456 if (B.JSString_methods.startsWith$1(t3, "<data:"))
66457 uri = A.Uri_Uri$dataFromString("", _null, _null);
66458 else {
66459 t2 = t2;
66460 t2.toString;
66461 uri = A.Uri_parse(t2);
66462 }
66463 lineAndColumn = t1[3].split(":");
66464 t1 = lineAndColumn.length;
66465 line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
66466 return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
66467 },
66468 $signature: 67
66469 };
66470 A.Frame_Frame$parseV8_closure.prototype = {
66471 call$0() {
66472 var t2, t3, _s4_ = "<fn>",
66473 t1 = this.frame,
66474 match = $.$get$_v8Frame().firstMatch$1(t1);
66475 if (match == null)
66476 return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
66477 t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1);
66478 t2 = match._match;
66479 t3 = t2[2];
66480 if (t3 != null) {
66481 t3 = t3;
66482 t3.toString;
66483 t2 = t2[1];
66484 t2.toString;
66485 t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
66486 t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
66487 return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
66488 } else {
66489 t2 = t2[3];
66490 t2.toString;
66491 return t1.call$2(t2, _s4_);
66492 }
66493 },
66494 $signature: 67
66495 };
66496 A.Frame_Frame$parseV8_closure_parseLocation.prototype = {
66497 call$2($location, member) {
66498 var t2, urlMatch, uri, line, columnMatch, _null = null,
66499 t1 = $.$get$_v8EvalLocation(),
66500 evalMatch = t1.firstMatch$1($location);
66501 for (; evalMatch != null; $location = t2) {
66502 t2 = evalMatch._match[1];
66503 t2.toString;
66504 evalMatch = t1.firstMatch$1(t2);
66505 }
66506 if ($location === "native")
66507 return new A.Frame(A.Uri_parse("native"), _null, _null, member);
66508 urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location);
66509 if (urlMatch == null)
66510 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
66511 t1 = urlMatch._match;
66512 t2 = t1[1];
66513 t2.toString;
66514 uri = A.Frame__uriOrPathToUri(t2);
66515 t2 = t1[2];
66516 t2.toString;
66517 line = A.int_parse(t2, _null);
66518 columnMatch = t1[3];
66519 return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
66520 },
66521 $signature: 295
66522 };
66523 A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
66524 call$0() {
66525 var t2, member, uri, line, _null = null,
66526 t1 = this.frame,
66527 match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
66528 if (match == null)
66529 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
66530 t1 = match._match;
66531 t2 = t1[1];
66532 t2.toString;
66533 member = A.stringReplaceAllUnchecked(t2, "/<", "");
66534 t2 = t1[2];
66535 t2.toString;
66536 uri = A.Frame__uriOrPathToUri(t2);
66537 t1 = t1[3];
66538 t1.toString;
66539 line = A.int_parse(t1, _null);
66540 return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
66541 },
66542 $signature: 67
66543 };
66544 A.Frame_Frame$parseFirefox_closure.prototype = {
66545 call$0() {
66546 var t2, t3, t4, uri, member, line, column, _null = null,
66547 t1 = this.frame,
66548 match = $.$get$_firefoxSafariFrame().firstMatch$1(t1);
66549 if (match == null)
66550 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
66551 t2 = match._match;
66552 t3 = t2[3];
66553 t4 = t3;
66554 t4.toString;
66555 if (B.JSString_methods.contains$1(t4, " line "))
66556 return A.Frame_Frame$_parseFirefoxEval(t1);
66557 t1 = t3;
66558 t1.toString;
66559 uri = A.Frame__uriOrPathToUri(t1);
66560 member = t2[1];
66561 if (member != null) {
66562 t1 = t2[2];
66563 t1.toString;
66564 t1 = B.JSString_methods.allMatches$1("/", t1);
66565 member += B.JSArray_methods.join$0(A.List_List$filled(t1.get$length(t1), ".<fn>", false, type$.String));
66566 if (member === "")
66567 member = "<fn>";
66568 member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
66569 } else
66570 member = "<fn>";
66571 t1 = t2[4];
66572 if (t1 === "")
66573 line = _null;
66574 else {
66575 t1 = t1;
66576 t1.toString;
66577 line = A.int_parse(t1, _null);
66578 }
66579 t1 = t2[5];
66580 if (t1 == null || t1 === "")
66581 column = _null;
66582 else {
66583 t1 = t1;
66584 t1.toString;
66585 column = A.int_parse(t1, _null);
66586 }
66587 return new A.Frame(uri, line, column, member);
66588 },
66589 $signature: 67
66590 };
66591 A.Frame_Frame$parseFriendly_closure.prototype = {
66592 call$0() {
66593 var t2, uri, line, column, _null = null,
66594 t1 = this.frame,
66595 match = $.$get$_friendlyFrame().firstMatch$1(t1);
66596 if (match == null)
66597 throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
66598 t1 = match._match;
66599 t2 = t1[1];
66600 if (t2 === "data:...")
66601 uri = A.Uri_Uri$dataFromString("", _null, _null);
66602 else {
66603 t2 = t2;
66604 t2.toString;
66605 uri = A.Uri_parse(t2);
66606 }
66607 if (uri.get$scheme() === "") {
66608 t2 = $.$get$context();
66609 uri = t2.toUri$1(t2.absolute$7(t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null));
66610 }
66611 t2 = t1[2];
66612 if (t2 == null)
66613 line = _null;
66614 else {
66615 t2 = t2;
66616 t2.toString;
66617 line = A.int_parse(t2, _null);
66618 }
66619 t2 = t1[3];
66620 if (t2 == null)
66621 column = _null;
66622 else {
66623 t2 = t2;
66624 t2.toString;
66625 column = A.int_parse(t2, _null);
66626 }
66627 return new A.Frame(uri, line, column, t1[4]);
66628 },
66629 $signature: 67
66630 };
66631 A.LazyTrace.prototype = {
66632 get$_lazy_trace$_trace() {
66633 var result, _this = this,
66634 value = _this.__LazyTrace__trace;
66635 if (value === $) {
66636 result = _this._thunk.call$0();
66637 A._lateInitializeOnceCheck(_this.__LazyTrace__trace, "_trace");
66638 _this.__LazyTrace__trace = result;
66639 value = result;
66640 }
66641 return value;
66642 },
66643 get$frames() {
66644 return this.get$_lazy_trace$_trace().get$frames();
66645 },
66646 get$terse() {
66647 return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
66648 },
66649 toString$0(_) {
66650 return this.get$_lazy_trace$_trace().toString$0(0);
66651 },
66652 $isStackTrace: 1,
66653 $isTrace: 1
66654 };
66655 A.LazyTrace_terse_closure.prototype = {
66656 call$0() {
66657 return this.$this.get$_lazy_trace$_trace().get$terse();
66658 },
66659 $signature: 151
66660 };
66661 A.Trace.prototype = {
66662 get$terse() {
66663 return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
66664 },
66665 foldFrames$2$terse(predicate, terse) {
66666 var newFrames, t1, t2, t3, _box_0 = {};
66667 _box_0.predicate = predicate;
66668 _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
66669 newFrames = A._setArrayType([], type$.JSArray_Frame);
66670 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();) {
66671 t3 = t2._as(t1.__internal$_current);
66672 if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
66673 newFrames.push(t3);
66674 else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
66675 newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
66676 }
66677 t1 = type$.MappedListIterable_Frame_Frame;
66678 newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
66679 if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
66680 B.JSArray_methods.removeAt$1(newFrames, 0);
66681 return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
66682 },
66683 toString$0(_) {
66684 var t1 = this.frames,
66685 t2 = A._arrayInstanceType(t1);
66686 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);
66687 },
66688 $isStackTrace: 1,
66689 get$frames() {
66690 return this.frames;
66691 }
66692 };
66693 A.Trace_Trace$from_closure.prototype = {
66694 call$0() {
66695 return A.Trace_Trace$parse(this.trace.toString$0(0));
66696 },
66697 $signature: 151
66698 };
66699 A.Trace__parseVM_closure.prototype = {
66700 call$1(line) {
66701 return line.length !== 0;
66702 },
66703 $signature: 6
66704 };
66705 A.Trace__parseVM_closure0.prototype = {
66706 call$1(line) {
66707 return A.Frame_Frame$parseVM(line);
66708 },
66709 $signature: 66
66710 };
66711 A.Trace$parseV8_closure.prototype = {
66712 call$1(line) {
66713 return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
66714 },
66715 $signature: 6
66716 };
66717 A.Trace$parseV8_closure0.prototype = {
66718 call$1(line) {
66719 return A.Frame_Frame$parseV8(line);
66720 },
66721 $signature: 66
66722 };
66723 A.Trace$parseJSCore_closure.prototype = {
66724 call$1(line) {
66725 return line !== "\tat ";
66726 },
66727 $signature: 6
66728 };
66729 A.Trace$parseJSCore_closure0.prototype = {
66730 call$1(line) {
66731 return A.Frame_Frame$parseV8(line);
66732 },
66733 $signature: 66
66734 };
66735 A.Trace$parseFirefox_closure.prototype = {
66736 call$1(line) {
66737 return line.length !== 0 && line !== "[native code]";
66738 },
66739 $signature: 6
66740 };
66741 A.Trace$parseFirefox_closure0.prototype = {
66742 call$1(line) {
66743 return A.Frame_Frame$parseFirefox(line);
66744 },
66745 $signature: 66
66746 };
66747 A.Trace$parseFriendly_closure.prototype = {
66748 call$1(line) {
66749 return !B.JSString_methods.startsWith$1(line, "=====");
66750 },
66751 $signature: 6
66752 };
66753 A.Trace$parseFriendly_closure0.prototype = {
66754 call$1(line) {
66755 return A.Frame_Frame$parseFriendly(line);
66756 },
66757 $signature: 66
66758 };
66759 A.Trace_terse_closure.prototype = {
66760 call$1(_) {
66761 return false;
66762 },
66763 $signature: 153
66764 };
66765 A.Trace_foldFrames_closure.prototype = {
66766 call$1(frame) {
66767 var t1;
66768 if (this.oldPredicate.call$1(frame))
66769 return true;
66770 if (frame.get$isCore())
66771 return true;
66772 if (frame.get$$package() === "stack_trace")
66773 return true;
66774 t1 = frame.get$member();
66775 t1.toString;
66776 if (!B.JSString_methods.contains$1(t1, "<async>"))
66777 return false;
66778 return frame.get$line() == null;
66779 },
66780 $signature: 153
66781 };
66782 A.Trace_foldFrames_closure0.prototype = {
66783 call$1(frame) {
66784 var t1, t2;
66785 if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
66786 return frame;
66787 t1 = frame.get$library();
66788 t2 = $.$get$_terseRegExp();
66789 return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
66790 },
66791 $signature: 299
66792 };
66793 A.Trace_toString_closure0.prototype = {
66794 call$1(frame) {
66795 return frame.get$location().length;
66796 },
66797 $signature: 148
66798 };
66799 A.Trace_toString_closure.prototype = {
66800 call$1(frame) {
66801 if (frame instanceof A.UnparsedFrame)
66802 return frame.toString$0(0) + "\n";
66803 return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
66804 },
66805 $signature: 149
66806 };
66807 A.UnparsedFrame.prototype = {
66808 toString$0(_) {
66809 return this.member;
66810 },
66811 $isFrame: 1,
66812 get$uri() {
66813 return this.uri;
66814 },
66815 get$line() {
66816 return null;
66817 },
66818 get$column() {
66819 return null;
66820 },
66821 get$isCore() {
66822 return false;
66823 },
66824 get$library() {
66825 return "unparsed";
66826 },
66827 get$$package() {
66828 return null;
66829 },
66830 get$location() {
66831 return "unparsed";
66832 },
66833 get$member() {
66834 return this.member;
66835 }
66836 };
66837 A.TransformByHandlers_transformByHandlers_closure.prototype = {
66838 call$0() {
66839 var t2, subscription, t3, t4, _this = this, t1 = {};
66840 t1.valuesDone = false;
66841 t2 = _this.controller;
66842 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));
66843 t3 = _this._box_1;
66844 t3.subscription = subscription;
66845 t2.set$onPause(subscription.get$pause(subscription));
66846 t4 = t3.subscription;
66847 t2.set$onResume(t4.get$resume(t4));
66848 t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
66849 },
66850 $signature: 0
66851 };
66852 A.TransformByHandlers_transformByHandlers__closure.prototype = {
66853 call$1(value) {
66854 return this.handleData.call$2(value, this.controller);
66855 },
66856 $signature() {
66857 return this.S._eval$1("~(0)");
66858 }
66859 };
66860 A.TransformByHandlers_transformByHandlers__closure1.prototype = {
66861 call$2(error, stackTrace) {
66862 this.handleError.call$3(error, stackTrace, this.controller);
66863 },
66864 $signature: 42
66865 };
66866 A.TransformByHandlers_transformByHandlers__closure0.prototype = {
66867 call$0() {
66868 this._box_0.valuesDone = true;
66869 this.handleDone.call$1(this.controller);
66870 },
66871 $signature: 0
66872 };
66873 A.TransformByHandlers_transformByHandlers__closure2.prototype = {
66874 call$0() {
66875 var t1 = this._box_1,
66876 toCancel = t1.subscription;
66877 t1.subscription = null;
66878 if (!this._box_0.valuesDone)
66879 return toCancel.cancel$0();
66880 return null;
66881 },
66882 $signature: 134
66883 };
66884 A.RateLimit__debounceAggregate_closure.prototype = {
66885 call$2(value, sink) {
66886 var _this = this,
66887 t1 = _this._box_0,
66888 t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
66889 t3 = t1.timer;
66890 if (t3 != null)
66891 t3.cancel$0();
66892 t1.soFar = _this.collect.call$2(value, t1.soFar);
66893 t1.hasPending = true;
66894 if (t1.timer == null && _this.leading) {
66895 t1.emittedLatestAsLeading = true;
66896 t2.call$0();
66897 } else
66898 t1.emittedLatestAsLeading = false;
66899 t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
66900 },
66901 $signature() {
66902 return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
66903 }
66904 };
66905 A.RateLimit__debounceAggregate_closure_emit.prototype = {
66906 call$0() {
66907 var t1 = this._box_0;
66908 this.sink.add$1(0, this.S._as(t1.soFar));
66909 t1.soFar = null;
66910 t1.hasPending = false;
66911 },
66912 $signature: 0
66913 };
66914 A.RateLimit__debounceAggregate__closure.prototype = {
66915 call$0() {
66916 var t1 = this._box_0,
66917 t2 = t1.emittedLatestAsLeading;
66918 if (!t2)
66919 this.emit.call$0();
66920 if (t1.shouldClose)
66921 this.sink.close$0(0);
66922 t1.timer = null;
66923 },
66924 $signature: 0
66925 };
66926 A.RateLimit__debounceAggregate_closure0.prototype = {
66927 call$1(sink) {
66928 var t1 = this._box_0;
66929 if (t1.hasPending && this.trailing)
66930 t1.shouldClose = true;
66931 else {
66932 t1 = t1.timer;
66933 if (t1 != null)
66934 t1.cancel$0();
66935 sink.close$0(0);
66936 }
66937 },
66938 $signature() {
66939 return this.S._eval$1("~(EventSink<0>)");
66940 }
66941 };
66942 A.StringScannerException.prototype = {
66943 get$source() {
66944 return A._asString(this.source);
66945 }
66946 };
66947 A.LineScanner.prototype = {
66948 scanChar$1(character) {
66949 if (!this.super$StringScanner$scanChar(character))
66950 return false;
66951 this._adjustLineAndColumn$1(character);
66952 return true;
66953 },
66954 _adjustLineAndColumn$1(character) {
66955 var t1, _this = this;
66956 if (character !== 10)
66957 t1 = character === 13 && _this.peekChar$0() !== 10;
66958 else
66959 t1 = true;
66960 if (t1) {
66961 ++_this._line_scanner$_line;
66962 _this._line_scanner$_column = 0;
66963 } else
66964 ++_this._line_scanner$_column;
66965 },
66966 scan$1(pattern) {
66967 var t1, newlines, t2, _this = this;
66968 if (!_this.super$StringScanner$scan(pattern))
66969 return false;
66970 t1 = _this.get$lastMatch();
66971 newlines = _this._newlinesIn$1(t1.pattern);
66972 t1 = _this._line_scanner$_line;
66973 t2 = newlines.length;
66974 _this._line_scanner$_line = t1 + t2;
66975 if (t2 === 0) {
66976 t1 = _this._line_scanner$_column;
66977 t2 = _this.get$lastMatch();
66978 _this._line_scanner$_column = t1 + t2.pattern.length;
66979 } else {
66980 t1 = _this.get$lastMatch();
66981 _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
66982 }
66983 return true;
66984 },
66985 _newlinesIn$1(text) {
66986 var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
66987 newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
66988 if (this.peekChar$1(-1) === 13 && this.peekChar$0() === 10)
66989 B.JSArray_methods.removeLast$0(newlines);
66990 return newlines;
66991 }
66992 };
66993 A.SpanScanner.prototype = {
66994 set$state(state) {
66995 if (state._scanner !== this)
66996 throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
66997 this.set$position(state.position);
66998 },
66999 spanFrom$2(startState, endState) {
67000 var endPosition = endState == null ? this._string_scanner$_position : endState.position;
67001 return this._sourceFile.span$2(0, startState.position, endPosition);
67002 },
67003 spanFrom$1(startState) {
67004 return this.spanFrom$2(startState, null);
67005 },
67006 matches$1(pattern) {
67007 var t1, t2, _this = this;
67008 if (!_this.super$StringScanner$matches(pattern))
67009 return false;
67010 t1 = _this._string_scanner$_position;
67011 t2 = _this.get$lastMatch();
67012 _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
67013 return true;
67014 },
67015 error$3$length$position(_, message, $length, position) {
67016 var t2, match, _this = this,
67017 t1 = _this.string;
67018 A.validateErrorArgs(t1, null, position, $length);
67019 t2 = position == null && $length == null;
67020 match = t2 ? _this.get$lastMatch() : null;
67021 if (position == null)
67022 position = match == null ? _this._string_scanner$_position : match.start;
67023 if ($length == null)
67024 if (match == null)
67025 $length = 0;
67026 else {
67027 t2 = match.start;
67028 $length = t2 + match.pattern.length - t2;
67029 }
67030 throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
67031 },
67032 error$1($receiver, message) {
67033 return this.error$3$length$position($receiver, message, null, null);
67034 },
67035 error$2$position($receiver, message, position) {
67036 return this.error$3$length$position($receiver, message, null, position);
67037 },
67038 error$2$length($receiver, message, $length) {
67039 return this.error$3$length$position($receiver, message, $length, null);
67040 }
67041 };
67042 A._SpanScannerState.prototype = {};
67043 A.StringScanner.prototype = {
67044 set$position(position) {
67045 if (position < 0 || position > this.string.length)
67046 throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
67047 this._string_scanner$_position = position;
67048 this._lastMatch = null;
67049 },
67050 get$lastMatch() {
67051 var _this = this;
67052 if (_this._string_scanner$_position !== _this._lastMatchPosition)
67053 _this._lastMatch = null;
67054 return _this._lastMatch;
67055 },
67056 readChar$0() {
67057 var _this = this,
67058 t1 = _this._string_scanner$_position,
67059 t2 = _this.string;
67060 if (t1 === t2.length)
67061 _this.error$3$length$position(0, "expected more input.", 0, t1);
67062 return B.JSString_methods.codeUnitAt$1(t2, _this._string_scanner$_position++);
67063 },
67064 peekChar$1(offset) {
67065 var index;
67066 if (offset == null)
67067 offset = 0;
67068 index = this._string_scanner$_position + offset;
67069 if (index < 0 || index >= this.string.length)
67070 return null;
67071 return B.JSString_methods.codeUnitAt$1(this.string, index);
67072 },
67073 peekChar$0() {
67074 return this.peekChar$1(null);
67075 },
67076 scanChar$1(character) {
67077 var t1 = this._string_scanner$_position,
67078 t2 = this.string;
67079 if (t1 === t2.length)
67080 return false;
67081 if (B.JSString_methods.codeUnitAt$1(t2, t1) !== character)
67082 return false;
67083 this._string_scanner$_position = t1 + 1;
67084 return true;
67085 },
67086 expectChar$2$name(character, $name) {
67087 if (this.scanChar$1(character))
67088 return;
67089 if ($name == null)
67090 if (character === 92)
67091 $name = '"\\"';
67092 else
67093 $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
67094 this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
67095 },
67096 expectChar$1(character) {
67097 return this.expectChar$2$name(character, null);
67098 },
67099 scan$1(pattern) {
67100 var t1, _this = this,
67101 success = _this.matches$1(pattern);
67102 if (success) {
67103 t1 = _this._lastMatch;
67104 _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
67105 }
67106 return success;
67107 },
67108 expect$1(pattern) {
67109 var t1, $name;
67110 if (this.scan$1(pattern))
67111 return;
67112 t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
67113 $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
67114 this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
67115 },
67116 expectDone$0() {
67117 var t1 = this._string_scanner$_position;
67118 if (t1 === this.string.length)
67119 return;
67120 this.error$3$length$position(0, "expected no more input.", 0, t1);
67121 },
67122 matches$1(pattern) {
67123 var _this = this,
67124 t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
67125 _this._lastMatch = t1;
67126 _this._lastMatchPosition = _this._string_scanner$_position;
67127 return t1 != null;
67128 },
67129 substring$1(_, start) {
67130 var end = this._string_scanner$_position;
67131 return B.JSString_methods.substring$2(this.string, start, end);
67132 },
67133 error$3$length$position(_, message, $length, position) {
67134 var t1 = this.string;
67135 A.validateErrorArgs(t1, null, position, $length);
67136 throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, this.sourceUrl).span$2(0, position, position + $length), t1));
67137 }
67138 };
67139 A.AsciiGlyphSet.prototype = {
67140 glyphOrAscii$2(glyph, alternative) {
67141 return alternative;
67142 },
67143 get$horizontalLine() {
67144 return "-";
67145 },
67146 get$verticalLine() {
67147 return "|";
67148 },
67149 get$topLeftCorner() {
67150 return ",";
67151 },
67152 get$bottomLeftCorner() {
67153 return "'";
67154 },
67155 get$cross() {
67156 return "+";
67157 },
67158 get$upEnd() {
67159 return "'";
67160 },
67161 get$downEnd() {
67162 return ",";
67163 },
67164 get$horizontalLineBold() {
67165 return "=";
67166 }
67167 };
67168 A.UnicodeGlyphSet.prototype = {
67169 glyphOrAscii$2(glyph, alternative) {
67170 return glyph;
67171 },
67172 get$horizontalLine() {
67173 return "\u2500";
67174 },
67175 get$verticalLine() {
67176 return "\u2502";
67177 },
67178 get$topLeftCorner() {
67179 return "\u250c";
67180 },
67181 get$bottomLeftCorner() {
67182 return "\u2514";
67183 },
67184 get$cross() {
67185 return "\u253c";
67186 },
67187 get$upEnd() {
67188 return "\u2575";
67189 },
67190 get$downEnd() {
67191 return "\u2577";
67192 },
67193 get$horizontalLineBold() {
67194 return "\u2501";
67195 }
67196 };
67197 A.Tuple2.prototype = {
67198 toString$0(_) {
67199 return "[" + A.S(this.item1) + ", " + A.S(this.item2) + "]";
67200 },
67201 $eq(_, other) {
67202 if (other == null)
67203 return false;
67204 return other instanceof A.Tuple2 && J.$eq$(other.item1, this.item1) && J.$eq$(other.item2, this.item2);
67205 },
67206 get$hashCode(_) {
67207 var t1 = J.get$hashCode$(this.item1),
67208 t2 = J.get$hashCode$(this.item2);
67209 return A._finish(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2)));
67210 }
67211 };
67212 A.Tuple3.prototype = {
67213 toString$0(_) {
67214 return "[" + this.item1.toString$0(0) + ", " + this.item2.toString$0(0) + ", " + this.item3.toString$0(0) + "]";
67215 },
67216 $eq(_, other) {
67217 if (other == null)
67218 return false;
67219 return other instanceof A.Tuple3 && other.item1 === this.item1 && other.item2.$eq(0, this.item2) && other.item3.$eq(0, this.item3);
67220 },
67221 get$hashCode(_) {
67222 var t3,
67223 t1 = A.Primitives_objectHashCode(this.item1),
67224 t2 = this.item2;
67225 t2 = t2.get$hashCode(t2);
67226 t3 = this.item3;
67227 t3 = t3.get$hashCode(t3);
67228 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)));
67229 }
67230 };
67231 A.Tuple4.prototype = {
67232 toString$0(_) {
67233 var _this = this;
67234 return "[" + _this.item1.toString$0(0) + ", " + _this.item2 + ", " + _this.item3.toString$0(0) + ", " + A.S(_this.item4) + "]";
67235 },
67236 $eq(_, other) {
67237 var _this = this;
67238 if (other == null)
67239 return false;
67240 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);
67241 },
67242 get$hashCode(_) {
67243 var t2, t3, t4, _this = this,
67244 t1 = _this.item1;
67245 t1 = t1.get$hashCode(t1);
67246 t2 = B.JSBool_methods.get$hashCode(_this.item2);
67247 t3 = A.Primitives_objectHashCode(_this.item3);
67248 t4 = J.get$hashCode$(_this.item4);
67249 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)));
67250 }
67251 };
67252 A.WatchEvent.prototype = {
67253 toString$0(_) {
67254 return this.type.toString$0(0) + " " + this.path;
67255 }
67256 };
67257 A.ChangeType.prototype = {
67258 toString$0(_) {
67259 return this._watch_event$_name;
67260 }
67261 };
67262 A.SupportsAnything0.prototype = {
67263 toString$0(_) {
67264 return "(" + this.contents.toString$0(0) + ")";
67265 },
67266 $isAstNode0: 1,
67267 $isSupportsCondition0: 1,
67268 get$span(receiver) {
67269 return this.span;
67270 }
67271 };
67272 A.Argument0.prototype = {
67273 toString$0(_) {
67274 var t1 = this.defaultValue,
67275 t2 = this.name;
67276 return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
67277 },
67278 $isAstNode0: 1,
67279 get$span(receiver) {
67280 return this.span;
67281 }
67282 };
67283 A.ArgumentDeclaration0.prototype = {
67284 get$spanWithName() {
67285 var t3, t4,
67286 t1 = this.span,
67287 t2 = t1.file,
67288 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
67289 i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
67290 while (true) {
67291 if (i > 0) {
67292 t3 = B.JSString_methods.codeUnitAt$1(text, i);
67293 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
67294 } else
67295 t3 = false;
67296 if (!t3)
67297 break;
67298 --i;
67299 }
67300 t3 = B.JSString_methods.codeUnitAt$1(text, i);
67301 if (!(t3 === 95 || A.isAlphabetic1(t3) || t3 >= 128 || A.isDigit0(t3) || t3 === 45))
67302 return t1;
67303 --i;
67304 while (true) {
67305 if (i >= 0) {
67306 t3 = B.JSString_methods.codeUnitAt$1(text, i);
67307 if (t3 !== 95) {
67308 if (!(t3 >= 97 && t3 <= 122))
67309 t4 = t3 >= 65 && t3 <= 90;
67310 else
67311 t4 = true;
67312 t4 = t4 || t3 >= 128;
67313 } else
67314 t4 = true;
67315 if (!t4) {
67316 t4 = t3 >= 48 && t3 <= 57;
67317 t3 = t4 || t3 === 45;
67318 } else
67319 t3 = true;
67320 } else
67321 t3 = false;
67322 if (!t3)
67323 break;
67324 --i;
67325 }
67326 t3 = i + 1;
67327 t4 = B.JSString_methods.codeUnitAt$1(text, t3);
67328 if (!(t4 === 95 || A.isAlphabetic1(t4) || t4 >= 128))
67329 return t1;
67330 return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
67331 },
67332 verify$2(positional, names) {
67333 var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
67334 _s10_ = "invocation",
67335 _s8_ = "argument";
67336 for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
67337 argument = t1[i];
67338 if (i < positional) {
67339 t4 = argument.name;
67340 if (t3.containsKey$1(t4))
67341 throw A.wrapException(A.SassScriptException$0("Argument " + _this._argument_declaration$_originalArgumentName$1(t4) + string$.x20was_p));
67342 } else {
67343 t4 = argument.name;
67344 if (t3.containsKey$1(t4))
67345 ++namedUsed;
67346 else if (argument.defaultValue == null)
67347 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)));
67348 }
67349 }
67350 if (_this.restArgument != null)
67351 return;
67352 if (positional > t2) {
67353 t1 = "Only " + t2 + " ";
67354 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)));
67355 }
67356 if (namedUsed < t3.get$length(t3)) {
67357 t2 = type$.String;
67358 unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
67359 unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
67360 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)));
67361 }
67362 },
67363 _argument_declaration$_originalArgumentName$1($name) {
67364 var t1, text, t2, _i, argument, t3, t4, end, _null = null;
67365 if ($name === this.restArgument) {
67366 t1 = this.span;
67367 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
67368 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, "."));
67369 }
67370 for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
67371 argument = t1[_i];
67372 if (argument.name === $name) {
67373 t1 = argument.defaultValue;
67374 t2 = argument.span;
67375 t3 = t2.file;
67376 t4 = t2._file$_start;
67377 t2 = t2._end;
67378 if (t1 == null) {
67379 t1 = t3._decodedChars;
67380 t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
67381 } else {
67382 t1 = t3._decodedChars;
67383 text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
67384 t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
67385 end = A._lastNonWhitespace0(t1, false);
67386 t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
67387 }
67388 return t1;
67389 }
67390 }
67391 throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
67392 },
67393 matches$2(positional, names) {
67394 var t1, t2, t3, namedUsed, i, argument;
67395 for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
67396 argument = t1[i];
67397 if (i < positional) {
67398 if (t3.containsKey$1(argument.name))
67399 return false;
67400 } else if (t3.containsKey$1(argument.name))
67401 ++namedUsed;
67402 else if (argument.defaultValue == null)
67403 return false;
67404 }
67405 if (this.restArgument != null)
67406 return true;
67407 if (positional > t2)
67408 return false;
67409 if (namedUsed < t3.get$length(t3))
67410 return false;
67411 return true;
67412 },
67413 toString$0(_) {
67414 var t2, t3, _i, arg, t4, t5,
67415 t1 = A._setArrayType([], type$.JSArray_String);
67416 for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i) {
67417 arg = t2[_i];
67418 t4 = arg.defaultValue;
67419 t5 = arg.name;
67420 t1.push(t4 == null ? t5 : t5 + ": " + t4.toString$0(0));
67421 }
67422 t2 = this.restArgument;
67423 if (t2 != null)
67424 t1.push(t2 + "...");
67425 return B.JSArray_methods.join$1(t1, ", ");
67426 },
67427 $isAstNode0: 1,
67428 get$span(receiver) {
67429 return this.span;
67430 }
67431 };
67432 A.ArgumentDeclaration_verify_closure1.prototype = {
67433 call$1(argument) {
67434 return argument.name;
67435 },
67436 $signature: 300
67437 };
67438 A.ArgumentDeclaration_verify_closure2.prototype = {
67439 call$1($name) {
67440 return "$" + $name;
67441 },
67442 $signature: 5
67443 };
67444 A.ArgumentInvocation0.prototype = {
67445 get$isEmpty(_) {
67446 var t1;
67447 if (this.positional.length === 0) {
67448 t1 = this.named;
67449 t1 = t1.get$isEmpty(t1) && this.rest == null;
67450 } else
67451 t1 = false;
67452 return t1;
67453 },
67454 toString$0(_) {
67455 var t2, t3, t4, _this = this,
67456 t1 = A.List_List$of(_this.positional, true, type$.Object);
67457 for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
67458 t4 = t3.get$current(t3);
67459 t1.push(t4 + ": " + A.S(t2.$index(0, t4)));
67460 }
67461 t2 = _this.rest;
67462 if (t2 != null)
67463 t1.push(t2.toString$0(0) + "...");
67464 t2 = _this.keywordRest;
67465 if (t2 != null)
67466 t1.push(t2.toString$0(0) + "...");
67467 return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
67468 },
67469 $isAstNode0: 1,
67470 get$span(receiver) {
67471 return this.span;
67472 }
67473 };
67474 A.argumentListClass_closure.prototype = {
67475 call$0() {
67476 var t1 = type$.JSClass,
67477 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
67478 A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
67479 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);
67480 return jsClass;
67481 },
67482 $signature: 25
67483 };
67484 A.argumentListClass__closure.prototype = {
67485 call$4($self, contents, keywords, separator) {
67486 var t3,
67487 t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
67488 t2 = type$.Value_2;
67489 t1 = J.cast$1$0$ax(t1, t2);
67490 t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
67491 return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
67492 },
67493 call$3($self, contents, keywords) {
67494 return this.call$4($self, contents, keywords, ",");
67495 },
67496 "call*": "call$4",
67497 $requiredArgCount: 3,
67498 $defaultValues() {
67499 return [","];
67500 },
67501 $signature: 302
67502 };
67503 A.argumentListClass__closure0.prototype = {
67504 call$1($self) {
67505 $self._argument_list$_wereKeywordsAccessed = true;
67506 return A.dartMapToImmutableMap($self._argument_list$_keywords);
67507 },
67508 $signature: 303
67509 };
67510 A.SassArgumentList0.prototype = {};
67511 A.JSArray1.prototype = {};
67512 A.AsyncImporter0.prototype = {};
67513 A.NodeToDartAsyncImporter.prototype = {
67514 canonicalize$1(_, url) {
67515 return this.canonicalize$body$NodeToDartAsyncImporter(0, url);
67516 },
67517 canonicalize$body$NodeToDartAsyncImporter(_, url) {
67518 var $async$goto = 0,
67519 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
67520 $async$returnValue, $async$self = this, t1, result;
67521 var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67522 if ($async$errorCode === 1)
67523 return A._asyncRethrow($async$result, $async$completer);
67524 while (true)
67525 switch ($async$goto) {
67526 case 0:
67527 // Function start
67528 result = $async$self._async0$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
67529 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
67530 break;
67531 case 3:
67532 // then
67533 $async$goto = 5;
67534 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
67535 case 5:
67536 // returning from await.
67537 result = $async$result;
67538 case 4:
67539 // join
67540 if (result == null) {
67541 $async$returnValue = null;
67542 // goto return
67543 $async$goto = 1;
67544 break;
67545 }
67546 t1 = self.URL;
67547 if (result instanceof t1) {
67548 $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
67549 // goto return
67550 $async$goto = 1;
67551 break;
67552 }
67553 A.jsThrow(new self.Error(string$.The_ca));
67554 case 1:
67555 // return
67556 return A._asyncReturn($async$returnValue, $async$completer);
67557 }
67558 });
67559 return A._asyncStartSync($async$canonicalize$1, $async$completer);
67560 },
67561 load$1(_, url) {
67562 return this.load$body$NodeToDartAsyncImporter(0, url);
67563 },
67564 load$body$NodeToDartAsyncImporter(_, url) {
67565 var $async$goto = 0,
67566 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult),
67567 $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
67568 var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67569 if ($async$errorCode === 1)
67570 return A._asyncRethrow($async$result, $async$completer);
67571 while (true)
67572 switch ($async$goto) {
67573 case 0:
67574 // Function start
67575 result = $async$self._load.call$1(new self.URL(url.toString$0(0)));
67576 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
67577 break;
67578 case 3:
67579 // then
67580 $async$goto = 5;
67581 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
67582 case 5:
67583 // returning from await.
67584 result = $async$result;
67585 case 4:
67586 // join
67587 if (result == null) {
67588 $async$returnValue = null;
67589 // goto return
67590 $async$goto = 1;
67591 break;
67592 }
67593 type$.NodeImporterResult._as(result);
67594 t1 = J.getInterceptor$x(result);
67595 contents = t1.get$contents(result);
67596 syntax = t1.get$syntax(result);
67597 if (contents == null || syntax == null)
67598 A.jsThrow(new self.Error(string$.The_lo));
67599 t2 = A.parseSyntax(syntax);
67600 $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
67601 // goto return
67602 $async$goto = 1;
67603 break;
67604 case 1:
67605 // return
67606 return A._asyncReturn($async$returnValue, $async$completer);
67607 }
67608 });
67609 return A._asyncStartSync($async$load$1, $async$completer);
67610 }
67611 };
67612 A.AsyncBuiltInCallable0.prototype = {
67613 callbackFor$2(positional, names) {
67614 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);
67615 },
67616 $isAsyncCallable0: 1,
67617 get$name(receiver) {
67618 return this.name;
67619 }
67620 };
67621 A.AsyncBuiltInCallable$mixin_closure0.prototype = {
67622 call$1($arguments) {
67623 return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
67624 },
67625 $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
67626 var $async$goto = 0,
67627 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
67628 $async$returnValue, $async$self = this;
67629 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67630 if ($async$errorCode === 1)
67631 return A._asyncRethrow($async$result, $async$completer);
67632 while (true)
67633 switch ($async$goto) {
67634 case 0:
67635 // Function start
67636 $async$goto = 3;
67637 return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
67638 case 3:
67639 // returning from await.
67640 $async$returnValue = B.C__SassNull0;
67641 // goto return
67642 $async$goto = 1;
67643 break;
67644 case 1:
67645 // return
67646 return A._asyncReturn($async$returnValue, $async$completer);
67647 }
67648 });
67649 return A._asyncStartSync($async$call$1, $async$completer);
67650 },
67651 $signature: 88
67652 };
67653 A._compileStylesheet_closure2.prototype = {
67654 call$1(url) {
67655 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);
67656 },
67657 $signature: 5
67658 };
67659 A.AsyncEnvironment0.prototype = {
67660 closure$0() {
67661 var t4, t5, t6, _this = this,
67662 t1 = _this._async_environment0$_forwardedModules,
67663 t2 = _this._async_environment0$_nestedForwardedModules,
67664 t3 = _this._async_environment0$_variables;
67665 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
67666 t4 = _this._async_environment0$_variableNodes;
67667 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
67668 t5 = _this._async_environment0$_functions;
67669 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
67670 t6 = _this._async_environment0$_mixins;
67671 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
67672 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);
67673 },
67674 addModule$3$namespace(module, nodeWithSpan, namespace) {
67675 var t1, t2, span, _this = this;
67676 if (namespace == null) {
67677 _this._async_environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
67678 _this._async_environment0$_allModules.push(module);
67679 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment0$_variables))); t1.moveNext$0();) {
67680 t2 = t1.get$current(t1);
67681 if (module.get$variables().containsKey$1(t2))
67682 throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".'));
67683 }
67684 } else {
67685 t1 = _this._async_environment0$_modules;
67686 if (t1.containsKey$1(namespace)) {
67687 t1 = _this._async_environment0$_namespaceNodes.$index(0, namespace);
67688 span = t1 == null ? null : t1.span;
67689 t1 = string$.There_ + namespace + '".';
67690 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67691 if (span != null)
67692 t2.$indexSet(0, span, "original @use");
67693 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @use", t2));
67694 }
67695 t1.$indexSet(0, namespace, module);
67696 _this._async_environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
67697 _this._async_environment0$_allModules.push(module);
67698 }
67699 },
67700 forwardModule$2(module, rule) {
67701 var view, t1, t2, _this = this,
67702 forwardedModules = _this._async_environment0$_forwardedModules;
67703 if (forwardedModules == null)
67704 forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67705 view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
67706 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
67707 t2 = t1.get$current(t1);
67708 _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
67709 _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
67710 _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
67711 }
67712 _this._async_environment0$_allModules.push(module);
67713 forwardedModules.$indexSet(0, view, rule);
67714 },
67715 _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
67716 var larger, smaller, t1, t2, $name, span;
67717 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
67718 larger = oldMembers;
67719 smaller = newMembers;
67720 } else {
67721 larger = newMembers;
67722 smaller = oldMembers;
67723 }
67724 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
67725 $name = t1.get$current(t1);
67726 if (!larger.containsKey$1($name))
67727 continue;
67728 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
67729 continue;
67730 if (t2)
67731 $name = "$" + $name;
67732 t1 = this._async_environment0$_forwardedModules;
67733 if (t1 == null)
67734 span = null;
67735 else {
67736 t1 = t1.$index(0, oldModule);
67737 span = t1 == null ? null : J.get$span$z(t1);
67738 }
67739 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
67740 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67741 if (span != null)
67742 t2.$indexSet(0, span, "original @forward");
67743 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @forward", t2));
67744 }
67745 },
67746 importForwards$1(module) {
67747 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
67748 forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
67749 if (forwarded == null)
67750 return;
67751 forwardedModules = _this._async_environment0$_forwardedModules;
67752 if (forwardedModules != null) {
67753 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67754 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment0$_globalModules; t2.moveNext$0();) {
67755 t4 = t2.get$current(t2);
67756 t5 = t4.key;
67757 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
67758 t1.$indexSet(0, t5, t4.value);
67759 }
67760 forwarded = t1;
67761 } else
67762 forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67763 t1 = forwarded.get$keys(forwarded);
67764 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
67765 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure2(), t2), t2._eval$1("Iterable.E"));
67766 t2 = forwarded.get$keys(forwarded);
67767 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
67768 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.AsyncEnvironment_importForwards_closure3(), t1), t1._eval$1("Iterable.E"));
67769 t1 = forwarded.get$keys(forwarded);
67770 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
67771 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure4(), t2), t2._eval$1("Iterable.E"));
67772 t1 = _this._async_environment0$_variables;
67773 t2 = t1.length;
67774 if (t2 === 1) {
67775 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) {
67776 entry = t3[_i];
67777 module = entry.key;
67778 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
67779 if (shadowed != null) {
67780 t2.remove$1(0, module);
67781 t6 = shadowed.variables;
67782 if (t6.get$isEmpty(t6)) {
67783 t6 = shadowed.functions;
67784 if (t6.get$isEmpty(t6)) {
67785 t6 = shadowed.mixins;
67786 if (t6.get$isEmpty(t6)) {
67787 t6 = shadowed._shadowed_view0$_inner;
67788 t6 = t6.get$css(t6);
67789 t6 = J.get$isEmpty$asx(t6.get$children(t6));
67790 } else
67791 t6 = false;
67792 } else
67793 t6 = false;
67794 } else
67795 t6 = false;
67796 if (!t6)
67797 t2.$indexSet(0, shadowed, entry.value);
67798 }
67799 }
67800 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) {
67801 entry = t3[_i];
67802 module = entry.key;
67803 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
67804 if (shadowed != null) {
67805 forwardedModules.remove$1(0, module);
67806 t6 = shadowed.variables;
67807 if (t6.get$isEmpty(t6)) {
67808 t6 = shadowed.functions;
67809 if (t6.get$isEmpty(t6)) {
67810 t6 = shadowed.mixins;
67811 if (t6.get$isEmpty(t6)) {
67812 t6 = shadowed._shadowed_view0$_inner;
67813 t6 = t6.get$css(t6);
67814 t6 = J.get$isEmpty$asx(t6.get$children(t6));
67815 } else
67816 t6 = false;
67817 } else
67818 t6 = false;
67819 } else
67820 t6 = false;
67821 if (!t6)
67822 forwardedModules.$indexSet(0, shadowed, entry.value);
67823 }
67824 }
67825 t2.addAll$1(0, forwarded);
67826 forwardedModules.addAll$1(0, forwarded);
67827 } else {
67828 t3 = _this._async_environment0$_nestedForwardedModules;
67829 if (t3 == null) {
67830 _length = t2 - 1;
67831 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
67832 for (t2 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
67833 _list[_i] = A._setArrayType([], t2);
67834 _this._async_environment0$_nestedForwardedModules = _list;
67835 t2 = _list;
67836 } else
67837 t2 = t3;
67838 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
67839 }
67840 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();) {
67841 t6 = t3._as(t2._collection$_current);
67842 t4.remove$1(0, t6);
67843 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
67844 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
67845 }
67846 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();) {
67847 t5 = t2._as(t1._collection$_current);
67848 t3.remove$1(0, t5);
67849 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
67850 }
67851 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();) {
67852 t5 = t2._as(t1._collection$_current);
67853 t3.remove$1(0, t5);
67854 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
67855 }
67856 },
67857 getVariable$2$namespace($name, namespace) {
67858 var t1, index, _this = this;
67859 if (namespace != null)
67860 return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
67861 if (_this._async_environment0$_lastVariableName === $name) {
67862 t1 = _this._async_environment0$_lastVariableIndex;
67863 t1.toString;
67864 t1 = J.$index$asx(_this._async_environment0$_variables[t1], $name);
67865 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67866 }
67867 t1 = _this._async_environment0$_variableIndices;
67868 index = t1.$index(0, $name);
67869 if (index != null) {
67870 _this._async_environment0$_lastVariableName = $name;
67871 _this._async_environment0$_lastVariableIndex = index;
67872 t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
67873 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67874 }
67875 index = _this._async_environment0$_variableIndex$1($name);
67876 if (index == null)
67877 return _this._async_environment0$_getVariableFromGlobalModule$1($name);
67878 _this._async_environment0$_lastVariableName = $name;
67879 _this._async_environment0$_lastVariableIndex = index;
67880 t1.$indexSet(0, $name, index);
67881 t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
67882 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67883 },
67884 getVariable$1($name) {
67885 return this.getVariable$2$namespace($name, null);
67886 },
67887 _async_environment0$_getVariableFromGlobalModule$1($name) {
67888 return this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
67889 },
67890 getVariableNode$2$namespace($name, namespace) {
67891 var t1, index, _this = this;
67892 if (namespace != null)
67893 return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
67894 if (_this._async_environment0$_lastVariableName === $name) {
67895 t1 = _this._async_environment0$_lastVariableIndex;
67896 t1.toString;
67897 t1 = J.$index$asx(_this._async_environment0$_variableNodes[t1], $name);
67898 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67899 }
67900 t1 = _this._async_environment0$_variableIndices;
67901 index = t1.$index(0, $name);
67902 if (index != null) {
67903 _this._async_environment0$_lastVariableName = $name;
67904 _this._async_environment0$_lastVariableIndex = index;
67905 t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
67906 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67907 }
67908 index = _this._async_environment0$_variableIndex$1($name);
67909 if (index == null)
67910 return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
67911 _this._async_environment0$_lastVariableName = $name;
67912 _this._async_environment0$_lastVariableIndex = index;
67913 t1.$indexSet(0, $name, index);
67914 t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
67915 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67916 },
67917 _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
67918 var t1, t2, value;
67919 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();) {
67920 t1 = t2._currentIterator;
67921 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
67922 if (value != null)
67923 return value;
67924 }
67925 return null;
67926 },
67927 globalVariableExists$2$namespace($name, namespace) {
67928 if (namespace != null)
67929 return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
67930 if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
67931 return true;
67932 return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
67933 },
67934 globalVariableExists$1($name) {
67935 return this.globalVariableExists$2$namespace($name, null);
67936 },
67937 _async_environment0$_variableIndex$1($name) {
67938 var t1, i;
67939 for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
67940 if (t1[i].containsKey$1($name))
67941 return i;
67942 return null;
67943 },
67944 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
67945 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
67946 if (namespace != null) {
67947 _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
67948 return;
67949 }
67950 if (global || _this._async_environment0$_variables.length === 1) {
67951 _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
67952 t1 = _this._async_environment0$_variables;
67953 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
67954 moduleWithName = _this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name), type$.Module_AsyncCallable_2);
67955 if (moduleWithName != null) {
67956 moduleWithName.setVariable$3($name, value, nodeWithSpan);
67957 return;
67958 }
67959 }
67960 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
67961 J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
67962 return;
67963 }
67964 nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
67965 if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
67966 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();)
67967 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();) {
67968 t5 = t4._as(t3.__internal$_current);
67969 if (t5.get$variables().containsKey$1($name)) {
67970 t5.setVariable$3($name, value, nodeWithSpan);
67971 return;
67972 }
67973 }
67974 if (_this._async_environment0$_lastVariableName === $name) {
67975 t1 = _this._async_environment0$_lastVariableIndex;
67976 t1.toString;
67977 index = t1;
67978 } else
67979 index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
67980 if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
67981 index = _this._async_environment0$_variables.length - 1;
67982 _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
67983 }
67984 _this._async_environment0$_lastVariableName = $name;
67985 _this._async_environment0$_lastVariableIndex = index;
67986 J.$indexSet$ax(_this._async_environment0$_variables[index], $name, value);
67987 J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
67988 },
67989 setVariable$4$global($name, value, nodeWithSpan, global) {
67990 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
67991 },
67992 setLocalVariable$3($name, value, nodeWithSpan) {
67993 var index, _this = this,
67994 t1 = _this._async_environment0$_variables,
67995 t2 = t1.length;
67996 _this._async_environment0$_lastVariableName = $name;
67997 index = _this._async_environment0$_lastVariableIndex = t2 - 1;
67998 _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
67999 J.$indexSet$ax(t1[index], $name, value);
68000 J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
68001 },
68002 getFunction$2$namespace($name, namespace) {
68003 var t1, index, _this = this;
68004 if (namespace != null) {
68005 t1 = _this._async_environment0$_getModule$1(namespace);
68006 return t1.get$functions(t1).$index(0, $name);
68007 }
68008 t1 = _this._async_environment0$_functionIndices;
68009 index = t1.$index(0, $name);
68010 if (index != null) {
68011 t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
68012 return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
68013 }
68014 index = _this._async_environment0$_functionIndex$1($name);
68015 if (index == null)
68016 return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
68017 t1.$indexSet(0, $name, index);
68018 t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
68019 return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
68020 },
68021 _async_environment0$_getFunctionFromGlobalModule$1($name) {
68022 return this._async_environment0$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name), type$.AsyncCallable_2);
68023 },
68024 _async_environment0$_functionIndex$1($name) {
68025 var t1, i;
68026 for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
68027 if (t1[i].containsKey$1($name))
68028 return i;
68029 return null;
68030 },
68031 getMixin$2$namespace($name, namespace) {
68032 var t1, index, _this = this;
68033 if (namespace != null)
68034 return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
68035 t1 = _this._async_environment0$_mixinIndices;
68036 index = t1.$index(0, $name);
68037 if (index != null) {
68038 t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
68039 return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
68040 }
68041 index = _this._async_environment0$_mixinIndex$1($name);
68042 if (index == null)
68043 return _this._async_environment0$_getMixinFromGlobalModule$1($name);
68044 t1.$indexSet(0, $name, index);
68045 t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
68046 return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
68047 },
68048 _async_environment0$_getMixinFromGlobalModule$1($name) {
68049 return this._async_environment0$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name), type$.AsyncCallable_2);
68050 },
68051 _async_environment0$_mixinIndex$1($name) {
68052 var t1, i;
68053 for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
68054 if (t1[i].containsKey$1($name))
68055 return i;
68056 return null;
68057 },
68058 withContent$2($content, callback) {
68059 return this.withContent$body$AsyncEnvironment0($content, callback);
68060 },
68061 withContent$body$AsyncEnvironment0($content, callback) {
68062 var $async$goto = 0,
68063 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
68064 $async$self = this, oldContent;
68065 var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68066 if ($async$errorCode === 1)
68067 return A._asyncRethrow($async$result, $async$completer);
68068 while (true)
68069 switch ($async$goto) {
68070 case 0:
68071 // Function start
68072 oldContent = $async$self._async_environment0$_content;
68073 $async$self._async_environment0$_content = $content;
68074 $async$goto = 2;
68075 return A._asyncAwait(callback.call$0(), $async$withContent$2);
68076 case 2:
68077 // returning from await.
68078 $async$self._async_environment0$_content = oldContent;
68079 // implicit return
68080 return A._asyncReturn(null, $async$completer);
68081 }
68082 });
68083 return A._asyncStartSync($async$withContent$2, $async$completer);
68084 },
68085 asMixin$1(callback) {
68086 var $async$goto = 0,
68087 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
68088 $async$self = this, oldInMixin;
68089 var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68090 if ($async$errorCode === 1)
68091 return A._asyncRethrow($async$result, $async$completer);
68092 while (true)
68093 switch ($async$goto) {
68094 case 0:
68095 // Function start
68096 oldInMixin = $async$self._async_environment0$_inMixin;
68097 $async$self._async_environment0$_inMixin = true;
68098 $async$goto = 2;
68099 return A._asyncAwait(callback.call$0(), $async$asMixin$1);
68100 case 2:
68101 // returning from await.
68102 $async$self._async_environment0$_inMixin = oldInMixin;
68103 // implicit return
68104 return A._asyncReturn(null, $async$completer);
68105 }
68106 });
68107 return A._asyncStartSync($async$asMixin$1, $async$completer);
68108 },
68109 scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
68110 return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
68111 },
68112 scope$1$1(callback, $T) {
68113 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
68114 },
68115 scope$1$2$when(callback, when, $T) {
68116 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
68117 },
68118 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
68119 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
68120 },
68121 scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
68122 var $async$goto = 0,
68123 $async$completer = A._makeAsyncAwaitCompleter($async$type),
68124 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5;
68125 var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68126 if ($async$errorCode === 1) {
68127 $async$currentError = $async$result;
68128 $async$goto = $async$handler;
68129 }
68130 while (true)
68131 switch ($async$goto) {
68132 case 0:
68133 // Function start
68134 semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
68135 wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
68136 $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
68137 $async$goto = !when ? 3 : 4;
68138 break;
68139 case 3:
68140 // then
68141 $async$handler = 5;
68142 $async$goto = 8;
68143 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
68144 case 8:
68145 // returning from await.
68146 t1 = $async$result;
68147 $async$returnValue = t1;
68148 $async$next = [1];
68149 // goto finally
68150 $async$goto = 6;
68151 break;
68152 $async$next.push(7);
68153 // goto finally
68154 $async$goto = 6;
68155 break;
68156 case 5:
68157 // uncaught
68158 $async$next = [2];
68159 case 6:
68160 // finally
68161 $async$handler = 2;
68162 $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
68163 // goto the next finally handler
68164 $async$goto = $async$next.pop();
68165 break;
68166 case 7:
68167 // after finally
68168 case 4:
68169 // join
68170 t1 = $async$self._async_environment0$_variables;
68171 t2 = type$.String;
68172 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
68173 B.JSArray_methods.add$1($async$self._async_environment0$_variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
68174 t3 = $async$self._async_environment0$_functions;
68175 t4 = type$.AsyncCallable_2;
68176 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
68177 t5 = $async$self._async_environment0$_mixins;
68178 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
68179 t4 = $async$self._async_environment0$_nestedForwardedModules;
68180 if (t4 != null)
68181 t4.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
68182 $async$handler = 9;
68183 $async$goto = 12;
68184 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
68185 case 12:
68186 // returning from await.
68187 t2 = $async$result;
68188 $async$returnValue = t2;
68189 $async$next = [1];
68190 // goto finally
68191 $async$goto = 10;
68192 break;
68193 $async$next.push(11);
68194 // goto finally
68195 $async$goto = 10;
68196 break;
68197 case 9:
68198 // uncaught
68199 $async$next = [2];
68200 case 10:
68201 // finally
68202 $async$handler = 2;
68203 $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
68204 $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
68205 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();) {
68206 $name = t1.get$current(t1);
68207 t2.remove$1(0, $name);
68208 }
68209 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();) {
68210 name0 = t1.get$current(t1);
68211 t2.remove$1(0, name0);
68212 }
68213 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();) {
68214 name1 = t1.get$current(t1);
68215 t2.remove$1(0, name1);
68216 }
68217 t1 = $async$self._async_environment0$_nestedForwardedModules;
68218 if (t1 != null)
68219 t1.pop();
68220 // goto the next finally handler
68221 $async$goto = $async$next.pop();
68222 break;
68223 case 11:
68224 // after finally
68225 case 1:
68226 // return
68227 return A._asyncReturn($async$returnValue, $async$completer);
68228 case 2:
68229 // rethrow
68230 return A._asyncRethrow($async$currentError, $async$completer);
68231 }
68232 });
68233 return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
68234 },
68235 toImplicitConfiguration$0() {
68236 var t1, t2, i, values, nodes, t3, t4, t5, t6,
68237 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
68238 for (t1 = this._async_environment0$_variables, t2 = this._async_environment0$_variableNodes, i = 0; i < t1.length; ++i) {
68239 values = t1[i];
68240 nodes = t2[i];
68241 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
68242 t4 = t3.get$current(t3);
68243 t5 = t4.key;
68244 t4 = t4.value;
68245 t6 = nodes.$index(0, t5);
68246 t6.toString;
68247 configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
68248 }
68249 }
68250 return new A.Configuration0(configuration);
68251 },
68252 toModule$2(css, extensionStore) {
68253 return A._EnvironmentModule__EnvironmentModule2(this, css, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
68254 },
68255 toDummyModule$0() {
68256 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()));
68257 },
68258 _async_environment0$_getModule$1(namespace) {
68259 var module = this._async_environment0$_modules.$index(0, namespace);
68260 if (module != null)
68261 return module;
68262 throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".'));
68263 },
68264 _async_environment0$_fromOneModule$1$3($name, type, callback, $T) {
68265 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
68266 nestedForwardedModules = this._async_environment0$_nestedForwardedModules;
68267 if (nestedForwardedModules != null)
68268 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();)
68269 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();) {
68270 value = callback.call$1(t4._as(t3.__internal$_current));
68271 if (value != null)
68272 return value;
68273 }
68274 for (t1 = this._async_environment0$_importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
68275 value = callback.call$1(t1.get$current(t1));
68276 if (value != null)
68277 return value;
68278 }
68279 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();) {
68280 t4 = t2.get$current(t2);
68281 valueInModule = callback.call$1(t4);
68282 if (valueInModule == null)
68283 continue;
68284 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
68285 if (identityFromModule.$eq(0, identity))
68286 continue;
68287 if (value != null) {
68288 spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
68289 t2 = "This " + type + string$.x20is_av;
68290 t3 = type + " use";
68291 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
68292 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
68293 t5 = t1.get$current(t1);
68294 if (t5 != null)
68295 t4.$indexSet(0, t5, "includes " + type);
68296 }
68297 throw A.wrapException(A.MultiSpanSassScriptException$0(t2, t3, t4));
68298 }
68299 identity = identityFromModule;
68300 value = valueInModule;
68301 }
68302 return value;
68303 }
68304 };
68305 A.AsyncEnvironment_importForwards_closure2.prototype = {
68306 call$1(module) {
68307 var t1 = module.get$variables();
68308 return t1.get$keys(t1);
68309 },
68310 $signature: 110
68311 };
68312 A.AsyncEnvironment_importForwards_closure3.prototype = {
68313 call$1(module) {
68314 var t1 = module.get$functions(module);
68315 return t1.get$keys(t1);
68316 },
68317 $signature: 110
68318 };
68319 A.AsyncEnvironment_importForwards_closure4.prototype = {
68320 call$1(module) {
68321 var t1 = module.get$mixins();
68322 return t1.get$keys(t1);
68323 },
68324 $signature: 110
68325 };
68326 A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
68327 call$1(module) {
68328 return module.get$variables().$index(0, this.name);
68329 },
68330 $signature: 306
68331 };
68332 A.AsyncEnvironment_setVariable_closure2.prototype = {
68333 call$0() {
68334 var t1 = this.$this;
68335 t1._async_environment0$_lastVariableName = this.name;
68336 return t1._async_environment0$_lastVariableIndex = 0;
68337 },
68338 $signature: 12
68339 };
68340 A.AsyncEnvironment_setVariable_closure3.prototype = {
68341 call$1(module) {
68342 return module.get$variables().containsKey$1(this.name) ? module : null;
68343 },
68344 $signature: 307
68345 };
68346 A.AsyncEnvironment_setVariable_closure4.prototype = {
68347 call$0() {
68348 var t1 = this.$this,
68349 t2 = t1._async_environment0$_variableIndex$1(this.name);
68350 return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
68351 },
68352 $signature: 12
68353 };
68354 A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
68355 call$1(module) {
68356 return module.get$functions(module).$index(0, this.name);
68357 },
68358 $signature: 156
68359 };
68360 A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
68361 call$1(module) {
68362 return module.get$mixins().$index(0, this.name);
68363 },
68364 $signature: 156
68365 };
68366 A.AsyncEnvironment_toModule_closure0.prototype = {
68367 call$1(modules) {
68368 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
68369 },
68370 $signature: 157
68371 };
68372 A.AsyncEnvironment_toDummyModule_closure0.prototype = {
68373 call$1(modules) {
68374 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
68375 },
68376 $signature: 157
68377 };
68378 A.AsyncEnvironment__fromOneModule_closure0.prototype = {
68379 call$1(entry) {
68380 return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure0(entry, this.T));
68381 },
68382 $signature: 310
68383 };
68384 A.AsyncEnvironment__fromOneModule__closure0.prototype = {
68385 call$1(_) {
68386 return J.get$span$z(this.entry.value);
68387 },
68388 $signature() {
68389 return this.T._eval$1("FileSpan(0)");
68390 }
68391 };
68392 A._EnvironmentModule2.prototype = {
68393 get$url(_) {
68394 var t1 = this.css;
68395 return t1.get$span(t1).file.url;
68396 },
68397 setVariable$3($name, value, nodeWithSpan) {
68398 var t1, t2,
68399 module = this._async_environment0$_modulesByVariable.$index(0, $name);
68400 if (module != null) {
68401 module.setVariable$3($name, value, nodeWithSpan);
68402 return;
68403 }
68404 t1 = this._async_environment0$_environment;
68405 t2 = t1._async_environment0$_variables;
68406 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
68407 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
68408 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
68409 J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
68410 return;
68411 },
68412 variableIdentity$1($name) {
68413 var module = this._async_environment0$_modulesByVariable.$index(0, $name);
68414 return module == null ? this : module.variableIdentity$1($name);
68415 },
68416 cloneCss$0() {
68417 var newCssAndExtensionStore, _this = this,
68418 t1 = _this.css;
68419 if (J.get$isEmpty$asx(t1.get$children(t1)))
68420 return _this;
68421 newCssAndExtensionStore = A.cloneCssStylesheet0(t1, _this.extensionStore);
68422 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);
68423 },
68424 toString$0(_) {
68425 var t1 = this.css;
68426 if (t1.get$span(t1).file.url == null)
68427 t1 = "<unknown url>";
68428 else {
68429 t1 = t1.get$span(t1);
68430 t1 = $.$get$context().prettyUri$1(t1.file.url);
68431 }
68432 return t1;
68433 },
68434 $isModule0: 1,
68435 get$upstream() {
68436 return this.upstream;
68437 },
68438 get$variables() {
68439 return this.variables;
68440 },
68441 get$variableNodes() {
68442 return this.variableNodes;
68443 },
68444 get$functions(receiver) {
68445 return this.functions;
68446 },
68447 get$mixins() {
68448 return this.mixins;
68449 },
68450 get$extensionStore() {
68451 return this.extensionStore;
68452 },
68453 get$css(receiver) {
68454 return this.css;
68455 },
68456 get$transitivelyContainsCss() {
68457 return this.transitivelyContainsCss;
68458 },
68459 get$transitivelyContainsExtensions() {
68460 return this.transitivelyContainsExtensions;
68461 }
68462 };
68463 A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
68464 call$1(module) {
68465 return module.get$variables();
68466 },
68467 $signature: 311
68468 };
68469 A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
68470 call$1(module) {
68471 return module.get$variableNodes();
68472 },
68473 $signature: 312
68474 };
68475 A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
68476 call$1(module) {
68477 return module.get$functions(module);
68478 },
68479 $signature: 158
68480 };
68481 A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
68482 call$1(module) {
68483 return module.get$mixins();
68484 },
68485 $signature: 158
68486 };
68487 A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
68488 call$1(module) {
68489 return module.get$transitivelyContainsCss();
68490 },
68491 $signature: 143
68492 };
68493 A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
68494 call$1(module) {
68495 return module.get$transitivelyContainsExtensions();
68496 },
68497 $signature: 143
68498 };
68499 A._EvaluateVisitor2.prototype = {
68500 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
68501 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
68502 _s20_ = "$name, $module: null",
68503 _s9_ = "sass:meta",
68504 t1 = type$.JSArray_AsyncBuiltInCallable_2,
68505 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),
68506 metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure38(_this), _s9_)], t1);
68507 t1 = type$.AsyncBuiltInCallable_2;
68508 t2 = A.List_List$of($.$get$global6(), true, t1);
68509 B.JSArray_methods.addAll$1(t2, $.$get$local0());
68510 B.JSArray_methods.addAll$1(t2, metaFunctions);
68511 metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
68512 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) {
68513 module = t1[_i];
68514 t3.$indexSet(0, module.url, module);
68515 }
68516 t1 = A._setArrayType([], type$.JSArray_AsyncCallable_2);
68517 B.JSArray_methods.addAll$1(t1, functions);
68518 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
68519 B.JSArray_methods.addAll$1(t1, metaFunctions);
68520 for (t2 = t1.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
68521 $function = t1[_i];
68522 t4 = J.get$name$x($function);
68523 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
68524 }
68525 },
68526 run$2(_, importer, node) {
68527 return this.run$body$_EvaluateVisitor0(0, importer, node);
68528 },
68529 run$body$_EvaluateVisitor0(_, importer, node) {
68530 var $async$goto = 0,
68531 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
68532 $async$returnValue, $async$self = this, t1;
68533 var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68534 if ($async$errorCode === 1)
68535 return A._asyncRethrow($async$result, $async$completer);
68536 while (true)
68537 switch ($async$goto) {
68538 case 0:
68539 // Function start
68540 t1 = type$.nullable_Object;
68541 $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);
68542 // goto return
68543 $async$goto = 1;
68544 break;
68545 case 1:
68546 // return
68547 return A._asyncReturn($async$returnValue, $async$completer);
68548 }
68549 });
68550 return A._asyncStartSync($async$run$2, $async$completer);
68551 },
68552 _async_evaluate0$_assertInModule$1$2(value, $name) {
68553 if (value != null)
68554 return value;
68555 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
68556 },
68557 _async_evaluate0$_assertInModule$2(value, $name) {
68558 return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
68559 },
68560 _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
68561 return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
68562 },
68563 _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
68564 return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
68565 },
68566 _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
68567 return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
68568 },
68569 _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
68570 var $async$goto = 0,
68571 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
68572 $async$returnValue, $async$self = this, t1, t2, builtInModule;
68573 var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68574 if ($async$errorCode === 1)
68575 return A._asyncRethrow($async$result, $async$completer);
68576 while (true)
68577 switch ($async$goto) {
68578 case 0:
68579 // Function start
68580 builtInModule = $async$self._async_evaluate0$_builtInModules.$index(0, url);
68581 $async$goto = builtInModule != null ? 3 : 4;
68582 break;
68583 case 3:
68584 // then
68585 if (configuration instanceof A.ExplicitConfiguration0) {
68586 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
68587 t2 = configuration.nodeWithSpan;
68588 throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
68589 }
68590 $async$goto = 5;
68591 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);
68592 case 5:
68593 // returning from await.
68594 // goto return
68595 $async$goto = 1;
68596 break;
68597 case 4:
68598 // join
68599 $async$goto = 6;
68600 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);
68601 case 6:
68602 // returning from await.
68603 case 1:
68604 // return
68605 return A._asyncReturn($async$returnValue, $async$completer);
68606 }
68607 });
68608 return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
68609 },
68610 _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
68611 return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
68612 },
68613 _async_evaluate0$_execute$2(importer, stylesheet) {
68614 return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
68615 },
68616 _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
68617 var $async$goto = 0,
68618 $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
68619 $async$returnValue, $async$self = this, currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
68620 var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68621 if ($async$errorCode === 1)
68622 return A._asyncRethrow($async$result, $async$completer);
68623 while (true)
68624 switch ($async$goto) {
68625 case 0:
68626 // Function start
68627 url = stylesheet.span.file.url;
68628 t1 = $async$self._async_evaluate0$_modules;
68629 alreadyLoaded = t1.$index(0, url);
68630 if (alreadyLoaded != null) {
68631 t1 = configuration == null;
68632 currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
68633 if (currentConfiguration instanceof A.ExplicitConfiguration0) {
68634 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
68635 t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
68636 existingSpan = t2 == null ? null : J.get$span$z(t2);
68637 if (t1) {
68638 t1 = currentConfiguration.nodeWithSpan;
68639 configurationSpan = t1.get$span(t1);
68640 } else
68641 configurationSpan = null;
68642 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
68643 if (existingSpan != null)
68644 t1.$indexSet(0, existingSpan, "original load");
68645 if (configurationSpan != null)
68646 t1.$indexSet(0, configurationSpan, "configuration");
68647 throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
68648 }
68649 $async$returnValue = alreadyLoaded;
68650 // goto return
68651 $async$goto = 1;
68652 break;
68653 }
68654 environment = A.AsyncEnvironment$0();
68655 css = A._Cell$();
68656 extensionStore = A.ExtensionStore$0();
68657 $async$goto = 3;
68658 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);
68659 case 3:
68660 // returning from await.
68661 module = environment.toModule$2(css._readLocal$0(), extensionStore);
68662 if (url != null) {
68663 t1.$indexSet(0, url, module);
68664 if (nodeWithSpan != null)
68665 $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
68666 }
68667 $async$returnValue = module;
68668 // goto return
68669 $async$goto = 1;
68670 break;
68671 case 1:
68672 // return
68673 return A._asyncReturn($async$returnValue, $async$completer);
68674 }
68675 });
68676 return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
68677 },
68678 _async_evaluate0$_addOutOfOrderImports$0() {
68679 var t1, t2, _this = this, _s5_ = "_root",
68680 _s13_ = "_endOfImports",
68681 outOfOrderImports = _this._async_evaluate0$_outOfOrderImports;
68682 if (outOfOrderImports == null)
68683 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68684 t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68685 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);
68686 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
68687 t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
68688 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")));
68689 return t1;
68690 },
68691 _async_evaluate0$_combineCss$2$clone(root, clone) {
68692 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
68693 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure8())) {
68694 selectors = root.get$extensionStore().get$simpleSelectors();
68695 unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure9(selectors)));
68696 if (unsatisfiedExtension != null)
68697 _this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
68698 return root.get$css(root);
68699 }
68700 sortedModules = _this._async_evaluate0$_topologicalModules$1(root);
68701 if (clone) {
68702 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<AsyncCallable0>>");
68703 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure10(), t1), true, t1._eval$1("ListIterable.E"));
68704 }
68705 _this._async_evaluate0$_extendModules$1(sortedModules);
68706 t1 = type$.JSArray_CssNode_2;
68707 imports = A._setArrayType([], t1);
68708 css = A._setArrayType([], t1);
68709 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
68710 t3 = t2._as(t1.__internal$_current);
68711 t3 = t3.get$css(t3);
68712 statements = t3.get$children(t3);
68713 index = _this._async_evaluate0$_indexAfterImports$1(statements);
68714 t3 = J.getInterceptor$ax(statements);
68715 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
68716 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
68717 }
68718 t1 = B.JSArray_methods.$add(imports, css);
68719 t2 = root.get$css(root);
68720 return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
68721 },
68722 _async_evaluate0$_combineCss$1(root) {
68723 return this._async_evaluate0$_combineCss$2$clone(root, false);
68724 },
68725 _async_evaluate0$_extendModules$1(sortedModules) {
68726 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
68727 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
68728 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
68729 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
68730 t2 = t1.get$current(t1);
68731 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
68732 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
68733 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
68734 t3 = t2.get$extensionStore().get$addExtensions();
68735 if ($self != null)
68736 t3.call$1($self);
68737 t3 = t2.get$extensionStore();
68738 if (t3.get$isEmpty(t3))
68739 continue;
68740 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
68741 upstream = t3[_i];
68742 url = upstream.get$url(upstream);
68743 if (url == null)
68744 continue;
68745 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure6()), t2.get$extensionStore());
68746 }
68747 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
68748 }
68749 if (unsatisfiedExtensions._collection$_length !== 0)
68750 this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
68751 },
68752 _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
68753 throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
68754 },
68755 _async_evaluate0$_topologicalModules$1(root) {
68756 var t1 = type$.Module_AsyncCallable_2,
68757 sorted = A.QueueList$(null, t1);
68758 new A._EvaluateVisitor__topologicalModules_visitModule2(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
68759 return sorted;
68760 },
68761 _async_evaluate0$_indexAfterImports$1(statements) {
68762 var t1, t2, t3, lastImport, i, statement;
68763 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
68764 statement = t1.$index(statements, i);
68765 if (t3._is(statement))
68766 lastImport = i;
68767 else if (!t2._is(statement))
68768 break;
68769 }
68770 return lastImport + 1;
68771 },
68772 visitStylesheet$1(node) {
68773 return this.visitStylesheet$body$_EvaluateVisitor0(node);
68774 },
68775 visitStylesheet$body$_EvaluateVisitor0(node) {
68776 var $async$goto = 0,
68777 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68778 $async$returnValue, $async$self = this, t1, t2, _i;
68779 var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68780 if ($async$errorCode === 1)
68781 return A._asyncRethrow($async$result, $async$completer);
68782 while (true)
68783 switch ($async$goto) {
68784 case 0:
68785 // Function start
68786 t1 = node.children, t2 = t1.length, _i = 0;
68787 case 3:
68788 // for condition
68789 if (!(_i < t2)) {
68790 // goto after for
68791 $async$goto = 5;
68792 break;
68793 }
68794 $async$goto = 6;
68795 return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
68796 case 6:
68797 // returning from await.
68798 case 4:
68799 // for update
68800 ++_i;
68801 // goto for condition
68802 $async$goto = 3;
68803 break;
68804 case 5:
68805 // after for
68806 $async$returnValue = null;
68807 // goto return
68808 $async$goto = 1;
68809 break;
68810 case 1:
68811 // return
68812 return A._asyncReturn($async$returnValue, $async$completer);
68813 }
68814 });
68815 return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
68816 },
68817 visitAtRootRule$1(node) {
68818 return this.visitAtRootRule$body$_EvaluateVisitor0(node);
68819 },
68820 visitAtRootRule$body$_EvaluateVisitor0(node) {
68821 var $async$goto = 0,
68822 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68823 $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
68824 var $async$visitAtRootRule$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 unparsedQuery = node.query;
68832 $async$goto = unparsedQuery != null ? 3 : 5;
68833 break;
68834 case 3:
68835 // then
68836 $async$temp1 = unparsedQuery;
68837 $async$temp2 = A;
68838 $async$goto = 6;
68839 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
68840 case 6:
68841 // returning from await.
68842 $async$result = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure8($async$self, $async$result));
68843 // goto join
68844 $async$goto = 4;
68845 break;
68846 case 5:
68847 // else
68848 $async$result = B.AtRootQuery_UsS0;
68849 case 4:
68850 // join
68851 query = $async$result;
68852 $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
68853 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
68854 for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
68855 if (!query.excludes$1($parent))
68856 included.push($parent);
68857 grandparent = $parent._node1$_parent;
68858 if (grandparent == null)
68859 throw A.wrapException(A.StateError$(string$.CssNod));
68860 }
68861 root = $async$self._async_evaluate0$_trimIncluded$1(included);
68862 $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
68863 break;
68864 case 7:
68865 // then
68866 $async$goto = 9;
68867 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);
68868 case 9:
68869 // returning from await.
68870 $async$returnValue = null;
68871 // goto return
68872 $async$goto = 1;
68873 break;
68874 case 8:
68875 // join
68876 if (included.length !== 0) {
68877 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
68878 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) {
68879 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
68880 copy.addChild$1(outerCopy);
68881 }
68882 root.addChild$1(outerCopy);
68883 } else
68884 innerCopy = root;
68885 $async$goto = 10;
68886 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);
68887 case 10:
68888 // returning from await.
68889 $async$returnValue = null;
68890 // goto return
68891 $async$goto = 1;
68892 break;
68893 case 1:
68894 // return
68895 return A._asyncReturn($async$returnValue, $async$completer);
68896 }
68897 });
68898 return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
68899 },
68900 _async_evaluate0$_trimIncluded$1(nodes) {
68901 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
68902 _s22_ = " to be an ancestor of ";
68903 if (nodes.length === 0)
68904 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
68905 $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
68906 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
68907 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
68908 grandparent = $parent._node1$_parent;
68909 if (grandparent == null)
68910 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
68911 }
68912 if (innermostContiguous == null)
68913 innermostContiguous = i;
68914 grandparent = $parent._node1$_parent;
68915 if (grandparent == null)
68916 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
68917 }
68918 if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
68919 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
68920 innermostContiguous.toString;
68921 root = nodes[innermostContiguous];
68922 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
68923 return root;
68924 },
68925 _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
68926 var _this = this,
68927 scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
68928 t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
68929 if (t1 !== query.include)
68930 scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
68931 if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
68932 scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
68933 if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
68934 scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
68935 return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
68936 },
68937 visitContentBlock$1(node) {
68938 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
68939 },
68940 visitContentRule$1(node) {
68941 return this.visitContentRule$body$_EvaluateVisitor0(node);
68942 },
68943 visitContentRule$body$_EvaluateVisitor0(node) {
68944 var $async$goto = 0,
68945 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68946 $async$returnValue, $async$self = this, $content;
68947 var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68948 if ($async$errorCode === 1)
68949 return A._asyncRethrow($async$result, $async$completer);
68950 while (true)
68951 switch ($async$goto) {
68952 case 0:
68953 // Function start
68954 $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
68955 if ($content == null) {
68956 $async$returnValue = null;
68957 // goto return
68958 $async$goto = 1;
68959 break;
68960 }
68961 $async$goto = 3;
68962 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);
68963 case 3:
68964 // returning from await.
68965 $async$returnValue = null;
68966 // goto return
68967 $async$goto = 1;
68968 break;
68969 case 1:
68970 // return
68971 return A._asyncReturn($async$returnValue, $async$completer);
68972 }
68973 });
68974 return A._asyncStartSync($async$visitContentRule$1, $async$completer);
68975 },
68976 visitDebugRule$1(node) {
68977 return this.visitDebugRule$body$_EvaluateVisitor0(node);
68978 },
68979 visitDebugRule$body$_EvaluateVisitor0(node) {
68980 var $async$goto = 0,
68981 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68982 $async$returnValue, $async$self = this, value, t1;
68983 var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68984 if ($async$errorCode === 1)
68985 return A._asyncRethrow($async$result, $async$completer);
68986 while (true)
68987 switch ($async$goto) {
68988 case 0:
68989 // Function start
68990 $async$goto = 3;
68991 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
68992 case 3:
68993 // returning from await.
68994 value = $async$result;
68995 t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
68996 $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
68997 $async$returnValue = null;
68998 // goto return
68999 $async$goto = 1;
69000 break;
69001 case 1:
69002 // return
69003 return A._asyncReturn($async$returnValue, $async$completer);
69004 }
69005 });
69006 return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
69007 },
69008 visitDeclaration$1(node) {
69009 return this.visitDeclaration$body$_EvaluateVisitor0(node);
69010 },
69011 visitDeclaration$body$_EvaluateVisitor0(node) {
69012 var $async$goto = 0,
69013 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69014 $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
69015 var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69016 if ($async$errorCode === 1)
69017 return A._asyncRethrow($async$result, $async$completer);
69018 while (true)
69019 switch ($async$goto) {
69020 case 0:
69021 // Function start
69022 if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
69023 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
69024 t1 = node.name;
69025 $async$goto = 3;
69026 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
69027 case 3:
69028 // returning from await.
69029 $name = $async$result;
69030 t2 = $async$self._async_evaluate0$_declarationName;
69031 if (t2 != null)
69032 $name = new A.CssValue0(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String_2);
69033 t2 = node.value;
69034 $async$goto = 4;
69035 return A._asyncAwait(A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure5($async$self)), $async$visitDeclaration$1);
69036 case 4:
69037 // returning from await.
69038 cssValue = $async$result;
69039 t3 = cssValue != null;
69040 if (t3)
69041 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
69042 else
69043 t4 = false;
69044 if (t4) {
69045 t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
69046 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
69047 if ($async$self._async_evaluate0$_sourceMap) {
69048 t2 = A.NullableExtension_andThen0(t2, $async$self.get$_async_evaluate0$_expressionNode());
69049 t2 = t2 == null ? null : J.get$span$z(t2);
69050 } else
69051 t2 = null;
69052 t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
69053 } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
69054 throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
69055 children = node.children;
69056 $async$goto = children != null ? 5 : 6;
69057 break;
69058 case 5:
69059 // then
69060 oldDeclarationName = $async$self._async_evaluate0$_declarationName;
69061 $async$self._async_evaluate0$_declarationName = $name.get$value($name);
69062 $async$goto = 7;
69063 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);
69064 case 7:
69065 // returning from await.
69066 $async$self._async_evaluate0$_declarationName = oldDeclarationName;
69067 case 6:
69068 // join
69069 $async$returnValue = null;
69070 // goto return
69071 $async$goto = 1;
69072 break;
69073 case 1:
69074 // return
69075 return A._asyncReturn($async$returnValue, $async$completer);
69076 }
69077 });
69078 return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
69079 },
69080 visitEachRule$1(node) {
69081 return this.visitEachRule$body$_EvaluateVisitor0(node);
69082 },
69083 visitEachRule$body$_EvaluateVisitor0(node) {
69084 var $async$goto = 0,
69085 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69086 $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
69087 var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69088 if ($async$errorCode === 1)
69089 return A._asyncRethrow($async$result, $async$completer);
69090 while (true)
69091 switch ($async$goto) {
69092 case 0:
69093 // Function start
69094 t1 = node.list;
69095 $async$goto = 3;
69096 return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
69097 case 3:
69098 // returning from await.
69099 list = $async$result;
69100 nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
69101 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure8($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure9($async$self, node, nodeWithSpan);
69102 $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);
69103 // goto return
69104 $async$goto = 1;
69105 break;
69106 case 1:
69107 // return
69108 return A._asyncReturn($async$returnValue, $async$completer);
69109 }
69110 });
69111 return A._asyncStartSync($async$visitEachRule$1, $async$completer);
69112 },
69113 _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
69114 var i,
69115 list = value.get$asList(),
69116 t1 = variables.length,
69117 minLength = Math.min(t1, list.length);
69118 for (i = 0; i < minLength; ++i)
69119 this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
69120 for (i = minLength; i < t1; ++i)
69121 this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
69122 },
69123 visitErrorRule$1(node) {
69124 return this.visitErrorRule$body$_EvaluateVisitor0(node);
69125 },
69126 visitErrorRule$body$_EvaluateVisitor0(node) {
69127 var $async$goto = 0,
69128 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
69129 $async$self = this, $async$temp1, $async$temp2;
69130 var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69131 if ($async$errorCode === 1)
69132 return A._asyncRethrow($async$result, $async$completer);
69133 while (true)
69134 switch ($async$goto) {
69135 case 0:
69136 // Function start
69137 $async$temp1 = A;
69138 $async$temp2 = J;
69139 $async$goto = 2;
69140 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
69141 case 2:
69142 // returning from await.
69143 throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
69144 // implicit return
69145 return A._asyncReturn(null, $async$completer);
69146 }
69147 });
69148 return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
69149 },
69150 visitExtendRule$1(node) {
69151 return this.visitExtendRule$body$_EvaluateVisitor0(node);
69152 },
69153 visitExtendRule$body$_EvaluateVisitor0(node) {
69154 var $async$goto = 0,
69155 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69156 $async$returnValue, $async$self = this, targetText, t1, t2, t3, _i, t4, styleRule;
69157 var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69158 if ($async$errorCode === 1)
69159 return A._asyncRethrow($async$result, $async$completer);
69160 while (true)
69161 switch ($async$goto) {
69162 case 0:
69163 // Function start
69164 styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
69165 if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
69166 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
69167 $async$goto = 3;
69168 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
69169 case 3:
69170 // returning from await.
69171 targetText = $async$result;
69172 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) {
69173 t4 = t1[_i].components;
69174 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector0))
69175 throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.get$span(targetText)));
69176 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
69177 if (t4.length !== 1)
69178 throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
69179 $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);
69180 }
69181 $async$returnValue = null;
69182 // goto return
69183 $async$goto = 1;
69184 break;
69185 case 1:
69186 // return
69187 return A._asyncReturn($async$returnValue, $async$completer);
69188 }
69189 });
69190 return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
69191 },
69192 visitAtRule$1(node) {
69193 return this.visitAtRule$body$_EvaluateVisitor0(node);
69194 },
69195 visitAtRule$body$_EvaluateVisitor0(node) {
69196 var $async$goto = 0,
69197 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69198 $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
69199 var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69200 if ($async$errorCode === 1)
69201 return A._asyncRethrow($async$result, $async$completer);
69202 while (true)
69203 switch ($async$goto) {
69204 case 0:
69205 // Function start
69206 if ($async$self._async_evaluate0$_declarationName != null)
69207 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
69208 $async$goto = 3;
69209 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
69210 case 3:
69211 // returning from await.
69212 $name = $async$result;
69213 $async$goto = 4;
69214 return A._asyncAwait(A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self)), $async$visitAtRule$1);
69215 case 4:
69216 // returning from await.
69217 value = $async$result;
69218 children = node.children;
69219 if (children == null) {
69220 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
69221 $async$returnValue = null;
69222 // goto return
69223 $async$goto = 1;
69224 break;
69225 }
69226 wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
69227 wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
69228 if (A.unvendor0($name.get$value($name)) === "keyframes")
69229 $async$self._async_evaluate0$_inKeyframes = true;
69230 else
69231 $async$self._async_evaluate0$_inUnknownAtRule = true;
69232 $async$goto = 5;
69233 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);
69234 case 5:
69235 // returning from await.
69236 $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
69237 $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
69238 $async$returnValue = null;
69239 // goto return
69240 $async$goto = 1;
69241 break;
69242 case 1:
69243 // return
69244 return A._asyncReturn($async$returnValue, $async$completer);
69245 }
69246 });
69247 return A._asyncStartSync($async$visitAtRule$1, $async$completer);
69248 },
69249 visitForRule$1(node) {
69250 return this.visitForRule$body$_EvaluateVisitor0(node);
69251 },
69252 visitForRule$body$_EvaluateVisitor0(node) {
69253 var $async$goto = 0,
69254 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69255 $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
69256 var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69257 if ($async$errorCode === 1)
69258 return A._asyncRethrow($async$result, $async$completer);
69259 while (true)
69260 switch ($async$goto) {
69261 case 0:
69262 // Function start
69263 t1 = {};
69264 t2 = node.from;
69265 t3 = type$.SassNumber_2;
69266 $async$goto = 3;
69267 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
69268 case 3:
69269 // returning from await.
69270 fromNumber = $async$result;
69271 t4 = node.to;
69272 $async$goto = 4;
69273 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
69274 case 4:
69275 // returning from await.
69276 toNumber = $async$result;
69277 from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
69278 to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
69279 direction = from > to ? -1 : 1;
69280 if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
69281 $async$returnValue = null;
69282 // goto return
69283 $async$goto = 1;
69284 break;
69285 }
69286 $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);
69287 // goto return
69288 $async$goto = 1;
69289 break;
69290 case 1:
69291 // return
69292 return A._asyncReturn($async$returnValue, $async$completer);
69293 }
69294 });
69295 return A._asyncStartSync($async$visitForRule$1, $async$completer);
69296 },
69297 visitForwardRule$1(node) {
69298 return this.visitForwardRule$body$_EvaluateVisitor0(node);
69299 },
69300 visitForwardRule$body$_EvaluateVisitor0(node) {
69301 var $async$goto = 0,
69302 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69303 $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
69304 var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69305 if ($async$errorCode === 1)
69306 return A._asyncRethrow($async$result, $async$completer);
69307 while (true)
69308 switch ($async$goto) {
69309 case 0:
69310 // Function start
69311 oldConfiguration = $async$self._async_evaluate0$_configuration;
69312 adjustedConfiguration = oldConfiguration.throughForward$1(node);
69313 t1 = node.configuration;
69314 t2 = t1.length;
69315 t3 = node.url;
69316 $async$goto = t2 !== 0 ? 3 : 5;
69317 break;
69318 case 3:
69319 // then
69320 $async$goto = 6;
69321 return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
69322 case 6:
69323 // returning from await.
69324 newConfiguration = $async$result;
69325 $async$goto = 7;
69326 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);
69327 case 7:
69328 // returning from await.
69329 t3 = type$.String;
69330 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
69331 for (_i = 0; _i < t2; ++_i) {
69332 variable = t1[_i];
69333 if (!variable.isGuarded)
69334 t4.add$1(0, variable.name);
69335 }
69336 $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
69337 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
69338 for (_i = 0; _i < t2; ++_i)
69339 t3.add$1(0, t1[_i].name);
69340 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) {
69341 $name = t2[_i];
69342 if (!t3.contains$1(0, $name))
69343 if (!t1.get$isEmpty(t1))
69344 t1.remove$1(0, $name);
69345 }
69346 $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
69347 // goto join
69348 $async$goto = 4;
69349 break;
69350 case 5:
69351 // else
69352 $async$self._async_evaluate0$_configuration = adjustedConfiguration;
69353 $async$goto = 8;
69354 return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
69355 case 8:
69356 // returning from await.
69357 $async$self._async_evaluate0$_configuration = oldConfiguration;
69358 case 4:
69359 // join
69360 $async$returnValue = null;
69361 // goto return
69362 $async$goto = 1;
69363 break;
69364 case 1:
69365 // return
69366 return A._asyncReturn($async$returnValue, $async$completer);
69367 }
69368 });
69369 return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
69370 },
69371 _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
69372 return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
69373 },
69374 _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
69375 var $async$goto = 0,
69376 $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
69377 $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
69378 var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69379 if ($async$errorCode === 1)
69380 return A._asyncRethrow($async$result, $async$completer);
69381 while (true)
69382 switch ($async$goto) {
69383 case 0:
69384 // Function start
69385 t1 = configuration._configuration$_values;
69386 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
69387 t2 = node.configuration, t3 = t2.length, _i = 0;
69388 case 3:
69389 // for condition
69390 if (!(_i < t3)) {
69391 // goto after for
69392 $async$goto = 5;
69393 break;
69394 }
69395 variable = t2[_i];
69396 if (variable.isGuarded) {
69397 t4 = variable.name;
69398 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
69399 if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
69400 newValues.$indexSet(0, t4, t5);
69401 // goto for update
69402 $async$goto = 4;
69403 break;
69404 }
69405 }
69406 t4 = variable.expression;
69407 variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t4);
69408 $async$temp1 = newValues;
69409 $async$temp2 = variable.name;
69410 $async$temp3 = A;
69411 $async$goto = 6;
69412 return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate0$_addForwardConfiguration$2);
69413 case 6:
69414 // returning from await.
69415 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
69416 case 4:
69417 // for update
69418 ++_i;
69419 // goto for condition
69420 $async$goto = 3;
69421 break;
69422 case 5:
69423 // after for
69424 if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
69425 $async$returnValue = new A.ExplicitConfiguration0(node, newValues);
69426 // goto return
69427 $async$goto = 1;
69428 break;
69429 } else {
69430 $async$returnValue = new A.Configuration0(newValues);
69431 // goto return
69432 $async$goto = 1;
69433 break;
69434 }
69435 case 1:
69436 // return
69437 return A._asyncReturn($async$returnValue, $async$completer);
69438 }
69439 });
69440 return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
69441 },
69442 _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
69443 var t1, t2, t3, t4, _i, $name;
69444 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) {
69445 $name = t2[_i];
69446 if (except.contains$1(0, $name))
69447 continue;
69448 if (!t4.containsKey$1($name))
69449 if (!t1.get$isEmpty(t1))
69450 t1.remove$1(0, $name);
69451 }
69452 },
69453 _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
69454 var t1, entry;
69455 if (!(configuration instanceof A.ExplicitConfiguration0))
69456 return;
69457 t1 = configuration._configuration$_values;
69458 if (t1.get$isEmpty(t1))
69459 return;
69460 t1 = t1.get$entries(t1);
69461 entry = t1.get$first(t1);
69462 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
69463 throw A.wrapException(this._async_evaluate0$_exception$2(t1, entry.value.configurationSpan));
69464 },
69465 _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
69466 return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
69467 },
69468 visitFunctionRule$1(node) {
69469 return this.visitFunctionRule$body$_EvaluateVisitor0(node);
69470 },
69471 visitFunctionRule$body$_EvaluateVisitor0(node) {
69472 var $async$goto = 0,
69473 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69474 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
69475 var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69476 if ($async$errorCode === 1)
69477 return A._asyncRethrow($async$result, $async$completer);
69478 while (true)
69479 switch ($async$goto) {
69480 case 0:
69481 // Function start
69482 t1 = $async$self._async_evaluate0$_environment;
69483 t2 = t1.closure$0();
69484 t3 = $async$self._async_evaluate0$_inDependency;
69485 t4 = t1._async_environment0$_functions;
69486 index = t4.length - 1;
69487 t5 = node.name;
69488 t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
69489 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
69490 $async$returnValue = null;
69491 // goto return
69492 $async$goto = 1;
69493 break;
69494 case 1:
69495 // return
69496 return A._asyncReturn($async$returnValue, $async$completer);
69497 }
69498 });
69499 return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
69500 },
69501 visitIfRule$1(node) {
69502 return this.visitIfRule$body$_EvaluateVisitor0(node);
69503 },
69504 visitIfRule$body$_EvaluateVisitor0(node) {
69505 var $async$goto = 0,
69506 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69507 $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
69508 var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69509 if ($async$errorCode === 1)
69510 return A._asyncRethrow($async$result, $async$completer);
69511 while (true)
69512 switch ($async$goto) {
69513 case 0:
69514 // Function start
69515 _box_0 = {};
69516 _box_0.clause = node.lastClause;
69517 t1 = node.clauses, t2 = t1.length, _i = 0;
69518 case 3:
69519 // for condition
69520 if (!(_i < t2)) {
69521 // goto after for
69522 $async$goto = 5;
69523 break;
69524 }
69525 clauseToCheck = t1[_i];
69526 $async$goto = 6;
69527 return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
69528 case 6:
69529 // returning from await.
69530 if ($async$result.get$isTruthy()) {
69531 _box_0.clause = clauseToCheck;
69532 // goto after for
69533 $async$goto = 5;
69534 break;
69535 }
69536 case 4:
69537 // for update
69538 ++_i;
69539 // goto for condition
69540 $async$goto = 3;
69541 break;
69542 case 5:
69543 // after for
69544 t1 = _box_0.clause;
69545 if (t1 == null) {
69546 $async$returnValue = null;
69547 // goto return
69548 $async$goto = 1;
69549 break;
69550 }
69551 $async$goto = 7;
69552 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);
69553 case 7:
69554 // returning from await.
69555 $async$returnValue = $async$result;
69556 // goto return
69557 $async$goto = 1;
69558 break;
69559 case 1:
69560 // return
69561 return A._asyncReturn($async$returnValue, $async$completer);
69562 }
69563 });
69564 return A._asyncStartSync($async$visitIfRule$1, $async$completer);
69565 },
69566 visitImportRule$1(node) {
69567 return this.visitImportRule$body$_EvaluateVisitor0(node);
69568 },
69569 visitImportRule$body$_EvaluateVisitor0(node) {
69570 var $async$goto = 0,
69571 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69572 $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
69573 var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69574 if ($async$errorCode === 1)
69575 return A._asyncRethrow($async$result, $async$completer);
69576 while (true)
69577 switch ($async$goto) {
69578 case 0:
69579 // Function start
69580 t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
69581 case 3:
69582 // for condition
69583 if (!(_i < t2)) {
69584 // goto after for
69585 $async$goto = 5;
69586 break;
69587 }
69588 $import = t1[_i];
69589 $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
69590 break;
69591 case 6:
69592 // then
69593 $async$goto = 9;
69594 return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
69595 case 9:
69596 // returning from await.
69597 // goto join
69598 $async$goto = 7;
69599 break;
69600 case 8:
69601 // else
69602 $async$goto = 10;
69603 return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
69604 case 10:
69605 // returning from await.
69606 case 7:
69607 // join
69608 case 4:
69609 // for update
69610 ++_i;
69611 // goto for condition
69612 $async$goto = 3;
69613 break;
69614 case 5:
69615 // after for
69616 $async$returnValue = null;
69617 // goto return
69618 $async$goto = 1;
69619 break;
69620 case 1:
69621 // return
69622 return A._asyncReturn($async$returnValue, $async$completer);
69623 }
69624 });
69625 return A._asyncStartSync($async$visitImportRule$1, $async$completer);
69626 },
69627 _async_evaluate0$_visitDynamicImport$1($import) {
69628 return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
69629 },
69630 _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
69631 return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
69632 },
69633 _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
69634 return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
69635 },
69636 _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
69637 return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
69638 },
69639 _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
69640 var $async$goto = 0,
69641 $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet_2),
69642 $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;
69643 var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69644 if ($async$errorCode === 1) {
69645 $async$currentError = $async$result;
69646 $async$goto = $async$handler;
69647 }
69648 while (true)
69649 switch ($async$goto) {
69650 case 0:
69651 // Function start
69652 baseUrl = baseUrl;
69653 $async$handler = 4;
69654 $async$self._async_evaluate0$_importSpan = span;
69655 importCache = $async$self._async_evaluate0$_importCache;
69656 $async$goto = importCache != null ? 7 : 9;
69657 break;
69658 case 7:
69659 // then
69660 if (baseUrl == null)
69661 baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
69662 $async$goto = 10;
69663 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);
69664 case 10:
69665 // returning from await.
69666 tuple = $async$result;
69667 $async$goto = tuple != null ? 11 : 12;
69668 break;
69669 case 11:
69670 // then
69671 isDependency = $async$self._async_evaluate0$_inDependency || tuple.item1 !== $async$self._async_evaluate0$_importer;
69672 t1 = tuple.item1;
69673 t2 = tuple.item2;
69674 t3 = tuple.item3;
69675 t4 = $async$self._async_evaluate0$_quietDeps && isDependency;
69676 $async$goto = 13;
69677 return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
69678 case 13:
69679 // returning from await.
69680 stylesheet = $async$result;
69681 if (stylesheet != null) {
69682 $async$self._async_evaluate0$_loadedUrls.add$1(0, tuple.item2);
69683 t1 = tuple.item1;
69684 $async$returnValue = new A._LoadedStylesheet2(stylesheet, t1, isDependency);
69685 $async$next = [1];
69686 // goto finally
69687 $async$goto = 5;
69688 break;
69689 }
69690 case 12:
69691 // join
69692 // goto join
69693 $async$goto = 8;
69694 break;
69695 case 9:
69696 // else
69697 $async$goto = 14;
69698 return A._asyncAwait($async$self._async_evaluate0$_importLikeNode$2(url, forImport), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
69699 case 14:
69700 // returning from await.
69701 result = $async$result;
69702 if (result != null) {
69703 t1 = $async$self._async_evaluate0$_loadedUrls;
69704 A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
69705 $async$returnValue = result;
69706 $async$next = [1];
69707 // goto finally
69708 $async$goto = 5;
69709 break;
69710 }
69711 case 8:
69712 // join
69713 if (B.JSString_methods.startsWith$1(url, "package:") && true)
69714 throw A.wrapException(string$.x22packa);
69715 else
69716 throw A.wrapException("Can't find stylesheet to import.");
69717 $async$next.push(6);
69718 // goto finally
69719 $async$goto = 5;
69720 break;
69721 case 4:
69722 // catch
69723 $async$handler = 3;
69724 $async$exception = $async$currentError;
69725 t1 = A.unwrapException($async$exception);
69726 if (t1 instanceof A.SassException0) {
69727 error = t1;
69728 stackTrace = A.getTraceFromException($async$exception);
69729 t1 = error;
69730 t2 = J.getInterceptor$z(t1);
69731 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
69732 } else {
69733 error0 = t1;
69734 stackTrace0 = A.getTraceFromException($async$exception);
69735 message = null;
69736 try {
69737 message = A._asString(J.get$message$x(error0));
69738 } catch (exception) {
69739 message0 = J.toString$0$(error0);
69740 message = message0;
69741 }
69742 A.throwWithTrace0($async$self._async_evaluate0$_exception$1(message), stackTrace0);
69743 }
69744 $async$next.push(6);
69745 // goto finally
69746 $async$goto = 5;
69747 break;
69748 case 3:
69749 // uncaught
69750 $async$next = [2];
69751 case 5:
69752 // finally
69753 $async$handler = 2;
69754 $async$self._async_evaluate0$_importSpan = null;
69755 // goto the next finally handler
69756 $async$goto = $async$next.pop();
69757 break;
69758 case 6:
69759 // after finally
69760 case 1:
69761 // return
69762 return A._asyncReturn($async$returnValue, $async$completer);
69763 case 2:
69764 // rethrow
69765 return A._asyncRethrow($async$currentError, $async$completer);
69766 }
69767 });
69768 return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
69769 },
69770 _async_evaluate0$_importLikeNode$2(originalUrl, forImport) {
69771 return this._importLikeNode$body$_EvaluateVisitor0(originalUrl, forImport);
69772 },
69773 _importLikeNode$body$_EvaluateVisitor0(originalUrl, forImport) {
69774 var $async$goto = 0,
69775 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet_2),
69776 $async$returnValue, $async$self = this, result, isDependency, url, t2, t1;
69777 var $async$_async_evaluate0$_importLikeNode$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69778 if ($async$errorCode === 1)
69779 return A._asyncRethrow($async$result, $async$completer);
69780 while (true)
69781 switch ($async$goto) {
69782 case 0:
69783 // Function start
69784 t1 = $async$self._async_evaluate0$_nodeImporter;
69785 t1.toString;
69786 result = t1.loadRelative$3(originalUrl, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url, forImport);
69787 $async$goto = result != null ? 3 : 5;
69788 break;
69789 case 3:
69790 // then
69791 isDependency = $async$self._async_evaluate0$_inDependency;
69792 // goto join
69793 $async$goto = 4;
69794 break;
69795 case 5:
69796 // else
69797 $async$goto = 6;
69798 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);
69799 case 6:
69800 // returning from await.
69801 result = $async$result;
69802 if (result == null) {
69803 $async$returnValue = null;
69804 // goto return
69805 $async$goto = 1;
69806 break;
69807 }
69808 isDependency = true;
69809 case 4:
69810 // join
69811 url = result.item2;
69812 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS0;
69813 t2 = $async$self._async_evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : $async$self._async_evaluate0$_logger;
69814 $async$returnValue = new A._LoadedStylesheet2(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
69815 // goto return
69816 $async$goto = 1;
69817 break;
69818 case 1:
69819 // return
69820 return A._asyncReturn($async$returnValue, $async$completer);
69821 }
69822 });
69823 return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$2, $async$completer);
69824 },
69825 _async_evaluate0$_visitStaticImport$1($import) {
69826 return this._visitStaticImport$body$_EvaluateVisitor0($import);
69827 },
69828 _visitStaticImport$body$_EvaluateVisitor0($import) {
69829 var $async$goto = 0,
69830 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
69831 $async$self = this, t1, url, supports, node, $async$temp1, $async$temp2, $async$temp3;
69832 var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69833 if ($async$errorCode === 1)
69834 return A._asyncRethrow($async$result, $async$completer);
69835 while (true)
69836 switch ($async$goto) {
69837 case 0:
69838 // Function start
69839 $async$goto = 2;
69840 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
69841 case 2:
69842 // returning from await.
69843 url = $async$result;
69844 $async$goto = 3;
69845 return A._asyncAwait(A.NullableExtension_andThen0($import.supports, new A._EvaluateVisitor__visitStaticImport_closure2($async$self)), $async$_async_evaluate0$_visitStaticImport$1);
69846 case 3:
69847 // returning from await.
69848 supports = $async$result;
69849 $async$temp1 = A;
69850 $async$temp2 = url;
69851 $async$temp3 = $import.span;
69852 $async$goto = 4;
69853 return A._asyncAwait(A.NullableExtension_andThen0($import.media, $async$self.get$_async_evaluate0$_visitMediaQueries()), $async$_async_evaluate0$_visitStaticImport$1);
69854 case 4:
69855 // returning from await.
69856 node = $async$temp1.ModifiableCssImport$0($async$temp2, $async$temp3, $async$result, supports);
69857 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"))
69858 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
69859 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)) {
69860 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
69861 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
69862 } else {
69863 t1 = $async$self._async_evaluate0$_outOfOrderImports;
69864 (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
69865 }
69866 // implicit return
69867 return A._asyncReturn(null, $async$completer);
69868 }
69869 });
69870 return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
69871 },
69872 visitIncludeRule$1(node) {
69873 return this.visitIncludeRule$body$_EvaluateVisitor0(node);
69874 },
69875 visitIncludeRule$body$_EvaluateVisitor0(node) {
69876 var $async$goto = 0,
69877 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69878 $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
69879 var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69880 if ($async$errorCode === 1)
69881 return A._asyncRethrow($async$result, $async$completer);
69882 while (true)
69883 switch ($async$goto) {
69884 case 0:
69885 // Function start
69886 mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure11($async$self, node));
69887 if (mixin == null)
69888 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", node.span));
69889 nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure12(node));
69890 $async$goto = type$.AsyncBuiltInCallable_2._is(mixin) ? 3 : 5;
69891 break;
69892 case 3:
69893 // then
69894 if (node.content != null)
69895 throw A.wrapException($async$self._async_evaluate0$_exception$2("Mixin doesn't accept a content block.", node.span));
69896 $async$goto = 6;
69897 return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
69898 case 6:
69899 // returning from await.
69900 // goto join
69901 $async$goto = 4;
69902 break;
69903 case 5:
69904 // else
69905 $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin) ? 7 : 9;
69906 break;
69907 case 7:
69908 // then
69909 t1 = node.content;
69910 if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
69911 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())));
69912 $async$goto = 10;
69913 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);
69914 case 10:
69915 // returning from await.
69916 // goto join
69917 $async$goto = 8;
69918 break;
69919 case 9:
69920 // else
69921 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
69922 case 8:
69923 // join
69924 case 4:
69925 // join
69926 $async$returnValue = null;
69927 // goto return
69928 $async$goto = 1;
69929 break;
69930 case 1:
69931 // return
69932 return A._asyncReturn($async$returnValue, $async$completer);
69933 }
69934 });
69935 return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
69936 },
69937 visitMixinRule$1(node) {
69938 return this.visitMixinRule$body$_EvaluateVisitor0(node);
69939 },
69940 visitMixinRule$body$_EvaluateVisitor0(node) {
69941 var $async$goto = 0,
69942 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69943 $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
69944 var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69945 if ($async$errorCode === 1)
69946 return A._asyncRethrow($async$result, $async$completer);
69947 while (true)
69948 switch ($async$goto) {
69949 case 0:
69950 // Function start
69951 t1 = $async$self._async_evaluate0$_environment;
69952 t2 = t1.closure$0();
69953 t3 = $async$self._async_evaluate0$_inDependency;
69954 t4 = t1._async_environment0$_mixins;
69955 index = t4.length - 1;
69956 t5 = node.name;
69957 t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
69958 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
69959 $async$returnValue = null;
69960 // goto return
69961 $async$goto = 1;
69962 break;
69963 case 1:
69964 // return
69965 return A._asyncReturn($async$returnValue, $async$completer);
69966 }
69967 });
69968 return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
69969 },
69970 visitLoudComment$1(node) {
69971 return this.visitLoudComment$body$_EvaluateVisitor0(node);
69972 },
69973 visitLoudComment$body$_EvaluateVisitor0(node) {
69974 var $async$goto = 0,
69975 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69976 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
69977 var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69978 if ($async$errorCode === 1)
69979 return A._asyncRethrow($async$result, $async$completer);
69980 while (true)
69981 switch ($async$goto) {
69982 case 0:
69983 // Function start
69984 if ($async$self._async_evaluate0$_inFunction) {
69985 $async$returnValue = null;
69986 // goto return
69987 $async$goto = 1;
69988 break;
69989 }
69990 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))
69991 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
69992 t1 = node.text;
69993 $async$temp1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
69994 $async$temp2 = A;
69995 $async$goto = 3;
69996 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
69997 case 3:
69998 // returning from await.
69999 $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment0($async$result, t1.span));
70000 $async$returnValue = null;
70001 // goto return
70002 $async$goto = 1;
70003 break;
70004 case 1:
70005 // return
70006 return A._asyncReturn($async$returnValue, $async$completer);
70007 }
70008 });
70009 return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
70010 },
70011 visitMediaRule$1(node) {
70012 return this.visitMediaRule$body$_EvaluateVisitor0(node);
70013 },
70014 visitMediaRule$body$_EvaluateVisitor0(node) {
70015 var $async$goto = 0,
70016 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70017 $async$returnValue, $async$self = this, queries, mergedQueries, t1;
70018 var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70019 if ($async$errorCode === 1)
70020 return A._asyncRethrow($async$result, $async$completer);
70021 while (true)
70022 switch ($async$goto) {
70023 case 0:
70024 // Function start
70025 if ($async$self._async_evaluate0$_declarationName != null)
70026 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
70027 $async$goto = 3;
70028 return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
70029 case 3:
70030 // returning from await.
70031 queries = $async$result;
70032 mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
70033 t1 = mergedQueries == null;
70034 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
70035 $async$returnValue = null;
70036 // goto return
70037 $async$goto = 1;
70038 break;
70039 }
70040 t1 = t1 ? queries : mergedQueries;
70041 $async$goto = 4;
70042 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);
70043 case 4:
70044 // returning from await.
70045 $async$returnValue = null;
70046 // goto return
70047 $async$goto = 1;
70048 break;
70049 case 1:
70050 // return
70051 return A._asyncReturn($async$returnValue, $async$completer);
70052 }
70053 });
70054 return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
70055 },
70056 _async_evaluate0$_visitMediaQueries$1(interpolation) {
70057 return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
70058 },
70059 _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
70060 var $async$goto = 0,
70061 $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
70062 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
70063 var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70064 if ($async$errorCode === 1)
70065 return A._asyncRethrow($async$result, $async$completer);
70066 while (true)
70067 switch ($async$goto) {
70068 case 0:
70069 // Function start
70070 $async$temp1 = interpolation;
70071 $async$temp2 = A;
70072 $async$goto = 3;
70073 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
70074 case 3:
70075 // returning from await.
70076 $async$returnValue = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure2($async$self, $async$result));
70077 // goto return
70078 $async$goto = 1;
70079 break;
70080 case 1:
70081 // return
70082 return A._asyncReturn($async$returnValue, $async$completer);
70083 }
70084 });
70085 return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
70086 },
70087 _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
70088 var t1, t2, t3, t4, t5, result,
70089 queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
70090 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
70091 t4 = t1.get$current(t1);
70092 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
70093 result = t4.merge$1(t5.get$current(t5));
70094 if (result === B._SingletonCssMediaQueryMergeResult_empty0)
70095 continue;
70096 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
70097 return null;
70098 queries.push(t3._as(result).query);
70099 }
70100 }
70101 return queries;
70102 },
70103 visitReturnRule$1(node) {
70104 return this.visitReturnRule$body$_EvaluateVisitor0(node);
70105 },
70106 visitReturnRule$body$_EvaluateVisitor0(node) {
70107 var $async$goto = 0,
70108 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70109 $async$returnValue, $async$self = this, t1;
70110 var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70111 if ($async$errorCode === 1)
70112 return A._asyncRethrow($async$result, $async$completer);
70113 while (true)
70114 switch ($async$goto) {
70115 case 0:
70116 // Function start
70117 t1 = node.expression;
70118 $async$goto = 3;
70119 return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
70120 case 3:
70121 // returning from await.
70122 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
70123 // goto return
70124 $async$goto = 1;
70125 break;
70126 case 1:
70127 // return
70128 return A._asyncReturn($async$returnValue, $async$completer);
70129 }
70130 });
70131 return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
70132 },
70133 visitSilentComment$1(node) {
70134 return this.visitSilentComment$body$_EvaluateVisitor0(node);
70135 },
70136 visitSilentComment$body$_EvaluateVisitor0(node) {
70137 var $async$goto = 0,
70138 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70139 $async$returnValue;
70140 var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70141 if ($async$errorCode === 1)
70142 return A._asyncRethrow($async$result, $async$completer);
70143 while (true)
70144 switch ($async$goto) {
70145 case 0:
70146 // Function start
70147 $async$returnValue = null;
70148 // goto return
70149 $async$goto = 1;
70150 break;
70151 case 1:
70152 // return
70153 return A._asyncReturn($async$returnValue, $async$completer);
70154 }
70155 });
70156 return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
70157 },
70158 visitStyleRule$1(node) {
70159 return this.visitStyleRule$body$_EvaluateVisitor0(node);
70160 },
70161 visitStyleRule$body$_EvaluateVisitor0(node) {
70162 var $async$goto = 0,
70163 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70164 $async$returnValue, $async$self = this, t2, selectorText, rule, oldAtRootExcludingStyleRule, t1;
70165 var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70166 if ($async$errorCode === 1)
70167 return A._asyncRethrow($async$result, $async$completer);
70168 while (true)
70169 switch ($async$goto) {
70170 case 0:
70171 // Function start
70172 t1 = {};
70173 if ($async$self._async_evaluate0$_declarationName != null)
70174 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
70175 t2 = node.selector;
70176 $async$goto = 3;
70177 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$3$trim$warnForColor(t2, true, true), $async$visitStyleRule$1);
70178 case 3:
70179 // returning from await.
70180 selectorText = $async$result;
70181 $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
70182 break;
70183 case 4:
70184 // then
70185 $async$goto = 6;
70186 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);
70187 case 6:
70188 // returning from await.
70189 $async$returnValue = null;
70190 // goto return
70191 $async$goto = 1;
70192 break;
70193 case 5:
70194 // join
70195 t1.parsedSelector = $async$self._async_evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure23($async$self, selectorText));
70196 t1.parsedSelector = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure24(t1, $async$self));
70197 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);
70198 oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
70199 t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
70200 $async$goto = 7;
70201 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);
70202 case 7:
70203 // returning from await.
70204 $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
70205 if ((oldAtRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
70206 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
70207 t1 = !t1.get$isEmpty(t1);
70208 }
70209 if (t1) {
70210 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
70211 t1.get$last(t1).isGroupEnd = true;
70212 }
70213 $async$returnValue = null;
70214 // goto return
70215 $async$goto = 1;
70216 break;
70217 case 1:
70218 // return
70219 return A._asyncReturn($async$returnValue, $async$completer);
70220 }
70221 });
70222 return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
70223 },
70224 visitSupportsRule$1(node) {
70225 return this.visitSupportsRule$body$_EvaluateVisitor0(node);
70226 },
70227 visitSupportsRule$body$_EvaluateVisitor0(node) {
70228 var $async$goto = 0,
70229 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70230 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
70231 var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70232 if ($async$errorCode === 1)
70233 return A._asyncRethrow($async$result, $async$completer);
70234 while (true)
70235 switch ($async$goto) {
70236 case 0:
70237 // Function start
70238 if ($async$self._async_evaluate0$_declarationName != null)
70239 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
70240 t1 = node.condition;
70241 $async$temp1 = A;
70242 $async$temp2 = A;
70243 $async$goto = 4;
70244 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
70245 case 4:
70246 // returning from await.
70247 $async$goto = 3;
70248 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);
70249 case 3:
70250 // returning from await.
70251 $async$returnValue = null;
70252 // goto return
70253 $async$goto = 1;
70254 break;
70255 case 1:
70256 // return
70257 return A._asyncReturn($async$returnValue, $async$completer);
70258 }
70259 });
70260 return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
70261 },
70262 _async_evaluate0$_visitSupportsCondition$1(condition) {
70263 return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
70264 },
70265 _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
70266 var $async$goto = 0,
70267 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
70268 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, result, $async$temp1, $async$temp2;
70269 var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70270 if ($async$errorCode === 1)
70271 return A._asyncRethrow($async$result, $async$completer);
70272 while (true)
70273 switch ($async$goto) {
70274 case 0:
70275 // Function start
70276 $async$goto = condition instanceof A.SupportsOperation0 ? 3 : 5;
70277 break;
70278 case 3:
70279 // then
70280 t1 = condition.operator;
70281 $async$temp1 = A;
70282 $async$goto = 6;
70283 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
70284 case 6:
70285 // returning from await.
70286 $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
70287 $async$temp2 = A;
70288 $async$goto = 7;
70289 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
70290 case 7:
70291 // returning from await.
70292 $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
70293 // goto return
70294 $async$goto = 1;
70295 break;
70296 // goto join
70297 $async$goto = 4;
70298 break;
70299 case 5:
70300 // else
70301 $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 10;
70302 break;
70303 case 8:
70304 // then
70305 $async$temp1 = A;
70306 $async$goto = 11;
70307 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
70308 case 11:
70309 // returning from await.
70310 $async$returnValue = "not " + $async$temp1.S($async$result);
70311 // goto return
70312 $async$goto = 1;
70313 break;
70314 // goto join
70315 $async$goto = 9;
70316 break;
70317 case 10:
70318 // else
70319 $async$goto = condition instanceof A.SupportsInterpolation0 ? 12 : 14;
70320 break;
70321 case 12:
70322 // then
70323 $async$goto = 15;
70324 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
70325 case 15:
70326 // returning from await.
70327 $async$returnValue = $async$result;
70328 // goto return
70329 $async$goto = 1;
70330 break;
70331 // goto join
70332 $async$goto = 13;
70333 break;
70334 case 14:
70335 // else
70336 $async$goto = condition instanceof A.SupportsDeclaration0 ? 16 : 18;
70337 break;
70338 case 16:
70339 // then
70340 oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
70341 $async$self._async_evaluate0$_inSupportsDeclaration = true;
70342 $async$temp1 = A;
70343 $async$goto = 19;
70344 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
70345 case 19:
70346 // returning from await.
70347 t1 = "(" + $async$temp1.S($async$result) + ":";
70348 $async$temp1 = t1 + (condition.get$isCustomProperty() ? "" : " ");
70349 $async$temp2 = A;
70350 $async$goto = 20;
70351 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.value), $async$_async_evaluate0$_visitSupportsCondition$1);
70352 case 20:
70353 // returning from await.
70354 result = $async$temp1 + $async$temp2.S($async$result) + ")";
70355 $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
70356 $async$returnValue = result;
70357 // goto return
70358 $async$goto = 1;
70359 break;
70360 // goto join
70361 $async$goto = 17;
70362 break;
70363 case 18:
70364 // else
70365 $async$goto = condition instanceof A.SupportsFunction0 ? 21 : 23;
70366 break;
70367 case 21:
70368 // then
70369 $async$temp1 = A;
70370 $async$goto = 24;
70371 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
70372 case 24:
70373 // returning from await.
70374 $async$temp1 = $async$temp1.S($async$result) + "(";
70375 $async$temp2 = A;
70376 $async$goto = 25;
70377 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
70378 case 25:
70379 // returning from await.
70380 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
70381 // goto return
70382 $async$goto = 1;
70383 break;
70384 // goto join
70385 $async$goto = 22;
70386 break;
70387 case 23:
70388 // else
70389 $async$goto = condition instanceof A.SupportsAnything0 ? 26 : 28;
70390 break;
70391 case 26:
70392 // then
70393 $async$temp1 = A;
70394 $async$goto = 29;
70395 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
70396 case 29:
70397 // returning from await.
70398 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
70399 // goto return
70400 $async$goto = 1;
70401 break;
70402 // goto join
70403 $async$goto = 27;
70404 break;
70405 case 28:
70406 // else
70407 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
70408 case 27:
70409 // join
70410 case 22:
70411 // join
70412 case 17:
70413 // join
70414 case 13:
70415 // join
70416 case 9:
70417 // join
70418 case 4:
70419 // join
70420 case 1:
70421 // return
70422 return A._asyncReturn($async$returnValue, $async$completer);
70423 }
70424 });
70425 return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
70426 },
70427 _async_evaluate0$_parenthesize$2(condition, operator) {
70428 return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
70429 },
70430 _async_evaluate0$_parenthesize$1(condition) {
70431 return this._async_evaluate0$_parenthesize$2(condition, null);
70432 },
70433 _parenthesize$body$_EvaluateVisitor0(condition, operator) {
70434 var $async$goto = 0,
70435 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
70436 $async$returnValue, $async$self = this, t1, $async$temp1;
70437 var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70438 if ($async$errorCode === 1)
70439 return A._asyncRethrow($async$result, $async$completer);
70440 while (true)
70441 switch ($async$goto) {
70442 case 0:
70443 // Function start
70444 if (!(condition instanceof A.SupportsNegation0))
70445 if (condition instanceof A.SupportsOperation0)
70446 t1 = operator == null || operator !== condition.operator;
70447 else
70448 t1 = false;
70449 else
70450 t1 = true;
70451 $async$goto = t1 ? 3 : 5;
70452 break;
70453 case 3:
70454 // then
70455 $async$temp1 = A;
70456 $async$goto = 6;
70457 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
70458 case 6:
70459 // returning from await.
70460 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
70461 // goto return
70462 $async$goto = 1;
70463 break;
70464 // goto join
70465 $async$goto = 4;
70466 break;
70467 case 5:
70468 // else
70469 $async$goto = 7;
70470 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
70471 case 7:
70472 // returning from await.
70473 $async$returnValue = $async$result;
70474 // goto return
70475 $async$goto = 1;
70476 break;
70477 case 4:
70478 // join
70479 case 1:
70480 // return
70481 return A._asyncReturn($async$returnValue, $async$completer);
70482 }
70483 });
70484 return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
70485 },
70486 visitVariableDeclaration$1(node) {
70487 return this.visitVariableDeclaration$body$_EvaluateVisitor0(node);
70488 },
70489 visitVariableDeclaration$body$_EvaluateVisitor0(node) {
70490 var $async$goto = 0,
70491 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70492 $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
70493 var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70494 if ($async$errorCode === 1)
70495 return A._asyncRethrow($async$result, $async$completer);
70496 while (true)
70497 switch ($async$goto) {
70498 case 0:
70499 // Function start
70500 if (node.isGuarded) {
70501 if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
70502 t1 = $async$self._async_evaluate0$_configuration._configuration$_values;
70503 t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
70504 if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
70505 $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8($async$self, node, t1));
70506 $async$returnValue = null;
70507 // goto return
70508 $async$goto = 1;
70509 break;
70510 }
70511 }
70512 value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
70513 if (value != null && !value.$eq(0, B.C__SassNull0)) {
70514 $async$returnValue = null;
70515 // goto return
70516 $async$goto = 1;
70517 break;
70518 }
70519 }
70520 if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
70521 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.";
70522 $async$self._async_evaluate0$_warn$3$deprecation(t1, node.span, true);
70523 }
70524 t1 = node.expression;
70525 $async$temp1 = node;
70526 $async$temp2 = A;
70527 $async$temp3 = node;
70528 $async$goto = 3;
70529 return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
70530 case 3:
70531 // returning from await.
70532 $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)));
70533 $async$returnValue = null;
70534 // goto return
70535 $async$goto = 1;
70536 break;
70537 case 1:
70538 // return
70539 return A._asyncReturn($async$returnValue, $async$completer);
70540 }
70541 });
70542 return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
70543 },
70544 visitUseRule$1(node) {
70545 return this.visitUseRule$body$_EvaluateVisitor0(node);
70546 },
70547 visitUseRule$body$_EvaluateVisitor0(node) {
70548 var $async$goto = 0,
70549 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70550 $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
70551 var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70552 if ($async$errorCode === 1)
70553 return A._asyncRethrow($async$result, $async$completer);
70554 while (true)
70555 switch ($async$goto) {
70556 case 0:
70557 // Function start
70558 t1 = node.configuration;
70559 t2 = t1.length;
70560 $async$goto = t2 !== 0 ? 3 : 5;
70561 break;
70562 case 3:
70563 // then
70564 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
70565 _i = 0;
70566 case 6:
70567 // for condition
70568 if (!(_i < t2)) {
70569 // goto after for
70570 $async$goto = 8;
70571 break;
70572 }
70573 variable = t1[_i];
70574 t3 = variable.expression;
70575 variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t3);
70576 $async$temp1 = values;
70577 $async$temp2 = variable.name;
70578 $async$temp3 = A;
70579 $async$goto = 9;
70580 return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
70581 case 9:
70582 // returning from await.
70583 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
70584 case 7:
70585 // for update
70586 ++_i;
70587 // goto for condition
70588 $async$goto = 6;
70589 break;
70590 case 8:
70591 // after for
70592 configuration = new A.ExplicitConfiguration0(node, values);
70593 // goto join
70594 $async$goto = 4;
70595 break;
70596 case 5:
70597 // else
70598 configuration = B.Configuration_Map_empty0;
70599 case 4:
70600 // join
70601 $async$goto = 10;
70602 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);
70603 case 10:
70604 // returning from await.
70605 $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
70606 $async$returnValue = null;
70607 // goto return
70608 $async$goto = 1;
70609 break;
70610 case 1:
70611 // return
70612 return A._asyncReturn($async$returnValue, $async$completer);
70613 }
70614 });
70615 return A._asyncStartSync($async$visitUseRule$1, $async$completer);
70616 },
70617 visitWarnRule$1(node) {
70618 return this.visitWarnRule$body$_EvaluateVisitor0(node);
70619 },
70620 visitWarnRule$body$_EvaluateVisitor0(node) {
70621 var $async$goto = 0,
70622 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
70623 $async$returnValue, $async$self = this, value, t1;
70624 var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70625 if ($async$errorCode === 1)
70626 return A._asyncRethrow($async$result, $async$completer);
70627 while (true)
70628 switch ($async$goto) {
70629 case 0:
70630 // Function start
70631 $async$goto = 3;
70632 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);
70633 case 3:
70634 // returning from await.
70635 value = $async$result;
70636 t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
70637 $async$self._async_evaluate0$_logger.warn$2$trace(0, t1, $async$self._async_evaluate0$_stackTrace$1(node.span));
70638 $async$returnValue = null;
70639 // goto return
70640 $async$goto = 1;
70641 break;
70642 case 1:
70643 // return
70644 return A._asyncReturn($async$returnValue, $async$completer);
70645 }
70646 });
70647 return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
70648 },
70649 visitWhileRule$1(node) {
70650 return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
70651 },
70652 visitBinaryOperationExpression$1(node) {
70653 return this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(this, node), type$.Value_2);
70654 },
70655 visitValueExpression$1(node) {
70656 return this.visitValueExpression$body$_EvaluateVisitor0(node);
70657 },
70658 visitValueExpression$body$_EvaluateVisitor0(node) {
70659 var $async$goto = 0,
70660 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70661 $async$returnValue;
70662 var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70663 if ($async$errorCode === 1)
70664 return A._asyncRethrow($async$result, $async$completer);
70665 while (true)
70666 switch ($async$goto) {
70667 case 0:
70668 // Function start
70669 $async$returnValue = node.value;
70670 // goto return
70671 $async$goto = 1;
70672 break;
70673 case 1:
70674 // return
70675 return A._asyncReturn($async$returnValue, $async$completer);
70676 }
70677 });
70678 return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
70679 },
70680 visitVariableExpression$1(node) {
70681 return this.visitVariableExpression$body$_EvaluateVisitor0(node);
70682 },
70683 visitVariableExpression$body$_EvaluateVisitor0(node) {
70684 var $async$goto = 0,
70685 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70686 $async$returnValue, $async$self = this, result;
70687 var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70688 if ($async$errorCode === 1)
70689 return A._asyncRethrow($async$result, $async$completer);
70690 while (true)
70691 switch ($async$goto) {
70692 case 0:
70693 // Function start
70694 result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
70695 if (result != null) {
70696 $async$returnValue = result;
70697 // goto return
70698 $async$goto = 1;
70699 break;
70700 }
70701 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
70702 case 1:
70703 // return
70704 return A._asyncReturn($async$returnValue, $async$completer);
70705 }
70706 });
70707 return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
70708 },
70709 visitUnaryOperationExpression$1(node) {
70710 return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(node);
70711 },
70712 visitUnaryOperationExpression$body$_EvaluateVisitor0(node) {
70713 var $async$goto = 0,
70714 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70715 $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
70716 var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70717 if ($async$errorCode === 1)
70718 return A._asyncRethrow($async$result, $async$completer);
70719 while (true)
70720 switch ($async$goto) {
70721 case 0:
70722 // Function start
70723 $async$temp1 = node;
70724 $async$temp2 = A;
70725 $async$temp3 = node;
70726 $async$goto = 3;
70727 return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
70728 case 3:
70729 // returning from await.
70730 $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
70731 // goto return
70732 $async$goto = 1;
70733 break;
70734 case 1:
70735 // return
70736 return A._asyncReturn($async$returnValue, $async$completer);
70737 }
70738 });
70739 return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
70740 },
70741 visitBooleanExpression$1(node) {
70742 return this.visitBooleanExpression$body$_EvaluateVisitor0(node);
70743 },
70744 visitBooleanExpression$body$_EvaluateVisitor0(node) {
70745 var $async$goto = 0,
70746 $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
70747 $async$returnValue;
70748 var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70749 if ($async$errorCode === 1)
70750 return A._asyncRethrow($async$result, $async$completer);
70751 while (true)
70752 switch ($async$goto) {
70753 case 0:
70754 // Function start
70755 $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
70756 // goto return
70757 $async$goto = 1;
70758 break;
70759 case 1:
70760 // return
70761 return A._asyncReturn($async$returnValue, $async$completer);
70762 }
70763 });
70764 return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
70765 },
70766 visitIfExpression$1(node) {
70767 return this.visitIfExpression$body$_EvaluateVisitor0(node);
70768 },
70769 visitIfExpression$body$_EvaluateVisitor0(node) {
70770 var $async$goto = 0,
70771 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70772 $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
70773 var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70774 if ($async$errorCode === 1)
70775 return A._asyncRethrow($async$result, $async$completer);
70776 while (true)
70777 switch ($async$goto) {
70778 case 0:
70779 // Function start
70780 $async$goto = 3;
70781 return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
70782 case 3:
70783 // returning from await.
70784 pair = $async$result;
70785 positional = pair.item1;
70786 named = pair.item2;
70787 t1 = J.getInterceptor$asx(positional);
70788 $async$self._async_evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
70789 if (t1.get$length(positional) > 0)
70790 condition = t1.$index(positional, 0);
70791 else {
70792 t2 = named.$index(0, "condition");
70793 t2.toString;
70794 condition = t2;
70795 }
70796 if (t1.get$length(positional) > 1)
70797 ifTrue = t1.$index(positional, 1);
70798 else {
70799 t2 = named.$index(0, "if-true");
70800 t2.toString;
70801 ifTrue = t2;
70802 }
70803 if (t1.get$length(positional) > 2)
70804 ifFalse = t1.$index(positional, 2);
70805 else {
70806 t1 = named.$index(0, "if-false");
70807 t1.toString;
70808 ifFalse = t1;
70809 }
70810 $async$goto = 4;
70811 return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
70812 case 4:
70813 // returning from await.
70814 result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
70815 $async$goto = 5;
70816 return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
70817 case 5:
70818 // returning from await.
70819 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
70820 // goto return
70821 $async$goto = 1;
70822 break;
70823 case 1:
70824 // return
70825 return A._asyncReturn($async$returnValue, $async$completer);
70826 }
70827 });
70828 return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
70829 },
70830 visitNullExpression$1(node) {
70831 return this.visitNullExpression$body$_EvaluateVisitor0(node);
70832 },
70833 visitNullExpression$body$_EvaluateVisitor0(node) {
70834 var $async$goto = 0,
70835 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70836 $async$returnValue;
70837 var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70838 if ($async$errorCode === 1)
70839 return A._asyncRethrow($async$result, $async$completer);
70840 while (true)
70841 switch ($async$goto) {
70842 case 0:
70843 // Function start
70844 $async$returnValue = B.C__SassNull0;
70845 // goto return
70846 $async$goto = 1;
70847 break;
70848 case 1:
70849 // return
70850 return A._asyncReturn($async$returnValue, $async$completer);
70851 }
70852 });
70853 return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
70854 },
70855 visitNumberExpression$1(node) {
70856 return this.visitNumberExpression$body$_EvaluateVisitor0(node);
70857 },
70858 visitNumberExpression$body$_EvaluateVisitor0(node) {
70859 var $async$goto = 0,
70860 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
70861 $async$returnValue, t1, t2;
70862 var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70863 if ($async$errorCode === 1)
70864 return A._asyncRethrow($async$result, $async$completer);
70865 while (true)
70866 switch ($async$goto) {
70867 case 0:
70868 // Function start
70869 t1 = node.value;
70870 t2 = node.unit;
70871 $async$returnValue = t2 == null ? new A.UnitlessSassNumber0(t1, null) : new A.SingleUnitSassNumber0(t2, t1, null);
70872 // goto return
70873 $async$goto = 1;
70874 break;
70875 case 1:
70876 // return
70877 return A._asyncReturn($async$returnValue, $async$completer);
70878 }
70879 });
70880 return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
70881 },
70882 visitParenthesizedExpression$1(node) {
70883 return node.expression.accept$1(this);
70884 },
70885 visitCalculationExpression$1(node) {
70886 return this.visitCalculationExpression$body$_EvaluateVisitor0(node);
70887 },
70888 visitCalculationExpression$body$_EvaluateVisitor0(node) {
70889 var $async$goto = 0,
70890 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70891 $async$returnValue, $async$next = [], $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
70892 var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70893 if ($async$errorCode === 1)
70894 return A._asyncRethrow($async$result, $async$completer);
70895 while (true)
70896 $async$outer:
70897 switch ($async$goto) {
70898 case 0:
70899 // Function start
70900 t1 = A._setArrayType([], type$.JSArray_Object);
70901 t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
70902 case 3:
70903 // for condition
70904 if (!(_i < t3)) {
70905 // goto after for
70906 $async$goto = 5;
70907 break;
70908 }
70909 argument = t2[_i];
70910 $async$temp1 = t1;
70911 $async$goto = 6;
70912 return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
70913 case 6:
70914 // returning from await.
70915 $async$temp1.push($async$result);
70916 case 4:
70917 // for update
70918 ++_i;
70919 // goto for condition
70920 $async$goto = 3;
70921 break;
70922 case 5:
70923 // after for
70924 $arguments = t1;
70925 if ($async$self._async_evaluate0$_inSupportsDeclaration) {
70926 $async$returnValue = new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
70927 // goto return
70928 $async$goto = 1;
70929 break;
70930 }
70931 try {
70932 switch (t4) {
70933 case "calc":
70934 t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
70935 $async$returnValue = t1;
70936 // goto return
70937 $async$goto = 1;
70938 break $async$outer;
70939 case "min":
70940 t1 = A.SassCalculation_min0($arguments);
70941 $async$returnValue = t1;
70942 // goto return
70943 $async$goto = 1;
70944 break $async$outer;
70945 case "max":
70946 t1 = A.SassCalculation_max0($arguments);
70947 $async$returnValue = t1;
70948 // goto return
70949 $async$goto = 1;
70950 break $async$outer;
70951 case "clamp":
70952 t1 = J.$index$asx($arguments, 0);
70953 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
70954 t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
70955 $async$returnValue = t1;
70956 // goto return
70957 $async$goto = 1;
70958 break $async$outer;
70959 default:
70960 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
70961 throw A.wrapException(t1);
70962 }
70963 } catch (exception) {
70964 t1 = A.unwrapException(exception);
70965 if (t1 instanceof A.SassScriptException0) {
70966 error = t1;
70967 stackTrace = A.getTraceFromException(exception);
70968 $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
70969 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), stackTrace);
70970 } else
70971 throw exception;
70972 }
70973 case 1:
70974 // return
70975 return A._asyncReturn($async$returnValue, $async$completer);
70976 }
70977 });
70978 return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
70979 },
70980 _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
70981 var i, t1, arg, number1, j, number2;
70982 for (i = 0; t1 = args.length, i < t1; ++i) {
70983 arg = args[i];
70984 if (!(arg instanceof A.SassNumber0))
70985 continue;
70986 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
70987 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])));
70988 }
70989 for (i = 0; i < t1 - 1; ++i) {
70990 number1 = args[i];
70991 if (!(number1 instanceof A.SassNumber0))
70992 continue;
70993 for (j = i + 1; t1 = args.length, j < t1; ++j) {
70994 number2 = args[j];
70995 if (!(number2 instanceof A.SassNumber0))
70996 continue;
70997 if (number1.hasPossiblyCompatibleUnits$1(number2))
70998 continue;
70999 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]))));
71000 }
71001 }
71002 },
71003 _async_evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
71004 return this._visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax);
71005 },
71006 _visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax) {
71007 var $async$goto = 0,
71008 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
71009 $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
71010 var $async$_async_evaluate0$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71011 if ($async$errorCode === 1)
71012 return A._asyncRethrow($async$result, $async$completer);
71013 while (true)
71014 switch ($async$goto) {
71015 case 0:
71016 // Function start
71017 $async$goto = node instanceof A.ParenthesizedExpression0 ? 3 : 5;
71018 break;
71019 case 3:
71020 // then
71021 inner = node.expression;
71022 $async$goto = 6;
71023 return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
71024 case 6:
71025 // returning from await.
71026 result = $async$result;
71027 if (inner instanceof A.FunctionExpression0)
71028 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
71029 else
71030 t1 = false;
71031 $async$returnValue = t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
71032 // goto return
71033 $async$goto = 1;
71034 break;
71035 // goto join
71036 $async$goto = 4;
71037 break;
71038 case 5:
71039 // else
71040 $async$goto = node instanceof A.StringExpression0 ? 7 : 9;
71041 break;
71042 case 7:
71043 // then
71044 $async$temp1 = A;
71045 $async$goto = 10;
71046 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.text), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
71047 case 10:
71048 // returning from await.
71049 $async$returnValue = new $async$temp1.CalculationInterpolation0($async$result);
71050 // goto return
71051 $async$goto = 1;
71052 break;
71053 // goto join
71054 $async$goto = 8;
71055 break;
71056 case 9:
71057 // else
71058 $async$goto = node instanceof A.BinaryOperationExpression0 ? 11 : 13;
71059 break;
71060 case 11:
71061 // then
71062 $async$goto = 14;
71063 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);
71064 case 14:
71065 // returning from await.
71066 $async$returnValue = $async$result;
71067 // goto return
71068 $async$goto = 1;
71069 break;
71070 // goto join
71071 $async$goto = 12;
71072 break;
71073 case 13:
71074 // else
71075 $async$goto = 15;
71076 return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
71077 case 15:
71078 // returning from await.
71079 result = $async$result;
71080 if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0) {
71081 $async$returnValue = result;
71082 // goto return
71083 $async$goto = 1;
71084 break;
71085 }
71086 if (result instanceof A.SassString0 && !result._string0$_hasQuotes) {
71087 $async$returnValue = result;
71088 // goto return
71089 $async$goto = 1;
71090 break;
71091 }
71092 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)));
71093 case 12:
71094 // join
71095 case 8:
71096 // join
71097 case 4:
71098 // join
71099 case 1:
71100 // return
71101 return A._asyncReturn($async$returnValue, $async$completer);
71102 }
71103 });
71104 return A._asyncStartSync($async$_async_evaluate0$_visitCalculationValue$2$inMinMax, $async$completer);
71105 },
71106 _async_evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
71107 switch (operator) {
71108 case B.BinaryOperator_AcR2:
71109 return B.CalculationOperator_Iem0;
71110 case B.BinaryOperator_iyO0:
71111 return B.CalculationOperator_uti0;
71112 case B.BinaryOperator_O1M0:
71113 return B.CalculationOperator_Dih0;
71114 case B.BinaryOperator_RTB0:
71115 return B.CalculationOperator_jB60;
71116 default:
71117 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
71118 }
71119 },
71120 visitColorExpression$1(node) {
71121 return this.visitColorExpression$body$_EvaluateVisitor0(node);
71122 },
71123 visitColorExpression$body$_EvaluateVisitor0(node) {
71124 var $async$goto = 0,
71125 $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
71126 $async$returnValue;
71127 var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71128 if ($async$errorCode === 1)
71129 return A._asyncRethrow($async$result, $async$completer);
71130 while (true)
71131 switch ($async$goto) {
71132 case 0:
71133 // Function start
71134 $async$returnValue = node.value;
71135 // goto return
71136 $async$goto = 1;
71137 break;
71138 case 1:
71139 // return
71140 return A._asyncReturn($async$returnValue, $async$completer);
71141 }
71142 });
71143 return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
71144 },
71145 visitListExpression$1(node) {
71146 return this.visitListExpression$body$_EvaluateVisitor0(node);
71147 },
71148 visitListExpression$body$_EvaluateVisitor0(node) {
71149 var $async$goto = 0,
71150 $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
71151 $async$returnValue, $async$self = this, $async$temp1;
71152 var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71153 if ($async$errorCode === 1)
71154 return A._asyncRethrow($async$result, $async$completer);
71155 while (true)
71156 switch ($async$goto) {
71157 case 0:
71158 // Function start
71159 $async$temp1 = A;
71160 $async$goto = 3;
71161 return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
71162 case 3:
71163 // returning from await.
71164 $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
71165 // goto return
71166 $async$goto = 1;
71167 break;
71168 case 1:
71169 // return
71170 return A._asyncReturn($async$returnValue, $async$completer);
71171 }
71172 });
71173 return A._asyncStartSync($async$visitListExpression$1, $async$completer);
71174 },
71175 visitMapExpression$1(node) {
71176 return this.visitMapExpression$body$_EvaluateVisitor0(node);
71177 },
71178 visitMapExpression$body$_EvaluateVisitor0(node) {
71179 var $async$goto = 0,
71180 $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
71181 $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
71182 var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71183 if ($async$errorCode === 1)
71184 return A._asyncRethrow($async$result, $async$completer);
71185 while (true)
71186 switch ($async$goto) {
71187 case 0:
71188 // Function start
71189 t1 = type$.Value_2;
71190 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
71191 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
71192 t2 = node.pairs, t3 = t2.length, _i = 0;
71193 case 3:
71194 // for condition
71195 if (!(_i < t3)) {
71196 // goto after for
71197 $async$goto = 5;
71198 break;
71199 }
71200 pair = t2[_i];
71201 t4 = pair.item1;
71202 $async$goto = 6;
71203 return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
71204 case 6:
71205 // returning from await.
71206 keyValue = $async$result;
71207 $async$goto = 7;
71208 return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
71209 case 7:
71210 // returning from await.
71211 valueValue = $async$result;
71212 if (map.$index(0, keyValue) != null) {
71213 t1 = keyNodes.$index(0, keyValue);
71214 oldValueSpan = t1 == null ? null : t1.get$span(t1);
71215 t1 = J.getInterceptor$z(t4);
71216 t2 = t1.get$span(t4);
71217 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
71218 if (oldValueSpan != null)
71219 t3.$indexSet(0, oldValueSpan, "first key");
71220 throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate0$_stackTrace$1(t1.get$span(t4))));
71221 }
71222 map.$indexSet(0, keyValue, valueValue);
71223 keyNodes.$indexSet(0, keyValue, t4);
71224 case 4:
71225 // for update
71226 ++_i;
71227 // goto for condition
71228 $async$goto = 3;
71229 break;
71230 case 5:
71231 // after for
71232 $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
71233 // goto return
71234 $async$goto = 1;
71235 break;
71236 case 1:
71237 // return
71238 return A._asyncReturn($async$returnValue, $async$completer);
71239 }
71240 });
71241 return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
71242 },
71243 visitFunctionExpression$1(node) {
71244 return this.visitFunctionExpression$body$_EvaluateVisitor0(node);
71245 },
71246 visitFunctionExpression$body$_EvaluateVisitor0(node) {
71247 var $async$goto = 0,
71248 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
71249 $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
71250 var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71251 if ($async$errorCode === 1)
71252 return A._asyncRethrow($async$result, $async$completer);
71253 while (true)
71254 switch ($async$goto) {
71255 case 0:
71256 // Function start
71257 t1 = {};
71258 $function = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5($async$self, node));
71259 t1.$function = $function;
71260 if ($function == null) {
71261 if (node.namespace != null)
71262 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
71263 t1.$function = new A.PlainCssCallable0(node.originalName);
71264 }
71265 oldInFunction = $async$self._async_evaluate0$_inFunction;
71266 $async$self._async_evaluate0$_inFunction = true;
71267 $async$goto = 3;
71268 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);
71269 case 3:
71270 // returning from await.
71271 result = $async$result;
71272 $async$self._async_evaluate0$_inFunction = oldInFunction;
71273 $async$returnValue = result;
71274 // goto return
71275 $async$goto = 1;
71276 break;
71277 case 1:
71278 // return
71279 return A._asyncReturn($async$returnValue, $async$completer);
71280 }
71281 });
71282 return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
71283 },
71284 visitInterpolatedFunctionExpression$1(node) {
71285 return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node);
71286 },
71287 visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node) {
71288 var $async$goto = 0,
71289 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
71290 $async$returnValue, $async$self = this, result, t1, oldInFunction;
71291 var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71292 if ($async$errorCode === 1)
71293 return A._asyncRethrow($async$result, $async$completer);
71294 while (true)
71295 switch ($async$goto) {
71296 case 0:
71297 // Function start
71298 $async$goto = 3;
71299 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
71300 case 3:
71301 // returning from await.
71302 t1 = $async$result;
71303 oldInFunction = $async$self._async_evaluate0$_inFunction;
71304 $async$self._async_evaluate0$_inFunction = true;
71305 $async$goto = 4;
71306 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);
71307 case 4:
71308 // returning from await.
71309 result = $async$result;
71310 $async$self._async_evaluate0$_inFunction = oldInFunction;
71311 $async$returnValue = result;
71312 // goto return
71313 $async$goto = 1;
71314 break;
71315 case 1:
71316 // return
71317 return A._asyncReturn($async$returnValue, $async$completer);
71318 }
71319 });
71320 return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
71321 },
71322 _async_evaluate0$_getFunction$2$namespace($name, namespace) {
71323 var local = this._async_evaluate0$_environment.getFunction$2$namespace($name, namespace);
71324 if (local != null || namespace != null)
71325 return local;
71326 return this._async_evaluate0$_builtInFunctions.$index(0, $name);
71327 },
71328 _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
71329 return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
71330 },
71331 _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
71332 var $async$goto = 0,
71333 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71334 $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
71335 var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71336 if ($async$errorCode === 1)
71337 return A._asyncRethrow($async$result, $async$completer);
71338 while (true)
71339 switch ($async$goto) {
71340 case 0:
71341 // Function start
71342 $async$goto = 3;
71343 return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
71344 case 3:
71345 // returning from await.
71346 evaluated = $async$result;
71347 $name = callable.declaration.name;
71348 if ($name !== "@content")
71349 $name += "()";
71350 oldCallable = $async$self._async_evaluate0$_currentCallable;
71351 $async$self._async_evaluate0$_currentCallable = callable;
71352 $async$goto = 4;
71353 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);
71354 case 4:
71355 // returning from await.
71356 result = $async$result;
71357 $async$self._async_evaluate0$_currentCallable = oldCallable;
71358 $async$returnValue = result;
71359 // goto return
71360 $async$goto = 1;
71361 break;
71362 case 1:
71363 // return
71364 return A._asyncReturn($async$returnValue, $async$completer);
71365 }
71366 });
71367 return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
71368 },
71369 _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
71370 return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
71371 },
71372 _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
71373 var $async$goto = 0,
71374 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
71375 $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
71376 var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71377 if ($async$errorCode === 1)
71378 return A._asyncRethrow($async$result, $async$completer);
71379 while (true)
71380 switch ($async$goto) {
71381 case 0:
71382 // Function start
71383 $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
71384 break;
71385 case 3:
71386 // then
71387 $async$goto = 6;
71388 return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
71389 case 6:
71390 // returning from await.
71391 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
71392 // goto return
71393 $async$goto = 1;
71394 break;
71395 // goto join
71396 $async$goto = 4;
71397 break;
71398 case 5:
71399 // else
71400 $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
71401 break;
71402 case 7:
71403 // then
71404 $async$goto = 10;
71405 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);
71406 case 10:
71407 // returning from await.
71408 $async$returnValue = $async$result;
71409 // goto return
71410 $async$goto = 1;
71411 break;
71412 // goto join
71413 $async$goto = 8;
71414 break;
71415 case 9:
71416 // else
71417 $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
71418 break;
71419 case 11:
71420 // then
71421 t1 = $arguments.named;
71422 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
71423 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
71424 t1 = callable.name + "(";
71425 t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
71426 case 14:
71427 // for condition
71428 if (!(_i < t3)) {
71429 // goto after for
71430 $async$goto = 16;
71431 break;
71432 }
71433 argument = t2[_i];
71434 if (first)
71435 first = false;
71436 else
71437 t1 += ", ";
71438 $async$temp1 = A;
71439 $async$goto = 17;
71440 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
71441 case 17:
71442 // returning from await.
71443 t1 += $async$temp1.S($async$result);
71444 case 15:
71445 // for update
71446 ++_i;
71447 // goto for condition
71448 $async$goto = 14;
71449 break;
71450 case 16:
71451 // after for
71452 restArg = $arguments.rest;
71453 $async$goto = restArg != null ? 18 : 19;
71454 break;
71455 case 18:
71456 // then
71457 $async$goto = 20;
71458 return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
71459 case 20:
71460 // returning from await.
71461 rest = $async$result;
71462 if (!first)
71463 t1 += ", ";
71464 t1 += $async$self._async_evaluate0$_serialize$2(rest, restArg);
71465 case 19:
71466 // join
71467 t1 += A.Primitives_stringFromCharCode(41);
71468 $async$returnValue = new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
71469 // goto return
71470 $async$goto = 1;
71471 break;
71472 // goto join
71473 $async$goto = 12;
71474 break;
71475 case 13:
71476 // else
71477 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
71478 case 12:
71479 // join
71480 case 8:
71481 // join
71482 case 4:
71483 // join
71484 case 1:
71485 // return
71486 return A._asyncReturn($async$returnValue, $async$completer);
71487 }
71488 });
71489 return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
71490 },
71491 _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
71492 return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
71493 },
71494 _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
71495 var $async$goto = 0,
71496 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
71497 $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;
71498 var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71499 if ($async$errorCode === 1) {
71500 $async$currentError = $async$result;
71501 $async$goto = $async$handler;
71502 }
71503 while (true)
71504 switch ($async$goto) {
71505 case 0:
71506 // Function start
71507 $async$goto = 3;
71508 return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
71509 case 3:
71510 // returning from await.
71511 evaluated = $async$result;
71512 oldCallableNode = $async$self._async_evaluate0$_callableNode;
71513 $async$self._async_evaluate0$_callableNode = nodeWithSpan;
71514 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
71515 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
71516 overload = tuple.item1;
71517 callback = tuple.item2;
71518 $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(overload, evaluated, namedSet));
71519 declaredArguments = overload.$arguments;
71520 i = evaluated.positional.length, t1 = declaredArguments.length;
71521 case 4:
71522 // for condition
71523 if (!(i < t1)) {
71524 // goto after for
71525 $async$goto = 6;
71526 break;
71527 }
71528 argument = declaredArguments[i];
71529 t2 = evaluated.positional;
71530 t3 = evaluated.named.remove$1(0, argument.name);
71531 $async$goto = t3 == null ? 7 : 8;
71532 break;
71533 case 7:
71534 // then
71535 t3 = argument.defaultValue;
71536 $async$goto = 9;
71537 return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate0$_runBuiltInCallable$3);
71538 case 9:
71539 // returning from await.
71540 t3 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t3);
71541 case 8:
71542 // join
71543 t2.push(t3);
71544 case 5:
71545 // for update
71546 ++i;
71547 // goto for condition
71548 $async$goto = 4;
71549 break;
71550 case 6:
71551 // after for
71552 if (overload.restArgument != null) {
71553 if (evaluated.positional.length > t1) {
71554 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
71555 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
71556 } else
71557 rest = B.List_empty15;
71558 t1 = evaluated.named;
71559 argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : evaluated.separator);
71560 evaluated.positional.push(argumentList);
71561 } else
71562 argumentList = null;
71563 result = null;
71564 $async$handler = 11;
71565 $async$goto = 14;
71566 return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate0$_runBuiltInCallable$3);
71567 case 14:
71568 // returning from await.
71569 result = $async$result;
71570 $async$handler = 2;
71571 // goto after finally
71572 $async$goto = 13;
71573 break;
71574 case 11:
71575 // catch
71576 $async$handler = 10;
71577 $async$exception = $async$currentError;
71578 t1 = A.unwrapException($async$exception);
71579 if (type$.SassRuntimeException_2._is(t1))
71580 throw $async$exception;
71581 else if (t1 instanceof A.MultiSpanSassScriptException0) {
71582 error = t1;
71583 stackTrace = A.getTraceFromException($async$exception);
71584 t1 = error.message;
71585 t2 = nodeWithSpan.get$span(nodeWithSpan);
71586 t3 = error.primaryLabel;
71587 t4 = error.secondarySpans;
71588 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);
71589 } else if (t1 instanceof A.MultiSpanSassException0) {
71590 error0 = t1;
71591 stackTrace0 = A.getTraceFromException($async$exception);
71592 t1 = error0._span_exception$_message;
71593 t2 = error0;
71594 t3 = J.getInterceptor$z(t2);
71595 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
71596 t3 = error0.primaryLabel;
71597 t4 = error0.secondarySpans;
71598 t5 = error0;
71599 t6 = J.getInterceptor$z(t5);
71600 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);
71601 } else {
71602 error1 = t1;
71603 stackTrace1 = A.getTraceFromException($async$exception);
71604 message = null;
71605 try {
71606 message = A._asString(J.get$message$x(error1));
71607 } catch (exception) {
71608 message0 = J.toString$0$(error1);
71609 message = message0;
71610 }
71611 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
71612 }
71613 // goto after finally
71614 $async$goto = 13;
71615 break;
71616 case 10:
71617 // uncaught
71618 // goto rethrow
71619 $async$goto = 2;
71620 break;
71621 case 13:
71622 // after finally
71623 $async$self._async_evaluate0$_callableNode = oldCallableNode;
71624 if (argumentList == null) {
71625 $async$returnValue = result;
71626 // goto return
71627 $async$goto = 1;
71628 break;
71629 }
71630 t1 = evaluated.named;
71631 if (t1.get$isEmpty(t1)) {
71632 $async$returnValue = result;
71633 // goto return
71634 $async$goto = 1;
71635 break;
71636 }
71637 if (argumentList._argument_list$_wereKeywordsAccessed) {
71638 $async$returnValue = result;
71639 // goto return
71640 $async$goto = 1;
71641 break;
71642 }
71643 t1 = evaluated.named;
71644 t1 = t1.get$keys(t1);
71645 t1 = "No " + A.pluralize0("argument", t1.get$length(t1), null) + " named ";
71646 t2 = evaluated.named;
71647 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))));
71648 case 1:
71649 // return
71650 return A._asyncReturn($async$returnValue, $async$completer);
71651 case 2:
71652 // rethrow
71653 return A._asyncRethrow($async$currentError, $async$completer);
71654 }
71655 });
71656 return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
71657 },
71658 _async_evaluate0$_evaluateArguments$1($arguments) {
71659 return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
71660 },
71661 _evaluateArguments$body$_EvaluateVisitor0($arguments) {
71662 var $async$goto = 0,
71663 $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults_2),
71664 $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;
71665 var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71666 if ($async$errorCode === 1)
71667 return A._asyncRethrow($async$result, $async$completer);
71668 while (true)
71669 switch ($async$goto) {
71670 case 0:
71671 // Function start
71672 positional = A._setArrayType([], type$.JSArray_Value_2);
71673 positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
71674 t1 = $arguments.positional, t2 = t1.length, _i = 0;
71675 case 3:
71676 // for condition
71677 if (!(_i < t2)) {
71678 // goto after for
71679 $async$goto = 5;
71680 break;
71681 }
71682 expression = t1[_i];
71683 nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
71684 $async$temp1 = positional;
71685 $async$goto = 6;
71686 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71687 case 6:
71688 // returning from await.
71689 $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
71690 positionalNodes.push(nodeForSpan);
71691 case 4:
71692 // for update
71693 ++_i;
71694 // goto for condition
71695 $async$goto = 3;
71696 break;
71697 case 5:
71698 // after for
71699 t1 = type$.String;
71700 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
71701 t2 = type$.AstNode_2;
71702 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71703 t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
71704 case 7:
71705 // for condition
71706 if (!t3.moveNext$0()) {
71707 // goto after for
71708 $async$goto = 8;
71709 break;
71710 }
71711 t4 = t3.get$current(t3);
71712 t5 = t4.value;
71713 nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
71714 t4 = t4.key;
71715 $async$temp1 = named;
71716 $async$temp2 = t4;
71717 $async$goto = 9;
71718 return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71719 case 9:
71720 // returning from await.
71721 $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
71722 namedNodes.$indexSet(0, t4, nodeForSpan);
71723 // goto for condition
71724 $async$goto = 7;
71725 break;
71726 case 8:
71727 // after for
71728 restArgs = $arguments.rest;
71729 if (restArgs == null) {
71730 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null0);
71731 // goto return
71732 $async$goto = 1;
71733 break;
71734 }
71735 $async$goto = 10;
71736 return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71737 case 10:
71738 // returning from await.
71739 rest = $async$result;
71740 restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
71741 if (rest instanceof A.SassMap0) {
71742 $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
71743 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71744 for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
71745 t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
71746 namedNodes.addAll$1(0, t3);
71747 separator = B.ListSeparator_undecided_null0;
71748 } else if (rest instanceof A.SassList0) {
71749 t3 = rest._list1$_contents;
71750 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>")));
71751 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
71752 separator = rest._list1$_separator;
71753 if (rest instanceof A.SassArgumentList0) {
71754 rest._argument_list$_wereKeywordsAccessed = true;
71755 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
71756 }
71757 } else {
71758 positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
71759 positionalNodes.push(restNodeForSpan);
71760 separator = B.ListSeparator_undecided_null0;
71761 }
71762 keywordRestArgs = $arguments.keywordRest;
71763 if (keywordRestArgs == null) {
71764 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
71765 // goto return
71766 $async$goto = 1;
71767 break;
71768 }
71769 $async$goto = 11;
71770 return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71771 case 11:
71772 // returning from await.
71773 keywordRest = $async$result;
71774 keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
71775 if (keywordRest instanceof A.SassMap0) {
71776 $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
71777 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71778 for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
71779 t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
71780 namedNodes.addAll$1(0, t1);
71781 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
71782 // goto return
71783 $async$goto = 1;
71784 break;
71785 } else
71786 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
71787 case 1:
71788 // return
71789 return A._asyncReturn($async$returnValue, $async$completer);
71790 }
71791 });
71792 return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
71793 },
71794 _async_evaluate0$_evaluateMacroArguments$1(invocation) {
71795 return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
71796 },
71797 _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
71798 var $async$goto = 0,
71799 $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression_2),
71800 $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
71801 var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71802 if ($async$errorCode === 1)
71803 return A._asyncRethrow($async$result, $async$completer);
71804 while (true)
71805 switch ($async$goto) {
71806 case 0:
71807 // Function start
71808 t1 = invocation.$arguments;
71809 restArgs_ = t1.rest;
71810 if (restArgs_ == null) {
71811 $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71812 // goto return
71813 $async$goto = 1;
71814 break;
71815 }
71816 t2 = t1.positional;
71817 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
71818 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
71819 $async$goto = 3;
71820 return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
71821 case 3:
71822 // returning from await.
71823 rest = $async$result;
71824 restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
71825 if (rest instanceof A.SassMap0)
71826 $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
71827 else if (rest instanceof A.SassList0) {
71828 t2 = rest._list1$_contents;
71829 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>")));
71830 if (rest instanceof A.SassArgumentList0) {
71831 rest._argument_list$_wereKeywordsAccessed = true;
71832 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
71833 }
71834 } else
71835 positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
71836 keywordRestArgs_ = t1.keywordRest;
71837 if (keywordRestArgs_ == null) {
71838 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71839 // goto return
71840 $async$goto = 1;
71841 break;
71842 }
71843 $async$goto = 4;
71844 return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
71845 case 4:
71846 // returning from await.
71847 keywordRest = $async$result;
71848 keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
71849 if (keywordRest instanceof A.SassMap0) {
71850 $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
71851 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71852 // goto return
71853 $async$goto = 1;
71854 break;
71855 } else
71856 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
71857 case 1:
71858 // return
71859 return A._asyncReturn($async$returnValue, $async$completer);
71860 }
71861 });
71862 return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
71863 },
71864 _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
71865 map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
71866 },
71867 _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
71868 return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
71869 },
71870 _async_evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
71871 return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2($arguments, positional, named));
71872 },
71873 visitSelectorExpression$1(node) {
71874 return this.visitSelectorExpression$body$_EvaluateVisitor0(node);
71875 },
71876 visitSelectorExpression$body$_EvaluateVisitor0(node) {
71877 var $async$goto = 0,
71878 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
71879 $async$returnValue, $async$self = this, t1;
71880 var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71881 if ($async$errorCode === 1)
71882 return A._asyncRethrow($async$result, $async$completer);
71883 while (true)
71884 switch ($async$goto) {
71885 case 0:
71886 // Function start
71887 t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
71888 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
71889 $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
71890 // goto return
71891 $async$goto = 1;
71892 break;
71893 case 1:
71894 // return
71895 return A._asyncReturn($async$returnValue, $async$completer);
71896 }
71897 });
71898 return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
71899 },
71900 visitStringExpression$1(node) {
71901 return this.visitStringExpression$body$_EvaluateVisitor0(node);
71902 },
71903 visitStringExpression$body$_EvaluateVisitor0(node) {
71904 var $async$goto = 0,
71905 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
71906 $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
71907 var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71908 if ($async$errorCode === 1)
71909 return A._asyncRethrow($async$result, $async$completer);
71910 while (true)
71911 switch ($async$goto) {
71912 case 0:
71913 // Function start
71914 oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
71915 $async$self._async_evaluate0$_inSupportsDeclaration = false;
71916 $async$temp1 = J;
71917 $async$goto = 3;
71918 return A._asyncAwait(A.mapAsync0(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure2($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
71919 case 3:
71920 // returning from await.
71921 t1 = $async$temp1.join$0$ax($async$result);
71922 $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
71923 $async$returnValue = new A.SassString0(t1, node.hasQuotes);
71924 // goto return
71925 $async$goto = 1;
71926 break;
71927 case 1:
71928 // return
71929 return A._asyncReturn($async$returnValue, $async$completer);
71930 }
71931 });
71932 return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
71933 },
71934 visitCssAtRule$1(node) {
71935 return this.visitCssAtRule$body$_EvaluateVisitor0(node);
71936 },
71937 visitCssAtRule$body$_EvaluateVisitor0(node) {
71938 var $async$goto = 0,
71939 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71940 $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
71941 var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71942 if ($async$errorCode === 1)
71943 return A._asyncRethrow($async$result, $async$completer);
71944 while (true)
71945 switch ($async$goto) {
71946 case 0:
71947 // Function start
71948 if ($async$self._async_evaluate0$_declarationName != null)
71949 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
71950 if (node.isChildless) {
71951 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
71952 // goto return
71953 $async$goto = 1;
71954 break;
71955 }
71956 wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
71957 wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
71958 t1 = node.name;
71959 if (A.unvendor0(t1.get$value(t1)) === "keyframes")
71960 $async$self._async_evaluate0$_inKeyframes = true;
71961 else
71962 $async$self._async_evaluate0$_inUnknownAtRule = true;
71963 $async$goto = 3;
71964 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);
71965 case 3:
71966 // returning from await.
71967 $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
71968 $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
71969 case 1:
71970 // return
71971 return A._asyncReturn($async$returnValue, $async$completer);
71972 }
71973 });
71974 return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
71975 },
71976 visitCssComment$1(node) {
71977 return this.visitCssComment$body$_EvaluateVisitor0(node);
71978 },
71979 visitCssComment$body$_EvaluateVisitor0(node) {
71980 var $async$goto = 0,
71981 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71982 $async$self = this;
71983 var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71984 if ($async$errorCode === 1)
71985 return A._asyncRethrow($async$result, $async$completer);
71986 while (true)
71987 switch ($async$goto) {
71988 case 0:
71989 // Function start
71990 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))
71991 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
71992 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
71993 // implicit return
71994 return A._asyncReturn(null, $async$completer);
71995 }
71996 });
71997 return A._asyncStartSync($async$visitCssComment$1, $async$completer);
71998 },
71999 visitCssDeclaration$1(node) {
72000 return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
72001 },
72002 visitCssDeclaration$body$_EvaluateVisitor0(node) {
72003 var $async$goto = 0,
72004 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72005 $async$self = this, t1;
72006 var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72007 if ($async$errorCode === 1)
72008 return A._asyncRethrow($async$result, $async$completer);
72009 while (true)
72010 switch ($async$goto) {
72011 case 0:
72012 // Function start
72013 t1 = node.name;
72014 $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));
72015 // implicit return
72016 return A._asyncReturn(null, $async$completer);
72017 }
72018 });
72019 return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
72020 },
72021 visitCssImport$1(node) {
72022 return this.visitCssImport$body$_EvaluateVisitor0(node);
72023 },
72024 visitCssImport$body$_EvaluateVisitor0(node) {
72025 var $async$goto = 0,
72026 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72027 $async$self = this, t1, modifiableNode;
72028 var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72029 if ($async$errorCode === 1)
72030 return A._asyncRethrow($async$result, $async$completer);
72031 while (true)
72032 switch ($async$goto) {
72033 case 0:
72034 // Function start
72035 modifiableNode = A.ModifiableCssImport$0(node.url, node.span, node.media, node.supports);
72036 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"))
72037 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
72038 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)) {
72039 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
72040 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
72041 } else {
72042 t1 = $async$self._async_evaluate0$_outOfOrderImports;
72043 (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
72044 }
72045 // implicit return
72046 return A._asyncReturn(null, $async$completer);
72047 }
72048 });
72049 return A._asyncStartSync($async$visitCssImport$1, $async$completer);
72050 },
72051 visitCssKeyframeBlock$1(node) {
72052 return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
72053 },
72054 visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
72055 var $async$goto = 0,
72056 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72057 $async$self = this;
72058 var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72059 if ($async$errorCode === 1)
72060 return A._asyncRethrow($async$result, $async$completer);
72061 while (true)
72062 switch ($async$goto) {
72063 case 0:
72064 // Function start
72065 $async$goto = 2;
72066 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);
72067 case 2:
72068 // returning from await.
72069 // implicit return
72070 return A._asyncReturn(null, $async$completer);
72071 }
72072 });
72073 return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
72074 },
72075 visitCssMediaRule$1(node) {
72076 return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
72077 },
72078 visitCssMediaRule$body$_EvaluateVisitor0(node) {
72079 var $async$goto = 0,
72080 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72081 $async$returnValue, $async$self = this, mergedQueries, t1;
72082 var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72083 if ($async$errorCode === 1)
72084 return A._asyncRethrow($async$result, $async$completer);
72085 while (true)
72086 switch ($async$goto) {
72087 case 0:
72088 // Function start
72089 if ($async$self._async_evaluate0$_declarationName != null)
72090 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
72091 mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
72092 t1 = mergedQueries == null;
72093 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
72094 // goto return
72095 $async$goto = 1;
72096 break;
72097 }
72098 t1 = t1 ? node.queries : mergedQueries;
72099 $async$goto = 3;
72100 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);
72101 case 3:
72102 // returning from await.
72103 case 1:
72104 // return
72105 return A._asyncReturn($async$returnValue, $async$completer);
72106 }
72107 });
72108 return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
72109 },
72110 visitCssStyleRule$1(node) {
72111 return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
72112 },
72113 visitCssStyleRule$body$_EvaluateVisitor0(node) {
72114 var $async$goto = 0,
72115 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72116 $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
72117 var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72118 if ($async$errorCode === 1)
72119 return A._asyncRethrow($async$result, $async$completer);
72120 while (true)
72121 switch ($async$goto) {
72122 case 0:
72123 // Function start
72124 if ($async$self._async_evaluate0$_declarationName != null)
72125 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
72126 t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
72127 styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
72128 t2 = node.selector;
72129 t3 = t2.value;
72130 t4 = styleRule == null;
72131 t5 = t4 ? null : styleRule.originalSelector;
72132 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
72133 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);
72134 oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
72135 $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
72136 $async$goto = 2;
72137 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);
72138 case 2:
72139 // returning from await.
72140 $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
72141 if (t4) {
72142 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
72143 t1 = !t1.get$isEmpty(t1);
72144 } else
72145 t1 = false;
72146 if (t1) {
72147 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
72148 t1.get$last(t1).isGroupEnd = true;
72149 }
72150 // implicit return
72151 return A._asyncReturn(null, $async$completer);
72152 }
72153 });
72154 return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
72155 },
72156 visitCssStylesheet$1(node) {
72157 return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
72158 },
72159 visitCssStylesheet$body$_EvaluateVisitor0(node) {
72160 var $async$goto = 0,
72161 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72162 $async$self = this, t1;
72163 var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72164 if ($async$errorCode === 1)
72165 return A._asyncRethrow($async$result, $async$completer);
72166 while (true)
72167 switch ($async$goto) {
72168 case 0:
72169 // Function start
72170 t1 = J.get$iterator$ax(node.get$children(node));
72171 case 2:
72172 // for condition
72173 if (!t1.moveNext$0()) {
72174 // goto after for
72175 $async$goto = 3;
72176 break;
72177 }
72178 $async$goto = 4;
72179 return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
72180 case 4:
72181 // returning from await.
72182 // goto for condition
72183 $async$goto = 2;
72184 break;
72185 case 3:
72186 // after for
72187 // implicit return
72188 return A._asyncReturn(null, $async$completer);
72189 }
72190 });
72191 return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
72192 },
72193 visitCssSupportsRule$1(node) {
72194 return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
72195 },
72196 visitCssSupportsRule$body$_EvaluateVisitor0(node) {
72197 var $async$goto = 0,
72198 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72199 $async$self = this;
72200 var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72201 if ($async$errorCode === 1)
72202 return A._asyncRethrow($async$result, $async$completer);
72203 while (true)
72204 switch ($async$goto) {
72205 case 0:
72206 // Function start
72207 if ($async$self._async_evaluate0$_declarationName != null)
72208 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
72209 $async$goto = 2;
72210 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);
72211 case 2:
72212 // returning from await.
72213 // implicit return
72214 return A._asyncReturn(null, $async$completer);
72215 }
72216 });
72217 return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
72218 },
72219 _async_evaluate0$_handleReturn$1$2(list, callback) {
72220 return this._handleReturn$body$_EvaluateVisitor0(list, callback);
72221 },
72222 _async_evaluate0$_handleReturn$2(list, callback) {
72223 return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
72224 },
72225 _handleReturn$body$_EvaluateVisitor0(list, callback) {
72226 var $async$goto = 0,
72227 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
72228 $async$returnValue, t1, _i, result;
72229 var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72230 if ($async$errorCode === 1)
72231 return A._asyncRethrow($async$result, $async$completer);
72232 while (true)
72233 switch ($async$goto) {
72234 case 0:
72235 // Function start
72236 t1 = list.length, _i = 0;
72237 case 3:
72238 // for condition
72239 if (!(_i < list.length)) {
72240 // goto after for
72241 $async$goto = 5;
72242 break;
72243 }
72244 $async$goto = 6;
72245 return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
72246 case 6:
72247 // returning from await.
72248 result = $async$result;
72249 if (result != null) {
72250 $async$returnValue = result;
72251 // goto return
72252 $async$goto = 1;
72253 break;
72254 }
72255 case 4:
72256 // for update
72257 list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
72258 // goto for condition
72259 $async$goto = 3;
72260 break;
72261 case 5:
72262 // after for
72263 $async$returnValue = null;
72264 // goto return
72265 $async$goto = 1;
72266 break;
72267 case 1:
72268 // return
72269 return A._asyncReturn($async$returnValue, $async$completer);
72270 }
72271 });
72272 return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
72273 },
72274 _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
72275 return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
72276 },
72277 _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
72278 var $async$goto = 0,
72279 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72280 $async$returnValue, $async$self = this, result, oldEnvironment;
72281 var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72282 if ($async$errorCode === 1)
72283 return A._asyncRethrow($async$result, $async$completer);
72284 while (true)
72285 switch ($async$goto) {
72286 case 0:
72287 // Function start
72288 oldEnvironment = $async$self._async_evaluate0$_environment;
72289 $async$self._async_evaluate0$_environment = environment;
72290 $async$goto = 3;
72291 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
72292 case 3:
72293 // returning from await.
72294 result = $async$result;
72295 $async$self._async_evaluate0$_environment = oldEnvironment;
72296 $async$returnValue = result;
72297 // goto return
72298 $async$goto = 1;
72299 break;
72300 case 1:
72301 // return
72302 return A._asyncReturn($async$returnValue, $async$completer);
72303 }
72304 });
72305 return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
72306 },
72307 _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
72308 return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
72309 },
72310 _async_evaluate0$_interpolationToValue$1(interpolation) {
72311 return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
72312 },
72313 _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
72314 return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
72315 },
72316 _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
72317 var $async$goto = 0,
72318 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
72319 $async$returnValue, $async$self = this, result, t1;
72320 var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72321 if ($async$errorCode === 1)
72322 return A._asyncRethrow($async$result, $async$completer);
72323 while (true)
72324 switch ($async$goto) {
72325 case 0:
72326 // Function start
72327 $async$goto = 3;
72328 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
72329 case 3:
72330 // returning from await.
72331 result = $async$result;
72332 t1 = trim ? A.trimAscii0(result, true) : result;
72333 $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
72334 // goto return
72335 $async$goto = 1;
72336 break;
72337 case 1:
72338 // return
72339 return A._asyncReturn($async$returnValue, $async$completer);
72340 }
72341 });
72342 return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
72343 },
72344 _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
72345 return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
72346 },
72347 _async_evaluate0$_performInterpolation$1(interpolation) {
72348 return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
72349 },
72350 _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
72351 var $async$goto = 0,
72352 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
72353 $async$returnValue, $async$self = this, result, oldInSupportsDeclaration, $async$temp1;
72354 var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72355 if ($async$errorCode === 1)
72356 return A._asyncRethrow($async$result, $async$completer);
72357 while (true)
72358 switch ($async$goto) {
72359 case 0:
72360 // Function start
72361 oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
72362 $async$self._async_evaluate0$_inSupportsDeclaration = false;
72363 $async$temp1 = J;
72364 $async$goto = 3;
72365 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);
72366 case 3:
72367 // returning from await.
72368 result = $async$temp1.join$0$ax($async$result);
72369 $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
72370 $async$returnValue = result;
72371 // goto return
72372 $async$goto = 1;
72373 break;
72374 case 1:
72375 // return
72376 return A._asyncReturn($async$returnValue, $async$completer);
72377 }
72378 });
72379 return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
72380 },
72381 _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
72382 return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
72383 },
72384 _async_evaluate0$_evaluateToCss$1(expression) {
72385 return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
72386 },
72387 _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
72388 var $async$goto = 0,
72389 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
72390 $async$returnValue, $async$self = this;
72391 var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72392 if ($async$errorCode === 1)
72393 return A._asyncRethrow($async$result, $async$completer);
72394 while (true)
72395 switch ($async$goto) {
72396 case 0:
72397 // Function start
72398 $async$goto = 3;
72399 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateToCss$2$quote);
72400 case 3:
72401 // returning from await.
72402 $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
72403 // goto return
72404 $async$goto = 1;
72405 break;
72406 case 1:
72407 // return
72408 return A._asyncReturn($async$returnValue, $async$completer);
72409 }
72410 });
72411 return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
72412 },
72413 _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
72414 return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
72415 },
72416 _async_evaluate0$_serialize$2(value, nodeWithSpan) {
72417 return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
72418 },
72419 _async_evaluate0$_expressionNode$1(expression) {
72420 var t1;
72421 if (expression instanceof A.VariableExpression0) {
72422 t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
72423 return t1 == null ? expression : t1;
72424 } else
72425 return expression;
72426 },
72427 _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
72428 return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
72429 },
72430 _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
72431 return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
72432 },
72433 _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
72434 return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
72435 },
72436 _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
72437 var $async$goto = 0,
72438 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72439 $async$returnValue, $async$self = this, t1, result;
72440 var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72441 if ($async$errorCode === 1)
72442 return A._asyncRethrow($async$result, $async$completer);
72443 while (true)
72444 switch ($async$goto) {
72445 case 0:
72446 // Function start
72447 $async$self._async_evaluate0$_addChild$2$through(node, through);
72448 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
72449 $async$self._async_evaluate0$__parent = node;
72450 $async$goto = 3;
72451 return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
72452 case 3:
72453 // returning from await.
72454 result = $async$result;
72455 $async$self._async_evaluate0$__parent = t1;
72456 $async$returnValue = result;
72457 // goto return
72458 $async$goto = 1;
72459 break;
72460 case 1:
72461 // return
72462 return A._asyncReturn($async$returnValue, $async$completer);
72463 }
72464 });
72465 return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
72466 },
72467 _async_evaluate0$_addChild$2$through(node, through) {
72468 var grandparent, t1,
72469 $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
72470 if (through != null) {
72471 for (; through.call$1($parent); $parent = grandparent) {
72472 grandparent = $parent._node1$_parent;
72473 if (grandparent == null)
72474 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
72475 }
72476 if ($parent.get$hasFollowingSibling()) {
72477 t1 = $parent._node1$_parent;
72478 t1.toString;
72479 $parent = $parent.copyWithoutChildren$0();
72480 t1.addChild$1($parent);
72481 }
72482 }
72483 $parent.addChild$1(node);
72484 },
72485 _async_evaluate0$_addChild$1(node) {
72486 return this._async_evaluate0$_addChild$2$through(node, null);
72487 },
72488 _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
72489 return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
72490 },
72491 _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
72492 var $async$goto = 0,
72493 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72494 $async$returnValue, $async$self = this, result, oldRule;
72495 var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72496 if ($async$errorCode === 1)
72497 return A._asyncRethrow($async$result, $async$completer);
72498 while (true)
72499 switch ($async$goto) {
72500 case 0:
72501 // Function start
72502 oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
72503 $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
72504 $async$goto = 3;
72505 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
72506 case 3:
72507 // returning from await.
72508 result = $async$result;
72509 $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
72510 $async$returnValue = result;
72511 // goto return
72512 $async$goto = 1;
72513 break;
72514 case 1:
72515 // return
72516 return A._asyncReturn($async$returnValue, $async$completer);
72517 }
72518 });
72519 return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
72520 },
72521 _async_evaluate0$_withMediaQueries$1$2(queries, callback, $T) {
72522 return this._withMediaQueries$body$_EvaluateVisitor0(queries, callback, $T, $T);
72523 },
72524 _withMediaQueries$body$_EvaluateVisitor0(queries, callback, $T, $async$type) {
72525 var $async$goto = 0,
72526 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72527 $async$returnValue, $async$self = this, result, oldMediaQueries;
72528 var $async$_async_evaluate0$_withMediaQueries$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72529 if ($async$errorCode === 1)
72530 return A._asyncRethrow($async$result, $async$completer);
72531 while (true)
72532 switch ($async$goto) {
72533 case 0:
72534 // Function start
72535 oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
72536 $async$self._async_evaluate0$_mediaQueries = queries;
72537 $async$goto = 3;
72538 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$2);
72539 case 3:
72540 // returning from await.
72541 result = $async$result;
72542 $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
72543 $async$returnValue = result;
72544 // goto return
72545 $async$goto = 1;
72546 break;
72547 case 1:
72548 // return
72549 return A._asyncReturn($async$returnValue, $async$completer);
72550 }
72551 });
72552 return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$2, $async$completer);
72553 },
72554 _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
72555 return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
72556 },
72557 _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
72558 var $async$goto = 0,
72559 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72560 $async$returnValue, $async$self = this, oldMember, result, t1;
72561 var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72562 if ($async$errorCode === 1)
72563 return A._asyncRethrow($async$result, $async$completer);
72564 while (true)
72565 switch ($async$goto) {
72566 case 0:
72567 // Function start
72568 t1 = $async$self._async_evaluate0$_stack;
72569 t1.push(new A.Tuple2($async$self._async_evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
72570 oldMember = $async$self._async_evaluate0$_member;
72571 $async$self._async_evaluate0$_member = member;
72572 $async$goto = 3;
72573 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
72574 case 3:
72575 // returning from await.
72576 result = $async$result;
72577 $async$self._async_evaluate0$_member = oldMember;
72578 t1.pop();
72579 $async$returnValue = result;
72580 // goto return
72581 $async$goto = 1;
72582 break;
72583 case 1:
72584 // return
72585 return A._asyncReturn($async$returnValue, $async$completer);
72586 }
72587 });
72588 return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
72589 },
72590 _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
72591 if (value instanceof A.SassNumber0 && value.asSlash != null)
72592 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);
72593 return value.withoutSlash$0();
72594 },
72595 _async_evaluate0$_stackFrame$2(member, span) {
72596 return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.file.url, new A._EvaluateVisitor__stackFrame_closure2(this)));
72597 },
72598 _async_evaluate0$_stackTrace$1(span) {
72599 var _this = this,
72600 t1 = _this._async_evaluate0$_stack;
72601 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);
72602 if (span != null)
72603 t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
72604 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
72605 },
72606 _async_evaluate0$_stackTrace$0() {
72607 return this._async_evaluate0$_stackTrace$1(null);
72608 },
72609 _async_evaluate0$_warn$3$deprecation(message, span, deprecation) {
72610 var t1, _this = this;
72611 if (_this._async_evaluate0$_quietDeps)
72612 if (!_this._async_evaluate0$_inDependency) {
72613 t1 = _this._async_evaluate0$_currentCallable;
72614 t1 = t1 == null ? null : t1.inDependency;
72615 t1 = t1 === true;
72616 } else
72617 t1 = true;
72618 else
72619 t1 = false;
72620 if (t1)
72621 return;
72622 if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
72623 return;
72624 _this._async_evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate0$_stackTrace$1(span));
72625 },
72626 _async_evaluate0$_warn$2(message, span) {
72627 return this._async_evaluate0$_warn$3$deprecation(message, span, false);
72628 },
72629 _async_evaluate0$_exception$2(message, span) {
72630 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2) : span;
72631 return new A.SassRuntimeException0(this._async_evaluate0$_stackTrace$1(span), message, t1);
72632 },
72633 _async_evaluate0$_exception$1(message) {
72634 return this._async_evaluate0$_exception$2(message, null);
72635 },
72636 _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
72637 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2);
72638 return new A.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
72639 },
72640 _async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
72641 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
72642 try {
72643 t1 = callback.call$0();
72644 return t1;
72645 } catch (exception) {
72646 t1 = A.unwrapException(exception);
72647 if (t1 instanceof A.SassFormatException0) {
72648 error = t1;
72649 stackTrace = A.getTraceFromException(exception);
72650 t1 = error;
72651 t2 = J.getInterceptor$z(t1);
72652 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
72653 span = nodeWithSpan.get$span(nodeWithSpan);
72654 t1 = span;
72655 t2 = span;
72656 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);
72657 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
72658 t1 = span;
72659 t1 = A.FileLocation$_(t1.file, t1._file$_start);
72660 t3 = error;
72661 t4 = J.getInterceptor$z(t3);
72662 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
72663 t3 = A.FileLocation$_(t3.file, t3._file$_start);
72664 t4 = span;
72665 t4 = A.FileLocation$_(t4.file, t4._file$_start);
72666 t5 = error;
72667 t6 = J.getInterceptor$z(t5);
72668 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
72669 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
72670 A.throwWithTrace0(this._async_evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
72671 } else
72672 throw exception;
72673 }
72674 },
72675 _async_evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
72676 return this._async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
72677 },
72678 _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
72679 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
72680 try {
72681 t1 = callback.call$0();
72682 return t1;
72683 } catch (exception) {
72684 t1 = A.unwrapException(exception);
72685 if (t1 instanceof A.MultiSpanSassScriptException0) {
72686 error = t1;
72687 stackTrace = A.getTraceFromException(exception);
72688 t1 = error.message;
72689 t2 = nodeWithSpan.get$span(nodeWithSpan);
72690 t3 = error.primaryLabel;
72691 t4 = error.secondarySpans;
72692 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);
72693 } else if (t1 instanceof A.SassScriptException0) {
72694 error0 = t1;
72695 stackTrace0 = A.getTraceFromException(exception);
72696 A.throwWithTrace0(this._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
72697 } else
72698 throw exception;
72699 }
72700 },
72701 _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
72702 return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
72703 },
72704 _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
72705 return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
72706 },
72707 _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
72708 var $async$goto = 0,
72709 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72710 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
72711 var $async$_async_evaluate0$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72712 if ($async$errorCode === 1) {
72713 $async$currentError = $async$result;
72714 $async$goto = $async$handler;
72715 }
72716 while (true)
72717 switch ($async$goto) {
72718 case 0:
72719 // Function start
72720 $async$handler = 4;
72721 $async$goto = 7;
72722 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addExceptionSpanAsync$1$2);
72723 case 7:
72724 // returning from await.
72725 t1 = $async$result;
72726 $async$returnValue = t1;
72727 // goto return
72728 $async$goto = 1;
72729 break;
72730 $async$handler = 2;
72731 // goto after finally
72732 $async$goto = 6;
72733 break;
72734 case 4:
72735 // catch
72736 $async$handler = 3;
72737 $async$exception = $async$currentError;
72738 t1 = A.unwrapException($async$exception);
72739 if (t1 instanceof A.MultiSpanSassScriptException0) {
72740 error = t1;
72741 stackTrace = A.getTraceFromException($async$exception);
72742 t1 = error.message;
72743 t2 = nodeWithSpan.get$span(nodeWithSpan);
72744 t3 = error.primaryLabel;
72745 t4 = error.secondarySpans;
72746 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);
72747 } else if (t1 instanceof A.SassScriptException0) {
72748 error0 = t1;
72749 stackTrace0 = A.getTraceFromException($async$exception);
72750 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
72751 } else
72752 throw $async$exception;
72753 // goto after finally
72754 $async$goto = 6;
72755 break;
72756 case 3:
72757 // uncaught
72758 // goto rethrow
72759 $async$goto = 2;
72760 break;
72761 case 6:
72762 // after finally
72763 case 1:
72764 // return
72765 return A._asyncReturn($async$returnValue, $async$completer);
72766 case 2:
72767 // rethrow
72768 return A._asyncRethrow($async$currentError, $async$completer);
72769 }
72770 });
72771 return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$2, $async$completer);
72772 },
72773 _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
72774 return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
72775 },
72776 _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
72777 var $async$goto = 0,
72778 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72779 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
72780 var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72781 if ($async$errorCode === 1) {
72782 $async$currentError = $async$result;
72783 $async$goto = $async$handler;
72784 }
72785 while (true)
72786 switch ($async$goto) {
72787 case 0:
72788 // Function start
72789 $async$handler = 4;
72790 $async$goto = 7;
72791 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
72792 case 7:
72793 // returning from await.
72794 t1 = $async$result;
72795 $async$returnValue = t1;
72796 // goto return
72797 $async$goto = 1;
72798 break;
72799 $async$handler = 2;
72800 // goto after finally
72801 $async$goto = 6;
72802 break;
72803 case 4:
72804 // catch
72805 $async$handler = 3;
72806 $async$exception = $async$currentError;
72807 t1 = A.unwrapException($async$exception);
72808 if (type$.SassRuntimeException_2._is(t1)) {
72809 error = t1;
72810 stackTrace = A.getTraceFromException($async$exception);
72811 t1 = J.get$span$z(error);
72812 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"))
72813 throw $async$exception;
72814 t1 = error._span_exception$_message;
72815 t2 = nodeWithSpan.get$span(nodeWithSpan);
72816 A.throwWithTrace0(new A.SassRuntimeException0($async$self._async_evaluate0$_stackTrace$0(), t1, t2), stackTrace);
72817 } else
72818 throw $async$exception;
72819 // goto after finally
72820 $async$goto = 6;
72821 break;
72822 case 3:
72823 // uncaught
72824 // goto rethrow
72825 $async$goto = 2;
72826 break;
72827 case 6:
72828 // after finally
72829 case 1:
72830 // return
72831 return A._asyncReturn($async$returnValue, $async$completer);
72832 case 2:
72833 // rethrow
72834 return A._asyncRethrow($async$currentError, $async$completer);
72835 }
72836 });
72837 return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
72838 }
72839 };
72840 A._EvaluateVisitor_closure29.prototype = {
72841 call$1($arguments) {
72842 var module, t2,
72843 t1 = J.getInterceptor$asx($arguments),
72844 variable = t1.$index($arguments, 0).assertString$1("name");
72845 t1 = t1.$index($arguments, 1).get$realNull();
72846 module = t1 == null ? null : t1.assertString$1("module");
72847 t1 = this.$this._async_evaluate0$_environment;
72848 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
72849 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
72850 },
72851 $signature: 18
72852 };
72853 A._EvaluateVisitor_closure30.prototype = {
72854 call$1($arguments) {
72855 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
72856 t1 = this.$this._async_evaluate0$_environment;
72857 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72858 },
72859 $signature: 18
72860 };
72861 A._EvaluateVisitor_closure31.prototype = {
72862 call$1($arguments) {
72863 var module, t2, t3, t4,
72864 t1 = J.getInterceptor$asx($arguments),
72865 variable = t1.$index($arguments, 0).assertString$1("name");
72866 t1 = t1.$index($arguments, 1).get$realNull();
72867 module = t1 == null ? null : t1.assertString$1("module");
72868 t1 = this.$this;
72869 t2 = t1._async_evaluate0$_environment;
72870 t3 = variable._string0$_text;
72871 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
72872 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;
72873 },
72874 $signature: 18
72875 };
72876 A._EvaluateVisitor_closure32.prototype = {
72877 call$1($arguments) {
72878 var module, t2,
72879 t1 = J.getInterceptor$asx($arguments),
72880 variable = t1.$index($arguments, 0).assertString$1("name");
72881 t1 = t1.$index($arguments, 1).get$realNull();
72882 module = t1 == null ? null : t1.assertString$1("module");
72883 t1 = this.$this._async_evaluate0$_environment;
72884 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
72885 return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72886 },
72887 $signature: 18
72888 };
72889 A._EvaluateVisitor_closure33.prototype = {
72890 call$1($arguments) {
72891 var t1 = this.$this._async_evaluate0$_environment;
72892 if (!t1._async_environment0$_inMixin)
72893 throw A.wrapException(A.SassScriptException$0(string$.conten));
72894 return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72895 },
72896 $signature: 18
72897 };
72898 A._EvaluateVisitor_closure34.prototype = {
72899 call$1($arguments) {
72900 var t2, t3, t4,
72901 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
72902 module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
72903 if (module == null)
72904 throw A.wrapException('There is no module with namespace "' + t1 + '".');
72905 t1 = type$.Value_2;
72906 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
72907 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
72908 t4 = t3.get$current(t3);
72909 t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
72910 }
72911 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
72912 },
72913 $signature: 40
72914 };
72915 A._EvaluateVisitor_closure35.prototype = {
72916 call$1($arguments) {
72917 var t2, t3, t4,
72918 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
72919 module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
72920 if (module == null)
72921 throw A.wrapException('There is no module with namespace "' + t1 + '".');
72922 t1 = type$.Value_2;
72923 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
72924 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
72925 t4 = t3.get$current(t3);
72926 t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
72927 }
72928 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
72929 },
72930 $signature: 40
72931 };
72932 A._EvaluateVisitor_closure36.prototype = {
72933 call$1($arguments) {
72934 var module, callable, t2,
72935 t1 = J.getInterceptor$asx($arguments),
72936 $name = t1.$index($arguments, 0).assertString$1("name"),
72937 css = t1.$index($arguments, 1).get$isTruthy();
72938 t1 = t1.$index($arguments, 2).get$realNull();
72939 module = t1 == null ? null : t1.assertString$1("module");
72940 if (css && module != null)
72941 throw A.wrapException(string$.x24css_a);
72942 if (css)
72943 callable = new A.PlainCssCallable0($name._string0$_text);
72944 else {
72945 t1 = this.$this;
72946 t2 = t1._async_evaluate0$_callableNode;
72947 t2.toString;
72948 callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
72949 }
72950 if (callable != null)
72951 return new A.SassFunction0(callable);
72952 throw A.wrapException("Function not found: " + $name.toString$0(0));
72953 },
72954 $signature: 163
72955 };
72956 A._EvaluateVisitor__closure10.prototype = {
72957 call$0() {
72958 var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
72959 t2 = this.module;
72960 t2 = t2 == null ? null : t2._string0$_text;
72961 return this.$this._async_evaluate0$_getFunction$2$namespace(t1, t2);
72962 },
72963 $signature: 139
72964 };
72965 A._EvaluateVisitor_closure37.prototype = {
72966 call$1($arguments) {
72967 return this.$call$body$_EvaluateVisitor_closure2($arguments);
72968 },
72969 $call$body$_EvaluateVisitor_closure2($arguments) {
72970 var $async$goto = 0,
72971 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
72972 $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
72973 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72974 if ($async$errorCode === 1)
72975 return A._asyncRethrow($async$result, $async$completer);
72976 while (true)
72977 switch ($async$goto) {
72978 case 0:
72979 // Function start
72980 t1 = J.getInterceptor$asx($arguments);
72981 $function = t1.$index($arguments, 0);
72982 args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
72983 t1 = $async$self.$this;
72984 t2 = t1._async_evaluate0$_callableNode;
72985 t2.toString;
72986 t3 = A._setArrayType([], type$.JSArray_Expression_2);
72987 t4 = type$.String;
72988 t5 = type$.Expression_2;
72989 t6 = t2.get$span(t2);
72990 t7 = t2.get$span(t2);
72991 args._argument_list$_wereKeywordsAccessed = true;
72992 t8 = args._argument_list$_keywords;
72993 if (t8.get$isEmpty(t8))
72994 t2 = null;
72995 else {
72996 t9 = type$.Value_2;
72997 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
72998 for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
72999 t11 = t8.get$current(t8);
73000 t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
73001 }
73002 t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
73003 }
73004 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);
73005 $async$goto = $function instanceof A.SassString0 ? 3 : 4;
73006 break;
73007 case 3:
73008 // then
73009 t2 = string$.Passin + $function.toString$0(0) + "))";
73010 A.EvaluationContext_current0().warn$2$deprecation(0, t2, true);
73011 callableNode = t1._async_evaluate0$_callableNode;
73012 $async$goto = 5;
73013 return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
73014 case 5:
73015 // returning from await.
73016 $async$returnValue = $async$result;
73017 // goto return
73018 $async$goto = 1;
73019 break;
73020 case 4:
73021 // join
73022 t2 = $function.assertFunction$1("function");
73023 t3 = t1._async_evaluate0$_callableNode;
73024 t3.toString;
73025 $async$goto = 6;
73026 return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
73027 case 6:
73028 // returning from await.
73029 t3 = $async$result;
73030 $async$returnValue = t3;
73031 // goto return
73032 $async$goto = 1;
73033 break;
73034 case 1:
73035 // return
73036 return A._asyncReturn($async$returnValue, $async$completer);
73037 }
73038 });
73039 return A._asyncStartSync($async$call$1, $async$completer);
73040 },
73041 $signature: 88
73042 };
73043 A._EvaluateVisitor_closure38.prototype = {
73044 call$1($arguments) {
73045 return this.$call$body$_EvaluateVisitor_closure1($arguments);
73046 },
73047 $call$body$_EvaluateVisitor_closure1($arguments) {
73048 var $async$goto = 0,
73049 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73050 $async$self = this, withMap, t2, values, configuration, t1, url;
73051 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73052 if ($async$errorCode === 1)
73053 return A._asyncRethrow($async$result, $async$completer);
73054 while (true)
73055 switch ($async$goto) {
73056 case 0:
73057 // Function start
73058 t1 = J.getInterceptor$asx($arguments);
73059 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
73060 t1 = t1.$index($arguments, 1).get$realNull();
73061 withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
73062 t1 = $async$self.$this;
73063 t2 = t1._async_evaluate0$_callableNode;
73064 t2.toString;
73065 if (withMap != null) {
73066 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
73067 withMap.forEach$1(0, new A._EvaluateVisitor__closure8(values, t2.get$span(t2), t2));
73068 configuration = new A.ExplicitConfiguration0(t2, values);
73069 } else
73070 configuration = B.Configuration_Map_empty0;
73071 $async$goto = 2;
73072 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);
73073 case 2:
73074 // returning from await.
73075 t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
73076 // implicit return
73077 return A._asyncReturn(null, $async$completer);
73078 }
73079 });
73080 return A._asyncStartSync($async$call$1, $async$completer);
73081 },
73082 $signature: 322
73083 };
73084 A._EvaluateVisitor__closure8.prototype = {
73085 call$2(variable, value) {
73086 var t1 = variable.assertString$1("with key"),
73087 $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
73088 t1 = this.values;
73089 if (t1.containsKey$1($name))
73090 throw A.wrapException("The variable $" + $name + " was configured twice.");
73091 t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
73092 },
73093 $signature: 57
73094 };
73095 A._EvaluateVisitor__closure9.prototype = {
73096 call$1(module) {
73097 var t1 = this.$this;
73098 return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
73099 },
73100 $signature: 166
73101 };
73102 A._EvaluateVisitor_run_closure2.prototype = {
73103 call$0() {
73104 var $async$goto = 0,
73105 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
73106 $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
73107 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73108 if ($async$errorCode === 1)
73109 return A._asyncRethrow($async$result, $async$completer);
73110 while (true)
73111 switch ($async$goto) {
73112 case 0:
73113 // Function start
73114 t1 = $async$self.node;
73115 url = t1.span.file.url;
73116 if (url != null) {
73117 t2 = $async$self.$this;
73118 t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
73119 if (!(t2._async_evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
73120 t2._async_evaluate0$_loadedUrls.add$1(0, url);
73121 }
73122 t2 = $async$self.$this;
73123 $async$temp1 = A;
73124 $async$temp2 = t2;
73125 $async$goto = 3;
73126 return A._asyncAwait(t2._async_evaluate0$_execute$2($async$self.importer, t1), $async$call$0);
73127 case 3:
73128 // returning from await.
73129 $async$returnValue = new $async$temp1.EvaluateResult0($async$temp2._async_evaluate0$_combineCss$1($async$result), t2._async_evaluate0$_loadedUrls);
73130 // goto return
73131 $async$goto = 1;
73132 break;
73133 case 1:
73134 // return
73135 return A._asyncReturn($async$returnValue, $async$completer);
73136 }
73137 });
73138 return A._asyncStartSync($async$call$0, $async$completer);
73139 },
73140 $signature: 325
73141 };
73142 A._EvaluateVisitor__loadModule_closure5.prototype = {
73143 call$0() {
73144 return this.callback.call$1(this.builtInModule);
73145 },
73146 $signature: 0
73147 };
73148 A._EvaluateVisitor__loadModule_closure6.prototype = {
73149 call$0() {
73150 var $async$goto = 0,
73151 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73152 $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;
73153 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73154 if ($async$errorCode === 1) {
73155 $async$currentError = $async$result;
73156 $async$goto = $async$handler;
73157 }
73158 while (true)
73159 switch ($async$goto) {
73160 case 0:
73161 // Function start
73162 t1 = $async$self.$this;
73163 t2 = $async$self.nodeWithSpan;
73164 $async$goto = 2;
73165 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);
73166 case 2:
73167 // returning from await.
73168 result = $async$result;
73169 stylesheet = result.stylesheet;
73170 canonicalUrl = stylesheet.span.file.url;
73171 if (canonicalUrl != null && t1._async_evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
73172 message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
73173 t2 = A.NullableExtension_andThen0(t1._async_evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure2(t1, message));
73174 throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1(message) : t2);
73175 }
73176 if (canonicalUrl != null)
73177 t1._async_evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
73178 oldInDependency = t1._async_evaluate0$_inDependency;
73179 t1._async_evaluate0$_inDependency = result.isDependency;
73180 module = null;
73181 $async$handler = 3;
73182 $async$goto = 6;
73183 return A._asyncAwait(t1._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
73184 case 6:
73185 // returning from await.
73186 module = $async$result;
73187 $async$next.push(5);
73188 // goto finally
73189 $async$goto = 4;
73190 break;
73191 case 3:
73192 // uncaught
73193 $async$next = [1];
73194 case 4:
73195 // finally
73196 $async$handler = 1;
73197 t1._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
73198 t1._async_evaluate0$_inDependency = oldInDependency;
73199 // goto the next finally handler
73200 $async$goto = $async$next.pop();
73201 break;
73202 case 5:
73203 // after finally
73204 $async$handler = 8;
73205 $async$goto = 11;
73206 return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
73207 case 11:
73208 // returning from await.
73209 $async$handler = 1;
73210 // goto after finally
73211 $async$goto = 10;
73212 break;
73213 case 8:
73214 // catch
73215 $async$handler = 7;
73216 $async$exception = $async$currentError;
73217 t2 = A.unwrapException($async$exception);
73218 if (type$.SassRuntimeException_2._is(t2))
73219 throw $async$exception;
73220 else if (t2 instanceof A.MultiSpanSassException0) {
73221 error = t2;
73222 stackTrace = A.getTraceFromException($async$exception);
73223 t2 = error._span_exception$_message;
73224 t3 = error;
73225 t4 = J.getInterceptor$z(t3);
73226 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
73227 t4 = error.primaryLabel;
73228 t5 = error.secondarySpans;
73229 t6 = error;
73230 t7 = J.getInterceptor$z(t6);
73231 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);
73232 } else if (t2 instanceof A.SassException0) {
73233 error0 = t2;
73234 stackTrace0 = A.getTraceFromException($async$exception);
73235 t2 = error0;
73236 t3 = J.getInterceptor$z(t2);
73237 A.throwWithTrace0(t1._async_evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
73238 } else if (t2 instanceof A.MultiSpanSassScriptException0) {
73239 error1 = t2;
73240 stackTrace1 = A.getTraceFromException($async$exception);
73241 A.throwWithTrace0(t1._async_evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
73242 } else if (t2 instanceof A.SassScriptException0) {
73243 error2 = t2;
73244 stackTrace2 = A.getTraceFromException($async$exception);
73245 A.throwWithTrace0(t1._async_evaluate0$_exception$1(error2.message), stackTrace2);
73246 } else
73247 throw $async$exception;
73248 // goto after finally
73249 $async$goto = 10;
73250 break;
73251 case 7:
73252 // uncaught
73253 // goto rethrow
73254 $async$goto = 1;
73255 break;
73256 case 10:
73257 // after finally
73258 // implicit return
73259 return A._asyncReturn(null, $async$completer);
73260 case 1:
73261 // rethrow
73262 return A._asyncRethrow($async$currentError, $async$completer);
73263 }
73264 });
73265 return A._asyncStartSync($async$call$0, $async$completer);
73266 },
73267 $signature: 2
73268 };
73269 A._EvaluateVisitor__loadModule__closure2.prototype = {
73270 call$1(previousLoad) {
73271 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));
73272 },
73273 $signature: 89
73274 };
73275 A._EvaluateVisitor__execute_closure2.prototype = {
73276 call$0() {
73277 var $async$goto = 0,
73278 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73279 $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
73280 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73281 if ($async$errorCode === 1)
73282 return A._asyncRethrow($async$result, $async$completer);
73283 while (true)
73284 switch ($async$goto) {
73285 case 0:
73286 // Function start
73287 t1 = $async$self.$this;
73288 oldImporter = t1._async_evaluate0$_importer;
73289 oldStylesheet = t1._async_evaluate0$__stylesheet;
73290 oldRoot = t1._async_evaluate0$__root;
73291 oldParent = t1._async_evaluate0$__parent;
73292 oldEndOfImports = t1._async_evaluate0$__endOfImports;
73293 oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
73294 oldExtensionStore = t1._async_evaluate0$__extensionStore;
73295 t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
73296 oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
73297 oldMediaQueries = t1._async_evaluate0$_mediaQueries;
73298 oldDeclarationName = t1._async_evaluate0$_declarationName;
73299 oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
73300 oldInKeyframes = t1._async_evaluate0$_inKeyframes;
73301 oldConfiguration = t1._async_evaluate0$_configuration;
73302 t1._async_evaluate0$_importer = $async$self.importer;
73303 t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
73304 t4 = t3.span;
73305 t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
73306 t1._async_evaluate0$__endOfImports = 0;
73307 t1._async_evaluate0$_outOfOrderImports = null;
73308 t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
73309 t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
73310 t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
73311 t6 = $async$self.configuration;
73312 if (t6 != null)
73313 t1._async_evaluate0$_configuration = t6;
73314 $async$goto = 2;
73315 return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
73316 case 2:
73317 // returning from await.
73318 t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
73319 $async$self.css._value = t3;
73320 t1._async_evaluate0$_importer = oldImporter;
73321 t1._async_evaluate0$__stylesheet = oldStylesheet;
73322 t1._async_evaluate0$__root = oldRoot;
73323 t1._async_evaluate0$__parent = oldParent;
73324 t1._async_evaluate0$__endOfImports = oldEndOfImports;
73325 t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
73326 t1._async_evaluate0$__extensionStore = oldExtensionStore;
73327 t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
73328 t1._async_evaluate0$_mediaQueries = oldMediaQueries;
73329 t1._async_evaluate0$_declarationName = oldDeclarationName;
73330 t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
73331 t1._async_evaluate0$_atRootExcludingStyleRule = t2;
73332 t1._async_evaluate0$_inKeyframes = oldInKeyframes;
73333 t1._async_evaluate0$_configuration = oldConfiguration;
73334 // implicit return
73335 return A._asyncReturn(null, $async$completer);
73336 }
73337 });
73338 return A._asyncStartSync($async$call$0, $async$completer);
73339 },
73340 $signature: 2
73341 };
73342 A._EvaluateVisitor__combineCss_closure8.prototype = {
73343 call$1(module) {
73344 return module.get$transitivelyContainsCss();
73345 },
73346 $signature: 143
73347 };
73348 A._EvaluateVisitor__combineCss_closure9.prototype = {
73349 call$1(target) {
73350 return !this.selectors.contains$1(0, target);
73351 },
73352 $signature: 15
73353 };
73354 A._EvaluateVisitor__combineCss_closure10.prototype = {
73355 call$1(module) {
73356 return module.cloneCss$0();
73357 },
73358 $signature: 328
73359 };
73360 A._EvaluateVisitor__extendModules_closure5.prototype = {
73361 call$1(target) {
73362 return !this.originalSelectors.contains$1(0, target);
73363 },
73364 $signature: 15
73365 };
73366 A._EvaluateVisitor__extendModules_closure6.prototype = {
73367 call$0() {
73368 return A._setArrayType([], type$.JSArray_ExtensionStore_2);
73369 },
73370 $signature: 169
73371 };
73372 A._EvaluateVisitor__topologicalModules_visitModule2.prototype = {
73373 call$1(module) {
73374 var t1, t2, t3, _i, upstream;
73375 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
73376 upstream = t1[_i];
73377 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
73378 this.call$1(upstream);
73379 }
73380 this.sorted.addFirst$1(module);
73381 },
73382 $signature: 166
73383 };
73384 A._EvaluateVisitor_visitAtRootRule_closure8.prototype = {
73385 call$0() {
73386 var t1 = A.SpanScanner$(this.resolved, null);
73387 return new A.AtRootQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
73388 },
73389 $signature: 135
73390 };
73391 A._EvaluateVisitor_visitAtRootRule_closure9.prototype = {
73392 call$0() {
73393 var $async$goto = 0,
73394 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73395 $async$self = this, t1, t2, t3, _i;
73396 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73397 if ($async$errorCode === 1)
73398 return A._asyncRethrow($async$result, $async$completer);
73399 while (true)
73400 switch ($async$goto) {
73401 case 0:
73402 // Function start
73403 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73404 case 2:
73405 // for condition
73406 if (!(_i < t2)) {
73407 // goto after for
73408 $async$goto = 4;
73409 break;
73410 }
73411 $async$goto = 5;
73412 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73413 case 5:
73414 // returning from await.
73415 case 3:
73416 // for update
73417 ++_i;
73418 // goto for condition
73419 $async$goto = 2;
73420 break;
73421 case 4:
73422 // after for
73423 // implicit return
73424 return A._asyncReturn(null, $async$completer);
73425 }
73426 });
73427 return A._asyncStartSync($async$call$0, $async$completer);
73428 },
73429 $signature: 2
73430 };
73431 A._EvaluateVisitor_visitAtRootRule_closure10.prototype = {
73432 call$0() {
73433 var $async$goto = 0,
73434 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73435 $async$self = this, t1, t2, t3, _i;
73436 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73437 if ($async$errorCode === 1)
73438 return A._asyncRethrow($async$result, $async$completer);
73439 while (true)
73440 switch ($async$goto) {
73441 case 0:
73442 // Function start
73443 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73444 case 2:
73445 // for condition
73446 if (!(_i < t2)) {
73447 // goto after for
73448 $async$goto = 4;
73449 break;
73450 }
73451 $async$goto = 5;
73452 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73453 case 5:
73454 // returning from await.
73455 case 3:
73456 // for update
73457 ++_i;
73458 // goto for condition
73459 $async$goto = 2;
73460 break;
73461 case 4:
73462 // after for
73463 // implicit return
73464 return A._asyncReturn(null, $async$completer);
73465 }
73466 });
73467 return A._asyncStartSync($async$call$0, $async$completer);
73468 },
73469 $signature: 28
73470 };
73471 A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
73472 call$1(callback) {
73473 var $async$goto = 0,
73474 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73475 $async$self = this, t1, t2;
73476 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73477 if ($async$errorCode === 1)
73478 return A._asyncRethrow($async$result, $async$completer);
73479 while (true)
73480 switch ($async$goto) {
73481 case 0:
73482 // Function start
73483 t1 = $async$self.$this;
73484 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
73485 t1._async_evaluate0$__parent = $async$self.newParent;
73486 $async$goto = 2;
73487 return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
73488 case 2:
73489 // returning from await.
73490 t1._async_evaluate0$__parent = t2;
73491 // implicit return
73492 return A._asyncReturn(null, $async$completer);
73493 }
73494 });
73495 return A._asyncStartSync($async$call$1, $async$completer);
73496 },
73497 $signature: 32
73498 };
73499 A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
73500 call$1(callback) {
73501 var $async$goto = 0,
73502 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73503 $async$self = this, t1, oldAtRootExcludingStyleRule;
73504 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73505 if ($async$errorCode === 1)
73506 return A._asyncRethrow($async$result, $async$completer);
73507 while (true)
73508 switch ($async$goto) {
73509 case 0:
73510 // Function start
73511 t1 = $async$self.$this;
73512 oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
73513 t1._async_evaluate0$_atRootExcludingStyleRule = true;
73514 $async$goto = 2;
73515 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
73516 case 2:
73517 // returning from await.
73518 t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
73519 // implicit return
73520 return A._asyncReturn(null, $async$completer);
73521 }
73522 });
73523 return A._asyncStartSync($async$call$1, $async$completer);
73524 },
73525 $signature: 32
73526 };
73527 A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
73528 call$1(callback) {
73529 return this.$this._async_evaluate0$_withMediaQueries$1$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
73530 },
73531 $signature: 32
73532 };
73533 A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
73534 call$0() {
73535 return this.innerScope.call$1(this.callback);
73536 },
73537 $signature: 2
73538 };
73539 A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
73540 call$1(callback) {
73541 var $async$goto = 0,
73542 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73543 $async$self = this, t1, wasInKeyframes;
73544 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73545 if ($async$errorCode === 1)
73546 return A._asyncRethrow($async$result, $async$completer);
73547 while (true)
73548 switch ($async$goto) {
73549 case 0:
73550 // Function start
73551 t1 = $async$self.$this;
73552 wasInKeyframes = t1._async_evaluate0$_inKeyframes;
73553 t1._async_evaluate0$_inKeyframes = false;
73554 $async$goto = 2;
73555 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
73556 case 2:
73557 // returning from await.
73558 t1._async_evaluate0$_inKeyframes = wasInKeyframes;
73559 // implicit return
73560 return A._asyncReturn(null, $async$completer);
73561 }
73562 });
73563 return A._asyncStartSync($async$call$1, $async$completer);
73564 },
73565 $signature: 32
73566 };
73567 A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
73568 call$1($parent) {
73569 return type$.CssAtRule_2._is($parent);
73570 },
73571 $signature: 171
73572 };
73573 A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
73574 call$1(callback) {
73575 var $async$goto = 0,
73576 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73577 $async$self = this, t1, wasInUnknownAtRule;
73578 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73579 if ($async$errorCode === 1)
73580 return A._asyncRethrow($async$result, $async$completer);
73581 while (true)
73582 switch ($async$goto) {
73583 case 0:
73584 // Function start
73585 t1 = $async$self.$this;
73586 wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
73587 t1._async_evaluate0$_inUnknownAtRule = false;
73588 $async$goto = 2;
73589 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
73590 case 2:
73591 // returning from await.
73592 t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
73593 // implicit return
73594 return A._asyncReturn(null, $async$completer);
73595 }
73596 });
73597 return A._asyncStartSync($async$call$1, $async$completer);
73598 },
73599 $signature: 32
73600 };
73601 A._EvaluateVisitor_visitContentRule_closure2.prototype = {
73602 call$0() {
73603 var $async$goto = 0,
73604 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73605 $async$returnValue, $async$self = this, t1, t2, t3, _i;
73606 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73607 if ($async$errorCode === 1)
73608 return A._asyncRethrow($async$result, $async$completer);
73609 while (true)
73610 switch ($async$goto) {
73611 case 0:
73612 // Function start
73613 t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73614 case 3:
73615 // for condition
73616 if (!(_i < t2)) {
73617 // goto after for
73618 $async$goto = 5;
73619 break;
73620 }
73621 $async$goto = 6;
73622 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73623 case 6:
73624 // returning from await.
73625 case 4:
73626 // for update
73627 ++_i;
73628 // goto for condition
73629 $async$goto = 3;
73630 break;
73631 case 5:
73632 // after for
73633 $async$returnValue = null;
73634 // goto return
73635 $async$goto = 1;
73636 break;
73637 case 1:
73638 // return
73639 return A._asyncReturn($async$returnValue, $async$completer);
73640 }
73641 });
73642 return A._asyncStartSync($async$call$0, $async$completer);
73643 },
73644 $signature: 2
73645 };
73646 A._EvaluateVisitor_visitDeclaration_closure5.prototype = {
73647 call$1(value) {
73648 return this.$call$body$_EvaluateVisitor_visitDeclaration_closure0(value);
73649 },
73650 $call$body$_EvaluateVisitor_visitDeclaration_closure0(value) {
73651 var $async$goto = 0,
73652 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value_2),
73653 $async$returnValue, $async$self = this, $async$temp1;
73654 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73655 if ($async$errorCode === 1)
73656 return A._asyncRethrow($async$result, $async$completer);
73657 while (true)
73658 switch ($async$goto) {
73659 case 0:
73660 // Function start
73661 $async$temp1 = A;
73662 $async$goto = 3;
73663 return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
73664 case 3:
73665 // returning from await.
73666 $async$returnValue = new $async$temp1.CssValue0($async$result, value.get$span(value), type$.CssValue_Value_2);
73667 // goto return
73668 $async$goto = 1;
73669 break;
73670 case 1:
73671 // return
73672 return A._asyncReturn($async$returnValue, $async$completer);
73673 }
73674 });
73675 return A._asyncStartSync($async$call$1, $async$completer);
73676 },
73677 $signature: 332
73678 };
73679 A._EvaluateVisitor_visitDeclaration_closure6.prototype = {
73680 call$0() {
73681 var $async$goto = 0,
73682 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73683 $async$self = this, t1, t2, t3, _i;
73684 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73685 if ($async$errorCode === 1)
73686 return A._asyncRethrow($async$result, $async$completer);
73687 while (true)
73688 switch ($async$goto) {
73689 case 0:
73690 // Function start
73691 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73692 case 2:
73693 // for condition
73694 if (!(_i < t2)) {
73695 // goto after for
73696 $async$goto = 4;
73697 break;
73698 }
73699 $async$goto = 5;
73700 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73701 case 5:
73702 // returning from await.
73703 case 3:
73704 // for update
73705 ++_i;
73706 // goto for condition
73707 $async$goto = 2;
73708 break;
73709 case 4:
73710 // after for
73711 // implicit return
73712 return A._asyncReturn(null, $async$completer);
73713 }
73714 });
73715 return A._asyncStartSync($async$call$0, $async$completer);
73716 },
73717 $signature: 2
73718 };
73719 A._EvaluateVisitor_visitEachRule_closure8.prototype = {
73720 call$1(value) {
73721 var t1 = this.$this,
73722 t2 = this.nodeWithSpan;
73723 return t1._async_evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
73724 },
73725 $signature: 54
73726 };
73727 A._EvaluateVisitor_visitEachRule_closure9.prototype = {
73728 call$1(value) {
73729 return this.$this._async_evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
73730 },
73731 $signature: 54
73732 };
73733 A._EvaluateVisitor_visitEachRule_closure10.prototype = {
73734 call$0() {
73735 var _this = this,
73736 t1 = _this.$this;
73737 return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
73738 },
73739 $signature: 61
73740 };
73741 A._EvaluateVisitor_visitEachRule__closure2.prototype = {
73742 call$1(element) {
73743 var t1;
73744 this.setVariables.call$1(element);
73745 t1 = this.$this;
73746 return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
73747 },
73748 $signature: 335
73749 };
73750 A._EvaluateVisitor_visitEachRule___closure2.prototype = {
73751 call$1(child) {
73752 return child.accept$1(this.$this);
73753 },
73754 $signature: 90
73755 };
73756 A._EvaluateVisitor_visitExtendRule_closure2.prototype = {
73757 call$0() {
73758 var t1 = this.targetText;
73759 return A.SelectorList_SelectorList$parse0(A.trimAscii0(t1.get$value(t1), true), false, true, this.$this._async_evaluate0$_logger);
73760 },
73761 $signature: 45
73762 };
73763 A._EvaluateVisitor_visitAtRule_closure8.prototype = {
73764 call$1(value) {
73765 return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
73766 },
73767 $signature: 338
73768 };
73769 A._EvaluateVisitor_visitAtRule_closure9.prototype = {
73770 call$0() {
73771 var $async$goto = 0,
73772 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73773 $async$self = this, t2, t3, _i, t1, styleRule;
73774 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73775 if ($async$errorCode === 1)
73776 return A._asyncRethrow($async$result, $async$completer);
73777 while (true)
73778 switch ($async$goto) {
73779 case 0:
73780 // Function start
73781 t1 = $async$self.$this;
73782 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
73783 $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes ? 2 : 4;
73784 break;
73785 case 2:
73786 // then
73787 t2 = $async$self.children, t3 = t2.length, _i = 0;
73788 case 5:
73789 // for condition
73790 if (!(_i < t3)) {
73791 // goto after for
73792 $async$goto = 7;
73793 break;
73794 }
73795 $async$goto = 8;
73796 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
73797 case 8:
73798 // returning from await.
73799 case 6:
73800 // for update
73801 ++_i;
73802 // goto for condition
73803 $async$goto = 5;
73804 break;
73805 case 7:
73806 // after for
73807 // goto join
73808 $async$goto = 3;
73809 break;
73810 case 4:
73811 // else
73812 $async$goto = 9;
73813 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);
73814 case 9:
73815 // returning from await.
73816 case 3:
73817 // join
73818 // implicit return
73819 return A._asyncReturn(null, $async$completer);
73820 }
73821 });
73822 return A._asyncStartSync($async$call$0, $async$completer);
73823 },
73824 $signature: 2
73825 };
73826 A._EvaluateVisitor_visitAtRule__closure2.prototype = {
73827 call$0() {
73828 var $async$goto = 0,
73829 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73830 $async$self = this, t1, t2, t3, _i;
73831 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73832 if ($async$errorCode === 1)
73833 return A._asyncRethrow($async$result, $async$completer);
73834 while (true)
73835 switch ($async$goto) {
73836 case 0:
73837 // Function start
73838 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73839 case 2:
73840 // for condition
73841 if (!(_i < t2)) {
73842 // goto after for
73843 $async$goto = 4;
73844 break;
73845 }
73846 $async$goto = 5;
73847 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73848 case 5:
73849 // returning from await.
73850 case 3:
73851 // for update
73852 ++_i;
73853 // goto for condition
73854 $async$goto = 2;
73855 break;
73856 case 4:
73857 // after for
73858 // implicit return
73859 return A._asyncReturn(null, $async$completer);
73860 }
73861 });
73862 return A._asyncStartSync($async$call$0, $async$completer);
73863 },
73864 $signature: 2
73865 };
73866 A._EvaluateVisitor_visitAtRule_closure10.prototype = {
73867 call$1(node) {
73868 return type$.CssStyleRule_2._is(node);
73869 },
73870 $signature: 7
73871 };
73872 A._EvaluateVisitor_visitForRule_closure14.prototype = {
73873 call$0() {
73874 var $async$goto = 0,
73875 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
73876 $async$returnValue, $async$self = this;
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 $async$goto = 3;
73885 return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
73886 case 3:
73887 // returning from await.
73888 $async$returnValue = $async$result.assertNumber$0();
73889 // goto return
73890 $async$goto = 1;
73891 break;
73892 case 1:
73893 // return
73894 return A._asyncReturn($async$returnValue, $async$completer);
73895 }
73896 });
73897 return A._asyncStartSync($async$call$0, $async$completer);
73898 },
73899 $signature: 177
73900 };
73901 A._EvaluateVisitor_visitForRule_closure15.prototype = {
73902 call$0() {
73903 var $async$goto = 0,
73904 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
73905 $async$returnValue, $async$self = this;
73906 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73907 if ($async$errorCode === 1)
73908 return A._asyncRethrow($async$result, $async$completer);
73909 while (true)
73910 switch ($async$goto) {
73911 case 0:
73912 // Function start
73913 $async$goto = 3;
73914 return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
73915 case 3:
73916 // returning from await.
73917 $async$returnValue = $async$result.assertNumber$0();
73918 // goto return
73919 $async$goto = 1;
73920 break;
73921 case 1:
73922 // return
73923 return A._asyncReturn($async$returnValue, $async$completer);
73924 }
73925 });
73926 return A._asyncStartSync($async$call$0, $async$completer);
73927 },
73928 $signature: 177
73929 };
73930 A._EvaluateVisitor_visitForRule_closure16.prototype = {
73931 call$0() {
73932 return this.fromNumber.assertInt$0();
73933 },
73934 $signature: 12
73935 };
73936 A._EvaluateVisitor_visitForRule_closure17.prototype = {
73937 call$0() {
73938 var t1 = this.fromNumber;
73939 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
73940 },
73941 $signature: 12
73942 };
73943 A._EvaluateVisitor_visitForRule_closure18.prototype = {
73944 call$0() {
73945 var $async$goto = 0,
73946 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
73947 $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
73948 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73949 if ($async$errorCode === 1)
73950 return A._asyncRethrow($async$result, $async$completer);
73951 while (true)
73952 switch ($async$goto) {
73953 case 0:
73954 // Function start
73955 t1 = $async$self.$this;
73956 t2 = $async$self.node;
73957 nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
73958 i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
73959 case 3:
73960 // for condition
73961 if (!(i !== t3.to)) {
73962 // goto after for
73963 $async$goto = 5;
73964 break;
73965 }
73966 t7 = t1._async_evaluate0$_environment;
73967 t8 = t6.get$numeratorUnits(t6);
73968 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
73969 $async$goto = 6;
73970 return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
73971 case 6:
73972 // returning from await.
73973 result = $async$result;
73974 if (result != null) {
73975 $async$returnValue = result;
73976 // goto return
73977 $async$goto = 1;
73978 break;
73979 }
73980 case 4:
73981 // for update
73982 i += t4;
73983 // goto for condition
73984 $async$goto = 3;
73985 break;
73986 case 5:
73987 // after for
73988 $async$returnValue = null;
73989 // goto return
73990 $async$goto = 1;
73991 break;
73992 case 1:
73993 // return
73994 return A._asyncReturn($async$returnValue, $async$completer);
73995 }
73996 });
73997 return A._asyncStartSync($async$call$0, $async$completer);
73998 },
73999 $signature: 61
74000 };
74001 A._EvaluateVisitor_visitForRule__closure2.prototype = {
74002 call$1(child) {
74003 return child.accept$1(this.$this);
74004 },
74005 $signature: 90
74006 };
74007 A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
74008 call$1(module) {
74009 this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
74010 },
74011 $signature: 133
74012 };
74013 A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
74014 call$1(module) {
74015 this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
74016 },
74017 $signature: 133
74018 };
74019 A._EvaluateVisitor_visitIfRule_closure2.prototype = {
74020 call$0() {
74021 var t1 = this.$this;
74022 return t1._async_evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure2(t1));
74023 },
74024 $signature: 61
74025 };
74026 A._EvaluateVisitor_visitIfRule__closure2.prototype = {
74027 call$1(child) {
74028 return child.accept$1(this.$this);
74029 },
74030 $signature: 90
74031 };
74032 A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
74033 call$0() {
74034 var $async$goto = 0,
74035 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
74036 $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;
74037 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74038 if ($async$errorCode === 1)
74039 return A._asyncRethrow($async$result, $async$completer);
74040 while (true)
74041 switch ($async$goto) {
74042 case 0:
74043 // Function start
74044 t1 = $async$self.$this;
74045 t2 = $async$self.$import;
74046 $async$goto = 3;
74047 return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
74048 case 3:
74049 // returning from await.
74050 result = $async$result;
74051 stylesheet = result.stylesheet;
74052 url = stylesheet.span.file.url;
74053 if (url != null) {
74054 t3 = t1._async_evaluate0$_activeModules;
74055 if (t3.containsKey$1(url)) {
74056 t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
74057 throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
74058 }
74059 t3.$indexSet(0, url, t2);
74060 }
74061 t2 = stylesheet._stylesheet1$_uses;
74062 t3 = type$.UnmodifiableListView_UseRule_2;
74063 t4 = new A.UnmodifiableListView(t2, t3);
74064 if (t4.get$length(t4) === 0) {
74065 t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
74066 t4 = t4.get$length(t4) === 0;
74067 } else
74068 t4 = false;
74069 $async$goto = t4 ? 4 : 5;
74070 break;
74071 case 4:
74072 // then
74073 oldImporter = t1._async_evaluate0$_importer;
74074 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
74075 oldInDependency = t1._async_evaluate0$_inDependency;
74076 t1._async_evaluate0$_importer = result.importer;
74077 t1._async_evaluate0$__stylesheet = stylesheet;
74078 t1._async_evaluate0$_inDependency = result.isDependency;
74079 $async$goto = 6;
74080 return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
74081 case 6:
74082 // returning from await.
74083 t1._async_evaluate0$_importer = oldImporter;
74084 t1._async_evaluate0$__stylesheet = t2;
74085 t1._async_evaluate0$_inDependency = oldInDependency;
74086 t1._async_evaluate0$_activeModules.remove$1(0, url);
74087 // goto return
74088 $async$goto = 1;
74089 break;
74090 case 5:
74091 // join
74092 t2 = new A.UnmodifiableListView(t2, t3);
74093 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
74094 t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
74095 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
74096 } else
74097 loadsUserDefinedModules = true;
74098 children = A._Cell$();
74099 t2 = t1._async_evaluate0$_environment;
74100 t3 = type$.String;
74101 t4 = type$.Module_AsyncCallable_2;
74102 t5 = type$.AstNode_2;
74103 t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
74104 t7 = t2._async_environment0$_variables;
74105 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
74106 t8 = t2._async_environment0$_variableNodes;
74107 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
74108 t9 = t2._async_environment0$_functions;
74109 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
74110 t10 = t2._async_environment0$_mixins;
74111 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
74112 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);
74113 $async$goto = 7;
74114 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);
74115 case 7:
74116 // returning from await.
74117 module = environment.toDummyModule$0();
74118 t1._async_evaluate0$_environment.importForwards$1(module);
74119 $async$goto = loadsUserDefinedModules ? 8 : 9;
74120 break;
74121 case 8:
74122 // then
74123 $async$goto = module.transitivelyContainsCss ? 10 : 11;
74124 break;
74125 case 10:
74126 // then
74127 $async$goto = 12;
74128 return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
74129 case 12:
74130 // returning from await.
74131 case 11:
74132 // join
74133 visitor = new A._ImportedCssVisitor2(t1);
74134 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
74135 t2.get$current(t2).accept$1(visitor);
74136 case 9:
74137 // join
74138 t1._async_evaluate0$_activeModules.remove$1(0, url);
74139 case 1:
74140 // return
74141 return A._asyncReturn($async$returnValue, $async$completer);
74142 }
74143 });
74144 return A._asyncStartSync($async$call$0, $async$completer);
74145 },
74146 $signature: 28
74147 };
74148 A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
74149 call$1(previousLoad) {
74150 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));
74151 },
74152 $signature: 89
74153 };
74154 A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
74155 call$1(rule) {
74156 return rule.url.get$scheme() !== "sass";
74157 },
74158 $signature: 179
74159 };
74160 A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
74161 call$1(rule) {
74162 return rule.url.get$scheme() !== "sass";
74163 },
74164 $signature: 180
74165 };
74166 A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
74167 call$0() {
74168 var $async$goto = 0,
74169 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74170 $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
74171 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74172 if ($async$errorCode === 1)
74173 return A._asyncRethrow($async$result, $async$completer);
74174 while (true)
74175 switch ($async$goto) {
74176 case 0:
74177 // Function start
74178 t1 = $async$self.$this;
74179 oldImporter = t1._async_evaluate0$_importer;
74180 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
74181 t3 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
74182 t4 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
74183 t5 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
74184 oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
74185 oldConfiguration = t1._async_evaluate0$_configuration;
74186 oldInDependency = t1._async_evaluate0$_inDependency;
74187 t6 = $async$self.result;
74188 t1._async_evaluate0$_importer = t6.importer;
74189 t7 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
74190 t8 = $async$self.loadsUserDefinedModules;
74191 if (t8) {
74192 t9 = A.ModifiableCssStylesheet$0(t7.span);
74193 t1._async_evaluate0$__root = t9;
74194 t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t9, "_root");
74195 t1._async_evaluate0$__endOfImports = 0;
74196 t1._async_evaluate0$_outOfOrderImports = null;
74197 }
74198 t1._async_evaluate0$_inDependency = t6.isDependency;
74199 t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
74200 if (!t6.get$isEmpty(t6))
74201 t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
74202 $async$goto = 2;
74203 return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
74204 case 2:
74205 // returning from await.
74206 t6 = t8 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
74207 $async$self.children._value = t6;
74208 t1._async_evaluate0$_importer = oldImporter;
74209 t1._async_evaluate0$__stylesheet = t2;
74210 if (t8) {
74211 t1._async_evaluate0$__root = t3;
74212 t1._async_evaluate0$__parent = t4;
74213 t1._async_evaluate0$__endOfImports = t5;
74214 t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
74215 }
74216 t1._async_evaluate0$_configuration = oldConfiguration;
74217 t1._async_evaluate0$_inDependency = oldInDependency;
74218 // implicit return
74219 return A._asyncReturn(null, $async$completer);
74220 }
74221 });
74222 return A._asyncStartSync($async$call$0, $async$completer);
74223 },
74224 $signature: 2
74225 };
74226 A._EvaluateVisitor__visitStaticImport_closure2.prototype = {
74227 call$1(supports) {
74228 return this.$call$body$_EvaluateVisitor__visitStaticImport_closure0(supports);
74229 },
74230 $call$body$_EvaluateVisitor__visitStaticImport_closure0(supports) {
74231 var $async$goto = 0,
74232 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
74233 $async$returnValue, $async$self = this, t2, arg, t1, $async$temp1, $async$temp2;
74234 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74235 if ($async$errorCode === 1)
74236 return A._asyncRethrow($async$result, $async$completer);
74237 while (true)
74238 switch ($async$goto) {
74239 case 0:
74240 // Function start
74241 t1 = $async$self.$this;
74242 $async$goto = supports instanceof A.SupportsDeclaration0 ? 3 : 5;
74243 break;
74244 case 3:
74245 // then
74246 $async$temp1 = A;
74247 $async$goto = 6;
74248 return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(supports.name), $async$call$1);
74249 case 6:
74250 // returning from await.
74251 t2 = $async$temp1.S($async$result) + ":";
74252 $async$temp1 = t2 + (supports.get$isCustomProperty() ? "" : " ");
74253 $async$temp2 = A;
74254 $async$goto = 7;
74255 return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(supports.value), $async$call$1);
74256 case 7:
74257 // returning from await.
74258 arg = $async$temp1 + $async$temp2.S($async$result);
74259 // goto join
74260 $async$goto = 4;
74261 break;
74262 case 5:
74263 // else
74264 $async$goto = 8;
74265 return A._asyncAwait(A.NullableExtension_andThen0(supports, t1.get$_async_evaluate0$_visitSupportsCondition()), $async$call$1);
74266 case 8:
74267 // returning from await.
74268 arg = $async$result;
74269 case 4:
74270 // join
74271 $async$returnValue = new A.CssValue0("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String_2);
74272 // goto return
74273 $async$goto = 1;
74274 break;
74275 case 1:
74276 // return
74277 return A._asyncReturn($async$returnValue, $async$completer);
74278 }
74279 });
74280 return A._asyncStartSync($async$call$1, $async$completer);
74281 },
74282 $signature: 344
74283 };
74284 A._EvaluateVisitor_visitIncludeRule_closure11.prototype = {
74285 call$0() {
74286 var t1 = this.node;
74287 return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
74288 },
74289 $signature: 139
74290 };
74291 A._EvaluateVisitor_visitIncludeRule_closure12.prototype = {
74292 call$0() {
74293 return this.node.get$spanWithoutContent();
74294 },
74295 $signature: 31
74296 };
74297 A._EvaluateVisitor_visitIncludeRule_closure14.prototype = {
74298 call$1($content) {
74299 var t1 = this.$this;
74300 return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
74301 },
74302 $signature: 345
74303 };
74304 A._EvaluateVisitor_visitIncludeRule_closure13.prototype = {
74305 call$0() {
74306 var $async$goto = 0,
74307 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74308 $async$self = this, t1;
74309 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74310 if ($async$errorCode === 1)
74311 return A._asyncRethrow($async$result, $async$completer);
74312 while (true)
74313 switch ($async$goto) {
74314 case 0:
74315 // Function start
74316 t1 = $async$self.$this;
74317 $async$goto = 2;
74318 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);
74319 case 2:
74320 // returning from await.
74321 // implicit return
74322 return A._asyncReturn(null, $async$completer);
74323 }
74324 });
74325 return A._asyncStartSync($async$call$0, $async$completer);
74326 },
74327 $signature: 2
74328 };
74329 A._EvaluateVisitor_visitIncludeRule__closure2.prototype = {
74330 call$0() {
74331 var $async$goto = 0,
74332 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
74333 $async$self = this, t1;
74334 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74335 if ($async$errorCode === 1)
74336 return A._asyncRethrow($async$result, $async$completer);
74337 while (true)
74338 switch ($async$goto) {
74339 case 0:
74340 // Function start
74341 t1 = $async$self.$this;
74342 $async$goto = 2;
74343 return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure2(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
74344 case 2:
74345 // returning from await.
74346 // implicit return
74347 return A._asyncReturn(null, $async$completer);
74348 }
74349 });
74350 return A._asyncStartSync($async$call$0, $async$completer);
74351 },
74352 $signature: 28
74353 };
74354 A._EvaluateVisitor_visitIncludeRule___closure2.prototype = {
74355 call$0() {
74356 var $async$goto = 0,
74357 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
74358 $async$self = this, t1, t2, t3, t4, t5, _i;
74359 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74360 if ($async$errorCode === 1)
74361 return A._asyncRethrow($async$result, $async$completer);
74362 while (true)
74363 switch ($async$goto) {
74364 case 0:
74365 // Function start
74366 t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value_2, _i = 0;
74367 case 2:
74368 // for condition
74369 if (!(_i < t2)) {
74370 // goto after for
74371 $async$goto = 4;
74372 break;
74373 }
74374 $async$goto = 5;
74375 return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure2(t3, t1[_i]), t5), $async$call$0);
74376 case 5:
74377 // returning from await.
74378 case 3:
74379 // for update
74380 ++_i;
74381 // goto for condition
74382 $async$goto = 2;
74383 break;
74384 case 4:
74385 // after for
74386 // implicit return
74387 return A._asyncReturn(null, $async$completer);
74388 }
74389 });
74390 return A._asyncStartSync($async$call$0, $async$completer);
74391 },
74392 $signature: 28
74393 };
74394 A._EvaluateVisitor_visitIncludeRule____closure2.prototype = {
74395 call$0() {
74396 return this.statement.accept$1(this.$this);
74397 },
74398 $signature: 61
74399 };
74400 A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
74401 call$1(mediaQueries) {
74402 return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
74403 },
74404 $signature: 92
74405 };
74406 A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
74407 call$0() {
74408 var $async$goto = 0,
74409 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74410 $async$self = this, t1, t2;
74411 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74412 if ($async$errorCode === 1)
74413 return A._asyncRethrow($async$result, $async$completer);
74414 while (true)
74415 switch ($async$goto) {
74416 case 0:
74417 // Function start
74418 t1 = $async$self.$this;
74419 t2 = $async$self.mergedQueries;
74420 if (t2 == null)
74421 t2 = $async$self.queries;
74422 $async$goto = 2;
74423 return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
74424 case 2:
74425 // returning from await.
74426 // implicit return
74427 return A._asyncReturn(null, $async$completer);
74428 }
74429 });
74430 return A._asyncStartSync($async$call$0, $async$completer);
74431 },
74432 $signature: 2
74433 };
74434 A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
74435 call$0() {
74436 var $async$goto = 0,
74437 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74438 $async$self = this, t2, t3, _i, t1, styleRule;
74439 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74440 if ($async$errorCode === 1)
74441 return A._asyncRethrow($async$result, $async$completer);
74442 while (true)
74443 switch ($async$goto) {
74444 case 0:
74445 // Function start
74446 t1 = $async$self.$this;
74447 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
74448 $async$goto = styleRule == null ? 2 : 4;
74449 break;
74450 case 2:
74451 // then
74452 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
74453 case 5:
74454 // for condition
74455 if (!(_i < t3)) {
74456 // goto after for
74457 $async$goto = 7;
74458 break;
74459 }
74460 $async$goto = 8;
74461 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
74462 case 8:
74463 // returning from await.
74464 case 6:
74465 // for update
74466 ++_i;
74467 // goto for condition
74468 $async$goto = 5;
74469 break;
74470 case 7:
74471 // after for
74472 // goto join
74473 $async$goto = 3;
74474 break;
74475 case 4:
74476 // else
74477 $async$goto = 9;
74478 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);
74479 case 9:
74480 // returning from await.
74481 case 3:
74482 // join
74483 // implicit return
74484 return A._asyncReturn(null, $async$completer);
74485 }
74486 });
74487 return A._asyncStartSync($async$call$0, $async$completer);
74488 },
74489 $signature: 2
74490 };
74491 A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
74492 call$0() {
74493 var $async$goto = 0,
74494 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74495 $async$self = this, t1, t2, t3, _i;
74496 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74497 if ($async$errorCode === 1)
74498 return A._asyncRethrow($async$result, $async$completer);
74499 while (true)
74500 switch ($async$goto) {
74501 case 0:
74502 // Function start
74503 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74504 case 2:
74505 // for condition
74506 if (!(_i < t2)) {
74507 // goto after for
74508 $async$goto = 4;
74509 break;
74510 }
74511 $async$goto = 5;
74512 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74513 case 5:
74514 // returning from await.
74515 case 3:
74516 // for update
74517 ++_i;
74518 // goto for condition
74519 $async$goto = 2;
74520 break;
74521 case 4:
74522 // after for
74523 // implicit return
74524 return A._asyncReturn(null, $async$completer);
74525 }
74526 });
74527 return A._asyncStartSync($async$call$0, $async$completer);
74528 },
74529 $signature: 2
74530 };
74531 A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
74532 call$1(node) {
74533 var t1;
74534 if (!type$.CssStyleRule_2._is(node))
74535 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
74536 else
74537 t1 = true;
74538 return t1;
74539 },
74540 $signature: 7
74541 };
74542 A._EvaluateVisitor__visitMediaQueries_closure2.prototype = {
74543 call$0() {
74544 var t1 = A.SpanScanner$(this.resolved, null);
74545 return new A.MediaQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
74546 },
74547 $signature: 132
74548 };
74549 A._EvaluateVisitor_visitStyleRule_closure20.prototype = {
74550 call$0() {
74551 var t1 = this.selectorText;
74552 return A.KeyframeSelectorParser$0(t1.get$value(t1), this.$this._async_evaluate0$_logger).parse$0();
74553 },
74554 $signature: 49
74555 };
74556 A._EvaluateVisitor_visitStyleRule_closure21.prototype = {
74557 call$0() {
74558 var $async$goto = 0,
74559 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74560 $async$self = this, t1, t2, t3, _i;
74561 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74562 if ($async$errorCode === 1)
74563 return A._asyncRethrow($async$result, $async$completer);
74564 while (true)
74565 switch ($async$goto) {
74566 case 0:
74567 // Function start
74568 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74569 case 2:
74570 // for condition
74571 if (!(_i < t2)) {
74572 // goto after for
74573 $async$goto = 4;
74574 break;
74575 }
74576 $async$goto = 5;
74577 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74578 case 5:
74579 // returning from await.
74580 case 3:
74581 // for update
74582 ++_i;
74583 // goto for condition
74584 $async$goto = 2;
74585 break;
74586 case 4:
74587 // after for
74588 // implicit return
74589 return A._asyncReturn(null, $async$completer);
74590 }
74591 });
74592 return A._asyncStartSync($async$call$0, $async$completer);
74593 },
74594 $signature: 2
74595 };
74596 A._EvaluateVisitor_visitStyleRule_closure22.prototype = {
74597 call$1(node) {
74598 return type$.CssStyleRule_2._is(node);
74599 },
74600 $signature: 7
74601 };
74602 A._EvaluateVisitor_visitStyleRule_closure23.prototype = {
74603 call$0() {
74604 var _s11_ = "_stylesheet",
74605 t1 = this.selectorText,
74606 t2 = this.$this;
74607 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);
74608 },
74609 $signature: 45
74610 };
74611 A._EvaluateVisitor_visitStyleRule_closure24.prototype = {
74612 call$0() {
74613 var t1 = this._box_0.parsedSelector,
74614 t2 = this.$this,
74615 t3 = t2._async_evaluate0$_styleRuleIgnoringAtRoot;
74616 t3 = t3 == null ? null : t3.originalSelector;
74617 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate0$_atRootExcludingStyleRule);
74618 },
74619 $signature: 45
74620 };
74621 A._EvaluateVisitor_visitStyleRule_closure25.prototype = {
74622 call$0() {
74623 var $async$goto = 0,
74624 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74625 $async$self = this, t1;
74626 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74627 if ($async$errorCode === 1)
74628 return A._asyncRethrow($async$result, $async$completer);
74629 while (true)
74630 switch ($async$goto) {
74631 case 0:
74632 // Function start
74633 t1 = $async$self.$this;
74634 $async$goto = 2;
74635 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);
74636 case 2:
74637 // returning from await.
74638 // implicit return
74639 return A._asyncReturn(null, $async$completer);
74640 }
74641 });
74642 return A._asyncStartSync($async$call$0, $async$completer);
74643 },
74644 $signature: 2
74645 };
74646 A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
74647 call$0() {
74648 var $async$goto = 0,
74649 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74650 $async$self = this, t1, t2, t3, _i;
74651 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74652 if ($async$errorCode === 1)
74653 return A._asyncRethrow($async$result, $async$completer);
74654 while (true)
74655 switch ($async$goto) {
74656 case 0:
74657 // Function start
74658 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74659 case 2:
74660 // for condition
74661 if (!(_i < t2)) {
74662 // goto after for
74663 $async$goto = 4;
74664 break;
74665 }
74666 $async$goto = 5;
74667 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74668 case 5:
74669 // returning from await.
74670 case 3:
74671 // for update
74672 ++_i;
74673 // goto for condition
74674 $async$goto = 2;
74675 break;
74676 case 4:
74677 // after for
74678 // implicit return
74679 return A._asyncReturn(null, $async$completer);
74680 }
74681 });
74682 return A._asyncStartSync($async$call$0, $async$completer);
74683 },
74684 $signature: 2
74685 };
74686 A._EvaluateVisitor_visitStyleRule_closure26.prototype = {
74687 call$1(node) {
74688 return type$.CssStyleRule_2._is(node);
74689 },
74690 $signature: 7
74691 };
74692 A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
74693 call$0() {
74694 var $async$goto = 0,
74695 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74696 $async$self = this, t2, t3, _i, t1, styleRule;
74697 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74698 if ($async$errorCode === 1)
74699 return A._asyncRethrow($async$result, $async$completer);
74700 while (true)
74701 switch ($async$goto) {
74702 case 0:
74703 // Function start
74704 t1 = $async$self.$this;
74705 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
74706 $async$goto = styleRule == null ? 2 : 4;
74707 break;
74708 case 2:
74709 // then
74710 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
74711 case 5:
74712 // for condition
74713 if (!(_i < t3)) {
74714 // goto after for
74715 $async$goto = 7;
74716 break;
74717 }
74718 $async$goto = 8;
74719 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
74720 case 8:
74721 // returning from await.
74722 case 6:
74723 // for update
74724 ++_i;
74725 // goto for condition
74726 $async$goto = 5;
74727 break;
74728 case 7:
74729 // after for
74730 // goto join
74731 $async$goto = 3;
74732 break;
74733 case 4:
74734 // else
74735 $async$goto = 9;
74736 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);
74737 case 9:
74738 // returning from await.
74739 case 3:
74740 // join
74741 // implicit return
74742 return A._asyncReturn(null, $async$completer);
74743 }
74744 });
74745 return A._asyncStartSync($async$call$0, $async$completer);
74746 },
74747 $signature: 2
74748 };
74749 A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
74750 call$0() {
74751 var $async$goto = 0,
74752 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74753 $async$self = this, t1, t2, t3, _i;
74754 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74755 if ($async$errorCode === 1)
74756 return A._asyncRethrow($async$result, $async$completer);
74757 while (true)
74758 switch ($async$goto) {
74759 case 0:
74760 // Function start
74761 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74762 case 2:
74763 // for condition
74764 if (!(_i < t2)) {
74765 // goto after for
74766 $async$goto = 4;
74767 break;
74768 }
74769 $async$goto = 5;
74770 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74771 case 5:
74772 // returning from await.
74773 case 3:
74774 // for update
74775 ++_i;
74776 // goto for condition
74777 $async$goto = 2;
74778 break;
74779 case 4:
74780 // after for
74781 // implicit return
74782 return A._asyncReturn(null, $async$completer);
74783 }
74784 });
74785 return A._asyncStartSync($async$call$0, $async$completer);
74786 },
74787 $signature: 2
74788 };
74789 A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
74790 call$1(node) {
74791 return type$.CssStyleRule_2._is(node);
74792 },
74793 $signature: 7
74794 };
74795 A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
74796 call$0() {
74797 var t1 = this.override;
74798 this.$this._async_evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
74799 },
74800 $signature: 1
74801 };
74802 A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
74803 call$0() {
74804 var t1 = this.node;
74805 return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
74806 },
74807 $signature: 34
74808 };
74809 A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
74810 call$0() {
74811 var t1 = this.$this,
74812 t2 = this.node;
74813 t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
74814 },
74815 $signature: 1
74816 };
74817 A._EvaluateVisitor_visitUseRule_closure2.prototype = {
74818 call$1(module) {
74819 var t1 = this.node;
74820 this.$this._async_evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
74821 },
74822 $signature: 133
74823 };
74824 A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
74825 call$0() {
74826 return this.node.expression.accept$1(this.$this);
74827 },
74828 $signature: 63
74829 };
74830 A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
74831 call$0() {
74832 var $async$goto = 0,
74833 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
74834 $async$returnValue, $async$self = this, t1, t2, t3, result;
74835 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74836 if ($async$errorCode === 1)
74837 return A._asyncRethrow($async$result, $async$completer);
74838 while (true)
74839 switch ($async$goto) {
74840 case 0:
74841 // Function start
74842 t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
74843 case 3:
74844 // for condition
74845 $async$goto = 5;
74846 return A._asyncAwait(t2.accept$1(t3), $async$call$0);
74847 case 5:
74848 // returning from await.
74849 if (!$async$result.get$isTruthy()) {
74850 // goto after for
74851 $async$goto = 4;
74852 break;
74853 }
74854 $async$goto = 6;
74855 return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
74856 case 6:
74857 // returning from await.
74858 result = $async$result;
74859 if (result != null) {
74860 $async$returnValue = result;
74861 // goto return
74862 $async$goto = 1;
74863 break;
74864 }
74865 // goto for condition
74866 $async$goto = 3;
74867 break;
74868 case 4:
74869 // after for
74870 $async$returnValue = null;
74871 // goto return
74872 $async$goto = 1;
74873 break;
74874 case 1:
74875 // return
74876 return A._asyncReturn($async$returnValue, $async$completer);
74877 }
74878 });
74879 return A._asyncStartSync($async$call$0, $async$completer);
74880 },
74881 $signature: 61
74882 };
74883 A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
74884 call$1(child) {
74885 return child.accept$1(this.$this);
74886 },
74887 $signature: 90
74888 };
74889 A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
74890 call$0() {
74891 var $async$goto = 0,
74892 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
74893 $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
74894 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74895 if ($async$errorCode === 1)
74896 return A._asyncRethrow($async$result, $async$completer);
74897 while (true)
74898 switch ($async$goto) {
74899 case 0:
74900 // Function start
74901 t1 = $async$self.node;
74902 t2 = $async$self.$this;
74903 $async$goto = 3;
74904 return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
74905 case 3:
74906 // returning from await.
74907 left = $async$result;
74908 t3 = t1.operator;
74909 case 4:
74910 // switch
74911 switch (t3) {
74912 case B.BinaryOperator_kjl0:
74913 // goto case
74914 $async$goto = 6;
74915 break;
74916 case B.BinaryOperator_or_or_10:
74917 // goto case
74918 $async$goto = 7;
74919 break;
74920 case B.BinaryOperator_and_and_20:
74921 // goto case
74922 $async$goto = 8;
74923 break;
74924 case B.BinaryOperator_YlX0:
74925 // goto case
74926 $async$goto = 9;
74927 break;
74928 case B.BinaryOperator_i5H0:
74929 // goto case
74930 $async$goto = 10;
74931 break;
74932 case B.BinaryOperator_AcR1:
74933 // goto case
74934 $async$goto = 11;
74935 break;
74936 case B.BinaryOperator_1da0:
74937 // goto case
74938 $async$goto = 12;
74939 break;
74940 case B.BinaryOperator_8qt0:
74941 // goto case
74942 $async$goto = 13;
74943 break;
74944 case B.BinaryOperator_33h0:
74945 // goto case
74946 $async$goto = 14;
74947 break;
74948 case B.BinaryOperator_AcR2:
74949 // goto case
74950 $async$goto = 15;
74951 break;
74952 case B.BinaryOperator_iyO0:
74953 // goto case
74954 $async$goto = 16;
74955 break;
74956 case B.BinaryOperator_O1M0:
74957 // goto case
74958 $async$goto = 17;
74959 break;
74960 case B.BinaryOperator_RTB0:
74961 // goto case
74962 $async$goto = 18;
74963 break;
74964 case B.BinaryOperator_2ad0:
74965 // goto case
74966 $async$goto = 19;
74967 break;
74968 default:
74969 // goto default
74970 $async$goto = 20;
74971 break;
74972 }
74973 break;
74974 case 6:
74975 // case
74976 $async$goto = 21;
74977 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74978 case 21:
74979 // returning from await.
74980 right = $async$result;
74981 $async$returnValue = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
74982 // goto return
74983 $async$goto = 1;
74984 break;
74985 case 7:
74986 // case
74987 $async$goto = left.get$isTruthy() ? 22 : 24;
74988 break;
74989 case 22:
74990 // then
74991 $async$result = left;
74992 // goto join
74993 $async$goto = 23;
74994 break;
74995 case 24:
74996 // else
74997 $async$goto = 25;
74998 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74999 case 25:
75000 // returning from await.
75001 case 23:
75002 // join
75003 $async$returnValue = $async$result;
75004 // goto return
75005 $async$goto = 1;
75006 break;
75007 case 8:
75008 // case
75009 $async$goto = left.get$isTruthy() ? 26 : 28;
75010 break;
75011 case 26:
75012 // then
75013 $async$goto = 29;
75014 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
75015 case 29:
75016 // returning from await.
75017 // goto join
75018 $async$goto = 27;
75019 break;
75020 case 28:
75021 // else
75022 $async$result = left;
75023 case 27:
75024 // join
75025 $async$returnValue = $async$result;
75026 // goto return
75027 $async$goto = 1;
75028 break;
75029 case 9:
75030 // case
75031 $async$temp1 = left;
75032 $async$goto = 30;
75033 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
75034 case 30:
75035 // returning from await.
75036 $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
75037 // goto return
75038 $async$goto = 1;
75039 break;
75040 case 10:
75041 // case
75042 $async$temp1 = left;
75043 $async$goto = 31;
75044 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
75045 case 31:
75046 // returning from await.
75047 $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
75048 // goto return
75049 $async$goto = 1;
75050 break;
75051 case 11:
75052 // case
75053 $async$temp1 = left;
75054 $async$goto = 32;
75055 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
75056 case 32:
75057 // returning from await.
75058 $async$returnValue = $async$temp1.greaterThan$1($async$result);
75059 // goto return
75060 $async$goto = 1;
75061 break;
75062 case 12:
75063 // case
75064 $async$temp1 = left;
75065 $async$goto = 33;
75066 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
75067 case 33:
75068 // returning from await.
75069 $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
75070 // goto return
75071 $async$goto = 1;
75072 break;
75073 case 13:
75074 // case
75075 $async$temp1 = left;
75076 $async$goto = 34;
75077 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
75078 case 34:
75079 // returning from await.
75080 $async$returnValue = $async$temp1.lessThan$1($async$result);
75081 // goto return
75082 $async$goto = 1;
75083 break;
75084 case 14:
75085 // case
75086 $async$temp1 = left;
75087 $async$goto = 35;
75088 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
75089 case 35:
75090 // returning from await.
75091 $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
75092 // goto return
75093 $async$goto = 1;
75094 break;
75095 case 15:
75096 // case
75097 $async$temp1 = left;
75098 $async$goto = 36;
75099 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
75100 case 36:
75101 // returning from await.
75102 $async$returnValue = $async$temp1.plus$1($async$result);
75103 // goto return
75104 $async$goto = 1;
75105 break;
75106 case 16:
75107 // case
75108 $async$temp1 = left;
75109 $async$goto = 37;
75110 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
75111 case 37:
75112 // returning from await.
75113 $async$returnValue = $async$temp1.minus$1($async$result);
75114 // goto return
75115 $async$goto = 1;
75116 break;
75117 case 17:
75118 // case
75119 $async$temp1 = left;
75120 $async$goto = 38;
75121 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
75122 case 38:
75123 // returning from await.
75124 $async$returnValue = $async$temp1.times$1($async$result);
75125 // goto return
75126 $async$goto = 1;
75127 break;
75128 case 18:
75129 // case
75130 $async$goto = 39;
75131 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
75132 case 39:
75133 // returning from await.
75134 right = $async$result;
75135 result = left.dividedBy$1(right);
75136 if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
75137 $async$returnValue = type$.SassNumber_2._as(result).withSlash$2(left, right);
75138 // goto return
75139 $async$goto = 1;
75140 break;
75141 } else {
75142 if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
75143 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);
75144 $async$returnValue = result;
75145 // goto return
75146 $async$goto = 1;
75147 break;
75148 }
75149 case 19:
75150 // case
75151 $async$temp1 = left;
75152 $async$goto = 40;
75153 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
75154 case 40:
75155 // returning from await.
75156 $async$returnValue = $async$temp1.modulo$1($async$result);
75157 // goto return
75158 $async$goto = 1;
75159 break;
75160 case 20:
75161 // default
75162 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
75163 case 5:
75164 // after switch
75165 case 1:
75166 // return
75167 return A._asyncReturn($async$returnValue, $async$completer);
75168 }
75169 });
75170 return A._asyncStartSync($async$call$0, $async$completer);
75171 },
75172 $signature: 63
75173 };
75174 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2.prototype = {
75175 call$1(expression) {
75176 if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_RTB0)
75177 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
75178 else if (expression instanceof A.ParenthesizedExpression0)
75179 return expression.expression.toString$0(0);
75180 else
75181 return expression.toString$0(0);
75182 },
75183 $signature: 130
75184 };
75185 A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
75186 call$0() {
75187 var t1 = this.node;
75188 return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
75189 },
75190 $signature: 34
75191 };
75192 A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
75193 call$0() {
75194 var _this = this,
75195 t1 = _this.node.operator;
75196 switch (t1) {
75197 case B.UnaryOperator_j2w0:
75198 return _this.operand.unaryPlus$0();
75199 case B.UnaryOperator_U4G0:
75200 return _this.operand.unaryMinus$0();
75201 case B.UnaryOperator_zDx0:
75202 return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
75203 case B.UnaryOperator_not_not0:
75204 return _this.operand.unaryNot$0();
75205 default:
75206 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
75207 }
75208 },
75209 $signature: 46
75210 };
75211 A._EvaluateVisitor__visitCalculationValue_closure2.prototype = {
75212 call$0() {
75213 var $async$goto = 0,
75214 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
75215 $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
75216 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75217 if ($async$errorCode === 1)
75218 return A._asyncRethrow($async$result, $async$completer);
75219 while (true)
75220 switch ($async$goto) {
75221 case 0:
75222 // Function start
75223 t1 = $async$self.$this;
75224 t2 = $async$self.node;
75225 t3 = $async$self.inMinMax;
75226 $async$temp1 = A;
75227 $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator);
75228 $async$goto = 3;
75229 return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
75230 case 3:
75231 // returning from await.
75232 $async$temp3 = $async$result;
75233 $async$goto = 4;
75234 return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
75235 case 4:
75236 // returning from await.
75237 $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate0$_inSupportsDeclaration);
75238 // goto return
75239 $async$goto = 1;
75240 break;
75241 case 1:
75242 // return
75243 return A._asyncReturn($async$returnValue, $async$completer);
75244 }
75245 });
75246 return A._asyncStartSync($async$call$0, $async$completer);
75247 },
75248 $signature: 178
75249 };
75250 A._EvaluateVisitor_visitListExpression_closure2.prototype = {
75251 call$1(expression) {
75252 return expression.accept$1(this.$this);
75253 },
75254 $signature: 352
75255 };
75256 A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
75257 call$0() {
75258 var t1 = this.node;
75259 return this.$this._async_evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
75260 },
75261 $signature: 139
75262 };
75263 A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
75264 call$0() {
75265 var t1 = this.node;
75266 return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
75267 },
75268 $signature: 63
75269 };
75270 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
75271 call$0() {
75272 var t1 = this.node;
75273 return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
75274 },
75275 $signature: 63
75276 };
75277 A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
75278 call$0() {
75279 var _this = this,
75280 t1 = _this.$this,
75281 t2 = _this.callable,
75282 t3 = _this.V;
75283 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);
75284 },
75285 $signature() {
75286 return this.V._eval$1("Future<0>()");
75287 }
75288 };
75289 A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
75290 call$0() {
75291 var _this = this,
75292 t1 = _this.$this,
75293 t2 = _this.V;
75294 return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
75295 },
75296 $signature() {
75297 return this.V._eval$1("Future<0>()");
75298 }
75299 };
75300 A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
75301 call$0() {
75302 return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
75303 },
75304 $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
75305 var $async$goto = 0,
75306 $async$completer = A._makeAsyncAwaitCompleter($async$type),
75307 $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;
75308 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75309 if ($async$errorCode === 1)
75310 return A._asyncRethrow($async$result, $async$completer);
75311 while (true)
75312 switch ($async$goto) {
75313 case 0:
75314 // Function start
75315 t1 = $async$self.$this;
75316 t2 = $async$self.evaluated;
75317 t3 = t2.positional;
75318 t4 = t2.named;
75319 t5 = $async$self.callable.declaration.$arguments;
75320 t6 = $async$self.nodeWithSpan;
75321 t1._async_evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
75322 declaredArguments = t5.$arguments;
75323 t7 = declaredArguments.length;
75324 minLength = Math.min(t3.length, t7);
75325 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
75326 t1._async_evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
75327 i = t3.length, t8 = t2.namedNodes;
75328 case 3:
75329 // for condition
75330 if (!(i < t7)) {
75331 // goto after for
75332 $async$goto = 5;
75333 break;
75334 }
75335 argument = declaredArguments[i];
75336 t9 = argument.name;
75337 value = t4.remove$1(0, t9);
75338 $async$goto = value == null ? 6 : 7;
75339 break;
75340 case 6:
75341 // then
75342 t10 = argument.defaultValue;
75343 $async$temp1 = t1;
75344 $async$goto = 8;
75345 return A._asyncAwait(t10.accept$1(t1), $async$call$0);
75346 case 8:
75347 // returning from await.
75348 value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t10));
75349 case 7:
75350 // join
75351 t10 = t1._async_evaluate0$_environment;
75352 t11 = t8.$index(0, t9);
75353 if (t11 == null) {
75354 t11 = argument.defaultValue;
75355 t11.toString;
75356 t11 = t1._async_evaluate0$_expressionNode$1(t11);
75357 }
75358 t10.setLocalVariable$3(t9, value, t11);
75359 case 4:
75360 // for update
75361 ++i;
75362 // goto for condition
75363 $async$goto = 3;
75364 break;
75365 case 5:
75366 // after for
75367 restArgument = t5.restArgument;
75368 if (restArgument != null) {
75369 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty15;
75370 t2 = t2.separator;
75371 argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : t2);
75372 t1._async_evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
75373 } else
75374 argumentList = null;
75375 $async$goto = 9;
75376 return A._asyncAwait($async$self.run.call$0(), $async$call$0);
75377 case 9:
75378 // returning from await.
75379 result = $async$result;
75380 if (argumentList == null) {
75381 $async$returnValue = result;
75382 // goto return
75383 $async$goto = 1;
75384 break;
75385 }
75386 if (t4.get$isEmpty(t4)) {
75387 $async$returnValue = result;
75388 // goto return
75389 $async$goto = 1;
75390 break;
75391 }
75392 if (argumentList._argument_list$_wereKeywordsAccessed) {
75393 $async$returnValue = result;
75394 // goto return
75395 $async$goto = 1;
75396 break;
75397 }
75398 t2 = t4.get$keys(t4);
75399 argumentWord = A.pluralize0("argument", t2.get$length(t2), null);
75400 t4 = t4.get$keys(t4);
75401 argumentNames = A.toSentence0(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure2(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
75402 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))));
75403 case 1:
75404 // return
75405 return A._asyncReturn($async$returnValue, $async$completer);
75406 }
75407 });
75408 return A._asyncStartSync($async$call$0, $async$completer);
75409 },
75410 $signature() {
75411 return this.V._eval$1("Future<0>()");
75412 }
75413 };
75414 A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
75415 call$1($name) {
75416 return "$" + $name;
75417 },
75418 $signature: 5
75419 };
75420 A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
75421 call$0() {
75422 var $async$goto = 0,
75423 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
75424 $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
75425 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75426 if ($async$errorCode === 1)
75427 return A._asyncRethrow($async$result, $async$completer);
75428 while (true)
75429 switch ($async$goto) {
75430 case 0:
75431 // Function start
75432 t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
75433 case 3:
75434 // for condition
75435 if (!(_i < t3)) {
75436 // goto after for
75437 $async$goto = 5;
75438 break;
75439 }
75440 $async$goto = 6;
75441 return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
75442 case 6:
75443 // returning from await.
75444 $returnValue = $async$result;
75445 if ($returnValue instanceof A.Value0) {
75446 $async$returnValue = $returnValue;
75447 // goto return
75448 $async$goto = 1;
75449 break;
75450 }
75451 case 4:
75452 // for update
75453 ++_i;
75454 // goto for condition
75455 $async$goto = 3;
75456 break;
75457 case 5:
75458 // after for
75459 throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
75460 case 1:
75461 // return
75462 return A._asyncReturn($async$returnValue, $async$completer);
75463 }
75464 });
75465 return A._asyncStartSync($async$call$0, $async$completer);
75466 },
75467 $signature: 63
75468 };
75469 A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
75470 call$0() {
75471 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
75472 },
75473 $signature: 0
75474 };
75475 A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
75476 call$1($name) {
75477 return "$" + $name;
75478 },
75479 $signature: 5
75480 };
75481 A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
75482 call$1(value) {
75483 return value;
75484 },
75485 $signature: 39
75486 };
75487 A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
75488 call$1(value) {
75489 return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
75490 },
75491 $signature: 39
75492 };
75493 A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
75494 call$2(key, value) {
75495 var _this = this,
75496 t1 = _this.restNodeForSpan;
75497 _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
75498 _this.namedNodes.$indexSet(0, key, t1);
75499 },
75500 $signature: 94
75501 };
75502 A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
75503 call$1(value) {
75504 return value;
75505 },
75506 $signature: 39
75507 };
75508 A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
75509 call$1(value) {
75510 var t1 = this.restArgs;
75511 return new A.ValueExpression0(value, t1.get$span(t1));
75512 },
75513 $signature: 52
75514 };
75515 A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
75516 call$1(value) {
75517 var t1 = this.restArgs;
75518 return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
75519 },
75520 $signature: 52
75521 };
75522 A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
75523 call$2(key, value) {
75524 var _this = this,
75525 t1 = _this.restArgs;
75526 _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
75527 },
75528 $signature: 94
75529 };
75530 A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
75531 call$1(value) {
75532 var t1 = this.keywordRestArgs;
75533 return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
75534 },
75535 $signature: 52
75536 };
75537 A._EvaluateVisitor__addRestMap_closure2.prototype = {
75538 call$2(key, value) {
75539 var t2, _this = this,
75540 t1 = _this.$this;
75541 if (key instanceof A.SassString0)
75542 _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
75543 else {
75544 t2 = _this.nodeWithSpan;
75545 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)));
75546 }
75547 },
75548 $signature: 57
75549 };
75550 A._EvaluateVisitor__verifyArguments_closure2.prototype = {
75551 call$0() {
75552 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
75553 },
75554 $signature: 0
75555 };
75556 A._EvaluateVisitor_visitStringExpression_closure2.prototype = {
75557 call$1(value) {
75558 var $async$goto = 0,
75559 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
75560 $async$returnValue, $async$self = this, t1, result;
75561 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75562 if ($async$errorCode === 1)
75563 return A._asyncRethrow($async$result, $async$completer);
75564 while (true)
75565 switch ($async$goto) {
75566 case 0:
75567 // Function start
75568 if (typeof value == "string") {
75569 $async$returnValue = value;
75570 // goto return
75571 $async$goto = 1;
75572 break;
75573 }
75574 type$.Expression_2._as(value);
75575 t1 = $async$self.$this;
75576 $async$goto = 3;
75577 return A._asyncAwait(value.accept$1(t1), $async$call$1);
75578 case 3:
75579 // returning from await.
75580 result = $async$result;
75581 $async$returnValue = result instanceof A.SassString0 ? result._string0$_text : t1._async_evaluate0$_serialize$3$quote(result, value, false);
75582 // goto return
75583 $async$goto = 1;
75584 break;
75585 case 1:
75586 // return
75587 return A._asyncReturn($async$returnValue, $async$completer);
75588 }
75589 });
75590 return A._asyncStartSync($async$call$1, $async$completer);
75591 },
75592 $signature: 83
75593 };
75594 A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
75595 call$0() {
75596 var $async$goto = 0,
75597 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75598 $async$self = this, t1, t2, t3;
75599 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75600 if ($async$errorCode === 1)
75601 return A._asyncRethrow($async$result, $async$completer);
75602 while (true)
75603 switch ($async$goto) {
75604 case 0:
75605 // Function start
75606 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75607 case 2:
75608 // for condition
75609 if (!t1.moveNext$0()) {
75610 // goto after for
75611 $async$goto = 3;
75612 break;
75613 }
75614 $async$goto = 4;
75615 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75616 case 4:
75617 // returning from await.
75618 // goto for condition
75619 $async$goto = 2;
75620 break;
75621 case 3:
75622 // after for
75623 // implicit return
75624 return A._asyncReturn(null, $async$completer);
75625 }
75626 });
75627 return A._asyncStartSync($async$call$0, $async$completer);
75628 },
75629 $signature: 2
75630 };
75631 A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
75632 call$1(node) {
75633 return type$.CssStyleRule_2._is(node);
75634 },
75635 $signature: 7
75636 };
75637 A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
75638 call$0() {
75639 var $async$goto = 0,
75640 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75641 $async$self = this, t1, t2, t3;
75642 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75643 if ($async$errorCode === 1)
75644 return A._asyncRethrow($async$result, $async$completer);
75645 while (true)
75646 switch ($async$goto) {
75647 case 0:
75648 // Function start
75649 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75650 case 2:
75651 // for condition
75652 if (!t1.moveNext$0()) {
75653 // goto after for
75654 $async$goto = 3;
75655 break;
75656 }
75657 $async$goto = 4;
75658 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75659 case 4:
75660 // returning from await.
75661 // goto for condition
75662 $async$goto = 2;
75663 break;
75664 case 3:
75665 // after for
75666 // implicit return
75667 return A._asyncReturn(null, $async$completer);
75668 }
75669 });
75670 return A._asyncStartSync($async$call$0, $async$completer);
75671 },
75672 $signature: 2
75673 };
75674 A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
75675 call$1(node) {
75676 return type$.CssStyleRule_2._is(node);
75677 },
75678 $signature: 7
75679 };
75680 A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
75681 call$1(mediaQueries) {
75682 return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
75683 },
75684 $signature: 92
75685 };
75686 A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
75687 call$0() {
75688 var $async$goto = 0,
75689 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75690 $async$self = this, t1, t2;
75691 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75692 if ($async$errorCode === 1)
75693 return A._asyncRethrow($async$result, $async$completer);
75694 while (true)
75695 switch ($async$goto) {
75696 case 0:
75697 // Function start
75698 t1 = $async$self.$this;
75699 t2 = $async$self.mergedQueries;
75700 if (t2 == null)
75701 t2 = $async$self.node.queries;
75702 $async$goto = 2;
75703 return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
75704 case 2:
75705 // returning from await.
75706 // implicit return
75707 return A._asyncReturn(null, $async$completer);
75708 }
75709 });
75710 return A._asyncStartSync($async$call$0, $async$completer);
75711 },
75712 $signature: 2
75713 };
75714 A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
75715 call$0() {
75716 var $async$goto = 0,
75717 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75718 $async$self = this, t2, t3, t1, styleRule;
75719 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75720 if ($async$errorCode === 1)
75721 return A._asyncRethrow($async$result, $async$completer);
75722 while (true)
75723 switch ($async$goto) {
75724 case 0:
75725 // Function start
75726 t1 = $async$self.$this;
75727 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
75728 $async$goto = styleRule == null ? 2 : 4;
75729 break;
75730 case 2:
75731 // then
75732 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
75733 case 5:
75734 // for condition
75735 if (!t2.moveNext$0()) {
75736 // goto after for
75737 $async$goto = 6;
75738 break;
75739 }
75740 $async$goto = 7;
75741 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
75742 case 7:
75743 // returning from await.
75744 // goto for condition
75745 $async$goto = 5;
75746 break;
75747 case 6:
75748 // after for
75749 // goto join
75750 $async$goto = 3;
75751 break;
75752 case 4:
75753 // else
75754 $async$goto = 8;
75755 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);
75756 case 8:
75757 // returning from await.
75758 case 3:
75759 // join
75760 // implicit return
75761 return A._asyncReturn(null, $async$completer);
75762 }
75763 });
75764 return A._asyncStartSync($async$call$0, $async$completer);
75765 },
75766 $signature: 2
75767 };
75768 A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
75769 call$0() {
75770 var $async$goto = 0,
75771 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75772 $async$self = this, t1, t2, t3;
75773 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75774 if ($async$errorCode === 1)
75775 return A._asyncRethrow($async$result, $async$completer);
75776 while (true)
75777 switch ($async$goto) {
75778 case 0:
75779 // Function start
75780 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75781 case 2:
75782 // for condition
75783 if (!t1.moveNext$0()) {
75784 // goto after for
75785 $async$goto = 3;
75786 break;
75787 }
75788 $async$goto = 4;
75789 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75790 case 4:
75791 // returning from await.
75792 // goto for condition
75793 $async$goto = 2;
75794 break;
75795 case 3:
75796 // after for
75797 // implicit return
75798 return A._asyncReturn(null, $async$completer);
75799 }
75800 });
75801 return A._asyncStartSync($async$call$0, $async$completer);
75802 },
75803 $signature: 2
75804 };
75805 A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
75806 call$1(node) {
75807 var t1;
75808 if (!type$.CssStyleRule_2._is(node))
75809 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
75810 else
75811 t1 = true;
75812 return t1;
75813 },
75814 $signature: 7
75815 };
75816 A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
75817 call$0() {
75818 var $async$goto = 0,
75819 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75820 $async$self = this, t1;
75821 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75822 if ($async$errorCode === 1)
75823 return A._asyncRethrow($async$result, $async$completer);
75824 while (true)
75825 switch ($async$goto) {
75826 case 0:
75827 // Function start
75828 t1 = $async$self.$this;
75829 $async$goto = 2;
75830 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);
75831 case 2:
75832 // returning from await.
75833 // implicit return
75834 return A._asyncReturn(null, $async$completer);
75835 }
75836 });
75837 return A._asyncStartSync($async$call$0, $async$completer);
75838 },
75839 $signature: 2
75840 };
75841 A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
75842 call$0() {
75843 var $async$goto = 0,
75844 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75845 $async$self = this, t1, t2, t3;
75846 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75847 if ($async$errorCode === 1)
75848 return A._asyncRethrow($async$result, $async$completer);
75849 while (true)
75850 switch ($async$goto) {
75851 case 0:
75852 // Function start
75853 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75854 case 2:
75855 // for condition
75856 if (!t1.moveNext$0()) {
75857 // goto after for
75858 $async$goto = 3;
75859 break;
75860 }
75861 $async$goto = 4;
75862 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75863 case 4:
75864 // returning from await.
75865 // goto for condition
75866 $async$goto = 2;
75867 break;
75868 case 3:
75869 // after for
75870 // implicit return
75871 return A._asyncReturn(null, $async$completer);
75872 }
75873 });
75874 return A._asyncStartSync($async$call$0, $async$completer);
75875 },
75876 $signature: 2
75877 };
75878 A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
75879 call$1(node) {
75880 return type$.CssStyleRule_2._is(node);
75881 },
75882 $signature: 7
75883 };
75884 A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
75885 call$0() {
75886 var $async$goto = 0,
75887 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75888 $async$self = this, t2, t3, t1, styleRule;
75889 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75890 if ($async$errorCode === 1)
75891 return A._asyncRethrow($async$result, $async$completer);
75892 while (true)
75893 switch ($async$goto) {
75894 case 0:
75895 // Function start
75896 t1 = $async$self.$this;
75897 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
75898 $async$goto = styleRule == null ? 2 : 4;
75899 break;
75900 case 2:
75901 // then
75902 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
75903 case 5:
75904 // for condition
75905 if (!t2.moveNext$0()) {
75906 // goto after for
75907 $async$goto = 6;
75908 break;
75909 }
75910 $async$goto = 7;
75911 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
75912 case 7:
75913 // returning from await.
75914 // goto for condition
75915 $async$goto = 5;
75916 break;
75917 case 6:
75918 // after for
75919 // goto join
75920 $async$goto = 3;
75921 break;
75922 case 4:
75923 // else
75924 $async$goto = 8;
75925 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);
75926 case 8:
75927 // returning from await.
75928 case 3:
75929 // join
75930 // implicit return
75931 return A._asyncReturn(null, $async$completer);
75932 }
75933 });
75934 return A._asyncStartSync($async$call$0, $async$completer);
75935 },
75936 $signature: 2
75937 };
75938 A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
75939 call$0() {
75940 var $async$goto = 0,
75941 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75942 $async$self = this, t1, t2, t3;
75943 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75944 if ($async$errorCode === 1)
75945 return A._asyncRethrow($async$result, $async$completer);
75946 while (true)
75947 switch ($async$goto) {
75948 case 0:
75949 // Function start
75950 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75951 case 2:
75952 // for condition
75953 if (!t1.moveNext$0()) {
75954 // goto after for
75955 $async$goto = 3;
75956 break;
75957 }
75958 $async$goto = 4;
75959 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75960 case 4:
75961 // returning from await.
75962 // goto for condition
75963 $async$goto = 2;
75964 break;
75965 case 3:
75966 // after for
75967 // implicit return
75968 return A._asyncReturn(null, $async$completer);
75969 }
75970 });
75971 return A._asyncStartSync($async$call$0, $async$completer);
75972 },
75973 $signature: 2
75974 };
75975 A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
75976 call$1(node) {
75977 return type$.CssStyleRule_2._is(node);
75978 },
75979 $signature: 7
75980 };
75981 A._EvaluateVisitor__performInterpolation_closure2.prototype = {
75982 call$1(value) {
75983 var $async$goto = 0,
75984 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
75985 $async$returnValue, $async$self = this, t1, result, t2, t3;
75986 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75987 if ($async$errorCode === 1)
75988 return A._asyncRethrow($async$result, $async$completer);
75989 while (true)
75990 switch ($async$goto) {
75991 case 0:
75992 // Function start
75993 if (typeof value == "string") {
75994 $async$returnValue = value;
75995 // goto return
75996 $async$goto = 1;
75997 break;
75998 }
75999 type$.Expression_2._as(value);
76000 t1 = $async$self.$this;
76001 $async$goto = 3;
76002 return A._asyncAwait(value.accept$1(t1), $async$call$1);
76003 case 3:
76004 // returning from await.
76005 result = $async$result;
76006 if ($async$self.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
76007 t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
76008 t3 = $.$get$namesByColor0();
76009 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));
76010 }
76011 $async$returnValue = t1._async_evaluate0$_serialize$3$quote(result, value, false);
76012 // goto return
76013 $async$goto = 1;
76014 break;
76015 case 1:
76016 // return
76017 return A._asyncReturn($async$returnValue, $async$completer);
76018 }
76019 });
76020 return A._asyncStartSync($async$call$1, $async$completer);
76021 },
76022 $signature: 83
76023 };
76024 A._EvaluateVisitor__serialize_closure2.prototype = {
76025 call$0() {
76026 return A.serializeValue0(this.value, false, this.quote);
76027 },
76028 $signature: 30
76029 };
76030 A._EvaluateVisitor__expressionNode_closure2.prototype = {
76031 call$0() {
76032 var t1 = this.expression;
76033 return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
76034 },
76035 $signature: 190
76036 };
76037 A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
76038 call$1(number) {
76039 var asSlash = number.asSlash;
76040 if (asSlash != null)
76041 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
76042 else
76043 return A.serializeValue0(number, true, true);
76044 },
76045 $signature: 191
76046 };
76047 A._EvaluateVisitor__stackFrame_closure2.prototype = {
76048 call$1(url) {
76049 var t1 = this.$this._async_evaluate0$_importCache;
76050 t1 = t1 == null ? null : t1.humanize$1(url);
76051 return t1 == null ? url : t1;
76052 },
76053 $signature: 84
76054 };
76055 A._EvaluateVisitor__stackTrace_closure2.prototype = {
76056 call$1(tuple) {
76057 return this.$this._async_evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
76058 },
76059 $signature: 192
76060 };
76061 A._ImportedCssVisitor2.prototype = {
76062 visitCssAtRule$1(node) {
76063 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
76064 this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
76065 },
76066 visitCssComment$1(node) {
76067 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
76068 },
76069 visitCssDeclaration$1(node) {
76070 },
76071 visitCssImport$1(node) {
76072 var t2,
76073 _s13_ = "_endOfImports",
76074 t1 = this._async_evaluate0$_visitor;
76075 if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
76076 t1._async_evaluate0$_addChild$1(node);
76077 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)) {
76078 t1._async_evaluate0$_addChild$1(node);
76079 t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
76080 } else {
76081 t2 = t1._async_evaluate0$_outOfOrderImports;
76082 (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
76083 }
76084 },
76085 visitCssKeyframeBlock$1(node) {
76086 },
76087 visitCssMediaRule$1(node) {
76088 var t1 = this._async_evaluate0$_visitor,
76089 mediaQueries = t1._async_evaluate0$_mediaQueries;
76090 t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
76091 },
76092 visitCssStyleRule$1(node) {
76093 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
76094 },
76095 visitCssStylesheet$1(node) {
76096 var t1, t2;
76097 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
76098 t2._as(t1.__internal$_current).accept$1(this);
76099 },
76100 visitCssSupportsRule$1(node) {
76101 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
76102 }
76103 };
76104 A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
76105 call$1(node) {
76106 return type$.CssStyleRule_2._is(node);
76107 },
76108 $signature: 7
76109 };
76110 A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
76111 call$1(node) {
76112 var t1;
76113 if (!type$.CssStyleRule_2._is(node))
76114 t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
76115 else
76116 t1 = true;
76117 return t1;
76118 },
76119 $signature: 7
76120 };
76121 A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
76122 call$1(node) {
76123 return type$.CssStyleRule_2._is(node);
76124 },
76125 $signature: 7
76126 };
76127 A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
76128 call$1(node) {
76129 return type$.CssStyleRule_2._is(node);
76130 },
76131 $signature: 7
76132 };
76133 A.EvaluateResult0.prototype = {};
76134 A._EvaluationContext2.prototype = {
76135 get$currentCallableSpan() {
76136 var callableNode = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
76137 if (callableNode != null)
76138 return callableNode.get$span(callableNode);
76139 throw A.wrapException(A.StateError$(string$.No_Sasc));
76140 },
76141 warn$2$deprecation(_, message, deprecation) {
76142 var t1 = this._async_evaluate0$_visitor,
76143 t2 = t1._async_evaluate0$_importSpan;
76144 if (t2 == null) {
76145 t2 = t1._async_evaluate0$_callableNode;
76146 t2 = t2 == null ? null : t2.get$span(t2);
76147 }
76148 t1._async_evaluate0$_warn$3$deprecation(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
76149 },
76150 $isEvaluationContext0: 1
76151 };
76152 A._ArgumentResults2.prototype = {};
76153 A._LoadedStylesheet2.prototype = {};
76154 A.NodeToDartAsyncFileImporter.prototype = {
76155 canonicalize$1(_, url) {
76156 return this.canonicalize$body$NodeToDartAsyncFileImporter(0, url);
76157 },
76158 canonicalize$body$NodeToDartAsyncFileImporter(_, url) {
76159 var $async$goto = 0,
76160 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
76161 $async$returnValue, $async$self = this, result, t1, resultUrl;
76162 var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
76163 if ($async$errorCode === 1)
76164 return A._asyncRethrow($async$result, $async$completer);
76165 while (true)
76166 switch ($async$goto) {
76167 case 0:
76168 // Function start
76169 if (url.get$scheme() === "file") {
76170 $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, url);
76171 // goto return
76172 $async$goto = 1;
76173 break;
76174 }
76175 result = $async$self._findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
76176 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
76177 break;
76178 case 3:
76179 // then
76180 $async$goto = 5;
76181 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
76182 case 5:
76183 // returning from await.
76184 result = $async$result;
76185 case 4:
76186 // join
76187 if (result == null) {
76188 $async$returnValue = null;
76189 // goto return
76190 $async$goto = 1;
76191 break;
76192 }
76193 t1 = self.URL;
76194 if (!(result instanceof t1))
76195 A.jsThrow(new self.Error(string$.The_fie));
76196 resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
76197 if (resultUrl.get$scheme() !== "file")
76198 A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
76199 $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, resultUrl);
76200 // goto return
76201 $async$goto = 1;
76202 break;
76203 case 1:
76204 // return
76205 return A._asyncReturn($async$returnValue, $async$completer);
76206 }
76207 });
76208 return A._asyncStartSync($async$canonicalize$1, $async$completer);
76209 },
76210 load$1(_, url) {
76211 return $.$get$_filesystemImporter().load$1(0, url);
76212 }
76213 };
76214 A.AsyncImportCache0.prototype = {
76215 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
76216 return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
76217 },
76218 canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
76219 var $async$goto = 0,
76220 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
76221 $async$returnValue, $async$self = this, t1, relativeResult;
76222 var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
76223 if ($async$errorCode === 1)
76224 return A._asyncRethrow($async$result, $async$completer);
76225 while (true)
76226 switch ($async$goto) {
76227 case 0:
76228 // Function start
76229 $async$goto = baseImporter != null ? 3 : 4;
76230 break;
76231 case 3:
76232 // then
76233 t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2;
76234 $async$goto = 5;
76235 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);
76236 case 5:
76237 // returning from await.
76238 relativeResult = $async$result;
76239 if (relativeResult != null) {
76240 $async$returnValue = relativeResult;
76241 // goto return
76242 $async$goto = 1;
76243 break;
76244 }
76245 case 4:
76246 // join
76247 t1 = type$.Tuple2_Uri_bool;
76248 $async$goto = 6;
76249 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);
76250 case 6:
76251 // returning from await.
76252 $async$returnValue = $async$result;
76253 // goto return
76254 $async$goto = 1;
76255 break;
76256 case 1:
76257 // return
76258 return A._asyncReturn($async$returnValue, $async$completer);
76259 }
76260 });
76261 return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
76262 },
76263 _async_import_cache0$_canonicalize$3(importer, url, forImport) {
76264 return this._canonicalize$body$AsyncImportCache0(importer, url, forImport);
76265 },
76266 _canonicalize$body$AsyncImportCache0(importer, url, forImport) {
76267 var $async$goto = 0,
76268 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
76269 $async$returnValue, $async$self = this, t1, result;
76270 var $async$_async_import_cache0$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
76271 if ($async$errorCode === 1)
76272 return A._asyncRethrow($async$result, $async$completer);
76273 while (true)
76274 switch ($async$goto) {
76275 case 0:
76276 // Function start
76277 if (forImport) {
76278 t1 = type$.nullable_Object;
76279 t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
76280 } else
76281 t1 = importer.canonicalize$1(0, url);
76282 $async$goto = 3;
76283 return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$3);
76284 case 3:
76285 // returning from await.
76286 result = $async$result;
76287 if ((result == null ? null : result.get$scheme()) === "")
76288 $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);
76289 $async$returnValue = result;
76290 // goto return
76291 $async$goto = 1;
76292 break;
76293 case 1:
76294 // return
76295 return A._asyncReturn($async$returnValue, $async$completer);
76296 }
76297 });
76298 return A._asyncStartSync($async$_async_import_cache0$_canonicalize$3, $async$completer);
76299 },
76300 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
76301 return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet);
76302 },
76303 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
76304 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
76305 },
76306 importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet) {
76307 var $async$goto = 0,
76308 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
76309 $async$returnValue, $async$self = this;
76310 var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
76311 if ($async$errorCode === 1)
76312 return A._asyncRethrow($async$result, $async$completer);
76313 while (true)
76314 switch ($async$goto) {
76315 case 0:
76316 // Function start
76317 $async$goto = 3;
76318 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);
76319 case 3:
76320 // returning from await.
76321 $async$returnValue = $async$result;
76322 // goto return
76323 $async$goto = 1;
76324 break;
76325 case 1:
76326 // return
76327 return A._asyncReturn($async$returnValue, $async$completer);
76328 }
76329 });
76330 return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
76331 },
76332 humanize$1(canonicalUrl) {
76333 var t2, url,
76334 t1 = this._async_import_cache0$_canonicalizeCache;
76335 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri_2);
76336 t2 = t1.$ti;
76337 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());
76338 if (url == null)
76339 return canonicalUrl;
76340 t1 = $.$get$url();
76341 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
76342 },
76343 sourceMapUrl$1(_, canonicalUrl) {
76344 var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
76345 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
76346 return t1 == null ? canonicalUrl : t1;
76347 }
76348 };
76349 A.AsyncImportCache_canonicalize_closure1.prototype = {
76350 call$0() {
76351 var $async$goto = 0,
76352 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
76353 $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
76354 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
76355 if ($async$errorCode === 1)
76356 return A._asyncRethrow($async$result, $async$completer);
76357 while (true)
76358 switch ($async$goto) {
76359 case 0:
76360 // Function start
76361 t1 = $async$self.baseUrl;
76362 resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
76363 if (resolvedUrl == null)
76364 resolvedUrl = $async$self.url;
76365 t1 = $async$self.baseImporter;
76366 $async$goto = 3;
76367 return A._asyncAwait($async$self.$this._async_import_cache0$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
76368 case 3:
76369 // returning from await.
76370 canonicalUrl = $async$result;
76371 if (canonicalUrl == null) {
76372 $async$returnValue = null;
76373 // goto return
76374 $async$goto = 1;
76375 break;
76376 }
76377 $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri_2);
76378 // goto return
76379 $async$goto = 1;
76380 break;
76381 case 1:
76382 // return
76383 return A._asyncReturn($async$returnValue, $async$completer);
76384 }
76385 });
76386 return A._asyncStartSync($async$call$0, $async$completer);
76387 },
76388 $signature: 193
76389 };
76390 A.AsyncImportCache_canonicalize_closure2.prototype = {
76391 call$0() {
76392 var $async$goto = 0,
76393 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
76394 $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
76395 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
76396 if ($async$errorCode === 1)
76397 return A._asyncRethrow($async$result, $async$completer);
76398 while (true)
76399 switch ($async$goto) {
76400 case 0:
76401 // Function start
76402 t1 = $async$self.$this, t2 = t1._async_import_cache0$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
76403 case 3:
76404 // for condition
76405 if (!(_i < t2.length)) {
76406 // goto after for
76407 $async$goto = 5;
76408 break;
76409 }
76410 importer = t2[_i];
76411 $async$goto = 6;
76412 return A._asyncAwait(t1._async_import_cache0$_canonicalize$3(importer, t4, t5), $async$call$0);
76413 case 6:
76414 // returning from await.
76415 canonicalUrl = $async$result;
76416 if (canonicalUrl != null) {
76417 $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri_2);
76418 // goto return
76419 $async$goto = 1;
76420 break;
76421 }
76422 case 4:
76423 // for update
76424 t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
76425 // goto for condition
76426 $async$goto = 3;
76427 break;
76428 case 5:
76429 // after for
76430 $async$returnValue = null;
76431 // goto return
76432 $async$goto = 1;
76433 break;
76434 case 1:
76435 // return
76436 return A._asyncReturn($async$returnValue, $async$completer);
76437 }
76438 });
76439 return A._asyncStartSync($async$call$0, $async$completer);
76440 },
76441 $signature: 193
76442 };
76443 A.AsyncImportCache__canonicalize_closure0.prototype = {
76444 call$0() {
76445 return this.importer.canonicalize$1(0, this.url);
76446 },
76447 $signature: 204
76448 };
76449 A.AsyncImportCache_importCanonical_closure0.prototype = {
76450 call$0() {
76451 var $async$goto = 0,
76452 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
76453 $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
76454 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
76455 if ($async$errorCode === 1)
76456 return A._asyncRethrow($async$result, $async$completer);
76457 while (true)
76458 switch ($async$goto) {
76459 case 0:
76460 // Function start
76461 t1 = $async$self.canonicalUrl;
76462 $async$goto = 3;
76463 return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
76464 case 3:
76465 // returning from await.
76466 result = $async$result;
76467 if (result == null) {
76468 $async$returnValue = null;
76469 // goto return
76470 $async$goto = 1;
76471 break;
76472 }
76473 t2 = $async$self.$this;
76474 t2._async_import_cache0$_resultsCache.$indexSet(0, t1, result);
76475 t3 = result.contents;
76476 t4 = result.syntax;
76477 t1 = $async$self.originalUrl.resolveUri$1(t1);
76478 $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t4, $async$self.quiet ? $.$get$Logger_quiet0() : t2._async_import_cache0$_logger, t1);
76479 // goto return
76480 $async$goto = 1;
76481 break;
76482 case 1:
76483 // return
76484 return A._asyncReturn($async$returnValue, $async$completer);
76485 }
76486 });
76487 return A._asyncStartSync($async$call$0, $async$completer);
76488 },
76489 $signature: 360
76490 };
76491 A.AsyncImportCache_humanize_closure2.prototype = {
76492 call$1(tuple) {
76493 return tuple.item2.$eq(0, this.canonicalUrl);
76494 },
76495 $signature: 361
76496 };
76497 A.AsyncImportCache_humanize_closure3.prototype = {
76498 call$1(tuple) {
76499 return tuple.item3;
76500 },
76501 $signature: 362
76502 };
76503 A.AsyncImportCache_humanize_closure4.prototype = {
76504 call$1(url) {
76505 return url.get$path(url).length;
76506 },
76507 $signature: 80
76508 };
76509 A.AtRootQueryParser0.prototype = {
76510 parse$0() {
76511 return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
76512 }
76513 };
76514 A.AtRootQueryParser_parse_closure0.prototype = {
76515 call$0() {
76516 var include, atRules,
76517 t1 = this.$this,
76518 t2 = t1.scanner;
76519 t2.expectChar$1(40);
76520 t1.whitespace$0();
76521 include = t1.scanIdentifier$1("with");
76522 if (!include)
76523 t1.expectIdentifier$2$name("without", '"with" or "without"');
76524 t1.whitespace$0();
76525 t2.expectChar$1(58);
76526 t1.whitespace$0();
76527 atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
76528 do {
76529 atRules.add$1(0, t1.identifier$0().toLowerCase());
76530 t1.whitespace$0();
76531 } while (t1.lookingAtIdentifier$0());
76532 t2.expectChar$1(41);
76533 t2.expectDone$0();
76534 return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
76535 },
76536 $signature: 135
76537 };
76538 A.AtRootQuery0.prototype = {
76539 excludes$1(node) {
76540 var t1, _this = this;
76541 if (_this._at_root_query0$_all)
76542 return !_this.include;
76543 if (type$.CssStyleRule_2._is(node))
76544 return _this._at_root_query0$_rule !== _this.include;
76545 if (type$.CssMediaRule_2._is(node))
76546 return _this.excludesName$1("media");
76547 if (type$.CssSupportsRule_2._is(node))
76548 return _this.excludesName$1("supports");
76549 if (type$.CssAtRule_2._is(node)) {
76550 t1 = node.name;
76551 return _this.excludesName$1(t1.get$value(t1).toLowerCase());
76552 }
76553 return false;
76554 },
76555 excludesName$1($name) {
76556 var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
76557 return t1 !== this.include;
76558 }
76559 };
76560 A.AtRootRule0.prototype = {
76561 accept$1$1(visitor) {
76562 return visitor.visitAtRootRule$1(this);
76563 },
76564 accept$1(visitor) {
76565 return this.accept$1$1(visitor, type$.dynamic);
76566 },
76567 toString$0(_) {
76568 var buffer = new A.StringBuffer("@at-root "),
76569 t1 = this.query;
76570 if (t1 != null)
76571 buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
76572 t1 = this.children;
76573 return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
76574 },
76575 get$span(receiver) {
76576 return this.span;
76577 }
76578 };
76579 A.ModifiableCssAtRule0.prototype = {
76580 accept$1$1(visitor) {
76581 return visitor.visitCssAtRule$1(this);
76582 },
76583 accept$1(visitor) {
76584 return this.accept$1$1(visitor, type$.dynamic);
76585 },
76586 copyWithoutChildren$0() {
76587 var _this = this;
76588 return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
76589 },
76590 addChild$1(child) {
76591 this.super$ModifiableCssParentNode$addChild0(child);
76592 },
76593 $isCssAtRule0: 1,
76594 get$isChildless() {
76595 return this.isChildless;
76596 },
76597 get$span(receiver) {
76598 return this.span;
76599 }
76600 };
76601 A.AtRule0.prototype = {
76602 accept$1$1(visitor) {
76603 return visitor.visitAtRule$1(this);
76604 },
76605 accept$1(visitor) {
76606 return this.accept$1$1(visitor, type$.dynamic);
76607 },
76608 toString$0(_) {
76609 var children,
76610 t1 = "@" + this.name.toString$0(0),
76611 buffer = new A.StringBuffer(t1),
76612 t2 = this.value;
76613 if (t2 != null)
76614 buffer._contents = t1 + (" " + t2.toString$0(0));
76615 children = this.children;
76616 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
76617 },
76618 get$span(receiver) {
76619 return this.span;
76620 }
76621 };
76622 A.AttributeSelector0.prototype = {
76623 accept$1$1(visitor) {
76624 var value, t2, _this = this,
76625 t1 = visitor._serialize0$_buffer;
76626 t1.writeCharCode$1(91);
76627 t1.write$1(0, _this.name);
76628 value = _this.value;
76629 if (value != null) {
76630 t1.write$1(0, _this.op);
76631 if (A.Parser_isIdentifier0(value) && !B.JSString_methods.startsWith$1(value, "--")) {
76632 t1.write$1(0, value);
76633 t2 = _this.modifier;
76634 if (t2 != null)
76635 t1.writeCharCode$1(32);
76636 } else {
76637 visitor._serialize0$_visitQuotedString$1(value);
76638 t2 = _this.modifier;
76639 if (t2 != null)
76640 if (visitor._serialize0$_style !== B.OutputStyle_compressed0)
76641 t1.writeCharCode$1(32);
76642 }
76643 if (t2 != null)
76644 t1.write$1(0, t2);
76645 }
76646 t1.writeCharCode$1(93);
76647 return null;
76648 },
76649 accept$1(visitor) {
76650 return this.accept$1$1(visitor, type$.dynamic);
76651 },
76652 $eq(_, other) {
76653 var _this = this;
76654 if (other == null)
76655 return false;
76656 return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
76657 },
76658 get$hashCode(_) {
76659 var _this = this,
76660 t1 = _this.name;
76661 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;
76662 }
76663 };
76664 A.AttributeOperator0.prototype = {
76665 toString$0(_) {
76666 return this._attribute0$_text;
76667 }
76668 };
76669 A.BinaryOperationExpression0.prototype = {
76670 get$span(_) {
76671 var right,
76672 left = this.left;
76673 for (; left instanceof A.BinaryOperationExpression0;)
76674 left = left.left;
76675 right = this.right;
76676 for (; right instanceof A.BinaryOperationExpression0;)
76677 right = right.right;
76678 return left.get$span(left).expand$1(0, right.get$span(right));
76679 },
76680 accept$1$1(visitor) {
76681 return visitor.visitBinaryOperationExpression$1(this);
76682 },
76683 accept$1(visitor) {
76684 return this.accept$1$1(visitor, type$.dynamic);
76685 },
76686 toString$0(_) {
76687 var t2, right, rightNeedsParens, _this = this,
76688 left = _this.left,
76689 leftNeedsParens = left instanceof A.BinaryOperationExpression0 && left.operator.precedence < _this.operator.precedence,
76690 t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
76691 t1 += left.toString$0(0);
76692 if (leftNeedsParens)
76693 t1 += A.Primitives_stringFromCharCode(41);
76694 t2 = _this.operator;
76695 t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
76696 right = _this.right;
76697 rightNeedsParens = right instanceof A.BinaryOperationExpression0 && right.operator.precedence <= t2.precedence;
76698 if (rightNeedsParens)
76699 t1 += A.Primitives_stringFromCharCode(40);
76700 t1 += right.toString$0(0);
76701 if (rightNeedsParens)
76702 t1 += A.Primitives_stringFromCharCode(41);
76703 return t1.charCodeAt(0) == 0 ? t1 : t1;
76704 },
76705 $isExpression0: 1,
76706 $isAstNode0: 1
76707 };
76708 A.BinaryOperator0.prototype = {
76709 toString$0(_) {
76710 return this.name;
76711 }
76712 };
76713 A.BooleanExpression0.prototype = {
76714 accept$1$1(visitor) {
76715 return visitor.visitBooleanExpression$1(this);
76716 },
76717 accept$1(visitor) {
76718 return this.accept$1$1(visitor, type$.dynamic);
76719 },
76720 toString$0(_) {
76721 return String(this.value);
76722 },
76723 $isExpression0: 1,
76724 $isAstNode0: 1,
76725 get$span(receiver) {
76726 return this.span;
76727 }
76728 };
76729 A.legacyBooleanClass_closure.prototype = {
76730 call$0() {
76731 var t1 = type$.JSClass,
76732 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
76733 J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
76734 jsClass.TRUE = B.SassBoolean_true0;
76735 jsClass.FALSE = B.SassBoolean_false0;
76736 A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
76737 return jsClass;
76738 },
76739 $signature: 25
76740 };
76741 A.legacyBooleanClass__closure.prototype = {
76742 call$2(_, __) {
76743 throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
76744 },
76745 call$1(_) {
76746 return this.call$2(_, null);
76747 },
76748 "call*": "call$2",
76749 $requiredArgCount: 1,
76750 $defaultValues() {
76751 return [null];
76752 },
76753 $signature: 194
76754 };
76755 A.legacyBooleanClass__closure0.prototype = {
76756 call$1($self) {
76757 return $self === B.SassBoolean_true0;
76758 },
76759 $signature: 105
76760 };
76761 A.booleanClass_closure.prototype = {
76762 call$0() {
76763 var t1 = type$.JSClass,
76764 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
76765 A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
76766 return jsClass;
76767 },
76768 $signature: 25
76769 };
76770 A.booleanClass__closure.prototype = {
76771 call$2($self, _) {
76772 A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
76773 },
76774 call$1($self) {
76775 return this.call$2($self, null);
76776 },
76777 "call*": "call$2",
76778 $requiredArgCount: 1,
76779 $defaultValues() {
76780 return [null];
76781 },
76782 $signature: 364
76783 };
76784 A.SassBoolean0.prototype = {
76785 get$isTruthy() {
76786 return this.value;
76787 },
76788 accept$1$1(visitor) {
76789 return visitor._serialize0$_buffer.write$1(0, String(this.value));
76790 },
76791 accept$1(visitor) {
76792 return this.accept$1$1(visitor, type$.dynamic);
76793 },
76794 assertBoolean$1($name) {
76795 return this;
76796 },
76797 unaryNot$0() {
76798 return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
76799 }
76800 };
76801 A.BuiltInCallable0.prototype = {
76802 callbackFor$2(positional, names) {
76803 var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
76804 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) {
76805 overload = t1[_i];
76806 t3 = overload.item1;
76807 if (t3.matches$2(positional, names))
76808 return overload;
76809 mismatchDistance = t3.$arguments.length - positional;
76810 if (minMismatchDistance != null) {
76811 t3 = Math.abs(mismatchDistance);
76812 t4 = Math.abs(minMismatchDistance);
76813 if (t3 > t4)
76814 continue;
76815 if (t3 === t4 && mismatchDistance < 0)
76816 continue;
76817 }
76818 minMismatchDistance = mismatchDistance;
76819 fuzzyMatch = overload;
76820 }
76821 if (fuzzyMatch != null)
76822 return fuzzyMatch;
76823 throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
76824 },
76825 withName$1($name) {
76826 return new A.BuiltInCallable0($name, this._built_in$_overloads);
76827 },
76828 $isAsyncCallable0: 1,
76829 $isAsyncBuiltInCallable0: 1,
76830 $isCallable0: 1,
76831 get$name(receiver) {
76832 return this.name;
76833 }
76834 };
76835 A.BuiltInCallable$mixin_closure0.prototype = {
76836 call$1($arguments) {
76837 this.callback.call$1($arguments);
76838 return B.C__SassNull0;
76839 },
76840 $signature: 3
76841 };
76842 A.BuiltInModule0.prototype = {
76843 get$upstream() {
76844 return B.List_empty13;
76845 },
76846 get$variableNodes() {
76847 return B.Map_empty7;
76848 },
76849 get$extensionStore() {
76850 return B.C_EmptyExtensionStore0;
76851 },
76852 get$css(_) {
76853 return new A.CssStylesheet0(B.List_empty11, A.SourceFile$decoded(B.List_empty1, this.url).span$2(0, 0, 0));
76854 },
76855 get$transitivelyContainsCss() {
76856 return false;
76857 },
76858 get$transitivelyContainsExtensions() {
76859 return false;
76860 },
76861 setVariable$3($name, value, nodeWithSpan) {
76862 if (!this.variables.containsKey$1($name))
76863 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
76864 throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable."));
76865 },
76866 variableIdentity$1($name) {
76867 return this;
76868 },
76869 cloneCss$0() {
76870 return this;
76871 },
76872 $isModule0: 1,
76873 get$url(receiver) {
76874 return this.url;
76875 },
76876 get$functions(receiver) {
76877 return this.functions;
76878 },
76879 get$mixins() {
76880 return this.mixins;
76881 },
76882 get$variables() {
76883 return this.variables;
76884 }
76885 };
76886 A.CalculationExpression0.prototype = {
76887 accept$1$1(visitor) {
76888 return visitor.visitCalculationExpression$1(this);
76889 },
76890 accept$1(visitor) {
76891 return this.accept$1$1(visitor, type$.dynamic);
76892 },
76893 toString$0(_) {
76894 return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
76895 },
76896 $isExpression0: 1,
76897 $isAstNode0: 1,
76898 get$span(receiver) {
76899 return this.span;
76900 }
76901 };
76902 A.CalculationExpression__verifyArguments_closure0.prototype = {
76903 call$1(arg) {
76904 A.CalculationExpression__verify0(arg);
76905 return arg;
76906 },
76907 $signature: 366
76908 };
76909 A.SassCalculation0.prototype = {
76910 get$isSpecialNumber() {
76911 return true;
76912 },
76913 accept$1$1(visitor) {
76914 var t2,
76915 t1 = visitor._serialize0$_buffer;
76916 t1.write$1(0, this.name);
76917 t1.writeCharCode$1(40);
76918 t2 = visitor._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ";
76919 visitor._serialize0$_writeBetween$3(this.$arguments, t2, visitor.get$_serialize0$_writeCalculationValue());
76920 t1.writeCharCode$1(41);
76921 return null;
76922 },
76923 accept$1(visitor) {
76924 return this.accept$1$1(visitor, type$.dynamic);
76925 },
76926 assertCalculation$1($name) {
76927 return this;
76928 },
76929 plus$1(other) {
76930 if (other instanceof A.SassString0)
76931 return this.super$Value$plus0(other);
76932 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
76933 },
76934 minus$1(other) {
76935 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
76936 },
76937 unaryPlus$0() {
76938 return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".'));
76939 },
76940 unaryMinus$0() {
76941 return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".'));
76942 },
76943 $eq(_, other) {
76944 if (other == null)
76945 return false;
76946 return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
76947 },
76948 get$hashCode(_) {
76949 return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
76950 }
76951 };
76952 A.SassCalculation__verifyLength_closure0.prototype = {
76953 call$1(arg) {
76954 return arg instanceof A.SassString0 || arg instanceof A.CalculationInterpolation0;
76955 },
76956 $signature: 105
76957 };
76958 A.CalculationOperation0.prototype = {
76959 $eq(_, other) {
76960 if (other == null)
76961 return false;
76962 return other instanceof A.CalculationOperation0 && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
76963 },
76964 get$hashCode(_) {
76965 return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
76966 },
76967 toString$0(_) {
76968 var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
76969 return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
76970 }
76971 };
76972 A.CalculationOperator0.prototype = {
76973 toString$0(_) {
76974 return this.name;
76975 }
76976 };
76977 A.CalculationInterpolation0.prototype = {
76978 $eq(_, other) {
76979 if (other == null)
76980 return false;
76981 return other instanceof A.CalculationInterpolation0 && this.value === other.value;
76982 },
76983 get$hashCode(_) {
76984 return B.JSString_methods.get$hashCode(this.value);
76985 },
76986 toString$0(_) {
76987 return this.value;
76988 }
76989 };
76990 A.CallableDeclaration0.prototype = {
76991 get$span(receiver) {
76992 return this.span;
76993 }
76994 };
76995 A.Chokidar0.prototype = {};
76996 A.ChokidarOptions0.prototype = {};
76997 A.ChokidarWatcher0.prototype = {};
76998 A.ClassSelector0.prototype = {
76999 $eq(_, other) {
77000 if (other == null)
77001 return false;
77002 return other instanceof A.ClassSelector0 && other.name === this.name;
77003 },
77004 accept$1$1(visitor) {
77005 var t1 = visitor._serialize0$_buffer;
77006 t1.writeCharCode$1(46);
77007 t1.write$1(0, this.name);
77008 return null;
77009 },
77010 accept$1(visitor) {
77011 return this.accept$1$1(visitor, type$.dynamic);
77012 },
77013 addSuffix$1(suffix) {
77014 return new A.ClassSelector0(this.name + suffix);
77015 },
77016 get$hashCode(_) {
77017 return B.JSString_methods.get$hashCode(this.name);
77018 }
77019 };
77020 A._CloneCssVisitor0.prototype = {
77021 visitCssAtRule$1(node) {
77022 var t1 = node.isChildless,
77023 rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
77024 return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
77025 },
77026 visitCssComment$1(node) {
77027 return new A.ModifiableCssComment0(node.text, node.span);
77028 },
77029 visitCssDeclaration$1(node) {
77030 return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
77031 },
77032 visitCssImport$1(node) {
77033 return A.ModifiableCssImport$0(node.url, node.span, node.media, node.supports);
77034 },
77035 visitCssKeyframeBlock$1(node) {
77036 return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
77037 },
77038 visitCssMediaRule$1(node) {
77039 return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
77040 },
77041 visitCssStyleRule$1(node) {
77042 var newSelector = this._clone_css$_oldToNewSelectors.$index(0, node.selector);
77043 if (newSelector == null)
77044 throw A.wrapException(A.StateError$(string$.The_Ex));
77045 return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(newSelector, node.span, node.originalSelector), node);
77046 },
77047 visitCssStylesheet$1(node) {
77048 return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
77049 },
77050 visitCssSupportsRule$1(node) {
77051 return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
77052 },
77053 _clone_css$_visitChildren$1$2(newParent, oldParent) {
77054 var t1, t2, newChild;
77055 for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
77056 t2 = t1.get$current(t1);
77057 newChild = t2.accept$1(this);
77058 newChild.isGroupEnd = t2.get$isGroupEnd();
77059 newParent.addChild$1(newChild);
77060 }
77061 return newParent;
77062 },
77063 _clone_css$_visitChildren$2(newParent, oldParent) {
77064 return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
77065 }
77066 };
77067 A.ColorExpression0.prototype = {
77068 accept$1$1(visitor) {
77069 return visitor.visitColorExpression$1(this);
77070 },
77071 accept$1(visitor) {
77072 return this.accept$1$1(visitor, type$.dynamic);
77073 },
77074 toString$0(_) {
77075 return A.serializeValue0(this.value, true, true);
77076 },
77077 $isExpression0: 1,
77078 $isAstNode0: 1,
77079 get$span(receiver) {
77080 return this.span;
77081 }
77082 };
77083 A.global_closure30.prototype = {
77084 call$1($arguments) {
77085 return A._rgb0("rgb", $arguments);
77086 },
77087 $signature: 3
77088 };
77089 A.global_closure31.prototype = {
77090 call$1($arguments) {
77091 return A._rgb0("rgb", $arguments);
77092 },
77093 $signature: 3
77094 };
77095 A.global_closure32.prototype = {
77096 call$1($arguments) {
77097 return A._rgbTwoArg0("rgb", $arguments);
77098 },
77099 $signature: 3
77100 };
77101 A.global_closure33.prototype = {
77102 call$1($arguments) {
77103 var parsed = A._parseChannels0("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
77104 return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgb", type$.List_Value_2._as(parsed));
77105 },
77106 $signature: 3
77107 };
77108 A.global_closure34.prototype = {
77109 call$1($arguments) {
77110 return A._rgb0("rgba", $arguments);
77111 },
77112 $signature: 3
77113 };
77114 A.global_closure35.prototype = {
77115 call$1($arguments) {
77116 return A._rgb0("rgba", $arguments);
77117 },
77118 $signature: 3
77119 };
77120 A.global_closure36.prototype = {
77121 call$1($arguments) {
77122 return A._rgbTwoArg0("rgba", $arguments);
77123 },
77124 $signature: 3
77125 };
77126 A.global_closure37.prototype = {
77127 call$1($arguments) {
77128 var parsed = A._parseChannels0("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
77129 return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgba", type$.List_Value_2._as(parsed));
77130 },
77131 $signature: 3
77132 };
77133 A.global_closure38.prototype = {
77134 call$1($arguments) {
77135 var color, t2,
77136 t1 = J.getInterceptor$asx($arguments),
77137 weight = t1.$index($arguments, 1).assertNumber$1("weight");
77138 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
77139 if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
77140 throw A.wrapException(string$.Only_oa);
77141 return A._functionString0("invert", t1.take$1($arguments, 1));
77142 }
77143 color = t1.$index($arguments, 0).assertColor$1("color");
77144 t1 = color.get$red(color);
77145 t2 = color.get$green(color);
77146 return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
77147 },
77148 $signature: 3
77149 };
77150 A.global_closure39.prototype = {
77151 call$1($arguments) {
77152 return A._hsl0("hsl", $arguments);
77153 },
77154 $signature: 3
77155 };
77156 A.global_closure40.prototype = {
77157 call$1($arguments) {
77158 return A._hsl0("hsl", $arguments);
77159 },
77160 $signature: 3
77161 };
77162 A.global_closure41.prototype = {
77163 call$1($arguments) {
77164 var t1 = J.getInterceptor$asx($arguments);
77165 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
77166 return A._functionString0("hsl", $arguments);
77167 else
77168 throw A.wrapException(A.SassScriptException$0("Missing argument $lightness."));
77169 },
77170 $signature: 13
77171 };
77172 A.global_closure42.prototype = {
77173 call$1($arguments) {
77174 var parsed = A._parseChannels0("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
77175 return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsl", type$.List_Value_2._as(parsed));
77176 },
77177 $signature: 3
77178 };
77179 A.global_closure43.prototype = {
77180 call$1($arguments) {
77181 return A._hsl0("hsla", $arguments);
77182 },
77183 $signature: 3
77184 };
77185 A.global_closure44.prototype = {
77186 call$1($arguments) {
77187 return A._hsl0("hsla", $arguments);
77188 },
77189 $signature: 3
77190 };
77191 A.global_closure45.prototype = {
77192 call$1($arguments) {
77193 var t1 = J.getInterceptor$asx($arguments);
77194 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
77195 return A._functionString0("hsla", $arguments);
77196 else
77197 throw A.wrapException(A.SassScriptException$0("Missing argument $lightness."));
77198 },
77199 $signature: 13
77200 };
77201 A.global_closure46.prototype = {
77202 call$1($arguments) {
77203 var parsed = A._parseChannels0("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
77204 return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsla", type$.List_Value_2._as(parsed));
77205 },
77206 $signature: 3
77207 };
77208 A.global_closure47.prototype = {
77209 call$1($arguments) {
77210 var t1 = J.getInterceptor$asx($arguments);
77211 if (t1.$index($arguments, 0) instanceof A.SassNumber0)
77212 return A._functionString0("grayscale", $arguments);
77213 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
77214 },
77215 $signature: 3
77216 };
77217 A.global_closure48.prototype = {
77218 call$1($arguments) {
77219 var t1 = J.getInterceptor$asx($arguments),
77220 color = t1.$index($arguments, 0).assertColor$1("color"),
77221 degrees = t1.$index($arguments, 1).assertNumber$1("degrees");
77222 A._checkAngle0(degrees, null);
77223 return color.changeHsl$1$hue(color.get$hue(color) + degrees._number1$_value);
77224 },
77225 $signature: 24
77226 };
77227 A.global_closure49.prototype = {
77228 call$1($arguments) {
77229 var t1 = J.getInterceptor$asx($arguments),
77230 color = t1.$index($arguments, 0).assertColor$1("color"),
77231 amount = t1.$index($arguments, 1).assertNumber$1("amount");
77232 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
77233 },
77234 $signature: 24
77235 };
77236 A.global_closure50.prototype = {
77237 call$1($arguments) {
77238 var t1 = J.getInterceptor$asx($arguments),
77239 color = t1.$index($arguments, 0).assertColor$1("color"),
77240 amount = t1.$index($arguments, 1).assertNumber$1("amount");
77241 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
77242 },
77243 $signature: 24
77244 };
77245 A.global_closure51.prototype = {
77246 call$1($arguments) {
77247 return new A.SassString0("saturate(" + A.serializeValue0(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
77248 },
77249 $signature: 13
77250 };
77251 A.global_closure52.prototype = {
77252 call$1($arguments) {
77253 var t1 = J.getInterceptor$asx($arguments),
77254 color = t1.$index($arguments, 0).assertColor$1("color"),
77255 amount = t1.$index($arguments, 1).assertNumber$1("amount");
77256 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
77257 },
77258 $signature: 24
77259 };
77260 A.global_closure53.prototype = {
77261 call$1($arguments) {
77262 var t1 = J.getInterceptor$asx($arguments),
77263 color = t1.$index($arguments, 0).assertColor$1("color"),
77264 amount = t1.$index($arguments, 1).assertNumber$1("amount");
77265 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
77266 },
77267 $signature: 24
77268 };
77269 A.global_closure54.prototype = {
77270 call$1($arguments) {
77271 var color,
77272 argument = J.$index$asx($arguments, 0);
77273 if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0()))
77274 return A._functionString0("alpha", $arguments);
77275 color = argument.assertColor$1("color");
77276 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
77277 },
77278 $signature: 3
77279 };
77280 A.global_closure55.prototype = {
77281 call$1($arguments) {
77282 var t1,
77283 argList = J.$index$asx($arguments, 0).get$asList();
77284 if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
77285 return A._functionString0("alpha", $arguments);
77286 t1 = argList.length;
77287 if (t1 === 0)
77288 throw A.wrapException(A.SassScriptException$0("Missing argument $color."));
77289 else
77290 throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed."));
77291 },
77292 $signature: 13
77293 };
77294 A.global__closure0.prototype = {
77295 call$1(argument) {
77296 return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
77297 },
77298 $signature: 50
77299 };
77300 A.global_closure56.prototype = {
77301 call$1($arguments) {
77302 var color,
77303 t1 = J.getInterceptor$asx($arguments);
77304 if (t1.$index($arguments, 0) instanceof A.SassNumber0)
77305 return A._functionString0("opacity", $arguments);
77306 color = t1.$index($arguments, 0).assertColor$1("color");
77307 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
77308 },
77309 $signature: 3
77310 };
77311 A.module_closure8.prototype = {
77312 call$1($arguments) {
77313 var result, color, t2,
77314 t1 = J.getInterceptor$asx($arguments),
77315 weight = t1.$index($arguments, 1).assertNumber$1("weight");
77316 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
77317 if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
77318 throw A.wrapException(string$.Only_oa);
77319 result = A._functionString0("invert", t1.take$1($arguments, 1));
77320 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_ci + result.toString$0(0);
77321 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
77322 return result;
77323 }
77324 color = t1.$index($arguments, 0).assertColor$1("color");
77325 t1 = color.get$red(color);
77326 t2 = color.get$green(color);
77327 return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
77328 },
77329 $signature: 3
77330 };
77331 A.module_closure9.prototype = {
77332 call$1($arguments) {
77333 var result,
77334 t1 = J.getInterceptor$asx($arguments);
77335 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
77336 result = A._functionString0("grayscale", t1.take$1($arguments, 1));
77337 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_cg + result.toString$0(0);
77338 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
77339 return result;
77340 }
77341 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
77342 },
77343 $signature: 3
77344 };
77345 A.module_closure10.prototype = {
77346 call$1($arguments) {
77347 return A._hwb0($arguments);
77348 },
77349 $signature: 3
77350 };
77351 A.module_closure11.prototype = {
77352 call$1($arguments) {
77353 var parsed = A._parseChannels0("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
77354 if (parsed instanceof A.SassString0)
77355 throw A.wrapException(A.SassScriptException$0('Expected numeric channels, got "' + parsed.toString$0(0) + '".'));
77356 else
77357 return A._hwb0(type$.List_Value_2._as(parsed));
77358 },
77359 $signature: 3
77360 };
77361 A.module_closure12.prototype = {
77362 call$1($arguments) {
77363 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77364 t1 = t1.get$whiteness(t1);
77365 return new A.SingleUnitSassNumber0("%", t1, null);
77366 },
77367 $signature: 9
77368 };
77369 A.module_closure13.prototype = {
77370 call$1($arguments) {
77371 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77372 t1 = t1.get$blackness(t1);
77373 return new A.SingleUnitSassNumber0("%", t1, null);
77374 },
77375 $signature: 9
77376 };
77377 A.module_closure14.prototype = {
77378 call$1($arguments) {
77379 var result, t1, color,
77380 argument = J.$index$asx($arguments, 0);
77381 if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0())) {
77382 result = A._functionString0("alpha", $arguments);
77383 t1 = string$.Using_c + result.toString$0(0);
77384 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
77385 return result;
77386 }
77387 color = argument.assertColor$1("color");
77388 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
77389 },
77390 $signature: 3
77391 };
77392 A.module_closure15.prototype = {
77393 call$1($arguments) {
77394 var result,
77395 t1 = J.getInterceptor$asx($arguments);
77396 if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure0())) {
77397 result = A._functionString0("alpha", $arguments);
77398 t1 = string$.Using_c + result.toString$0(0);
77399 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
77400 return result;
77401 }
77402 throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed."));
77403 },
77404 $signature: 13
77405 };
77406 A.module__closure0.prototype = {
77407 call$1(argument) {
77408 return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
77409 },
77410 $signature: 50
77411 };
77412 A.module_closure16.prototype = {
77413 call$1($arguments) {
77414 var result, color,
77415 t1 = J.getInterceptor$asx($arguments);
77416 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
77417 result = A._functionString0("opacity", $arguments);
77418 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x20to_co + result.toString$0(0);
77419 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
77420 return result;
77421 }
77422 color = t1.$index($arguments, 0).assertColor$1("color");
77423 return new A.UnitlessSassNumber0(color._color1$_alpha, null);
77424 },
77425 $signature: 3
77426 };
77427 A._red_closure0.prototype = {
77428 call$1($arguments) {
77429 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77430 t1 = t1.get$red(t1);
77431 return new A.UnitlessSassNumber0(t1, null);
77432 },
77433 $signature: 9
77434 };
77435 A._green_closure0.prototype = {
77436 call$1($arguments) {
77437 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77438 t1 = t1.get$green(t1);
77439 return new A.UnitlessSassNumber0(t1, null);
77440 },
77441 $signature: 9
77442 };
77443 A._blue_closure0.prototype = {
77444 call$1($arguments) {
77445 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77446 t1 = t1.get$blue(t1);
77447 return new A.UnitlessSassNumber0(t1, null);
77448 },
77449 $signature: 9
77450 };
77451 A._mix_closure0.prototype = {
77452 call$1($arguments) {
77453 var t1 = J.getInterceptor$asx($arguments);
77454 return A._mixColors0(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
77455 },
77456 $signature: 24
77457 };
77458 A._hue_closure0.prototype = {
77459 call$1($arguments) {
77460 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77461 t1 = t1.get$hue(t1);
77462 return new A.SingleUnitSassNumber0("deg", t1, null);
77463 },
77464 $signature: 9
77465 };
77466 A._saturation_closure0.prototype = {
77467 call$1($arguments) {
77468 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77469 t1 = t1.get$saturation(t1);
77470 return new A.SingleUnitSassNumber0("%", t1, null);
77471 },
77472 $signature: 9
77473 };
77474 A._lightness_closure0.prototype = {
77475 call$1($arguments) {
77476 var t1 = J.get$first$ax($arguments).assertColor$1("color");
77477 t1 = t1.get$lightness(t1);
77478 return new A.SingleUnitSassNumber0("%", t1, null);
77479 },
77480 $signature: 9
77481 };
77482 A._complement_closure0.prototype = {
77483 call$1($arguments) {
77484 var color = J.$index$asx($arguments, 0).assertColor$1("color");
77485 return color.changeHsl$1$hue(color.get$hue(color) + 180);
77486 },
77487 $signature: 24
77488 };
77489 A._adjust_closure0.prototype = {
77490 call$1($arguments) {
77491 return A._updateComponents0($arguments, true, false, false);
77492 },
77493 $signature: 24
77494 };
77495 A._scale_closure0.prototype = {
77496 call$1($arguments) {
77497 return A._updateComponents0($arguments, false, false, true);
77498 },
77499 $signature: 24
77500 };
77501 A._change_closure0.prototype = {
77502 call$1($arguments) {
77503 return A._updateComponents0($arguments, false, true, false);
77504 },
77505 $signature: 24
77506 };
77507 A._ieHexStr_closure0.prototype = {
77508 call$1($arguments) {
77509 var color = J.$index$asx($arguments, 0).assertColor$1("color"),
77510 t1 = new A._ieHexStr_closure_hexString0();
77511 return new A.SassString0("#" + A.S(t1.call$1(A.fuzzyRound0(color._color1$_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);
77512 },
77513 $signature: 13
77514 };
77515 A._ieHexStr_closure_hexString0.prototype = {
77516 call$1(component) {
77517 return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
77518 },
77519 $signature: 168
77520 };
77521 A._updateComponents_getParam0.prototype = {
77522 call$4$assertPercent$checkPercent($name, max, assertPercent, checkPercent) {
77523 var t2,
77524 t1 = this.keywords.remove$1(0, $name),
77525 number = t1 == null ? null : t1.assertNumber$1($name);
77526 if (number == null)
77527 return null;
77528 t1 = this.scale;
77529 t2 = !t1;
77530 if (t2 && checkPercent)
77531 A._checkPercent0(number, $name);
77532 if (!t2 || assertPercent)
77533 number.assertUnit$2("%", $name);
77534 if (t1)
77535 max = 100;
77536 return number.valueInRange$3(this.change ? 0 : -max, max, $name);
77537 },
77538 call$2($name, max) {
77539 return this.call$4$assertPercent$checkPercent($name, max, false, false);
77540 },
77541 call$3$checkPercent($name, max, checkPercent) {
77542 return this.call$4$assertPercent$checkPercent($name, max, false, checkPercent);
77543 },
77544 call$3$assertPercent($name, max, assertPercent) {
77545 return this.call$4$assertPercent$checkPercent($name, max, assertPercent, false);
77546 },
77547 $signature: 196
77548 };
77549 A._updateComponents_closure0.prototype = {
77550 call$1($name) {
77551 return "$" + $name;
77552 },
77553 $signature: 5
77554 };
77555 A._updateComponents_updateValue0.prototype = {
77556 call$3(current, param, max) {
77557 var t1;
77558 if (param == null)
77559 return current;
77560 if (this.change)
77561 return param;
77562 if (this.adjust)
77563 return B.JSNumber_methods.clamp$2(current + param, 0, max);
77564 t1 = param > 0 ? max - current : current;
77565 return current + t1 * (param / 100);
77566 },
77567 $signature: 175
77568 };
77569 A._updateComponents_updateRgb0.prototype = {
77570 call$2(current, param) {
77571 return A.fuzzyRound0(this.updateValue.call$3(current, param, 255));
77572 },
77573 $signature: 159
77574 };
77575 A._functionString_closure0.prototype = {
77576 call$1(argument) {
77577 return A.serializeValue0(argument, false, true);
77578 },
77579 $signature: 200
77580 };
77581 A._removedColorFunction_closure0.prototype = {
77582 call$1($arguments) {
77583 var t1 = this.name,
77584 t2 = J.getInterceptor$asx($arguments),
77585 t3 = "The function " + t1 + string$.x28__isn + A.S(t2.$index($arguments, 0)) + ", $" + this.argument + ": ";
77586 throw A.wrapException(A.SassScriptException$0(t3 + (this.negative ? "-" : "") + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Morx3a + t1));
77587 },
77588 $signature: 372
77589 };
77590 A._rgb_closure0.prototype = {
77591 call$1(alpha) {
77592 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
77593 },
77594 $signature: 125
77595 };
77596 A._hsl_closure0.prototype = {
77597 call$1(alpha) {
77598 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
77599 },
77600 $signature: 125
77601 };
77602 A._removeUnits_closure1.prototype = {
77603 call$1(unit) {
77604 return " * 1" + unit;
77605 },
77606 $signature: 5
77607 };
77608 A._removeUnits_closure2.prototype = {
77609 call$1(unit) {
77610 return " / 1" + unit;
77611 },
77612 $signature: 5
77613 };
77614 A._hwb_closure0.prototype = {
77615 call$1(alpha) {
77616 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
77617 },
77618 $signature: 125
77619 };
77620 A._parseChannels_closure0.prototype = {
77621 call$1(value) {
77622 return value.get$isVar();
77623 },
77624 $signature: 50
77625 };
77626 A._NodeSassColor.prototype = {};
77627 A.legacyColorClass_closure.prototype = {
77628 call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
77629 var red, t1, t2, t3, t4;
77630 if (dartValue != null) {
77631 J.set$dartValue$x(thisArg, dartValue);
77632 return;
77633 }
77634 if (green == null || blue == null) {
77635 A._asInt(redOrArgb);
77636 alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
77637 red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
77638 green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
77639 blue = B.JSInt_methods.$mod(redOrArgb, 256);
77640 } else {
77641 redOrArgb.toString;
77642 red = redOrArgb;
77643 }
77644 t1 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(red, 0, 255));
77645 t2 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(green, 0, 255));
77646 t3 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(blue, 0, 255));
77647 t4 = alpha == null ? null : B.JSNumber_methods.clamp$2(alpha, 0, 1);
77648 J.set$dartValue$x(thisArg, A.SassColor$rgb0(t1, t2, t3, t4 == null ? 1 : t4));
77649 },
77650 call$2(thisArg, redOrArgb) {
77651 return this.call$6(thisArg, redOrArgb, null, null, null, null);
77652 },
77653 call$3(thisArg, redOrArgb, green) {
77654 return this.call$6(thisArg, redOrArgb, green, null, null, null);
77655 },
77656 call$4(thisArg, redOrArgb, green, blue) {
77657 return this.call$6(thisArg, redOrArgb, green, blue, null, null);
77658 },
77659 call$5(thisArg, redOrArgb, green, blue, alpha) {
77660 return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
77661 },
77662 "call*": "call$6",
77663 $requiredArgCount: 2,
77664 $defaultValues() {
77665 return [null, null, null, null];
77666 },
77667 $signature: 374
77668 };
77669 A.legacyColorClass_closure0.prototype = {
77670 call$1(thisArg) {
77671 return J.get$red$x(J.get$dartValue$x(thisArg));
77672 },
77673 $signature: 124
77674 };
77675 A.legacyColorClass_closure1.prototype = {
77676 call$1(thisArg) {
77677 return J.get$green$x(J.get$dartValue$x(thisArg));
77678 },
77679 $signature: 124
77680 };
77681 A.legacyColorClass_closure2.prototype = {
77682 call$1(thisArg) {
77683 return J.get$blue$x(J.get$dartValue$x(thisArg));
77684 },
77685 $signature: 124
77686 };
77687 A.legacyColorClass_closure3.prototype = {
77688 call$1(thisArg) {
77689 return J.get$dartValue$x(thisArg)._color1$_alpha;
77690 },
77691 $signature: 376
77692 };
77693 A.legacyColorClass_closure4.prototype = {
77694 call$2(thisArg, value) {
77695 var t1 = J.getInterceptor$x(thisArg);
77696 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$red(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77697 },
77698 $signature: 97
77699 };
77700 A.legacyColorClass_closure5.prototype = {
77701 call$2(thisArg, value) {
77702 var t1 = J.getInterceptor$x(thisArg);
77703 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$green(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77704 },
77705 $signature: 97
77706 };
77707 A.legacyColorClass_closure6.prototype = {
77708 call$2(thisArg, value) {
77709 var t1 = J.getInterceptor$x(thisArg);
77710 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$blue(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
77711 },
77712 $signature: 97
77713 };
77714 A.legacyColorClass_closure7.prototype = {
77715 call$2(thisArg, value) {
77716 var t1 = J.getInterceptor$x(thisArg);
77717 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$alpha(B.JSNumber_methods.clamp$2(value, 0, 1)));
77718 },
77719 $signature: 97
77720 };
77721 A.colorClass_closure.prototype = {
77722 call$0() {
77723 var t1 = type$.JSClass,
77724 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure()));
77725 J.get$$prototype$x(jsClass).change = A.allowInteropCaptureThisNamed("change", new A.colorClass__closure0());
77726 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));
77727 A.JSClassExtension_injectSuperclass(t1._as(A.SassColor$rgb0(0, 0, 0, null).constructor), jsClass);
77728 return jsClass;
77729 },
77730 $signature: 25
77731 };
77732 A.colorClass__closure.prototype = {
77733 call$2($self, color) {
77734 var t2, t3, t4,
77735 t1 = J.getInterceptor$x(color);
77736 if (t1.get$red(color) != null) {
77737 t2 = t1.get$red(color);
77738 t2.toString;
77739 t2 = A.fuzzyRound0(t2);
77740 t3 = t1.get$green(color);
77741 t3.toString;
77742 t3 = A.fuzzyRound0(t3);
77743 t4 = t1.get$blue(color);
77744 t4.toString;
77745 return A.SassColor$rgb0(t2, t3, A.fuzzyRound0(t4), t1.get$alpha(color));
77746 } else if (t1.get$saturation(color) != null) {
77747 t2 = t1.get$hue(color);
77748 t2.toString;
77749 t3 = t1.get$saturation(color);
77750 t3.toString;
77751 t4 = t1.get$lightness(color);
77752 t4.toString;
77753 return A.SassColor$hsl(t2, t3, t4, t1.get$alpha(color));
77754 } else {
77755 t2 = t1.get$hue(color);
77756 t2.toString;
77757 t3 = t1.get$whiteness(color);
77758 t3.toString;
77759 t4 = t1.get$blackness(color);
77760 t4.toString;
77761 return A.SassColor_SassColor$hwb0(t2, t3, t4, t1.get$alpha(color));
77762 }
77763 },
77764 $signature: 378
77765 };
77766 A.colorClass__closure0.prototype = {
77767 call$2($self, options) {
77768 var t2, t3, t4,
77769 t1 = J.getInterceptor$x(options);
77770 if (t1.get$whiteness(options) != null || t1.get$blackness(options) != null) {
77771 t2 = t1.get$hue(options);
77772 if (t2 == null)
77773 t2 = $self.get$hue($self);
77774 t3 = t1.get$whiteness(options);
77775 if (t3 == null)
77776 t3 = $self.get$whiteness($self);
77777 t4 = t1.get$blackness(options);
77778 if (t4 == null)
77779 t4 = $self.get$blackness($self);
77780 t1 = t1.get$alpha(options);
77781 return $self.changeHwb$4$alpha$blackness$hue$whiteness(t1 == null ? $self._color1$_alpha : t1, t4, t2, t3);
77782 } else if (t1.get$hue(options) != null || t1.get$saturation(options) != null || t1.get$lightness(options) != null) {
77783 t2 = t1.get$hue(options);
77784 if (t2 == null)
77785 t2 = $self.get$hue($self);
77786 t3 = t1.get$saturation(options);
77787 if (t3 == null)
77788 t3 = $self.get$saturation($self);
77789 t4 = t1.get$lightness(options);
77790 if (t4 == null)
77791 t4 = $self.get$lightness($self);
77792 t1 = t1.get$alpha(options);
77793 return $self.changeHsl$4$alpha$hue$lightness$saturation(t1 == null ? $self._color1$_alpha : t1, t2, t4, t3);
77794 } else if (t1.get$red(options) != null || t1.get$green(options) != null || t1.get$blue(options) != null) {
77795 t2 = A.NullableExtension_andThen0(t1.get$red(options), A.number2__fuzzyRound$closure());
77796 if (t2 == null)
77797 t2 = $self.get$red($self);
77798 t3 = A.NullableExtension_andThen0(t1.get$green(options), A.number2__fuzzyRound$closure());
77799 if (t3 == null)
77800 t3 = $self.get$green($self);
77801 t4 = A.NullableExtension_andThen0(t1.get$blue(options), A.number2__fuzzyRound$closure());
77802 if (t4 == null)
77803 t4 = $self.get$blue($self);
77804 t1 = t1.get$alpha(options);
77805 return $self.changeRgb$4$alpha$blue$green$red(t1 == null ? $self._color1$_alpha : t1, t4, t3, t2);
77806 } else {
77807 t1 = t1.get$alpha(options);
77808 return $self.changeAlpha$1(t1 == null ? $self._color1$_alpha : t1);
77809 }
77810 },
77811 $signature: 379
77812 };
77813 A.colorClass__closure1.prototype = {
77814 call$1($self) {
77815 return $self.get$red($self);
77816 },
77817 $signature: 123
77818 };
77819 A.colorClass__closure2.prototype = {
77820 call$1($self) {
77821 return $self.get$green($self);
77822 },
77823 $signature: 123
77824 };
77825 A.colorClass__closure3.prototype = {
77826 call$1($self) {
77827 return $self.get$blue($self);
77828 },
77829 $signature: 123
77830 };
77831 A.colorClass__closure4.prototype = {
77832 call$1($self) {
77833 return $self.get$hue($self);
77834 },
77835 $signature: 55
77836 };
77837 A.colorClass__closure5.prototype = {
77838 call$1($self) {
77839 return $self.get$saturation($self);
77840 },
77841 $signature: 55
77842 };
77843 A.colorClass__closure6.prototype = {
77844 call$1($self) {
77845 return $self.get$lightness($self);
77846 },
77847 $signature: 55
77848 };
77849 A.colorClass__closure7.prototype = {
77850 call$1($self) {
77851 return $self.get$whiteness($self);
77852 },
77853 $signature: 55
77854 };
77855 A.colorClass__closure8.prototype = {
77856 call$1($self) {
77857 return $self.get$blackness($self);
77858 },
77859 $signature: 55
77860 };
77861 A.colorClass__closure9.prototype = {
77862 call$1($self) {
77863 return $self._color1$_alpha;
77864 },
77865 $signature: 55
77866 };
77867 A._Channels.prototype = {};
77868 A.SassColor0.prototype = {
77869 get$red(_) {
77870 var t1;
77871 if (this._color1$_red == null)
77872 this._color1$_hslToRgb$0();
77873 t1 = this._color1$_red;
77874 t1.toString;
77875 return t1;
77876 },
77877 get$green(_) {
77878 var t1;
77879 if (this._color1$_green == null)
77880 this._color1$_hslToRgb$0();
77881 t1 = this._color1$_green;
77882 t1.toString;
77883 return t1;
77884 },
77885 get$blue(_) {
77886 var t1;
77887 if (this._color1$_blue == null)
77888 this._color1$_hslToRgb$0();
77889 t1 = this._color1$_blue;
77890 t1.toString;
77891 return t1;
77892 },
77893 get$hue(_) {
77894 var t1;
77895 if (this._color1$_hue == null)
77896 this._color1$_rgbToHsl$0();
77897 t1 = this._color1$_hue;
77898 t1.toString;
77899 return t1;
77900 },
77901 get$saturation(_) {
77902 var t1;
77903 if (this._color1$_saturation == null)
77904 this._color1$_rgbToHsl$0();
77905 t1 = this._color1$_saturation;
77906 t1.toString;
77907 return t1;
77908 },
77909 get$lightness(_) {
77910 var t1;
77911 if (this._color1$_lightness == null)
77912 this._color1$_rgbToHsl$0();
77913 t1 = this._color1$_lightness;
77914 t1.toString;
77915 return t1;
77916 },
77917 get$whiteness(_) {
77918 var _this = this;
77919 return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
77920 },
77921 get$blackness(_) {
77922 var _this = this;
77923 return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
77924 },
77925 accept$1$1(visitor) {
77926 var $name, hexLength, t1, format, t2, opaque, _this = this;
77927 if (visitor._serialize0$_style === B.OutputStyle_compressed0)
77928 if (!(Math.abs(_this._color1$_alpha - 1) < $.$get$epsilon0()))
77929 visitor._serialize0$_writeRgb$1(_this);
77930 else {
77931 $name = $.$get$namesByColor0().$index(0, _this);
77932 hexLength = visitor._serialize0$_canUseShortHex$1(_this) ? 4 : 7;
77933 if ($name != null && $name.length <= hexLength)
77934 visitor._serialize0$_buffer.write$1(0, $name);
77935 else {
77936 t1 = visitor._serialize0$_buffer;
77937 if (visitor._serialize0$_canUseShortHex$1(_this)) {
77938 t1.writeCharCode$1(35);
77939 t1.writeCharCode$1(A.hexCharFor0(_this.get$red(_this) & 15));
77940 t1.writeCharCode$1(A.hexCharFor0(_this.get$green(_this) & 15));
77941 t1.writeCharCode$1(A.hexCharFor0(_this.get$blue(_this) & 15));
77942 } else {
77943 t1.writeCharCode$1(35);
77944 visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
77945 visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
77946 visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
77947 }
77948 }
77949 }
77950 else {
77951 format = _this.format;
77952 if (format != null)
77953 if (format === B._ColorFormatEnum_rgbFunction0)
77954 visitor._serialize0$_writeRgb$1(_this);
77955 else {
77956 t1 = visitor._serialize0$_buffer;
77957 if (format === B._ColorFormatEnum_hslFunction0) {
77958 t2 = _this._color1$_alpha;
77959 opaque = Math.abs(t2 - 1) < $.$get$epsilon0();
77960 t1.write$1(0, opaque ? "hsl(" : "hsla(");
77961 visitor._serialize0$_writeNumber$1(_this.get$hue(_this));
77962 t1.write$1(0, "deg");
77963 t1.write$1(0, ", ");
77964 visitor._serialize0$_writeNumber$1(_this.get$saturation(_this));
77965 t1.writeCharCode$1(37);
77966 t1.write$1(0, ", ");
77967 visitor._serialize0$_writeNumber$1(_this.get$lightness(_this));
77968 t1.writeCharCode$1(37);
77969 if (!opaque) {
77970 t1.write$1(0, ", ");
77971 visitor._serialize0$_writeNumber$1(t2);
77972 }
77973 t1.writeCharCode$1(41);
77974 } else {
77975 t2 = type$.SpanColorFormat_2._as(format)._color1$_span;
77976 t1.write$1(0, A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null));
77977 }
77978 }
77979 else {
77980 t1 = $.$get$namesByColor0();
77981 if (t1.containsKey$1(_this) && !(Math.abs(_this._color1$_alpha - 0) < $.$get$epsilon0()))
77982 visitor._serialize0$_buffer.write$1(0, t1.$index(0, _this));
77983 else if (Math.abs(_this._color1$_alpha - 1) < $.$get$epsilon0()) {
77984 visitor._serialize0$_buffer.writeCharCode$1(35);
77985 visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
77986 visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
77987 visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
77988 } else
77989 visitor._serialize0$_writeRgb$1(_this);
77990 }
77991 }
77992 return null;
77993 },
77994 accept$1(visitor) {
77995 return this.accept$1$1(visitor, type$.dynamic);
77996 },
77997 assertColor$1($name) {
77998 return this;
77999 },
78000 changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
78001 var _this = this,
78002 t1 = red == null ? _this.get$red(_this) : red,
78003 t2 = green == null ? _this.get$green(_this) : green,
78004 t3 = blue == null ? _this.get$blue(_this) : blue;
78005 return A.SassColor$rgb0(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
78006 },
78007 changeRgb$3$blue$green$red(blue, green, red) {
78008 return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
78009 },
78010 changeRgb$1$alpha(alpha) {
78011 return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
78012 },
78013 changeRgb$1$blue(blue) {
78014 return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
78015 },
78016 changeRgb$1$green(green) {
78017 return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
78018 },
78019 changeRgb$1$red(red) {
78020 return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
78021 },
78022 changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
78023 var _this = this,
78024 t1 = hue == null ? _this.get$hue(_this) : hue,
78025 t2 = saturation == null ? _this.get$saturation(_this) : saturation,
78026 t3 = lightness == null ? _this.get$lightness(_this) : lightness;
78027 return A.SassColor$hsl(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
78028 },
78029 changeHsl$1$saturation(saturation) {
78030 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
78031 },
78032 changeHsl$1$lightness(lightness) {
78033 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
78034 },
78035 changeHsl$1$hue(hue) {
78036 return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
78037 },
78038 changeHwb$4$alpha$blackness$hue$whiteness(alpha, blackness, hue, whiteness) {
78039 var t1 = hue == null ? this.get$hue(this) : hue;
78040 return A.SassColor_SassColor$hwb0(t1, whiteness, blackness, alpha);
78041 },
78042 changeAlpha$1(alpha) {
78043 var _this = this;
78044 return new A.SassColor0(_this._color1$_red, _this._color1$_green, _this._color1$_blue, _this._color1$_hue, _this._color1$_saturation, _this._color1$_lightness, A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), null);
78045 },
78046 plus$1(other) {
78047 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
78048 return this.super$Value$plus0(other);
78049 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
78050 },
78051 minus$1(other) {
78052 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
78053 return this.super$Value$minus0(other);
78054 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
78055 },
78056 dividedBy$1(other) {
78057 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
78058 return this.super$Value$dividedBy0(other);
78059 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".'));
78060 },
78061 $eq(_, other) {
78062 var _this = this;
78063 if (other == null)
78064 return false;
78065 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._color1$_alpha === _this._color1$_alpha;
78066 },
78067 get$hashCode(_) {
78068 var _this = this;
78069 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._color1$_alpha);
78070 },
78071 _color1$_rgbToHsl$0() {
78072 var t2, lightness, _this = this,
78073 scaledRed = _this.get$red(_this) / 255,
78074 scaledGreen = _this.get$green(_this) / 255,
78075 scaledBlue = _this.get$blue(_this) / 255,
78076 max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
78077 min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
78078 delta = max - min,
78079 t1 = max === min;
78080 if (t1)
78081 _this._color1$_hue = 0;
78082 else if (max === scaledRed)
78083 _this._color1$_hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
78084 else if (max === scaledGreen)
78085 _this._color1$_hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
78086 else if (max === scaledBlue)
78087 _this._color1$_hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
78088 t2 = max + min;
78089 lightness = 50 * t2;
78090 _this._color1$_lightness = lightness;
78091 if (t1)
78092 _this._color1$_saturation = 0;
78093 else {
78094 t1 = 100 * delta;
78095 if (lightness < 50)
78096 _this._color1$_saturation = t1 / t2;
78097 else
78098 _this._color1$_saturation = t1 / (2 - max - min);
78099 }
78100 },
78101 _color1$_hslToRgb$0() {
78102 var _this = this,
78103 scaledHue = _this.get$hue(_this) / 360,
78104 scaledSaturation = _this.get$saturation(_this) / 100,
78105 scaledLightness = _this.get$lightness(_this) / 100,
78106 m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
78107 m1 = scaledLightness * 2 - m2;
78108 _this._color1$_red = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue + 0.3333333333333333) * 255);
78109 _this._color1$_green = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue) * 255);
78110 _this._color1$_blue = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue - 0.3333333333333333) * 255);
78111 }
78112 };
78113 A.SassColor_SassColor$hwb_toRgb0.prototype = {
78114 call$1(hue) {
78115 return A.fuzzyRound0((A.SassColor__hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
78116 },
78117 $signature: 44
78118 };
78119 A._ColorFormatEnum0.prototype = {
78120 toString$0(_) {
78121 return this._color1$_name;
78122 }
78123 };
78124 A.SpanColorFormat0.prototype = {};
78125 A.ModifiableCssComment0.prototype = {
78126 accept$1$1(visitor) {
78127 return visitor.visitCssComment$1(this);
78128 },
78129 accept$1(visitor) {
78130 return this.accept$1$1(visitor, type$.dynamic);
78131 },
78132 $isCssComment0: 1,
78133 get$span(receiver) {
78134 return this.span;
78135 }
78136 };
78137 A.compileAsync_closure.prototype = {
78138 call$0() {
78139 var $async$goto = 0,
78140 $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
78141 $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, result, t1, t2, t3, t4;
78142 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
78143 if ($async$errorCode === 1)
78144 return A._asyncRethrow($async$result, $async$completer);
78145 while (true)
78146 switch ($async$goto) {
78147 case 0:
78148 // Function start
78149 t1 = $async$self.options;
78150 t2 = t1 == null;
78151 t3 = t2 ? null : J.get$loadPaths$x(t1);
78152 t4 = t2 ? null : J.get$quietDeps$x(t1);
78153 if (t4 == null)
78154 t4 = false;
78155 t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
78156 t6 = t2 ? null : J.get$verbose$x(t1);
78157 if (t6 == null)
78158 t6 = false;
78159 t7 = t2 ? null : J.get$sourceMap$x(t1);
78160 if (t7 == null)
78161 t7 = false;
78162 t8 = t2 ? null : J.get$logger$x(t1);
78163 t8 = new A.NodeToDartLogger(t8, new A.StderrLogger0($async$self.color), $async$self.ascii);
78164 if (t2)
78165 t9 = null;
78166 else {
78167 t9 = J.get$importers$x(t1);
78168 t9 = t9 == null ? null : J.map$1$1$ax(t9, new A.compileAsync__closure(), type$.AsyncImporter);
78169 }
78170 t10 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
78171 $async$goto = 3;
78172 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);
78173 case 3:
78174 // returning from await.
78175 result = $async$result;
78176 t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
78177 $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
78178 // goto return
78179 $async$goto = 1;
78180 break;
78181 case 1:
78182 // return
78183 return A._asyncReturn($async$returnValue, $async$completer);
78184 }
78185 });
78186 return A._asyncStartSync($async$call$0, $async$completer);
78187 },
78188 $signature: 206
78189 };
78190 A.compileAsync__closure.prototype = {
78191 call$1(importer) {
78192 return A._parseAsyncImporter(importer);
78193 },
78194 $signature: 233
78195 };
78196 A.compileStringAsync_closure.prototype = {
78197 call$0() {
78198 var $async$goto = 0,
78199 $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
78200 $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, result, t1, t2, t3, t4, t5, t6;
78201 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
78202 if ($async$errorCode === 1)
78203 return A._asyncRethrow($async$result, $async$completer);
78204 while (true)
78205 switch ($async$goto) {
78206 case 0:
78207 // Function start
78208 t1 = $async$self.options;
78209 t2 = t1 == null;
78210 t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
78211 t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils1__jsToDartUrl$closure());
78212 t5 = t2 ? null : J.get$loadPaths$x(t1);
78213 t6 = t2 ? null : J.get$quietDeps$x(t1);
78214 if (t6 == null)
78215 t6 = false;
78216 t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
78217 t8 = t2 ? null : J.get$verbose$x(t1);
78218 if (t8 == null)
78219 t8 = false;
78220 t9 = t2 ? null : J.get$sourceMap$x(t1);
78221 if (t9 == null)
78222 t9 = false;
78223 t10 = t2 ? null : J.get$logger$x(t1);
78224 t10 = new A.NodeToDartLogger(t10, new A.StderrLogger0($async$self.color), $async$self.ascii);
78225 if (t2)
78226 t11 = null;
78227 else {
78228 t11 = J.get$importers$x(t1);
78229 t11 = t11 == null ? null : J.map$1$1$ax(t11, new A.compileStringAsync__closure(), type$.AsyncImporter);
78230 }
78231 t12 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
78232 if (t12 == null)
78233 t12 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter() : null;
78234 t13 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
78235 $async$goto = 3;
78236 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);
78237 case 3:
78238 // returning from await.
78239 result = $async$result;
78240 t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
78241 $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
78242 // goto return
78243 $async$goto = 1;
78244 break;
78245 case 1:
78246 // return
78247 return A._asyncReturn($async$returnValue, $async$completer);
78248 }
78249 });
78250 return A._asyncStartSync($async$call$0, $async$completer);
78251 },
78252 $signature: 206
78253 };
78254 A.compileStringAsync__closure.prototype = {
78255 call$1(importer) {
78256 return A._parseAsyncImporter(importer);
78257 },
78258 $signature: 233
78259 };
78260 A.compileStringAsync__closure0.prototype = {
78261 call$1(importer) {
78262 return A._parseAsyncImporter(importer);
78263 },
78264 $signature: 384
78265 };
78266 A._wrapAsyncSassExceptions_closure.prototype = {
78267 call$1(error) {
78268 return error instanceof A.SassException0 ? A.throwNodeException(error, this.ascii, this.color, null) : A.jsThrow(type$.Object._as(error));
78269 },
78270 $signature: 385
78271 };
78272 A._parseFunctions_closure0.prototype = {
78273 call$2(signature, callback) {
78274 var error, stackTrace, exception, t2, t3, t4, t1 = {};
78275 t1.tuple = null;
78276 try {
78277 t1.tuple = A.ScssParser$0(signature, null, null).parseSignature$0();
78278 } catch (exception) {
78279 t2 = A.unwrapException(exception);
78280 if (t2 instanceof A.SassFormatException0) {
78281 error = t2;
78282 stackTrace = A.getTraceFromException(exception);
78283 t2 = error;
78284 t3 = J.getInterceptor$z(t2);
78285 A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace);
78286 } else
78287 throw exception;
78288 }
78289 t2 = this.result;
78290 t3 = t1.tuple;
78291 t4 = t3.item1;
78292 t3 = t3.item2;
78293 if (!this.asynch)
78294 t2.push(A.BuiltInCallable$parsed(t4, t3, new A._parseFunctions__closure2(t1, callback)));
78295 else
78296 t2.push(new A.AsyncBuiltInCallable0(t4, t3, new A._parseFunctions__closure3(t1, callback)));
78297 },
78298 $signature: 120
78299 };
78300 A._parseFunctions__closure2.prototype = {
78301 call$1($arguments) {
78302 var t1, t2,
78303 _s42_ = string$.Invali,
78304 result = type$.Function._as(this.callback).call$1(A.toJSArray($arguments));
78305 if (result instanceof A.Value0)
78306 return result;
78307 t1 = result != null && result instanceof self.Promise;
78308 t2 = this._box_0.tuple;
78309 if (t1)
78310 throw A.wrapException(_s42_ + A.S(t2.item1) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
78311 else
78312 throw A.wrapException(_s42_ + A.S(t2.item1) + '": ' + A.S(result) + " is not a sass.Value.");
78313 },
78314 $signature: 3
78315 };
78316 A._parseFunctions__closure3.prototype = {
78317 call$1($arguments) {
78318 return this.$call$body$_parseFunctions__closure0($arguments);
78319 },
78320 $call$body$_parseFunctions__closure0($arguments) {
78321 var $async$goto = 0,
78322 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
78323 $async$returnValue, $async$self = this, result;
78324 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
78325 if ($async$errorCode === 1)
78326 return A._asyncRethrow($async$result, $async$completer);
78327 while (true)
78328 switch ($async$goto) {
78329 case 0:
78330 // Function start
78331 result = type$.Function._as($async$self.callback).call$1(A.toJSArray($arguments));
78332 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
78333 break;
78334 case 3:
78335 // then
78336 $async$goto = 5;
78337 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.Object), $async$call$1);
78338 case 5:
78339 // returning from await.
78340 result = $async$result;
78341 case 4:
78342 // join
78343 if (result instanceof A.Value0) {
78344 $async$returnValue = result;
78345 // goto return
78346 $async$goto = 1;
78347 break;
78348 }
78349 throw A.wrapException(string$.Invali + A.S($async$self._box_0.tuple.item1) + '": ' + A.S(result) + " is not a sass.Value.");
78350 case 1:
78351 // return
78352 return A._asyncReturn($async$returnValue, $async$completer);
78353 }
78354 });
78355 return A._asyncStartSync($async$call$1, $async$completer);
78356 },
78357 $signature: 88
78358 };
78359 A._compileStylesheet_closure1.prototype = {
78360 call$1(url) {
78361 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);
78362 },
78363 $signature: 5
78364 };
78365 A.CompileOptions.prototype = {};
78366 A.CompileStringOptions.prototype = {};
78367 A.NodeCompileResult.prototype = {};
78368 A.CompileResult0.prototype = {};
78369 A.ComplexSassNumber0.prototype = {
78370 get$numeratorUnits(_) {
78371 return this._complex1$_numeratorUnits;
78372 },
78373 get$denominatorUnits(_) {
78374 return this._complex1$_denominatorUnits;
78375 },
78376 get$hasUnits() {
78377 return true;
78378 },
78379 hasUnit$1(unit) {
78380 return false;
78381 },
78382 compatibleWithUnit$1(unit) {
78383 return false;
78384 },
78385 hasPossiblyCompatibleUnits$1(other) {
78386 throw A.wrapException(A.UnimplementedError$(string$.Comple));
78387 },
78388 withValue$1(value) {
78389 return new A.ComplexSassNumber0(this._complex1$_numeratorUnits, this._complex1$_denominatorUnits, value, null);
78390 },
78391 withSlash$2(numerator, denominator) {
78392 return new A.ComplexSassNumber0(this._complex1$_numeratorUnits, this._complex1$_denominatorUnits, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
78393 }
78394 };
78395 A.ComplexSelector0.prototype = {
78396 get$minSpecificity() {
78397 if (this._complex0$_minSpecificity == null)
78398 this._complex0$_computeSpecificity$0();
78399 var t1 = this._complex0$_minSpecificity;
78400 t1.toString;
78401 return t1;
78402 },
78403 get$maxSpecificity() {
78404 if (this._complex0$_maxSpecificity == null)
78405 this._complex0$_computeSpecificity$0();
78406 var t1 = this._complex0$_maxSpecificity;
78407 t1.toString;
78408 return t1;
78409 },
78410 get$isInvisible() {
78411 var result, _this = this,
78412 value = _this._complex0$__ComplexSelector_isInvisible;
78413 if (value === $) {
78414 result = B.JSArray_methods.any$1(_this.components, new A.ComplexSelector_isInvisible_closure0());
78415 A._lateInitializeOnceCheck(_this._complex0$__ComplexSelector_isInvisible, "isInvisible");
78416 _this._complex0$__ComplexSelector_isInvisible = result;
78417 value = result;
78418 }
78419 return value;
78420 },
78421 accept$1$1(visitor) {
78422 return visitor.visitComplexSelector$1(this);
78423 },
78424 accept$1(visitor) {
78425 return this.accept$1$1(visitor, type$.dynamic);
78426 },
78427 _complex0$_computeSpecificity$0() {
78428 var t1, t2, minSpecificity, maxSpecificity, _i, component, t3;
78429 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
78430 component = t1[_i];
78431 if (component instanceof A.CompoundSelector0) {
78432 if (component._compound0$_minSpecificity == null)
78433 component._compound0$_computeSpecificity$0();
78434 t3 = component._compound0$_minSpecificity;
78435 t3.toString;
78436 minSpecificity += t3;
78437 if (component._compound0$_maxSpecificity == null)
78438 component._compound0$_computeSpecificity$0();
78439 t3 = component._compound0$_maxSpecificity;
78440 t3.toString;
78441 maxSpecificity += t3;
78442 }
78443 }
78444 this._complex0$_minSpecificity = minSpecificity;
78445 this._complex0$_maxSpecificity = maxSpecificity;
78446 },
78447 get$hashCode(_) {
78448 return B.C_ListEquality0.hash$1(this.components);
78449 },
78450 $eq(_, other) {
78451 if (other == null)
78452 return false;
78453 return other instanceof A.ComplexSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
78454 }
78455 };
78456 A.ComplexSelector_isInvisible_closure0.prototype = {
78457 call$1(component) {
78458 return component instanceof A.CompoundSelector0 && component.get$isInvisible();
78459 },
78460 $signature: 119
78461 };
78462 A.Combinator0.prototype = {
78463 toString$0(_) {
78464 return this._complex0$_text;
78465 },
78466 $isComplexSelectorComponent0: 1
78467 };
78468 A.CompoundSelector0.prototype = {
78469 get$isInvisible() {
78470 return B.JSArray_methods.any$1(this.components, new A.CompoundSelector_isInvisible_closure0());
78471 },
78472 accept$1$1(visitor) {
78473 return visitor.visitCompoundSelector$1(this);
78474 },
78475 accept$1(visitor) {
78476 return this.accept$1$1(visitor, type$.dynamic);
78477 },
78478 _compound0$_computeSpecificity$0() {
78479 var t1, t2, minSpecificity, maxSpecificity, _i, simple;
78480 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
78481 simple = t1[_i];
78482 minSpecificity += simple.get$minSpecificity();
78483 maxSpecificity += simple.get$maxSpecificity();
78484 }
78485 this._compound0$_minSpecificity = minSpecificity;
78486 this._compound0$_maxSpecificity = maxSpecificity;
78487 },
78488 get$hashCode(_) {
78489 return B.C_ListEquality0.hash$1(this.components);
78490 },
78491 $eq(_, other) {
78492 if (other == null)
78493 return false;
78494 return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
78495 },
78496 $isComplexSelectorComponent0: 1
78497 };
78498 A.CompoundSelector_isInvisible_closure0.prototype = {
78499 call$1(component) {
78500 return component.get$isInvisible();
78501 },
78502 $signature: 15
78503 };
78504 A.Configuration0.prototype = {
78505 throughForward$1($forward) {
78506 var prefix, shownVariables, hiddenVariables, t1,
78507 newValues = this._configuration$_values;
78508 if (newValues.get$isEmpty(newValues))
78509 return B.Configuration_Map_empty0;
78510 prefix = $forward.prefix;
78511 if (prefix != null)
78512 newValues = new A.UnprefixedMapView0(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue_2);
78513 shownVariables = $forward.shownVariables;
78514 hiddenVariables = $forward.hiddenVariables;
78515 if (shownVariables != null)
78516 newValues = new A.LimitedMapView0(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
78517 else {
78518 if (hiddenVariables != null) {
78519 t1 = hiddenVariables._base;
78520 t1 = t1.get$isNotEmpty(t1);
78521 } else
78522 t1 = false;
78523 if (t1)
78524 newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
78525 }
78526 return this._configuration$_withValues$1(newValues);
78527 },
78528 _configuration$_withValues$1(values) {
78529 return new A.Configuration0(values);
78530 },
78531 toString$0(_) {
78532 var t1 = this._configuration$_values;
78533 return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure0(), type$.String).join$1(0, ", ") + ")";
78534 }
78535 };
78536 A.Configuration_toString_closure0.prototype = {
78537 call$1(entry) {
78538 return "$" + A.S(entry.key) + ": " + A.S(entry.value);
78539 },
78540 $signature: 388
78541 };
78542 A.ExplicitConfiguration0.prototype = {
78543 _configuration$_withValues$1(values) {
78544 return new A.ExplicitConfiguration0(this.nodeWithSpan, values);
78545 }
78546 };
78547 A.ConfiguredValue0.prototype = {
78548 toString$0(_) {
78549 return A.serializeValue0(this.value, true, true);
78550 }
78551 };
78552 A.ConfiguredVariable0.prototype = {
78553 toString$0(_) {
78554 var t1 = "$" + this.name + ": " + this.expression.toString$0(0);
78555 return t1 + (this.isGuarded ? " !default" : "");
78556 },
78557 $isAstNode0: 1,
78558 get$span(receiver) {
78559 return this.span;
78560 }
78561 };
78562 A.ContentBlock0.prototype = {
78563 accept$1$1(visitor) {
78564 return visitor.visitContentBlock$1(this);
78565 },
78566 accept$1(visitor) {
78567 return this.accept$1$1(visitor, type$.dynamic);
78568 },
78569 toString$0(_) {
78570 var t2,
78571 t1 = this.$arguments;
78572 t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
78573 t2 = this.children;
78574 return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
78575 }
78576 };
78577 A.ContentRule0.prototype = {
78578 accept$1$1(visitor) {
78579 return visitor.visitContentRule$1(this);
78580 },
78581 accept$1(visitor) {
78582 return this.accept$1$1(visitor, type$.dynamic);
78583 },
78584 toString$0(_) {
78585 var t1 = this.$arguments;
78586 return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
78587 },
78588 $isAstNode0: 1,
78589 $isStatement0: 1,
78590 get$span(receiver) {
78591 return this.span;
78592 }
78593 };
78594 A._disallowedFunctionNames_closure0.prototype = {
78595 call$1($function) {
78596 return $function.name;
78597 },
78598 $signature: 389
78599 };
78600 A.CssParser0.prototype = {
78601 get$plainCss() {
78602 return true;
78603 },
78604 silentComment$0() {
78605 var t1 = this.scanner,
78606 t2 = t1._string_scanner$_position;
78607 this.super$Parser$silentComment0();
78608 this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
78609 },
78610 atRule$2$root(child, root) {
78611 var $name, urlStart, next, url, urlSpan, queries, t2, t3, t4, t5, _this = this,
78612 t1 = _this.scanner,
78613 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
78614 t1.expectChar$1(64);
78615 $name = _this.interpolatedIdentifier$0();
78616 _this.whitespace$0();
78617 switch ($name.get$asPlain()) {
78618 case "at-root":
78619 case "content":
78620 case "debug":
78621 case "each":
78622 case "error":
78623 case "extend":
78624 case "for":
78625 case "function":
78626 case "if":
78627 case "include":
78628 case "mixin":
78629 case "return":
78630 case "warn":
78631 case "while":
78632 _this.almostAnyValue$0();
78633 _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
78634 break;
78635 case "import":
78636 urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
78637 next = t1.peekChar$0();
78638 url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression0(_this.interpolatedString$0().asInterpolation$1$static(true), false);
78639 urlSpan = t1.spanFrom$1(urlStart);
78640 _this.whitespace$0();
78641 queries = _this.tryImportQueries$0();
78642 _this.expectStatementSeparator$1("@import rule");
78643 t2 = A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), urlSpan);
78644 t3 = t1.spanFrom$1(urlStart);
78645 t4 = queries == null;
78646 t5 = t4 ? null : queries.item1;
78647 t2 = A._setArrayType([new A.StaticImport0(t2, t5, t4 ? null : queries.item2, t3)], type$.JSArray_Import_2);
78648 t1 = t1.spanFrom$1(start);
78649 return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
78650 case "media":
78651 return _this.mediaRule$1(start);
78652 case "-moz-document":
78653 return _this.mozDocumentRule$2(start, $name);
78654 case "supports":
78655 return _this.supportsRule$1(start);
78656 default:
78657 return _this.unknownAtRule$2(start, $name);
78658 }
78659 },
78660 identifierLike$0() {
78661 var t2, $arguments, t3, t4, _this = this,
78662 t1 = _this.scanner,
78663 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
78664 identifier = _this.interpolatedIdentifier$0(),
78665 plain = identifier.get$asPlain(),
78666 specialFunction = _this.trySpecialFunction$2(plain.toLowerCase(), start);
78667 if (specialFunction != null)
78668 return specialFunction;
78669 t2 = t1._string_scanner$_position;
78670 if (!t1.scanChar$1(40))
78671 return new A.StringExpression0(identifier, false);
78672 $arguments = A._setArrayType([], type$.JSArray_Expression_2);
78673 if (!t1.scanChar$1(41)) {
78674 do {
78675 _this.whitespace$0();
78676 $arguments.push(_this.expression$1$singleEquals(true));
78677 _this.whitespace$0();
78678 } while (t1.scanChar$1(44));
78679 t1.expectChar$1(41);
78680 }
78681 if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
78682 _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
78683 t3 = A.Interpolation$0(A._setArrayType([new A.StringExpression0(identifier, false)], type$.JSArray_Object), identifier.span);
78684 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
78685 t4 = type$.Expression_2;
78686 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));
78687 },
78688 namespacedExpression$2(namespace, start) {
78689 var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
78690 this.error$2(0, string$.Modulen, expression.get$span(expression));
78691 }
78692 };
78693 A.DebugRule0.prototype = {
78694 accept$1$1(visitor) {
78695 return visitor.visitDebugRule$1(this);
78696 },
78697 accept$1(visitor) {
78698 return this.accept$1$1(visitor, type$.dynamic);
78699 },
78700 toString$0(_) {
78701 return "@debug " + this.expression.toString$0(0) + ";";
78702 },
78703 $isAstNode0: 1,
78704 $isStatement0: 1,
78705 get$span(receiver) {
78706 return this.span;
78707 }
78708 };
78709 A.ModifiableCssDeclaration0.prototype = {
78710 accept$1$1(visitor) {
78711 return visitor.visitCssDeclaration$1(this);
78712 },
78713 accept$1(visitor) {
78714 return this.accept$1$1(visitor, type$.dynamic);
78715 },
78716 toString$0(_) {
78717 return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
78718 },
78719 get$span(receiver) {
78720 return this.span;
78721 }
78722 };
78723 A.Declaration0.prototype = {
78724 accept$1$1(visitor) {
78725 return visitor.visitDeclaration$1(this);
78726 },
78727 accept$1(visitor) {
78728 return this.accept$1$1(visitor, type$.dynamic);
78729 },
78730 get$span(receiver) {
78731 return this.span;
78732 }
78733 };
78734 A.SupportsDeclaration0.prototype = {
78735 get$isCustomProperty() {
78736 var $name = this.name;
78737 return $name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
78738 },
78739 toString$0(_) {
78740 return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
78741 },
78742 $isAstNode0: 1,
78743 $isSupportsCondition0: 1,
78744 get$span(receiver) {
78745 return this.span;
78746 }
78747 };
78748 A.DynamicImport0.prototype = {
78749 toString$0(_) {
78750 return A.StringExpression_quoteText0(this.urlString);
78751 },
78752 $isImport0: 1,
78753 $isAstNode0: 1,
78754 get$span(receiver) {
78755 return this.span;
78756 }
78757 };
78758 A.EachRule0.prototype = {
78759 accept$1$1(visitor) {
78760 return visitor.visitEachRule$1(this);
78761 },
78762 accept$1(visitor) {
78763 return this.accept$1$1(visitor, type$.dynamic);
78764 },
78765 toString$0(_) {
78766 var t1 = this.variables,
78767 t2 = this.children;
78768 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, " ") + "}";
78769 },
78770 get$span(receiver) {
78771 return this.span;
78772 }
78773 };
78774 A.EachRule_toString_closure0.prototype = {
78775 call$1(variable) {
78776 return "$" + variable;
78777 },
78778 $signature: 5
78779 };
78780 A.EmptyExtensionStore0.prototype = {
78781 get$isEmpty(_) {
78782 return true;
78783 },
78784 get$simpleSelectors() {
78785 return B.C_EmptyUnmodifiableSet0;
78786 },
78787 extensionsWhereTarget$1(callback) {
78788 return B.List_empty12;
78789 },
78790 addSelector$3(selector, span, mediaContext) {
78791 throw A.wrapException(A.UnsupportedError$(string$.addSel));
78792 },
78793 addExtension$4(extender, target, extend, mediaContext) {
78794 throw A.wrapException(A.UnsupportedError$(string$.addExt_));
78795 },
78796 addExtensions$1(extenders) {
78797 throw A.wrapException(A.UnsupportedError$(string$.addExts));
78798 },
78799 clone$0() {
78800 return B.Tuple2_EmptyExtensionStore_Map_empty0;
78801 },
78802 $isExtensionStore0: 1
78803 };
78804 A.Environment0.prototype = {
78805 closure$0() {
78806 var t4, t5, t6, _this = this,
78807 t1 = _this._environment0$_forwardedModules,
78808 t2 = _this._environment0$_nestedForwardedModules,
78809 t3 = _this._environment0$_variables;
78810 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
78811 t4 = _this._environment0$_variableNodes;
78812 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
78813 t5 = _this._environment0$_functions;
78814 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
78815 t6 = _this._environment0$_mixins;
78816 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
78817 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);
78818 },
78819 addModule$3$namespace(module, nodeWithSpan, namespace) {
78820 var t1, t2, span, _this = this;
78821 if (namespace == null) {
78822 _this._environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
78823 _this._environment0$_allModules.push(module);
78824 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._environment0$_variables))); t1.moveNext$0();) {
78825 t2 = t1.get$current(t1);
78826 if (module.get$variables().containsKey$1(t2))
78827 throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".'));
78828 }
78829 } else {
78830 t1 = _this._environment0$_modules;
78831 if (t1.containsKey$1(namespace)) {
78832 t1 = _this._environment0$_namespaceNodes.$index(0, namespace);
78833 span = t1 == null ? null : t1.span;
78834 t1 = string$.There_ + namespace + '".';
78835 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78836 if (span != null)
78837 t2.$indexSet(0, span, "original @use");
78838 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @use", t2));
78839 }
78840 t1.$indexSet(0, namespace, module);
78841 _this._environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
78842 _this._environment0$_allModules.push(module);
78843 }
78844 },
78845 forwardModule$2(module, rule) {
78846 var view, t1, t2, _this = this,
78847 forwardedModules = _this._environment0$_forwardedModules;
78848 if (forwardedModules == null)
78849 forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78850 view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
78851 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
78852 t2 = t1.get$current(t1);
78853 _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
78854 _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
78855 _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
78856 }
78857 _this._environment0$_allModules.push(module);
78858 forwardedModules.$indexSet(0, view, rule);
78859 },
78860 _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
78861 var larger, smaller, t1, t2, $name, span;
78862 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
78863 larger = oldMembers;
78864 smaller = newMembers;
78865 } else {
78866 larger = newMembers;
78867 smaller = oldMembers;
78868 }
78869 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
78870 $name = t1.get$current(t1);
78871 if (!larger.containsKey$1($name))
78872 continue;
78873 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
78874 continue;
78875 if (t2)
78876 $name = "$" + $name;
78877 t1 = this._environment0$_forwardedModules;
78878 if (t1 == null)
78879 span = null;
78880 else {
78881 t1 = t1.$index(0, oldModule);
78882 span = t1 == null ? null : J.get$span$z(t1);
78883 }
78884 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
78885 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78886 if (span != null)
78887 t2.$indexSet(0, span, "original @forward");
78888 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @forward", t2));
78889 }
78890 },
78891 importForwards$1(module) {
78892 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
78893 forwarded = module._environment0$_environment._environment0$_forwardedModules;
78894 if (forwarded == null)
78895 return;
78896 forwardedModules = _this._environment0$_forwardedModules;
78897 if (forwardedModules != null) {
78898 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78899 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._environment0$_globalModules; t2.moveNext$0();) {
78900 t4 = t2.get$current(t2);
78901 t5 = t4.key;
78902 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
78903 t1.$indexSet(0, t5, t4.value);
78904 }
78905 forwarded = t1;
78906 } else
78907 forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78908 t1 = forwarded.get$keys(forwarded);
78909 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
78910 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure2(), t2), t2._eval$1("Iterable.E"));
78911 t2 = forwarded.get$keys(forwarded);
78912 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
78913 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.Environment_importForwards_closure3(), t1), t1._eval$1("Iterable.E"));
78914 t1 = forwarded.get$keys(forwarded);
78915 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
78916 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure4(), t2), t2._eval$1("Iterable.E"));
78917 t1 = _this._environment0$_variables;
78918 t2 = t1.length;
78919 if (t2 === 1) {
78920 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) {
78921 entry = t3[_i];
78922 module = entry.key;
78923 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
78924 if (shadowed != null) {
78925 t2.remove$1(0, module);
78926 t6 = shadowed.variables;
78927 if (t6.get$isEmpty(t6)) {
78928 t6 = shadowed.functions;
78929 if (t6.get$isEmpty(t6)) {
78930 t6 = shadowed.mixins;
78931 if (t6.get$isEmpty(t6)) {
78932 t6 = shadowed._shadowed_view0$_inner;
78933 t6 = t6.get$css(t6);
78934 t6 = J.get$isEmpty$asx(t6.get$children(t6));
78935 } else
78936 t6 = false;
78937 } else
78938 t6 = false;
78939 } else
78940 t6 = false;
78941 if (!t6)
78942 t2.$indexSet(0, shadowed, entry.value);
78943 }
78944 }
78945 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) {
78946 entry = t3[_i];
78947 module = entry.key;
78948 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
78949 if (shadowed != null) {
78950 forwardedModules.remove$1(0, module);
78951 t6 = shadowed.variables;
78952 if (t6.get$isEmpty(t6)) {
78953 t6 = shadowed.functions;
78954 if (t6.get$isEmpty(t6)) {
78955 t6 = shadowed.mixins;
78956 if (t6.get$isEmpty(t6)) {
78957 t6 = shadowed._shadowed_view0$_inner;
78958 t6 = t6.get$css(t6);
78959 t6 = J.get$isEmpty$asx(t6.get$children(t6));
78960 } else
78961 t6 = false;
78962 } else
78963 t6 = false;
78964 } else
78965 t6 = false;
78966 if (!t6)
78967 forwardedModules.$indexSet(0, shadowed, entry.value);
78968 }
78969 }
78970 t2.addAll$1(0, forwarded);
78971 forwardedModules.addAll$1(0, forwarded);
78972 } else {
78973 t3 = _this._environment0$_nestedForwardedModules;
78974 if (t3 == null) {
78975 _length = t2 - 1;
78976 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
78977 for (t2 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
78978 _list[_i] = A._setArrayType([], t2);
78979 _this._environment0$_nestedForwardedModules = _list;
78980 t2 = _list;
78981 } else
78982 t2 = t3;
78983 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
78984 }
78985 for (t2 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = A._instanceType(t2)._precomputed1, t4 = _this._environment0$_variableIndices, t5 = _this._environment0$_variableNodes; t2.moveNext$0();) {
78986 t6 = t3._as(t2._collection$_current);
78987 t4.remove$1(0, t6);
78988 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
78989 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
78990 }
78991 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._environment0$_functionIndices, t4 = _this._environment0$_functions; t1.moveNext$0();) {
78992 t5 = t2._as(t1._collection$_current);
78993 t3.remove$1(0, t5);
78994 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
78995 }
78996 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._environment0$_mixinIndices, t4 = _this._environment0$_mixins; t1.moveNext$0();) {
78997 t5 = t2._as(t1._collection$_current);
78998 t3.remove$1(0, t5);
78999 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
79000 }
79001 },
79002 getVariable$2$namespace($name, namespace) {
79003 var t1, index, _this = this;
79004 if (namespace != null)
79005 return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
79006 if (_this._environment0$_lastVariableName === $name) {
79007 t1 = _this._environment0$_lastVariableIndex;
79008 t1.toString;
79009 t1 = J.$index$asx(_this._environment0$_variables[t1], $name);
79010 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
79011 }
79012 t1 = _this._environment0$_variableIndices;
79013 index = t1.$index(0, $name);
79014 if (index != null) {
79015 _this._environment0$_lastVariableName = $name;
79016 _this._environment0$_lastVariableIndex = index;
79017 t1 = J.$index$asx(_this._environment0$_variables[index], $name);
79018 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
79019 }
79020 index = _this._environment0$_variableIndex$1($name);
79021 if (index == null)
79022 return _this._environment0$_getVariableFromGlobalModule$1($name);
79023 _this._environment0$_lastVariableName = $name;
79024 _this._environment0$_lastVariableIndex = index;
79025 t1.$indexSet(0, $name, index);
79026 t1 = J.$index$asx(_this._environment0$_variables[index], $name);
79027 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
79028 },
79029 getVariable$1($name) {
79030 return this.getVariable$2$namespace($name, null);
79031 },
79032 _environment0$_getVariableFromGlobalModule$1($name) {
79033 return this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
79034 },
79035 getVariableNode$2$namespace($name, namespace) {
79036 var t1, index, _this = this;
79037 if (namespace != null)
79038 return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
79039 if (_this._environment0$_lastVariableName === $name) {
79040 t1 = _this._environment0$_lastVariableIndex;
79041 t1.toString;
79042 t1 = J.$index$asx(_this._environment0$_variableNodes[t1], $name);
79043 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
79044 }
79045 t1 = _this._environment0$_variableIndices;
79046 index = t1.$index(0, $name);
79047 if (index != null) {
79048 _this._environment0$_lastVariableName = $name;
79049 _this._environment0$_lastVariableIndex = index;
79050 t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
79051 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
79052 }
79053 index = _this._environment0$_variableIndex$1($name);
79054 if (index == null)
79055 return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
79056 _this._environment0$_lastVariableName = $name;
79057 _this._environment0$_lastVariableIndex = index;
79058 t1.$indexSet(0, $name, index);
79059 t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
79060 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
79061 },
79062 _environment0$_getVariableNodeFromGlobalModule$1($name) {
79063 var t1, t2, value;
79064 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();) {
79065 t1 = t2._currentIterator;
79066 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
79067 if (value != null)
79068 return value;
79069 }
79070 return null;
79071 },
79072 globalVariableExists$2$namespace($name, namespace) {
79073 if (namespace != null)
79074 return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
79075 if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
79076 return true;
79077 return this._environment0$_getVariableFromGlobalModule$1($name) != null;
79078 },
79079 globalVariableExists$1($name) {
79080 return this.globalVariableExists$2$namespace($name, null);
79081 },
79082 _environment0$_variableIndex$1($name) {
79083 var t1, i;
79084 for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
79085 if (t1[i].containsKey$1($name))
79086 return i;
79087 return null;
79088 },
79089 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
79090 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
79091 if (namespace != null) {
79092 _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
79093 return;
79094 }
79095 if (global || _this._environment0$_variables.length === 1) {
79096 _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
79097 t1 = _this._environment0$_variables;
79098 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
79099 moduleWithName = _this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure3($name), type$.Module_Callable_2);
79100 if (moduleWithName != null) {
79101 moduleWithName.setVariable$3($name, value, nodeWithSpan);
79102 return;
79103 }
79104 }
79105 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
79106 J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
79107 return;
79108 }
79109 nestedForwardedModules = _this._environment0$_nestedForwardedModules;
79110 if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
79111 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();)
79112 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();) {
79113 t5 = t4._as(t3.__internal$_current);
79114 if (t5.get$variables().containsKey$1($name)) {
79115 t5.setVariable$3($name, value, nodeWithSpan);
79116 return;
79117 }
79118 }
79119 if (_this._environment0$_lastVariableName === $name) {
79120 t1 = _this._environment0$_lastVariableIndex;
79121 t1.toString;
79122 index = t1;
79123 } else
79124 index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
79125 if (!_this._environment0$_inSemiGlobalScope && index === 0) {
79126 index = _this._environment0$_variables.length - 1;
79127 _this._environment0$_variableIndices.$indexSet(0, $name, index);
79128 }
79129 _this._environment0$_lastVariableName = $name;
79130 _this._environment0$_lastVariableIndex = index;
79131 J.$indexSet$ax(_this._environment0$_variables[index], $name, value);
79132 J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
79133 },
79134 setVariable$4$global($name, value, nodeWithSpan, global) {
79135 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
79136 },
79137 setLocalVariable$3($name, value, nodeWithSpan) {
79138 var index, _this = this,
79139 t1 = _this._environment0$_variables,
79140 t2 = t1.length;
79141 _this._environment0$_lastVariableName = $name;
79142 index = _this._environment0$_lastVariableIndex = t2 - 1;
79143 _this._environment0$_variableIndices.$indexSet(0, $name, index);
79144 J.$indexSet$ax(t1[index], $name, value);
79145 J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
79146 },
79147 getFunction$2$namespace($name, namespace) {
79148 var t1, index, _this = this;
79149 if (namespace != null) {
79150 t1 = _this._environment0$_getModule$1(namespace);
79151 return t1.get$functions(t1).$index(0, $name);
79152 }
79153 t1 = _this._environment0$_functionIndices;
79154 index = t1.$index(0, $name);
79155 if (index != null) {
79156 t1 = J.$index$asx(_this._environment0$_functions[index], $name);
79157 return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
79158 }
79159 index = _this._environment0$_functionIndex$1($name);
79160 if (index == null)
79161 return _this._environment0$_getFunctionFromGlobalModule$1($name);
79162 t1.$indexSet(0, $name, index);
79163 t1 = J.$index$asx(_this._environment0$_functions[index], $name);
79164 return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
79165 },
79166 _environment0$_getFunctionFromGlobalModule$1($name) {
79167 return this._environment0$_fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name), type$.Callable_2);
79168 },
79169 _environment0$_functionIndex$1($name) {
79170 var t1, i;
79171 for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
79172 if (t1[i].containsKey$1($name))
79173 return i;
79174 return null;
79175 },
79176 getMixin$2$namespace($name, namespace) {
79177 var t1, index, _this = this;
79178 if (namespace != null)
79179 return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
79180 t1 = _this._environment0$_mixinIndices;
79181 index = t1.$index(0, $name);
79182 if (index != null) {
79183 t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
79184 return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
79185 }
79186 index = _this._environment0$_mixinIndex$1($name);
79187 if (index == null)
79188 return _this._environment0$_getMixinFromGlobalModule$1($name);
79189 t1.$indexSet(0, $name, index);
79190 t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
79191 return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
79192 },
79193 _environment0$_getMixinFromGlobalModule$1($name) {
79194 return this._environment0$_fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name), type$.Callable_2);
79195 },
79196 _environment0$_mixinIndex$1($name) {
79197 var t1, i;
79198 for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
79199 if (t1[i].containsKey$1($name))
79200 return i;
79201 return null;
79202 },
79203 scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
79204 var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, _this = this;
79205 semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
79206 wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
79207 _this._environment0$_inSemiGlobalScope = semiGlobal;
79208 if (!when)
79209 try {
79210 t1 = callback.call$0();
79211 return t1;
79212 } finally {
79213 _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
79214 }
79215 t1 = _this._environment0$_variables;
79216 t2 = type$.String;
79217 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
79218 B.JSArray_methods.add$1(_this._environment0$_variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
79219 t3 = _this._environment0$_functions;
79220 t4 = type$.Callable_2;
79221 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
79222 t5 = _this._environment0$_mixins;
79223 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
79224 t4 = _this._environment0$_nestedForwardedModules;
79225 if (t4 != null)
79226 t4.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
79227 try {
79228 t2 = callback.call$0();
79229 return t2;
79230 } finally {
79231 _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
79232 _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
79233 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
79234 $name = t1.get$current(t1);
79235 t2.remove$1(0, $name);
79236 }
79237 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t3))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
79238 name0 = t1.get$current(t1);
79239 t2.remove$1(0, name0);
79240 }
79241 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t5))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
79242 name1 = t1.get$current(t1);
79243 t2.remove$1(0, name1);
79244 }
79245 t1 = _this._environment0$_nestedForwardedModules;
79246 if (t1 != null)
79247 t1.pop();
79248 }
79249 },
79250 scope$1$1(callback, $T) {
79251 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
79252 },
79253 scope$1$2$when(callback, when, $T) {
79254 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
79255 },
79256 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
79257 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
79258 },
79259 toImplicitConfiguration$0() {
79260 var t1, t2, i, values, nodes, t3, t4, t5, t6,
79261 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
79262 for (t1 = this._environment0$_variables, t2 = this._environment0$_variableNodes, i = 0; i < t1.length; ++i) {
79263 values = t1[i];
79264 nodes = t2[i];
79265 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
79266 t4 = t3.get$current(t3);
79267 t5 = t4.key;
79268 t4 = t4.value;
79269 t6 = nodes.$index(0, t5);
79270 t6.toString;
79271 configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
79272 }
79273 }
79274 return new A.Configuration0(configuration);
79275 },
79276 toModule$2(css, extensionStore) {
79277 return A._EnvironmentModule__EnvironmentModule1(this, css, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
79278 },
79279 toDummyModule$0() {
79280 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()));
79281 },
79282 _environment0$_getModule$1(namespace) {
79283 var module = this._environment0$_modules.$index(0, namespace);
79284 if (module != null)
79285 return module;
79286 throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".'));
79287 },
79288 _environment0$_fromOneModule$1$3($name, type, callback, $T) {
79289 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
79290 nestedForwardedModules = this._environment0$_nestedForwardedModules;
79291 if (nestedForwardedModules != null)
79292 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();)
79293 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();) {
79294 value = callback.call$1(t4._as(t3.__internal$_current));
79295 if (value != null)
79296 return value;
79297 }
79298 for (t1 = this._environment0$_importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
79299 value = callback.call$1(t1.get$current(t1));
79300 if (value != null)
79301 return value;
79302 }
79303 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();) {
79304 t4 = t2.get$current(t2);
79305 valueInModule = callback.call$1(t4);
79306 if (valueInModule == null)
79307 continue;
79308 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
79309 if (identityFromModule.$eq(0, identity))
79310 continue;
79311 if (value != null) {
79312 spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
79313 t2 = "This " + type + string$.x20is_av;
79314 t3 = type + " use";
79315 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
79316 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
79317 t5 = t1.get$current(t1);
79318 if (t5 != null)
79319 t4.$indexSet(0, t5, "includes " + type);
79320 }
79321 throw A.wrapException(A.MultiSpanSassScriptException$0(t2, t3, t4));
79322 }
79323 identity = identityFromModule;
79324 value = valueInModule;
79325 }
79326 return value;
79327 }
79328 };
79329 A.Environment_importForwards_closure2.prototype = {
79330 call$1(module) {
79331 var t1 = module.get$variables();
79332 return t1.get$keys(t1);
79333 },
79334 $signature: 118
79335 };
79336 A.Environment_importForwards_closure3.prototype = {
79337 call$1(module) {
79338 var t1 = module.get$functions(module);
79339 return t1.get$keys(t1);
79340 },
79341 $signature: 118
79342 };
79343 A.Environment_importForwards_closure4.prototype = {
79344 call$1(module) {
79345 var t1 = module.get$mixins();
79346 return t1.get$keys(t1);
79347 },
79348 $signature: 118
79349 };
79350 A.Environment__getVariableFromGlobalModule_closure0.prototype = {
79351 call$1(module) {
79352 return module.get$variables().$index(0, this.name);
79353 },
79354 $signature: 392
79355 };
79356 A.Environment_setVariable_closure2.prototype = {
79357 call$0() {
79358 var t1 = this.$this;
79359 t1._environment0$_lastVariableName = this.name;
79360 return t1._environment0$_lastVariableIndex = 0;
79361 },
79362 $signature: 12
79363 };
79364 A.Environment_setVariable_closure3.prototype = {
79365 call$1(module) {
79366 return module.get$variables().containsKey$1(this.name) ? module : null;
79367 },
79368 $signature: 393
79369 };
79370 A.Environment_setVariable_closure4.prototype = {
79371 call$0() {
79372 var t1 = this.$this,
79373 t2 = t1._environment0$_variableIndex$1(this.name);
79374 return t2 == null ? t1._environment0$_variables.length - 1 : t2;
79375 },
79376 $signature: 12
79377 };
79378 A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
79379 call$1(module) {
79380 return module.get$functions(module).$index(0, this.name);
79381 },
79382 $signature: 212
79383 };
79384 A.Environment__getMixinFromGlobalModule_closure0.prototype = {
79385 call$1(module) {
79386 return module.get$mixins().$index(0, this.name);
79387 },
79388 $signature: 212
79389 };
79390 A.Environment_toModule_closure0.prototype = {
79391 call$1(modules) {
79392 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
79393 },
79394 $signature: 213
79395 };
79396 A.Environment_toDummyModule_closure0.prototype = {
79397 call$1(modules) {
79398 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
79399 },
79400 $signature: 213
79401 };
79402 A.Environment__fromOneModule_closure0.prototype = {
79403 call$1(entry) {
79404 return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure0(entry, this.T));
79405 },
79406 $signature: 396
79407 };
79408 A.Environment__fromOneModule__closure0.prototype = {
79409 call$1(_) {
79410 return J.get$span$z(this.entry.value);
79411 },
79412 $signature() {
79413 return this.T._eval$1("FileSpan(0)");
79414 }
79415 };
79416 A._EnvironmentModule1.prototype = {
79417 get$url(_) {
79418 var t1 = this.css;
79419 return t1.get$span(t1).file.url;
79420 },
79421 setVariable$3($name, value, nodeWithSpan) {
79422 var t1, t2,
79423 module = this._environment0$_modulesByVariable.$index(0, $name);
79424 if (module != null) {
79425 module.setVariable$3($name, value, nodeWithSpan);
79426 return;
79427 }
79428 t1 = this._environment0$_environment;
79429 t2 = t1._environment0$_variables;
79430 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
79431 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
79432 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
79433 J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
79434 return;
79435 },
79436 variableIdentity$1($name) {
79437 var module = this._environment0$_modulesByVariable.$index(0, $name);
79438 return module == null ? this : module.variableIdentity$1($name);
79439 },
79440 cloneCss$0() {
79441 var newCssAndExtensionStore, _this = this,
79442 t1 = _this.css;
79443 if (J.get$isEmpty$asx(t1.get$children(t1)))
79444 return _this;
79445 newCssAndExtensionStore = A.cloneCssStylesheet0(t1, _this.extensionStore);
79446 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);
79447 },
79448 toString$0(_) {
79449 var t1 = this.css;
79450 if (t1.get$span(t1).file.url == null)
79451 t1 = "<unknown url>";
79452 else {
79453 t1 = t1.get$span(t1);
79454 t1 = $.$get$context().prettyUri$1(t1.file.url);
79455 }
79456 return t1;
79457 },
79458 $isModule0: 1,
79459 get$upstream() {
79460 return this.upstream;
79461 },
79462 get$variables() {
79463 return this.variables;
79464 },
79465 get$variableNodes() {
79466 return this.variableNodes;
79467 },
79468 get$functions(receiver) {
79469 return this.functions;
79470 },
79471 get$mixins() {
79472 return this.mixins;
79473 },
79474 get$extensionStore() {
79475 return this.extensionStore;
79476 },
79477 get$css(receiver) {
79478 return this.css;
79479 },
79480 get$transitivelyContainsCss() {
79481 return this.transitivelyContainsCss;
79482 },
79483 get$transitivelyContainsExtensions() {
79484 return this.transitivelyContainsExtensions;
79485 }
79486 };
79487 A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
79488 call$1(module) {
79489 return module.get$variables();
79490 },
79491 $signature: 397
79492 };
79493 A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
79494 call$1(module) {
79495 return module.get$variableNodes();
79496 },
79497 $signature: 398
79498 };
79499 A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
79500 call$1(module) {
79501 return module.get$functions(module);
79502 },
79503 $signature: 214
79504 };
79505 A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
79506 call$1(module) {
79507 return module.get$mixins();
79508 },
79509 $signature: 214
79510 };
79511 A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
79512 call$1(module) {
79513 return module.get$transitivelyContainsCss();
79514 },
79515 $signature: 117
79516 };
79517 A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
79518 call$1(module) {
79519 return module.get$transitivelyContainsExtensions();
79520 },
79521 $signature: 117
79522 };
79523 A.ErrorRule0.prototype = {
79524 accept$1$1(visitor) {
79525 return visitor.visitErrorRule$1(this);
79526 },
79527 accept$1(visitor) {
79528 return this.accept$1$1(visitor, type$.dynamic);
79529 },
79530 toString$0(_) {
79531 return "@error " + this.expression.toString$0(0) + ";";
79532 },
79533 $isAstNode0: 1,
79534 $isStatement0: 1,
79535 get$span(receiver) {
79536 return this.span;
79537 }
79538 };
79539 A._EvaluateVisitor1.prototype = {
79540 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
79541 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
79542 _s20_ = "$name, $module: null",
79543 _s9_ = "sass:meta",
79544 t1 = type$.JSArray_BuiltInCallable_2,
79545 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),
79546 metaMixins = A._setArrayType([A.BuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure28(_this), _s9_)], t1);
79547 t1 = type$.BuiltInCallable_2;
79548 t2 = A.List_List$of($.$get$global6(), true, t1);
79549 B.JSArray_methods.addAll$1(t2, $.$get$local0());
79550 B.JSArray_methods.addAll$1(t2, metaFunctions);
79551 metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
79552 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) {
79553 module = t1[_i];
79554 t3.$indexSet(0, module.url, module);
79555 }
79556 t1 = A._setArrayType([], type$.JSArray_Callable_2);
79557 B.JSArray_methods.addAll$1(t1, functions);
79558 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
79559 B.JSArray_methods.addAll$1(t1, metaFunctions);
79560 for (t2 = t1.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
79561 $function = t1[_i];
79562 t4 = J.get$name$x($function);
79563 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
79564 }
79565 },
79566 run$2(_, importer, node) {
79567 var t1 = type$.nullable_Object;
79568 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);
79569 },
79570 _evaluate0$_assertInModule$1$2(value, $name) {
79571 if (value != null)
79572 return value;
79573 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
79574 },
79575 _evaluate0$_assertInModule$2(value, $name) {
79576 return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
79577 },
79578 _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
79579 var t1, t2, _this = this,
79580 builtInModule = _this._evaluate0$_builtInModules.$index(0, url);
79581 if (builtInModule != null) {
79582 if (configuration instanceof A.ExplicitConfiguration0) {
79583 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
79584 t2 = configuration.nodeWithSpan;
79585 throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
79586 }
79587 _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(callback, builtInModule));
79588 return;
79589 }
79590 _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
79591 },
79592 _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
79593 return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
79594 },
79595 _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
79596 return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
79597 },
79598 _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
79599 var currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
79600 url = stylesheet.span.file.url,
79601 t1 = _this._evaluate0$_modules,
79602 alreadyLoaded = t1.$index(0, url);
79603 if (alreadyLoaded != null) {
79604 t1 = configuration == null;
79605 currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
79606 if (currentConfiguration instanceof A.ExplicitConfiguration0) {
79607 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
79608 t2 = _this._evaluate0$_moduleNodes.$index(0, url);
79609 existingSpan = t2 == null ? null : J.get$span$z(t2);
79610 if (t1) {
79611 t1 = currentConfiguration.nodeWithSpan;
79612 configurationSpan = t1.get$span(t1);
79613 } else
79614 configurationSpan = null;
79615 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
79616 if (existingSpan != null)
79617 t1.$indexSet(0, existingSpan, "original load");
79618 if (configurationSpan != null)
79619 t1.$indexSet(0, configurationSpan, "configuration");
79620 throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
79621 }
79622 return alreadyLoaded;
79623 }
79624 environment = A.Environment$0();
79625 css = A._Cell$();
79626 extensionStore = A.ExtensionStore$0();
79627 _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css));
79628 module = environment.toModule$2(css._readLocal$0(), extensionStore);
79629 if (url != null) {
79630 t1.$indexSet(0, url, module);
79631 if (nodeWithSpan != null)
79632 _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
79633 }
79634 return module;
79635 },
79636 _evaluate0$_execute$2(importer, stylesheet) {
79637 return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
79638 },
79639 _evaluate0$_addOutOfOrderImports$0() {
79640 var t1, t2, _this = this, _s5_ = "_root",
79641 _s13_ = "_endOfImports",
79642 outOfOrderImports = _this._evaluate0$_outOfOrderImports;
79643 if (outOfOrderImports == null)
79644 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
79645 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
79646 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);
79647 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
79648 t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
79649 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
79650 return t1;
79651 },
79652 _evaluate0$_combineCss$2$clone(root, clone) {
79653 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
79654 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
79655 selectors = root.get$extensionStore().get$simpleSelectors();
79656 unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
79657 if (unsatisfiedExtension != null)
79658 _this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
79659 return root.get$css(root);
79660 }
79661 sortedModules = _this._evaluate0$_topologicalModules$1(root);
79662 if (clone) {
79663 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<Callable0>>");
79664 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure7(), t1), true, t1._eval$1("ListIterable.E"));
79665 }
79666 _this._evaluate0$_extendModules$1(sortedModules);
79667 t1 = type$.JSArray_CssNode_2;
79668 imports = A._setArrayType([], t1);
79669 css = A._setArrayType([], t1);
79670 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
79671 t3 = t2._as(t1.__internal$_current);
79672 t3 = t3.get$css(t3);
79673 statements = t3.get$children(t3);
79674 index = _this._evaluate0$_indexAfterImports$1(statements);
79675 t3 = J.getInterceptor$ax(statements);
79676 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
79677 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
79678 }
79679 t1 = B.JSArray_methods.$add(imports, css);
79680 t2 = root.get$css(root);
79681 return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
79682 },
79683 _evaluate0$_combineCss$1(root) {
79684 return this._evaluate0$_combineCss$2$clone(root, false);
79685 },
79686 _evaluate0$_extendModules$1(sortedModules) {
79687 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
79688 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
79689 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
79690 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
79691 t2 = t1.get$current(t1);
79692 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
79693 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
79694 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
79695 t3 = t2.get$extensionStore().get$addExtensions();
79696 if ($self != null)
79697 t3.call$1($self);
79698 t3 = t2.get$extensionStore();
79699 if (t3.get$isEmpty(t3))
79700 continue;
79701 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
79702 upstream = t3[_i];
79703 url = upstream.get$url(upstream);
79704 if (url == null)
79705 continue;
79706 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure4()), t2.get$extensionStore());
79707 }
79708 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
79709 }
79710 if (unsatisfiedExtensions._collection$_length !== 0)
79711 this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
79712 },
79713 _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
79714 throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
79715 },
79716 _evaluate0$_topologicalModules$1(root) {
79717 var t1 = type$.Module_Callable_2,
79718 sorted = A.QueueList$(null, t1);
79719 new A._EvaluateVisitor__topologicalModules_visitModule1(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
79720 return sorted;
79721 },
79722 _evaluate0$_indexAfterImports$1(statements) {
79723 var t1, t2, t3, lastImport, i, statement;
79724 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
79725 statement = t1.$index(statements, i);
79726 if (t3._is(statement))
79727 lastImport = i;
79728 else if (!t2._is(statement))
79729 break;
79730 }
79731 return lastImport + 1;
79732 },
79733 visitStylesheet$1(node) {
79734 var t1, t2, _i;
79735 for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
79736 t1[_i].accept$1(this);
79737 return null;
79738 },
79739 visitAtRootRule$1(node) {
79740 var t1, grandparent, root, innerCopy, t2, outerCopy, copy, _this = this,
79741 _s8_ = "__parent",
79742 unparsedQuery = node.query,
79743 query = unparsedQuery != null ? _this._evaluate0$_adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure5(_this, _this._evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS0,
79744 $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
79745 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
79746 for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
79747 if (!query.excludes$1($parent))
79748 included.push($parent);
79749 grandparent = $parent._node1$_parent;
79750 if (grandparent == null)
79751 throw A.wrapException(A.StateError$(string$.CssNod));
79752 }
79753 root = _this._evaluate0$_trimIncluded$1(included);
79754 if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
79755 _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure6(_this, node), node.hasDeclarations, type$.Null);
79756 return null;
79757 }
79758 if (included.length !== 0) {
79759 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
79760 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) {
79761 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
79762 copy.addChild$1(outerCopy);
79763 }
79764 root.addChild$1(outerCopy);
79765 } else
79766 innerCopy = root;
79767 _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure7(_this, node));
79768 return null;
79769 },
79770 _evaluate0$_trimIncluded$1(nodes) {
79771 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
79772 _s22_ = " to be an ancestor of ";
79773 if (nodes.length === 0)
79774 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
79775 $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
79776 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
79777 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
79778 grandparent = $parent._node1$_parent;
79779 if (grandparent == null)
79780 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
79781 }
79782 if (innermostContiguous == null)
79783 innermostContiguous = i;
79784 grandparent = $parent._node1$_parent;
79785 if (grandparent == null)
79786 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
79787 }
79788 if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
79789 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
79790 innermostContiguous.toString;
79791 root = nodes[innermostContiguous];
79792 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
79793 return root;
79794 },
79795 _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
79796 var _this = this,
79797 scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
79798 t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
79799 if (t1 !== query.include)
79800 scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
79801 if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
79802 scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
79803 if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
79804 scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
79805 return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
79806 },
79807 visitContentBlock$1(node) {
79808 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
79809 },
79810 visitContentRule$1(node) {
79811 var $content = this._evaluate0$_environment._environment0$_content;
79812 if ($content == null)
79813 return null;
79814 this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
79815 return null;
79816 },
79817 visitDebugRule$1(node) {
79818 var value = node.expression.accept$1(this),
79819 t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
79820 this._evaluate0$_logger.debug$2(0, t1, node.span);
79821 return null;
79822 },
79823 visitDeclaration$1(node) {
79824 var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
79825 if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
79826 throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
79827 t1 = node.name;
79828 $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
79829 t2 = _this._evaluate0$_declarationName;
79830 if (t2 != null)
79831 $name = new A.CssValue0(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
79832 t2 = node.value;
79833 cssValue = A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure3(_this));
79834 t3 = cssValue != null;
79835 if (t3)
79836 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
79837 else
79838 t4 = false;
79839 if (t4) {
79840 t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
79841 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
79842 if (_this._evaluate0$_sourceMap) {
79843 t2 = A.NullableExtension_andThen0(t2, _this.get$_evaluate0$_expressionNode());
79844 t2 = t2 == null ? _null : J.get$span$z(t2);
79845 } else
79846 t2 = _null;
79847 t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
79848 } else if (J.startsWith$1$s($name.value, "--") && t3)
79849 throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
79850 children = node.children;
79851 if (children != null) {
79852 oldDeclarationName = _this._evaluate0$_declarationName;
79853 _this._evaluate0$_declarationName = $name.value;
79854 _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure4(_this, children), node.hasDeclarations, type$.Null);
79855 _this._evaluate0$_declarationName = oldDeclarationName;
79856 }
79857 return _null;
79858 },
79859 visitEachRule$1(node) {
79860 var _this = this,
79861 t1 = node.list,
79862 list = t1.accept$1(_this),
79863 nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
79864 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure5(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure6(_this, node, nodeWithSpan);
79865 return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, setVariables, node), true, type$.nullable_Value_2);
79866 },
79867 _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
79868 var i,
79869 list = value.get$asList(),
79870 t1 = variables.length,
79871 minLength = Math.min(t1, list.length);
79872 for (i = 0; i < minLength; ++i)
79873 this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
79874 for (i = minLength; i < t1; ++i)
79875 this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
79876 },
79877 visitErrorRule$1(node) {
79878 throw A.wrapException(this._evaluate0$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
79879 },
79880 visitExtendRule$1(node) {
79881 var targetText, t1, t2, t3, _i, t4, _this = this,
79882 styleRule = _this._evaluate0$_atRootExcludingStyleRule ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
79883 if (styleRule == null || _this._evaluate0$_declarationName != null)
79884 throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
79885 targetText = _this._evaluate0$_interpolationToValue$2$warnForColor(node.selector, true);
79886 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) {
79887 t4 = t1[_i].components;
79888 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector0))
79889 throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.span));
79890 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
79891 if (t4.length !== 1)
79892 throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
79893 _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, _this._evaluate0$_mediaQueries);
79894 }
79895 return null;
79896 },
79897 visitAtRule$1(node) {
79898 var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
79899 if (_this._evaluate0$_declarationName != null)
79900 throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
79901 $name = _this._evaluate0$_interpolationToValue$1(node.name);
79902 value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
79903 children = node.children;
79904 if (children == null) {
79905 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
79906 return null;
79907 }
79908 wasInKeyframes = _this._evaluate0$_inKeyframes;
79909 wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
79910 if (A.unvendor0($name.value) === "keyframes")
79911 _this._evaluate0$_inKeyframes = true;
79912 else
79913 _this._evaluate0$_inUnknownAtRule = true;
79914 _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);
79915 _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
79916 _this._evaluate0$_inKeyframes = wasInKeyframes;
79917 return null;
79918 },
79919 visitForRule$1(node) {
79920 var _this = this, t1 = {},
79921 t2 = node.from,
79922 fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
79923 t3 = node.to,
79924 toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
79925 from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
79926 to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
79927 direction = from > to ? -1 : 1;
79928 if (from === (!node.isExclusive ? t1.to = to + direction : to))
79929 return null;
79930 return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
79931 },
79932 visitForwardRule$1(node) {
79933 var newConfiguration, t4, _i, variable, $name, _this = this,
79934 _s8_ = "@forward",
79935 oldConfiguration = _this._evaluate0$_configuration,
79936 adjustedConfiguration = oldConfiguration.throughForward$1(node),
79937 t1 = node.configuration,
79938 t2 = t1.length,
79939 t3 = node.url;
79940 if (t2 !== 0) {
79941 newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
79942 _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
79943 t3 = type$.String;
79944 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
79945 for (_i = 0; _i < t2; ++_i) {
79946 variable = t1[_i];
79947 if (!variable.isGuarded)
79948 t4.add$1(0, variable.name);
79949 }
79950 _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
79951 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
79952 for (_i = 0; _i < t2; ++_i)
79953 t3.add$1(0, t1[_i].name);
79954 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) {
79955 $name = t2[_i];
79956 if (!t3.contains$1(0, $name))
79957 if (!t1.get$isEmpty(t1))
79958 t1.remove$1(0, $name);
79959 }
79960 _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
79961 } else {
79962 _this._evaluate0$_configuration = adjustedConfiguration;
79963 _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
79964 _this._evaluate0$_configuration = oldConfiguration;
79965 }
79966 return null;
79967 },
79968 _evaluate0$_addForwardConfiguration$2(configuration, node) {
79969 var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
79970 t1 = configuration._configuration$_values,
79971 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
79972 for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
79973 variable = t2[_i];
79974 if (variable.isGuarded) {
79975 t4 = variable.name;
79976 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
79977 if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
79978 newValues.$indexSet(0, t4, t5);
79979 continue;
79980 }
79981 }
79982 t4 = variable.expression;
79983 variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
79984 newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
79985 }
79986 if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
79987 return new A.ExplicitConfiguration0(node, newValues);
79988 else
79989 return new A.Configuration0(newValues);
79990 },
79991 _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
79992 var t1, t2, t3, t4, _i, $name;
79993 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) {
79994 $name = t2[_i];
79995 if (except.contains$1(0, $name))
79996 continue;
79997 if (!t4.containsKey$1($name))
79998 if (!t1.get$isEmpty(t1))
79999 t1.remove$1(0, $name);
80000 }
80001 },
80002 _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
80003 var t1, entry;
80004 if (!(configuration instanceof A.ExplicitConfiguration0))
80005 return;
80006 t1 = configuration._configuration$_values;
80007 if (t1.get$isEmpty(t1))
80008 return;
80009 t1 = t1.get$entries(t1);
80010 entry = t1.get$first(t1);
80011 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
80012 throw A.wrapException(this._evaluate0$_exception$2(t1, entry.value.configurationSpan));
80013 },
80014 _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
80015 return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
80016 },
80017 visitFunctionRule$1(node) {
80018 var t1 = this._evaluate0$_environment,
80019 t2 = t1.closure$0(),
80020 t3 = this._evaluate0$_inDependency,
80021 t4 = t1._environment0$_functions,
80022 index = t4.length - 1,
80023 t5 = node.name;
80024 t1._environment0$_functionIndices.$indexSet(0, t5, index);
80025 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
80026 return null;
80027 },
80028 visitIfRule$1(node) {
80029 var t1, t2, _i, clauseToCheck, _box_0 = {};
80030 _box_0.clause = node.lastClause;
80031 for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
80032 clauseToCheck = t1[_i];
80033 if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
80034 _box_0.clause = clauseToCheck;
80035 break;
80036 }
80037 }
80038 t1 = _box_0.clause;
80039 if (t1 == null)
80040 return null;
80041 return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure1(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value_2);
80042 },
80043 visitImportRule$1(node) {
80044 var t1, t2, t3, _i, $import;
80045 for (t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0; _i < t2; ++_i) {
80046 $import = t1[_i];
80047 if ($import instanceof A.DynamicImport0)
80048 this._evaluate0$_visitDynamicImport$1($import);
80049 else
80050 this._evaluate0$_visitStaticImport$1(t3._as($import));
80051 }
80052 return null;
80053 },
80054 _evaluate0$_visitDynamicImport$1($import) {
80055 return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
80056 },
80057 _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
80058 var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this;
80059 baseUrl = baseUrl;
80060 try {
80061 _this._evaluate0$_importSpan = span;
80062 importCache = _this._evaluate0$_importCache;
80063 if (importCache != null) {
80064 if (baseUrl == null)
80065 baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").span.file.url;
80066 tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
80067 if (tuple != null) {
80068 isDependency = _this._evaluate0$_inDependency || tuple.item1 !== _this._evaluate0$_importer;
80069 t1 = tuple.item1;
80070 t2 = tuple.item2;
80071 t3 = tuple.item3;
80072 t4 = _this._evaluate0$_quietDeps && isDependency;
80073 stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
80074 if (stylesheet != null) {
80075 _this._evaluate0$_loadedUrls.add$1(0, tuple.item2);
80076 t1 = tuple.item1;
80077 return new A._LoadedStylesheet1(stylesheet, t1, isDependency);
80078 }
80079 }
80080 } else {
80081 result = _this._evaluate0$_importLikeNode$2(url, forImport);
80082 if (result != null) {
80083 t1 = _this._evaluate0$_loadedUrls;
80084 A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
80085 return result;
80086 }
80087 }
80088 if (B.JSString_methods.startsWith$1(url, "package:") && true)
80089 throw A.wrapException(string$.x22packa);
80090 else
80091 throw A.wrapException("Can't find stylesheet to import.");
80092 } catch (exception) {
80093 t1 = A.unwrapException(exception);
80094 if (t1 instanceof A.SassException0) {
80095 error = t1;
80096 stackTrace = A.getTraceFromException(exception);
80097 t1 = error;
80098 t2 = J.getInterceptor$z(t1);
80099 A.throwWithTrace0(_this._evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
80100 } else {
80101 error0 = t1;
80102 stackTrace0 = A.getTraceFromException(exception);
80103 message = null;
80104 try {
80105 message = A._asString(J.get$message$x(error0));
80106 } catch (exception) {
80107 message0 = J.toString$0$(error0);
80108 message = message0;
80109 }
80110 A.throwWithTrace0(_this._evaluate0$_exception$1(message), stackTrace0);
80111 }
80112 } finally {
80113 _this._evaluate0$_importSpan = null;
80114 }
80115 },
80116 _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
80117 return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
80118 },
80119 _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
80120 return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
80121 },
80122 _evaluate0$_importLikeNode$2(originalUrl, forImport) {
80123 var result, isDependency, url, t2, _this = this,
80124 _s11_ = "_stylesheet",
80125 t1 = _this._evaluate0$_nodeImporter;
80126 t1.toString;
80127 result = t1.loadRelative$3(originalUrl, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url, forImport);
80128 if (result != null)
80129 isDependency = _this._evaluate0$_inDependency;
80130 else {
80131 result = t1.load$3(0, originalUrl, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url, forImport);
80132 if (result == null)
80133 return null;
80134 isDependency = true;
80135 }
80136 url = result.item2;
80137 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS0;
80138 t2 = _this._evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : _this._evaluate0$_logger;
80139 return new A._LoadedStylesheet1(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
80140 },
80141 _evaluate0$_visitStaticImport$1($import) {
80142 var t1, _this = this,
80143 _s8_ = "__parent",
80144 _s5_ = "_root",
80145 _s13_ = "_endOfImports",
80146 url = _this._evaluate0$_interpolationToValue$1($import.url),
80147 supports = A.NullableExtension_andThen0($import.supports, new A._EvaluateVisitor__visitStaticImport_closure1(_this)),
80148 node = A.ModifiableCssImport$0(url, $import.span, A.NullableExtension_andThen0($import.media, _this.get$_evaluate0$_visitMediaQueries()), supports);
80149 if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
80150 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
80151 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)) {
80152 _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(node);
80153 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
80154 } else {
80155 t1 = _this._evaluate0$_outOfOrderImports;
80156 (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
80157 }
80158 },
80159 visitIncludeRule$1(node) {
80160 var nodeWithSpan, t1, _this = this,
80161 _s37_ = "Mixin doesn't accept a content block.",
80162 mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure7(_this, node));
80163 if (mixin == null)
80164 throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", node.span));
80165 nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure8(node));
80166 if (mixin instanceof A.BuiltInCallable0) {
80167 if (node.content != null)
80168 throw A.wrapException(_this._evaluate0$_exception$2(_s37_, node.span));
80169 _this._evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
80170 } else if (type$.UserDefinedCallable_Environment_2._is(mixin)) {
80171 t1 = node.content;
80172 if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
80173 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())));
80174 _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);
80175 } else
80176 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
80177 return null;
80178 },
80179 visitMixinRule$1(node) {
80180 var t1 = this._evaluate0$_environment,
80181 t2 = t1.closure$0(),
80182 t3 = this._evaluate0$_inDependency,
80183 t4 = t1._environment0$_mixins,
80184 index = t4.length - 1,
80185 t5 = node.name;
80186 t1._environment0$_mixinIndices.$indexSet(0, t5, index);
80187 J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
80188 return null;
80189 },
80190 visitLoudComment$1(node) {
80191 var t1, _this = this,
80192 _s8_ = "__parent",
80193 _s13_ = "_endOfImports";
80194 if (_this._evaluate0$_inFunction)
80195 return null;
80196 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))
80197 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
80198 t1 = node.text;
80199 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(_this._evaluate0$_performInterpolation$1(t1), t1.span));
80200 return null;
80201 },
80202 visitMediaRule$1(node) {
80203 var queries, mergedQueries, t1, _this = this;
80204 if (_this._evaluate0$_declarationName != null)
80205 throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
80206 queries = _this._evaluate0$_visitMediaQueries$1(node.query);
80207 mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
80208 t1 = mergedQueries == null;
80209 if (!t1 && J.get$isEmpty$asx(mergedQueries))
80210 return null;
80211 t1 = t1 ? queries : mergedQueries;
80212 _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);
80213 return null;
80214 },
80215 _evaluate0$_visitMediaQueries$1(interpolation) {
80216 return this._evaluate0$_adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure1(this, this._evaluate0$_performInterpolation$2$warnForColor(interpolation, true)));
80217 },
80218 _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
80219 var t1, t2, t3, t4, t5, result,
80220 queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
80221 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
80222 t4 = t1.get$current(t1);
80223 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
80224 result = t4.merge$1(t5.get$current(t5));
80225 if (result === B._SingletonCssMediaQueryMergeResult_empty0)
80226 continue;
80227 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
80228 return null;
80229 queries.push(t3._as(result).query);
80230 }
80231 }
80232 return queries;
80233 },
80234 visitReturnRule$1(node) {
80235 var t1 = node.expression;
80236 return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
80237 },
80238 visitSilentComment$1(node) {
80239 return null;
80240 },
80241 visitStyleRule$1(node) {
80242 var t2, selectorText, rule, oldAtRootExcludingStyleRule, _this = this,
80243 _s8_ = "__parent",
80244 t1 = {};
80245 if (_this._evaluate0$_declarationName != null)
80246 throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
80247 t2 = node.selector;
80248 selectorText = _this._evaluate0$_interpolationToValue$3$trim$warnForColor(t2, true, true);
80249 if (_this._evaluate0$_inKeyframes) {
80250 _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);
80251 return null;
80252 }
80253 t1.parsedSelector = _this._evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure16(_this, selectorText));
80254 t1.parsedSelector = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure17(t1, _this));
80255 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);
80256 oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
80257 t1 = _this._evaluate0$_atRootExcludingStyleRule = false;
80258 _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);
80259 _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
80260 if ((oldAtRootExcludingStyleRule ? null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
80261 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80262 t1 = !t1.get$isEmpty(t1);
80263 }
80264 if (t1) {
80265 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80266 t1.get$last(t1).isGroupEnd = true;
80267 }
80268 return null;
80269 },
80270 visitSupportsRule$1(node) {
80271 var t1, _this = this;
80272 if (_this._evaluate0$_declarationName != null)
80273 throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
80274 t1 = node.condition;
80275 _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);
80276 return null;
80277 },
80278 _evaluate0$_visitSupportsCondition$1(condition) {
80279 var t1, oldInSupportsDeclaration, t2, result, _this = this;
80280 if (condition instanceof A.SupportsOperation0) {
80281 t1 = condition.operator;
80282 return _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
80283 } else if (condition instanceof A.SupportsNegation0)
80284 return "not " + _this._evaluate0$_parenthesize$1(condition.condition);
80285 else if (condition instanceof A.SupportsInterpolation0) {
80286 t1 = condition.expression;
80287 return _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
80288 } else if (condition instanceof A.SupportsDeclaration0) {
80289 oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
80290 _this._evaluate0$_inSupportsDeclaration = true;
80291 t1 = condition.name;
80292 t1 = "(" + _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, true) + ":";
80293 t2 = condition.value;
80294 result = t1 + (condition.get$isCustomProperty() ? "" : " ") + _this._evaluate0$_serialize$3$quote(t2.accept$1(_this), t2, true) + ")";
80295 _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
80296 return result;
80297 } else if (condition instanceof A.SupportsFunction0)
80298 return _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
80299 else if (condition instanceof A.SupportsAnything0)
80300 return "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
80301 else
80302 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
80303 },
80304 _evaluate0$_parenthesize$2(condition, operator) {
80305 var t1;
80306 if (!(condition instanceof A.SupportsNegation0))
80307 if (condition instanceof A.SupportsOperation0)
80308 t1 = operator == null || operator !== condition.operator;
80309 else
80310 t1 = false;
80311 else
80312 t1 = true;
80313 if (t1)
80314 return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
80315 else
80316 return this._evaluate0$_visitSupportsCondition$1(condition);
80317 },
80318 _evaluate0$_parenthesize$1(condition) {
80319 return this._evaluate0$_parenthesize$2(condition, null);
80320 },
80321 visitVariableDeclaration$1(node) {
80322 var t1, value, _this = this, _null = null;
80323 if (node.isGuarded) {
80324 if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
80325 t1 = _this._evaluate0$_configuration._configuration$_values;
80326 t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
80327 if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
80328 _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(_this, node, t1));
80329 return _null;
80330 }
80331 }
80332 value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
80333 if (value != null && !value.$eq(0, B.C__SassNull0))
80334 return _null;
80335 }
80336 if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
80337 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.";
80338 _this._evaluate0$_warn$3$deprecation(t1, node.span, true);
80339 }
80340 t1 = node.expression;
80341 _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
80342 return _null;
80343 },
80344 visitUseRule$1(node) {
80345 var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
80346 t1 = node.configuration,
80347 t2 = t1.length;
80348 if (t2 !== 0) {
80349 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
80350 for (_i = 0; _i < t2; ++_i) {
80351 variable = t1[_i];
80352 t3 = variable.expression;
80353 variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
80354 values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
80355 }
80356 configuration = new A.ExplicitConfiguration0(node, values);
80357 } else
80358 configuration = B.Configuration_Map_empty0;
80359 _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
80360 _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
80361 return null;
80362 },
80363 visitWarnRule$1(node) {
80364 var _this = this,
80365 value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
80366 t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression);
80367 _this._evaluate0$_logger.warn$2$trace(0, t1, _this._evaluate0$_stackTrace$1(node.span));
80368 return null;
80369 },
80370 visitWhileRule$1(node) {
80371 return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
80372 },
80373 visitBinaryOperationExpression$1(node) {
80374 return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(this, node));
80375 },
80376 visitValueExpression$1(node) {
80377 return node.value;
80378 },
80379 visitVariableExpression$1(node) {
80380 var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
80381 if (result != null)
80382 return result;
80383 throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
80384 },
80385 visitUnaryOperationExpression$1(node) {
80386 return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
80387 },
80388 visitBooleanExpression$1(node) {
80389 return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
80390 },
80391 visitIfExpression$1(node) {
80392 var condition, t2, ifTrue, ifFalse, result, _this = this,
80393 pair = _this._evaluate0$_evaluateMacroArguments$1(node),
80394 positional = pair.item1,
80395 named = pair.item2,
80396 t1 = J.getInterceptor$asx(positional);
80397 _this._evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
80398 if (t1.get$length(positional) > 0)
80399 condition = t1.$index(positional, 0);
80400 else {
80401 t2 = named.$index(0, "condition");
80402 t2.toString;
80403 condition = t2;
80404 }
80405 if (t1.get$length(positional) > 1)
80406 ifTrue = t1.$index(positional, 1);
80407 else {
80408 t2 = named.$index(0, "if-true");
80409 t2.toString;
80410 ifTrue = t2;
80411 }
80412 if (t1.get$length(positional) > 2)
80413 ifFalse = t1.$index(positional, 2);
80414 else {
80415 t1 = named.$index(0, "if-false");
80416 t1.toString;
80417 ifFalse = t1;
80418 }
80419 result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
80420 return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
80421 },
80422 visitNullExpression$1(node) {
80423 return B.C__SassNull0;
80424 },
80425 visitNumberExpression$1(node) {
80426 var t1 = node.value,
80427 t2 = node.unit;
80428 return t2 == null ? new A.UnitlessSassNumber0(t1, null) : new A.SingleUnitSassNumber0(t2, t1, null);
80429 },
80430 visitParenthesizedExpression$1(node) {
80431 return node.expression.accept$1(this);
80432 },
80433 visitCalculationExpression$1(node) {
80434 var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
80435 t1 = A._setArrayType([], type$.JSArray_Object);
80436 for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
80437 argument = t2[_i];
80438 t1.push(_this._evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6));
80439 }
80440 $arguments = t1;
80441 if (_this._evaluate0$_inSupportsDeclaration)
80442 return new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
80443 try {
80444 switch (t4) {
80445 case "calc":
80446 t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
80447 return t1;
80448 case "min":
80449 t1 = A.SassCalculation_min0($arguments);
80450 return t1;
80451 case "max":
80452 t1 = A.SassCalculation_max0($arguments);
80453 return t1;
80454 case "clamp":
80455 t1 = J.$index$asx($arguments, 0);
80456 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
80457 t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
80458 return t1;
80459 default:
80460 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
80461 throw A.wrapException(t1);
80462 }
80463 } catch (exception) {
80464 t1 = A.unwrapException(exception);
80465 if (t1 instanceof A.SassScriptException0) {
80466 error = t1;
80467 stackTrace = A.getTraceFromException(exception);
80468 _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
80469 A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), stackTrace);
80470 } else
80471 throw exception;
80472 }
80473 },
80474 _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
80475 var i, t1, arg, number1, j, number2;
80476 for (i = 0; t1 = args.length, i < t1; ++i) {
80477 arg = args[i];
80478 if (!(arg instanceof A.SassNumber0))
80479 continue;
80480 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
80481 throw A.wrapException(this._evaluate0$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
80482 }
80483 for (i = 0; i < t1 - 1; ++i) {
80484 number1 = args[i];
80485 if (!(number1 instanceof A.SassNumber0))
80486 continue;
80487 for (j = i + 1; t1 = args.length, j < t1; ++j) {
80488 number2 = args[j];
80489 if (!(number2 instanceof A.SassNumber0))
80490 continue;
80491 if (number1.hasPossiblyCompatibleUnits$1(number2))
80492 continue;
80493 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]))));
80494 }
80495 }
80496 },
80497 _evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
80498 var inner, result, t1, _this = this;
80499 if (node instanceof A.ParenthesizedExpression0) {
80500 inner = node.expression;
80501 result = _this._evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax);
80502 if (inner instanceof A.FunctionExpression0)
80503 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
80504 else
80505 t1 = false;
80506 return t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
80507 } else if (node instanceof A.StringExpression0)
80508 return new A.CalculationInterpolation0(_this._evaluate0$_performInterpolation$1(node.text));
80509 else if (node instanceof A.BinaryOperationExpression0)
80510 return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure1(_this, node, inMinMax));
80511 else {
80512 result = node.accept$1(_this);
80513 if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0)
80514 return result;
80515 if (result instanceof A.SassString0 && !result._string0$_hasQuotes)
80516 return result;
80517 throw A.wrapException(_this._evaluate0$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
80518 }
80519 },
80520 _evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
80521 switch (operator) {
80522 case B.BinaryOperator_AcR2:
80523 return B.CalculationOperator_Iem0;
80524 case B.BinaryOperator_iyO0:
80525 return B.CalculationOperator_uti0;
80526 case B.BinaryOperator_O1M0:
80527 return B.CalculationOperator_Dih0;
80528 case B.BinaryOperator_RTB0:
80529 return B.CalculationOperator_jB60;
80530 default:
80531 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
80532 }
80533 },
80534 visitColorExpression$1(node) {
80535 return node.value;
80536 },
80537 visitListExpression$1(node) {
80538 var t1 = node.contents;
80539 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);
80540 },
80541 visitMapExpression$1(node) {
80542 var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
80543 t1 = type$.Value_2,
80544 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
80545 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
80546 for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
80547 pair = t2[_i];
80548 t4 = pair.item1;
80549 keyValue = t4.accept$1(this);
80550 valueValue = pair.item2.accept$1(this);
80551 if (map.$index(0, keyValue) != null) {
80552 t1 = keyNodes.$index(0, keyValue);
80553 oldValueSpan = t1 == null ? null : t1.get$span(t1);
80554 t1 = J.getInterceptor$z(t4);
80555 t2 = t1.get$span(t4);
80556 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
80557 if (oldValueSpan != null)
80558 t3.$indexSet(0, oldValueSpan, "first key");
80559 throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, this._evaluate0$_stackTrace$1(t1.get$span(t4))));
80560 }
80561 map.$indexSet(0, keyValue, valueValue);
80562 keyNodes.$indexSet(0, keyValue, t4);
80563 }
80564 return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
80565 },
80566 visitFunctionExpression$1(node) {
80567 var oldInFunction, result, _this = this, t1 = {},
80568 $function = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure3(_this, node));
80569 t1.$function = $function;
80570 if ($function == null) {
80571 if (node.namespace != null)
80572 throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
80573 t1.$function = new A.PlainCssCallable0(node.originalName);
80574 }
80575 oldInFunction = _this._evaluate0$_inFunction;
80576 _this._evaluate0$_inFunction = true;
80577 result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure4(t1, _this, node));
80578 _this._evaluate0$_inFunction = oldInFunction;
80579 return result;
80580 },
80581 visitInterpolatedFunctionExpression$1(node) {
80582 var result, _this = this,
80583 t1 = _this._evaluate0$_performInterpolation$1(node.name),
80584 oldInFunction = _this._evaluate0$_inFunction;
80585 _this._evaluate0$_inFunction = true;
80586 result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
80587 _this._evaluate0$_inFunction = oldInFunction;
80588 return result;
80589 },
80590 _evaluate0$_getFunction$2$namespace($name, namespace) {
80591 var local = this._evaluate0$_environment.getFunction$2$namespace($name, namespace);
80592 if (local != null || namespace != null)
80593 return local;
80594 return this._evaluate0$_builtInFunctions.$index(0, $name);
80595 },
80596 _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
80597 var oldCallable, result, _this = this,
80598 evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
80599 $name = callable.declaration.name;
80600 if ($name !== "@content")
80601 $name += "()";
80602 oldCallable = _this._evaluate0$_currentCallable;
80603 _this._evaluate0$_currentCallable = callable;
80604 result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
80605 _this._evaluate0$_currentCallable = oldCallable;
80606 return result;
80607 },
80608 _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
80609 var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
80610 if (callable instanceof A.BuiltInCallable0)
80611 return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
80612 else if (type$.UserDefinedCallable_Environment_2._is(callable))
80613 return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
80614 else if (callable instanceof A.PlainCssCallable0) {
80615 t1 = $arguments.named;
80616 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
80617 throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
80618 t1 = callable.name + "(";
80619 for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
80620 argument = t2[_i];
80621 if (first)
80622 first = false;
80623 else
80624 t1 += ", ";
80625 t1 += _this._evaluate0$_serialize$3$quote(argument.accept$1(_this), argument, true);
80626 }
80627 restArg = $arguments.rest;
80628 if (restArg != null) {
80629 rest = restArg.accept$1(_this);
80630 if (!first)
80631 t1 += ", ";
80632 t1 += _this._evaluate0$_serialize$2(rest, restArg);
80633 }
80634 t1 += A.Primitives_stringFromCharCode(41);
80635 return new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
80636 } else
80637 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
80638 },
80639 _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
80640 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,
80641 evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
80642 oldCallableNode = _this._evaluate0$_callableNode;
80643 _this._evaluate0$_callableNode = nodeWithSpan;
80644 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
80645 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
80646 overload = tuple.item1;
80647 callback = tuple.item2;
80648 _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(overload, evaluated, namedSet));
80649 declaredArguments = overload.$arguments;
80650 for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
80651 argument = declaredArguments[i];
80652 t2 = evaluated.positional;
80653 t3 = evaluated.named.remove$1(0, argument.name);
80654 if (t3 == null) {
80655 t3 = argument.defaultValue;
80656 t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
80657 }
80658 t2.push(t3);
80659 }
80660 if (overload.restArgument != null) {
80661 if (evaluated.positional.length > t1) {
80662 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
80663 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
80664 } else
80665 rest = B.List_empty15;
80666 t1 = evaluated.named;
80667 argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : evaluated.separator);
80668 evaluated.positional.push(argumentList);
80669 } else
80670 argumentList = null;
80671 result = null;
80672 try {
80673 result = callback.call$1(evaluated.positional);
80674 } catch (exception) {
80675 t1 = A.unwrapException(exception);
80676 if (type$.SassRuntimeException_2._is(t1))
80677 throw exception;
80678 else if (t1 instanceof A.MultiSpanSassScriptException0) {
80679 error = t1;
80680 stackTrace = A.getTraceFromException(exception);
80681 t1 = error.message;
80682 t2 = nodeWithSpan.get$span(nodeWithSpan);
80683 t3 = error.primaryLabel;
80684 t4 = error.secondarySpans;
80685 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);
80686 } else if (t1 instanceof A.MultiSpanSassException0) {
80687 error0 = t1;
80688 stackTrace0 = A.getTraceFromException(exception);
80689 t1 = error0._span_exception$_message;
80690 t2 = error0;
80691 t3 = J.getInterceptor$z(t2);
80692 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
80693 t3 = error0.primaryLabel;
80694 t4 = error0.secondarySpans;
80695 t5 = error0;
80696 t6 = J.getInterceptor$z(t5);
80697 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);
80698 } else {
80699 error1 = t1;
80700 stackTrace1 = A.getTraceFromException(exception);
80701 message = null;
80702 try {
80703 message = A._asString(J.get$message$x(error1));
80704 } catch (exception) {
80705 message0 = J.toString$0$(error1);
80706 message = message0;
80707 }
80708 A.throwWithTrace0(_this._evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
80709 }
80710 }
80711 _this._evaluate0$_callableNode = oldCallableNode;
80712 if (argumentList == null)
80713 return result;
80714 t1 = evaluated.named;
80715 if (t1.get$isEmpty(t1))
80716 return result;
80717 if (argumentList._argument_list$_wereKeywordsAccessed)
80718 return result;
80719 t1 = evaluated.named;
80720 t1 = t1.get$keys(t1);
80721 t1 = "No " + A.pluralize0("argument", t1.get$length(t1), null) + " named ";
80722 t2 = evaluated.named;
80723 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))));
80724 },
80725 _evaluate0$_evaluateArguments$1($arguments) {
80726 var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
80727 positional = A._setArrayType([], type$.JSArray_Value_2),
80728 positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
80729 for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
80730 expression = t1[_i];
80731 nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
80732 positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
80733 positionalNodes.push(nodeForSpan);
80734 }
80735 t1 = type$.String;
80736 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
80737 t2 = type$.AstNode_2;
80738 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
80739 for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
80740 t4 = t3.get$current(t3);
80741 t5 = t4.value;
80742 nodeForSpan = _this._evaluate0$_expressionNode$1(t5);
80743 t4 = t4.key;
80744 named.$indexSet(0, t4, _this._evaluate0$_withoutSlash$2(t5.accept$1(_this), nodeForSpan));
80745 namedNodes.$indexSet(0, t4, nodeForSpan);
80746 }
80747 restArgs = $arguments.rest;
80748 if (restArgs == null)
80749 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null0);
80750 rest = restArgs.accept$1(_this);
80751 restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
80752 if (rest instanceof A.SassMap0) {
80753 _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
80754 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
80755 for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
80756 t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
80757 namedNodes.addAll$1(0, t3);
80758 separator = B.ListSeparator_undecided_null0;
80759 } else if (rest instanceof A.SassList0) {
80760 t3 = rest._list1$_contents;
80761 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>")));
80762 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
80763 separator = rest._list1$_separator;
80764 if (rest instanceof A.SassArgumentList0) {
80765 rest._argument_list$_wereKeywordsAccessed = true;
80766 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
80767 }
80768 } else {
80769 positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
80770 positionalNodes.push(restNodeForSpan);
80771 separator = B.ListSeparator_undecided_null0;
80772 }
80773 keywordRestArgs = $arguments.keywordRest;
80774 if (keywordRestArgs == null)
80775 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
80776 keywordRest = keywordRestArgs.accept$1(_this);
80777 keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
80778 if (keywordRest instanceof A.SassMap0) {
80779 _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
80780 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
80781 for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
80782 t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
80783 namedNodes.addAll$1(0, t1);
80784 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
80785 } else
80786 throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
80787 },
80788 _evaluate0$_evaluateMacroArguments$1(invocation) {
80789 var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
80790 t1 = invocation.$arguments,
80791 restArgs_ = t1.rest;
80792 if (restArgs_ == null)
80793 return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80794 t2 = t1.positional;
80795 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
80796 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
80797 rest = restArgs_.accept$1(_this);
80798 restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
80799 if (rest instanceof A.SassMap0)
80800 _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
80801 else if (rest instanceof A.SassList0) {
80802 t2 = rest._list1$_contents;
80803 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>")));
80804 if (rest instanceof A.SassArgumentList0) {
80805 rest._argument_list$_wereKeywordsAccessed = true;
80806 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
80807 }
80808 } else
80809 positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
80810 keywordRestArgs_ = t1.keywordRest;
80811 if (keywordRestArgs_ == null)
80812 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80813 keywordRest = keywordRestArgs_.accept$1(_this);
80814 keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
80815 if (keywordRest instanceof A.SassMap0) {
80816 _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
80817 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80818 } else
80819 throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
80820 },
80821 _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
80822 map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
80823 },
80824 _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
80825 return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
80826 },
80827 _evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
80828 return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1($arguments, positional, named));
80829 },
80830 visitSelectorExpression$1(node) {
80831 var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
80832 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
80833 return t1 == null ? B.C__SassNull0 : t1;
80834 },
80835 visitStringExpression$1(node) {
80836 var t1, _this = this,
80837 oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
80838 _this._evaluate0$_inSupportsDeclaration = false;
80839 t1 = node.text.contents;
80840 t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure1(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
80841 _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
80842 return new A.SassString0(t1, node.hasQuotes);
80843 },
80844 visitCssAtRule$1(node) {
80845 var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
80846 if (_this._evaluate0$_declarationName != null)
80847 throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
80848 if (node.isChildless) {
80849 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
80850 return;
80851 }
80852 wasInKeyframes = _this._evaluate0$_inKeyframes;
80853 wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
80854 t1 = node.name;
80855 if (A.unvendor0(t1.get$value(t1)) === "keyframes")
80856 _this._evaluate0$_inKeyframes = true;
80857 else
80858 _this._evaluate0$_inUnknownAtRule = true;
80859 _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);
80860 _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
80861 _this._evaluate0$_inKeyframes = wasInKeyframes;
80862 },
80863 visitCssComment$1(node) {
80864 var _this = this,
80865 _s8_ = "__parent",
80866 _s13_ = "_endOfImports";
80867 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))
80868 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
80869 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
80870 },
80871 visitCssDeclaration$1(node) {
80872 var t1 = node.name;
80873 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));
80874 },
80875 visitCssImport$1(node) {
80876 var t1, _this = this,
80877 _s8_ = "__parent",
80878 _s5_ = "_root",
80879 _s13_ = "_endOfImports",
80880 modifiableNode = A.ModifiableCssImport$0(node.url, node.span, node.media, node.supports);
80881 if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
80882 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
80883 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)) {
80884 _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
80885 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
80886 } else {
80887 t1 = _this._evaluate0$_outOfOrderImports;
80888 (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
80889 }
80890 },
80891 visitCssKeyframeBlock$1(node) {
80892 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);
80893 },
80894 visitCssMediaRule$1(node) {
80895 var mergedQueries, t1, _this = this;
80896 if (_this._evaluate0$_declarationName != null)
80897 throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
80898 mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
80899 t1 = mergedQueries == null;
80900 if (!t1 && J.get$isEmpty$asx(mergedQueries))
80901 return;
80902 t1 = t1 ? node.queries : mergedQueries;
80903 _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);
80904 },
80905 visitCssStyleRule$1(node) {
80906 var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
80907 _s8_ = "__parent";
80908 if (_this._evaluate0$_declarationName != null)
80909 throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
80910 t1 = _this._evaluate0$_atRootExcludingStyleRule;
80911 styleRule = t1 ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
80912 t2 = node.selector;
80913 t3 = t2.value;
80914 t4 = styleRule == null;
80915 t5 = t4 ? null : styleRule.originalSelector;
80916 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
80917 rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._evaluate0$_mediaQueries), node.span, originalSelector);
80918 oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
80919 _this._evaluate0$_atRootExcludingStyleRule = false;
80920 _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);
80921 _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
80922 if (t4) {
80923 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80924 t1 = !t1.get$isEmpty(t1);
80925 } else
80926 t1 = false;
80927 if (t1) {
80928 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80929 t1.get$last(t1).isGroupEnd = true;
80930 }
80931 },
80932 visitCssStylesheet$1(node) {
80933 var t1;
80934 for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
80935 t1.get$current(t1).accept$1(this);
80936 },
80937 visitCssSupportsRule$1(node) {
80938 var _this = this;
80939 if (_this._evaluate0$_declarationName != null)
80940 throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
80941 _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);
80942 },
80943 _evaluate0$_handleReturn$1$2(list, callback) {
80944 var t1, _i, result;
80945 for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
80946 result = callback.call$1(list[_i]);
80947 if (result != null)
80948 return result;
80949 }
80950 return null;
80951 },
80952 _evaluate0$_handleReturn$2(list, callback) {
80953 return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
80954 },
80955 _evaluate0$_withEnvironment$1$2(environment, callback) {
80956 var result,
80957 oldEnvironment = this._evaluate0$_environment;
80958 this._evaluate0$_environment = environment;
80959 result = callback.call$0();
80960 this._evaluate0$_environment = oldEnvironment;
80961 return result;
80962 },
80963 _evaluate0$_withEnvironment$2(environment, callback) {
80964 return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
80965 },
80966 _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
80967 var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
80968 t1 = trim ? A.trimAscii0(result, true) : result;
80969 return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
80970 },
80971 _evaluate0$_interpolationToValue$1(interpolation) {
80972 return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
80973 },
80974 _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
80975 return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
80976 },
80977 _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
80978 var t1, result, _this = this,
80979 oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
80980 _this._evaluate0$_inSupportsDeclaration = false;
80981 t1 = interpolation.contents;
80982 result = new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure1(_this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
80983 _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
80984 return result;
80985 },
80986 _evaluate0$_performInterpolation$1(interpolation) {
80987 return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
80988 },
80989 _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
80990 return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
80991 },
80992 _evaluate0$_serialize$2(value, nodeWithSpan) {
80993 return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
80994 },
80995 _evaluate0$_expressionNode$1(expression) {
80996 var t1;
80997 if (expression instanceof A.VariableExpression0) {
80998 t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
80999 return t1 == null ? expression : t1;
81000 } else
81001 return expression;
81002 },
81003 _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
81004 var t1, result, _this = this;
81005 _this._evaluate0$_addChild$2$through(node, through);
81006 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
81007 _this._evaluate0$__parent = node;
81008 result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
81009 _this._evaluate0$__parent = t1;
81010 return result;
81011 },
81012 _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
81013 return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
81014 },
81015 _evaluate0$_withParent$2$2(node, callback, $S, $T) {
81016 return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
81017 },
81018 _evaluate0$_addChild$2$through(node, through) {
81019 var grandparent, t1,
81020 $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
81021 if (through != null) {
81022 for (; through.call$1($parent); $parent = grandparent) {
81023 grandparent = $parent._node1$_parent;
81024 if (grandparent == null)
81025 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
81026 }
81027 if ($parent.get$hasFollowingSibling()) {
81028 t1 = $parent._node1$_parent;
81029 t1.toString;
81030 $parent = $parent.copyWithoutChildren$0();
81031 t1.addChild$1($parent);
81032 }
81033 }
81034 $parent.addChild$1(node);
81035 },
81036 _evaluate0$_addChild$1(node) {
81037 return this._evaluate0$_addChild$2$through(node, null);
81038 },
81039 _evaluate0$_withStyleRule$1$2(rule, callback) {
81040 var result,
81041 oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
81042 this._evaluate0$_styleRuleIgnoringAtRoot = rule;
81043 result = callback.call$0();
81044 this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
81045 return result;
81046 },
81047 _evaluate0$_withStyleRule$2(rule, callback) {
81048 return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
81049 },
81050 _evaluate0$_withMediaQueries$1$2(queries, callback) {
81051 var result,
81052 oldMediaQueries = this._evaluate0$_mediaQueries;
81053 this._evaluate0$_mediaQueries = queries;
81054 result = callback.call$0();
81055 this._evaluate0$_mediaQueries = oldMediaQueries;
81056 return result;
81057 },
81058 _evaluate0$_withMediaQueries$2(queries, callback) {
81059 return this._evaluate0$_withMediaQueries$1$2(queries, callback, type$.dynamic);
81060 },
81061 _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
81062 var oldMember, result, _this = this,
81063 t1 = _this._evaluate0$_stack;
81064 t1.push(new A.Tuple2(_this._evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
81065 oldMember = _this._evaluate0$_member;
81066 _this._evaluate0$_member = member;
81067 result = callback.call$0();
81068 _this._evaluate0$_member = oldMember;
81069 t1.pop();
81070 return result;
81071 },
81072 _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
81073 return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
81074 },
81075 _evaluate0$_withoutSlash$2(value, nodeForSpan) {
81076 if (value instanceof A.SassNumber0 && value.asSlash != null)
81077 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);
81078 return value.withoutSlash$0();
81079 },
81080 _evaluate0$_stackFrame$2(member, span) {
81081 return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.file.url, new A._EvaluateVisitor__stackFrame_closure1(this)));
81082 },
81083 _evaluate0$_stackTrace$1(span) {
81084 var _this = this,
81085 t1 = _this._evaluate0$_stack;
81086 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);
81087 if (span != null)
81088 t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
81089 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
81090 },
81091 _evaluate0$_stackTrace$0() {
81092 return this._evaluate0$_stackTrace$1(null);
81093 },
81094 _evaluate0$_warn$3$deprecation(message, span, deprecation) {
81095 var t1, _this = this;
81096 if (_this._evaluate0$_quietDeps)
81097 if (!_this._evaluate0$_inDependency) {
81098 t1 = _this._evaluate0$_currentCallable;
81099 t1 = t1 == null ? null : t1.inDependency;
81100 t1 = t1 === true;
81101 } else
81102 t1 = true;
81103 else
81104 t1 = false;
81105 if (t1)
81106 return;
81107 if (!_this._evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
81108 return;
81109 _this._evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate0$_stackTrace$1(span));
81110 },
81111 _evaluate0$_warn$2(message, span) {
81112 return this._evaluate0$_warn$3$deprecation(message, span, false);
81113 },
81114 _evaluate0$_exception$2(message, span) {
81115 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2) : span;
81116 return new A.SassRuntimeException0(this._evaluate0$_stackTrace$1(span), message, t1);
81117 },
81118 _evaluate0$_exception$1(message) {
81119 return this._evaluate0$_exception$2(message, null);
81120 },
81121 _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
81122 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2);
81123 return new A.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
81124 },
81125 _evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
81126 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
81127 try {
81128 t1 = callback.call$0();
81129 return t1;
81130 } catch (exception) {
81131 t1 = A.unwrapException(exception);
81132 if (t1 instanceof A.SassFormatException0) {
81133 error = t1;
81134 stackTrace = A.getTraceFromException(exception);
81135 t1 = error;
81136 t2 = J.getInterceptor$z(t1);
81137 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
81138 span = nodeWithSpan.get$span(nodeWithSpan);
81139 t1 = span;
81140 t2 = span;
81141 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);
81142 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
81143 t1 = span;
81144 t1 = A.FileLocation$_(t1.file, t1._file$_start);
81145 t3 = error;
81146 t4 = J.getInterceptor$z(t3);
81147 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
81148 t3 = A.FileLocation$_(t3.file, t3._file$_start);
81149 t4 = span;
81150 t4 = A.FileLocation$_(t4.file, t4._file$_start);
81151 t5 = error;
81152 t6 = J.getInterceptor$z(t5);
81153 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
81154 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
81155 A.throwWithTrace0(this._evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
81156 } else
81157 throw exception;
81158 }
81159 },
81160 _evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
81161 return this._evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
81162 },
81163 _evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
81164 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
81165 try {
81166 t1 = callback.call$0();
81167 return t1;
81168 } catch (exception) {
81169 t1 = A.unwrapException(exception);
81170 if (t1 instanceof A.MultiSpanSassScriptException0) {
81171 error = t1;
81172 stackTrace = A.getTraceFromException(exception);
81173 t1 = error.message;
81174 t2 = nodeWithSpan.get$span(nodeWithSpan);
81175 t3 = error.primaryLabel;
81176 t4 = error.secondarySpans;
81177 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);
81178 } else if (t1 instanceof A.SassScriptException0) {
81179 error0 = t1;
81180 stackTrace0 = A.getTraceFromException(exception);
81181 A.throwWithTrace0(this._evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
81182 } else
81183 throw exception;
81184 }
81185 },
81186 _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
81187 return this._evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
81188 },
81189 _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
81190 var error, stackTrace, t1, exception, t2;
81191 try {
81192 t1 = callback.call$0();
81193 return t1;
81194 } catch (exception) {
81195 t1 = A.unwrapException(exception);
81196 if (type$.SassRuntimeException_2._is(t1)) {
81197 error = t1;
81198 stackTrace = A.getTraceFromException(exception);
81199 t1 = J.get$span$z(error);
81200 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"))
81201 throw exception;
81202 t1 = error._span_exception$_message;
81203 t2 = nodeWithSpan.get$span(nodeWithSpan);
81204 A.throwWithTrace0(new A.SassRuntimeException0(this._evaluate0$_stackTrace$0(), t1, t2), stackTrace);
81205 } else
81206 throw exception;
81207 }
81208 },
81209 _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
81210 return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
81211 }
81212 };
81213 A._EvaluateVisitor_closure19.prototype = {
81214 call$1($arguments) {
81215 var module, t2,
81216 t1 = J.getInterceptor$asx($arguments),
81217 variable = t1.$index($arguments, 0).assertString$1("name");
81218 t1 = t1.$index($arguments, 1).get$realNull();
81219 module = t1 == null ? null : t1.assertString$1("module");
81220 t1 = this.$this._evaluate0$_environment;
81221 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
81222 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
81223 },
81224 $signature: 18
81225 };
81226 A._EvaluateVisitor_closure20.prototype = {
81227 call$1($arguments) {
81228 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
81229 t1 = this.$this._evaluate0$_environment;
81230 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
81231 },
81232 $signature: 18
81233 };
81234 A._EvaluateVisitor_closure21.prototype = {
81235 call$1($arguments) {
81236 var module, t2, t3, t4,
81237 t1 = J.getInterceptor$asx($arguments),
81238 variable = t1.$index($arguments, 0).assertString$1("name");
81239 t1 = t1.$index($arguments, 1).get$realNull();
81240 module = t1 == null ? null : t1.assertString$1("module");
81241 t1 = this.$this;
81242 t2 = t1._evaluate0$_environment;
81243 t3 = variable._string0$_text;
81244 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
81245 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;
81246 },
81247 $signature: 18
81248 };
81249 A._EvaluateVisitor_closure22.prototype = {
81250 call$1($arguments) {
81251 var module, t2,
81252 t1 = J.getInterceptor$asx($arguments),
81253 variable = t1.$index($arguments, 0).assertString$1("name");
81254 t1 = t1.$index($arguments, 1).get$realNull();
81255 module = t1 == null ? null : t1.assertString$1("module");
81256 t1 = this.$this._evaluate0$_environment;
81257 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
81258 return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
81259 },
81260 $signature: 18
81261 };
81262 A._EvaluateVisitor_closure23.prototype = {
81263 call$1($arguments) {
81264 var t1 = this.$this._evaluate0$_environment;
81265 if (!t1._environment0$_inMixin)
81266 throw A.wrapException(A.SassScriptException$0(string$.conten));
81267 return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
81268 },
81269 $signature: 18
81270 };
81271 A._EvaluateVisitor_closure24.prototype = {
81272 call$1($arguments) {
81273 var t2, t3, t4,
81274 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
81275 module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
81276 if (module == null)
81277 throw A.wrapException('There is no module with namespace "' + t1 + '".');
81278 t1 = type$.Value_2;
81279 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
81280 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
81281 t4 = t3.get$current(t3);
81282 t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
81283 }
81284 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
81285 },
81286 $signature: 40
81287 };
81288 A._EvaluateVisitor_closure25.prototype = {
81289 call$1($arguments) {
81290 var t2, t3, t4,
81291 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
81292 module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
81293 if (module == null)
81294 throw A.wrapException('There is no module with namespace "' + t1 + '".');
81295 t1 = type$.Value_2;
81296 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
81297 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
81298 t4 = t3.get$current(t3);
81299 t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
81300 }
81301 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
81302 },
81303 $signature: 40
81304 };
81305 A._EvaluateVisitor_closure26.prototype = {
81306 call$1($arguments) {
81307 var module, callable, t2,
81308 t1 = J.getInterceptor$asx($arguments),
81309 $name = t1.$index($arguments, 0).assertString$1("name"),
81310 css = t1.$index($arguments, 1).get$isTruthy();
81311 t1 = t1.$index($arguments, 2).get$realNull();
81312 module = t1 == null ? null : t1.assertString$1("module");
81313 if (css && module != null)
81314 throw A.wrapException(string$.x24css_a);
81315 if (css)
81316 callable = new A.PlainCssCallable0($name._string0$_text);
81317 else {
81318 t1 = this.$this;
81319 t2 = t1._evaluate0$_callableNode;
81320 t2.toString;
81321 callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure7(t1, $name, module));
81322 }
81323 if (callable != null)
81324 return new A.SassFunction0(callable);
81325 throw A.wrapException("Function not found: " + $name.toString$0(0));
81326 },
81327 $signature: 163
81328 };
81329 A._EvaluateVisitor__closure7.prototype = {
81330 call$0() {
81331 var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
81332 t2 = this.module;
81333 t2 = t2 == null ? null : t2._string0$_text;
81334 return this.$this._evaluate0$_getFunction$2$namespace(t1, t2);
81335 },
81336 $signature: 115
81337 };
81338 A._EvaluateVisitor_closure27.prototype = {
81339 call$1($arguments) {
81340 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
81341 t1 = J.getInterceptor$asx($arguments),
81342 $function = t1.$index($arguments, 0),
81343 args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
81344 t1 = this.$this;
81345 t2 = t1._evaluate0$_callableNode;
81346 t2.toString;
81347 t3 = A._setArrayType([], type$.JSArray_Expression_2);
81348 t4 = type$.String;
81349 t5 = type$.Expression_2;
81350 t6 = t2.get$span(t2);
81351 t7 = t2.get$span(t2);
81352 args._argument_list$_wereKeywordsAccessed = true;
81353 t8 = args._argument_list$_keywords;
81354 if (t8.get$isEmpty(t8))
81355 t2 = null;
81356 else {
81357 t9 = type$.Value_2;
81358 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
81359 for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
81360 t11 = t8.get$current(t8);
81361 t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
81362 }
81363 t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
81364 }
81365 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);
81366 if ($function instanceof A.SassString0) {
81367 t2 = string$.Passin + $function.toString$0(0) + "))";
81368 A.EvaluationContext_current0().warn$2$deprecation(0, t2, true);
81369 callableNode = t1._evaluate0$_callableNode;
81370 return t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode)));
81371 }
81372 callable = $function.assertFunction$1("function").callable;
81373 if (type$.Callable_2._is(callable)) {
81374 t2 = t1._evaluate0$_callableNode;
81375 t2.toString;
81376 return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
81377 } else
81378 throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as));
81379 },
81380 $signature: 3
81381 };
81382 A._EvaluateVisitor_closure28.prototype = {
81383 call$1($arguments) {
81384 var withMap, t2, values, configuration,
81385 t1 = J.getInterceptor$asx($arguments),
81386 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
81387 t1 = t1.$index($arguments, 1).get$realNull();
81388 withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
81389 t1 = this.$this;
81390 t2 = t1._evaluate0$_callableNode;
81391 t2.toString;
81392 if (withMap != null) {
81393 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
81394 withMap.forEach$1(0, new A._EvaluateVisitor__closure5(values, t2.get$span(t2), t2));
81395 configuration = new A.ExplicitConfiguration0(t2, values);
81396 } else
81397 configuration = B.Configuration_Map_empty0;
81398 t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure6(t1), t2.get$span(t2).file.url, configuration, true);
81399 t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
81400 },
81401 $signature: 404
81402 };
81403 A._EvaluateVisitor__closure5.prototype = {
81404 call$2(variable, value) {
81405 var t1 = variable.assertString$1("with key"),
81406 $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
81407 t1 = this.values;
81408 if (t1.containsKey$1($name))
81409 throw A.wrapException("The variable $" + $name + " was configured twice.");
81410 t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
81411 },
81412 $signature: 57
81413 };
81414 A._EvaluateVisitor__closure6.prototype = {
81415 call$1(module) {
81416 var t1 = this.$this;
81417 return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
81418 },
81419 $signature: 70
81420 };
81421 A._EvaluateVisitor_run_closure1.prototype = {
81422 call$0() {
81423 var t2, _this = this,
81424 t1 = _this.node,
81425 url = t1.span.file.url;
81426 if (url != null) {
81427 t2 = _this.$this;
81428 t2._evaluate0$_activeModules.$indexSet(0, url, null);
81429 if (!(t2._evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
81430 t2._evaluate0$_loadedUrls.add$1(0, url);
81431 }
81432 t2 = _this.$this;
81433 return new A.EvaluateResult0(t2._evaluate0$_combineCss$1(t2._evaluate0$_execute$2(_this.importer, t1)), t2._evaluate0$_loadedUrls);
81434 },
81435 $signature: 406
81436 };
81437 A._EvaluateVisitor__loadModule_closure3.prototype = {
81438 call$0() {
81439 return this.callback.call$1(this.builtInModule);
81440 },
81441 $signature: 0
81442 };
81443 A._EvaluateVisitor__loadModule_closure4.prototype = {
81444 call$0() {
81445 var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, _this = this,
81446 t1 = _this.$this,
81447 t2 = _this.nodeWithSpan,
81448 result = t1._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
81449 stylesheet = result.stylesheet,
81450 canonicalUrl = stylesheet.span.file.url;
81451 if (canonicalUrl != null && t1._evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
81452 message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
81453 t2 = A.NullableExtension_andThen0(t1._evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t1, message));
81454 throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1(message) : t2);
81455 }
81456 if (canonicalUrl != null)
81457 t1._evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
81458 oldInDependency = t1._evaluate0$_inDependency;
81459 t1._evaluate0$_inDependency = result.isDependency;
81460 module = null;
81461 try {
81462 module = t1._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
81463 } finally {
81464 t1._evaluate0$_activeModules.remove$1(0, canonicalUrl);
81465 t1._evaluate0$_inDependency = oldInDependency;
81466 }
81467 try {
81468 _this.callback.call$1(module);
81469 } catch (exception) {
81470 t2 = A.unwrapException(exception);
81471 if (type$.SassRuntimeException_2._is(t2))
81472 throw exception;
81473 else if (t2 instanceof A.MultiSpanSassException0) {
81474 error = t2;
81475 stackTrace = A.getTraceFromException(exception);
81476 t2 = error._span_exception$_message;
81477 t3 = error;
81478 t4 = J.getInterceptor$z(t3);
81479 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
81480 t4 = error.primaryLabel;
81481 t5 = error.secondarySpans;
81482 t6 = error;
81483 t7 = J.getInterceptor$z(t6);
81484 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);
81485 } else if (t2 instanceof A.SassException0) {
81486 error0 = t2;
81487 stackTrace0 = A.getTraceFromException(exception);
81488 t2 = error0;
81489 t3 = J.getInterceptor$z(t2);
81490 A.throwWithTrace0(t1._evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
81491 } else if (t2 instanceof A.MultiSpanSassScriptException0) {
81492 error1 = t2;
81493 stackTrace1 = A.getTraceFromException(exception);
81494 A.throwWithTrace0(t1._evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
81495 } else if (t2 instanceof A.SassScriptException0) {
81496 error2 = t2;
81497 stackTrace2 = A.getTraceFromException(exception);
81498 A.throwWithTrace0(t1._evaluate0$_exception$1(error2.message), stackTrace2);
81499 } else
81500 throw exception;
81501 }
81502 },
81503 $signature: 1
81504 };
81505 A._EvaluateVisitor__loadModule__closure1.prototype = {
81506 call$1(previousLoad) {
81507 return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
81508 },
81509 $signature: 89
81510 };
81511 A._EvaluateVisitor__execute_closure1.prototype = {
81512 call$0() {
81513 var t3, t4, t5, t6, _this = this,
81514 t1 = _this.$this,
81515 oldImporter = t1._evaluate0$_importer,
81516 oldStylesheet = t1._evaluate0$__stylesheet,
81517 oldRoot = t1._evaluate0$__root,
81518 oldParent = t1._evaluate0$__parent,
81519 oldEndOfImports = t1._evaluate0$__endOfImports,
81520 oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
81521 oldExtensionStore = t1._evaluate0$__extensionStore,
81522 t2 = t1._evaluate0$_atRootExcludingStyleRule,
81523 oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
81524 oldMediaQueries = t1._evaluate0$_mediaQueries,
81525 oldDeclarationName = t1._evaluate0$_declarationName,
81526 oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
81527 oldInKeyframes = t1._evaluate0$_inKeyframes,
81528 oldConfiguration = t1._evaluate0$_configuration;
81529 t1._evaluate0$_importer = _this.importer;
81530 t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
81531 t4 = t3.span;
81532 t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
81533 t1._evaluate0$__endOfImports = 0;
81534 t1._evaluate0$_outOfOrderImports = null;
81535 t1._evaluate0$__extensionStore = _this.extensionStore;
81536 t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
81537 t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
81538 t6 = _this.configuration;
81539 if (t6 != null)
81540 t1._evaluate0$_configuration = t6;
81541 t1.visitStylesheet$1(t3);
81542 t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
81543 _this.css._value = t3;
81544 t1._evaluate0$_importer = oldImporter;
81545 t1._evaluate0$__stylesheet = oldStylesheet;
81546 t1._evaluate0$__root = oldRoot;
81547 t1._evaluate0$__parent = oldParent;
81548 t1._evaluate0$__endOfImports = oldEndOfImports;
81549 t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
81550 t1._evaluate0$__extensionStore = oldExtensionStore;
81551 t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
81552 t1._evaluate0$_mediaQueries = oldMediaQueries;
81553 t1._evaluate0$_declarationName = oldDeclarationName;
81554 t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
81555 t1._evaluate0$_atRootExcludingStyleRule = t2;
81556 t1._evaluate0$_inKeyframes = oldInKeyframes;
81557 t1._evaluate0$_configuration = oldConfiguration;
81558 },
81559 $signature: 1
81560 };
81561 A._EvaluateVisitor__combineCss_closure5.prototype = {
81562 call$1(module) {
81563 return module.get$transitivelyContainsCss();
81564 },
81565 $signature: 117
81566 };
81567 A._EvaluateVisitor__combineCss_closure6.prototype = {
81568 call$1(target) {
81569 return !this.selectors.contains$1(0, target);
81570 },
81571 $signature: 15
81572 };
81573 A._EvaluateVisitor__combineCss_closure7.prototype = {
81574 call$1(module) {
81575 return module.cloneCss$0();
81576 },
81577 $signature: 611
81578 };
81579 A._EvaluateVisitor__extendModules_closure3.prototype = {
81580 call$1(target) {
81581 return !this.originalSelectors.contains$1(0, target);
81582 },
81583 $signature: 15
81584 };
81585 A._EvaluateVisitor__extendModules_closure4.prototype = {
81586 call$0() {
81587 return A._setArrayType([], type$.JSArray_ExtensionStore_2);
81588 },
81589 $signature: 169
81590 };
81591 A._EvaluateVisitor__topologicalModules_visitModule1.prototype = {
81592 call$1(module) {
81593 var t1, t2, t3, _i, upstream;
81594 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
81595 upstream = t1[_i];
81596 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
81597 this.call$1(upstream);
81598 }
81599 this.sorted.addFirst$1(module);
81600 },
81601 $signature: 70
81602 };
81603 A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
81604 call$0() {
81605 var t1 = A.SpanScanner$(this.resolved, null);
81606 return new A.AtRootQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
81607 },
81608 $signature: 135
81609 };
81610 A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
81611 call$0() {
81612 var t1, t2, t3, _i;
81613 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81614 t1[_i].accept$1(t3);
81615 },
81616 $signature: 1
81617 };
81618 A._EvaluateVisitor_visitAtRootRule_closure7.prototype = {
81619 call$0() {
81620 var t1, t2, t3, _i;
81621 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81622 t1[_i].accept$1(t3);
81623 },
81624 $signature: 0
81625 };
81626 A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
81627 call$1(callback) {
81628 var t1 = this.$this,
81629 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
81630 t1._evaluate0$__parent = this.newParent;
81631 t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
81632 t1._evaluate0$__parent = t2;
81633 },
81634 $signature: 26
81635 };
81636 A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
81637 call$1(callback) {
81638 var t1 = this.$this,
81639 oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
81640 t1._evaluate0$_atRootExcludingStyleRule = true;
81641 this.innerScope.call$1(callback);
81642 t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
81643 },
81644 $signature: 26
81645 };
81646 A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
81647 call$1(callback) {
81648 return this.$this._evaluate0$_withMediaQueries$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
81649 },
81650 $signature: 26
81651 };
81652 A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
81653 call$0() {
81654 return this.innerScope.call$1(this.callback);
81655 },
81656 $signature: 1
81657 };
81658 A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
81659 call$1(callback) {
81660 var t1 = this.$this,
81661 wasInKeyframes = t1._evaluate0$_inKeyframes;
81662 t1._evaluate0$_inKeyframes = false;
81663 this.innerScope.call$1(callback);
81664 t1._evaluate0$_inKeyframes = wasInKeyframes;
81665 },
81666 $signature: 26
81667 };
81668 A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
81669 call$1($parent) {
81670 return type$.CssAtRule_2._is($parent);
81671 },
81672 $signature: 171
81673 };
81674 A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
81675 call$1(callback) {
81676 var t1 = this.$this,
81677 wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
81678 t1._evaluate0$_inUnknownAtRule = false;
81679 this.innerScope.call$1(callback);
81680 t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
81681 },
81682 $signature: 26
81683 };
81684 A._EvaluateVisitor_visitContentRule_closure1.prototype = {
81685 call$0() {
81686 var t1, t2, t3, _i;
81687 for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81688 t1[_i].accept$1(t3);
81689 return null;
81690 },
81691 $signature: 1
81692 };
81693 A._EvaluateVisitor_visitDeclaration_closure3.prototype = {
81694 call$1(value) {
81695 return new A.CssValue0(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value_2);
81696 },
81697 $signature: 408
81698 };
81699 A._EvaluateVisitor_visitDeclaration_closure4.prototype = {
81700 call$0() {
81701 var t1, t2, t3, _i;
81702 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81703 t1[_i].accept$1(t3);
81704 },
81705 $signature: 1
81706 };
81707 A._EvaluateVisitor_visitEachRule_closure5.prototype = {
81708 call$1(value) {
81709 var t1 = this.$this,
81710 t2 = this.nodeWithSpan;
81711 return t1._evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._evaluate0$_withoutSlash$2(value, t2), t2);
81712 },
81713 $signature: 54
81714 };
81715 A._EvaluateVisitor_visitEachRule_closure6.prototype = {
81716 call$1(value) {
81717 return this.$this._evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
81718 },
81719 $signature: 54
81720 };
81721 A._EvaluateVisitor_visitEachRule_closure7.prototype = {
81722 call$0() {
81723 var _this = this,
81724 t1 = _this.$this;
81725 return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
81726 },
81727 $signature: 34
81728 };
81729 A._EvaluateVisitor_visitEachRule__closure1.prototype = {
81730 call$1(element) {
81731 var t1;
81732 this.setVariables.call$1(element);
81733 t1 = this.$this;
81734 return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
81735 },
81736 $signature: 218
81737 };
81738 A._EvaluateVisitor_visitEachRule___closure1.prototype = {
81739 call$1(child) {
81740 return child.accept$1(this.$this);
81741 },
81742 $signature: 98
81743 };
81744 A._EvaluateVisitor_visitExtendRule_closure1.prototype = {
81745 call$0() {
81746 return A.SelectorList_SelectorList$parse0(A.trimAscii0(this.targetText.value, true), false, true, this.$this._evaluate0$_logger);
81747 },
81748 $signature: 45
81749 };
81750 A._EvaluateVisitor_visitAtRule_closure5.prototype = {
81751 call$1(value) {
81752 return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
81753 },
81754 $signature: 411
81755 };
81756 A._EvaluateVisitor_visitAtRule_closure6.prototype = {
81757 call$0() {
81758 var t2, t3, _i,
81759 t1 = this.$this,
81760 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81761 if (styleRule == null || t1._evaluate0$_inKeyframes)
81762 for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
81763 t2[_i].accept$1(t1);
81764 else
81765 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);
81766 },
81767 $signature: 1
81768 };
81769 A._EvaluateVisitor_visitAtRule__closure1.prototype = {
81770 call$0() {
81771 var t1, t2, t3, _i;
81772 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81773 t1[_i].accept$1(t3);
81774 },
81775 $signature: 1
81776 };
81777 A._EvaluateVisitor_visitAtRule_closure7.prototype = {
81778 call$1(node) {
81779 return type$.CssStyleRule_2._is(node);
81780 },
81781 $signature: 7
81782 };
81783 A._EvaluateVisitor_visitForRule_closure9.prototype = {
81784 call$0() {
81785 return this.node.from.accept$1(this.$this).assertNumber$0();
81786 },
81787 $signature: 220
81788 };
81789 A._EvaluateVisitor_visitForRule_closure10.prototype = {
81790 call$0() {
81791 return this.node.to.accept$1(this.$this).assertNumber$0();
81792 },
81793 $signature: 220
81794 };
81795 A._EvaluateVisitor_visitForRule_closure11.prototype = {
81796 call$0() {
81797 return this.fromNumber.assertInt$0();
81798 },
81799 $signature: 12
81800 };
81801 A._EvaluateVisitor_visitForRule_closure12.prototype = {
81802 call$0() {
81803 var t1 = this.fromNumber;
81804 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
81805 },
81806 $signature: 12
81807 };
81808 A._EvaluateVisitor_visitForRule_closure13.prototype = {
81809 call$0() {
81810 var i, t3, t4, t5, t6, t7, t8, result, _this = this,
81811 t1 = _this.$this,
81812 t2 = _this.node,
81813 nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
81814 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) {
81815 t7 = t1._evaluate0$_environment;
81816 t8 = t6.get$numeratorUnits(t6);
81817 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
81818 result = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
81819 if (result != null)
81820 return result;
81821 }
81822 return null;
81823 },
81824 $signature: 34
81825 };
81826 A._EvaluateVisitor_visitForRule__closure1.prototype = {
81827 call$1(child) {
81828 return child.accept$1(this.$this);
81829 },
81830 $signature: 98
81831 };
81832 A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
81833 call$1(module) {
81834 this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
81835 },
81836 $signature: 70
81837 };
81838 A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
81839 call$1(module) {
81840 this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
81841 },
81842 $signature: 70
81843 };
81844 A._EvaluateVisitor_visitIfRule_closure1.prototype = {
81845 call$0() {
81846 var t1 = this.$this;
81847 return t1._evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure1(t1));
81848 },
81849 $signature: 34
81850 };
81851 A._EvaluateVisitor_visitIfRule__closure1.prototype = {
81852 call$1(child) {
81853 return child.accept$1(this.$this);
81854 },
81855 $signature: 98
81856 };
81857 A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
81858 call$0() {
81859 var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
81860 t1 = this.$this,
81861 t2 = this.$import,
81862 result = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true),
81863 stylesheet = result.stylesheet,
81864 url = stylesheet.span.file.url;
81865 if (url != null) {
81866 t3 = t1._evaluate0$_activeModules;
81867 if (t3.containsKey$1(url)) {
81868 t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
81869 throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
81870 }
81871 t3.$indexSet(0, url, t2);
81872 }
81873 t2 = stylesheet._stylesheet1$_uses;
81874 t3 = type$.UnmodifiableListView_UseRule_2;
81875 t4 = new A.UnmodifiableListView(t2, t3);
81876 if (t4.get$length(t4) === 0) {
81877 t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81878 t4 = t4.get$length(t4) === 0;
81879 } else
81880 t4 = false;
81881 if (t4) {
81882 oldImporter = t1._evaluate0$_importer;
81883 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
81884 oldInDependency = t1._evaluate0$_inDependency;
81885 t1._evaluate0$_importer = result.importer;
81886 t1._evaluate0$__stylesheet = stylesheet;
81887 t1._evaluate0$_inDependency = result.isDependency;
81888 t1.visitStylesheet$1(stylesheet);
81889 t1._evaluate0$_importer = oldImporter;
81890 t1._evaluate0$__stylesheet = t2;
81891 t1._evaluate0$_inDependency = oldInDependency;
81892 t1._evaluate0$_activeModules.remove$1(0, url);
81893 return;
81894 }
81895 t2 = new A.UnmodifiableListView(t2, t3);
81896 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
81897 t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81898 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
81899 } else
81900 loadsUserDefinedModules = true;
81901 children = A._Cell$();
81902 t2 = t1._evaluate0$_environment;
81903 t3 = type$.String;
81904 t4 = type$.Module_Callable_2;
81905 t5 = type$.AstNode_2;
81906 t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
81907 t7 = t2._environment0$_variables;
81908 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
81909 t8 = t2._environment0$_variableNodes;
81910 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
81911 t9 = t2._environment0$_functions;
81912 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
81913 t10 = t2._environment0$_mixins;
81914 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
81915 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);
81916 t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
81917 module = environment.toDummyModule$0();
81918 t1._evaluate0$_environment.importForwards$1(module);
81919 if (loadsUserDefinedModules) {
81920 if (module.transitivelyContainsCss)
81921 t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
81922 visitor = new A._ImportedCssVisitor1(t1);
81923 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
81924 t2.get$current(t2).accept$1(visitor);
81925 }
81926 t1._evaluate0$_activeModules.remove$1(0, url);
81927 },
81928 $signature: 0
81929 };
81930 A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
81931 call$1(previousLoad) {
81932 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));
81933 },
81934 $signature: 89
81935 };
81936 A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
81937 call$1(rule) {
81938 return rule.url.get$scheme() !== "sass";
81939 },
81940 $signature: 179
81941 };
81942 A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
81943 call$1(rule) {
81944 return rule.url.get$scheme() !== "sass";
81945 },
81946 $signature: 180
81947 };
81948 A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
81949 call$0() {
81950 var t7, t8, t9, _this = this,
81951 t1 = _this.$this,
81952 oldImporter = t1._evaluate0$_importer,
81953 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
81954 t3 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
81955 t4 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
81956 t5 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
81957 oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
81958 oldConfiguration = t1._evaluate0$_configuration,
81959 oldInDependency = t1._evaluate0$_inDependency,
81960 t6 = _this.result;
81961 t1._evaluate0$_importer = t6.importer;
81962 t7 = t1._evaluate0$__stylesheet = _this.stylesheet;
81963 t8 = _this.loadsUserDefinedModules;
81964 if (t8) {
81965 t9 = A.ModifiableCssStylesheet$0(t7.span);
81966 t1._evaluate0$__root = t9;
81967 t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t9, "_root");
81968 t1._evaluate0$__endOfImports = 0;
81969 t1._evaluate0$_outOfOrderImports = null;
81970 }
81971 t1._evaluate0$_inDependency = t6.isDependency;
81972 t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81973 if (!t6.get$isEmpty(t6))
81974 t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
81975 t1.visitStylesheet$1(t7);
81976 t6 = t8 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
81977 _this.children._value = t6;
81978 t1._evaluate0$_importer = oldImporter;
81979 t1._evaluate0$__stylesheet = t2;
81980 if (t8) {
81981 t1._evaluate0$__root = t3;
81982 t1._evaluate0$__parent = t4;
81983 t1._evaluate0$__endOfImports = t5;
81984 t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
81985 }
81986 t1._evaluate0$_configuration = oldConfiguration;
81987 t1._evaluate0$_inDependency = oldInDependency;
81988 },
81989 $signature: 1
81990 };
81991 A._EvaluateVisitor__visitStaticImport_closure1.prototype = {
81992 call$1(supports) {
81993 var t2, t3, arg,
81994 t1 = this.$this;
81995 if (supports instanceof A.SupportsDeclaration0) {
81996 t2 = supports.name;
81997 t2 = t1._evaluate0$_serialize$3$quote(t2.accept$1(t1), t2, true) + ":";
81998 t3 = supports.value;
81999 arg = t2 + (supports.get$isCustomProperty() ? "" : " ") + t1._evaluate0$_serialize$3$quote(t3.accept$1(t1), t3, true);
82000 } else
82001 arg = A.NullableExtension_andThen0(supports, t1.get$_evaluate0$_visitSupportsCondition());
82002 return new A.CssValue0("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String_2);
82003 },
82004 $signature: 413
82005 };
82006 A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
82007 call$0() {
82008 var t1 = this.node;
82009 return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
82010 },
82011 $signature: 115
82012 };
82013 A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
82014 call$0() {
82015 return this.node.get$spanWithoutContent();
82016 },
82017 $signature: 31
82018 };
82019 A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
82020 call$1($content) {
82021 var t1 = this.$this;
82022 return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
82023 },
82024 $signature: 414
82025 };
82026 A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
82027 call$0() {
82028 var _this = this,
82029 t1 = _this.$this,
82030 t2 = t1._evaluate0$_environment,
82031 oldContent = t2._environment0$_content;
82032 t2._environment0$_content = _this.contentCallable;
82033 new A._EvaluateVisitor_visitIncludeRule__closure1(t1, _this.mixin, _this.nodeWithSpan).call$0();
82034 t2._environment0$_content = oldContent;
82035 },
82036 $signature: 1
82037 };
82038 A._EvaluateVisitor_visitIncludeRule__closure1.prototype = {
82039 call$0() {
82040 var t1 = this.$this,
82041 t2 = t1._evaluate0$_environment,
82042 oldInMixin = t2._environment0$_inMixin;
82043 t2._environment0$_inMixin = true;
82044 new A._EvaluateVisitor_visitIncludeRule___closure1(t1, this.mixin, this.nodeWithSpan).call$0();
82045 t2._environment0$_inMixin = oldInMixin;
82046 },
82047 $signature: 0
82048 };
82049 A._EvaluateVisitor_visitIncludeRule___closure1.prototype = {
82050 call$0() {
82051 var t1, t2, t3, t4, _i;
82052 for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
82053 t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure1(t3, t1[_i]));
82054 },
82055 $signature: 0
82056 };
82057 A._EvaluateVisitor_visitIncludeRule____closure1.prototype = {
82058 call$0() {
82059 return this.statement.accept$1(this.$this);
82060 },
82061 $signature: 34
82062 };
82063 A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
82064 call$1(mediaQueries) {
82065 return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
82066 },
82067 $signature: 92
82068 };
82069 A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
82070 call$0() {
82071 var _this = this,
82072 t1 = _this.$this,
82073 t2 = _this.mergedQueries;
82074 if (t2 == null)
82075 t2 = _this.queries;
82076 t1._evaluate0$_withMediaQueries$2(t2, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
82077 },
82078 $signature: 1
82079 };
82080 A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
82081 call$0() {
82082 var t2, t3, _i,
82083 t1 = this.$this,
82084 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
82085 if (styleRule == null)
82086 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
82087 t2[_i].accept$1(t1);
82088 else
82089 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);
82090 },
82091 $signature: 1
82092 };
82093 A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
82094 call$0() {
82095 var t1, t2, t3, _i;
82096 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
82097 t1[_i].accept$1(t3);
82098 },
82099 $signature: 1
82100 };
82101 A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
82102 call$1(node) {
82103 var t1;
82104 if (!type$.CssStyleRule_2._is(node))
82105 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
82106 else
82107 t1 = true;
82108 return t1;
82109 },
82110 $signature: 7
82111 };
82112 A._EvaluateVisitor__visitMediaQueries_closure1.prototype = {
82113 call$0() {
82114 var t1 = A.SpanScanner$(this.resolved, null);
82115 return new A.MediaQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
82116 },
82117 $signature: 132
82118 };
82119 A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
82120 call$0() {
82121 return A.KeyframeSelectorParser$0(this.selectorText.value, this.$this._evaluate0$_logger).parse$0();
82122 },
82123 $signature: 49
82124 };
82125 A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
82126 call$0() {
82127 var t1, t2, t3, _i;
82128 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
82129 t1[_i].accept$1(t3);
82130 },
82131 $signature: 1
82132 };
82133 A._EvaluateVisitor_visitStyleRule_closure15.prototype = {
82134 call$1(node) {
82135 return type$.CssStyleRule_2._is(node);
82136 },
82137 $signature: 7
82138 };
82139 A._EvaluateVisitor_visitStyleRule_closure16.prototype = {
82140 call$0() {
82141 var _s11_ = "_stylesheet",
82142 t1 = this.$this;
82143 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);
82144 },
82145 $signature: 45
82146 };
82147 A._EvaluateVisitor_visitStyleRule_closure17.prototype = {
82148 call$0() {
82149 var t1 = this._box_0.parsedSelector,
82150 t2 = this.$this,
82151 t3 = t2._evaluate0$_styleRuleIgnoringAtRoot;
82152 t3 = t3 == null ? null : t3.originalSelector;
82153 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._evaluate0$_atRootExcludingStyleRule);
82154 },
82155 $signature: 45
82156 };
82157 A._EvaluateVisitor_visitStyleRule_closure18.prototype = {
82158 call$0() {
82159 var t1 = this.$this;
82160 t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
82161 },
82162 $signature: 1
82163 };
82164 A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
82165 call$0() {
82166 var t1, t2, t3, _i;
82167 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
82168 t1[_i].accept$1(t3);
82169 },
82170 $signature: 1
82171 };
82172 A._EvaluateVisitor_visitStyleRule_closure19.prototype = {
82173 call$1(node) {
82174 return type$.CssStyleRule_2._is(node);
82175 },
82176 $signature: 7
82177 };
82178 A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
82179 call$0() {
82180 var t2, t3, _i,
82181 t1 = this.$this,
82182 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
82183 if (styleRule == null)
82184 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
82185 t2[_i].accept$1(t1);
82186 else
82187 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);
82188 },
82189 $signature: 1
82190 };
82191 A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
82192 call$0() {
82193 var t1, t2, t3, _i;
82194 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
82195 t1[_i].accept$1(t3);
82196 },
82197 $signature: 1
82198 };
82199 A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
82200 call$1(node) {
82201 return type$.CssStyleRule_2._is(node);
82202 },
82203 $signature: 7
82204 };
82205 A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
82206 call$0() {
82207 var t1 = this.override;
82208 this.$this._evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
82209 },
82210 $signature: 1
82211 };
82212 A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
82213 call$0() {
82214 var t1 = this.node;
82215 return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
82216 },
82217 $signature: 34
82218 };
82219 A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
82220 call$0() {
82221 var t1 = this.$this,
82222 t2 = this.node;
82223 t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
82224 },
82225 $signature: 1
82226 };
82227 A._EvaluateVisitor_visitUseRule_closure1.prototype = {
82228 call$1(module) {
82229 var t1 = this.node;
82230 this.$this._evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
82231 },
82232 $signature: 70
82233 };
82234 A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
82235 call$0() {
82236 return this.node.expression.accept$1(this.$this);
82237 },
82238 $signature: 46
82239 };
82240 A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
82241 call$0() {
82242 var t1, t2, t3, result;
82243 for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
82244 result = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
82245 if (result != null)
82246 return result;
82247 }
82248 return null;
82249 },
82250 $signature: 34
82251 };
82252 A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
82253 call$1(child) {
82254 return child.accept$1(this.$this);
82255 },
82256 $signature: 98
82257 };
82258 A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
82259 call$0() {
82260 var right, result,
82261 t1 = this.node,
82262 t2 = this.$this,
82263 left = t1.left.accept$1(t2),
82264 t3 = t1.operator;
82265 switch (t3) {
82266 case B.BinaryOperator_kjl0:
82267 right = t1.right.accept$1(t2);
82268 return new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
82269 case B.BinaryOperator_or_or_10:
82270 return left.get$isTruthy() ? left : t1.right.accept$1(t2);
82271 case B.BinaryOperator_and_and_20:
82272 return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
82273 case B.BinaryOperator_YlX0:
82274 return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
82275 case B.BinaryOperator_i5H0:
82276 return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
82277 case B.BinaryOperator_AcR1:
82278 return left.greaterThan$1(t1.right.accept$1(t2));
82279 case B.BinaryOperator_1da0:
82280 return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
82281 case B.BinaryOperator_8qt0:
82282 return left.lessThan$1(t1.right.accept$1(t2));
82283 case B.BinaryOperator_33h0:
82284 return left.lessThanOrEquals$1(t1.right.accept$1(t2));
82285 case B.BinaryOperator_AcR2:
82286 return left.plus$1(t1.right.accept$1(t2));
82287 case B.BinaryOperator_iyO0:
82288 return left.minus$1(t1.right.accept$1(t2));
82289 case B.BinaryOperator_O1M0:
82290 return left.times$1(t1.right.accept$1(t2));
82291 case B.BinaryOperator_RTB0:
82292 right = t1.right.accept$1(t2);
82293 result = left.dividedBy$1(right);
82294 if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
82295 return type$.SassNumber_2._as(result).withSlash$2(left, right);
82296 else {
82297 if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
82298 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);
82299 return result;
82300 }
82301 case B.BinaryOperator_2ad0:
82302 return left.modulo$1(t1.right.accept$1(t2));
82303 default:
82304 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
82305 }
82306 },
82307 $signature: 46
82308 };
82309 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1.prototype = {
82310 call$1(expression) {
82311 if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_RTB0)
82312 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
82313 else if (expression instanceof A.ParenthesizedExpression0)
82314 return expression.expression.toString$0(0);
82315 else
82316 return expression.toString$0(0);
82317 },
82318 $signature: 130
82319 };
82320 A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
82321 call$0() {
82322 var t1 = this.node;
82323 return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
82324 },
82325 $signature: 34
82326 };
82327 A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
82328 call$0() {
82329 var _this = this,
82330 t1 = _this.node.operator;
82331 switch (t1) {
82332 case B.UnaryOperator_j2w0:
82333 return _this.operand.unaryPlus$0();
82334 case B.UnaryOperator_U4G0:
82335 return _this.operand.unaryMinus$0();
82336 case B.UnaryOperator_zDx0:
82337 return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
82338 case B.UnaryOperator_not_not0:
82339 return _this.operand.unaryNot$0();
82340 default:
82341 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
82342 }
82343 },
82344 $signature: 46
82345 };
82346 A._EvaluateVisitor__visitCalculationValue_closure1.prototype = {
82347 call$0() {
82348 var t1 = this.$this,
82349 t2 = this.node,
82350 t3 = this.inMinMax;
82351 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, !t1._evaluate0$_inSupportsDeclaration);
82352 },
82353 $signature: 86
82354 };
82355 A._EvaluateVisitor_visitListExpression_closure1.prototype = {
82356 call$1(expression) {
82357 return expression.accept$1(this.$this);
82358 },
82359 $signature: 415
82360 };
82361 A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
82362 call$0() {
82363 var t1 = this.node;
82364 return this.$this._evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
82365 },
82366 $signature: 115
82367 };
82368 A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
82369 call$0() {
82370 var t1 = this.node;
82371 return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
82372 },
82373 $signature: 46
82374 };
82375 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
82376 call$0() {
82377 var t1 = this.node;
82378 return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
82379 },
82380 $signature: 46
82381 };
82382 A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
82383 call$0() {
82384 var _this = this,
82385 t1 = _this.$this,
82386 t2 = _this.callable;
82387 return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
82388 },
82389 $signature() {
82390 return this.V._eval$1("0()");
82391 }
82392 };
82393 A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
82394 call$0() {
82395 var _this = this,
82396 t1 = _this.$this,
82397 t2 = _this.V;
82398 return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
82399 },
82400 $signature() {
82401 return this.V._eval$1("0()");
82402 }
82403 };
82404 A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
82405 call$0() {
82406 var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, argumentWord, argumentNames, _this = this,
82407 t1 = _this.$this,
82408 t2 = _this.evaluated,
82409 t3 = t2.positional,
82410 t4 = t2.named,
82411 t5 = _this.callable.declaration.$arguments,
82412 t6 = _this.nodeWithSpan;
82413 t1._evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
82414 declaredArguments = t5.$arguments;
82415 t7 = declaredArguments.length;
82416 minLength = Math.min(t3.length, t7);
82417 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
82418 t1._evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
82419 for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
82420 argument = declaredArguments[i];
82421 t9 = argument.name;
82422 value = t4.remove$1(0, t9);
82423 if (value == null) {
82424 t10 = argument.defaultValue;
82425 value = t1._evaluate0$_withoutSlash$2(t10.accept$1(t1), t1._evaluate0$_expressionNode$1(t10));
82426 }
82427 t10 = t1._evaluate0$_environment;
82428 t11 = t8.$index(0, t9);
82429 if (t11 == null) {
82430 t11 = argument.defaultValue;
82431 t11.toString;
82432 t11 = t1._evaluate0$_expressionNode$1(t11);
82433 }
82434 t10.setLocalVariable$3(t9, value, t11);
82435 }
82436 restArgument = t5.restArgument;
82437 if (restArgument != null) {
82438 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty15;
82439 t2 = t2.separator;
82440 argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : t2);
82441 t1._evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
82442 } else
82443 argumentList = null;
82444 result = _this.run.call$0();
82445 if (argumentList == null)
82446 return result;
82447 if (t4.get$isEmpty(t4))
82448 return result;
82449 if (argumentList._argument_list$_wereKeywordsAccessed)
82450 return result;
82451 t2 = t4.get$keys(t4);
82452 argumentWord = A.pluralize0("argument", t2.get$length(t2), null);
82453 t4 = t4.get$keys(t4);
82454 argumentNames = A.toSentence0(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure1(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
82455 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))));
82456 },
82457 $signature() {
82458 return this.V._eval$1("0()");
82459 }
82460 };
82461 A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
82462 call$1($name) {
82463 return "$" + $name;
82464 },
82465 $signature: 5
82466 };
82467 A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
82468 call$0() {
82469 var t1, t2, t3, t4, _i, $returnValue;
82470 for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
82471 $returnValue = t2[_i].accept$1(t4);
82472 if ($returnValue instanceof A.Value0)
82473 return $returnValue;
82474 }
82475 throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
82476 },
82477 $signature: 46
82478 };
82479 A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
82480 call$0() {
82481 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
82482 },
82483 $signature: 0
82484 };
82485 A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
82486 call$1($name) {
82487 return "$" + $name;
82488 },
82489 $signature: 5
82490 };
82491 A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
82492 call$1(value) {
82493 return value;
82494 },
82495 $signature: 39
82496 };
82497 A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
82498 call$1(value) {
82499 return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
82500 },
82501 $signature: 39
82502 };
82503 A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
82504 call$2(key, value) {
82505 var _this = this,
82506 t1 = _this.restNodeForSpan;
82507 _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
82508 _this.namedNodes.$indexSet(0, key, t1);
82509 },
82510 $signature: 94
82511 };
82512 A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
82513 call$1(value) {
82514 return value;
82515 },
82516 $signature: 39
82517 };
82518 A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
82519 call$1(value) {
82520 var t1 = this.restArgs;
82521 return new A.ValueExpression0(value, t1.get$span(t1));
82522 },
82523 $signature: 52
82524 };
82525 A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
82526 call$1(value) {
82527 var t1 = this.restArgs;
82528 return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
82529 },
82530 $signature: 52
82531 };
82532 A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
82533 call$2(key, value) {
82534 var _this = this,
82535 t1 = _this.restArgs;
82536 _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
82537 },
82538 $signature: 94
82539 };
82540 A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
82541 call$1(value) {
82542 var t1 = this.keywordRestArgs;
82543 return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
82544 },
82545 $signature: 52
82546 };
82547 A._EvaluateVisitor__addRestMap_closure1.prototype = {
82548 call$2(key, value) {
82549 var t2, _this = this,
82550 t1 = _this.$this;
82551 if (key instanceof A.SassString0)
82552 _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
82553 else {
82554 t2 = _this.nodeWithSpan;
82555 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)));
82556 }
82557 },
82558 $signature: 57
82559 };
82560 A._EvaluateVisitor__verifyArguments_closure1.prototype = {
82561 call$0() {
82562 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
82563 },
82564 $signature: 0
82565 };
82566 A._EvaluateVisitor_visitStringExpression_closure1.prototype = {
82567 call$1(value) {
82568 var t1, result;
82569 if (typeof value == "string")
82570 return value;
82571 type$.Expression_2._as(value);
82572 t1 = this.$this;
82573 result = value.accept$1(t1);
82574 return result instanceof A.SassString0 ? result._string0$_text : t1._evaluate0$_serialize$3$quote(result, value, false);
82575 },
82576 $signature: 47
82577 };
82578 A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
82579 call$0() {
82580 var t1, t2, t3;
82581 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();)
82582 t2._as(t1.__internal$_current).accept$1(t3);
82583 },
82584 $signature: 1
82585 };
82586 A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
82587 call$1(node) {
82588 return type$.CssStyleRule_2._is(node);
82589 },
82590 $signature: 7
82591 };
82592 A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
82593 call$0() {
82594 var t1, t2, t3;
82595 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();)
82596 t2._as(t1.__internal$_current).accept$1(t3);
82597 },
82598 $signature: 1
82599 };
82600 A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
82601 call$1(node) {
82602 return type$.CssStyleRule_2._is(node);
82603 },
82604 $signature: 7
82605 };
82606 A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
82607 call$1(mediaQueries) {
82608 return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
82609 },
82610 $signature: 92
82611 };
82612 A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
82613 call$0() {
82614 var _this = this,
82615 t1 = _this.$this,
82616 t2 = _this.mergedQueries;
82617 if (t2 == null)
82618 t2 = _this.node.queries;
82619 t1._evaluate0$_withMediaQueries$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
82620 },
82621 $signature: 1
82622 };
82623 A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
82624 call$0() {
82625 var t2, t3,
82626 t1 = this.$this,
82627 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
82628 if (styleRule == null)
82629 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
82630 t3._as(t2.__internal$_current).accept$1(t1);
82631 else
82632 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);
82633 },
82634 $signature: 1
82635 };
82636 A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
82637 call$0() {
82638 var t1, t2, t3;
82639 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();)
82640 t2._as(t1.__internal$_current).accept$1(t3);
82641 },
82642 $signature: 1
82643 };
82644 A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
82645 call$1(node) {
82646 var t1;
82647 if (!type$.CssStyleRule_2._is(node))
82648 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
82649 else
82650 t1 = true;
82651 return t1;
82652 },
82653 $signature: 7
82654 };
82655 A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
82656 call$0() {
82657 var t1 = this.$this;
82658 t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
82659 },
82660 $signature: 1
82661 };
82662 A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
82663 call$0() {
82664 var t1, t2, t3;
82665 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();)
82666 t2._as(t1.__internal$_current).accept$1(t3);
82667 },
82668 $signature: 1
82669 };
82670 A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
82671 call$1(node) {
82672 return type$.CssStyleRule_2._is(node);
82673 },
82674 $signature: 7
82675 };
82676 A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
82677 call$0() {
82678 var t2, t3,
82679 t1 = this.$this,
82680 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
82681 if (styleRule == null)
82682 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
82683 t3._as(t2.__internal$_current).accept$1(t1);
82684 else
82685 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);
82686 },
82687 $signature: 1
82688 };
82689 A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
82690 call$0() {
82691 var t1, t2, t3;
82692 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();)
82693 t2._as(t1.__internal$_current).accept$1(t3);
82694 },
82695 $signature: 1
82696 };
82697 A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
82698 call$1(node) {
82699 return type$.CssStyleRule_2._is(node);
82700 },
82701 $signature: 7
82702 };
82703 A._EvaluateVisitor__performInterpolation_closure1.prototype = {
82704 call$1(value) {
82705 var t1, result, t2, t3;
82706 if (typeof value == "string")
82707 return value;
82708 type$.Expression_2._as(value);
82709 t1 = this.$this;
82710 result = value.accept$1(t1);
82711 if (this.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
82712 t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
82713 t3 = $.$get$namesByColor0();
82714 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));
82715 }
82716 return t1._evaluate0$_serialize$3$quote(result, value, false);
82717 },
82718 $signature: 47
82719 };
82720 A._EvaluateVisitor__serialize_closure1.prototype = {
82721 call$0() {
82722 return A.serializeValue0(this.value, false, this.quote);
82723 },
82724 $signature: 30
82725 };
82726 A._EvaluateVisitor__expressionNode_closure1.prototype = {
82727 call$0() {
82728 var t1 = this.expression;
82729 return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
82730 },
82731 $signature: 190
82732 };
82733 A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
82734 call$1(number) {
82735 var asSlash = number.asSlash;
82736 if (asSlash != null)
82737 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
82738 else
82739 return A.serializeValue0(number, true, true);
82740 },
82741 $signature: 191
82742 };
82743 A._EvaluateVisitor__stackFrame_closure1.prototype = {
82744 call$1(url) {
82745 var t1 = this.$this._evaluate0$_importCache;
82746 t1 = t1 == null ? null : t1.humanize$1(url);
82747 return t1 == null ? url : t1;
82748 },
82749 $signature: 84
82750 };
82751 A._EvaluateVisitor__stackTrace_closure1.prototype = {
82752 call$1(tuple) {
82753 return this.$this._evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
82754 },
82755 $signature: 192
82756 };
82757 A._ImportedCssVisitor1.prototype = {
82758 visitCssAtRule$1(node) {
82759 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
82760 this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
82761 },
82762 visitCssComment$1(node) {
82763 return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
82764 },
82765 visitCssDeclaration$1(node) {
82766 },
82767 visitCssImport$1(node) {
82768 var t2,
82769 _s13_ = "_endOfImports",
82770 t1 = this._evaluate0$_visitor;
82771 if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
82772 t1._evaluate0$_addChild$1(node);
82773 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)) {
82774 t1._evaluate0$_addChild$1(node);
82775 t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
82776 } else {
82777 t2 = t1._evaluate0$_outOfOrderImports;
82778 (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
82779 }
82780 },
82781 visitCssKeyframeBlock$1(node) {
82782 },
82783 visitCssMediaRule$1(node) {
82784 var t1 = this._evaluate0$_visitor,
82785 mediaQueries = t1._evaluate0$_mediaQueries;
82786 t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
82787 },
82788 visitCssStyleRule$1(node) {
82789 return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
82790 },
82791 visitCssStylesheet$1(node) {
82792 var t1, t2;
82793 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
82794 t2._as(t1.__internal$_current).accept$1(this);
82795 },
82796 visitCssSupportsRule$1(node) {
82797 return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
82798 }
82799 };
82800 A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
82801 call$1(node) {
82802 return type$.CssStyleRule_2._is(node);
82803 },
82804 $signature: 7
82805 };
82806 A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
82807 call$1(node) {
82808 var t1;
82809 if (!type$.CssStyleRule_2._is(node))
82810 t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
82811 else
82812 t1 = true;
82813 return t1;
82814 },
82815 $signature: 7
82816 };
82817 A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
82818 call$1(node) {
82819 return type$.CssStyleRule_2._is(node);
82820 },
82821 $signature: 7
82822 };
82823 A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
82824 call$1(node) {
82825 return type$.CssStyleRule_2._is(node);
82826 },
82827 $signature: 7
82828 };
82829 A._EvaluationContext1.prototype = {
82830 get$currentCallableSpan() {
82831 var callableNode = this._evaluate0$_visitor._evaluate0$_callableNode;
82832 if (callableNode != null)
82833 return callableNode.get$span(callableNode);
82834 throw A.wrapException(A.StateError$(string$.No_Sasc));
82835 },
82836 warn$2$deprecation(_, message, deprecation) {
82837 var t1 = this._evaluate0$_visitor,
82838 t2 = t1._evaluate0$_importSpan;
82839 if (t2 == null) {
82840 t2 = t1._evaluate0$_callableNode;
82841 t2 = t2 == null ? null : t2.get$span(t2);
82842 }
82843 t1._evaluate0$_warn$3$deprecation(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
82844 },
82845 $isEvaluationContext0: 1
82846 };
82847 A._ArgumentResults1.prototype = {};
82848 A._LoadedStylesheet1.prototype = {};
82849 A._NodeException.prototype = {};
82850 A.exceptionClass_closure.prototype = {
82851 call$0() {
82852 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());
82853 A.defineGetter(jsClass, "name", null, "sass.Exception");
82854 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));
82855 return jsClass;
82856 },
82857 $signature: 25
82858 };
82859 A.exceptionClass__closure.prototype = {
82860 call$1(exception) {
82861 return J.get$_dartException$x(exception)._span_exception$_message;
82862 },
82863 $signature: 221
82864 };
82865 A.exceptionClass__closure0.prototype = {
82866 call$1(exception) {
82867 return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
82868 },
82869 $signature: 221
82870 };
82871 A.exceptionClass__closure1.prototype = {
82872 call$1(exception) {
82873 var t1 = J.get$_dartException$x(exception),
82874 t2 = J.getInterceptor$z(t1);
82875 return A.SourceSpanException.prototype.get$span.call(t2, t1);
82876 },
82877 $signature: 417
82878 };
82879 A.SassException0.prototype = {
82880 get$trace(_) {
82881 return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
82882 },
82883 get$span(_) {
82884 return A.SourceSpanException.prototype.get$span.call(this, this);
82885 },
82886 toString$1$color(_, color) {
82887 var t2, _i, frame, t3, _this = this,
82888 buffer = new A.StringBuffer(""),
82889 t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
82890 buffer._contents = t1;
82891 buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
82892 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
82893 frame = t1[_i];
82894 if (J.get$length$asx(frame) === 0)
82895 continue;
82896 t3 = buffer._contents += "\n";
82897 buffer._contents = t3 + (" " + A.S(frame));
82898 }
82899 t1 = buffer._contents;
82900 return t1.charCodeAt(0) == 0 ? t1 : t1;
82901 },
82902 toString$0($receiver) {
82903 return this.toString$1$color($receiver, null);
82904 }
82905 };
82906 A.MultiSpanSassException0.prototype = {
82907 toString$1$color(_, color) {
82908 var t1, t2, _i, frame, _this = this,
82909 useColor = color === true && true,
82910 buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
82911 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));
82912 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
82913 frame = t1[_i];
82914 if (J.get$length$asx(frame) === 0)
82915 continue;
82916 buffer._contents += "\n";
82917 buffer._contents += " " + A.S(frame);
82918 }
82919 t1 = buffer._contents;
82920 return t1.charCodeAt(0) == 0 ? t1 : t1;
82921 },
82922 toString$0($receiver) {
82923 return this.toString$1$color($receiver, null);
82924 }
82925 };
82926 A.SassRuntimeException0.prototype = {
82927 get$trace(receiver) {
82928 return this.trace;
82929 }
82930 };
82931 A.MultiSpanSassRuntimeException0.prototype = {$isSassRuntimeException0: 1,
82932 get$trace(receiver) {
82933 return this.trace;
82934 }
82935 };
82936 A.SassFormatException0.prototype = {
82937 get$source() {
82938 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(this, this).file._decodedChars, 0, null), 0, null);
82939 },
82940 $isFormatException: 1,
82941 $isSourceSpanFormatException: 1
82942 };
82943 A.SassScriptException0.prototype = {
82944 toString$0(_) {
82945 return this.message + string$.x0a_BUG_;
82946 },
82947 get$message(receiver) {
82948 return this.message;
82949 }
82950 };
82951 A.MultiSpanSassScriptException0.prototype = {};
82952 A.Exports.prototype = {};
82953 A.LoggerNamespace.prototype = {};
82954 A.ExtendRule0.prototype = {
82955 accept$1$1(visitor) {
82956 return visitor.visitExtendRule$1(this);
82957 },
82958 accept$1(visitor) {
82959 return this.accept$1$1(visitor, type$.dynamic);
82960 },
82961 toString$0(_) {
82962 return "@extend " + this.selector.toString$0(0);
82963 },
82964 $isAstNode0: 1,
82965 $isStatement0: 1,
82966 get$span(receiver) {
82967 return this.span;
82968 }
82969 };
82970 A.Extension0.prototype = {
82971 toString$0(_) {
82972 var t1 = this.extender.toString$0(0) + " {@extend " + this.target.toString$0(0);
82973 return t1 + (this.isOptional ? " !optional" : "") + "}";
82974 }
82975 };
82976 A.Extender0.prototype = {
82977 assertCompatibleMediaContext$1(mediaContext) {
82978 var expectedMediaContext,
82979 extension = this._extension$_extension;
82980 if (extension == null)
82981 return;
82982 expectedMediaContext = extension.mediaContext;
82983 if (expectedMediaContext == null)
82984 return;
82985 if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
82986 return;
82987 throw A.wrapException(A.SassException$0(string$.You_ma, extension.span));
82988 },
82989 toString$0(_) {
82990 return A.serializeSelector0(this.selector, true);
82991 }
82992 };
82993 A.ExtensionStore0.prototype = {
82994 get$isEmpty(_) {
82995 var t1 = this._extension_store$_extensions;
82996 return t1.get$isEmpty(t1);
82997 },
82998 get$simpleSelectors() {
82999 return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
83000 },
83001 extensionsWhereTarget$1($async$callback) {
83002 var $async$self = this;
83003 return A._makeSyncStarIterable(function() {
83004 var callback = $async$callback;
83005 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
83006 return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
83007 if ($async$errorCode === 1) {
83008 $async$currentError = $async$result;
83009 $async$goto = $async$handler;
83010 }
83011 while (true)
83012 switch ($async$goto) {
83013 case 0:
83014 // Function start
83015 t1 = $async$self._extension_store$_extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
83016 case 2:
83017 // for condition
83018 if (!t1.moveNext$0()) {
83019 // goto after for
83020 $async$goto = 3;
83021 break;
83022 }
83023 t2 = t1.get$current(t1);
83024 if (!callback.call$1(t2.key)) {
83025 // goto for condition
83026 $async$goto = 2;
83027 break;
83028 }
83029 t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
83030 case 4:
83031 // for condition
83032 if (!t2.moveNext$0()) {
83033 // goto after for
83034 $async$goto = 5;
83035 break;
83036 }
83037 t3 = t2.get$current(t2);
83038 $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
83039 break;
83040 case 6:
83041 // then
83042 t3 = t3.unmerge$0();
83043 $async$goto = 9;
83044 return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
83045 case 9:
83046 // after yield
83047 // goto join
83048 $async$goto = 7;
83049 break;
83050 case 8:
83051 // else
83052 $async$goto = !t3.isOptional ? 10 : 11;
83053 break;
83054 case 10:
83055 // then
83056 $async$goto = 12;
83057 return t3;
83058 case 12:
83059 // after yield
83060 case 11:
83061 // join
83062 case 7:
83063 // join
83064 // goto for condition
83065 $async$goto = 4;
83066 break;
83067 case 5:
83068 // after for
83069 // goto for condition
83070 $async$goto = 2;
83071 break;
83072 case 3:
83073 // after for
83074 // implicit return
83075 return A._IterationMarker_endOfIteration();
83076 case 1:
83077 // rethrow
83078 return A._IterationMarker_uncaughtError($async$currentError);
83079 }
83080 };
83081 }, type$.Extension_2);
83082 },
83083 addSelector$3(selector, selectorSpan, mediaContext) {
83084 var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
83085 selector = selector;
83086 originalSelector = selector;
83087 if (!originalSelector.get$isInvisible())
83088 for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._extension_store$_originals, _i = 0; _i < t2; ++_i)
83089 t3.add$1(0, t1[_i]);
83090 t1 = _this._extension_store$_extensions;
83091 if (t1.get$isNotEmpty(t1))
83092 try {
83093 selector = _this._extension_store$_extendList$4(originalSelector, selectorSpan, t1, mediaContext);
83094 } catch (exception) {
83095 t1 = A.unwrapException(exception);
83096 if (t1 instanceof A.SassException0) {
83097 error = t1;
83098 stackTrace = A.getTraceFromException(exception);
83099 t1 = error;
83100 t2 = J.getInterceptor$z(t1);
83101 t3 = error;
83102 t4 = J.getInterceptor$z(t3);
83103 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);
83104 } else
83105 throw exception;
83106 }
83107 modifiableSelector = new A.ModifiableCssValue0(selector, selectorSpan, type$.ModifiableCssValue_SelectorList_2);
83108 if (mediaContext != null)
83109 _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
83110 _this._extension_store$_registerSelector$2(selector, modifiableSelector);
83111 return modifiableSelector;
83112 },
83113 _extension_store$_registerSelector$2(list, selector) {
83114 var t1, t2, t3, _i, t4, t5, _i0, component, t6, t7, _i1, simple, selectorInPseudo;
83115 for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, _i = 0; _i < t2; ++_i)
83116 for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0) {
83117 component = t4[_i0];
83118 if (!(component instanceof A.CompoundSelector0))
83119 continue;
83120 for (t6 = component.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
83121 simple = t6[_i1];
83122 J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()), selector);
83123 if (!(simple instanceof A.PseudoSelector0))
83124 continue;
83125 selectorInPseudo = simple.selector;
83126 if (selectorInPseudo != null)
83127 this._extension_store$_registerSelector$2(selectorInPseudo, selector);
83128 }
83129 }
83130 },
83131 addExtension$4(extender, target, extend, mediaContext) {
83132 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
83133 selectors = _this._extension_store$_selectors.$index(0, target),
83134 t1 = _this._extension_store$_extensionsByExtender,
83135 existingExtensions = t1.$index(0, target),
83136 sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
83137 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) {
83138 complex = t2[_i];
83139 if (complex._complex0$_maxSpecificity == null)
83140 complex._complex0$_computeSpecificity$0();
83141 complex._complex0$_maxSpecificity.toString;
83142 t12 = new A.Extender0(complex, false, t6);
83143 extension = t12._extension$_extension = new A.Extension0(t12, target, mediaContext, t8, t7);
83144 existingExtension = sources.$index(0, complex);
83145 if (existingExtension != null) {
83146 sources.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, extension));
83147 continue;
83148 }
83149 sources.$indexSet(0, complex, extension);
83150 for (t12 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
83151 t13 = t12.get$current(t12);
83152 J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure3()), extension);
83153 t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure4(complex));
83154 }
83155 if (!t4 || t9) {
83156 if (newExtensions == null)
83157 newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
83158 newExtensions.$indexSet(0, complex, extension);
83159 }
83160 }
83161 if (newExtensions == null)
83162 return;
83163 t1 = type$.SimpleSelector_2;
83164 newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
83165 if (t9) {
83166 additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
83167 if (additionalExtensions != null)
83168 A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
83169 }
83170 if (!t4)
83171 _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
83172 },
83173 _extension_store$_simpleSelectors$1(complex) {
83174 return this._simpleSelectors$body$ExtensionStore0(complex);
83175 },
83176 _simpleSelectors$body$ExtensionStore0($async$complex) {
83177 var $async$self = this;
83178 return A._makeSyncStarIterable(function() {
83179 var complex = $async$complex;
83180 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, component, t3, t4, _i0, simple, selector, t5, t6, _i1;
83181 return function $async$_extension_store$_simpleSelectors$1($async$errorCode, $async$result) {
83182 if ($async$errorCode === 1) {
83183 $async$currentError = $async$result;
83184 $async$goto = $async$handler;
83185 }
83186 while (true)
83187 switch ($async$goto) {
83188 case 0:
83189 // Function start
83190 t1 = complex.components, t2 = t1.length, _i = 0;
83191 case 2:
83192 // for condition
83193 if (!(_i < t2)) {
83194 // goto after for
83195 $async$goto = 4;
83196 break;
83197 }
83198 component = t1[_i];
83199 $async$goto = component instanceof A.CompoundSelector0 ? 5 : 6;
83200 break;
83201 case 5:
83202 // then
83203 t3 = component.components, t4 = t3.length, _i0 = 0;
83204 case 7:
83205 // for condition
83206 if (!(_i0 < t4)) {
83207 // goto after for
83208 $async$goto = 9;
83209 break;
83210 }
83211 simple = t3[_i0];
83212 $async$goto = 10;
83213 return simple;
83214 case 10:
83215 // after yield
83216 if (!(simple instanceof A.PseudoSelector0)) {
83217 // goto for update
83218 $async$goto = 8;
83219 break;
83220 }
83221 selector = simple.selector;
83222 if (selector == null) {
83223 // goto for update
83224 $async$goto = 8;
83225 break;
83226 }
83227 t5 = selector.components, t6 = t5.length, _i1 = 0;
83228 case 11:
83229 // for condition
83230 if (!(_i1 < t6)) {
83231 // goto after for
83232 $async$goto = 13;
83233 break;
83234 }
83235 $async$goto = 14;
83236 return A._IterationMarker_yieldStar($async$self._extension_store$_simpleSelectors$1(t5[_i1]));
83237 case 14:
83238 // after yield
83239 case 12:
83240 // for update
83241 ++_i1;
83242 // goto for condition
83243 $async$goto = 11;
83244 break;
83245 case 13:
83246 // after for
83247 case 8:
83248 // for update
83249 ++_i0;
83250 // goto for condition
83251 $async$goto = 7;
83252 break;
83253 case 9:
83254 // after for
83255 case 6:
83256 // join
83257 case 3:
83258 // for update
83259 ++_i;
83260 // goto for condition
83261 $async$goto = 2;
83262 break;
83263 case 4:
83264 // after for
83265 // implicit return
83266 return A._IterationMarker_endOfIteration();
83267 case 1:
83268 // rethrow
83269 return A._IterationMarker_uncaughtError($async$currentError);
83270 }
83271 };
83272 }, type$.SimpleSelector_2);
83273 },
83274 _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
83275 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;
83276 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) {
83277 extension = t1[_i];
83278 t7 = t6.$index(0, extension.target);
83279 t7.toString;
83280 selectors = null;
83281 try {
83282 selectors = this._extension_store$_extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
83283 if (selectors == null)
83284 continue;
83285 } catch (exception) {
83286 t8 = A.unwrapException(exception);
83287 if (t8 instanceof A.SassException0) {
83288 error = t8;
83289 stackTrace = A.getTraceFromException(exception);
83290 t8 = error;
83291 t9 = J.getInterceptor$z(t8);
83292 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);
83293 } else
83294 throw exception;
83295 }
83296 t8 = J.get$first$ax(selectors);
83297 t9 = extension.extender;
83298 containsExtension = B.C_ListEquality.equals$2(0, t8.components, t9.selector.components);
83299 for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
83300 complex = t8[_i0];
83301 if (containsExtension && first) {
83302 first = false;
83303 continue;
83304 }
83305 t10 = extension;
83306 t11 = t10.extender;
83307 t12 = t10.target;
83308 t13 = t10.span;
83309 t14 = t10.mediaContext;
83310 t10 = t10.isOptional;
83311 if (complex._complex0$_maxSpecificity == null)
83312 complex._complex0$_computeSpecificity$0();
83313 complex._complex0$_maxSpecificity.toString;
83314 t11 = new A.Extender0(complex, false, t11.span);
83315 withExtender = t11._extension$_extension = new A.Extension0(t11, t12, t14, t10, t13);
83316 existingExtension = t7.$index(0, complex);
83317 if (existingExtension != null)
83318 t7.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, withExtender));
83319 else {
83320 t7.$indexSet(0, complex, withExtender);
83321 for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1) {
83322 component = t10[_i1];
83323 if (component instanceof A.CompoundSelector0)
83324 for (t12 = component.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
83325 J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
83326 }
83327 if (newExtensions.containsKey$1(extension.target)) {
83328 if (additionalExtensions == null)
83329 additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
83330 additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, complex, withExtender);
83331 }
83332 }
83333 }
83334 if (!containsExtension)
83335 t7.remove$1(0, extension.extender);
83336 }
83337 return additionalExtensions;
83338 },
83339 _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
83340 var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
83341 for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
83342 selector = t1.get$current(t1);
83343 oldValue = selector.value;
83344 try {
83345 selector.value = this._extension_store$_extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
83346 } catch (exception) {
83347 t3 = A.unwrapException(exception);
83348 if (t3 instanceof A.SassException0) {
83349 error = t3;
83350 stackTrace = A.getTraceFromException(exception);
83351 t3 = error;
83352 t4 = J.getInterceptor$z(t3);
83353 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);
83354 } else
83355 throw exception;
83356 }
83357 if (oldValue === selector.value)
83358 continue;
83359 this._extension_store$_registerSelector$2(selector.value, selector);
83360 }
83361 },
83362 addExtensions$1(extensionStores) {
83363 var t1, t2, t3, _box_0 = {};
83364 _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
83365 for (t1 = J.get$iterator$ax(extensionStores), t2 = this._extension_store$_sourceSpecificity; t1.moveNext$0();) {
83366 t3 = t1.get$current(t1);
83367 if (t3.get$isEmpty(t3))
83368 continue;
83369 t2.addAll$1(0, t3.get$_extension_store$_sourceSpecificity());
83370 t3.get$_extension_store$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure1(_box_0, this));
83371 }
83372 A.NullableExtension_andThen0(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure2(_box_0, this));
83373 },
83374 _extension_store$_extendList$4(list, listSpan, extensions, mediaQueryContext) {
83375 var t1, t2, t3, extended, i, complex, result, t4;
83376 for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
83377 complex = t1[i];
83378 result = this._extension_store$_extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
83379 if (result == null) {
83380 if (extended != null)
83381 extended.push(complex);
83382 } else {
83383 if (extended == null)
83384 if (i === 0)
83385 extended = A._setArrayType([], t3);
83386 else {
83387 t4 = B.JSArray_methods.sublist$2(t1, 0, i);
83388 extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
83389 }
83390 B.JSArray_methods.addAll$1(extended, result);
83391 }
83392 }
83393 if (extended == null)
83394 return list;
83395 t1 = this._extension_store$_originals;
83396 return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)));
83397 },
83398 _extension_store$_extendList$3(list, listSpan, extensions) {
83399 return this._extension_store$_extendList$4(list, listSpan, extensions, null);
83400 },
83401 _extension_store$_extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
83402 var t1, t2, t3, t4, t5, extendedNotExpanded, i, component, extended, result, t6, t7, t8, _null = null,
83403 _s28_ = "components may not be empty.",
83404 _box_0 = {},
83405 isOriginal = this._extension_store$_originals.contains$1(0, complex);
83406 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) {
83407 component = t1[i];
83408 if (component instanceof A.CompoundSelector0) {
83409 extended = this._extension_store$_extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
83410 if (extended == null) {
83411 if (extendedNotExpanded != null) {
83412 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
83413 result.fixed$length = Array;
83414 result.immutable$list = Array;
83415 t6 = result;
83416 if (t6.length === 0)
83417 A.throwExpression(A.ArgumentError$(_s28_, _null));
83418 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector0(t6, false)], t3));
83419 }
83420 } else {
83421 if (extendedNotExpanded == null) {
83422 t6 = A._arrayInstanceType(t1);
83423 t7 = t6._eval$1("SubListIterable<1>");
83424 t8 = new A.SubListIterable(t1, 0, i, t7);
83425 t8.SubListIterable$3(t1, 0, i, t6._precomputed1);
83426 t7 = t7._eval$1("MappedListIterable<ListIterable.E,List<ComplexSelector0>>");
83427 extendedNotExpanded = A.List_List$of(new A.MappedListIterable(t8, new A.ExtensionStore__extendComplex_closure1(complex), t7), true, t7._eval$1("ListIterable.E"));
83428 }
83429 B.JSArray_methods.add$1(extendedNotExpanded, extended);
83430 }
83431 } else if (extendedNotExpanded != null) {
83432 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
83433 result.fixed$length = Array;
83434 result.immutable$list = Array;
83435 t6 = result;
83436 if (t6.length === 0)
83437 A.throwExpression(A.ArgumentError$(_s28_, _null));
83438 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector0(t6, false)], t3));
83439 }
83440 }
83441 if (extendedNotExpanded == null)
83442 return _null;
83443 _box_0.first = true;
83444 t1 = type$.ComplexSelector_2;
83445 t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure2(_box_0, this, complex), t1);
83446 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
83447 },
83448 _extension_store$_extendCompound$5$inOriginal(compound, compoundSpan, extensions, mediaQueryContext, inOriginal) {
83449 var t2, t3, t4, t5, t6, t7, t8, t9, t10, options, i, simple, extended, result, t11, t12, isOriginal, _this = this, _null = null,
83450 _s28_ = "components may not be empty.",
83451 _box_1 = {},
83452 t1 = _this._extension_store$_mode,
83453 targetsUsed = t1 === B.ExtendMode_normal0 || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
83454 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) {
83455 simple = t2[i];
83456 extended = _this._extension_store$_extendSimple$5(simple, compoundSpan, extensions, mediaQueryContext, targetsUsed);
83457 if (extended == null) {
83458 if (options != null) {
83459 result = A.List_List$from(A._setArrayType([simple], t10), false, t8);
83460 result.fixed$length = Array;
83461 result.immutable$list = Array;
83462 t11 = result;
83463 if (t11.length === 0)
83464 A.throwExpression(A.ArgumentError$(_s28_, _null));
83465 result = A.List_List$from(A._setArrayType([new A.CompoundSelector0(t11)], t6), false, t7);
83466 result.fixed$length = Array;
83467 result.immutable$list = Array;
83468 t11 = result;
83469 if (t11.length === 0)
83470 A.throwExpression(A.ArgumentError$(_s28_, _null));
83471 t9.$index(0, simple);
83472 options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t11, false), true, compoundSpan)], t5));
83473 }
83474 } else {
83475 if (options == null) {
83476 options = A._setArrayType([], t4);
83477 if (i !== 0) {
83478 t11 = A._arrayInstanceType(t2);
83479 t12 = new A.SubListIterable(t2, 0, i, t11._eval$1("SubListIterable<1>"));
83480 t12.SubListIterable$3(t2, 0, i, t11._precomputed1);
83481 result = A.List_List$from(t12, false, t8);
83482 result.fixed$length = Array;
83483 result.immutable$list = Array;
83484 t12 = result;
83485 compound = new A.CompoundSelector0(t12);
83486 if (t12.length === 0)
83487 A.throwExpression(A.ArgumentError$(_s28_, _null));
83488 result = A.List_List$from(A._setArrayType([compound], t6), false, t7);
83489 result.fixed$length = Array;
83490 result.immutable$list = Array;
83491 t11 = result;
83492 if (t11.length === 0)
83493 A.throwExpression(A.ArgumentError$(_s28_, _null));
83494 _this._extension_store$_sourceSpecificityFor$1(compound);
83495 options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t11, false), true, compoundSpan)], t5));
83496 }
83497 }
83498 B.JSArray_methods.addAll$1(options, extended);
83499 }
83500 }
83501 if (options == null)
83502 return _null;
83503 if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
83504 return _null;
83505 if (options.length === 1)
83506 return J.map$1$1$ax(B.JSArray_methods.get$first(options), new A.ExtensionStore__extendCompound_closure4(mediaQueryContext), type$.ComplexSelector_2).toList$0(0);
83507 t1 = _box_1.first = t1 !== B.ExtendMode_replace0;
83508 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);
83509 t3 = t2.$ti._eval$1("ExpandIterable<Iterable.E,ComplexSelector0>");
83510 result = A.List_List$of(new A.ExpandIterable(t2, new A.ExtensionStore__extendCompound_closure6(), t3), true, t3._eval$1("Iterable.E"));
83511 isOriginal = new A.ExtensionStore__extendCompound_closure7();
83512 return _this._extension_store$_trim$2(result, inOriginal && t1 ? new A.ExtensionStore__extendCompound_closure8(B.JSArray_methods.get$first(result)) : isOriginal);
83513 },
83514 _extension_store$_extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
83515 var extended,
83516 t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed, simpleSpan);
83517 if (simple instanceof A.PseudoSelector0 && simple.selector != null) {
83518 extended = this._extension_store$_extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
83519 if (extended != null)
83520 return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure1(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender0>>"));
83521 }
83522 return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
83523 },
83524 _extension_store$_extenderForSimple$2(simple, span) {
83525 var t1 = A.ComplexSelector$0(A._setArrayType([A.CompoundSelector$0(A._setArrayType([simple], type$.JSArray_SimpleSelector_2))], type$.JSArray_ComplexSelectorComponent_2), false);
83526 this._extension_store$_sourceSpecificity.$index(0, simple);
83527 return new A.Extender0(t1, true, span);
83528 },
83529 _extension_store$_extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
83530 var extended, complexes, t1, result,
83531 selector = pseudo.selector;
83532 if (selector == null)
83533 throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
83534 extended = this._extension_store$_extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
83535 if (extended === selector)
83536 return null;
83537 complexes = extended.components;
83538 t1 = pseudo.normalizedName === "not";
83539 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()))
83540 complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
83541 complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
83542 if (t1 && selector.components.length === 1) {
83543 t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
83544 result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
83545 return result.length === 0 ? null : result;
83546 } else
83547 return A._setArrayType([A.PseudoSelector$0(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$0(complexes))], type$.JSArray_PseudoSelector_2);
83548 },
83549 _extension_store$_trim$2(selectors, isOriginal) {
83550 var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, component;
83551 if (selectors.length > 100)
83552 return selectors;
83553 result = A.QueueList$(null, type$.ComplexSelector_2);
83554 $label0$0:
83555 for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
83556 _box_0 = {};
83557 complex1 = selectors[i];
83558 if (isOriginal.call$1(complex1)) {
83559 for (j = 0; j < numOriginals; ++j)
83560 if (J.$eq$(result.$index(0, j), complex1)) {
83561 A.rotateSlice0(result, 0, j + 1);
83562 continue $label0$0;
83563 }
83564 ++numOriginals;
83565 result.addFirst$1(complex1);
83566 continue $label0$0;
83567 }
83568 _box_0.maxSpecificity = 0;
83569 for (t3 = complex1.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
83570 component = t3[_i];
83571 if (component instanceof A.CompoundSelector0)
83572 _box_0.maxSpecificity = Math.max(_box_0.maxSpecificity, this._extension_store$_sourceSpecificityFor$1(component));
83573 }
83574 if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
83575 continue $label0$0;
83576 t3 = new A.SubListIterable(selectors, 0, i, t1);
83577 t3.SubListIterable$3(selectors, 0, i, t2);
83578 if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
83579 continue $label0$0;
83580 result.addFirst$1(complex1);
83581 }
83582 return result;
83583 },
83584 _extension_store$_sourceSpecificityFor$1(compound) {
83585 var t1, t2, t3, specificity, _i, t4;
83586 for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
83587 t4 = t3.$index(0, t1[_i]);
83588 specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
83589 }
83590 return specificity;
83591 },
83592 clone$0() {
83593 var t3, t4, _this = this,
83594 t1 = type$.SimpleSelector_2,
83595 newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList_2),
83596 t2 = type$.ModifiableCssValue_SelectorList_2,
83597 newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery_2),
83598 oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList_2, t2);
83599 _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
83600 t2 = type$.Extension_2;
83601 t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
83602 t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
83603 t1 = A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int);
83604 t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
83605 t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
83606 t4.addAll$1(0, _this._extension_store$_originals);
83607 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);
83608 },
83609 get$_extension_store$_extensions() {
83610 return this._extension_store$_extensions;
83611 },
83612 get$_extension_store$_sourceSpecificity() {
83613 return this._extension_store$_sourceSpecificity;
83614 }
83615 };
83616 A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
83617 call$1(extension) {
83618 return !extension.isOptional;
83619 },
83620 $signature: 418
83621 };
83622 A.ExtensionStore__registerSelector_closure0.prototype = {
83623 call$0() {
83624 return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2);
83625 },
83626 $signature: 419
83627 };
83628 A.ExtensionStore_addExtension_closure2.prototype = {
83629 call$0() {
83630 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
83631 },
83632 $signature: 146
83633 };
83634 A.ExtensionStore_addExtension_closure3.prototype = {
83635 call$0() {
83636 return A._setArrayType([], type$.JSArray_Extension_2);
83637 },
83638 $signature: 223
83639 };
83640 A.ExtensionStore_addExtension_closure4.prototype = {
83641 call$0() {
83642 return this.complex.get$maxSpecificity();
83643 },
83644 $signature: 12
83645 };
83646 A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
83647 call$0() {
83648 return A._setArrayType([], type$.JSArray_Extension_2);
83649 },
83650 $signature: 223
83651 };
83652 A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
83653 call$0() {
83654 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
83655 },
83656 $signature: 146
83657 };
83658 A.ExtensionStore_addExtensions_closure1.prototype = {
83659 call$2(target, newSources) {
83660 var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
83661 if (target instanceof A.PlaceholderSelector0) {
83662 first = B.JSString_methods._codeUnitAt$1(target.name, 0);
83663 t1 = first === 45 || first === 95;
83664 } else
83665 t1 = false;
83666 if (t1)
83667 return;
83668 t1 = _this.$this;
83669 extensionsForTarget = t1._extension_store$_extensionsByExtender.$index(0, target);
83670 t2 = extensionsForTarget == null;
83671 if (!t2) {
83672 t3 = _this._box_0;
83673 t4 = t3.extensionsToExtend;
83674 B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension_2) : t4, extensionsForTarget);
83675 }
83676 selectorsForTarget = t1._extension_store$_selectors.$index(0, target);
83677 t3 = selectorsForTarget != null;
83678 if (t3) {
83679 t4 = _this._box_0;
83680 t5 = t4.selectorsToExtend;
83681 (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2) : t5).addAll$1(0, selectorsForTarget);
83682 }
83683 t1 = t1._extension_store$_extensions;
83684 existingSources = t1.$index(0, target);
83685 if (existingSources == null) {
83686 t4 = type$.ComplexSelector_2;
83687 t5 = type$.Extension_2;
83688 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
83689 if (!t2 || t3) {
83690 t1 = _this._box_0;
83691 t2 = t1.newExtensions;
83692 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
83693 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
83694 }
83695 } else
83696 newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure4(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
83697 },
83698 $signature: 422
83699 };
83700 A.ExtensionStore_addExtensions__closure4.prototype = {
83701 call$2(extender, extension) {
83702 var t2, _this = this,
83703 t1 = _this.existingSources;
83704 if (t1.containsKey$1(extender)) {
83705 t2 = t1.$index(0, extender);
83706 t2.toString;
83707 extension = A.MergedExtension_merge0(t2, extension);
83708 t1.$indexSet(0, extender, extension);
83709 } else
83710 t1.$indexSet(0, extender, extension);
83711 if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
83712 t1 = _this._box_0;
83713 t2 = t1.newExtensions;
83714 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
83715 J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure0()), extender, extension);
83716 }
83717 },
83718 $signature: 423
83719 };
83720 A.ExtensionStore_addExtensions___closure0.prototype = {
83721 call$0() {
83722 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
83723 },
83724 $signature: 146
83725 };
83726 A.ExtensionStore_addExtensions_closure2.prototype = {
83727 call$1(newExtensions) {
83728 var t1 = this._box_0,
83729 t2 = this.$this;
83730 A.NullableExtension_andThen0(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure2(t2, newExtensions));
83731 A.NullableExtension_andThen0(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure3(t2, newExtensions));
83732 },
83733 $signature: 424
83734 };
83735 A.ExtensionStore_addExtensions__closure2.prototype = {
83736 call$1(extensionsToExtend) {
83737 return this.$this._extension_store$_extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
83738 },
83739 $signature: 425
83740 };
83741 A.ExtensionStore_addExtensions__closure3.prototype = {
83742 call$1(selectorsToExtend) {
83743 return this.$this._extension_store$_extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
83744 },
83745 $signature: 426
83746 };
83747 A.ExtensionStore__extendComplex_closure1.prototype = {
83748 call$1(component) {
83749 return A._setArrayType([A.ComplexSelector$0(A._setArrayType([component], type$.JSArray_ComplexSelectorComponent_2), this.complex.lineBreak)], type$.JSArray_ComplexSelector_2);
83750 },
83751 $signature: 427
83752 };
83753 A.ExtensionStore__extendComplex_closure2.prototype = {
83754 call$1(path) {
83755 var t1 = A.weave0(J.map$1$1$ax(path, new A.ExtensionStore__extendComplex__closure1(), type$.List_ComplexSelectorComponent_2).toList$0(0));
83756 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>"));
83757 },
83758 $signature: 428
83759 };
83760 A.ExtensionStore__extendComplex__closure1.prototype = {
83761 call$1(complex) {
83762 return complex.components;
83763 },
83764 $signature: 429
83765 };
83766 A.ExtensionStore__extendComplex__closure2.prototype = {
83767 call$1(components) {
83768 var _this = this,
83769 t1 = _this.complex,
83770 outputComplex = A.ComplexSelector$0(components, t1.lineBreak || J.any$1$ax(_this.path, new A.ExtensionStore__extendComplex___closure0())),
83771 t2 = _this._box_0;
83772 if (t2.first && _this.$this._extension_store$_originals.contains$1(0, t1))
83773 _this.$this._extension_store$_originals.add$1(0, outputComplex);
83774 t2.first = false;
83775 return outputComplex;
83776 },
83777 $signature: 99
83778 };
83779 A.ExtensionStore__extendComplex___closure0.prototype = {
83780 call$1(inputComplex) {
83781 return inputComplex.lineBreak;
83782 },
83783 $signature: 17
83784 };
83785 A.ExtensionStore__extendCompound_closure4.prototype = {
83786 call$1(extender) {
83787 extender.assertCompatibleMediaContext$1(this.mediaQueryContext);
83788 return extender.selector;
83789 },
83790 $signature: 432
83791 };
83792 A.ExtensionStore__extendCompound_closure5.prototype = {
83793 call$1(path) {
83794 var complexes, toUnify, t2, t3, originals, t4, _box_0 = {},
83795 t1 = this._box_1;
83796 if (t1.first) {
83797 t1.first = false;
83798 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);
83799 } else {
83800 toUnify = A.QueueList$(null, type$.List_ComplexSelectorComponent_2);
83801 for (t1 = J.get$iterator$ax(path), t2 = type$.CompoundSelector_2, t3 = type$.JSArray_SimpleSelector_2, originals = null; t1.moveNext$0();) {
83802 t4 = t1.get$current(t1);
83803 if (t4.isOriginal) {
83804 if (originals == null)
83805 originals = A._setArrayType([], t3);
83806 B.JSArray_methods.addAll$1(originals, t2._as(B.JSArray_methods.get$last(t4.selector.components)).components);
83807 } else
83808 toUnify._queue_list$_add$1(t4.selector.components);
83809 }
83810 if (originals != null)
83811 toUnify.addFirst$1(A._setArrayType([A.CompoundSelector$0(originals)], type$.JSArray_ComplexSelectorComponent_2));
83812 complexes = A.unifyComplex0(toUnify);
83813 if (complexes == null)
83814 return null;
83815 }
83816 _box_0.lineBreak = false;
83817 for (t1 = J.get$iterator$ax(path), t2 = this.mediaQueryContext; t1.moveNext$0();) {
83818 t3 = t1.get$current(t1);
83819 t3.assertCompatibleMediaContext$1(t2);
83820 _box_0.lineBreak = _box_0.lineBreak || t3.selector.lineBreak;
83821 }
83822 t1 = J.map$1$1$ax(complexes, new A.ExtensionStore__extendCompound__closure2(_box_0), type$.ComplexSelector_2);
83823 return A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
83824 },
83825 $signature: 433
83826 };
83827 A.ExtensionStore__extendCompound__closure1.prototype = {
83828 call$1(extender) {
83829 return type$.CompoundSelector_2._as(B.JSArray_methods.get$last(extender.selector.components)).components;
83830 },
83831 $signature: 434
83832 };
83833 A.ExtensionStore__extendCompound__closure2.prototype = {
83834 call$1(components) {
83835 return A.ComplexSelector$0(components, this._box_0.lineBreak);
83836 },
83837 $signature: 99
83838 };
83839 A.ExtensionStore__extendCompound_closure6.prototype = {
83840 call$1(l) {
83841 return l;
83842 },
83843 $signature: 435
83844 };
83845 A.ExtensionStore__extendCompound_closure7.prototype = {
83846 call$1(_) {
83847 return false;
83848 },
83849 $signature: 17
83850 };
83851 A.ExtensionStore__extendCompound_closure8.prototype = {
83852 call$1(complex) {
83853 var t1 = B.C_ListEquality.equals$2(0, complex.components, this.original.components);
83854 return t1;
83855 },
83856 $signature: 17
83857 };
83858 A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
83859 call$1(simple) {
83860 var t1, t2, _this = this,
83861 extensionsForSimple = _this.extensions.$index(0, simple);
83862 if (extensionsForSimple == null)
83863 return null;
83864 t1 = _this.targetsUsed;
83865 if (t1 != null)
83866 t1.add$1(0, simple);
83867 t1 = A._setArrayType([], type$.JSArray_Extender_2);
83868 t2 = _this.$this;
83869 if (t2._extension_store$_mode !== B.ExtendMode_replace0)
83870 t1.push(t2._extension_store$_extenderForSimple$2(simple, _this.simpleSpan));
83871 for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
83872 t1.push(t2.get$current(t2).extender);
83873 return t1;
83874 },
83875 $signature: 436
83876 };
83877 A.ExtensionStore__extendSimple_closure1.prototype = {
83878 call$1(pseudo) {
83879 var t1 = this.withoutPseudo.call$1(pseudo);
83880 return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender_2) : t1;
83881 },
83882 $signature: 437
83883 };
83884 A.ExtensionStore__extendSimple_closure2.prototype = {
83885 call$1(result) {
83886 return A._setArrayType([result], type$.JSArray_List_Extender_2);
83887 },
83888 $signature: 438
83889 };
83890 A.ExtensionStore__extendPseudo_closure4.prototype = {
83891 call$1(complex) {
83892 return complex.components.length > 1;
83893 },
83894 $signature: 17
83895 };
83896 A.ExtensionStore__extendPseudo_closure5.prototype = {
83897 call$1(complex) {
83898 return complex.components.length === 1;
83899 },
83900 $signature: 17
83901 };
83902 A.ExtensionStore__extendPseudo_closure6.prototype = {
83903 call$1(complex) {
83904 return complex.components.length <= 1;
83905 },
83906 $signature: 17
83907 };
83908 A.ExtensionStore__extendPseudo_closure7.prototype = {
83909 call$1(complex) {
83910 var innerPseudo, innerSelector,
83911 t1 = complex.components;
83912 if (t1.length !== 1)
83913 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83914 if (!(B.JSArray_methods.get$first(t1) instanceof A.CompoundSelector0))
83915 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83916 t1 = type$.CompoundSelector_2._as(B.JSArray_methods.get$first(t1)).components;
83917 if (t1.length !== 1)
83918 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83919 if (!(B.JSArray_methods.get$first(t1) instanceof A.PseudoSelector0))
83920 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83921 innerPseudo = type$.PseudoSelector_2._as(B.JSArray_methods.get$first(t1));
83922 innerSelector = innerPseudo.selector;
83923 if (innerSelector == null)
83924 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83925 t1 = this.pseudo;
83926 switch (t1.normalizedName) {
83927 case "not":
83928 if (!B.Set_YEQji._map.containsKey$1(innerPseudo.normalizedName))
83929 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83930 return innerSelector.components;
83931 case "is":
83932 case "matches":
83933 case "where":
83934 case "any":
83935 case "current":
83936 case "nth-child":
83937 case "nth-last-child":
83938 if (innerPseudo.name !== t1.name)
83939 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83940 if (innerPseudo.argument != t1.argument)
83941 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83942 return innerSelector.components;
83943 case "has":
83944 case "host":
83945 case "host-context":
83946 case "slotted":
83947 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83948 default:
83949 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83950 }
83951 },
83952 $signature: 439
83953 };
83954 A.ExtensionStore__extendPseudo_closure8.prototype = {
83955 call$1(complex) {
83956 var t1 = this.pseudo;
83957 return A.PseudoSelector$0(t1.name, t1.argument, !t1.isClass, A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2)));
83958 },
83959 $signature: 440
83960 };
83961 A.ExtensionStore__trim_closure1.prototype = {
83962 call$1(complex2) {
83963 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector0(complex2.components, this.complex1.components);
83964 },
83965 $signature: 17
83966 };
83967 A.ExtensionStore__trim_closure2.prototype = {
83968 call$1(complex2) {
83969 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector0(complex2.components, this.complex1.components);
83970 },
83971 $signature: 17
83972 };
83973 A.ExtensionStore_clone_closure0.prototype = {
83974 call$2(simple, selectors) {
83975 var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
83976 t1 = type$.ModifiableCssValue_SelectorList_2,
83977 newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
83978 _this.newSelectors.$indexSet(0, simple, newSelectorSet);
83979 for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._extension_store$_mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
83980 t6 = t2.get$current(t2);
83981 newSelector = new A.ModifiableCssValue0(t6.value, t6.span, t1);
83982 newSelectorSet.add$1(0, newSelector);
83983 t3.$indexSet(0, t6, newSelector);
83984 mediaContext = t4.$index(0, t6);
83985 if (mediaContext != null)
83986 t5.$indexSet(0, newSelector, mediaContext);
83987 }
83988 },
83989 $signature: 441
83990 };
83991 A.FiberClass.prototype = {};
83992 A.Fiber.prototype = {};
83993 A.NodeToDartFileImporter.prototype = {
83994 canonicalize$1(_, url) {
83995 var result, t1, resultUrl;
83996 if (url.get$scheme() === "file")
83997 return $.$get$_filesystemImporter0().canonicalize$1(0, url);
83998 result = this._file0$_findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
83999 if (result == null)
84000 return null;
84001 t1 = self.Promise;
84002 if (result instanceof t1)
84003 A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
84004 else {
84005 t1 = self.URL;
84006 if (!(result instanceof t1))
84007 A.jsThrow(new self.Error(string$.The_fie));
84008 }
84009 resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
84010 if (resultUrl.get$scheme() !== "file")
84011 A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
84012 return $.$get$_filesystemImporter0().canonicalize$1(0, resultUrl);
84013 },
84014 load$1(_, url) {
84015 return $.$get$_filesystemImporter0().load$1(0, url);
84016 }
84017 };
84018 A.FilesystemImporter0.prototype = {
84019 canonicalize$1(_, url) {
84020 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
84021 return null;
84022 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());
84023 },
84024 load$1(_, url) {
84025 var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
84026 return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
84027 },
84028 toString$0(_) {
84029 return this._filesystem$_loadPath;
84030 }
84031 };
84032 A.FilesystemImporter_canonicalize_closure0.prototype = {
84033 call$1(resolved) {
84034 var t1, t2, t0, _null = null;
84035 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
84036 t1 = $.$get$context();
84037 t2 = A._realCasePath0(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
84038 t0 = t2;
84039 t2 = t1;
84040 t1 = t0;
84041 } else {
84042 t1 = $.$get$context();
84043 t2 = t1.canonicalize$1(0, resolved);
84044 t0 = t2;
84045 t2 = t1;
84046 t1 = t0;
84047 }
84048 return t2.toUri$1(t1);
84049 },
84050 $signature: 152
84051 };
84052 A.ForRule0.prototype = {
84053 accept$1$1(visitor) {
84054 return visitor.visitForRule$1(this);
84055 },
84056 accept$1(visitor) {
84057 return this.accept$1$1(visitor, type$.dynamic);
84058 },
84059 toString$0(_) {
84060 var _this = this,
84061 t1 = "@for $" + _this.variable + " from " + _this.from.toString$0(0) + " ",
84062 t2 = _this.children;
84063 return t1 + (_this.isExclusive ? "to" : "through") + " " + _this.to.toString$0(0) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
84064 },
84065 get$span(receiver) {
84066 return this.span;
84067 }
84068 };
84069 A.ForwardRule0.prototype = {
84070 accept$1$1(visitor) {
84071 return visitor.visitForwardRule$1(this);
84072 },
84073 accept$1(visitor) {
84074 return this.accept$1$1(visitor, type$.dynamic);
84075 },
84076 toString$0(_) {
84077 var t2, prefix, _this = this,
84078 t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
84079 shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
84080 hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
84081 if (shownMixinsAndFunctions != null) {
84082 t1 += " show ";
84083 t2 = _this.shownVariables;
84084 t2.toString;
84085 t2 = t1 + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
84086 t1 = t2;
84087 } else {
84088 if (hiddenMixinsAndFunctions != null) {
84089 t2 = hiddenMixinsAndFunctions._base;
84090 t2 = t2.get$isNotEmpty(t2);
84091 } else
84092 t2 = false;
84093 if (t2) {
84094 t1 += " hide ";
84095 t2 = _this.hiddenVariables;
84096 t2.toString;
84097 t2 = t1 + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
84098 t1 = t2;
84099 }
84100 }
84101 prefix = _this.prefix;
84102 if (prefix != null)
84103 t1 += " as " + prefix + "*";
84104 t2 = _this.configuration;
84105 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
84106 return t1.charCodeAt(0) == 0 ? t1 : t1;
84107 },
84108 _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
84109 var t2,
84110 t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
84111 for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
84112 t1.push("$" + t2.get$current(t2));
84113 return B.JSArray_methods.join$1(t1, ", ");
84114 },
84115 $isAstNode0: 1,
84116 $isStatement0: 1,
84117 get$span(receiver) {
84118 return this.span;
84119 }
84120 };
84121 A.ForwardedModuleView0.prototype = {
84122 get$url(_) {
84123 var t1 = this._forwarded_view0$_inner;
84124 return t1.get$url(t1);
84125 },
84126 get$upstream() {
84127 return this._forwarded_view0$_inner.get$upstream();
84128 },
84129 get$extensionStore() {
84130 return this._forwarded_view0$_inner.get$extensionStore();
84131 },
84132 get$css(_) {
84133 var t1 = this._forwarded_view0$_inner;
84134 return t1.get$css(t1);
84135 },
84136 get$transitivelyContainsCss() {
84137 return this._forwarded_view0$_inner.get$transitivelyContainsCss();
84138 },
84139 get$transitivelyContainsExtensions() {
84140 return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
84141 },
84142 setVariable$3($name, value, nodeWithSpan) {
84143 var prefix,
84144 _s19_ = "Undefined variable.",
84145 t1 = this._forwarded_view0$_rule,
84146 shownVariables = t1.shownVariables,
84147 hiddenVariables = t1.hiddenVariables;
84148 if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
84149 throw A.wrapException(A.SassScriptException$0(_s19_));
84150 else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
84151 throw A.wrapException(A.SassScriptException$0(_s19_));
84152 prefix = t1.prefix;
84153 if (prefix != null) {
84154 if (!B.JSString_methods.startsWith$1($name, prefix))
84155 throw A.wrapException(A.SassScriptException$0(_s19_));
84156 $name = B.JSString_methods.substring$1($name, prefix.length);
84157 }
84158 return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
84159 },
84160 variableIdentity$1($name) {
84161 var prefix = this._forwarded_view0$_rule.prefix;
84162 if (prefix != null)
84163 $name = B.JSString_methods.substring$1($name, prefix.length);
84164 return this._forwarded_view0$_inner.variableIdentity$1($name);
84165 },
84166 $eq(_, other) {
84167 if (other == null)
84168 return false;
84169 return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
84170 },
84171 get$hashCode(_) {
84172 var t1 = this._forwarded_view0$_inner;
84173 return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
84174 },
84175 cloneCss$0() {
84176 return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
84177 },
84178 toString$0(_) {
84179 return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
84180 },
84181 $isModule0: 1,
84182 get$variables() {
84183 return this.variables;
84184 },
84185 get$variableNodes() {
84186 return this.variableNodes;
84187 },
84188 get$functions(receiver) {
84189 return this.functions;
84190 },
84191 get$mixins() {
84192 return this.mixins;
84193 }
84194 };
84195 A.FunctionExpression0.prototype = {
84196 accept$1$1(visitor) {
84197 return visitor.visitFunctionExpression$1(this);
84198 },
84199 accept$1(visitor) {
84200 return this.accept$1$1(visitor, type$.dynamic);
84201 },
84202 toString$0(_) {
84203 var t1 = this.namespace;
84204 t1 = t1 != null ? "" + (t1 + ".") : "";
84205 t1 += this.originalName + this.$arguments.toString$0(0);
84206 return t1.charCodeAt(0) == 0 ? t1 : t1;
84207 },
84208 $isExpression0: 1,
84209 $isAstNode0: 1,
84210 get$span(receiver) {
84211 return this.span;
84212 }
84213 };
84214 A.JSFunction0.prototype = {};
84215 A.SupportsFunction0.prototype = {
84216 toString$0(_) {
84217 return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
84218 },
84219 $isAstNode0: 1,
84220 $isSupportsCondition0: 1,
84221 get$span(receiver) {
84222 return this.span;
84223 }
84224 };
84225 A.functionClass_closure.prototype = {
84226 call$0() {
84227 var t1 = type$.JSClass,
84228 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
84229 A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
84230 return jsClass;
84231 },
84232 $signature: 25
84233 };
84234 A.functionClass__closure.prototype = {
84235 call$3($self, signature, callback) {
84236 var paren = B.JSString_methods.indexOf$1(signature, "(");
84237 if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
84238 A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
84239 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));
84240 },
84241 "call*": "call$3",
84242 $requiredArgCount: 3,
84243 $signature: 442
84244 };
84245 A.functionClass__closure0.prototype = {
84246 call$1(_) {
84247 return B.C__SassNull0;
84248 },
84249 $signature: 3
84250 };
84251 A.SassFunction0.prototype = {
84252 accept$1$1(visitor) {
84253 var t1, t2;
84254 if (!visitor._serialize0$_inspect)
84255 A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value."));
84256 t1 = visitor._serialize0$_buffer;
84257 t1.write$1(0, "get-function(");
84258 t2 = this.callable;
84259 visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
84260 t1.writeCharCode$1(41);
84261 return null;
84262 },
84263 accept$1(visitor) {
84264 return this.accept$1$1(visitor, type$.dynamic);
84265 },
84266 assertFunction$1($name) {
84267 return this;
84268 },
84269 $eq(_, other) {
84270 if (other == null)
84271 return false;
84272 return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
84273 },
84274 get$hashCode(_) {
84275 var t1 = this.callable;
84276 return t1.get$hashCode(t1);
84277 }
84278 };
84279 A.FunctionRule0.prototype = {
84280 accept$1$1(visitor) {
84281 return visitor.visitFunctionRule$1(this);
84282 },
84283 accept$1(visitor) {
84284 return this.accept$1$1(visitor, type$.dynamic);
84285 },
84286 toString$0(_) {
84287 var t1 = this.children;
84288 return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
84289 }
84290 };
84291 A.unifyComplex_closure0.prototype = {
84292 call$1(complex) {
84293 var t1 = J.getInterceptor$asx(complex);
84294 return t1.sublist$2(complex, 0, t1.get$length(complex) - 1);
84295 },
84296 $signature: 126
84297 };
84298 A._weaveParents_closure6.prototype = {
84299 call$2(group1, group2) {
84300 var unified, t1, _null = null;
84301 if (B.C_ListEquality.equals$2(0, group1, group2))
84302 return group1;
84303 if (!(J.get$first$ax(group1) instanceof A.CompoundSelector0) || !(J.get$first$ax(group2) instanceof A.CompoundSelector0))
84304 return _null;
84305 if (A.complexIsParentSuperselector0(group1, group2))
84306 return group2;
84307 if (A.complexIsParentSuperselector0(group2, group1))
84308 return group1;
84309 if (!A._mustUnify0(group1, group2))
84310 return _null;
84311 unified = A.unifyComplex0(A._setArrayType([group1, group2], type$.JSArray_List_ComplexSelectorComponent_2));
84312 if (unified == null)
84313 return _null;
84314 t1 = J.getInterceptor$asx(unified);
84315 if (t1.get$length(unified) > 1)
84316 return _null;
84317 return t1.get$first(unified);
84318 },
84319 $signature: 444
84320 };
84321 A._weaveParents_closure7.prototype = {
84322 call$1(sequence) {
84323 return A.complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
84324 },
84325 $signature: 445
84326 };
84327 A._weaveParents_closure8.prototype = {
84328 call$1(chunk) {
84329 return J.expand$1$1$ax(chunk, new A._weaveParents__closure4(), type$.ComplexSelectorComponent_2);
84330 },
84331 $signature: 227
84332 };
84333 A._weaveParents__closure4.prototype = {
84334 call$1(group) {
84335 return group;
84336 },
84337 $signature: 126
84338 };
84339 A._weaveParents_closure9.prototype = {
84340 call$1(sequence) {
84341 return sequence.get$length(sequence) === 0;
84342 },
84343 $signature: 174
84344 };
84345 A._weaveParents_closure10.prototype = {
84346 call$1(chunk) {
84347 return J.expand$1$1$ax(chunk, new A._weaveParents__closure3(), type$.ComplexSelectorComponent_2);
84348 },
84349 $signature: 227
84350 };
84351 A._weaveParents__closure3.prototype = {
84352 call$1(group) {
84353 return group;
84354 },
84355 $signature: 126
84356 };
84357 A._weaveParents_closure11.prototype = {
84358 call$1(choice) {
84359 return J.get$isNotEmpty$asx(choice);
84360 },
84361 $signature: 447
84362 };
84363 A._weaveParents_closure12.prototype = {
84364 call$1(path) {
84365 var t1 = J.expand$1$1$ax(path, new A._weaveParents__closure2(), type$.ComplexSelectorComponent_2);
84366 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
84367 },
84368 $signature: 448
84369 };
84370 A._weaveParents__closure2.prototype = {
84371 call$1(group) {
84372 return group;
84373 },
84374 $signature: 449
84375 };
84376 A._mustUnify_closure0.prototype = {
84377 call$1(component) {
84378 return component instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(component.components, new A._mustUnify__closure0(this.uniqueSelectors));
84379 },
84380 $signature: 119
84381 };
84382 A._mustUnify__closure0.prototype = {
84383 call$1(simple) {
84384 var t1;
84385 if (!(simple instanceof A.IDSelector0))
84386 t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
84387 else
84388 t1 = true;
84389 return t1 && this.uniqueSelectors.contains$1(0, simple);
84390 },
84391 $signature: 15
84392 };
84393 A.paths_closure0.prototype = {
84394 call$2(paths, choice) {
84395 var t1 = this.T;
84396 t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
84397 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
84398 },
84399 $signature() {
84400 return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
84401 }
84402 };
84403 A.paths__closure0.prototype = {
84404 call$1(option) {
84405 var t1 = this.T;
84406 return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
84407 },
84408 $signature() {
84409 return this.T._eval$1("Iterable<List<0>>(0)");
84410 }
84411 };
84412 A.paths___closure0.prototype = {
84413 call$1(path) {
84414 var t1 = A.List_List$of(path, true, this.T);
84415 t1.push(this.option);
84416 return t1;
84417 },
84418 $signature() {
84419 return this.T._eval$1("List<0>(List<0>)");
84420 }
84421 };
84422 A._hasRoot_closure0.prototype = {
84423 call$1(simple) {
84424 return simple instanceof A.PseudoSelector0 && simple.isClass && simple.normalizedName === "root";
84425 },
84426 $signature: 15
84427 };
84428 A.listIsSuperselector_closure0.prototype = {
84429 call$1(complex1) {
84430 return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
84431 },
84432 $signature: 17
84433 };
84434 A.listIsSuperselector__closure0.prototype = {
84435 call$1(complex2) {
84436 return A.complexIsSuperselector0(complex2.components, this.complex1.components);
84437 },
84438 $signature: 17
84439 };
84440 A._simpleIsSuperselectorOfCompound_closure0.prototype = {
84441 call$1(theirSimple) {
84442 var selector,
84443 t1 = this.simple;
84444 if (t1.$eq(0, theirSimple))
84445 return true;
84446 if (!(theirSimple instanceof A.PseudoSelector0))
84447 return false;
84448 selector = theirSimple.selector;
84449 if (selector == null)
84450 return false;
84451 if (!$._subselectorPseudos0.contains$1(0, theirSimple.normalizedName))
84452 return false;
84453 return B.JSArray_methods.every$1(selector.components, new A._simpleIsSuperselectorOfCompound__closure0(t1));
84454 },
84455 $signature: 15
84456 };
84457 A._simpleIsSuperselectorOfCompound__closure0.prototype = {
84458 call$1(complex) {
84459 var t1 = complex.components;
84460 if (t1.length !== 1)
84461 return false;
84462 return B.JSArray_methods.contains$1(type$.CompoundSelector_2._as(B.JSArray_methods.get$single(t1)).components, this.simple);
84463 },
84464 $signature: 17
84465 };
84466 A._selectorPseudoIsSuperselector_closure6.prototype = {
84467 call$1(selector2) {
84468 return A.listIsSuperselector0(this.selector1.components, selector2.components);
84469 },
84470 $signature: 101
84471 };
84472 A._selectorPseudoIsSuperselector_closure7.prototype = {
84473 call$1(complex1) {
84474 var t1 = complex1.components,
84475 t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2),
84476 t3 = this.parents;
84477 if (t3 != null)
84478 B.JSArray_methods.addAll$1(t2, t3);
84479 t2.push(this.compound2);
84480 return A.complexIsSuperselector0(t1, t2);
84481 },
84482 $signature: 17
84483 };
84484 A._selectorPseudoIsSuperselector_closure8.prototype = {
84485 call$1(selector2) {
84486 return A.listIsSuperselector0(this.selector1.components, selector2.components);
84487 },
84488 $signature: 101
84489 };
84490 A._selectorPseudoIsSuperselector_closure9.prototype = {
84491 call$1(selector2) {
84492 return A.listIsSuperselector0(this.selector1.components, selector2.components);
84493 },
84494 $signature: 101
84495 };
84496 A._selectorPseudoIsSuperselector_closure10.prototype = {
84497 call$1(complex) {
84498 return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
84499 },
84500 $signature: 17
84501 };
84502 A._selectorPseudoIsSuperselector__closure0.prototype = {
84503 call$1(simple2) {
84504 var compound1, selector2, _this = this;
84505 if (simple2 instanceof A.TypeSelector0) {
84506 compound1 = B.JSArray_methods.get$last(_this.complex.components);
84507 return compound1 instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
84508 } else if (simple2 instanceof A.IDSelector0) {
84509 compound1 = B.JSArray_methods.get$last(_this.complex.components);
84510 return compound1 instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
84511 } else if (simple2 instanceof A.PseudoSelector0 && simple2.name === _this.pseudo1.name) {
84512 selector2 = simple2.selector;
84513 if (selector2 == null)
84514 return false;
84515 return A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
84516 } else
84517 return false;
84518 },
84519 $signature: 15
84520 };
84521 A._selectorPseudoIsSuperselector___closure1.prototype = {
84522 call$1(simple1) {
84523 var t1;
84524 if (simple1 instanceof A.TypeSelector0) {
84525 t1 = this.simple2.name.$eq(0, simple1.name);
84526 t1 = !t1;
84527 } else
84528 t1 = false;
84529 return t1;
84530 },
84531 $signature: 15
84532 };
84533 A._selectorPseudoIsSuperselector___closure2.prototype = {
84534 call$1(simple1) {
84535 var t1;
84536 if (simple1 instanceof A.IDSelector0) {
84537 t1 = simple1.name;
84538 t1 = this.simple2.name !== t1;
84539 } else
84540 t1 = false;
84541 return t1;
84542 },
84543 $signature: 15
84544 };
84545 A._selectorPseudoIsSuperselector_closure11.prototype = {
84546 call$1(selector2) {
84547 var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
84548 return t1;
84549 },
84550 $signature: 101
84551 };
84552 A._selectorPseudoIsSuperselector_closure12.prototype = {
84553 call$1(pseudo2) {
84554 var t1, selector2;
84555 if (!(pseudo2 instanceof A.PseudoSelector0))
84556 return false;
84557 t1 = this.pseudo1;
84558 if (pseudo2.name !== t1.name)
84559 return false;
84560 if (pseudo2.argument != t1.argument)
84561 return false;
84562 selector2 = pseudo2.selector;
84563 if (selector2 == null)
84564 return false;
84565 return A.listIsSuperselector0(this.selector1.components, selector2.components);
84566 },
84567 $signature: 15
84568 };
84569 A._selectorPseudoArgs_closure1.prototype = {
84570 call$1(pseudo) {
84571 return pseudo.isClass === this.isClass && pseudo.name === this.name;
84572 },
84573 $signature: 451
84574 };
84575 A._selectorPseudoArgs_closure2.prototype = {
84576 call$1(pseudo) {
84577 return pseudo.selector;
84578 },
84579 $signature: 452
84580 };
84581 A.globalFunctions_closure0.prototype = {
84582 call$1($arguments) {
84583 var t1 = J.getInterceptor$asx($arguments);
84584 return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
84585 },
84586 $signature: 3
84587 };
84588 A.IDSelector0.prototype = {
84589 get$minSpecificity() {
84590 return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$minSpecificity.call(this), 2));
84591 },
84592 accept$1$1(visitor) {
84593 var t1 = visitor._serialize0$_buffer;
84594 t1.writeCharCode$1(35);
84595 t1.write$1(0, this.name);
84596 return null;
84597 },
84598 accept$1(visitor) {
84599 return this.accept$1$1(visitor, type$.dynamic);
84600 },
84601 addSuffix$1(suffix) {
84602 return new A.IDSelector0(this.name + suffix);
84603 },
84604 unify$1(compound) {
84605 if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
84606 return null;
84607 return this.super$SimpleSelector$unify0(compound);
84608 },
84609 $eq(_, other) {
84610 if (other == null)
84611 return false;
84612 return other instanceof A.IDSelector0 && other.name === this.name;
84613 },
84614 get$hashCode(_) {
84615 return B.JSString_methods.get$hashCode(this.name);
84616 }
84617 };
84618 A.IDSelector_unify_closure0.prototype = {
84619 call$1(simple) {
84620 var t1;
84621 if (simple instanceof A.IDSelector0) {
84622 t1 = simple.name;
84623 t1 = this.$this.name !== t1;
84624 } else
84625 t1 = false;
84626 return t1;
84627 },
84628 $signature: 15
84629 };
84630 A.IfExpression0.prototype = {
84631 accept$1$1(visitor) {
84632 return visitor.visitIfExpression$1(this);
84633 },
84634 accept$1(visitor) {
84635 return this.accept$1$1(visitor, type$.dynamic);
84636 },
84637 toString$0(_) {
84638 return "if" + this.$arguments.toString$0(0);
84639 },
84640 $isExpression0: 1,
84641 $isAstNode0: 1,
84642 get$span(receiver) {
84643 return this.span;
84644 }
84645 };
84646 A.IfRule0.prototype = {
84647 accept$1$1(visitor) {
84648 return visitor.visitIfRule$1(this);
84649 },
84650 accept$1(visitor) {
84651 return this.accept$1$1(visitor, type$.dynamic);
84652 },
84653 toString$0(_) {
84654 var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
84655 lastClause = this.lastClause;
84656 return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
84657 },
84658 $isAstNode0: 1,
84659 $isStatement0: 1,
84660 get$span(receiver) {
84661 return this.span;
84662 }
84663 };
84664 A.IfRule_toString_closure0.prototype = {
84665 call$2(index, clause) {
84666 return "@" + (index === 0 ? "if" : "else if") + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
84667 },
84668 $signature: 453
84669 };
84670 A.IfRuleClause0.prototype = {};
84671 A.IfRuleClause$__closure0.prototype = {
84672 call$1(child) {
84673 var t1;
84674 if (!(child instanceof A.VariableDeclaration0))
84675 if (!(child instanceof A.FunctionRule0))
84676 if (!(child instanceof A.MixinRule0))
84677 t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
84678 else
84679 t1 = true;
84680 else
84681 t1 = true;
84682 else
84683 t1 = true;
84684 return t1;
84685 },
84686 $signature: 229
84687 };
84688 A.IfRuleClause$___closure0.prototype = {
84689 call$1($import) {
84690 return $import instanceof A.DynamicImport0;
84691 },
84692 $signature: 230
84693 };
84694 A.IfClause0.prototype = {
84695 toString$0(_) {
84696 return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
84697 }
84698 };
84699 A.ElseClause0.prototype = {
84700 toString$0(_) {
84701 return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
84702 }
84703 };
84704 A.ImmutableList.prototype = {};
84705 A.ImmutableMap.prototype = {};
84706 A.immutableMapToDartMap_closure.prototype = {
84707 call$3(value, key, _) {
84708 this.dartMap.$indexSet(0, key, value);
84709 },
84710 "call*": "call$3",
84711 $requiredArgCount: 3,
84712 $signature: 456
84713 };
84714 A.NodeImporter.prototype = {
84715 loadRelative$3(url, previous, forImport) {
84716 var t1, t2, _null = null;
84717 if ($.$get$url().style.rootLength$1(url) > 0) {
84718 if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
84719 return _null;
84720 return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
84721 }
84722 if ((previous == null ? _null : previous.get$scheme()) !== "file")
84723 return _null;
84724 t1 = $.$get$context();
84725 t2 = t1.style;
84726 return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
84727 },
84728 load$3(_, url, previous, forImport) {
84729 var t1, t2, t3, t4, t5, _i, importer, context, value, _this = this,
84730 previousString = _this._previousToString$1(previous);
84731 for (t1 = _this._implementation$_importers, t2 = t1.length, t3 = _this._implementation$_options, t4 = type$.RenderContextOptions, t5 = type$.JSArray_Object, _i = 0; _i < t2; ++_i) {
84732 importer = t1[_i];
84733 context = {options: t4._as(t3), fromImport: forImport};
84734 J.set$context$x(J.get$options$x(context), context);
84735 value = J.apply$2$x(importer, context, A._setArrayType([url, previousString], t5));
84736 if (value != null)
84737 return _this._handleImportResult$4(url, previous, value, forImport);
84738 }
84739 return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
84740 },
84741 loadAsync$3(url, previous, forImport) {
84742 return this.loadAsync$body$NodeImporter(url, previous, forImport);
84743 },
84744 loadAsync$body$NodeImporter(url, previous, forImport) {
84745 var $async$goto = 0,
84746 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple2_String_String),
84747 $async$returnValue, $async$self = this, t1, t2, _i, value, previousString;
84748 var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
84749 if ($async$errorCode === 1)
84750 return A._asyncRethrow($async$result, $async$completer);
84751 while (true)
84752 switch ($async$goto) {
84753 case 0:
84754 // Function start
84755 previousString = $async$self._previousToString$1(previous);
84756 t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
84757 case 3:
84758 // for condition
84759 if (!(_i < t2)) {
84760 // goto after for
84761 $async$goto = 5;
84762 break;
84763 }
84764 $async$goto = 6;
84765 return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
84766 case 6:
84767 // returning from await.
84768 value = $async$result;
84769 if (value != null) {
84770 $async$returnValue = $async$self._handleImportResult$4(url, previous, value, forImport);
84771 // goto return
84772 $async$goto = 1;
84773 break;
84774 }
84775 case 4:
84776 // for update
84777 ++_i;
84778 // goto for condition
84779 $async$goto = 3;
84780 break;
84781 case 5:
84782 // after for
84783 $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
84784 // goto return
84785 $async$goto = 1;
84786 break;
84787 case 1:
84788 // return
84789 return A._asyncReturn($async$returnValue, $async$completer);
84790 }
84791 });
84792 return A._asyncStartSync($async$loadAsync$3, $async$completer);
84793 },
84794 _previousToString$1(previous) {
84795 if (previous == null)
84796 return "stdin";
84797 if (previous.get$scheme() === "file")
84798 return $.$get$context().style.pathFromUri$1(A._parseUri(previous));
84799 return previous.toString$0(0);
84800 },
84801 _resolveLoadPathFromUrl$2(url, forImport) {
84802 return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
84803 },
84804 _resolveLoadPath$2(path, forImport) {
84805 var t2, t3, t4, t5, _i, parts, result, _null = null,
84806 t1 = $.$get$context(),
84807 cwdResult = this._tryPath$2(t1.absolute$7(path, _null, _null, _null, _null, _null, _null), forImport);
84808 if (cwdResult != null)
84809 return cwdResult;
84810 for (t2 = this._includePaths, t3 = t2.length, t4 = type$.JSArray_nullable_String, t5 = type$.WhereTypeIterable_String, _i = 0; _i < t3; ++_i) {
84811 parts = A._setArrayType([t2[_i], path, null, null, null, null, null, null], t4);
84812 A._validateArgList("join", parts);
84813 result = this._tryPath$2(t1.absolute$7(t1.joinAll$1(new A.WhereTypeIterable(parts, t5)), _null, _null, _null, _null, _null, _null), forImport);
84814 if (result != null)
84815 return result;
84816 }
84817 return _null;
84818 },
84819 _tryPath$2(path, forImport) {
84820 var t1;
84821 if (forImport) {
84822 t1 = type$.nullable_Object;
84823 t1 = A.runZoned(new A.NodeImporter__tryPath_closure(path), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_String);
84824 } else
84825 t1 = A.resolveImportPath0(path);
84826 return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
84827 },
84828 _handleImportResult$4(url, previous, value, forImport) {
84829 var t1, file, contents, resolved;
84830 if (value instanceof self.Error)
84831 throw A.wrapException(value);
84832 if (!type$.NodeImporterResult_2._is(value))
84833 return null;
84834 t1 = J.getInterceptor$x(value);
84835 file = t1.get$file(value);
84836 contents = t1.get$contents(value);
84837 if (file == null) {
84838 t1 = contents == null ? "" : contents;
84839 return new A.Tuple2(t1, url, type$.Tuple2_String_String);
84840 } else if (contents != null)
84841 return new A.Tuple2(contents, $.$get$context().toUri$1(file).toString$0(0), type$.Tuple2_String_String);
84842 else {
84843 resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
84844 if (resolved == null)
84845 resolved = this._resolveLoadPath$2(file, forImport);
84846 if (resolved != null)
84847 return resolved;
84848 throw A.wrapException("Can't find stylesheet to import.");
84849 }
84850 },
84851 _callImporterAsync$4(importer, url, previousString, forImport) {
84852 return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
84853 },
84854 _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
84855 var $async$goto = 0,
84856 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
84857 $async$returnValue, $async$self = this, t1, result;
84858 var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
84859 if ($async$errorCode === 1)
84860 return A._asyncRethrow($async$result, $async$completer);
84861 while (true)
84862 switch ($async$goto) {
84863 case 0:
84864 // Function start
84865 t1 = new A._Future($.Zone__current, type$._Future_Object);
84866 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));
84867 $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
84868 break;
84869 case 3:
84870 // then
84871 $async$goto = 5;
84872 return A._asyncAwait(t1, $async$_callImporterAsync$4);
84873 case 5:
84874 // returning from await.
84875 $async$returnValue = $async$result;
84876 // goto return
84877 $async$goto = 1;
84878 break;
84879 case 4:
84880 // join
84881 $async$returnValue = result;
84882 // goto return
84883 $async$goto = 1;
84884 break;
84885 case 1:
84886 // return
84887 return A._asyncReturn($async$returnValue, $async$completer);
84888 }
84889 });
84890 return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
84891 },
84892 _renderContext$1(fromImport) {
84893 var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
84894 J.set$context$x(J.get$options$x(context), context);
84895 return context;
84896 }
84897 };
84898 A.NodeImporter__tryPath_closure.prototype = {
84899 call$0() {
84900 return A.resolveImportPath0(this.path);
84901 },
84902 $signature: 41
84903 };
84904 A.NodeImporter__tryPath_closure0.prototype = {
84905 call$1(resolved) {
84906 return new A.Tuple2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0), type$.Tuple2_String_String);
84907 },
84908 $signature: 457
84909 };
84910 A.ModifiableCssImport0.prototype = {
84911 accept$1$1(visitor) {
84912 return visitor.visitCssImport$1(this);
84913 },
84914 accept$1(visitor) {
84915 return this.accept$1$1(visitor, type$.dynamic);
84916 },
84917 $isCssImport0: 1,
84918 get$span(receiver) {
84919 return this.span;
84920 }
84921 };
84922 A.ImportCache0.prototype = {
84923 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
84924 var relativeResult, _this = this;
84925 if (baseImporter != null) {
84926 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));
84927 if (relativeResult != null)
84928 return relativeResult;
84929 }
84930 return _this._import_cache$_canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure2(_this, url, forImport));
84931 },
84932 _import_cache$_canonicalize$3(importer, url, forImport) {
84933 var t1, result;
84934 if (forImport) {
84935 t1 = type$.nullable_Object;
84936 result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
84937 } else
84938 result = importer.canonicalize$1(0, url);
84939 if ((result == null ? null : result.get$scheme()) === "")
84940 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);
84941 return result;
84942 },
84943 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
84944 return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl, quiet));
84945 },
84946 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
84947 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
84948 },
84949 humanize$1(canonicalUrl) {
84950 var t2, url,
84951 t1 = this._import_cache$_canonicalizeCache;
84952 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri_2);
84953 t2 = t1.$ti;
84954 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());
84955 if (url == null)
84956 return canonicalUrl;
84957 t1 = $.$get$url();
84958 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
84959 },
84960 sourceMapUrl$1(_, canonicalUrl) {
84961 var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
84962 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
84963 return t1 == null ? canonicalUrl : t1;
84964 }
84965 };
84966 A.ImportCache_canonicalize_closure1.prototype = {
84967 call$0() {
84968 var canonicalUrl, _this = this,
84969 t1 = _this.baseUrl,
84970 resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
84971 if (resolvedUrl == null)
84972 resolvedUrl = _this.url;
84973 t1 = _this.baseImporter;
84974 canonicalUrl = _this.$this._import_cache$_canonicalize$3(t1, resolvedUrl, _this.forImport);
84975 if (canonicalUrl == null)
84976 return null;
84977 return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri_2);
84978 },
84979 $signature: 231
84980 };
84981 A.ImportCache_canonicalize_closure2.prototype = {
84982 call$0() {
84983 var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
84984 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) {
84985 importer = t2[_i];
84986 canonicalUrl = t1._import_cache$_canonicalize$3(importer, t4, t5);
84987 if (canonicalUrl != null)
84988 return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri_2);
84989 }
84990 return null;
84991 },
84992 $signature: 231
84993 };
84994 A.ImportCache__canonicalize_closure0.prototype = {
84995 call$0() {
84996 return this.importer.canonicalize$1(0, this.url);
84997 },
84998 $signature: 164
84999 };
85000 A.ImportCache_importCanonical_closure0.prototype = {
85001 call$0() {
85002 var t2, t3, t4, _this = this,
85003 t1 = _this.canonicalUrl,
85004 result = _this.importer.load$1(0, t1);
85005 if (result == null)
85006 return null;
85007 t2 = _this.$this;
85008 t2._import_cache$_resultsCache.$indexSet(0, t1, result);
85009 t3 = result.contents;
85010 t4 = result.syntax;
85011 t1 = _this.originalUrl.resolveUri$1(t1);
85012 return A.Stylesheet_Stylesheet$parse0(t3, t4, _this.quiet ? $.$get$Logger_quiet0() : t2._import_cache$_logger, t1);
85013 },
85014 $signature: 459
85015 };
85016 A.ImportCache_humanize_closure2.prototype = {
85017 call$1(tuple) {
85018 return tuple.item2.$eq(0, this.canonicalUrl);
85019 },
85020 $signature: 460
85021 };
85022 A.ImportCache_humanize_closure3.prototype = {
85023 call$1(tuple) {
85024 return tuple.item3;
85025 },
85026 $signature: 461
85027 };
85028 A.ImportCache_humanize_closure4.prototype = {
85029 call$1(url) {
85030 return url.get$path(url).length;
85031 },
85032 $signature: 80
85033 };
85034 A.ImportRule0.prototype = {
85035 accept$1$1(visitor) {
85036 return visitor.visitImportRule$1(this);
85037 },
85038 accept$1(visitor) {
85039 return this.accept$1$1(visitor, type$.dynamic);
85040 },
85041 toString$0(_) {
85042 return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
85043 },
85044 $isAstNode0: 1,
85045 $isStatement0: 1,
85046 get$span(receiver) {
85047 return this.span;
85048 }
85049 };
85050 A.NodeImporter0.prototype = {};
85051 A.CanonicalizeOptions.prototype = {};
85052 A.NodeImporterResult0.prototype = {};
85053 A.Importer0.prototype = {};
85054 A.NodeImporterResult1.prototype = {};
85055 A.IncludeRule0.prototype = {
85056 get$spanWithoutContent() {
85057 var t2, t3,
85058 t1 = this.span;
85059 if (!(this.content == null)) {
85060 t2 = t1.file;
85061 t3 = this.$arguments.span;
85062 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)));
85063 t1 = t3;
85064 }
85065 return t1;
85066 },
85067 accept$1$1(visitor) {
85068 return visitor.visitIncludeRule$1(this);
85069 },
85070 accept$1(visitor) {
85071 return this.accept$1$1(visitor, type$.dynamic);
85072 },
85073 toString$0(_) {
85074 var t2, _this = this,
85075 t1 = _this.namespace;
85076 t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
85077 t1 += _this.name;
85078 t2 = _this.$arguments;
85079 if (!t2.get$isEmpty(t2))
85080 t1 += "(" + t2.toString$0(0) + ")";
85081 t2 = _this.content;
85082 t1 += t2 == null ? ";" : " " + t2.toString$0(0);
85083 return t1.charCodeAt(0) == 0 ? t1 : t1;
85084 },
85085 $isAstNode0: 1,
85086 $isStatement0: 1,
85087 get$span(receiver) {
85088 return this.span;
85089 }
85090 };
85091 A.InterpolatedFunctionExpression0.prototype = {
85092 accept$1$1(visitor) {
85093 return visitor.visitInterpolatedFunctionExpression$1(this);
85094 },
85095 accept$1(visitor) {
85096 return this.accept$1$1(visitor, type$.dynamic);
85097 },
85098 toString$0(_) {
85099 return this.name.toString$0(0) + this.$arguments.toString$0(0);
85100 },
85101 $isExpression0: 1,
85102 $isAstNode0: 1,
85103 get$span(receiver) {
85104 return this.span;
85105 }
85106 };
85107 A.Interpolation0.prototype = {
85108 get$asPlain() {
85109 var first,
85110 t1 = this.contents,
85111 t2 = t1.length;
85112 if (t2 === 0)
85113 return "";
85114 if (t2 > 1)
85115 return null;
85116 first = B.JSArray_methods.get$first(t1);
85117 return typeof first == "string" ? first : null;
85118 },
85119 get$initialPlain() {
85120 var first = B.JSArray_methods.get$first(this.contents);
85121 return typeof first == "string" ? first : "";
85122 },
85123 Interpolation$20(contents, span) {
85124 var t1, t2, t3, i, t4, t5,
85125 _s8_ = "contents";
85126 for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression_2, i = 0; i < t2; ++i) {
85127 t4 = t1[i];
85128 t5 = typeof t4 == "string";
85129 if (!t5 && !t3._is(t4))
85130 throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
85131 if (i !== 0 && typeof t1[i - 1] == "string" && t5)
85132 throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
85133 }
85134 },
85135 toString$0(_) {
85136 var t1 = this.contents;
85137 return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
85138 },
85139 $isAstNode0: 1,
85140 get$span(receiver) {
85141 return this.span;
85142 }
85143 };
85144 A.Interpolation_toString_closure0.prototype = {
85145 call$1(value) {
85146 return typeof value == "string" ? value : "#{" + A.S(value) + "}";
85147 },
85148 $signature: 47
85149 };
85150 A.SupportsInterpolation0.prototype = {
85151 toString$0(_) {
85152 return "#{" + this.expression.toString$0(0) + "}";
85153 },
85154 $isAstNode0: 1,
85155 $isSupportsCondition0: 1,
85156 get$span(receiver) {
85157 return this.span;
85158 }
85159 };
85160 A.InterpolationBuffer0.prototype = {
85161 writeCharCode$1(character) {
85162 this._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(character);
85163 return null;
85164 },
85165 add$1(_, expression) {
85166 this._interpolation_buffer0$_flushText$0();
85167 this._interpolation_buffer0$_contents.push(expression);
85168 },
85169 addInterpolation$1(interpolation) {
85170 var first, t1, _this = this,
85171 toAdd = interpolation.contents;
85172 if (toAdd.length === 0)
85173 return;
85174 first = B.JSArray_methods.get$first(toAdd);
85175 if (typeof first == "string") {
85176 _this._interpolation_buffer0$_text._contents += first;
85177 toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
85178 }
85179 _this._interpolation_buffer0$_flushText$0();
85180 t1 = _this._interpolation_buffer0$_contents;
85181 B.JSArray_methods.addAll$1(t1, toAdd);
85182 if (typeof B.JSArray_methods.get$last(t1) == "string")
85183 _this._interpolation_buffer0$_text._contents += A.S(t1.pop());
85184 },
85185 _interpolation_buffer0$_flushText$0() {
85186 var t1 = this._interpolation_buffer0$_text,
85187 t2 = t1._contents;
85188 if (t2.length === 0)
85189 return;
85190 this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
85191 t1._contents = "";
85192 },
85193 interpolation$1(span) {
85194 var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
85195 t2 = this._interpolation_buffer0$_text._contents;
85196 if (t2.length !== 0)
85197 t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
85198 return A.Interpolation$0(t1, span);
85199 },
85200 toString$0(_) {
85201 var t1, t2, _i, t3, element;
85202 for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
85203 element = t1[_i];
85204 t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
85205 }
85206 t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
85207 return t1.charCodeAt(0) == 0 ? t1 : t1;
85208 }
85209 };
85210 A._realCasePath_helper0.prototype = {
85211 call$1(path) {
85212 var dirname = $.$get$context().dirname$1(path);
85213 if (dirname === path)
85214 return path;
85215 return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
85216 },
85217 $signature: 5
85218 };
85219 A._realCasePath_helper_closure0.prototype = {
85220 call$0() {
85221 var matches, t2, exception,
85222 realDirname = this.helper.call$1(this.dirname),
85223 t1 = this.path,
85224 basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
85225 try {
85226 matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
85227 t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
85228 return t2;
85229 } catch (exception) {
85230 if (A.unwrapException(exception) instanceof A.FileSystemException0)
85231 return t1;
85232 else
85233 throw exception;
85234 }
85235 },
85236 $signature: 30
85237 };
85238 A._realCasePath_helper__closure0.prototype = {
85239 call$1(realPath) {
85240 return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
85241 },
85242 $signature: 6
85243 };
85244 A.ModifiableCssKeyframeBlock0.prototype = {
85245 accept$1$1(visitor) {
85246 return visitor.visitCssKeyframeBlock$1(this);
85247 },
85248 accept$1(visitor) {
85249 return this.accept$1$1(visitor, type$.dynamic);
85250 },
85251 copyWithoutChildren$0() {
85252 return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
85253 },
85254 get$span(receiver) {
85255 return this.span;
85256 }
85257 };
85258 A.KeyframeSelectorParser0.prototype = {
85259 parse$0() {
85260 return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
85261 },
85262 _keyframe_selector$_percentage$0() {
85263 var t3, next,
85264 t1 = this.scanner,
85265 t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
85266 second = t1.peekChar$0();
85267 if (!A.isDigit0(second) && second !== 46)
85268 t1.error$1(0, "Expected number.");
85269 while (true) {
85270 t3 = t1.peekChar$0();
85271 if (!(t3 != null && t3 >= 48 && t3 <= 57))
85272 break;
85273 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
85274 }
85275 if (t1.peekChar$0() === 46) {
85276 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
85277 while (true) {
85278 t3 = t1.peekChar$0();
85279 if (!(t3 != null && t3 >= 48 && t3 <= 57))
85280 break;
85281 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
85282 }
85283 }
85284 if (this.scanIdentChar$1(101)) {
85285 t2 += A.Primitives_stringFromCharCode(101);
85286 next = t1.peekChar$0();
85287 if (next === 43 || next === 45)
85288 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
85289 if (!A.isDigit0(t1.peekChar$0()))
85290 t1.error$1(0, "Expected digit.");
85291 while (true) {
85292 t3 = t1.peekChar$0();
85293 if (!(t3 != null && t3 >= 48 && t3 <= 57))
85294 break;
85295 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
85296 }
85297 }
85298 t1.expectChar$1(37);
85299 t2 += A.Primitives_stringFromCharCode(37);
85300 return t2.charCodeAt(0) == 0 ? t2 : t2;
85301 }
85302 };
85303 A.KeyframeSelectorParser_parse_closure0.prototype = {
85304 call$0() {
85305 var selectors = A._setArrayType([], type$.JSArray_String),
85306 t1 = this.$this,
85307 t2 = t1.scanner;
85308 do {
85309 t1.whitespace$0();
85310 if (t1.lookingAtIdentifier$0())
85311 if (t1.scanIdentifier$1("from"))
85312 selectors.push("from");
85313 else {
85314 t1.expectIdentifier$2$name("to", '"to" or "from"');
85315 selectors.push("to");
85316 }
85317 else
85318 selectors.push(t1._keyframe_selector$_percentage$0());
85319 t1.whitespace$0();
85320 } while (t2.scanChar$1(44));
85321 t2.expectDone$0();
85322 return selectors;
85323 },
85324 $signature: 49
85325 };
85326 A.render_closure.prototype = {
85327 call$0() {
85328 var error, exception;
85329 try {
85330 this.callback.call$2(null, A.renderSync(this.options));
85331 } catch (exception) {
85332 error = A.unwrapException(exception);
85333 this.callback.call$2(error, null);
85334 }
85335 return null;
85336 },
85337 $signature: 1
85338 };
85339 A.render_closure0.prototype = {
85340 call$1(result) {
85341 this.callback.call$2(null, result);
85342 },
85343 $signature: 462
85344 };
85345 A.render_closure1.prototype = {
85346 call$2(error, stackTrace) {
85347 var t2, t3, _null = null,
85348 t1 = this.callback;
85349 if (error instanceof A.SassException0)
85350 t1.call$2(A._wrapException(error, stackTrace), _null);
85351 else {
85352 t2 = J.toString$0$(error);
85353 t3 = A.getTrace0(error);
85354 t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
85355 }
85356 },
85357 $signature: 42
85358 };
85359 A._parseFunctions_closure.prototype = {
85360 call$2(signature, callback) {
85361 var error, stackTrace, exception, t1, t2, context, fiber, _this = this, tuple = null;
85362 try {
85363 tuple = A.ScssParser$0(signature, null, null).parseSignature$1$requireParens(false);
85364 } catch (exception) {
85365 t1 = A.unwrapException(exception);
85366 if (t1 instanceof A.SassFormatException0) {
85367 error = t1;
85368 stackTrace = A.getTraceFromException(exception);
85369 t1 = error;
85370 t2 = J.getInterceptor$z(t1);
85371 A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
85372 } else
85373 throw exception;
85374 }
85375 t1 = _this.options;
85376 context = {options: A._contextOptions(t1, _this.start)};
85377 J.set$context$x(J.get$options$x(context), context);
85378 fiber = J.get$fiber$x(t1);
85379 if (fiber != null)
85380 _this.result.push(A.BuiltInCallable$parsed(tuple.item1, tuple.item2, new A._parseFunctions__closure(fiber, callback, context)));
85381 else {
85382 t1 = _this.result;
85383 if (!_this.asynch)
85384 t1.push(A.BuiltInCallable$parsed(tuple.item1, tuple.item2, new A._parseFunctions__closure0(callback, context)));
85385 else
85386 t1.push(new A.AsyncBuiltInCallable0(tuple.item1, tuple.item2, new A._parseFunctions__closure1(callback, context)));
85387 }
85388 },
85389 $signature: 120
85390 };
85391 A._parseFunctions__closure.prototype = {
85392 call$1($arguments) {
85393 var result,
85394 t1 = this.fiber,
85395 currentFiber = J.get$current$x(t1),
85396 t2 = type$.Object;
85397 t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value1__wrapValue$closure(), t2), true, t2);
85398 t2.push(A.allowInterop(new A._parseFunctions___closure0(currentFiber)));
85399 result = J.apply$2$x(type$.JSFunction._as(this.callback), this.context, t2);
85400 return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure1(t1), null, type$.nullable_Object) : result);
85401 },
85402 $signature: 3
85403 };
85404 A._parseFunctions___closure0.prototype = {
85405 call$1(result) {
85406 A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
85407 },
85408 call$0() {
85409 return this.call$1(null);
85410 },
85411 "call*": "call$1",
85412 $requiredArgCount: 0,
85413 $defaultValues() {
85414 return [null];
85415 },
85416 $signature: 76
85417 };
85418 A._parseFunctions____closure.prototype = {
85419 call$0() {
85420 return J.run$1$x(this.currentFiber, this.result);
85421 },
85422 $signature: 0
85423 };
85424 A._parseFunctions___closure1.prototype = {
85425 call$0() {
85426 return J.yield$0$x(this.fiber);
85427 },
85428 $signature: 86
85429 };
85430 A._parseFunctions__closure0.prototype = {
85431 call$1($arguments) {
85432 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)));
85433 },
85434 $signature: 3
85435 };
85436 A._parseFunctions__closure1.prototype = {
85437 call$1($arguments) {
85438 return this.$call$body$_parseFunctions__closure($arguments);
85439 },
85440 $call$body$_parseFunctions__closure($arguments) {
85441 var $async$goto = 0,
85442 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
85443 $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
85444 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
85445 if ($async$errorCode === 1)
85446 return A._asyncRethrow($async$result, $async$completer);
85447 while (true)
85448 switch ($async$goto) {
85449 case 0:
85450 // Function start
85451 t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
85452 t2 = type$.Object;
85453 t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value1__wrapValue$closure(), t2), true, t2);
85454 t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
85455 result = J.apply$2$x(type$.JSFunction._as($async$self.callback), $async$self.context, t2);
85456 $async$temp1 = A;
85457 $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
85458 break;
85459 case 3:
85460 // then
85461 $async$goto = 6;
85462 return A._asyncAwait(t1, $async$call$1);
85463 case 6:
85464 // returning from await.
85465 // goto join
85466 $async$goto = 4;
85467 break;
85468 case 5:
85469 // else
85470 $async$result = result;
85471 case 4:
85472 // join
85473 $async$returnValue = $async$temp1.unwrapValue($async$result);
85474 // goto return
85475 $async$goto = 1;
85476 break;
85477 case 1:
85478 // return
85479 return A._asyncReturn($async$returnValue, $async$completer);
85480 }
85481 });
85482 return A._asyncStartSync($async$call$1, $async$completer);
85483 },
85484 $signature: 88
85485 };
85486 A._parseFunctions___closure.prototype = {
85487 call$1(result) {
85488 return this.completer.complete$1(result);
85489 },
85490 call$0() {
85491 return this.call$1(null);
85492 },
85493 "call*": "call$1",
85494 $requiredArgCount: 0,
85495 $defaultValues() {
85496 return [null];
85497 },
85498 $signature: 95
85499 };
85500 A._parseImporter_closure.prototype = {
85501 call$1(importer) {
85502 return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this.fiber, importer)));
85503 },
85504 $signature: 463
85505 };
85506 A._parseImporter__closure.prototype = {
85507 call$4(thisArg, url, previous, _) {
85508 var t1 = this.fiber,
85509 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));
85510 if (A._asBool($.$get$_isUndefined().call$1(result)))
85511 return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
85512 return result;
85513 },
85514 call$3(thisArg, url, previous) {
85515 return this.call$4(thisArg, url, previous, null);
85516 },
85517 "call*": "call$4",
85518 $requiredArgCount: 3,
85519 $defaultValues() {
85520 return [null];
85521 },
85522 $signature: 464
85523 };
85524 A._parseImporter___closure.prototype = {
85525 call$1(result) {
85526 A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
85527 },
85528 $signature: 465
85529 };
85530 A._parseImporter____closure.prototype = {
85531 call$0() {
85532 return J.run$1$x(this.currentFiber, this.result);
85533 },
85534 $signature: 0
85535 };
85536 A._parseImporter___closure0.prototype = {
85537 call$0() {
85538 return J.yield$0$x(this.fiber);
85539 },
85540 $signature: 86
85541 };
85542 A.LimitedMapView0.prototype = {
85543 get$keys(_) {
85544 return this._limited_map_view0$_keys;
85545 },
85546 get$length(_) {
85547 return this._limited_map_view0$_keys._collection$_length;
85548 },
85549 get$isEmpty(_) {
85550 return this._limited_map_view0$_keys._collection$_length === 0;
85551 },
85552 get$isNotEmpty(_) {
85553 return this._limited_map_view0$_keys._collection$_length !== 0;
85554 },
85555 $index(_, key) {
85556 return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
85557 },
85558 containsKey$1(key) {
85559 return this._limited_map_view0$_keys.contains$1(0, key);
85560 },
85561 remove$1(_, key) {
85562 return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
85563 }
85564 };
85565 A.ListExpression0.prototype = {
85566 accept$1$1(visitor) {
85567 return visitor.visitListExpression$1(this);
85568 },
85569 accept$1(visitor) {
85570 return this.accept$1$1(visitor, type$.dynamic);
85571 },
85572 toString$0(_) {
85573 var _this = this,
85574 t1 = _this.hasBrackets,
85575 t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
85576 t3 = _this.contents,
85577 t4 = _this.separator === B.ListSeparator_kWM0 ? ", " : " ";
85578 t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
85579 t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
85580 return t1.charCodeAt(0) == 0 ? t1 : t1;
85581 },
85582 _list3$_elementNeedsParens$1(expression) {
85583 var t1, t2;
85584 if (expression instanceof A.ListExpression0) {
85585 if (expression.contents.length < 2)
85586 return false;
85587 if (expression.hasBrackets)
85588 return false;
85589 t1 = this.separator;
85590 t2 = t1 === B.ListSeparator_kWM0;
85591 return t2 ? t2 : t1 !== B.ListSeparator_undecided_null0;
85592 }
85593 if (this.separator !== B.ListSeparator_woc0)
85594 return false;
85595 if (expression instanceof A.UnaryOperationExpression0) {
85596 t1 = expression.operator;
85597 return t1 === B.UnaryOperator_j2w0 || t1 === B.UnaryOperator_U4G0;
85598 }
85599 return false;
85600 },
85601 $isExpression0: 1,
85602 $isAstNode0: 1,
85603 get$span(receiver) {
85604 return this.span;
85605 }
85606 };
85607 A.ListExpression_toString_closure0.prototype = {
85608 call$1(element) {
85609 return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
85610 },
85611 $signature: 130
85612 };
85613 A._length_closure2.prototype = {
85614 call$1($arguments) {
85615 var t1 = J.$index$asx($arguments, 0).get$asList().length;
85616 return new A.UnitlessSassNumber0(t1, null);
85617 },
85618 $signature: 9
85619 };
85620 A._nth_closure0.prototype = {
85621 call$1($arguments) {
85622 var t1 = J.getInterceptor$asx($arguments),
85623 list = t1.$index($arguments, 0),
85624 index = t1.$index($arguments, 1);
85625 return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
85626 },
85627 $signature: 3
85628 };
85629 A._setNth_closure0.prototype = {
85630 call$1($arguments) {
85631 var t1 = J.getInterceptor$asx($arguments),
85632 list = t1.$index($arguments, 0),
85633 index = t1.$index($arguments, 1),
85634 value = t1.$index($arguments, 2),
85635 t2 = list.get$asList(),
85636 newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
85637 newList[list.sassIndexToListIndex$2(index, "n")] = value;
85638 return t1.$index($arguments, 0).withListContents$1(newList);
85639 },
85640 $signature: 21
85641 };
85642 A._join_closure0.prototype = {
85643 call$1($arguments) {
85644 var separator, bracketed,
85645 t1 = J.getInterceptor$asx($arguments),
85646 list1 = t1.$index($arguments, 0),
85647 list2 = t1.$index($arguments, 1),
85648 separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
85649 bracketedParam = t1.$index($arguments, 3);
85650 t1 = separatorParam._string0$_text;
85651 if (t1 === "auto")
85652 if (list1.get$separator(list1) !== B.ListSeparator_undecided_null0)
85653 separator = list1.get$separator(list1);
85654 else
85655 separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null0 ? list2.get$separator(list2) : B.ListSeparator_woc0;
85656 else if (t1 === "space")
85657 separator = B.ListSeparator_woc0;
85658 else if (t1 === "comma")
85659 separator = B.ListSeparator_kWM0;
85660 else {
85661 if (t1 !== "slash")
85662 throw A.wrapException(A.SassScriptException$0(string$.x24separ));
85663 separator = B.ListSeparator_1gm0;
85664 }
85665 bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
85666 t1 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
85667 B.JSArray_methods.addAll$1(t1, list2.get$asList());
85668 return A.SassList$0(t1, separator, bracketed);
85669 },
85670 $signature: 21
85671 };
85672 A._append_closure2.prototype = {
85673 call$1($arguments) {
85674 var separator,
85675 t1 = J.getInterceptor$asx($arguments),
85676 list = t1.$index($arguments, 0),
85677 value = t1.$index($arguments, 1);
85678 t1 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
85679 if (t1 === "auto")
85680 separator = list.get$separator(list) === B.ListSeparator_undecided_null0 ? B.ListSeparator_woc0 : list.get$separator(list);
85681 else if (t1 === "space")
85682 separator = B.ListSeparator_woc0;
85683 else if (t1 === "comma")
85684 separator = B.ListSeparator_kWM0;
85685 else {
85686 if (t1 !== "slash")
85687 throw A.wrapException(A.SassScriptException$0(string$.x24separ));
85688 separator = B.ListSeparator_1gm0;
85689 }
85690 t1 = A.List_List$of(list.get$asList(), true, type$.Value_2);
85691 t1.push(value);
85692 return list.withListContents$2$separator(t1, separator);
85693 },
85694 $signature: 21
85695 };
85696 A._zip_closure0.prototype = {
85697 call$1($arguments) {
85698 var results, result, _box_0 = {},
85699 t1 = J.$index$asx($arguments, 0).get$asList(),
85700 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
85701 lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
85702 if (lists.length === 0)
85703 return B.SassList_yfz0;
85704 _box_0.i = 0;
85705 results = A._setArrayType([], type$.JSArray_SassList_2);
85706 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));) {
85707 result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
85708 result.fixed$length = Array;
85709 result.immutable$list = Array;
85710 results.push(new A.SassList0(result, B.ListSeparator_woc0, false));
85711 ++_box_0.i;
85712 }
85713 return A.SassList$0(results, B.ListSeparator_kWM0, false);
85714 },
85715 $signature: 21
85716 };
85717 A._zip__closure2.prototype = {
85718 call$1(list) {
85719 return list.get$asList();
85720 },
85721 $signature: 467
85722 };
85723 A._zip__closure3.prototype = {
85724 call$1(list) {
85725 return this._box_0.i !== J.get$length$asx(list);
85726 },
85727 $signature: 468
85728 };
85729 A._zip__closure4.prototype = {
85730 call$1(list) {
85731 return J.$index$asx(list, this._box_0.i);
85732 },
85733 $signature: 3
85734 };
85735 A._index_closure2.prototype = {
85736 call$1($arguments) {
85737 var t1 = J.getInterceptor$asx($arguments),
85738 index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
85739 if (index === -1)
85740 t1 = B.C__SassNull0;
85741 else
85742 t1 = new A.UnitlessSassNumber0(index + 1, null);
85743 return t1;
85744 },
85745 $signature: 3
85746 };
85747 A._separator_closure0.prototype = {
85748 call$1($arguments) {
85749 switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
85750 case B.ListSeparator_kWM0:
85751 return new A.SassString0("comma", false);
85752 case B.ListSeparator_1gm0:
85753 return new A.SassString0("slash", false);
85754 default:
85755 return new A.SassString0("space", false);
85756 }
85757 },
85758 $signature: 13
85759 };
85760 A._isBracketed_closure0.prototype = {
85761 call$1($arguments) {
85762 return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
85763 },
85764 $signature: 18
85765 };
85766 A._slash_closure0.prototype = {
85767 call$1($arguments) {
85768 var list = J.$index$asx($arguments, 0).get$asList();
85769 if (list.length < 2)
85770 throw A.wrapException(A.SassScriptException$0("At least two elements are required."));
85771 return A.SassList$0(list, B.ListSeparator_1gm0, false);
85772 },
85773 $signature: 21
85774 };
85775 A.SelectorList0.prototype = {
85776 get$isInvisible() {
85777 return B.JSArray_methods.every$1(this.components, new A.SelectorList_isInvisible_closure0());
85778 },
85779 get$asSassList() {
85780 var t1 = this.components;
85781 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);
85782 },
85783 accept$1$1(visitor) {
85784 return visitor.visitSelectorList$1(this);
85785 },
85786 accept$1(visitor) {
85787 return this.accept$1$1(visitor, type$.dynamic);
85788 },
85789 unify$1(other) {
85790 var t1 = this.components,
85791 t2 = A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector0>"),
85792 contents = A.List_List$of(new A.ExpandIterable(t1, new A.SelectorList_unify_closure0(other), t2), true, t2._eval$1("Iterable.E"));
85793 return contents.length === 0 ? null : A.SelectorList$0(contents);
85794 },
85795 resolveParentSelectors$2$implicitParent($parent, implicitParent) {
85796 var t1, _this = this;
85797 if ($parent == null) {
85798 if (!B.JSArray_methods.any$1(_this.components, _this.get$_list2$_complexContainsParentSelector()))
85799 return _this;
85800 throw A.wrapException(A.SassScriptException$0(string$.Top_le));
85801 }
85802 t1 = _this.components;
85803 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));
85804 },
85805 resolveParentSelectors$1($parent) {
85806 return this.resolveParentSelectors$2$implicitParent($parent, true);
85807 },
85808 _list2$_complexContainsParentSelector$1(complex) {
85809 return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure0());
85810 },
85811 _list2$_resolveParentSelectorsCompound$2(compound, $parent) {
85812 var resolvedMembers0, parentSelector, t1,
85813 resolvedMembers = compound.components,
85814 containsSelectorPseudo = B.JSArray_methods.any$1(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure2());
85815 if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(resolvedMembers) instanceof A.ParentSelector0))
85816 return null;
85817 resolvedMembers0 = containsSelectorPseudo ? new A.MappedListIterable(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure3($parent), A._arrayInstanceType(resolvedMembers)._eval$1("MappedListIterable<1,SimpleSelector0>")) : resolvedMembers;
85818 parentSelector = B.JSArray_methods.get$first(resolvedMembers);
85819 if (parentSelector instanceof A.ParentSelector0) {
85820 if (resolvedMembers.length === 1 && parentSelector.suffix == null)
85821 return $parent.components;
85822 } else
85823 return A._setArrayType([A.ComplexSelector$0(A._setArrayType([A.CompoundSelector$0(resolvedMembers0)], type$.JSArray_ComplexSelectorComponent_2), false)], type$.JSArray_ComplexSelector_2);
85824 t1 = $parent.components;
85825 return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure4(compound, resolvedMembers0), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85826 },
85827 get$hashCode(_) {
85828 return B.C_ListEquality0.hash$1(this.components);
85829 },
85830 $eq(_, other) {
85831 if (other == null)
85832 return false;
85833 return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
85834 }
85835 };
85836 A.SelectorList_isInvisible_closure0.prototype = {
85837 call$1(complex) {
85838 return complex.get$isInvisible();
85839 },
85840 $signature: 17
85841 };
85842 A.SelectorList_asSassList_closure0.prototype = {
85843 call$1(complex) {
85844 var t1 = complex.components;
85845 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);
85846 },
85847 $signature: 469
85848 };
85849 A.SelectorList_asSassList__closure0.prototype = {
85850 call$1(component) {
85851 return new A.SassString0(component.toString$0(0), false);
85852 },
85853 $signature: 470
85854 };
85855 A.SelectorList_unify_closure0.prototype = {
85856 call$1(complex1) {
85857 var t1 = this.other.components;
85858 return new A.ExpandIterable(t1, new A.SelectorList_unify__closure0(complex1), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector0>"));
85859 },
85860 $signature: 103
85861 };
85862 A.SelectorList_unify__closure0.prototype = {
85863 call$1(complex2) {
85864 var unified = A.unifyComplex0(A._setArrayType([this.complex1.components, complex2.components], type$.JSArray_List_ComplexSelectorComponent_2));
85865 if (unified == null)
85866 return B.List_empty14;
85867 return J.map$1$1$ax(unified, new A.SelectorList_unify___closure0(), type$.ComplexSelector_2);
85868 },
85869 $signature: 103
85870 };
85871 A.SelectorList_unify___closure0.prototype = {
85872 call$1(complex) {
85873 return A.ComplexSelector$0(complex, false);
85874 },
85875 $signature: 99
85876 };
85877 A.SelectorList_resolveParentSelectors_closure0.prototype = {
85878 call$1(complex) {
85879 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 = {},
85880 t1 = _this.$this;
85881 if (!t1._list2$_complexContainsParentSelector$1(complex)) {
85882 if (!_this.implicitParent)
85883 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
85884 t1 = _this.parent.components;
85885 return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85886 }
85887 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
85888 newComplexes = A._setArrayType([A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2)], t2);
85889 t3 = type$.JSArray_bool;
85890 _box_0.lineBreaks = A._setArrayType([false], t3);
85891 for (t4 = complex.components, t5 = t4.length, t6 = type$.ComplexSelectorComponent_2, t7 = _this.parent, _i = 0; _i < t5; ++_i) {
85892 component = t4[_i];
85893 if (component instanceof A.CompoundSelector0) {
85894 resolved = t1._list2$_resolveParentSelectorsCompound$2(component, t7);
85895 if (resolved == null) {
85896 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
85897 newComplexes[_i0].push(component);
85898 continue;
85899 }
85900 previousLineBreaks = _box_0.lineBreaks;
85901 newComplexes0 = A._setArrayType([], t2);
85902 _box_0.lineBreaks = A._setArrayType([], t3);
85903 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) {
85904 newComplex = newComplexes[_i0];
85905 i0 = i + 1;
85906 lineBreak = previousLineBreaks[i];
85907 for (t10 = t9.get$iterator(resolved), t11 = !lineBreak; t10.moveNext$0();) {
85908 t12 = t10.get$current(t10);
85909 t13 = A.List_List$of(newComplex, true, t6);
85910 B.JSArray_methods.addAll$1(t13, t12.components);
85911 newComplexes0.push(t13);
85912 t13 = _box_0.lineBreaks;
85913 t13.push(!t11 || t12.lineBreak);
85914 }
85915 }
85916 newComplexes = newComplexes0;
85917 } else
85918 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
85919 newComplexes[_i0].push(component);
85920 }
85921 _box_0.i = 0;
85922 return new A.MappedListIterable(newComplexes, new A.SelectorList_resolveParentSelectors__closure2(_box_0), A._arrayInstanceType(newComplexes)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85923 },
85924 $signature: 103
85925 };
85926 A.SelectorList_resolveParentSelectors__closure1.prototype = {
85927 call$1(parentComplex) {
85928 var t1 = A.List_List$of(parentComplex.components, true, type$.ComplexSelectorComponent_2),
85929 t2 = this.complex;
85930 B.JSArray_methods.addAll$1(t1, t2.components);
85931 return A.ComplexSelector$0(t1, t2.lineBreak || parentComplex.lineBreak);
85932 },
85933 $signature: 116
85934 };
85935 A.SelectorList_resolveParentSelectors__closure2.prototype = {
85936 call$1(newComplex) {
85937 var t1 = this._box_0;
85938 return A.ComplexSelector$0(newComplex, t1.lineBreaks[t1.i++]);
85939 },
85940 $signature: 99
85941 };
85942 A.SelectorList__complexContainsParentSelector_closure0.prototype = {
85943 call$1(component) {
85944 return component instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(component.components, new A.SelectorList__complexContainsParentSelector__closure0());
85945 },
85946 $signature: 119
85947 };
85948 A.SelectorList__complexContainsParentSelector__closure0.prototype = {
85949 call$1(simple) {
85950 var selector;
85951 if (simple instanceof A.ParentSelector0)
85952 return true;
85953 if (!(simple instanceof A.PseudoSelector0))
85954 return false;
85955 selector = simple.selector;
85956 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
85957 },
85958 $signature: 15
85959 };
85960 A.SelectorList__resolveParentSelectorsCompound_closure2.prototype = {
85961 call$1(simple) {
85962 var selector;
85963 if (!(simple instanceof A.PseudoSelector0))
85964 return false;
85965 selector = simple.selector;
85966 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
85967 },
85968 $signature: 15
85969 };
85970 A.SelectorList__resolveParentSelectorsCompound_closure3.prototype = {
85971 call$1(simple) {
85972 var selector, t1, t2, t3;
85973 if (!(simple instanceof A.PseudoSelector0))
85974 return simple;
85975 selector = simple.selector;
85976 if (selector == null)
85977 return simple;
85978 if (!B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector()))
85979 return simple;
85980 t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
85981 t2 = simple.name;
85982 t3 = simple.isClass;
85983 return A.PseudoSelector$0(t2, simple.argument, !t3, t1);
85984 },
85985 $signature: 473
85986 };
85987 A.SelectorList__resolveParentSelectorsCompound_closure4.prototype = {
85988 call$1(complex) {
85989 var suffix, t2, t3, t4, t5, last,
85990 t1 = complex.components,
85991 lastComponent = B.JSArray_methods.get$last(t1);
85992 if (!(lastComponent instanceof A.CompoundSelector0))
85993 throw A.wrapException(A.SassScriptException$0('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.'));
85994 suffix = type$.ParentSelector_2._as(B.JSArray_methods.get$first(this.compound.components)).suffix;
85995 t2 = type$.SimpleSelector_2;
85996 t3 = this.resolvedMembers;
85997 t4 = lastComponent.components;
85998 t5 = J.getInterceptor$ax(t3);
85999 if (suffix != null) {
86000 t2 = A.List_List$of(A.SubListIterable$(t4, 0, A.checkNotNullable(t4.length - 1, "count", type$.int), A._arrayInstanceType(t4)._precomputed1), true, t2);
86001 t2.push(B.JSArray_methods.get$last(t4).addSuffix$1(suffix));
86002 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
86003 last = A.CompoundSelector$0(t2);
86004 } else {
86005 t2 = A.List_List$of(t4, true, t2);
86006 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
86007 last = A.CompoundSelector$0(t2);
86008 }
86009 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);
86010 t1.push(last);
86011 return A.ComplexSelector$0(t1, complex.lineBreak);
86012 },
86013 $signature: 116
86014 };
86015 A._NodeSassList.prototype = {};
86016 A.legacyListClass_closure.prototype = {
86017 call$4(thisArg, $length, commaSeparator, dartValue) {
86018 var t1;
86019 if (dartValue == null) {
86020 $length.toString;
86021 t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
86022 t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_kWM0 : B.ListSeparator_woc0, false);
86023 } else
86024 t1 = dartValue;
86025 J.set$dartValue$x(thisArg, t1);
86026 },
86027 call$2(thisArg, $length) {
86028 return this.call$4(thisArg, $length, null, null);
86029 },
86030 call$3(thisArg, $length, commaSeparator) {
86031 return this.call$4(thisArg, $length, commaSeparator, null);
86032 },
86033 "call*": "call$4",
86034 $requiredArgCount: 2,
86035 $defaultValues() {
86036 return [null, null];
86037 },
86038 $signature: 474
86039 };
86040 A.legacyListClass__closure.prototype = {
86041 call$1(_) {
86042 return B.C__SassNull0;
86043 },
86044 $signature: 235
86045 };
86046 A.legacyListClass_closure0.prototype = {
86047 call$2(thisArg, index) {
86048 return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
86049 },
86050 $signature: 476
86051 };
86052 A.legacyListClass_closure1.prototype = {
86053 call$3(thisArg, index, value) {
86054 var t1 = J.getInterceptor$x(thisArg),
86055 t2 = t1.get$dartValue(thisArg)._list1$_contents,
86056 mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
86057 mutable[index] = A.unwrapValue(value);
86058 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
86059 },
86060 "call*": "call$3",
86061 $requiredArgCount: 3,
86062 $signature: 477
86063 };
86064 A.legacyListClass_closure2.prototype = {
86065 call$1(thisArg) {
86066 return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_kWM0;
86067 },
86068 $signature: 478
86069 };
86070 A.legacyListClass_closure3.prototype = {
86071 call$2(thisArg, isComma) {
86072 var t1 = J.getInterceptor$x(thisArg),
86073 t2 = t1.get$dartValue(thisArg)._list1$_contents,
86074 t3 = isComma ? B.ListSeparator_kWM0 : B.ListSeparator_woc0;
86075 t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
86076 },
86077 $signature: 479
86078 };
86079 A.legacyListClass_closure4.prototype = {
86080 call$1(thisArg) {
86081 return J.get$dartValue$x(thisArg)._list1$_contents.length;
86082 },
86083 $signature: 480
86084 };
86085 A.listClass_closure.prototype = {
86086 call$0() {
86087 var t1 = type$.JSClass,
86088 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
86089 J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
86090 A.JSClassExtension_injectSuperclass(t1._as(B.SassList_0.constructor), jsClass);
86091 return jsClass;
86092 },
86093 $signature: 25
86094 };
86095 A.listClass__closure.prototype = {
86096 call$3($self, contentsOrOptions, options) {
86097 var contents, t1, t2;
86098 if (self.immutable.isList(contentsOrOptions))
86099 contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
86100 else if (type$.List_dynamic._is(contentsOrOptions))
86101 contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
86102 else {
86103 contents = A._setArrayType([], type$.JSArray_Value_2);
86104 type$.nullable__ConstructorOptions._as(contentsOrOptions);
86105 options = contentsOrOptions;
86106 }
86107 t1 = options == null;
86108 if (!t1) {
86109 t2 = J.get$separator$x(options);
86110 t2 = A._asBool($.$get$_isUndefined().call$1(t2));
86111 } else
86112 t2 = true;
86113 t2 = t2 ? B.ListSeparator_kWM0 : A.jsToDartSeparator(J.get$separator$x(options));
86114 t1 = t1 ? null : J.get$brackets$x(options);
86115 return A.SassList$0(contents, t2, t1 == null ? false : t1);
86116 },
86117 call$1($self) {
86118 return this.call$3($self, null, null);
86119 },
86120 call$2($self, contentsOrOptions) {
86121 return this.call$3($self, contentsOrOptions, null);
86122 },
86123 "call*": "call$3",
86124 $requiredArgCount: 1,
86125 $defaultValues() {
86126 return [null, null];
86127 },
86128 $signature: 481
86129 };
86130 A.listClass__closure0.prototype = {
86131 call$2($self, indexFloat) {
86132 var index = B.JSNumber_methods.floor$0(indexFloat);
86133 if (index < 0)
86134 index = $self.get$asList().length + index;
86135 if (index < 0 || index >= $self.get$asList().length)
86136 return self.undefined;
86137 return $self.get$asList()[index];
86138 },
86139 $signature: 236
86140 };
86141 A._ConstructorOptions.prototype = {};
86142 A.SassList0.prototype = {
86143 get$separator(_) {
86144 return this._list1$_separator;
86145 },
86146 get$hasBrackets() {
86147 return this._list1$_hasBrackets;
86148 },
86149 get$isBlank() {
86150 return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
86151 },
86152 get$asList() {
86153 return this._list1$_contents;
86154 },
86155 get$lengthAsList() {
86156 return this._list1$_contents.length;
86157 },
86158 SassList$3$brackets0(contents, _separator, brackets) {
86159 if (this._list1$_separator === B.ListSeparator_undecided_null0 && this._list1$_contents.length > 1)
86160 throw A.wrapException(A.ArgumentError$(string$.A_list, null));
86161 },
86162 accept$1$1(visitor) {
86163 return visitor.visitList$1(this);
86164 },
86165 accept$1(visitor) {
86166 return this.accept$1$1(visitor, type$.dynamic);
86167 },
86168 assertMap$1($name) {
86169 return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
86170 },
86171 tryMap$0() {
86172 return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
86173 },
86174 $eq(_, other) {
86175 var t1, _this = this;
86176 if (other == null)
86177 return false;
86178 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)))
86179 t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
86180 else
86181 t1 = true;
86182 return t1;
86183 },
86184 get$hashCode(_) {
86185 return B.C_ListEquality0.hash$1(this._list1$_contents);
86186 }
86187 };
86188 A.SassList_isBlank_closure0.prototype = {
86189 call$1(element) {
86190 return element.get$isBlank();
86191 },
86192 $signature: 50
86193 };
86194 A.ListSeparator0.prototype = {
86195 toString$0(_) {
86196 return this._list1$_name;
86197 }
86198 };
86199 A.NodeLogger.prototype = {};
86200 A.WarnOptions.prototype = {};
86201 A.DebugOptions.prototype = {};
86202 A._QuietLogger0.prototype = {
86203 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
86204 },
86205 warn$2$span($receiver, message, span) {
86206 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
86207 },
86208 warn$3$deprecation$span($receiver, message, deprecation, span) {
86209 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
86210 }
86211 };
86212 A.LoudComment0.prototype = {
86213 get$span(_) {
86214 return this.text.span;
86215 },
86216 accept$1$1(visitor) {
86217 return visitor.visitLoudComment$1(this);
86218 },
86219 accept$1(visitor) {
86220 return this.accept$1$1(visitor, type$.dynamic);
86221 },
86222 toString$0(_) {
86223 return this.text.toString$0(0);
86224 },
86225 $isAstNode0: 1,
86226 $isStatement0: 1
86227 };
86228 A.MapExpression0.prototype = {
86229 accept$1$1(visitor) {
86230 return visitor.visitMapExpression$1(this);
86231 },
86232 accept$1(visitor) {
86233 return this.accept$1$1(visitor, type$.dynamic);
86234 },
86235 toString$0(_) {
86236 var t1 = this.pairs;
86237 return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
86238 },
86239 $isExpression0: 1,
86240 $isAstNode0: 1,
86241 get$span(receiver) {
86242 return this.span;
86243 }
86244 };
86245 A.MapExpression_toString_closure0.prototype = {
86246 call$1(pair) {
86247 return A.S(pair.item1) + ": " + A.S(pair.item2);
86248 },
86249 $signature: 483
86250 };
86251 A._get_closure0.prototype = {
86252 call$1($arguments) {
86253 var t3, value,
86254 t1 = J.getInterceptor$asx($arguments),
86255 map = t1.$index($arguments, 0).assertMap$1("map"),
86256 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
86257 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
86258 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) {
86259 value = map._map0$_contents.$index(0, t3._as(t1.__internal$_current));
86260 if (!(value instanceof A.SassMap0))
86261 return B.C__SassNull0;
86262 }
86263 t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
86264 return t1 == null ? B.C__SassNull0 : t1;
86265 },
86266 $signature: 3
86267 };
86268 A._set_closure1.prototype = {
86269 call$1($arguments) {
86270 var t1 = J.getInterceptor$asx($arguments);
86271 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);
86272 },
86273 $signature: 3
86274 };
86275 A._set__closure2.prototype = {
86276 call$1(_) {
86277 return J.$index$asx(this.$arguments, 2);
86278 },
86279 $signature: 39
86280 };
86281 A._set_closure2.prototype = {
86282 call$1($arguments) {
86283 var t1 = J.getInterceptor$asx($arguments),
86284 map = t1.$index($arguments, 0).assertMap$1("map"),
86285 args = t1.$index($arguments, 1).get$asList();
86286 t1 = args.length;
86287 if (t1 === 0)
86288 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key."));
86289 else if (t1 === 1)
86290 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value."));
86291 return A._modify0(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure1(args), true);
86292 },
86293 $signature: 3
86294 };
86295 A._set__closure1.prototype = {
86296 call$1(_) {
86297 return B.JSArray_methods.get$last(this.args);
86298 },
86299 $signature: 39
86300 };
86301 A._merge_closure1.prototype = {
86302 call$1($arguments) {
86303 var t2, t3, t4,
86304 t1 = J.getInterceptor$asx($arguments),
86305 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
86306 map2 = t1.$index($arguments, 1).assertMap$1("map2");
86307 t1 = type$.Value_2;
86308 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
86309 for (t3 = map1._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
86310 t4 = t3.get$current(t3);
86311 t2.$indexSet(0, t4.key, t4.value);
86312 }
86313 for (t3 = map2._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
86314 t4 = t3.get$current(t3);
86315 t2.$indexSet(0, t4.key, t4.value);
86316 }
86317 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
86318 },
86319 $signature: 40
86320 };
86321 A._merge_closure2.prototype = {
86322 call$1($arguments) {
86323 var map2,
86324 t1 = J.getInterceptor$asx($arguments),
86325 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
86326 args = t1.$index($arguments, 1).get$asList();
86327 t1 = args.length;
86328 if (t1 === 0)
86329 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key."));
86330 else if (t1 === 1)
86331 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map."));
86332 map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
86333 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);
86334 },
86335 $signature: 3
86336 };
86337 A._merge__closure0.prototype = {
86338 call$1(oldValue) {
86339 var t1, t2, t3, t4,
86340 nestedMap = oldValue.tryMap$0();
86341 if (nestedMap == null)
86342 return this.map2;
86343 t1 = type$.Value_2;
86344 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
86345 for (t3 = nestedMap._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
86346 t4 = t3.get$current(t3);
86347 t2.$indexSet(0, t4.key, t4.value);
86348 }
86349 for (t3 = this.map2._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
86350 t4 = t3.get$current(t3);
86351 t2.$indexSet(0, t4.key, t4.value);
86352 }
86353 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
86354 },
86355 $signature: 484
86356 };
86357 A._deepMerge_closure0.prototype = {
86358 call$1($arguments) {
86359 var t1 = J.getInterceptor$asx($arguments);
86360 return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
86361 },
86362 $signature: 40
86363 };
86364 A._deepRemove_closure0.prototype = {
86365 call$1($arguments) {
86366 var t1 = J.getInterceptor$asx($arguments),
86367 map = t1.$index($arguments, 0).assertMap$1("map"),
86368 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
86369 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
86370 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);
86371 },
86372 $signature: 3
86373 };
86374 A._deepRemove__closure0.prototype = {
86375 call$1(value) {
86376 var t1, t2,
86377 nestedMap = value.tryMap$0();
86378 if (nestedMap != null && nestedMap._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
86379 t1 = type$.Value_2;
86380 t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
86381 t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
86382 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
86383 }
86384 return value;
86385 },
86386 $signature: 39
86387 };
86388 A._remove_closure1.prototype = {
86389 call$1($arguments) {
86390 return J.$index$asx($arguments, 0).assertMap$1("map");
86391 },
86392 $signature: 40
86393 };
86394 A._remove_closure2.prototype = {
86395 call$1($arguments) {
86396 var mutableMap, t3, _i,
86397 t1 = J.getInterceptor$asx($arguments),
86398 map = t1.$index($arguments, 0).assertMap$1("map"),
86399 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
86400 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
86401 t1 = type$.Value_2;
86402 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
86403 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
86404 mutableMap.remove$1(0, t2[_i]);
86405 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
86406 },
86407 $signature: 40
86408 };
86409 A._keys_closure0.prototype = {
86410 call$1($arguments) {
86411 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
86412 return A.SassList$0(t1.get$keys(t1), B.ListSeparator_kWM0, false);
86413 },
86414 $signature: 21
86415 };
86416 A._values_closure0.prototype = {
86417 call$1($arguments) {
86418 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
86419 return A.SassList$0(t1.get$values(t1), B.ListSeparator_kWM0, false);
86420 },
86421 $signature: 21
86422 };
86423 A._hasKey_closure0.prototype = {
86424 call$1($arguments) {
86425 var t3, value,
86426 t1 = J.getInterceptor$asx($arguments),
86427 map = t1.$index($arguments, 0).assertMap$1("map"),
86428 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
86429 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
86430 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) {
86431 value = map._map0$_contents.$index(0, t3._as(t1.__internal$_current));
86432 if (!(value instanceof A.SassMap0))
86433 return B.SassBoolean_false0;
86434 }
86435 return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
86436 },
86437 $signature: 18
86438 };
86439 A._modify__modifyNestedMap0.prototype = {
86440 call$1(map) {
86441 var nestedMap, _this = this,
86442 t1 = type$.Value_2,
86443 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
86444 t2 = _this.keyIterator,
86445 key = t2.get$current(t2);
86446 if (!t2.moveNext$0()) {
86447 t2 = mutableMap.$index(0, key);
86448 if (t2 == null)
86449 t2 = B.C__SassNull0;
86450 mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
86451 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
86452 }
86453 t2 = mutableMap.$index(0, key);
86454 nestedMap = t2 == null ? null : t2.tryMap$0();
86455 t2 = nestedMap == null;
86456 if (t2 && !_this.addNesting)
86457 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
86458 mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
86459 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
86460 },
86461 $signature: 485
86462 };
86463 A._deepMergeImpl__ensureMutable0.prototype = {
86464 call$0() {
86465 var t2,
86466 t1 = this._box_0;
86467 if (t1.mutable)
86468 return;
86469 t1.mutable = true;
86470 t2 = type$.Value_2;
86471 t1.result = A.LinkedHashMap_LinkedHashMap$of(t1.result, t2, t2);
86472 },
86473 $signature: 0
86474 };
86475 A._deepMergeImpl_closure0.prototype = {
86476 call$2(key, value) {
86477 var resultMap, valueMap, merged,
86478 t1 = this._box_0,
86479 resultValue = t1.result.$index(0, key);
86480 if (resultValue == null) {
86481 this._ensureMutable.call$0();
86482 t1.result.$indexSet(0, key, value);
86483 } else {
86484 resultMap = resultValue.tryMap$0();
86485 valueMap = value.tryMap$0();
86486 if (resultMap != null && valueMap != null) {
86487 merged = A._deepMergeImpl0(valueMap, resultMap);
86488 if (merged === resultMap)
86489 return;
86490 this._ensureMutable.call$0();
86491 t1.result.$indexSet(0, key, merged);
86492 }
86493 }
86494 },
86495 $signature: 57
86496 };
86497 A._NodeSassMap.prototype = {};
86498 A.legacyMapClass_closure.prototype = {
86499 call$3(thisArg, $length, dartValue) {
86500 var t1, t2, t3, map;
86501 if (dartValue == null) {
86502 $length.toString;
86503 t1 = type$.Value_2;
86504 t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
86505 t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
86506 map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
86507 A.MapBase__fillMapWithIterables(map, t2, t3);
86508 t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
86509 } else
86510 t1 = dartValue;
86511 J.set$dartValue$x(thisArg, t1);
86512 },
86513 call$2(thisArg, $length) {
86514 return this.call$3(thisArg, $length, null);
86515 },
86516 "call*": "call$3",
86517 $requiredArgCount: 2,
86518 $defaultValues() {
86519 return [null];
86520 },
86521 $signature: 486
86522 };
86523 A.legacyMapClass__closure.prototype = {
86524 call$1(i) {
86525 return new A.UnitlessSassNumber0(i, null);
86526 },
86527 $signature: 487
86528 };
86529 A.legacyMapClass__closure0.prototype = {
86530 call$1(_) {
86531 return B.C__SassNull0;
86532 },
86533 $signature: 235
86534 };
86535 A.legacyMapClass_closure0.prototype = {
86536 call$2(thisArg, index) {
86537 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
86538 return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
86539 },
86540 $signature: 237
86541 };
86542 A.legacyMapClass_closure1.prototype = {
86543 call$2(thisArg, index) {
86544 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
86545 return A.wrapValue(t1.get$values(t1).elementAt$1(0, index));
86546 },
86547 $signature: 237
86548 };
86549 A.legacyMapClass_closure2.prototype = {
86550 call$1(thisArg) {
86551 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
86552 return t1.get$length(t1);
86553 },
86554 $signature: 489
86555 };
86556 A.legacyMapClass_closure3.prototype = {
86557 call$3(thisArg, index, key) {
86558 var newKey, t2, newMap, t3, i, t4, t5,
86559 t1 = J.getInterceptor$x(thisArg);
86560 A.RangeError_checkValidIndex(index, t1.get$dartValue(thisArg)._map0$_contents, "index");
86561 newKey = A.unwrapValue(key);
86562 t2 = type$.Value_2;
86563 newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
86564 for (t3 = t1.get$dartValue(thisArg)._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
86565 t4 = t3.get$current(t3);
86566 if (i === index)
86567 newMap.$indexSet(0, newKey, t4.value);
86568 else {
86569 t5 = t4.key;
86570 if (newKey.$eq(0, t5))
86571 throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
86572 newMap.$indexSet(0, t5, t4.value);
86573 }
86574 ++i;
86575 }
86576 t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
86577 },
86578 "call*": "call$3",
86579 $requiredArgCount: 3,
86580 $signature: 238
86581 };
86582 A.legacyMapClass_closure4.prototype = {
86583 call$3(thisArg, index, value) {
86584 var t3, t4, t5,
86585 t1 = J.getInterceptor$x(thisArg),
86586 t2 = t1.get$dartValue(thisArg)._map0$_contents,
86587 key = J.elementAt$1$ax(t2.get$keys(t2), index);
86588 t2 = type$.Value_2;
86589 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
86590 for (t4 = t1.get$dartValue(thisArg)._map0$_contents, t4 = t4.get$entries(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
86591 t5 = t4.get$current(t4);
86592 t3.$indexSet(0, t5.key, t5.value);
86593 }
86594 t3.$indexSet(0, key, A.unwrapValue(value));
86595 t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
86596 },
86597 "call*": "call$3",
86598 $requiredArgCount: 3,
86599 $signature: 238
86600 };
86601 A.mapClass_closure.prototype = {
86602 call$0() {
86603 var t1 = type$.JSClass,
86604 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
86605 t2 = J.getInterceptor$x(jsClass);
86606 A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
86607 t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
86608 A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
86609 return jsClass;
86610 },
86611 $signature: 25
86612 };
86613 A.mapClass__closure.prototype = {
86614 call$2($self, contents) {
86615 var t1;
86616 if (contents == null)
86617 t1 = B.SassMap_Map_empty0;
86618 else {
86619 t1 = type$.Value_2;
86620 t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
86621 }
86622 return t1;
86623 },
86624 call$1($self) {
86625 return this.call$2($self, null);
86626 },
86627 "call*": "call$2",
86628 $requiredArgCount: 1,
86629 $defaultValues() {
86630 return [null];
86631 },
86632 $signature: 491
86633 };
86634 A.mapClass__closure0.prototype = {
86635 call$1($self) {
86636 return A.dartMapToImmutableMap($self._map0$_contents);
86637 },
86638 $signature: 492
86639 };
86640 A.mapClass__closure1.prototype = {
86641 call$2($self, indexOrKey) {
86642 var index, t1, entry;
86643 if (typeof indexOrKey == "number") {
86644 index = B.JSNumber_methods.floor$0(indexOrKey);
86645 if (index < 0) {
86646 t1 = $self._map0$_contents;
86647 index = t1.get$length(t1) + index;
86648 }
86649 if (index >= 0) {
86650 t1 = $self._map0$_contents;
86651 t1 = index >= t1.get$length(t1);
86652 } else
86653 t1 = true;
86654 if (t1)
86655 return self.undefined;
86656 t1 = $self._map0$_contents;
86657 entry = t1.get$entries(t1).elementAt$1(0, index);
86658 return A.SassList$0(A._setArrayType([entry.key, entry.value], type$.JSArray_Value_2), B.ListSeparator_woc0, false);
86659 } else {
86660 t1 = $self._map0$_contents.$index(0, indexOrKey);
86661 return t1 == null ? self.undefined : t1;
86662 }
86663 },
86664 $signature: 493
86665 };
86666 A.SassMap0.prototype = {
86667 get$separator(_) {
86668 var t1 = this._map0$_contents;
86669 return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null0 : B.ListSeparator_kWM0;
86670 },
86671 get$asList() {
86672 var result = A._setArrayType([], type$.JSArray_Value_2);
86673 this._map0$_contents.forEach$1(0, new A.SassMap_asList_closure0(result));
86674 return result;
86675 },
86676 get$lengthAsList() {
86677 var t1 = this._map0$_contents;
86678 return t1.get$length(t1);
86679 },
86680 accept$1$1(visitor) {
86681 return visitor.visitMap$1(this);
86682 },
86683 accept$1(visitor) {
86684 return this.accept$1$1(visitor, type$.dynamic);
86685 },
86686 assertMap$1($name) {
86687 return this;
86688 },
86689 tryMap$0() {
86690 return this;
86691 },
86692 $eq(_, other) {
86693 var t1;
86694 if (other == null)
86695 return false;
86696 if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
86697 t1 = this._map0$_contents;
86698 t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
86699 } else
86700 t1 = true;
86701 return t1;
86702 },
86703 get$hashCode(_) {
86704 var t1 = this._map0$_contents;
86705 return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty15) : B.C_MapEquality.hash$1(t1);
86706 }
86707 };
86708 A.SassMap_asList_closure0.prototype = {
86709 call$2(key, value) {
86710 this.result.push(A.SassList$0(A._setArrayType([key, value], type$.JSArray_Value_2), B.ListSeparator_woc0, false));
86711 },
86712 $signature: 57
86713 };
86714 A._ceil_closure0.prototype = {
86715 call$1(value) {
86716 return B.JSNumber_methods.ceil$0(value);
86717 },
86718 $signature: 44
86719 };
86720 A._clamp_closure0.prototype = {
86721 call$1($arguments) {
86722 var t1 = J.getInterceptor$asx($arguments),
86723 min = t1.$index($arguments, 0).assertNumber$1("min"),
86724 number = t1.$index($arguments, 1).assertNumber$1("number"),
86725 max = t1.$index($arguments, 2).assertNumber$1("max");
86726 number.convertValueToMatch$3(min, "number", "min");
86727 max.convertValueToMatch$3(min, "max", "min");
86728 if (min.greaterThanOrEquals$1(max).value)
86729 return min;
86730 if (min.greaterThanOrEquals$1(number).value)
86731 return min;
86732 if (number.greaterThanOrEquals$1(max).value)
86733 return max;
86734 return number;
86735 },
86736 $signature: 9
86737 };
86738 A._floor_closure0.prototype = {
86739 call$1(value) {
86740 return B.JSNumber_methods.floor$0(value);
86741 },
86742 $signature: 44
86743 };
86744 A._max_closure0.prototype = {
86745 call$1($arguments) {
86746 var t1, t2, max, _i, number;
86747 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) {
86748 number = t1[_i].assertNumber$0();
86749 if (max == null || max.lessThan$1(number).value)
86750 max = number;
86751 }
86752 if (max != null)
86753 return max;
86754 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
86755 },
86756 $signature: 9
86757 };
86758 A._min_closure0.prototype = {
86759 call$1($arguments) {
86760 var t1, t2, min, _i, number;
86761 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) {
86762 number = t1[_i].assertNumber$0();
86763 if (min == null || min.greaterThan$1(number).value)
86764 min = number;
86765 }
86766 if (min != null)
86767 return min;
86768 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
86769 },
86770 $signature: 9
86771 };
86772 A._abs_closure0.prototype = {
86773 call$1(value) {
86774 return Math.abs(value);
86775 },
86776 $signature: 73
86777 };
86778 A._hypot_closure0.prototype = {
86779 call$1($arguments) {
86780 var subtotal, i, i0, t3, t4,
86781 t1 = J.$index$asx($arguments, 0).get$asList(),
86782 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
86783 numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
86784 t1 = numbers.length;
86785 if (t1 === 0)
86786 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
86787 for (subtotal = 0, i = 0; i < t1; i = i0) {
86788 i0 = i + 1;
86789 subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
86790 }
86791 t1 = Math.sqrt(subtotal);
86792 t2 = numbers[0];
86793 t3 = J.getInterceptor$x(t2);
86794 t4 = t3.get$numeratorUnits(t2);
86795 return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t2), t4);
86796 },
86797 $signature: 9
86798 };
86799 A._hypot__closure0.prototype = {
86800 call$1(argument) {
86801 return argument.assertNumber$0();
86802 },
86803 $signature: 494
86804 };
86805 A._log_closure0.prototype = {
86806 call$1($arguments) {
86807 var numberValue, base, baseValue, t2,
86808 _s18_ = " to have no units.",
86809 t1 = J.getInterceptor$asx($arguments),
86810 number = t1.$index($arguments, 0).assertNumber$1("number");
86811 if (number.get$hasUnits())
86812 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_));
86813 numberValue = A._fuzzyRoundIfZero0(number._number1$_value);
86814 if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull0)) {
86815 t1 = Math.log(numberValue);
86816 return new A.UnitlessSassNumber0(t1, null);
86817 }
86818 base = t1.$index($arguments, 1).assertNumber$1("base");
86819 if (base.get$hasUnits())
86820 throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_));
86821 t1 = base._number1$_value;
86822 baseValue = Math.abs(t1 - 1) < $.$get$epsilon0() ? A.fuzzyRound0(t1) : A._fuzzyRoundIfZero0(t1);
86823 t1 = Math.log(numberValue);
86824 t2 = Math.log(baseValue);
86825 return new A.UnitlessSassNumber0(t1 / t2, null);
86826 },
86827 $signature: 9
86828 };
86829 A._pow_closure0.prototype = {
86830 call$1($arguments) {
86831 var baseValue, exponentValue, t2, intExponent, t3,
86832 _s18_ = " to have no units.",
86833 _null = null,
86834 t1 = J.getInterceptor$asx($arguments),
86835 base = t1.$index($arguments, 0).assertNumber$1("base"),
86836 exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
86837 if (base.get$hasUnits())
86838 throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_));
86839 else if (exponent.get$hasUnits())
86840 throw A.wrapException(A.SassScriptException$0("$exponent: Expected " + exponent.toString$0(0) + _s18_));
86841 baseValue = A._fuzzyRoundIfZero0(base._number1$_value);
86842 exponentValue = A._fuzzyRoundIfZero0(exponent._number1$_value);
86843 t1 = $.$get$epsilon0();
86844 if (Math.abs(Math.abs(baseValue) - 1) < t1)
86845 t2 = exponentValue == 1 / 0 || exponentValue == -1 / 0;
86846 else
86847 t2 = false;
86848 if (t2)
86849 return new A.UnitlessSassNumber0(0 / 0, _null);
86850 else {
86851 t2 = Math.abs(baseValue - 0);
86852 if (t2 < t1) {
86853 if (isFinite(exponentValue)) {
86854 intExponent = A.fuzzyIsInt0(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
86855 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
86856 exponentValue = A.fuzzyRound0(exponentValue);
86857 }
86858 } else {
86859 if (isFinite(baseValue))
86860 t3 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue) && A.fuzzyIsInt0(exponentValue);
86861 else
86862 t3 = false;
86863 if (t3)
86864 exponentValue = A.fuzzyRound0(exponentValue);
86865 else {
86866 if (baseValue == 1 / 0 || baseValue == -1 / 0)
86867 t1 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue);
86868 else
86869 t1 = false;
86870 if (t1) {
86871 intExponent = A.fuzzyIsInt0(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
86872 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
86873 exponentValue = A.fuzzyRound0(exponentValue);
86874 }
86875 }
86876 }
86877 }
86878 t1 = Math.pow(baseValue, exponentValue);
86879 return new A.UnitlessSassNumber0(t1, _null);
86880 },
86881 $signature: 9
86882 };
86883 A._sqrt_closure0.prototype = {
86884 call$1($arguments) {
86885 var t1,
86886 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86887 if (number.get$hasUnits())
86888 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86889 t1 = Math.sqrt(A._fuzzyRoundIfZero0(number._number1$_value));
86890 return new A.UnitlessSassNumber0(t1, null);
86891 },
86892 $signature: 9
86893 };
86894 A._acos_closure0.prototype = {
86895 call$1($arguments) {
86896 var numberValue,
86897 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86898 if (number.get$hasUnits())
86899 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86900 numberValue = number._number1$_value;
86901 if (Math.abs(Math.abs(numberValue) - 1) < $.$get$epsilon0())
86902 numberValue = A.fuzzyRound0(numberValue);
86903 return A.SassNumber_SassNumber$withUnits0(Math.acos(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86904 },
86905 $signature: 9
86906 };
86907 A._asin_closure0.prototype = {
86908 call$1($arguments) {
86909 var t1, numberValue,
86910 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86911 if (number.get$hasUnits())
86912 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86913 t1 = number._number1$_value;
86914 numberValue = Math.abs(Math.abs(t1) - 1) < $.$get$epsilon0() ? A.fuzzyRound0(t1) : A._fuzzyRoundIfZero0(t1);
86915 return A.SassNumber_SassNumber$withUnits0(Math.asin(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86916 },
86917 $signature: 9
86918 };
86919 A._atan_closure0.prototype = {
86920 call$1($arguments) {
86921 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
86922 if (number.get$hasUnits())
86923 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86924 return A.SassNumber_SassNumber$withUnits0(Math.atan(A._fuzzyRoundIfZero0(number._number1$_value)) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86925 },
86926 $signature: 9
86927 };
86928 A._atan2_closure0.prototype = {
86929 call$1($arguments) {
86930 var t1 = J.getInterceptor$asx($arguments),
86931 y = t1.$index($arguments, 0).assertNumber$1("y"),
86932 xValue = A._fuzzyRoundIfZero0(t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y"));
86933 return A.SassNumber_SassNumber$withUnits0(Math.atan2(A._fuzzyRoundIfZero0(y._number1$_value), xValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86934 },
86935 $signature: 9
86936 };
86937 A._cos_closure0.prototype = {
86938 call$1($arguments) {
86939 var t1 = Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"));
86940 return new A.UnitlessSassNumber0(t1, null);
86941 },
86942 $signature: 9
86943 };
86944 A._sin_closure0.prototype = {
86945 call$1($arguments) {
86946 var t1 = Math.sin(A._fuzzyRoundIfZero0(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")));
86947 return new A.UnitlessSassNumber0(t1, null);
86948 },
86949 $signature: 9
86950 };
86951 A._tan_closure0.prototype = {
86952 call$1($arguments) {
86953 var value = J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"),
86954 t1 = B.JSNumber_methods.$mod(value - 1.5707963267948966, 6.283185307179586),
86955 t2 = $.$get$epsilon0();
86956 if (Math.abs(t1 - 0) < t2)
86957 return new A.UnitlessSassNumber0(1 / 0, null);
86958 else if (Math.abs(B.JSNumber_methods.$mod(value + 1.5707963267948966, 6.283185307179586) - 0) < t2)
86959 return new A.UnitlessSassNumber0(-1 / 0, null);
86960 else {
86961 t1 = Math.tan(A._fuzzyRoundIfZero0(value));
86962 return new A.UnitlessSassNumber0(t1, null);
86963 }
86964 },
86965 $signature: 9
86966 };
86967 A._compatible_closure0.prototype = {
86968 call$1($arguments) {
86969 var t1 = J.getInterceptor$asx($arguments);
86970 return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
86971 },
86972 $signature: 18
86973 };
86974 A._isUnitless_closure0.prototype = {
86975 call$1($arguments) {
86976 return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
86977 },
86978 $signature: 18
86979 };
86980 A._unit_closure0.prototype = {
86981 call$1($arguments) {
86982 return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
86983 },
86984 $signature: 13
86985 };
86986 A._percentage_closure0.prototype = {
86987 call$1($arguments) {
86988 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
86989 number.assertNoUnits$1("number");
86990 return new A.SingleUnitSassNumber0("%", number._number1$_value * 100, null);
86991 },
86992 $signature: 9
86993 };
86994 A._randomFunction_closure0.prototype = {
86995 call$1($arguments) {
86996 var limit,
86997 t1 = J.getInterceptor$asx($arguments);
86998 if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull0)) {
86999 t1 = $.$get$_random2().nextDouble$0();
87000 return new A.UnitlessSassNumber0(t1, null);
87001 }
87002 limit = t1.$index($arguments, 0).assertNumber$1("limit").assertInt$1("limit");
87003 if (limit < 1)
87004 throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit + "."));
87005 t1 = $.$get$_random2().nextInt$1(limit);
87006 return new A.UnitlessSassNumber0(t1 + 1, null);
87007 },
87008 $signature: 9
87009 };
87010 A._div_closure0.prototype = {
87011 call$1($arguments) {
87012 var t1 = J.getInterceptor$asx($arguments),
87013 number1 = t1.$index($arguments, 0),
87014 number2 = t1.$index($arguments, 1);
87015 if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
87016 A.EvaluationContext_current0().warn$2$deprecation(0, string$.math_d, false);
87017 return number1.dividedBy$1(number2);
87018 },
87019 $signature: 3
87020 };
87021 A._numberFunction_closure0.prototype = {
87022 call$1($arguments) {
87023 var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
87024 t1 = this.transform.call$1(number._number1$_value),
87025 t2 = number.get$numeratorUnits(number);
87026 return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
87027 },
87028 $signature: 9
87029 };
87030 A.CssMediaQuery0.prototype = {
87031 merge$1(other) {
87032 var t8, negativeFeatures, features, type, modifier, fewerFeatures, fewerFeatures0, moreFeatures, _this = this, _null = null, _s3_ = "all",
87033 t1 = _this.modifier,
87034 ourModifier = t1 == null ? _null : t1.toLowerCase(),
87035 t2 = _this.type,
87036 t3 = t2 == null,
87037 ourType = t3 ? _null : t2.toLowerCase(),
87038 t4 = other.modifier,
87039 theirModifier = t4 == null ? _null : t4.toLowerCase(),
87040 t5 = other.type,
87041 t6 = t5 == null,
87042 theirType = t6 ? _null : t5.toLowerCase(),
87043 t7 = ourType == null;
87044 if (t7 && theirType == null) {
87045 t1 = type$.String;
87046 t2 = A.List_List$of(_this.features, true, t1);
87047 B.JSArray_methods.addAll$1(t2, other.features);
87048 return new A.MediaQuerySuccessfulMergeResult0(new A.CssMediaQuery0(_null, _null, A.List_List$unmodifiable(t2, t1)));
87049 }
87050 t8 = ourModifier === "not";
87051 if (t8 !== (theirModifier === "not")) {
87052 if (ourType == theirType) {
87053 negativeFeatures = t8 ? _this.features : other.features;
87054 if (B.JSArray_methods.every$1(negativeFeatures, B.JSArray_methods.get$contains(t8 ? other.features : _this.features)))
87055 return B._SingletonCssMediaQueryMergeResult_empty0;
87056 else
87057 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
87058 } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
87059 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
87060 if (t8) {
87061 features = other.features;
87062 type = theirType;
87063 modifier = theirModifier;
87064 } else {
87065 features = _this.features;
87066 type = ourType;
87067 modifier = ourModifier;
87068 }
87069 } else if (t8) {
87070 if (ourType != theirType)
87071 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
87072 fewerFeatures = _this.features;
87073 fewerFeatures0 = other.features;
87074 t3 = fewerFeatures.length > fewerFeatures0.length;
87075 moreFeatures = t3 ? fewerFeatures : fewerFeatures0;
87076 if (t3)
87077 fewerFeatures = fewerFeatures0;
87078 if (!B.JSArray_methods.every$1(fewerFeatures, B.JSArray_methods.get$contains(moreFeatures)))
87079 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
87080 features = moreFeatures;
87081 type = ourType;
87082 modifier = ourModifier;
87083 } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
87084 type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
87085 t3 = A.List_List$of(_this.features, true, type$.String);
87086 B.JSArray_methods.addAll$1(t3, other.features);
87087 features = t3;
87088 modifier = theirModifier;
87089 } else {
87090 if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
87091 t3 = A.List_List$of(_this.features, true, type$.String);
87092 B.JSArray_methods.addAll$1(t3, other.features);
87093 features = t3;
87094 modifier = ourModifier;
87095 } else {
87096 if (ourType != theirType)
87097 return B._SingletonCssMediaQueryMergeResult_empty0;
87098 else {
87099 modifier = ourModifier == null ? theirModifier : ourModifier;
87100 t3 = A.List_List$of(_this.features, true, type$.String);
87101 B.JSArray_methods.addAll$1(t3, other.features);
87102 }
87103 features = t3;
87104 }
87105 type = ourType;
87106 }
87107 t2 = type == ourType ? t2 : t5;
87108 t1 = modifier == ourModifier ? t1 : t4;
87109 t3 = A.List_List$unmodifiable(features, type$.String);
87110 return new A.MediaQuerySuccessfulMergeResult0(new A.CssMediaQuery0(t1, t2, t3));
87111 },
87112 $eq(_, other) {
87113 if (other == null)
87114 return false;
87115 return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.features, this.features);
87116 },
87117 get$hashCode(_) {
87118 return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.features);
87119 },
87120 toString$0(_) {
87121 var t2, _this = this,
87122 t1 = _this.modifier;
87123 t1 = t1 != null ? "" + (t1 + " ") : "";
87124 t2 = _this.type;
87125 if (t2 != null) {
87126 t1 += t2;
87127 if (_this.features.length !== 0)
87128 t1 += " and ";
87129 }
87130 t1 += B.JSArray_methods.join$1(_this.features, " and ");
87131 return t1.charCodeAt(0) == 0 ? t1 : t1;
87132 }
87133 };
87134 A._SingletonCssMediaQueryMergeResult0.prototype = {
87135 toString$0(_) {
87136 return this._media_query1$_name;
87137 }
87138 };
87139 A.MediaQuerySuccessfulMergeResult0.prototype = {};
87140 A.MediaQueryParser0.prototype = {
87141 parse$0() {
87142 return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
87143 },
87144 _media_query0$_mediaQuery$0() {
87145 var identifier1, identifier2, type, modifier, features, _this = this, _null = null,
87146 t1 = _this.scanner;
87147 if (t1.peekChar$0() !== 40) {
87148 identifier1 = _this.identifier$0();
87149 _this.whitespace$0();
87150 if (!_this.lookingAtIdentifier$0())
87151 return new A.CssMediaQuery0(_null, identifier1, B.List_empty);
87152 identifier2 = _this.identifier$0();
87153 _this.whitespace$0();
87154 if (A.equalsIgnoreCase0(identifier2, "and")) {
87155 type = identifier1;
87156 modifier = _null;
87157 } else {
87158 if (_this.scanIdentifier$1("and"))
87159 _this.whitespace$0();
87160 else
87161 return new A.CssMediaQuery0(identifier1, identifier2, B.List_empty);
87162 type = identifier2;
87163 modifier = identifier1;
87164 }
87165 } else {
87166 type = _null;
87167 modifier = type;
87168 }
87169 features = A._setArrayType([], type$.JSArray_String);
87170 do {
87171 _this.whitespace$0();
87172 t1.expectChar$1(40);
87173 features.push("(" + _this.declarationValue$0() + ")");
87174 t1.expectChar$1(41);
87175 _this.whitespace$0();
87176 } while (_this.scanIdentifier$1("and"));
87177 if (type == null)
87178 return new A.CssMediaQuery0(_null, _null, A.List_List$unmodifiable(features, type$.String));
87179 else {
87180 t1 = A.List_List$unmodifiable(features, type$.String);
87181 return new A.CssMediaQuery0(modifier, type, t1);
87182 }
87183 }
87184 };
87185 A.MediaQueryParser_parse_closure0.prototype = {
87186 call$0() {
87187 var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
87188 t1 = this.$this,
87189 t2 = t1.scanner;
87190 do {
87191 t1.whitespace$0();
87192 queries.push(t1._media_query0$_mediaQuery$0());
87193 } while (t2.scanChar$1(44));
87194 t2.expectDone$0();
87195 return queries;
87196 },
87197 $signature: 132
87198 };
87199 A.ModifiableCssMediaRule0.prototype = {
87200 accept$1$1(visitor) {
87201 return visitor.visitCssMediaRule$1(this);
87202 },
87203 accept$1(visitor) {
87204 return this.accept$1$1(visitor, type$.dynamic);
87205 },
87206 copyWithoutChildren$0() {
87207 return A.ModifiableCssMediaRule$0(this.queries, this.span);
87208 },
87209 $isCssMediaRule0: 1,
87210 get$span(receiver) {
87211 return this.span;
87212 }
87213 };
87214 A.MediaRule0.prototype = {
87215 accept$1$1(visitor) {
87216 return visitor.visitMediaRule$1(this);
87217 },
87218 accept$1(visitor) {
87219 return this.accept$1$1(visitor, type$.dynamic);
87220 },
87221 toString$0(_) {
87222 var t1 = this.children;
87223 return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
87224 },
87225 get$span(receiver) {
87226 return this.span;
87227 }
87228 };
87229 A.MergedExtension0.prototype = {
87230 unmerge$0() {
87231 var $async$self = this;
87232 return A._makeSyncStarIterable(function() {
87233 var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
87234 return function $async$unmerge$0($async$errorCode, $async$result) {
87235 if ($async$errorCode === 1) {
87236 $async$currentError = $async$result;
87237 $async$goto = $async$handler;
87238 }
87239 while (true)
87240 switch ($async$goto) {
87241 case 0:
87242 // Function start
87243 left = $async$self.left;
87244 $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
87245 break;
87246 case 2:
87247 // then
87248 $async$goto = 5;
87249 return A._IterationMarker_yieldStar(left.unmerge$0());
87250 case 5:
87251 // after yield
87252 // goto join
87253 $async$goto = 3;
87254 break;
87255 case 4:
87256 // else
87257 $async$goto = 6;
87258 return left;
87259 case 6:
87260 // after yield
87261 case 3:
87262 // join
87263 right = $async$self.right;
87264 $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
87265 break;
87266 case 7:
87267 // then
87268 $async$goto = 10;
87269 return A._IterationMarker_yieldStar(right.unmerge$0());
87270 case 10:
87271 // after yield
87272 // goto join
87273 $async$goto = 8;
87274 break;
87275 case 9:
87276 // else
87277 $async$goto = 11;
87278 return right;
87279 case 11:
87280 // after yield
87281 case 8:
87282 // join
87283 // implicit return
87284 return A._IterationMarker_endOfIteration();
87285 case 1:
87286 // rethrow
87287 return A._IterationMarker_uncaughtError($async$currentError);
87288 }
87289 };
87290 }, type$.Extension_2);
87291 }
87292 };
87293 A.MergedMapView0.prototype = {
87294 get$keys(_) {
87295 var t1 = this._merged_map_view$_mapsByKey;
87296 return t1.get$keys(t1);
87297 },
87298 get$length(_) {
87299 var t1 = this._merged_map_view$_mapsByKey;
87300 return t1.get$length(t1);
87301 },
87302 get$isEmpty(_) {
87303 var t1 = this._merged_map_view$_mapsByKey;
87304 return t1.get$isEmpty(t1);
87305 },
87306 get$isNotEmpty(_) {
87307 var t1 = this._merged_map_view$_mapsByKey;
87308 return t1.get$isNotEmpty(t1);
87309 },
87310 MergedMapView$10(maps, $K, $V) {
87311 var t1, t2, t3, _i, map, t4, t5;
87312 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) {
87313 map = maps[_i];
87314 if (t3._is(map))
87315 for (t4 = map._merged_map_view$_mapsByKey, t4 = t4.get$values(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
87316 t5 = t4.get$current(t4);
87317 A.setAll0(t2, t5.get$keys(t5), t5);
87318 }
87319 else
87320 A.setAll0(t2, map.get$keys(map), map);
87321 }
87322 },
87323 $index(_, key) {
87324 var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
87325 return t1 == null ? null : t1.$index(0, key);
87326 },
87327 $indexSet(_, key, value) {
87328 var child = this._merged_map_view$_mapsByKey.$index(0, key);
87329 if (child == null)
87330 throw A.wrapException(A.UnsupportedError$(string$.New_en));
87331 child.$indexSet(0, key, value);
87332 },
87333 remove$1(_, key) {
87334 throw A.wrapException(A.UnsupportedError$(string$.Entrie));
87335 },
87336 containsKey$1(key) {
87337 return this._merged_map_view$_mapsByKey.containsKey$1(key);
87338 }
87339 };
87340 A.global_closure57.prototype = {
87341 call$1($arguments) {
87342 return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87343 },
87344 $signature: 18
87345 };
87346 A.global_closure58.prototype = {
87347 call$1($arguments) {
87348 return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
87349 },
87350 $signature: 13
87351 };
87352 A.global_closure59.prototype = {
87353 call$1($arguments) {
87354 var value = J.$index$asx($arguments, 0);
87355 if (value instanceof A.SassArgumentList0)
87356 return new A.SassString0("arglist", false);
87357 if (value instanceof A.SassBoolean0)
87358 return new A.SassString0("bool", false);
87359 if (value instanceof A.SassColor0)
87360 return new A.SassString0("color", false);
87361 if (value instanceof A.SassList0)
87362 return new A.SassString0("list", false);
87363 if (value instanceof A.SassMap0)
87364 return new A.SassString0("map", false);
87365 if (value.$eq(0, B.C__SassNull0))
87366 return new A.SassString0("null", false);
87367 if (value instanceof A.SassNumber0)
87368 return new A.SassString0("number", false);
87369 if (value instanceof A.SassFunction0)
87370 return new A.SassString0("function", false);
87371 if (value instanceof A.SassCalculation0)
87372 return new A.SassString0("calculation", false);
87373 return new A.SassString0("string", false);
87374 },
87375 $signature: 13
87376 };
87377 A.global_closure60.prototype = {
87378 call$1($arguments) {
87379 var t1, t2, t3, t4,
87380 argumentList = J.$index$asx($arguments, 0);
87381 if (argumentList instanceof A.SassArgumentList0) {
87382 t1 = type$.Value_2;
87383 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
87384 for (argumentList._argument_list$_wereKeywordsAccessed = true, t3 = argumentList._argument_list$_keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
87385 t4 = t3.get$current(t3);
87386 t2.$indexSet(0, new A.SassString0(t4.key, false), t4.value);
87387 }
87388 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
87389 } else
87390 throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
87391 },
87392 $signature: 40
87393 };
87394 A.local_closure1.prototype = {
87395 call$1($arguments) {
87396 return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
87397 },
87398 $signature: 13
87399 };
87400 A.local_closure2.prototype = {
87401 call$1($arguments) {
87402 var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
87403 return A.SassList$0(new A.MappedListIterable(t1, new A.local__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_kWM0, false);
87404 },
87405 $signature: 21
87406 };
87407 A.local__closure0.prototype = {
87408 call$1(argument) {
87409 if (argument instanceof A.Value0)
87410 return argument;
87411 return new A.SassString0(J.toString$0$(argument), false);
87412 },
87413 $signature: 495
87414 };
87415 A.MixinRule0.prototype = {
87416 get$hasContent() {
87417 var result, _this = this,
87418 value = _this._mixin_rule$__MixinRule_hasContent;
87419 if (value === $) {
87420 result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
87421 A._lateInitializeOnceCheck(_this._mixin_rule$__MixinRule_hasContent, "hasContent");
87422 _this._mixin_rule$__MixinRule_hasContent = result;
87423 value = result;
87424 }
87425 return value;
87426 },
87427 accept$1$1(visitor) {
87428 return visitor.visitMixinRule$1(this);
87429 },
87430 accept$1(visitor) {
87431 return this.accept$1$1(visitor, type$.dynamic);
87432 },
87433 toString$0(_) {
87434 var t1 = "@mixin " + this.name,
87435 t2 = this.$arguments;
87436 if (!(t2.$arguments.length === 0 && t2.restArgument == null))
87437 t1 += "(" + t2.toString$0(0) + ")";
87438 t2 = this.children;
87439 t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
87440 return t2.charCodeAt(0) == 0 ? t2 : t2;
87441 }
87442 };
87443 A._HasContentVisitor0.prototype = {
87444 visitContentRule$1(_) {
87445 return true;
87446 }
87447 };
87448 A.ExtendMode0.prototype = {
87449 toString$0(_) {
87450 return this.name;
87451 }
87452 };
87453 A.SupportsNegation0.prototype = {
87454 toString$0(_) {
87455 var t1 = this.condition;
87456 if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
87457 return "not (" + t1.toString$0(0) + ")";
87458 else
87459 return "not " + t1.toString$0(0);
87460 },
87461 $isAstNode0: 1,
87462 $isSupportsCondition0: 1,
87463 get$span(receiver) {
87464 return this.span;
87465 }
87466 };
87467 A.NoOpImporter.prototype = {
87468 canonicalize$1(_, url) {
87469 return null;
87470 },
87471 load$1(_, url) {
87472 return null;
87473 },
87474 toString$0(_) {
87475 return "(unknown)";
87476 }
87477 };
87478 A.NoSourceMapBuffer0.prototype = {
87479 get$length(_) {
87480 return this._no_source_map_buffer0$_buffer._contents.length;
87481 },
87482 forSpan$1$2(span, callback) {
87483 return callback.call$0();
87484 },
87485 forSpan$2(span, callback) {
87486 return this.forSpan$1$2(span, callback, type$.dynamic);
87487 },
87488 write$1(_, object) {
87489 this._no_source_map_buffer0$_buffer._contents += A.S(object);
87490 return null;
87491 },
87492 writeCharCode$1(charCode) {
87493 this._no_source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
87494 return null;
87495 },
87496 toString$0(_) {
87497 var t1 = this._no_source_map_buffer0$_buffer._contents;
87498 return t1.charCodeAt(0) == 0 ? t1 : t1;
87499 },
87500 buildSourceMap$1$prefix(prefix) {
87501 return A.throwExpression(A.UnsupportedError$(string$.NoSour));
87502 }
87503 };
87504 A.AstNode0.prototype = {};
87505 A._FakeAstNode0.prototype = {
87506 get$span(_) {
87507 return this._node2$_callback.call$0();
87508 },
87509 $isAstNode0: 1
87510 };
87511 A.CssNode0.prototype = {
87512 toString$0(_) {
87513 return A.serialize0(this, true, null, true, null, false, null, true).css;
87514 }
87515 };
87516 A.CssParentNode0.prototype = {};
87517 A.FileSystemException0.prototype = {
87518 toString$0(_) {
87519 var t1 = $.$get$context();
87520 return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
87521 },
87522 get$message(receiver) {
87523 return this.message;
87524 }
87525 };
87526 A.Stderr0.prototype = {
87527 writeln$1(object) {
87528 J.write$1$x(this._node0$_stderr, (object == null ? "" : object) + "\n");
87529 },
87530 writeln$0() {
87531 return this.writeln$1(null);
87532 }
87533 };
87534 A._readFile_closure0.prototype = {
87535 call$0() {
87536 return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
87537 },
87538 $signature: 93
87539 };
87540 A.fileExists_closure0.prototype = {
87541 call$0() {
87542 var error, systemError, exception,
87543 t1 = this.path;
87544 if (!J.existsSync$1$x(A.fs(), t1))
87545 return false;
87546 try {
87547 t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
87548 return t1;
87549 } catch (exception) {
87550 error = A.unwrapException(exception);
87551 systemError = type$.JsSystemError._as(error);
87552 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
87553 return false;
87554 throw exception;
87555 }
87556 },
87557 $signature: 29
87558 };
87559 A.dirExists_closure0.prototype = {
87560 call$0() {
87561 var error, systemError, exception,
87562 t1 = this.path;
87563 if (!J.existsSync$1$x(A.fs(), t1))
87564 return false;
87565 try {
87566 t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
87567 return t1;
87568 } catch (exception) {
87569 error = A.unwrapException(exception);
87570 systemError = type$.JsSystemError._as(error);
87571 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
87572 return false;
87573 throw exception;
87574 }
87575 },
87576 $signature: 29
87577 };
87578 A.listDir_closure0.prototype = {
87579 call$0() {
87580 var t1 = this.path;
87581 if (!this.recursive)
87582 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());
87583 else
87584 return new A.listDir_closure_list0().call$1(t1);
87585 },
87586 $signature: 176
87587 };
87588 A.listDir__closure1.prototype = {
87589 call$1(child) {
87590 return A.join(this.path, A._asString(child), null);
87591 },
87592 $signature: 91
87593 };
87594 A.listDir__closure2.prototype = {
87595 call$1(child) {
87596 return !A.dirExists0(child);
87597 },
87598 $signature: 6
87599 };
87600 A.listDir_closure_list0.prototype = {
87601 call$1($parent) {
87602 return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
87603 },
87604 $signature: 259
87605 };
87606 A.listDir__list_closure0.prototype = {
87607 call$1(child) {
87608 var path = A.join(this.parent, A._asString(child), null);
87609 return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
87610 },
87611 $signature: 184
87612 };
87613 A.ModifiableCssNode0.prototype = {
87614 get$hasFollowingSibling() {
87615 var siblings, t1, i, t2,
87616 $parent = this._node1$_parent;
87617 if ($parent == null)
87618 return false;
87619 siblings = $parent.children;
87620 t1 = this._node1$_indexInParent;
87621 t1.toString;
87622 i = t1 + 1;
87623 t1 = siblings._collection$_source;
87624 t2 = J.getInterceptor$asx(t1);
87625 for (; i < t2.get$length(t1); ++i)
87626 if (!this._node1$_isInvisible$1(t2.elementAt$1(t1, i)))
87627 return true;
87628 return false;
87629 },
87630 _node1$_isInvisible$1(node) {
87631 if (type$.CssParentNode_2._is(node)) {
87632 if (type$.CssAtRule_2._is(node))
87633 return false;
87634 if (type$.CssStyleRule_2._is(node) && node.selector.value.get$isInvisible())
87635 return true;
87636 return J.every$1$ax(node.get$children(node), this.get$_node1$_isInvisible());
87637 } else
87638 return false;
87639 },
87640 get$isGroupEnd() {
87641 return this.isGroupEnd;
87642 }
87643 };
87644 A.ModifiableCssParentNode0.prototype = {
87645 get$isChildless() {
87646 return false;
87647 },
87648 addChild$1(child) {
87649 var t1;
87650 child._node1$_parent = this;
87651 t1 = this._node1$_children;
87652 child._node1$_indexInParent = t1.length;
87653 t1.push(child);
87654 },
87655 $isCssParentNode0: 1,
87656 get$children(receiver) {
87657 return this.children;
87658 }
87659 };
87660 A.main_closure0.prototype = {
87661 call$2(_, __) {
87662 },
87663 $signature: 496
87664 };
87665 A.main_closure1.prototype = {
87666 call$2(_, __) {
87667 },
87668 $signature: 497
87669 };
87670 A.NodeToDartLogger.prototype = {
87671 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
87672 var t1 = this._node,
87673 warn = t1 == null ? null : J.get$warn$x(t1);
87674 if (warn == null)
87675 this._withAscii$1(new A.NodeToDartLogger_warn_closure(this, message, span, trace, deprecation));
87676 else {
87677 t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
87678 warn.call$2(message, {deprecation: deprecation, span: t1, stack: J.toString$0$(trace)});
87679 }
87680 },
87681 warn$1($receiver, message) {
87682 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
87683 },
87684 warn$2$span($receiver, message, span) {
87685 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
87686 },
87687 warn$2$deprecation($receiver, message, deprecation) {
87688 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
87689 },
87690 warn$3$deprecation$span($receiver, message, deprecation, span) {
87691 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
87692 },
87693 warn$2$trace($receiver, message, trace) {
87694 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
87695 },
87696 debug$2(_, message, span) {
87697 var t1 = this._node,
87698 debug = t1 == null ? null : J.get$debug$x(t1);
87699 if (debug == null)
87700 this._withAscii$1(new A.NodeToDartLogger_debug_closure(this, message, span));
87701 else
87702 debug.call$2(message, {span: span});
87703 },
87704 _withAscii$1$1(callback) {
87705 var t1,
87706 wasAscii = $._glyphs === B.C_AsciiGlyphSet;
87707 $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
87708 try {
87709 t1 = callback.call$0();
87710 return t1;
87711 } finally {
87712 $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
87713 }
87714 },
87715 _withAscii$1(callback) {
87716 return this._withAscii$1$1(callback, type$.dynamic);
87717 }
87718 };
87719 A.NodeToDartLogger_warn_closure.prototype = {
87720 call$0() {
87721 var _this = this;
87722 _this.$this._fallback.warn$4$deprecation$span$trace(0, _this.message, _this.deprecation, _this.span, _this.trace);
87723 },
87724 $signature: 1
87725 };
87726 A.NodeToDartLogger_debug_closure.prototype = {
87727 call$0() {
87728 return this.$this._fallback.debug$2(0, this.message, this.span);
87729 },
87730 $signature: 0
87731 };
87732 A.NullExpression0.prototype = {
87733 accept$1$1(visitor) {
87734 return visitor.visitNullExpression$1(this);
87735 },
87736 accept$1(visitor) {
87737 return this.accept$1$1(visitor, type$.dynamic);
87738 },
87739 toString$0(_) {
87740 return "null";
87741 },
87742 $isExpression0: 1,
87743 $isAstNode0: 1,
87744 get$span(receiver) {
87745 return this.span;
87746 }
87747 };
87748 A.legacyNullClass_closure.prototype = {
87749 call$0() {
87750 var t1 = type$.JSClass,
87751 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
87752 jsClass.NULL = B.C__SassNull0;
87753 A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
87754 return jsClass;
87755 },
87756 $signature: 25
87757 };
87758 A.legacyNullClass__closure.prototype = {
87759 call$2(_, __) {
87760 throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
87761 },
87762 call$1(_) {
87763 return this.call$2(_, null);
87764 },
87765 "call*": "call$2",
87766 $requiredArgCount: 1,
87767 $defaultValues() {
87768 return [null];
87769 },
87770 $signature: 194
87771 };
87772 A._SassNull0.prototype = {
87773 get$isTruthy() {
87774 return false;
87775 },
87776 get$isBlank() {
87777 return true;
87778 },
87779 get$realNull() {
87780 return null;
87781 },
87782 accept$1$1(visitor) {
87783 if (visitor._serialize0$_inspect)
87784 visitor._serialize0$_buffer.write$1(0, "null");
87785 return null;
87786 },
87787 accept$1(visitor) {
87788 return this.accept$1$1(visitor, type$.dynamic);
87789 },
87790 unaryNot$0() {
87791 return B.SassBoolean_true0;
87792 }
87793 };
87794 A.NumberExpression0.prototype = {
87795 accept$1$1(visitor) {
87796 return visitor.visitNumberExpression$1(this);
87797 },
87798 accept$1(visitor) {
87799 return this.accept$1$1(visitor, type$.dynamic);
87800 },
87801 toString$0(_) {
87802 var t1 = A.S(this.value),
87803 t2 = this.unit;
87804 return t1 + (t2 == null ? "" : t2);
87805 },
87806 $isExpression0: 1,
87807 $isAstNode0: 1,
87808 get$span(receiver) {
87809 return this.span;
87810 }
87811 };
87812 A._NodeSassNumber.prototype = {};
87813 A.legacyNumberClass_closure.prototype = {
87814 call$4(thisArg, value, unit, dartValue) {
87815 var t1;
87816 if (dartValue == null) {
87817 value.toString;
87818 t1 = A._parseNumber(value, unit);
87819 } else
87820 t1 = dartValue;
87821 J.set$dartValue$x(thisArg, t1);
87822 },
87823 call$2(thisArg, value) {
87824 return this.call$4(thisArg, value, null, null);
87825 },
87826 call$3(thisArg, value, unit) {
87827 return this.call$4(thisArg, value, unit, null);
87828 },
87829 "call*": "call$4",
87830 $requiredArgCount: 2,
87831 $defaultValues() {
87832 return [null, null];
87833 },
87834 $signature: 498
87835 };
87836 A.legacyNumberClass_closure0.prototype = {
87837 call$1(thisArg) {
87838 return J.get$dartValue$x(thisArg)._number1$_value;
87839 },
87840 $signature: 499
87841 };
87842 A.legacyNumberClass_closure1.prototype = {
87843 call$2(thisArg, value) {
87844 var t1 = J.getInterceptor$x(thisArg),
87845 t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
87846 t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
87847 },
87848 $signature: 500
87849 };
87850 A.legacyNumberClass_closure2.prototype = {
87851 call$1(thisArg) {
87852 var t1 = J.getInterceptor$x(thisArg),
87853 t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*");
87854 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)), "*");
87855 },
87856 $signature: 501
87857 };
87858 A.legacyNumberClass_closure3.prototype = {
87859 call$2(thisArg, unit) {
87860 var t1 = J.getInterceptor$x(thisArg);
87861 t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
87862 },
87863 $signature: 502
87864 };
87865 A._parseNumber_closure.prototype = {
87866 call$1(unit) {
87867 return unit.length === 0;
87868 },
87869 $signature: 6
87870 };
87871 A._parseNumber_closure0.prototype = {
87872 call$1(unit) {
87873 return unit.length === 0;
87874 },
87875 $signature: 6
87876 };
87877 A.numberClass_closure.prototype = {
87878 call$0() {
87879 var t1 = type$.JSClass,
87880 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
87881 t2 = type$.String,
87882 t3 = type$.Function;
87883 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));
87884 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));
87885 A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(new A.UnitlessSassNumber0(0, null).constructor))).constructor), jsClass);
87886 return jsClass;
87887 },
87888 $signature: 25
87889 };
87890 A.numberClass__closure.prototype = {
87891 call$3($self, value, unitOrOptions) {
87892 var t1, t2, _null = null;
87893 if (typeof unitOrOptions == "string")
87894 return new A.SingleUnitSassNumber0(unitOrOptions, value, _null);
87895 type$.nullable__ConstructorOptions_2._as(unitOrOptions);
87896 t1 = unitOrOptions == null;
87897 if (t1)
87898 t2 = _null;
87899 else {
87900 t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
87901 t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
87902 }
87903 if (t1)
87904 t1 = _null;
87905 else {
87906 t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
87907 t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
87908 }
87909 return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
87910 },
87911 call$2($self, value) {
87912 return this.call$3($self, value, null);
87913 },
87914 "call*": "call$3",
87915 $requiredArgCount: 2,
87916 $defaultValues() {
87917 return [null];
87918 },
87919 $signature: 503
87920 };
87921 A.numberClass__closure0.prototype = {
87922 call$1($self) {
87923 return $self._number1$_value;
87924 },
87925 $signature: 504
87926 };
87927 A.numberClass__closure1.prototype = {
87928 call$1($self) {
87929 return A.fuzzyIsInt0($self._number1$_value);
87930 },
87931 $signature: 239
87932 };
87933 A.numberClass__closure2.prototype = {
87934 call$1($self) {
87935 var t1 = $self._number1$_value;
87936 return A.fuzzyIsInt0(t1) ? B.JSNumber_methods.round$0(t1) : null;
87937 },
87938 $signature: 506
87939 };
87940 A.numberClass__closure3.prototype = {
87941 call$1($self) {
87942 return new self.immutable.List($self.get$numeratorUnits($self));
87943 },
87944 $signature: 240
87945 };
87946 A.numberClass__closure4.prototype = {
87947 call$1($self) {
87948 return new self.immutable.List($self.get$denominatorUnits($self));
87949 },
87950 $signature: 240
87951 };
87952 A.numberClass__closure5.prototype = {
87953 call$1($self) {
87954 return $self.get$hasUnits();
87955 },
87956 $signature: 239
87957 };
87958 A.numberClass__closure6.prototype = {
87959 call$2($self, $name) {
87960 return $self.assertInt$1($name);
87961 },
87962 call$1($self) {
87963 return this.call$2($self, null);
87964 },
87965 "call*": "call$2",
87966 $requiredArgCount: 1,
87967 $defaultValues() {
87968 return [null];
87969 },
87970 $signature: 508
87971 };
87972 A.numberClass__closure7.prototype = {
87973 call$4($self, min, max, $name) {
87974 return $self.valueInRange$3(min, max, $name);
87975 },
87976 call$3($self, min, max) {
87977 return this.call$4($self, min, max, null);
87978 },
87979 "call*": "call$4",
87980 $requiredArgCount: 3,
87981 $defaultValues() {
87982 return [null];
87983 },
87984 $signature: 509
87985 };
87986 A.numberClass__closure8.prototype = {
87987 call$2($self, $name) {
87988 return $self.assertNoUnits$1($name);
87989 },
87990 call$1($self) {
87991 return this.call$2($self, null);
87992 },
87993 "call*": "call$2",
87994 $requiredArgCount: 1,
87995 $defaultValues() {
87996 return [null];
87997 },
87998 $signature: 510
87999 };
88000 A.numberClass__closure9.prototype = {
88001 call$3($self, unit, $name) {
88002 return $self.assertUnit$2(unit, $name);
88003 },
88004 call$2($self, unit) {
88005 return this.call$3($self, unit, null);
88006 },
88007 "call*": "call$3",
88008 $requiredArgCount: 2,
88009 $defaultValues() {
88010 return [null];
88011 },
88012 $signature: 511
88013 };
88014 A.numberClass__closure10.prototype = {
88015 call$2($self, unit) {
88016 return $self.hasUnit$1(unit);
88017 },
88018 $signature: 241
88019 };
88020 A.numberClass__closure11.prototype = {
88021 call$2($self, unit) {
88022 return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
88023 },
88024 $signature: 241
88025 };
88026 A.numberClass__closure12.prototype = {
88027 call$4($self, numeratorUnits, denominatorUnits, $name) {
88028 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
88029 t2 = type$.String;
88030 t1 = J.cast$1$0$ax(t1, t2);
88031 t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
88032 return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
88033 },
88034 call$3($self, numeratorUnits, denominatorUnits) {
88035 return this.call$4($self, numeratorUnits, denominatorUnits, null);
88036 },
88037 "call*": "call$4",
88038 $requiredArgCount: 3,
88039 $defaultValues() {
88040 return [null];
88041 },
88042 $signature: 242
88043 };
88044 A.numberClass__closure13.prototype = {
88045 call$4($self, other, $name, otherName) {
88046 return $self.convertToMatch$3(other, $name, otherName);
88047 },
88048 call$2($self, other) {
88049 return this.call$4($self, other, null, null);
88050 },
88051 call$3($self, other, $name) {
88052 return this.call$4($self, other, $name, null);
88053 },
88054 "call*": "call$4",
88055 $requiredArgCount: 2,
88056 $defaultValues() {
88057 return [null, null];
88058 },
88059 $signature: 243
88060 };
88061 A.numberClass__closure14.prototype = {
88062 call$4($self, numeratorUnits, denominatorUnits, $name) {
88063 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
88064 t2 = type$.String;
88065 t1 = J.cast$1$0$ax(t1, t2);
88066 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);
88067 },
88068 call$3($self, numeratorUnits, denominatorUnits) {
88069 return this.call$4($self, numeratorUnits, denominatorUnits, null);
88070 },
88071 "call*": "call$4",
88072 $requiredArgCount: 3,
88073 $defaultValues() {
88074 return [null];
88075 },
88076 $signature: 244
88077 };
88078 A.numberClass__closure15.prototype = {
88079 call$4($self, other, $name, otherName) {
88080 return $self.convertValueToMatch$3(other, $name, otherName);
88081 },
88082 call$2($self, other) {
88083 return this.call$4($self, other, null, null);
88084 },
88085 call$3($self, other, $name) {
88086 return this.call$4($self, other, $name, null);
88087 },
88088 "call*": "call$4",
88089 $requiredArgCount: 2,
88090 $defaultValues() {
88091 return [null, null];
88092 },
88093 $signature: 245
88094 };
88095 A.numberClass__closure16.prototype = {
88096 call$4($self, numeratorUnits, denominatorUnits, $name) {
88097 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
88098 t2 = type$.String;
88099 t1 = J.cast$1$0$ax(t1, t2);
88100 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);
88101 },
88102 call$3($self, numeratorUnits, denominatorUnits) {
88103 return this.call$4($self, numeratorUnits, denominatorUnits, null);
88104 },
88105 "call*": "call$4",
88106 $requiredArgCount: 3,
88107 $defaultValues() {
88108 return [null];
88109 },
88110 $signature: 242
88111 };
88112 A.numberClass__closure17.prototype = {
88113 call$4($self, other, $name, otherName) {
88114 return $self.coerceToMatch$3(other, $name, otherName);
88115 },
88116 call$2($self, other) {
88117 return this.call$4($self, other, null, null);
88118 },
88119 call$3($self, other, $name) {
88120 return this.call$4($self, other, $name, null);
88121 },
88122 "call*": "call$4",
88123 $requiredArgCount: 2,
88124 $defaultValues() {
88125 return [null, null];
88126 },
88127 $signature: 243
88128 };
88129 A.numberClass__closure18.prototype = {
88130 call$4($self, numeratorUnits, denominatorUnits, $name) {
88131 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
88132 t2 = type$.String;
88133 t1 = J.cast$1$0$ax(t1, t2);
88134 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);
88135 },
88136 call$3($self, numeratorUnits, denominatorUnits) {
88137 return this.call$4($self, numeratorUnits, denominatorUnits, null);
88138 },
88139 "call*": "call$4",
88140 $requiredArgCount: 3,
88141 $defaultValues() {
88142 return [null];
88143 },
88144 $signature: 244
88145 };
88146 A.numberClass__closure19.prototype = {
88147 call$4($self, other, $name, otherName) {
88148 return $self.coerceValueToMatch$3(other, $name, otherName);
88149 },
88150 call$2($self, other) {
88151 return this.call$4($self, other, null, null);
88152 },
88153 call$3($self, other, $name) {
88154 return this.call$4($self, other, $name, null);
88155 },
88156 "call*": "call$4",
88157 $requiredArgCount: 2,
88158 $defaultValues() {
88159 return [null, null];
88160 },
88161 $signature: 245
88162 };
88163 A._ConstructorOptions0.prototype = {};
88164 A.SassNumber0.prototype = {
88165 get$unitString() {
88166 var _this = this;
88167 return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
88168 },
88169 accept$1$1(visitor) {
88170 return visitor.visitNumber$1(this);
88171 },
88172 accept$1(visitor) {
88173 return this.accept$1$1(visitor, type$.dynamic);
88174 },
88175 withoutSlash$0() {
88176 var _this = this;
88177 return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
88178 },
88179 assertNumber$1($name) {
88180 return this;
88181 },
88182 assertNumber$0() {
88183 return this.assertNumber$1(null);
88184 },
88185 assertInt$1($name) {
88186 var t1 = this._number1$_value,
88187 integer = A.fuzzyIsInt0(t1) ? B.JSNumber_methods.round$0(t1) : null;
88188 if (integer != null)
88189 return integer;
88190 throw A.wrapException(this._number1$_exception$2(this.toString$0(0) + " is not an int.", $name));
88191 },
88192 assertInt$0() {
88193 return this.assertInt$1(null);
88194 },
88195 valueInRange$3(min, max, $name) {
88196 var _this = this,
88197 result = A.fuzzyCheckRange0(_this._number1$_value, min, max);
88198 if (result != null)
88199 return result;
88200 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));
88201 },
88202 hasCompatibleUnits$1(other) {
88203 var _this = this;
88204 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
88205 return false;
88206 if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
88207 return false;
88208 return _this.isComparableTo$1(other);
88209 },
88210 assertUnit$2(unit, $name) {
88211 if (this.hasUnit$1(unit))
88212 return;
88213 throw A.wrapException(this._number1$_exception$2("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
88214 },
88215 assertNoUnits$1($name) {
88216 if (!this.get$hasUnits())
88217 return;
88218 throw A.wrapException(this._number1$_exception$2("Expected " + this.toString$0(0) + " to have no units.", $name));
88219 },
88220 convertToMatch$3(other, $name, otherName) {
88221 var t1 = this.convertValueToMatch$3(other, $name, otherName),
88222 t2 = other.get$numeratorUnits(other);
88223 return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
88224 },
88225 convertValueToMatch$3(other, $name, otherName) {
88226 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
88227 },
88228 coerce$3(newNumerators, newDenominators, $name) {
88229 return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
88230 },
88231 coerce$2(newNumerators, newDenominators) {
88232 return this.coerce$3(newNumerators, newDenominators, null);
88233 },
88234 coerceValue$3(newNumerators, newDenominators, $name) {
88235 return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
88236 },
88237 coerceValueToUnit$2(unit, $name) {
88238 var t1 = type$.JSArray_String;
88239 return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
88240 },
88241 coerceToMatch$3(other, $name, otherName) {
88242 var t1 = this.coerceValueToMatch$3(other, $name, otherName),
88243 t2 = other.get$numeratorUnits(other);
88244 return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
88245 },
88246 coerceValueToMatch$3(other, $name, otherName) {
88247 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
88248 },
88249 coerceValueToMatch$1(other) {
88250 return this.coerceValueToMatch$3(other, null, null);
88251 },
88252 _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
88253 var t1, otherHasUnits, t2, _compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
88254 if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
88255 return _this._number1$_value;
88256 t1 = J.getInterceptor$asx(newNumerators);
88257 otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
88258 if (coerceUnitless)
88259 t2 = !_this.get$hasUnits() || !otherHasUnits;
88260 else
88261 t2 = false;
88262 if (t2)
88263 return _this._number1$_value;
88264 _compatibilityException = new A.SassNumber__coerceOrConvertValue__compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
88265 _box_0.value = _this._number1$_value;
88266 t2 = _this.get$numeratorUnits(_this);
88267 oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
88268 for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
88269 A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(_compatibilityException));
88270 t1 = _this.get$denominatorUnits(_this);
88271 oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
88272 for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
88273 A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(_compatibilityException));
88274 if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
88275 throw A.wrapException(_compatibilityException.call$0());
88276 return _box_0.value;
88277 },
88278 _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
88279 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
88280 },
88281 isComparableTo$1(other) {
88282 var exception;
88283 if (!this.get$hasUnits() || !other.get$hasUnits())
88284 return true;
88285 try {
88286 this.greaterThan$1(other);
88287 return true;
88288 } catch (exception) {
88289 if (A.unwrapException(exception) instanceof A.SassScriptException0)
88290 return false;
88291 else
88292 throw exception;
88293 }
88294 },
88295 greaterThan$1(other) {
88296 if (other instanceof A.SassNumber0)
88297 return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
88298 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
88299 },
88300 greaterThanOrEquals$1(other) {
88301 if (other instanceof A.SassNumber0)
88302 return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
88303 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
88304 },
88305 lessThan$1(other) {
88306 if (other instanceof A.SassNumber0)
88307 return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
88308 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
88309 },
88310 lessThanOrEquals$1(other) {
88311 if (other instanceof A.SassNumber0)
88312 return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
88313 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
88314 },
88315 modulo$1(other) {
88316 var _this = this;
88317 if (other instanceof A.SassNumber0)
88318 return _this.withValue$1(_this._number1$_coerceUnits$2(other, _this.get$moduloLikeSass()));
88319 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " % " + other.toString$0(0) + '".'));
88320 },
88321 moduloLikeSass$2(num1, num2) {
88322 var result;
88323 if (num2 > 0)
88324 return B.JSNumber_methods.$mod(num1, num2);
88325 if (num2 === 0)
88326 return 0 / 0;
88327 result = B.JSNumber_methods.$mod(num1, num2);
88328 return result === 0 ? 0 : result + num2;
88329 },
88330 plus$1(other) {
88331 var _this = this;
88332 if (other instanceof A.SassNumber0)
88333 return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
88334 if (!(other instanceof A.SassColor0))
88335 return _this.super$Value$plus0(other);
88336 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".'));
88337 },
88338 minus$1(other) {
88339 var _this = this;
88340 if (other instanceof A.SassNumber0)
88341 return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
88342 if (!(other instanceof A.SassColor0))
88343 return _this.super$Value$minus0(other);
88344 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".'));
88345 },
88346 times$1(other) {
88347 var _this = this;
88348 if (other instanceof A.SassNumber0) {
88349 if (!other.get$hasUnits())
88350 return _this.withValue$1(_this._number1$_value * other._number1$_value);
88351 return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
88352 }
88353 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".'));
88354 },
88355 dividedBy$1(other) {
88356 var _this = this;
88357 if (other instanceof A.SassNumber0) {
88358 if (!other.get$hasUnits())
88359 return _this.withValue$1(_this._number1$_value / other._number1$_value);
88360 return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
88361 }
88362 return _this.super$Value$dividedBy0(other);
88363 },
88364 unaryPlus$0() {
88365 return this;
88366 },
88367 _number1$_coerceUnits$1$2(other, operation) {
88368 var t1, exception;
88369 try {
88370 t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
88371 return t1;
88372 } catch (exception) {
88373 if (A.unwrapException(exception) instanceof A.SassScriptException0) {
88374 this.coerceValueToMatch$1(other);
88375 throw exception;
88376 } else
88377 throw exception;
88378 }
88379 },
88380 _number1$_coerceUnits$2(other, operation) {
88381 return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
88382 },
88383 multiplyUnits$3(value, otherNumerators, otherDenominators) {
88384 var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
88385 _box_0.value = value;
88386 if (_this.get$numeratorUnits(_this).length === 0) {
88387 if (otherDenominators.length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
88388 return A.SassNumber_SassNumber$withUnits0(value, _this.get$denominatorUnits(_this), otherNumerators);
88389 else if (_this.get$denominatorUnits(_this).length === 0)
88390 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, otherNumerators);
88391 } else if (otherNumerators.length === 0)
88392 if (otherDenominators.length === 0)
88393 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
88394 else if (_this.get$denominatorUnits(_this).length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
88395 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
88396 newNumerators = A._setArrayType([], type$.JSArray_String);
88397 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
88398 for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
88399 numerator = t1[_i];
88400 A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
88401 }
88402 t1 = _this.get$denominatorUnits(_this);
88403 mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
88404 for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
88405 numerator = otherNumerators[_i];
88406 A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
88407 }
88408 t1 = _box_0.value;
88409 B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
88410 return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
88411 },
88412 _number1$_areAnyConvertible$2(units1, units2) {
88413 return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
88414 },
88415 _number1$_unitString$2(numerators, denominators) {
88416 var t2,
88417 t1 = J.getInterceptor$asx(numerators);
88418 if (t1.get$isEmpty(numerators)) {
88419 t1 = J.getInterceptor$asx(denominators);
88420 if (t1.get$isEmpty(denominators))
88421 return "no units";
88422 if (t1.get$length(denominators) === 1)
88423 return J.$add$ansx(t1.get$single(denominators), "^-1");
88424 return "(" + t1.join$1(denominators, "*") + ")^-1";
88425 }
88426 t2 = J.getInterceptor$asx(denominators);
88427 if (t2.get$isEmpty(denominators))
88428 return t1.join$1(numerators, "*");
88429 return t1.join$1(numerators, "*") + "/" + t2.join$1(denominators, "*");
88430 },
88431 $eq(_, other) {
88432 var _this = this;
88433 if (other == null)
88434 return false;
88435 if (other instanceof A.SassNumber0) {
88436 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
88437 return false;
88438 if (!_this.get$hasUnits())
88439 return Math.abs(_this._number1$_value - other._number1$_value) < $.$get$epsilon0();
88440 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))))
88441 return false;
88442 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();
88443 } else
88444 return false;
88445 },
88446 get$hashCode(_) {
88447 var _this = this,
88448 t1 = _this.hashCache;
88449 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;
88450 },
88451 _number1$_canonicalizeUnitList$1(units) {
88452 var type,
88453 t1 = units.length;
88454 if (t1 === 0)
88455 return units;
88456 if (t1 === 1) {
88457 type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
88458 if (type == null)
88459 t1 = units;
88460 else {
88461 t1 = B.Map_U8AHF.$index(0, type);
88462 t1.toString;
88463 t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
88464 }
88465 return t1;
88466 }
88467 t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
88468 t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
88469 B.JSArray_methods.sort$0(t1);
88470 return t1;
88471 },
88472 _number1$_canonicalMultiplier$1(units) {
88473 return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
88474 },
88475 canonicalMultiplierForUnit$1(unit) {
88476 var t1,
88477 innerMap = B.Map_K2BWj.$index(0, unit);
88478 if (innerMap == null)
88479 t1 = 1;
88480 else {
88481 t1 = innerMap.get$values(innerMap);
88482 t1 = 1 / t1.get$first(t1);
88483 }
88484 return t1;
88485 },
88486 _number1$_exception$2(message, $name) {
88487 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
88488 }
88489 };
88490 A.SassNumber__coerceOrConvertValue__compatibilityException0.prototype = {
88491 call$0() {
88492 var t2, t3, message, t4, type, unit, _this = this,
88493 t1 = _this.other;
88494 if (t1 != null) {
88495 t2 = _this.$this;
88496 t3 = t2.toString$0(0) + " and";
88497 message = new A.StringBuffer(t3);
88498 t4 = _this.otherName;
88499 if (t4 != null)
88500 t3 = message._contents = t3 + (" $" + t4 + ":");
88501 t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
88502 message._contents = t1;
88503 if (!t2.get$hasUnits() || !_this.otherHasUnits)
88504 message._contents = t1 + " (one has units and the other doesn't)";
88505 t1 = message.toString$0(0) + ".";
88506 t2 = _this.name;
88507 return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
88508 } else if (!_this.otherHasUnits) {
88509 t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
88510 t2 = _this.name;
88511 return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
88512 } else {
88513 t1 = _this.newNumerators;
88514 t2 = J.getInterceptor$asx(t1);
88515 if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
88516 type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
88517 if (type != null) {
88518 t1 = "Expected " + _this.$this.toString$0(0) + " to have ";
88519 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 (";
88520 t2 = B.Map_U8AHF.$index(0, type);
88521 t2.toString;
88522 t2 = t1 + B.JSArray_methods.join$1(t2, ", ") + ").";
88523 t1 = _this.name;
88524 return new A.SassScriptException0(t1 == null ? t2 : "$" + t1 + ": " + t2);
88525 }
88526 }
88527 t3 = _this.newDenominators;
88528 unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
88529 t2 = _this.$this;
88530 t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
88531 t1 = _this.name;
88532 return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
88533 }
88534 },
88535 $signature: 517
88536 };
88537 A.SassNumber__coerceOrConvertValue_closure3.prototype = {
88538 call$1(oldNumerator) {
88539 var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
88540 if (factor == null)
88541 return false;
88542 this._box_0.value *= factor;
88543 return true;
88544 },
88545 $signature: 6
88546 };
88547 A.SassNumber__coerceOrConvertValue_closure4.prototype = {
88548 call$0() {
88549 return A.throwExpression(this._compatibilityException.call$0());
88550 },
88551 $signature: 0
88552 };
88553 A.SassNumber__coerceOrConvertValue_closure5.prototype = {
88554 call$1(oldDenominator) {
88555 var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
88556 if (factor == null)
88557 return false;
88558 this._box_0.value /= factor;
88559 return true;
88560 },
88561 $signature: 6
88562 };
88563 A.SassNumber__coerceOrConvertValue_closure6.prototype = {
88564 call$0() {
88565 return A.throwExpression(this._compatibilityException.call$0());
88566 },
88567 $signature: 0
88568 };
88569 A.SassNumber_plus_closure0.prototype = {
88570 call$2(num1, num2) {
88571 return num1 + num2;
88572 },
88573 $signature: 56
88574 };
88575 A.SassNumber_minus_closure0.prototype = {
88576 call$2(num1, num2) {
88577 return num1 - num2;
88578 },
88579 $signature: 56
88580 };
88581 A.SassNumber_multiplyUnits_closure3.prototype = {
88582 call$1(denominator) {
88583 var factor = A.conversionFactor0(this.numerator, denominator);
88584 if (factor == null)
88585 return false;
88586 this._box_0.value /= factor;
88587 return true;
88588 },
88589 $signature: 6
88590 };
88591 A.SassNumber_multiplyUnits_closure4.prototype = {
88592 call$0() {
88593 return this.newNumerators.push(this.numerator);
88594 },
88595 $signature: 0
88596 };
88597 A.SassNumber_multiplyUnits_closure5.prototype = {
88598 call$1(denominator) {
88599 var factor = A.conversionFactor0(this.numerator, denominator);
88600 if (factor == null)
88601 return false;
88602 this._box_0.value /= factor;
88603 return true;
88604 },
88605 $signature: 6
88606 };
88607 A.SassNumber_multiplyUnits_closure6.prototype = {
88608 call$0() {
88609 return this.newNumerators.push(this.numerator);
88610 },
88611 $signature: 0
88612 };
88613 A.SassNumber__areAnyConvertible_closure0.prototype = {
88614 call$1(unit1) {
88615 var innerMap = B.Map_K2BWj.$index(0, unit1);
88616 if (innerMap == null)
88617 return B.JSArray_methods.contains$1(this.units2, unit1);
88618 return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
88619 },
88620 $signature: 6
88621 };
88622 A.SassNumber__canonicalizeUnitList_closure0.prototype = {
88623 call$1(unit) {
88624 var t1,
88625 type = $.$get$_typesByUnit0().$index(0, unit);
88626 if (type == null)
88627 t1 = unit;
88628 else {
88629 t1 = B.Map_U8AHF.$index(0, type);
88630 t1.toString;
88631 t1 = B.JSArray_methods.get$first(t1);
88632 }
88633 return t1;
88634 },
88635 $signature: 5
88636 };
88637 A.SassNumber__canonicalMultiplier_closure0.prototype = {
88638 call$2(multiplier, unit) {
88639 return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
88640 },
88641 $signature: 224
88642 };
88643 A.SupportsOperation0.prototype = {
88644 toString$0(_) {
88645 var _this = this;
88646 return _this._operation0$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation0$_parenthesize$1(_this.right);
88647 },
88648 _operation0$_parenthesize$1(condition) {
88649 var t1;
88650 if (!(condition instanceof A.SupportsNegation0))
88651 t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
88652 else
88653 t1 = true;
88654 return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
88655 },
88656 $isAstNode0: 1,
88657 $isSupportsCondition0: 1,
88658 get$span(receiver) {
88659 return this.span;
88660 }
88661 };
88662 A.ParentSelector0.prototype = {
88663 accept$1$1(visitor) {
88664 var t2,
88665 t1 = visitor._serialize0$_buffer;
88666 t1.writeCharCode$1(38);
88667 t2 = this.suffix;
88668 if (t2 != null)
88669 t1.write$1(0, t2);
88670 return null;
88671 },
88672 accept$1(visitor) {
88673 return this.accept$1$1(visitor, type$.dynamic);
88674 },
88675 unify$1(compound) {
88676 return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
88677 }
88678 };
88679 A.ParentStatement0.prototype = {$isAstNode0: 1, $isStatement0: 1};
88680 A.ParentStatement_closure0.prototype = {
88681 call$1(child) {
88682 var t1;
88683 if (!(child instanceof A.VariableDeclaration0))
88684 if (!(child instanceof A.FunctionRule0))
88685 if (!(child instanceof A.MixinRule0))
88686 t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
88687 else
88688 t1 = true;
88689 else
88690 t1 = true;
88691 else
88692 t1 = true;
88693 return t1;
88694 },
88695 $signature: 229
88696 };
88697 A.ParentStatement__closure0.prototype = {
88698 call$1($import) {
88699 return $import instanceof A.DynamicImport0;
88700 },
88701 $signature: 230
88702 };
88703 A.ParenthesizedExpression0.prototype = {
88704 accept$1$1(visitor) {
88705 return visitor.visitParenthesizedExpression$1(this);
88706 },
88707 accept$1(visitor) {
88708 return this.accept$1$1(visitor, type$.dynamic);
88709 },
88710 toString$0(_) {
88711 return "(" + this.expression.toString$0(0) + ")";
88712 },
88713 $isExpression0: 1,
88714 $isAstNode0: 1,
88715 get$span(receiver) {
88716 return this.span;
88717 }
88718 };
88719 A.Parser1.prototype = {
88720 _parser0$_parseIdentifier$0() {
88721 return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
88722 },
88723 whitespace$0() {
88724 do
88725 this.whitespaceWithoutComments$0();
88726 while (this.scanComment$0());
88727 },
88728 whitespaceWithoutComments$0() {
88729 var t3,
88730 t1 = this.scanner,
88731 t2 = t1.string.length;
88732 while (true) {
88733 if (t1._string_scanner$_position !== t2) {
88734 t3 = t1.peekChar$0();
88735 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
88736 } else
88737 t3 = false;
88738 if (!t3)
88739 break;
88740 t1.readChar$0();
88741 }
88742 },
88743 spaces$0() {
88744 var t3,
88745 t1 = this.scanner,
88746 t2 = t1.string.length;
88747 while (true) {
88748 if (t1._string_scanner$_position !== t2) {
88749 t3 = t1.peekChar$0();
88750 t3 = t3 === 32 || t3 === 9;
88751 } else
88752 t3 = false;
88753 if (!t3)
88754 break;
88755 t1.readChar$0();
88756 }
88757 },
88758 scanComment$0() {
88759 var next,
88760 t1 = this.scanner;
88761 if (t1.peekChar$0() !== 47)
88762 return false;
88763 next = t1.peekChar$1(1);
88764 if (next === 47) {
88765 this.silentComment$0();
88766 return true;
88767 } else if (next === 42) {
88768 this.loudComment$0();
88769 return true;
88770 } else
88771 return false;
88772 },
88773 silentComment$0() {
88774 var t2, t3,
88775 t1 = this.scanner;
88776 t1.expect$1("//");
88777 t2 = t1.string.length;
88778 while (true) {
88779 if (t1._string_scanner$_position !== t2) {
88780 t3 = t1.peekChar$0();
88781 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
88782 } else
88783 t3 = false;
88784 if (!t3)
88785 break;
88786 t1.readChar$0();
88787 }
88788 },
88789 loudComment$0() {
88790 var next,
88791 t1 = this.scanner;
88792 t1.expect$1("/*");
88793 for (; true;) {
88794 if (t1.readChar$0() !== 42)
88795 continue;
88796 do
88797 next = t1.readChar$0();
88798 while (next === 42);
88799 if (next === 47)
88800 break;
88801 }
88802 },
88803 identifier$2$normalize$unit(normalize, unit) {
88804 var t2, first, _this = this,
88805 _s20_ = "Expected identifier.",
88806 text = new A.StringBuffer(""),
88807 t1 = _this.scanner;
88808 if (t1.scanChar$1(45)) {
88809 t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
88810 if (t1.scanChar$1(45)) {
88811 text._contents = t2 + A.Primitives_stringFromCharCode(45);
88812 _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
88813 t1 = text._contents;
88814 return t1.charCodeAt(0) == 0 ? t1 : t1;
88815 }
88816 } else
88817 t2 = "";
88818 first = t1.peekChar$0();
88819 if (first == null)
88820 t1.error$1(0, _s20_);
88821 else if (normalize && first === 95) {
88822 t1.readChar$0();
88823 text._contents = t2 + A.Primitives_stringFromCharCode(45);
88824 } else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
88825 text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
88826 else if (first === 92)
88827 text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
88828 else
88829 t1.error$1(0, _s20_);
88830 _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
88831 t1 = text._contents;
88832 return t1.charCodeAt(0) == 0 ? t1 : t1;
88833 },
88834 identifier$0() {
88835 return this.identifier$2$normalize$unit(false, false);
88836 },
88837 identifier$1$normalize(normalize) {
88838 return this.identifier$2$normalize$unit(normalize, false);
88839 },
88840 identifier$1$unit(unit) {
88841 return this.identifier$2$normalize$unit(false, unit);
88842 },
88843 _parser0$_identifierBody$3$normalize$unit(text, normalize, unit) {
88844 var t1, next, second, t2;
88845 for (t1 = this.scanner; true;) {
88846 next = t1.peekChar$0();
88847 if (next == null)
88848 break;
88849 else if (unit && next === 45) {
88850 second = t1.peekChar$1(1);
88851 if (second != null)
88852 if (second !== 46)
88853 t2 = second >= 48 && second <= 57;
88854 else
88855 t2 = true;
88856 else
88857 t2 = false;
88858 if (t2)
88859 break;
88860 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88861 } else if (normalize && next === 95) {
88862 t1.readChar$0();
88863 text._contents += A.Primitives_stringFromCharCode(45);
88864 } else {
88865 if (next !== 95) {
88866 if (!(next >= 97 && next <= 122))
88867 t2 = next >= 65 && next <= 90;
88868 else
88869 t2 = true;
88870 t2 = t2 || next >= 128;
88871 } else
88872 t2 = true;
88873 if (!t2) {
88874 t2 = next >= 48 && next <= 57;
88875 t2 = t2 || next === 45;
88876 } else
88877 t2 = true;
88878 if (t2)
88879 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88880 else if (next === 92)
88881 text._contents += A.S(this.escape$0());
88882 else
88883 break;
88884 }
88885 }
88886 },
88887 _parser0$_identifierBody$1(text) {
88888 return this._parser0$_identifierBody$3$normalize$unit(text, false, false);
88889 },
88890 string$0() {
88891 var buffer, next, t2,
88892 t1 = this.scanner,
88893 quote = t1.readChar$0();
88894 if (quote !== 39 && quote !== 34)
88895 t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
88896 buffer = new A.StringBuffer("");
88897 for (; true;) {
88898 next = t1.peekChar$0();
88899 if (next === quote) {
88900 t1.readChar$0();
88901 break;
88902 } else if (next == null || next === 10 || next === 13 || next === 12)
88903 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
88904 else if (next === 92) {
88905 t2 = t1.peekChar$1(1);
88906 if (t2 === 10 || t2 === 13 || t2 === 12) {
88907 t1.readChar$0();
88908 t1.readChar$0();
88909 } else
88910 buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
88911 } else
88912 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88913 }
88914 t1 = buffer._contents;
88915 return t1.charCodeAt(0) == 0 ? t1 : t1;
88916 },
88917 naturalNumber$0() {
88918 var number, t2,
88919 t1 = this.scanner,
88920 first = t1.readChar$0();
88921 if (!A.isDigit0(first))
88922 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
88923 number = first - 48;
88924 while (true) {
88925 t2 = t1.peekChar$0();
88926 if (!(t2 != null && t2 >= 48 && t2 <= 57))
88927 break;
88928 number = number * 10 + (t1.readChar$0() - 48);
88929 }
88930 return number;
88931 },
88932 declarationValue$1$allowEmpty(allowEmpty) {
88933 var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
88934 buffer = new A.StringBuffer(""),
88935 brackets = A._setArrayType([], type$.JSArray_int);
88936 $label0$1:
88937 for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
88938 next = t1.peekChar$0();
88939 switch (next) {
88940 case 92:
88941 buffer._contents += A.S(_this.escape$1$identifierStart(true));
88942 wroteNewline = false;
88943 break;
88944 case 34:
88945 case 39:
88946 start = t1._string_scanner$_position;
88947 t2.call$0();
88948 end = t1._string_scanner$_position;
88949 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
88950 wroteNewline = false;
88951 break;
88952 case 47:
88953 if (t1.peekChar$1(1) === 42) {
88954 t3 = _this.get$loudComment();
88955 start = t1._string_scanner$_position;
88956 t3.call$0();
88957 end = t1._string_scanner$_position;
88958 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
88959 } else
88960 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88961 wroteNewline = false;
88962 break;
88963 case 32:
88964 case 9:
88965 if (!wroteNewline) {
88966 t3 = t1.peekChar$1(1);
88967 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
88968 } else
88969 t3 = true;
88970 if (t3)
88971 buffer._contents += A.Primitives_stringFromCharCode(32);
88972 t1.readChar$0();
88973 break;
88974 case 10:
88975 case 13:
88976 case 12:
88977 t3 = t1.peekChar$1(-1);
88978 if (!(t3 === 10 || t3 === 13 || t3 === 12))
88979 buffer._contents += "\n";
88980 t1.readChar$0();
88981 wroteNewline = true;
88982 break;
88983 case 40:
88984 case 123:
88985 case 91:
88986 next.toString;
88987 buffer._contents += A.Primitives_stringFromCharCode(next);
88988 brackets.push(A.opposite0(t1.readChar$0()));
88989 wroteNewline = false;
88990 break;
88991 case 41:
88992 case 125:
88993 case 93:
88994 if (brackets.length === 0)
88995 break $label0$1;
88996 next.toString;
88997 buffer._contents += A.Primitives_stringFromCharCode(next);
88998 t1.expectChar$1(brackets.pop());
88999 wroteNewline = false;
89000 break;
89001 case 59:
89002 if (brackets.length === 0)
89003 break $label0$1;
89004 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89005 break;
89006 case 117:
89007 case 85:
89008 url = _this.tryUrl$0();
89009 if (url != null)
89010 buffer._contents += url;
89011 else
89012 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89013 wroteNewline = false;
89014 break;
89015 default:
89016 if (next == null)
89017 break $label0$1;
89018 if (_this.lookingAtIdentifier$0())
89019 buffer._contents += _this.identifier$0();
89020 else
89021 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89022 wroteNewline = false;
89023 break;
89024 }
89025 }
89026 if (brackets.length !== 0)
89027 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
89028 if (!allowEmpty && buffer._contents.length === 0)
89029 t1.error$1(0, "Expected token.");
89030 t1 = buffer._contents;
89031 return t1.charCodeAt(0) == 0 ? t1 : t1;
89032 },
89033 declarationValue$0() {
89034 return this.declarationValue$1$allowEmpty(false);
89035 },
89036 tryUrl$0() {
89037 var buffer, next, t2, _this = this,
89038 t1 = _this.scanner,
89039 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89040 if (!_this.scanIdentifier$1("url"))
89041 return null;
89042 if (!t1.scanChar$1(40)) {
89043 t1.set$state(start);
89044 return null;
89045 }
89046 _this.whitespace$0();
89047 buffer = new A.StringBuffer("");
89048 buffer._contents = "" + "url(";
89049 for (; true;) {
89050 next = t1.peekChar$0();
89051 if (next == null)
89052 break;
89053 else if (next === 92)
89054 buffer._contents += A.S(_this.escape$0());
89055 else {
89056 if (next !== 37)
89057 if (next !== 38)
89058 if (next !== 35)
89059 t2 = next >= 42 && next <= 126 || next >= 128;
89060 else
89061 t2 = true;
89062 else
89063 t2 = true;
89064 else
89065 t2 = true;
89066 if (t2)
89067 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89068 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
89069 _this.whitespace$0();
89070 if (t1.peekChar$0() !== 41)
89071 break;
89072 } else if (next === 41) {
89073 t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89074 return t2.charCodeAt(0) == 0 ? t2 : t2;
89075 } else
89076 break;
89077 }
89078 }
89079 t1.set$state(start);
89080 return null;
89081 },
89082 variableName$0() {
89083 this.scanner.expectChar$1(36);
89084 return this.identifier$1$normalize(true);
89085 },
89086 escape$1$identifierStart(identifierStart) {
89087 var value, first, i, next, t2, exception,
89088 _s25_ = "Expected escape sequence.",
89089 t1 = this.scanner,
89090 start = t1._string_scanner$_position;
89091 t1.expectChar$1(92);
89092 value = 0;
89093 first = t1.peekChar$0();
89094 if (first == null)
89095 t1.error$1(0, _s25_);
89096 else if (first === 10 || first === 13 || first === 12)
89097 t1.error$1(0, _s25_);
89098 else if (A.isHex0(first)) {
89099 for (i = 0; i < 6; ++i) {
89100 next = t1.peekChar$0();
89101 if (next == null || !A.isHex0(next))
89102 break;
89103 value *= 16;
89104 value += A.asHex0(t1.readChar$0());
89105 }
89106 this.scanCharIf$1(A.character0__isWhitespace$closure());
89107 } else
89108 value = t1.readChar$0();
89109 if (identifierStart) {
89110 t2 = value;
89111 t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128;
89112 } else {
89113 t2 = value;
89114 t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128 || A.isDigit0(t2) || t2 === 45;
89115 }
89116 if (t2)
89117 try {
89118 t2 = A.Primitives_stringFromCharCode(value);
89119 return t2;
89120 } catch (exception) {
89121 if (type$.RangeError._is(A.unwrapException(exception)))
89122 t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
89123 else
89124 throw exception;
89125 }
89126 else {
89127 if (!(value <= 31))
89128 if (!J.$eq$(value, 127))
89129 t1 = identifierStart && A.isDigit0(value);
89130 else
89131 t1 = true;
89132 else
89133 t1 = true;
89134 if (t1) {
89135 t1 = "" + A.Primitives_stringFromCharCode(92);
89136 if (value > 15)
89137 t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
89138 t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
89139 return t1.charCodeAt(0) == 0 ? t1 : t1;
89140 } else
89141 return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
89142 }
89143 },
89144 escape$0() {
89145 return this.escape$1$identifierStart(false);
89146 },
89147 scanCharIf$1(condition) {
89148 var t1 = this.scanner;
89149 if (!condition.call$1(t1.peekChar$0()))
89150 return false;
89151 t1.readChar$0();
89152 return true;
89153 },
89154 scanIdentChar$2$caseSensitive(char, caseSensitive) {
89155 var t3,
89156 t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
89157 t2 = this.scanner,
89158 next = t2.peekChar$0();
89159 if (next != null && t1.call$1(next)) {
89160 t2.readChar$0();
89161 return true;
89162 } else if (next === 92) {
89163 t3 = t2._string_scanner$_position;
89164 if (t1.call$1(A.consumeEscapedCharacter0(t2)))
89165 return true;
89166 t2.set$state(new A._SpanScannerState(t2, t3));
89167 }
89168 return false;
89169 },
89170 scanIdentChar$1(char) {
89171 return this.scanIdentChar$2$caseSensitive(char, false);
89172 },
89173 expectIdentChar$1(letter) {
89174 var t1;
89175 if (this.scanIdentChar$2$caseSensitive(letter, false))
89176 return;
89177 t1 = this.scanner;
89178 t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
89179 },
89180 lookingAtIdentifier$1($forward) {
89181 var t1, first, second;
89182 if ($forward == null)
89183 $forward = 0;
89184 t1 = this.scanner;
89185 first = t1.peekChar$1($forward);
89186 if (first == null)
89187 return false;
89188 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
89189 return true;
89190 if (first !== 45)
89191 return false;
89192 second = t1.peekChar$1($forward + 1);
89193 if (second == null)
89194 return false;
89195 return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
89196 },
89197 lookingAtIdentifier$0() {
89198 return this.lookingAtIdentifier$1(null);
89199 },
89200 lookingAtIdentifierBody$0() {
89201 var t1,
89202 next = this.scanner.peekChar$0();
89203 if (next != null)
89204 t1 = next === 95 || A.isAlphabetic1(next) || next >= 128 || A.isDigit0(next) || next === 45 || next === 92;
89205 else
89206 t1 = false;
89207 return t1;
89208 },
89209 scanIdentifier$2$caseSensitive(text, caseSensitive) {
89210 var t1, start, t2, t3, _this = this;
89211 if (!_this.lookingAtIdentifier$0())
89212 return false;
89213 t1 = _this.scanner;
89214 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89215 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
89216 if (_this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), caseSensitive))
89217 continue;
89218 if (start._scanner !== t1)
89219 A.throwExpression(A.ArgumentError$(string$.The_gi, null));
89220 t2 = start.position;
89221 if (t2 < 0 || t2 > t1.string.length)
89222 A.throwExpression(A.ArgumentError$("Invalid position " + t2, null));
89223 t1._string_scanner$_position = t2;
89224 t1._lastMatch = null;
89225 return false;
89226 }
89227 if (!_this.lookingAtIdentifierBody$0())
89228 return true;
89229 t1.set$state(start);
89230 return false;
89231 },
89232 scanIdentifier$1(text) {
89233 return this.scanIdentifier$2$caseSensitive(text, false);
89234 },
89235 expectIdentifier$2$name(text, $name) {
89236 var t1, start, t2, t3;
89237 if ($name == null)
89238 $name = '"' + text + '"';
89239 t1 = this.scanner;
89240 start = t1._string_scanner$_position;
89241 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
89242 if (this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), false))
89243 continue;
89244 t1.error$2$position(0, "Expected " + $name + ".", start);
89245 }
89246 if (!this.lookingAtIdentifierBody$0())
89247 return;
89248 t1.error$2$position(0, "Expected " + $name, start);
89249 },
89250 expectIdentifier$1(text) {
89251 return this.expectIdentifier$2$name(text, null);
89252 },
89253 rawText$1(consumer) {
89254 var t1 = this.scanner,
89255 start = t1._string_scanner$_position;
89256 consumer.call$0();
89257 return t1.substring$1(0, start);
89258 },
89259 error$3(_, message, span, trace) {
89260 var exception = new A.StringScannerException(this.scanner.string, message, span);
89261 if (trace == null)
89262 throw A.wrapException(exception);
89263 else
89264 A.throwWithTrace0(exception, trace);
89265 },
89266 error$2($receiver, message, span) {
89267 return this.error$3($receiver, message, span, null);
89268 },
89269 withErrorMessage$1$2(message, callback) {
89270 var error, stackTrace, t1, exception;
89271 try {
89272 t1 = callback.call$0();
89273 return t1;
89274 } catch (exception) {
89275 t1 = A.unwrapException(exception);
89276 if (type$.SourceSpanFormatException._is(t1)) {
89277 error = t1;
89278 stackTrace = A.getTraceFromException(exception);
89279 t1 = J.get$span$z(error);
89280 A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
89281 } else
89282 throw exception;
89283 }
89284 },
89285 withErrorMessage$2(message, callback) {
89286 return this.withErrorMessage$1$2(message, callback, type$.dynamic);
89287 },
89288 wrapSpanFormatException$1$1(callback) {
89289 var error, stackTrace, span, startPosition, t1, exception;
89290 try {
89291 t1 = callback.call$0();
89292 return t1;
89293 } catch (exception) {
89294 t1 = A.unwrapException(exception);
89295 if (type$.SourceSpanFormatException._is(t1)) {
89296 error = t1;
89297 stackTrace = A.getTraceFromException(exception);
89298 span = J.get$span$z(error);
89299 if (A.startsWithIgnoreCase0(error._span_exception$_message, "expected")) {
89300 t1 = span;
89301 t1 = t1._end - t1._file$_start === 0;
89302 } else
89303 t1 = false;
89304 if (t1) {
89305 t1 = span;
89306 startPosition = this._parser0$_firstNewlineBefore$1(A.FileLocation$_(t1.file, t1._file$_start).offset);
89307 t1 = span;
89308 if (!J.$eq$(startPosition, A.FileLocation$_(t1.file, t1._file$_start).offset))
89309 span = span.file.span$2(0, startPosition, startPosition);
89310 }
89311 A.throwWithTrace0(new A.SassFormatException0(error._span_exception$_message, span), stackTrace);
89312 } else
89313 throw exception;
89314 }
89315 },
89316 wrapSpanFormatException$1(callback) {
89317 return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
89318 },
89319 _parser0$_firstNewlineBefore$1(position) {
89320 var t1, lastNewline, codeUnit,
89321 index = position - 1;
89322 for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
89323 codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
89324 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
89325 return lastNewline == null ? position : lastNewline;
89326 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
89327 lastNewline = index;
89328 --index;
89329 }
89330 return position;
89331 }
89332 };
89333 A.Parser__parseIdentifier_closure0.prototype = {
89334 call$0() {
89335 var t1 = this.$this,
89336 result = t1.identifier$0();
89337 t1.scanner.expectDone$0();
89338 return result;
89339 },
89340 $signature: 30
89341 };
89342 A.Parser_scanIdentChar_matches0.prototype = {
89343 call$1(actual) {
89344 var t1 = this.char;
89345 return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
89346 },
89347 $signature: 58
89348 };
89349 A.PlaceholderSelector0.prototype = {
89350 get$isInvisible() {
89351 return true;
89352 },
89353 accept$1$1(visitor) {
89354 var t1 = visitor._serialize0$_buffer;
89355 t1.writeCharCode$1(37);
89356 t1.write$1(0, this.name);
89357 return null;
89358 },
89359 accept$1(visitor) {
89360 return this.accept$1$1(visitor, type$.dynamic);
89361 },
89362 addSuffix$1(suffix) {
89363 return new A.PlaceholderSelector0(this.name + suffix);
89364 },
89365 $eq(_, other) {
89366 if (other == null)
89367 return false;
89368 return other instanceof A.PlaceholderSelector0 && other.name === this.name;
89369 },
89370 get$hashCode(_) {
89371 return B.JSString_methods.get$hashCode(this.name);
89372 }
89373 };
89374 A.PlainCssCallable0.prototype = {
89375 $eq(_, other) {
89376 if (other == null)
89377 return false;
89378 return other instanceof A.PlainCssCallable0 && this.name === other.name;
89379 },
89380 get$hashCode(_) {
89381 return B.JSString_methods.get$hashCode(this.name);
89382 },
89383 $isAsyncCallable0: 1,
89384 $isCallable0: 1,
89385 get$name(receiver) {
89386 return this.name;
89387 }
89388 };
89389 A.PrefixedMapView0.prototype = {
89390 get$keys(_) {
89391 return new A._PrefixedKeys0(this);
89392 },
89393 get$length(_) {
89394 var t1 = this._prefixed_map_view0$_map;
89395 return t1.get$length(t1);
89396 },
89397 get$isEmpty(_) {
89398 var t1 = this._prefixed_map_view0$_map;
89399 return t1.get$isEmpty(t1);
89400 },
89401 get$isNotEmpty(_) {
89402 var t1 = this._prefixed_map_view0$_map;
89403 return t1.get$isNotEmpty(t1);
89404 },
89405 $index(_, key) {
89406 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;
89407 },
89408 containsKey$1(key) {
89409 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));
89410 }
89411 };
89412 A._PrefixedKeys0.prototype = {
89413 get$length(_) {
89414 var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
89415 return t1.get$length(t1);
89416 },
89417 get$iterator(_) {
89418 var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
89419 t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
89420 return t1.get$iterator(t1);
89421 },
89422 contains$1(_, key) {
89423 return this._prefixed_map_view0$_view.containsKey$1(key);
89424 }
89425 };
89426 A._PrefixedKeys_iterator_closure0.prototype = {
89427 call$1(key) {
89428 return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
89429 },
89430 $signature: 5
89431 };
89432 A.PseudoSelector0.prototype = {
89433 get$isHostContext() {
89434 return this.isClass && this.name === "host-context" && this.selector != null;
89435 },
89436 get$minSpecificity() {
89437 if (this._pseudo0$_minSpecificity == null)
89438 this._pseudo0$_computeSpecificity$0();
89439 var t1 = this._pseudo0$_minSpecificity;
89440 t1.toString;
89441 return t1;
89442 },
89443 get$maxSpecificity() {
89444 if (this._pseudo0$_maxSpecificity == null)
89445 this._pseudo0$_computeSpecificity$0();
89446 var t1 = this._pseudo0$_maxSpecificity;
89447 t1.toString;
89448 return t1;
89449 },
89450 get$isInvisible() {
89451 var selector = this.selector;
89452 if (selector == null)
89453 return false;
89454 return this.name !== "not" && selector.get$isInvisible();
89455 },
89456 addSuffix$1(suffix) {
89457 var _this = this;
89458 if (_this.argument != null || _this.selector != null)
89459 _this.super$SimpleSelector$addSuffix0(suffix);
89460 return A.PseudoSelector$0(_this.name + suffix, null, !_this.isClass, null);
89461 },
89462 unify$1(compound) {
89463 var other, result, t2, addedThis, _i, simple, _this = this,
89464 t1 = _this.name;
89465 if (t1 === "host" || t1 === "host-context") {
89466 if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
89467 return null;
89468 } else if (compound.length === 1) {
89469 other = B.JSArray_methods.get$first(compound);
89470 if (!(other instanceof A.UniversalSelector0))
89471 if (other instanceof A.PseudoSelector0)
89472 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
89473 else
89474 t1 = false;
89475 else
89476 t1 = true;
89477 if (t1)
89478 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
89479 }
89480 if (B.JSArray_methods.contains$1(compound, _this))
89481 return compound;
89482 result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
89483 for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
89484 simple = compound[_i];
89485 if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
89486 if (t2)
89487 return null;
89488 result.push(_this);
89489 addedThis = true;
89490 }
89491 result.push(simple);
89492 }
89493 if (!addedThis)
89494 result.push(_this);
89495 return result;
89496 },
89497 _pseudo0$_computeSpecificity$0() {
89498 var selector, t1, t2, minSpecificity, maxSpecificity, _i, complex, t3, _this = this;
89499 if (!_this.isClass) {
89500 _this._pseudo0$_maxSpecificity = _this._pseudo0$_minSpecificity = 1;
89501 return;
89502 }
89503 selector = _this.selector;
89504 if (selector == null) {
89505 _this._pseudo0$_minSpecificity = A.SimpleSelector0.prototype.get$minSpecificity.call(_this);
89506 _this._pseudo0$_maxSpecificity = A.SimpleSelector0.prototype.get$maxSpecificity.call(_this);
89507 return;
89508 }
89509 if (_this.name === "not") {
89510 for (t1 = selector.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
89511 complex = t1[_i];
89512 if (complex._complex0$_minSpecificity == null)
89513 complex._complex0$_computeSpecificity$0();
89514 t3 = complex._complex0$_minSpecificity;
89515 t3.toString;
89516 minSpecificity = Math.max(minSpecificity, t3);
89517 if (complex._complex0$_maxSpecificity == null)
89518 complex._complex0$_computeSpecificity$0();
89519 t3 = complex._complex0$_maxSpecificity;
89520 t3.toString;
89521 maxSpecificity = Math.max(maxSpecificity, t3);
89522 }
89523 _this._pseudo0$_minSpecificity = minSpecificity;
89524 _this._pseudo0$_maxSpecificity = maxSpecificity;
89525 } else {
89526 minSpecificity = A._asInt(Math.pow(A.SimpleSelector0.prototype.get$minSpecificity.call(_this), 3));
89527 for (t1 = selector.components, t2 = t1.length, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
89528 complex = t1[_i];
89529 if (complex._complex0$_minSpecificity == null)
89530 complex._complex0$_computeSpecificity$0();
89531 t3 = complex._complex0$_minSpecificity;
89532 t3.toString;
89533 minSpecificity = Math.min(minSpecificity, t3);
89534 if (complex._complex0$_maxSpecificity == null)
89535 complex._complex0$_computeSpecificity$0();
89536 t3 = complex._complex0$_maxSpecificity;
89537 t3.toString;
89538 maxSpecificity = Math.max(maxSpecificity, t3);
89539 }
89540 _this._pseudo0$_minSpecificity = minSpecificity;
89541 _this._pseudo0$_maxSpecificity = maxSpecificity;
89542 }
89543 },
89544 accept$1$1(visitor) {
89545 return visitor.visitPseudoSelector$1(this);
89546 },
89547 accept$1(visitor) {
89548 return this.accept$1$1(visitor, type$.dynamic);
89549 },
89550 $eq(_, other) {
89551 var _this = this;
89552 if (other == null)
89553 return false;
89554 return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
89555 },
89556 get$hashCode(_) {
89557 var _this = this,
89558 t1 = B.JSString_methods.get$hashCode(_this.name),
89559 t2 = !_this.isClass ? 519018 : 218159;
89560 return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
89561 }
89562 };
89563 A.PseudoSelector_unify_closure0.prototype = {
89564 call$1(simple) {
89565 var t1;
89566 if (simple instanceof A.PseudoSelector0)
89567 t1 = simple.isClass && simple.name === "host" || simple.selector != null;
89568 else
89569 t1 = false;
89570 return t1;
89571 },
89572 $signature: 15
89573 };
89574 A.PublicMemberMapView0.prototype = {
89575 get$keys(_) {
89576 var t1 = this._public_member_map_view0$_inner;
89577 return J.where$1$ax(t1.get$keys(t1), A.utils0__isPublic$closure());
89578 },
89579 containsKey$1(key) {
89580 return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
89581 },
89582 $index(_, key) {
89583 if (typeof key == "string" && A.isPublic0(key))
89584 return this._public_member_map_view0$_inner.$index(0, key);
89585 return null;
89586 }
89587 };
89588 A.QualifiedName0.prototype = {
89589 $eq(_, other) {
89590 if (other == null)
89591 return false;
89592 return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
89593 },
89594 get$hashCode(_) {
89595 return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
89596 },
89597 toString$0(_) {
89598 var t1 = this.namespace,
89599 t2 = this.name;
89600 return t1 == null ? t2 : t1 + "|" + t2;
89601 }
89602 };
89603 A.JSClass0.prototype = {};
89604 A.JSClassExtension_setCustomInspect_closure.prototype = {
89605 call$4($self, _, __, ___) {
89606 return this.inspect.call$1($self);
89607 },
89608 call$3($self, _, __) {
89609 return this.call$4($self, _, __, null);
89610 },
89611 "call*": "call$4",
89612 $requiredArgCount: 3,
89613 $defaultValues() {
89614 return [null];
89615 },
89616 $signature: 518
89617 };
89618 A.JSClassExtension_get_defineMethod_closure.prototype = {
89619 call$2($name, body) {
89620 J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
89621 return null;
89622 },
89623 $signature: 246
89624 };
89625 A.JSClassExtension_get_defineGetter_closure.prototype = {
89626 call$2($name, body) {
89627 A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
89628 return null;
89629 },
89630 $signature: 246
89631 };
89632 A.RenderContext0.prototype = {};
89633 A.RenderContextOptions0.prototype = {};
89634 A.RenderContextResult0.prototype = {};
89635 A.RenderContextResultStats0.prototype = {};
89636 A.RenderOptions.prototype = {};
89637 A.RenderResult.prototype = {};
89638 A.RenderResultStats.prototype = {};
89639 A.ImporterResult0.prototype = {
89640 get$sourceMapUrl(_) {
89641 var t1 = this._result$_sourceMapUrl;
89642 return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
89643 }
89644 };
89645 A.ReturnRule0.prototype = {
89646 accept$1$1(visitor) {
89647 return visitor.visitReturnRule$1(this);
89648 },
89649 accept$1(visitor) {
89650 return this.accept$1$1(visitor, type$.dynamic);
89651 },
89652 toString$0(_) {
89653 return "@return " + this.expression.toString$0(0) + ";";
89654 },
89655 $isAstNode0: 1,
89656 $isStatement0: 1,
89657 get$span(receiver) {
89658 return this.span;
89659 }
89660 };
89661 A.main_printError.prototype = {
89662 call$2(error, stackTrace) {
89663 var t1 = this._box_0;
89664 if (t1.printedError)
89665 $.$get$stderr().writeln$0();
89666 t1.printedError = true;
89667 t1 = $.$get$stderr();
89668 t1.writeln$1(error);
89669 if (stackTrace != null) {
89670 t1.writeln$0();
89671 t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
89672 }
89673 },
89674 $signature: 520
89675 };
89676 A.main_closure.prototype = {
89677 call$0() {
89678 var t1, exception;
89679 try {
89680 t1 = this.destination;
89681 if (t1 != null && !this._box_0.options.get$emitErrorCss())
89682 A.deleteFile(t1);
89683 } catch (exception) {
89684 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
89685 throw exception;
89686 }
89687 },
89688 $signature: 1
89689 };
89690 A.SassParser0.prototype = {
89691 get$currentIndentation() {
89692 return this._sass0$_currentIndentation;
89693 },
89694 get$indented() {
89695 return true;
89696 },
89697 styleRuleSelector$0() {
89698 var t4,
89699 t1 = this.scanner,
89700 t2 = t1._string_scanner$_position,
89701 t3 = new A.StringBuffer(""),
89702 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
89703 do {
89704 buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
89705 t4 = t3._contents += A.Primitives_stringFromCharCode(10);
89706 } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character0__isNewline$closure()));
89707 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
89708 },
89709 expectStatementSeparator$1($name) {
89710 var _this = this;
89711 if (!_this.atEndOfStatement$0())
89712 _this._sass0$_expectNewline$0();
89713 if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
89714 return;
89715 _this.scanner.error$2$position(0, "Nothing may be indented " + ($name == null ? "here" : "beneath a " + $name) + ".", _this._sass0$_nextIndentationEnd.position);
89716 },
89717 expectStatementSeparator$0() {
89718 return this.expectStatementSeparator$1(null);
89719 },
89720 atEndOfStatement$0() {
89721 var next = this.scanner.peekChar$0();
89722 return next == null || next === 10 || next === 13 || next === 12;
89723 },
89724 lookingAtChildren$0() {
89725 return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
89726 },
89727 importArgument$0() {
89728 var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
89729 t1 = _this.scanner;
89730 switch (t1.peekChar$0()) {
89731 case 117:
89732 case 85:
89733 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89734 if (_this.scanIdentifier$1("url"))
89735 if (t1.scanChar$1(40)) {
89736 t1.set$state(start);
89737 return _this.super$StylesheetParser$importArgument0();
89738 } else
89739 t1.set$state(start);
89740 break;
89741 case 39:
89742 case 34:
89743 return _this.super$StylesheetParser$importArgument0();
89744 }
89745 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89746 next = t1.peekChar$0();
89747 while (true) {
89748 if (next != null)
89749 if (next !== 44)
89750 if (next !== 59)
89751 t2 = !(next === 10 || next === 13 || next === 12);
89752 else
89753 t2 = false;
89754 else
89755 t2 = false;
89756 else
89757 t2 = false;
89758 if (!t2)
89759 break;
89760 t1.readChar$0();
89761 next = t1.peekChar$0();
89762 }
89763 url = t1.substring$1(0, start.position);
89764 span = t1.spanFrom$1(start);
89765 if (_this.isPlainImportUrl$1(url))
89766 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);
89767 else
89768 try {
89769 t1 = _this.parseImportUrl$1(url);
89770 return new A.DynamicImport0(t1, span);
89771 } catch (exception) {
89772 t1 = A.unwrapException(exception);
89773 if (type$.FormatException._is(t1)) {
89774 innerError = t1;
89775 stackTrace = A.getTraceFromException(exception);
89776 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
89777 } else
89778 throw exception;
89779 }
89780 },
89781 scanElse$1(ifIndentation) {
89782 var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
89783 if (_this._sass0$_peekIndentation$0() !== ifIndentation)
89784 return false;
89785 t1 = _this.scanner;
89786 t2 = t1._string_scanner$_position;
89787 startIndentation = _this._sass0$_currentIndentation;
89788 startNextIndentation = _this._sass0$_nextIndentation;
89789 startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
89790 _this._sass0$_readIndentation$0();
89791 if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
89792 return true;
89793 t1.set$state(new A._SpanScannerState(t1, t2));
89794 _this._sass0$_currentIndentation = startIndentation;
89795 _this._sass0$_nextIndentation = startNextIndentation;
89796 _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
89797 return false;
89798 },
89799 children$1(_, child) {
89800 var children = A._setArrayType([], type$.JSArray_Statement_2);
89801 this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
89802 return children;
89803 },
89804 statements$1(statement) {
89805 var statements, t2, child,
89806 t1 = this.scanner,
89807 first = t1.peekChar$0();
89808 if (first === 9 || first === 32)
89809 t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
89810 statements = A._setArrayType([], type$.JSArray_Statement_2);
89811 for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
89812 child = this._sass0$_child$1(statement);
89813 if (child != null)
89814 statements.push(child);
89815 this._sass0$_readIndentation$0();
89816 }
89817 return statements;
89818 },
89819 _sass0$_child$1(child) {
89820 var _this = this,
89821 t1 = _this.scanner;
89822 switch (t1.peekChar$0()) {
89823 case 13:
89824 case 10:
89825 case 12:
89826 return null;
89827 case 36:
89828 return _this.variableDeclarationWithoutNamespace$0();
89829 case 47:
89830 switch (t1.peekChar$1(1)) {
89831 case 47:
89832 return _this._sass0$_silentComment$0();
89833 case 42:
89834 return _this._sass0$_loudComment$0();
89835 default:
89836 return child.call$0();
89837 }
89838 default:
89839 return child.call$0();
89840 }
89841 },
89842 _sass0$_silentComment$0() {
89843 var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
89844 t1 = _this.scanner,
89845 t2 = t1._string_scanner$_position;
89846 t1.expect$1("//");
89847 buffer = new A.StringBuffer("");
89848 parentIndentation = _this._sass0$_currentIndentation;
89849 t3 = t1.string.length;
89850 t4 = 1 + parentIndentation;
89851 t5 = 2 + parentIndentation;
89852 $label0$0:
89853 do {
89854 commentPrefix = t1.scanChar$1(47) ? "///" : "//";
89855 for (i = commentPrefix.length; true;) {
89856 t6 = buffer._contents += commentPrefix;
89857 for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
89858 t6 += A.Primitives_stringFromCharCode(32);
89859 buffer._contents = t6;
89860 }
89861 while (true) {
89862 if (t1._string_scanner$_position !== t3) {
89863 t7 = t1.peekChar$0();
89864 t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
89865 } else
89866 t7 = false;
89867 if (!t7)
89868 break;
89869 t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
89870 buffer._contents = t6;
89871 }
89872 buffer._contents = t6 + "\n";
89873 if (_this._sass0$_peekIndentation$0() < parentIndentation)
89874 break $label0$0;
89875 if (_this._sass0$_peekIndentation$0() === parentIndentation) {
89876 if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
89877 _this._sass0$_readIndentation$0();
89878 break;
89879 }
89880 _this._sass0$_readIndentation$0();
89881 }
89882 } while (t1.scan$1("//"));
89883 t3 = buffer._contents;
89884 return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
89885 },
89886 _sass0$_loudComment$0() {
89887 var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
89888 t1 = _this.scanner,
89889 t2 = t1._string_scanner$_position;
89890 t1.expect$1("/*");
89891 t3 = new A.StringBuffer("");
89892 t4 = A._setArrayType([], type$.JSArray_Object);
89893 buffer = new A.InterpolationBuffer0(t3, t4);
89894 t3._contents = "" + "/*";
89895 parentIndentation = _this._sass0$_currentIndentation;
89896 for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
89897 if (first) {
89898 beginningOfComment = t1._string_scanner$_position;
89899 _this.spaces$0();
89900 t7 = t1.peekChar$0();
89901 if (t7 === 10 || t7 === 13 || t7 === 12) {
89902 _this._sass0$_readIndentation$0();
89903 t7 = t3._contents += A.Primitives_stringFromCharCode(32);
89904 } else {
89905 end = t1._string_scanner$_position;
89906 t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
89907 }
89908 } else {
89909 t7 = t3._contents += "\n";
89910 t7 += " * ";
89911 t3._contents = t7;
89912 }
89913 for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
89914 t7 += A.Primitives_stringFromCharCode(32);
89915 t3._contents = t7;
89916 }
89917 $label0$1:
89918 for (; t1._string_scanner$_position !== t6;)
89919 switch (t1.peekChar$0()) {
89920 case 10:
89921 case 13:
89922 case 12:
89923 break $label0$1;
89924 case 35:
89925 if (t1.peekChar$1(1) === 123) {
89926 t7 = _this.singleInterpolation$0();
89927 buffer._interpolation_buffer0$_flushText$0();
89928 t4.push(t7);
89929 } else
89930 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89931 break;
89932 default:
89933 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89934 break;
89935 }
89936 if (_this._sass0$_peekIndentation$0() <= parentIndentation)
89937 break;
89938 for (; _this._sass0$_lookingAtDoubleNewline$0();) {
89939 _this._sass0$_expectNewline$0();
89940 t7 = t3._contents += "\n";
89941 t3._contents = t7 + " *";
89942 }
89943 _this._sass0$_readIndentation$0();
89944 }
89945 t4 = t3._contents;
89946 if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
89947 t3._contents += " */";
89948 return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
89949 },
89950 whitespaceWithoutComments$0() {
89951 var t1, t2, next;
89952 for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
89953 next = t1.peekChar$0();
89954 if (next !== 9 && next !== 32)
89955 break;
89956 t1.readChar$0();
89957 }
89958 },
89959 loudComment$0() {
89960 var next,
89961 t1 = this.scanner;
89962 t1.expect$1("/*");
89963 for (; true;) {
89964 next = t1.readChar$0();
89965 if (next === 10 || next === 13 || next === 12)
89966 t1.error$1(0, "expected */.");
89967 if (next !== 42)
89968 continue;
89969 do
89970 next = t1.readChar$0();
89971 while (next === 42);
89972 if (next === 47)
89973 break;
89974 }
89975 },
89976 _sass0$_expectNewline$0() {
89977 var t1 = this.scanner;
89978 switch (t1.peekChar$0()) {
89979 case 59:
89980 t1.error$1(0, string$.semico);
89981 break;
89982 case 13:
89983 t1.readChar$0();
89984 if (t1.peekChar$0() === 10)
89985 t1.readChar$0();
89986 return;
89987 case 10:
89988 case 12:
89989 t1.readChar$0();
89990 return;
89991 default:
89992 t1.error$1(0, "expected newline.");
89993 }
89994 },
89995 _sass0$_lookingAtDoubleNewline$0() {
89996 var nextChar,
89997 t1 = this.scanner;
89998 switch (t1.peekChar$0()) {
89999 case 13:
90000 nextChar = t1.peekChar$1(1);
90001 if (nextChar === 10) {
90002 t1 = t1.peekChar$1(2);
90003 return t1 === 10 || t1 === 13 || t1 === 12;
90004 }
90005 return nextChar === 13 || nextChar === 12;
90006 case 10:
90007 case 12:
90008 t1 = t1.peekChar$1(1);
90009 return t1 === 10 || t1 === 13 || t1 === 12;
90010 default:
90011 return false;
90012 }
90013 },
90014 _sass0$_whileIndentedLower$1(body) {
90015 var t1, t2, childIndentation, indentation, t3, t4, t5, _this = this,
90016 parentIndentation = _this._sass0$_currentIndentation;
90017 for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
90018 indentation = _this._sass0$_readIndentation$0();
90019 if (childIndentation == null)
90020 childIndentation = indentation;
90021 if (childIndentation !== indentation) {
90022 t3 = "Inconsistent indentation, expected " + childIndentation + " spaces.";
90023 t4 = t1._string_scanner$_position;
90024 t5 = t2.getColumn$1(t4);
90025 t1.error$3$length$position(0, t3, t2.getColumn$1(t1._string_scanner$_position), t4 - t5);
90026 }
90027 body.call$0();
90028 }
90029 },
90030 _sass0$_readIndentation$0() {
90031 var t1, _this = this,
90032 currentIndentation = _this._sass0$_nextIndentation;
90033 if (currentIndentation == null)
90034 currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
90035 _this._sass0$_currentIndentation = currentIndentation;
90036 t1 = _this._sass0$_nextIndentationEnd;
90037 t1.toString;
90038 _this.scanner.set$state(t1);
90039 _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
90040 return currentIndentation;
90041 },
90042 _sass0$_peekIndentation$0() {
90043 var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
90044 cached = _this._sass0$_nextIndentation;
90045 if (cached != null)
90046 return cached;
90047 t1 = _this.scanner;
90048 t2 = t1._string_scanner$_position;
90049 t3 = t1.string.length;
90050 if (t2 === t3) {
90051 _this._sass0$_nextIndentation = 0;
90052 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
90053 return 0;
90054 }
90055 start = new A._SpanScannerState(t1, t2);
90056 if (!_this.scanCharIf$1(A.character0__isNewline$closure()))
90057 t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
90058 containsTab = A._Cell$();
90059 containsSpace = A._Cell$();
90060 nextIndentation = A._Cell$();
90061 t2 = nextIndentation.__late_helper$_name;
90062 do {
90063 containsSpace._value = containsTab._value = false;
90064 nextIndentation._value = 0;
90065 for (; true;) {
90066 next = t1.peekChar$0();
90067 if (next === 32)
90068 containsSpace._value = true;
90069 else if (next === 9)
90070 containsTab._value = true;
90071 else
90072 break;
90073 t4 = nextIndentation._value;
90074 if (t4 === nextIndentation)
90075 A.throwExpression(A.LateError$localNI(t2));
90076 nextIndentation._value = t4 + 1;
90077 t1.readChar$0();
90078 }
90079 t4 = t1._string_scanner$_position;
90080 if (t4 === t3) {
90081 _this._sass0$_nextIndentation = 0;
90082 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t4);
90083 t1.set$state(start);
90084 return 0;
90085 }
90086 } while (_this.scanCharIf$1(A.character0__isNewline$closure()));
90087 t2 = containsTab._readLocal$0();
90088 t3 = containsSpace._readLocal$0();
90089 if (t2) {
90090 if (t3) {
90091 t2 = t1._string_scanner$_position;
90092 t3 = t1._sourceFile;
90093 t4 = t3.getColumn$1(t2);
90094 t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
90095 } else if (_this._sass0$_spaces === true) {
90096 t2 = t1._string_scanner$_position;
90097 t3 = t1._sourceFile;
90098 t4 = t3.getColumn$1(t2);
90099 t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
90100 }
90101 } else if (t3 && _this._sass0$_spaces === false) {
90102 t2 = t1._string_scanner$_position;
90103 t3 = t1._sourceFile;
90104 t4 = t3.getColumn$1(t2);
90105 t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
90106 }
90107 _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
90108 if (nextIndentation._readLocal$0() > 0)
90109 if (_this._sass0$_spaces == null)
90110 _this._sass0$_spaces = containsSpace._readLocal$0();
90111 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
90112 t1.set$state(start);
90113 return nextIndentation._readLocal$0();
90114 }
90115 };
90116 A.SassParser_children_closure0.prototype = {
90117 call$0() {
90118 var parsedChild = this.$this._sass0$_child$1(this.child);
90119 if (parsedChild != null)
90120 this.children.push(parsedChild);
90121 },
90122 $signature: 0
90123 };
90124 A._Exports.prototype = {};
90125 A._wrapMain_closure.prototype = {
90126 call$1(_) {
90127 return A._translateReturnValue(this.main.call$0());
90128 },
90129 $signature: 100
90130 };
90131 A._wrapMain_closure0.prototype = {
90132 call$1(args) {
90133 return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
90134 },
90135 $signature: 100
90136 };
90137 A.ScssParser0.prototype = {
90138 get$indented() {
90139 return false;
90140 },
90141 get$currentIndentation() {
90142 return 0;
90143 },
90144 styleRuleSelector$0() {
90145 return this.almostAnyValue$0();
90146 },
90147 expectStatementSeparator$1($name) {
90148 var t1, next;
90149 this.whitespaceWithoutComments$0();
90150 t1 = this.scanner;
90151 if (t1._string_scanner$_position === t1.string.length)
90152 return;
90153 next = t1.peekChar$0();
90154 if (next === 59 || next === 125)
90155 return;
90156 t1.expectChar$1(59);
90157 },
90158 expectStatementSeparator$0() {
90159 return this.expectStatementSeparator$1(null);
90160 },
90161 atEndOfStatement$0() {
90162 var next = this.scanner.peekChar$0();
90163 return next == null || next === 59 || next === 125 || next === 123;
90164 },
90165 lookingAtChildren$0() {
90166 return this.scanner.peekChar$0() === 123;
90167 },
90168 scanElse$1(ifIndentation) {
90169 var t3, _this = this,
90170 t1 = _this.scanner,
90171 t2 = t1._string_scanner$_position;
90172 _this.whitespace$0();
90173 t3 = t1._string_scanner$_position;
90174 if (t1.scanChar$1(64)) {
90175 if (_this.scanIdentifier$2$caseSensitive("else", true))
90176 return true;
90177 if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
90178 _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
90179 t1.set$position(t1._string_scanner$_position - 2);
90180 return true;
90181 }
90182 }
90183 t1.set$state(new A._SpanScannerState(t1, t2));
90184 return false;
90185 },
90186 children$1(_, child) {
90187 var children, _this = this,
90188 t1 = _this.scanner;
90189 t1.expectChar$1(123);
90190 _this.whitespaceWithoutComments$0();
90191 children = A._setArrayType([], type$.JSArray_Statement_2);
90192 for (; true;)
90193 switch (t1.peekChar$0()) {
90194 case 36:
90195 children.push(_this.variableDeclarationWithoutNamespace$0());
90196 break;
90197 case 47:
90198 switch (t1.peekChar$1(1)) {
90199 case 47:
90200 children.push(_this._scss0$_silentComment$0());
90201 _this.whitespaceWithoutComments$0();
90202 break;
90203 case 42:
90204 children.push(_this._scss0$_loudComment$0());
90205 _this.whitespaceWithoutComments$0();
90206 break;
90207 default:
90208 children.push(child.call$0());
90209 break;
90210 }
90211 break;
90212 case 59:
90213 t1.readChar$0();
90214 _this.whitespaceWithoutComments$0();
90215 break;
90216 case 125:
90217 t1.expectChar$1(125);
90218 return children;
90219 default:
90220 children.push(child.call$0());
90221 break;
90222 }
90223 },
90224 statements$1(statement) {
90225 var t1, t2, child, _this = this,
90226 statements = A._setArrayType([], type$.JSArray_Statement_2);
90227 _this.whitespaceWithoutComments$0();
90228 for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
90229 switch (t1.peekChar$0()) {
90230 case 36:
90231 statements.push(_this.variableDeclarationWithoutNamespace$0());
90232 break;
90233 case 47:
90234 switch (t1.peekChar$1(1)) {
90235 case 47:
90236 statements.push(_this._scss0$_silentComment$0());
90237 _this.whitespaceWithoutComments$0();
90238 break;
90239 case 42:
90240 statements.push(_this._scss0$_loudComment$0());
90241 _this.whitespaceWithoutComments$0();
90242 break;
90243 default:
90244 child = statement.call$0();
90245 if (child != null)
90246 statements.push(child);
90247 break;
90248 }
90249 break;
90250 case 59:
90251 t1.readChar$0();
90252 _this.whitespaceWithoutComments$0();
90253 break;
90254 default:
90255 child = statement.call$0();
90256 if (child != null)
90257 statements.push(child);
90258 break;
90259 }
90260 return statements;
90261 },
90262 _scss0$_silentComment$0() {
90263 var t2, t3, _this = this,
90264 t1 = _this.scanner,
90265 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
90266 t1.expect$1("//");
90267 t2 = t1.string.length;
90268 do {
90269 while (true) {
90270 if (t1._string_scanner$_position !== t2) {
90271 t3 = t1.readChar$0();
90272 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
90273 } else
90274 t3 = false;
90275 if (!t3)
90276 break;
90277 }
90278 if (t1._string_scanner$_position === t2)
90279 break;
90280 _this.whitespaceWithoutComments$0();
90281 } while (t1.scan$1("//"));
90282 if (_this.get$plainCss())
90283 _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
90284 return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
90285 },
90286 _scss0$_loudComment$0() {
90287 var t3, t4, buffer, t5, endPosition, t6, result,
90288 t1 = this.scanner,
90289 t2 = t1._string_scanner$_position;
90290 t1.expect$1("/*");
90291 t3 = new A.StringBuffer("");
90292 t4 = A._setArrayType([], type$.JSArray_Object);
90293 buffer = new A.InterpolationBuffer0(t3, t4);
90294 t3._contents = "" + "/*";
90295 for (; true;)
90296 switch (t1.peekChar$0()) {
90297 case 35:
90298 if (t1.peekChar$1(1) === 123) {
90299 t5 = this.singleInterpolation$0();
90300 buffer._interpolation_buffer0$_flushText$0();
90301 t4.push(t5);
90302 } else
90303 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
90304 break;
90305 case 42:
90306 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
90307 if (t1.peekChar$0() !== 47)
90308 break;
90309 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
90310 endPosition = t1._string_scanner$_position;
90311 t5 = t1._sourceFile;
90312 t6 = new A._SpanScannerState(t1, t2).position;
90313 t1 = new A._FileSpan(t5, t6, endPosition);
90314 t1._FileSpan$3(t5, t6, endPosition);
90315 t6 = type$.Object;
90316 t5 = A.List_List$of(t4, true, t6);
90317 t2 = t3._contents;
90318 if (t2.length !== 0)
90319 t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
90320 result = A.List_List$from(t5, false, t6);
90321 result.fixed$length = Array;
90322 result.immutable$list = Array;
90323 t2 = new A.Interpolation0(result, t1);
90324 t2.Interpolation$20(t5, t1);
90325 return new A.LoudComment0(t2);
90326 case 13:
90327 t1.readChar$0();
90328 if (t1.peekChar$0() !== 10)
90329 t3._contents += A.Primitives_stringFromCharCode(10);
90330 break;
90331 case 12:
90332 t1.readChar$0();
90333 t3._contents += A.Primitives_stringFromCharCode(10);
90334 break;
90335 default:
90336 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
90337 break;
90338 }
90339 }
90340 };
90341 A.Selector0.prototype = {
90342 get$isInvisible() {
90343 return false;
90344 },
90345 toString$0(_) {
90346 var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
90347 this.accept$1(visitor);
90348 return visitor._serialize0$_buffer.toString$0(0);
90349 }
90350 };
90351 A.SelectorExpression0.prototype = {
90352 accept$1$1(visitor) {
90353 return visitor.visitSelectorExpression$1(this);
90354 },
90355 accept$1(visitor) {
90356 return this.accept$1$1(visitor, type$.dynamic);
90357 },
90358 toString$0(_) {
90359 return "&";
90360 },
90361 $isExpression0: 1,
90362 $isAstNode0: 1,
90363 get$span(receiver) {
90364 return this.span;
90365 }
90366 };
90367 A._nest_closure0.prototype = {
90368 call$1($arguments) {
90369 var t1 = {},
90370 selectors = J.$index$asx($arguments, 0).get$asList();
90371 if (selectors.length === 0)
90372 throw A.wrapException(A.SassScriptException$0(string$.x24selec));
90373 t1.first = true;
90374 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();
90375 },
90376 $signature: 21
90377 };
90378 A._nest__closure1.prototype = {
90379 call$1(selector) {
90380 var t1 = this._box_0,
90381 result = selector.assertSelector$1$allowParent(!t1.first);
90382 t1.first = false;
90383 return result;
90384 },
90385 $signature: 247
90386 };
90387 A._nest__closure2.prototype = {
90388 call$2($parent, child) {
90389 return child.resolveParentSelectors$1($parent);
90390 },
90391 $signature: 248
90392 };
90393 A._append_closure1.prototype = {
90394 call$1($arguments) {
90395 var selectors = J.$index$asx($arguments, 0).get$asList();
90396 if (selectors.length === 0)
90397 throw A.wrapException(A.SassScriptException$0(string$.x24selec));
90398 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();
90399 },
90400 $signature: 21
90401 };
90402 A._append__closure1.prototype = {
90403 call$1(selector) {
90404 return selector.assertSelector$0();
90405 },
90406 $signature: 247
90407 };
90408 A._append__closure2.prototype = {
90409 call$2($parent, child) {
90410 var t1 = child.components;
90411 return A.SelectorList$0(new A.MappedListIterable(t1, new A._append___closure0($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"))).resolveParentSelectors$1($parent);
90412 },
90413 $signature: 248
90414 };
90415 A._append___closure0.prototype = {
90416 call$1(complex) {
90417 var newCompound, t2,
90418 t1 = complex.components,
90419 compound = B.JSArray_methods.get$first(t1);
90420 if (compound instanceof A.CompoundSelector0) {
90421 newCompound = A._prependParent0(compound);
90422 if (newCompound == null)
90423 throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
90424 t2 = A._setArrayType([newCompound], type$.JSArray_ComplexSelectorComponent_2);
90425 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
90426 return A.ComplexSelector$0(t2, false);
90427 } else
90428 throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
90429 },
90430 $signature: 116
90431 };
90432 A._extend_closure0.prototype = {
90433 call$1($arguments) {
90434 var t1 = J.getInterceptor$asx($arguments),
90435 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
90436 target = t1.$index($arguments, 1).assertSelector$1$name("extendee");
90437 return A.ExtensionStore__extendOrReplace0(selector, t1.$index($arguments, 2).assertSelector$1$name("extender"), target, B.ExtendMode_allTargets0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
90438 },
90439 $signature: 21
90440 };
90441 A._replace_closure0.prototype = {
90442 call$1($arguments) {
90443 var t1 = J.getInterceptor$asx($arguments),
90444 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
90445 target = t1.$index($arguments, 1).assertSelector$1$name("original");
90446 return A.ExtensionStore__extendOrReplace0(selector, t1.$index($arguments, 2).assertSelector$1$name("replacement"), target, B.ExtendMode_replace0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
90447 },
90448 $signature: 21
90449 };
90450 A._unify_closure0.prototype = {
90451 call$1($arguments) {
90452 var t1 = J.getInterceptor$asx($arguments),
90453 result = t1.$index($arguments, 0).assertSelector$1$name("selector1").unify$1(t1.$index($arguments, 1).assertSelector$1$name("selector2"));
90454 return result == null ? B.C__SassNull0 : result.get$asSassList();
90455 },
90456 $signature: 3
90457 };
90458 A._isSuperselector_closure0.prototype = {
90459 call$1($arguments) {
90460 var t1 = J.getInterceptor$asx($arguments),
90461 selector1 = t1.$index($arguments, 0).assertSelector$1$name("super"),
90462 selector2 = t1.$index($arguments, 1).assertSelector$1$name("sub");
90463 return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
90464 },
90465 $signature: 18
90466 };
90467 A._simpleSelectors_closure0.prototype = {
90468 call$1($arguments) {
90469 var t1 = J.$index$asx($arguments, 0).assertCompoundSelector$1$name("selector").components;
90470 return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_kWM0, false);
90471 },
90472 $signature: 21
90473 };
90474 A._simpleSelectors__closure0.prototype = {
90475 call$1(simple) {
90476 return new A.SassString0(A.serializeSelector0(simple, true), false);
90477 },
90478 $signature: 523
90479 };
90480 A._parse_closure0.prototype = {
90481 call$1($arguments) {
90482 return J.$index$asx($arguments, 0).assertSelector$1$name("selector").get$asSassList();
90483 },
90484 $signature: 21
90485 };
90486 A.SelectorParser0.prototype = {
90487 parse$0() {
90488 return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
90489 },
90490 parseCompoundSelector$0() {
90491 return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
90492 },
90493 _selector$_selectorList$0() {
90494 var t3, t4, lineBreak, _this = this,
90495 t1 = _this.scanner,
90496 t2 = t1._sourceFile,
90497 previousLine = t2.getLine$1(t1._string_scanner$_position),
90498 components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
90499 _this.whitespace$0();
90500 for (t3 = t1.string.length; t1.scanChar$1(44);) {
90501 _this.whitespace$0();
90502 if (t1.peekChar$0() === 44)
90503 continue;
90504 t4 = t1._string_scanner$_position;
90505 if (t4 === t3)
90506 break;
90507 lineBreak = t2.getLine$1(t4) !== previousLine;
90508 if (lineBreak)
90509 previousLine = t2.getLine$1(t1._string_scanner$_position);
90510 components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
90511 }
90512 return A.SelectorList$0(components);
90513 },
90514 _selector$_complexSelector$1$lineBreak(lineBreak) {
90515 var t1, next, _this = this,
90516 _s58_ = string$.x22x26__ma,
90517 components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
90518 $label0$1:
90519 for (t1 = _this.scanner; true;) {
90520 _this.whitespace$0();
90521 next = t1.peekChar$0();
90522 switch (next) {
90523 case 43:
90524 t1.readChar$0();
90525 components.push(B.Combinator_uzg0);
90526 break;
90527 case 62:
90528 t1.readChar$0();
90529 components.push(B.Combinator_sgq0);
90530 break;
90531 case 126:
90532 t1.readChar$0();
90533 components.push(B.Combinator_CzM0);
90534 break;
90535 case 91:
90536 case 46:
90537 case 35:
90538 case 37:
90539 case 58:
90540 case 38:
90541 case 42:
90542 case 124:
90543 components.push(_this._selector$_compoundSelector$0());
90544 if (t1.peekChar$0() === 38)
90545 t1.error$1(0, _s58_);
90546 break;
90547 default:
90548 if (next == null || !_this.lookingAtIdentifier$0())
90549 break $label0$1;
90550 components.push(_this._selector$_compoundSelector$0());
90551 if (t1.peekChar$0() === 38)
90552 t1.error$1(0, _s58_);
90553 break;
90554 }
90555 }
90556 if (components.length === 0)
90557 t1.error$1(0, "expected selector.");
90558 return A.ComplexSelector$0(components, lineBreak);
90559 },
90560 _selector$_complexSelector$0() {
90561 return this._selector$_complexSelector$1$lineBreak(false);
90562 },
90563 _selector$_compoundSelector$0() {
90564 var t2,
90565 components = A._setArrayType([this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2),
90566 t1 = this.scanner;
90567 while (true) {
90568 t2 = t1.peekChar$0();
90569 if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
90570 break;
90571 components.push(this._selector$_simpleSelector$1$allowParent(false));
90572 }
90573 return A.CompoundSelector$0(components);
90574 },
90575 _selector$_simpleSelector$1$allowParent(allowParent) {
90576 var $name, text, t2, suffix, _this = this,
90577 t1 = _this.scanner,
90578 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
90579 if (allowParent == null)
90580 allowParent = _this._selector$_allowParent;
90581 switch (t1.peekChar$0()) {
90582 case 91:
90583 return _this._selector$_attributeSelector$0();
90584 case 46:
90585 t1.expectChar$1(46);
90586 return new A.ClassSelector0(_this.identifier$0());
90587 case 35:
90588 t1.expectChar$1(35);
90589 return new A.IDSelector0(_this.identifier$0());
90590 case 37:
90591 t1.expectChar$1(37);
90592 $name = _this.identifier$0();
90593 if (!_this._selector$_allowPlaceholder)
90594 _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
90595 return new A.PlaceholderSelector0($name);
90596 case 58:
90597 return _this._selector$_pseudoSelector$0();
90598 case 38:
90599 t1.expectChar$1(38);
90600 if (_this.lookingAtIdentifierBody$0()) {
90601 text = new A.StringBuffer("");
90602 _this._parser0$_identifierBody$1(text);
90603 if (text._contents.length === 0)
90604 t1.error$1(0, "Expected identifier body.");
90605 t2 = text._contents;
90606 suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
90607 } else
90608 suffix = null;
90609 if (!allowParent)
90610 _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
90611 return new A.ParentSelector0(suffix);
90612 default:
90613 return _this._selector$_typeOrUniversalSelector$0();
90614 }
90615 },
90616 _selector$_simpleSelector$0() {
90617 return this._selector$_simpleSelector$1$allowParent(null);
90618 },
90619 _selector$_attributeSelector$0() {
90620 var $name, operator, next, value, modifier, _this = this, _null = null,
90621 t1 = _this.scanner;
90622 t1.expectChar$1(91);
90623 _this.whitespace$0();
90624 $name = _this._selector$_attributeName$0();
90625 _this.whitespace$0();
90626 if (t1.scanChar$1(93))
90627 return new A.AttributeSelector0($name, _null, _null, _null);
90628 operator = _this._selector$_attributeOperator$0();
90629 _this.whitespace$0();
90630 next = t1.peekChar$0();
90631 value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
90632 _this.whitespace$0();
90633 next = t1.peekChar$0();
90634 modifier = next != null && A.isAlphabetic1(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
90635 t1.expectChar$1(93);
90636 return new A.AttributeSelector0($name, operator, value, modifier);
90637 },
90638 _selector$_attributeName$0() {
90639 var nameOrNamespace, _this = this,
90640 t1 = _this.scanner;
90641 if (t1.scanChar$1(42)) {
90642 t1.expectChar$1(124);
90643 return new A.QualifiedName0(_this.identifier$0(), "*");
90644 }
90645 if (t1.scanChar$1(124))
90646 return new A.QualifiedName0(_this.identifier$0(), "");
90647 nameOrNamespace = _this.identifier$0();
90648 if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
90649 return new A.QualifiedName0(nameOrNamespace, null);
90650 t1.readChar$0();
90651 return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
90652 },
90653 _selector$_attributeOperator$0() {
90654 var t1 = this.scanner,
90655 t2 = t1._string_scanner$_position;
90656 switch (t1.readChar$0()) {
90657 case 61:
90658 return B.AttributeOperator_sEs0;
90659 case 126:
90660 t1.expectChar$1(61);
90661 return B.AttributeOperator_fz10;
90662 case 124:
90663 t1.expectChar$1(61);
90664 return B.AttributeOperator_AuK0;
90665 case 94:
90666 t1.expectChar$1(61);
90667 return B.AttributeOperator_4L50;
90668 case 36:
90669 t1.expectChar$1(61);
90670 return B.AttributeOperator_mOX0;
90671 case 42:
90672 t1.expectChar$1(61);
90673 return B.AttributeOperator_gqZ0;
90674 default:
90675 t1.error$2$position(0, 'Expected "]".', t2);
90676 }
90677 },
90678 _selector$_pseudoSelector$0() {
90679 var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
90680 t1 = _this.scanner;
90681 t1.expectChar$1(58);
90682 element = t1.scanChar$1(58);
90683 $name = _this.identifier$0();
90684 if (!t1.scanChar$1(40))
90685 return A.PseudoSelector$0($name, _null, element, _null);
90686 _this.whitespace$0();
90687 unvendored = A.unvendor0($name);
90688 if (element)
90689 if ($._selectorPseudoElements0.contains$1(0, unvendored)) {
90690 selector = _this._selector$_selectorList$0();
90691 argument = _null;
90692 } else {
90693 argument = _this.declarationValue$1$allowEmpty(true);
90694 selector = _null;
90695 }
90696 else if ($._selectorPseudoClasses0.contains$1(0, unvendored)) {
90697 selector = _this._selector$_selectorList$0();
90698 argument = _null;
90699 } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
90700 argument = _this._selector$_aNPlusB$0();
90701 _this.whitespace$0();
90702 t2 = t1.peekChar$1(-1);
90703 if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
90704 _this.expectIdentifier$1("of");
90705 argument += " of";
90706 _this.whitespace$0();
90707 selector = _this._selector$_selectorList$0();
90708 } else
90709 selector = _null;
90710 } else {
90711 argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
90712 selector = _null;
90713 }
90714 t1.expectChar$1(41);
90715 return A.PseudoSelector$0($name, argument, element, selector);
90716 },
90717 _selector$_aNPlusB$0() {
90718 var t2, first, t3, next, last, _this = this,
90719 t1 = _this.scanner;
90720 switch (t1.peekChar$0()) {
90721 case 101:
90722 case 69:
90723 _this.expectIdentifier$1("even");
90724 return "even";
90725 case 111:
90726 case 79:
90727 _this.expectIdentifier$1("odd");
90728 return "odd";
90729 case 43:
90730 case 45:
90731 t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
90732 break;
90733 default:
90734 t2 = "";
90735 }
90736 first = t1.peekChar$0();
90737 if (first != null && A.isDigit0(first)) {
90738 while (true) {
90739 t3 = t1.peekChar$0();
90740 if (!(t3 != null && t3 >= 48 && t3 <= 57))
90741 break;
90742 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
90743 }
90744 _this.whitespace$0();
90745 if (!_this.scanIdentChar$1(110))
90746 return t2.charCodeAt(0) == 0 ? t2 : t2;
90747 } else
90748 _this.expectIdentChar$1(110);
90749 t2 += A.Primitives_stringFromCharCode(110);
90750 _this.whitespace$0();
90751 next = t1.peekChar$0();
90752 if (next !== 43 && next !== 45)
90753 return t2.charCodeAt(0) == 0 ? t2 : t2;
90754 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
90755 _this.whitespace$0();
90756 last = t1.peekChar$0();
90757 if (last == null || !A.isDigit0(last))
90758 t1.error$1(0, "Expected a number.");
90759 while (true) {
90760 t3 = t1.peekChar$0();
90761 if (!(t3 != null && t3 >= 48 && t3 <= 57))
90762 break;
90763 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
90764 }
90765 return t2.charCodeAt(0) == 0 ? t2 : t2;
90766 },
90767 _selector$_typeOrUniversalSelector$0() {
90768 var nameOrNamespace, _this = this,
90769 t1 = _this.scanner,
90770 first = t1.peekChar$0();
90771 if (first === 42) {
90772 t1.readChar$0();
90773 if (!t1.scanChar$1(124))
90774 return new A.UniversalSelector0(null);
90775 if (t1.scanChar$1(42))
90776 return new A.UniversalSelector0("*");
90777 else
90778 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), "*"));
90779 } else if (first === 124) {
90780 t1.readChar$0();
90781 if (t1.scanChar$1(42))
90782 return new A.UniversalSelector0("");
90783 else
90784 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), ""));
90785 }
90786 nameOrNamespace = _this.identifier$0();
90787 if (!t1.scanChar$1(124))
90788 return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null));
90789 else if (t1.scanChar$1(42))
90790 return new A.UniversalSelector0(nameOrNamespace);
90791 else
90792 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace));
90793 }
90794 };
90795 A.SelectorParser_parse_closure0.prototype = {
90796 call$0() {
90797 var t1 = this.$this,
90798 selector = t1._selector$_selectorList$0();
90799 t1 = t1.scanner;
90800 if (t1._string_scanner$_position !== t1.string.length)
90801 t1.error$1(0, "expected selector.");
90802 return selector;
90803 },
90804 $signature: 45
90805 };
90806 A.SelectorParser_parseCompoundSelector_closure0.prototype = {
90807 call$0() {
90808 var t1 = this.$this,
90809 compound = t1._selector$_compoundSelector$0();
90810 t1 = t1.scanner;
90811 if (t1._string_scanner$_position !== t1.string.length)
90812 t1.error$1(0, "expected selector.");
90813 return compound;
90814 },
90815 $signature: 524
90816 };
90817 A.serialize_closure0.prototype = {
90818 call$1(codeUnit) {
90819 return codeUnit > 127;
90820 },
90821 $signature: 58
90822 };
90823 A._SerializeVisitor0.prototype = {
90824 visitCssStylesheet$1(node) {
90825 var t1, t2, t3, t4, t5, previous, i, child, _this = this;
90826 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) {
90827 child = J.$index$asx(node.get$children(node), i);
90828 if (_this._serialize0$_isInvisible$1(child))
90829 continue;
90830 if (previous != null) {
90831 if (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous))
90832 t4.writeCharCode$1(59);
90833 if (t1)
90834 t4.write$1(0, t5);
90835 if (previous.get$isGroupEnd())
90836 if (t1)
90837 t4.write$1(0, t5);
90838 }
90839 child.accept$1(_this);
90840 previous = child;
90841 }
90842 if (previous != null)
90843 t1 = (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous)) && t1;
90844 else
90845 t1 = false;
90846 if (t1)
90847 t4.writeCharCode$1(59);
90848 },
90849 visitCssComment$1(node) {
90850 this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
90851 },
90852 visitCssAtRule$1(node) {
90853 var t1, _this = this;
90854 _this._serialize0$_writeIndentation$0();
90855 t1 = _this._serialize0$_buffer;
90856 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
90857 if (!node.isChildless) {
90858 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90859 t1.writeCharCode$1(32);
90860 _this._serialize0$_visitChildren$1(node.children);
90861 }
90862 },
90863 visitCssMediaRule$1(node) {
90864 var t1, _this = this;
90865 _this._serialize0$_writeIndentation$0();
90866 t1 = _this._serialize0$_buffer;
90867 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
90868 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90869 t1.writeCharCode$1(32);
90870 _this._serialize0$_visitChildren$1(node.children);
90871 },
90872 visitCssImport$1(node) {
90873 this._serialize0$_writeIndentation$0();
90874 this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
90875 },
90876 _serialize0$_writeImportUrl$1(url) {
90877 var urlContents, maybeQuote, _this = this;
90878 if (_this._serialize0$_style !== B.OutputStyle_compressed0 || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
90879 _this._serialize0$_buffer.write$1(0, url);
90880 return;
90881 }
90882 urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
90883 maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
90884 if (maybeQuote === 39 || maybeQuote === 34)
90885 _this._serialize0$_buffer.write$1(0, urlContents);
90886 else
90887 _this._serialize0$_visitQuotedString$1(urlContents);
90888 },
90889 visitCssKeyframeBlock$1(node) {
90890 var t1, _this = this;
90891 _this._serialize0$_writeIndentation$0();
90892 t1 = _this._serialize0$_buffer;
90893 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
90894 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90895 t1.writeCharCode$1(32);
90896 _this._serialize0$_visitChildren$1(node.children);
90897 },
90898 _serialize0$_visitMediaQuery$1(query) {
90899 var t2, t3, _this = this,
90900 t1 = query.modifier;
90901 if (t1 != null) {
90902 t2 = _this._serialize0$_buffer;
90903 t2.write$1(0, t1);
90904 t2.writeCharCode$1(32);
90905 }
90906 t1 = query.type;
90907 if (t1 != null) {
90908 t2 = _this._serialize0$_buffer;
90909 t2.write$1(0, t1);
90910 if (query.features.length !== 0)
90911 t2.write$1(0, " and ");
90912 }
90913 t1 = query.features;
90914 t2 = _this._serialize0$_style === B.OutputStyle_compressed0 ? "and " : " and ";
90915 t3 = _this._serialize0$_buffer;
90916 _this._serialize0$_writeBetween$3(t1, t2, t3.get$write(t3));
90917 },
90918 visitCssStyleRule$1(node) {
90919 var t1, _this = this;
90920 _this._serialize0$_writeIndentation$0();
90921 t1 = _this._serialize0$_buffer;
90922 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
90923 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90924 t1.writeCharCode$1(32);
90925 _this._serialize0$_visitChildren$1(node.children);
90926 },
90927 visitCssSupportsRule$1(node) {
90928 var t1, _this = this;
90929 _this._serialize0$_writeIndentation$0();
90930 t1 = _this._serialize0$_buffer;
90931 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
90932 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90933 t1.writeCharCode$1(32);
90934 _this._serialize0$_visitChildren$1(node.children);
90935 },
90936 visitCssDeclaration$1(node) {
90937 var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
90938 _this._serialize0$_writeIndentation$0();
90939 t1 = node.name;
90940 _this._serialize0$_write$1(t1);
90941 t2 = _this._serialize0$_buffer;
90942 t2.writeCharCode$1(58);
90943 if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
90944 t1 = node.value;
90945 t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
90946 } else {
90947 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90948 t2.writeCharCode$1(32);
90949 try {
90950 t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
90951 } catch (exception) {
90952 t1 = A.unwrapException(exception);
90953 if (t1 instanceof A.MultiSpanSassScriptException0) {
90954 error = t1;
90955 stackTrace = A.getTraceFromException(exception);
90956 t1 = error.message;
90957 t2 = node.value;
90958 t2 = t2.get$span(t2);
90959 A.throwWithTrace0(new A.MultiSpanSassException0(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
90960 } else if (t1 instanceof A.SassScriptException0) {
90961 error0 = t1;
90962 stackTrace0 = A.getTraceFromException(exception);
90963 t1 = node.value;
90964 A.throwWithTrace0(new A.SassException0(error0.message, t1.get$span(t1)), stackTrace0);
90965 } else
90966 throw exception;
90967 }
90968 }
90969 },
90970 _serialize0$_writeFoldedValue$1(node) {
90971 var t2, next, t3,
90972 t1 = node.value,
90973 scanner = A.StringScanner$(type$.SassString_2._as(t1.get$value(t1))._string0$_text, null, null);
90974 for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
90975 next = scanner.readChar$0();
90976 if (next !== 10) {
90977 t2.writeCharCode$1(next);
90978 continue;
90979 }
90980 t2.writeCharCode$1(32);
90981 while (true) {
90982 t3 = scanner.peekChar$0();
90983 if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
90984 break;
90985 scanner.readChar$0();
90986 }
90987 }
90988 },
90989 _serialize0$_writeReindentedValue$1(node) {
90990 var _this = this,
90991 t1 = node.value,
90992 value = type$.SassString_2._as(t1.get$value(t1))._string0$_text,
90993 minimumIndentation = _this._serialize0$_minimumIndentation$1(value);
90994 if (minimumIndentation == null) {
90995 _this._serialize0$_buffer.write$1(0, value);
90996 return;
90997 } else if (minimumIndentation === -1) {
90998 t1 = _this._serialize0$_buffer;
90999 t1.write$1(0, A.trimAsciiRight0(value, true));
91000 t1.writeCharCode$1(32);
91001 return;
91002 }
91003 t1 = node.name;
91004 t1 = t1.get$span(t1);
91005 t1 = A.FileLocation$_(t1.file, t1._file$_start);
91006 _this._serialize0$_writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
91007 },
91008 _serialize0$_minimumIndentation$1(text) {
91009 var character, t2, min, next, min0,
91010 scanner = A.LineScanner$(text),
91011 t1 = scanner.string.length;
91012 while (true) {
91013 if (scanner._string_scanner$_position !== t1) {
91014 character = scanner.super$StringScanner$readChar();
91015 scanner._adjustLineAndColumn$1(character);
91016 t2 = character !== 10;
91017 } else
91018 t2 = false;
91019 if (!t2)
91020 break;
91021 }
91022 if (scanner._string_scanner$_position === t1)
91023 return scanner.peekChar$1(-1) === 10 ? -1 : null;
91024 for (min = null; scanner._string_scanner$_position !== t1;) {
91025 for (; scanner._string_scanner$_position !== t1;) {
91026 next = scanner.peekChar$0();
91027 if (next !== 32 && next !== 9)
91028 break;
91029 scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
91030 }
91031 if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
91032 continue;
91033 min0 = scanner._line_scanner$_column;
91034 min = min == null ? min0 : Math.min(min, min0);
91035 while (true) {
91036 if (scanner._string_scanner$_position !== t1) {
91037 character = scanner.super$StringScanner$readChar();
91038 scanner._adjustLineAndColumn$1(character);
91039 t2 = character !== 10;
91040 } else
91041 t2 = false;
91042 if (!t2)
91043 break;
91044 }
91045 }
91046 return min == null ? -1 : min;
91047 },
91048 _serialize0$_writeWithIndent$2(text, minimumIndentation) {
91049 var t1, t2, t3, character, lineStart, newlines, end,
91050 scanner = A.LineScanner$(text);
91051 for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
91052 character = scanner.super$StringScanner$readChar();
91053 scanner._adjustLineAndColumn$1(character);
91054 if (character === 10)
91055 break;
91056 t3.writeCharCode$1(character);
91057 }
91058 for (; true;) {
91059 lineStart = scanner._string_scanner$_position;
91060 for (newlines = 1; true;) {
91061 if (scanner._string_scanner$_position === t2) {
91062 t3.writeCharCode$1(32);
91063 return;
91064 }
91065 character = scanner.super$StringScanner$readChar();
91066 scanner._adjustLineAndColumn$1(character);
91067 if (character === 32 || character === 9)
91068 continue;
91069 if (character !== 10)
91070 break;
91071 lineStart = scanner._string_scanner$_position;
91072 ++newlines;
91073 }
91074 this._serialize0$_writeTimes$2(10, newlines);
91075 this._serialize0$_writeIndentation$0();
91076 end = scanner._string_scanner$_position;
91077 t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
91078 for (; true;) {
91079 if (scanner._string_scanner$_position === t2)
91080 return;
91081 character = scanner.super$StringScanner$readChar();
91082 scanner._adjustLineAndColumn$1(character);
91083 if (character === 10)
91084 break;
91085 t3.writeCharCode$1(character);
91086 }
91087 }
91088 },
91089 _serialize0$_writeCalculationValue$1(value) {
91090 var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
91091 if (value instanceof A.Value0)
91092 value.accept$1(_this);
91093 else if (value instanceof A.CalculationInterpolation0)
91094 _this._serialize0$_buffer.write$1(0, value.value);
91095 else if (value instanceof A.CalculationOperation0) {
91096 left = value.left;
91097 if (!(left instanceof A.CalculationInterpolation0))
91098 parenthesizeLeft = left instanceof A.CalculationOperation0 && left.operator.precedence < value.operator.precedence;
91099 else
91100 parenthesizeLeft = true;
91101 if (parenthesizeLeft)
91102 _this._serialize0$_buffer.writeCharCode$1(40);
91103 _this._serialize0$_writeCalculationValue$1(left);
91104 if (parenthesizeLeft)
91105 _this._serialize0$_buffer.writeCharCode$1(41);
91106 operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_compressed0 || value.operator.precedence === 1;
91107 if (operatorWhitespace)
91108 _this._serialize0$_buffer.writeCharCode$1(32);
91109 t1 = _this._serialize0$_buffer;
91110 t2 = value.operator;
91111 t1.write$1(0, t2.operator);
91112 if (operatorWhitespace)
91113 t1.writeCharCode$1(32);
91114 right = value.right;
91115 if (!(right instanceof A.CalculationInterpolation0))
91116 parenthesizeRight = right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(t2, right.operator);
91117 else
91118 parenthesizeRight = true;
91119 if (parenthesizeRight)
91120 t1.writeCharCode$1(40);
91121 _this._serialize0$_writeCalculationValue$1(right);
91122 if (parenthesizeRight)
91123 t1.writeCharCode$1(41);
91124 }
91125 },
91126 _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
91127 if (outer === B.CalculationOperator_jB60)
91128 return true;
91129 if (outer === B.CalculationOperator_Iem0)
91130 return false;
91131 return right === B.CalculationOperator_Iem0 || right === B.CalculationOperator_uti0;
91132 },
91133 _serialize0$_writeRgb$1(value) {
91134 var t3,
91135 t1 = value._color1$_alpha,
91136 opaque = Math.abs(t1 - 1) < $.$get$epsilon0(),
91137 t2 = this._serialize0$_buffer;
91138 t2.write$1(0, opaque ? "rgb(" : "rgba(");
91139 t2.write$1(0, value.get$red(value));
91140 t3 = this._serialize0$_style === B.OutputStyle_compressed0;
91141 t2.write$1(0, t3 ? "," : ", ");
91142 t2.write$1(0, value.get$green(value));
91143 t2.write$1(0, t3 ? "," : ", ");
91144 t2.write$1(0, value.get$blue(value));
91145 if (!opaque) {
91146 t2.write$1(0, t3 ? "," : ", ");
91147 this._serialize0$_writeNumber$1(t1);
91148 }
91149 t2.writeCharCode$1(41);
91150 },
91151 _serialize0$_canUseShortHex$1(color) {
91152 var t1 = color.get$red(color);
91153 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
91154 t1 = color.get$green(color);
91155 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
91156 t1 = color.get$blue(color);
91157 t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
91158 } else
91159 t1 = false;
91160 } else
91161 t1 = false;
91162 return t1;
91163 },
91164 _serialize0$_writeHexComponent$1(color) {
91165 var t1 = this._serialize0$_buffer;
91166 t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
91167 t1.writeCharCode$1(A.hexCharFor0(color & 15));
91168 },
91169 visitList$1(value) {
91170 var t2, t3, singleton, t4, t5, _this = this,
91171 t1 = value._list1$_hasBrackets;
91172 if (t1)
91173 _this._serialize0$_buffer.writeCharCode$1(91);
91174 else if (value._list1$_contents.length === 0) {
91175 if (!_this._serialize0$_inspect)
91176 throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value."));
91177 _this._serialize0$_buffer.write$1(0, "()");
91178 return;
91179 }
91180 t2 = _this._serialize0$_inspect;
91181 if (t2)
91182 if (value._list1$_contents.length === 1) {
91183 t3 = value._list1$_separator;
91184 t3 = t3 === B.ListSeparator_kWM0 || t3 === B.ListSeparator_1gm0;
91185 singleton = t3;
91186 } else
91187 singleton = false;
91188 else
91189 singleton = false;
91190 if (singleton && !t1)
91191 _this._serialize0$_buffer.writeCharCode$1(40);
91192 t3 = value._list1$_contents;
91193 t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
91194 t4 = value._list1$_separator;
91195 t5 = _this._serialize0$_separatorString$1(t4);
91196 _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
91197 if (singleton) {
91198 t2 = _this._serialize0$_buffer;
91199 t2.write$1(0, t4.separator);
91200 if (!t1)
91201 t2.writeCharCode$1(41);
91202 }
91203 if (t1)
91204 _this._serialize0$_buffer.writeCharCode$1(93);
91205 },
91206 _serialize0$_separatorString$1(separator) {
91207 switch (separator) {
91208 case B.ListSeparator_kWM0:
91209 return this._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ";
91210 case B.ListSeparator_1gm0:
91211 return this._serialize0$_style === B.OutputStyle_compressed0 ? "/" : " / ";
91212 case B.ListSeparator_woc0:
91213 return " ";
91214 default:
91215 return "";
91216 }
91217 },
91218 _serialize0$_elementNeedsParens$2(separator, value) {
91219 var t1;
91220 if (value instanceof A.SassList0) {
91221 if (value._list1$_contents.length < 2)
91222 return false;
91223 if (value._list1$_hasBrackets)
91224 return false;
91225 switch (separator) {
91226 case B.ListSeparator_kWM0:
91227 return value._list1$_separator === B.ListSeparator_kWM0;
91228 case B.ListSeparator_1gm0:
91229 t1 = value._list1$_separator;
91230 return t1 === B.ListSeparator_kWM0 || t1 === B.ListSeparator_1gm0;
91231 default:
91232 return value._list1$_separator !== B.ListSeparator_undecided_null0;
91233 }
91234 }
91235 return false;
91236 },
91237 visitMap$1(map) {
91238 var t1, t2, _this = this;
91239 if (!_this._serialize0$_inspect)
91240 throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value."));
91241 t1 = _this._serialize0$_buffer;
91242 t1.writeCharCode$1(40);
91243 t2 = map._map0$_contents;
91244 _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
91245 t1.writeCharCode$1(41);
91246 },
91247 _serialize0$_writeMapElement$1(value) {
91248 var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_kWM0 && !value._list1$_hasBrackets;
91249 if (needsParens)
91250 this._serialize0$_buffer.writeCharCode$1(40);
91251 value.accept$1(this);
91252 if (needsParens)
91253 this._serialize0$_buffer.writeCharCode$1(41);
91254 },
91255 visitNumber$1(value) {
91256 var _this = this,
91257 asSlash = value.asSlash;
91258 if (asSlash != null) {
91259 _this.visitNumber$1(asSlash.item1);
91260 _this._serialize0$_buffer.writeCharCode$1(47);
91261 _this.visitNumber$1(asSlash.item2);
91262 return;
91263 }
91264 _this._serialize0$_writeNumber$1(value._number1$_value);
91265 if (!_this._serialize0$_inspect) {
91266 if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
91267 throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value."));
91268 if (value.get$numeratorUnits(value).length !== 0)
91269 _this._serialize0$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
91270 } else
91271 _this._serialize0$_buffer.write$1(0, value.get$unitString());
91272 },
91273 _serialize0$_writeNumber$1(number) {
91274 var text, _this = this,
91275 integer = A.fuzzyIsInt0(number) ? B.JSNumber_methods.round$0(number) : null;
91276 if (integer != null) {
91277 _this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(integer)));
91278 return;
91279 }
91280 text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
91281 if (text.length < 12) {
91282 if (_this._serialize0$_style === B.OutputStyle_compressed0 && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
91283 text = B.JSString_methods.substring$1(text, 1);
91284 _this._serialize0$_buffer.write$1(0, text);
91285 return;
91286 }
91287 _this._serialize0$_writeRounded$1(text);
91288 },
91289 _serialize0$_removeExponent$1(text) {
91290 var buffer, t3, additionalZeroes,
91291 t1 = B.JSString_methods._codeUnitAt$1(text, 0),
91292 negative = t1 === 45,
91293 exponent = A._Cell$(),
91294 t2 = text.length,
91295 i = 0;
91296 while (true) {
91297 if (!(i < t2)) {
91298 buffer = null;
91299 break;
91300 }
91301 c$0: {
91302 if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
91303 break c$0;
91304 buffer = new A.StringBuffer("");
91305 t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
91306 if (negative) {
91307 t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
91308 buffer._contents = t1;
91309 if (i > 3)
91310 buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
91311 } else if (i > 2)
91312 buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
91313 exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
91314 break;
91315 }
91316 ++i;
91317 }
91318 if (buffer == null)
91319 return text;
91320 if (exponent._readLocal$0() > 0) {
91321 t1 = exponent._readLocal$0();
91322 t2 = buffer._contents;
91323 t3 = negative ? 1 : 0;
91324 additionalZeroes = t1 - (t2.length - 1 - t3);
91325 for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
91326 t1 += A.Primitives_stringFromCharCode(48);
91327 buffer._contents = t1;
91328 }
91329 return t1.charCodeAt(0) == 0 ? t1 : t1;
91330 } else {
91331 t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
91332 t2 = exponent.__late_helper$_name;
91333 i = -1;
91334 while (true) {
91335 t3 = exponent._value;
91336 if (t3 === exponent)
91337 A.throwExpression(A.LateError$localNI(t2));
91338 if (!(i > t3))
91339 break;
91340 t1 += A.Primitives_stringFromCharCode(48);
91341 --i;
91342 }
91343 if (negative) {
91344 t2 = buffer._contents;
91345 t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
91346 } else
91347 t2 = buffer;
91348 t2 = t1 + A.S(t2);
91349 return t2.charCodeAt(0) == 0 ? t2 : t2;
91350 }
91351 },
91352 _serialize0$_writeRounded$1(text) {
91353 var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
91354 if (B.JSString_methods.endsWith$1(text, ".0")) {
91355 _this._serialize0$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
91356 return;
91357 }
91358 t1 = text.length;
91359 digits = new Uint8Array(t1 + 1);
91360 negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
91361 textIndex = negative ? 1 : 0;
91362 for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
91363 if (textIndex === t1) {
91364 _this._serialize0$_buffer.write$1(0, text);
91365 return;
91366 }
91367 textIndex0 = textIndex + 1;
91368 codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
91369 if (codeUnit === 46) {
91370 textIndex = textIndex0;
91371 break;
91372 }
91373 digitsIndex0 = digitsIndex + 1;
91374 digits[digitsIndex] = codeUnit - 48;
91375 }
91376 indexAfterPrecision = textIndex + 10;
91377 if (indexAfterPrecision >= t1) {
91378 _this._serialize0$_buffer.write$1(0, text);
91379 return;
91380 }
91381 for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
91382 digitsIndex1 = digitsIndex0 + 1;
91383 textIndex0 = textIndex + 1;
91384 digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
91385 }
91386 if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
91387 for (; true; digitsIndex0 = digitsIndex1) {
91388 digitsIndex1 = digitsIndex0 - 1;
91389 newDigit = digits[digitsIndex1] + 1;
91390 digits[digitsIndex1] = newDigit;
91391 if (newDigit !== 10)
91392 break;
91393 }
91394 for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
91395 digits[digitsIndex0] = 0;
91396 while (true) {
91397 t1 = digitsIndex0 > digitsIndex;
91398 if (!(t1 && digits[digitsIndex0 - 1] === 0))
91399 break;
91400 --digitsIndex0;
91401 }
91402 if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
91403 _this._serialize0$_buffer.writeCharCode$1(48);
91404 return;
91405 }
91406 if (negative)
91407 _this._serialize0$_buffer.writeCharCode$1(45);
91408 if (digits[0] === 0)
91409 writtenIndex = _this._serialize0$_style === B.OutputStyle_compressed0 && digits[1] === 0 ? 2 : 1;
91410 else
91411 writtenIndex = 0;
91412 for (t2 = _this._serialize0$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
91413 t2.writeCharCode$1(48 + digits[writtenIndex]);
91414 if (t1) {
91415 t2.writeCharCode$1(46);
91416 for (; writtenIndex < digitsIndex0; ++writtenIndex)
91417 t2.writeCharCode$1(48 + digits[writtenIndex]);
91418 }
91419 },
91420 _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
91421 var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
91422 buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
91423 if (forceDoubleQuote)
91424 buffer.writeCharCode$1(34);
91425 for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
91426 char = B.JSString_methods._codeUnitAt$1(string, i);
91427 switch (char) {
91428 case 39:
91429 if (forceDoubleQuote)
91430 buffer.writeCharCode$1(39);
91431 else {
91432 if (includesDoubleQuote) {
91433 _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
91434 return;
91435 } else
91436 buffer.writeCharCode$1(39);
91437 includesSingleQuote = true;
91438 }
91439 break;
91440 case 34:
91441 if (forceDoubleQuote) {
91442 buffer.writeCharCode$1(92);
91443 buffer.writeCharCode$1(34);
91444 } else {
91445 if (includesSingleQuote) {
91446 _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
91447 return;
91448 } else
91449 buffer.writeCharCode$1(34);
91450 includesDoubleQuote = true;
91451 }
91452 break;
91453 case 0:
91454 case 1:
91455 case 2:
91456 case 3:
91457 case 4:
91458 case 5:
91459 case 6:
91460 case 7:
91461 case 8:
91462 case 10:
91463 case 11:
91464 case 12:
91465 case 13:
91466 case 14:
91467 case 15:
91468 case 16:
91469 case 17:
91470 case 18:
91471 case 19:
91472 case 20:
91473 case 21:
91474 case 22:
91475 case 23:
91476 case 24:
91477 case 25:
91478 case 26:
91479 case 27:
91480 case 28:
91481 case 29:
91482 case 30:
91483 case 31:
91484 _this._serialize0$_writeEscape$4(buffer, char, string, i);
91485 break;
91486 case 92:
91487 buffer.writeCharCode$1(92);
91488 buffer.writeCharCode$1(92);
91489 break;
91490 default:
91491 newIndex = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
91492 if (newIndex != null) {
91493 i = newIndex;
91494 break;
91495 }
91496 buffer.writeCharCode$1(char);
91497 break;
91498 }
91499 }
91500 if (forceDoubleQuote)
91501 buffer.writeCharCode$1(34);
91502 else {
91503 quote = includesDoubleQuote ? 39 : 34;
91504 t1 = _this._serialize0$_buffer;
91505 t1.writeCharCode$1(quote);
91506 t1.write$1(0, buffer);
91507 t1.writeCharCode$1(quote);
91508 }
91509 },
91510 _serialize0$_visitQuotedString$1(string) {
91511 return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
91512 },
91513 _serialize0$_visitUnquotedString$1(string) {
91514 var t1, t2, afterNewline, i, char, newIndex;
91515 for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
91516 char = B.JSString_methods._codeUnitAt$1(string, i);
91517 switch (char) {
91518 case 10:
91519 t2.writeCharCode$1(32);
91520 afterNewline = true;
91521 break;
91522 case 32:
91523 if (!afterNewline)
91524 t2.writeCharCode$1(32);
91525 break;
91526 default:
91527 newIndex = this._serialize0$_tryPrivateUseCharacter$4(t2, char, string, i);
91528 if (newIndex != null) {
91529 i = newIndex;
91530 afterNewline = false;
91531 break;
91532 }
91533 t2.writeCharCode$1(char);
91534 afterNewline = false;
91535 break;
91536 }
91537 }
91538 },
91539 _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
91540 var t1;
91541 if (this._serialize0$_style === B.OutputStyle_compressed0)
91542 return null;
91543 if (codeUnit >= 57344 && codeUnit <= 63743) {
91544 this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
91545 return i;
91546 }
91547 if (codeUnit >>> 7 === 439 && string.length > i + 1) {
91548 t1 = i + 1;
91549 this._serialize0$_writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
91550 return t1;
91551 }
91552 return null;
91553 },
91554 _serialize0$_writeEscape$4(buffer, character, string, i) {
91555 var t1, next;
91556 buffer.writeCharCode$1(92);
91557 buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
91558 t1 = i + 1;
91559 if (string.length === t1)
91560 return;
91561 next = B.JSString_methods._codeUnitAt$1(string, t1);
91562 if (A.isHex0(next) || next === 32 || next === 9)
91563 buffer.writeCharCode$1(32);
91564 },
91565 visitComplexSelector$1(complex) {
91566 var t1, t2, t3, t4, lastComponent, _i, component, t5;
91567 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) {
91568 component = t1[_i];
91569 if (lastComponent != null)
91570 if (!(t4 && lastComponent instanceof A.Combinator0))
91571 t5 = !(t4 && component instanceof A.Combinator0);
91572 else
91573 t5 = false;
91574 else
91575 t5 = false;
91576 if (t5)
91577 t3.write$1(0, " ");
91578 if (component instanceof A.CompoundSelector0)
91579 this.visitCompoundSelector$1(component);
91580 else
91581 t3.write$1(0, component);
91582 }
91583 },
91584 visitCompoundSelector$1(compound) {
91585 var t2, t3, _i,
91586 t1 = this._serialize0$_buffer,
91587 start = t1.get$length(t1);
91588 for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
91589 t2[_i].accept$1(this);
91590 if (t1.get$length(t1) === start)
91591 t1.writeCharCode$1(42);
91592 },
91593 visitSelectorList$1(list) {
91594 var t1, t2, t3, t4, first, t5, _this = this,
91595 complexes = list.components;
91596 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();) {
91597 t5 = t1.get$current(t1);
91598 if (first)
91599 first = false;
91600 else {
91601 t3.writeCharCode$1(44);
91602 if (t5.lineBreak) {
91603 if (t2)
91604 t3.write$1(0, t4);
91605 } else if (t2)
91606 t3.writeCharCode$1(32);
91607 }
91608 _this.visitComplexSelector$1(t5);
91609 }
91610 },
91611 visitPseudoSelector$1(pseudo) {
91612 var t3, t4, t5,
91613 innerSelector = pseudo.selector,
91614 t1 = innerSelector == null,
91615 t2 = !t1;
91616 if (t2 && pseudo.name === "not" && innerSelector.get$isInvisible())
91617 return;
91618 t3 = this._serialize0$_buffer;
91619 t3.writeCharCode$1(58);
91620 if (!pseudo.isSyntacticClass)
91621 t3.writeCharCode$1(58);
91622 t3.write$1(0, pseudo.name);
91623 t4 = pseudo.argument;
91624 t5 = t4 == null;
91625 if (t5 && t1)
91626 return;
91627 t3.writeCharCode$1(40);
91628 if (!t5) {
91629 t3.write$1(0, t4);
91630 if (t2)
91631 t3.writeCharCode$1(32);
91632 }
91633 if (t2)
91634 this.visitSelectorList$1(innerSelector);
91635 t3.writeCharCode$1(41);
91636 },
91637 _serialize0$_write$1(value) {
91638 return this._serialize0$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure0(this, value));
91639 },
91640 _serialize0$_visitChildren$1(children) {
91641 var _this = this, t1 = {},
91642 t2 = _this._serialize0$_buffer;
91643 t2.writeCharCode$1(123);
91644 if (children.every$1(children, _this.get$_serialize0$_isInvisible())) {
91645 t2.writeCharCode$1(125);
91646 return;
91647 }
91648 _this._serialize0$_writeLineFeed$0();
91649 t1.previous_ = null;
91650 ++_this._serialize0$_indentation;
91651 new A._SerializeVisitor__visitChildren_closure0(t1, _this, children).call$0();
91652 --_this._serialize0$_indentation;
91653 t1 = t1.previous_;
91654 t1.toString;
91655 if ((type$.CssParentNode_2._is(t1) ? t1.get$isChildless() : !type$.CssComment_2._is(t1)) && _this._serialize0$_style !== B.OutputStyle_compressed0)
91656 t2.writeCharCode$1(59);
91657 _this._serialize0$_writeLineFeed$0();
91658 _this._serialize0$_writeIndentation$0();
91659 t2.writeCharCode$1(125);
91660 },
91661 _serialize0$_writeLineFeed$0() {
91662 if (this._serialize0$_style !== B.OutputStyle_compressed0)
91663 this._serialize0$_buffer.write$1(0, this._lineFeed.text);
91664 },
91665 _serialize0$_writeIndentation$0() {
91666 var _this = this;
91667 if (_this._serialize0$_style === B.OutputStyle_compressed0)
91668 return;
91669 _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
91670 },
91671 _serialize0$_writeTimes$2(char, times) {
91672 var t1, i;
91673 for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
91674 t1.writeCharCode$1(char);
91675 },
91676 _serialize0$_writeBetween$1$3(iterable, text, callback) {
91677 var t1, t2, first, value;
91678 for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
91679 value = t1.get$current(t1);
91680 if (first)
91681 first = false;
91682 else
91683 t2.write$1(0, text);
91684 callback.call$1(value);
91685 }
91686 },
91687 _serialize0$_writeBetween$3(iterable, text, callback) {
91688 return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
91689 },
91690 _serialize0$_isInvisible$1(node) {
91691 if (this._serialize0$_inspect)
91692 return false;
91693 if (this._serialize0$_style === B.OutputStyle_compressed0 && type$.CssComment_2._is(node) && B.JSString_methods._codeUnitAt$1(node.text, 2) !== 33)
91694 return true;
91695 if (type$.CssParentNode_2._is(node)) {
91696 if (type$.CssAtRule_2._is(node))
91697 return false;
91698 if (type$.CssStyleRule_2._is(node) && node.selector.value.get$isInvisible())
91699 return true;
91700 return J.every$1$ax(node.get$children(node), this.get$_serialize0$_isInvisible());
91701 } else
91702 return false;
91703 }
91704 };
91705 A._SerializeVisitor_visitCssComment_closure0.prototype = {
91706 call$0() {
91707 var t2, t3, minimumIndentation,
91708 t1 = this.$this;
91709 if (t1._serialize0$_style === B.OutputStyle_compressed0 && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
91710 return;
91711 t2 = this.node;
91712 t3 = t2.text;
91713 minimumIndentation = t1._serialize0$_minimumIndentation$1(t3);
91714 if (minimumIndentation == null) {
91715 t1._serialize0$_writeIndentation$0();
91716 t1._serialize0$_buffer.write$1(0, t3);
91717 return;
91718 }
91719 t2 = t2.span;
91720 t2 = A.FileLocation$_(t2.file, t2._file$_start);
91721 minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
91722 t1._serialize0$_writeIndentation$0();
91723 t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
91724 },
91725 $signature: 1
91726 };
91727 A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
91728 call$0() {
91729 var t3, value,
91730 t1 = this.$this,
91731 t2 = t1._serialize0$_buffer;
91732 t2.writeCharCode$1(64);
91733 t3 = this.node;
91734 t1._serialize0$_write$1(t3.name);
91735 value = t3.value;
91736 if (value != null) {
91737 t2.writeCharCode$1(32);
91738 t1._serialize0$_write$1(value);
91739 }
91740 },
91741 $signature: 1
91742 };
91743 A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
91744 call$0() {
91745 var t3, t4,
91746 t1 = this.$this,
91747 t2 = t1._serialize0$_buffer;
91748 t2.write$1(0, "@media");
91749 t3 = t1._serialize0$_style === B.OutputStyle_compressed0;
91750 if (t3) {
91751 t4 = B.JSArray_methods.get$first(this.node.queries);
91752 t4 = !(t4.modifier == null && t4.type == null);
91753 } else
91754 t4 = true;
91755 if (t4)
91756 t2.writeCharCode$1(32);
91757 t2 = t3 ? "," : ", ";
91758 t1._serialize0$_writeBetween$3(this.node.queries, t2, t1.get$_serialize0$_visitMediaQuery());
91759 },
91760 $signature: 1
91761 };
91762 A._SerializeVisitor_visitCssImport_closure0.prototype = {
91763 call$0() {
91764 var t3, t4, t5, t6, supports, media,
91765 t1 = this.$this,
91766 t2 = t1._serialize0$_buffer;
91767 t2.write$1(0, "@import");
91768 t3 = t1._serialize0$_style === B.OutputStyle_compressed0;
91769 t4 = !t3;
91770 if (t4)
91771 t2.writeCharCode$1(32);
91772 t5 = this.node;
91773 t6 = t5.url;
91774 t2.forSpan$2(t6.get$span(t6), new A._SerializeVisitor_visitCssImport__closure0(t1, t5));
91775 supports = t5.supports;
91776 if (supports != null) {
91777 if (t4)
91778 t2.writeCharCode$1(32);
91779 t1._serialize0$_write$1(supports);
91780 }
91781 media = t5.media;
91782 if (media != null) {
91783 if (t4)
91784 t2.writeCharCode$1(32);
91785 t2 = t3 ? "," : ", ";
91786 t1._serialize0$_writeBetween$3(media, t2, t1.get$_serialize0$_visitMediaQuery());
91787 }
91788 },
91789 $signature: 1
91790 };
91791 A._SerializeVisitor_visitCssImport__closure0.prototype = {
91792 call$0() {
91793 var t1 = this.node.url;
91794 return this.$this._serialize0$_writeImportUrl$1(t1.get$value(t1));
91795 },
91796 $signature: 0
91797 };
91798 A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
91799 call$0() {
91800 var t1 = this.$this,
91801 t2 = t1._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ",
91802 t3 = t1._serialize0$_buffer;
91803 return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
91804 },
91805 $signature: 0
91806 };
91807 A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
91808 call$0() {
91809 return this.$this.visitSelectorList$1(this.node.selector.value);
91810 },
91811 $signature: 0
91812 };
91813 A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
91814 call$0() {
91815 var t1 = this.$this,
91816 t2 = t1._serialize0$_buffer;
91817 t2.write$1(0, "@supports");
91818 if (!(t1._serialize0$_style === B.OutputStyle_compressed0 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
91819 t2.writeCharCode$1(32);
91820 t1._serialize0$_write$1(this.node.condition);
91821 },
91822 $signature: 1
91823 };
91824 A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
91825 call$0() {
91826 var t1 = this.$this,
91827 t2 = this.node;
91828 if (t1._serialize0$_style === B.OutputStyle_compressed0)
91829 t1._serialize0$_writeFoldedValue$1(t2);
91830 else
91831 t1._serialize0$_writeReindentedValue$1(t2);
91832 },
91833 $signature: 1
91834 };
91835 A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
91836 call$0() {
91837 var t1 = this.node.value;
91838 return t1.get$value(t1).accept$1(this.$this);
91839 },
91840 $signature: 0
91841 };
91842 A._SerializeVisitor_visitList_closure2.prototype = {
91843 call$1(element) {
91844 return !element.get$isBlank();
91845 },
91846 $signature: 50
91847 };
91848 A._SerializeVisitor_visitList_closure3.prototype = {
91849 call$1(element) {
91850 var t1 = this.$this,
91851 needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
91852 if (needsParens)
91853 t1._serialize0$_buffer.writeCharCode$1(40);
91854 element.accept$1(t1);
91855 if (needsParens)
91856 t1._serialize0$_buffer.writeCharCode$1(41);
91857 },
91858 $signature: 54
91859 };
91860 A._SerializeVisitor_visitList_closure4.prototype = {
91861 call$1(element) {
91862 element.accept$1(this.$this);
91863 },
91864 $signature: 54
91865 };
91866 A._SerializeVisitor_visitMap_closure0.prototype = {
91867 call$1(entry) {
91868 var t1 = this.$this;
91869 t1._serialize0$_writeMapElement$1(entry.key);
91870 t1._serialize0$_buffer.write$1(0, ": ");
91871 t1._serialize0$_writeMapElement$1(entry.value);
91872 },
91873 $signature: 526
91874 };
91875 A._SerializeVisitor_visitSelectorList_closure0.prototype = {
91876 call$1(complex) {
91877 return !complex.get$isInvisible();
91878 },
91879 $signature: 17
91880 };
91881 A._SerializeVisitor__write_closure0.prototype = {
91882 call$0() {
91883 var t1 = this.value;
91884 return this.$this._serialize0$_buffer.write$1(0, t1.get$value(t1));
91885 },
91886 $signature: 0
91887 };
91888 A._SerializeVisitor__visitChildren_closure0.prototype = {
91889 call$0() {
91890 var t1, t2, t3, t4, t5, t6, t7, t8, i, child, previous, t9;
91891 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) {
91892 child = t2.elementAt$1(t1, i);
91893 if (t4._serialize0$_isInvisible$1(child))
91894 continue;
91895 previous = t3.previous_;
91896 if (previous != null) {
91897 if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
91898 t7.writeCharCode$1(59);
91899 t9 = t4._serialize0$_style !== B.OutputStyle_compressed0;
91900 if (t9)
91901 t7.write$1(0, t8);
91902 if (previous.get$isGroupEnd())
91903 if (t9)
91904 t7.write$1(0, t8);
91905 }
91906 t3.previous_ = child;
91907 child.accept$1(t4);
91908 }
91909 },
91910 $signature: 0
91911 };
91912 A.OutputStyle0.prototype = {
91913 toString$0(_) {
91914 return this._serialize0$_name;
91915 }
91916 };
91917 A.LineFeed0.prototype = {
91918 toString$0(_) {
91919 return this.name;
91920 }
91921 };
91922 A.SerializeResult0.prototype = {};
91923 A.ShadowedModuleView0.prototype = {
91924 get$url(_) {
91925 var t1 = this._shadowed_view0$_inner;
91926 return t1.get$url(t1);
91927 },
91928 get$upstream() {
91929 return this._shadowed_view0$_inner.get$upstream();
91930 },
91931 get$extensionStore() {
91932 return this._shadowed_view0$_inner.get$extensionStore();
91933 },
91934 get$css(_) {
91935 var t1 = this._shadowed_view0$_inner;
91936 return t1.get$css(t1);
91937 },
91938 get$transitivelyContainsCss() {
91939 return this._shadowed_view0$_inner.get$transitivelyContainsCss();
91940 },
91941 get$transitivelyContainsExtensions() {
91942 return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
91943 },
91944 setVariable$3($name, value, nodeWithSpan) {
91945 if (!this.variables.containsKey$1($name))
91946 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
91947 else
91948 return this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
91949 },
91950 variableIdentity$1($name) {
91951 return this._shadowed_view0$_inner.variableIdentity$1($name);
91952 },
91953 $eq(_, other) {
91954 var t1, t2, _this = this;
91955 if (other == null)
91956 return false;
91957 if (other instanceof A.ShadowedModuleView0)
91958 if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
91959 t1 = _this.variables;
91960 t1 = t1.get$keys(t1);
91961 t2 = other.variables;
91962 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
91963 t1 = _this.functions;
91964 t1 = t1.get$keys(t1);
91965 t2 = other.functions;
91966 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
91967 t1 = _this.mixins;
91968 t1 = t1.get$keys(t1);
91969 t2 = other.mixins;
91970 t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
91971 t1 = t2;
91972 } else
91973 t1 = false;
91974 } else
91975 t1 = false;
91976 } else
91977 t1 = false;
91978 else
91979 t1 = false;
91980 return t1;
91981 },
91982 get$hashCode(_) {
91983 var t1 = this._shadowed_view0$_inner;
91984 return t1.get$hashCode(t1);
91985 },
91986 cloneCss$0() {
91987 var _this = this;
91988 return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
91989 },
91990 toString$0(_) {
91991 return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
91992 },
91993 $isModule0: 1,
91994 get$variables() {
91995 return this.variables;
91996 },
91997 get$variableNodes() {
91998 return this.variableNodes;
91999 },
92000 get$functions(receiver) {
92001 return this.functions;
92002 },
92003 get$mixins() {
92004 return this.mixins;
92005 }
92006 };
92007 A.SilentComment0.prototype = {
92008 accept$1$1(visitor) {
92009 return visitor.visitSilentComment$1(this);
92010 },
92011 accept$1(visitor) {
92012 return this.accept$1$1(visitor, type$.dynamic);
92013 },
92014 toString$0(_) {
92015 return this.text;
92016 },
92017 $isAstNode0: 1,
92018 $isStatement0: 1,
92019 get$span(receiver) {
92020 return this.span;
92021 }
92022 };
92023 A.SimpleSelector0.prototype = {
92024 get$minSpecificity() {
92025 return 1000;
92026 },
92027 get$maxSpecificity() {
92028 return this.get$minSpecificity();
92029 },
92030 addSuffix$1(suffix) {
92031 return A.throwExpression(A.SassScriptException$0('Invalid parent selector "' + this.toString$0(0) + '"'));
92032 },
92033 unify$1(compound) {
92034 var other, t1, result, addedThis, _i, simple, _this = this;
92035 if (compound.length === 1) {
92036 other = B.JSArray_methods.get$first(compound);
92037 if (!(other instanceof A.UniversalSelector0))
92038 if (other instanceof A.PseudoSelector0)
92039 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
92040 else
92041 t1 = false;
92042 else
92043 t1 = true;
92044 if (t1)
92045 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
92046 }
92047 if (B.JSArray_methods.contains$1(compound, _this))
92048 return compound;
92049 result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
92050 for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
92051 simple = compound[_i];
92052 if (!addedThis && simple instanceof A.PseudoSelector0) {
92053 result.push(_this);
92054 addedThis = true;
92055 }
92056 result.push(simple);
92057 }
92058 if (!addedThis)
92059 result.push(_this);
92060 return result;
92061 }
92062 };
92063 A.SingleUnitSassNumber0.prototype = {
92064 get$numeratorUnits(_) {
92065 return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
92066 },
92067 get$denominatorUnits(_) {
92068 return B.List_empty;
92069 },
92070 get$hasUnits() {
92071 return true;
92072 },
92073 withValue$1(value) {
92074 return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
92075 },
92076 withSlash$2(numerator, denominator) {
92077 return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
92078 },
92079 hasUnit$1(unit) {
92080 return unit === this._single_unit$_unit;
92081 },
92082 hasCompatibleUnits$1(other) {
92083 return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
92084 },
92085 hasPossiblyCompatibleUnits$1(other) {
92086 var t1, knownCompatibilities, otherUnit;
92087 if (!(other instanceof A.SingleUnitSassNumber0))
92088 return false;
92089 t1 = $.$get$_knownCompatibilitiesByUnit0();
92090 knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
92091 if (knownCompatibilities == null)
92092 return true;
92093 otherUnit = other._single_unit$_unit.toLowerCase();
92094 return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
92095 },
92096 compatibleWithUnit$1(unit) {
92097 return A.conversionFactor0(this._single_unit$_unit, unit) != null;
92098 },
92099 coerceToMatch$3(other, $name, otherName) {
92100 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
92101 return t1 == null ? this.super$SassNumber$coerceToMatch(other, $name, otherName) : t1;
92102 },
92103 coerceValueToMatch$3(other, $name, otherName) {
92104 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
92105 return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
92106 },
92107 coerceValueToMatch$1(other) {
92108 return this.coerceValueToMatch$3(other, null, null);
92109 },
92110 convertToMatch$3(other, $name, otherName) {
92111 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
92112 return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
92113 },
92114 convertValueToMatch$3(other, $name, otherName) {
92115 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
92116 return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
92117 },
92118 coerce$3(newNumerators, newDenominators, $name) {
92119 var t1 = J.getInterceptor$asx(newNumerators);
92120 t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
92121 return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
92122 },
92123 coerce$2(newNumerators, newDenominators) {
92124 return this.coerce$3(newNumerators, newDenominators, null);
92125 },
92126 coerceValue$3(newNumerators, newDenominators, $name) {
92127 var t1 = J.getInterceptor$asx(newNumerators);
92128 t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
92129 return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
92130 },
92131 coerceValueToUnit$2(unit, $name) {
92132 var t1 = this._single_unit$_coerceValueToUnit$1(unit);
92133 return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
92134 },
92135 _single_unit$_coerceToUnit$1(unit) {
92136 var t1 = this._single_unit$_unit;
92137 if (t1 === unit)
92138 return this;
92139 return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
92140 },
92141 _single_unit$_coerceValueToUnit$1(unit) {
92142 return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
92143 },
92144 multiplyUnits$3(value, otherNumerators, otherDenominators) {
92145 var mutableOtherDenominators, t1 = {};
92146 t1.value = value;
92147 t1.newNumerators = otherNumerators;
92148 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
92149 A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
92150 return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
92151 },
92152 unaryMinus$0() {
92153 return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
92154 },
92155 $eq(_, other) {
92156 var factor;
92157 if (other == null)
92158 return false;
92159 if (other instanceof A.SingleUnitSassNumber0) {
92160 factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
92161 return factor != null && Math.abs(this._number1$_value * factor - other._number1$_value) < $.$get$epsilon0();
92162 } else
92163 return false;
92164 },
92165 get$hashCode(_) {
92166 var _this = this,
92167 t1 = _this.hashCache;
92168 return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
92169 }
92170 };
92171 A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
92172 call$1(factor) {
92173 return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
92174 },
92175 $signature: 527
92176 };
92177 A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
92178 call$1(factor) {
92179 return this.$this._number1$_value * factor;
92180 },
92181 $signature: 73
92182 };
92183 A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
92184 call$1(denominator) {
92185 var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
92186 if (factor == null)
92187 return false;
92188 this._box_0.value *= factor;
92189 return true;
92190 },
92191 $signature: 6
92192 };
92193 A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
92194 call$0() {
92195 var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
92196 t2 = this._box_0;
92197 B.JSArray_methods.addAll$1(t1, t2.newNumerators);
92198 t2.newNumerators = t1;
92199 },
92200 $signature: 0
92201 };
92202 A.SourceMapBuffer0.prototype = {
92203 get$_source_map_buffer0$_targetLocation() {
92204 var t1 = this._source_map_buffer0$_buffer._contents,
92205 t2 = this._source_map_buffer0$_line;
92206 return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
92207 },
92208 get$length(_) {
92209 return this._source_map_buffer0$_buffer._contents.length;
92210 },
92211 forSpan$1$2(span, callback) {
92212 var t1, _this = this,
92213 wasInSpan = _this._source_map_buffer0$_inSpan;
92214 _this._source_map_buffer0$_inSpan = true;
92215 _this._source_map_buffer0$_addEntry$2(A.FileLocation$_(span.file, span._file$_start), _this.get$_source_map_buffer0$_targetLocation());
92216 try {
92217 t1 = callback.call$0();
92218 return t1;
92219 } finally {
92220 _this._source_map_buffer0$_inSpan = wasInSpan;
92221 }
92222 },
92223 forSpan$2(span, callback) {
92224 return this.forSpan$1$2(span, callback, type$.dynamic);
92225 },
92226 _source_map_buffer0$_addEntry$2(source, target) {
92227 var entry, t2,
92228 t1 = this._source_map_buffer0$_entries;
92229 if (t1.length !== 0) {
92230 entry = B.JSArray_methods.get$last(t1);
92231 t2 = entry.source;
92232 if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
92233 return;
92234 if (entry.target.offset === target.offset)
92235 return;
92236 }
92237 t1.push(new A.Entry(source, target, null));
92238 },
92239 write$1(_, object) {
92240 var t1, i,
92241 string = J.toString$0$(object);
92242 this._source_map_buffer0$_buffer._contents += string;
92243 for (t1 = string.length, i = 0; i < t1; ++i)
92244 if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
92245 this._source_map_buffer0$_writeLine$0();
92246 else
92247 ++this._source_map_buffer0$_column;
92248 },
92249 writeCharCode$1(charCode) {
92250 this._source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
92251 if (charCode === 10)
92252 this._source_map_buffer0$_writeLine$0();
92253 else
92254 ++this._source_map_buffer0$_column;
92255 },
92256 _source_map_buffer0$_writeLine$0() {
92257 var _this = this,
92258 t1 = _this._source_map_buffer0$_entries;
92259 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)
92260 t1.pop();
92261 ++_this._source_map_buffer0$_line;
92262 _this._source_map_buffer0$_column = 0;
92263 if (_this._source_map_buffer0$_inSpan)
92264 t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
92265 },
92266 toString$0(_) {
92267 var t1 = this._source_map_buffer0$_buffer._contents;
92268 return t1.charCodeAt(0) == 0 ? t1 : t1;
92269 },
92270 buildSourceMap$1$prefix(prefix) {
92271 var i, t2, prefixColumn, _box_0 = {},
92272 t1 = prefix.length;
92273 if (t1 === 0)
92274 return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
92275 _box_0.prefixColumn = _box_0.prefixLines = 0;
92276 for (i = 0, t2 = 0; i < t1; ++i)
92277 if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
92278 ++_box_0.prefixLines;
92279 _box_0.prefixColumn = 0;
92280 t2 = 0;
92281 } else {
92282 prefixColumn = t2 + 1;
92283 _box_0.prefixColumn = prefixColumn;
92284 t2 = prefixColumn;
92285 }
92286 t2 = this._source_map_buffer0$_entries;
92287 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>")));
92288 }
92289 };
92290 A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
92291 call$1(entry) {
92292 var t1 = entry.source,
92293 t2 = entry.target,
92294 t3 = t2.line,
92295 t4 = this._box_0,
92296 t5 = t4.prefixLines;
92297 t4 = t3 === 0 ? t4.prefixColumn : 0;
92298 return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
92299 },
92300 $signature: 225
92301 };
92302 A.updateSourceSpanPrototype_closure.prototype = {
92303 call$1(span) {
92304 return A.FileLocation$_(span.file, span._file$_start);
92305 },
92306 $signature: 249
92307 };
92308 A.updateSourceSpanPrototype_closure0.prototype = {
92309 call$1(span) {
92310 return A.FileLocation$_(span.file, span._end);
92311 },
92312 $signature: 249
92313 };
92314 A.updateSourceSpanPrototype_closure1.prototype = {
92315 call$1(span) {
92316 return A.NullableExtension_andThen0(span.file.url, A.utils1__dartToJSUrl$closure());
92317 },
92318 $signature: 529
92319 };
92320 A.updateSourceSpanPrototype_closure2.prototype = {
92321 call$1(span) {
92322 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
92323 },
92324 $signature: 250
92325 };
92326 A.updateSourceSpanPrototype_closure3.prototype = {
92327 call$1(span) {
92328 return span.get$context(span);
92329 },
92330 $signature: 250
92331 };
92332 A.updateSourceSpanPrototype_closure4.prototype = {
92333 call$1($location) {
92334 return $location.get$line();
92335 },
92336 $signature: 251
92337 };
92338 A.updateSourceSpanPrototype_closure5.prototype = {
92339 call$1($location) {
92340 return $location.get$column();
92341 },
92342 $signature: 251
92343 };
92344 A.StatementSearchVisitor0.prototype = {
92345 visitAtRootRule$1(node) {
92346 return this.visitChildren$1(node.children);
92347 },
92348 visitAtRule$1(node) {
92349 return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
92350 },
92351 visitContentBlock$1(node) {
92352 return this.visitChildren$1(node.children);
92353 },
92354 visitDebugRule$1(node) {
92355 return null;
92356 },
92357 visitDeclaration$1(node) {
92358 return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
92359 },
92360 visitEachRule$1(node) {
92361 return this.visitChildren$1(node.children);
92362 },
92363 visitErrorRule$1(node) {
92364 return null;
92365 },
92366 visitExtendRule$1(node) {
92367 return null;
92368 },
92369 visitForRule$1(node) {
92370 return this.visitChildren$1(node.children);
92371 },
92372 visitForwardRule$1(node) {
92373 return null;
92374 },
92375 visitFunctionRule$1(node) {
92376 return this.visitChildren$1(node.children);
92377 },
92378 visitIfRule$1(node) {
92379 var t1 = A._IterableExtension__search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
92380 return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
92381 },
92382 visitImportRule$1(node) {
92383 return null;
92384 },
92385 visitIncludeRule$1(node) {
92386 return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock());
92387 },
92388 visitLoudComment$1(node) {
92389 return null;
92390 },
92391 visitMediaRule$1(node) {
92392 return this.visitChildren$1(node.children);
92393 },
92394 visitMixinRule$1(node) {
92395 return this.visitChildren$1(node.children);
92396 },
92397 visitReturnRule$1(node) {
92398 return null;
92399 },
92400 visitSilentComment$1(node) {
92401 return null;
92402 },
92403 visitStyleRule$1(node) {
92404 return this.visitChildren$1(node.children);
92405 },
92406 visitStylesheet$1(node) {
92407 return this.visitChildren$1(node.children);
92408 },
92409 visitSupportsRule$1(node) {
92410 return this.visitChildren$1(node.children);
92411 },
92412 visitUseRule$1(node) {
92413 return null;
92414 },
92415 visitVariableDeclaration$1(node) {
92416 return null;
92417 },
92418 visitWarnRule$1(node) {
92419 return null;
92420 },
92421 visitWhileRule$1(node) {
92422 return this.visitChildren$1(node.children);
92423 },
92424 visitChildren$1(children) {
92425 return A._IterableExtension__search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
92426 }
92427 };
92428 A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
92429 call$1(clause) {
92430 return A._IterableExtension__search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
92431 },
92432 $signature() {
92433 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
92434 }
92435 };
92436 A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
92437 call$1(child) {
92438 return child.accept$1(this.$this);
92439 },
92440 $signature() {
92441 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
92442 }
92443 };
92444 A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
92445 call$1(lastClause) {
92446 return A._IterableExtension__search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
92447 },
92448 $signature() {
92449 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
92450 }
92451 };
92452 A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
92453 call$1(child) {
92454 return child.accept$1(this.$this);
92455 },
92456 $signature() {
92457 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
92458 }
92459 };
92460 A.StatementSearchVisitor_visitChildren_closure0.prototype = {
92461 call$1(child) {
92462 return child.accept$1(this.$this);
92463 },
92464 $signature() {
92465 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
92466 }
92467 };
92468 A.StaticImport0.prototype = {
92469 toString$0(_) {
92470 var t1 = this.url.toString$0(0),
92471 t2 = this.supports;
92472 if (t2 != null)
92473 t1 += " supports(" + t2.toString$0(0) + ")";
92474 t2 = this.media;
92475 if (t2 != null)
92476 t1 += " " + t2.toString$0(0);
92477 t1 += A.Primitives_stringFromCharCode(59);
92478 return t1.charCodeAt(0) == 0 ? t1 : t1;
92479 },
92480 $isImport0: 1,
92481 $isAstNode0: 1,
92482 get$span(receiver) {
92483 return this.span;
92484 }
92485 };
92486 A.StderrLogger0.prototype = {
92487 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
92488 var t2, t3, t4,
92489 t1 = this.color;
92490 if (t1) {
92491 t2 = $.$get$stderr0();
92492 t3 = t2._node0$_stderr;
92493 t4 = J.getInterceptor$x(t3);
92494 t4.write$1(t3, "\x1b[33m\x1b[1m");
92495 if (deprecation)
92496 t4.write$1(t3, "Deprecation ");
92497 t4.write$1(t3, "Warning\x1b[0m");
92498 } else {
92499 if (deprecation)
92500 J.write$1$x($.$get$stderr0()._node0$_stderr, "DEPRECATION ");
92501 t2 = $.$get$stderr0();
92502 J.write$1$x(t2._node0$_stderr, "WARNING");
92503 }
92504 if (span == null)
92505 t2.writeln$1(": " + message);
92506 else if (trace != null)
92507 t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
92508 else
92509 t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
92510 if (trace != null)
92511 t2.writeln$1(A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
92512 t2.writeln$0();
92513 },
92514 warn$1($receiver, message) {
92515 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
92516 },
92517 warn$2$span($receiver, message, span) {
92518 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
92519 },
92520 warn$2$deprecation($receiver, message, deprecation) {
92521 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
92522 },
92523 warn$3$deprecation$span($receiver, message, deprecation, span) {
92524 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
92525 },
92526 warn$2$trace($receiver, message, trace) {
92527 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
92528 },
92529 debug$2(_, message, span) {
92530 var url, t3, t4,
92531 t1 = span.file,
92532 t2 = span._file$_start;
92533 if (A.FileLocation$_(t1, t2).file.url == null)
92534 url = "-";
92535 else {
92536 t3 = A.FileLocation$_(t1, t2);
92537 url = $.$get$context().prettyUri$1(t3.file.url);
92538 }
92539 t3 = $.$get$stderr0();
92540 t4 = url + ":";
92541 t2 = A.FileLocation$_(t1, t2);
92542 t2 = t4 + (t2.file.getLine$1(t2.offset) + 1) + " ";
92543 t4 = t3._node0$_stderr;
92544 t1 = J.getInterceptor$x(t4);
92545 t1.write$1(t4, t2);
92546 t1.write$1(t4, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
92547 t3.writeln$1(": " + message);
92548 }
92549 };
92550 A.StringExpression0.prototype = {
92551 get$span(_) {
92552 return this.text.span;
92553 },
92554 accept$1$1(visitor) {
92555 return visitor.visitStringExpression$1(this);
92556 },
92557 accept$1(visitor) {
92558 return this.accept$1$1(visitor, type$.dynamic);
92559 },
92560 asInterpolation$1$static($static) {
92561 var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
92562 if (!this.hasQuotes)
92563 return this.text;
92564 t1 = this.text;
92565 t2 = t1.contents;
92566 quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
92567 t3 = new A.StringBuffer("");
92568 t4 = A._setArrayType([], type$.JSArray_Object);
92569 buffer = new A.InterpolationBuffer0(t3, t4);
92570 t3._contents = "" + A.Primitives_stringFromCharCode(quote);
92571 for (t5 = t2.length, t6 = type$.Expression_2, _i = 0; _i < t5; ++_i) {
92572 value = t2[_i];
92573 if (t6._is(value)) {
92574 buffer._interpolation_buffer0$_flushText$0();
92575 t4.push(value);
92576 } else if (typeof value == "string")
92577 A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
92578 }
92579 t3._contents += A.Primitives_stringFromCharCode(quote);
92580 return buffer.interpolation$1(t1.span);
92581 },
92582 asInterpolation$0() {
92583 return this.asInterpolation$1$static(false);
92584 },
92585 toString$0(_) {
92586 return this.asInterpolation$0().toString$0(0);
92587 },
92588 $isExpression0: 1,
92589 $isAstNode0: 1
92590 };
92591 A._unquote_closure0.prototype = {
92592 call$1($arguments) {
92593 var string = J.$index$asx($arguments, 0).assertString$1("string");
92594 if (!string._string0$_hasQuotes)
92595 return string;
92596 return new A.SassString0(string._string0$_text, false);
92597 },
92598 $signature: 13
92599 };
92600 A._quote_closure0.prototype = {
92601 call$1($arguments) {
92602 var string = J.$index$asx($arguments, 0).assertString$1("string");
92603 if (string._string0$_hasQuotes)
92604 return string;
92605 return new A.SassString0(string._string0$_text, true);
92606 },
92607 $signature: 13
92608 };
92609 A._length_closure1.prototype = {
92610 call$1($arguments) {
92611 var t1 = J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength();
92612 return new A.UnitlessSassNumber0(t1, null);
92613 },
92614 $signature: 9
92615 };
92616 A._insert_closure0.prototype = {
92617 call$1($arguments) {
92618 var indexInt, codeUnitIndex, _s5_ = "index",
92619 t1 = J.getInterceptor$asx($arguments),
92620 string = t1.$index($arguments, 0).assertString$1("string"),
92621 insert = t1.$index($arguments, 1).assertString$1("insert"),
92622 index = t1.$index($arguments, 2).assertNumber$1(_s5_);
92623 index.assertNoUnits$1(_s5_);
92624 indexInt = index.assertInt$1(_s5_);
92625 if (indexInt < 0)
92626 indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
92627 t1 = string._string0$_text;
92628 codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
92629 return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
92630 },
92631 $signature: 13
92632 };
92633 A._index_closure1.prototype = {
92634 call$1($arguments) {
92635 var codepointIndex,
92636 t1 = J.getInterceptor$asx($arguments),
92637 t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
92638 codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
92639 if (codeUnitIndex === -1)
92640 return B.C__SassNull0;
92641 codepointIndex = A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex);
92642 return new A.UnitlessSassNumber0(codepointIndex + 1, null);
92643 },
92644 $signature: 3
92645 };
92646 A._slice_closure0.prototype = {
92647 call$1($arguments) {
92648 var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
92649 _s8_ = "start-at",
92650 t1 = J.getInterceptor$asx($arguments),
92651 string = t1.$index($arguments, 0).assertString$1("string"),
92652 start = t1.$index($arguments, 1).assertNumber$1(_s8_),
92653 end = t1.$index($arguments, 2).assertNumber$1("end-at");
92654 start.assertNoUnits$1(_s8_);
92655 end.assertNoUnits$1("end-at");
92656 lengthInCodepoints = string.get$_string0$_sassLength();
92657 endInt = end.assertInt$0();
92658 if (endInt === 0)
92659 return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
92660 startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
92661 endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
92662 if (endCodepoint === lengthInCodepoints)
92663 --endCodepoint;
92664 if (endCodepoint < startCodepoint)
92665 return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
92666 t1 = string._string0$_text;
92667 return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
92668 },
92669 $signature: 13
92670 };
92671 A._toUpperCase_closure0.prototype = {
92672 call$1($arguments) {
92673 var t1, t2, i, t3, t4,
92674 string = J.$index$asx($arguments, 0).assertString$1("string");
92675 for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
92676 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
92677 t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
92678 }
92679 return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
92680 },
92681 $signature: 13
92682 };
92683 A._toLowerCase_closure0.prototype = {
92684 call$1($arguments) {
92685 var t1, t2, i, t3, t4,
92686 string = J.$index$asx($arguments, 0).assertString$1("string");
92687 for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
92688 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
92689 t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
92690 }
92691 return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
92692 },
92693 $signature: 13
92694 };
92695 A._uniqueId_closure0.prototype = {
92696 call$1($arguments) {
92697 var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
92698 $._previousUniqueId0 = t1;
92699 if (t1 > Math.pow(36, 6))
92700 $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
92701 return new A.SassString0("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId0(), 36), 6, "0"), false);
92702 },
92703 $signature: 13
92704 };
92705 A._NodeSassString.prototype = {};
92706 A.legacyStringClass_closure.prototype = {
92707 call$3(thisArg, value, dartValue) {
92708 var t1;
92709 if (dartValue == null) {
92710 value.toString;
92711 t1 = new A.SassString0(value, false);
92712 } else
92713 t1 = dartValue;
92714 J.set$dartValue$x(thisArg, t1);
92715 },
92716 call$2(thisArg, value) {
92717 return this.call$3(thisArg, value, null);
92718 },
92719 "call*": "call$3",
92720 $requiredArgCount: 2,
92721 $defaultValues() {
92722 return [null];
92723 },
92724 $signature: 532
92725 };
92726 A.legacyStringClass_closure0.prototype = {
92727 call$1(thisArg) {
92728 return J.get$dartValue$x(thisArg)._string0$_text;
92729 },
92730 $signature: 533
92731 };
92732 A.legacyStringClass_closure1.prototype = {
92733 call$2(thisArg, value) {
92734 J.set$dartValue$x(thisArg, new A.SassString0(value, false));
92735 },
92736 $signature: 534
92737 };
92738 A.stringClass_closure.prototype = {
92739 call$0() {
92740 var t2,
92741 t1 = type$.JSClass,
92742 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
92743 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));
92744 J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
92745 t2 = $.$get$_emptyQuoted0();
92746 A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
92747 return jsClass;
92748 },
92749 $signature: 25
92750 };
92751 A.stringClass__closure.prototype = {
92752 call$3($self, textOrOptions, options) {
92753 var t1;
92754 if (typeof textOrOptions == "string") {
92755 t1 = options == null ? null : J.get$quotes$x(options);
92756 t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
92757 } else {
92758 type$.nullable__ConstructorOptions_3._as(textOrOptions);
92759 t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
92760 t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
92761 }
92762 return t1;
92763 },
92764 call$1($self) {
92765 return this.call$3($self, null, null);
92766 },
92767 call$2($self, textOrOptions) {
92768 return this.call$3($self, textOrOptions, null);
92769 },
92770 "call*": "call$3",
92771 $requiredArgCount: 1,
92772 $defaultValues() {
92773 return [null, null];
92774 },
92775 $signature: 535
92776 };
92777 A.stringClass__closure0.prototype = {
92778 call$1($self) {
92779 return $self._string0$_text;
92780 },
92781 $signature: 536
92782 };
92783 A.stringClass__closure1.prototype = {
92784 call$1($self) {
92785 return $self._string0$_hasQuotes;
92786 },
92787 $signature: 537
92788 };
92789 A.stringClass__closure2.prototype = {
92790 call$1($self) {
92791 return $self.get$_string0$_sassLength();
92792 },
92793 $signature: 538
92794 };
92795 A.stringClass__closure3.prototype = {
92796 call$3($self, sassIndex, $name) {
92797 var t1 = $self._string0$_text,
92798 index = sassIndex.assertNumber$1($name).assertInt$1($name);
92799 if (index === 0)
92800 A.throwExpression($self._string0$_exception$2("String index may not be 0.", $name));
92801 if (Math.abs(index) > $self.get$_string0$_sassLength())
92802 A.throwExpression($self._string0$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
92803 return A.codepointIndexToCodeUnitIndex0(t1, index < 0 ? $self.get$_string0$_sassLength() + index : index - 1);
92804 },
92805 call$2($self, sassIndex) {
92806 return this.call$3($self, sassIndex, null);
92807 },
92808 "call*": "call$3",
92809 $requiredArgCount: 2,
92810 $defaultValues() {
92811 return [null];
92812 },
92813 $signature: 539
92814 };
92815 A._ConstructorOptions1.prototype = {};
92816 A.SassString0.prototype = {
92817 get$_string0$_sassLength() {
92818 var t1, result, _this = this,
92819 value = _this._string0$__SassString__sassLength;
92820 if (value === $) {
92821 t1 = new A.Runes(_this._string0$_text);
92822 result = t1.get$length(t1);
92823 A._lateInitializeOnceCheck(_this._string0$__SassString__sassLength, "_sassLength");
92824 _this._string0$__SassString__sassLength = result;
92825 value = result;
92826 }
92827 return value;
92828 },
92829 get$isSpecialNumber() {
92830 var t1, t2;
92831 if (this._string0$_hasQuotes)
92832 return false;
92833 t1 = this._string0$_text;
92834 if (t1.length < 6)
92835 return false;
92836 t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
92837 if (t2 === 99) {
92838 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
92839 if (t2 === 108) {
92840 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
92841 return false;
92842 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
92843 return false;
92844 if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
92845 return false;
92846 return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
92847 } else if (t2 === 97) {
92848 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
92849 return false;
92850 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
92851 return false;
92852 return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
92853 } else
92854 return false;
92855 } else if (t2 === 118) {
92856 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
92857 return false;
92858 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
92859 return false;
92860 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92861 } else if (t2 === 101) {
92862 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
92863 return false;
92864 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
92865 return false;
92866 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92867 } else if (t2 === 109) {
92868 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
92869 if (t2 === 97) {
92870 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
92871 return false;
92872 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92873 } else if (t2 === 105) {
92874 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
92875 return false;
92876 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92877 } else
92878 return false;
92879 } else
92880 return false;
92881 },
92882 get$isVar() {
92883 if (this._string0$_hasQuotes)
92884 return false;
92885 var t1 = this._string0$_text;
92886 if (t1.length < 8)
92887 return false;
92888 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;
92889 },
92890 get$isBlank() {
92891 return !this._string0$_hasQuotes && this._string0$_text.length === 0;
92892 },
92893 accept$1$1(visitor) {
92894 var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
92895 t2 = this._string0$_text;
92896 if (t1)
92897 visitor._serialize0$_visitQuotedString$1(t2);
92898 else
92899 visitor._serialize0$_visitUnquotedString$1(t2);
92900 return null;
92901 },
92902 accept$1(visitor) {
92903 return this.accept$1$1(visitor, type$.dynamic);
92904 },
92905 assertString$1($name) {
92906 return this;
92907 },
92908 plus$1(other) {
92909 var t1 = this._string0$_text,
92910 t2 = this._string0$_hasQuotes;
92911 if (other instanceof A.SassString0)
92912 return new A.SassString0(t1 + other._string0$_text, t2);
92913 else
92914 return new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
92915 },
92916 $eq(_, other) {
92917 if (other == null)
92918 return false;
92919 return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
92920 },
92921 get$hashCode(_) {
92922 var t1 = this._string0$_hashCache;
92923 return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
92924 },
92925 _string0$_exception$2(message, $name) {
92926 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
92927 }
92928 };
92929 A.ModifiableCssStyleRule0.prototype = {
92930 accept$1$1(visitor) {
92931 return visitor.visitCssStyleRule$1(this);
92932 },
92933 accept$1(visitor) {
92934 return this.accept$1$1(visitor, type$.dynamic);
92935 },
92936 copyWithoutChildren$0() {
92937 return A.ModifiableCssStyleRule$0(this.selector, this.span, this.originalSelector);
92938 },
92939 $isCssStyleRule0: 1,
92940 get$span(receiver) {
92941 return this.span;
92942 }
92943 };
92944 A.StyleRule0.prototype = {
92945 accept$1$1(visitor) {
92946 return visitor.visitStyleRule$1(this);
92947 },
92948 accept$1(visitor) {
92949 return this.accept$1$1(visitor, type$.dynamic);
92950 },
92951 toString$0(_) {
92952 var t1 = this.children;
92953 return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
92954 },
92955 get$span(receiver) {
92956 return this.span;
92957 }
92958 };
92959 A.CssStylesheet0.prototype = {
92960 get$isGroupEnd() {
92961 return false;
92962 },
92963 get$isChildless() {
92964 return false;
92965 },
92966 accept$1$1(visitor) {
92967 return visitor.visitCssStylesheet$1(this);
92968 },
92969 accept$1(visitor) {
92970 return this.accept$1$1(visitor, type$.dynamic);
92971 },
92972 get$children(receiver) {
92973 return this.children;
92974 },
92975 get$span(receiver) {
92976 return this.span;
92977 }
92978 };
92979 A.ModifiableCssStylesheet0.prototype = {
92980 accept$1$1(visitor) {
92981 return visitor.visitCssStylesheet$1(this);
92982 },
92983 accept$1(visitor) {
92984 return this.accept$1$1(visitor, type$.dynamic);
92985 },
92986 copyWithoutChildren$0() {
92987 return A.ModifiableCssStylesheet$0(this.span);
92988 },
92989 $isCssStylesheet0: 1,
92990 get$span(receiver) {
92991 return this.span;
92992 }
92993 };
92994 A.StylesheetParser0.prototype = {
92995 parse$0() {
92996 return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
92997 },
92998 parseArgumentDeclaration$0() {
92999 return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure0(this), type$.ArgumentDeclaration_2);
93000 },
93001 _stylesheet0$_parseSingleProduction$1$1(production, $T) {
93002 return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
93003 },
93004 parseSignature$1$requireParens(requireParens) {
93005 return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
93006 },
93007 parseSignature$0() {
93008 return this.parseSignature$1$requireParens(true);
93009 },
93010 _stylesheet0$_statement$1$root(root) {
93011 var t2, _this = this,
93012 t1 = _this.scanner;
93013 switch (t1.peekChar$0()) {
93014 case 64:
93015 return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
93016 case 43:
93017 if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
93018 return _this._stylesheet0$_styleRule$0();
93019 _this._stylesheet0$_isUseAllowed = false;
93020 t2 = t1._string_scanner$_position;
93021 t1.readChar$0();
93022 return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
93023 case 61:
93024 if (!_this.get$indented())
93025 return _this._stylesheet0$_styleRule$0();
93026 _this._stylesheet0$_isUseAllowed = false;
93027 t2 = t1._string_scanner$_position;
93028 t1.readChar$0();
93029 _this.whitespace$0();
93030 return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
93031 case 125:
93032 t1.error$2$length(0, 'unmatched "}".', 1);
93033 break;
93034 default:
93035 return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
93036 }
93037 },
93038 _stylesheet0$_statement$0() {
93039 return this._stylesheet0$_statement$1$root(false);
93040 },
93041 variableDeclarationWithoutNamespace$2(namespace, start_) {
93042 var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
93043 precedingComment = _this.lastSilentComment;
93044 _this.lastSilentComment = null;
93045 if (start_ == null) {
93046 t1 = _this.scanner;
93047 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93048 } else
93049 start = start_;
93050 $name = _this.variableName$0();
93051 t1 = namespace != null;
93052 if (t1)
93053 _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
93054 if (_this.get$plainCss())
93055 _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
93056 _this.whitespace$0();
93057 t2 = _this.scanner;
93058 t2.expectChar$1(58);
93059 _this.whitespace$0();
93060 value = _this.expression$0();
93061 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
93062 for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
93063 flag = _this.identifier$0();
93064 if (flag === "default")
93065 guarded = true;
93066 else if (flag === "global") {
93067 if (t1) {
93068 endPosition = t2._string_scanner$_position;
93069 t4 = t2._sourceFile;
93070 t5 = flagStart.position;
93071 t6 = new A._FileSpan(t4, t5, endPosition);
93072 t6._FileSpan$3(t4, t5, endPosition);
93073 A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
93074 }
93075 global = true;
93076 } else {
93077 endPosition = t2._string_scanner$_position;
93078 t4 = t2._sourceFile;
93079 t5 = flagStart.position;
93080 t6 = new A._FileSpan(t4, t5, endPosition);
93081 t6._FileSpan$3(t4, t5, endPosition);
93082 A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
93083 }
93084 _this.whitespace$0();
93085 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
93086 }
93087 _this.expectStatementSeparator$1("variable declaration");
93088 declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
93089 if (global)
93090 _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
93091 return declaration;
93092 },
93093 variableDeclarationWithoutNamespace$0() {
93094 return this.variableDeclarationWithoutNamespace$2(null, null);
93095 },
93096 _stylesheet0$_variableDeclarationOrStyleRule$0() {
93097 var t1, t2, variableOrInterpolation, t3, _this = this;
93098 if (_this.get$plainCss())
93099 return _this._stylesheet0$_styleRule$0();
93100 if (_this.get$indented() && _this.scanner.scanChar$1(92))
93101 return _this._stylesheet0$_styleRule$0();
93102 if (!_this.lookingAtIdentifier$0())
93103 return _this._stylesheet0$_styleRule$0();
93104 t1 = _this.scanner;
93105 t2 = t1._string_scanner$_position;
93106 variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
93107 if (variableOrInterpolation instanceof A.VariableDeclaration0)
93108 return variableOrInterpolation;
93109 else {
93110 t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
93111 t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
93112 return _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
93113 }
93114 },
93115 _stylesheet0$_declarationOrStyleRule$0() {
93116 var t1, t2, declarationOrBuffer, _this = this;
93117 if (_this.get$plainCss() && _this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inUnknownAtRule)
93118 return _this._stylesheet0$_propertyOrVariableDeclaration$0();
93119 if (_this.get$indented() && _this.scanner.scanChar$1(92))
93120 return _this._stylesheet0$_styleRule$0();
93121 t1 = _this.scanner;
93122 t2 = t1._string_scanner$_position;
93123 declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
93124 return type$.Statement_2._is(declarationOrBuffer) ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
93125 },
93126 _stylesheet0$_declarationOrBuffer$0() {
93127 var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
93128 t2 = _this.scanner,
93129 start = new A._SpanScannerState(t2, t2._string_scanner$_position),
93130 nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
93131 first = t2.peekChar$0();
93132 if (first !== 58)
93133 if (first !== 42)
93134 if (first !== 46)
93135 t3 = first === 35 && t2.peekChar$1(1) !== 123;
93136 else
93137 t3 = true;
93138 else
93139 t3 = true;
93140 else
93141 t3 = true;
93142 if (t3) {
93143 t3 = t2.readChar$0();
93144 nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(t3);
93145 t3 = _this.rawText$1(_this.get$whitespace());
93146 nameBuffer._interpolation_buffer0$_text._contents += t3;
93147 startsWithPunctuation = true;
93148 } else
93149 startsWithPunctuation = false;
93150 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
93151 return nameBuffer;
93152 variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
93153 if (variableOrInterpolation instanceof A.VariableDeclaration0)
93154 return variableOrInterpolation;
93155 else
93156 nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
93157 _this._stylesheet0$_isUseAllowed = false;
93158 if (t2.matches$1("/*")) {
93159 t3 = _this.rawText$1(_this.get$loudComment());
93160 nameBuffer._interpolation_buffer0$_text._contents += t3;
93161 }
93162 midBuffer = new A.StringBuffer("");
93163 t3 = _this.get$whitespace();
93164 midBuffer._contents += _this.rawText$1(t3);
93165 t4 = t2._string_scanner$_position;
93166 if (!t2.scanChar$1(58)) {
93167 if (midBuffer._contents.length !== 0)
93168 nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(32);
93169 return nameBuffer;
93170 }
93171 midBuffer._contents += A.Primitives_stringFromCharCode(58);
93172 $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
93173 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
93174 t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
93175 _this.expectStatementSeparator$1("custom property");
93176 return A.Declaration$0($name, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
93177 }
93178 if (t2.scanChar$1(58)) {
93179 t1 = nameBuffer;
93180 t2 = t1._interpolation_buffer0$_text;
93181 t3 = t2._contents += A.S(midBuffer);
93182 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
93183 return t1;
93184 } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
93185 t1 = nameBuffer;
93186 t1._interpolation_buffer0$_text._contents += A.S(midBuffer);
93187 return t1;
93188 }
93189 postColonWhitespace = _this.rawText$1(t3);
93190 if (_this.lookingAtChildren$0())
93191 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure1($name));
93192 midBuffer._contents += postColonWhitespace;
93193 couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
93194 beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
93195 t3 = t1.value = null;
93196 try {
93197 t3 = t1.value = _this.expression$0();
93198 if (_this.lookingAtChildren$0()) {
93199 if (couldBeSelector)
93200 _this.expectStatementSeparator$0();
93201 } else if (!_this.atEndOfStatement$0())
93202 _this.expectStatementSeparator$0();
93203 } catch (exception) {
93204 if (type$.FormatException._is(A.unwrapException(exception))) {
93205 if (!couldBeSelector)
93206 throw exception;
93207 t2.set$state(beforeDeclaration);
93208 additional = _this.almostAnyValue$0();
93209 if (!_this.get$indented() && t2.peekChar$0() === 59)
93210 throw exception;
93211 nameBuffer._interpolation_buffer0$_text._contents += A.S(midBuffer);
93212 nameBuffer.addInterpolation$1(additional);
93213 return nameBuffer;
93214 } else
93215 throw exception;
93216 }
93217 if (_this.lookingAtChildren$0())
93218 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure2(t1, $name));
93219 else {
93220 _this.expectStatementSeparator$0();
93221 return A.Declaration$0($name, t3, t2.spanFrom$1(start));
93222 }
93223 },
93224 _stylesheet0$_variableDeclarationOrInterpolation$0() {
93225 var t1, start, identifier, t2, buffer, _this = this;
93226 if (!_this.lookingAtIdentifier$0())
93227 return _this.interpolatedIdentifier$0();
93228 t1 = _this.scanner;
93229 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93230 identifier = _this.identifier$0();
93231 if (t1.matches$1(".$")) {
93232 t1.readChar$0();
93233 return _this.variableDeclarationWithoutNamespace$2(identifier, start);
93234 } else {
93235 t2 = new A.StringBuffer("");
93236 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
93237 t2._contents = "" + identifier;
93238 if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
93239 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
93240 return buffer.interpolation$1(t1.spanFrom$1(start));
93241 }
93242 },
93243 _stylesheet0$_styleRule$2(buffer, start_) {
93244 var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
93245 _this._stylesheet0$_isUseAllowed = false;
93246 if (start_ == null) {
93247 t2 = _this.scanner;
93248 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
93249 } else
93250 start = start_;
93251 interpolation = t1.interpolation = _this.styleRuleSelector$0();
93252 if (buffer != null) {
93253 buffer.addInterpolation$1(interpolation);
93254 t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
93255 } else
93256 t2 = interpolation;
93257 if (t2.contents.length === 0)
93258 _this.scanner.error$1(0, 'expected "}".');
93259 wasInStyleRule = _this._stylesheet0$_inStyleRule;
93260 _this._stylesheet0$_inStyleRule = true;
93261 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
93262 },
93263 _stylesheet0$_styleRule$0() {
93264 return this._stylesheet0$_styleRule$2(null, null);
93265 },
93266 _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
93267 var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
93268 _s48_ = string$.Nested,
93269 t1 = {},
93270 t2 = _this.scanner,
93271 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
93272 t1.name = null;
93273 first = t2.peekChar$0();
93274 if (first !== 58)
93275 if (first !== 42)
93276 if (first !== 46)
93277 t3 = first === 35 && t2.peekChar$1(1) !== 123;
93278 else
93279 t3 = true;
93280 else
93281 t3 = true;
93282 else
93283 t3 = true;
93284 if (t3) {
93285 t3 = new A.StringBuffer("");
93286 nameBuffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
93287 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
93288 t3._contents += _this.rawText$1(_this.get$whitespace());
93289 nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
93290 t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
93291 } else if (!_this.get$plainCss()) {
93292 variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
93293 if (variableOrInterpolation instanceof A.VariableDeclaration0)
93294 return variableOrInterpolation;
93295 else {
93296 type$.Interpolation_2._as(variableOrInterpolation);
93297 t1.name = variableOrInterpolation;
93298 }
93299 t3 = variableOrInterpolation;
93300 } else {
93301 $name = _this.interpolatedIdentifier$0();
93302 t1.name = $name;
93303 t3 = $name;
93304 }
93305 _this.whitespace$0();
93306 t2.expectChar$1(58);
93307 if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
93308 t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
93309 _this.expectStatementSeparator$1("custom property");
93310 return A.Declaration$0(t3, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
93311 }
93312 _this.whitespace$0();
93313 if (_this.lookingAtChildren$0()) {
93314 if (_this.get$plainCss())
93315 t2.error$1(0, _s48_);
93316 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure1(t1));
93317 }
93318 value = _this.expression$0();
93319 if (_this.lookingAtChildren$0()) {
93320 if (_this.get$plainCss())
93321 t2.error$1(0, _s48_);
93322 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure2(t1, value));
93323 } else {
93324 _this.expectStatementSeparator$0();
93325 return A.Declaration$0(t3, value, t2.spanFrom$1(start));
93326 }
93327 },
93328 _stylesheet0$_propertyOrVariableDeclaration$0() {
93329 return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(true);
93330 },
93331 _stylesheet0$_declarationChild$0() {
93332 if (this.scanner.peekChar$0() === 64)
93333 return this._stylesheet0$_declarationAtRule$0();
93334 return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
93335 },
93336 atRule$2$root(child, root) {
93337 var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
93338 _s9_ = "@use rule",
93339 t1 = _this.scanner,
93340 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93341 t1.expectChar$2$name(64, "@-rule");
93342 $name = _this.interpolatedIdentifier$0();
93343 _this.whitespace$0();
93344 wasUseAllowed = _this._stylesheet0$_isUseAllowed;
93345 _this._stylesheet0$_isUseAllowed = false;
93346 switch ($name.get$asPlain()) {
93347 case "at-root":
93348 return _this._stylesheet0$_atRootRule$1(start);
93349 case "content":
93350 return _this._stylesheet0$_contentRule$1(start);
93351 case "debug":
93352 return _this._stylesheet0$_debugRule$1(start);
93353 case "each":
93354 return _this._stylesheet0$_eachRule$2(start, child);
93355 case "else":
93356 return _this._stylesheet0$_disallowedAtRule$1(start);
93357 case "error":
93358 return _this._stylesheet0$_errorRule$1(start);
93359 case "extend":
93360 if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
93361 _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
93362 value = _this.almostAnyValue$0();
93363 optional = t1.scanChar$1(33);
93364 if (optional)
93365 _this.expectIdentifier$1("optional");
93366 _this.expectStatementSeparator$1("@extend rule");
93367 return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
93368 case "for":
93369 return _this._stylesheet0$_forRule$2(start, child);
93370 case "forward":
93371 _this._stylesheet0$_isUseAllowed = wasUseAllowed;
93372 if (!root)
93373 _this._stylesheet0$_disallowedAtRule$1(start);
93374 return _this._stylesheet0$_forwardRule$1(start);
93375 case "function":
93376 return _this._stylesheet0$_functionRule$1(start);
93377 case "if":
93378 return _this._stylesheet0$_ifRule$2(start, child);
93379 case "import":
93380 return _this._stylesheet0$_importRule$1(start);
93381 case "include":
93382 return _this._stylesheet0$_includeRule$1(start);
93383 case "media":
93384 return _this.mediaRule$1(start);
93385 case "mixin":
93386 return _this._stylesheet0$_mixinRule$1(start);
93387 case "-moz-document":
93388 return _this.mozDocumentRule$2(start, $name);
93389 case "return":
93390 return _this._stylesheet0$_disallowedAtRule$1(start);
93391 case "supports":
93392 return _this.supportsRule$1(start);
93393 case "use":
93394 _this._stylesheet0$_isUseAllowed = wasUseAllowed;
93395 if (!root)
93396 _this._stylesheet0$_disallowedAtRule$1(start);
93397 url = _this._stylesheet0$_urlString$0();
93398 _this.whitespace$0();
93399 namespace = _this._stylesheet0$_useNamespace$2(url, start);
93400 _this.whitespace$0();
93401 configuration = _this._stylesheet0$_configuration$0();
93402 _this.expectStatementSeparator$1(_s9_);
93403 span = t1.spanFrom$1(start);
93404 if (!_this._stylesheet0$_isUseAllowed)
93405 _this.error$2(0, string$.x40use_r, span);
93406 _this.expectStatementSeparator$1(_s9_);
93407 t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
93408 t1.UseRule$4$configuration0(url, namespace, span, configuration);
93409 return t1;
93410 case "warn":
93411 return _this._stylesheet0$_warnRule$1(start);
93412 case "while":
93413 return _this._stylesheet0$_whileRule$2(start, child);
93414 default:
93415 return _this.unknownAtRule$2(start, $name);
93416 }
93417 },
93418 _stylesheet0$_declarationAtRule$0() {
93419 var _this = this,
93420 t1 = _this.scanner,
93421 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93422 switch (_this._stylesheet0$_plainAtRuleName$0()) {
93423 case "content":
93424 return _this._stylesheet0$_contentRule$1(start);
93425 case "debug":
93426 return _this._stylesheet0$_debugRule$1(start);
93427 case "each":
93428 return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
93429 case "else":
93430 return _this._stylesheet0$_disallowedAtRule$1(start);
93431 case "error":
93432 return _this._stylesheet0$_errorRule$1(start);
93433 case "for":
93434 return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
93435 case "if":
93436 return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
93437 case "include":
93438 return _this._stylesheet0$_includeRule$1(start);
93439 case "warn":
93440 return _this._stylesheet0$_warnRule$1(start);
93441 case "while":
93442 return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
93443 default:
93444 return _this._stylesheet0$_disallowedAtRule$1(start);
93445 }
93446 },
93447 _stylesheet0$_functionChild$0() {
93448 var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, value, _this = this,
93449 t1 = _this.scanner;
93450 if (t1.peekChar$0() !== 64) {
93451 t2 = t1._string_scanner$_position;
93452 state = new A._SpanScannerState(t1, t2);
93453 try {
93454 namespace = _this.identifier$0();
93455 t1.expectChar$1(46);
93456 t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
93457 return t2;
93458 } catch (exception) {
93459 t2 = A.unwrapException(exception);
93460 t3 = type$.SourceSpanFormatException;
93461 if (t3._is(t2)) {
93462 variableDeclarationError = t2;
93463 stackTrace = A.getTraceFromException(exception);
93464 t1.set$state(state);
93465 statement = null;
93466 try {
93467 statement = _this._stylesheet0$_declarationOrStyleRule$0();
93468 } catch (exception) {
93469 if (t3._is(A.unwrapException(exception)))
93470 throw A.wrapException(variableDeclarationError);
93471 else
93472 throw exception;
93473 }
93474 _this.error$3(0, "@function rules may not contain " + (statement instanceof A.StyleRule0 ? "style rules" : "declarations") + ".", J.get$span$z(statement), stackTrace);
93475 } else
93476 throw exception;
93477 }
93478 }
93479 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93480 switch (_this._stylesheet0$_plainAtRuleName$0()) {
93481 case "debug":
93482 return _this._stylesheet0$_debugRule$1(start);
93483 case "each":
93484 return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
93485 case "else":
93486 return _this._stylesheet0$_disallowedAtRule$1(start);
93487 case "error":
93488 return _this._stylesheet0$_errorRule$1(start);
93489 case "for":
93490 return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
93491 case "if":
93492 return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
93493 case "return":
93494 value = _this.expression$0();
93495 _this.expectStatementSeparator$1("@return rule");
93496 return new A.ReturnRule0(value, t1.spanFrom$1(start));
93497 case "warn":
93498 return _this._stylesheet0$_warnRule$1(start);
93499 case "while":
93500 return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
93501 default:
93502 return _this._stylesheet0$_disallowedAtRule$1(start);
93503 }
93504 },
93505 _stylesheet0$_plainAtRuleName$0() {
93506 this.scanner.expectChar$2$name(64, "@-rule");
93507 var $name = this.identifier$0();
93508 this.whitespace$0();
93509 return $name;
93510 },
93511 _stylesheet0$_atRootRule$1(start) {
93512 var query, _this = this,
93513 t1 = _this.scanner;
93514 if (t1.peekChar$0() === 40) {
93515 query = _this._stylesheet0$_atRootQuery$0();
93516 _this.whitespace$0();
93517 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(query));
93518 } else if (_this.lookingAtChildren$0())
93519 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
93520 else
93521 return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
93522 },
93523 _stylesheet0$_atRootQuery$0() {
93524 var interpolation, t2, t3, t4, buffer, t5, _this = this,
93525 t1 = _this.scanner;
93526 if (t1.peekChar$0() === 35) {
93527 interpolation = _this.singleInterpolation$0();
93528 return A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
93529 }
93530 t2 = t1._string_scanner$_position;
93531 t3 = new A.StringBuffer("");
93532 t4 = A._setArrayType([], type$.JSArray_Object);
93533 buffer = new A.InterpolationBuffer0(t3, t4);
93534 t1.expectChar$1(40);
93535 t3._contents += A.Primitives_stringFromCharCode(40);
93536 _this.whitespace$0();
93537 t5 = _this.expression$0();
93538 buffer._interpolation_buffer0$_flushText$0();
93539 t4.push(t5);
93540 if (t1.scanChar$1(58)) {
93541 _this.whitespace$0();
93542 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
93543 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
93544 t5 = _this.expression$0();
93545 buffer._interpolation_buffer0$_flushText$0();
93546 t4.push(t5);
93547 }
93548 t1.expectChar$1(41);
93549 _this.whitespace$0();
93550 t3._contents += A.Primitives_stringFromCharCode(41);
93551 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
93552 },
93553 _stylesheet0$_contentRule$1(start) {
93554 var t1, $arguments, t2, t3, _this = this;
93555 if (!_this._stylesheet0$_inMixin)
93556 _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
93557 _this.whitespace$0();
93558 t1 = _this.scanner;
93559 if (t1.peekChar$0() === 40)
93560 $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
93561 else {
93562 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93563 t3 = t2.offset;
93564 $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
93565 }
93566 _this.expectStatementSeparator$1("@content rule");
93567 return new A.ContentRule0($arguments, t1.spanFrom$1(start));
93568 },
93569 _stylesheet0$_debugRule$1(start) {
93570 var value = this.expression$0();
93571 this.expectStatementSeparator$1("@debug rule");
93572 return new A.DebugRule0(value, this.scanner.spanFrom$1(start));
93573 },
93574 _stylesheet0$_eachRule$2(start, child) {
93575 var variables, t1, _this = this,
93576 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93577 _this._stylesheet0$_inControlDirective = true;
93578 variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
93579 _this.whitespace$0();
93580 for (t1 = _this.scanner; t1.scanChar$1(44);) {
93581 _this.whitespace$0();
93582 t1.expectChar$1(36);
93583 variables.push(_this.identifier$1$normalize(true));
93584 _this.whitespace$0();
93585 }
93586 _this.expectIdentifier$1("in");
93587 _this.whitespace$0();
93588 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this.expression$0()));
93589 },
93590 _stylesheet0$_errorRule$1(start) {
93591 var value = this.expression$0();
93592 this.expectStatementSeparator$1("@error rule");
93593 return new A.ErrorRule0(value, this.scanner.spanFrom$1(start));
93594 },
93595 _stylesheet0$_functionRule$1(start) {
93596 var $name, $arguments, _this = this,
93597 precedingComment = _this.lastSilentComment;
93598 _this.lastSilentComment = null;
93599 $name = _this.identifier$1$normalize(true);
93600 _this.whitespace$0();
93601 $arguments = _this._stylesheet0$_argumentDeclaration$0();
93602 if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
93603 _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
93604 else if (_this._stylesheet0$_inControlDirective)
93605 _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
93606 switch (A.unvendor0($name)) {
93607 case "calc":
93608 case "element":
93609 case "expression":
93610 case "url":
93611 case "and":
93612 case "or":
93613 case "not":
93614 case "clamp":
93615 _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
93616 break;
93617 }
93618 _this.whitespace$0();
93619 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, $arguments, precedingComment));
93620 },
93621 _stylesheet0$_forRule$2(start, child) {
93622 var variable, from, _this = this, t1 = {},
93623 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93624 _this._stylesheet0$_inControlDirective = true;
93625 variable = _this.variableName$0();
93626 _this.whitespace$0();
93627 _this.expectIdentifier$1("from");
93628 _this.whitespace$0();
93629 t1.exclusive = null;
93630 from = _this.expression$1$until(new A.StylesheetParser__forRule_closure1(t1, _this));
93631 if (t1.exclusive == null)
93632 _this.scanner.error$1(0, 'Expected "to" or "through".');
93633 _this.whitespace$0();
93634 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this.expression$0()));
93635 },
93636 _stylesheet0$_forwardRule$1(start) {
93637 var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
93638 url = _this._stylesheet0$_urlString$0();
93639 _this.whitespace$0();
93640 if (_this.scanIdentifier$1("as")) {
93641 _this.whitespace$0();
93642 prefix = _this.identifier$1$normalize(true);
93643 _this.scanner.expectChar$1(42);
93644 _this.whitespace$0();
93645 } else
93646 prefix = _null;
93647 if (_this.scanIdentifier$1("show")) {
93648 members = _this._stylesheet0$_memberList$0();
93649 shownMixinsAndFunctions = members.item1;
93650 shownVariables = members.item2;
93651 hiddenVariables = _null;
93652 hiddenMixinsAndFunctions = hiddenVariables;
93653 } else {
93654 if (_this.scanIdentifier$1("hide")) {
93655 members = _this._stylesheet0$_memberList$0();
93656 hiddenMixinsAndFunctions = members.item1;
93657 hiddenVariables = members.item2;
93658 } else {
93659 hiddenVariables = _null;
93660 hiddenMixinsAndFunctions = hiddenVariables;
93661 }
93662 shownVariables = _null;
93663 shownMixinsAndFunctions = shownVariables;
93664 }
93665 configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
93666 _this.expectStatementSeparator$1("@forward rule");
93667 span = _this.scanner.spanFrom$1(start);
93668 if (!_this._stylesheet0$_isUseAllowed)
93669 _this.error$2(0, string$.x40forwa, span);
93670 if (shownMixinsAndFunctions != null) {
93671 shownVariables.toString;
93672 t1 = type$.String;
93673 t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
93674 t3 = type$.UnmodifiableSetView_String;
93675 t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
93676 t4 = configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
93677 return new A.ForwardRule0(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
93678 } else if (hiddenMixinsAndFunctions != null) {
93679 hiddenVariables.toString;
93680 t1 = type$.String;
93681 t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
93682 t3 = type$.UnmodifiableSetView_String;
93683 t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
93684 t4 = configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
93685 return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
93686 } else
93687 return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
93688 },
93689 _stylesheet0$_memberList$0() {
93690 var _this = this,
93691 t1 = type$.String,
93692 identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
93693 variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
93694 t1 = _this.scanner;
93695 do {
93696 _this.whitespace$0();
93697 _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
93698 _this.whitespace$0();
93699 } while (t1.scanChar$1(44));
93700 return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
93701 },
93702 _stylesheet0$_ifRule$2(start, child) {
93703 var condition, children, clauses, lastClause, span, _this = this,
93704 ifIndentation = _this.get$currentIndentation(),
93705 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93706 _this._stylesheet0$_inControlDirective = true;
93707 condition = _this.expression$0();
93708 children = _this.children$1(0, child);
93709 _this.whitespaceWithoutComments$0();
93710 clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
93711 while (true) {
93712 if (!_this.scanElse$1(ifIndentation)) {
93713 lastClause = null;
93714 break;
93715 }
93716 _this.whitespace$0();
93717 if (_this.scanIdentifier$1("if")) {
93718 _this.whitespace$0();
93719 clauses.push(A.IfClause$0(_this.expression$0(), _this.children$1(0, child)));
93720 } else {
93721 lastClause = A.ElseClause$0(_this.children$1(0, child));
93722 break;
93723 }
93724 }
93725 _this._stylesheet0$_inControlDirective = wasInControlDirective;
93726 span = _this.scanner.spanFrom$1(start);
93727 _this.whitespaceWithoutComments$0();
93728 return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
93729 },
93730 _stylesheet0$_importRule$1(start) {
93731 var argument, _this = this,
93732 imports = A._setArrayType([], type$.JSArray_Import_2),
93733 t1 = _this.scanner;
93734 do {
93735 _this.whitespace$0();
93736 argument = _this.importArgument$0();
93737 if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && argument instanceof A.DynamicImport0)
93738 _this._stylesheet0$_disallowedAtRule$1(start);
93739 imports.push(argument);
93740 _this.whitespace$0();
93741 } while (t1.scanChar$1(44));
93742 _this.expectStatementSeparator$1("@import rule");
93743 t1 = t1.spanFrom$1(start);
93744 return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
93745 },
93746 importArgument$0() {
93747 var url, urlSpan, innerError, stackTrace, queries, t2, t3, t4, exception, _this = this, _null = null,
93748 t1 = _this.scanner,
93749 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
93750 next = t1.peekChar$0();
93751 if (next === 117 || next === 85) {
93752 url = _this.dynamicUrl$0();
93753 _this.whitespace$0();
93754 queries = _this.tryImportQueries$0();
93755 t2 = A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start));
93756 t1 = t1.spanFrom$1(start);
93757 t3 = queries == null;
93758 t4 = t3 ? _null : queries.item1;
93759 return new A.StaticImport0(t2, t4, t3 ? _null : queries.item2, t1);
93760 }
93761 url = _this.string$0();
93762 urlSpan = t1.spanFrom$1(start);
93763 _this.whitespace$0();
93764 queries = _this.tryImportQueries$0();
93765 if (_this.isPlainImportUrl$1(url) || queries != null) {
93766 t2 = urlSpan;
93767 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);
93768 t1 = t1.spanFrom$1(start);
93769 t3 = queries == null;
93770 t4 = t3 ? _null : queries.item1;
93771 return new A.StaticImport0(t2, t4, t3 ? _null : queries.item2, t1);
93772 } else
93773 try {
93774 t1 = _this.parseImportUrl$1(url);
93775 return new A.DynamicImport0(t1, urlSpan);
93776 } catch (exception) {
93777 t1 = A.unwrapException(exception);
93778 if (type$.FormatException._is(t1)) {
93779 innerError = t1;
93780 stackTrace = A.getTraceFromException(exception);
93781 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
93782 } else
93783 throw exception;
93784 }
93785 },
93786 parseImportUrl$1(url) {
93787 var t1 = $.$get$windows();
93788 if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
93789 return t1.toUri$1(url).toString$0(0);
93790 A.Uri_parse(url);
93791 return url;
93792 },
93793 isPlainImportUrl$1(url) {
93794 var first;
93795 if (url.length < 5)
93796 return false;
93797 if (B.JSString_methods.endsWith$1(url, ".css"))
93798 return true;
93799 first = B.JSString_methods._codeUnitAt$1(url, 0);
93800 if (first === 47)
93801 return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
93802 if (first !== 104)
93803 return false;
93804 return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
93805 },
93806 tryImportQueries$0() {
93807 var t1, start, supports, identifier, t2, $arguments, $name, media, _this = this, _null = null;
93808 if (_this.scanIdentifier$1("supports")) {
93809 t1 = _this.scanner;
93810 t1.expectChar$1(40);
93811 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93812 if (_this.scanIdentifier$1("not")) {
93813 _this.whitespace$0();
93814 supports = new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(start));
93815 } else if (t1.peekChar$0() === 40)
93816 supports = _this._stylesheet0$_supportsCondition$0();
93817 else {
93818 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
93819 identifier = _this.interpolatedIdentifier$0();
93820 t2 = identifier.get$asPlain();
93821 if ((t2 == null ? _null : t2.toLowerCase()) === "not")
93822 _this.error$2(0, '"not" is not a valid identifier here.', identifier.span);
93823 if (t1.scanChar$1(40)) {
93824 $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
93825 t1.expectChar$1(41);
93826 supports = new A.SupportsFunction0(identifier, $arguments, t1.spanFrom$1(start));
93827 } else {
93828 t1.set$state(start);
93829 supports = _null;
93830 }
93831 } else
93832 supports = _null;
93833 if (supports == null) {
93834 $name = _this.expression$0();
93835 t1.expectChar$1(58);
93836 supports = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
93837 }
93838 }
93839 t1.expectChar$1(41);
93840 _this.whitespace$0();
93841 } else
93842 supports = _null;
93843 media = _this._stylesheet0$_lookingAtInterpolatedIdentifier$0() || _this.scanner.peekChar$0() === 40 ? _this._stylesheet0$_mediaQueryList$0() : _null;
93844 if (supports == null && media == null)
93845 return _null;
93846 return new A.Tuple2(supports, media, type$.Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation_2);
93847 },
93848 _stylesheet0$_includeRule$1(start) {
93849 var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
93850 $name = _this.identifier$0(),
93851 t1 = _this.scanner;
93852 if (t1.scanChar$1(46)) {
93853 name0 = _this._stylesheet0$_publicIdentifier$0();
93854 namespace = $name;
93855 $name = name0;
93856 } else {
93857 $name = A.stringReplaceAllUnchecked($name, "_", "-");
93858 namespace = _null;
93859 }
93860 _this.whitespace$0();
93861 if (t1.peekChar$0() === 40)
93862 $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
93863 else {
93864 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93865 t3 = t2.offset;
93866 $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
93867 }
93868 _this.whitespace$0();
93869 if (_this.scanIdentifier$1("using")) {
93870 _this.whitespace$0();
93871 contentArguments = _this._stylesheet0$_argumentDeclaration$0();
93872 _this.whitespace$0();
93873 } else
93874 contentArguments = _null;
93875 t2 = contentArguments == null;
93876 if (!t2 || _this.lookingAtChildren$0()) {
93877 if (t2) {
93878 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93879 t3 = t2.offset;
93880 contentArguments_ = new A.ArgumentDeclaration0(B.List_empty18, _null, A._FileSpan$(t2.file, t3, t3));
93881 } else
93882 contentArguments_ = contentArguments;
93883 wasInContentBlock = _this._stylesheet0$_inContentBlock;
93884 _this._stylesheet0$_inContentBlock = true;
93885 $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentArguments_));
93886 _this._stylesheet0$_inContentBlock = wasInContentBlock;
93887 } else {
93888 _this.expectStatementSeparator$0();
93889 $content = _null;
93890 }
93891 t1 = t1.spanFrom$2(start, start);
93892 t2 = $content == null ? $arguments : $content;
93893 return new A.IncludeRule0(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
93894 },
93895 mediaRule$1(start) {
93896 return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()));
93897 },
93898 _stylesheet0$_mixinRule$1(start) {
93899 var $name, t1, $arguments, t2, t3, _this = this,
93900 precedingComment = _this.lastSilentComment;
93901 _this.lastSilentComment = null;
93902 $name = _this.identifier$1$normalize(true);
93903 _this.whitespace$0();
93904 t1 = _this.scanner;
93905 if (t1.peekChar$0() === 40)
93906 $arguments = _this._stylesheet0$_argumentDeclaration$0();
93907 else {
93908 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93909 t3 = t2.offset;
93910 $arguments = new A.ArgumentDeclaration0(B.List_empty18, null, A._FileSpan$(t2.file, t3, t3));
93911 }
93912 if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
93913 _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
93914 else if (_this._stylesheet0$_inControlDirective)
93915 _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
93916 _this.whitespace$0();
93917 _this._stylesheet0$_inMixin = true;
93918 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, $arguments, precedingComment));
93919 },
93920 mozDocumentRule$2(start, $name) {
93921 var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
93922 t1 = _this.scanner,
93923 t2 = t1._string_scanner$_position,
93924 t3 = new A.StringBuffer(""),
93925 t4 = A._setArrayType([], type$.JSArray_Object),
93926 buffer = new A.InterpolationBuffer0(t3, t4);
93927 _box_0.needsDeprecationWarning = false;
93928 for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
93929 if (t1.peekChar$0() === 35) {
93930 t7 = _this.singleInterpolation$0();
93931 buffer._interpolation_buffer0$_flushText$0();
93932 t4.push(t7);
93933 _box_0.needsDeprecationWarning = true;
93934 } else {
93935 t7 = t1._string_scanner$_position;
93936 identifier = _this.identifier$0();
93937 switch (identifier) {
93938 case "url":
93939 case "url-prefix":
93940 case "domain":
93941 contents = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
93942 if (contents != null)
93943 buffer.addInterpolation$1(contents);
93944 else {
93945 t1.expectChar$1(40);
93946 _this.whitespace$0();
93947 argument = _this.interpolatedString$0();
93948 t1.expectChar$1(41);
93949 t7 = t3._contents += identifier;
93950 t3._contents = t7 + A.Primitives_stringFromCharCode(40);
93951 buffer.addInterpolation$1(argument.asInterpolation$0());
93952 t3._contents += A.Primitives_stringFromCharCode(41);
93953 }
93954 t7 = t3._contents;
93955 trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
93956 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("")'))
93957 _box_0.needsDeprecationWarning = true;
93958 break;
93959 case "regexp":
93960 t3._contents += "regexp(";
93961 t1.expectChar$1(40);
93962 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
93963 t1.expectChar$1(41);
93964 t3._contents += A.Primitives_stringFromCharCode(41);
93965 _box_0.needsDeprecationWarning = true;
93966 break;
93967 default:
93968 endPosition = t1._string_scanner$_position;
93969 t8 = t1._sourceFile;
93970 t9 = new A._FileSpan(t8, t7, endPosition);
93971 t9._FileSpan$3(t8, t7, endPosition);
93972 A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
93973 }
93974 }
93975 _this.whitespace$0();
93976 if (!t1.scanChar$1(44))
93977 break;
93978 t3._contents += A.Primitives_stringFromCharCode(44);
93979 start0 = t1._string_scanner$_position;
93980 t5.call$0();
93981 end = t1._string_scanner$_position;
93982 t3._contents += B.JSString_methods.substring$2(t6, start0, end);
93983 }
93984 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)))));
93985 },
93986 supportsRule$1(start) {
93987 var _this = this,
93988 condition = _this._stylesheet0$_supportsCondition$0();
93989 _this.whitespace$0();
93990 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
93991 },
93992 _stylesheet0$_useNamespace$2(url, start) {
93993 var namespace, basename, dot, t1, exception, _this = this;
93994 if (_this.scanIdentifier$1("as")) {
93995 _this.whitespace$0();
93996 return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
93997 }
93998 basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
93999 dot = B.JSString_methods.indexOf$1(basename, ".");
94000 t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
94001 namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
94002 try {
94003 t1 = A.SpanScanner$(namespace, null);
94004 t1 = new A.Parser1(t1, _this.logger)._parser0$_parseIdentifier$0();
94005 return t1;
94006 } catch (exception) {
94007 if (A.unwrapException(exception) instanceof A.SassFormatException0)
94008 _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
94009 else
94010 throw exception;
94011 }
94012 },
94013 _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
94014 var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
94015 if (!_this.scanIdentifier$1("with"))
94016 return null;
94017 variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
94018 configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
94019 _this.whitespace$0();
94020 t1 = _this.scanner;
94021 t1.expectChar$1(40);
94022 for (t2 = t1.string; true;) {
94023 _this.whitespace$0();
94024 t3 = t1._string_scanner$_position;
94025 t1.expectChar$1(36);
94026 $name = _this.identifier$1$normalize(true);
94027 _this.whitespace$0();
94028 t1.expectChar$1(58);
94029 _this.whitespace$0();
94030 expression = _this._stylesheet0$_expressionUntilComma$0();
94031 t4 = t1._string_scanner$_position;
94032 if (allowGuarded && t1.scanChar$1(33))
94033 if (_this.identifier$0() === "default") {
94034 _this.whitespace$0();
94035 guarded = true;
94036 } else {
94037 endPosition = t1._string_scanner$_position;
94038 t5 = t1._sourceFile;
94039 t6 = new A._FileSpan(t5, t4, endPosition);
94040 t6._FileSpan$3(t5, t4, endPosition);
94041 A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
94042 guarded = false;
94043 }
94044 else
94045 guarded = false;
94046 endPosition = t1._string_scanner$_position;
94047 t4 = t1._sourceFile;
94048 span = new A._FileSpan(t4, t3, endPosition);
94049 span._FileSpan$3(t4, t3, endPosition);
94050 if (variableNames.contains$1(0, $name))
94051 A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
94052 variableNames.add$1(0, $name);
94053 configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
94054 if (!t1.scanChar$1(44))
94055 break;
94056 _this.whitespace$0();
94057 if (!_this._stylesheet0$_lookingAtExpression$0())
94058 break;
94059 }
94060 t1.expectChar$1(41);
94061 return configuration;
94062 },
94063 _stylesheet0$_configuration$0() {
94064 return this._stylesheet0$_configuration$1$allowGuarded(false);
94065 },
94066 _stylesheet0$_warnRule$1(start) {
94067 var value = this.expression$0();
94068 this.expectStatementSeparator$1("@warn rule");
94069 return new A.WarnRule0(value, this.scanner.spanFrom$1(start));
94070 },
94071 _stylesheet0$_whileRule$2(start, child) {
94072 var _this = this,
94073 wasInControlDirective = _this._stylesheet0$_inControlDirective;
94074 _this._stylesheet0$_inControlDirective = true;
94075 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this.expression$0()));
94076 },
94077 unknownAtRule$2(start, $name) {
94078 var t2, t3, rule, _this = this, t1 = {},
94079 wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
94080 _this._stylesheet0$_inUnknownAtRule = true;
94081 t1.value = null;
94082 t2 = _this.scanner;
94083 t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
94084 if (_this.lookingAtChildren$0())
94085 rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
94086 else {
94087 _this.expectStatementSeparator$0();
94088 rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
94089 }
94090 _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
94091 return rule;
94092 },
94093 _stylesheet0$_disallowedAtRule$1(start) {
94094 this.almostAnyValue$0();
94095 this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
94096 },
94097 _stylesheet0$_argumentDeclaration$0() {
94098 var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
94099 t1 = _this.scanner,
94100 t2 = t1._string_scanner$_position;
94101 t1.expectChar$1(40);
94102 _this.whitespace$0();
94103 $arguments = A._setArrayType([], type$.JSArray_Argument_2);
94104 named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
94105 t3 = t1.string;
94106 while (true) {
94107 if (!(t1.peekChar$0() === 36)) {
94108 restArgument = null;
94109 break;
94110 }
94111 t4 = t1._string_scanner$_position;
94112 t1.expectChar$1(36);
94113 $name = _this.identifier$1$normalize(true);
94114 _this.whitespace$0();
94115 if (t1.scanChar$1(58)) {
94116 _this.whitespace$0();
94117 defaultValue = _this._stylesheet0$_expressionUntilComma$0();
94118 } else {
94119 if (t1.scanChar$1(46)) {
94120 t1.expectChar$1(46);
94121 t1.expectChar$1(46);
94122 _this.whitespace$0();
94123 restArgument = $name;
94124 break;
94125 }
94126 defaultValue = null;
94127 }
94128 endPosition = t1._string_scanner$_position;
94129 t5 = t1._sourceFile;
94130 t6 = new A._FileSpan(t5, t4, endPosition);
94131 t6._FileSpan$3(t5, t4, endPosition);
94132 $arguments.push(new A.Argument0($name, defaultValue, t6));
94133 if (!named.add$1(0, $name))
94134 A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
94135 if (!t1.scanChar$1(44)) {
94136 restArgument = null;
94137 break;
94138 }
94139 _this.whitespace$0();
94140 }
94141 t1.expectChar$1(41);
94142 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
94143 return new A.ArgumentDeclaration0(A.List_List$unmodifiable($arguments, type$.Argument_2), restArgument, t1);
94144 },
94145 _stylesheet0$_argumentInvocation$1$mixin(mixin) {
94146 var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, _this = this,
94147 t1 = _this.scanner,
94148 t2 = t1._string_scanner$_position;
94149 t1.expectChar$1(40);
94150 _this.whitespace$0();
94151 positional = A._setArrayType([], type$.JSArray_Expression_2);
94152 t3 = type$.String;
94153 t4 = type$.Expression_2;
94154 named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
94155 t5 = !mixin;
94156 t6 = t1.string;
94157 rest = null;
94158 while (true) {
94159 if (!_this._stylesheet0$_lookingAtExpression$0()) {
94160 keywordRest = null;
94161 break;
94162 }
94163 expression = _this._stylesheet0$_expressionUntilComma$1$singleEquals(t5);
94164 _this.whitespace$0();
94165 if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
94166 _this.whitespace$0();
94167 t7 = expression.name;
94168 if (named.containsKey$1(t7))
94169 A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
94170 named.$indexSet(0, t7, _this._stylesheet0$_expressionUntilComma$1$singleEquals(t5));
94171 } else if (t1.scanChar$1(46)) {
94172 t1.expectChar$1(46);
94173 t1.expectChar$1(46);
94174 if (rest != null) {
94175 _this.whitespace$0();
94176 keywordRest = expression;
94177 break;
94178 }
94179 rest = expression;
94180 } else if (named.get$isNotEmpty(named))
94181 A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
94182 else
94183 positional.push(expression);
94184 _this.whitespace$0();
94185 if (!t1.scanChar$1(44)) {
94186 keywordRest = null;
94187 break;
94188 }
94189 _this.whitespace$0();
94190 }
94191 t1.expectChar$1(41);
94192 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
94193 return new A.ArgumentInvocation0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
94194 },
94195 _stylesheet0$_argumentInvocation$0() {
94196 return this._stylesheet0$_argumentInvocation$1$mixin(false);
94197 },
94198 expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
94199 var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
94200 _s20_ = "Expected expression.",
94201 _box_0 = {},
94202 t1 = until != null;
94203 if (t1 && until.call$0())
94204 _this.scanner.error$1(0, _s20_);
94205 if (bracketList) {
94206 t2 = _this.scanner;
94207 beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
94208 t2.expectChar$1(91);
94209 _this.whitespace$0();
94210 if (t2.scanChar$1(93)) {
94211 t1 = A._setArrayType([], type$.JSArray_Expression_2);
94212 t2 = t2.spanFrom$1(beforeBracket);
94213 return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null0, true, t2);
94214 }
94215 } else
94216 beforeBracket = null;
94217 t2 = _this.scanner;
94218 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
94219 wasInParentheses = _this._stylesheet0$_inParentheses;
94220 _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
94221 _box_0.allowSlash = true;
94222 _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
94223 resetState = new A.StylesheetParser_expression_resetState0(_box_0, _this, start);
94224 resolveOneOperation = new A.StylesheetParser_expression_resolveOneOperation0(_box_0, _this);
94225 resolveOperations = new A.StylesheetParser_expression_resolveOperations0(_box_0, resolveOneOperation);
94226 addSingleExpression = new A.StylesheetParser_expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
94227 addOperator = new A.StylesheetParser_expression_addOperator0(_box_0, _this, resolveOneOperation);
94228 resolveSpaceExpressions = new A.StylesheetParser_expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
94229 $label0$0:
94230 for (t3 = type$.JSArray_Expression_2; true;) {
94231 _this.whitespace$0();
94232 if (t1 && until.call$0())
94233 break $label0$0;
94234 first = t2.peekChar$0();
94235 switch (first) {
94236 case 40:
94237 addSingleExpression.call$1(_this._stylesheet0$_parentheses$0());
94238 break;
94239 case 91:
94240 addSingleExpression.call$1(_this.expression$1$bracketList(true));
94241 break;
94242 case 36:
94243 addSingleExpression.call$1(_this._stylesheet0$_variable$0());
94244 break;
94245 case 38:
94246 addSingleExpression.call$1(_this._stylesheet0$_selector$0());
94247 break;
94248 case 39:
94249 case 34:
94250 addSingleExpression.call$1(_this.interpolatedString$0());
94251 break;
94252 case 35:
94253 addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
94254 break;
94255 case 61:
94256 t2.readChar$0();
94257 if (singleEquals && t2.peekChar$0() !== 61)
94258 addOperator.call$1(B.BinaryOperator_kjl0);
94259 else {
94260 t2.expectChar$1(61);
94261 addOperator.call$1(B.BinaryOperator_YlX0);
94262 }
94263 break;
94264 case 33:
94265 next = t2.peekChar$1(1);
94266 if (next === 61) {
94267 t2.readChar$0();
94268 t2.readChar$0();
94269 addOperator.call$1(B.BinaryOperator_i5H0);
94270 } else {
94271 if (next != null)
94272 if ((next | 32) >>> 0 !== 105)
94273 t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
94274 else
94275 t4 = true;
94276 else
94277 t4 = true;
94278 if (t4)
94279 addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
94280 else
94281 break $label0$0;
94282 }
94283 break;
94284 case 60:
94285 t2.readChar$0();
94286 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_33h0 : B.BinaryOperator_8qt0);
94287 break;
94288 case 62:
94289 t2.readChar$0();
94290 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_1da0 : B.BinaryOperator_AcR1);
94291 break;
94292 case 42:
94293 t2.readChar$0();
94294 addOperator.call$1(B.BinaryOperator_O1M0);
94295 break;
94296 case 43:
94297 if (_box_0.singleExpression_ == null)
94298 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
94299 else {
94300 t2.readChar$0();
94301 addOperator.call$1(B.BinaryOperator_AcR2);
94302 }
94303 break;
94304 case 45:
94305 next = t2.peekChar$1(1);
94306 if (next != null && next >= 48 && next <= 57 || next === 46)
94307 if (_box_0.singleExpression_ != null) {
94308 t4 = t2.peekChar$1(-1);
94309 t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
94310 } else
94311 t4 = true;
94312 else
94313 t4 = false;
94314 if (t4)
94315 addSingleExpression.call$1(_this._stylesheet0$_number$0());
94316 else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
94317 addSingleExpression.call$1(_this.identifierLike$0());
94318 else if (_box_0.singleExpression_ == null)
94319 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
94320 else {
94321 t2.readChar$0();
94322 addOperator.call$1(B.BinaryOperator_iyO0);
94323 }
94324 break;
94325 case 47:
94326 if (_box_0.singleExpression_ == null)
94327 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
94328 else {
94329 t2.readChar$0();
94330 addOperator.call$1(B.BinaryOperator_RTB0);
94331 }
94332 break;
94333 case 37:
94334 t2.readChar$0();
94335 addOperator.call$1(B.BinaryOperator_2ad0);
94336 break;
94337 case 48:
94338 case 49:
94339 case 50:
94340 case 51:
94341 case 52:
94342 case 53:
94343 case 54:
94344 case 55:
94345 case 56:
94346 case 57:
94347 addSingleExpression.call$1(_this._stylesheet0$_number$0());
94348 break;
94349 case 46:
94350 if (t2.peekChar$1(1) === 46)
94351 break $label0$0;
94352 addSingleExpression.call$1(_this._stylesheet0$_number$0());
94353 break;
94354 case 97:
94355 if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
94356 addOperator.call$1(B.BinaryOperator_and_and_20);
94357 else
94358 addSingleExpression.call$1(_this.identifierLike$0());
94359 break;
94360 case 111:
94361 if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
94362 addOperator.call$1(B.BinaryOperator_or_or_10);
94363 else
94364 addSingleExpression.call$1(_this.identifierLike$0());
94365 break;
94366 case 117:
94367 case 85:
94368 if (t2.peekChar$1(1) === 43)
94369 addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
94370 else
94371 addSingleExpression.call$1(_this.identifierLike$0());
94372 break;
94373 case 98:
94374 case 99:
94375 case 100:
94376 case 101:
94377 case 102:
94378 case 103:
94379 case 104:
94380 case 105:
94381 case 106:
94382 case 107:
94383 case 108:
94384 case 109:
94385 case 110:
94386 case 112:
94387 case 113:
94388 case 114:
94389 case 115:
94390 case 116:
94391 case 118:
94392 case 119:
94393 case 120:
94394 case 121:
94395 case 122:
94396 case 65:
94397 case 66:
94398 case 67:
94399 case 68:
94400 case 69:
94401 case 70:
94402 case 71:
94403 case 72:
94404 case 73:
94405 case 74:
94406 case 75:
94407 case 76:
94408 case 77:
94409 case 78:
94410 case 79:
94411 case 80:
94412 case 81:
94413 case 82:
94414 case 83:
94415 case 84:
94416 case 86:
94417 case 87:
94418 case 88:
94419 case 89:
94420 case 90:
94421 case 95:
94422 case 92:
94423 addSingleExpression.call$1(_this.identifierLike$0());
94424 break;
94425 case 44:
94426 if (_this._stylesheet0$_inParentheses) {
94427 _this._stylesheet0$_inParentheses = false;
94428 if (_box_0.allowSlash) {
94429 resetState.call$0();
94430 break;
94431 }
94432 }
94433 commaExpressions = _box_0.commaExpressions_;
94434 if (commaExpressions == null)
94435 commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
94436 if (_box_0.singleExpression_ == null)
94437 t2.error$1(0, _s20_);
94438 resolveSpaceExpressions.call$0();
94439 t4 = _box_0.singleExpression_;
94440 t4.toString;
94441 commaExpressions.push(t4);
94442 t2.readChar$0();
94443 _box_0.allowSlash = true;
94444 _box_0.singleExpression_ = null;
94445 break;
94446 default:
94447 if (first != null && first >= 128) {
94448 addSingleExpression.call$1(_this.identifierLike$0());
94449 break;
94450 } else
94451 break $label0$0;
94452 }
94453 }
94454 if (bracketList)
94455 t2.expectChar$1(93);
94456 commaExpressions = _box_0.commaExpressions_;
94457 spaceExpressions = _box_0.spaceExpressions_;
94458 if (commaExpressions != null) {
94459 resolveSpaceExpressions.call$0();
94460 _this._stylesheet0$_inParentheses = wasInParentheses;
94461 singleExpression = _box_0.singleExpression_;
94462 if (singleExpression != null)
94463 commaExpressions.push(singleExpression);
94464 t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
94465 return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_kWM0, bracketList, t1);
94466 } else if (bracketList && spaceExpressions != null) {
94467 resolveOperations.call$0();
94468 t1 = _box_0.singleExpression_;
94469 t1.toString;
94470 spaceExpressions.push(t1);
94471 beforeBracket.toString;
94472 t2 = t2.spanFrom$1(beforeBracket);
94473 return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_woc0, true, t2);
94474 } else {
94475 resolveSpaceExpressions.call$0();
94476 if (bracketList) {
94477 t1 = _box_0.singleExpression_;
94478 t1.toString;
94479 t3 = A._setArrayType([t1], t3);
94480 beforeBracket.toString;
94481 t2 = t2.spanFrom$1(beforeBracket);
94482 _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t3, type$.Expression_2), B.ListSeparator_undecided_null0, true, t2);
94483 }
94484 t1 = _box_0.singleExpression_;
94485 t1.toString;
94486 return t1;
94487 }
94488 },
94489 expression$2$singleEquals$until(singleEquals, until) {
94490 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, until);
94491 },
94492 expression$1$bracketList(bracketList) {
94493 return this.expression$3$bracketList$singleEquals$until(bracketList, false, null);
94494 },
94495 expression$0() {
94496 return this.expression$3$bracketList$singleEquals$until(false, false, null);
94497 },
94498 expression$1$singleEquals(singleEquals) {
94499 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, null);
94500 },
94501 expression$1$until(until) {
94502 return this.expression$3$bracketList$singleEquals$until(false, false, until);
94503 },
94504 _stylesheet0$_expressionUntilComma$1$singleEquals(singleEquals) {
94505 return this.expression$2$singleEquals$until(singleEquals, new A.StylesheetParser__expressionUntilComma_closure0(this));
94506 },
94507 _stylesheet0$_expressionUntilComma$0() {
94508 return this._stylesheet0$_expressionUntilComma$1$singleEquals(false);
94509 },
94510 _stylesheet0$_isSlashOperand$1(expression) {
94511 var t1;
94512 if (!(expression instanceof A.NumberExpression0))
94513 if (!(expression instanceof A.CalculationExpression0))
94514 t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
94515 else
94516 t1 = true;
94517 else
94518 t1 = true;
94519 return t1;
94520 },
94521 _stylesheet0$_singleExpression$0() {
94522 var next, _this = this,
94523 t1 = _this.scanner,
94524 first = t1.peekChar$0();
94525 switch (first) {
94526 case 40:
94527 return _this._stylesheet0$_parentheses$0();
94528 case 47:
94529 return _this._stylesheet0$_unaryOperation$0();
94530 case 46:
94531 return _this._stylesheet0$_number$0();
94532 case 91:
94533 return _this.expression$1$bracketList(true);
94534 case 36:
94535 return _this._stylesheet0$_variable$0();
94536 case 38:
94537 return _this._stylesheet0$_selector$0();
94538 case 39:
94539 case 34:
94540 return _this.interpolatedString$0();
94541 case 35:
94542 return _this._stylesheet0$_hashExpression$0();
94543 case 43:
94544 next = t1.peekChar$1(1);
94545 return A.isDigit0(next) || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
94546 case 45:
94547 return _this._stylesheet0$_minusExpression$0();
94548 case 33:
94549 return _this._stylesheet0$_importantExpression$0();
94550 case 117:
94551 case 85:
94552 if (t1.peekChar$1(1) === 43)
94553 return _this._stylesheet0$_unicodeRange$0();
94554 else
94555 return _this.identifierLike$0();
94556 case 48:
94557 case 49:
94558 case 50:
94559 case 51:
94560 case 52:
94561 case 53:
94562 case 54:
94563 case 55:
94564 case 56:
94565 case 57:
94566 return _this._stylesheet0$_number$0();
94567 case 97:
94568 case 98:
94569 case 99:
94570 case 100:
94571 case 101:
94572 case 102:
94573 case 103:
94574 case 104:
94575 case 105:
94576 case 106:
94577 case 107:
94578 case 108:
94579 case 109:
94580 case 110:
94581 case 111:
94582 case 112:
94583 case 113:
94584 case 114:
94585 case 115:
94586 case 116:
94587 case 118:
94588 case 119:
94589 case 120:
94590 case 121:
94591 case 122:
94592 case 65:
94593 case 66:
94594 case 67:
94595 case 68:
94596 case 69:
94597 case 70:
94598 case 71:
94599 case 72:
94600 case 73:
94601 case 74:
94602 case 75:
94603 case 76:
94604 case 77:
94605 case 78:
94606 case 79:
94607 case 80:
94608 case 81:
94609 case 82:
94610 case 83:
94611 case 84:
94612 case 86:
94613 case 87:
94614 case 88:
94615 case 89:
94616 case 90:
94617 case 95:
94618 case 92:
94619 return _this.identifierLike$0();
94620 default:
94621 if (first != null && first >= 128)
94622 return _this.identifierLike$0();
94623 t1.error$1(0, "Expected expression.");
94624 }
94625 },
94626 _stylesheet0$_parentheses$0() {
94627 var wasInParentheses, start, first, expressions, t1, t2, _this = this;
94628 if (_this.get$plainCss())
94629 _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
94630 wasInParentheses = _this._stylesheet0$_inParentheses;
94631 _this._stylesheet0$_inParentheses = true;
94632 try {
94633 t1 = _this.scanner;
94634 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94635 t1.expectChar$1(40);
94636 _this.whitespace$0();
94637 if (!_this._stylesheet0$_lookingAtExpression$0()) {
94638 t1.expectChar$1(41);
94639 t2 = A._setArrayType([], type$.JSArray_Expression_2);
94640 t1 = t1.spanFrom$1(start);
94641 t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
94642 return new A.ListExpression0(t2, B.ListSeparator_undecided_null0, false, t1);
94643 }
94644 first = _this._stylesheet0$_expressionUntilComma$0();
94645 if (t1.scanChar$1(58)) {
94646 _this.whitespace$0();
94647 t1 = _this._stylesheet0$_map$2(first, start);
94648 return t1;
94649 }
94650 if (!t1.scanChar$1(44)) {
94651 t1.expectChar$1(41);
94652 t1 = t1.spanFrom$1(start);
94653 return new A.ParenthesizedExpression0(first, t1);
94654 }
94655 _this.whitespace$0();
94656 expressions = A._setArrayType([first], type$.JSArray_Expression_2);
94657 for (; true;) {
94658 if (!_this._stylesheet0$_lookingAtExpression$0())
94659 break;
94660 J.add$1$ax(expressions, _this._stylesheet0$_expressionUntilComma$0());
94661 if (!t1.scanChar$1(44))
94662 break;
94663 _this.whitespace$0();
94664 }
94665 t1.expectChar$1(41);
94666 t1 = t1.spanFrom$1(start);
94667 t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
94668 return new A.ListExpression0(t2, B.ListSeparator_kWM0, false, t1);
94669 } finally {
94670 _this._stylesheet0$_inParentheses = wasInParentheses;
94671 }
94672 },
94673 _stylesheet0$_map$2(first, start) {
94674 var t2, key, _this = this,
94675 t1 = type$.Tuple2_Expression_Expression_2,
94676 pairs = A._setArrayType([new A.Tuple2(first, _this._stylesheet0$_expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression_2);
94677 for (t2 = _this.scanner; t2.scanChar$1(44);) {
94678 _this.whitespace$0();
94679 if (!_this._stylesheet0$_lookingAtExpression$0())
94680 break;
94681 key = _this._stylesheet0$_expressionUntilComma$0();
94682 t2.expectChar$1(58);
94683 _this.whitespace$0();
94684 pairs.push(new A.Tuple2(key, _this._stylesheet0$_expressionUntilComma$0(), t1));
94685 }
94686 t2.expectChar$1(41);
94687 t2 = t2.spanFrom$1(start);
94688 return new A.MapExpression0(A.List_List$unmodifiable(pairs, t1), t2);
94689 },
94690 _stylesheet0$_hashExpression$0() {
94691 var start, first, t2, identifier, buffer, _this = this,
94692 t1 = _this.scanner;
94693 if (t1.peekChar$1(1) === 123)
94694 return _this.identifierLike$0();
94695 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94696 t1.expectChar$1(35);
94697 first = t1.peekChar$0();
94698 if (first != null && A.isDigit0(first))
94699 return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
94700 t2 = t1._string_scanner$_position;
94701 identifier = _this.interpolatedIdentifier$0();
94702 if (_this._stylesheet0$_isHexColor$1(identifier)) {
94703 t1.set$state(new A._SpanScannerState(t1, t2));
94704 return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
94705 }
94706 t2 = new A.StringBuffer("");
94707 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
94708 t2._contents = "" + A.Primitives_stringFromCharCode(35);
94709 buffer.addInterpolation$1(identifier);
94710 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
94711 },
94712 _stylesheet0$_hexColorContents$1(start) {
94713 var red, green, blue, alpha, digit4, t2, t3, _this = this,
94714 digit1 = _this._stylesheet0$_hexDigit$0(),
94715 digit2 = _this._stylesheet0$_hexDigit$0(),
94716 digit3 = _this._stylesheet0$_hexDigit$0(),
94717 t1 = _this.scanner;
94718 if (!A.isHex0(t1.peekChar$0())) {
94719 red = (digit1 << 4 >>> 0) + digit1;
94720 green = (digit2 << 4 >>> 0) + digit2;
94721 blue = (digit3 << 4 >>> 0) + digit3;
94722 alpha = null;
94723 } else {
94724 digit4 = _this._stylesheet0$_hexDigit$0();
94725 t2 = digit1 << 4 >>> 0;
94726 t3 = digit3 << 4 >>> 0;
94727 if (!A.isHex0(t1.peekChar$0())) {
94728 red = t2 + digit1;
94729 green = (digit2 << 4 >>> 0) + digit2;
94730 blue = t3 + digit3;
94731 alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
94732 } else {
94733 red = t2 + digit2;
94734 green = t3 + digit4;
94735 blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
94736 alpha = A.isHex0(t1.peekChar$0()) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
94737 }
94738 }
94739 return A.SassColor$rgbInternal0(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
94740 },
94741 _stylesheet0$_isHexColor$1(interpolation) {
94742 var t1,
94743 plain = interpolation.get$asPlain();
94744 if (plain == null)
94745 return false;
94746 t1 = plain.length;
94747 if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
94748 return false;
94749 t1 = new A.CodeUnits(plain);
94750 return t1.every$1(t1, A.character0__isHex$closure());
94751 },
94752 _stylesheet0$_hexDigit$0() {
94753 var t1 = this.scanner,
94754 char = t1.peekChar$0();
94755 if (char == null || !A.isHex0(char))
94756 t1.error$1(0, "Expected hex digit.");
94757 return A.asHex0(t1.readChar$0());
94758 },
94759 _stylesheet0$_minusExpression$0() {
94760 var _this = this,
94761 next = _this.scanner.peekChar$1(1);
94762 if (A.isDigit0(next) || next === 46)
94763 return _this._stylesheet0$_number$0();
94764 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
94765 return _this.identifierLike$0();
94766 return _this._stylesheet0$_unaryOperation$0();
94767 },
94768 _stylesheet0$_importantExpression$0() {
94769 var t1 = this.scanner,
94770 t2 = t1._string_scanner$_position;
94771 t1.readChar$0();
94772 this.whitespace$0();
94773 this.expectIdentifier$1("important");
94774 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
94775 return new A.StringExpression0(A.Interpolation$0(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
94776 },
94777 _stylesheet0$_unaryOperation$0() {
94778 var _this = this,
94779 t1 = _this.scanner,
94780 t2 = t1._string_scanner$_position,
94781 operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
94782 if (operator == null)
94783 t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
94784 else if (_this.get$plainCss() && operator !== B.UnaryOperator_zDx0)
94785 t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
94786 _this.whitespace$0();
94787 return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94788 },
94789 _stylesheet0$_unaryOperatorFor$1(character) {
94790 switch (character) {
94791 case 43:
94792 return B.UnaryOperator_j2w0;
94793 case 45:
94794 return B.UnaryOperator_U4G0;
94795 case 47:
94796 return B.UnaryOperator_zDx0;
94797 default:
94798 return null;
94799 }
94800 },
94801 _stylesheet0$_number$0() {
94802 var number, t4, unit, t5, _this = this,
94803 t1 = _this.scanner,
94804 t2 = t1._string_scanner$_position,
94805 first = t1.peekChar$0(),
94806 t3 = first === 45,
94807 sign = t3 ? -1 : 1;
94808 if (first === 43 || t3)
94809 t1.readChar$0();
94810 number = t1.peekChar$0() === 46 ? 0 : _this.naturalNumber$0();
94811 t3 = _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
94812 t4 = _this._stylesheet0$_tryExponent$0();
94813 if (t1.scanChar$1(37))
94814 unit = "%";
94815 else {
94816 if (_this.lookingAtIdentifier$0())
94817 t5 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
94818 else
94819 t5 = false;
94820 unit = t5 ? _this.identifier$1$unit(true) : null;
94821 }
94822 return new A.NumberExpression0(sign * ((number + t3) * t4), unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94823 },
94824 _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
94825 var t2,
94826 t1 = this.scanner,
94827 start = t1._string_scanner$_position;
94828 if (t1.peekChar$0() !== 46)
94829 return 0;
94830 if (!A.isDigit0(t1.peekChar$1(1))) {
94831 if (allowTrailingDot)
94832 return 0;
94833 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
94834 }
94835 t1.readChar$0();
94836 while (true) {
94837 t2 = t1.peekChar$0();
94838 if (!(t2 != null && t2 >= 48 && t2 <= 57))
94839 break;
94840 t1.readChar$0();
94841 }
94842 return A.double_parse(t1.substring$1(0, start));
94843 },
94844 _stylesheet0$_tryExponent$0() {
94845 var next, t2, exponentSign, exponent,
94846 t1 = this.scanner,
94847 first = t1.peekChar$0();
94848 if (first !== 101 && first !== 69)
94849 return 1;
94850 next = t1.peekChar$1(1);
94851 if (!A.isDigit0(next) && next !== 45 && next !== 43)
94852 return 1;
94853 t1.readChar$0();
94854 t2 = next === 45;
94855 exponentSign = t2 ? -1 : 1;
94856 if (next === 43 || t2)
94857 t1.readChar$0();
94858 if (!A.isDigit0(t1.peekChar$0()))
94859 t1.error$1(0, "Expected digit.");
94860 exponent = 0;
94861 while (true) {
94862 t2 = t1.peekChar$0();
94863 if (!(t2 != null && t2 >= 48 && t2 <= 57))
94864 break;
94865 exponent = exponent * 10 + (t1.readChar$0() - 48);
94866 }
94867 return Math.pow(10, exponentSign * exponent);
94868 },
94869 _stylesheet0$_unicodeRange$0() {
94870 var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
94871 _s26_ = "Expected at most 6 digits.",
94872 t1 = _this.scanner,
94873 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94874 _this.expectIdentChar$1(117);
94875 t1.expectChar$1(43);
94876 for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
94877 ++firstRangeLength;
94878 for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
94879 ++firstRangeLength;
94880 if (firstRangeLength === 0)
94881 t1.error$1(0, 'Expected hex digit or "?".');
94882 else if (firstRangeLength > 6)
94883 _this.error$2(0, _s26_, t1.spanFrom$1(start));
94884 else if (hasQuestionMark) {
94885 t2 = t1.substring$1(0, start.position);
94886 t1 = t1.spanFrom$1(start);
94887 return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
94888 }
94889 if (t1.scanChar$1(45)) {
94890 t2 = t1._string_scanner$_position;
94891 for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
94892 ++secondRangeLength;
94893 if (secondRangeLength === 0)
94894 t1.error$1(0, "Expected hex digit.");
94895 else if (secondRangeLength > 6)
94896 _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94897 }
94898 if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
94899 t1.error$1(0, "Expected end of identifier.");
94900 t2 = t1.substring$1(0, start.position);
94901 t1 = t1.spanFrom$1(start);
94902 return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
94903 },
94904 _stylesheet0$_variable$0() {
94905 var _this = this,
94906 t1 = _this.scanner,
94907 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
94908 $name = _this.variableName$0();
94909 if (_this.get$plainCss())
94910 _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
94911 return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
94912 },
94913 _stylesheet0$_selector$0() {
94914 var t1, start, _this = this;
94915 if (_this.get$plainCss())
94916 _this.scanner.error$2$length(0, string$.The_pa, 1);
94917 t1 = _this.scanner;
94918 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94919 t1.expectChar$1(38);
94920 if (t1.scanChar$1(38)) {
94921 _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
94922 t1.set$position(t1._string_scanner$_position - 1);
94923 }
94924 return new A.SelectorExpression0(t1.spanFrom$1(start));
94925 },
94926 interpolatedString$0() {
94927 var t3, t4, buffer, next, second, t5,
94928 t1 = this.scanner,
94929 t2 = t1._string_scanner$_position,
94930 quote = t1.readChar$0();
94931 if (quote !== 39 && quote !== 34)
94932 t1.error$2$position(0, "Expected string.", t2);
94933 t3 = new A.StringBuffer("");
94934 t4 = A._setArrayType([], type$.JSArray_Object);
94935 buffer = new A.InterpolationBuffer0(t3, t4);
94936 for (; true;) {
94937 next = t1.peekChar$0();
94938 if (next === quote) {
94939 t1.readChar$0();
94940 break;
94941 } else if (next == null || next === 10 || next === 13 || next === 12)
94942 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
94943 else if (next === 92) {
94944 second = t1.peekChar$1(1);
94945 if (second === 10 || second === 13 || second === 12) {
94946 t1.readChar$0();
94947 t1.readChar$0();
94948 if (second === 13)
94949 t1.scanChar$1(10);
94950 } else
94951 t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
94952 } else if (next === 35)
94953 if (t1.peekChar$1(1) === 123) {
94954 t5 = this.singleInterpolation$0();
94955 buffer._interpolation_buffer0$_flushText$0();
94956 t4.push(t5);
94957 } else
94958 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94959 else
94960 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94961 }
94962 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
94963 },
94964 identifierLike$0() {
94965 var invocation, lower, color, specialFunction, _this = this,
94966 t1 = _this.scanner,
94967 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
94968 identifier = _this.interpolatedIdentifier$0(),
94969 plain = identifier.get$asPlain(),
94970 t2 = plain == null,
94971 t3 = !t2;
94972 if (t3) {
94973 if (plain === "if" && t1.peekChar$0() === 40) {
94974 invocation = _this._stylesheet0$_argumentInvocation$0();
94975 return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
94976 } else if (plain === "not") {
94977 _this.whitespace$0();
94978 return new A.UnaryOperationExpression0(B.UnaryOperator_not_not0, _this._stylesheet0$_singleExpression$0(), identifier.span);
94979 }
94980 lower = plain.toLowerCase();
94981 if (t1.peekChar$0() !== 40) {
94982 switch (plain) {
94983 case "false":
94984 return new A.BooleanExpression0(false, identifier.span);
94985 case "null":
94986 return new A.NullExpression0(identifier.span);
94987 case "true":
94988 return new A.BooleanExpression0(true, identifier.span);
94989 }
94990 color = $.$get$colorsByName0().$index(0, lower);
94991 if (color != null) {
94992 t1 = identifier.span;
94993 return new A.ColorExpression0(A.SassColor$rgbInternal0(color.get$red(color), color.get$green(color), color.get$blue(color), color._color1$_alpha, new A.SpanColorFormat0(t1)), t1);
94994 }
94995 }
94996 specialFunction = _this.trySpecialFunction$2(lower, start);
94997 if (specialFunction != null)
94998 return specialFunction;
94999 }
95000 switch (t1.peekChar$0()) {
95001 case 46:
95002 if (t1.peekChar$1(1) === 46)
95003 return new A.StringExpression0(identifier, false);
95004 t1.readChar$0();
95005 if (t3)
95006 return _this.namespacedExpression$2(plain, start);
95007 _this.error$2(0, string$.Interpn, identifier.span);
95008 break;
95009 case 40:
95010 if (t2)
95011 return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
95012 else
95013 return new A.FunctionExpression0(null, plain, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
95014 default:
95015 return new A.StringExpression0(identifier, false);
95016 }
95017 },
95018 namespacedExpression$2(namespace, start) {
95019 var $name, _this = this,
95020 t1 = _this.scanner;
95021 if (t1.peekChar$0() === 36) {
95022 $name = _this.variableName$0();
95023 _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
95024 return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
95025 }
95026 return new A.FunctionExpression0(namespace, _this._stylesheet0$_publicIdentifier$0(), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
95027 },
95028 trySpecialFunction$2($name, start) {
95029 var t2, buffer, t3, next, _this = this, _null = null,
95030 t1 = _this.scanner,
95031 calculation = t1.peekChar$0() === 40 ? _this._stylesheet0$_tryCalculation$2($name, start) : _null;
95032 if (calculation != null)
95033 return calculation;
95034 switch (A.unvendor0($name)) {
95035 case "calc":
95036 case "element":
95037 case "expression":
95038 if (!t1.scanChar$1(40))
95039 return _null;
95040 t2 = new A.StringBuffer("");
95041 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
95042 t3 = "" + $name;
95043 t2._contents = t3;
95044 t2._contents = t3 + A.Primitives_stringFromCharCode(40);
95045 break;
95046 case "progid":
95047 if (!t1.scanChar$1(58))
95048 return _null;
95049 t2 = new A.StringBuffer("");
95050 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
95051 t3 = "" + $name;
95052 t2._contents = t3;
95053 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
95054 next = t1.peekChar$0();
95055 while (true) {
95056 if (next != null) {
95057 if (!(next >= 97 && next <= 122))
95058 t3 = next >= 65 && next <= 90;
95059 else
95060 t3 = true;
95061 t3 = t3 || next === 46;
95062 } else
95063 t3 = false;
95064 if (!t3)
95065 break;
95066 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95067 next = t1.peekChar$0();
95068 }
95069 t1.expectChar$1(40);
95070 t2._contents += A.Primitives_stringFromCharCode(40);
95071 break;
95072 case "url":
95073 return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
95074 default:
95075 return _null;
95076 }
95077 buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
95078 t1.expectChar$1(41);
95079 buffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(41);
95080 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
95081 },
95082 _stylesheet0$_tryCalculation$2($name, start) {
95083 var beforeArguments, $arguments, t1, exception, t2, _this = this;
95084 switch ($name) {
95085 case "calc":
95086 $arguments = _this._stylesheet0$_calculationArguments$1(1);
95087 t1 = _this.scanner.spanFrom$1(start);
95088 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
95089 case "min":
95090 case "max":
95091 t1 = _this.scanner;
95092 beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
95093 $arguments = null;
95094 try {
95095 $arguments = _this._stylesheet0$_calculationArguments$0();
95096 } catch (exception) {
95097 if (type$.FormatException._is(A.unwrapException(exception))) {
95098 t1.set$state(beforeArguments);
95099 return null;
95100 } else
95101 throw exception;
95102 }
95103 t2 = $arguments;
95104 t1 = t1.spanFrom$1(start);
95105 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0(t2), t1);
95106 case "clamp":
95107 $arguments = _this._stylesheet0$_calculationArguments$1(3);
95108 t1 = _this.scanner.spanFrom$1(start);
95109 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
95110 default:
95111 return null;
95112 }
95113 },
95114 _stylesheet0$_calculationArguments$1(maxArgs) {
95115 var interpolation, $arguments, t2, _this = this,
95116 t1 = _this.scanner;
95117 t1.expectChar$1(40);
95118 interpolation = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
95119 if (interpolation != null) {
95120 t1.expectChar$1(41);
95121 return A._setArrayType([interpolation], type$.JSArray_Expression_2);
95122 }
95123 _this.whitespace$0();
95124 $arguments = A._setArrayType([_this._stylesheet0$_calculationSum$0()], type$.JSArray_Expression_2);
95125 t2 = maxArgs != null;
95126 while (true) {
95127 if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
95128 break;
95129 _this.whitespace$0();
95130 $arguments.push(_this._stylesheet0$_calculationSum$0());
95131 }
95132 t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
95133 return $arguments;
95134 },
95135 _stylesheet0$_calculationArguments$0() {
95136 return this._stylesheet0$_calculationArguments$1(null);
95137 },
95138 _stylesheet0$_calculationSum$0() {
95139 var t1, next, t2, t3, _this = this,
95140 sum = _this._stylesheet0$_calculationProduct$0();
95141 for (t1 = _this.scanner; true;) {
95142 next = t1.peekChar$0();
95143 t2 = next === 43;
95144 if (t2 || next === 45) {
95145 t3 = t1.peekChar$1(-1);
95146 if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
95147 t3 = t1.peekChar$1(1);
95148 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
95149 } else
95150 t3 = true;
95151 if (t3)
95152 t1.error$1(0, string$.x22x2b__an);
95153 t1.readChar$0();
95154 _this.whitespace$0();
95155 t2 = t2 ? B.BinaryOperator_AcR2 : B.BinaryOperator_iyO0;
95156 sum = new A.BinaryOperationExpression0(t2, sum, _this._stylesheet0$_calculationProduct$0(), false);
95157 } else
95158 return sum;
95159 }
95160 },
95161 _stylesheet0$_calculationProduct$0() {
95162 var t1, next, t2, _this = this,
95163 product = _this._stylesheet0$_calculationValue$0();
95164 for (t1 = _this.scanner; true;) {
95165 _this.whitespace$0();
95166 next = t1.peekChar$0();
95167 t2 = next === 42;
95168 if (t2 || next === 47) {
95169 t1.readChar$0();
95170 _this.whitespace$0();
95171 t2 = t2 ? B.BinaryOperator_O1M0 : B.BinaryOperator_RTB0;
95172 product = new A.BinaryOperationExpression0(t2, product, _this._stylesheet0$_calculationValue$0(), false);
95173 } else
95174 return product;
95175 }
95176 },
95177 _stylesheet0$_calculationValue$0() {
95178 var t2, value, start, ident, lowerCase, calculation, _this = this,
95179 t1 = _this.scanner,
95180 next = t1.peekChar$0();
95181 if (next === 43 || next === 45 || next === 46 || A.isDigit0(next))
95182 return _this._stylesheet0$_number$0();
95183 else if (next === 36)
95184 return _this._stylesheet0$_variable$0();
95185 else if (next === 40) {
95186 t2 = t1._string_scanner$_position;
95187 t1.readChar$0();
95188 value = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
95189 if (value == null) {
95190 _this.whitespace$0();
95191 value = _this._stylesheet0$_calculationSum$0();
95192 }
95193 _this.whitespace$0();
95194 t1.expectChar$1(41);
95195 return new A.ParenthesizedExpression0(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95196 } else if (!_this.lookingAtIdentifier$0())
95197 t1.error$1(0, string$.Expectn);
95198 else {
95199 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
95200 ident = _this.identifier$0();
95201 if (t1.scanChar$1(46))
95202 return _this.namespacedExpression$2(ident, start);
95203 if (t1.peekChar$0() !== 40)
95204 t1.error$1(0, 'Expected "(" or ".".');
95205 lowerCase = ident.toLowerCase();
95206 calculation = _this._stylesheet0$_tryCalculation$2(lowerCase, start);
95207 if (calculation != null)
95208 return calculation;
95209 else if (lowerCase === "if")
95210 return new A.IfExpression0(_this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
95211 else
95212 return new A.FunctionExpression0(null, ident, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
95213 }
95214 },
95215 _stylesheet0$_containsCalculationInterpolation$0() {
95216 var t2, parens, next, target, t3, _null = null,
95217 _s64_ = string$.The_gi,
95218 _s17_ = "Invalid position ",
95219 brackets = A._setArrayType([], type$.JSArray_int),
95220 t1 = this.scanner,
95221 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
95222 for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
95223 next = t1.peekChar$0();
95224 switch (next) {
95225 case 92:
95226 target = 1;
95227 break;
95228 case 47:
95229 target = 2;
95230 break;
95231 case 39:
95232 case 34:
95233 target = 3;
95234 break;
95235 case 35:
95236 target = 4;
95237 break;
95238 case 40:
95239 target = 5;
95240 break;
95241 case 123:
95242 case 91:
95243 target = 6;
95244 break;
95245 case 41:
95246 target = 7;
95247 break;
95248 case 125:
95249 case 93:
95250 target = 8;
95251 break;
95252 default:
95253 target = 9;
95254 break;
95255 }
95256 c$0:
95257 for (; true;)
95258 switch (target) {
95259 case 1:
95260 t1.readChar$0();
95261 t1.readChar$0();
95262 break c$0;
95263 case 2:
95264 if (!this.scanComment$0())
95265 t1.readChar$0();
95266 break c$0;
95267 case 3:
95268 this.interpolatedString$0();
95269 break c$0;
95270 case 4:
95271 if (parens === 0 && t1.peekChar$1(1) === 123) {
95272 if (start._scanner !== t1)
95273 A.throwExpression(A.ArgumentError$(_s64_, _null));
95274 t3 = start.position;
95275 if (t3 < 0 || t3 > t2)
95276 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
95277 t1._string_scanner$_position = t3;
95278 t1._lastMatch = null;
95279 return true;
95280 }
95281 t1.readChar$0();
95282 break c$0;
95283 case 5:
95284 ++parens;
95285 target = 6;
95286 continue c$0;
95287 case 6:
95288 next.toString;
95289 brackets.push(A.opposite0(next));
95290 t1.readChar$0();
95291 break c$0;
95292 case 7:
95293 --parens;
95294 target = 8;
95295 continue c$0;
95296 case 8:
95297 if (brackets.length === 0 || brackets.pop() !== next) {
95298 if (start._scanner !== t1)
95299 A.throwExpression(A.ArgumentError$(_s64_, _null));
95300 t3 = start.position;
95301 if (t3 < 0 || t3 > t2)
95302 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
95303 t1._string_scanner$_position = t3;
95304 t1._lastMatch = null;
95305 return false;
95306 }
95307 t1.readChar$0();
95308 break c$0;
95309 case 9:
95310 t1.readChar$0();
95311 break c$0;
95312 }
95313 }
95314 t1.set$state(start);
95315 return false;
95316 },
95317 _stylesheet0$_tryUrlContents$2$name(start, $name) {
95318 var t3, t4, buffer, t5, next, endPosition, result, _this = this,
95319 t1 = _this.scanner,
95320 t2 = t1._string_scanner$_position;
95321 if (!t1.scanChar$1(40))
95322 return null;
95323 _this.whitespaceWithoutComments$0();
95324 t3 = new A.StringBuffer("");
95325 t4 = A._setArrayType([], type$.JSArray_Object);
95326 buffer = new A.InterpolationBuffer0(t3, t4);
95327 t5 = "" + ($name == null ? "url" : $name);
95328 t3._contents = t5;
95329 t3._contents = t5 + A.Primitives_stringFromCharCode(40);
95330 for (; true;) {
95331 next = t1.peekChar$0();
95332 if (next == null)
95333 break;
95334 else if (next === 92)
95335 t3._contents += A.S(_this.escape$0());
95336 else {
95337 if (next !== 33)
95338 if (next !== 37)
95339 if (next !== 38)
95340 t5 = next >= 42 && next <= 126 || next >= 128;
95341 else
95342 t5 = true;
95343 else
95344 t5 = true;
95345 else
95346 t5 = true;
95347 if (t5)
95348 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95349 else if (next === 35)
95350 if (t1.peekChar$1(1) === 123) {
95351 t5 = _this.singleInterpolation$0();
95352 buffer._interpolation_buffer0$_flushText$0();
95353 t4.push(t5);
95354 } else
95355 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95356 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
95357 _this.whitespaceWithoutComments$0();
95358 if (t1.peekChar$0() !== 41)
95359 break;
95360 } else if (next === 41) {
95361 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95362 endPosition = t1._string_scanner$_position;
95363 t2 = t1._sourceFile;
95364 t5 = start.position;
95365 t1 = new A._FileSpan(t2, t5, endPosition);
95366 t1._FileSpan$3(t2, t5, endPosition);
95367 t5 = type$.Object;
95368 t2 = A.List_List$of(t4, true, t5);
95369 t4 = t3._contents;
95370 if (t4.length !== 0)
95371 t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
95372 result = A.List_List$from(t2, false, t5);
95373 result.fixed$length = Array;
95374 result.immutable$list = Array;
95375 t3 = new A.Interpolation0(result, t1);
95376 t3.Interpolation$20(t2, t1);
95377 return t3;
95378 } else
95379 break;
95380 }
95381 }
95382 t1.set$state(new A._SpanScannerState(t1, t2));
95383 return null;
95384 },
95385 _stylesheet0$_tryUrlContents$1(start) {
95386 return this._stylesheet0$_tryUrlContents$2$name(start, null);
95387 },
95388 dynamicUrl$0() {
95389 var contents, _this = this,
95390 t1 = _this.scanner,
95391 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
95392 _this.expectIdentifier$1("url");
95393 contents = _this._stylesheet0$_tryUrlContents$1(start);
95394 if (contents != null)
95395 return new A.StringExpression0(contents, false);
95396 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));
95397 },
95398 almostAnyValue$1$omitComments(omitComments) {
95399 var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
95400 t1 = _this.scanner,
95401 t2 = t1._string_scanner$_position,
95402 t3 = new A.StringBuffer(""),
95403 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
95404 $label0$1:
95405 for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
95406 next = t1.peekChar$0();
95407 switch (next) {
95408 case 92:
95409 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95410 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95411 break;
95412 case 34:
95413 case 39:
95414 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
95415 break;
95416 case 47:
95417 commentStart = t1._string_scanner$_position;
95418 if (_this.scanComment$0()) {
95419 if (t6) {
95420 end = t1._string_scanner$_position;
95421 t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
95422 }
95423 } else
95424 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95425 break;
95426 case 35:
95427 if (t1.peekChar$1(1) === 123)
95428 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
95429 else
95430 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95431 break;
95432 case 13:
95433 case 10:
95434 case 12:
95435 if (_this.get$indented())
95436 break $label0$1;
95437 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95438 break;
95439 case 33:
95440 case 59:
95441 case 123:
95442 case 125:
95443 break $label0$1;
95444 case 117:
95445 case 85:
95446 t7 = t1._string_scanner$_position;
95447 if (!_this.scanIdentifier$1("url")) {
95448 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95449 break;
95450 }
95451 contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t7));
95452 if (contents == null) {
95453 if (t7 < 0 || t7 > t5)
95454 A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
95455 t1._string_scanner$_position = t7;
95456 t1._lastMatch = null;
95457 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95458 } else
95459 buffer.addInterpolation$1(contents);
95460 break;
95461 default:
95462 if (next == null)
95463 break $label0$1;
95464 if (_this.lookingAtIdentifier$0())
95465 t3._contents += _this.identifier$0();
95466 else
95467 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95468 break;
95469 }
95470 }
95471 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95472 },
95473 almostAnyValue$0() {
95474 return this.almostAnyValue$1$omitComments(false);
95475 },
95476 _stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
95477 var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
95478 t1 = _this.scanner,
95479 t2 = t1._string_scanner$_position,
95480 t3 = new A.StringBuffer(""),
95481 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object)),
95482 brackets = A._setArrayType([], type$.JSArray_int);
95483 $label0$1:
95484 for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
95485 next = t1.peekChar$0();
95486 switch (next) {
95487 case 92:
95488 t3._contents += A.S(_this.escape$1$identifierStart(true));
95489 wroteNewline = false;
95490 break;
95491 case 34:
95492 case 39:
95493 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
95494 wroteNewline = false;
95495 break;
95496 case 47:
95497 if (t1.peekChar$1(1) === 42) {
95498 t8 = _this.get$loudComment();
95499 start = t1._string_scanner$_position;
95500 t8.call$0();
95501 end = t1._string_scanner$_position;
95502 t3._contents += B.JSString_methods.substring$2(t4, start, end);
95503 } else
95504 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95505 wroteNewline = false;
95506 break;
95507 case 35:
95508 if (t1.peekChar$1(1) === 123)
95509 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
95510 else
95511 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95512 wroteNewline = false;
95513 break;
95514 case 32:
95515 case 9:
95516 if (!wroteNewline) {
95517 t8 = t1.peekChar$1(1);
95518 t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
95519 } else
95520 t8 = true;
95521 if (t8)
95522 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95523 else
95524 t1.readChar$0();
95525 break;
95526 case 10:
95527 case 13:
95528 case 12:
95529 if (_this.get$indented())
95530 break $label0$1;
95531 t8 = t1.peekChar$1(-1);
95532 if (!(t8 === 10 || t8 === 13 || t8 === 12))
95533 t3._contents += "\n";
95534 t1.readChar$0();
95535 wroteNewline = true;
95536 break;
95537 case 40:
95538 case 123:
95539 case 91:
95540 next.toString;
95541 t3._contents += A.Primitives_stringFromCharCode(next);
95542 brackets.push(A.opposite0(t1.readChar$0()));
95543 wroteNewline = false;
95544 break;
95545 case 41:
95546 case 125:
95547 case 93:
95548 if (brackets.length === 0)
95549 break $label0$1;
95550 next.toString;
95551 t3._contents += A.Primitives_stringFromCharCode(next);
95552 t1.expectChar$1(brackets.pop());
95553 wroteNewline = false;
95554 break;
95555 case 59:
95556 if (t7 && brackets.length === 0)
95557 break $label0$1;
95558 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95559 wroteNewline = false;
95560 break;
95561 case 58:
95562 if (t6 && brackets.length === 0)
95563 break $label0$1;
95564 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95565 wroteNewline = false;
95566 break;
95567 case 117:
95568 case 85:
95569 t8 = t1._string_scanner$_position;
95570 if (!_this.scanIdentifier$1("url")) {
95571 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95572 wroteNewline = false;
95573 break;
95574 }
95575 contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t8));
95576 if (contents == null) {
95577 if (t8 < 0 || t8 > t5)
95578 A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
95579 t1._string_scanner$_position = t8;
95580 t1._lastMatch = null;
95581 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95582 } else
95583 buffer.addInterpolation$1(contents);
95584 wroteNewline = false;
95585 break;
95586 default:
95587 if (next == null)
95588 break $label0$1;
95589 if (_this.lookingAtIdentifier$0())
95590 t3._contents += _this.identifier$0();
95591 else
95592 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95593 wroteNewline = false;
95594 break;
95595 }
95596 }
95597 if (brackets.length !== 0)
95598 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
95599 if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
95600 t1.error$1(0, "Expected token.");
95601 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95602 },
95603 _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
95604 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
95605 },
95606 _stylesheet0$_interpolatedDeclarationValue$0() {
95607 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
95608 },
95609 _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
95610 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
95611 },
95612 interpolatedIdentifier$0() {
95613 var first, _this = this,
95614 _s20_ = "Expected identifier.",
95615 t1 = _this.scanner,
95616 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
95617 t2 = new A.StringBuffer(""),
95618 t3 = A._setArrayType([], type$.JSArray_Object),
95619 buffer = new A.InterpolationBuffer0(t2, t3);
95620 if (t1.scanChar$1(45)) {
95621 t2._contents += A.Primitives_stringFromCharCode(45);
95622 if (t1.scanChar$1(45)) {
95623 t2._contents += A.Primitives_stringFromCharCode(45);
95624 _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
95625 return buffer.interpolation$1(t1.spanFrom$1(start));
95626 }
95627 }
95628 first = t1.peekChar$0();
95629 if (first == null)
95630 t1.error$1(0, _s20_);
95631 else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
95632 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95633 else if (first === 92)
95634 t2._contents += A.S(_this.escape$1$identifierStart(true));
95635 else if (first === 35 && t1.peekChar$1(1) === 123) {
95636 t2 = _this.singleInterpolation$0();
95637 buffer._interpolation_buffer0$_flushText$0();
95638 t3.push(t2);
95639 } else
95640 t1.error$1(0, _s20_);
95641 _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
95642 return buffer.interpolation$1(t1.spanFrom$1(start));
95643 },
95644 _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
95645 var t1, t2, t3, next, t4;
95646 for (t1 = buffer._interpolation_buffer0$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer0$_text; true;) {
95647 next = t2.peekChar$0();
95648 if (next == null)
95649 break;
95650 else {
95651 if (next !== 95)
95652 if (next !== 45) {
95653 if (!(next >= 97 && next <= 122))
95654 t4 = next >= 65 && next <= 90;
95655 else
95656 t4 = true;
95657 if (!t4)
95658 t4 = next >= 48 && next <= 57;
95659 else
95660 t4 = true;
95661 t4 = t4 || next >= 128;
95662 } else
95663 t4 = true;
95664 else
95665 t4 = true;
95666 if (t4)
95667 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
95668 else if (next === 92)
95669 t3._contents += A.S(this.escape$0());
95670 else if (next === 35 && t2.peekChar$1(1) === 123) {
95671 t4 = this.singleInterpolation$0();
95672 buffer._interpolation_buffer0$_flushText$0();
95673 t1.push(t4);
95674 } else
95675 break;
95676 }
95677 }
95678 },
95679 singleInterpolation$0() {
95680 var contents, _this = this,
95681 t1 = _this.scanner,
95682 t2 = t1._string_scanner$_position;
95683 t1.expect$1("#{");
95684 _this.whitespace$0();
95685 contents = _this.expression$0();
95686 t1.expectChar$1(125);
95687 if (_this.get$plainCss())
95688 _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95689 return contents;
95690 },
95691 _stylesheet0$_mediaQueryList$0() {
95692 var t4,
95693 t1 = this.scanner,
95694 t2 = t1._string_scanner$_position,
95695 t3 = new A.StringBuffer(""),
95696 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
95697 for (; true;) {
95698 this.whitespace$0();
95699 this._stylesheet0$_mediaQuery$1(buffer);
95700 if (!t1.scanChar$1(44))
95701 break;
95702 t4 = t3._contents += A.Primitives_stringFromCharCode(44);
95703 t3._contents = t4 + A.Primitives_stringFromCharCode(32);
95704 }
95705 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95706 },
95707 _stylesheet0$_mediaQuery$1(buffer) {
95708 var t1, identifier, _this = this;
95709 if (_this.scanner.peekChar$0() !== 40) {
95710 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
95711 _this.whitespace$0();
95712 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
95713 return;
95714 t1 = buffer._interpolation_buffer0$_text;
95715 t1._contents += A.Primitives_stringFromCharCode(32);
95716 identifier = _this.interpolatedIdentifier$0();
95717 _this.whitespace$0();
95718 if (A.equalsIgnoreCase0(identifier.get$asPlain(), "and"))
95719 t1._contents += " and ";
95720 else {
95721 buffer.addInterpolation$1(identifier);
95722 if (_this.scanIdentifier$1("and")) {
95723 _this.whitespace$0();
95724 t1._contents += " and ";
95725 } else
95726 return;
95727 }
95728 }
95729 for (t1 = buffer._interpolation_buffer0$_text; true;) {
95730 _this.whitespace$0();
95731 buffer.addInterpolation$1(_this._stylesheet0$_mediaFeature$0());
95732 _this.whitespace$0();
95733 if (!_this.scanIdentifier$1("and"))
95734 break;
95735 t1._contents += " and ";
95736 }
95737 },
95738 _stylesheet0$_mediaFeature$0() {
95739 var interpolation, t2, t3, t4, buffer, t5, next, t6, _this = this,
95740 t1 = _this.scanner;
95741 if (t1.peekChar$0() === 35) {
95742 interpolation = _this.singleInterpolation$0();
95743 return A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
95744 }
95745 t2 = t1._string_scanner$_position;
95746 t3 = new A.StringBuffer("");
95747 t4 = A._setArrayType([], type$.JSArray_Object);
95748 buffer = new A.InterpolationBuffer0(t3, t4);
95749 t1.expectChar$1(40);
95750 t3._contents += A.Primitives_stringFromCharCode(40);
95751 _this.whitespace$0();
95752 t5 = _this._stylesheet0$_expressionUntilComparison$0();
95753 buffer._interpolation_buffer0$_flushText$0();
95754 t4.push(t5);
95755 if (t1.scanChar$1(58)) {
95756 _this.whitespace$0();
95757 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
95758 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
95759 t5 = _this.expression$0();
95760 buffer._interpolation_buffer0$_flushText$0();
95761 t4.push(t5);
95762 } else {
95763 next = t1.peekChar$0();
95764 t5 = next !== 60;
95765 if (!t5 || next === 62 || next === 61) {
95766 t3._contents += A.Primitives_stringFromCharCode(32);
95767 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
95768 if ((!t5 || next === 62) && t1.scanChar$1(61))
95769 t3._contents += A.Primitives_stringFromCharCode(61);
95770 t3._contents += A.Primitives_stringFromCharCode(32);
95771 _this.whitespace$0();
95772 t6 = _this._stylesheet0$_expressionUntilComparison$0();
95773 buffer._interpolation_buffer0$_flushText$0();
95774 t4.push(t6);
95775 if (!t5 || next === 62) {
95776 next.toString;
95777 t5 = t1.scanChar$1(next);
95778 } else
95779 t5 = false;
95780 if (t5) {
95781 t5 = t3._contents += A.Primitives_stringFromCharCode(32);
95782 t3._contents = t5 + A.Primitives_stringFromCharCode(next);
95783 if (t1.scanChar$1(61))
95784 t3._contents += A.Primitives_stringFromCharCode(61);
95785 t3._contents += A.Primitives_stringFromCharCode(32);
95786 _this.whitespace$0();
95787 t5 = _this._stylesheet0$_expressionUntilComparison$0();
95788 buffer._interpolation_buffer0$_flushText$0();
95789 t4.push(t5);
95790 }
95791 }
95792 }
95793 t1.expectChar$1(41);
95794 _this.whitespace$0();
95795 t3._contents += A.Primitives_stringFromCharCode(41);
95796 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95797 },
95798 _stylesheet0$_expressionUntilComparison$0() {
95799 return this.expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure0(this));
95800 },
95801 _stylesheet0$_supportsCondition$0() {
95802 var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
95803 t1 = _this.scanner,
95804 t2 = t1._string_scanner$_position;
95805 if (_this.scanIdentifier$1("not")) {
95806 _this.whitespace$0();
95807 return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95808 }
95809 condition = _this._stylesheet0$_supportsConditionInParens$0();
95810 _this.whitespace$0();
95811 for (operator = null; _this.lookingAtIdentifier$0();) {
95812 if (operator != null)
95813 _this.expectIdentifier$1(operator);
95814 else if (_this.scanIdentifier$1("or"))
95815 operator = "or";
95816 else {
95817 _this.expectIdentifier$1("and");
95818 operator = "and";
95819 }
95820 _this.whitespace$0();
95821 right = _this._stylesheet0$_supportsConditionInParens$0();
95822 endPosition = t1._string_scanner$_position;
95823 t3 = t1._sourceFile;
95824 t4 = new A._FileSpan(t3, t2, endPosition);
95825 t4._FileSpan$3(t3, t2, endPosition);
95826 condition = new A.SupportsOperation0(condition, right, operator, t4);
95827 lowerOperator = operator.toLowerCase();
95828 if (lowerOperator !== "and" && lowerOperator !== "or")
95829 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
95830 _this.whitespace$0();
95831 }
95832 return condition;
95833 },
95834 _stylesheet0$_supportsConditionInParens$0() {
95835 var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
95836 t1 = _this.scanner,
95837 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
95838 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
95839 identifier0 = _this.interpolatedIdentifier$0();
95840 t2 = identifier0.get$asPlain();
95841 if ((t2 == null ? null : t2.toLowerCase()) === "not")
95842 _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
95843 if (t1.scanChar$1(40)) {
95844 $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
95845 t1.expectChar$1(41);
95846 return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
95847 } else {
95848 t2 = identifier0.contents;
95849 if (t2.length !== 1 || !type$.Expression_2._is(B.JSArray_methods.get$first(t2)))
95850 _this.error$2(0, "Expected @supports condition.", identifier0.span);
95851 else
95852 return new A.SupportsInterpolation0(type$.Expression_2._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
95853 }
95854 }
95855 t1.expectChar$1(40);
95856 _this.whitespace$0();
95857 if (_this.scanIdentifier$1("not")) {
95858 _this.whitespace$0();
95859 condition = _this._stylesheet0$_supportsConditionInParens$0();
95860 t1.expectChar$1(41);
95861 return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
95862 } else if (t1.peekChar$0() === 40) {
95863 condition = _this._stylesheet0$_supportsCondition$0();
95864 t1.expectChar$1(41);
95865 return condition;
95866 }
95867 $name = null;
95868 nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
95869 wasInParentheses = _this._stylesheet0$_inParentheses;
95870 try {
95871 $name = _this.expression$0();
95872 t1.expectChar$1(58);
95873 } catch (exception) {
95874 if (type$.FormatException._is(A.unwrapException(exception))) {
95875 t1.set$state(nameStart);
95876 _this._stylesheet0$_inParentheses = wasInParentheses;
95877 identifier = _this.interpolatedIdentifier$0();
95878 operation = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
95879 if (operation != null) {
95880 t1.expectChar$1(41);
95881 return operation;
95882 }
95883 t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
95884 t2.addInterpolation$1(identifier);
95885 t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
95886 contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
95887 if (t1.peekChar$0() === 58)
95888 throw exception;
95889 t1.expectChar$1(41);
95890 return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
95891 } else
95892 throw exception;
95893 }
95894 declaration = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
95895 t1.expectChar$1(41);
95896 return declaration;
95897 },
95898 _stylesheet0$_supportsDeclarationValue$2($name, start) {
95899 var value, _this = this;
95900 if ($name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
95901 value = new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false);
95902 else {
95903 _this.whitespace$0();
95904 value = _this.expression$0();
95905 }
95906 return new A.SupportsDeclaration0($name, value, _this.scanner.spanFrom$1(start));
95907 },
95908 _stylesheet0$_trySupportsOperation$2(interpolation, start) {
95909 var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
95910 t1 = interpolation.contents;
95911 if (t1.length !== 1)
95912 return _null;
95913 expression = B.JSArray_methods.get$first(t1);
95914 if (!type$.Expression_2._is(expression))
95915 return _null;
95916 t1 = _this.scanner;
95917 beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
95918 _this.whitespace$0();
95919 for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
95920 if (operator != null)
95921 _this.expectIdentifier$1(operator);
95922 else if (_this.scanIdentifier$1("and"))
95923 operator = "and";
95924 else {
95925 if (!_this.scanIdentifier$1("or")) {
95926 if (beforeWhitespace._scanner !== t1)
95927 A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
95928 t2 = beforeWhitespace.position;
95929 if (t2 < 0 || t2 > t1.string.length)
95930 A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
95931 t1._string_scanner$_position = t2;
95932 return t1._lastMatch = null;
95933 }
95934 operator = "or";
95935 }
95936 _this.whitespace$0();
95937 right = _this._stylesheet0$_supportsConditionInParens$0();
95938 t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
95939 endPosition = t1._string_scanner$_position;
95940 t5 = t1._sourceFile;
95941 t6 = new A._FileSpan(t5, t2, endPosition);
95942 t6._FileSpan$3(t5, t2, endPosition);
95943 operation = new A.SupportsOperation0(t4, right, operator, t6);
95944 lowerOperator = operator.toLowerCase();
95945 if (lowerOperator !== "and" && lowerOperator !== "or")
95946 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
95947 _this.whitespace$0();
95948 }
95949 return operation;
95950 },
95951 _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
95952 var second,
95953 t1 = this.scanner,
95954 first = t1.peekChar$0();
95955 if (first == null)
95956 return false;
95957 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
95958 return true;
95959 if (first === 35)
95960 return t1.peekChar$1(1) === 123;
95961 if (first !== 45)
95962 return false;
95963 second = t1.peekChar$1(1);
95964 if (second == null)
95965 return false;
95966 if (second === 35)
95967 return t1.peekChar$1(2) === 123;
95968 return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
95969 },
95970 _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
95971 var t1 = this.scanner,
95972 first = t1.peekChar$0();
95973 if (first == null)
95974 return false;
95975 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || A.isDigit0(first) || first === 45 || first === 92)
95976 return true;
95977 return first === 35 && t1.peekChar$1(1) === 123;
95978 },
95979 _stylesheet0$_lookingAtExpression$0() {
95980 var next,
95981 t1 = this.scanner,
95982 character = t1.peekChar$0();
95983 if (character == null)
95984 return false;
95985 if (character === 46)
95986 return t1.peekChar$1(1) !== 46;
95987 if (character === 33) {
95988 next = t1.peekChar$1(1);
95989 if (next != null)
95990 if ((next | 32) >>> 0 !== 105)
95991 t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
95992 else
95993 t1 = true;
95994 else
95995 t1 = true;
95996 return t1;
95997 }
95998 if (character !== 40)
95999 if (character !== 47)
96000 if (character !== 91)
96001 if (character !== 39)
96002 if (character !== 34)
96003 if (character !== 35)
96004 if (character !== 43)
96005 if (character !== 45)
96006 if (character !== 92)
96007 if (character !== 36)
96008 if (character !== 38)
96009 t1 = character === 95 || A.isAlphabetic1(character) || character >= 128 || A.isDigit0(character);
96010 else
96011 t1 = true;
96012 else
96013 t1 = true;
96014 else
96015 t1 = true;
96016 else
96017 t1 = true;
96018 else
96019 t1 = true;
96020 else
96021 t1 = true;
96022 else
96023 t1 = true;
96024 else
96025 t1 = true;
96026 else
96027 t1 = true;
96028 else
96029 t1 = true;
96030 else
96031 t1 = true;
96032 return t1;
96033 },
96034 _stylesheet0$_withChildren$1$3(child, start, create) {
96035 var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
96036 this.whitespaceWithoutComments$0();
96037 return result;
96038 },
96039 _stylesheet0$_withChildren$3(child, start, create) {
96040 return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
96041 },
96042 _stylesheet0$_urlString$0() {
96043 var innerError, stackTrace, t2, exception,
96044 t1 = this.scanner,
96045 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
96046 url = this.string$0();
96047 try {
96048 t2 = A.Uri_parse(url);
96049 return t2;
96050 } catch (exception) {
96051 t2 = A.unwrapException(exception);
96052 if (type$.FormatException._is(t2)) {
96053 innerError = t2;
96054 stackTrace = A.getTraceFromException(exception);
96055 this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
96056 } else
96057 throw exception;
96058 }
96059 },
96060 _stylesheet0$_publicIdentifier$0() {
96061 var _this = this,
96062 t1 = _this.scanner,
96063 t2 = t1._string_scanner$_position,
96064 result = _this.identifier$1$normalize(true);
96065 _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
96066 return result;
96067 },
96068 _stylesheet0$_assertPublic$2(identifier, span) {
96069 var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
96070 if (!(first === 45 || first === 95))
96071 return;
96072 this.error$2(0, string$.Privat, span.call$0());
96073 },
96074 get$plainCss() {
96075 return false;
96076 }
96077 };
96078 A.StylesheetParser_parse_closure0.prototype = {
96079 call$0() {
96080 var statements, t4,
96081 t1 = this.$this,
96082 t2 = t1.scanner,
96083 t3 = t2._string_scanner$_position;
96084 t2.scanChar$1(65279);
96085 statements = t1.statements$1(new A.StylesheetParser_parse__closure1(t1));
96086 t2.expectDone$0();
96087 t4 = t1._stylesheet0$_globalVariables;
96088 t4 = t4.get$values(t4);
96089 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));
96090 return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
96091 },
96092 $signature: 542
96093 };
96094 A.StylesheetParser_parse__closure1.prototype = {
96095 call$0() {
96096 var t1 = this.$this;
96097 if (t1.scanner.scan$1("@charset")) {
96098 t1.whitespace$0();
96099 t1.string$0();
96100 return null;
96101 }
96102 return t1._stylesheet0$_statement$1$root(true);
96103 },
96104 $signature: 543
96105 };
96106 A.StylesheetParser_parse__closure2.prototype = {
96107 call$1(declaration) {
96108 var t1 = declaration.name,
96109 t2 = declaration.expression;
96110 return A.VariableDeclaration$0(t1, new A.NullExpression0(t2.get$span(t2)), declaration.span, null, false, true, null);
96111 },
96112 $signature: 544
96113 };
96114 A.StylesheetParser_parseArgumentDeclaration_closure0.prototype = {
96115 call$0() {
96116 var $arguments,
96117 t1 = this.$this,
96118 t2 = t1.scanner;
96119 t2.expectChar$2$name(64, "@-rule");
96120 t1.identifier$0();
96121 t1.whitespace$0();
96122 t1.identifier$0();
96123 $arguments = t1._stylesheet0$_argumentDeclaration$0();
96124 t1.whitespace$0();
96125 t2.expectChar$1(123);
96126 return $arguments;
96127 },
96128 $signature: 545
96129 };
96130 A.StylesheetParser__parseSingleProduction_closure0.prototype = {
96131 call$0() {
96132 var result = this.production.call$0();
96133 this.$this.scanner.expectDone$0();
96134 return result;
96135 },
96136 $signature() {
96137 return this.T._eval$1("0()");
96138 }
96139 };
96140 A.StylesheetParser_parseSignature_closure.prototype = {
96141 call$0() {
96142 var $arguments, t2, t3,
96143 t1 = this.$this,
96144 $name = t1.identifier$0();
96145 t1.whitespace$0();
96146 if (this.requireParens || t1.scanner.peekChar$0() === 40)
96147 $arguments = t1._stylesheet0$_argumentDeclaration$0();
96148 else {
96149 t2 = t1.scanner;
96150 t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
96151 t3 = t2.offset;
96152 $arguments = new A.ArgumentDeclaration0(B.List_empty18, null, A._FileSpan$(t2.file, t3, t3));
96153 }
96154 t1.scanner.expectDone$0();
96155 return new A.Tuple2($name, $arguments, type$.Tuple2_String_ArgumentDeclaration);
96156 },
96157 $signature: 546
96158 };
96159 A.StylesheetParser__statement_closure0.prototype = {
96160 call$0() {
96161 return this.$this._stylesheet0$_statement$0();
96162 },
96163 $signature: 141
96164 };
96165 A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
96166 call$0() {
96167 return this.$this.scanner.spanFrom$1(this.start);
96168 },
96169 $signature: 31
96170 };
96171 A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
96172 call$0() {
96173 return this.declaration;
96174 },
96175 $signature: 547
96176 };
96177 A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
96178 call$2(children, span) {
96179 return A.Declaration$nested0(this.name, children, span, null);
96180 },
96181 $signature: 71
96182 };
96183 A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
96184 call$2(children, span) {
96185 return A.Declaration$nested0(this.name, children, span, this._box_0.value);
96186 },
96187 $signature: 71
96188 };
96189 A.StylesheetParser__styleRule_closure0.prototype = {
96190 call$2(children, span) {
96191 var _this = this,
96192 t1 = _this.$this;
96193 if (t1.get$indented() && children.length === 0)
96194 t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
96195 t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
96196 return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
96197 },
96198 $signature: 549
96199 };
96200 A.StylesheetParser__propertyOrVariableDeclaration_closure1.prototype = {
96201 call$2(children, span) {
96202 return A.Declaration$nested0(this._box_0.name, children, span, null);
96203 },
96204 $signature: 71
96205 };
96206 A.StylesheetParser__propertyOrVariableDeclaration_closure2.prototype = {
96207 call$2(children, span) {
96208 return A.Declaration$nested0(this._box_0.name, children, span, this.value);
96209 },
96210 $signature: 71
96211 };
96212 A.StylesheetParser__atRootRule_closure1.prototype = {
96213 call$2(children, span) {
96214 return A.AtRootRule$0(children, span, this.query);
96215 },
96216 $signature: 254
96217 };
96218 A.StylesheetParser__atRootRule_closure2.prototype = {
96219 call$2(children, span) {
96220 return A.AtRootRule$0(children, span, null);
96221 },
96222 $signature: 254
96223 };
96224 A.StylesheetParser__eachRule_closure0.prototype = {
96225 call$2(children, span) {
96226 var _this = this;
96227 _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
96228 return A.EachRule$0(_this.variables, _this.list, children, span);
96229 },
96230 $signature: 551
96231 };
96232 A.StylesheetParser__functionRule_closure0.prototype = {
96233 call$2(children, span) {
96234 return A.FunctionRule$0(this.name, this.$arguments, children, span, this.precedingComment);
96235 },
96236 $signature: 552
96237 };
96238 A.StylesheetParser__forRule_closure1.prototype = {
96239 call$0() {
96240 var t1 = this.$this;
96241 if (!t1.lookingAtIdentifier$0())
96242 return false;
96243 if (t1.scanIdentifier$1("to"))
96244 return this._box_0.exclusive = true;
96245 else if (t1.scanIdentifier$1("through")) {
96246 this._box_0.exclusive = false;
96247 return true;
96248 } else
96249 return false;
96250 },
96251 $signature: 29
96252 };
96253 A.StylesheetParser__forRule_closure2.prototype = {
96254 call$2(children, span) {
96255 var t1, _this = this;
96256 _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
96257 t1 = _this._box_0.exclusive;
96258 t1.toString;
96259 return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
96260 },
96261 $signature: 553
96262 };
96263 A.StylesheetParser__memberList_closure0.prototype = {
96264 call$0() {
96265 var t1 = this.$this;
96266 if (t1.scanner.peekChar$0() === 36)
96267 this.variables.add$1(0, t1.variableName$0());
96268 else
96269 this.identifiers.add$1(0, t1.identifier$1$normalize(true));
96270 },
96271 $signature: 1
96272 };
96273 A.StylesheetParser__includeRule_closure0.prototype = {
96274 call$2(children, span) {
96275 return A.ContentBlock$0(this.contentArguments_, children, span);
96276 },
96277 $signature: 554
96278 };
96279 A.StylesheetParser_mediaRule_closure0.prototype = {
96280 call$2(children, span) {
96281 return A.MediaRule$0(this.query, children, span);
96282 },
96283 $signature: 555
96284 };
96285 A.StylesheetParser__mixinRule_closure0.prototype = {
96286 call$2(children, span) {
96287 var _this = this;
96288 _this.$this._stylesheet0$_inMixin = false;
96289 return A.MixinRule$0(_this.name, _this.$arguments, children, span, _this.precedingComment);
96290 },
96291 $signature: 556
96292 };
96293 A.StylesheetParser_mozDocumentRule_closure0.prototype = {
96294 call$2(children, span) {
96295 var _this = this;
96296 if (_this._box_0.needsDeprecationWarning)
96297 _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
96298 return A.AtRule$0(_this.name, span, children, _this.value);
96299 },
96300 $signature: 255
96301 };
96302 A.StylesheetParser_supportsRule_closure0.prototype = {
96303 call$2(children, span) {
96304 return A.SupportsRule$0(this.condition, children, span);
96305 },
96306 $signature: 558
96307 };
96308 A.StylesheetParser__whileRule_closure0.prototype = {
96309 call$2(children, span) {
96310 this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
96311 return A.WhileRule$0(this.condition, children, span);
96312 },
96313 $signature: 559
96314 };
96315 A.StylesheetParser_unknownAtRule_closure0.prototype = {
96316 call$2(children, span) {
96317 return A.AtRule$0(this.name, span, children, this._box_0.value);
96318 },
96319 $signature: 255
96320 };
96321 A.StylesheetParser_expression_resetState0.prototype = {
96322 call$0() {
96323 var t2,
96324 t1 = this._box_0;
96325 t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
96326 t2 = this.$this;
96327 t2.scanner.set$state(this.start);
96328 t1.allowSlash = true;
96329 t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
96330 },
96331 $signature: 0
96332 };
96333 A.StylesheetParser_expression_resolveOneOperation0.prototype = {
96334 call$0() {
96335 var t2, t3,
96336 t1 = this._box_0,
96337 operator = t1.operators_.pop(),
96338 left = t1.operands_.pop(),
96339 right = t1.singleExpression_;
96340 if (right == null) {
96341 t2 = this.$this.scanner;
96342 t3 = operator.operator.length;
96343 t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
96344 }
96345 if (t1.allowSlash) {
96346 t2 = this.$this;
96347 t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_RTB0 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
96348 } else
96349 t2 = false;
96350 if (t2)
96351 t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_RTB0, left, right, true);
96352 else {
96353 t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
96354 t1.allowSlash = false;
96355 }
96356 },
96357 $signature: 0
96358 };
96359 A.StylesheetParser_expression_resolveOperations0.prototype = {
96360 call$0() {
96361 var t1,
96362 operators = this._box_0.operators_;
96363 if (operators == null)
96364 return;
96365 for (t1 = this.resolveOneOperation; operators.length !== 0;)
96366 t1.call$0();
96367 },
96368 $signature: 0
96369 };
96370 A.StylesheetParser_expression_addSingleExpression0.prototype = {
96371 call$1(expression) {
96372 var t2, spaceExpressions, _this = this,
96373 t1 = _this._box_0;
96374 if (t1.singleExpression_ != null) {
96375 t2 = _this.$this;
96376 if (t2._stylesheet0$_inParentheses) {
96377 t2._stylesheet0$_inParentheses = false;
96378 if (t1.allowSlash) {
96379 _this.resetState.call$0();
96380 return;
96381 }
96382 }
96383 spaceExpressions = t1.spaceExpressions_;
96384 if (spaceExpressions == null)
96385 spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
96386 _this.resolveOperations.call$0();
96387 t2 = t1.singleExpression_;
96388 t2.toString;
96389 spaceExpressions.push(t2);
96390 t1.allowSlash = true;
96391 }
96392 t1.singleExpression_ = expression;
96393 },
96394 $signature: 560
96395 };
96396 A.StylesheetParser_expression_addOperator0.prototype = {
96397 call$1(operator) {
96398 var t2, t3, operators, operands, t4, singleExpression,
96399 t1 = this.$this;
96400 if (t1.get$plainCss() && operator !== B.BinaryOperator_RTB0 && operator !== B.BinaryOperator_kjl0) {
96401 t2 = t1.scanner;
96402 t3 = operator.operator.length;
96403 t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
96404 }
96405 t2 = this._box_0;
96406 t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_RTB0;
96407 operators = t2.operators_;
96408 if (operators == null)
96409 operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
96410 operands = t2.operands_;
96411 if (operands == null)
96412 operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
96413 t3 = this.resolveOneOperation;
96414 t4 = operator.precedence;
96415 while (true) {
96416 if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
96417 break;
96418 t3.call$0();
96419 }
96420 operators.push(operator);
96421 singleExpression = t2.singleExpression_;
96422 if (singleExpression == null) {
96423 t3 = t1.scanner;
96424 t4 = operator.operator.length;
96425 t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
96426 }
96427 operands.push(singleExpression);
96428 t1.whitespace$0();
96429 t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
96430 },
96431 $signature: 561
96432 };
96433 A.StylesheetParser_expression_resolveSpaceExpressions0.prototype = {
96434 call$0() {
96435 var t1, spaceExpressions, singleExpression, t2;
96436 this.resolveOperations.call$0();
96437 t1 = this._box_0;
96438 spaceExpressions = t1.spaceExpressions_;
96439 if (spaceExpressions != null) {
96440 singleExpression = t1.singleExpression_;
96441 if (singleExpression == null)
96442 this.$this.scanner.error$1(0, "Expected expression.");
96443 spaceExpressions.push(singleExpression);
96444 t2 = B.JSArray_methods.get$first(spaceExpressions);
96445 t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
96446 t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_woc0, false, t2);
96447 t1.spaceExpressions_ = null;
96448 }
96449 },
96450 $signature: 0
96451 };
96452 A.StylesheetParser__expressionUntilComma_closure0.prototype = {
96453 call$0() {
96454 return this.$this.scanner.peekChar$0() === 44;
96455 },
96456 $signature: 29
96457 };
96458 A.StylesheetParser__unicodeRange_closure1.prototype = {
96459 call$1(char) {
96460 return char != null && A.isHex0(char);
96461 },
96462 $signature: 33
96463 };
96464 A.StylesheetParser__unicodeRange_closure2.prototype = {
96465 call$1(char) {
96466 return char != null && A.isHex0(char);
96467 },
96468 $signature: 33
96469 };
96470 A.StylesheetParser_namespacedExpression_closure0.prototype = {
96471 call$0() {
96472 return this.$this.scanner.spanFrom$1(this.start);
96473 },
96474 $signature: 31
96475 };
96476 A.StylesheetParser_trySpecialFunction_closure0.prototype = {
96477 call$1(contents) {
96478 return new A.StringExpression0(contents, false);
96479 },
96480 $signature: 562
96481 };
96482 A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
96483 call$0() {
96484 var t1 = this.$this.scanner,
96485 next = t1.peekChar$0();
96486 if (next === 61)
96487 return t1.peekChar$1(1) !== 61;
96488 return next === 60 || next === 62;
96489 },
96490 $signature: 29
96491 };
96492 A.StylesheetParser__publicIdentifier_closure0.prototype = {
96493 call$0() {
96494 return this.$this.scanner.spanFrom$1(this.start);
96495 },
96496 $signature: 31
96497 };
96498 A.Stylesheet0.prototype = {
96499 Stylesheet$internal$3$plainCss0(children, span, plainCss) {
96500 var t1, t2, t3, t4, _i, child;
96501 for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
96502 child = t1[_i];
96503 if (child instanceof A.UseRule0)
96504 t4.push(child);
96505 else if (child instanceof A.ForwardRule0)
96506 t3.push(child);
96507 else if (!(child instanceof A.SilentComment0) && !(child instanceof A.LoudComment0) && !(child instanceof A.VariableDeclaration0))
96508 break;
96509 }
96510 },
96511 accept$1$1(visitor) {
96512 return visitor.visitStylesheet$1(this);
96513 },
96514 accept$1(visitor) {
96515 return this.accept$1$1(visitor, type$.dynamic);
96516 },
96517 toString$0(_) {
96518 var t1 = this.children;
96519 return (t1 && B.JSArray_methods).join$1(t1, " ");
96520 },
96521 get$span(receiver) {
96522 return this.span;
96523 }
96524 };
96525 A.ModifiableCssSupportsRule0.prototype = {
96526 accept$1$1(visitor) {
96527 return visitor.visitCssSupportsRule$1(this);
96528 },
96529 accept$1(visitor) {
96530 return this.accept$1$1(visitor, type$.dynamic);
96531 },
96532 copyWithoutChildren$0() {
96533 return A.ModifiableCssSupportsRule$0(this.condition, this.span);
96534 },
96535 $isCssSupportsRule0: 1,
96536 get$span(receiver) {
96537 return this.span;
96538 }
96539 };
96540 A.SupportsRule0.prototype = {
96541 accept$1$1(visitor) {
96542 return visitor.visitSupportsRule$1(this);
96543 },
96544 accept$1(visitor) {
96545 return this.accept$1$1(visitor, type$.dynamic);
96546 },
96547 toString$0(_) {
96548 var t1 = this.children;
96549 return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
96550 },
96551 get$span(receiver) {
96552 return this.span;
96553 }
96554 };
96555 A.NodeToDartImporter.prototype = {
96556 canonicalize$1(_, url) {
96557 var t1,
96558 result = this._sync$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
96559 if (result == null)
96560 return null;
96561 t1 = self.URL;
96562 if (result instanceof t1)
96563 return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
96564 t1 = self.Promise;
96565 if (result instanceof t1)
96566 A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
96567 else
96568 A.jsThrow(new self.Error(string$.The_ca));
96569 },
96570 load$1(_, url) {
96571 var t1, contents, syntax, t2,
96572 result = this._sync$_load.call$1(new self.URL(url.toString$0(0)));
96573 if (result == null)
96574 return null;
96575 t1 = self.Promise;
96576 if (result instanceof t1)
96577 A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
96578 type$.NodeImporterResult._as(result);
96579 t1 = J.getInterceptor$x(result);
96580 contents = t1.get$contents(result);
96581 syntax = t1.get$syntax(result);
96582 if (contents == null || syntax == null)
96583 A.jsThrow(new self.Error(string$.The_lo));
96584 t2 = A.parseSyntax(syntax);
96585 return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
96586 }
96587 };
96588 A.Syntax0.prototype = {
96589 toString$0(_) {
96590 return this._syntax0$_name;
96591 }
96592 };
96593 A.TerseLogger0.prototype = {
96594 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
96595 var firstParagraph, t1, t2, count;
96596 if (deprecation) {
96597 firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
96598 t1 = this._terse$_warningCounts;
96599 t2 = t1.$index(0, firstParagraph);
96600 count = (t2 == null ? 0 : t2) + 1;
96601 t1.$indexSet(0, firstParagraph, count);
96602 if (count > 5)
96603 return;
96604 }
96605 this._terse$_inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
96606 },
96607 warn$2$span($receiver, message, span) {
96608 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
96609 },
96610 warn$2$deprecation($receiver, message, deprecation) {
96611 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
96612 },
96613 warn$3$deprecation$span($receiver, message, deprecation, span) {
96614 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
96615 },
96616 warn$2$trace($receiver, message, trace) {
96617 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
96618 },
96619 debug$2(_, message, span) {
96620 return this._terse$_inner.debug$2(0, message, span);
96621 },
96622 summarize$1$node(node) {
96623 var t2, total,
96624 t1 = this._terse$_warningCounts;
96625 t1 = t1.get$values(t1);
96626 t2 = A._instanceType(t1);
96627 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>")));
96628 if (total > 0) {
96629 t1 = "" + total + string$.x20repet;
96630 this._terse$_inner.warn$1(0, t1 + (node ? "" : string$.x0aRun_i));
96631 }
96632 }
96633 };
96634 A.TerseLogger_summarize_closure1.prototype = {
96635 call$1(count) {
96636 return count > 5;
96637 },
96638 $signature: 58
96639 };
96640 A.TerseLogger_summarize_closure2.prototype = {
96641 call$1(count) {
96642 return count - 5;
96643 },
96644 $signature: 219
96645 };
96646 A.TypeSelector0.prototype = {
96647 get$minSpecificity() {
96648 return 1;
96649 },
96650 accept$1$1(visitor) {
96651 visitor._serialize0$_buffer.write$1(0, this.name);
96652 return null;
96653 },
96654 accept$1(visitor) {
96655 return this.accept$1$1(visitor, type$.dynamic);
96656 },
96657 addSuffix$1(suffix) {
96658 var t1 = this.name;
96659 return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace));
96660 },
96661 unify$1(compound) {
96662 var unified, t1;
96663 if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector0 || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector0) {
96664 unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
96665 if (unified == null)
96666 return null;
96667 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
96668 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
96669 return t1;
96670 } else {
96671 t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
96672 B.JSArray_methods.addAll$1(t1, compound);
96673 return t1;
96674 }
96675 },
96676 $eq(_, other) {
96677 if (other == null)
96678 return false;
96679 return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
96680 },
96681 get$hashCode(_) {
96682 var t1 = this.name;
96683 return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
96684 }
96685 };
96686 A.Types.prototype = {};
96687 A.UnaryOperationExpression0.prototype = {
96688 accept$1$1(visitor) {
96689 return visitor.visitUnaryOperationExpression$1(this);
96690 },
96691 accept$1(visitor) {
96692 return this.accept$1$1(visitor, type$.dynamic);
96693 },
96694 toString$0(_) {
96695 var t1 = this.operator,
96696 t2 = t1.operator;
96697 t1 = t1 === B.UnaryOperator_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
96698 t1 += this.operand.toString$0(0);
96699 return t1.charCodeAt(0) == 0 ? t1 : t1;
96700 },
96701 $isExpression0: 1,
96702 $isAstNode0: 1,
96703 get$span(receiver) {
96704 return this.span;
96705 }
96706 };
96707 A.UnaryOperator0.prototype = {
96708 toString$0(_) {
96709 return this.name;
96710 }
96711 };
96712 A.UnitlessSassNumber0.prototype = {
96713 get$numeratorUnits(_) {
96714 return B.List_empty;
96715 },
96716 get$denominatorUnits(_) {
96717 return B.List_empty;
96718 },
96719 get$hasUnits() {
96720 return false;
96721 },
96722 withValue$1(value) {
96723 return new A.UnitlessSassNumber0(value, null);
96724 },
96725 withSlash$2(numerator, denominator) {
96726 return new A.UnitlessSassNumber0(this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
96727 },
96728 hasUnit$1(unit) {
96729 return false;
96730 },
96731 hasCompatibleUnits$1(other) {
96732 return other instanceof A.UnitlessSassNumber0;
96733 },
96734 hasPossiblyCompatibleUnits$1(other) {
96735 return other instanceof A.UnitlessSassNumber0;
96736 },
96737 compatibleWithUnit$1(unit) {
96738 return true;
96739 },
96740 coerceToMatch$3(other, $name, otherName) {
96741 return other.withValue$1(this._number1$_value);
96742 },
96743 coerceValueToMatch$3(other, $name, otherName) {
96744 return this._number1$_value;
96745 },
96746 coerceValueToMatch$1(other) {
96747 return this.coerceValueToMatch$3(other, null, null);
96748 },
96749 convertToMatch$3(other, $name, otherName) {
96750 return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
96751 },
96752 convertValueToMatch$3(other, $name, otherName) {
96753 return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
96754 },
96755 coerce$3(newNumerators, newDenominators, $name) {
96756 return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
96757 },
96758 coerce$2(newNumerators, newDenominators) {
96759 return this.coerce$3(newNumerators, newDenominators, null);
96760 },
96761 coerceValue$3(newNumerators, newDenominators, $name) {
96762 return this._number1$_value;
96763 },
96764 coerceValueToUnit$2(unit, $name) {
96765 return this._number1$_value;
96766 },
96767 greaterThan$1(other) {
96768 var t1, t2;
96769 if (other instanceof A.SassNumber0) {
96770 t1 = this._number1$_value;
96771 t2 = other._number1$_value;
96772 return t1 > t2 && !(Math.abs(t1 - t2) < $.$get$epsilon0()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
96773 }
96774 return this.super$SassNumber$greaterThan0(other);
96775 },
96776 greaterThanOrEquals$1(other) {
96777 var t1, t2;
96778 if (other instanceof A.SassNumber0) {
96779 t1 = this._number1$_value;
96780 t2 = other._number1$_value;
96781 return t1 > t2 || Math.abs(t1 - t2) < $.$get$epsilon0() ? B.SassBoolean_true0 : B.SassBoolean_false0;
96782 }
96783 return this.super$SassNumber$greaterThanOrEquals0(other);
96784 },
96785 lessThan$1(other) {
96786 var t1, t2;
96787 if (other instanceof A.SassNumber0) {
96788 t1 = this._number1$_value;
96789 t2 = other._number1$_value;
96790 return t1 < t2 && !(Math.abs(t1 - t2) < $.$get$epsilon0()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
96791 }
96792 return this.super$SassNumber$lessThan0(other);
96793 },
96794 lessThanOrEquals$1(other) {
96795 var t1, t2;
96796 if (other instanceof A.SassNumber0) {
96797 t1 = this._number1$_value;
96798 t2 = other._number1$_value;
96799 return t1 < t2 || Math.abs(t1 - t2) < $.$get$epsilon0() ? B.SassBoolean_true0 : B.SassBoolean_false0;
96800 }
96801 return this.super$SassNumber$lessThanOrEquals0(other);
96802 },
96803 modulo$1(other) {
96804 if (other instanceof A.SassNumber0)
96805 return other.withValue$1(this.moduloLikeSass$2(this._number1$_value, other._number1$_value));
96806 return this.super$SassNumber$modulo0(other);
96807 },
96808 plus$1(other) {
96809 if (other instanceof A.SassNumber0)
96810 return other.withValue$1(this._number1$_value + other._number1$_value);
96811 return this.super$SassNumber$plus0(other);
96812 },
96813 minus$1(other) {
96814 if (other instanceof A.SassNumber0)
96815 return other.withValue$1(this._number1$_value - other._number1$_value);
96816 return this.super$SassNumber$minus0(other);
96817 },
96818 times$1(other) {
96819 if (other instanceof A.SassNumber0)
96820 return other.withValue$1(this._number1$_value * other._number1$_value);
96821 return this.super$SassNumber$times0(other);
96822 },
96823 dividedBy$1(other) {
96824 var t1, t2;
96825 if (other instanceof A.SassNumber0) {
96826 t1 = this._number1$_value / other._number1$_value;
96827 if (other.get$hasUnits()) {
96828 t2 = other.get$denominatorUnits(other);
96829 t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
96830 t1 = t2;
96831 } else
96832 t1 = new A.UnitlessSassNumber0(t1, null);
96833 return t1;
96834 }
96835 return this.super$SassNumber$dividedBy0(other);
96836 },
96837 unaryMinus$0() {
96838 return new A.UnitlessSassNumber0(-this._number1$_value, null);
96839 },
96840 $eq(_, other) {
96841 if (other == null)
96842 return false;
96843 return other instanceof A.UnitlessSassNumber0 && Math.abs(this._number1$_value - other._number1$_value) < $.$get$epsilon0();
96844 },
96845 get$hashCode(_) {
96846 var t1 = this.hashCache;
96847 return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
96848 }
96849 };
96850 A.UniversalSelector0.prototype = {
96851 get$minSpecificity() {
96852 return 0;
96853 },
96854 accept$1$1(visitor) {
96855 var t2,
96856 t1 = this.namespace;
96857 if (t1 != null) {
96858 t2 = visitor._serialize0$_buffer;
96859 t2.write$1(0, t1);
96860 t2.writeCharCode$1(124);
96861 }
96862 visitor._serialize0$_buffer.writeCharCode$1(42);
96863 return null;
96864 },
96865 accept$1(visitor) {
96866 return this.accept$1$1(visitor, type$.dynamic);
96867 },
96868 unify$1(compound) {
96869 var unified, t1, _this = this,
96870 first = B.JSArray_methods.get$first(compound);
96871 if (first instanceof A.UniversalSelector0 || first instanceof A.TypeSelector0) {
96872 unified = A.unifyUniversalAndElement0(_this, first);
96873 if (unified == null)
96874 return null;
96875 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
96876 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
96877 return t1;
96878 } else {
96879 if (compound.length === 1)
96880 if (first instanceof A.PseudoSelector0)
96881 t1 = first.isClass && first.name === "host" || first.get$isHostContext();
96882 else
96883 t1 = false;
96884 else
96885 t1 = false;
96886 if (t1)
96887 return null;
96888 }
96889 t1 = _this.namespace;
96890 if (t1 != null && t1 !== "*") {
96891 t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
96892 B.JSArray_methods.addAll$1(t1, compound);
96893 return t1;
96894 }
96895 if (compound.length !== 0)
96896 return compound;
96897 return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
96898 },
96899 $eq(_, other) {
96900 if (other == null)
96901 return false;
96902 return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
96903 },
96904 get$hashCode(_) {
96905 return J.get$hashCode$(this.namespace);
96906 }
96907 };
96908 A.UnprefixedMapView0.prototype = {
96909 get$keys(_) {
96910 return new A._UnprefixedKeys0(this);
96911 },
96912 $index(_, key) {
96913 return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
96914 },
96915 containsKey$1(key) {
96916 return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
96917 },
96918 remove$1(_, key) {
96919 return typeof key == "string" ? this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key) : null;
96920 }
96921 };
96922 A._UnprefixedKeys0.prototype = {
96923 get$iterator(_) {
96924 var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
96925 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);
96926 return t1.get$iterator(t1);
96927 },
96928 contains$1(_, key) {
96929 return this._unprefixed_map_view0$_view.containsKey$1(key);
96930 }
96931 };
96932 A._UnprefixedKeys_iterator_closure1.prototype = {
96933 call$1(key) {
96934 return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
96935 },
96936 $signature: 6
96937 };
96938 A._UnprefixedKeys_iterator_closure2.prototype = {
96939 call$1(key) {
96940 return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
96941 },
96942 $signature: 5
96943 };
96944 A.JSUrl0.prototype = {};
96945 A.UseRule0.prototype = {
96946 UseRule$4$configuration0(url, namespace, span, configuration) {
96947 var t1, t2, _i, variable;
96948 for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
96949 variable = t1[_i];
96950 if (variable.isGuarded)
96951 throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
96952 }
96953 },
96954 accept$1$1(visitor) {
96955 return visitor.visitUseRule$1(this);
96956 },
96957 accept$1(visitor) {
96958 return this.accept$1$1(visitor, type$.dynamic);
96959 },
96960 toString$0(_) {
96961 var t1 = this.url,
96962 t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
96963 basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
96964 dot = B.JSString_methods.indexOf$1(basename, ".");
96965 t1 = this.namespace;
96966 if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
96967 t1 = t2 + (" as " + (t1 == null ? "*" : t1));
96968 else
96969 t1 = t2;
96970 t2 = this.configuration;
96971 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
96972 return t1.charCodeAt(0) == 0 ? t1 : t1;
96973 },
96974 $isAstNode0: 1,
96975 $isStatement0: 1,
96976 get$span(receiver) {
96977 return this.span;
96978 }
96979 };
96980 A.UserDefinedCallable0.prototype = {
96981 get$name(_) {
96982 return this.declaration.name;
96983 },
96984 $isAsyncCallable0: 1,
96985 $isCallable0: 1
96986 };
96987 A.resolveImportPath_closure1.prototype = {
96988 call$0() {
96989 return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
96990 },
96991 $signature: 41
96992 };
96993 A.resolveImportPath_closure2.prototype = {
96994 call$0() {
96995 return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
96996 },
96997 $signature: 41
96998 };
96999 A._tryPathAsDirectory_closure0.prototype = {
97000 call$0() {
97001 return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
97002 },
97003 $signature: 41
97004 };
97005 A._exactlyOne_closure0.prototype = {
97006 call$1(path) {
97007 var t1 = $.$get$context();
97008 return " " + t1.prettyUri$1(t1.toUri$1(path));
97009 },
97010 $signature: 5
97011 };
97012 A._PropertyDescriptor0.prototype = {};
97013 A.futureToPromise_closure0.prototype = {
97014 call$2(resolve, reject) {
97015 this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
97016 },
97017 $signature: 563
97018 };
97019 A.futureToPromise__closure0.prototype = {
97020 call$1(result) {
97021 return this.resolve.call$1(result);
97022 },
97023 $signature: 27
97024 };
97025 A.futureToPromise__closure1.prototype = {
97026 call$2(error, stackTrace) {
97027 A.attachTrace0(error, stackTrace);
97028 this.reject.call$1(error);
97029 },
97030 $signature: 42
97031 };
97032 A.objectToMap_closure.prototype = {
97033 call$2(key, value) {
97034 this.map.$indexSet(0, key, value);
97035 return value;
97036 },
97037 $signature: 120
97038 };
97039 A.indent_closure0.prototype = {
97040 call$1(line) {
97041 return B.JSString_methods.$mul(" ", this.indentation) + line;
97042 },
97043 $signature: 5
97044 };
97045 A.flattenVertically_closure1.prototype = {
97046 call$1(inner) {
97047 return A.QueueList_QueueList$from(inner, this.T);
97048 },
97049 $signature() {
97050 return this.T._eval$1("QueueList<0>(Iterable<0>)");
97051 }
97052 };
97053 A.flattenVertically_closure2.prototype = {
97054 call$1(queue) {
97055 this.result.push(queue.removeFirst$0());
97056 return queue.get$length(queue) === 0;
97057 },
97058 $signature() {
97059 return this.T._eval$1("bool(QueueList<0>)");
97060 }
97061 };
97062 A.longestCommonSubsequence_closure0.prototype = {
97063 call$2(element1, element2) {
97064 return J.$eq$(element1, element2) ? element1 : null;
97065 },
97066 $signature() {
97067 return this.T._eval$1("0?(0,0)");
97068 }
97069 };
97070 A.longestCommonSubsequence_backtrack0.prototype = {
97071 call$2(i, j) {
97072 var selection, t1, _this = this;
97073 if (i === -1 || j === -1)
97074 return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
97075 selection = _this.selections[i][j];
97076 if (selection != null) {
97077 t1 = _this.call$2(i - 1, j - 1);
97078 J.add$1$ax(t1, selection);
97079 return t1;
97080 }
97081 t1 = _this.lengths;
97082 return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
97083 },
97084 $signature() {
97085 return this.T._eval$1("List<0>(int,int)");
97086 }
97087 };
97088 A.mapAddAll2_closure0.prototype = {
97089 call$2(key, inner) {
97090 var t1 = this.destination,
97091 innerDestination = t1.$index(0, key);
97092 if (innerDestination != null)
97093 innerDestination.addAll$1(0, inner);
97094 else
97095 t1.$indexSet(0, key, inner);
97096 },
97097 $signature() {
97098 return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
97099 }
97100 };
97101 A.CssValue0.prototype = {
97102 toString$0(_) {
97103 return J.toString$0$(this.value);
97104 },
97105 $isAstNode0: 1,
97106 get$value(receiver) {
97107 return this.value;
97108 },
97109 get$span(receiver) {
97110 return this.span;
97111 }
97112 };
97113 A.ValueExpression0.prototype = {
97114 accept$1$1(visitor) {
97115 return visitor.visitValueExpression$1(this);
97116 },
97117 accept$1(visitor) {
97118 return this.accept$1$1(visitor, type$.dynamic);
97119 },
97120 toString$0(_) {
97121 return A.serializeValue0(this.value, true, true);
97122 },
97123 $isExpression0: 1,
97124 $isAstNode0: 1,
97125 get$span(receiver) {
97126 return this.span;
97127 }
97128 };
97129 A.ModifiableCssValue0.prototype = {
97130 toString$0(_) {
97131 return A.serializeSelector0(this.value, true);
97132 },
97133 $isAstNode0: 1,
97134 $isCssValue0: 1,
97135 get$value(receiver) {
97136 return this.value;
97137 },
97138 get$span(receiver) {
97139 return this.span;
97140 }
97141 };
97142 A.valueClass_closure.prototype = {
97143 call$0() {
97144 var t2,
97145 t1 = type$.JSClass,
97146 jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
97147 A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
97148 t1 = type$.String;
97149 t2 = type$.Function;
97150 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));
97151 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));
97152 return jsClass;
97153 },
97154 $signature: 25
97155 };
97156 A.valueClass__closure.prototype = {
97157 call$1($self) {
97158 return J.toString$0$($self);
97159 },
97160 $signature: 47
97161 };
97162 A.valueClass__closure0.prototype = {
97163 call$1($self) {
97164 return new self.immutable.List($self.get$asList());
97165 },
97166 $signature: 564
97167 };
97168 A.valueClass__closure1.prototype = {
97169 call$1($self) {
97170 return $self.get$hasBrackets();
97171 },
97172 $signature: 50
97173 };
97174 A.valueClass__closure2.prototype = {
97175 call$1($self) {
97176 return $self.get$isTruthy();
97177 },
97178 $signature: 50
97179 };
97180 A.valueClass__closure3.prototype = {
97181 call$1($self) {
97182 return $self.get$realNull();
97183 },
97184 $signature: 218
97185 };
97186 A.valueClass__closure4.prototype = {
97187 call$1($self) {
97188 return $self.get$separator($self).separator;
97189 },
97190 $signature: 565
97191 };
97192 A.valueClass__closure5.prototype = {
97193 call$3($self, sassIndex, $name) {
97194 return $self.sassIndexToListIndex$2(sassIndex, $name);
97195 },
97196 call$2($self, sassIndex) {
97197 return this.call$3($self, sassIndex, null);
97198 },
97199 "call*": "call$3",
97200 $requiredArgCount: 2,
97201 $defaultValues() {
97202 return [null];
97203 },
97204 $signature: 566
97205 };
97206 A.valueClass__closure6.prototype = {
97207 call$2($self, index) {
97208 return index < 1 && index >= -1 ? $self : self.undefined;
97209 },
97210 $signature: 236
97211 };
97212 A.valueClass__closure7.prototype = {
97213 call$2($self, $name) {
97214 return $self.assertBoolean$1($name);
97215 },
97216 call$1($self) {
97217 return this.call$2($self, null);
97218 },
97219 "call*": "call$2",
97220 $requiredArgCount: 1,
97221 $defaultValues() {
97222 return [null];
97223 },
97224 $signature: 567
97225 };
97226 A.valueClass__closure8.prototype = {
97227 call$2($self, $name) {
97228 return $self.assertColor$1($name);
97229 },
97230 call$1($self) {
97231 return this.call$2($self, null);
97232 },
97233 "call*": "call$2",
97234 $requiredArgCount: 1,
97235 $defaultValues() {
97236 return [null];
97237 },
97238 $signature: 568
97239 };
97240 A.valueClass__closure9.prototype = {
97241 call$2($self, $name) {
97242 return $self.assertFunction$1($name);
97243 },
97244 call$1($self) {
97245 return this.call$2($self, null);
97246 },
97247 "call*": "call$2",
97248 $requiredArgCount: 1,
97249 $defaultValues() {
97250 return [null];
97251 },
97252 $signature: 569
97253 };
97254 A.valueClass__closure10.prototype = {
97255 call$2($self, $name) {
97256 return $self.assertMap$1($name);
97257 },
97258 call$1($self) {
97259 return this.call$2($self, null);
97260 },
97261 "call*": "call$2",
97262 $requiredArgCount: 1,
97263 $defaultValues() {
97264 return [null];
97265 },
97266 $signature: 570
97267 };
97268 A.valueClass__closure11.prototype = {
97269 call$2($self, $name) {
97270 return $self.assertNumber$1($name);
97271 },
97272 call$1($self) {
97273 return this.call$2($self, null);
97274 },
97275 "call*": "call$2",
97276 $requiredArgCount: 1,
97277 $defaultValues() {
97278 return [null];
97279 },
97280 $signature: 571
97281 };
97282 A.valueClass__closure12.prototype = {
97283 call$2($self, $name) {
97284 return $self.assertString$1($name);
97285 },
97286 call$1($self) {
97287 return this.call$2($self, null);
97288 },
97289 "call*": "call$2",
97290 $requiredArgCount: 1,
97291 $defaultValues() {
97292 return [null];
97293 },
97294 $signature: 572
97295 };
97296 A.valueClass__closure13.prototype = {
97297 call$1($self) {
97298 return $self.tryMap$0();
97299 },
97300 $signature: 573
97301 };
97302 A.valueClass__closure14.prototype = {
97303 call$2($self, other) {
97304 return $self.$eq(0, other);
97305 },
97306 $signature: 574
97307 };
97308 A.valueClass__closure15.prototype = {
97309 call$2($self, _) {
97310 return $self.get$hashCode($self);
97311 },
97312 call$1($self) {
97313 return this.call$2($self, null);
97314 },
97315 "call*": "call$2",
97316 $requiredArgCount: 1,
97317 $defaultValues() {
97318 return [null];
97319 },
97320 $signature: 575
97321 };
97322 A.valueClass__closure16.prototype = {
97323 call$1($self) {
97324 return A.serializeValue0($self, true, true);
97325 },
97326 $signature: 200
97327 };
97328 A.Value0.prototype = {
97329 get$isTruthy() {
97330 return true;
97331 },
97332 get$separator(_) {
97333 return B.ListSeparator_undecided_null0;
97334 },
97335 get$hasBrackets() {
97336 return false;
97337 },
97338 get$asList() {
97339 return A._setArrayType([this], type$.JSArray_Value_2);
97340 },
97341 get$lengthAsList() {
97342 return 1;
97343 },
97344 get$isBlank() {
97345 return false;
97346 },
97347 get$isSpecialNumber() {
97348 return false;
97349 },
97350 get$isVar() {
97351 return false;
97352 },
97353 get$realNull() {
97354 return this;
97355 },
97356 sassIndexToListIndex$2(sassIndex, $name) {
97357 var _this = this,
97358 index = sassIndex.assertNumber$1($name).assertInt$1($name);
97359 if (index === 0)
97360 throw A.wrapException(_this._value0$_exception$2("List index may not be 0.", $name));
97361 if (Math.abs(index) > _this.get$lengthAsList())
97362 throw A.wrapException(_this._value0$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a list with " + _this.get$lengthAsList() + " elements.", $name));
97363 return index < 0 ? _this.get$lengthAsList() + index : index - 1;
97364 },
97365 assertBoolean$1($name) {
97366 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a boolean.", $name));
97367 },
97368 assertCalculation$1($name) {
97369 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a calculation.", $name));
97370 },
97371 assertColor$1($name) {
97372 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a color.", $name));
97373 },
97374 assertFunction$1($name) {
97375 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a function reference.", $name));
97376 },
97377 assertMap$1($name) {
97378 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a map.", $name));
97379 },
97380 tryMap$0() {
97381 return null;
97382 },
97383 assertNumber$1($name) {
97384 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a number.", $name));
97385 },
97386 assertNumber$0() {
97387 return this.assertNumber$1(null);
97388 },
97389 assertString$1($name) {
97390 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a string.", $name));
97391 },
97392 assertSelector$2$allowParent$name(allowParent, $name) {
97393 var error, stackTrace, t1, exception,
97394 string = this._value0$_selectorString$1($name);
97395 try {
97396 t1 = A.SelectorList_SelectorList$parse0(string, allowParent, true, null);
97397 return t1;
97398 } catch (exception) {
97399 t1 = A.unwrapException(exception);
97400 if (t1 instanceof A.SassFormatException0) {
97401 error = t1;
97402 stackTrace = A.getTraceFromException(exception);
97403 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
97404 A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
97405 } else
97406 throw exception;
97407 }
97408 },
97409 assertSelector$1$name($name) {
97410 return this.assertSelector$2$allowParent$name(false, $name);
97411 },
97412 assertSelector$0() {
97413 return this.assertSelector$2$allowParent$name(false, null);
97414 },
97415 assertSelector$1$allowParent(allowParent) {
97416 return this.assertSelector$2$allowParent$name(allowParent, null);
97417 },
97418 assertCompoundSelector$1$name($name) {
97419 var error, stackTrace, t1, exception,
97420 allowParent = false,
97421 string = this._value0$_selectorString$1($name);
97422 try {
97423 t1 = A.SelectorParser$0(string, allowParent, true, null, null).parseCompoundSelector$0();
97424 return t1;
97425 } catch (exception) {
97426 t1 = A.unwrapException(exception);
97427 if (t1 instanceof A.SassFormatException0) {
97428 error = t1;
97429 stackTrace = A.getTraceFromException(exception);
97430 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
97431 t1 = "$" + $name + ": " + t1;
97432 A.throwWithTrace0(new A.SassScriptException0(t1), stackTrace);
97433 } else
97434 throw exception;
97435 }
97436 },
97437 _value0$_selectorString$1($name) {
97438 var string = this._value0$_selectorStringOrNull$0();
97439 if (string != null)
97440 return string;
97441 throw A.wrapException(this._value0$_exception$2(this.toString$0(0) + string$.x20is_no, $name));
97442 },
97443 _value0$_selectorStringOrNull$0() {
97444 var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
97445 if (_this instanceof A.SassString0)
97446 return _this._string0$_text;
97447 if (!(_this instanceof A.SassList0))
97448 return _null;
97449 t1 = _this._list1$_contents;
97450 t2 = t1.length;
97451 if (t2 === 0)
97452 return _null;
97453 result = A._setArrayType([], type$.JSArray_String);
97454 t3 = _this._list1$_separator;
97455 switch (t3) {
97456 case B.ListSeparator_kWM0:
97457 for (_i = 0; _i < t2; ++_i) {
97458 complex = t1[_i];
97459 if (complex instanceof A.SassString0)
97460 result.push(complex._string0$_text);
97461 else if (complex instanceof A.SassList0 && complex._list1$_separator === B.ListSeparator_woc0) {
97462 string = complex._value0$_selectorStringOrNull$0();
97463 if (string == null)
97464 return _null;
97465 result.push(string);
97466 } else
97467 return _null;
97468 }
97469 break;
97470 case B.ListSeparator_1gm0:
97471 return _null;
97472 default:
97473 for (_i = 0; _i < t2; ++_i) {
97474 compound = t1[_i];
97475 if (compound instanceof A.SassString0)
97476 result.push(compound._string0$_text);
97477 else
97478 return _null;
97479 }
97480 break;
97481 }
97482 return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_kWM0 ? ", " : " ");
97483 },
97484 withListContents$2$separator(contents, separator) {
97485 var t1 = separator == null ? this.get$separator(this) : separator,
97486 t2 = this.get$hasBrackets();
97487 return A.SassList$0(contents, t1, t2);
97488 },
97489 withListContents$1(contents) {
97490 return this.withListContents$2$separator(contents, null);
97491 },
97492 greaterThan$1(other) {
97493 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
97494 },
97495 greaterThanOrEquals$1(other) {
97496 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
97497 },
97498 lessThan$1(other) {
97499 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
97500 },
97501 lessThanOrEquals$1(other) {
97502 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
97503 },
97504 times$1(other) {
97505 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".'));
97506 },
97507 modulo$1(other) {
97508 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".'));
97509 },
97510 plus$1(other) {
97511 if (other instanceof A.SassString0)
97512 return new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
97513 else if (other instanceof A.SassCalculation0)
97514 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
97515 else
97516 return new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
97517 },
97518 minus$1(other) {
97519 if (other instanceof A.SassCalculation0)
97520 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
97521 else
97522 return new A.SassString0(A.serializeValue0(this, false, true) + "-" + A.serializeValue0(other, false, true), false);
97523 },
97524 dividedBy$1(other) {
97525 return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
97526 },
97527 unaryPlus$0() {
97528 return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
97529 },
97530 unaryMinus$0() {
97531 return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
97532 },
97533 unaryNot$0() {
97534 return B.SassBoolean_false0;
97535 },
97536 withoutSlash$0() {
97537 return this;
97538 },
97539 toString$0(_) {
97540 return A.serializeValue0(this, true, true);
97541 },
97542 _value0$_exception$2(message, $name) {
97543 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
97544 }
97545 };
97546 A.VariableExpression0.prototype = {
97547 accept$1$1(visitor) {
97548 return visitor.visitVariableExpression$1(this);
97549 },
97550 accept$1(visitor) {
97551 return this.accept$1$1(visitor, type$.dynamic);
97552 },
97553 toString$0(_) {
97554 var t1 = this.namespace,
97555 t2 = this.name;
97556 return t1 == null ? "$" + t2 : t1 + ".$" + t2;
97557 },
97558 $isExpression0: 1,
97559 $isAstNode0: 1,
97560 get$span(receiver) {
97561 return this.span;
97562 }
97563 };
97564 A.VariableDeclaration0.prototype = {
97565 accept$1$1(visitor) {
97566 return visitor.visitVariableDeclaration$1(this);
97567 },
97568 accept$1(visitor) {
97569 return this.accept$1$1(visitor, type$.dynamic);
97570 },
97571 toString$0(_) {
97572 var t1 = this.namespace;
97573 t1 = t1 != null ? "$" + (t1 + ".") : "$";
97574 t1 += this.name + ": " + this.expression.toString$0(0) + ";";
97575 return t1.charCodeAt(0) == 0 ? t1 : t1;
97576 },
97577 $isAstNode0: 1,
97578 $isStatement0: 1,
97579 get$span(receiver) {
97580 return this.span;
97581 }
97582 };
97583 A.WarnRule0.prototype = {
97584 accept$1$1(visitor) {
97585 return visitor.visitWarnRule$1(this);
97586 },
97587 accept$1(visitor) {
97588 return this.accept$1$1(visitor, type$.dynamic);
97589 },
97590 toString$0(_) {
97591 return "@warn " + this.expression.toString$0(0) + ";";
97592 },
97593 $isAstNode0: 1,
97594 $isStatement0: 1,
97595 get$span(receiver) {
97596 return this.span;
97597 }
97598 };
97599 A.WhileRule0.prototype = {
97600 accept$1$1(visitor) {
97601 return visitor.visitWhileRule$1(this);
97602 },
97603 accept$1(visitor) {
97604 return this.accept$1$1(visitor, type$.dynamic);
97605 },
97606 toString$0(_) {
97607 var t1 = this.children;
97608 return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
97609 },
97610 get$span(receiver) {
97611 return this.span;
97612 }
97613 };
97614 (function aliases() {
97615 var _ = J.LegacyJavaScriptObject.prototype;
97616 _.super$LegacyJavaScriptObject$toString = _.toString$0;
97617 _ = A.JsLinkedHashMap.prototype;
97618 _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
97619 _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
97620 _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
97621 _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
97622 _ = A._BufferingStreamSubscription.prototype;
97623 _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
97624 _.super$_BufferingStreamSubscription$_addError = _._addError$2;
97625 _ = A.ListMixin.prototype;
97626 _.super$ListMixin$setRange = _.setRange$4;
97627 _ = A.Iterable.prototype;
97628 _.super$Iterable$where = _.where$1;
97629 _.super$Iterable$skipWhile = _.skipWhile$1;
97630 _ = A.DelegatingStreamSubscription.prototype;
97631 _.super$DelegatingStreamSubscription$onError = _.onError$1;
97632 _.super$DelegatingStreamSubscription$cancel = _.cancel$0;
97633 _ = A.ModifiableCssParentNode.prototype;
97634 _.super$ModifiableCssParentNode$addChild = _.addChild$1;
97635 _ = A.SimpleSelector.prototype;
97636 _.super$SimpleSelector$addSuffix = _.addSuffix$1;
97637 _.super$SimpleSelector$unify = _.unify$1;
97638 _ = A.Parser.prototype;
97639 _.super$Parser$silentComment = _.silentComment$0;
97640 _ = A.StylesheetParser.prototype;
97641 _.super$StylesheetParser$importArgument = _.importArgument$0;
97642 _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
97643 _ = A.Value.prototype;
97644 _.super$Value$assertMap = _.assertMap$1;
97645 _.super$Value$plus = _.plus$1;
97646 _.super$Value$minus = _.minus$1;
97647 _.super$Value$dividedBy = _.dividedBy$1;
97648 _ = A.SassNumber.prototype;
97649 _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
97650 _.super$SassNumber$coerce = _.coerce$3;
97651 _.super$SassNumber$coerceValue = _.coerceValue$3;
97652 _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
97653 _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
97654 _.super$SassNumber$greaterThan = _.greaterThan$1;
97655 _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
97656 _.super$SassNumber$lessThan = _.lessThan$1;
97657 _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
97658 _.super$SassNumber$modulo = _.modulo$1;
97659 _.super$SassNumber$plus = _.plus$1;
97660 _.super$SassNumber$minus = _.minus$1;
97661 _.super$SassNumber$times = _.times$1;
97662 _.super$SassNumber$dividedBy = _.dividedBy$1;
97663 _ = A.SourceSpanMixin.prototype;
97664 _.super$SourceSpanMixin$compareTo = _.compareTo$1;
97665 _.super$SourceSpanMixin$$eq = _.$eq;
97666 _ = A.StringScanner.prototype;
97667 _.super$StringScanner$readChar = _.readChar$0;
97668 _.super$StringScanner$scanChar = _.scanChar$1;
97669 _.super$StringScanner$scan = _.scan$1;
97670 _.super$StringScanner$matches = _.matches$1;
97671 _ = A.ModifiableCssParentNode0.prototype;
97672 _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
97673 _ = A.SassNumber0.prototype;
97674 _.super$SassNumber$convertToMatch = _.convertToMatch$3;
97675 _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
97676 _.super$SassNumber$coerce0 = _.coerce$3;
97677 _.super$SassNumber$coerceValue0 = _.coerceValue$3;
97678 _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
97679 _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
97680 _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
97681 _.super$SassNumber$greaterThan0 = _.greaterThan$1;
97682 _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
97683 _.super$SassNumber$lessThan0 = _.lessThan$1;
97684 _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
97685 _.super$SassNumber$modulo0 = _.modulo$1;
97686 _.super$SassNumber$plus0 = _.plus$1;
97687 _.super$SassNumber$minus0 = _.minus$1;
97688 _.super$SassNumber$times0 = _.times$1;
97689 _.super$SassNumber$dividedBy0 = _.dividedBy$1;
97690 _ = A.Parser1.prototype;
97691 _.super$Parser$silentComment0 = _.silentComment$0;
97692 _ = A.SimpleSelector0.prototype;
97693 _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
97694 _.super$SimpleSelector$unify0 = _.unify$1;
97695 _ = A.StylesheetParser0.prototype;
97696 _.super$StylesheetParser$importArgument0 = _.importArgument$0;
97697 _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
97698 _ = A.Value0.prototype;
97699 _.super$Value$assertMap0 = _.assertMap$1;
97700 _.super$Value$plus0 = _.plus$1;
97701 _.super$Value$minus0 = _.minus$1;
97702 _.super$Value$dividedBy0 = _.dividedBy$1;
97703 })();
97704 (function installTearOffs() {
97705 var _static_2 = hunkHelpers._static_2,
97706 _instance_1_i = hunkHelpers._instance_1i,
97707 _instance_1_u = hunkHelpers._instance_1u,
97708 _static_1 = hunkHelpers._static_1,
97709 _static = hunkHelpers.installStaticTearOff,
97710 _static_0 = hunkHelpers._static_0,
97711 _instance = hunkHelpers.installInstanceTearOff,
97712 _instance_2_u = hunkHelpers._instance_2u,
97713 _instance_0_i = hunkHelpers._instance_0i,
97714 _instance_0_u = hunkHelpers._instance_0u;
97715 _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 256);
97716 _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 11);
97717 _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 11);
97718 _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 11);
97719 _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 11);
97720 _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 11);
97721 _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 131);
97722 _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 131);
97723 _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 131);
97724 _static(A, "async__FutureExtensions__ignore$closure", 1, function() {
97725 return [null];
97726 }, ["call$2", "call$1"], ["FutureExtensions__ignore", function(_) {
97727 return A.FutureExtensions__ignore(_, null);
97728 }], 578, 0);
97729 _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
97730 _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 121);
97731 _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 65);
97732 _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
97733 _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 579, 0);
97734 _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
97735 return A._rootRun($self, $parent, zone, f, type$.dynamic);
97736 }], 580, 1);
97737 _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
97738 return A._rootRunUnary($self, $parent, zone, f, arg, type$.dynamic, type$.dynamic);
97739 }], 581, 1);
97740 _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
97741 return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, type$.dynamic, type$.dynamic, type$.dynamic);
97742 }], 582, 1);
97743 _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
97744 return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
97745 }], 583, 0);
97746 _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
97747 return A._rootRegisterUnaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic);
97748 }], 584, 0);
97749 _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
97750 return A._rootRegisterBinaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic, type$.dynamic);
97751 }], 585, 0);
97752 _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 586, 0);
97753 _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 587, 0);
97754 _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 588, 0);
97755 _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 589, 0);
97756 _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 590, 0);
97757 _static_1(A, "async___printToZone$closure", "_printToZone", 137);
97758 _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 591, 0);
97759 _instance(A._Completer.prototype, "get$completeError", 0, 1, function() {
97760 return [null];
97761 }, ["call$2", "call$1"], ["completeError$2", "completeError$1"], 96, 0, 0);
97762 _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
97763 return [null];
97764 }, ["call$1", "call$0"], ["complete$1", "complete$0"], 95, 0, 0);
97765 _instance(A._SyncCompleter.prototype, "get$complete", 0, 0, function() {
97766 return [null];
97767 }, ["call$1", "call$0"], ["complete$1", "complete$0"], 95, 0, 0);
97768 _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 65);
97769 var _;
97770 _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 27);
97771 _instance(_, "get$addError", 0, 1, function() {
97772 return [null];
97773 }, ["call$2", "call$1"], ["addError$2", "addError$1"], 96, 0, 0);
97774 _instance_0_i(_, "get$close", "close$0", 138);
97775 _instance_1_u(_, "get$_async$_add", "_async$_add$1", 27);
97776 _instance_2_u(_, "get$_addError", "_addError$2", 65);
97777 _instance_0_u(_, "get$_close", "_close$0", 0);
97778 _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
97779 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97780 _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 339, 0, 0);
97781 _instance_0_i(_, "get$resume", "resume$0", 0);
97782 _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
97783 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97784 _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 27);
97785 _instance_2_u(_, "get$_onError", "_onError$2", 65);
97786 _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
97787 _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
97788 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
97789 _instance_1_u(_, "get$_handleData", "_handleData$1", 27);
97790 _instance_2_u(_, "get$_handleError", "_handleError$2", 348);
97791 _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
97792 _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 258);
97793 _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 207);
97794 _static_2(A, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 256);
97795 _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 11);
97796 _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 11);
97797 _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 189, 0, 0);
97798 _instance_1_i(_, "get$contains", "contains$1", 11);
97799 _instance_1_i(_, "get$add", "add$1", 11);
97800 _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 189, 0, 0);
97801 _instance_1_u(A.MapMixin.prototype, "get$containsKey", "containsKey$1", 11);
97802 _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 11);
97803 _instance_1_i(A._UnmodifiableSet.prototype, "get$contains", "contains$1", 11);
97804 _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 100);
97805 _static_1(A, "core__identityHashCode$closure", "identityHashCode", 207);
97806 _static_2(A, "core__identical$closure", "identical", 258);
97807 _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 5);
97808 _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 11);
97809 _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 27);
97810 _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
97811 return A.max(a, b, type$.num);
97812 }], 594, 1);
97813 _instance_0_u(A.CancelableOperation.prototype, "get$cancel", "cancel$0", 138);
97814 _instance(_ = A.CancelableCompleter.prototype, "get$complete", 0, 0, null, ["call$1", "call$0"], ["complete$1", "complete$0"], 95, 0, 0);
97815 _instance(_, "get$completeError", 0, 1, function() {
97816 return [null];
97817 }, ["call$2", "call$1"], ["completeError$2", "completeError$1"], 96, 0, 0);
97818 _instance_0_u(_, "get$_cancel", "_cancel$0", 28);
97819 _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 27);
97820 _instance(_, "get$setError", 0, 1, function() {
97821 return [null];
97822 }, ["call$2", "call$1"], ["setError$2", "setError$1"], 96, 0, 0);
97823 _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
97824 _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
97825 _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
97826 _instance_0_u(_, "get$_stream_group$_onCancel", "_stream_group$_onCancel$0", 134);
97827 _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
97828 _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 11);
97829 _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 11);
97830 _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 11);
97831 _instance_1_u(A.ModifiableCssNode.prototype, "get$_node$_isInvisible", "_node$_isInvisible$1", 8);
97832 _instance_1_u(A.SelectorList.prototype, "get$_complexContainsParentSelector", "_complexContainsParentSelector$1", 19);
97833 _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 203);
97834 _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 203);
97835 _static_1(A, "functions___isUnique$closure", "_isUnique", 16);
97836 _static_1(A, "color0___opacify$closure", "_opacify", 23);
97837 _static_1(A, "color0___transparentize$closure", "_transparentize", 23);
97838 _instance_0_u(_ = A.Parser.prototype, "get$whitespace", "whitespace$0", 0);
97839 _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
97840 _instance_0_u(_, "get$string", "string$0", 30);
97841 _instance_0_u(A.SassParser.prototype, "get$loudComment", "loudComment$0", 0);
97842 _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 350, 0, 0);
97843 _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 102);
97844 _instance_0_u(_, "get$_functionChild", "_functionChild$0", 102);
97845 _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);
97846 _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97847 _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97848 _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 27);
97849 _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97850 _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 11);
97851 _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 27);
97852 _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97853 _static_1(A, "utils__isPublic$closure", "isPublic", 6);
97854 _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 173);
97855 _instance_2_u(A.SassNumber.prototype, "get$moduloLikeSass", "moduloLikeSass$2", 56);
97856 _instance_1_u(_ = A._EvaluateVisitor0.prototype, "get$_async_evaluate$_visitMediaQueries", "_async_evaluate$_visitMediaQueries$1", 410);
97857 _instance_1_u(_, "get$_async_evaluate$_visitSupportsCondition", "_async_evaluate$_visitSupportsCondition$1", 412);
97858 _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 222);
97859 _instance_1_u(_ = A._EvaluateVisitor.prototype, "get$_visitMediaQueries", "_visitMediaQueries$1", 577);
97860 _instance_1_u(_, "get$_visitSupportsCondition", "_visitSupportsCondition$1", 592);
97861 _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 222);
97862 _instance_1_u(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 273);
97863 _instance_1_u(_, "get$visitChildren", "visitChildren$1", 274);
97864 _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 275);
97865 _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 127);
97866 _instance_1_u(_, "get$_isInvisible", "_isInvisible$1", 8);
97867 _instance_1_u(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
97868 _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
97869 _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
97870 return {color: null};
97871 }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 287, 0, 0);
97872 _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
97873 return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
97874 }], 596, 0);
97875 _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
97876 return A._collect($event, soFar, type$.dynamic);
97877 }], 597, 0);
97878 _instance_1_u(_ = A._EvaluateVisitor2.prototype, "get$_async_evaluate0$_visitMediaQueries", "_async_evaluate0$_visitMediaQueries$1", 315);
97879 _instance_1_u(_, "get$_async_evaluate0$_visitSupportsCondition", "_async_evaluate0$_visitSupportsCondition$1", 316);
97880 _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 160);
97881 _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 173);
97882 _static_1(A, "color2___opacify$closure", "_opacify0", 24);
97883 _static_1(A, "color2___transparentize$closure", "_transparentize0", 24);
97884 _static(A, "compile__compile$closure", 1, function() {
97885 return [null];
97886 }, ["call$2", "call$1"], ["compile0", function(path) {
97887 return A.compile0(path, null);
97888 }], 598, 0);
97889 _static(A, "compile__compileString$closure", 1, function() {
97890 return [null];
97891 }, ["call$2", "call$1"], ["compileString0", function(text) {
97892 return A.compileString0(text, null);
97893 }], 599, 0);
97894 _static(A, "compile__compileAsync$closure", 1, function() {
97895 return [null];
97896 }, ["call$2", "call$1"], ["compileAsync1", function(path) {
97897 return A.compileAsync1(path, null);
97898 }], 600, 0);
97899 _static(A, "compile__compileStringAsync$closure", 1, function() {
97900 return [null];
97901 }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
97902 return A.compileStringAsync1(text, null);
97903 }], 601, 0);
97904 _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 602);
97905 _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 210);
97906 _instance_1_u(_ = A._EvaluateVisitor1.prototype, "get$_evaluate0$_visitMediaQueries", "_evaluate0$_visitMediaQueries$1", 401);
97907 _instance_1_u(_, "get$_evaluate0$_visitSupportsCondition", "_evaluate0$_visitSupportsCondition$1", 402);
97908 _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 160);
97909 _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 210);
97910 _static_1(A, "functions0___isUnique$closure", "_isUnique0", 15);
97911 _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 603);
97912 _static_2(A, "legacy__render$closure", "render", 604);
97913 _static_1(A, "legacy__renderSync$closure", "renderSync", 605);
97914 _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97915 _instance_1_u(A.SelectorList0.prototype, "get$_list2$_complexContainsParentSelector", "_list2$_complexContainsParentSelector$1", 17);
97916 _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97917 _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 27);
97918 _instance_1_u(A.ModifiableCssNode0.prototype, "get$_node1$_isInvisible", "_node1$_isInvisible$1", 7);
97919 _instance_2_u(A.SassNumber0.prototype, "get$moduloLikeSass", "moduloLikeSass$2", 56);
97920 _instance_0_u(_ = A.Parser1.prototype, "get$whitespace", "whitespace$0", 0);
97921 _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
97922 _instance_0_u(_, "get$string", "string$0", 30);
97923 _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97924 _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97925 _static_1(A, "sass__main$closure", "main0", 606);
97926 _instance_0_u(A.SassParser0.prototype, "get$loudComment", "loudComment$0", 0);
97927 _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 525);
97928 _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 127);
97929 _instance_1_u(_, "get$_serialize0$_isInvisible", "_serialize0$_isInvisible$1", 7);
97930 _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 27);
97931 _instance_1_u(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
97932 _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
97933 _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 540, 0, 0);
97934 _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 141);
97935 _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 141);
97936 _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97937 _static_1(A, "utils1__jsToDartUrl$closure", "jsToDartUrl", 607);
97938 _static_1(A, "utils1__dartToJSUrl$closure", "dartToJSUrl", 608);
97939 _static_1(A, "utils0__isPublic$closure", "isPublic0", 6);
97940 _static(A, "path__absolute$closure", 1, function() {
97941 return [null, null, null, null, null, null];
97942 }, ["call$7", "call$1", "call$2", "call$3", "call$4", "call$6", "call$5"], ["absolute", function(part1) {
97943 return A.absolute(part1, null, null, null, null, null, null);
97944 }, function(part1, part2) {
97945 return A.absolute(part1, part2, null, null, null, null, null);
97946 }, function(part1, part2, part3) {
97947 return A.absolute(part1, part2, part3, null, null, null, null);
97948 }, function(part1, part2, part3, part4) {
97949 return A.absolute(part1, part2, part3, part4, null, null, null);
97950 }, function(part1, part2, part3, part4, part5, part6) {
97951 return A.absolute(part1, part2, part3, part4, part5, part6, null);
97952 }, function(part1, part2, part3, part4, part5) {
97953 return A.absolute(part1, part2, part3, part4, part5, null, null);
97954 }], 609, 0);
97955 _static_1(A, "path__prettyUri$closure", "prettyUri", 91);
97956 _static_1(A, "character__isWhitespace$closure", "isWhitespace", 33);
97957 _static_1(A, "character__isNewline$closure", "isNewline", 33);
97958 _static_1(A, "character__isHex$closure", "isHex", 33);
97959 _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 43);
97960 _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 43);
97961 _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 43);
97962 _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 43);
97963 _static_1(A, "number0__fuzzyRound$closure", "fuzzyRound", 44);
97964 _static_1(A, "character0__isWhitespace$closure", "isWhitespace0", 33);
97965 _static_1(A, "character0__isNewline$closure", "isNewline0", 33);
97966 _static_1(A, "character0__isHex$closure", "isHex0", 33);
97967 _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 43);
97968 _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 43);
97969 _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 43);
97970 _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 43);
97971 _static_1(A, "number2__fuzzyRound$closure", "fuzzyRound0", 44);
97972 _static_1(A, "value1__wrapValue$closure", "wrapValue", 407);
97973 })();
97974 (function inheritance() {
97975 var _mixin = hunkHelpers.mixin,
97976 _inherit = hunkHelpers.inherit,
97977 _inheritMany = hunkHelpers.inheritMany;
97978 _inherit(A.Object, null);
97979 _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.CancelableOperation, A.CancelableCompleter, A.DelegatingStreamSubscription, 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._ColorFormatEnum, A.SpanColorFormat, 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._ColorFormatEnum0, A.SpanColorFormat0, 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]);
97980 _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSArray, J.JSNumber, J.JSString, A.NativeTypedData]);
97981 _inherit(J.LegacyJavaScriptObject, J.JavaScriptObject);
97982 _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]);
97983 _inherit(J.JSUnmodifiableArray, J.JSArray);
97984 _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
97985 _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]);
97986 _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
97987 _inherit(A._EfficientLengthCastIterable, A.CastIterable);
97988 _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
97989 _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.CancelableOperation_race__cancelAll_closure, A.CancelableOperation_race_closure, A.CancelableOperation_valueOrCancellation_closure, A.CancelableOperation_then_closure, A.CancelableCompleter_complete_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.unwrapCancelableOperation__closure, A.unwrapCancelableOperation_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]);
97990 _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.CancelableOperation_race_closure0, A.CancelableOperation_then_closure0, A.CancelableCompleter_complete_closure0, A.StreamQueue__ensureListening_closure1, A._CancelOnErrorSubscriptionWrapper_onError_closure, 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]);
97991 _inherit(A.CastList, A._CastListBase);
97992 _inherit(A.MapBase, A.MapMixin);
97993 _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A.MergedMapView, A.MergedMapView0]);
97994 _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]);
97995 _inherit(A.ListBase, A._ListBase_Object_ListMixin);
97996 _inherit(A.UnmodifiableListBase, A.ListBase);
97997 _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
97998 _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.CancelableOperation_race__cancelAll, A.CancelableOperation_race__closure0, A.CancelableOperation_race__closure, A.StreamGroup_add_closure, A.StreamGroup_add_closure0, A.StreamGroup__listenToStream_closure, A.StreamQueue__ensureListening_closure0, A._CancelOnErrorSubscriptionWrapper_onError__closure, 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.watch_closure, A._Watcher_watch_closure, A._Watcher_watch_closure0, 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.onStdinClose_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.unwrapCancelableOperation_closure, 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]);
97999 _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
98000 _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._GeneratorIterable]);
98001 _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
98002 _inheritMany(A.Iterator, [A.MappedIterator, A.WhereIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator]);
98003 _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
98004 _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
98005 _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
98006 _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
98007 _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
98008 _inherit(A.ConstantMapView, A.UnmodifiableMapView);
98009 _inherit(A.ConstantStringMap, A.ConstantMap);
98010 _inherit(A.Instantiation1, A.Instantiation);
98011 _inherit(A.NullError, A.TypeError);
98012 _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
98013 _inheritMany(A.IterableBase, [A._AllMatchesIterable, A._SyncStarIterable, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
98014 _inherit(A.NativeTypedArray, A.NativeTypedData);
98015 _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
98016 _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
98017 _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
98018 _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
98019 _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
98020 _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
98021 _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
98022 _inherit(A._TypeError, A._Error);
98023 _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
98024 _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
98025 _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream, A.SubscriptionStream]);
98026 _inherit(A._ControllerStream, A._StreamImpl);
98027 _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
98028 _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
98029 _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
98030 _inherit(A._StreamImplEvents, A._PendingEvents);
98031 _inherit(A._ExpandStream, A._ForwardingStream);
98032 _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
98033 _inherit(A._IdentityHashMap, A._HashMap);
98034 _inheritMany(A.JsLinkedHashMap, [A._LinkedIdentityHashMap, A._LinkedCustomHashMap]);
98035 _inherit(A._SetBase, A.__SetBase_Object_SetMixin);
98036 _inheritMany(A._SetBase, [A._LinkedHashSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin]);
98037 _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
98038 _inherit(A._UnmodifiableSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin);
98039 _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
98040 _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
98041 _inherit(A.Converter, A.StreamTransformerBase);
98042 _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.Utf8Encoder, A.Utf8Decoder]);
98043 _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
98044 _inherit(A.ByteConversionSink, A.ChunkedConversionSink);
98045 _inheritMany(A.ByteConversionSink, [A.ByteConversionSinkBase, A._Utf8StringSinkAdapter]);
98046 _inherit(A._Base64EncoderSink, A.ByteConversionSinkBase);
98047 _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
98048 _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
98049 _inherit(A._JsonStringStringifier, A._JsonStringifier);
98050 _inherit(A.StringConversionSinkBase, A.StringConversionSinkMixin);
98051 _inherit(A._StringSinkConversionSink, A.StringConversionSinkBase);
98052 _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
98053 _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
98054 _inherit(A._DataUri, A._Uri);
98055 _inherit(A.ArgParserException, A.FormatException);
98056 _inherit(A._CancelOnErrorSubscriptionWrapper, A.DelegatingStreamSubscription);
98057 _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
98058 _inherit(A.QueueList, A._QueueList_Object_ListMixin);
98059 _inherit(A._CastQueueList, A.QueueList);
98060 _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
98061 _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
98062 _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
98063 _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
98064 _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
98065 _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
98066 _inherit(A.InternalStyle, A.Style);
98067 _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
98068 _inherit(A.CssNode, A.AstNode);
98069 _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
98070 _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
98071 _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
98072 _inherit(A.CssStylesheet, A.CssParentNode);
98073 _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]);
98074 _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
98075 _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
98076 _inherit(A._HasContentVisitor, A.StatementSearchVisitor);
98077 _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
98078 _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
98079 _inherit(A.ExplicitConfiguration, A.Configuration);
98080 _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.SassException0]);
98081 _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
98082 _inherit(A.MultiSpanSassRuntimeException, A.MultiSpanSassException);
98083 _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
98084 _inherit(A.MergedExtension, A.Extension);
98085 _inherit(A.Importer, A.AsyncImporter);
98086 _inherit(A.FilesystemImporter, A.Importer);
98087 _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
98088 _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
98089 _inherit(A.CssParser, A.ScssParser);
98090 _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
98091 _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A._SassNull, A.SassNumber, A.SassString]);
98092 _inherit(A.SassArgumentList, A.SassList);
98093 _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
98094 _inherit(A._FindDependenciesVisitor, A.RecursiveStatementVisitor);
98095 _inherit(A.SingleMapping, A.Mapping);
98096 _inherit(A.FileLocation, A.SourceLocationMixin);
98097 _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
98098 _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
98099 _inherit(A.StringScannerException, A.SourceSpanFormatException);
98100 _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
98101 _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A._SassNull0, A.SassString0]);
98102 _inherit(A.SassArgumentList0, A.SassList0);
98103 _inheritMany(A.AsyncImporter0, [A.NodeToDartAsyncImporter, A.NodeToDartAsyncFileImporter, A.Importer0]);
98104 _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
98105 _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]);
98106 _inherit(A.CssNode0, A.AstNode0);
98107 _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
98108 _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
98109 _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
98110 _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
98111 _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
98112 _inherit(A.CompileStringOptions, A.CompileOptions);
98113 _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
98114 _inherit(A.ExplicitConfiguration0, A.Configuration0);
98115 _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
98116 _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
98117 _inherit(A.CssParser0, A.ScssParser0);
98118 _inherit(A._NodeException, A.JsError);
98119 _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
98120 _inherit(A.MultiSpanSassRuntimeException0, A.MultiSpanSassException0);
98121 _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
98122 _inheritMany(A.Importer0, [A.NodeToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter, A.NodeToDartImporter]);
98123 _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
98124 _inherit(A.MergedExtension0, A.Extension0);
98125 _inherit(A._HasContentVisitor0, A.StatementSearchVisitor0);
98126 _inherit(A.CssStylesheet0, A.CssParentNode0);
98127 _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
98128 _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListMixin);
98129 _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListMixin);
98130 _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
98131 _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListMixin);
98132 _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
98133 _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
98134 _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
98135 _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
98136 _mixin(A._ListBase_Object_ListMixin, A.ListMixin);
98137 _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
98138 _mixin(A.__SetBase_Object_SetMixin, A.SetMixin);
98139 _mixin(A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
98140 _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
98141 _mixin(A._QueueList_Object_ListMixin, A.ListMixin);
98142 _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
98143 _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
98144 })();
98145 var init = {
98146 typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
98147 mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"},
98148 mangledNames: {},
98149 types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "String(String)", "bool(String)", "bool(CssNode0)", "bool(CssNode)", "SassNumber0(List<Value0>)", "SassNumber(List<Value>)", "bool(Object?)", "int()", "SassString0(List<Value0>)", "SassString(List<Value>)", "bool(SimpleSelector0)", "bool(SimpleSelector)", "bool(ComplexSelector0)", "SassBoolean0(List<Value0>)", "bool(ComplexSelector)", "SassBoolean(List<Value>)", "SassList0(List<Value0>)", "SassList(List<Value>)", "SassColor(List<Value>)", "SassColor0(List<Value0>)", "JSClass0()", "Null(~())", "~(Object?)", "Future<~>()", "bool()", "String()", "FileSpan()", "Future<Null>(Future<~>())", "bool(int?)", "Value0?()", "Value()", "Value?()", "SassMap(List<Value>)", "Value(Value)", "Value0(Value0)", "SassMap0(List<Value0>)", "String?()", "Null(Object,StackTrace)", "bool(num,num)", "int(num)", "SelectorList0()", "Value0()", "String(Object)", "SelectorList()", "List<String>()", "bool(Value0)", "ValueExpression(Value)", "ValueExpression0(Value0)", "~(Value)", "~(Value0)", "num(SassColor0)", "num(num,num)", "~(Value0,Value0)", "bool(int)", "~(Value,Value)", "Future<Value>()", "Future<Value0?>()", "Future<Value?>()", "Future<Value0>()", "Null(@)", "~(Object,StackTrace)", "Frame(String)", "Frame()", "bool(Value)", "~(Module<Callable>)", "~(Module0<Callable0>)", "Declaration0(List<Statement0>,FileSpan)", "bool(SelectorList)", "num(num)", "Tuple3<Importer,Uri,Uri>?()", "Stylesheet?()", "Null([Object?])", "~(String,Value)", "Declaration(List<Statement>,FileSpan)", "SassRuntimeException(AstNode)", "int(Uri)", "Future<Value?>(Statement)", "List<CssMediaQuery>?(List<CssMediaQuery>)", "Future<String>(Object?)", "Uri(Uri)", "Value?(Statement)", "Object()", "ComplexSelector(List<ComplexSelectorComponent>)", "Future<Value0>(List<Value0>)", "SassRuntimeException0(AstNode0)", "Future<Value0?>(Statement0)", "String(@)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "@()", "~(String,Value0)", "~([Object?])", "~(Object[StackTrace?])", "Null(_NodeSassColor,num)", "Value0?(Statement0)", "ComplexSelector0(List<ComplexSelectorComponent0>)", "@(@)", "bool(SelectorList0)", "Statement()", "Iterable<ComplexSelector0>(ComplexSelector0)", "List<ComplexSelectorComponent>(List<ComplexSelectorComponent>)", "bool(Object)", "Iterable<String>(Module<Callable>)", "AsyncCallable?()", "num(Value)", "Null(Module<AsyncCallable>)", "Iterable<String>(Module0<AsyncCallable0>)", "bool(Module<AsyncCallable>)", "Callable?()", "Iterable<String>(Module<AsyncCallable>)", "bool(_Highlight)", "Callable0?()", "ComplexSelector0(ComplexSelector0)", "bool(Module0<Callable0>)", "Iterable<String>(Module0<Callable0>)", "bool(ComplexSelectorComponent0)", "~(String,Object?)", "~(@)", "bool(Module<Callable>)", "int(SassColor0)", "int(_NodeSassColor)", "num(Value0)", "List<ComplexSelectorComponent0>(List<ComplexSelectorComponent0>)", "~(Object)", "bool(@)", "List<CssMediaQuery>()", "String(Expression0)", "~(~())", "List<CssMediaQuery0>()", "Null(Module0<AsyncCallable0>)", "Future<~>?()", "AtRootQuery0()", "String(Expression)", "~(String)", "Future<@>()", "AsyncCallable0?()", "bool(ComplexSelectorComponent)", "Statement0()", "AtRootQuery()", "bool(Module0<AsyncCallable0>)", "Iterable<ComplexSelector>(ComplexSelector)", "Map<ComplexSelector,Extension>()", "Map<ComplexSelector0,Extension0>()", "ComplexSelector(ComplexSelector)", "int(Frame)", "String(Frame)", "Trace(String)", "Trace()", "Uri(String)", "bool(Frame)", "SassNumber()", "VariableDeclaration()", "AsyncCallable0?(Module0<AsyncCallable0>)", "MapKeySet<Module0<AsyncCallable0>>(Map<Module0<AsyncCallable0>,AstNode0>)", "Map<String,AsyncCallable0>(Module0<AsyncCallable0>)", "int(int,num?)", "AstNode0(AstNode0)", "Frame(Tuple2<String,AstNode>)", "bool(Import)", "SassFunction0(List<Value0>)", "Uri?()", "String(SassNumber)", "~(Module0<AsyncCallable0>)", "AstNode?()", "String(int)", "List<ExtensionStore0>()", "AsyncCallable?(Module<AsyncCallable>)", "bool(ModifiableCssParentNode0)", "bool(String?)", "Object(Object)", "bool(Queue<Object?>)", "num(num,num?,num)", "Iterable<String>()", "Future<SassNumber0>()", "Future<Object>()", "bool(UseRule0)", "bool(ForwardRule0)", "SelectorList(SelectorList,SelectorList)", "Map<String,AsyncCallable>(Module<AsyncCallable>)", "~(Uint8List,String,int)", "Iterable<String>(@)", "Future<Tuple3<AsyncImporter,Uri,Uri>?>()", "~(Object?,Object?)", "~(@,@)", "DateTime()", "Set<0^>()<Object?>", "AstNode0?()", "String(SassNumber0)", "Frame(Tuple2<String,AstNode0>)", "Future<Tuple3<AsyncImporter0,Uri,Uri>?>()", "0&(@[@])", "bool(ForwardRule)", "num?(String,num{assertPercent:bool,checkPercent:bool})", "~(String[~])", "bool(UseRule)", "Null(@,StackTrace)", "String(Value0)", "Future<SassNumber>()", "SelectorList(Value)", "~(Iterable<ExtensionStore>)", "Uri?/()", "bool(ModifiableCssParentNode)", "Future<NodeCompileResult>()", "int(Object?)", "Future<Value>(List<Value>)", "List<ExtensionStore>()", "~(Iterable<ExtensionStore0>)", "List<Extension>()", "Callable0?(Module0<Callable0>)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode0>)", "Map<String,Callable0>(Module0<Callable0>)", "~(Module<AsyncCallable>)", "SassFunction(List<Value>)", "MapKeySet<Module<AsyncCallable>>(Map<Module<AsyncCallable>,AstNode>)", "Value0?(Value0)", "int(int)", "SassNumber0()", "String(_NodeException)", "AstNode(AstNode)", "List<Extension0>()", "num(num,String)", "Entry(Entry)", "Callable?(Module<Callable>)", "Iterable<ComplexSelectorComponent0>(List<List<ComplexSelectorComponent0>>)", "AtRule(List<Statement>,FileSpan)", "bool(Statement0)", "bool(Import0)", "Tuple3<Importer0,Uri,Uri>?()", "~(String,@)", "AsyncImporter0(Object?)", "MapKeySet<Module<Callable>>(Map<Module<Callable>,AstNode>)", "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)", "AtRootRule(List<Statement>,FileSpan)", "Iterable<ComplexSelectorComponent>(List<List<ComplexSelectorComponent>>)", "AtRootRule0(List<Statement0>,FileSpan)", "AtRule0(List<Statement0>,FileSpan)", "int(@,@)", "Map<String,Callable>(Module<Callable>)", "bool(Object?,Object?)", "Iterable<String>(String)", "bool(Statement)", "MixinRule(List<Statement>,FileSpan)", "EvaluateResult()", "Module<Callable>(Module<Callable>)", "CssValue<Value>(Expression)", "Value?(Value)", "String(Value)", "CssValue<String>(Interpolation)", "0&(List<Value>)", "CssValue<String>(SupportsCondition)", "UserDefinedCallable<Environment>(ContentBlock)", "Map<String,Value>(Module<AsyncCallable>)", "Value(Expression)", "~(ContentBlock)", "~(List<Statement>)", "~(CssMediaQuery)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "Map<String,AstNode>(Module<AsyncCallable>)", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "String(String{color:@})", "List<Value>(Value)", "List<Frame>(Trace)", "int(Trace)", "bool(List<Value>)", "String(Trace)", "String(String?)", "~(Symbol0,@)", "Frame(String,String)", "bool(String?,String?)", "SassMap(Value)", "SassMap(SassMap)", "Frame(Frame)", "String(Argument0)", "int(String?)", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap(SassArgumentList0)", "Future<Stylesheet?>()", "bool(Extension)", "Value0?(Module0<AsyncCallable0>)", "Module0<AsyncCallable0>?(Module0<AsyncCallable0>)", "bool(Tuple3<AsyncImporter,Uri,Uri>)", "SassNumber(Value)", "FileSpan?(MapEntry<Module0<AsyncCallable0>,AstNode0>)", "Map<String,Value0>(Module0<AsyncCallable0>)", "Map<String,AstNode0>(Module0<AsyncCallable0>)", "Value(Object)", "Uri(Tuple3<AsyncImporter,Uri,Uri>)", "Future<List<CssMediaQuery0>>(Interpolation0)", "Future<String>(SupportsCondition0)", "~(String,int)", "SassString(SimpleSelector)", "String(Argument)", "Expression(Expression)", "String(MapEntry<String,ConfiguredValue>)", "Future<~>(List<Value0>)", "bool(Tuple3<Importer,Uri,Uri>)", "Uri(Tuple3<Importer,Uri,Uri>)", "Future<EvaluateResult0>()", "~(String,int?)", "Value?(Module<Callable>)", "Module0<AsyncCallable0>(Module0<AsyncCallable0>)", "Module<Callable>?(Module<Callable>)", "String(Tuple2<Expression,Expression>)", "int(int,int)", "Future<CssValue0<Value0>>(Expression0)", "FileSpan?(MapEntry<Module<Callable>,AstNode>)", "Map<String,Value>(Module<Callable>)", "Future<Value0?>(Value0)", "Map<String,AstNode>(Module<Callable>)", "String(int,IfClause)", "Future<CssValue0<String>>(Interpolation0)", "~([Future<~>?])", "ArgParser()", "Uint8List(@,@)", "Future<CancelableOperation<~>>()", "Future<~>(String)", "Future<CssValue0<String>>(SupportsCondition0)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "String(BuiltInCallable)", "List<WatchEvent>(List<WatchEvent>)", "~(@,StackTrace)", "CompoundSelector()", "Statement({root:bool})", "Object?(Object?)", "Future<Value0>(Expression0)", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "Stylesheet()", "Statement?()", "VariableDeclaration(VariableDeclaration)", "ArgumentDeclaration()", "Set<ModifiableCssValue<SelectorList>>()", "UseRule()", "Future<Stylesheet0?>()", "bool(Tuple3<AsyncImporter0,Uri,Uri>)", "Uri(Tuple3<AsyncImporter0,Uri,Uri>)", "@(@,String)", "0&(Object[Object?])", "SassList(ComplexSelector)", "Expression0(Expression0)", "StyleRule(List<Statement>,FileSpan)", "~(SimpleSelector,Map<ComplexSelector,Extension>)", "EachRule(List<Statement>,FileSpan)", "FunctionRule(List<Statement>,FileSpan)", "ForRule(List<Statement>,FileSpan)", "0&(List<Value0>)", "ContentBlock(List<Statement>,FileSpan)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "MediaRule(List<Statement>,FileSpan)", "num(_NodeSassColor)", "~(ComplexSelector,Extension)", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "Null(Map<SimpleSelector,Map<ComplexSelector,Extension>>)", "SupportsRule(List<Statement>,FileSpan)", "WhileRule(List<Statement>,FileSpan)", "~(Expression)", "AsyncImporter0(NodeImporter0)", "0&(@)", "~(BinaryOperator)", "Map<SimpleSelector,Map<ComplexSelector,Extension>>?(List<Extension>)", "String(MapEntry<String,ConfiguredValue0>)", "String(BuiltInCallable0)", "StringExpression(Interpolation)", "DateTime(StylesheetNode)", "Value0?(Module0<Callable0>)", "Module0<Callable0>?(Module0<Callable0>)", "~(Uri,StylesheetNode?)", "~(Set<ModifiableCssValue<SelectorList>>)", "FileSpan?(MapEntry<Module0<Callable0>,AstNode0>)", "Map<String,Value0>(Module0<Callable0>)", "Map<String,AstNode0>(Module0<Callable0>)", "List<ComplexSelector>(ComplexSelectorComponent)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "List<CssMediaQuery0>(Interpolation0)", "String(SupportsCondition0)", "SassScriptException()", "~(List<Value0>)", "List<ComplexSelectorComponent>(ComplexSelector)", "EvaluateResult0()", "Object(Value0)", "CssValue0<Value0>(Expression0)", "SingleUnitSassNumber(num)", "Future<List<CssMediaQuery>>(Interpolation)", "CssValue0<String>(Interpolation0)", "Future<String>(SupportsCondition)", "CssValue0<String>(SupportsCondition0)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "ComplexSelector(Extender)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableCssValue0<SelectorList0>>()", "List<ComplexSelector>?(List<Extender>)", "List<SimpleSelector>(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)", "Future<~>(List<Value>)", "List<ComplexSelector>(List<ComplexSelector>)", "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>))", "Future<EvaluateResult>()", "List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)", "bool(Queue<List<ComplexSelectorComponent0>>)", "List<Extender>?(SimpleSelector)", "bool(List<Iterable<ComplexSelectorComponent0>>)", "List<ComplexSelectorComponent0>(List<Iterable<ComplexSelectorComponent0>>)", "Iterable<ComplexSelectorComponent0>(Iterable<ComplexSelectorComponent0>)", "Module<AsyncCallable>(Module<AsyncCallable>)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "List<Extender>(PseudoSelector)", "List<List<Extender>>(List<Extender>)", "~(Object?,Object,Object?)", "Tuple2<String,String>(String)", "List<ComplexSelector>(ComplexSelector)", "Stylesheet0?()", "bool(Tuple3<Importer0,Uri,Uri>)", "Uri(Tuple3<Importer0,Uri,Uri>)", "Null(RenderResult)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "Future<CssValue<Value>>(Expression)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "SassString0(ComplexSelectorComponent0)", "PseudoSelector(ComplexSelector)", "~(SimpleSelector,Set<ModifiableCssValue<SelectorList>>)", "SimpleSelector0(SimpleSelector0)", "Null(_NodeSassList,int?[bool?,SassList0?])", "Future<Value?>(Value)", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassList0(Object[Object?,_ConstructorOptions?])", "SassString(ComplexSelectorComponent)", "String(Tuple2<Expression0,Expression0>)", "SassMap0(Value0)", "SassMap0(SassMap0)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "Future<CssValue<String>>(Interpolation)", "int(_NodeSassMap)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "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)", "bool(Queue<List<ComplexSelectorComponent>>)", "int?(SassNumber0)", "~(String,Option)", "int(SassNumber0[String?])", "num(SassNumber0,num,num[String?])", "~(SassNumber0[String?])", "~(SassNumber0,String[String?])", "_Future<@>(@)", "Future<CssValue<String>>(SupportsCondition)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "bool(List<Iterable<ComplexSelectorComponent>>)", "List<ComplexSelectorComponent>(List<Iterable<ComplexSelectorComponent>>)", "SassScriptException0()", "String(Object,@,@[@])", "Iterable<ComplexSelectorComponent>(Iterable<ComplexSelectorComponent>)", "~(String,StackTrace?)", "Null(@,@)", "bool(PseudoSelector)", "SassString0(SimpleSelector0)", "CompoundSelector0()", "~(CssMediaQuery0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(num)", "Future<Value>(Expression)", "JSUrl0?(FileSpan)", "SelectorList?(PseudoSelector)", "SimpleSelector(SimpleSelector)", "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})", "@(String)", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "Tuple2<String,ArgumentDeclaration0>()", "VariableDeclaration0()", "Value?(Module<AsyncCallable>)", "StyleRule0(List<Statement0>,FileSpan)", "Null(~)", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "Module<AsyncCallable>?(Module<AsyncCallable>)", "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?])", "~(int,@)", "List<CssMediaQuery>(Interpolation)", "~(Object?[Object?])", "~(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?>?)", "String(SupportsCondition)", "Null(Function,Function)", "0^(0^,0^)<num>", "~(List<Value>)", "~(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?])", "FileSpan?(MapEntry<Module<AsyncCallable>,AstNode>)", "Module0<Callable0>(Module0<Callable0>)"],
98150 interceptorsByTag: null,
98151 leafTags: null,
98152 arrayRti: Symbol("$ti")
98153 };
98154 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":[]},"DelegatingStreamSubscription":{"StreamSubscription":["1"]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_CompleterStream":{"Stream":["1"],"Stream.T":"1"},"_NextRequest":{"_EventRequest":["1"]},"SubscriptionStream":{"Stream":["1"],"Stream.T":"1"},"_CancelOnErrorSubscriptionWrapper":{"StreamSubscription":["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":[]}}'));
98155 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,"DelegatingStreamSubscription":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}'));
98156 var string$ = {
98157 x0a_BUG_: "\n\nBUG: This should include a source span!",
98158 x0a_More: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
98159 x0aRun_i: "\nRun in verbose mode to see all warnings.",
98160 x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
98161 x20in_in: " in interpolation here.\nIt may end up represented as ",
98162 x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
98163 x20is_av: " is available from multiple global modules.",
98164 x20is_no: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
98165 x20must_: " must not be greater than the number of characters in the file, ",
98166 x20repet: " repetitive deprecation warnings omitted.",
98167 x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
98168 x20was_a: ' was already loaded, so it can\'t be configured using "with".',
98169 x20was_n: " was not declared with !default in the @used module.",
98170 x20was_p: " was passed both by position and by name.",
98171 x21globa: "!global isn't allowed for variables in other modules.",
98172 x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
98173 x22x26__ma: '"&" may only used at the beginning of a compound selector.',
98174 x22x29__If: "\").\nIf you really want to use the color value here, use '",
98175 x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
98176 x22packa: '"package:" URLs aren\'t supported on this platform.',
98177 x24css_a: "$css and $module may not both be passed at once.",
98178 x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
98179 x24selec: "$selectors: At least one selector must be passed.",
98180 x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
98181 x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
98182 x29x0a_Morx20: ")\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
98183 x29x0a_Morx3a: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
98184 x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: $",
98185 x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
98186 x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
98187 x2c_whici: ", which is currently (incorrectly) converted to ",
98188 x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
98189 x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.\n",
98190 x3d_____: "===== asynchronous gap ===========================\n",
98191 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.",
98192 x40conte: "@content is only allowed within mixin declarations.",
98193 x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
98194 x40exten: "@extend may only be used within style rules.",
98195 x40forwa: "@forward rules must be written before any other rules.",
98196 x40funct: "@function if($condition, $if-true, $if-false) {",
98197 x40use_r: "@use rules must be written before any other rules.",
98198 A_list: "A list with more than one element must have an explicit separator.",
98199 ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
98200 An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
98201 An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
98202 As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
98203 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.",
98204 At_rul: "At-rules may not be used within nested declarations.",
98205 Cannotff: "Cannot extract a file path from a URI with a fragment component",
98206 Cannotfq: "Cannot extract a file path from a URI with a query component",
98207 Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
98208 Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
98209 Could_: 'Could not find an option with short name "-',
98210 CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
98211 Declarm: "Declarations may only be used within style rules.",
98212 Declarwa: 'Declarations whose names begin with "--" may not be nested.',
98213 Declarwu: 'Declarations whose names begin with "--" must have StringExpression values (was `',
98214 Either: "Either options.data or options.file must be set.",
98215 Entrie: "Entries may not be removed from MergedMapView.",
98216 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",
98217 Evalua: "Evaluation handles @include and its content block together.",
98218 Expand: "Expandos are not allowed on strings, numbers, booleans or null",
98219 Expectn: "Expected number, variable, function, or calculation.",
98220 Expectv: "Expected variable, mixin, or function name",
98221 Functi: "Functions may not be declared in control directives.",
98222 HSL_pa: "HSL parameters may not be passed along with HWB parameters.",
98223 If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
98224 In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
98225 Indent: "Indenting at the beginning of the document is illegal.",
98226 Interpn: "Interpolation isn't allowed in namespaces.",
98227 Interpp: "Interpolation isn't allowed in plain CSS.",
98228 Invali: 'Invalid return value for custom function "',
98229 It_s_n: "It's not clear which file to import. Found:\n",
98230 May_on: "May only contains Strings or Expressions.",
98231 Media_: "Media rules may not be used within nested declarations.",
98232 Mixinsb: "Mixins may not be declared in control directives.",
98233 Mixinscf: "Mixins may not contain function declarations.",
98234 Mixinscm: "Mixins may not contain mixin declarations.",
98235 Modulel: "Module loop: this module is already being loaded.",
98236 Modulen: "Module namespaces aren't allowed in plain CSS.",
98237 Nested: "Nested declarations aren't allowed in plain CSS.",
98238 New_en: "New entries may not be added to MergedMapView.",
98239 No_Sasc: "No Sass callable is currently being evaluated.",
98240 No_Sass: "No Sass stylesheet is currently being evaluated.",
98241 NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
98242 Only_2: "Only 2 slash-separated elements allowed, but ",
98243 Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
98244 Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
98245 Other_: "Other modules' members can't be defined with !global.",
98246 Passin: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
98247 Placeh: "Placeholder selectors aren't allowed here.",
98248 Plain_: "Plain CSS functions don't support keyword arguments.",
98249 Positi: "Positional arguments must come before keyword arguments.",
98250 Privat: "Private members can't be accessed from outside their modules.",
98251 RGB_pa: "RGB parameters may not be passed along with ",
98252 Sass_v: "Sass variables aren't allowed in plain CSS.",
98253 Silent: "Silent comments aren't allowed in plain CSS.",
98254 Soon__: "Soon, it will instead be correctly converted to ",
98255 Style_: "Style rules may not be used within nested declarations.",
98256 Suppor: "Supports rules may not be used within nested declarations.",
98257 The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
98258 The_ca: "The canonicalize() method must return a URL.",
98259 The_fie: "The findFileUrl() method must return a URL.",
98260 The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
98261 The_gi: "The given LineScannerState was not returned by this LineScanner.",
98262 The_lo: "The load() function must return an object with contents and syntax fields.",
98263 The_pa: "The parent selector isn't allowed in plain CSS.",
98264 The_sa: "The same variable may only be configured once.",
98265 The_ta: 'The target selector was not found.\nUse "@extend ',
98266 There_: "There's already a module with namespace \"",
98267 This_d: 'This declaration has no argument named "$',
98268 This_f: "This function isn't allowed in plain CSS.",
98269 This_ma: 'This module and the new module both define a variable named "$',
98270 This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
98271 This_s: "This selector doesn't have any properties and won't be rendered.",
98272 This_v: "This variable was not declared with !default in the @used module.",
98273 Top_le: 'Top-level selectors may not contain the parent selector "&".',
98274 Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
98275 Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
98276 Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
98277 Variab_: "Variable keyword argument map must have string keys.\n",
98278 Variabs: "Variable keyword arguments must be a map (was ",
98279 You_ma: "You may not @extend selectors across media queries.",
98280 You_pr: "You probably don't mean to use the color value ",
98281 x60_inst: "` instead.\nSee http://bit.ly/ExtendCompound for details.\n",
98282 addExt_: "addExtension() can't be called for a const ExtensionStore.",
98283 addExts: "addExtensions() can't be called for a const ExtensionStore.",
98284 addSel: "addSelector() can't be called for a const ExtensionStore.",
98285 compou: "compound selectors may no longer be extended.\nConsider `@extend ",
98286 conten: "content-exists() may only be called within a mixin.",
98287 math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
98288 must_b: "must be a UniversalSelector or a TypeSelector",
98289 parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
98290 semico: "semicolons aren't allowed in the indented syntax.",
98291 throug: "through() must return false for at least one parent of "
98292 };
98293 var type$ = (function rtii() {
98294 var findType = A.findType;
98295 return {
98296 $env_1_1_String: findType("@<String>"),
98297 ArgParser: findType("ArgParser"),
98298 Argument: findType("Argument"),
98299 ArgumentDeclaration: findType("ArgumentDeclaration"),
98300 ArgumentDeclaration_2: findType("ArgumentDeclaration0"),
98301 Argument_2: findType("Argument0"),
98302 AstNode: findType("AstNode"),
98303 AstNode_2: findType("AstNode0"),
98304 AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
98305 AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
98306 AsyncCallable: findType("AsyncCallable"),
98307 AsyncCallable_2: findType("AsyncCallable0"),
98308 AsyncImporter: findType("AsyncImporter0"),
98309 BuiltInCallable: findType("BuiltInCallable"),
98310 BuiltInCallable_2: findType("BuiltInCallable0"),
98311 BuiltInModule_AsyncBuiltInCallable: findType("BuiltInModule<AsyncBuiltInCallable>"),
98312 BuiltInModule_AsyncBuiltInCallable_2: findType("BuiltInModule0<AsyncBuiltInCallable0>"),
98313 BuiltInModule_BuiltInCallable: findType("BuiltInModule<BuiltInCallable>"),
98314 BuiltInModule_BuiltInCallable_2: findType("BuiltInModule0<BuiltInCallable0>"),
98315 Callable: findType("Callable"),
98316 Callable_2: findType("Callable0"),
98317 CancelableCompleter_void: findType("CancelableCompleter<~>"),
98318 CancelableOperation_void: findType("CancelableOperation<~>"),
98319 ChangeType: findType("ChangeType"),
98320 Combinator: findType("Combinator"),
98321 Combinator_2: findType("Combinator0"),
98322 Comparable_dynamic: findType("Comparable<@>"),
98323 Comparable_nullable_Object: findType("Comparable<Object?>"),
98324 CompileResult: findType("CompileResult"),
98325 CompileResult_2: findType("CompileResult0"),
98326 ComplexSelector: findType("ComplexSelector"),
98327 ComplexSelectorComponent: findType("ComplexSelectorComponent"),
98328 ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
98329 ComplexSelector_2: findType("ComplexSelector0"),
98330 CompoundSelector: findType("CompoundSelector"),
98331 CompoundSelector_2: findType("CompoundSelector0"),
98332 Configuration: findType("Configuration"),
98333 Configuration_2: findType("Configuration0"),
98334 ConfiguredValue: findType("ConfiguredValue"),
98335 ConfiguredValue_2: findType("ConfiguredValue0"),
98336 ConfiguredVariable: findType("ConfiguredVariable"),
98337 ConfiguredVariable_2: findType("ConfiguredVariable0"),
98338 ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
98339 ConstantStringMap_String_Null: findType("ConstantStringMap<String,Null>"),
98340 ConstantStringMap_String_num: findType("ConstantStringMap<String,num>"),
98341 CssAtRule: findType("CssAtRule"),
98342 CssAtRule_2: findType("CssAtRule0"),
98343 CssComment: findType("CssComment"),
98344 CssComment_2: findType("CssComment0"),
98345 CssImport: findType("CssImport"),
98346 CssImport_2: findType("CssImport0"),
98347 CssMediaQuery: findType("CssMediaQuery"),
98348 CssMediaQuery_2: findType("CssMediaQuery0"),
98349 CssMediaRule: findType("CssMediaRule"),
98350 CssMediaRule_2: findType("CssMediaRule0"),
98351 CssParentNode: findType("CssParentNode"),
98352 CssParentNode_2: findType("CssParentNode0"),
98353 CssStyleRule: findType("CssStyleRule"),
98354 CssStyleRule_2: findType("CssStyleRule0"),
98355 CssStylesheet: findType("CssStylesheet"),
98356 CssStylesheet_2: findType("CssStylesheet0"),
98357 CssSupportsRule: findType("CssSupportsRule"),
98358 CssSupportsRule_2: findType("CssSupportsRule0"),
98359 CssValue_List_String: findType("CssValue<List<String>>"),
98360 CssValue_List_String_2: findType("CssValue0<List<String>>"),
98361 CssValue_SelectorList: findType("CssValue<SelectorList>"),
98362 CssValue_SelectorList_2: findType("CssValue0<SelectorList0>"),
98363 CssValue_String: findType("CssValue<String>"),
98364 CssValue_String_2: findType("CssValue0<String>"),
98365 CssValue_Value: findType("CssValue<Value>"),
98366 CssValue_Value_2: findType("CssValue0<Value0>"),
98367 DateTime: findType("DateTime"),
98368 EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
98369 Error: findType("Error"),
98370 EvaluateResult: findType("EvaluateResult"),
98371 EvaluateResult_2: findType("EvaluateResult0"),
98372 EvaluationContext: findType("EvaluationContext"),
98373 EvaluationContext_2: findType("EvaluationContext0"),
98374 Exception: findType("Exception"),
98375 Expression: findType("Expression"),
98376 Expression_2: findType("Expression0"),
98377 Extender: findType("Extender"),
98378 Extender_2: findType("Extender0"),
98379 Extension: findType("Extension"),
98380 Extension_2: findType("Extension0"),
98381 FileSpan: findType("FileSpan"),
98382 FormatException: findType("FormatException"),
98383 Frame: findType("Frame"),
98384 Function: findType("Function"),
98385 FutureOr_EvaluateResult: findType("EvaluateResult/"),
98386 FutureOr_EvaluateResult_2: findType("EvaluateResult0/"),
98387 FutureOr_nullable_Uri: findType("Uri?/"),
98388 Future_dynamic: findType("Future<@>"),
98389 Future_void: findType("Future<~>"),
98390 IfClause: findType("IfClause"),
98391 IfClause_2: findType("IfClause0"),
98392 ImmutableList: findType("ImmutableList"),
98393 ImmutableMap: findType("ImmutableMap"),
98394 Import: findType("Import"),
98395 Import_2: findType("Import0"),
98396 Importer: findType("Importer0"),
98397 ImporterResult: findType("ImporterResult"),
98398 ImporterResult_2: findType("ImporterResult0"),
98399 InternalStyle: findType("InternalStyle"),
98400 Interpolation: findType("Interpolation"),
98401 InterpolationBuffer: findType("InterpolationBuffer"),
98402 InterpolationBuffer_2: findType("InterpolationBuffer0"),
98403 Interpolation_2: findType("Interpolation0"),
98404 Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
98405 Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
98406 Iterable_dynamic: findType("Iterable<@>"),
98407 JSArray_Argument: findType("JSArray<Argument>"),
98408 JSArray_Argument_2: findType("JSArray<Argument0>"),
98409 JSArray_AstNode: findType("JSArray<AstNode>"),
98410 JSArray_AstNode_2: findType("JSArray<AstNode0>"),
98411 JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
98412 JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
98413 JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
98414 JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
98415 JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
98416 JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
98417 JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
98418 JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
98419 JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
98420 JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
98421 JSArray_Callable: findType("JSArray<Callable>"),
98422 JSArray_Callable_2: findType("JSArray<Callable0>"),
98423 JSArray_CancelableOperation_void: findType("JSArray<CancelableOperation<~>>"),
98424 JSArray_Combinator: findType("JSArray<Combinator>"),
98425 JSArray_Combinator_2: findType("JSArray<Combinator0>"),
98426 JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
98427 JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
98428 JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
98429 JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
98430 JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
98431 JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
98432 JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
98433 JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
98434 JSArray_CssNode: findType("JSArray<CssNode>"),
98435 JSArray_CssNode_2: findType("JSArray<CssNode0>"),
98436 JSArray_Entry: findType("JSArray<Entry>"),
98437 JSArray_Expression: findType("JSArray<Expression>"),
98438 JSArray_Expression_2: findType("JSArray<Expression0>"),
98439 JSArray_Extender: findType("JSArray<Extender>"),
98440 JSArray_Extender_2: findType("JSArray<Extender0>"),
98441 JSArray_Extension: findType("JSArray<Extension>"),
98442 JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
98443 JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
98444 JSArray_Extension_2: findType("JSArray<Extension0>"),
98445 JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
98446 JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
98447 JSArray_Frame: findType("JSArray<Frame>"),
98448 JSArray_IfClause: findType("JSArray<IfClause>"),
98449 JSArray_IfClause_2: findType("JSArray<IfClause0>"),
98450 JSArray_Import: findType("JSArray<Import>"),
98451 JSArray_Import_2: findType("JSArray<Import0>"),
98452 JSArray_Importer: findType("JSArray<Importer0>"),
98453 JSArray_Importer_2: findType("JSArray<Importer>"),
98454 JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
98455 JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
98456 JSArray_JSFunction: findType("JSArray<JSFunction0>"),
98457 JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
98458 JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
98459 JSArray_List_Extender: findType("JSArray<List<Extender>>"),
98460 JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
98461 JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
98462 JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
98463 JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
98464 JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
98465 JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
98466 JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
98467 JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable>>"),
98468 JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable0>>"),
98469 JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
98470 JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
98471 JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
98472 JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
98473 JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
98474 JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
98475 JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
98476 JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
98477 JSArray_Module_AsyncCallable: findType("JSArray<Module<AsyncCallable>>"),
98478 JSArray_Module_AsyncCallable_2: findType("JSArray<Module0<AsyncCallable0>>"),
98479 JSArray_Module_Callable: findType("JSArray<Module<Callable>>"),
98480 JSArray_Module_Callable_2: findType("JSArray<Module0<Callable0>>"),
98481 JSArray_Object: findType("JSArray<Object>"),
98482 JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
98483 JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
98484 JSArray_SassList: findType("JSArray<SassList>"),
98485 JSArray_SassList_2: findType("JSArray<SassList0>"),
98486 JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
98487 JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
98488 JSArray_Statement: findType("JSArray<Statement>"),
98489 JSArray_Statement_2: findType("JSArray<Statement0>"),
98490 JSArray_String: findType("JSArray<String>"),
98491 JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
98492 JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
98493 JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
98494 JSArray_Trace: findType("JSArray<Trace>"),
98495 JSArray_Tuple2_Expression_Expression: findType("JSArray<Tuple2<Expression,Expression>>"),
98496 JSArray_Tuple2_Expression_Expression_2: findType("JSArray<Tuple2<Expression0,Expression0>>"),
98497 JSArray_Tuple2_String_AstNode: findType("JSArray<Tuple2<String,AstNode>>"),
98498 JSArray_Tuple2_String_AstNode_2: findType("JSArray<Tuple2<String,AstNode0>>"),
98499 JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("JSArray<Tuple2<ArgumentDeclaration,Value(List<Value>)>>"),
98500 JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("JSArray<Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>>"),
98501 JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("JSArray<Tuple4<Uri,bool,Importer,Uri?>>"),
98502 JSArray_Uri: findType("JSArray<Uri>"),
98503 JSArray_UseRule: findType("JSArray<UseRule>"),
98504 JSArray_UseRule_2: findType("JSArray<UseRule0>"),
98505 JSArray_Value: findType("JSArray<Value>"),
98506 JSArray_Value_2: findType("JSArray<Value0>"),
98507 JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
98508 JSArray__Highlight: findType("JSArray<_Highlight>"),
98509 JSArray__Line: findType("JSArray<_Line>"),
98510 JSArray_bool: findType("JSArray<bool>"),
98511 JSArray_dynamic: findType("JSArray<@>"),
98512 JSArray_int: findType("JSArray<int>"),
98513 JSArray_nullable_String: findType("JSArray<String?>"),
98514 JSClass: findType("JSClass0"),
98515 JSFunction: findType("JSFunction0"),
98516 JSNull: findType("JSNull"),
98517 JSUrl: findType("JSUrl0"),
98518 JavaScriptFunction: findType("JavaScriptFunction"),
98519 JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
98520 JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
98521 JsSystemError: findType("JsSystemError"),
98522 LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
98523 LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
98524 List_ComplexSelector: findType("List<ComplexSelector>"),
98525 List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
98526 List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
98527 List_ComplexSelector_2: findType("List<ComplexSelector0>"),
98528 List_CssMediaQuery: findType("List<CssMediaQuery>"),
98529 List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
98530 List_Extension: findType("List<Extension>"),
98531 List_ExtensionStore: findType("List<ExtensionStore>"),
98532 List_ExtensionStore_2: findType("List<ExtensionStore0>"),
98533 List_Extension_2: findType("List<Extension0>"),
98534 List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
98535 List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
98536 List_Module_AsyncCallable: findType("List<Module<AsyncCallable>>"),
98537 List_Module_AsyncCallable_2: findType("List<Module0<AsyncCallable0>>"),
98538 List_Module_Callable: findType("List<Module<Callable>>"),
98539 List_Module_Callable_2: findType("List<Module0<Callable0>>"),
98540 List_String: findType("List<String>"),
98541 List_Value: findType("List<Value>"),
98542 List_Value_2: findType("List<Value0>"),
98543 List_WatchEvent: findType("List<WatchEvent>"),
98544 List_dynamic: findType("List<@>"),
98545 List_int: findType("List<int>"),
98546 List_nullable_Object: findType("List<Object?>"),
98547 MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module<AsyncCallable>>"),
98548 MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module0<AsyncCallable0>>"),
98549 MapKeySet_Module_Callable: findType("MapKeySet<Module<Callable>>"),
98550 MapKeySet_Module_Callable_2: findType("MapKeySet<Module0<Callable0>>"),
98551 MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
98552 MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
98553 MapKeySet_String: findType("MapKeySet<String>"),
98554 MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
98555 Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
98556 Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
98557 Map_String_AstNode: findType("Map<String,AstNode>"),
98558 Map_String_AstNode_2: findType("Map<String,AstNode0>"),
98559 Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
98560 Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
98561 Map_String_Callable: findType("Map<String,Callable>"),
98562 Map_String_Callable_2: findType("Map<String,Callable0>"),
98563 Map_String_Value: findType("Map<String,Value>"),
98564 Map_String_Value_2: findType("Map<String,Value0>"),
98565 Map_String_dynamic: findType("Map<String,@>"),
98566 Map_dynamic_dynamic: findType("Map<@,@>"),
98567 MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
98568 MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
98569 MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
98570 MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
98571 MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
98572 MediaQuerySuccessfulMergeResult: findType("MediaQuerySuccessfulMergeResult"),
98573 MediaQuerySuccessfulMergeResult_2: findType("MediaQuerySuccessfulMergeResult0"),
98574 MixinRule: findType("MixinRule"),
98575 MixinRule_2: findType("MixinRule0"),
98576 ModifiableCssAtRule: findType("ModifiableCssAtRule"),
98577 ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
98578 ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
98579 ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
98580 ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
98581 ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
98582 ModifiableCssNode: findType("ModifiableCssNode"),
98583 ModifiableCssNode_2: findType("ModifiableCssNode0"),
98584 ModifiableCssParentNode: findType("ModifiableCssParentNode"),
98585 ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
98586 ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
98587 ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
98588 ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
98589 ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
98590 ModifiableCssValue_SelectorList: findType("ModifiableCssValue<SelectorList>"),
98591 ModifiableCssValue_SelectorList_2: findType("ModifiableCssValue0<SelectorList0>"),
98592 Module_AsyncCallable: findType("Module<AsyncCallable>"),
98593 Module_AsyncCallable_2: findType("Module0<AsyncCallable0>"),
98594 Module_Callable: findType("Module<Callable>"),
98595 Module_Callable_2: findType("Module0<Callable0>"),
98596 NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
98597 NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
98598 NativeUint8List: findType("NativeUint8List"),
98599 Never: findType("0&"),
98600 NodeCompileResult: findType("NodeCompileResult"),
98601 NodeImporter: findType("NodeImporter0"),
98602 NodeImporterResult: findType("NodeImporterResult0"),
98603 NodeImporterResult_2: findType("NodeImporterResult1"),
98604 Null: findType("Null"),
98605 Object: findType("Object"),
98606 Option: findType("Option"),
98607 ParentSelector: findType("ParentSelector"),
98608 ParentSelector_2: findType("ParentSelector0"),
98609 PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
98610 PathMap_String: findType("PathMap<String>"),
98611 PathMap_nullable_String: findType("PathMap<String?>"),
98612 Promise: findType("Promise"),
98613 PseudoSelector: findType("PseudoSelector"),
98614 PseudoSelector_2: findType("PseudoSelector0"),
98615 RangeError: findType("RangeError"),
98616 RegExpMatch: findType("RegExpMatch"),
98617 RenderContextOptions: findType("RenderContextOptions0"),
98618 RenderResult: findType("RenderResult"),
98619 Result_String: findType("Result<String>"),
98620 ReversedListIterable_Combinator: findType("ReversedListIterable<Combinator>"),
98621 ReversedListIterable_Combinator_2: findType("ReversedListIterable<Combinator0>"),
98622 SassArgumentList: findType("SassArgumentList"),
98623 SassArgumentList_2: findType("SassArgumentList0"),
98624 SassBoolean: findType("SassBoolean"),
98625 SassBoolean_2: findType("SassBoolean0"),
98626 SassColor: findType("SassColor"),
98627 SassColor_2: findType("SassColor0"),
98628 SassList: findType("SassList"),
98629 SassList_2: findType("SassList0"),
98630 SassMap: findType("SassMap"),
98631 SassMap_2: findType("SassMap0"),
98632 SassNumber: findType("SassNumber"),
98633 SassNumber_2: findType("SassNumber0"),
98634 SassRuntimeException: findType("SassRuntimeException"),
98635 SassRuntimeException_2: findType("SassRuntimeException0"),
98636 SassString: findType("SassString"),
98637 SassString_2: findType("SassString0"),
98638 SelectorList: findType("SelectorList"),
98639 SelectorList_2: findType("SelectorList0"),
98640 Set_ModifiableCssValue_SelectorList: findType("Set<ModifiableCssValue<SelectorList>>"),
98641 Set_ModifiableCssValue_SelectorList_2: findType("Set<ModifiableCssValue0<SelectorList0>>"),
98642 SimpleSelector: findType("SimpleSelector"),
98643 SimpleSelector_2: findType("SimpleSelector0"),
98644 SourceFile: findType("SourceFile"),
98645 SourceLocation: findType("SourceLocation"),
98646 SourceSpan: findType("SourceSpan"),
98647 SourceSpanFormatException: findType("SourceSpanFormatException"),
98648 SourceSpanWithContext: findType("SourceSpanWithContext"),
98649 SpanColorFormat: findType("SpanColorFormat"),
98650 SpanColorFormat_2: findType("SpanColorFormat0"),
98651 StackTrace: findType("StackTrace"),
98652 Statement: findType("Statement"),
98653 Statement_2: findType("Statement0"),
98654 StaticImport: findType("StaticImport"),
98655 StaticImport_2: findType("StaticImport0"),
98656 StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
98657 StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
98658 StreamQueue_String: findType("StreamQueue<String>"),
98659 Stream_WatchEvent: findType("Stream<WatchEvent>"),
98660 String: findType("String"),
98661 StylesheetNode: findType("StylesheetNode"),
98662 SubscriptionStream_WatchEvent: findType("SubscriptionStream<WatchEvent>"),
98663 Timer: findType("Timer"),
98664 Trace: findType("Trace"),
98665 Tuple2_Expression_Expression: findType("Tuple2<Expression,Expression>"),
98666 Tuple2_Expression_Expression_2: findType("Tuple2<Expression0,Expression0>"),
98667 Tuple2_ModifiableCssStylesheet_ExtensionStore: findType("Tuple2<ModifiableCssStylesheet,ExtensionStore>"),
98668 Tuple2_ModifiableCssStylesheet_ExtensionStore_2: findType("Tuple2<ModifiableCssStylesheet0,ExtensionStore0>"),
98669 Tuple2_SassNumber_SassNumber: findType("Tuple2<SassNumber,SassNumber>"),
98670 Tuple2_SassNumber_SassNumber_2: findType("Tuple2<SassNumber0,SassNumber0>"),
98671 Tuple2_String_ArgumentDeclaration: findType("Tuple2<String,ArgumentDeclaration0>"),
98672 Tuple2_String_AstNode: findType("Tuple2<String,AstNode>"),
98673 Tuple2_String_AstNode_2: findType("Tuple2<String,AstNode0>"),
98674 Tuple2_String_SourceSpan: findType("Tuple2<String,SourceSpan>"),
98675 Tuple2_String_String: findType("Tuple2<String,String>"),
98676 Tuple2_Uri_bool: findType("Tuple2<Uri,bool>"),
98677 Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value/(List<Value>)>"),
98678 Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0/(List<Value0>)>"),
98679 Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value(List<Value>)>"),
98680 Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>"),
98681 Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList: findType("Tuple2<ExtensionStore,Map<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>>"),
98682 Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2: findType("Tuple2<ExtensionStore0,Map<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>>"),
98683 Tuple2_of_List_Expression_and_Map_String_Expression: findType("Tuple2<List<Expression>,Map<String,Expression>>"),
98684 Tuple2_of_List_Expression_and_Map_String_Expression_2: findType("Tuple2<List<Expression0>,Map<String,Expression0>>"),
98685 Tuple2_of_List_Uri_and_List_Uri: findType("Tuple2<List<Uri>,List<Uri>>"),
98686 Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode: findType("Tuple2<Map<Uri,StylesheetNode?>,Map<Uri,StylesheetNode?>>"),
98687 Tuple2_of_Set_String_and_Set_String: findType("Tuple2<Set<String>,Set<String>>"),
98688 Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation: findType("Tuple2<SupportsCondition?,Interpolation?>"),
98689 Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation_2: findType("Tuple2<SupportsCondition0?,Interpolation0?>"),
98690 Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>"),
98691 Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>"),
98692 Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>"),
98693 Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>"),
98694 Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri: findType("Tuple4<Uri,bool,AsyncImporter,Uri?>"),
98695 Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2: findType("Tuple4<Uri,bool,AsyncImporter0,Uri?>"),
98696 Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("Tuple4<Uri,bool,Importer,Uri?>"),
98697 Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2: findType("Tuple4<Uri,bool,Importer0,Uri?>"),
98698 TypeError: findType("TypeError"),
98699 Uint8List: findType("Uint8List"),
98700 UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
98701 UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
98702 UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
98703 UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
98704 UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
98705 UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
98706 UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
98707 UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
98708 UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
98709 UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
98710 UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
98711 UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
98712 UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
98713 UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
98714 UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
98715 UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
98716 UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
98717 UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
98718 UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
98719 UnmodifiableSetView_String: findType("UnmodifiableSetView<String>"),
98720 UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView<StylesheetNode>"),
98721 UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
98722 UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
98723 Uri: findType("Uri"),
98724 UseRule: findType("UseRule"),
98725 UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
98726 UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
98727 UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
98728 UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
98729 Value: findType("Value"),
98730 Value_2: findType("Value0"),
98731 Value_Function_List_Value: findType("Value(List<Value>)"),
98732 Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
98733 VariableDeclaration: findType("VariableDeclaration"),
98734 VariableDeclaration_2: findType("VariableDeclaration0"),
98735 WatchEvent: findType("WatchEvent"),
98736 WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
98737 WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
98738 WhereIterable_String: findType("WhereIterable<String>"),
98739 WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
98740 WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
98741 WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
98742 _ArgumentResults: findType("_ArgumentResults0"),
98743 _ArgumentResults_2: findType("_ArgumentResults2"),
98744 _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
98745 _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
98746 _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
98747 _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
98748 _AsyncCompleter_void: findType("_AsyncCompleter<~>"),
98749 _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
98750 _EventRequest_dynamic: findType("_EventRequest<@>"),
98751 _Future_Object: findType("_Future<Object>"),
98752 _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
98753 _Future_String: findType("_Future<String>"),
98754 _Future_bool: findType("_Future<bool>"),
98755 _Future_dynamic: findType("_Future<@>"),
98756 _Future_int: findType("_Future<int>"),
98757 _Future_nullable_Object: findType("_Future<Object?>"),
98758 _Future_void: findType("_Future<~>"),
98759 _Highlight: findType("_Highlight"),
98760 _IdentityHashMap_dynamic_dynamic: findType("_IdentityHashMap<@,@>"),
98761 _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
98762 _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
98763 _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
98764 _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
98765 _LoadedStylesheet: findType("_LoadedStylesheet0"),
98766 _LoadedStylesheet_2: findType("_LoadedStylesheet2"),
98767 _MapEntry: findType("_MapEntry"),
98768 _NodeException: findType("_NodeException"),
98769 _UnmodifiableSet_String: findType("_UnmodifiableSet<String>"),
98770 bool: findType("bool"),
98771 double: findType("double"),
98772 dynamic: findType("@"),
98773 dynamic_Function: findType("@()"),
98774 dynamic_Function_Object: findType("@(Object)"),
98775 dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
98776 dynamic_Function_dynamic_dynamic: findType("@(@,@)"),
98777 int: findType("int"),
98778 legacy_Never: findType("0&*"),
98779 legacy_Object: findType("Object*"),
98780 nullable_AstNode: findType("AstNode?"),
98781 nullable_AstNode_2: findType("AstNode0?"),
98782 nullable_FileSpan: findType("FileSpan?"),
98783 nullable_Future_Null: findType("Future<Null>?"),
98784 nullable_Future_void: findType("Future<~>?"),
98785 nullable_ImporterResult: findType("ImporterResult0?"),
98786 nullable_List_ComplexSelector: findType("List<ComplexSelector>?"),
98787 nullable_List_ComplexSelector_2: findType("List<ComplexSelector0>?"),
98788 nullable_Object: findType("Object?"),
98789 nullable_SourceFile: findType("SourceFile?"),
98790 nullable_SourceSpan: findType("SourceSpan?"),
98791 nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
98792 nullable_String: findType("String?"),
98793 nullable_Stylesheet: findType("Stylesheet?"),
98794 nullable_StylesheetNode: findType("StylesheetNode?"),
98795 nullable_Stylesheet_2: findType("Stylesheet0?"),
98796 nullable_Tuple2_String_String: findType("Tuple2<String,String>?"),
98797 nullable_Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>?"),
98798 nullable_Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>?"),
98799 nullable_Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>?"),
98800 nullable_Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>?"),
98801 nullable_Uri: findType("Uri?"),
98802 nullable_Value: findType("Value?"),
98803 nullable_Value_2: findType("Value0?"),
98804 nullable__ConstructorOptions: findType("_ConstructorOptions?"),
98805 nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
98806 nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
98807 nullable__Highlight: findType("_Highlight?"),
98808 nullable__LoadedStylesheet: findType("_LoadedStylesheet0?"),
98809 nullable__LoadedStylesheet_2: findType("_LoadedStylesheet2?"),
98810 num: findType("num"),
98811 void: findType("~"),
98812 void_Function_Object: findType("~(Object)"),
98813 void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
98814 };
98815 })();
98816 (function constants() {
98817 var makeConstList = hunkHelpers.makeConstList;
98818 B.Interceptor_methods = J.Interceptor.prototype;
98819 B.JSArray_methods = J.JSArray.prototype;
98820 B.JSBool_methods = J.JSBool.prototype;
98821 B.JSInt_methods = J.JSInt.prototype;
98822 B.JSNumber_methods = J.JSNumber.prototype;
98823 B.JSString_methods = J.JSString.prototype;
98824 B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
98825 B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
98826 B.NativeUint32List_methods = A.NativeUint32List.prototype;
98827 B.NativeUint8List_methods = A.NativeUint8List.prototype;
98828 B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
98829 B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
98830 B.AsciiEncoder_127 = new A.AsciiEncoder(127);
98831 B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
98832 B.AtRootQuery_UsS = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
98833 B.AtRootQuery_UsS0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
98834 B.AttributeOperator_4L5 = new A.AttributeOperator("^=");
98835 B.AttributeOperator_4L50 = new A.AttributeOperator0("^=");
98836 B.AttributeOperator_AuK = new A.AttributeOperator("|=");
98837 B.AttributeOperator_AuK0 = new A.AttributeOperator0("|=");
98838 B.AttributeOperator_fz1 = new A.AttributeOperator("~=");
98839 B.AttributeOperator_fz10 = new A.AttributeOperator0("~=");
98840 B.AttributeOperator_gqZ = new A.AttributeOperator("*=");
98841 B.AttributeOperator_gqZ0 = new A.AttributeOperator0("*=");
98842 B.AttributeOperator_mOX = new A.AttributeOperator("$=");
98843 B.AttributeOperator_mOX0 = new A.AttributeOperator0("$=");
98844 B.AttributeOperator_sEs = new A.AttributeOperator("=");
98845 B.AttributeOperator_sEs0 = new A.AttributeOperator0("=");
98846 B.BinaryOperator_1da = new A.BinaryOperator("greater than or equals", ">=", 4);
98847 B.BinaryOperator_1da0 = new A.BinaryOperator0("greater than or equals", ">=", 4);
98848 B.BinaryOperator_2ad = new A.BinaryOperator("modulo", "%", 6);
98849 B.BinaryOperator_2ad0 = new A.BinaryOperator0("modulo", "%", 6);
98850 B.BinaryOperator_33h = new A.BinaryOperator("less than or equals", "<=", 4);
98851 B.BinaryOperator_33h0 = new A.BinaryOperator0("less than or equals", "<=", 4);
98852 B.BinaryOperator_8qt = new A.BinaryOperator("less than", "<", 4);
98853 B.BinaryOperator_8qt0 = new A.BinaryOperator0("less than", "<", 4);
98854 B.BinaryOperator_AcR = new A.BinaryOperator("greater than", ">", 4);
98855 B.BinaryOperator_AcR0 = new A.BinaryOperator("plus", "+", 5);
98856 B.BinaryOperator_AcR1 = new A.BinaryOperator0("greater than", ">", 4);
98857 B.BinaryOperator_AcR2 = new A.BinaryOperator0("plus", "+", 5);
98858 B.BinaryOperator_O1M = new A.BinaryOperator("times", "*", 6);
98859 B.BinaryOperator_O1M0 = new A.BinaryOperator0("times", "*", 6);
98860 B.BinaryOperator_RTB = new A.BinaryOperator("divided by", "/", 6);
98861 B.BinaryOperator_RTB0 = new A.BinaryOperator0("divided by", "/", 6);
98862 B.BinaryOperator_YlX = new A.BinaryOperator("equals", "==", 3);
98863 B.BinaryOperator_YlX0 = new A.BinaryOperator0("equals", "==", 3);
98864 B.BinaryOperator_and_and_2 = new A.BinaryOperator("and", "and", 2);
98865 B.BinaryOperator_and_and_20 = new A.BinaryOperator0("and", "and", 2);
98866 B.BinaryOperator_i5H = new A.BinaryOperator("not equals", "!=", 3);
98867 B.BinaryOperator_i5H0 = new A.BinaryOperator0("not equals", "!=", 3);
98868 B.BinaryOperator_iyO = new A.BinaryOperator("minus", "-", 5);
98869 B.BinaryOperator_iyO0 = new A.BinaryOperator0("minus", "-", 5);
98870 B.BinaryOperator_kjl = new A.BinaryOperator("single equals", "=", 0);
98871 B.BinaryOperator_kjl0 = new A.BinaryOperator0("single equals", "=", 0);
98872 B.BinaryOperator_or_or_1 = new A.BinaryOperator("or", "or", 1);
98873 B.BinaryOperator_or_or_10 = new A.BinaryOperator0("or", "or", 1);
98874 B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
98875 B.C_AsciiCodec = new A.AsciiCodec();
98876 B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
98877 B.C_Base64Encoder = new A.Base64Encoder();
98878 B.C_Base64Codec = new A.Base64Codec();
98879 B.C_DefaultEquality = new A.DefaultEquality();
98880 B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
98881 B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
98882 B.C_EmptyIterator = new A.EmptyIterator();
98883 B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
98884 B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
98885 B.C_IterableEquality = new A.IterableEquality();
98886 B.C_JS_CONST = function getTagFallback(o) {
98887 var s = Object.prototype.toString.call(o);
98888 return s.substring(8, s.length - 1);
98889};
98890 B.C_JS_CONST0 = function() {
98891 var toStringFunction = Object.prototype.toString;
98892 function getTag(o) {
98893 var s = toStringFunction.call(o);
98894 return s.substring(8, s.length - 1);
98895 }
98896 function getUnknownTag(object, tag) {
98897 if (/^HTML[A-Z].*Element$/.test(tag)) {
98898 var name = toStringFunction.call(object);
98899 if (name == "[object Object]") return null;
98900 return "HTMLElement";
98901 }
98902 }
98903 function getUnknownTagGenericBrowser(object, tag) {
98904 if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement";
98905 return getUnknownTag(object, tag);
98906 }
98907 function prototypeForTag(tag) {
98908 if (typeof window == "undefined") return null;
98909 if (typeof window[tag] == "undefined") return null;
98910 var constructor = window[tag];
98911 if (typeof constructor != "function") return null;
98912 return constructor.prototype;
98913 }
98914 function discriminator(tag) { return null; }
98915 var isBrowser = typeof navigator == "object";
98916 return {
98917 getTag: getTag,
98918 getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
98919 prototypeForTag: prototypeForTag,
98920 discriminator: discriminator };
98921};
98922 B.C_JS_CONST6 = function(getTagFallback) {
98923 return function(hooks) {
98924 if (typeof navigator != "object") return hooks;
98925 var ua = navigator.userAgent;
98926 if (ua.indexOf("DumpRenderTree") >= 0) return hooks;
98927 if (ua.indexOf("Chrome") >= 0) {
98928 function confirm(p) {
98929 return typeof window == "object" && window[p] && window[p].name == p;
98930 }
98931 if (confirm("Window") && confirm("HTMLElement")) return hooks;
98932 }
98933 hooks.getTag = getTagFallback;
98934 };
98935};
98936 B.C_JS_CONST1 = function(hooks) {
98937 if (typeof dartExperimentalFixupGetTag != "function") return hooks;
98938 hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
98939};
98940 B.C_JS_CONST2 = function(hooks) {
98941 var getTag = hooks.getTag;
98942 var prototypeForTag = hooks.prototypeForTag;
98943 function getTagFixed(o) {
98944 var tag = getTag(o);
98945 if (tag == "Document") {
98946 if (!!o.xmlVersion) return "!Document";
98947 return "!HTMLDocument";
98948 }
98949 return tag;
98950 }
98951 function prototypeForTagFixed(tag) {
98952 if (tag == "Document") return null;
98953 return prototypeForTag(tag);
98954 }
98955 hooks.getTag = getTagFixed;
98956 hooks.prototypeForTag = prototypeForTagFixed;
98957};
98958 B.C_JS_CONST5 = function(hooks) {
98959 var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
98960 if (userAgent.indexOf("Firefox") == -1) return hooks;
98961 var getTag = hooks.getTag;
98962 var quickMap = {
98963 "BeforeUnloadEvent": "Event",
98964 "DataTransfer": "Clipboard",
98965 "GeoGeolocation": "Geolocation",
98966 "Location": "!Location",
98967 "WorkerMessageEvent": "MessageEvent",
98968 "XMLDocument": "!Document"};
98969 function getTagFirefox(o) {
98970 var tag = getTag(o);
98971 return quickMap[tag] || tag;
98972 }
98973 hooks.getTag = getTagFirefox;
98974};
98975 B.C_JS_CONST4 = function(hooks) {
98976 var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
98977 if (userAgent.indexOf("Trident/") == -1) return hooks;
98978 var getTag = hooks.getTag;
98979 var quickMap = {
98980 "BeforeUnloadEvent": "Event",
98981 "DataTransfer": "Clipboard",
98982 "HTMLDDElement": "HTMLElement",
98983 "HTMLDTElement": "HTMLElement",
98984 "HTMLPhraseElement": "HTMLElement",
98985 "Position": "Geoposition"
98986 };
98987 function getTagIE(o) {
98988 var tag = getTag(o);
98989 var newTag = quickMap[tag];
98990 if (newTag) return newTag;
98991 if (tag == "Object") {
98992 if (window.DataView && (o instanceof window.DataView)) return "DataView";
98993 }
98994 return tag;
98995 }
98996 function prototypeForTagIE(tag) {
98997 var constructor = window[tag];
98998 if (constructor == null) return null;
98999 return constructor.prototype;
99000 }
99001 hooks.getTag = getTagIE;
99002 hooks.prototypeForTag = prototypeForTagIE;
99003};
99004 B.C_JS_CONST3 = function(hooks) { return hooks; }
99005;
99006 B.C_JsonCodec = new A.JsonCodec();
99007 B.C_LineFeed = new A.LineFeed();
99008 B.C_ListEquality0 = new A.ListEquality();
99009 B.C_ListEquality = new A.ListEquality();
99010 B.C_MapEquality = new A.MapEquality();
99011 B.C_OutOfMemoryError = new A.OutOfMemoryError();
99012 B.C_SentinelValue = new A.SentinelValue();
99013 B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
99014 B.C_Utf8Codec = new A.Utf8Codec();
99015 B.C_Utf8Encoder = new A.Utf8Encoder();
99016 B.C__DelayedDone = new A._DelayedDone();
99017 B.C__HasContentVisitor = new A._HasContentVisitor();
99018 B.C__HasContentVisitor0 = new A._HasContentVisitor0();
99019 B.C__JSRandom = new A._JSRandom();
99020 B.C__Required = new A._Required();
99021 B.C__RootZone = new A._RootZone();
99022 B.C__SassNull = new A._SassNull();
99023 B.C__SassNull0 = new A._SassNull0();
99024 B.CalculationOperator_Dih = new A.CalculationOperator("times", "*", 2);
99025 B.CalculationOperator_Dih0 = new A.CalculationOperator0("times", "*", 2);
99026 B.CalculationOperator_Iem = new A.CalculationOperator("plus", "+", 1);
99027 B.CalculationOperator_Iem0 = new A.CalculationOperator0("plus", "+", 1);
99028 B.CalculationOperator_jB6 = new A.CalculationOperator("divided by", "/", 2);
99029 B.CalculationOperator_jB60 = new A.CalculationOperator0("divided by", "/", 2);
99030 B.CalculationOperator_uti = new A.CalculationOperator("minus", "-", 1);
99031 B.CalculationOperator_uti0 = new A.CalculationOperator0("minus", "-", 1);
99032 B.ChangeType_add = new A.ChangeType("add");
99033 B.ChangeType_modify = new A.ChangeType("modify");
99034 B.ChangeType_remove = new A.ChangeType("remove");
99035 B.Combinator_CzM = new A.Combinator("~");
99036 B.Combinator_CzM0 = new A.Combinator0("~");
99037 B.Combinator_sgq = new A.Combinator(">");
99038 B.Combinator_sgq0 = new A.Combinator0(">");
99039 B.Combinator_uzg = new A.Combinator("+");
99040 B.Combinator_uzg0 = new A.Combinator0("+");
99041 B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
99042 B.Map_empty11 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue>"));
99043 B.Configuration_Map_empty = new A.Configuration(B.Map_empty11);
99044 B.Map_empty12 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue0>"));
99045 B.Configuration_Map_empty0 = new A.Configuration0(B.Map_empty12);
99046 B.Duration_0 = new A.Duration(0);
99047 B.ExtendMode_allTargets = new A.ExtendMode("allTargets");
99048 B.ExtendMode_allTargets0 = new A.ExtendMode0("allTargets");
99049 B.ExtendMode_normal = new A.ExtendMode("normal");
99050 B.ExtendMode_normal0 = new A.ExtendMode0("normal");
99051 B.ExtendMode_replace = new A.ExtendMode("replace");
99052 B.ExtendMode_replace0 = new A.ExtendMode0("replace");
99053 B.JsonEncoder_null = new A.JsonEncoder(null);
99054 B.LineFeed_D6m = new A.LineFeed0("lf", "\n");
99055 B.LineFeed_Mss = new A.LineFeed0("crlf", "\r\n");
99056 B.LineFeed_a1Y = new A.LineFeed0("lfcr", "\n\r");
99057 B.LineFeed_kMT = new A.LineFeed0("cr", "\r");
99058 B.ListSeparator_1gm = new A.ListSeparator("slash", "/");
99059 B.ListSeparator_1gm0 = new A.ListSeparator0("slash", "/");
99060 B.ListSeparator_kWM = new A.ListSeparator("comma", ",");
99061 B.ListSeparator_kWM0 = new A.ListSeparator0("comma", ",");
99062 B.ListSeparator_undecided_null = new A.ListSeparator("undecided", null);
99063 B.ListSeparator_undecided_null0 = new A.ListSeparator0("undecided", null);
99064 B.ListSeparator_woc = new A.ListSeparator("space", " ");
99065 B.ListSeparator_woc0 = new A.ListSeparator0("space", " ");
99066 B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
99067 B.List_Opy = A._setArrayType(makeConstList(["em", "ex", "ch", "rem", "vw", "vh", "vmin", "vmax", "cm", "mm", "q", "in", "pt", "pc", "px"]), type$.JSArray_String);
99068 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);
99069 B.Set_Opyzl = new A._UnmodifiableSet(B.Map_Op0VJ, type$._UnmodifiableSet_String);
99070 B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
99071 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);
99072 B.Set_EGJh = new A._UnmodifiableSet(B.Map_EGso3, type$._UnmodifiableSet_String);
99073 B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
99074 B.Map_maDht = new A.ConstantStringMap(2, {s: null, ms: null}, B.List_s_ms, type$.ConstantStringMap_String_Null);
99075 B.Set_maSD = new A._UnmodifiableSet(B.Map_maDht, type$._UnmodifiableSet_String);
99076 B.List_hz_khz = A._setArrayType(makeConstList(["hz", "khz"]), type$.JSArray_String);
99077 B.Map_kfoGx = new A.ConstantStringMap(2, {hz: null, khz: null}, B.List_hz_khz, type$.ConstantStringMap_String_Null);
99078 B.Set_kfn1 = new A._UnmodifiableSet(B.Map_kfoGx, type$._UnmodifiableSet_String);
99079 B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
99080 B.Map_H20 = new A.ConstantStringMap(3, {dpi: null, dpcm: null, dppx: null}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_Null);
99081 B.Set_H2nB4 = new A._UnmodifiableSet(B.Map_H20, type$._UnmodifiableSet_String);
99082 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>>"));
99083 B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
99084 B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
99085 B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
99086 B.List_empty18 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
99087 B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
99088 B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
99089 B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
99090 B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
99091 B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
99092 B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
99093 B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
99094 B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
99095 B.List_empty7 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
99096 B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
99097 B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
99098 B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
99099 B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_Importer);
99100 B.List_empty3 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module<0&>>"));
99101 B.List_empty13 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
99102 B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
99103 B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
99104 B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
99105 B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_int);
99106 B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
99107 B.List_gRj = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int);
99108 B.List_nxB = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int);
99109 B.List_qFt = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int);
99110 B.List_qNA = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int);
99111 B.List_qg40 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
99112 B.List_qg4 = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
99113 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);
99114 B.List_aha = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
99115 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);
99116 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);
99117 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);
99118 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);
99119 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);
99120 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);
99121 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);
99122 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);
99123 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);
99124 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);
99125 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);
99126 B.Map_ma2bi = new A.ConstantStringMap(2, {s: 1, ms: 0.001}, B.List_s_ms, type$.ConstantStringMap_String_num);
99127 B.Map_maDht0 = new A.ConstantStringMap(2, {s: 1000, ms: 1}, B.List_s_ms, type$.ConstantStringMap_String_num);
99128 B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
99129 B.Map_0IpUe = new A.ConstantStringMap(2, {Hz: 1, kHz: 1000}, B.List_Hz_kHz, type$.ConstantStringMap_String_num);
99130 B.Map_0IVs0 = new A.ConstantStringMap(2, {Hz: 0.001, kHz: 1}, B.List_Hz_kHz, type$.ConstantStringMap_String_num);
99131 B.Map_H2OWd = new A.ConstantStringMap(3, {dpi: 1, dpcm: 2.54, dppx: 96}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
99132 B.Map_H24em = new A.ConstantStringMap(3, {dpi: 0.39370078740157477, dpcm: 1, dppx: 37.79527559055118}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
99133 B.Map_H25Om = new A.ConstantStringMap(3, {dpi: 0.010416666666666666, dpcm: 0.026458333333333334, dppx: 1}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
99134 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>>"));
99135 B.List_U8g = A._setArrayType(makeConstList(["length", "angle", "time", "frequency", "pixel density"]), type$.JSArray_String);
99136 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>>"));
99137 B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode>"));
99138 B.Map_empty7 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode0>"));
99139 B.Map_empty2 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression>"));
99140 B.Map_empty9 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression0>"));
99141 B.Map_empty3 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<AsyncCallable>>"));
99142 B.Map_empty = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<Callable>>"));
99143 B.Map_empty10 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<AsyncCallable0>>"));
99144 B.Map_empty6 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<Callable0>>"));
99145 B.Map_empty1 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value>"));
99146 B.Map_empty8 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value0>"));
99147 B.List_empty22 = A._setArrayType(makeConstList([]), A.findType("JSArray<Symbol0>"));
99148 B.Map_empty4 = new A.ConstantStringMap(0, {}, B.List_empty22, A.findType("ConstantStringMap<Symbol0,@>"));
99149 B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_nullable_String);
99150 B.Map_empty5 = new A.ConstantStringMap(0, {}, B.List_empty23, A.findType("ConstantStringMap<String?,String>"));
99151 B.OptionType_YwU = new A.OptionType("OptionType.single");
99152 B.OptionType_nMZ = new A.OptionType("OptionType.flag");
99153 B.OptionType_qyr = new A.OptionType("OptionType.multiple");
99154 B.OutputStyle_compressed = new A.OutputStyle("compressed");
99155 B.OutputStyle_compressed0 = new A.OutputStyle0("compressed");
99156 B.OutputStyle_expanded = new A.OutputStyle("expanded");
99157 B.OutputStyle_expanded0 = new A.OutputStyle0("expanded");
99158 B.SassBoolean_false = new A.SassBoolean(false);
99159 B.SassBoolean_false0 = new A.SassBoolean0(false);
99160 B.SassBoolean_true = new A.SassBoolean(true);
99161 B.SassBoolean_true0 = new A.SassBoolean0(true);
99162 B.SassList_0 = new A.SassList0(B.List_empty15, B.ListSeparator_undecided_null0, false);
99163 B.SassList_yfz = new A.SassList(B.List_empty5, B.ListSeparator_kWM, false);
99164 B.SassList_yfz0 = new A.SassList0(B.List_empty15, B.ListSeparator_kWM0, false);
99165 B.Map_empty13 = new A.ConstantStringMap(0, {}, B.List_empty5, A.findType("ConstantStringMap<Value,Value>"));
99166 B.SassMap_Map_empty = new A.SassMap(B.Map_empty13);
99167 B.Map_empty14 = new A.ConstantStringMap(0, {}, B.List_empty15, A.findType("ConstantStringMap<Value0,Value0>"));
99168 B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty14);
99169 B.List_is_matches_where = A._setArrayType(makeConstList(["is", "matches", "where"]), type$.JSArray_String);
99170 B.Map_YEyLX = new A.ConstantStringMap(3, {is: null, matches: null, where: null}, B.List_is_matches_where, type$.ConstantStringMap_String_Null);
99171 B.Set_YEQji = new A._UnmodifiableSet(B.Map_YEyLX, type$._UnmodifiableSet_String);
99172 B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable);
99173 B.Map_empty15 = new A.ConstantStringMap(0, {}, B.List_empty24, A.findType("ConstantStringMap<Module<AsyncCallable>,Null>"));
99174 B.Set_empty0 = new A._UnmodifiableSet(B.Map_empty15, A.findType("_UnmodifiableSet<Module<AsyncCallable>>"));
99175 B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable);
99176 B.Map_empty16 = new A.ConstantStringMap(0, {}, B.List_empty25, A.findType("ConstantStringMap<Module<Callable>,Null>"));
99177 B.Set_empty = new A._UnmodifiableSet(B.Map_empty16, A.findType("_UnmodifiableSet<Module<Callable>>"));
99178 B.List_empty26 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable_2);
99179 B.Map_empty17 = new A.ConstantStringMap(0, {}, B.List_empty26, A.findType("ConstantStringMap<Module0<AsyncCallable0>,Null>"));
99180 B.Set_empty3 = new A._UnmodifiableSet(B.Map_empty17, A.findType("_UnmodifiableSet<Module0<AsyncCallable0>>"));
99181 B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable_2);
99182 B.Map_empty18 = new A.ConstantStringMap(0, {}, B.List_empty27, A.findType("ConstantStringMap<Module0<Callable0>,Null>"));
99183 B.Set_empty2 = new A._UnmodifiableSet(B.Map_empty18, A.findType("_UnmodifiableSet<Module0<Callable0>>"));
99184 B.List_empty28 = A._setArrayType(makeConstList([]), type$.JSArray_StylesheetNode);
99185 B.Map_empty19 = new A.ConstantStringMap(0, {}, B.List_empty28, A.findType("ConstantStringMap<StylesheetNode,Null>"));
99186 B.Set_empty1 = new A._UnmodifiableSet(B.Map_empty19, A.findType("_UnmodifiableSet<StylesheetNode>"));
99187 B.StderrLogger_false = new A.StderrLogger(false);
99188 B.StderrLogger_false0 = new A.StderrLogger0(false);
99189 B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
99190 B.Symbol__inImportRule = new A.Symbol("_inImportRule");
99191 B.Symbol_call = new A.Symbol("call");
99192 B.Syntax_CSS = new A.Syntax("CSS");
99193 B.Syntax_CSS0 = new A.Syntax0("CSS");
99194 B.Syntax_SCSS = new A.Syntax("SCSS");
99195 B.Syntax_SCSS0 = new A.Syntax0("SCSS");
99196 B.Syntax_Sass = new A.Syntax("Sass");
99197 B.Syntax_Sass0 = new A.Syntax0("Sass");
99198 B.List_empty29 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue<SelectorList>>"));
99199 B.Map_empty20 = new A.ConstantStringMap(0, {}, B.List_empty29, A.findType("ConstantStringMap<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>"));
99200 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);
99201 B.List_empty30 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue0<SelectorList0>>"));
99202 B.Map_empty21 = new A.ConstantStringMap(0, {}, B.List_empty30, A.findType("ConstantStringMap<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>"));
99203 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);
99204 B.Type_Null_Yyn = A.typeLiteral("Null");
99205 B.Type_Object_xQ6 = A.typeLiteral("Object");
99206 B.UnaryOperator_U4G = new A.UnaryOperator("minus", "-");
99207 B.UnaryOperator_U4G0 = new A.UnaryOperator0("minus", "-");
99208 B.UnaryOperator_j2w = new A.UnaryOperator("plus", "+");
99209 B.UnaryOperator_j2w0 = new A.UnaryOperator0("plus", "+");
99210 B.UnaryOperator_not_not = new A.UnaryOperator("not", "not");
99211 B.UnaryOperator_not_not0 = new A.UnaryOperator0("not", "not");
99212 B.UnaryOperator_zDx = new A.UnaryOperator("divide", "/");
99213 B.UnaryOperator_zDx0 = new A.UnaryOperator0("divide", "/");
99214 B.Utf8Decoder_false = new A.Utf8Decoder(false);
99215 B._ColorFormatEnum_hslFunction = new A._ColorFormatEnum("hslFunction");
99216 B._ColorFormatEnum_hslFunction0 = new A._ColorFormatEnum0("hslFunction");
99217 B._ColorFormatEnum_rgbFunction = new A._ColorFormatEnum("rgbFunction");
99218 B._ColorFormatEnum_rgbFunction0 = new A._ColorFormatEnum0("rgbFunction");
99219 B._IterationMarker_null_2 = new A._IterationMarker(null, 2);
99220 B._PathDirection_8Gl = new A._PathDirection("at root");
99221 B._PathDirection_988 = new A._PathDirection("below root");
99222 B._PathDirection_FIw = new A._PathDirection("reaches root");
99223 B._PathDirection_ZGD = new A._PathDirection("above root");
99224 B._PathRelation_different = new A._PathRelation("different");
99225 B._PathRelation_equal = new A._PathRelation("equal");
99226 B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
99227 B._PathRelation_within = new A._PathRelation("within");
99228 B._RegisterBinaryZoneFunction_kGu = new A._RegisterBinaryZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
99229 B._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback = new A._RegisterNullaryZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
99230 B._RegisterUnaryZoneFunction_Bqo = new A._RegisterUnaryZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
99231 B._RunBinaryZoneFunction__RootZone__rootRunBinary = new A._RunBinaryZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
99232 B._RunNullaryZoneFunction__RootZone__rootRun = new A._RunNullaryZoneFunction(B.C__RootZone, A.async___rootRun$closure());
99233 B._RunUnaryZoneFunction__RootZone__rootRunUnary = new A._RunUnaryZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
99234 B._SingletonCssMediaQueryMergeResult_empty = new A._SingletonCssMediaQueryMergeResult("empty");
99235 B._SingletonCssMediaQueryMergeResult_empty0 = new A._SingletonCssMediaQueryMergeResult0("empty");
99236 B._SingletonCssMediaQueryMergeResult_unrepresentable = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
99237 B._SingletonCssMediaQueryMergeResult_unrepresentable0 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
99238 B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
99239 B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
99240 B._StreamGroupState_listening = new A._StreamGroupState("listening");
99241 B._StreamGroupState_paused = new A._StreamGroupState("paused");
99242 B._StringStackTrace_3uE = new A._StringStackTrace("");
99243 B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
99244 B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
99245 B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
99246 B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
99247 B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
99248 B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
99249 B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
99250 B._ZoneSpecification_ALf = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
99251 })();
99252 (function staticFields() {
99253 $._JS_INTEROP_INTERCEPTOR_TAG = null;
99254 $.printToZone = null;
99255 $.Primitives__identityHashCodeProperty = null;
99256 $.BoundClosure__receiverFieldNameCache = null;
99257 $.BoundClosure__interceptorFieldNameCache = null;
99258 $.getTagFunction = null;
99259 $.alternateTagFunction = null;
99260 $.prototypeForTagFunction = null;
99261 $.dispatchRecordsForInstanceTags = null;
99262 $.interceptorsForUncacheableTags = null;
99263 $.initNativeDispatchFlag = null;
99264 $._nextCallback = null;
99265 $._lastCallback = null;
99266 $._lastPriorityCallback = null;
99267 $._isInCallbackLoop = false;
99268 $.Zone__current = B.C__RootZone;
99269 $._RootZone__rootDelegate = null;
99270 $._toStringVisiting = A._setArrayType([], type$.JSArray_Object);
99271 $._fs = null;
99272 $._currentUriBase = null;
99273 $._current = null;
99274 $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
99275 $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
99276 $._realCaseCache = function() {
99277 var t1 = type$.String;
99278 return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
99279 }();
99280 $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
99281 $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
99282 $._glyphs = B.C_UnicodeGlyphSet;
99283 $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
99284 $._realCaseCache0 = function() {
99285 var t1 = type$.String;
99286 return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
99287 }();
99288 $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
99289 $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
99290 $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
99291 })();
99292 (function lazyInitializers() {
99293 var _lazyFinal = hunkHelpers.lazyFinal,
99294 _lazy = hunkHelpers.lazy;
99295 _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
99296 _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<Null>")));
99297 _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
99298 toString: function() {
99299 return "$receiver$";
99300 }
99301 })));
99302 _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
99303 toString: function() {
99304 return "$receiver$";
99305 }
99306 })));
99307 _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
99308 _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
99309 var $argumentsExpr$ = "$arguments$";
99310 try {
99311 null.$method$($argumentsExpr$);
99312 } catch (e) {
99313 return e.message;
99314 }
99315 }()));
99316 _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
99317 _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
99318 var $argumentsExpr$ = "$arguments$";
99319 try {
99320 (void 0).$method$($argumentsExpr$);
99321 } catch (e) {
99322 return e.message;
99323 }
99324 }()));
99325 _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
99326 _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
99327 try {
99328 null.$method$;
99329 } catch (e) {
99330 return e.message;
99331 }
99332 }()));
99333 _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
99334 _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
99335 try {
99336 (void 0).$method$;
99337 } catch (e) {
99338 return e.message;
99339 }
99340 }()));
99341 _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
99342 _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future<Null>")._as($.$get$nullFuture()));
99343 _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
99344 _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
99345 var t1 = type$.dynamic;
99346 return A.HashMap_HashMap(t1, t1);
99347 });
99348 _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", () => new A.Utf8Decoder__decoder_closure().call$0());
99349 _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", () => new A.Utf8Decoder__decoderNonfatal_closure().call$0());
99350 _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))));
99351 _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32");
99352 _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
99353 _lazy($, "_hasErrorStackProperty", "$get$_hasErrorStackProperty", () => new Error().stack != void 0);
99354 _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6));
99355 _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables());
99356 _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
99357 _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
99358 _lazyFinal($, "readline", "$get$readline", () => self.readline);
99359 _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
99360 _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
99361 _lazyFinal($, "context", "$get$context", () => new A.Context(type$.InternalStyle._as($.$get$Style_platform()), null));
99362 _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
99363 _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)));
99364 _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)));
99365 _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
99366 _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ArgumentDeclaration_ArgumentDeclaration$parse(string$.x40funct, null));
99367 _lazyFinal($, "colorsByName", "$get$colorsByName", () => {
99368 var _null = null;
99369 return A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb(154, 205, 50, _null), "yellow", A.SassColor$rgb(255, 255, 0, _null), "whitesmoke", A.SassColor$rgb(245, 245, 245, _null), "white", A.SassColor$rgb(255, 255, 255, _null), "wheat", A.SassColor$rgb(245, 222, 179, _null), "violet", A.SassColor$rgb(238, 130, 238, _null), "turquoise", A.SassColor$rgb(64, 224, 208, _null), "transparent", A.SassColor$rgb(0, 0, 0, 0), "tomato", A.SassColor$rgb(255, 99, 71, _null), "thistle", A.SassColor$rgb(216, 191, 216, _null), "teal", A.SassColor$rgb(0, 128, 128, _null), "tan", A.SassColor$rgb(210, 180, 140, _null), "steelblue", A.SassColor$rgb(70, 130, 180, _null), "springgreen", A.SassColor$rgb(0, 255, 127, _null), "snow", A.SassColor$rgb(255, 250, 250, _null), "slategrey", A.SassColor$rgb(112, 128, 144, _null), "slategray", A.SassColor$rgb(112, 128, 144, _null), "slateblue", A.SassColor$rgb(106, 90, 205, _null), "skyblue", A.SassColor$rgb(135, 206, 235, _null), "silver", A.SassColor$rgb(192, 192, 192, _null), "sienna", A.SassColor$rgb(160, 82, 45, _null), "seashell", A.SassColor$rgb(255, 245, 238, _null), "seagreen", A.SassColor$rgb(46, 139, 87, _null), "sandybrown", A.SassColor$rgb(244, 164, 96, _null), "salmon", A.SassColor$rgb(250, 128, 114, _null), "saddlebrown", A.SassColor$rgb(139, 69, 19, _null), "royalblue", A.SassColor$rgb(65, 105, 225, _null), "rosybrown", A.SassColor$rgb(188, 143, 143, _null), "red", A.SassColor$rgb(255, 0, 0, _null), "rebeccapurple", A.SassColor$rgb(102, 51, 153, _null), "purple", A.SassColor$rgb(128, 0, 128, _null), "powderblue", A.SassColor$rgb(176, 224, 230, _null), "plum", A.SassColor$rgb(221, 160, 221, _null), "pink", A.SassColor$rgb(255, 192, 203, _null), "peru", A.SassColor$rgb(205, 133, 63, _null), "peachpuff", A.SassColor$rgb(255, 218, 185, _null), "papayawhip", A.SassColor$rgb(255, 239, 213, _null), "palevioletred", A.SassColor$rgb(219, 112, 147, _null), "paleturquoise", A.SassColor$rgb(175, 238, 238, _null), "palegreen", A.SassColor$rgb(152, 251, 152, _null), "palegoldenrod", A.SassColor$rgb(238, 232, 170, _null), "orchid", A.SassColor$rgb(218, 112, 214, _null), "orangered", A.SassColor$rgb(255, 69, 0, _null), "orange", A.SassColor$rgb(255, 165, 0, _null), "olivedrab", A.SassColor$rgb(107, 142, 35, _null), "olive", A.SassColor$rgb(128, 128, 0, _null), "oldlace", A.SassColor$rgb(253, 245, 230, _null), "navy", A.SassColor$rgb(0, 0, 128, _null), "navajowhite", A.SassColor$rgb(255, 222, 173, _null), "moccasin", A.SassColor$rgb(255, 228, 181, _null), "mistyrose", A.SassColor$rgb(255, 228, 225, _null), "mintcream", A.SassColor$rgb(245, 255, 250, _null), "midnightblue", A.SassColor$rgb(25, 25, 112, _null), "mediumvioletred", A.SassColor$rgb(199, 21, 133, _null), "mediumturquoise", A.SassColor$rgb(72, 209, 204, _null), "mediumspringgreen", A.SassColor$rgb(0, 250, 154, _null), "mediumslateblue", A.SassColor$rgb(123, 104, 238, _null), "mediumseagreen", A.SassColor$rgb(60, 179, 113, _null), "mediumpurple", A.SassColor$rgb(147, 112, 219, _null), "mediumorchid", A.SassColor$rgb(186, 85, 211, _null), "mediumblue", A.SassColor$rgb(0, 0, 205, _null), "mediumaquamarine", A.SassColor$rgb(102, 205, 170, _null), "maroon", A.SassColor$rgb(128, 0, 0, _null), "magenta", A.SassColor$rgb(255, 0, 255, _null), "linen", A.SassColor$rgb(250, 240, 230, _null), "limegreen", A.SassColor$rgb(50, 205, 50, _null), "lime", A.SassColor$rgb(0, 255, 0, _null), "lightyellow", A.SassColor$rgb(255, 255, 224, _null), "lightsteelblue", A.SassColor$rgb(176, 196, 222, _null), "lightslategrey", A.SassColor$rgb(119, 136, 153, _null), "lightslategray", A.SassColor$rgb(119, 136, 153, _null), "lightskyblue", A.SassColor$rgb(135, 206, 250, _null), "lightseagreen", A.SassColor$rgb(32, 178, 170, _null), "lightsalmon", A.SassColor$rgb(255, 160, 122, _null), "lightpink", A.SassColor$rgb(255, 182, 193, _null), "lightgrey", A.SassColor$rgb(211, 211, 211, _null), "lightgreen", A.SassColor$rgb(144, 238, 144, _null), "lightgray", A.SassColor$rgb(211, 211, 211, _null), "lightgoldenrodyellow", A.SassColor$rgb(250, 250, 210, _null), "lightcyan", A.SassColor$rgb(224, 255, 255, _null), "lightcoral", A.SassColor$rgb(240, 128, 128, _null), "lightblue", A.SassColor$rgb(173, 216, 230, _null), "lemonchiffon", A.SassColor$rgb(255, 250, 205, _null), "lawngreen", A.SassColor$rgb(124, 252, 0, _null), "lavenderblush", A.SassColor$rgb(255, 240, 245, _null), "lavender", A.SassColor$rgb(230, 230, 250, _null), "khaki", A.SassColor$rgb(240, 230, 140, _null), "ivory", A.SassColor$rgb(255, 255, 240, _null), "indigo", A.SassColor$rgb(75, 0, 130, _null), "indianred", A.SassColor$rgb(205, 92, 92, _null), "hotpink", A.SassColor$rgb(255, 105, 180, _null), "honeydew", A.SassColor$rgb(240, 255, 240, _null), "grey", A.SassColor$rgb(128, 128, 128, _null), "greenyellow", A.SassColor$rgb(173, 255, 47, _null), "green", A.SassColor$rgb(0, 128, 0, _null), "gray", A.SassColor$rgb(128, 128, 128, _null), "goldenrod", A.SassColor$rgb(218, 165, 32, _null), "gold", A.SassColor$rgb(255, 215, 0, _null), "ghostwhite", A.SassColor$rgb(248, 248, 255, _null), "gainsboro", A.SassColor$rgb(220, 220, 220, _null), "fuchsia", A.SassColor$rgb(255, 0, 255, _null), "forestgreen", A.SassColor$rgb(34, 139, 34, _null), "floralwhite", A.SassColor$rgb(255, 250, 240, _null), "firebrick", A.SassColor$rgb(178, 34, 34, _null), "dodgerblue", A.SassColor$rgb(30, 144, 255, _null), "dimgrey", A.SassColor$rgb(105, 105, 105, _null), "dimgray", A.SassColor$rgb(105, 105, 105, _null), "deepskyblue", A.SassColor$rgb(0, 191, 255, _null), "deeppink", A.SassColor$rgb(255, 20, 147, _null), "darkviolet", A.SassColor$rgb(148, 0, 211, _null), "darkturquoise", A.SassColor$rgb(0, 206, 209, _null), "darkslategrey", A.SassColor$rgb(47, 79, 79, _null), "darkslategray", A.SassColor$rgb(47, 79, 79, _null), "darkslateblue", A.SassColor$rgb(72, 61, 139, _null), "darkseagreen", A.SassColor$rgb(143, 188, 143, _null), "darksalmon", A.SassColor$rgb(233, 150, 122, _null), "darkred", A.SassColor$rgb(139, 0, 0, _null), "darkorchid", A.SassColor$rgb(153, 50, 204, _null), "darkorange", A.SassColor$rgb(255, 140, 0, _null), "darkolivegreen", A.SassColor$rgb(85, 107, 47, _null), "darkmagenta", A.SassColor$rgb(139, 0, 139, _null), "darkkhaki", A.SassColor$rgb(189, 183, 107, _null), "darkgrey", A.SassColor$rgb(169, 169, 169, _null), "darkgreen", A.SassColor$rgb(0, 100, 0, _null), "darkgray", A.SassColor$rgb(169, 169, 169, _null), "darkgoldenrod", A.SassColor$rgb(184, 134, 11, _null), "darkcyan", A.SassColor$rgb(0, 139, 139, _null), "darkblue", A.SassColor$rgb(0, 0, 139, _null), "cyan", A.SassColor$rgb(0, 255, 255, _null), "crimson", A.SassColor$rgb(220, 20, 60, _null), "cornsilk", A.SassColor$rgb(255, 248, 220, _null), "cornflowerblue", A.SassColor$rgb(100, 149, 237, _null), "coral", A.SassColor$rgb(255, 127, 80, _null), "chocolate", A.SassColor$rgb(210, 105, 30, _null), "chartreuse", A.SassColor$rgb(127, 255, 0, _null), "cadetblue", A.SassColor$rgb(95, 158, 160, _null), "burlywood", A.SassColor$rgb(222, 184, 135, _null), "brown", A.SassColor$rgb(165, 42, 42, _null), "blueviolet", A.SassColor$rgb(138, 43, 226, _null), "blue", A.SassColor$rgb(0, 0, 255, _null), "blanchedalmond", A.SassColor$rgb(255, 235, 205, _null), "black", A.SassColor$rgb(0, 0, 0, _null), "bisque", A.SassColor$rgb(255, 228, 196, _null), "beige", A.SassColor$rgb(245, 245, 220, _null), "azure", A.SassColor$rgb(240, 255, 255, _null), "aquamarine", A.SassColor$rgb(127, 255, 212, _null), "aqua", A.SassColor$rgb(0, 255, 255, _null), "antiquewhite", A.SassColor$rgb(250, 235, 215, _null), "aliceblue", A.SassColor$rgb(240, 248, 255, _null)], type$.String, type$.SassColor);
99370 });
99371 _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
99372 var t2, t3,
99373 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor, type$.String);
99374 for (t2 = $.$get$colorsByName(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
99375 t3 = t2.get$current(t2);
99376 t1.$indexSet(0, t3.value, t3.key);
99377 }
99378 return t1;
99379 });
99380 _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
99381 _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
99382 _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
99383 var t1 = type$.BuiltInCallable,
99384 t2 = A.List_List$of($.$get$global0(), true, t1);
99385 B.JSArray_methods.addAll$1(t2, $.$get$global1());
99386 B.JSArray_methods.addAll$1(t2, $.$get$global2());
99387 B.JSArray_methods.addAll$1(t2, $.$get$global3());
99388 B.JSArray_methods.addAll$1(t2, $.$get$global4());
99389 B.JSArray_methods.addAll$1(t2, $.$get$global5());
99390 B.JSArray_methods.addAll$1(t2, $.$get$global());
99391 t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
99392 return A.UnmodifiableListView$(t2, t1);
99393 });
99394 _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));
99395 _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
99396 _lazyFinal($, "global", "$get$global0", () => {
99397 var _s27_ = "$red, $green, $blue, $alpha",
99398 _s19_ = "$red, $green, $blue",
99399 _s37_ = "$hue, $saturation, $lightness, $alpha",
99400 _s29_ = "$hue, $saturation, $lightness",
99401 _s17_ = "$hue, $saturation",
99402 _s15_ = "$color, $amount",
99403 t1 = type$.String,
99404 t2 = type$.Value_Function_List_Value;
99405 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.color0___opacify$closure()), A._function4("fade-in", _s15_, A.color0___opacify$closure()), A._function4("transparentize", _s15_, A.color0___transparentize$closure()), A._function4("fade-out", _s15_, A.color0___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);
99406 });
99407 _lazyFinal($, "module", "$get$module", () => {
99408 var _s9_ = "lightness",
99409 _s10_ = "saturation",
99410 _s6_ = "$color", _s5_ = "alpha",
99411 t1 = type$.String,
99412 t2 = type$.Value_Function_List_Value;
99413 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);
99414 });
99415 _lazyFinal($, "_red", "$get$_red", () => A._function4("red", "$color", new A._red_closure()));
99416 _lazyFinal($, "_green", "$get$_green", () => A._function4("green", "$color", new A._green_closure()));
99417 _lazyFinal($, "_blue", "$get$_blue", () => A._function4("blue", "$color", new A._blue_closure()));
99418 _lazyFinal($, "_mix", "$get$_mix", () => A._function4("mix", "$color1, $color2, $weight: 50%", new A._mix_closure()));
99419 _lazyFinal($, "_hue", "$get$_hue", () => A._function4("hue", "$color", new A._hue_closure()));
99420 _lazyFinal($, "_saturation", "$get$_saturation", () => A._function4("saturation", "$color", new A._saturation_closure()));
99421 _lazyFinal($, "_lightness", "$get$_lightness", () => A._function4("lightness", "$color", new A._lightness_closure()));
99422 _lazyFinal($, "_complement", "$get$_complement", () => A._function4("complement", "$color", new A._complement_closure()));
99423 _lazyFinal($, "_adjust", "$get$_adjust", () => A._function4("adjust", "$color, $kwargs...", new A._adjust_closure()));
99424 _lazyFinal($, "_scale", "$get$_scale", () => A._function4("scale", "$color, $kwargs...", new A._scale_closure()));
99425 _lazyFinal($, "_change", "$get$_change", () => A._function4("change", "$color, $kwargs...", new A._change_closure()));
99426 _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function4("ie-hex-str", "$color", new A._ieHexStr_closure()));
99427 _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));
99428 _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));
99429 _lazyFinal($, "_length", "$get$_length0", () => A._function3("length", "$list", new A._length_closure0()));
99430 _lazyFinal($, "_nth", "$get$_nth", () => A._function3("nth", "$list, $n", new A._nth_closure()));
99431 _lazyFinal($, "_setNth", "$get$_setNth", () => A._function3("set-nth", "$list, $n, $value", new A._setNth_closure()));
99432 _lazyFinal($, "_join", "$get$_join", () => A._function3("join", string$.x24list1, new A._join_closure()));
99433 _lazyFinal($, "_append", "$get$_append0", () => A._function3("append", "$list, $val, $separator: auto", new A._append_closure0()));
99434 _lazyFinal($, "_zip", "$get$_zip", () => A._function3("zip", "$lists...", new A._zip_closure()));
99435 _lazyFinal($, "_index", "$get$_index0", () => A._function3("index", "$list, $value", new A._index_closure0()));
99436 _lazyFinal($, "_separator", "$get$_separator", () => A._function3("separator", "$list", new A._separator_closure()));
99437 _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function3("is-bracketed", "$list", new A._isBracketed_closure()));
99438 _lazyFinal($, "_slash", "$get$_slash", () => A._function3("slash", "$elements...", new A._slash_closure()));
99439 _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));
99440 _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));
99441 _lazyFinal($, "_get", "$get$_get", () => A._function2("get", "$map, $key, $keys...", new A._get_closure()));
99442 _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)));
99443 _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)));
99444 _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function2("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
99445 _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function2("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
99446 _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)));
99447 _lazyFinal($, "_keys", "$get$_keys", () => A._function2("keys", "$map", new A._keys_closure()));
99448 _lazyFinal($, "_values", "$get$_values", () => A._function2("values", "$map", new A._values_closure()));
99449 _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function2("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
99450 _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));
99451 _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));
99452 _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
99453 _lazyFinal($, "_clamp", "$get$_clamp", () => A._function1("clamp", "$min, $number, $max", new A._clamp_closure()));
99454 _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
99455 _lazyFinal($, "_max", "$get$_max", () => A._function1("max", "$numbers...", new A._max_closure()));
99456 _lazyFinal($, "_min", "$get$_min", () => A._function1("min", "$numbers...", new A._min_closure()));
99457 _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", A.number0__fuzzyRound$closure()));
99458 _lazyFinal($, "_abs", "$get$_abs", () => A._numberFunction("abs", new A._abs_closure()));
99459 _lazyFinal($, "_hypot", "$get$_hypot", () => A._function1("hypot", "$numbers...", new A._hypot_closure()));
99460 _lazyFinal($, "_log", "$get$_log", () => A._function1("log", "$number, $base: null", new A._log_closure()));
99461 _lazyFinal($, "_pow", "$get$_pow", () => A._function1("pow", "$base, $exponent", new A._pow_closure()));
99462 _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._function1("sqrt", "$number", new A._sqrt_closure()));
99463 _lazyFinal($, "_acos", "$get$_acos", () => A._function1("acos", "$number", new A._acos_closure()));
99464 _lazyFinal($, "_asin", "$get$_asin", () => A._function1("asin", "$number", new A._asin_closure()));
99465 _lazyFinal($, "_atan", "$get$_atan", () => A._function1("atan", "$number", new A._atan_closure()));
99466 _lazyFinal($, "_atan2", "$get$_atan2", () => A._function1("atan2", "$y, $x", new A._atan2_closure()));
99467 _lazyFinal($, "_cos", "$get$_cos", () => A._function1("cos", "$number", new A._cos_closure()));
99468 _lazyFinal($, "_sin", "$get$_sin", () => A._function1("sin", "$number", new A._sin_closure()));
99469 _lazyFinal($, "_tan", "$get$_tan", () => A._function1("tan", "$number", new A._tan_closure()));
99470 _lazyFinal($, "_compatible", "$get$_compatible", () => A._function1("compatible", "$number1, $number2", new A._compatible_closure()));
99471 _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function1("is-unitless", "$number", new A._isUnitless_closure()));
99472 _lazyFinal($, "_unit", "$get$_unit", () => A._function1("unit", "$number", new A._unit_closure()));
99473 _lazyFinal($, "_percentage", "$get$_percentage", () => A._function1("percentage", "$number", new A._percentage_closure()));
99474 _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
99475 _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function1("random", "$limit: null", new A._randomFunction_closure()));
99476 _lazyFinal($, "_div", "$get$_div", () => A._function1("div", "$number1, $number2", new A._div_closure()));
99477 _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));
99478 _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));
99479 _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));
99480 _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));
99481 _lazyFinal($, "_nest", "$get$_nest", () => A._function0("nest", "$selectors...", new A._nest_closure()));
99482 _lazyFinal($, "_append0", "$get$_append", () => A._function0("append", "$selectors...", new A._append_closure()));
99483 _lazyFinal($, "_extend", "$get$_extend", () => A._function0("extend", "$selector, $extendee, $extender", new A._extend_closure()));
99484 _lazyFinal($, "_replace", "$get$_replace", () => A._function0("replace", "$selector, $original, $replacement", new A._replace_closure()));
99485 _lazyFinal($, "_unify", "$get$_unify", () => A._function0("unify", "$selector1, $selector2", new A._unify_closure()));
99486 _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function0("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
99487 _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function0("simple-selectors", "$selector", new A._simpleSelectors_closure()));
99488 _lazyFinal($, "_parse", "$get$_parse", () => A._function0("parse", "$selector", new A._parse_closure()));
99489 _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
99490 _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
99491 _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));
99492 _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));
99493 _lazyFinal($, "_unquote", "$get$_unquote", () => A._function("unquote", "$string", new A._unquote_closure()));
99494 _lazyFinal($, "_quote", "$get$_quote", () => A._function("quote", "$string", new A._quote_closure()));
99495 _lazyFinal($, "_length0", "$get$_length", () => A._function("length", "$string", new A._length_closure()));
99496 _lazyFinal($, "_insert", "$get$_insert", () => A._function("insert", "$string, $insert, $index", new A._insert_closure()));
99497 _lazyFinal($, "_index0", "$get$_index", () => A._function("index", "$string, $substring", new A._index_closure()));
99498 _lazyFinal($, "_slice", "$get$_slice", () => A._function("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
99499 _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function("to-upper-case", "$string", new A._toUpperCase_closure()));
99500 _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function("to-lower-case", "$string", new A._toLowerCase_closure()));
99501 _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function("unique-id", "", new A._uniqueId_closure()));
99502 _lazyFinal($, "stderr", "$get$stderr", () => new A.Stderr(J.get$stderr$x(self.process)));
99503 _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
99504 _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
99505 var t1 = $.$get$globalFunctions();
99506 t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
99507 t1.add$1(0, "if");
99508 t1.remove$1(0, "rgb");
99509 t1.remove$1(0, "rgba");
99510 t1.remove$1(0, "hsl");
99511 t1.remove$1(0, "hsla");
99512 t1.remove$1(0, "grayscale");
99513 t1.remove$1(0, "invert");
99514 t1.remove$1(0, "alpha");
99515 t1.remove$1(0, "opacity");
99516 t1.remove$1(0, "saturate");
99517 return t1;
99518 });
99519 _lazyFinal($, "epsilon", "$get$epsilon", () => A.pow(10, -11));
99520 _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => 1 / $.$get$epsilon());
99521 _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
99522 _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
99523 _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
99524 var t2, t3, t4,
99525 t1 = type$.String;
99526 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
99527 for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
99528 t3 = t2.get$current(t2);
99529 for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
99530 t1.$indexSet(0, t4.get$current(t4), t3);
99531 }
99532 return t1;
99533 });
99534 _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
99535 var _i, set, t2,
99536 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
99537 for (_i = 0; _i < 5; ++_i) {
99538 set = B.List_AqW[_i];
99539 for (t2 = set.get$iterator(set); t2.moveNext$0();)
99540 t1.$indexSet(0, t2.get$current(t2), set);
99541 }
99542 return t1;
99543 });
99544 _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
99545 _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
99546 _lazyFinal($, "MAX_INT32", "$get$MAX_INT32", () => A._asInt(A.pow(2, 31)) - 1);
99547 _lazyFinal($, "MIN_INT32", "$get$MIN_INT32", () => -A._asInt(A.pow(2, 31)));
99548 _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
99549 _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
99550 _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
99551 _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
99552 _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
99553 _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
99554 _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
99555 _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
99556 _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
99557 _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
99558 _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
99559 _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
99560 _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
99561 _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
99562 _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
99563 _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
99564 _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
99565 _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
99566 _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\r\\n?|\\n", false));
99567 _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
99568 _lazyFinal($, "_filesystemImporter", "$get$_filesystemImporter", () => A.FilesystemImporter$("."));
99569 _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
99570 _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
99571 _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
99572 _lazyFinal($, "global6", "$get$global7", () => {
99573 var _s27_ = "$red, $green, $blue, $alpha",
99574 _s19_ = "$red, $green, $blue",
99575 _s37_ = "$hue, $saturation, $lightness, $alpha",
99576 _s29_ = "$hue, $saturation, $lightness",
99577 _s17_ = "$hue, $saturation",
99578 _s15_ = "$color, $amount",
99579 t1 = type$.String,
99580 t2 = type$.Value_Function_List_Value_2;
99581 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.color2___opacify$closure()), A._function11("fade-in", _s15_, A.color2___opacify$closure()), A._function11("transparentize", _s15_, A.color2___transparentize$closure()), A._function11("fade-out", _s15_, A.color2___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);
99582 });
99583 _lazyFinal($, "module5", "$get$module5", () => {
99584 var _s9_ = "lightness",
99585 _s10_ = "saturation",
99586 _s6_ = "$color", _s5_ = "alpha",
99587 t1 = type$.String,
99588 t2 = type$.Value_Function_List_Value_2;
99589 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);
99590 });
99591 _lazyFinal($, "_red0", "$get$_red0", () => A._function11("red", "$color", new A._red_closure0()));
99592 _lazyFinal($, "_green0", "$get$_green0", () => A._function11("green", "$color", new A._green_closure0()));
99593 _lazyFinal($, "_blue0", "$get$_blue0", () => A._function11("blue", "$color", new A._blue_closure0()));
99594 _lazyFinal($, "_mix0", "$get$_mix0", () => A._function11("mix", "$color1, $color2, $weight: 50%", new A._mix_closure0()));
99595 _lazyFinal($, "_hue0", "$get$_hue0", () => A._function11("hue", "$color", new A._hue_closure0()));
99596 _lazyFinal($, "_saturation0", "$get$_saturation0", () => A._function11("saturation", "$color", new A._saturation_closure0()));
99597 _lazyFinal($, "_lightness0", "$get$_lightness0", () => A._function11("lightness", "$color", new A._lightness_closure0()));
99598 _lazyFinal($, "_complement0", "$get$_complement0", () => A._function11("complement", "$color", new A._complement_closure0()));
99599 _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function11("adjust", "$color, $kwargs...", new A._adjust_closure0()));
99600 _lazyFinal($, "_scale0", "$get$_scale0", () => A._function11("scale", "$color, $kwargs...", new A._scale_closure0()));
99601 _lazyFinal($, "_change0", "$get$_change0", () => A._function11("change", "$color, $kwargs...", new A._change_closure0()));
99602 _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function11("ie-hex-str", "$color", new A._ieHexStr_closure0()));
99603 _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
99604 var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
99605 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));
99606 return t1;
99607 });
99608 _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
99609 _lazyFinal($, "colorsByName0", "$get$colorsByName0", () => {
99610 var _null = null;
99611 return A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb0(154, 205, 50, _null), "yellow", A.SassColor$rgb0(255, 255, 0, _null), "whitesmoke", A.SassColor$rgb0(245, 245, 245, _null), "white", A.SassColor$rgb0(255, 255, 255, _null), "wheat", A.SassColor$rgb0(245, 222, 179, _null), "violet", A.SassColor$rgb0(238, 130, 238, _null), "turquoise", A.SassColor$rgb0(64, 224, 208, _null), "transparent", A.SassColor$rgb0(0, 0, 0, 0), "tomato", A.SassColor$rgb0(255, 99, 71, _null), "thistle", A.SassColor$rgb0(216, 191, 216, _null), "teal", A.SassColor$rgb0(0, 128, 128, _null), "tan", A.SassColor$rgb0(210, 180, 140, _null), "steelblue", A.SassColor$rgb0(70, 130, 180, _null), "springgreen", A.SassColor$rgb0(0, 255, 127, _null), "snow", A.SassColor$rgb0(255, 250, 250, _null), "slategrey", A.SassColor$rgb0(112, 128, 144, _null), "slategray", A.SassColor$rgb0(112, 128, 144, _null), "slateblue", A.SassColor$rgb0(106, 90, 205, _null), "skyblue", A.SassColor$rgb0(135, 206, 235, _null), "silver", A.SassColor$rgb0(192, 192, 192, _null), "sienna", A.SassColor$rgb0(160, 82, 45, _null), "seashell", A.SassColor$rgb0(255, 245, 238, _null), "seagreen", A.SassColor$rgb0(46, 139, 87, _null), "sandybrown", A.SassColor$rgb0(244, 164, 96, _null), "salmon", A.SassColor$rgb0(250, 128, 114, _null), "saddlebrown", A.SassColor$rgb0(139, 69, 19, _null), "royalblue", A.SassColor$rgb0(65, 105, 225, _null), "rosybrown", A.SassColor$rgb0(188, 143, 143, _null), "red", A.SassColor$rgb0(255, 0, 0, _null), "rebeccapurple", A.SassColor$rgb0(102, 51, 153, _null), "purple", A.SassColor$rgb0(128, 0, 128, _null), "powderblue", A.SassColor$rgb0(176, 224, 230, _null), "plum", A.SassColor$rgb0(221, 160, 221, _null), "pink", A.SassColor$rgb0(255, 192, 203, _null), "peru", A.SassColor$rgb0(205, 133, 63, _null), "peachpuff", A.SassColor$rgb0(255, 218, 185, _null), "papayawhip", A.SassColor$rgb0(255, 239, 213, _null), "palevioletred", A.SassColor$rgb0(219, 112, 147, _null), "paleturquoise", A.SassColor$rgb0(175, 238, 238, _null), "palegreen", A.SassColor$rgb0(152, 251, 152, _null), "palegoldenrod", A.SassColor$rgb0(238, 232, 170, _null), "orchid", A.SassColor$rgb0(218, 112, 214, _null), "orangered", A.SassColor$rgb0(255, 69, 0, _null), "orange", A.SassColor$rgb0(255, 165, 0, _null), "olivedrab", A.SassColor$rgb0(107, 142, 35, _null), "olive", A.SassColor$rgb0(128, 128, 0, _null), "oldlace", A.SassColor$rgb0(253, 245, 230, _null), "navy", A.SassColor$rgb0(0, 0, 128, _null), "navajowhite", A.SassColor$rgb0(255, 222, 173, _null), "moccasin", A.SassColor$rgb0(255, 228, 181, _null), "mistyrose", A.SassColor$rgb0(255, 228, 225, _null), "mintcream", A.SassColor$rgb0(245, 255, 250, _null), "midnightblue", A.SassColor$rgb0(25, 25, 112, _null), "mediumvioletred", A.SassColor$rgb0(199, 21, 133, _null), "mediumturquoise", A.SassColor$rgb0(72, 209, 204, _null), "mediumspringgreen", A.SassColor$rgb0(0, 250, 154, _null), "mediumslateblue", A.SassColor$rgb0(123, 104, 238, _null), "mediumseagreen", A.SassColor$rgb0(60, 179, 113, _null), "mediumpurple", A.SassColor$rgb0(147, 112, 219, _null), "mediumorchid", A.SassColor$rgb0(186, 85, 211, _null), "mediumblue", A.SassColor$rgb0(0, 0, 205, _null), "mediumaquamarine", A.SassColor$rgb0(102, 205, 170, _null), "maroon", A.SassColor$rgb0(128, 0, 0, _null), "magenta", A.SassColor$rgb0(255, 0, 255, _null), "linen", A.SassColor$rgb0(250, 240, 230, _null), "limegreen", A.SassColor$rgb0(50, 205, 50, _null), "lime", A.SassColor$rgb0(0, 255, 0, _null), "lightyellow", A.SassColor$rgb0(255, 255, 224, _null), "lightsteelblue", A.SassColor$rgb0(176, 196, 222, _null), "lightslategrey", A.SassColor$rgb0(119, 136, 153, _null), "lightslategray", A.SassColor$rgb0(119, 136, 153, _null), "lightskyblue", A.SassColor$rgb0(135, 206, 250, _null), "lightseagreen", A.SassColor$rgb0(32, 178, 170, _null), "lightsalmon", A.SassColor$rgb0(255, 160, 122, _null), "lightpink", A.SassColor$rgb0(255, 182, 193, _null), "lightgrey", A.SassColor$rgb0(211, 211, 211, _null), "lightgreen", A.SassColor$rgb0(144, 238, 144, _null), "lightgray", A.SassColor$rgb0(211, 211, 211, _null), "lightgoldenrodyellow", A.SassColor$rgb0(250, 250, 210, _null), "lightcyan", A.SassColor$rgb0(224, 255, 255, _null), "lightcoral", A.SassColor$rgb0(240, 128, 128, _null), "lightblue", A.SassColor$rgb0(173, 216, 230, _null), "lemonchiffon", A.SassColor$rgb0(255, 250, 205, _null), "lawngreen", A.SassColor$rgb0(124, 252, 0, _null), "lavenderblush", A.SassColor$rgb0(255, 240, 245, _null), "lavender", A.SassColor$rgb0(230, 230, 250, _null), "khaki", A.SassColor$rgb0(240, 230, 140, _null), "ivory", A.SassColor$rgb0(255, 255, 240, _null), "indigo", A.SassColor$rgb0(75, 0, 130, _null), "indianred", A.SassColor$rgb0(205, 92, 92, _null), "hotpink", A.SassColor$rgb0(255, 105, 180, _null), "honeydew", A.SassColor$rgb0(240, 255, 240, _null), "grey", A.SassColor$rgb0(128, 128, 128, _null), "greenyellow", A.SassColor$rgb0(173, 255, 47, _null), "green", A.SassColor$rgb0(0, 128, 0, _null), "gray", A.SassColor$rgb0(128, 128, 128, _null), "goldenrod", A.SassColor$rgb0(218, 165, 32, _null), "gold", A.SassColor$rgb0(255, 215, 0, _null), "ghostwhite", A.SassColor$rgb0(248, 248, 255, _null), "gainsboro", A.SassColor$rgb0(220, 220, 220, _null), "fuchsia", A.SassColor$rgb0(255, 0, 255, _null), "forestgreen", A.SassColor$rgb0(34, 139, 34, _null), "floralwhite", A.SassColor$rgb0(255, 250, 240, _null), "firebrick", A.SassColor$rgb0(178, 34, 34, _null), "dodgerblue", A.SassColor$rgb0(30, 144, 255, _null), "dimgrey", A.SassColor$rgb0(105, 105, 105, _null), "dimgray", A.SassColor$rgb0(105, 105, 105, _null), "deepskyblue", A.SassColor$rgb0(0, 191, 255, _null), "deeppink", A.SassColor$rgb0(255, 20, 147, _null), "darkviolet", A.SassColor$rgb0(148, 0, 211, _null), "darkturquoise", A.SassColor$rgb0(0, 206, 209, _null), "darkslategrey", A.SassColor$rgb0(47, 79, 79, _null), "darkslategray", A.SassColor$rgb0(47, 79, 79, _null), "darkslateblue", A.SassColor$rgb0(72, 61, 139, _null), "darkseagreen", A.SassColor$rgb0(143, 188, 143, _null), "darksalmon", A.SassColor$rgb0(233, 150, 122, _null), "darkred", A.SassColor$rgb0(139, 0, 0, _null), "darkorchid", A.SassColor$rgb0(153, 50, 204, _null), "darkorange", A.SassColor$rgb0(255, 140, 0, _null), "darkolivegreen", A.SassColor$rgb0(85, 107, 47, _null), "darkmagenta", A.SassColor$rgb0(139, 0, 139, _null), "darkkhaki", A.SassColor$rgb0(189, 183, 107, _null), "darkgrey", A.SassColor$rgb0(169, 169, 169, _null), "darkgreen", A.SassColor$rgb0(0, 100, 0, _null), "darkgray", A.SassColor$rgb0(169, 169, 169, _null), "darkgoldenrod", A.SassColor$rgb0(184, 134, 11, _null), "darkcyan", A.SassColor$rgb0(0, 139, 139, _null), "darkblue", A.SassColor$rgb0(0, 0, 139, _null), "cyan", A.SassColor$rgb0(0, 255, 255, _null), "crimson", A.SassColor$rgb0(220, 20, 60, _null), "cornsilk", A.SassColor$rgb0(255, 248, 220, _null), "cornflowerblue", A.SassColor$rgb0(100, 149, 237, _null), "coral", A.SassColor$rgb0(255, 127, 80, _null), "chocolate", A.SassColor$rgb0(210, 105, 30, _null), "chartreuse", A.SassColor$rgb0(127, 255, 0, _null), "cadetblue", A.SassColor$rgb0(95, 158, 160, _null), "burlywood", A.SassColor$rgb0(222, 184, 135, _null), "brown", A.SassColor$rgb0(165, 42, 42, _null), "blueviolet", A.SassColor$rgb0(138, 43, 226, _null), "blue", A.SassColor$rgb0(0, 0, 255, _null), "blanchedalmond", A.SassColor$rgb0(255, 235, 205, _null), "black", A.SassColor$rgb0(0, 0, 0, _null), "bisque", A.SassColor$rgb0(255, 228, 196, _null), "beige", A.SassColor$rgb0(245, 245, 220, _null), "azure", A.SassColor$rgb0(240, 255, 255, _null), "aquamarine", A.SassColor$rgb0(127, 255, 212, _null), "aqua", A.SassColor$rgb0(0, 255, 255, _null), "antiquewhite", A.SassColor$rgb0(250, 235, 215, _null), "aliceblue", A.SassColor$rgb0(240, 248, 255, _null)], type$.String, type$.SassColor_2);
99612 });
99613 _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
99614 var t2, t3,
99615 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor_2, type$.String);
99616 for (t2 = $.$get$colorsByName0(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
99617 t3 = t2.get$current(t2);
99618 t1.$indexSet(0, t3.value, t3.key);
99619 }
99620 return t1;
99621 });
99622 _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
99623 var t1 = $.$get$globalFunctions0();
99624 t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
99625 t1.add$1(0, "if");
99626 t1.remove$1(0, "rgb");
99627 t1.remove$1(0, "rgba");
99628 t1.remove$1(0, "hsl");
99629 t1.remove$1(0, "hsla");
99630 t1.remove$1(0, "grayscale");
99631 t1.remove$1(0, "invert");
99632 t1.remove$1(0, "alpha");
99633 t1.remove$1(0, "opacity");
99634 t1.remove$1(0, "saturate");
99635 return t1;
99636 });
99637 _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
99638 _lazyFinal($, "_filesystemImporter0", "$get$_filesystemImporter0", () => A.FilesystemImporter$("."));
99639 _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
99640 _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
99641 var t1 = type$.BuiltInCallable_2,
99642 t2 = A.List_List$of($.$get$global7(), true, t1);
99643 B.JSArray_methods.addAll$1(t2, $.$get$global8());
99644 B.JSArray_methods.addAll$1(t2, $.$get$global9());
99645 B.JSArray_methods.addAll$1(t2, $.$get$global10());
99646 B.JSArray_methods.addAll$1(t2, $.$get$global11());
99647 B.JSArray_methods.addAll$1(t2, $.$get$global12());
99648 B.JSArray_methods.addAll$1(t2, $.$get$global6());
99649 t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
99650 return A.UnmodifiableListView$(t2, t1);
99651 });
99652 _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));
99653 _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ArgumentDeclaration_ArgumentDeclaration$parse0(string$.x40funct, null));
99654 _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));
99655 _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));
99656 _lazyFinal($, "_length1", "$get$_length2", () => A._function10("length", "$list", new A._length_closure2()));
99657 _lazyFinal($, "_nth0", "$get$_nth0", () => A._function10("nth", "$list, $n", new A._nth_closure0()));
99658 _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function10("set-nth", "$list, $n, $value", new A._setNth_closure0()));
99659 _lazyFinal($, "_join0", "$get$_join0", () => A._function10("join", string$.x24list1, new A._join_closure0()));
99660 _lazyFinal($, "_append1", "$get$_append2", () => A._function10("append", "$list, $val, $separator: auto", new A._append_closure2()));
99661 _lazyFinal($, "_zip0", "$get$_zip0", () => A._function10("zip", "$lists...", new A._zip_closure0()));
99662 _lazyFinal($, "_index1", "$get$_index2", () => A._function10("index", "$list, $value", new A._index_closure2()));
99663 _lazyFinal($, "_separator0", "$get$_separator0", () => A._function10("separator", "$list", new A._separator_closure0()));
99664 _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function10("is-bracketed", "$list", new A._isBracketed_closure0()));
99665 _lazyFinal($, "_slash0", "$get$_slash0", () => A._function10("slash", "$elements...", new A._slash_closure0()));
99666 _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
99667 var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
99668 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));
99669 return t1;
99670 });
99671 _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
99672 _lazyFinal($, "Logger_quiet0", "$get$Logger_quiet0", () => new A._QuietLogger0());
99673 _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));
99674 _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));
99675 _lazyFinal($, "_get0", "$get$_get0", () => A._function9("get", "$map, $key, $keys...", new A._get_closure0()));
99676 _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)));
99677 _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)));
99678 _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function9("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
99679 _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function9("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
99680 _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)));
99681 _lazyFinal($, "_keys0", "$get$_keys0", () => A._function9("keys", "$map", new A._keys_closure0()));
99682 _lazyFinal($, "_values0", "$get$_values0", () => A._function9("values", "$map", new A._values_closure0()));
99683 _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function9("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
99684 _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
99685 var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
99686 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));
99687 return t1;
99688 });
99689 _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
99690 _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));
99691 _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));
99692 _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
99693 _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function8("clamp", "$min, $number, $max", new A._clamp_closure0()));
99694 _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
99695 _lazyFinal($, "_max0", "$get$_max0", () => A._function8("max", "$numbers...", new A._max_closure0()));
99696 _lazyFinal($, "_min0", "$get$_min0", () => A._function8("min", "$numbers...", new A._min_closure0()));
99697 _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", A.number2__fuzzyRound$closure()));
99698 _lazyFinal($, "_abs0", "$get$_abs0", () => A._numberFunction0("abs", new A._abs_closure0()));
99699 _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function8("hypot", "$numbers...", new A._hypot_closure0()));
99700 _lazyFinal($, "_log0", "$get$_log0", () => A._function8("log", "$number, $base: null", new A._log_closure0()));
99701 _lazyFinal($, "_pow0", "$get$_pow0", () => A._function8("pow", "$base, $exponent", new A._pow_closure0()));
99702 _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._function8("sqrt", "$number", new A._sqrt_closure0()));
99703 _lazyFinal($, "_acos0", "$get$_acos0", () => A._function8("acos", "$number", new A._acos_closure0()));
99704 _lazyFinal($, "_asin0", "$get$_asin0", () => A._function8("asin", "$number", new A._asin_closure0()));
99705 _lazyFinal($, "_atan0", "$get$_atan0", () => A._function8("atan", "$number", new A._atan_closure0()));
99706 _lazyFinal($, "_atan20", "$get$_atan20", () => A._function8("atan2", "$y, $x", new A._atan2_closure0()));
99707 _lazyFinal($, "_cos0", "$get$_cos0", () => A._function8("cos", "$number", new A._cos_closure0()));
99708 _lazyFinal($, "_sin0", "$get$_sin0", () => A._function8("sin", "$number", new A._sin_closure0()));
99709 _lazyFinal($, "_tan0", "$get$_tan0", () => A._function8("tan", "$number", new A._tan_closure0()));
99710 _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function8("compatible", "$number1, $number2", new A._compatible_closure0()));
99711 _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function8("is-unitless", "$number", new A._isUnitless_closure0()));
99712 _lazyFinal($, "_unit0", "$get$_unit0", () => A._function8("unit", "$number", new A._unit_closure0()));
99713 _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function8("percentage", "$number", new A._percentage_closure0()));
99714 _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
99715 _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function8("random", "$limit: null", new A._randomFunction_closure0()));
99716 _lazyFinal($, "_div0", "$get$_div0", () => A._function8("div", "$number1, $number2", new A._div_closure0()));
99717 _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));
99718 _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));
99719 _lazyFinal($, "stderr0", "$get$stderr0", () => new A.Stderr0(J.get$stderr$x(self.process)));
99720 _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
99721 _lazyFinal($, "epsilon0", "$get$epsilon0", () => A.pow(10, -11));
99722 _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => 1 / $.$get$epsilon0());
99723 _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
99724 var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
99725 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));
99726 return t1;
99727 });
99728 _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
99729 _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
99730 var t2, t3, t4,
99731 t1 = type$.String;
99732 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
99733 for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
99734 t3 = t2.get$current(t2);
99735 for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
99736 t1.$indexSet(0, t4.get$current(t4), t3);
99737 }
99738 return t1;
99739 });
99740 _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));
99741 _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));
99742 _lazyFinal($, "_nest0", "$get$_nest0", () => A._function7("nest", "$selectors...", new A._nest_closure0()));
99743 _lazyFinal($, "_append2", "$get$_append1", () => A._function7("append", "$selectors...", new A._append_closure1()));
99744 _lazyFinal($, "_extend0", "$get$_extend0", () => A._function7("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
99745 _lazyFinal($, "_replace0", "$get$_replace0", () => A._function7("replace", "$selector, $original, $replacement", new A._replace_closure0()));
99746 _lazyFinal($, "_unify0", "$get$_unify0", () => A._function7("unify", "$selector1, $selector2", new A._unify_closure0()));
99747 _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function7("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
99748 _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function7("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
99749 _lazyFinal($, "_parse0", "$get$_parse0", () => A._function7("parse", "$selector", new A._parse_closure0()));
99750 _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
99751 var _i, set, t2,
99752 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
99753 for (_i = 0; _i < 5; ++_i) {
99754 set = B.List_AqW[_i];
99755 for (t2 = set.get$iterator(set); t2.moveNext$0();)
99756 t1.$indexSet(0, t2.get$current(t2), set);
99757 }
99758 return t1;
99759 });
99760 _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
99761 _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
99762 _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));
99763 _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));
99764 _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function6("unquote", "$string", new A._unquote_closure0()));
99765 _lazyFinal($, "_quote0", "$get$_quote0", () => A._function6("quote", "$string", new A._quote_closure0()));
99766 _lazyFinal($, "_length2", "$get$_length1", () => A._function6("length", "$string", new A._length_closure1()));
99767 _lazyFinal($, "_insert0", "$get$_insert0", () => A._function6("insert", "$string, $insert, $index", new A._insert_closure0()));
99768 _lazyFinal($, "_index2", "$get$_index1", () => A._function6("index", "$string, $substring", new A._index_closure1()));
99769 _lazyFinal($, "_slice0", "$get$_slice0", () => A._function6("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
99770 _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function6("to-upper-case", "$string", new A._toUpperCase_closure0()));
99771 _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function6("to-lower-case", "$string", new A._toLowerCase_closure0()));
99772 _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function6("unique-id", "", new A._uniqueId_closure0()));
99773 _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
99774 var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
99775 A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
99776 return t1;
99777 });
99778 _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
99779 _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
99780 _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
99781 _lazyFinal($, "_jsThrow", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
99782 _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
99783 _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
99784 _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
99785 _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
99786 })();
99787 (function nativeSupport() {
99788 !function() {
99789 var intern = function(s) {
99790 var o = {};
99791 o[s] = 1;
99792 return Object.keys(hunkHelpers.convertToFastObject(o))[0];
99793 };
99794 init.getIsolateTag = function(name) {
99795 return intern("___dart_" + name + init.isolateTag);
99796 };
99797 var tableProperty = "___dart_isolate_tags_";
99798 var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
99799 var rootProperty = "_ZxYxX";
99800 for (var i = 0;; i++) {
99801 var property = intern(rootProperty + "_" + i + "_");
99802 if (!(property in usedProperties)) {
99803 usedProperties[property] = 1;
99804 init.isolateTag = property;
99805 break;
99806 }
99807 }
99808 init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
99809 }();
99810 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});
99811 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});
99812 A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
99813 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
99814 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
99815 A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
99816 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
99817 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
99818 A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
99819 })();
99820 Function.prototype.call$0 = function() {
99821 return this();
99822 };
99823 Function.prototype.call$1 = function(a) {
99824 return this(a);
99825 };
99826 Function.prototype.call$2 = function(a, b) {
99827 return this(a, b);
99828 };
99829 Function.prototype.call$3$1 = function(a) {
99830 return this(a);
99831 };
99832 Function.prototype.call$2$1 = function(a) {
99833 return this(a);
99834 };
99835 Function.prototype.call$1$1 = function(a) {
99836 return this(a);
99837 };
99838 Function.prototype.call$3 = function(a, b, c) {
99839 return this(a, b, c);
99840 };
99841 Function.prototype.call$4 = function(a, b, c, d) {
99842 return this(a, b, c, d);
99843 };
99844 Function.prototype.call$3$3 = function(a, b, c) {
99845 return this(a, b, c);
99846 };
99847 Function.prototype.call$2$2 = function(a, b) {
99848 return this(a, b);
99849 };
99850 Function.prototype.call$6 = function(a, b, c, d, e, f) {
99851 return this(a, b, c, d, e, f);
99852 };
99853 Function.prototype.call$5 = function(a, b, c, d, e) {
99854 return this(a, b, c, d, e);
99855 };
99856 Function.prototype.call$1$0 = function() {
99857 return this();
99858 };
99859 Function.prototype.call$2$0 = function() {
99860 return this();
99861 };
99862 Function.prototype.call$2$3 = function(a, b, c) {
99863 return this(a, b, c);
99864 };
99865 Function.prototype.call$1$2 = function(a, b) {
99866 return this(a, b);
99867 };
99868 convertAllToFastObject(holders);
99869 convertToFastObject($);
99870 (function(callback) {
99871 if (typeof document === "undefined") {
99872 callback(null);
99873 return;
99874 }
99875 if (typeof document.currentScript != "undefined") {
99876 callback(document.currentScript);
99877 return;
99878 }
99879 var scripts = document.scripts;
99880 function onLoad(event) {
99881 for (var i = 0; i < scripts.length; ++i)
99882 scripts[i].removeEventListener("load", onLoad, false);
99883 callback(event.target);
99884 }
99885 for (var i = 0; i < scripts.length; ++i)
99886 scripts[i].addEventListener("load", onLoad, false);
99887 })(function(currentScript) {
99888 init.currentScript = currentScript;
99889 var callMain = A.main1;
99890 if (typeof dartMainRunner === "function")
99891 dartMainRunner(callMain, []);
99892 else
99893 callMain([]);
99894 });
99895})();
99896}