UNPKG

4.25 MBJavaScriptView Raw
1exports.load = function(_cli_pkg_requires) {
2// make sure to keep this as 'var'
3// we don't want block scoping
4
5var dartNodePreambleSelf = typeof global !== "undefined" ? global : window;
6
7var self = Object.create(dartNodePreambleSelf);
8
9self.scheduleImmediate = typeof setImmediate !== "undefined"
10 ? function (cb) {
11 setImmediate(cb);
12 }
13 : function(cb) {
14 setTimeout(cb, 0);
15 };
16
17// CommonJS globals.
18self.exports = exports;
19
20// Node.js specific exports, check to see if they exist & or polyfilled
21
22if (typeof process !== "undefined") {
23 self.process = process;
24}
25
26if (typeof __dirname !== "undefined") {
27 self.__dirname = __dirname;
28}
29
30if (typeof __filename !== "undefined") {
31 self.__filename = __filename;
32}
33
34if (typeof Buffer !== "undefined") {
35 self.Buffer = Buffer;
36}
37
38// if we're running in a browser, Dart supports most of this out of box
39// make sure we only run these in Node.js environment
40
41var dartNodeIsActuallyNode = !dartNodePreambleSelf.window
42
43try {
44 // Check if we're in a Web Worker instead.
45 if ("undefined" !== typeof WorkerGlobalScope && dartNodePreambleSelf instanceof WorkerGlobalScope) {
46 dartNodeIsActuallyNode = false;
47 }
48
49 // Check if we're in Electron, with Node.js integration, and override if true.
50 if ("undefined" !== typeof process && process.versions && process.versions.hasOwnProperty('electron') && process.versions.hasOwnProperty('node')) {
51 dartNodeIsActuallyNode = true;
52 }
53} catch(e) {}
54
55if (dartNodeIsActuallyNode) {
56 // This line is to:
57 // 1) Prevent Webpack from bundling.
58 // 2) In Webpack on Node.js, make sure we're using the native Node.js require, which is available via __non_webpack_require__
59 // https://github.com/mbullington/node_preamble.dart/issues/18#issuecomment-527305561
60 var url = ("undefined" !== typeof __webpack_require__ ? __non_webpack_require__ : require)("url");
61
62 // Setting `self.location=` in Electron throws a `TypeError`, so we define it
63 // as a property instead to be safe.
64 Object.defineProperty(self, "location", {
65 value: {
66 get href() {
67 if (url.pathToFileURL) {
68 return url.pathToFileURL(process.cwd()).href + "/";
69 } else {
70 // This isn't really a correct transformation, but it's the best we have
71 // for versions of Node <10.12.0 which introduced `url.pathToFileURL()`.
72 // For example, it will fail for paths that contain characters that need
73 // to be escaped in URLs.
74 return "file://" + (function() {
75 var cwd = process.cwd();
76 if (process.platform != "win32") return cwd;
77 return "/" + cwd.replace(/\\/g, "/");
78 })() + "/"
79 }
80 }
81 }
82 });
83
84 (function() {
85 function computeCurrentScript() {
86 try {
87 throw new Error();
88 } catch(e) {
89 var stack = e.stack;
90 var re = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg");
91 var lastMatch = null;
92 do {
93 var match = re.exec(stack);
94 if (match != null) lastMatch = match;
95 } while (match != null);
96 return lastMatch[1];
97 }
98 }
99
100 // Setting `self.document=` isn't known to throw an error anywhere like
101 // `self.location=` does on Electron, but it's better to be future-proof
102 // just in case..
103 var cachedCurrentScript = null;
104 Object.defineProperty(self, "document", {
105 value: {
106 get currentScript() {
107 if (cachedCurrentScript == null) {
108 cachedCurrentScript = {src: computeCurrentScript()};
109 }
110 return cachedCurrentScript;
111 }
112 }
113 });
114 })();
115
116 self.dartDeferredLibraryLoader = function(uri, successCallback, errorCallback) {
117 try {
118 load(uri);
119 successCallback();
120 } catch (error) {
121 errorCallback(error);
122 }
123 };
124}
125
126self.util = require("util");
127self.immutable = require("immutable");
128self.fs = require("fs");
129self.chokidar = _cli_pkg_requires.chokidar;
130self.readline = _cli_pkg_requires.readline;
131// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, no-legacy-javascript, new-holders, csp), the Dart to JavaScript compiler version: 2.15.1.
132// The code supports the following hooks:
133// dartPrint(message):
134// if this function is defined it is called instead of the Dart [print]
135// method.
136//
137// dartMainRunner(main, args):
138// if this function is defined, the Dart [main] method will not be invoked
139// directly. Instead, a closure that will invoke [main], and its arguments
140// [args] is passed to [dartMainRunner].
141//
142// dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId):
143// if this function is defined, it will be called when a deferred library
144// is loaded. It should load and eval the javascript of `uri`, and call
145// successCallback. If it fails to do so, it should call errorCallback with
146// an error. The loadId argument is the deferred import that resulted in
147// this uri being loaded.
148//
149// dartCallInstrumentation(id, qualifiedName):
150// if this function is defined, it will be called at each entry of a
151// method or constructor. Used only when compiling programs with
152// --experiment-call-instrumentation.
153(function dartProgram() {
154 function copyProperties(from, to) {
155 var keys = Object.keys(from);
156 for (var i = 0; i < keys.length; i++) {
157 var key = keys[i];
158 to[key] = from[key];
159 }
160 }
161 function mixinPropertiesHard(from, to) {
162 var keys = Object.keys(from);
163 for (var i = 0; i < keys.length; i++) {
164 var key = keys[i];
165 if (!to.hasOwnProperty(key))
166 to[key] = from[key];
167 }
168 }
169 function mixinPropertiesEasy(from, to) {
170 Object.assign(to, from);
171 }
172 var supportsDirectProtoAccess = function() {
173 var cls = function() {
174 };
175 cls.prototype = {p: {}};
176 var object = new cls();
177 if (!(object.__proto__ && object.__proto__.p === cls.prototype.p))
178 return false;
179 try {
180 if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
181 return true;
182 if (typeof version == "function" && version.length == 0) {
183 var v = version();
184 if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
185 return true;
186 }
187 } catch (_) {
188 }
189 return false;
190 }();
191 function setFunctionNamesIfNecessary(holders) {
192 function t() {
193 }
194 ;
195 if (typeof t.name == "string")
196 return;
197 for (var i = 0; i < holders.length; i++) {
198 var holder = holders[i];
199 var keys = Object.keys(holder);
200 for (var j = 0; j < keys.length; j++) {
201 var key = keys[j];
202 var f = holder[key];
203 if (typeof f == "function")
204 f.name = key;
205 }
206 }
207 }
208 function inherit(cls, sup) {
209 cls.prototype.constructor = cls;
210 cls.prototype["$is" + cls.name] = cls;
211 if (sup != null) {
212 if (supportsDirectProtoAccess) {
213 cls.prototype.__proto__ = sup.prototype;
214 return;
215 }
216 var clsPrototype = Object.create(sup.prototype);
217 copyProperties(cls.prototype, clsPrototype);
218 cls.prototype = clsPrototype;
219 }
220 }
221 function inheritMany(sup, classes) {
222 for (var i = 0; i < classes.length; i++)
223 inherit(classes[i], sup);
224 }
225 function mixinEasy(cls, mixin) {
226 mixinPropertiesEasy(mixin.prototype, cls.prototype);
227 cls.prototype.constructor = cls;
228 }
229 function mixinHard(cls, mixin) {
230 mixinPropertiesHard(mixin.prototype, cls.prototype);
231 cls.prototype.constructor = cls;
232 }
233 function lazyOld(holder, name, getterName, initializer) {
234 var uninitializedSentinel = holder;
235 holder[name] = uninitializedSentinel;
236 holder[getterName] = function() {
237 holder[getterName] = function() {
238 A.throwCyclicInit(name);
239 };
240 var result;
241 var sentinelInProgress = initializer;
242 try {
243 if (holder[name] === uninitializedSentinel) {
244 result = holder[name] = sentinelInProgress;
245 result = holder[name] = initializer();
246 } else
247 result = holder[name];
248 } finally {
249 if (result === sentinelInProgress)
250 holder[name] = null;
251 holder[getterName] = function() {
252 return this[name];
253 };
254 }
255 return result;
256 };
257 }
258 function lazy(holder, name, getterName, initializer) {
259 var uninitializedSentinel = holder;
260 holder[name] = uninitializedSentinel;
261 holder[getterName] = function() {
262 if (holder[name] === uninitializedSentinel)
263 holder[name] = initializer();
264 holder[getterName] = function() {
265 return this[name];
266 };
267 return holder[name];
268 };
269 }
270 function lazyFinal(holder, name, getterName, initializer) {
271 var uninitializedSentinel = holder;
272 holder[name] = uninitializedSentinel;
273 holder[getterName] = function() {
274 if (holder[name] === uninitializedSentinel) {
275 var value = initializer();
276 if (holder[name] !== uninitializedSentinel)
277 A.throwLateFieldADI(name);
278 holder[name] = value;
279 }
280 holder[getterName] = function() {
281 return this[name];
282 };
283 return holder[name];
284 };
285 }
286 function makeConstList(list) {
287 list.immutable$list = Array;
288 list.fixed$length = Array;
289 return list;
290 }
291 function convertToFastObject(properties) {
292 function t() {
293 }
294 t.prototype = properties;
295 new t();
296 return properties;
297 }
298 function convertAllToFastObject(arrayOfObjects) {
299 for (var i = 0; i < arrayOfObjects.length; ++i)
300 convertToFastObject(arrayOfObjects[i]);
301 }
302 var functionCounter = 0;
303 function instanceTearOffGetter(isIntercepted, parameters) {
304 var cache = null;
305 return isIntercepted ? function(receiver) {
306 if (cache === null)
307 cache = A.closureFromTearOff(parameters);
308 return new cache(receiver, this);
309 } : function() {
310 if (cache === null)
311 cache = A.closureFromTearOff(parameters);
312 return new cache(this, null);
313 };
314 }
315 function staticTearOffGetter(parameters) {
316 var cache = null;
317 return function() {
318 if (cache === null)
319 cache = A.closureFromTearOff(parameters).prototype;
320 return cache;
321 };
322 }
323 var typesOffset = 0;
324 function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
325 if (typeof funType == "number")
326 funType += typesOffset;
327 return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
328 }
329 function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
330 var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
331 var getterFunction = staticTearOffGetter(parameters);
332 holder[getterName] = getterFunction;
333 }
334 function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
335 isIntercepted = !!isIntercepted;
336 var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
337 var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
338 prototype[getterName] = getterFunction;
339 }
340 function setOrUpdateInterceptorsByTag(newTags) {
341 var tags = init.interceptorsByTag;
342 if (!tags) {
343 init.interceptorsByTag = newTags;
344 return;
345 }
346 copyProperties(newTags, tags);
347 }
348 function setOrUpdateLeafTags(newTags) {
349 var tags = init.leafTags;
350 if (!tags) {
351 init.leafTags = newTags;
352 return;
353 }
354 copyProperties(newTags, tags);
355 }
356 function updateTypes(newTypes) {
357 var types = init.types;
358 var length = types.length;
359 types.push.apply(types, newTypes);
360 return length;
361 }
362 function updateHolder(holder, newHolder) {
363 copyProperties(newHolder, holder);
364 return holder;
365 }
366 var hunkHelpers = function() {
367 var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
368 return function(container, getterName, name, funType) {
369 return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
370 };
371 },
372 mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
373 return function(container, getterName, name, funType) {
374 return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
375 };
376 };
377 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};
378 }();
379 function initializeDeferredHunk(hunk) {
380 typesOffset = init.types.length;
381 hunk(hunkHelpers, init, holders, $);
382 }
383 var A = {JS_CONST: function JS_CONST() {
384 },
385 CastIterable_CastIterable(source, $S, $T) {
386 if ($S._eval$1("EfficientLengthIterable<0>")._is(source))
387 return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
388 return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
389 },
390 LateError$fieldADI(fieldName) {
391 return new A.LateError("Field '" + fieldName + "' has been assigned during initialization.");
392 },
393 LateError$localNI(localName) {
394 return new A.LateError("Local '" + localName + "' has not been initialized.");
395 },
396 hexDigitValue(char) {
397 var letter,
398 digit = char ^ 48;
399 if (digit <= 9)
400 return digit;
401 letter = char | 32;
402 if (97 <= letter && letter <= 102)
403 return letter - 87;
404 return -1;
405 },
406 SystemHash_combine(hash, value) {
407 hash = hash + value & 536870911;
408 hash = hash + ((hash & 524287) << 10) & 536870911;
409 return hash ^ hash >>> 6;
410 },
411 SystemHash_finish(hash) {
412 hash = hash + ((hash & 67108863) << 3) & 536870911;
413 hash ^= hash >>> 11;
414 return hash + ((hash & 16383) << 15) & 536870911;
415 },
416 checkNotNullable(value, $name, $T) {
417 return value;
418 },
419 SubListIterable$(_iterable, _start, _endOrLength, $E) {
420 A.RangeError_checkNotNegative(_start, "start");
421 if (_endOrLength != null) {
422 A.RangeError_checkNotNegative(_endOrLength, "end");
423 if (_start > _endOrLength)
424 A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
425 }
426 return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
427 },
428 MappedIterable_MappedIterable(iterable, $function, $S, $T) {
429 if (type$.EfficientLengthIterable_dynamic._is(iterable))
430 return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
431 return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
432 },
433 TakeIterable_TakeIterable(iterable, takeCount, $E) {
434 var _s9_ = "takeCount";
435 A.ArgumentError_checkNotNull(takeCount, _s9_);
436 A.RangeError_checkNotNegative(takeCount, _s9_);
437 if (type$.EfficientLengthIterable_dynamic._is(iterable))
438 return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
439 return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
440 },
441 SkipIterable_SkipIterable(iterable, count, $E) {
442 var _s5_ = "count";
443 if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
444 A.ArgumentError_checkNotNull(count, _s5_);
445 A.RangeError_checkNotNegative(count, _s5_);
446 return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
447 }
448 A.ArgumentError_checkNotNull(count, _s5_);
449 A.RangeError_checkNotNegative(count, _s5_);
450 return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
451 },
452 FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
453 if ($E._eval$1("EfficientLengthIterable<0>")._is(second))
454 return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
455 return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
456 },
457 IterableElementError_noElement() {
458 return new A.StateError("No element");
459 },
460 IterableElementError_tooMany() {
461 return new A.StateError("Too many elements");
462 },
463 IterableElementError_tooFew() {
464 return new A.StateError("Too few elements");
465 },
466 Sort_sort(a, compare) {
467 A.Sort__doSort(a, 0, J.get$length$asx(a) - 1, compare);
468 },
469 Sort__doSort(a, left, right, compare) {
470 if (right - left <= 32)
471 A.Sort__insertionSort(a, left, right, compare);
472 else
473 A.Sort__dualPivotQuicksort(a, left, right, compare);
474 },
475 Sort__insertionSort(a, left, right, compare) {
476 var i, t1, el, j, j0;
477 for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
478 el = t1.$index(a, i);
479 j = i;
480 while (true) {
481 if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
482 break;
483 j0 = j - 1;
484 t1.$indexSet(a, j, t1.$index(a, j0));
485 j = j0;
486 }
487 t1.$indexSet(a, j, el);
488 }
489 },
490 Sort__dualPivotQuicksort(a, left, right, compare) {
491 var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, t2,
492 sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
493 index1 = left + sixth,
494 index5 = right - sixth,
495 index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
496 index2 = index3 - sixth,
497 index4 = index3 + sixth,
498 t1 = J.getInterceptor$asx(a),
499 el1 = t1.$index(a, index1),
500 el2 = t1.$index(a, index2),
501 el3 = t1.$index(a, index3),
502 el4 = t1.$index(a, index4),
503 el5 = t1.$index(a, index5);
504 if (compare.call$2(el1, el2) > 0) {
505 t0 = el2;
506 el2 = el1;
507 el1 = t0;
508 }
509 if (compare.call$2(el4, el5) > 0) {
510 t0 = el5;
511 el5 = el4;
512 el4 = t0;
513 }
514 if (compare.call$2(el1, el3) > 0) {
515 t0 = el3;
516 el3 = el1;
517 el1 = t0;
518 }
519 if (compare.call$2(el2, el3) > 0) {
520 t0 = el3;
521 el3 = el2;
522 el2 = t0;
523 }
524 if (compare.call$2(el1, el4) > 0) {
525 t0 = el4;
526 el4 = el1;
527 el1 = t0;
528 }
529 if (compare.call$2(el3, el4) > 0) {
530 t0 = el4;
531 el4 = el3;
532 el3 = t0;
533 }
534 if (compare.call$2(el2, el5) > 0) {
535 t0 = el5;
536 el5 = el2;
537 el2 = t0;
538 }
539 if (compare.call$2(el2, el3) > 0) {
540 t0 = el3;
541 el3 = el2;
542 el2 = t0;
543 }
544 if (compare.call$2(el4, el5) > 0) {
545 t0 = el5;
546 el5 = el4;
547 el4 = t0;
548 }
549 t1.$indexSet(a, index1, el1);
550 t1.$indexSet(a, index3, el3);
551 t1.$indexSet(a, index5, el5);
552 t1.$indexSet(a, index2, t1.$index(a, left));
553 t1.$indexSet(a, index4, t1.$index(a, right));
554 less = left + 1;
555 great = right - 1;
556 if (J.$eq$(compare.call$2(el2, el4), 0)) {
557 for (k = less; k <= great; ++k) {
558 ak = t1.$index(a, k);
559 comp = compare.call$2(ak, el2);
560 if (comp === 0)
561 continue;
562 if (comp < 0) {
563 if (k !== less) {
564 t1.$indexSet(a, k, t1.$index(a, less));
565 t1.$indexSet(a, less, ak);
566 }
567 ++less;
568 } else
569 for (; true;) {
570 comp = compare.call$2(t1.$index(a, great), el2);
571 if (comp > 0) {
572 --great;
573 continue;
574 } else {
575 great0 = great - 1;
576 if (comp < 0) {
577 t1.$indexSet(a, k, t1.$index(a, less));
578 less0 = less + 1;
579 t1.$indexSet(a, less, t1.$index(a, great));
580 t1.$indexSet(a, great, ak);
581 great = great0;
582 less = less0;
583 break;
584 } else {
585 t1.$indexSet(a, k, t1.$index(a, great));
586 t1.$indexSet(a, great, ak);
587 great = great0;
588 break;
589 }
590 }
591 }
592 }
593 pivots_are_equal = true;
594 } else {
595 for (k = less; k <= great; ++k) {
596 ak = t1.$index(a, k);
597 if (compare.call$2(ak, el2) < 0) {
598 if (k !== less) {
599 t1.$indexSet(a, k, t1.$index(a, less));
600 t1.$indexSet(a, less, ak);
601 }
602 ++less;
603 } else if (compare.call$2(ak, el4) > 0)
604 for (; true;)
605 if (compare.call$2(t1.$index(a, great), el4) > 0) {
606 --great;
607 if (great < k)
608 break;
609 continue;
610 } else {
611 great0 = great - 1;
612 if (compare.call$2(t1.$index(a, great), el2) < 0) {
613 t1.$indexSet(a, k, t1.$index(a, less));
614 less0 = less + 1;
615 t1.$indexSet(a, less, t1.$index(a, great));
616 t1.$indexSet(a, great, ak);
617 less = less0;
618 } else {
619 t1.$indexSet(a, k, t1.$index(a, great));
620 t1.$indexSet(a, great, ak);
621 }
622 great = great0;
623 break;
624 }
625 }
626 pivots_are_equal = false;
627 }
628 t2 = less - 1;
629 t1.$indexSet(a, left, t1.$index(a, t2));
630 t1.$indexSet(a, t2, el2);
631 t2 = great + 1;
632 t1.$indexSet(a, right, t1.$index(a, t2));
633 t1.$indexSet(a, t2, el4);
634 A.Sort__doSort(a, left, less - 2, compare);
635 A.Sort__doSort(a, great + 2, right, compare);
636 if (pivots_are_equal)
637 return;
638 if (less < index1 && great > index5) {
639 for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
640 ++less;
641 for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
642 --great;
643 for (k = less; k <= great; ++k) {
644 ak = t1.$index(a, k);
645 if (compare.call$2(ak, el2) === 0) {
646 if (k !== less) {
647 t1.$indexSet(a, k, t1.$index(a, less));
648 t1.$indexSet(a, less, ak);
649 }
650 ++less;
651 } else if (compare.call$2(ak, el4) === 0)
652 for (; true;)
653 if (compare.call$2(t1.$index(a, great), el4) === 0) {
654 --great;
655 if (great < k)
656 break;
657 continue;
658 } else {
659 great0 = great - 1;
660 if (compare.call$2(t1.$index(a, great), el2) < 0) {
661 t1.$indexSet(a, k, t1.$index(a, less));
662 less0 = less + 1;
663 t1.$indexSet(a, less, t1.$index(a, great));
664 t1.$indexSet(a, great, ak);
665 less = less0;
666 } else {
667 t1.$indexSet(a, k, t1.$index(a, great));
668 t1.$indexSet(a, great, ak);
669 }
670 great = great0;
671 break;
672 }
673 }
674 A.Sort__doSort(a, less, great, compare);
675 } else
676 A.Sort__doSort(a, less, great, compare);
677 },
678 _CastIterableBase: function _CastIterableBase() {
679 },
680 CastIterator: function CastIterator(t0, t1) {
681 this._source = t0;
682 this.$ti = t1;
683 },
684 CastIterable: function CastIterable(t0, t1) {
685 this._source = t0;
686 this.$ti = t1;
687 },
688 _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
689 this._source = t0;
690 this.$ti = t1;
691 },
692 _CastListBase: function _CastListBase() {
693 },
694 _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
695 this.$this = t0;
696 this.compare = t1;
697 },
698 CastList: function CastList(t0, t1) {
699 this._source = t0;
700 this.$ti = t1;
701 },
702 CastSet: function CastSet(t0, t1, t2) {
703 this._source = t0;
704 this._emptySet = t1;
705 this.$ti = t2;
706 },
707 CastMap: function CastMap(t0, t1) {
708 this._source = t0;
709 this.$ti = t1;
710 },
711 CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
712 this.$this = t0;
713 this.f = t1;
714 },
715 CastMap_entries_closure: function CastMap_entries_closure(t0) {
716 this.$this = t0;
717 },
718 LateError: function LateError(t0) {
719 this._message = t0;
720 },
721 CodeUnits: function CodeUnits(t0) {
722 this._string = t0;
723 },
724 nullFuture_closure: function nullFuture_closure() {
725 },
726 SentinelValue: function SentinelValue() {
727 },
728 EfficientLengthIterable: function EfficientLengthIterable() {
729 },
730 ListIterable: function ListIterable() {
731 },
732 SubListIterable: function SubListIterable(t0, t1, t2, t3) {
733 var _ = this;
734 _.__internal$_iterable = t0;
735 _._start = t1;
736 _._endOrLength = t2;
737 _.$ti = t3;
738 },
739 ListIterator: function ListIterator(t0, t1) {
740 var _ = this;
741 _.__internal$_iterable = t0;
742 _.__internal$_length = t1;
743 _.__internal$_index = 0;
744 _.__internal$_current = null;
745 },
746 MappedIterable: function MappedIterable(t0, t1, t2) {
747 this.__internal$_iterable = t0;
748 this._f = t1;
749 this.$ti = t2;
750 },
751 EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
752 this.__internal$_iterable = t0;
753 this._f = t1;
754 this.$ti = t2;
755 },
756 MappedIterator: function MappedIterator(t0, t1) {
757 this.__internal$_current = null;
758 this._iterator = t0;
759 this._f = t1;
760 },
761 MappedListIterable: function MappedListIterable(t0, t1, t2) {
762 this._source = t0;
763 this._f = t1;
764 this.$ti = t2;
765 },
766 WhereIterable: function WhereIterable(t0, t1, t2) {
767 this.__internal$_iterable = t0;
768 this._f = t1;
769 this.$ti = t2;
770 },
771 WhereIterator: function WhereIterator(t0, t1) {
772 this._iterator = t0;
773 this._f = t1;
774 },
775 ExpandIterable: function ExpandIterable(t0, t1, t2) {
776 this.__internal$_iterable = t0;
777 this._f = t1;
778 this.$ti = t2;
779 },
780 ExpandIterator: function ExpandIterator(t0, t1, t2) {
781 var _ = this;
782 _._iterator = t0;
783 _._f = t1;
784 _._currentExpansion = t2;
785 _.__internal$_current = null;
786 },
787 TakeIterable: function TakeIterable(t0, t1, t2) {
788 this.__internal$_iterable = t0;
789 this._takeCount = t1;
790 this.$ti = t2;
791 },
792 EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
793 this.__internal$_iterable = t0;
794 this._takeCount = t1;
795 this.$ti = t2;
796 },
797 TakeIterator: function TakeIterator(t0, t1) {
798 this._iterator = t0;
799 this._remaining = t1;
800 },
801 SkipIterable: function SkipIterable(t0, t1, t2) {
802 this.__internal$_iterable = t0;
803 this._skipCount = t1;
804 this.$ti = t2;
805 },
806 EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
807 this.__internal$_iterable = t0;
808 this._skipCount = t1;
809 this.$ti = t2;
810 },
811 SkipIterator: function SkipIterator(t0, t1) {
812 this._iterator = t0;
813 this._skipCount = t1;
814 },
815 SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
816 this.__internal$_iterable = t0;
817 this._f = t1;
818 this.$ti = t2;
819 },
820 SkipWhileIterator: function SkipWhileIterator(t0, t1) {
821 this._iterator = t0;
822 this._f = t1;
823 this._hasSkipped = false;
824 },
825 EmptyIterable: function EmptyIterable(t0) {
826 this.$ti = t0;
827 },
828 EmptyIterator: function EmptyIterator() {
829 },
830 FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
831 this.__internal$_first = t0;
832 this._second = t1;
833 this.$ti = t2;
834 },
835 EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
836 this.__internal$_first = t0;
837 this._second = t1;
838 this.$ti = t2;
839 },
840 FollowedByIterator: function FollowedByIterator(t0, t1) {
841 this._currentIterator = t0;
842 this._nextIterable = t1;
843 },
844 WhereTypeIterable: function WhereTypeIterable(t0, t1) {
845 this._source = t0;
846 this.$ti = t1;
847 },
848 WhereTypeIterator: function WhereTypeIterator(t0, t1) {
849 this._source = t0;
850 this.$ti = t1;
851 },
852 FixedLengthListMixin: function FixedLengthListMixin() {
853 },
854 UnmodifiableListMixin: function UnmodifiableListMixin() {
855 },
856 UnmodifiableListBase: function UnmodifiableListBase() {
857 },
858 ReversedListIterable: function ReversedListIterable(t0, t1) {
859 this._source = t0;
860 this.$ti = t1;
861 },
862 Symbol: function Symbol(t0) {
863 this.__internal$_name = t0;
864 },
865 __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
866 },
867 ConstantMap_ConstantMap$from(other, $K, $V) {
868 var allStrings, k, object, t2,
869 keys = A.List_List$from(other.get$keys(other), true, $K),
870 t1 = keys.length,
871 _i = 0;
872 while (true) {
873 if (!(_i < t1)) {
874 allStrings = true;
875 break;
876 }
877 k = keys[_i];
878 if (typeof k != "string" || "__proto__" === k) {
879 allStrings = false;
880 break;
881 }
882 ++_i;
883 }
884 if (allStrings) {
885 object = {};
886 for (_i = 0; t2 = keys.length, _i < t2; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
887 k = keys[_i];
888 object[k] = other.$index(0, k);
889 }
890 return new A.ConstantStringMap(t2, object, keys, $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantStringMap<1,2>"));
891 }
892 return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
893 },
894 ConstantMap__throwUnmodifiable() {
895 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
896 },
897 instantiate1(f, T1) {
898 var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
899 t1.Instantiation$1(f);
900 return t1;
901 },
902 unminifyOrTag(rawClassName) {
903 var preserved = init.mangledGlobalNames[rawClassName];
904 if (preserved != null)
905 return preserved;
906 return rawClassName;
907 },
908 isJsIndexable(object, record) {
909 var result;
910 if (record != null) {
911 result = record.x;
912 if (result != null)
913 return result;
914 }
915 return type$.JavaScriptIndexingBehavior_dynamic._is(object);
916 },
917 S(value) {
918 var result;
919 if (typeof value == "string")
920 return value;
921 if (typeof value == "number") {
922 if (value !== 0)
923 return "" + value;
924 } else if (true === value)
925 return "true";
926 else if (false === value)
927 return "false";
928 else if (value == null)
929 return "null";
930 result = J.toString$0$(value);
931 return result;
932 },
933 Primitives_objectHashCode(object) {
934 var hash = object.$identityHash;
935 if (hash == null) {
936 hash = Math.random() * 0x3fffffff | 0;
937 object.$identityHash = hash;
938 }
939 return hash;
940 },
941 Primitives_parseInt(source, radix) {
942 var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
943 match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
944 if (match == null)
945 return _null;
946 decimalMatch = match[3];
947 if (radix == null) {
948 if (decimalMatch != null)
949 return parseInt(source, 10);
950 if (match[2] != null)
951 return parseInt(source, 16);
952 return _null;
953 }
954 if (radix < 2 || radix > 36)
955 throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
956 if (radix === 10 && decimalMatch != null)
957 return parseInt(source, 10);
958 if (radix < 10 || decimalMatch == null) {
959 maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
960 digitsPart = match[1];
961 for (t1 = digitsPart.length, i = 0; i < t1; ++i)
962 if ((B.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode)
963 return _null;
964 }
965 return parseInt(source, radix);
966 },
967 Primitives_parseDouble(source) {
968 var result, trimmed;
969 if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
970 return null;
971 result = parseFloat(source);
972 if (isNaN(result)) {
973 trimmed = B.JSString_methods.trim$0(source);
974 if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
975 return result;
976 return null;
977 }
978 return result;
979 },
980 Primitives_objectTypeName(object) {
981 return A.Primitives__objectTypeNameNewRti(object);
982 },
983 Primitives__objectTypeNameNewRti(object) {
984 var dispatchName, t1, $constructor, constructorName;
985 if (object instanceof A.Object)
986 return A._rtiToString(A.instanceType(object), null);
987 if (J.getInterceptor$(object) === B.Interceptor_methods || type$.UnknownJavaScriptObject._is(object)) {
988 dispatchName = B.C_JS_CONST(object);
989 t1 = dispatchName !== "Object" && dispatchName !== "";
990 if (t1)
991 return dispatchName;
992 $constructor = object.constructor;
993 if (typeof $constructor == "function") {
994 constructorName = $constructor.name;
995 if (typeof constructorName == "string")
996 t1 = constructorName !== "Object" && constructorName !== "";
997 else
998 t1 = false;
999 if (t1)
1000 return constructorName;
1001 }
1002 }
1003 return A._rtiToString(A.instanceType(object), null);
1004 },
1005 Primitives_currentUri() {
1006 if (!!self.location)
1007 return self.location.href;
1008 return null;
1009 },
1010 Primitives__fromCharCodeApply(array) {
1011 var result, i, i0, chunkEnd,
1012 end = array.length;
1013 if (end <= 500)
1014 return String.fromCharCode.apply(null, array);
1015 for (result = "", i = 0; i < end; i = i0) {
1016 i0 = i + 500;
1017 chunkEnd = i0 < end ? i0 : end;
1018 result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
1019 }
1020 return result;
1021 },
1022 Primitives_stringFromCodePoints(codePoints) {
1023 var t1, _i, i,
1024 a = A._setArrayType([], type$.JSArray_int);
1025 for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
1026 i = codePoints[_i];
1027 if (!A._isInt(i))
1028 throw A.wrapException(A.argumentErrorValue(i));
1029 if (i <= 65535)
1030 a.push(i);
1031 else if (i <= 1114111) {
1032 a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
1033 a.push(56320 + (i & 1023));
1034 } else
1035 throw A.wrapException(A.argumentErrorValue(i));
1036 }
1037 return A.Primitives__fromCharCodeApply(a);
1038 },
1039 Primitives_stringFromCharCodes(charCodes) {
1040 var t1, _i, i;
1041 for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
1042 i = charCodes[_i];
1043 if (!A._isInt(i))
1044 throw A.wrapException(A.argumentErrorValue(i));
1045 if (i < 0)
1046 throw A.wrapException(A.argumentErrorValue(i));
1047 if (i > 65535)
1048 return A.Primitives_stringFromCodePoints(charCodes);
1049 }
1050 return A.Primitives__fromCharCodeApply(charCodes);
1051 },
1052 Primitives_stringFromNativeUint8List(charCodes, start, end) {
1053 var i, result, i0, chunkEnd;
1054 if (end <= 500 && start === 0 && end === charCodes.length)
1055 return String.fromCharCode.apply(null, charCodes);
1056 for (i = start, result = ""; i < end; i = i0) {
1057 i0 = i + 500;
1058 chunkEnd = i0 < end ? i0 : end;
1059 result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
1060 }
1061 return result;
1062 },
1063 Primitives_stringFromCharCode(charCode) {
1064 var bits;
1065 if (0 <= charCode) {
1066 if (charCode <= 65535)
1067 return String.fromCharCode(charCode);
1068 if (charCode <= 1114111) {
1069 bits = charCode - 65536;
1070 return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
1071 }
1072 }
1073 throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
1074 },
1075 Primitives_lazyAsJsDate(receiver) {
1076 if (receiver.date === void 0)
1077 receiver.date = new Date(receiver._core$_value);
1078 return receiver.date;
1079 },
1080 Primitives_getYear(receiver) {
1081 var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
1082 return t1;
1083 },
1084 Primitives_getMonth(receiver) {
1085 var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
1086 return t1;
1087 },
1088 Primitives_getDay(receiver) {
1089 var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
1090 return t1;
1091 },
1092 Primitives_getHours(receiver) {
1093 var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
1094 return t1;
1095 },
1096 Primitives_getMinutes(receiver) {
1097 var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
1098 return t1;
1099 },
1100 Primitives_getSeconds(receiver) {
1101 var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
1102 return t1;
1103 },
1104 Primitives_getMilliseconds(receiver) {
1105 var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
1106 return t1;
1107 },
1108 Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
1109 var $arguments, namedArgumentList, t1 = {};
1110 t1.argumentCount = 0;
1111 $arguments = [];
1112 namedArgumentList = [];
1113 t1.argumentCount = positionalArguments.length;
1114 B.JSArray_methods.addAll$1($arguments, positionalArguments);
1115 t1.names = "";
1116 if (namedArguments != null && !namedArguments.get$isEmpty(namedArguments))
1117 namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
1118 "" + t1.argumentCount;
1119 return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
1120 },
1121 Primitives_applyFunction($function, positionalArguments, namedArguments) {
1122 var t1, argumentCount, jsStub;
1123 if (Array.isArray(positionalArguments))
1124 t1 = namedArguments == null || namedArguments.get$isEmpty(namedArguments);
1125 else
1126 t1 = false;
1127 if (t1) {
1128 argumentCount = positionalArguments.length;
1129 if (argumentCount === 0) {
1130 if (!!$function.call$0)
1131 return $function.call$0();
1132 } else if (argumentCount === 1) {
1133 if (!!$function.call$1)
1134 return $function.call$1(positionalArguments[0]);
1135 } else if (argumentCount === 2) {
1136 if (!!$function.call$2)
1137 return $function.call$2(positionalArguments[0], positionalArguments[1]);
1138 } else if (argumentCount === 3) {
1139 if (!!$function.call$3)
1140 return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
1141 } else if (argumentCount === 4) {
1142 if (!!$function.call$4)
1143 return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
1144 } else if (argumentCount === 5)
1145 if (!!$function.call$5)
1146 return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
1147 jsStub = $function["call" + "$" + argumentCount];
1148 if (jsStub != null)
1149 return jsStub.apply($function, positionalArguments);
1150 }
1151 return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
1152 },
1153 Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
1154 var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2,
1155 $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic),
1156 argumentCount = $arguments.length,
1157 requiredParameterCount = $function.$requiredArgCount;
1158 if (argumentCount < requiredParameterCount)
1159 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1160 defaultValuesClosure = $function.$defaultValues;
1161 t1 = defaultValuesClosure == null;
1162 defaultValues = !t1 ? defaultValuesClosure() : null;
1163 interceptor = J.getInterceptor$($function);
1164 jsFunction = interceptor["call*"];
1165 if (typeof jsFunction == "string")
1166 jsFunction = interceptor[jsFunction];
1167 if (t1) {
1168 if (namedArguments != null && namedArguments.get$isNotEmpty(namedArguments))
1169 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1170 if (argumentCount === requiredParameterCount)
1171 return jsFunction.apply($function, $arguments);
1172 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1173 }
1174 if (Array.isArray(defaultValues)) {
1175 if (namedArguments != null && namedArguments.get$isNotEmpty(namedArguments))
1176 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1177 maxArguments = requiredParameterCount + defaultValues.length;
1178 if (argumentCount > maxArguments)
1179 return A.Primitives_functionNoSuchMethod($function, $arguments, null);
1180 if (argumentCount < maxArguments) {
1181 missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
1182 if ($arguments === positionalArguments)
1183 $arguments = A.List_List$of($arguments, true, type$.dynamic);
1184 B.JSArray_methods.addAll$1($arguments, missingDefaults);
1185 }
1186 return jsFunction.apply($function, $arguments);
1187 } else {
1188 if (argumentCount > requiredParameterCount)
1189 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1190 if ($arguments === positionalArguments)
1191 $arguments = A.List_List$of($arguments, true, type$.dynamic);
1192 keys = Object.keys(defaultValues);
1193 if (namedArguments == null)
1194 for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
1195 defaultValue = defaultValues[keys[_i]];
1196 if (B.C__Required === defaultValue)
1197 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1198 B.JSArray_methods.add$1($arguments, defaultValue);
1199 }
1200 else {
1201 for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
1202 t2 = keys[_i];
1203 if (namedArguments.containsKey$1(t2)) {
1204 ++used;
1205 B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
1206 } else {
1207 defaultValue = defaultValues[t2];
1208 if (B.C__Required === defaultValue)
1209 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1210 B.JSArray_methods.add$1($arguments, defaultValue);
1211 }
1212 }
1213 if (used !== namedArguments.get$length(namedArguments))
1214 return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
1215 }
1216 return jsFunction.apply($function, $arguments);
1217 }
1218 },
1219 diagnoseIndexError(indexable, index) {
1220 var $length, _s5_ = "index";
1221 if (!A._isInt(index))
1222 return new A.ArgumentError(true, index, _s5_, null);
1223 $length = J.get$length$asx(indexable);
1224 if (index < 0 || index >= $length)
1225 return A.IndexError$(index, indexable, _s5_, null, $length);
1226 return A.RangeError$value(index, _s5_, null);
1227 },
1228 diagnoseRangeError(start, end, $length) {
1229 if (start < 0 || start > $length)
1230 return A.RangeError$range(start, 0, $length, "start", null);
1231 if (end != null)
1232 if (end < start || end > $length)
1233 return A.RangeError$range(end, start, $length, "end", null);
1234 return new A.ArgumentError(true, end, "end", null);
1235 },
1236 argumentErrorValue(object) {
1237 return new A.ArgumentError(true, object, null, null);
1238 },
1239 checkNum(value) {
1240 return value;
1241 },
1242 wrapException(ex) {
1243 var wrapper, t1;
1244 if (ex == null)
1245 ex = new A.NullThrownError();
1246 wrapper = new Error();
1247 wrapper.dartException = ex;
1248 t1 = A.toStringWrapper;
1249 if ("defineProperty" in Object) {
1250 Object.defineProperty(wrapper, "message", {get: t1});
1251 wrapper.name = "";
1252 } else
1253 wrapper.toString = t1;
1254 return wrapper;
1255 },
1256 toStringWrapper() {
1257 return J.toString$0$(this.dartException);
1258 },
1259 throwExpression(ex) {
1260 throw A.wrapException(ex);
1261 },
1262 throwConcurrentModificationError(collection) {
1263 throw A.wrapException(A.ConcurrentModificationError$(collection));
1264 },
1265 TypeErrorDecoder_extractPattern(message) {
1266 var match, $arguments, argumentsExpr, expr, method, receiver;
1267 message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
1268 match = message.match(/\\\$[a-zA-Z]+\\\$/g);
1269 if (match == null)
1270 match = A._setArrayType([], type$.JSArray_String);
1271 $arguments = match.indexOf("\\$arguments\\$");
1272 argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
1273 expr = match.indexOf("\\$expr\\$");
1274 method = match.indexOf("\\$method\\$");
1275 receiver = match.indexOf("\\$receiver\\$");
1276 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);
1277 },
1278 TypeErrorDecoder_provokeCallErrorOn(expression) {
1279 return function($expr$) {
1280 var $argumentsExpr$ = "$arguments$";
1281 try {
1282 $expr$.$method$($argumentsExpr$);
1283 } catch (e) {
1284 return e.message;
1285 }
1286 }(expression);
1287 },
1288 TypeErrorDecoder_provokePropertyErrorOn(expression) {
1289 return function($expr$) {
1290 try {
1291 $expr$.$method$;
1292 } catch (e) {
1293 return e.message;
1294 }
1295 }(expression);
1296 },
1297 JsNoSuchMethodError$(_message, match) {
1298 var t1 = match == null,
1299 t2 = t1 ? null : match.method;
1300 return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
1301 },
1302 unwrapException(ex) {
1303 if (ex == null)
1304 return new A.NullThrownFromJavaScriptException(ex);
1305 if (ex instanceof A.ExceptionAndStackTrace)
1306 return A.saveStackTrace(ex, ex.dartException);
1307 if (typeof ex !== "object")
1308 return ex;
1309 if ("dartException" in ex)
1310 return A.saveStackTrace(ex, ex.dartException);
1311 return A._unwrapNonDartException(ex);
1312 },
1313 saveStackTrace(ex, error) {
1314 if (type$.Error._is(error))
1315 if (error.$thrownJsError == null)
1316 error.$thrownJsError = ex;
1317 return error;
1318 },
1319 _unwrapNonDartException(ex) {
1320 var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null;
1321 if (!("message" in ex))
1322 return ex;
1323 message = ex.message;
1324 if ("number" in ex && typeof ex.number == "number") {
1325 number = ex.number;
1326 ieErrorCode = number & 65535;
1327 if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
1328 switch (ieErrorCode) {
1329 case 438:
1330 return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", _null));
1331 case 445:
1332 case 5007:
1333 t1 = A.S(message) + " (Error " + ieErrorCode + ")";
1334 return A.saveStackTrace(ex, new A.NullError(t1, _null));
1335 }
1336 }
1337 if (ex instanceof TypeError) {
1338 nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
1339 notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
1340 nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
1341 nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
1342 undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
1343 undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
1344 nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
1345 $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
1346 undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
1347 undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
1348 match = nsme.matchTypeError$1(message);
1349 if (match != null)
1350 return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
1351 else {
1352 match = notClosure.matchTypeError$1(message);
1353 if (match != null) {
1354 match.method = "call";
1355 return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
1356 } else {
1357 match = nullCall.matchTypeError$1(message);
1358 if (match == null) {
1359 match = nullLiteralCall.matchTypeError$1(message);
1360 if (match == null) {
1361 match = undefCall.matchTypeError$1(message);
1362 if (match == null) {
1363 match = undefLiteralCall.matchTypeError$1(message);
1364 if (match == null) {
1365 match = nullProperty.matchTypeError$1(message);
1366 if (match == null) {
1367 match = nullLiteralCall.matchTypeError$1(message);
1368 if (match == null) {
1369 match = undefProperty.matchTypeError$1(message);
1370 if (match == null) {
1371 match = undefLiteralProperty.matchTypeError$1(message);
1372 t1 = match != null;
1373 } else
1374 t1 = true;
1375 } else
1376 t1 = true;
1377 } else
1378 t1 = true;
1379 } else
1380 t1 = true;
1381 } else
1382 t1 = true;
1383 } else
1384 t1 = true;
1385 } else
1386 t1 = true;
1387 if (t1)
1388 return A.saveStackTrace(ex, new A.NullError(message, match == null ? _null : match.method));
1389 }
1390 }
1391 return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
1392 }
1393 if (ex instanceof RangeError) {
1394 if (typeof message == "string" && message.indexOf("call stack") !== -1)
1395 return new A.StackOverflowError();
1396 message = function(ex) {
1397 try {
1398 return String(ex);
1399 } catch (e) {
1400 }
1401 return null;
1402 }(ex);
1403 return A.saveStackTrace(ex, new A.ArgumentError(false, _null, _null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
1404 }
1405 if (typeof InternalError == "function" && ex instanceof InternalError)
1406 if (typeof message == "string" && message === "too much recursion")
1407 return new A.StackOverflowError();
1408 return ex;
1409 },
1410 getTraceFromException(exception) {
1411 var trace;
1412 if (exception instanceof A.ExceptionAndStackTrace)
1413 return exception.stackTrace;
1414 if (exception == null)
1415 return new A._StackTrace(exception);
1416 trace = exception.$cachedTrace;
1417 if (trace != null)
1418 return trace;
1419 return exception.$cachedTrace = new A._StackTrace(exception);
1420 },
1421 objectHashCode(object) {
1422 if (object == null || typeof object != "object")
1423 return J.get$hashCode$(object);
1424 else
1425 return A.Primitives_objectHashCode(object);
1426 },
1427 fillLiteralMap(keyValuePairs, result) {
1428 var index, index0, index1,
1429 $length = keyValuePairs.length;
1430 for (index = 0; index < $length; index = index1) {
1431 index0 = index + 1;
1432 index1 = index0 + 1;
1433 result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
1434 }
1435 return result;
1436 },
1437 fillLiteralSet(values, result) {
1438 var index,
1439 $length = values.length;
1440 for (index = 0; index < $length; ++index)
1441 result.add$1(0, values[index]);
1442 return result;
1443 },
1444 invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
1445 switch (numberOfArguments) {
1446 case 0:
1447 return closure.call$0();
1448 case 1:
1449 return closure.call$1(arg1);
1450 case 2:
1451 return closure.call$2(arg1, arg2);
1452 case 3:
1453 return closure.call$3(arg1, arg2, arg3);
1454 case 4:
1455 return closure.call$4(arg1, arg2, arg3, arg4);
1456 }
1457 throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
1458 },
1459 convertDartClosureToJS(closure, arity) {
1460 var $function;
1461 if (closure == null)
1462 return null;
1463 $function = closure.$identity;
1464 if (!!$function)
1465 return $function;
1466 $function = function(closure, arity, invoke) {
1467 return function(a1, a2, a3, a4) {
1468 return invoke(closure, arity, a1, a2, a3, a4);
1469 };
1470 }(closure, arity, A.invokeClosure);
1471 closure.$identity = $function;
1472 return $function;
1473 },
1474 Closure_fromTearOff(parameters) {
1475 var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
1476 container = parameters.co,
1477 isStatic = parameters.iS,
1478 isIntercepted = parameters.iI,
1479 needsDirectAccess = parameters.nDA,
1480 applyTrampolineIndex = parameters.aI,
1481 funsOrNames = parameters.fs,
1482 callNames = parameters.cs,
1483 $name = funsOrNames[0],
1484 callName = callNames[0],
1485 $function = container[$name],
1486 t1 = parameters.fT;
1487 t1.toString;
1488 $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
1489 $prototype.$initialize = $prototype.constructor;
1490 if (isStatic)
1491 $constructor = function static_tear_off() {
1492 this.$initialize();
1493 };
1494 else
1495 $constructor = function tear_off(a, b) {
1496 this.$initialize(a, b);
1497 };
1498 $prototype.constructor = $constructor;
1499 $constructor.prototype = $prototype;
1500 $prototype.$_name = $name;
1501 $prototype.$_target = $function;
1502 t2 = !isStatic;
1503 if (t2)
1504 trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
1505 else {
1506 $prototype.$static_name = $name;
1507 trampoline = $function;
1508 }
1509 $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted);
1510 $prototype[callName] = trampoline;
1511 for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
1512 stub = funsOrNames[i];
1513 if (typeof stub == "string") {
1514 stub0 = container[stub];
1515 stubName = stub;
1516 stub = stub0;
1517 } else
1518 stubName = "";
1519 stubCallName = callNames[i];
1520 if (stubCallName != null) {
1521 if (t2)
1522 stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
1523 $prototype[stubCallName] = stub;
1524 }
1525 if (i === applyTrampolineIndex)
1526 applyTrampoline = stub;
1527 }
1528 $prototype["call*"] = applyTrampoline;
1529 $prototype.$requiredArgCount = parameters.rC;
1530 $prototype.$defaultValues = parameters.dV;
1531 return $constructor;
1532 },
1533 Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) {
1534 if (typeof functionType == "number")
1535 return functionType;
1536 if (typeof functionType == "string") {
1537 if (isStatic)
1538 throw A.wrapException("Cannot compute signature for static tearoff.");
1539 return function(recipe, evalOnReceiver) {
1540 return function() {
1541 return evalOnReceiver(this, recipe);
1542 };
1543 }(functionType, A.BoundClosure_evalRecipe);
1544 }
1545 throw A.wrapException("Error in functionType of tearoff");
1546 },
1547 Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
1548 var getReceiver = A.BoundClosure_receiverOf;
1549 switch (needsDirectAccess ? -1 : arity) {
1550 case 0:
1551 return function(entry, receiverOf) {
1552 return function() {
1553 return receiverOf(this)[entry]();
1554 };
1555 }(stubName, getReceiver);
1556 case 1:
1557 return function(entry, receiverOf) {
1558 return function(a) {
1559 return receiverOf(this)[entry](a);
1560 };
1561 }(stubName, getReceiver);
1562 case 2:
1563 return function(entry, receiverOf) {
1564 return function(a, b) {
1565 return receiverOf(this)[entry](a, b);
1566 };
1567 }(stubName, getReceiver);
1568 case 3:
1569 return function(entry, receiverOf) {
1570 return function(a, b, c) {
1571 return receiverOf(this)[entry](a, b, c);
1572 };
1573 }(stubName, getReceiver);
1574 case 4:
1575 return function(entry, receiverOf) {
1576 return function(a, b, c, d) {
1577 return receiverOf(this)[entry](a, b, c, d);
1578 };
1579 }(stubName, getReceiver);
1580 case 5:
1581 return function(entry, receiverOf) {
1582 return function(a, b, c, d, e) {
1583 return receiverOf(this)[entry](a, b, c, d, e);
1584 };
1585 }(stubName, getReceiver);
1586 default:
1587 return function(f, receiverOf) {
1588 return function() {
1589 return f.apply(receiverOf(this), arguments);
1590 };
1591 }($function, getReceiver);
1592 }
1593 },
1594 Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
1595 var arity, t1;
1596 if (isIntercepted)
1597 return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
1598 arity = $function.length;
1599 t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function);
1600 return t1;
1601 },
1602 Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
1603 var getReceiver = A.BoundClosure_receiverOf,
1604 getInterceptor = A.BoundClosure_interceptorOf;
1605 switch (needsDirectAccess ? -1 : arity) {
1606 case 0:
1607 throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
1608 case 1:
1609 return function(entry, interceptorOf, receiverOf) {
1610 return function() {
1611 return interceptorOf(this)[entry](receiverOf(this));
1612 };
1613 }(stubName, getInterceptor, getReceiver);
1614 case 2:
1615 return function(entry, interceptorOf, receiverOf) {
1616 return function(a) {
1617 return interceptorOf(this)[entry](receiverOf(this), a);
1618 };
1619 }(stubName, getInterceptor, getReceiver);
1620 case 3:
1621 return function(entry, interceptorOf, receiverOf) {
1622 return function(a, b) {
1623 return interceptorOf(this)[entry](receiverOf(this), a, b);
1624 };
1625 }(stubName, getInterceptor, getReceiver);
1626 case 4:
1627 return function(entry, interceptorOf, receiverOf) {
1628 return function(a, b, c) {
1629 return interceptorOf(this)[entry](receiverOf(this), a, b, c);
1630 };
1631 }(stubName, getInterceptor, getReceiver);
1632 case 5:
1633 return function(entry, interceptorOf, receiverOf) {
1634 return function(a, b, c, d) {
1635 return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
1636 };
1637 }(stubName, getInterceptor, getReceiver);
1638 case 6:
1639 return function(entry, interceptorOf, receiverOf) {
1640 return function(a, b, c, d, e) {
1641 return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
1642 };
1643 }(stubName, getInterceptor, getReceiver);
1644 default:
1645 return function(f, interceptorOf, receiverOf) {
1646 return function() {
1647 var a = [receiverOf(this)];
1648 Array.prototype.push.apply(a, arguments);
1649 return f.apply(interceptorOf(this), a);
1650 };
1651 }($function, getInterceptor, getReceiver);
1652 }
1653 },
1654 Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
1655 var receiverField, arity, t1,
1656 interceptorField = $.BoundClosure__interceptorFieldNameCache;
1657 interceptorField == null ? $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor") : interceptorField;
1658 receiverField = $.BoundClosure__receiverFieldNameCache;
1659 receiverField == null ? $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver") : receiverField;
1660 arity = $function.length;
1661 t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
1662 return t1;
1663 },
1664 closureFromTearOff(parameters) {
1665 return A.Closure_fromTearOff(parameters);
1666 },
1667 BoundClosure_evalRecipe(closure, recipe) {
1668 return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
1669 },
1670 BoundClosure_receiverOf(closure) {
1671 return closure._receiver;
1672 },
1673 BoundClosure_interceptorOf(closure) {
1674 return closure._interceptor;
1675 },
1676 BoundClosure__computeFieldNamed(fieldName) {
1677 var t1, i, $name,
1678 template = new A.BoundClosure("receiver", "interceptor"),
1679 names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template));
1680 for (t1 = names.length, i = 0; i < t1; ++i) {
1681 $name = names[i];
1682 if (template[$name] === fieldName)
1683 return $name;
1684 }
1685 throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
1686 },
1687 throwCyclicInit(staticName) {
1688 throw A.wrapException(new A.CyclicInitializationError(staticName));
1689 },
1690 getIsolateAffinityTag($name) {
1691 return init.getIsolateTag($name);
1692 },
1693 defineProperty(obj, property, value) {
1694 Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
1695 },
1696 lookupAndCacheInterceptor(obj) {
1697 var interceptor, interceptorClass, altTag, mark, t1,
1698 tag = $.getTagFunction.call$1(obj),
1699 record = $.dispatchRecordsForInstanceTags[tag];
1700 if (record != null) {
1701 Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1702 return record.i;
1703 }
1704 interceptor = $.interceptorsForUncacheableTags[tag];
1705 if (interceptor != null)
1706 return interceptor;
1707 interceptorClass = init.interceptorsByTag[tag];
1708 if (interceptorClass == null) {
1709 altTag = $.alternateTagFunction.call$2(obj, tag);
1710 if (altTag != null) {
1711 record = $.dispatchRecordsForInstanceTags[altTag];
1712 if (record != null) {
1713 Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1714 return record.i;
1715 }
1716 interceptor = $.interceptorsForUncacheableTags[altTag];
1717 if (interceptor != null)
1718 return interceptor;
1719 interceptorClass = init.interceptorsByTag[altTag];
1720 tag = altTag;
1721 }
1722 }
1723 if (interceptorClass == null)
1724 return null;
1725 interceptor = interceptorClass.prototype;
1726 mark = tag[0];
1727 if (mark === "!") {
1728 record = A.makeLeafDispatchRecord(interceptor);
1729 $.dispatchRecordsForInstanceTags[tag] = record;
1730 Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1731 return record.i;
1732 }
1733 if (mark === "~") {
1734 $.interceptorsForUncacheableTags[tag] = interceptor;
1735 return interceptor;
1736 }
1737 if (mark === "-") {
1738 t1 = A.makeLeafDispatchRecord(interceptor);
1739 Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
1740 return t1.i;
1741 }
1742 if (mark === "+")
1743 return A.patchInteriorProto(obj, interceptor);
1744 if (mark === "*")
1745 throw A.wrapException(A.UnimplementedError$(tag));
1746 if (init.leafTags[tag] === true) {
1747 t1 = A.makeLeafDispatchRecord(interceptor);
1748 Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
1749 return t1.i;
1750 } else
1751 return A.patchInteriorProto(obj, interceptor);
1752 },
1753 patchInteriorProto(obj, interceptor) {
1754 var proto = Object.getPrototypeOf(obj);
1755 Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
1756 return interceptor;
1757 },
1758 makeLeafDispatchRecord(interceptor) {
1759 return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
1760 },
1761 makeDefaultDispatchRecord(tag, interceptorClass, proto) {
1762 var interceptor = interceptorClass.prototype;
1763 if (init.leafTags[tag] === true)
1764 return A.makeLeafDispatchRecord(interceptor);
1765 else
1766 return J.makeDispatchRecord(interceptor, proto, null, null);
1767 },
1768 initNativeDispatch() {
1769 if (true === $.initNativeDispatchFlag)
1770 return;
1771 $.initNativeDispatchFlag = true;
1772 A.initNativeDispatchContinue();
1773 },
1774 initNativeDispatchContinue() {
1775 var map, tags, fun, i, tag, proto, record, interceptorClass;
1776 $.dispatchRecordsForInstanceTags = Object.create(null);
1777 $.interceptorsForUncacheableTags = Object.create(null);
1778 A.initHooks();
1779 map = init.interceptorsByTag;
1780 tags = Object.getOwnPropertyNames(map);
1781 if (typeof window != "undefined") {
1782 window;
1783 fun = function() {
1784 };
1785 for (i = 0; i < tags.length; ++i) {
1786 tag = tags[i];
1787 proto = $.prototypeForTagFunction.call$1(tag);
1788 if (proto != null) {
1789 record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
1790 if (record != null) {
1791 Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
1792 fun.prototype = proto;
1793 }
1794 }
1795 }
1796 }
1797 for (i = 0; i < tags.length; ++i) {
1798 tag = tags[i];
1799 if (/^[A-Za-z_]/.test(tag)) {
1800 interceptorClass = map[tag];
1801 map["!" + tag] = interceptorClass;
1802 map["~" + tag] = interceptorClass;
1803 map["-" + tag] = interceptorClass;
1804 map["+" + tag] = interceptorClass;
1805 map["*" + tag] = interceptorClass;
1806 }
1807 }
1808 },
1809 initHooks() {
1810 var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
1811 hooks = B.C_JS_CONST0();
1812 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)))))));
1813 if (typeof dartNativeDispatchHooksTransformer != "undefined") {
1814 transformers = dartNativeDispatchHooksTransformer;
1815 if (typeof transformers == "function")
1816 transformers = [transformers];
1817 if (transformers.constructor == Array)
1818 for (i = 0; i < transformers.length; ++i) {
1819 transformer = transformers[i];
1820 if (typeof transformer == "function")
1821 hooks = transformer(hooks) || hooks;
1822 }
1823 }
1824 getTag = hooks.getTag;
1825 getUnknownTag = hooks.getUnknownTag;
1826 prototypeForTag = hooks.prototypeForTag;
1827 $.getTagFunction = new A.initHooks_closure(getTag);
1828 $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
1829 $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
1830 },
1831 applyHooksTransformer(transformer, hooks) {
1832 return transformer(hooks) || hooks;
1833 },
1834 JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) {
1835 var m = multiLine ? "m" : "",
1836 i = caseSensitive ? "" : "i",
1837 u = unicode ? "u" : "",
1838 s = dotAll ? "s" : "",
1839 g = global ? "g" : "",
1840 regexp = function(source, modifiers) {
1841 try {
1842 return new RegExp(source, modifiers);
1843 } catch (e) {
1844 return e;
1845 }
1846 }(source, m + i + u + s + g);
1847 if (regexp instanceof RegExp)
1848 return regexp;
1849 throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
1850 },
1851 stringContainsUnchecked(receiver, other, startIndex) {
1852 var t1;
1853 if (typeof other == "string")
1854 return receiver.indexOf(other, startIndex) >= 0;
1855 else if (other instanceof A.JSSyntaxRegExp) {
1856 t1 = B.JSString_methods.substring$1(receiver, startIndex);
1857 return other._nativeRegExp.test(t1);
1858 } else {
1859 t1 = J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex));
1860 return !t1.get$isEmpty(t1);
1861 }
1862 },
1863 escapeReplacement(replacement) {
1864 if (replacement.indexOf("$", 0) >= 0)
1865 return replacement.replace(/\$/g, "$$$$");
1866 return replacement;
1867 },
1868 stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
1869 var match = regexp._execGlobal$2(receiver, startIndex);
1870 if (match == null)
1871 return receiver;
1872 return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement);
1873 },
1874 quoteStringForRegExp(string) {
1875 if (/[[\]{}()*+?.\\^$|]/.test(string))
1876 return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
1877 return string;
1878 },
1879 stringReplaceAllUnchecked(receiver, pattern, replacement) {
1880 var nativeRegexp;
1881 if (typeof pattern == "string")
1882 return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
1883 if (pattern instanceof A.JSSyntaxRegExp) {
1884 nativeRegexp = pattern.get$_nativeGlobalVersion();
1885 nativeRegexp.lastIndex = 0;
1886 return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
1887 }
1888 throw A.wrapException("String.replaceAll(Pattern) UNIMPLEMENTED");
1889 },
1890 stringReplaceAllUncheckedString(receiver, pattern, replacement) {
1891 var $length, t1, i, index;
1892 if (pattern === "") {
1893 if (receiver === "")
1894 return replacement;
1895 $length = receiver.length;
1896 t1 = "" + replacement;
1897 for (i = 0; i < $length; ++i)
1898 t1 = t1 + receiver[i] + replacement;
1899 return t1.charCodeAt(0) == 0 ? t1 : t1;
1900 }
1901 index = receiver.indexOf(pattern, 0);
1902 if (index < 0)
1903 return receiver;
1904 if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
1905 return receiver.split(pattern).join(replacement);
1906 return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
1907 },
1908 stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
1909 var index, t1, matches, match;
1910 if (typeof pattern == "string") {
1911 index = receiver.indexOf(pattern, startIndex);
1912 if (index < 0)
1913 return receiver;
1914 return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
1915 }
1916 if (pattern instanceof A.JSSyntaxRegExp)
1917 return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
1918 t1 = J.allMatches$2$s(pattern, receiver, startIndex);
1919 matches = t1.get$iterator(t1);
1920 if (!matches.moveNext$0())
1921 return receiver;
1922 match = matches.get$current(matches);
1923 return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
1924 },
1925 stringReplaceRangeUnchecked(receiver, start, end, replacement) {
1926 var prefix = receiver.substring(0, start),
1927 suffix = receiver.substring(end);
1928 return prefix + replacement + suffix;
1929 },
1930 ConstantMapView: function ConstantMapView(t0, t1) {
1931 this._map = t0;
1932 this.$ti = t1;
1933 },
1934 ConstantMap: function ConstantMap() {
1935 },
1936 ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) {
1937 var _ = this;
1938 _.__js_helper$_length = t0;
1939 _._jsObject = t1;
1940 _.__js_helper$_keys = t2;
1941 _.$ti = t3;
1942 },
1943 ConstantStringMap_values_closure: function ConstantStringMap_values_closure(t0) {
1944 this.$this = t0;
1945 },
1946 _ConstantMapKeyIterable: function _ConstantMapKeyIterable(t0, t1) {
1947 this.__js_helper$_map = t0;
1948 this.$ti = t1;
1949 },
1950 Instantiation: function Instantiation() {
1951 },
1952 Instantiation1: function Instantiation1(t0, t1) {
1953 this._genericClosure = t0;
1954 this.$ti = t1;
1955 },
1956 JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
1957 var _ = this;
1958 _.__js_helper$_memberName = t0;
1959 _.__js_helper$_kind = t1;
1960 _._arguments = t2;
1961 _._namedArgumentNames = t3;
1962 _._typeArgumentCount = t4;
1963 },
1964 Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
1965 this._box_0 = t0;
1966 this.namedArgumentList = t1;
1967 this.$arguments = t2;
1968 },
1969 TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
1970 var _ = this;
1971 _._pattern = t0;
1972 _._arguments = t1;
1973 _._argumentsExpr = t2;
1974 _._expr = t3;
1975 _._method = t4;
1976 _._receiver = t5;
1977 },
1978 NullError: function NullError(t0, t1) {
1979 this.__js_helper$_message = t0;
1980 this._method = t1;
1981 },
1982 JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
1983 this.__js_helper$_message = t0;
1984 this._method = t1;
1985 this._receiver = t2;
1986 },
1987 UnknownJsTypeError: function UnknownJsTypeError(t0) {
1988 this.__js_helper$_message = t0;
1989 },
1990 NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
1991 this._irritant = t0;
1992 },
1993 ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
1994 this.dartException = t0;
1995 this.stackTrace = t1;
1996 },
1997 _StackTrace: function _StackTrace(t0) {
1998 this._exception = t0;
1999 this._trace = null;
2000 },
2001 Closure: function Closure() {
2002 },
2003 Closure0Args: function Closure0Args() {
2004 },
2005 Closure2Args: function Closure2Args() {
2006 },
2007 TearOffClosure: function TearOffClosure() {
2008 },
2009 StaticClosure: function StaticClosure() {
2010 },
2011 BoundClosure: function BoundClosure(t0, t1) {
2012 this._receiver = t0;
2013 this._interceptor = t1;
2014 },
2015 RuntimeError: function RuntimeError(t0) {
2016 this.message = t0;
2017 },
2018 _Required: function _Required() {
2019 },
2020 JsLinkedHashMap: function JsLinkedHashMap(t0) {
2021 var _ = this;
2022 _.__js_helper$_length = 0;
2023 _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
2024 _._modifications = 0;
2025 _.$ti = t0;
2026 },
2027 JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) {
2028 this.$this = t0;
2029 },
2030 JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
2031 this.$this = t0;
2032 },
2033 LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
2034 var _ = this;
2035 _.hashMapCellKey = t0;
2036 _.hashMapCellValue = t1;
2037 _._previous = _._next = null;
2038 },
2039 LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) {
2040 this.__js_helper$_map = t0;
2041 this.$ti = t1;
2042 },
2043 LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1) {
2044 var _ = this;
2045 _.__js_helper$_map = t0;
2046 _._modifications = t1;
2047 _.__js_helper$_current = _._cell = null;
2048 },
2049 initHooks_closure: function initHooks_closure(t0) {
2050 this.getTag = t0;
2051 },
2052 initHooks_closure0: function initHooks_closure0(t0) {
2053 this.getUnknownTag = t0;
2054 },
2055 initHooks_closure1: function initHooks_closure1(t0) {
2056 this.prototypeForTag = t0;
2057 },
2058 JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
2059 var _ = this;
2060 _.pattern = t0;
2061 _._nativeRegExp = t1;
2062 _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
2063 },
2064 _MatchImplementation: function _MatchImplementation(t0) {
2065 this._match = t0;
2066 },
2067 _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
2068 this._re = t0;
2069 this.__js_helper$_string = t1;
2070 this.__js_helper$_start = t2;
2071 },
2072 _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
2073 var _ = this;
2074 _._regExp = t0;
2075 _.__js_helper$_string = t1;
2076 _._nextIndex = t2;
2077 _.__js_helper$_current = null;
2078 },
2079 StringMatch: function StringMatch(t0, t1) {
2080 this.start = t0;
2081 this.pattern = t1;
2082 },
2083 _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
2084 this._input = t0;
2085 this._pattern = t1;
2086 this.__js_helper$_index = t2;
2087 },
2088 _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
2089 var _ = this;
2090 _._input = t0;
2091 _._pattern = t1;
2092 _.__js_helper$_index = t2;
2093 _.__js_helper$_current = null;
2094 },
2095 throwLateFieldADI(fieldName) {
2096 return A.throwExpression(A.LateError$fieldADI(fieldName));
2097 },
2098 _Cell$() {
2099 var t1 = new A._Cell("");
2100 return t1._value = t1;
2101 },
2102 _Cell$named(_name) {
2103 var t1 = new A._Cell(_name);
2104 return t1._value = t1;
2105 },
2106 _lateReadCheck(value, $name) {
2107 if (value === $)
2108 throw A.wrapException(new A.LateError("Field '" + $name + "' has not been initialized."));
2109 return value;
2110 },
2111 _lateWriteOnceCheck(value, $name) {
2112 if (value !== $)
2113 throw A.wrapException(new A.LateError("Field '" + $name + "' has already been initialized."));
2114 },
2115 _lateInitializeOnceCheck(value, $name) {
2116 if (value !== $)
2117 throw A.wrapException(A.LateError$fieldADI($name));
2118 },
2119 _Cell: function _Cell(t0) {
2120 this.__late_helper$_name = t0;
2121 this._value = null;
2122 },
2123 _ensureNativeList(list) {
2124 return list;
2125 },
2126 NativeInt8List__create1(arg) {
2127 return new Int8Array(arg);
2128 },
2129 _checkValidIndex(index, list, $length) {
2130 if (index >>> 0 !== index || index >= $length)
2131 throw A.wrapException(A.diagnoseIndexError(list, index));
2132 },
2133 _checkValidRange(start, end, $length) {
2134 var t1;
2135 if (!(start >>> 0 !== start))
2136 if (end == null)
2137 t1 = start > $length;
2138 else
2139 t1 = end >>> 0 !== end || start > end || end > $length;
2140 else
2141 t1 = true;
2142 if (t1)
2143 throw A.wrapException(A.diagnoseRangeError(start, end, $length));
2144 if (end == null)
2145 return $length;
2146 return end;
2147 },
2148 NativeTypedData: function NativeTypedData() {
2149 },
2150 NativeTypedArray: function NativeTypedArray() {
2151 },
2152 NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
2153 },
2154 NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
2155 },
2156 NativeFloat32List: function NativeFloat32List() {
2157 },
2158 NativeFloat64List: function NativeFloat64List() {
2159 },
2160 NativeInt16List: function NativeInt16List() {
2161 },
2162 NativeInt32List: function NativeInt32List() {
2163 },
2164 NativeInt8List: function NativeInt8List() {
2165 },
2166 NativeUint16List: function NativeUint16List() {
2167 },
2168 NativeUint32List: function NativeUint32List() {
2169 },
2170 NativeUint8ClampedList: function NativeUint8ClampedList() {
2171 },
2172 NativeUint8List: function NativeUint8List() {
2173 },
2174 _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
2175 },
2176 _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
2177 },
2178 _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
2179 },
2180 _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
2181 },
2182 Rti__getQuestionFromStar(universe, rti) {
2183 var question = rti._precomputed1;
2184 return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question;
2185 },
2186 Rti__getFutureFromFutureOr(universe, rti) {
2187 var future = rti._precomputed1;
2188 return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
2189 },
2190 Rti__isUnionOfFunctionType(rti) {
2191 var kind = rti._kind;
2192 if (kind === 6 || kind === 7 || kind === 8)
2193 return A.Rti__isUnionOfFunctionType(rti._primary);
2194 return kind === 11 || kind === 12;
2195 },
2196 Rti__getCanonicalRecipe(rti) {
2197 return rti._canonicalRecipe;
2198 },
2199 findType(recipe) {
2200 return A._Universe_eval(init.typeUniverse, recipe, false);
2201 },
2202 instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
2203 var t1, cache, key, probe, rti;
2204 if (genericFunctionRti == null)
2205 return null;
2206 t1 = instantiationRti._rest;
2207 cache = genericFunctionRti._bindCache;
2208 if (cache == null)
2209 cache = genericFunctionRti._bindCache = new Map();
2210 key = instantiationRti._canonicalRecipe;
2211 probe = cache.get(key);
2212 if (probe != null)
2213 return probe;
2214 rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
2215 cache.set(key, rti);
2216 return rti;
2217 },
2218 _substitute(universe, rti, typeArguments, depth) {
2219 var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
2220 kind = rti._kind;
2221 switch (kind) {
2222 case 5:
2223 case 1:
2224 case 2:
2225 case 3:
2226 case 4:
2227 return rti;
2228 case 6:
2229 baseType = rti._primary;
2230 substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
2231 if (substitutedBaseType === baseType)
2232 return rti;
2233 return A._Universe__lookupStarRti(universe, substitutedBaseType, true);
2234 case 7:
2235 baseType = rti._primary;
2236 substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
2237 if (substitutedBaseType === baseType)
2238 return rti;
2239 return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
2240 case 8:
2241 baseType = rti._primary;
2242 substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
2243 if (substitutedBaseType === baseType)
2244 return rti;
2245 return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
2246 case 9:
2247 interfaceTypeArguments = rti._rest;
2248 substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
2249 if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
2250 return rti;
2251 return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
2252 case 10:
2253 base = rti._primary;
2254 substitutedBase = A._substitute(universe, base, typeArguments, depth);
2255 $arguments = rti._rest;
2256 substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
2257 if (substitutedBase === base && substitutedArguments === $arguments)
2258 return rti;
2259 return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
2260 case 11:
2261 returnType = rti._primary;
2262 substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
2263 functionParameters = rti._rest;
2264 substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
2265 if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
2266 return rti;
2267 return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
2268 case 12:
2269 bounds = rti._rest;
2270 depth += bounds.length;
2271 substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
2272 base = rti._primary;
2273 substitutedBase = A._substitute(universe, base, typeArguments, depth);
2274 if (substitutedBounds === bounds && substitutedBase === base)
2275 return rti;
2276 return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
2277 case 13:
2278 index = rti._primary;
2279 if (index < depth)
2280 return rti;
2281 argument = typeArguments[index - depth];
2282 if (argument == null)
2283 return rti;
2284 return argument;
2285 default:
2286 throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
2287 }
2288 },
2289 _substituteArray(universe, rtiArray, typeArguments, depth) {
2290 var changed, i, rti, substitutedRti,
2291 $length = rtiArray.length,
2292 result = A._Utils_newArrayOrEmpty($length);
2293 for (changed = false, i = 0; i < $length; ++i) {
2294 rti = rtiArray[i];
2295 substitutedRti = A._substitute(universe, rti, typeArguments, depth);
2296 if (substitutedRti !== rti)
2297 changed = true;
2298 result[i] = substitutedRti;
2299 }
2300 return changed ? result : rtiArray;
2301 },
2302 _substituteNamed(universe, namedArray, typeArguments, depth) {
2303 var changed, i, t1, t2, rti, substitutedRti,
2304 $length = namedArray.length,
2305 result = A._Utils_newArrayOrEmpty($length);
2306 for (changed = false, i = 0; i < $length; i += 3) {
2307 t1 = namedArray[i];
2308 t2 = namedArray[i + 1];
2309 rti = namedArray[i + 2];
2310 substitutedRti = A._substitute(universe, rti, typeArguments, depth);
2311 if (substitutedRti !== rti)
2312 changed = true;
2313 result.splice(i, 3, t1, t2, substitutedRti);
2314 }
2315 return changed ? result : namedArray;
2316 },
2317 _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
2318 var result,
2319 requiredPositional = functionParameters._requiredPositional,
2320 substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
2321 optionalPositional = functionParameters._optionalPositional,
2322 substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
2323 named = functionParameters._named,
2324 substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
2325 if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
2326 return functionParameters;
2327 result = new A._FunctionParameters();
2328 result._requiredPositional = substitutedRequiredPositional;
2329 result._optionalPositional = substitutedOptionalPositional;
2330 result._named = substitutedNamed;
2331 return result;
2332 },
2333 _setArrayType(target, rti) {
2334 target[init.arrayRti] = rti;
2335 return target;
2336 },
2337 closureFunctionType(closure) {
2338 var signature = closure.$signature;
2339 if (signature != null) {
2340 if (typeof signature == "number")
2341 return A.getTypeFromTypesTable(signature);
2342 return closure.$signature();
2343 }
2344 return null;
2345 },
2346 instanceOrFunctionType(object, testRti) {
2347 var rti;
2348 if (A.Rti__isUnionOfFunctionType(testRti))
2349 if (object instanceof A.Closure) {
2350 rti = A.closureFunctionType(object);
2351 if (rti != null)
2352 return rti;
2353 }
2354 return A.instanceType(object);
2355 },
2356 instanceType(object) {
2357 var rti;
2358 if (object instanceof A.Object) {
2359 rti = object.$ti;
2360 return rti != null ? rti : A._instanceTypeFromConstructor(object);
2361 }
2362 if (Array.isArray(object))
2363 return A._arrayInstanceType(object);
2364 return A._instanceTypeFromConstructor(J.getInterceptor$(object));
2365 },
2366 _arrayInstanceType(object) {
2367 var rti = object[init.arrayRti],
2368 defaultRti = type$.JSArray_dynamic;
2369 if (rti == null)
2370 return defaultRti;
2371 if (rti.constructor !== defaultRti.constructor)
2372 return defaultRti;
2373 return rti;
2374 },
2375 _instanceType(object) {
2376 var rti = object.$ti;
2377 return rti != null ? rti : A._instanceTypeFromConstructor(object);
2378 },
2379 _instanceTypeFromConstructor(instance) {
2380 var $constructor = instance.constructor,
2381 probe = $constructor.$ccache;
2382 if (probe != null)
2383 return probe;
2384 return A._instanceTypeFromConstructorMiss(instance, $constructor);
2385 },
2386 _instanceTypeFromConstructorMiss(instance, $constructor) {
2387 var effectiveConstructor = instance instanceof A.Closure ? instance.__proto__.__proto__.constructor : $constructor,
2388 rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
2389 $constructor.$ccache = rti;
2390 return rti;
2391 },
2392 getTypeFromTypesTable(index) {
2393 var rti,
2394 table = init.types,
2395 type = table[index];
2396 if (typeof type == "string") {
2397 rti = A._Universe_eval(init.typeUniverse, type, false);
2398 table[index] = rti;
2399 return rti;
2400 }
2401 return type;
2402 },
2403 getRuntimeType(object) {
2404 var rti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
2405 return A.createRuntimeType(rti == null ? A.instanceType(object) : rti);
2406 },
2407 createRuntimeType(rti) {
2408 var recipe, starErasedRecipe, starErasedRti,
2409 type = rti._cachedRuntimeType;
2410 if (type != null)
2411 return type;
2412 recipe = rti._canonicalRecipe;
2413 starErasedRecipe = recipe.replace(/\*/g, "");
2414 if (starErasedRecipe === recipe)
2415 return rti._cachedRuntimeType = new A._Type(rti);
2416 starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true);
2417 type = starErasedRti._cachedRuntimeType;
2418 return rti._cachedRuntimeType = type == null ? starErasedRti._cachedRuntimeType = new A._Type(starErasedRti) : type;
2419 },
2420 typeLiteral(recipe) {
2421 return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
2422 },
2423 _installSpecializedIsTest(object) {
2424 var t1, unstarred, isFn, $name, testRti = this;
2425 if (testRti === type$.Object)
2426 return A._finishIsFn(testRti, object, A._isObject);
2427 if (!A.isStrongTopType(testRti))
2428 if (!(testRti === type$.legacy_Object))
2429 t1 = false;
2430 else
2431 t1 = true;
2432 else
2433 t1 = true;
2434 if (t1)
2435 return A._finishIsFn(testRti, object, A._isTop);
2436 t1 = testRti._kind;
2437 unstarred = t1 === 6 ? testRti._primary : testRti;
2438 if (unstarred === type$.int)
2439 isFn = A._isInt;
2440 else if (unstarred === type$.double || unstarred === type$.num)
2441 isFn = A._isNum;
2442 else if (unstarred === type$.String)
2443 isFn = A._isString;
2444 else
2445 isFn = unstarred === type$.bool ? A._isBool : null;
2446 if (isFn != null)
2447 return A._finishIsFn(testRti, object, isFn);
2448 if (unstarred._kind === 9) {
2449 $name = unstarred._primary;
2450 if (unstarred._rest.every(A.isTopType)) {
2451 testRti._specializedTestResource = "$is" + $name;
2452 if ($name === "List")
2453 return A._finishIsFn(testRti, object, A._isListTestViaProperty);
2454 return A._finishIsFn(testRti, object, A._isTestViaProperty);
2455 }
2456 } else if (t1 === 7)
2457 return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
2458 return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
2459 },
2460 _finishIsFn(testRti, object, isFn) {
2461 testRti._is = isFn;
2462 return testRti._is(object);
2463 },
2464 _installSpecializedAsCheck(object) {
2465 var t1, testRti = this,
2466 asFn = A._generalAsCheckImplementation;
2467 if (!A.isStrongTopType(testRti))
2468 if (!(testRti === type$.legacy_Object))
2469 t1 = false;
2470 else
2471 t1 = true;
2472 else
2473 t1 = true;
2474 if (t1)
2475 asFn = A._asTop;
2476 else if (testRti === type$.Object)
2477 asFn = A._asObject;
2478 else {
2479 t1 = A.isNullable(testRti);
2480 if (t1)
2481 asFn = A._generalNullableAsCheckImplementation;
2482 }
2483 testRti._as = asFn;
2484 return testRti._as(object);
2485 },
2486 _nullIs(testRti) {
2487 var t1,
2488 kind = testRti._kind;
2489 if (!A.isStrongTopType(testRti))
2490 if (!(testRti === type$.legacy_Object))
2491 if (!(testRti === type$.legacy_Never))
2492 if (kind !== 7)
2493 t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull;
2494 else
2495 t1 = true;
2496 else
2497 t1 = true;
2498 else
2499 t1 = true;
2500 else
2501 t1 = true;
2502 return t1;
2503 },
2504 _generalIsTestImplementation(object) {
2505 var testRti = this;
2506 if (object == null)
2507 return A._nullIs(testRti);
2508 return A._isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), null, testRti, null);
2509 },
2510 _generalNullableIsTestImplementation(object) {
2511 if (object == null)
2512 return true;
2513 return this._primary._is(object);
2514 },
2515 _isTestViaProperty(object) {
2516 var tag, testRti = this;
2517 if (object == null)
2518 return A._nullIs(testRti);
2519 tag = testRti._specializedTestResource;
2520 if (object instanceof A.Object)
2521 return !!object[tag];
2522 return !!J.getInterceptor$(object)[tag];
2523 },
2524 _isListTestViaProperty(object) {
2525 var tag, testRti = this;
2526 if (object == null)
2527 return A._nullIs(testRti);
2528 if (typeof object != "object")
2529 return false;
2530 if (Array.isArray(object))
2531 return true;
2532 tag = testRti._specializedTestResource;
2533 if (object instanceof A.Object)
2534 return !!object[tag];
2535 return !!J.getInterceptor$(object)[tag];
2536 },
2537 _generalAsCheckImplementation(object) {
2538 var t1, testRti = this;
2539 if (object == null) {
2540 t1 = A.isNullable(testRti);
2541 if (t1)
2542 return object;
2543 } else if (testRti._is(object))
2544 return object;
2545 A._failedAsCheck(object, testRti);
2546 },
2547 _generalNullableAsCheckImplementation(object) {
2548 var testRti = this;
2549 if (object == null)
2550 return object;
2551 else if (testRti._is(object))
2552 return object;
2553 A._failedAsCheck(object, testRti);
2554 },
2555 _failedAsCheck(object, testRti) {
2556 throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A.instanceOrFunctionType(object, testRti), A._rtiToString(testRti, null))));
2557 },
2558 _Error_compose(object, objectRti, checkedTypeDescription) {
2559 var objectDescription = A.Error_safeToString(object),
2560 objectTypeDescription = A._rtiToString(objectRti == null ? A.instanceType(object) : objectRti, null);
2561 return objectDescription + ": type '" + objectTypeDescription + "' is not a subtype of type '" + checkedTypeDescription + "'";
2562 },
2563 _TypeError$fromMessage(message) {
2564 return new A._TypeError("TypeError: " + message);
2565 },
2566 _TypeError__TypeError$forType(object, type) {
2567 return new A._TypeError("TypeError: " + A._Error_compose(object, null, type));
2568 },
2569 _isObject(object) {
2570 return object != null;
2571 },
2572 _asObject(object) {
2573 if (object != null)
2574 return object;
2575 throw A.wrapException(A._TypeError__TypeError$forType(object, "Object"));
2576 },
2577 _isTop(object) {
2578 return true;
2579 },
2580 _asTop(object) {
2581 return object;
2582 },
2583 _isBool(object) {
2584 return true === object || false === object;
2585 },
2586 _asBool(object) {
2587 if (true === object)
2588 return true;
2589 if (false === object)
2590 return false;
2591 throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
2592 },
2593 _asBoolS(object) {
2594 if (true === object)
2595 return true;
2596 if (false === object)
2597 return false;
2598 if (object == null)
2599 return object;
2600 throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
2601 },
2602 _asBoolQ(object) {
2603 if (true === object)
2604 return true;
2605 if (false === object)
2606 return false;
2607 if (object == null)
2608 return object;
2609 throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?"));
2610 },
2611 _asDouble(object) {
2612 if (typeof object == "number")
2613 return object;
2614 throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
2615 },
2616 _asDoubleS(object) {
2617 if (typeof object == "number")
2618 return object;
2619 if (object == null)
2620 return object;
2621 throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
2622 },
2623 _asDoubleQ(object) {
2624 if (typeof object == "number")
2625 return object;
2626 if (object == null)
2627 return object;
2628 throw A.wrapException(A._TypeError__TypeError$forType(object, "double?"));
2629 },
2630 _isInt(object) {
2631 return typeof object == "number" && Math.floor(object) === object;
2632 },
2633 _asInt(object) {
2634 if (typeof object == "number" && Math.floor(object) === object)
2635 return object;
2636 throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
2637 },
2638 _asIntS(object) {
2639 if (typeof object == "number" && Math.floor(object) === object)
2640 return object;
2641 if (object == null)
2642 return object;
2643 throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
2644 },
2645 _asIntQ(object) {
2646 if (typeof object == "number" && Math.floor(object) === object)
2647 return object;
2648 if (object == null)
2649 return object;
2650 throw A.wrapException(A._TypeError__TypeError$forType(object, "int?"));
2651 },
2652 _isNum(object) {
2653 return typeof object == "number";
2654 },
2655 _asNum(object) {
2656 if (typeof object == "number")
2657 return object;
2658 throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
2659 },
2660 _asNumS(object) {
2661 if (typeof object == "number")
2662 return object;
2663 if (object == null)
2664 return object;
2665 throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
2666 },
2667 _asNumQ(object) {
2668 if (typeof object == "number")
2669 return object;
2670 if (object == null)
2671 return object;
2672 throw A.wrapException(A._TypeError__TypeError$forType(object, "num?"));
2673 },
2674 _isString(object) {
2675 return typeof object == "string";
2676 },
2677 _asString(object) {
2678 if (typeof object == "string")
2679 return object;
2680 throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
2681 },
2682 _asStringS(object) {
2683 if (typeof object == "string")
2684 return object;
2685 if (object == null)
2686 return object;
2687 throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
2688 },
2689 _asStringQ(object) {
2690 if (typeof object == "string")
2691 return object;
2692 if (object == null)
2693 return object;
2694 throw A.wrapException(A._TypeError__TypeError$forType(object, "String?"));
2695 },
2696 _rtiArrayToString(array, genericContext) {
2697 var s, sep, i;
2698 for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
2699 s += sep + A._rtiToString(array[i], genericContext);
2700 return s;
2701 },
2702 _functionRtiToString(functionType, genericContext, bounds) {
2703 var boundsLength, outerContextLength, offset, i, t1, t2, typeParametersText, typeSep, boundRti, kind, t3, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ";
2704 if (bounds != null) {
2705 boundsLength = bounds.length;
2706 if (genericContext == null) {
2707 genericContext = A._setArrayType([], type$.JSArray_String);
2708 outerContextLength = null;
2709 } else
2710 outerContextLength = genericContext.length;
2711 offset = genericContext.length;
2712 for (i = boundsLength; i > 0; --i)
2713 genericContext.push("T" + (offset + i));
2714 for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
2715 typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[genericContext.length - 1 - i]);
2716 boundRti = bounds[i];
2717 kind = boundRti._kind;
2718 if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
2719 if (!(boundRti === t2))
2720 t3 = false;
2721 else
2722 t3 = true;
2723 else
2724 t3 = true;
2725 if (!t3)
2726 typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
2727 }
2728 typeParametersText += ">";
2729 } else {
2730 typeParametersText = "";
2731 outerContextLength = null;
2732 }
2733 t1 = functionType._primary;
2734 parameters = functionType._rest;
2735 requiredPositional = parameters._requiredPositional;
2736 requiredPositionalLength = requiredPositional.length;
2737 optionalPositional = parameters._optionalPositional;
2738 optionalPositionalLength = optionalPositional.length;
2739 named = parameters._named;
2740 namedLength = named.length;
2741 returnTypeText = A._rtiToString(t1, genericContext);
2742 for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
2743 argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
2744 if (optionalPositionalLength > 0) {
2745 argumentsText += sep + "[";
2746 for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
2747 argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
2748 argumentsText += "]";
2749 }
2750 if (namedLength > 0) {
2751 argumentsText += sep + "{";
2752 for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
2753 argumentsText += sep;
2754 if (named[i + 1])
2755 argumentsText += "required ";
2756 argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
2757 }
2758 argumentsText += "}";
2759 }
2760 if (outerContextLength != null) {
2761 genericContext.toString;
2762 genericContext.length = outerContextLength;
2763 }
2764 return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
2765 },
2766 _rtiToString(rti, genericContext) {
2767 var s, questionArgument, argumentKind, $name, $arguments, t1,
2768 kind = rti._kind;
2769 if (kind === 5)
2770 return "erased";
2771 if (kind === 2)
2772 return "dynamic";
2773 if (kind === 3)
2774 return "void";
2775 if (kind === 1)
2776 return "Never";
2777 if (kind === 4)
2778 return "any";
2779 if (kind === 6) {
2780 s = A._rtiToString(rti._primary, genericContext);
2781 return s;
2782 }
2783 if (kind === 7) {
2784 questionArgument = rti._primary;
2785 s = A._rtiToString(questionArgument, genericContext);
2786 argumentKind = questionArgument._kind;
2787 return (argumentKind === 11 || argumentKind === 12 ? "(" + s + ")" : s) + "?";
2788 }
2789 if (kind === 8)
2790 return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
2791 if (kind === 9) {
2792 $name = A._unminifyOrTag(rti._primary);
2793 $arguments = rti._rest;
2794 return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
2795 }
2796 if (kind === 11)
2797 return A._functionRtiToString(rti, genericContext, null);
2798 if (kind === 12)
2799 return A._functionRtiToString(rti._primary, genericContext, rti._rest);
2800 if (kind === 13) {
2801 t1 = rti._primary;
2802 return genericContext[genericContext.length - 1 - t1];
2803 }
2804 return "?";
2805 },
2806 _unminifyOrTag(rawClassName) {
2807 var preserved = init.mangledGlobalNames[rawClassName];
2808 if (preserved != null)
2809 return preserved;
2810 return rawClassName;
2811 },
2812 _Universe_findRule(universe, targetType) {
2813 var rule = universe.tR[targetType];
2814 for (; typeof rule == "string";)
2815 rule = universe.tR[rule];
2816 return rule;
2817 },
2818 _Universe_findErasedType(universe, cls) {
2819 var $length, erased, $arguments, i, $interface,
2820 t1 = universe.eT,
2821 probe = t1[cls];
2822 if (probe == null)
2823 return A._Universe_eval(universe, cls, false);
2824 else if (typeof probe == "number") {
2825 $length = probe;
2826 erased = A._Universe__lookupTerminalRti(universe, 5, "#");
2827 $arguments = A._Utils_newArrayOrEmpty($length);
2828 for (i = 0; i < $length; ++i)
2829 $arguments[i] = erased;
2830 $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
2831 t1[cls] = $interface;
2832 return $interface;
2833 } else
2834 return probe;
2835 },
2836 _Universe_addRules(universe, rules) {
2837 return A._Utils_objectAssign(universe.tR, rules);
2838 },
2839 _Universe_addErasedTypes(universe, types) {
2840 return A._Utils_objectAssign(universe.eT, types);
2841 },
2842 _Universe_eval(universe, recipe, normalize) {
2843 var rti,
2844 t1 = universe.eC,
2845 probe = t1.get(recipe);
2846 if (probe != null)
2847 return probe;
2848 rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize));
2849 t1.set(recipe, rti);
2850 return rti;
2851 },
2852 _Universe_evalInEnvironment(universe, environment, recipe) {
2853 var probe, rti,
2854 cache = environment._evalCache;
2855 if (cache == null)
2856 cache = environment._evalCache = new Map();
2857 probe = cache.get(recipe);
2858 if (probe != null)
2859 return probe;
2860 rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
2861 cache.set(recipe, rti);
2862 return rti;
2863 },
2864 _Universe_bind(universe, environment, argumentsRti) {
2865 var argumentsRecipe, probe, rti,
2866 cache = environment._bindCache;
2867 if (cache == null)
2868 cache = environment._bindCache = new Map();
2869 argumentsRecipe = argumentsRti._canonicalRecipe;
2870 probe = cache.get(argumentsRecipe);
2871 if (probe != null)
2872 return probe;
2873 rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]);
2874 cache.set(argumentsRecipe, rti);
2875 return rti;
2876 },
2877 _Universe__installTypeTests(universe, rti) {
2878 rti._as = A._installSpecializedAsCheck;
2879 rti._is = A._installSpecializedIsTest;
2880 return rti;
2881 },
2882 _Universe__lookupTerminalRti(universe, kind, key) {
2883 var rti, t1,
2884 probe = universe.eC.get(key);
2885 if (probe != null)
2886 return probe;
2887 rti = new A.Rti(null, null);
2888 rti._kind = kind;
2889 rti._canonicalRecipe = key;
2890 t1 = A._Universe__installTypeTests(universe, rti);
2891 universe.eC.set(key, t1);
2892 return t1;
2893 },
2894 _Universe__lookupStarRti(universe, baseType, normalize) {
2895 var t1,
2896 key = baseType._canonicalRecipe + "*",
2897 probe = universe.eC.get(key);
2898 if (probe != null)
2899 return probe;
2900 t1 = A._Universe__createStarRti(universe, baseType, key, normalize);
2901 universe.eC.set(key, t1);
2902 return t1;
2903 },
2904 _Universe__createStarRti(universe, baseType, key, normalize) {
2905 var baseKind, t1, rti;
2906 if (normalize) {
2907 baseKind = baseType._kind;
2908 if (!A.isStrongTopType(baseType))
2909 t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6;
2910 else
2911 t1 = true;
2912 if (t1)
2913 return baseType;
2914 }
2915 rti = new A.Rti(null, null);
2916 rti._kind = 6;
2917 rti._primary = baseType;
2918 rti._canonicalRecipe = key;
2919 return A._Universe__installTypeTests(universe, rti);
2920 },
2921 _Universe__lookupQuestionRti(universe, baseType, normalize) {
2922 var t1,
2923 key = baseType._canonicalRecipe + "?",
2924 probe = universe.eC.get(key);
2925 if (probe != null)
2926 return probe;
2927 t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
2928 universe.eC.set(key, t1);
2929 return t1;
2930 },
2931 _Universe__createQuestionRti(universe, baseType, key, normalize) {
2932 var baseKind, t1, starArgument, rti;
2933 if (normalize) {
2934 baseKind = baseType._kind;
2935 if (!A.isStrongTopType(baseType))
2936 if (!(baseType === type$.Null || baseType === type$.JSNull))
2937 if (baseKind !== 7)
2938 t1 = baseKind === 8 && A.isNullable(baseType._primary);
2939 else
2940 t1 = true;
2941 else
2942 t1 = true;
2943 else
2944 t1 = true;
2945 if (t1)
2946 return baseType;
2947 else if (baseKind === 1 || baseType === type$.legacy_Never)
2948 return type$.Null;
2949 else if (baseKind === 6) {
2950 starArgument = baseType._primary;
2951 if (starArgument._kind === 8 && A.isNullable(starArgument._primary))
2952 return starArgument;
2953 else
2954 return A.Rti__getQuestionFromStar(universe, baseType);
2955 }
2956 }
2957 rti = new A.Rti(null, null);
2958 rti._kind = 7;
2959 rti._primary = baseType;
2960 rti._canonicalRecipe = key;
2961 return A._Universe__installTypeTests(universe, rti);
2962 },
2963 _Universe__lookupFutureOrRti(universe, baseType, normalize) {
2964 var t1,
2965 key = baseType._canonicalRecipe + "/",
2966 probe = universe.eC.get(key);
2967 if (probe != null)
2968 return probe;
2969 t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
2970 universe.eC.set(key, t1);
2971 return t1;
2972 },
2973 _Universe__createFutureOrRti(universe, baseType, key, normalize) {
2974 var t1, t2, rti;
2975 if (normalize) {
2976 t1 = baseType._kind;
2977 if (!A.isStrongTopType(baseType))
2978 if (!(baseType === type$.legacy_Object))
2979 t2 = false;
2980 else
2981 t2 = true;
2982 else
2983 t2 = true;
2984 if (t2 || baseType === type$.Object)
2985 return baseType;
2986 else if (t1 === 1)
2987 return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
2988 else if (baseType === type$.Null || baseType === type$.JSNull)
2989 return type$.nullable_Future_Null;
2990 }
2991 rti = new A.Rti(null, null);
2992 rti._kind = 8;
2993 rti._primary = baseType;
2994 rti._canonicalRecipe = key;
2995 return A._Universe__installTypeTests(universe, rti);
2996 },
2997 _Universe__lookupGenericFunctionParameterRti(universe, index) {
2998 var rti, t1,
2999 key = "" + index + "^",
3000 probe = universe.eC.get(key);
3001 if (probe != null)
3002 return probe;
3003 rti = new A.Rti(null, null);
3004 rti._kind = 13;
3005 rti._primary = index;
3006 rti._canonicalRecipe = key;
3007 t1 = A._Universe__installTypeTests(universe, rti);
3008 universe.eC.set(key, t1);
3009 return t1;
3010 },
3011 _Universe__canonicalRecipeJoin($arguments) {
3012 var s, sep, i,
3013 $length = $arguments.length;
3014 for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
3015 s += sep + $arguments[i]._canonicalRecipe;
3016 return s;
3017 },
3018 _Universe__canonicalRecipeJoinNamed($arguments) {
3019 var s, sep, i, t1, nameSep, s0,
3020 $length = $arguments.length;
3021 for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
3022 t1 = $arguments[i];
3023 nameSep = $arguments[i + 1] ? "!" : ":";
3024 s0 = $arguments[i + 2]._canonicalRecipe;
3025 s += sep + t1 + nameSep + s0;
3026 }
3027 return s;
3028 },
3029 _Universe__lookupInterfaceRti(universe, $name, $arguments) {
3030 var probe, rti, t1,
3031 s = $name;
3032 if ($arguments.length > 0)
3033 s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
3034 probe = universe.eC.get(s);
3035 if (probe != null)
3036 return probe;
3037 rti = new A.Rti(null, null);
3038 rti._kind = 9;
3039 rti._primary = $name;
3040 rti._rest = $arguments;
3041 if ($arguments.length > 0)
3042 rti._precomputed1 = $arguments[0];
3043 rti._canonicalRecipe = s;
3044 t1 = A._Universe__installTypeTests(universe, rti);
3045 universe.eC.set(s, t1);
3046 return t1;
3047 },
3048 _Universe__lookupBindingRti(universe, base, $arguments) {
3049 var newBase, newArguments, key, probe, rti, t1;
3050 if (base._kind === 10) {
3051 newBase = base._primary;
3052 newArguments = base._rest.concat($arguments);
3053 } else {
3054 newArguments = $arguments;
3055 newBase = base;
3056 }
3057 key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
3058 probe = universe.eC.get(key);
3059 if (probe != null)
3060 return probe;
3061 rti = new A.Rti(null, null);
3062 rti._kind = 10;
3063 rti._primary = newBase;
3064 rti._rest = newArguments;
3065 rti._canonicalRecipe = key;
3066 t1 = A._Universe__installTypeTests(universe, rti);
3067 universe.eC.set(key, t1);
3068 return t1;
3069 },
3070 _Universe__lookupFunctionRti(universe, returnType, parameters) {
3071 var sep, t1, key, probe, rti,
3072 s = returnType._canonicalRecipe,
3073 requiredPositional = parameters._requiredPositional,
3074 requiredPositionalLength = requiredPositional.length,
3075 optionalPositional = parameters._optionalPositional,
3076 optionalPositionalLength = optionalPositional.length,
3077 named = parameters._named,
3078 namedLength = named.length,
3079 recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
3080 if (optionalPositionalLength > 0) {
3081 sep = requiredPositionalLength > 0 ? "," : "";
3082 t1 = A._Universe__canonicalRecipeJoin(optionalPositional);
3083 recipe += sep + "[" + t1 + "]";
3084 }
3085 if (namedLength > 0) {
3086 sep = requiredPositionalLength > 0 ? "," : "";
3087 t1 = A._Universe__canonicalRecipeJoinNamed(named);
3088 recipe += sep + "{" + t1 + "}";
3089 }
3090 key = s + (recipe + ")");
3091 probe = universe.eC.get(key);
3092 if (probe != null)
3093 return probe;
3094 rti = new A.Rti(null, null);
3095 rti._kind = 11;
3096 rti._primary = returnType;
3097 rti._rest = parameters;
3098 rti._canonicalRecipe = key;
3099 t1 = A._Universe__installTypeTests(universe, rti);
3100 universe.eC.set(key, t1);
3101 return t1;
3102 },
3103 _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
3104 var t1,
3105 key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
3106 probe = universe.eC.get(key);
3107 if (probe != null)
3108 return probe;
3109 t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
3110 universe.eC.set(key, t1);
3111 return t1;
3112 },
3113 _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
3114 var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
3115 if (normalize) {
3116 $length = bounds.length;
3117 typeArguments = A._Utils_newArrayOrEmpty($length);
3118 for (count = 0, i = 0; i < $length; ++i) {
3119 bound = bounds[i];
3120 if (bound._kind === 1) {
3121 typeArguments[i] = bound;
3122 ++count;
3123 }
3124 }
3125 if (count > 0) {
3126 substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
3127 substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
3128 return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
3129 }
3130 }
3131 rti = new A.Rti(null, null);
3132 rti._kind = 12;
3133 rti._primary = baseFunctionType;
3134 rti._rest = bounds;
3135 rti._canonicalRecipe = key;
3136 return A._Universe__installTypeTests(universe, rti);
3137 },
3138 _Parser_create(universe, environment, recipe, normalize) {
3139 return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
3140 },
3141 _Parser_parse(parser) {
3142 var t2, i, ch, t3, array, head, base, parameters, optionalPositional, named, item,
3143 source = parser.r,
3144 t1 = parser.s;
3145 for (t2 = source.length, i = 0; i < t2;) {
3146 ch = source.charCodeAt(i);
3147 if (ch >= 48 && ch <= 57)
3148 i = A._Parser_handleDigit(i + 1, ch, source, t1);
3149 else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36)
3150 i = A._Parser_handleIdentifier(parser, i, source, t1, false);
3151 else if (ch === 46)
3152 i = A._Parser_handleIdentifier(parser, i, source, t1, true);
3153 else {
3154 ++i;
3155 switch (ch) {
3156 case 44:
3157 break;
3158 case 58:
3159 t1.push(false);
3160 break;
3161 case 33:
3162 t1.push(true);
3163 break;
3164 case 59:
3165 t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
3166 break;
3167 case 94:
3168 t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
3169 break;
3170 case 35:
3171 t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
3172 break;
3173 case 64:
3174 t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
3175 break;
3176 case 126:
3177 t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
3178 break;
3179 case 60:
3180 t1.push(parser.p);
3181 parser.p = t1.length;
3182 break;
3183 case 62:
3184 t3 = parser.u;
3185 array = t1.splice(parser.p);
3186 A._Parser_toTypes(parser.u, parser.e, array);
3187 parser.p = t1.pop();
3188 head = t1.pop();
3189 if (typeof head == "string")
3190 t1.push(A._Universe__lookupInterfaceRti(t3, head, array));
3191 else {
3192 base = A._Parser_toType(t3, parser.e, head);
3193 switch (base._kind) {
3194 case 11:
3195 t1.push(A._Universe__lookupGenericFunctionRti(t3, base, array, parser.n));
3196 break;
3197 default:
3198 t1.push(A._Universe__lookupBindingRti(t3, base, array));
3199 break;
3200 }
3201 }
3202 break;
3203 case 38:
3204 A._Parser_handleExtendedOperations(parser, t1);
3205 break;
3206 case 42:
3207 t3 = parser.u;
3208 t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
3209 break;
3210 case 63:
3211 t3 = parser.u;
3212 t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
3213 break;
3214 case 47:
3215 t3 = parser.u;
3216 t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
3217 break;
3218 case 40:
3219 t1.push(parser.p);
3220 parser.p = t1.length;
3221 break;
3222 case 41:
3223 t3 = parser.u;
3224 parameters = new A._FunctionParameters();
3225 optionalPositional = t3.sEA;
3226 named = t3.sEA;
3227 head = t1.pop();
3228 if (typeof head == "number")
3229 switch (head) {
3230 case -1:
3231 optionalPositional = t1.pop();
3232 break;
3233 case -2:
3234 named = t1.pop();
3235 break;
3236 default:
3237 t1.push(head);
3238 break;
3239 }
3240 else
3241 t1.push(head);
3242 array = t1.splice(parser.p);
3243 A._Parser_toTypes(parser.u, parser.e, array);
3244 parser.p = t1.pop();
3245 parameters._requiredPositional = array;
3246 parameters._optionalPositional = optionalPositional;
3247 parameters._named = named;
3248 t1.push(A._Universe__lookupFunctionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parameters));
3249 break;
3250 case 91:
3251 t1.push(parser.p);
3252 parser.p = t1.length;
3253 break;
3254 case 93:
3255 array = t1.splice(parser.p);
3256 A._Parser_toTypes(parser.u, parser.e, array);
3257 parser.p = t1.pop();
3258 t1.push(array);
3259 t1.push(-1);
3260 break;
3261 case 123:
3262 t1.push(parser.p);
3263 parser.p = t1.length;
3264 break;
3265 case 125:
3266 array = t1.splice(parser.p);
3267 A._Parser_toTypesNamed(parser.u, parser.e, array);
3268 parser.p = t1.pop();
3269 t1.push(array);
3270 t1.push(-2);
3271 break;
3272 default:
3273 throw "Bad character " + ch;
3274 }
3275 }
3276 }
3277 item = t1.pop();
3278 return A._Parser_toType(parser.u, parser.e, item);
3279 },
3280 _Parser_handleDigit(i, digit, source, stack) {
3281 var t1, ch,
3282 value = digit - 48;
3283 for (t1 = source.length; i < t1; ++i) {
3284 ch = source.charCodeAt(i);
3285 if (!(ch >= 48 && ch <= 57))
3286 break;
3287 value = value * 10 + (ch - 48);
3288 }
3289 stack.push(value);
3290 return i;
3291 },
3292 _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
3293 var t1, ch, t2, string, environment, recipe,
3294 i = start + 1;
3295 for (t1 = source.length; i < t1; ++i) {
3296 ch = source.charCodeAt(i);
3297 if (ch === 46) {
3298 if (hasPeriod)
3299 break;
3300 hasPeriod = true;
3301 } else {
3302 if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36))
3303 t2 = ch >= 48 && ch <= 57;
3304 else
3305 t2 = true;
3306 if (!t2)
3307 break;
3308 }
3309 }
3310 string = source.substring(start, i);
3311 if (hasPeriod) {
3312 t1 = parser.u;
3313 environment = parser.e;
3314 if (environment._kind === 10)
3315 environment = environment._primary;
3316 recipe = A._Universe_findRule(t1, environment._primary)[string];
3317 if (recipe == null)
3318 A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
3319 stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
3320 } else
3321 stack.push(string);
3322 return i;
3323 },
3324 _Parser_handleExtendedOperations(parser, stack) {
3325 var $top = stack.pop();
3326 if (0 === $top) {
3327 stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
3328 return;
3329 }
3330 if (1 === $top) {
3331 stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
3332 return;
3333 }
3334 throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
3335 },
3336 _Parser_toType(universe, environment, item) {
3337 if (typeof item == "string")
3338 return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
3339 else if (typeof item == "number")
3340 return A._Parser_indexToType(universe, environment, item);
3341 else
3342 return item;
3343 },
3344 _Parser_toTypes(universe, environment, items) {
3345 var i,
3346 $length = items.length;
3347 for (i = 0; i < $length; ++i)
3348 items[i] = A._Parser_toType(universe, environment, items[i]);
3349 },
3350 _Parser_toTypesNamed(universe, environment, items) {
3351 var i,
3352 $length = items.length;
3353 for (i = 2; i < $length; i += 3)
3354 items[i] = A._Parser_toType(universe, environment, items[i]);
3355 },
3356 _Parser_indexToType(universe, environment, index) {
3357 var typeArguments, len,
3358 kind = environment._kind;
3359 if (kind === 10) {
3360 if (index === 0)
3361 return environment._primary;
3362 typeArguments = environment._rest;
3363 len = typeArguments.length;
3364 if (index <= len)
3365 return typeArguments[index - 1];
3366 index -= len;
3367 environment = environment._primary;
3368 kind = environment._kind;
3369 } else if (index === 0)
3370 return environment;
3371 if (kind !== 9)
3372 throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
3373 typeArguments = environment._rest;
3374 if (index <= typeArguments.length)
3375 return typeArguments[index - 1];
3376 throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
3377 },
3378 _isSubtype(universe, s, sEnv, t, tEnv) {
3379 var t1, sKind, leftTypeVariable, tKind, sBounds, tBounds, sLength, i, sBound, tBound;
3380 if (s === t)
3381 return true;
3382 if (!A.isStrongTopType(t))
3383 if (!(t === type$.legacy_Object))
3384 t1 = false;
3385 else
3386 t1 = true;
3387 else
3388 t1 = true;
3389 if (t1)
3390 return true;
3391 sKind = s._kind;
3392 if (sKind === 4)
3393 return true;
3394 if (A.isStrongTopType(s))
3395 return false;
3396 if (s._kind !== 1)
3397 t1 = false;
3398 else
3399 t1 = true;
3400 if (t1)
3401 return true;
3402 leftTypeVariable = sKind === 13;
3403 if (leftTypeVariable)
3404 if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))
3405 return true;
3406 tKind = t._kind;
3407 t1 = s === type$.Null || s === type$.JSNull;
3408 if (t1) {
3409 if (tKind === 8)
3410 return A._isSubtype(universe, s, sEnv, t._primary, tEnv);
3411 return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6;
3412 }
3413 if (t === type$.Object) {
3414 if (sKind === 8)
3415 return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3416 if (sKind === 6)
3417 return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3418 return sKind !== 7;
3419 }
3420 if (sKind === 6)
3421 return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3422 if (tKind === 6) {
3423 t1 = A.Rti__getQuestionFromStar(universe, t);
3424 return A._isSubtype(universe, s, sEnv, t1, tEnv);
3425 }
3426 if (sKind === 8) {
3427 if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv))
3428 return false;
3429 return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);
3430 }
3431 if (sKind === 7) {
3432 t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv);
3433 return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv);
3434 }
3435 if (tKind === 8) {
3436 if (A._isSubtype(universe, s, sEnv, t._primary, tEnv))
3437 return true;
3438 return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv);
3439 }
3440 if (tKind === 7) {
3441 t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv);
3442 return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv);
3443 }
3444 if (leftTypeVariable)
3445 return false;
3446 t1 = sKind !== 11;
3447 if ((!t1 || sKind === 12) && t === type$.Function)
3448 return true;
3449 if (tKind === 12) {
3450 if (s === type$.JavaScriptFunction)
3451 return true;
3452 if (sKind !== 12)
3453 return false;
3454 sBounds = s._rest;
3455 tBounds = t._rest;
3456 sLength = sBounds.length;
3457 if (sLength !== tBounds.length)
3458 return false;
3459 sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
3460 tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
3461 for (i = 0; i < sLength; ++i) {
3462 sBound = sBounds[i];
3463 tBound = tBounds[i];
3464 if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv))
3465 return false;
3466 }
3467 return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);
3468 }
3469 if (tKind === 11) {
3470 if (s === type$.JavaScriptFunction)
3471 return true;
3472 if (t1)
3473 return false;
3474 return A._isFunctionSubtype(universe, s, sEnv, t, tEnv);
3475 }
3476 if (sKind === 9) {
3477 if (tKind !== 9)
3478 return false;
3479 return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv);
3480 }
3481 return false;
3482 },
3483 _isFunctionSubtype(universe, s, sEnv, t, tEnv) {
3484 var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
3485 if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))
3486 return false;
3487 sParameters = s._rest;
3488 tParameters = t._rest;
3489 sRequiredPositional = sParameters._requiredPositional;
3490 tRequiredPositional = tParameters._requiredPositional;
3491 sRequiredPositionalLength = sRequiredPositional.length;
3492 tRequiredPositionalLength = tRequiredPositional.length;
3493 if (sRequiredPositionalLength > tRequiredPositionalLength)
3494 return false;
3495 requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
3496 sOptionalPositional = sParameters._optionalPositional;
3497 tOptionalPositional = tParameters._optionalPositional;
3498 sOptionalPositionalLength = sOptionalPositional.length;
3499 tOptionalPositionalLength = tOptionalPositional.length;
3500 if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
3501 return false;
3502 for (i = 0; i < sRequiredPositionalLength; ++i) {
3503 t1 = sRequiredPositional[i];
3504 if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))
3505 return false;
3506 }
3507 for (i = 0; i < requiredPositionalDelta; ++i) {
3508 t1 = sOptionalPositional[i];
3509 if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))
3510 return false;
3511 }
3512 for (i = 0; i < tOptionalPositionalLength; ++i) {
3513 t1 = sOptionalPositional[requiredPositionalDelta + i];
3514 if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))
3515 return false;
3516 }
3517 sNamed = sParameters._named;
3518 tNamed = tParameters._named;
3519 sNamedLength = sNamed.length;
3520 tNamedLength = tNamed.length;
3521 for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
3522 tName = tNamed[tIndex];
3523 for (; true;) {
3524 if (sIndex >= sNamedLength)
3525 return false;
3526 sName = sNamed[sIndex];
3527 sIndex += 3;
3528 if (tName < sName)
3529 return false;
3530 sIsRequired = sNamed[sIndex - 2];
3531 if (sName < tName) {
3532 if (sIsRequired)
3533 return false;
3534 continue;
3535 }
3536 t1 = tNamed[tIndex + 1];
3537 if (sIsRequired && !t1)
3538 return false;
3539 t1 = sNamed[sIndex - 1];
3540 if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))
3541 return false;
3542 break;
3543 }
3544 }
3545 for (; sIndex < sNamedLength;) {
3546 if (sNamed[sIndex + 1])
3547 return false;
3548 sIndex += 3;
3549 }
3550 return true;
3551 },
3552 _isInterfaceSubtype(universe, s, sEnv, t, tEnv) {
3553 var rule, recipes, $length, supertypeArgs, i, t1, t2,
3554 sName = s._primary,
3555 tName = t._primary;
3556 for (; sName !== tName;) {
3557 rule = universe.tR[sName];
3558 if (rule == null)
3559 return false;
3560 if (typeof rule == "string") {
3561 sName = rule;
3562 continue;
3563 }
3564 recipes = rule[tName];
3565 if (recipes == null)
3566 return false;
3567 $length = recipes.length;
3568 supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
3569 for (i = 0; i < $length; ++i)
3570 supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
3571 return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv);
3572 }
3573 t1 = s._rest;
3574 t2 = t._rest;
3575 return A._areArgumentsSubtypes(universe, t1, null, sEnv, t2, tEnv);
3576 },
3577 _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) {
3578 var i, t1, t2,
3579 $length = sArgs.length;
3580 for (i = 0; i < $length; ++i) {
3581 t1 = sArgs[i];
3582 t2 = tArgs[i];
3583 if (!A._isSubtype(universe, t1, sEnv, t2, tEnv))
3584 return false;
3585 }
3586 return true;
3587 },
3588 isNullable(t) {
3589 var t1,
3590 kind = t._kind;
3591 if (!(t === type$.Null || t === type$.JSNull))
3592 if (!A.isStrongTopType(t))
3593 if (kind !== 7)
3594 if (!(kind === 6 && A.isNullable(t._primary)))
3595 t1 = kind === 8 && A.isNullable(t._primary);
3596 else
3597 t1 = true;
3598 else
3599 t1 = true;
3600 else
3601 t1 = true;
3602 else
3603 t1 = true;
3604 return t1;
3605 },
3606 isTopType(t) {
3607 var t1;
3608 if (!A.isStrongTopType(t))
3609 if (!(t === type$.legacy_Object))
3610 t1 = false;
3611 else
3612 t1 = true;
3613 else
3614 t1 = true;
3615 return t1;
3616 },
3617 isStrongTopType(t) {
3618 var kind = t._kind;
3619 return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
3620 },
3621 _Utils_objectAssign(o, other) {
3622 var i, key,
3623 keys = Object.keys(other),
3624 $length = keys.length;
3625 for (i = 0; i < $length; ++i) {
3626 key = keys[i];
3627 o[key] = other[key];
3628 }
3629 },
3630 _Utils_newArrayOrEmpty($length) {
3631 return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
3632 },
3633 Rti: function Rti(t0, t1) {
3634 var _ = this;
3635 _._as = t0;
3636 _._is = t1;
3637 _._cachedRuntimeType = _._specializedTestResource = _._precomputed1 = null;
3638 _._kind = 0;
3639 _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
3640 },
3641 _FunctionParameters: function _FunctionParameters() {
3642 this._named = this._optionalPositional = this._requiredPositional = null;
3643 },
3644 _Type: function _Type(t0) {
3645 this._rti = t0;
3646 },
3647 _Error: function _Error() {
3648 },
3649 _TypeError: function _TypeError(t0) {
3650 this.__rti$_message = t0;
3651 },
3652 _AsyncRun__initializeScheduleImmediate() {
3653 var div, span, t1 = {};
3654 if (self.scheduleImmediate != null)
3655 return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
3656 if (self.MutationObserver != null && self.document != null) {
3657 div = self.document.createElement("div");
3658 span = self.document.createElement("span");
3659 t1.storedCallback = null;
3660 new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
3661 return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
3662 } else if (self.setImmediate != null)
3663 return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
3664 return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
3665 },
3666 _AsyncRun__scheduleImmediateJsOverride(callback) {
3667 self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
3668 },
3669 _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
3670 self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
3671 },
3672 _AsyncRun__scheduleImmediateWithTimer(callback) {
3673 A.Timer__createTimer(B.Duration_0, callback);
3674 },
3675 Timer__createTimer(duration, callback) {
3676 var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
3677 return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
3678 },
3679 _TimerImpl$(milliseconds, callback) {
3680 var t1 = new A._TimerImpl(true);
3681 t1._TimerImpl$2(milliseconds, callback);
3682 return t1;
3683 },
3684 _TimerImpl$periodic(milliseconds, callback) {
3685 var t1 = new A._TimerImpl(false);
3686 t1._TimerImpl$periodic$2(milliseconds, callback);
3687 return t1;
3688 },
3689 _makeAsyncAwaitCompleter($T) {
3690 return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
3691 },
3692 _asyncStartSync(bodyFunction, completer) {
3693 bodyFunction.call$2(0, null);
3694 completer.isSync = true;
3695 return completer._future;
3696 },
3697 _asyncAwait(object, bodyFunction) {
3698 A._awaitOnObject(object, bodyFunction);
3699 },
3700 _asyncReturn(object, completer) {
3701 completer.complete$1(object);
3702 },
3703 _asyncRethrow(object, completer) {
3704 completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
3705 },
3706 _awaitOnObject(object, bodyFunction) {
3707 var t1, future,
3708 thenCallback = new A._awaitOnObject_closure(bodyFunction),
3709 errorCallback = new A._awaitOnObject_closure0(bodyFunction);
3710 if (object instanceof A._Future)
3711 object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
3712 else {
3713 t1 = type$.dynamic;
3714 if (type$.Future_dynamic._is(object))
3715 object.then$1$2$onError(0, thenCallback, errorCallback, t1);
3716 else {
3717 future = new A._Future($.Zone__current, type$._Future_dynamic);
3718 future._state = 8;
3719 future._resultOrListeners = object;
3720 future._thenAwait$1$2(thenCallback, errorCallback, t1);
3721 }
3722 }
3723 },
3724 _wrapJsFunctionForAsync($function) {
3725 var $protected = function(fn, ERROR) {
3726 return function(errorCode, result) {
3727 while (true)
3728 try {
3729 fn(errorCode, result);
3730 break;
3731 } catch (error) {
3732 result = error;
3733 errorCode = ERROR;
3734 }
3735 };
3736 }($function, 1);
3737 return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
3738 },
3739 _IterationMarker_yieldStar(values) {
3740 return new A._IterationMarker(values, 1);
3741 },
3742 _IterationMarker_endOfIteration() {
3743 return B._IterationMarker_null_2;
3744 },
3745 _IterationMarker_uncaughtError(error) {
3746 return new A._IterationMarker(error, 3);
3747 },
3748 _makeSyncStarIterable(body, $T) {
3749 return new A._SyncStarIterable(body, $T._eval$1("_SyncStarIterable<0>"));
3750 },
3751 AsyncError$(error, stackTrace) {
3752 var t1 = A.checkNotNullable(error, "error", type$.Object);
3753 return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace);
3754 },
3755 AsyncError_defaultStackTrace(error) {
3756 var stackTrace;
3757 if (type$.Error._is(error)) {
3758 stackTrace = error.get$stackTrace();
3759 if (stackTrace != null)
3760 return stackTrace;
3761 }
3762 return B._StringStackTrace_3uE;
3763 },
3764 Future_Future$value(value, $T) {
3765 var t1;
3766 $T._as(value);
3767 t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
3768 t1._asyncComplete$1(value);
3769 return t1;
3770 },
3771 Future_Future$error(error, stackTrace, $T) {
3772 var t1, replacement;
3773 A.checkNotNullable(error, "error", type$.Object);
3774 t1 = $.Zone__current;
3775 if (t1 !== B.C__RootZone) {
3776 replacement = t1.errorCallback$2(error, stackTrace);
3777 if (replacement != null) {
3778 error = replacement.error;
3779 stackTrace = replacement.stackTrace;
3780 }
3781 }
3782 if (stackTrace == null)
3783 stackTrace = A.AsyncError_defaultStackTrace(error);
3784 t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
3785 t1._asyncCompleteError$2(error, stackTrace);
3786 return t1;
3787 },
3788 Future_wait(futures, $T) {
3789 var error, stackTrace, handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
3790 eagerError = false,
3791 _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
3792 _box_0.values = null;
3793 _box_0.remaining = 0;
3794 error = A._Cell$named("error");
3795 stackTrace = A._Cell$named("stackTrace");
3796 handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, error, stackTrace);
3797 try {
3798 for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
3799 future = t1.get$current(t1);
3800 pos = _box_0.remaining;
3801 J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, error, stackTrace, $T), handleError, t2);
3802 ++_box_0.remaining;
3803 }
3804 t1 = _box_0.remaining;
3805 if (t1 === 0) {
3806 t1 = _future;
3807 t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
3808 return t1;
3809 }
3810 _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
3811 } catch (exception) {
3812 e = A.unwrapException(exception);
3813 st = A.getTraceFromException(exception);
3814 if (_box_0.remaining === 0 || eagerError)
3815 return A.Future_Future$error(e, st, $T._eval$1("List<0>"));
3816 else {
3817 error._value = e;
3818 stackTrace._value = st;
3819 }
3820 }
3821 return _future;
3822 },
3823 _Future$zoneValue(value, _zone, $T) {
3824 var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
3825 t1._state = 8;
3826 t1._resultOrListeners = value;
3827 return t1;
3828 },
3829 _Future__chainCoreFuture(source, target) {
3830 var t1, listeners;
3831 for (; t1 = source._state, (t1 & 4) !== 0;)
3832 source = source._resultOrListeners;
3833 if ((t1 & 24) !== 0) {
3834 listeners = target._removeListeners$0();
3835 target._cloneResult$1(source);
3836 A._Future__propagateToListeners(target, listeners);
3837 } else {
3838 listeners = target._resultOrListeners;
3839 target._state = target._state & 1 | 4;
3840 target._resultOrListeners = source;
3841 source._prependListeners$1(listeners);
3842 }
3843 },
3844 _Future__propagateToListeners(source, listeners) {
3845 var t2, _box_0, t3, t4, hasError, nextListener, nextListener0, sourceResult, t5, zone, oldZone, result, current, _box_1 = {},
3846 t1 = _box_1.source = source;
3847 for (t2 = type$.Future_dynamic; true;) {
3848 _box_0 = {};
3849 t3 = t1._state;
3850 t4 = (t3 & 16) === 0;
3851 hasError = !t4;
3852 if (listeners == null) {
3853 if (hasError && (t3 & 1) === 0) {
3854 t2 = t1._resultOrListeners;
3855 t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
3856 }
3857 return;
3858 }
3859 _box_0.listener = listeners;
3860 nextListener = listeners._nextListener;
3861 for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
3862 t1._nextListener = null;
3863 A._Future__propagateToListeners(_box_1.source, t1);
3864 _box_0.listener = nextListener;
3865 nextListener0 = nextListener._nextListener;
3866 }
3867 t3 = _box_1.source;
3868 sourceResult = t3._resultOrListeners;
3869 _box_0.listenerHasError = hasError;
3870 _box_0.listenerValueOrError = sourceResult;
3871 if (t4) {
3872 t5 = t1.state;
3873 t5 = (t5 & 1) !== 0 || (t5 & 15) === 8;
3874 } else
3875 t5 = true;
3876 if (t5) {
3877 zone = t1.result._zone;
3878 if (hasError) {
3879 t1 = t3._zone;
3880 t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
3881 } else
3882 t1 = false;
3883 if (t1) {
3884 t1 = _box_1.source;
3885 t2 = t1._resultOrListeners;
3886 t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
3887 return;
3888 }
3889 oldZone = $.Zone__current;
3890 if (oldZone !== zone)
3891 $.Zone__current = zone;
3892 else
3893 oldZone = null;
3894 t1 = _box_0.listener.state;
3895 if ((t1 & 15) === 8)
3896 new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
3897 else if (t4) {
3898 if ((t1 & 1) !== 0)
3899 new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
3900 } else if ((t1 & 2) !== 0)
3901 new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
3902 if (oldZone != null)
3903 $.Zone__current = oldZone;
3904 t1 = _box_0.listenerValueOrError;
3905 if (t2._is(t1)) {
3906 t3 = _box_0.listener.$ti;
3907 t3 = t3._eval$1("Future<2>")._is(t1) || !t3._rest[1]._is(t1);
3908 } else
3909 t3 = false;
3910 if (t3) {
3911 result = _box_0.listener.result;
3912 if ((t1._state & 24) !== 0) {
3913 current = result._resultOrListeners;
3914 result._resultOrListeners = null;
3915 listeners = result._reverseListeners$1(current);
3916 result._state = t1._state & 30 | result._state & 1;
3917 result._resultOrListeners = t1._resultOrListeners;
3918 _box_1.source = t1;
3919 continue;
3920 } else
3921 A._Future__chainCoreFuture(t1, result);
3922 return;
3923 }
3924 }
3925 result = _box_0.listener.result;
3926 current = result._resultOrListeners;
3927 result._resultOrListeners = null;
3928 listeners = result._reverseListeners$1(current);
3929 t1 = _box_0.listenerHasError;
3930 t3 = _box_0.listenerValueOrError;
3931 if (!t1) {
3932 result._state = 8;
3933 result._resultOrListeners = t3;
3934 } else {
3935 result._state = result._state & 1 | 16;
3936 result._resultOrListeners = t3;
3937 }
3938 _box_1.source = result;
3939 t1 = result;
3940 }
3941 },
3942 _registerErrorHandler(errorHandler, zone) {
3943 if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
3944 return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
3945 if (type$.dynamic_Function_Object._is(errorHandler))
3946 return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
3947 throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
3948 },
3949 _microtaskLoop() {
3950 var entry, next;
3951 for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
3952 $._lastPriorityCallback = null;
3953 next = entry.next;
3954 $._nextCallback = next;
3955 if (next == null)
3956 $._lastCallback = null;
3957 entry.callback.call$0();
3958 }
3959 },
3960 _startMicrotaskLoop() {
3961 $._isInCallbackLoop = true;
3962 try {
3963 A._microtaskLoop();
3964 } finally {
3965 $._lastPriorityCallback = null;
3966 $._isInCallbackLoop = false;
3967 if ($._nextCallback != null)
3968 $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
3969 }
3970 },
3971 _scheduleAsyncCallback(callback) {
3972 var newEntry = new A._AsyncCallbackEntry(callback),
3973 lastCallback = $._lastCallback;
3974 if (lastCallback == null) {
3975 $._nextCallback = $._lastCallback = newEntry;
3976 if (!$._isInCallbackLoop)
3977 $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
3978 } else
3979 $._lastCallback = lastCallback.next = newEntry;
3980 },
3981 _schedulePriorityAsyncCallback(callback) {
3982 var entry, lastPriorityCallback, next,
3983 t1 = $._nextCallback;
3984 if (t1 == null) {
3985 A._scheduleAsyncCallback(callback);
3986 $._lastPriorityCallback = $._lastCallback;
3987 return;
3988 }
3989 entry = new A._AsyncCallbackEntry(callback);
3990 lastPriorityCallback = $._lastPriorityCallback;
3991 if (lastPriorityCallback == null) {
3992 entry.next = t1;
3993 $._nextCallback = $._lastPriorityCallback = entry;
3994 } else {
3995 next = lastPriorityCallback.next;
3996 entry.next = next;
3997 $._lastPriorityCallback = lastPriorityCallback.next = entry;
3998 if (next == null)
3999 $._lastCallback = entry;
4000 }
4001 },
4002 scheduleMicrotask(callback) {
4003 var t1, _null = null,
4004 currentZone = $.Zone__current;
4005 if (B.C__RootZone === currentZone) {
4006 A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
4007 return;
4008 }
4009 if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
4010 t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
4011 else
4012 t1 = false;
4013 if (t1) {
4014 A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
4015 return;
4016 }
4017 t1 = $.Zone__current;
4018 t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
4019 },
4020 Stream_Stream$fromFuture(future, $T) {
4021 var _null = null,
4022 t1 = $T._eval$1("_SyncStreamController<0>"),
4023 controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
4024 future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
4025 return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
4026 },
4027 StreamIterator_StreamIterator(stream) {
4028 return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
4029 },
4030 StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
4031 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>"));
4032 },
4033 _runGuarded(notificationHandler) {
4034 var e, s, exception;
4035 if (notificationHandler == null)
4036 return;
4037 try {
4038 notificationHandler.call$0();
4039 } catch (exception) {
4040 e = A.unwrapException(exception);
4041 s = A.getTraceFromException(exception);
4042 $.Zone__current.handleUncaughtError$2(e, s);
4043 }
4044 },
4045 _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
4046 var t1 = $.Zone__current,
4047 t2 = cancelOnError ? 1 : 0,
4048 t3 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
4049 t4 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
4050 t5 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
4051 return new A._ControllerSubscription(_controller, t3, t4, t1.registerCallback$1$1(t5, type$.void), t1, t2, $T._eval$1("_ControllerSubscription<0>"));
4052 },
4053 _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
4054 var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
4055 return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
4056 },
4057 _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
4058 if (handleError == null)
4059 handleError = A.async___nullErrorHandler$closure();
4060 if (type$.void_Function_Object_StackTrace._is(handleError))
4061 return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
4062 if (type$.void_Function_Object._is(handleError))
4063 return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
4064 throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
4065 },
4066 _nullDataHandler(value) {
4067 },
4068 _nullErrorHandler(error, stackTrace) {
4069 $.Zone__current.handleUncaughtError$2(error, stackTrace);
4070 },
4071 _nullDoneHandler() {
4072 },
4073 Timer_Timer(duration, callback) {
4074 var t1 = $.Zone__current;
4075 if (t1 === B.C__RootZone)
4076 return t1.createTimer$2(duration, callback);
4077 return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
4078 },
4079 _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
4080 A._rootHandleError(error, stackTrace);
4081 },
4082 _rootHandleError(error, stackTrace) {
4083 A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
4084 },
4085 _rootRun($self, $parent, zone, f) {
4086 var old,
4087 t1 = $.Zone__current;
4088 if (t1 === zone)
4089 return f.call$0();
4090 $.Zone__current = zone;
4091 old = t1;
4092 try {
4093 t1 = f.call$0();
4094 return t1;
4095 } finally {
4096 $.Zone__current = old;
4097 }
4098 },
4099 _rootRunUnary($self, $parent, zone, f, arg) {
4100 var old,
4101 t1 = $.Zone__current;
4102 if (t1 === zone)
4103 return f.call$1(arg);
4104 $.Zone__current = zone;
4105 old = t1;
4106 try {
4107 t1 = f.call$1(arg);
4108 return t1;
4109 } finally {
4110 $.Zone__current = old;
4111 }
4112 },
4113 _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
4114 var old,
4115 t1 = $.Zone__current;
4116 if (t1 === zone)
4117 return f.call$2(arg1, arg2);
4118 $.Zone__current = zone;
4119 old = t1;
4120 try {
4121 t1 = f.call$2(arg1, arg2);
4122 return t1;
4123 } finally {
4124 $.Zone__current = old;
4125 }
4126 },
4127 _rootRegisterCallback($self, $parent, zone, f) {
4128 return f;
4129 },
4130 _rootRegisterUnaryCallback($self, $parent, zone, f) {
4131 return f;
4132 },
4133 _rootRegisterBinaryCallback($self, $parent, zone, f) {
4134 return f;
4135 },
4136 _rootErrorCallback($self, $parent, zone, error, stackTrace) {
4137 return null;
4138 },
4139 _rootScheduleMicrotask($self, $parent, zone, f) {
4140 var t1, t2;
4141 if (B.C__RootZone !== zone) {
4142 t1 = B.C__RootZone.get$errorZone();
4143 t2 = zone.get$errorZone();
4144 f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
4145 }
4146 A._scheduleAsyncCallback(f);
4147 },
4148 _rootCreateTimer($self, $parent, zone, duration, callback) {
4149 return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
4150 },
4151 _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
4152 var milliseconds;
4153 if (B.C__RootZone !== zone)
4154 callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
4155 milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
4156 return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
4157 },
4158 _rootPrint($self, $parent, zone, line) {
4159 A.printString(line);
4160 },
4161 _printToZone(line) {
4162 $.Zone__current.print$1(line);
4163 },
4164 _rootFork($self, $parent, zone, specification, zoneValues) {
4165 var valueMap, t1, handleUncaughtError;
4166 $.printToZone = A.async___printToZone$closure();
4167 if (specification == null)
4168 specification = B._ZoneSpecification_ALf;
4169 if (zoneValues == null)
4170 valueMap = zone.get$_async$_map();
4171 else {
4172 t1 = type$.nullable_Object;
4173 valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
4174 }
4175 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);
4176 handleUncaughtError = specification.handleUncaughtError;
4177 if (handleUncaughtError != null)
4178 t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
4179 return t1;
4180 },
4181 runZoned(body, zoneValues, $R) {
4182 A.checkNotNullable(body, "body", $R._eval$1("0()"));
4183 return A._runZoned(body, zoneValues, null, $R);
4184 },
4185 _runZoned(body, zoneValues, specification, $R) {
4186 return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
4187 },
4188 _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
4189 this._box_0 = t0;
4190 },
4191 _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
4192 this._box_0 = t0;
4193 this.div = t1;
4194 this.span = t2;
4195 },
4196 _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
4197 this.callback = t0;
4198 },
4199 _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
4200 this.callback = t0;
4201 },
4202 _TimerImpl: function _TimerImpl(t0) {
4203 this._once = t0;
4204 this._handle = null;
4205 this._tick = 0;
4206 },
4207 _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
4208 this.$this = t0;
4209 this.callback = t1;
4210 },
4211 _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
4212 var _ = this;
4213 _.$this = t0;
4214 _.milliseconds = t1;
4215 _.start = t2;
4216 _.callback = t3;
4217 },
4218 _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
4219 this._future = t0;
4220 this.isSync = false;
4221 this.$ti = t1;
4222 },
4223 _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
4224 this.bodyFunction = t0;
4225 },
4226 _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
4227 this.bodyFunction = t0;
4228 },
4229 _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
4230 this.$protected = t0;
4231 },
4232 _IterationMarker: function _IterationMarker(t0, t1) {
4233 this.value = t0;
4234 this.state = t1;
4235 },
4236 _SyncStarIterator: function _SyncStarIterator(t0) {
4237 var _ = this;
4238 _._body = t0;
4239 _._suspendedBodies = _._nestedIterator = _._async$_current = null;
4240 },
4241 _SyncStarIterable: function _SyncStarIterable(t0, t1) {
4242 this._outerHelper = t0;
4243 this.$ti = t1;
4244 },
4245 AsyncError: function AsyncError(t0, t1) {
4246 this.error = t0;
4247 this.stackTrace = t1;
4248 },
4249 Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5) {
4250 var _ = this;
4251 _._box_0 = t0;
4252 _.cleanUp = t1;
4253 _.eagerError = t2;
4254 _._future = t3;
4255 _.error = t4;
4256 _.stackTrace = t5;
4257 },
4258 Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
4259 var _ = this;
4260 _._box_0 = t0;
4261 _.pos = t1;
4262 _._future = t2;
4263 _.cleanUp = t3;
4264 _.eagerError = t4;
4265 _.error = t5;
4266 _.stackTrace = t6;
4267 _.T = t7;
4268 },
4269 _Completer: function _Completer() {
4270 },
4271 _AsyncCompleter: function _AsyncCompleter(t0, t1) {
4272 this.future = t0;
4273 this.$ti = t1;
4274 },
4275 _SyncCompleter: function _SyncCompleter(t0, t1) {
4276 this.future = t0;
4277 this.$ti = t1;
4278 },
4279 _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
4280 var _ = this;
4281 _._nextListener = null;
4282 _.result = t0;
4283 _.state = t1;
4284 _.callback = t2;
4285 _.errorCallback = t3;
4286 _.$ti = t4;
4287 },
4288 _Future: function _Future(t0, t1) {
4289 var _ = this;
4290 _._state = 0;
4291 _._zone = t0;
4292 _._resultOrListeners = null;
4293 _.$ti = t1;
4294 },
4295 _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
4296 this.$this = t0;
4297 this.listener = t1;
4298 },
4299 _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
4300 this._box_0 = t0;
4301 this.$this = t1;
4302 },
4303 _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
4304 this.$this = t0;
4305 },
4306 _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
4307 this.$this = t0;
4308 },
4309 _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
4310 this.$this = t0;
4311 this.e = t1;
4312 this.s = t2;
4313 },
4314 _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
4315 this.$this = t0;
4316 this.value = t1;
4317 },
4318 _Future__chainFuture_closure: function _Future__chainFuture_closure(t0, t1) {
4319 this.$this = t0;
4320 this.value = t1;
4321 },
4322 _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
4323 this.$this = t0;
4324 this.error = t1;
4325 this.stackTrace = t2;
4326 },
4327 _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
4328 this._box_0 = t0;
4329 this._box_1 = t1;
4330 this.hasError = t2;
4331 },
4332 _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) {
4333 this.originalSource = t0;
4334 },
4335 _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
4336 this._box_0 = t0;
4337 this.sourceResult = t1;
4338 },
4339 _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
4340 this._box_1 = t0;
4341 this._box_0 = t1;
4342 },
4343 _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
4344 this.callback = t0;
4345 this.next = null;
4346 },
4347 Stream: function Stream() {
4348 },
4349 Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
4350 this.controller = t0;
4351 this.T = t1;
4352 },
4353 Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
4354 this.controller = t0;
4355 },
4356 Stream_length_closure: function Stream_length_closure(t0, t1) {
4357 this._box_0 = t0;
4358 this.$this = t1;
4359 },
4360 Stream_length_closure0: function Stream_length_closure0(t0, t1) {
4361 this._box_0 = t0;
4362 this.future = t1;
4363 },
4364 StreamTransformerBase: function StreamTransformerBase() {
4365 },
4366 _StreamController: function _StreamController() {
4367 },
4368 _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
4369 this.$this = t0;
4370 },
4371 _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
4372 this.$this = t0;
4373 },
4374 _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
4375 },
4376 _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
4377 },
4378 _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
4379 var _ = this;
4380 _._varData = null;
4381 _._state = 0;
4382 _._doneFuture = null;
4383 _.onListen = t0;
4384 _.onPause = t1;
4385 _.onResume = t2;
4386 _.onCancel = t3;
4387 _.$ti = t4;
4388 },
4389 _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
4390 var _ = this;
4391 _._varData = null;
4392 _._state = 0;
4393 _._doneFuture = null;
4394 _.onListen = t0;
4395 _.onPause = t1;
4396 _.onResume = t2;
4397 _.onCancel = t3;
4398 _.$ti = t4;
4399 },
4400 _ControllerStream: function _ControllerStream(t0, t1) {
4401 this._controller = t0;
4402 this.$ti = t1;
4403 },
4404 _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
4405 var _ = this;
4406 _._controller = t0;
4407 _._onData = t1;
4408 _._onError = t2;
4409 _._onDone = t3;
4410 _._zone = t4;
4411 _._state = t5;
4412 _._pending = _._cancelFuture = null;
4413 _.$ti = t6;
4414 },
4415 _AddStreamState: function _AddStreamState() {
4416 },
4417 _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
4418 this.$this = t0;
4419 },
4420 _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
4421 this.varData = t0;
4422 this.addStreamFuture = t1;
4423 this.addSubscription = t2;
4424 },
4425 _BufferingStreamSubscription: function _BufferingStreamSubscription() {
4426 },
4427 _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
4428 this.$this = t0;
4429 this.error = t1;
4430 this.stackTrace = t2;
4431 },
4432 _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
4433 this.$this = t0;
4434 },
4435 _StreamImpl: function _StreamImpl() {
4436 },
4437 _DelayedEvent: function _DelayedEvent() {
4438 },
4439 _DelayedData: function _DelayedData(t0) {
4440 this.value = t0;
4441 this.next = null;
4442 },
4443 _DelayedError: function _DelayedError(t0, t1) {
4444 this.error = t0;
4445 this.stackTrace = t1;
4446 this.next = null;
4447 },
4448 _DelayedDone: function _DelayedDone() {
4449 },
4450 _PendingEvents: function _PendingEvents() {
4451 },
4452 _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
4453 this.$this = t0;
4454 this.dispatch = t1;
4455 },
4456 _StreamImplEvents: function _StreamImplEvents() {
4457 this.lastPendingEvent = this.firstPendingEvent = null;
4458 this._state = 0;
4459 },
4460 _StreamIterator: function _StreamIterator(t0) {
4461 this._subscription = null;
4462 this._stateData = t0;
4463 this._async$_hasValue = false;
4464 },
4465 _ForwardingStream: function _ForwardingStream() {
4466 },
4467 _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
4468 var _ = this;
4469 _._stream = t0;
4470 _._subscription = null;
4471 _._onData = t1;
4472 _._onError = t2;
4473 _._onDone = t3;
4474 _._zone = t4;
4475 _._state = t5;
4476 _._pending = _._cancelFuture = null;
4477 _.$ti = t6;
4478 },
4479 _ExpandStream: function _ExpandStream(t0, t1, t2) {
4480 this._expand = t0;
4481 this._async$_source = t1;
4482 this.$ti = t2;
4483 },
4484 _ZoneFunction: function _ZoneFunction(t0, t1) {
4485 this.zone = t0;
4486 this.$function = t1;
4487 },
4488 _RunNullaryZoneFunction: function _RunNullaryZoneFunction(t0, t1) {
4489 this.zone = t0;
4490 this.$function = t1;
4491 },
4492 _RunUnaryZoneFunction: function _RunUnaryZoneFunction(t0, t1) {
4493 this.zone = t0;
4494 this.$function = t1;
4495 },
4496 _RunBinaryZoneFunction: function _RunBinaryZoneFunction(t0, t1) {
4497 this.zone = t0;
4498 this.$function = t1;
4499 },
4500 _RegisterNullaryZoneFunction: function _RegisterNullaryZoneFunction(t0, t1) {
4501 this.zone = t0;
4502 this.$function = t1;
4503 },
4504 _RegisterUnaryZoneFunction: function _RegisterUnaryZoneFunction(t0, t1) {
4505 this.zone = t0;
4506 this.$function = t1;
4507 },
4508 _RegisterBinaryZoneFunction: function _RegisterBinaryZoneFunction(t0, t1) {
4509 this.zone = t0;
4510 this.$function = t1;
4511 },
4512 _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
4513 var _ = this;
4514 _.handleUncaughtError = t0;
4515 _.run = t1;
4516 _.runUnary = t2;
4517 _.runBinary = t3;
4518 _.registerCallback = t4;
4519 _.registerUnaryCallback = t5;
4520 _.registerBinaryCallback = t6;
4521 _.errorCallback = t7;
4522 _.scheduleMicrotask = t8;
4523 _.createTimer = t9;
4524 _.createPeriodicTimer = t10;
4525 _.print = t11;
4526 _.fork = t12;
4527 },
4528 _ZoneDelegate: function _ZoneDelegate(t0) {
4529 this._delegationTarget = t0;
4530 },
4531 _Zone: function _Zone() {
4532 },
4533 _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
4534 var _ = this;
4535 _._run = t0;
4536 _._runUnary = t1;
4537 _._runBinary = t2;
4538 _._registerCallback = t3;
4539 _._registerUnaryCallback = t4;
4540 _._registerBinaryCallback = t5;
4541 _._errorCallback = t6;
4542 _._scheduleMicrotask = t7;
4543 _._createTimer = t8;
4544 _._createPeriodicTimer = t9;
4545 _._print = t10;
4546 _._fork = t11;
4547 _._handleUncaughtError = t12;
4548 _._delegateCache = null;
4549 _.parent = t13;
4550 _._async$_map = t14;
4551 },
4552 _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
4553 this.$this = t0;
4554 this.registered = t1;
4555 this.R = t2;
4556 },
4557 _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
4558 var _ = this;
4559 _.$this = t0;
4560 _.registered = t1;
4561 _.T = t2;
4562 _.R = t3;
4563 },
4564 _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
4565 this.$this = t0;
4566 this.registered = t1;
4567 },
4568 _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
4569 this.error = t0;
4570 this.stackTrace = t1;
4571 },
4572 _RootZone: function _RootZone() {
4573 },
4574 _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
4575 this.$this = t0;
4576 this.f = t1;
4577 this.R = t2;
4578 },
4579 _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
4580 var _ = this;
4581 _.$this = t0;
4582 _.f = t1;
4583 _.T = t2;
4584 _.R = t3;
4585 },
4586 _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
4587 this.$this = t0;
4588 this.f = t1;
4589 },
4590 HashMap_HashMap($K, $V) {
4591 return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
4592 },
4593 _HashMap__getTableEntry(table, key) {
4594 var entry = table[key];
4595 return entry === table ? null : entry;
4596 },
4597 _HashMap__setTableEntry(table, key, value) {
4598 if (value == null)
4599 table[key] = table;
4600 else
4601 table[key] = value;
4602 },
4603 _HashMap__newHashTable() {
4604 var table = Object.create(null);
4605 A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
4606 delete table["<non-identifier-key>"];
4607 return table;
4608 },
4609 LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
4610 if (isValidKey == null)
4611 if (hashCode == null) {
4612 if (equals == null)
4613 return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
4614 hashCode = A.collection___defaultHashCode$closure();
4615 } else {
4616 if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
4617 return A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6($K, $V);
4618 if (equals == null)
4619 equals = A.collection___defaultEquals$closure();
4620 }
4621 else {
4622 if (hashCode == null)
4623 hashCode = A.collection___defaultHashCode$closure();
4624 if (equals == null)
4625 equals = A.collection___defaultEquals$closure();
4626 }
4627 return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
4628 },
4629 LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
4630 return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
4631 },
4632 LinkedHashMap_LinkedHashMap$_empty($K, $V) {
4633 return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
4634 },
4635 _LinkedIdentityHashMap__LinkedIdentityHashMap$es6($K, $V) {
4636 return new A._LinkedIdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedIdentityHashMap<1,2>"));
4637 },
4638 _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
4639 var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
4640 return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
4641 },
4642 LinkedHashSet_LinkedHashSet($E) {
4643 return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
4644 },
4645 LinkedHashSet_LinkedHashSet$_empty($E) {
4646 return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
4647 },
4648 LinkedHashSet_LinkedHashSet$_literal(values, $E) {
4649 return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
4650 },
4651 _LinkedHashSet__newHashTable() {
4652 var table = Object.create(null);
4653 table["<non-identifier-key>"] = table;
4654 delete table["<non-identifier-key>"];
4655 return table;
4656 },
4657 _LinkedHashSetIterator$(_set, _modifications) {
4658 var t1 = new A._LinkedHashSetIterator(_set, _modifications);
4659 t1._collection$_cell = _set._collection$_first;
4660 return t1;
4661 },
4662 UnmodifiableListView$(source, $E) {
4663 return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
4664 },
4665 _defaultEquals(a, b) {
4666 return J.$eq$(a, b);
4667 },
4668 _defaultHashCode(a) {
4669 return J.get$hashCode$(a);
4670 },
4671 HashMap_HashMap$from(other, $K, $V) {
4672 var result = A.HashMap_HashMap($K, $V);
4673 other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
4674 return result;
4675 },
4676 IterableBase_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
4677 var parts, t1;
4678 if (A._isToStringVisiting(iterable)) {
4679 if (leftDelimiter === "(" && rightDelimiter === ")")
4680 return "(...)";
4681 return leftDelimiter + "..." + rightDelimiter;
4682 }
4683 parts = A._setArrayType([], type$.JSArray_String);
4684 $._toStringVisiting.push(iterable);
4685 try {
4686 A._iterablePartsToStrings(iterable, parts);
4687 } finally {
4688 $._toStringVisiting.pop();
4689 }
4690 t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
4691 return t1.charCodeAt(0) == 0 ? t1 : t1;
4692 },
4693 IterableBase_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
4694 var buffer, t1;
4695 if (A._isToStringVisiting(iterable))
4696 return leftDelimiter + "..." + rightDelimiter;
4697 buffer = new A.StringBuffer(leftDelimiter);
4698 $._toStringVisiting.push(iterable);
4699 try {
4700 t1 = buffer;
4701 t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
4702 } finally {
4703 $._toStringVisiting.pop();
4704 }
4705 buffer._contents += rightDelimiter;
4706 t1 = buffer._contents;
4707 return t1.charCodeAt(0) == 0 ? t1 : t1;
4708 },
4709 _isToStringVisiting(o) {
4710 var t1, i;
4711 for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i)
4712 if (o === $._toStringVisiting[i])
4713 return true;
4714 return false;
4715 },
4716 _iterablePartsToStrings(iterable, parts) {
4717 var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
4718 it = iterable.get$iterator(iterable),
4719 $length = 0, count = 0;
4720 while (true) {
4721 if (!($length < 80 || count < 3))
4722 break;
4723 if (!it.moveNext$0())
4724 return;
4725 next = A.S(it.get$current(it));
4726 parts.push(next);
4727 $length += next.length + 2;
4728 ++count;
4729 }
4730 if (!it.moveNext$0()) {
4731 if (count <= 5)
4732 return;
4733 ultimateString = parts.pop();
4734 penultimateString = parts.pop();
4735 } else {
4736 penultimate = it.get$current(it);
4737 ++count;
4738 if (!it.moveNext$0()) {
4739 if (count <= 4) {
4740 parts.push(A.S(penultimate));
4741 return;
4742 }
4743 ultimateString = A.S(penultimate);
4744 penultimateString = parts.pop();
4745 $length += ultimateString.length + 2;
4746 } else {
4747 ultimate = it.get$current(it);
4748 ++count;
4749 for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
4750 ultimate0 = it.get$current(it);
4751 ++count;
4752 if (count > 100) {
4753 while (true) {
4754 if (!($length > 75 && count > 3))
4755 break;
4756 $length -= parts.pop().length + 2;
4757 --count;
4758 }
4759 parts.push("...");
4760 return;
4761 }
4762 }
4763 penultimateString = A.S(penultimate);
4764 ultimateString = A.S(ultimate);
4765 $length += ultimateString.length + penultimateString.length + 4;
4766 }
4767 }
4768 if (count > parts.length + 2) {
4769 $length += 5;
4770 elision = "...";
4771 } else
4772 elision = null;
4773 while (true) {
4774 if (!($length > 80 && parts.length > 3))
4775 break;
4776 $length -= parts.pop().length + 2;
4777 if (elision == null) {
4778 $length += 5;
4779 elision = "...";
4780 }
4781 }
4782 if (elision != null)
4783 parts.push(elision);
4784 parts.push(penultimateString);
4785 parts.push(ultimateString);
4786 },
4787 LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
4788 var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
4789 other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
4790 return result;
4791 },
4792 LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
4793 var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
4794 t1.addAll$1(0, other);
4795 return t1;
4796 },
4797 LinkedHashSet_LinkedHashSet$from(elements, $E) {
4798 var t1, _i,
4799 result = A.LinkedHashSet_LinkedHashSet($E);
4800 for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
4801 result.add$1(0, $E._as(elements[_i]));
4802 return result;
4803 },
4804 LinkedHashSet_LinkedHashSet$of(elements, $E) {
4805 var t1 = A.LinkedHashSet_LinkedHashSet($E);
4806 t1.addAll$1(0, elements);
4807 return t1;
4808 },
4809 ListMixin__compareAny(a, b) {
4810 var t1 = type$.Comparable_dynamic;
4811 return J.compareTo$1$ns(t1._as(a), t1._as(b));
4812 },
4813 MapBase_mapToString(m) {
4814 var result, t1 = {};
4815 if (A._isToStringVisiting(m))
4816 return "{...}";
4817 result = new A.StringBuffer("");
4818 try {
4819 $._toStringVisiting.push(m);
4820 result._contents += "{";
4821 t1.first = true;
4822 m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
4823 result._contents += "}";
4824 } finally {
4825 $._toStringVisiting.pop();
4826 }
4827 t1 = result._contents;
4828 return t1.charCodeAt(0) == 0 ? t1 : t1;
4829 },
4830 MapBase__fillMapWithIterables(map, keys, values) {
4831 var keyIterator = keys.get$iterator(keys),
4832 valueIterator = values.get$iterator(values),
4833 hasNextKey = keyIterator.moveNext$0(),
4834 hasNextValue = valueIterator.moveNext$0();
4835 while (true) {
4836 if (!(hasNextKey && hasNextValue))
4837 break;
4838 map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
4839 hasNextKey = keyIterator.moveNext$0();
4840 hasNextValue = valueIterator.moveNext$0();
4841 }
4842 if (hasNextKey || hasNextValue)
4843 throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
4844 },
4845 ListQueue$($E) {
4846 return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
4847 },
4848 ListQueue__calculateCapacity(initialCapacity) {
4849 return 8;
4850 },
4851 ListQueue_ListQueue$of(elements, $E) {
4852 var t1 = A.ListQueue$($E);
4853 t1.addAll$1(0, elements);
4854 return t1;
4855 },
4856 ListQueue__nextPowerOf2(number) {
4857 var nextNumber;
4858 number = (number << 1 >>> 0) - 1;
4859 for (; true; number = nextNumber) {
4860 nextNumber = (number & number - 1) >>> 0;
4861 if (nextNumber === 0)
4862 return number;
4863 }
4864 },
4865 _ListQueueIterator$(queue) {
4866 return new A._ListQueueIterator(queue, queue._collection$_tail, queue._modificationCount, queue._collection$_head);
4867 },
4868 _UnmodifiableSetMixin__throwUnmodifiable() {
4869 throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
4870 },
4871 _HashMap: function _HashMap(t0) {
4872 var _ = this;
4873 _._collection$_length = 0;
4874 _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4875 _.$ti = t0;
4876 },
4877 _HashMap_values_closure: function _HashMap_values_closure(t0) {
4878 this.$this = t0;
4879 },
4880 _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
4881 this.$this = t0;
4882 },
4883 _IdentityHashMap: function _IdentityHashMap(t0) {
4884 var _ = this;
4885 _._collection$_length = 0;
4886 _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4887 _.$ti = t0;
4888 },
4889 _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
4890 this._map = t0;
4891 this.$ti = t1;
4892 },
4893 _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1) {
4894 var _ = this;
4895 _._map = t0;
4896 _._keys = t1;
4897 _._offset = 0;
4898 _._collection$_current = null;
4899 },
4900 _LinkedIdentityHashMap: function _LinkedIdentityHashMap(t0) {
4901 var _ = this;
4902 _.__js_helper$_length = 0;
4903 _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
4904 _._modifications = 0;
4905 _.$ti = t0;
4906 },
4907 _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
4908 var _ = this;
4909 _._equals = t0;
4910 _._hashCode = t1;
4911 _._validKey = t2;
4912 _.__js_helper$_length = 0;
4913 _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
4914 _._modifications = 0;
4915 _.$ti = t3;
4916 },
4917 _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
4918 this.K = t0;
4919 },
4920 _LinkedHashSet: function _LinkedHashSet(t0) {
4921 var _ = this;
4922 _._collection$_length = 0;
4923 _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4924 _._collection$_modifications = 0;
4925 _.$ti = t0;
4926 },
4927 _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
4928 var _ = this;
4929 _._collection$_length = 0;
4930 _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
4931 _._collection$_modifications = 0;
4932 _.$ti = t0;
4933 },
4934 _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
4935 this._element = t0;
4936 this._collection$_previous = this._collection$_next = null;
4937 },
4938 _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1) {
4939 var _ = this;
4940 _._set = t0;
4941 _._collection$_modifications = t1;
4942 _._collection$_current = _._collection$_cell = null;
4943 },
4944 UnmodifiableListView: function UnmodifiableListView(t0, t1) {
4945 this._collection$_source = t0;
4946 this.$ti = t1;
4947 },
4948 HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
4949 this.result = t0;
4950 this.K = t1;
4951 this.V = t2;
4952 },
4953 IterableBase: function IterableBase() {
4954 },
4955 LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
4956 this.result = t0;
4957 this.K = t1;
4958 this.V = t2;
4959 },
4960 ListBase: function ListBase() {
4961 },
4962 ListMixin: function ListMixin() {
4963 },
4964 MapBase: function MapBase() {
4965 },
4966 MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
4967 this._box_0 = t0;
4968 this.result = t1;
4969 },
4970 MapMixin: function MapMixin() {
4971 },
4972 MapMixin_entries_closure: function MapMixin_entries_closure(t0) {
4973 this.$this = t0;
4974 },
4975 UnmodifiableMapBase: function UnmodifiableMapBase() {
4976 },
4977 _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
4978 this._map = t0;
4979 this.$ti = t1;
4980 },
4981 _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1) {
4982 this._keys = t0;
4983 this._map = t1;
4984 this._collection$_current = null;
4985 },
4986 _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
4987 },
4988 MapView: function MapView() {
4989 },
4990 UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
4991 this._map = t0;
4992 this.$ti = t1;
4993 },
4994 ListQueue: function ListQueue(t0, t1) {
4995 var _ = this;
4996 _._collection$_table = t0;
4997 _._modificationCount = _._collection$_tail = _._collection$_head = 0;
4998 _.$ti = t1;
4999 },
5000 _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3) {
5001 var _ = this;
5002 _._queue = t0;
5003 _._collection$_end = t1;
5004 _._modificationCount = t2;
5005 _._collection$_position = t3;
5006 _._collection$_current = null;
5007 },
5008 SetMixin: function SetMixin() {
5009 },
5010 _SetBase: function _SetBase() {
5011 },
5012 _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
5013 },
5014 _UnmodifiableSet: function _UnmodifiableSet(t0, t1) {
5015 this._map = t0;
5016 this.$ti = t1;
5017 },
5018 _ListBase_Object_ListMixin: function _ListBase_Object_ListMixin() {
5019 },
5020 _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
5021 },
5022 __SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() {
5023 },
5024 __UnmodifiableSet__SetBase__UnmodifiableSetMixin: function __UnmodifiableSet__SetBase__UnmodifiableSetMixin() {
5025 },
5026 Utf8Decoder__convertIntercepted(allowMalformed, codeUnits, start, end) {
5027 var casted, result;
5028 if (codeUnits instanceof Uint8Array) {
5029 casted = codeUnits;
5030 end = casted.length;
5031 if (end - start < 15)
5032 return null;
5033 result = A.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end);
5034 if (result != null && allowMalformed)
5035 if (result.indexOf("\ufffd") >= 0)
5036 return null;
5037 return result;
5038 }
5039 return null;
5040 },
5041 Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
5042 var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder();
5043 if (decoder == null)
5044 return null;
5045 if (0 === start && end === codeUnits.length)
5046 return A.Utf8Decoder__useTextDecoder(decoder, codeUnits);
5047 return A.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, A.RangeError_checkValidRange(start, end, codeUnits.length)));
5048 },
5049 Utf8Decoder__useTextDecoder(decoder, codeUnits) {
5050 var t1, exception;
5051 try {
5052 t1 = decoder.decode(codeUnits);
5053 return t1;
5054 } catch (exception) {
5055 }
5056 return null;
5057 },
5058 Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
5059 if (B.JSInt_methods.$mod($length, 4) !== 0)
5060 throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
5061 if (firstPadding + paddingCount !== $length)
5062 throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
5063 if (paddingCount > 2)
5064 throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
5065 },
5066 _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
5067 var t1, i, byteOr, byte, outputIndex0, outputIndex1,
5068 bits = state >>> 2,
5069 expectedChars = 3 - (state & 3);
5070 for (t1 = J.getInterceptor$asx(bytes), i = start, byteOr = 0; i < end; ++i) {
5071 byte = t1.$index(bytes, i);
5072 byteOr = (byteOr | byte) >>> 0;
5073 bits = (bits << 8 | byte) & 16777215;
5074 --expectedChars;
5075 if (expectedChars === 0) {
5076 outputIndex0 = outputIndex + 1;
5077 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63);
5078 outputIndex = outputIndex0 + 1;
5079 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63);
5080 outputIndex0 = outputIndex + 1;
5081 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63);
5082 outputIndex = outputIndex0 + 1;
5083 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits & 63);
5084 bits = 0;
5085 expectedChars = 3;
5086 }
5087 }
5088 if (byteOr >= 0 && byteOr <= 255) {
5089 if (isLast && expectedChars < 3) {
5090 outputIndex0 = outputIndex + 1;
5091 outputIndex1 = outputIndex0 + 1;
5092 if (3 - expectedChars === 1) {
5093 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63);
5094 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63);
5095 output[outputIndex1] = 61;
5096 output[outputIndex1 + 1] = 61;
5097 } else {
5098 output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63);
5099 output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63);
5100 output[outputIndex1] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63);
5101 output[outputIndex1 + 1] = 61;
5102 }
5103 return 0;
5104 }
5105 return (bits << 2 | 3 - expectedChars) >>> 0;
5106 }
5107 for (i = start; i < end;) {
5108 byte = t1.$index(bytes, i);
5109 if (byte < 0 || byte > 255)
5110 break;
5111 ++i;
5112 }
5113 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));
5114 },
5115 JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
5116 return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
5117 },
5118 _defaultToEncodable(object) {
5119 return object.toJson$0();
5120 },
5121 _JsonStringStringifier$(_sink, _toEncodable) {
5122 return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
5123 },
5124 _JsonStringStringifier_stringify(object, toEncodable, indent) {
5125 var t1,
5126 output = new A.StringBuffer(""),
5127 stringifier = A._JsonStringStringifier$(output, toEncodable);
5128 stringifier.writeObject$1(object);
5129 t1 = output._contents;
5130 return t1.charCodeAt(0) == 0 ? t1 : t1;
5131 },
5132 _Utf8Decoder_errorDescription(state) {
5133 switch (state) {
5134 case 65:
5135 return "Missing extension byte";
5136 case 67:
5137 return "Unexpected extension byte";
5138 case 69:
5139 return "Invalid UTF-8 byte";
5140 case 71:
5141 return "Overlong encoding";
5142 case 73:
5143 return "Out of unicode range";
5144 case 75:
5145 return "Encoded surrogate";
5146 case 77:
5147 return "Unfinished UTF-8 octet sequence";
5148 default:
5149 return "";
5150 }
5151 },
5152 _Utf8Decoder__makeUint8List(codeUnits, start, end) {
5153 var t1, i, b,
5154 $length = end - start,
5155 bytes = new Uint8Array($length);
5156 for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
5157 b = t1.$index(codeUnits, start + i);
5158 bytes[i] = (b & 4294967040) >>> 0 !== 0 ? 255 : b;
5159 }
5160 return bytes;
5161 },
5162 Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() {
5163 },
5164 Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() {
5165 },
5166 AsciiCodec: function AsciiCodec() {
5167 },
5168 _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
5169 },
5170 AsciiEncoder: function AsciiEncoder(t0) {
5171 this._subsetMask = t0;
5172 },
5173 Base64Codec: function Base64Codec() {
5174 },
5175 Base64Encoder: function Base64Encoder() {
5176 },
5177 _Base64Encoder: function _Base64Encoder(t0) {
5178 this._convert$_state = 0;
5179 this._alphabet = t0;
5180 },
5181 _Base64EncoderSink: function _Base64EncoderSink() {
5182 },
5183 _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
5184 this._sink = t0;
5185 this._encoder = t1;
5186 },
5187 ByteConversionSink: function ByteConversionSink() {
5188 },
5189 ByteConversionSinkBase: function ByteConversionSinkBase() {
5190 },
5191 ChunkedConversionSink: function ChunkedConversionSink() {
5192 },
5193 Codec: function Codec() {
5194 },
5195 Converter: function Converter() {
5196 },
5197 Encoding: function Encoding() {
5198 },
5199 JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
5200 this.unsupportedObject = t0;
5201 this.cause = t1;
5202 },
5203 JsonCyclicError: function JsonCyclicError(t0, t1) {
5204 this.unsupportedObject = t0;
5205 this.cause = t1;
5206 },
5207 JsonCodec: function JsonCodec() {
5208 },
5209 JsonEncoder: function JsonEncoder(t0) {
5210 this._toEncodable = t0;
5211 },
5212 _JsonStringifier: function _JsonStringifier() {
5213 },
5214 _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
5215 this._box_0 = t0;
5216 this.keyValueList = t1;
5217 },
5218 _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
5219 this._sink = t0;
5220 this._seen = t1;
5221 this._toEncodable = t2;
5222 },
5223 StringConversionSinkBase: function StringConversionSinkBase() {
5224 },
5225 StringConversionSinkMixin: function StringConversionSinkMixin() {
5226 },
5227 _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
5228 this._stringSink = t0;
5229 },
5230 _StringCallbackSink: function _StringCallbackSink(t0, t1) {
5231 this._convert$_callback = t0;
5232 this._stringSink = t1;
5233 },
5234 _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
5235 this._decoder = t0;
5236 this._sink = t1;
5237 this._stringSink = t2;
5238 },
5239 Utf8Codec: function Utf8Codec() {
5240 },
5241 Utf8Encoder: function Utf8Encoder() {
5242 },
5243 _Utf8Encoder: function _Utf8Encoder(t0) {
5244 this._bufferIndex = 0;
5245 this._convert$_buffer = t0;
5246 },
5247 Utf8Decoder: function Utf8Decoder(t0) {
5248 this._allowMalformed = t0;
5249 },
5250 _Utf8Decoder: function _Utf8Decoder(t0) {
5251 this.allowMalformed = t0;
5252 this._convert$_state = 16;
5253 this._charOrIndex = 0;
5254 },
5255 identityHashCode(object) {
5256 return A.objectHashCode(object);
5257 },
5258 Function_apply($function, positionalArguments) {
5259 return A.Primitives_applyFunction($function, positionalArguments, null);
5260 },
5261 Expando$() {
5262 return new A.Expando(new WeakMap());
5263 },
5264 Expando__checkType(object) {
5265 var t1 = A._isBool(object) || typeof object == "number" || typeof object == "string";
5266 if (t1)
5267 throw A.wrapException(A.ArgumentError$value(object, string$.Expand, null));
5268 },
5269 int_parse(source, radix) {
5270 var value = A.Primitives_parseInt(source, radix);
5271 if (value != null)
5272 return value;
5273 throw A.wrapException(A.FormatException$(source, null, null));
5274 },
5275 double_parse(source) {
5276 var value = A.Primitives_parseDouble(source);
5277 if (value != null)
5278 return value;
5279 throw A.wrapException(A.FormatException$("Invalid double", source, null));
5280 },
5281 Error__objectToString(object) {
5282 if (object instanceof A.Closure)
5283 return object.toString$0(0);
5284 return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
5285 },
5286 List_List$filled($length, fill, growable, $E) {
5287 var i,
5288 result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
5289 if ($length !== 0 && fill != null)
5290 for (i = 0; i < result.length; ++i)
5291 result[i] = fill;
5292 return result;
5293 },
5294 List_List$from(elements, growable, $E) {
5295 var t1,
5296 list = A._setArrayType([], $E._eval$1("JSArray<0>"));
5297 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
5298 list.push(t1.get$current(t1));
5299 if (growable)
5300 return list;
5301 return J.JSArray_markFixedList(list);
5302 },
5303 List_List$of(elements, growable, $E) {
5304 var t1;
5305 if (growable)
5306 return A.List_List$_of(elements, $E);
5307 t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E));
5308 return t1;
5309 },
5310 List_List$_of(elements, $E) {
5311 var list, t1;
5312 if (Array.isArray(elements))
5313 return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
5314 list = A._setArrayType([], $E._eval$1("JSArray<0>"));
5315 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
5316 list.push(t1.get$current(t1));
5317 return list;
5318 },
5319 List_List$unmodifiable(elements, $E) {
5320 return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E));
5321 },
5322 String_String$fromCharCodes(charCodes, start, end) {
5323 var array, len;
5324 if (Array.isArray(charCodes)) {
5325 array = charCodes;
5326 len = array.length;
5327 end = A.RangeError_checkValidRange(start, end, len);
5328 return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
5329 }
5330 if (type$.NativeUint8List._is(charCodes))
5331 return A.Primitives_stringFromNativeUint8List(charCodes, start, A.RangeError_checkValidRange(start, end, charCodes.length));
5332 return A.String__stringFromIterable(charCodes, start, end);
5333 },
5334 String_String$fromCharCode(charCode) {
5335 return A.Primitives_stringFromCharCode(charCode);
5336 },
5337 String__stringFromIterable(charCodes, start, end) {
5338 var t1, it, i, list, _null = null;
5339 if (start < 0)
5340 throw A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null));
5341 t1 = end == null;
5342 if (!t1 && end < start)
5343 throw A.wrapException(A.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null));
5344 it = J.get$iterator$ax(charCodes);
5345 for (i = 0; i < start; ++i)
5346 if (!it.moveNext$0())
5347 throw A.wrapException(A.RangeError$range(start, 0, i, _null, _null));
5348 list = [];
5349 if (t1)
5350 for (; it.moveNext$0();)
5351 list.push(it.get$current(it));
5352 else
5353 for (i = start; i < end; ++i) {
5354 if (!it.moveNext$0())
5355 throw A.wrapException(A.RangeError$range(end, start, i, _null, _null));
5356 list.push(it.get$current(it));
5357 }
5358 return A.Primitives_stringFromCharCodes(list);
5359 },
5360 RegExp_RegExp(source, multiLine) {
5361 return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false));
5362 },
5363 identical(a, b) {
5364 return a == null ? b == null : a === b;
5365 },
5366 StringBuffer__writeAll(string, objects, separator) {
5367 var iterator = J.get$iterator$ax(objects);
5368 if (!iterator.moveNext$0())
5369 return string;
5370 if (separator.length === 0) {
5371 do
5372 string += A.S(iterator.get$current(iterator));
5373 while (iterator.moveNext$0());
5374 } else {
5375 string += A.S(iterator.get$current(iterator));
5376 for (; iterator.moveNext$0();)
5377 string = string + separator + A.S(iterator.get$current(iterator));
5378 }
5379 return string;
5380 },
5381 NoSuchMethodError$(receiver, memberName, positionalArguments, namedArguments) {
5382 return new A.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments);
5383 },
5384 Uri_base() {
5385 var uri = A.Primitives_currentUri();
5386 if (uri != null)
5387 return A.Uri_parse(uri);
5388 throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
5389 },
5390 _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) {
5391 var t1, bytes, i, t2, byte,
5392 _s16_ = "0123456789ABCDEF";
5393 if (encoding === B.C_Utf8Codec) {
5394 t1 = $.$get$_Uri__needsNoEncoding()._nativeRegExp;
5395 t1 = t1.test(text);
5396 } else
5397 t1 = false;
5398 if (t1)
5399 return text;
5400 bytes = encoding.get$encoder().convert$1(text);
5401 for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
5402 byte = bytes[i];
5403 if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
5404 t2 += A.Primitives_stringFromCharCode(byte);
5405 else
5406 t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
5407 }
5408 return t2.charCodeAt(0) == 0 ? t2 : t2;
5409 },
5410 StackTrace_current() {
5411 var stackTrace, exception;
5412 if ($.$get$_hasErrorStackProperty())
5413 return A.getTraceFromException(new Error());
5414 try {
5415 throw A.wrapException("");
5416 } catch (exception) {
5417 stackTrace = A.getTraceFromException(exception);
5418 return stackTrace;
5419 }
5420 },
5421 DateTime$_withValue(_value, isUtc) {
5422 var t1;
5423 if (Math.abs(_value) <= 864e13)
5424 t1 = false;
5425 else
5426 t1 = true;
5427 if (t1)
5428 A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + _value, null));
5429 A.checkNotNullable(false, "isUtc", type$.bool);
5430 return new A.DateTime(_value, false);
5431 },
5432 DateTime__fourDigits(n) {
5433 var absN = Math.abs(n),
5434 sign = n < 0 ? "-" : "";
5435 if (absN >= 1000)
5436 return "" + n;
5437 if (absN >= 100)
5438 return sign + "0" + absN;
5439 if (absN >= 10)
5440 return sign + "00" + absN;
5441 return sign + "000" + absN;
5442 },
5443 DateTime__threeDigits(n) {
5444 if (n >= 100)
5445 return "" + n;
5446 if (n >= 10)
5447 return "0" + n;
5448 return "00" + n;
5449 },
5450 DateTime__twoDigits(n) {
5451 if (n >= 10)
5452 return "" + n;
5453 return "0" + n;
5454 },
5455 Duration$(milliseconds) {
5456 return new A.Duration(1000 * milliseconds);
5457 },
5458 Error_safeToString(object) {
5459 if (typeof object == "number" || A._isBool(object) || object == null)
5460 return J.toString$0$(object);
5461 if (typeof object == "string")
5462 return JSON.stringify(object);
5463 return A.Error__objectToString(object);
5464 },
5465 AssertionError$(message) {
5466 return new A.AssertionError(message);
5467 },
5468 ArgumentError$(message, $name) {
5469 return new A.ArgumentError(false, null, $name, message);
5470 },
5471 ArgumentError$value(value, $name, message) {
5472 return new A.ArgumentError(true, value, $name, message);
5473 },
5474 ArgumentError_checkNotNull(argument, $name) {
5475 return argument;
5476 },
5477 RangeError$(message) {
5478 var _null = null;
5479 return new A.RangeError(_null, _null, false, _null, _null, message);
5480 },
5481 RangeError$value(value, $name, message) {
5482 return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
5483 },
5484 RangeError$range(invalidValue, minValue, maxValue, $name, message) {
5485 return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
5486 },
5487 RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
5488 if (value < minValue || value > maxValue)
5489 throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
5490 return value;
5491 },
5492 RangeError_checkValidIndex(index, indexable, $name) {
5493 var $length = indexable.get$length(indexable);
5494 if (0 > index || index >= $length)
5495 throw A.wrapException(A.IndexError$(index, indexable, $name == null ? "index" : $name, null, $length));
5496 return index;
5497 },
5498 RangeError_checkValidRange(start, end, $length) {
5499 if (0 > start || start > $length)
5500 throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
5501 if (end != null) {
5502 if (start > end || end > $length)
5503 throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
5504 return end;
5505 }
5506 return $length;
5507 },
5508 RangeError_checkNotNegative(value, $name) {
5509 if (value < 0)
5510 throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
5511 return value;
5512 },
5513 IndexError$(invalidValue, indexable, $name, message, $length) {
5514 var t1 = $length == null ? J.get$length$asx(indexable) : $length;
5515 return new A.IndexError(t1, true, invalidValue, $name, "Index out of range");
5516 },
5517 UnsupportedError$(message) {
5518 return new A.UnsupportedError(message);
5519 },
5520 UnimplementedError$(message) {
5521 return new A.UnimplementedError(message);
5522 },
5523 StateError$(message) {
5524 return new A.StateError(message);
5525 },
5526 ConcurrentModificationError$(modifiedObject) {
5527 return new A.ConcurrentModificationError(modifiedObject);
5528 },
5529 FormatException$(message, source, offset) {
5530 return new A.FormatException(message, source, offset);
5531 },
5532 Iterable_Iterable$generate(count, generator, $E) {
5533 if (count <= 0)
5534 return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
5535 return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
5536 },
5537 Map_castFrom(source, $K, $V, K2, V2) {
5538 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>"));
5539 },
5540 Object_hash(object1, object2) {
5541 var t2,
5542 t1 = object1.get$hashCode(object1);
5543 object2 = A.Primitives_objectHashCode(object2);
5544 t2 = $.$get$_hashSeed();
5545 return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(t2, t1), object2));
5546 },
5547 print(object) {
5548 var line = A.S(object),
5549 toZone = $.printToZone;
5550 if (toZone == null)
5551 A.printString(line);
5552 else
5553 toZone.call$1(line);
5554 },
5555 Set_castFrom(source, newSet, $S, $T) {
5556 return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
5557 },
5558 _combineSurrogatePair(start, end) {
5559 return 65536 + ((start & 1023) << 10) + (end & 1023);
5560 },
5561 Uri_Uri$dataFromString($content, encoding, mimeType) {
5562 var encodingName, t1,
5563 buffer = new A.StringBuffer(""),
5564 indices = A._setArrayType([-1], type$.JSArray_int);
5565 if (encoding == null)
5566 encodingName = null;
5567 else
5568 encodingName = "utf-8";
5569 if (encoding == null)
5570 encoding = B.C_AsciiCodec;
5571 A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
5572 indices.push(buffer._contents.length);
5573 buffer._contents += ",";
5574 A.UriData__uriEncodeBytes(B.List_CVk, encoding.encode$1($content), buffer);
5575 t1 = buffer._contents;
5576 return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
5577 },
5578 Uri_parse(uri) {
5579 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,
5580 end = uri.length;
5581 if (end >= 5) {
5582 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;
5583 if (delta === 0)
5584 return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
5585 else if (delta === 32)
5586 return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
5587 }
5588 indices = A.List_List$filled(8, 0, false, type$.int);
5589 indices[0] = 0;
5590 indices[1] = -1;
5591 indices[2] = -1;
5592 indices[7] = -1;
5593 indices[3] = 0;
5594 indices[4] = 0;
5595 indices[5] = end;
5596 indices[6] = end;
5597 if (A._scan(uri, 0, end, 0, indices) >= 14)
5598 indices[7] = end;
5599 schemeEnd = indices[1];
5600 if (schemeEnd >= 0)
5601 if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
5602 indices[7] = schemeEnd;
5603 hostStart = indices[2] + 1;
5604 portStart = indices[3];
5605 pathStart = indices[4];
5606 queryStart = indices[5];
5607 fragmentStart = indices[6];
5608 if (fragmentStart < queryStart)
5609 queryStart = fragmentStart;
5610 if (pathStart < hostStart)
5611 pathStart = queryStart;
5612 else if (pathStart <= schemeEnd)
5613 pathStart = schemeEnd + 1;
5614 if (portStart < hostStart)
5615 portStart = pathStart;
5616 isSimple = indices[7] < 0;
5617 if (isSimple)
5618 if (hostStart > schemeEnd + 3) {
5619 scheme = _null;
5620 isSimple = false;
5621 } else {
5622 t1 = portStart > 0;
5623 if (t1 && portStart + 1 === pathStart) {
5624 scheme = _null;
5625 isSimple = false;
5626 } else {
5627 if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
5628 t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
5629 else
5630 t2 = true;
5631 if (t2) {
5632 scheme = _null;
5633 isSimple = false;
5634 } else {
5635 if (schemeEnd === 4)
5636 if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
5637 if (hostStart <= 0) {
5638 if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
5639 schemeAuth = "file:///";
5640 delta = 3;
5641 } else {
5642 schemeAuth = "file://";
5643 delta = 2;
5644 }
5645 uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
5646 schemeEnd -= 0;
5647 t1 = delta - 0;
5648 queryStart += t1;
5649 fragmentStart += t1;
5650 end = uri.length;
5651 hostStart = 7;
5652 portStart = 7;
5653 pathStart = 7;
5654 } else if (pathStart === queryStart) {
5655 ++fragmentStart;
5656 queryStart0 = queryStart + 1;
5657 uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
5658 ++end;
5659 queryStart = queryStart0;
5660 }
5661 scheme = "file";
5662 } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
5663 if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
5664 fragmentStart -= 3;
5665 pathStart0 = pathStart - 3;
5666 queryStart -= 3;
5667 uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
5668 end -= 3;
5669 pathStart = pathStart0;
5670 }
5671 scheme = "http";
5672 } else
5673 scheme = _null;
5674 else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
5675 if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
5676 fragmentStart -= 4;
5677 pathStart0 = pathStart - 4;
5678 queryStart -= 4;
5679 uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
5680 end -= 3;
5681 pathStart = pathStart0;
5682 }
5683 scheme = "https";
5684 } else
5685 scheme = _null;
5686 isSimple = true;
5687 }
5688 }
5689 }
5690 else
5691 scheme = _null;
5692 if (isSimple) {
5693 if (end < uri.length) {
5694 uri = B.JSString_methods.substring$2(uri, 0, end);
5695 schemeEnd -= 0;
5696 hostStart -= 0;
5697 portStart -= 0;
5698 pathStart -= 0;
5699 queryStart -= 0;
5700 fragmentStart -= 0;
5701 }
5702 return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
5703 }
5704 if (scheme == null)
5705 if (schemeEnd > 0)
5706 scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
5707 else {
5708 if (schemeEnd === 0)
5709 A._Uri__fail(uri, 0, "Invalid empty scheme");
5710 scheme = "";
5711 }
5712 if (hostStart > 0) {
5713 userInfoStart = schemeEnd + 3;
5714 userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
5715 host = A._Uri__makeHost(uri, hostStart, portStart, false);
5716 t1 = portStart + 1;
5717 if (t1 < pathStart) {
5718 portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
5719 port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
5720 } else
5721 port = _null;
5722 } else {
5723 port = _null;
5724 host = port;
5725 userInfo = "";
5726 }
5727 path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
5728 query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
5729 return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
5730 },
5731 Uri_decodeComponent(encodedComponent) {
5732 return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
5733 },
5734 Uri__parseIPv4Address(host, start, end) {
5735 var i, partStart, partIndex, char, part, partIndex0,
5736 _s43_ = "IPv4 address should contain exactly 4 parts",
5737 _s37_ = "each part must be in the range 0..255",
5738 error = new A.Uri__parseIPv4Address_error(host),
5739 result = new Uint8Array(4);
5740 for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
5741 char = B.JSString_methods.codeUnitAt$1(host, i);
5742 if (char !== 46) {
5743 if ((char ^ 48) > 9)
5744 error.call$2("invalid character", i);
5745 } else {
5746 if (partIndex === 3)
5747 error.call$2(_s43_, i);
5748 part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
5749 if (part > 255)
5750 error.call$2(_s37_, partStart);
5751 partIndex0 = partIndex + 1;
5752 result[partIndex] = part;
5753 partStart = i + 1;
5754 partIndex = partIndex0;
5755 }
5756 }
5757 if (partIndex !== 3)
5758 error.call$2(_s43_, end);
5759 part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
5760 if (part > 255)
5761 error.call$2(_s37_, partStart);
5762 result[partIndex] = part;
5763 return result;
5764 },
5765 Uri_parseIPv6Address(host, start, end) {
5766 var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j,
5767 error = new A.Uri_parseIPv6Address_error(host),
5768 parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
5769 if (host.length < 2)
5770 error.call$1("address is too short");
5771 parts = A._setArrayType([], type$.JSArray_int);
5772 for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
5773 char = B.JSString_methods.codeUnitAt$1(host, i);
5774 if (char === 58) {
5775 if (i === start) {
5776 ++i;
5777 if (B.JSString_methods.codeUnitAt$1(host, i) !== 58)
5778 error.call$2("invalid start colon.", i);
5779 partStart = i;
5780 }
5781 if (i === partStart) {
5782 if (wildcardSeen)
5783 error.call$2("only one wildcard `::` is allowed", i);
5784 parts.push(-1);
5785 wildcardSeen = true;
5786 } else
5787 parts.push(parseHex.call$2(partStart, i));
5788 partStart = i + 1;
5789 } else if (char === 46)
5790 seenDot = true;
5791 }
5792 if (parts.length === 0)
5793 error.call$1("too few parts");
5794 atEnd = partStart === end;
5795 t1 = B.JSArray_methods.get$last(parts);
5796 if (atEnd && t1 !== -1)
5797 error.call$2("expected a part after last `:`", end);
5798 if (!atEnd)
5799 if (!seenDot)
5800 parts.push(parseHex.call$2(partStart, end));
5801 else {
5802 last = A.Uri__parseIPv4Address(host, partStart, end);
5803 parts.push((last[0] << 8 | last[1]) >>> 0);
5804 parts.push((last[2] << 8 | last[3]) >>> 0);
5805 }
5806 if (wildcardSeen) {
5807 if (parts.length > 7)
5808 error.call$1("an address with a wildcard must have less than 7 parts");
5809 } else if (parts.length !== 8)
5810 error.call$1("an address without a wildcard must contain exactly 8 parts");
5811 bytes = new Uint8Array(16);
5812 for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
5813 value = parts[i];
5814 if (value === -1)
5815 for (j = 0; j < wildCardLength; ++j) {
5816 bytes[index] = 0;
5817 bytes[index + 1] = 0;
5818 index += 2;
5819 }
5820 else {
5821 bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
5822 bytes[index + 1] = value & 255;
5823 index += 2;
5824 }
5825 }
5826 return bytes;
5827 },
5828 _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
5829 return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
5830 },
5831 _Uri__Uri(host, path, pathSegments, scheme) {
5832 var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
5833 scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
5834 userInfo = A._Uri__makeUserInfo(_null, 0, 0);
5835 host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
5836 query = A._Uri__makeQuery(_null, 0, 0, _null);
5837 fragment = A._Uri__makeFragment(_null, 0, 0);
5838 port = A._Uri__makePort(_null, scheme);
5839 isFile = scheme === "file";
5840 if (host == null)
5841 t1 = userInfo.length !== 0 || port != null || isFile;
5842 else
5843 t1 = false;
5844 if (t1)
5845 host = "";
5846 t1 = host == null;
5847 hasAuthority = !t1;
5848 path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
5849 t2 = scheme.length === 0;
5850 if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
5851 path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
5852 else
5853 path = A._Uri__removeDotSegments(path);
5854 return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
5855 },
5856 _Uri__defaultPort(scheme) {
5857 if (scheme === "http")
5858 return 80;
5859 if (scheme === "https")
5860 return 443;
5861 return 0;
5862 },
5863 _Uri__compareScheme(scheme, uri) {
5864 var t1, i, schemeChar, uriChar, delta, lowerChar;
5865 for (t1 = scheme.length, i = 0; i < t1; ++i) {
5866 schemeChar = B.JSString_methods._codeUnitAt$1(scheme, i);
5867 uriChar = B.JSString_methods._codeUnitAt$1(uri, i);
5868 delta = schemeChar ^ uriChar;
5869 if (delta !== 0) {
5870 if (delta === 32) {
5871 lowerChar = uriChar | delta;
5872 if (97 <= lowerChar && lowerChar <= 122)
5873 continue;
5874 }
5875 return false;
5876 }
5877 }
5878 return true;
5879 },
5880 _Uri__fail(uri, index, message) {
5881 throw A.wrapException(A.FormatException$(message, uri, index));
5882 },
5883 _Uri__Uri$file(path, windows) {
5884 return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
5885 },
5886 _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
5887 var t1, _i, segment, t2, t3;
5888 for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
5889 segment = segments[_i];
5890 t2 = J.getInterceptor$asx(segment);
5891 t3 = t2.get$length(segment);
5892 if (0 > t3)
5893 A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null));
5894 if (A.stringContainsUnchecked(segment, "/", 0)) {
5895 t1 = A.UnsupportedError$("Illegal path character " + A.S(segment));
5896 throw A.wrapException(t1);
5897 }
5898 }
5899 },
5900 _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
5901 var t1, t2, t3, t4;
5902 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();) {
5903 t3 = t2._as(t1.__internal$_current);
5904 t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
5905 if (A.stringContainsUnchecked(t3, t4, 0))
5906 if (argumentError)
5907 throw A.wrapException(A.ArgumentError$("Illegal character in path", null));
5908 else
5909 throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
5910 }
5911 },
5912 _Uri__checkWindowsDriveLetter(charCode, argumentError) {
5913 var t1,
5914 _s21_ = "Illegal drive letter ";
5915 if (!(65 <= charCode && charCode <= 90))
5916 t1 = 97 <= charCode && charCode <= 122;
5917 else
5918 t1 = true;
5919 if (t1)
5920 return;
5921 if (argumentError)
5922 throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
5923 else
5924 throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
5925 },
5926 _Uri__makeFileUri(path, slashTerminated) {
5927 var _null = null,
5928 segments = A._setArrayType(path.split("/"), type$.JSArray_String);
5929 if (B.JSString_methods.startsWith$1(path, "/"))
5930 return A._Uri__Uri(_null, _null, segments, "file");
5931 else
5932 return A._Uri__Uri(_null, _null, segments, _null);
5933 },
5934 _Uri__makeWindowsFileUrl(path, slashTerminated) {
5935 var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
5936 if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
5937 if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
5938 path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
5939 else {
5940 path = B.JSString_methods.substring$1(path, 4);
5941 if (path.length < 3 || B.JSString_methods._codeUnitAt$1(path, 1) !== 58 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
5942 throw A.wrapException(A.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute", _null));
5943 }
5944 else
5945 path = A.stringReplaceAllUnchecked(path, "/", _s1_);
5946 t1 = path.length;
5947 if (t1 > 1 && B.JSString_methods._codeUnitAt$1(path, 1) === 58) {
5948 A._Uri__checkWindowsDriveLetter(B.JSString_methods._codeUnitAt$1(path, 0), true);
5949 if (t1 === 2 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
5950 throw A.wrapException(A.ArgumentError$("Windows paths with drive letter must be absolute", _null));
5951 pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
5952 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
5953 return A._Uri__Uri(_null, _null, pathSegments, _s4_);
5954 }
5955 if (B.JSString_methods.startsWith$1(path, _s1_))
5956 if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
5957 pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
5958 t1 = pathStart < 0;
5959 hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
5960 pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
5961 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
5962 return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
5963 } else {
5964 pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
5965 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
5966 return A._Uri__Uri(_null, _null, pathSegments, _s4_);
5967 }
5968 else {
5969 pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
5970 A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
5971 return A._Uri__Uri(_null, _null, pathSegments, _null);
5972 }
5973 },
5974 _Uri__makePort(port, scheme) {
5975 if (port != null && port === A._Uri__defaultPort(scheme))
5976 return null;
5977 return port;
5978 },
5979 _Uri__makeHost(host, start, end, strictIPv6) {
5980 var t1, t2, index, zoneIDstart, zoneID, i;
5981 if (host == null)
5982 return null;
5983 if (start === end)
5984 return "";
5985 if (B.JSString_methods.codeUnitAt$1(host, start) === 91) {
5986 t1 = end - 1;
5987 if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93)
5988 A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
5989 t2 = start + 1;
5990 index = A._Uri__checkZoneID(host, t2, t1);
5991 if (index < t1) {
5992 zoneIDstart = index + 1;
5993 zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
5994 } else
5995 zoneID = "";
5996 A.Uri_parseIPv6Address(host, t2, index);
5997 return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
5998 }
5999 for (i = start; i < end; ++i)
6000 if (B.JSString_methods.codeUnitAt$1(host, i) === 58) {
6001 index = B.JSString_methods.indexOf$2(host, "%", start);
6002 index = index >= start && index < end ? index : end;
6003 if (index < end) {
6004 zoneIDstart = index + 1;
6005 zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
6006 } else
6007 zoneID = "";
6008 A.Uri_parseIPv6Address(host, start, index);
6009 return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
6010 }
6011 return A._Uri__normalizeRegName(host, start, end);
6012 },
6013 _Uri__checkZoneID(host, start, end) {
6014 var index = B.JSString_methods.indexOf$2(host, "%", start);
6015 return index >= start && index < end ? index : end;
6016 },
6017 _Uri__normalizeZoneID(host, start, end, prefix) {
6018 var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice,
6019 buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
6020 for (index = start, sectionStart = index, isNormalized = true; index < end;) {
6021 char = B.JSString_methods.codeUnitAt$1(host, index);
6022 if (char === 37) {
6023 replacement = A._Uri__normalizeEscape(host, index, true);
6024 t1 = replacement == null;
6025 if (t1 && isNormalized) {
6026 index += 3;
6027 continue;
6028 }
6029 if (buffer == null)
6030 buffer = new A.StringBuffer("");
6031 t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6032 if (t1)
6033 replacement = B.JSString_methods.substring$2(host, index, index + 3);
6034 else if (replacement === "%")
6035 A._Uri__fail(host, index, "ZoneID should not contain % anymore");
6036 buffer._contents = t2 + replacement;
6037 index += 3;
6038 sectionStart = index;
6039 isNormalized = true;
6040 } else if (char < 127 && (B.List_nxB[char >>> 4] & 1 << (char & 15)) !== 0) {
6041 if (isNormalized && 65 <= char && 90 >= char) {
6042 if (buffer == null)
6043 buffer = new A.StringBuffer("");
6044 if (sectionStart < index) {
6045 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6046 sectionStart = index;
6047 }
6048 isNormalized = false;
6049 }
6050 ++index;
6051 } else {
6052 if ((char & 64512) === 55296 && index + 1 < end) {
6053 tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
6054 if ((tail & 64512) === 56320) {
6055 char = (char & 1023) << 10 | tail & 1023 | 65536;
6056 sourceLength = 2;
6057 } else
6058 sourceLength = 1;
6059 } else
6060 sourceLength = 1;
6061 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6062 if (buffer == null) {
6063 buffer = new A.StringBuffer("");
6064 t1 = buffer;
6065 } else
6066 t1 = buffer;
6067 t1._contents += slice;
6068 t1._contents += A._Uri__escapeChar(char);
6069 index += sourceLength;
6070 sectionStart = index;
6071 }
6072 }
6073 if (buffer == null)
6074 return B.JSString_methods.substring$2(host, start, end);
6075 if (sectionStart < end)
6076 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end);
6077 t1 = buffer._contents;
6078 return t1.charCodeAt(0) == 0 ? t1 : t1;
6079 },
6080 _Uri__normalizeRegName(host, start, end) {
6081 var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail;
6082 for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
6083 char = B.JSString_methods.codeUnitAt$1(host, index);
6084 if (char === 37) {
6085 replacement = A._Uri__normalizeEscape(host, index, true);
6086 t1 = replacement == null;
6087 if (t1 && isNormalized) {
6088 index += 3;
6089 continue;
6090 }
6091 if (buffer == null)
6092 buffer = new A.StringBuffer("");
6093 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6094 t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
6095 if (t1) {
6096 replacement = B.JSString_methods.substring$2(host, index, index + 3);
6097 sourceLength = 3;
6098 } else if (replacement === "%") {
6099 replacement = "%25";
6100 sourceLength = 1;
6101 } else
6102 sourceLength = 3;
6103 buffer._contents = t2 + replacement;
6104 index += sourceLength;
6105 sectionStart = index;
6106 isNormalized = true;
6107 } else if (char < 127 && (B.List_qNA[char >>> 4] & 1 << (char & 15)) !== 0) {
6108 if (isNormalized && 65 <= char && 90 >= char) {
6109 if (buffer == null)
6110 buffer = new A.StringBuffer("");
6111 if (sectionStart < index) {
6112 buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
6113 sectionStart = index;
6114 }
6115 isNormalized = false;
6116 }
6117 ++index;
6118 } else if (char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0)
6119 A._Uri__fail(host, index, "Invalid character");
6120 else {
6121 if ((char & 64512) === 55296 && index + 1 < end) {
6122 tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
6123 if ((tail & 64512) === 56320) {
6124 char = (char & 1023) << 10 | tail & 1023 | 65536;
6125 sourceLength = 2;
6126 } else
6127 sourceLength = 1;
6128 } else
6129 sourceLength = 1;
6130 slice = B.JSString_methods.substring$2(host, sectionStart, index);
6131 if (!isNormalized)
6132 slice = slice.toLowerCase();
6133 if (buffer == null) {
6134 buffer = new A.StringBuffer("");
6135 t1 = buffer;
6136 } else
6137 t1 = buffer;
6138 t1._contents += slice;
6139 t1._contents += A._Uri__escapeChar(char);
6140 index += sourceLength;
6141 sectionStart = index;
6142 }
6143 }
6144 if (buffer == null)
6145 return B.JSString_methods.substring$2(host, start, end);
6146 if (sectionStart < end) {
6147 slice = B.JSString_methods.substring$2(host, sectionStart, end);
6148 buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
6149 }
6150 t1 = buffer._contents;
6151 return t1.charCodeAt(0) == 0 ? t1 : t1;
6152 },
6153 _Uri__makeScheme(scheme, start, end) {
6154 var i, containsUpperCase, codeUnit;
6155 if (start === end)
6156 return "";
6157 if (!A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(scheme, start)))
6158 A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
6159 for (i = start, containsUpperCase = false; i < end; ++i) {
6160 codeUnit = B.JSString_methods._codeUnitAt$1(scheme, i);
6161 if (!(codeUnit < 128 && (B.List_JYB[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0))
6162 A._Uri__fail(scheme, i, "Illegal scheme character");
6163 if (65 <= codeUnit && codeUnit <= 90)
6164 containsUpperCase = true;
6165 }
6166 scheme = B.JSString_methods.substring$2(scheme, start, end);
6167 return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
6168 },
6169 _Uri__canonicalizeScheme(scheme) {
6170 if (scheme === "http")
6171 return "http";
6172 if (scheme === "file")
6173 return "file";
6174 if (scheme === "https")
6175 return "https";
6176 if (scheme === "package")
6177 return "package";
6178 return scheme;
6179 },
6180 _Uri__makeUserInfo(userInfo, start, end) {
6181 if (userInfo == null)
6182 return "";
6183 return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_gRj, false);
6184 },
6185 _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
6186 var result,
6187 isFile = scheme === "file",
6188 ensureLeadingSlash = isFile || hasAuthority;
6189 if (path == null) {
6190 if (pathSegments == null)
6191 return isFile ? "/" : "";
6192 result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
6193 } else if (pathSegments != null)
6194 throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
6195 else
6196 result = A._Uri__normalizeOrSubstring(path, start, end, B.List_qg4, true);
6197 if (result.length === 0) {
6198 if (isFile)
6199 return "/";
6200 } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
6201 result = "/" + result;
6202 return A._Uri__normalizePath(result, scheme, hasAuthority);
6203 },
6204 _Uri__normalizePath(path, scheme, hasAuthority) {
6205 var t1 = scheme.length === 0;
6206 if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/"))
6207 return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
6208 return A._Uri__removeDotSegments(path);
6209 },
6210 _Uri__makeQuery(query, start, end, queryParameters) {
6211 if (query != null)
6212 return A._Uri__normalizeOrSubstring(query, start, end, B.List_CVk, true);
6213 return null;
6214 },
6215 _Uri__makeFragment(fragment, start, end) {
6216 if (fragment == null)
6217 return null;
6218 return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_CVk, true);
6219 },
6220 _Uri__normalizeEscape(source, index, lowerCase) {
6221 var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
6222 t1 = index + 2;
6223 if (t1 >= source.length)
6224 return "%";
6225 firstDigit = B.JSString_methods.codeUnitAt$1(source, index + 1);
6226 secondDigit = B.JSString_methods.codeUnitAt$1(source, t1);
6227 firstDigitValue = A.hexDigitValue(firstDigit);
6228 secondDigitValue = A.hexDigitValue(secondDigit);
6229 if (firstDigitValue < 0 || secondDigitValue < 0)
6230 return "%";
6231 value = firstDigitValue * 16 + secondDigitValue;
6232 if (value < 127 && (B.List_nxB[B.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0)
6233 return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
6234 if (firstDigit >= 97 || secondDigit >= 97)
6235 return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
6236 return null;
6237 },
6238 _Uri__escapeChar(char) {
6239 var codeUnits, flag, encodedBytes, index, byte,
6240 _s16_ = "0123456789ABCDEF";
6241 if (char < 128) {
6242 codeUnits = new Uint8Array(3);
6243 codeUnits[0] = 37;
6244 codeUnits[1] = B.JSString_methods._codeUnitAt$1(_s16_, char >>> 4);
6245 codeUnits[2] = B.JSString_methods._codeUnitAt$1(_s16_, char & 15);
6246 } else {
6247 if (char > 2047)
6248 if (char > 65535) {
6249 flag = 240;
6250 encodedBytes = 4;
6251 } else {
6252 flag = 224;
6253 encodedBytes = 3;
6254 }
6255 else {
6256 flag = 192;
6257 encodedBytes = 2;
6258 }
6259 codeUnits = new Uint8Array(3 * encodedBytes);
6260 for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
6261 byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
6262 codeUnits[index] = 37;
6263 codeUnits[index + 1] = B.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4);
6264 codeUnits[index + 2] = B.JSString_methods._codeUnitAt$1(_s16_, byte & 15);
6265 index += 3;
6266 }
6267 }
6268 return A.String_String$fromCharCodes(codeUnits, 0, null);
6269 },
6270 _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters) {
6271 var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters);
6272 return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
6273 },
6274 _Uri__normalize(component, start, end, charTable, escapeDelimiters) {
6275 var t1, index, sectionStart, buffer, char, replacement, sourceLength, t2, tail, _null = null;
6276 for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
6277 char = B.JSString_methods.codeUnitAt$1(component, index);
6278 if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0)
6279 ++index;
6280 else {
6281 if (char === 37) {
6282 replacement = A._Uri__normalizeEscape(component, index, false);
6283 if (replacement == null) {
6284 index += 3;
6285 continue;
6286 }
6287 if ("%" === replacement) {
6288 replacement = "%25";
6289 sourceLength = 1;
6290 } else
6291 sourceLength = 3;
6292 } else if (t1 && char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0) {
6293 A._Uri__fail(component, index, "Invalid character");
6294 sourceLength = _null;
6295 replacement = sourceLength;
6296 } else {
6297 if ((char & 64512) === 55296) {
6298 t2 = index + 1;
6299 if (t2 < end) {
6300 tail = B.JSString_methods.codeUnitAt$1(component, t2);
6301 if ((tail & 64512) === 56320) {
6302 char = (char & 1023) << 10 | tail & 1023 | 65536;
6303 sourceLength = 2;
6304 } else
6305 sourceLength = 1;
6306 } else
6307 sourceLength = 1;
6308 } else
6309 sourceLength = 1;
6310 replacement = A._Uri__escapeChar(char);
6311 }
6312 if (buffer == null) {
6313 buffer = new A.StringBuffer("");
6314 t2 = buffer;
6315 } else
6316 t2 = buffer;
6317 t2._contents += B.JSString_methods.substring$2(component, sectionStart, index);
6318 t2._contents += A.S(replacement);
6319 index += sourceLength;
6320 sectionStart = index;
6321 }
6322 }
6323 if (buffer == null)
6324 return _null;
6325 if (sectionStart < end)
6326 buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end);
6327 t1 = buffer._contents;
6328 return t1.charCodeAt(0) == 0 ? t1 : t1;
6329 },
6330 _Uri__mayContainDotSegments(path) {
6331 if (B.JSString_methods.startsWith$1(path, "."))
6332 return true;
6333 return B.JSString_methods.indexOf$1(path, "/.") !== -1;
6334 },
6335 _Uri__removeDotSegments(path) {
6336 var output, t1, t2, appendSlash, _i, segment;
6337 if (!A._Uri__mayContainDotSegments(path))
6338 return path;
6339 output = A._setArrayType([], type$.JSArray_String);
6340 for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
6341 segment = t1[_i];
6342 if (J.$eq$(segment, "..")) {
6343 if (output.length !== 0) {
6344 output.pop();
6345 if (output.length === 0)
6346 output.push("");
6347 }
6348 appendSlash = true;
6349 } else if ("." === segment)
6350 appendSlash = true;
6351 else {
6352 output.push(segment);
6353 appendSlash = false;
6354 }
6355 }
6356 if (appendSlash)
6357 output.push("");
6358 return B.JSArray_methods.join$1(output, "/");
6359 },
6360 _Uri__normalizeRelativePath(path, allowScheme) {
6361 var output, t1, t2, appendSlash, _i, segment;
6362 if (!A._Uri__mayContainDotSegments(path))
6363 return !allowScheme ? A._Uri__escapeScheme(path) : path;
6364 output = A._setArrayType([], type$.JSArray_String);
6365 for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
6366 segment = t1[_i];
6367 if (".." === segment)
6368 if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..") {
6369 output.pop();
6370 appendSlash = true;
6371 } else {
6372 output.push("..");
6373 appendSlash = false;
6374 }
6375 else if ("." === segment)
6376 appendSlash = true;
6377 else {
6378 output.push(segment);
6379 appendSlash = false;
6380 }
6381 }
6382 t1 = output.length;
6383 if (t1 !== 0)
6384 t1 = t1 === 1 && output[0].length === 0;
6385 else
6386 t1 = true;
6387 if (t1)
6388 return "./";
6389 if (appendSlash || B.JSArray_methods.get$last(output) === "..")
6390 output.push("");
6391 if (!allowScheme)
6392 output[0] = A._Uri__escapeScheme(output[0]);
6393 return B.JSArray_methods.join$1(output, "/");
6394 },
6395 _Uri__escapeScheme(path) {
6396 var i, char,
6397 t1 = path.length;
6398 if (t1 >= 2 && A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(path, 0)))
6399 for (i = 1; i < t1; ++i) {
6400 char = B.JSString_methods._codeUnitAt$1(path, i);
6401 if (char === 58)
6402 return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
6403 if (char > 127 || (B.List_JYB[char >>> 4] & 1 << (char & 15)) === 0)
6404 break;
6405 }
6406 return path;
6407 },
6408 _Uri__packageNameEnd(uri, path) {
6409 if (uri.isScheme$1("package") && uri._host == null)
6410 return A._skipPackageNameChars(path, 0, path.length);
6411 return -1;
6412 },
6413 _Uri__toWindowsFilePath(uri) {
6414 var hasDriveLetter, t2, host,
6415 segments = uri.get$pathSegments(),
6416 t1 = segments.length;
6417 if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) {
6418 A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false);
6419 A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
6420 hasDriveLetter = true;
6421 } else {
6422 A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
6423 hasDriveLetter = false;
6424 }
6425 t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
6426 if (uri.get$hasAuthority()) {
6427 host = uri.get$host();
6428 if (host.length !== 0)
6429 t2 = t2 + "\\" + host + "\\";
6430 }
6431 t2 = A.StringBuffer__writeAll(t2, segments, "\\");
6432 t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
6433 return t1.charCodeAt(0) == 0 ? t1 : t1;
6434 },
6435 _Uri__hexCharPairToByte(s, pos) {
6436 var byte, i, charCode;
6437 for (byte = 0, i = 0; i < 2; ++i) {
6438 charCode = B.JSString_methods._codeUnitAt$1(s, pos + i);
6439 if (48 <= charCode && charCode <= 57)
6440 byte = byte * 16 + charCode - 48;
6441 else {
6442 charCode |= 32;
6443 if (97 <= charCode && charCode <= 102)
6444 byte = byte * 16 + charCode - 87;
6445 else
6446 throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
6447 }
6448 }
6449 return byte;
6450 },
6451 _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
6452 var simple, codeUnit, t1, bytes,
6453 i = start;
6454 while (true) {
6455 if (!(i < end)) {
6456 simple = true;
6457 break;
6458 }
6459 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
6460 if (codeUnit <= 127)
6461 if (codeUnit !== 37)
6462 t1 = false;
6463 else
6464 t1 = true;
6465 else
6466 t1 = true;
6467 if (t1) {
6468 simple = false;
6469 break;
6470 }
6471 ++i;
6472 }
6473 if (simple) {
6474 if (B.C_Utf8Codec !== encoding)
6475 t1 = false;
6476 else
6477 t1 = true;
6478 if (t1)
6479 return B.JSString_methods.substring$2(text, start, end);
6480 else
6481 bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
6482 } else {
6483 bytes = A._setArrayType([], type$.JSArray_int);
6484 for (t1 = text.length, i = start; i < end; ++i) {
6485 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
6486 if (codeUnit > 127)
6487 throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
6488 if (codeUnit === 37) {
6489 if (i + 3 > t1)
6490 throw A.wrapException(A.ArgumentError$("Truncated URI", null));
6491 bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
6492 i += 2;
6493 } else
6494 bytes.push(codeUnit);
6495 }
6496 }
6497 return B.Utf8Decoder_false.convert$1(bytes);
6498 },
6499 _Uri__isAlphabeticCharacter(codeUnit) {
6500 var lowerCase = codeUnit | 32;
6501 return 97 <= lowerCase && lowerCase <= 122;
6502 },
6503 UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
6504 var t1, slashIndex;
6505 if (mimeType == null || mimeType === "text/plain")
6506 mimeType = "";
6507 if (mimeType.length === 0 || mimeType === "application/octet-stream")
6508 t1 = buffer._contents += mimeType;
6509 else {
6510 slashIndex = A.UriData__validateMimeType(mimeType);
6511 if (slashIndex < 0)
6512 throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
6513 t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
6514 buffer._contents = t1 + "/";
6515 t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
6516 }
6517 if (charsetName != null) {
6518 indices.push(t1.length);
6519 indices.push(buffer._contents.length + 8);
6520 buffer._contents += ";charset=";
6521 buffer._contents += A._Uri__uriEncode(B.List_qFt, charsetName, B.C_Utf8Codec, false);
6522 }
6523 },
6524 UriData__validateMimeType(mimeType) {
6525 var t1, slashIndex, i;
6526 for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
6527 if (B.JSString_methods._codeUnitAt$1(mimeType, i) !== 47)
6528 continue;
6529 if (slashIndex < 0) {
6530 slashIndex = i;
6531 continue;
6532 }
6533 return -1;
6534 }
6535 return slashIndex;
6536 },
6537 UriData__parse(text, start, sourceUri) {
6538 var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
6539 _s17_ = "Invalid MIME type",
6540 indices = A._setArrayType([start - 1], type$.JSArray_int);
6541 for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
6542 char = B.JSString_methods._codeUnitAt$1(text, i);
6543 if (char === 44 || char === 59)
6544 break;
6545 if (char === 47) {
6546 if (slashIndex < 0) {
6547 slashIndex = i;
6548 continue;
6549 }
6550 throw A.wrapException(A.FormatException$(_s17_, text, i));
6551 }
6552 }
6553 if (slashIndex < 0 && i > start)
6554 throw A.wrapException(A.FormatException$(_s17_, text, i));
6555 for (; char !== 44;) {
6556 indices.push(i);
6557 ++i;
6558 for (equalsIndex = -1; i < t1; ++i) {
6559 char = B.JSString_methods._codeUnitAt$1(text, i);
6560 if (char === 61) {
6561 if (equalsIndex < 0)
6562 equalsIndex = i;
6563 } else if (char === 59 || char === 44)
6564 break;
6565 }
6566 if (equalsIndex >= 0)
6567 indices.push(equalsIndex);
6568 else {
6569 lastSeparator = B.JSArray_methods.get$last(indices);
6570 if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
6571 throw A.wrapException(A.FormatException$("Expecting '='", text, i));
6572 break;
6573 }
6574 }
6575 indices.push(i);
6576 t2 = i + 1;
6577 if ((indices.length & 1) === 1)
6578 text = B.C_Base64Codec.normalize$3(text, t2, t1);
6579 else {
6580 data = A._Uri__normalize(text, t2, t1, B.List_CVk, true);
6581 if (data != null)
6582 text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
6583 }
6584 return new A.UriData(text, indices, sourceUri);
6585 },
6586 UriData__uriEncodeBytes(canonicalTable, bytes, buffer) {
6587 var t1, byteOr, i, byte, t2, t3,
6588 _s16_ = "0123456789ABCDEF";
6589 for (t1 = J.getInterceptor$asx(bytes), byteOr = 0, i = 0; i < t1.get$length(bytes); ++i) {
6590 byte = t1.$index(bytes, i);
6591 byteOr |= byte;
6592 t2 = byte < 128 && (canonicalTable[B.JSInt_methods._shrOtherPositive$1(byte, 4)] & 1 << (byte & 15)) !== 0;
6593 t3 = buffer._contents;
6594 if (t2)
6595 buffer._contents = t3 + A.Primitives_stringFromCharCode(byte);
6596 else {
6597 t2 = t3 + A.Primitives_stringFromCharCode(37);
6598 buffer._contents = t2;
6599 t2 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, B.JSInt_methods._shrOtherPositive$1(byte, 4)));
6600 buffer._contents = t2;
6601 buffer._contents = t2 + A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, byte & 15));
6602 }
6603 }
6604 if ((byteOr & 4294967040) >>> 0 !== 0)
6605 for (i = 0; i < t1.get$length(bytes); ++i) {
6606 byte = t1.$index(bytes, i);
6607 if (byte < 0 || byte > 255)
6608 throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
6609 }
6610 },
6611 _createTables() {
6612 var _i, t1, t2, t3, b,
6613 _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",
6614 _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "?", _s1_3 = "#",
6615 tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List);
6616 for (_i = 0; _i < 22; ++_i)
6617 tables[_i] = new Uint8Array(96);
6618 t1 = new A._createTables_build(tables);
6619 t2 = new A._createTables_setChars();
6620 t3 = new A._createTables_setRange();
6621 b = t1.call$2(0, 225);
6622 t2.call$3(b, _s77_, 1);
6623 t2.call$3(b, _s1_, 14);
6624 t2.call$3(b, _s1_0, 34);
6625 t2.call$3(b, _s1_1, 3);
6626 t2.call$3(b, _s1_2, 172);
6627 t2.call$3(b, _s1_3, 205);
6628 b = t1.call$2(14, 225);
6629 t2.call$3(b, _s77_, 1);
6630 t2.call$3(b, _s1_, 15);
6631 t2.call$3(b, _s1_0, 34);
6632 t2.call$3(b, _s1_1, 234);
6633 t2.call$3(b, _s1_2, 172);
6634 t2.call$3(b, _s1_3, 205);
6635 b = t1.call$2(15, 225);
6636 t2.call$3(b, _s77_, 1);
6637 t2.call$3(b, "%", 225);
6638 t2.call$3(b, _s1_0, 34);
6639 t2.call$3(b, _s1_1, 9);
6640 t2.call$3(b, _s1_2, 172);
6641 t2.call$3(b, _s1_3, 205);
6642 b = t1.call$2(1, 225);
6643 t2.call$3(b, _s77_, 1);
6644 t2.call$3(b, _s1_0, 34);
6645 t2.call$3(b, _s1_1, 10);
6646 t2.call$3(b, _s1_2, 172);
6647 t2.call$3(b, _s1_3, 205);
6648 b = t1.call$2(2, 235);
6649 t2.call$3(b, _s77_, 139);
6650 t2.call$3(b, _s1_1, 131);
6651 t2.call$3(b, _s1_, 146);
6652 t2.call$3(b, _s1_2, 172);
6653 t2.call$3(b, _s1_3, 205);
6654 b = t1.call$2(3, 235);
6655 t2.call$3(b, _s77_, 11);
6656 t2.call$3(b, _s1_1, 68);
6657 t2.call$3(b, _s1_, 18);
6658 t2.call$3(b, _s1_2, 172);
6659 t2.call$3(b, _s1_3, 205);
6660 b = t1.call$2(4, 229);
6661 t2.call$3(b, _s77_, 5);
6662 t3.call$3(b, "AZ", 229);
6663 t2.call$3(b, _s1_0, 102);
6664 t2.call$3(b, "@", 68);
6665 t2.call$3(b, "[", 232);
6666 t2.call$3(b, _s1_1, 138);
6667 t2.call$3(b, _s1_2, 172);
6668 t2.call$3(b, _s1_3, 205);
6669 b = t1.call$2(5, 229);
6670 t2.call$3(b, _s77_, 5);
6671 t3.call$3(b, "AZ", 229);
6672 t2.call$3(b, _s1_0, 102);
6673 t2.call$3(b, "@", 68);
6674 t2.call$3(b, _s1_1, 138);
6675 t2.call$3(b, _s1_2, 172);
6676 t2.call$3(b, _s1_3, 205);
6677 b = t1.call$2(6, 231);
6678 t3.call$3(b, "19", 7);
6679 t2.call$3(b, "@", 68);
6680 t2.call$3(b, _s1_1, 138);
6681 t2.call$3(b, _s1_2, 172);
6682 t2.call$3(b, _s1_3, 205);
6683 b = t1.call$2(7, 231);
6684 t3.call$3(b, "09", 7);
6685 t2.call$3(b, "@", 68);
6686 t2.call$3(b, _s1_1, 138);
6687 t2.call$3(b, _s1_2, 172);
6688 t2.call$3(b, _s1_3, 205);
6689 t2.call$3(t1.call$2(8, 8), "]", 5);
6690 b = t1.call$2(9, 235);
6691 t2.call$3(b, _s77_, 11);
6692 t2.call$3(b, _s1_, 16);
6693 t2.call$3(b, _s1_1, 234);
6694 t2.call$3(b, _s1_2, 172);
6695 t2.call$3(b, _s1_3, 205);
6696 b = t1.call$2(16, 235);
6697 t2.call$3(b, _s77_, 11);
6698 t2.call$3(b, _s1_, 17);
6699 t2.call$3(b, _s1_1, 234);
6700 t2.call$3(b, _s1_2, 172);
6701 t2.call$3(b, _s1_3, 205);
6702 b = t1.call$2(17, 235);
6703 t2.call$3(b, _s77_, 11);
6704 t2.call$3(b, _s1_1, 9);
6705 t2.call$3(b, _s1_2, 172);
6706 t2.call$3(b, _s1_3, 205);
6707 b = t1.call$2(10, 235);
6708 t2.call$3(b, _s77_, 11);
6709 t2.call$3(b, _s1_, 18);
6710 t2.call$3(b, _s1_1, 234);
6711 t2.call$3(b, _s1_2, 172);
6712 t2.call$3(b, _s1_3, 205);
6713 b = t1.call$2(18, 235);
6714 t2.call$3(b, _s77_, 11);
6715 t2.call$3(b, _s1_, 19);
6716 t2.call$3(b, _s1_1, 234);
6717 t2.call$3(b, _s1_2, 172);
6718 t2.call$3(b, _s1_3, 205);
6719 b = t1.call$2(19, 235);
6720 t2.call$3(b, _s77_, 11);
6721 t2.call$3(b, _s1_1, 234);
6722 t2.call$3(b, _s1_2, 172);
6723 t2.call$3(b, _s1_3, 205);
6724 b = t1.call$2(11, 235);
6725 t2.call$3(b, _s77_, 11);
6726 t2.call$3(b, _s1_1, 10);
6727 t2.call$3(b, _s1_2, 172);
6728 t2.call$3(b, _s1_3, 205);
6729 b = t1.call$2(12, 236);
6730 t2.call$3(b, _s77_, 12);
6731 t2.call$3(b, _s1_2, 12);
6732 t2.call$3(b, _s1_3, 205);
6733 b = t1.call$2(13, 237);
6734 t2.call$3(b, _s77_, 13);
6735 t2.call$3(b, _s1_2, 13);
6736 t3.call$3(t1.call$2(20, 245), "az", 21);
6737 b = t1.call$2(21, 245);
6738 t3.call$3(b, "az", 21);
6739 t3.call$3(b, "09", 21);
6740 t2.call$3(b, "+-.", 21);
6741 return tables;
6742 },
6743 _scan(uri, start, end, state, indices) {
6744 var i, table, char, transition,
6745 tables = $.$get$_scannerTables();
6746 for (i = start; i < end; ++i) {
6747 table = tables[state];
6748 char = B.JSString_methods._codeUnitAt$1(uri, i) ^ 96;
6749 transition = table[char > 95 ? 31 : char];
6750 state = transition & 31;
6751 indices[transition >>> 5] = i;
6752 }
6753 return state;
6754 },
6755 _SimpleUri__packageNameEnd(uri) {
6756 if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
6757 return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
6758 return -1;
6759 },
6760 _skipPackageNameChars(source, start, end) {
6761 var i, dots, char;
6762 for (i = start, dots = 0; i < end; ++i) {
6763 char = B.JSString_methods.codeUnitAt$1(source, i);
6764 if (char === 47)
6765 return dots !== 0 ? i : -1;
6766 if (char === 37 || char === 58)
6767 return -1;
6768 dots |= char ^ 46;
6769 }
6770 return -1;
6771 },
6772 NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
6773 this._box_0 = t0;
6774 this.sb = t1;
6775 },
6776 DateTime: function DateTime(t0, t1) {
6777 this._core$_value = t0;
6778 this.isUtc = t1;
6779 },
6780 Duration: function Duration(t0) {
6781 this._duration = t0;
6782 },
6783 Error: function Error() {
6784 },
6785 AssertionError: function AssertionError(t0) {
6786 this.message = t0;
6787 },
6788 TypeError: function TypeError() {
6789 },
6790 NullThrownError: function NullThrownError() {
6791 },
6792 ArgumentError: function ArgumentError(t0, t1, t2, t3) {
6793 var _ = this;
6794 _._hasValue = t0;
6795 _.invalidValue = t1;
6796 _.name = t2;
6797 _.message = t3;
6798 },
6799 RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
6800 var _ = this;
6801 _.start = t0;
6802 _.end = t1;
6803 _._hasValue = t2;
6804 _.invalidValue = t3;
6805 _.name = t4;
6806 _.message = t5;
6807 },
6808 IndexError: function IndexError(t0, t1, t2, t3, t4) {
6809 var _ = this;
6810 _.length = t0;
6811 _._hasValue = t1;
6812 _.invalidValue = t2;
6813 _.name = t3;
6814 _.message = t4;
6815 },
6816 NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
6817 var _ = this;
6818 _._core$_receiver = t0;
6819 _._memberName = t1;
6820 _._core$_arguments = t2;
6821 _._namedArguments = t3;
6822 },
6823 UnsupportedError: function UnsupportedError(t0) {
6824 this.message = t0;
6825 },
6826 UnimplementedError: function UnimplementedError(t0) {
6827 this.message = t0;
6828 },
6829 StateError: function StateError(t0) {
6830 this.message = t0;
6831 },
6832 ConcurrentModificationError: function ConcurrentModificationError(t0) {
6833 this.modifiedObject = t0;
6834 },
6835 OutOfMemoryError: function OutOfMemoryError() {
6836 },
6837 StackOverflowError: function StackOverflowError() {
6838 },
6839 CyclicInitializationError: function CyclicInitializationError(t0) {
6840 this.variableName = t0;
6841 },
6842 _Exception: function _Exception(t0) {
6843 this.message = t0;
6844 },
6845 FormatException: function FormatException(t0, t1, t2) {
6846 this.message = t0;
6847 this.source = t1;
6848 this.offset = t2;
6849 },
6850 Expando: function Expando(t0) {
6851 this._jsWeakMap = t0;
6852 },
6853 Iterable: function Iterable() {
6854 },
6855 _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
6856 this.length = t0;
6857 this._generator = t1;
6858 this.$ti = t2;
6859 },
6860 Iterator: function Iterator() {
6861 },
6862 MapEntry: function MapEntry(t0, t1, t2) {
6863 this.key = t0;
6864 this.value = t1;
6865 this.$ti = t2;
6866 },
6867 Null: function Null() {
6868 },
6869 Object: function Object() {
6870 },
6871 _StringStackTrace: function _StringStackTrace(t0) {
6872 this._stackTrace = t0;
6873 },
6874 Runes: function Runes(t0) {
6875 this.string = t0;
6876 },
6877 RuneIterator: function RuneIterator(t0) {
6878 var _ = this;
6879 _.string = t0;
6880 _._nextPosition = _._position = 0;
6881 _._currentCodePoint = -1;
6882 },
6883 StringBuffer: function StringBuffer(t0) {
6884 this._contents = t0;
6885 },
6886 Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
6887 this.host = t0;
6888 },
6889 Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
6890 this.host = t0;
6891 },
6892 Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
6893 this.error = t0;
6894 this.host = t1;
6895 },
6896 _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
6897 var _ = this;
6898 _.scheme = t0;
6899 _._userInfo = t1;
6900 _._host = t2;
6901 _._port = t3;
6902 _.path = t4;
6903 _._query = t5;
6904 _._fragment = t6;
6905 _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $;
6906 },
6907 _Uri__makePath_closure: function _Uri__makePath_closure() {
6908 },
6909 UriData: function UriData(t0, t1, t2) {
6910 this._text = t0;
6911 this._separatorIndices = t1;
6912 this._uriCache = t2;
6913 },
6914 _createTables_build: function _createTables_build(t0) {
6915 this.tables = t0;
6916 },
6917 _createTables_setChars: function _createTables_setChars() {
6918 },
6919 _createTables_setRange: function _createTables_setRange() {
6920 },
6921 _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
6922 var _ = this;
6923 _._uri = t0;
6924 _._schemeEnd = t1;
6925 _._hostStart = t2;
6926 _._portStart = t3;
6927 _._pathStart = t4;
6928 _._queryStart = t5;
6929 _._fragmentStart = t6;
6930 _._schemeCache = t7;
6931 _._hashCodeCache = null;
6932 },
6933 _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
6934 var _ = this;
6935 _.scheme = t0;
6936 _._userInfo = t1;
6937 _._host = t2;
6938 _._port = t3;
6939 _.path = t4;
6940 _._query = t5;
6941 _._fragment = t6;
6942 _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $;
6943 },
6944 _convertDataTree(data) {
6945 var t1 = new A._convertDataTree__convert(new A._IdentityHashMap(type$._IdentityHashMap_dynamic_dynamic)).call$1(data);
6946 t1.toString;
6947 return t1;
6948 },
6949 callConstructor(constr, $arguments) {
6950 var args, factoryFunction;
6951 if ($arguments instanceof Array)
6952 switch ($arguments.length) {
6953 case 0:
6954 return new constr();
6955 case 1:
6956 return new constr($arguments[0]);
6957 case 2:
6958 return new constr($arguments[0], $arguments[1]);
6959 case 3:
6960 return new constr($arguments[0], $arguments[1], $arguments[2]);
6961 case 4:
6962 return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
6963 }
6964 args = [null];
6965 B.JSArray_methods.addAll$1(args, $arguments);
6966 factoryFunction = constr.bind.apply(constr, args);
6967 String(factoryFunction);
6968 return new factoryFunction();
6969 },
6970 _convertDataTree__convert: function _convertDataTree__convert(t0) {
6971 this._convertedObjects = t0;
6972 },
6973 max(a, b) {
6974 return Math.max(A.checkNum(a), A.checkNum(b));
6975 },
6976 pow(x, exponent) {
6977 return Math.pow(x, exponent);
6978 },
6979 Random_Random() {
6980 return B.C__JSRandom;
6981 },
6982 _JSRandom: function _JSRandom() {
6983 },
6984 ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
6985 var _ = this;
6986 _._arg_parser$_options = t0;
6987 _._aliases = t1;
6988 _.options = t2;
6989 _.commands = t3;
6990 _._optionsAndSeparators = t4;
6991 _.allowTrailingOptions = t5;
6992 _.usageLineLength = t6;
6993 },
6994 ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
6995 this.$this = t0;
6996 },
6997 ArgParserException$(message, commands) {
6998 return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), message, null, null);
6999 },
7000 ArgParserException: function ArgParserException(t0, t1, t2, t3) {
7001 var _ = this;
7002 _.commands = t0;
7003 _.message = t1;
7004 _.source = t2;
7005 _.offset = t3;
7006 },
7007 ArgResults: function ArgResults(t0, t1, t2, t3) {
7008 var _ = this;
7009 _._parser = t0;
7010 _._parsed = t1;
7011 _.name = t2;
7012 _.rest = t3;
7013 },
7014 Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
7015 var _ = this;
7016 _.name = t0;
7017 _.abbr = t1;
7018 _.help = t2;
7019 _.valueHelp = t3;
7020 _.allowed = t4;
7021 _.allowedHelp = t5;
7022 _.defaultsTo = t6;
7023 _.negatable = t7;
7024 _.callback = t8;
7025 _.type = t9;
7026 _.splitCommas = t10;
7027 _.mandatory = t11;
7028 _.hide = t12;
7029 },
7030 OptionType: function OptionType(t0) {
7031 this.name = t0;
7032 },
7033 Parser$(_commandName, _grammar, _args, _parent, rest) {
7034 var t1 = A._setArrayType([], type$.JSArray_String);
7035 if (rest != null)
7036 B.JSArray_methods.addAll$1(t1, rest);
7037 return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
7038 },
7039 _isLetterOrDigit(codeUnit) {
7040 var t1;
7041 if (!(codeUnit >= 65 && codeUnit <= 90))
7042 if (!(codeUnit >= 97 && codeUnit <= 122))
7043 t1 = codeUnit >= 48 && codeUnit <= 57;
7044 else
7045 t1 = true;
7046 else
7047 t1 = true;
7048 return t1;
7049 },
7050 Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
7051 var _ = this;
7052 _._commandName = t0;
7053 _._parser$_parent = t1;
7054 _._grammar = t2;
7055 _._args = t3;
7056 _._parser$_rest = t4;
7057 _._results = t5;
7058 },
7059 Parser_parse_closure: function Parser_parse_closure(t0) {
7060 this.$this = t0;
7061 },
7062 Parser__setOption_closure: function Parser__setOption_closure() {
7063 },
7064 _Usage: function _Usage(t0, t1, t2) {
7065 var _ = this;
7066 _._usage$_optionsAndSeparators = t0;
7067 _._buffer = t1;
7068 _._currentColumn = 0;
7069 _.___Usage__columnWidths = $;
7070 _._newlinesNeeded = 0;
7071 _.lineLength = t2;
7072 },
7073 _Usage__writeOption_closure: function _Usage__writeOption_closure() {
7074 },
7075 _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
7076 this.option = t0;
7077 },
7078 ErrorResult: function ErrorResult(t0, t1) {
7079 this.error = t0;
7080 this.stackTrace = t1;
7081 },
7082 ValueResult: function ValueResult(t0, t1) {
7083 this.value = t0;
7084 this.$ti = t1;
7085 },
7086 StreamCompleter: function StreamCompleter(t0, t1) {
7087 this._stream_completer$_stream = t0;
7088 this.$ti = t1;
7089 },
7090 _CompleterStream: function _CompleterStream(t0) {
7091 this._sourceStream = this._stream_completer$_controller = null;
7092 this.$ti = t0;
7093 },
7094 StreamGroup: function StreamGroup(t0, t1, t2) {
7095 var _ = this;
7096 _.__StreamGroup__controller = $;
7097 _._closed = false;
7098 _._stream_group$_state = t0;
7099 _._subscriptions = t1;
7100 _.$ti = t2;
7101 },
7102 StreamGroup_add_closure: function StreamGroup_add_closure() {
7103 },
7104 StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
7105 this.$this = t0;
7106 this.stream = t1;
7107 },
7108 StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
7109 },
7110 StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
7111 this.$this = t0;
7112 },
7113 StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
7114 this.$this = t0;
7115 this.stream = t1;
7116 },
7117 _StreamGroupState: function _StreamGroupState(t0) {
7118 this.name = t0;
7119 },
7120 StreamQueue: function StreamQueue(t0, t1, t2, t3) {
7121 var _ = this;
7122 _._stream_queue$_source = t0;
7123 _._stream_queue$_subscription = null;
7124 _._isDone = false;
7125 _._eventsReceived = 0;
7126 _._eventQueue = t1;
7127 _._requestQueue = t2;
7128 _.$ti = t3;
7129 },
7130 StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
7131 this.$this = t0;
7132 },
7133 StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
7134 this.$this = t0;
7135 },
7136 StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
7137 this.$this = t0;
7138 },
7139 _NextRequest: function _NextRequest(t0, t1) {
7140 this._completer = t0;
7141 this.$ti = t1;
7142 },
7143 Repl: function Repl(t0, t1, t2, t3) {
7144 var _ = this;
7145 _.prompt = t0;
7146 _.continuation = t1;
7147 _.validator = t2;
7148 _.__Repl__adapter = $;
7149 _.history = t3;
7150 },
7151 alwaysValid_closure: function alwaysValid_closure() {
7152 },
7153 ReplAdapter: function ReplAdapter(t0) {
7154 this.repl = t0;
7155 this.rl = null;
7156 },
7157 ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
7158 var _ = this;
7159 _._box_0 = t0;
7160 _.$this = t1;
7161 _.rl = t2;
7162 _.runController = t3;
7163 },
7164 ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
7165 this.lineController = t0;
7166 },
7167 Stdin: function Stdin() {
7168 },
7169 Stdout: function Stdout() {
7170 },
7171 ReadlineModule: function ReadlineModule() {
7172 },
7173 ReadlineOptions: function ReadlineOptions() {
7174 },
7175 ReadlineInterface: function ReadlineInterface() {
7176 },
7177 EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
7178 this.$ti = t0;
7179 },
7180 _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
7181 },
7182 DefaultEquality: function DefaultEquality() {
7183 },
7184 IterableEquality: function IterableEquality() {
7185 },
7186 ListEquality: function ListEquality() {
7187 },
7188 _MapEntry: function _MapEntry(t0, t1, t2) {
7189 this.equality = t0;
7190 this.key = t1;
7191 this.value = t2;
7192 },
7193 MapEquality: function MapEquality() {
7194 },
7195 QueueList$(initialCapacity, $E) {
7196 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>"));
7197 },
7198 QueueList_QueueList$from(source, $E) {
7199 var $length, queue, t1;
7200 if (type$.List_dynamic._is(source)) {
7201 $length = J.get$length$asx(source);
7202 queue = A.QueueList$($length + 1, $E);
7203 J.setRange$4$ax(queue._table, 0, $length, source, 0);
7204 queue._tail = $length;
7205 return queue;
7206 } else {
7207 t1 = A.QueueList$(null, $E);
7208 t1.addAll$1(0, source);
7209 return t1;
7210 }
7211 },
7212 QueueList__computeInitialCapacity(initialCapacity) {
7213 if (initialCapacity == null || initialCapacity < 8)
7214 return 8;
7215 ++initialCapacity;
7216 if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
7217 return initialCapacity;
7218 return A.QueueList__nextPowerOf2(initialCapacity);
7219 },
7220 QueueList__nextPowerOf2(number) {
7221 var nextNumber;
7222 number = (number << 1 >>> 0) - 1;
7223 for (; true; number = nextNumber) {
7224 nextNumber = (number & number - 1) >>> 0;
7225 if (nextNumber === 0)
7226 return number;
7227 }
7228 },
7229 QueueList: function QueueList(t0, t1, t2, t3) {
7230 var _ = this;
7231 _._table = t0;
7232 _._head = t1;
7233 _._tail = t2;
7234 _.$ti = t3;
7235 },
7236 _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
7237 var _ = this;
7238 _._queue_list$_delegate = t0;
7239 _._table = t1;
7240 _._head = t2;
7241 _._tail = t3;
7242 _.$ti = t4;
7243 },
7244 _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
7245 },
7246 UnmodifiableSetMixin__throw() {
7247 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
7248 },
7249 UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
7250 this._base = t0;
7251 this.$ti = t1;
7252 },
7253 UnmodifiableSetMixin: function UnmodifiableSetMixin() {
7254 },
7255 _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
7256 },
7257 _DelegatingIterableBase: function _DelegatingIterableBase() {
7258 },
7259 DelegatingSet: function DelegatingSet(t0, t1) {
7260 this._base = t0;
7261 this.$ti = t1;
7262 },
7263 MapKeySet: function MapKeySet(t0, t1) {
7264 this._baseMap = t0;
7265 this.$ti = t1;
7266 },
7267 MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
7268 this.$this = t0;
7269 this.other = t1;
7270 },
7271 _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
7272 },
7273 BufferModule: function BufferModule() {
7274 },
7275 BufferConstants: function BufferConstants() {
7276 },
7277 Buffer: function Buffer() {
7278 },
7279 ConsoleModule: function ConsoleModule() {
7280 },
7281 Console: function Console() {
7282 },
7283 EventEmitter: function EventEmitter() {
7284 },
7285 fs() {
7286 var t1 = $._fs;
7287 return t1 == null ? $._fs = self.fs : t1;
7288 },
7289 FS: function FS() {
7290 },
7291 FSConstants: function FSConstants() {
7292 },
7293 FSWatcher: function FSWatcher() {
7294 },
7295 ReadStream: function ReadStream() {
7296 },
7297 ReadStreamOptions: function ReadStreamOptions() {
7298 },
7299 WriteStream: function WriteStream() {
7300 },
7301 WriteStreamOptions: function WriteStreamOptions() {
7302 },
7303 FileOptions: function FileOptions() {
7304 },
7305 StatOptions: function StatOptions() {
7306 },
7307 MkdirOptions: function MkdirOptions() {
7308 },
7309 RmdirOptions: function RmdirOptions() {
7310 },
7311 WatchOptions: function WatchOptions() {
7312 },
7313 WatchFileOptions: function WatchFileOptions() {
7314 },
7315 Stats: function Stats() {
7316 },
7317 Promise: function Promise() {
7318 },
7319 Date: function Date() {
7320 },
7321 JsError: function JsError() {
7322 },
7323 Atomics: function Atomics() {
7324 },
7325 Modules: function Modules() {
7326 },
7327 Module1: function Module1() {
7328 },
7329 Net: function Net() {
7330 },
7331 Socket: function Socket() {
7332 },
7333 NetAddress: function NetAddress() {
7334 },
7335 NetServer: function NetServer() {
7336 },
7337 NodeJsError: function NodeJsError() {
7338 },
7339 JsAssertionError: function JsAssertionError() {
7340 },
7341 JsRangeError: function JsRangeError() {
7342 },
7343 JsReferenceError: function JsReferenceError() {
7344 },
7345 JsSyntaxError: function JsSyntaxError() {
7346 },
7347 JsTypeError: function JsTypeError() {
7348 },
7349 JsSystemError: function JsSystemError() {
7350 },
7351 Process: function Process() {
7352 },
7353 CPUUsage: function CPUUsage() {
7354 },
7355 Release: function Release() {
7356 },
7357 StreamModule: function StreamModule() {
7358 },
7359 Readable: function Readable() {
7360 },
7361 Writable: function Writable() {
7362 },
7363 Duplex: function Duplex() {
7364 },
7365 Transform: function Transform() {
7366 },
7367 WritableOptions: function WritableOptions() {
7368 },
7369 ReadableOptions: function ReadableOptions() {
7370 },
7371 Immediate: function Immediate() {
7372 },
7373 Timeout: function Timeout() {
7374 },
7375 TTY: function TTY() {
7376 },
7377 TTYReadStream: function TTYReadStream() {
7378 },
7379 TTYWriteStream: function TTYWriteStream() {
7380 },
7381 jsify(dartObject) {
7382 if (A._isBasicType(dartObject))
7383 return dartObject;
7384 return A._convertDataTree(dartObject);
7385 },
7386 _isBasicType(value) {
7387 return false;
7388 },
7389 promiseToFuture(promise, $T) {
7390 var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
7391 completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
7392 J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure(completer)), A.allowInterop(new A.promiseToFuture_closure0(completer)));
7393 return t1;
7394 },
7395 futureToPromise(future, $T) {
7396 return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
7397 },
7398 Util: function Util() {
7399 },
7400 promiseToFuture_closure: function promiseToFuture_closure(t0) {
7401 this.completer = t0;
7402 },
7403 promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
7404 this.completer = t0;
7405 },
7406 futureToPromise_closure: function futureToPromise_closure(t0, t1) {
7407 this.future = t0;
7408 this.T = t1;
7409 },
7410 futureToPromise__closure: function futureToPromise__closure(t0, t1) {
7411 this.resolve = t0;
7412 this.T = t1;
7413 },
7414 Context_Context(style) {
7415 var current = style == null ? A.current() : ".";
7416 if (style == null)
7417 style = $.$get$Style_platform();
7418 return new A.Context(type$.InternalStyle._as(style), current);
7419 },
7420 _parseUri(uri) {
7421 if (typeof uri == "string")
7422 return A.Uri_parse(uri);
7423 if (type$.Uri._is(uri))
7424 return uri;
7425 throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
7426 },
7427 _validateArgList(method, args) {
7428 var numArgs, i, numArgs0, message, t1, t2, t3, t4;
7429 for (numArgs = args.length, i = 1; i < numArgs; ++i) {
7430 if (args[i] == null || args[i - 1] != null)
7431 continue;
7432 for (; numArgs >= 1; numArgs = numArgs0) {
7433 numArgs0 = numArgs - 1;
7434 if (args[numArgs0] != null)
7435 break;
7436 }
7437 message = new A.StringBuffer("");
7438 t1 = "" + (method + "(");
7439 message._contents = t1;
7440 t2 = A._arrayInstanceType(args);
7441 t3 = t2._eval$1("SubListIterable<1>");
7442 t4 = new A.SubListIterable(args, 0, numArgs, t3);
7443 t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
7444 t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
7445 message._contents = t3;
7446 message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
7447 throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
7448 }
7449 },
7450 Context: function Context(t0, t1) {
7451 this.style = t0;
7452 this._context$_current = t1;
7453 },
7454 Context_joinAll_closure: function Context_joinAll_closure() {
7455 },
7456 Context_split_closure: function Context_split_closure() {
7457 },
7458 _validateArgList_closure: function _validateArgList_closure() {
7459 },
7460 _PathDirection: function _PathDirection(t0) {
7461 this.name = t0;
7462 },
7463 _PathRelation: function _PathRelation(t0) {
7464 this.name = t0;
7465 },
7466 InternalStyle: function InternalStyle() {
7467 },
7468 ParsedPath_ParsedPath$parse(path, style) {
7469 var t1, parts, separators, start, i,
7470 root = style.getRoot$1(path),
7471 isRootRelative = style.isRootRelative$1(path);
7472 if (root != null)
7473 path = B.JSString_methods.substring$1(path, root.length);
7474 t1 = type$.JSArray_String;
7475 parts = A._setArrayType([], t1);
7476 separators = A._setArrayType([], t1);
7477 t1 = path.length;
7478 if (t1 !== 0 && style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, 0))) {
7479 separators.push(path[0]);
7480 start = 1;
7481 } else {
7482 separators.push("");
7483 start = 0;
7484 }
7485 for (i = start; i < t1; ++i)
7486 if (style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, i))) {
7487 parts.push(B.JSString_methods.substring$2(path, start, i));
7488 separators.push(path[i]);
7489 start = i + 1;
7490 }
7491 if (start < t1) {
7492 parts.push(B.JSString_methods.substring$1(path, start));
7493 separators.push("");
7494 }
7495 return new A.ParsedPath(style, root, isRootRelative, parts, separators);
7496 },
7497 ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
7498 var _ = this;
7499 _.style = t0;
7500 _.root = t1;
7501 _.isRootRelative = t2;
7502 _.parts = t3;
7503 _.separators = t4;
7504 },
7505 ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
7506 },
7507 ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
7508 },
7509 PathException$(message) {
7510 return new A.PathException(message);
7511 },
7512 PathException: function PathException(t0) {
7513 this.message = t0;
7514 },
7515 PathMap__create(context, $V) {
7516 var t1 = {};
7517 t1.context = context;
7518 t1.context = $.$get$context();
7519 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);
7520 },
7521 PathMap: function PathMap(t0, t1) {
7522 this._map = t0;
7523 this.$ti = t1;
7524 },
7525 PathMap__create_closure: function PathMap__create_closure(t0) {
7526 this._box_0 = t0;
7527 },
7528 PathMap__create_closure0: function PathMap__create_closure0(t0) {
7529 this._box_0 = t0;
7530 },
7531 PathMap__create_closure1: function PathMap__create_closure1() {
7532 },
7533 Style__getPlatformStyle() {
7534 if (A.Uri_base().get$scheme() !== "file")
7535 return $.$get$Style_url();
7536 var t1 = A.Uri_base();
7537 if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
7538 return $.$get$Style_url();
7539 if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
7540 return $.$get$Style_windows();
7541 return $.$get$Style_posix();
7542 },
7543 Style: function Style() {
7544 },
7545 PosixStyle: function PosixStyle(t0, t1, t2) {
7546 this.separatorPattern = t0;
7547 this.needsSeparatorPattern = t1;
7548 this.rootPattern = t2;
7549 },
7550 UrlStyle: function UrlStyle(t0, t1, t2, t3) {
7551 var _ = this;
7552 _.separatorPattern = t0;
7553 _.needsSeparatorPattern = t1;
7554 _.rootPattern = t2;
7555 _.relativeRootPattern = t3;
7556 },
7557 WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
7558 var _ = this;
7559 _.separatorPattern = t0;
7560 _.needsSeparatorPattern = t1;
7561 _.rootPattern = t2;
7562 _.relativeRootPattern = t3;
7563 },
7564 WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
7565 },
7566 CssMediaQuery: function CssMediaQuery(t0, t1, t2) {
7567 this.modifier = t0;
7568 this.type = t1;
7569 this.features = t2;
7570 },
7571 _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
7572 this._media_query$_name = t0;
7573 },
7574 MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
7575 this.query = t0;
7576 },
7577 ModifiableCssAtRule$($name, span, childless, value) {
7578 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7579 return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7580 },
7581 ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
7582 var _ = this;
7583 _.name = t0;
7584 _.value = t1;
7585 _.isChildless = t2;
7586 _.span = t3;
7587 _.children = t4;
7588 _._children = t5;
7589 _._indexInParent = _._parent = null;
7590 _.isGroupEnd = false;
7591 },
7592 ModifiableCssComment: function ModifiableCssComment(t0, t1) {
7593 var _ = this;
7594 _.text = t0;
7595 _.span = t1;
7596 _._indexInParent = _._parent = null;
7597 _.isGroupEnd = false;
7598 },
7599 ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
7600 var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
7601 if (parsedAsCustomProperty)
7602 if (!J.startsWith$1$s($name.get$value($name), "--"))
7603 A.throwExpression(A.ArgumentError$(string$.parsed, null));
7604 else if (!(value.get$value(value) instanceof A.SassString))
7605 A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
7606 return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, span);
7607 },
7608 ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
7609 var _ = this;
7610 _.name = t0;
7611 _.value = t1;
7612 _.parsedAsCustomProperty = t2;
7613 _.valueSpanForMap = t3;
7614 _.span = t4;
7615 _._indexInParent = _._parent = null;
7616 _.isGroupEnd = false;
7617 },
7618 ModifiableCssImport$(url, span, media, supports) {
7619 return new A.ModifiableCssImport(url, supports, media == null ? null : A.List_List$unmodifiable(media, type$.CssMediaQuery), span);
7620 },
7621 ModifiableCssImport: function ModifiableCssImport(t0, t1, t2, t3) {
7622 var _ = this;
7623 _.url = t0;
7624 _.supports = t1;
7625 _.media = t2;
7626 _.span = t3;
7627 _._indexInParent = _._parent = null;
7628 _.isGroupEnd = false;
7629 },
7630 ModifiableCssKeyframeBlock$(selector, span) {
7631 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7632 return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7633 },
7634 ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
7635 var _ = this;
7636 _.selector = t0;
7637 _.span = t1;
7638 _.children = t2;
7639 _._children = t3;
7640 _._indexInParent = _._parent = null;
7641 _.isGroupEnd = false;
7642 },
7643 ModifiableCssMediaRule$(queries, span) {
7644 var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
7645 t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7646 if (J.get$isEmpty$asx(queries))
7647 A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
7648 return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
7649 },
7650 ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
7651 var _ = this;
7652 _.queries = t0;
7653 _.span = t1;
7654 _.children = t2;
7655 _._children = t3;
7656 _._indexInParent = _._parent = null;
7657 _.isGroupEnd = false;
7658 },
7659 ModifiableCssNode: function ModifiableCssNode() {
7660 },
7661 ModifiableCssParentNode: function ModifiableCssParentNode() {
7662 },
7663 ModifiableCssStyleRule$(selector, span, originalSelector) {
7664 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7665 return new A.ModifiableCssStyleRule(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7666 },
7667 ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4) {
7668 var _ = this;
7669 _.selector = t0;
7670 _.originalSelector = t1;
7671 _.span = t2;
7672 _.children = t3;
7673 _._children = t4;
7674 _._indexInParent = _._parent = null;
7675 _.isGroupEnd = false;
7676 },
7677 ModifiableCssStylesheet$(span) {
7678 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7679 return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7680 },
7681 ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
7682 var _ = this;
7683 _.span = t0;
7684 _.children = t1;
7685 _._children = t2;
7686 _._indexInParent = _._parent = null;
7687 _.isGroupEnd = false;
7688 },
7689 ModifiableCssSupportsRule$(condition, span) {
7690 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
7691 return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
7692 },
7693 ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
7694 var _ = this;
7695 _.condition = t0;
7696 _.span = t1;
7697 _.children = t2;
7698 _._children = t3;
7699 _._indexInParent = _._parent = null;
7700 _.isGroupEnd = false;
7701 },
7702 ModifiableCssValue: function ModifiableCssValue(t0, t1, t2) {
7703 this.value = t0;
7704 this.span = t1;
7705 this.$ti = t2;
7706 },
7707 CssNode: function CssNode() {
7708 },
7709 CssParentNode: function CssParentNode() {
7710 },
7711 CssStylesheet: function CssStylesheet(t0, t1) {
7712 this.children = t0;
7713 this.span = t1;
7714 },
7715 CssValue: function CssValue(t0, t1, t2) {
7716 this.value = t0;
7717 this.span = t1;
7718 this.$ti = t2;
7719 },
7720 AstNode: function AstNode() {
7721 },
7722 _FakeAstNode: function _FakeAstNode(t0) {
7723 this._callback = t0;
7724 },
7725 Argument: function Argument(t0, t1, t2) {
7726 this.name = t0;
7727 this.defaultValue = t1;
7728 this.span = t2;
7729 },
7730 ArgumentDeclaration_ArgumentDeclaration$parse(contents, url) {
7731 return A.ScssParser$(contents, null, url).parseArgumentDeclaration$0();
7732 },
7733 ArgumentDeclaration: function ArgumentDeclaration(t0, t1, t2) {
7734 this.$arguments = t0;
7735 this.restArgument = t1;
7736 this.span = t2;
7737 },
7738 ArgumentDeclaration_verify_closure: function ArgumentDeclaration_verify_closure() {
7739 },
7740 ArgumentDeclaration_verify_closure0: function ArgumentDeclaration_verify_closure0() {
7741 },
7742 ArgumentInvocation$empty(span) {
7743 return new A.ArgumentInvocation(B.List_empty7, B.Map_empty2, null, null, span);
7744 },
7745 ArgumentInvocation: function ArgumentInvocation(t0, t1, t2, t3, t4) {
7746 var _ = this;
7747 _.positional = t0;
7748 _.named = t1;
7749 _.rest = t2;
7750 _.keywordRest = t3;
7751 _.span = t4;
7752 },
7753 AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
7754 var _ = this;
7755 _.include = t0;
7756 _.names = t1;
7757 _._all = t2;
7758 _._at_root_query$_rule = t3;
7759 },
7760 ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
7761 var _ = this;
7762 _.name = t0;
7763 _.expression = t1;
7764 _.isGuarded = t2;
7765 _.span = t3;
7766 },
7767 BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
7768 var _ = this;
7769 _.operator = t0;
7770 _.left = t1;
7771 _.right = t2;
7772 _.allowsSlash = t3;
7773 },
7774 BinaryOperator: function BinaryOperator(t0, t1, t2) {
7775 this.name = t0;
7776 this.operator = t1;
7777 this.precedence = t2;
7778 },
7779 BooleanExpression: function BooleanExpression(t0, t1) {
7780 this.value = t0;
7781 this.span = t1;
7782 },
7783 CalculationExpression__verifyArguments($arguments) {
7784 return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression);
7785 },
7786 CalculationExpression__verify(expression) {
7787 var t1,
7788 _s29_ = "Invalid calculation argument ";
7789 if (expression instanceof A.NumberExpression)
7790 return;
7791 if (expression instanceof A.CalculationExpression)
7792 return;
7793 if (expression instanceof A.VariableExpression)
7794 return;
7795 if (expression instanceof A.FunctionExpression)
7796 return;
7797 if (expression instanceof A.IfExpression)
7798 return;
7799 if (expression instanceof A.StringExpression) {
7800 if (expression.hasQuotes)
7801 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7802 } else if (expression instanceof A.ParenthesizedExpression)
7803 A.CalculationExpression__verify(expression.expression);
7804 else if (expression instanceof A.BinaryOperationExpression) {
7805 A.CalculationExpression__verify(expression.left);
7806 A.CalculationExpression__verify(expression.right);
7807 t1 = expression.operator;
7808 if (t1 === B.BinaryOperator_AcR0)
7809 return;
7810 if (t1 === B.BinaryOperator_iyO)
7811 return;
7812 if (t1 === B.BinaryOperator_O1M)
7813 return;
7814 if (t1 === B.BinaryOperator_RTB)
7815 return;
7816 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7817 } else
7818 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
7819 },
7820 CalculationExpression: function CalculationExpression(t0, t1, t2) {
7821 this.name = t0;
7822 this.$arguments = t1;
7823 this.span = t2;
7824 },
7825 CalculationExpression__verifyArguments_closure: function CalculationExpression__verifyArguments_closure() {
7826 },
7827 ColorExpression: function ColorExpression(t0, t1) {
7828 this.value = t0;
7829 this.span = t1;
7830 },
7831 FunctionExpression: function FunctionExpression(t0, t1, t2, t3) {
7832 var _ = this;
7833 _.namespace = t0;
7834 _.originalName = t1;
7835 _.$arguments = t2;
7836 _.span = t3;
7837 },
7838 IfExpression: function IfExpression(t0, t1) {
7839 this.$arguments = t0;
7840 this.span = t1;
7841 },
7842 InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
7843 this.name = t0;
7844 this.$arguments = t1;
7845 this.span = t2;
7846 },
7847 ListExpression: function ListExpression(t0, t1, t2, t3) {
7848 var _ = this;
7849 _.contents = t0;
7850 _.separator = t1;
7851 _.hasBrackets = t2;
7852 _.span = t3;
7853 },
7854 ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
7855 this.$this = t0;
7856 },
7857 MapExpression: function MapExpression(t0, t1) {
7858 this.pairs = t0;
7859 this.span = t1;
7860 },
7861 MapExpression_toString_closure: function MapExpression_toString_closure() {
7862 },
7863 NullExpression: function NullExpression(t0) {
7864 this.span = t0;
7865 },
7866 NumberExpression: function NumberExpression(t0, t1, t2) {
7867 this.value = t0;
7868 this.unit = t1;
7869 this.span = t2;
7870 },
7871 ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
7872 this.expression = t0;
7873 this.span = t1;
7874 },
7875 SelectorExpression: function SelectorExpression(t0) {
7876 this.span = t0;
7877 },
7878 StringExpression_quoteText(text) {
7879 var t1,
7880 quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
7881 buffer = new A.StringBuffer("");
7882 buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
7883 A.StringExpression__quoteInnerText(text, quote, buffer, true);
7884 t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
7885 return t1.charCodeAt(0) == 0 ? t1 : t1;
7886 },
7887 StringExpression__quoteInnerText(text, quote, buffer, $static) {
7888 var t1, t2, i, codeUnit, next, t3;
7889 for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
7890 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
7891 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
7892 buffer.writeCharCode$1(92);
7893 buffer.writeCharCode$1(97);
7894 if (i !== t2) {
7895 next = B.JSString_methods._codeUnitAt$1(text, i + 1);
7896 if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex(next))
7897 buffer.writeCharCode$1(32);
7898 }
7899 } else {
7900 if (codeUnit !== quote)
7901 if (codeUnit !== 92)
7902 t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
7903 else
7904 t3 = true;
7905 else
7906 t3 = true;
7907 if (t3)
7908 buffer.writeCharCode$1(92);
7909 buffer.writeCharCode$1(codeUnit);
7910 }
7911 }
7912 },
7913 StringExpression__bestQuote(strings) {
7914 var t1, containsDoubleQuote, t2, t3, i, codeUnit;
7915 for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
7916 t2 = t1.get$current(t1);
7917 for (t3 = t2.length, i = 0; i < t3; ++i) {
7918 codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
7919 if (codeUnit === 39)
7920 return 34;
7921 if (codeUnit === 34)
7922 containsDoubleQuote = true;
7923 }
7924 }
7925 return containsDoubleQuote ? 39 : 34;
7926 },
7927 StringExpression: function StringExpression(t0, t1) {
7928 this.text = t0;
7929 this.hasQuotes = t1;
7930 },
7931 UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
7932 this.operator = t0;
7933 this.operand = t1;
7934 this.span = t2;
7935 },
7936 UnaryOperator: function UnaryOperator(t0, t1) {
7937 this.name = t0;
7938 this.operator = t1;
7939 },
7940 ValueExpression: function ValueExpression(t0, t1) {
7941 this.value = t0;
7942 this.span = t1;
7943 },
7944 VariableExpression: function VariableExpression(t0, t1, t2) {
7945 this.namespace = t0;
7946 this.name = t1;
7947 this.span = t2;
7948 },
7949 DynamicImport: function DynamicImport(t0, t1) {
7950 this.urlString = t0;
7951 this.span = t1;
7952 },
7953 StaticImport: function StaticImport(t0, t1, t2, t3) {
7954 var _ = this;
7955 _.url = t0;
7956 _.supports = t1;
7957 _.media = t2;
7958 _.span = t3;
7959 },
7960 Interpolation$(contents, span) {
7961 var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), span);
7962 t1.Interpolation$2(contents, span);
7963 return t1;
7964 },
7965 Interpolation: function Interpolation(t0, t1) {
7966 this.contents = t0;
7967 this.span = t1;
7968 },
7969 Interpolation_toString_closure: function Interpolation_toString_closure() {
7970 },
7971 AtRootRule$(children, span, query) {
7972 var t1 = A.List_List$unmodifiable(children, type$.Statement),
7973 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
7974 return new A.AtRootRule(query, span, t1, t2);
7975 },
7976 AtRootRule: function AtRootRule(t0, t1, t2, t3) {
7977 var _ = this;
7978 _.query = t0;
7979 _.span = t1;
7980 _.children = t2;
7981 _.hasDeclarations = t3;
7982 },
7983 AtRule$($name, span, children, value) {
7984 var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
7985 t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
7986 return new A.AtRule($name, value, span, t1, t2 === true);
7987 },
7988 AtRule: function AtRule(t0, t1, t2, t3, t4) {
7989 var _ = this;
7990 _.name = t0;
7991 _.value = t1;
7992 _.span = t2;
7993 _.children = t3;
7994 _.hasDeclarations = t4;
7995 },
7996 CallableDeclaration: function CallableDeclaration() {
7997 },
7998 ContentBlock$($arguments, children, span) {
7999 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8000 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8001 return new A.ContentBlock("@content", $arguments, span, t1, t2);
8002 },
8003 ContentBlock: function ContentBlock(t0, t1, t2, t3, t4) {
8004 var _ = this;
8005 _.name = t0;
8006 _.$arguments = t1;
8007 _.span = t2;
8008 _.children = t3;
8009 _.hasDeclarations = t4;
8010 },
8011 ContentRule: function ContentRule(t0, t1) {
8012 this.$arguments = t0;
8013 this.span = t1;
8014 },
8015 DebugRule: function DebugRule(t0, t1) {
8016 this.expression = t0;
8017 this.span = t1;
8018 },
8019 Declaration$($name, value, span) {
8020 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression))
8021 A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
8022 return new A.Declaration($name, value, span, null, false);
8023 },
8024 Declaration$nested($name, children, span, value) {
8025 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8026 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8027 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression))
8028 A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
8029 return new A.Declaration($name, value, span, t1, t2);
8030 },
8031 Declaration: function Declaration(t0, t1, t2, t3, t4) {
8032 var _ = this;
8033 _.name = t0;
8034 _.value = t1;
8035 _.span = t2;
8036 _.children = t3;
8037 _.hasDeclarations = t4;
8038 },
8039 EachRule$(variables, list, children, span) {
8040 var t1 = A.List_List$unmodifiable(variables, type$.String),
8041 t2 = A.List_List$unmodifiable(children, type$.Statement),
8042 t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
8043 return new A.EachRule(t1, list, span, t2, t3);
8044 },
8045 EachRule: function EachRule(t0, t1, t2, t3, t4) {
8046 var _ = this;
8047 _.variables = t0;
8048 _.list = t1;
8049 _.span = t2;
8050 _.children = t3;
8051 _.hasDeclarations = t4;
8052 },
8053 EachRule_toString_closure: function EachRule_toString_closure() {
8054 },
8055 ErrorRule: function ErrorRule(t0, t1) {
8056 this.expression = t0;
8057 this.span = t1;
8058 },
8059 ExtendRule: function ExtendRule(t0, t1, t2) {
8060 this.selector = t0;
8061 this.isOptional = t1;
8062 this.span = t2;
8063 },
8064 ForRule$(variable, from, to, children, span, exclusive) {
8065 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8066 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8067 return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
8068 },
8069 ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
8070 var _ = this;
8071 _.variable = t0;
8072 _.from = t1;
8073 _.to = t2;
8074 _.isExclusive = t3;
8075 _.span = t4;
8076 _.children = t5;
8077 _.hasDeclarations = t6;
8078 },
8079 ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
8080 var _ = this;
8081 _.url = t0;
8082 _.shownMixinsAndFunctions = t1;
8083 _.shownVariables = t2;
8084 _.hiddenMixinsAndFunctions = t3;
8085 _.hiddenVariables = t4;
8086 _.prefix = t5;
8087 _.configuration = t6;
8088 _.span = t7;
8089 },
8090 FunctionRule$($name, $arguments, children, span, comment) {
8091 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8092 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8093 return new A.FunctionRule($name, $arguments, span, t1, t2);
8094 },
8095 FunctionRule: function FunctionRule(t0, t1, t2, t3, t4) {
8096 var _ = this;
8097 _.name = t0;
8098 _.$arguments = t1;
8099 _.span = t2;
8100 _.children = t3;
8101 _.hasDeclarations = t4;
8102 },
8103 IfClause$(expression, children) {
8104 var t1 = A.List_List$unmodifiable(children, type$.Statement);
8105 return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
8106 },
8107 ElseClause$(children) {
8108 var t1 = A.List_List$unmodifiable(children, type$.Statement);
8109 return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
8110 },
8111 IfRule: function IfRule(t0, t1, t2) {
8112 this.clauses = t0;
8113 this.lastClause = t1;
8114 this.span = t2;
8115 },
8116 IfRule_toString_closure: function IfRule_toString_closure() {
8117 },
8118 IfRuleClause: function IfRuleClause() {
8119 },
8120 IfRuleClause$__closure: function IfRuleClause$__closure() {
8121 },
8122 IfRuleClause$___closure: function IfRuleClause$___closure() {
8123 },
8124 IfClause: function IfClause(t0, t1, t2) {
8125 this.expression = t0;
8126 this.children = t1;
8127 this.hasDeclarations = t2;
8128 },
8129 ElseClause: function ElseClause(t0, t1) {
8130 this.children = t0;
8131 this.hasDeclarations = t1;
8132 },
8133 ImportRule: function ImportRule(t0, t1) {
8134 this.imports = t0;
8135 this.span = t1;
8136 },
8137 IncludeRule: function IncludeRule(t0, t1, t2, t3, t4) {
8138 var _ = this;
8139 _.namespace = t0;
8140 _.name = t1;
8141 _.$arguments = t2;
8142 _.content = t3;
8143 _.span = t4;
8144 },
8145 LoudComment: function LoudComment(t0) {
8146 this.text = t0;
8147 },
8148 MediaRule$(query, children, span) {
8149 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8150 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8151 return new A.MediaRule(query, span, t1, t2);
8152 },
8153 MediaRule: function MediaRule(t0, t1, t2, t3) {
8154 var _ = this;
8155 _.query = t0;
8156 _.span = t1;
8157 _.children = t2;
8158 _.hasDeclarations = t3;
8159 },
8160 MixinRule$($name, $arguments, children, span, comment) {
8161 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8162 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8163 return new A.MixinRule($name, $arguments, span, t1, t2);
8164 },
8165 MixinRule: function MixinRule(t0, t1, t2, t3, t4) {
8166 var _ = this;
8167 _.__MixinRule_hasContent = $;
8168 _.name = t0;
8169 _.$arguments = t1;
8170 _.span = t2;
8171 _.children = t3;
8172 _.hasDeclarations = t4;
8173 },
8174 _HasContentVisitor: function _HasContentVisitor() {
8175 },
8176 ParentStatement: function ParentStatement() {
8177 },
8178 ParentStatement_closure: function ParentStatement_closure() {
8179 },
8180 ParentStatement__closure: function ParentStatement__closure() {
8181 },
8182 ReturnRule: function ReturnRule(t0, t1) {
8183 this.expression = t0;
8184 this.span = t1;
8185 },
8186 SilentComment: function SilentComment(t0, t1) {
8187 this.text = t0;
8188 this.span = t1;
8189 },
8190 StyleRule$(selector, children, span) {
8191 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8192 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8193 return new A.StyleRule(selector, span, t1, t2);
8194 },
8195 StyleRule: function StyleRule(t0, t1, t2, t3) {
8196 var _ = this;
8197 _.selector = t0;
8198 _.span = t1;
8199 _.children = t2;
8200 _.hasDeclarations = t3;
8201 },
8202 Stylesheet$(children, span) {
8203 var t1 = A._setArrayType([], type$.JSArray_UseRule),
8204 t2 = A._setArrayType([], type$.JSArray_ForwardRule),
8205 t3 = A.List_List$unmodifiable(children, type$.Statement),
8206 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
8207 t1 = new A.Stylesheet(span, false, t1, t2, t3, t4);
8208 t1.Stylesheet$internal$3$plainCss(children, span, false);
8209 return t1;
8210 },
8211 Stylesheet$internal(children, span, plainCss) {
8212 var t1 = A._setArrayType([], type$.JSArray_UseRule),
8213 t2 = A._setArrayType([], type$.JSArray_ForwardRule),
8214 t3 = A.List_List$unmodifiable(children, type$.Statement),
8215 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
8216 t1 = new A.Stylesheet(span, plainCss, t1, t2, t3, t4);
8217 t1.Stylesheet$internal$3$plainCss(children, span, plainCss);
8218 return t1;
8219 },
8220 Stylesheet_Stylesheet$parse(contents, syntax, logger, url) {
8221 var t1, t2;
8222 switch (syntax) {
8223 case B.Syntax_Sass:
8224 t1 = A.SpanScanner$(contents, url);
8225 t2 = logger == null ? B.StderrLogger_false : logger;
8226 return new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2).parse$0();
8227 case B.Syntax_SCSS:
8228 return A.ScssParser$(contents, logger, url).parse$0();
8229 case B.Syntax_CSS:
8230 t1 = A.SpanScanner$(contents, url);
8231 t2 = logger == null ? B.StderrLogger_false : logger;
8232 return new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2).parse$0();
8233 default:
8234 throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
8235 }
8236 },
8237 Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5) {
8238 var _ = this;
8239 _.span = t0;
8240 _.plainCss = t1;
8241 _._uses = t2;
8242 _._forwards = t3;
8243 _.children = t4;
8244 _.hasDeclarations = t5;
8245 },
8246 SupportsRule$(condition, children, span) {
8247 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8248 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8249 return new A.SupportsRule(condition, span, t1, t2);
8250 },
8251 SupportsRule: function SupportsRule(t0, t1, t2, t3) {
8252 var _ = this;
8253 _.condition = t0;
8254 _.span = t1;
8255 _.children = t2;
8256 _.hasDeclarations = t3;
8257 },
8258 UseRule: function UseRule(t0, t1, t2, t3) {
8259 var _ = this;
8260 _.url = t0;
8261 _.namespace = t1;
8262 _.configuration = t2;
8263 _.span = t3;
8264 },
8265 VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
8266 if (namespace != null && global)
8267 A.throwExpression(A.ArgumentError$(string$.Other_, null));
8268 return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
8269 },
8270 VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
8271 var _ = this;
8272 _.namespace = t0;
8273 _.name = t1;
8274 _.expression = t2;
8275 _.isGuarded = t3;
8276 _.isGlobal = t4;
8277 _.span = t5;
8278 },
8279 WarnRule: function WarnRule(t0, t1) {
8280 this.expression = t0;
8281 this.span = t1;
8282 },
8283 WhileRule$(condition, children, span) {
8284 var t1 = A.List_List$unmodifiable(children, type$.Statement),
8285 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
8286 return new A.WhileRule(condition, span, t1, t2);
8287 },
8288 WhileRule: function WhileRule(t0, t1, t2, t3) {
8289 var _ = this;
8290 _.condition = t0;
8291 _.span = t1;
8292 _.children = t2;
8293 _.hasDeclarations = t3;
8294 },
8295 SupportsAnything: function SupportsAnything(t0, t1) {
8296 this.contents = t0;
8297 this.span = t1;
8298 },
8299 SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
8300 this.name = t0;
8301 this.value = t1;
8302 this.span = t2;
8303 },
8304 SupportsFunction: function SupportsFunction(t0, t1, t2) {
8305 this.name = t0;
8306 this.$arguments = t1;
8307 this.span = t2;
8308 },
8309 SupportsInterpolation: function SupportsInterpolation(t0, t1) {
8310 this.expression = t0;
8311 this.span = t1;
8312 },
8313 SupportsNegation: function SupportsNegation(t0, t1) {
8314 this.condition = t0;
8315 this.span = t1;
8316 },
8317 SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
8318 var _ = this;
8319 _.left = t0;
8320 _.right = t1;
8321 _.operator = t2;
8322 _.span = t3;
8323 },
8324 Selector: function Selector() {
8325 },
8326 AttributeSelector: function AttributeSelector(t0, t1, t2, t3) {
8327 var _ = this;
8328 _.name = t0;
8329 _.op = t1;
8330 _.value = t2;
8331 _.modifier = t3;
8332 },
8333 AttributeOperator: function AttributeOperator(t0) {
8334 this._attribute$_text = t0;
8335 },
8336 ClassSelector: function ClassSelector(t0) {
8337 this.name = t0;
8338 },
8339 ComplexSelector$(components, lineBreak) {
8340 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
8341 if (t1.length === 0)
8342 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8343 return new A.ComplexSelector(t1, lineBreak);
8344 },
8345 ComplexSelector: function ComplexSelector(t0, t1) {
8346 var _ = this;
8347 _.components = t0;
8348 _.lineBreak = t1;
8349 _._complex$_maxSpecificity = _._minSpecificity = null;
8350 _.__ComplexSelector_isInvisible = $;
8351 },
8352 ComplexSelector_isInvisible_closure: function ComplexSelector_isInvisible_closure() {
8353 },
8354 Combinator: function Combinator(t0) {
8355 this._complex$_text = t0;
8356 },
8357 CompoundSelector$(components) {
8358 var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
8359 if (t1.length === 0)
8360 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8361 return new A.CompoundSelector(t1);
8362 },
8363 CompoundSelector: function CompoundSelector(t0) {
8364 this.components = t0;
8365 this._maxSpecificity = this._compound$_minSpecificity = null;
8366 },
8367 CompoundSelector_isInvisible_closure: function CompoundSelector_isInvisible_closure() {
8368 },
8369 IDSelector: function IDSelector(t0) {
8370 this.name = t0;
8371 },
8372 IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
8373 this.$this = t0;
8374 },
8375 SelectorList$(components) {
8376 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
8377 if (t1.length === 0)
8378 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
8379 return new A.SelectorList(t1);
8380 },
8381 SelectorList_SelectorList$parse(contents, allowParent, allowPlaceholder, logger) {
8382 return A.SelectorParser$(contents, allowParent, allowPlaceholder, logger, null).parse$0();
8383 },
8384 SelectorList: function SelectorList(t0) {
8385 this.components = t0;
8386 },
8387 SelectorList_isInvisible_closure: function SelectorList_isInvisible_closure() {
8388 },
8389 SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
8390 },
8391 SelectorList_asSassList__closure: function SelectorList_asSassList__closure() {
8392 },
8393 SelectorList_unify_closure: function SelectorList_unify_closure(t0) {
8394 this.other = t0;
8395 },
8396 SelectorList_unify__closure: function SelectorList_unify__closure(t0) {
8397 this.complex1 = t0;
8398 },
8399 SelectorList_unify___closure: function SelectorList_unify___closure() {
8400 },
8401 SelectorList_resolveParentSelectors_closure: function SelectorList_resolveParentSelectors_closure(t0, t1, t2) {
8402 this.$this = t0;
8403 this.implicitParent = t1;
8404 this.parent = t2;
8405 },
8406 SelectorList_resolveParentSelectors__closure: function SelectorList_resolveParentSelectors__closure(t0) {
8407 this.complex = t0;
8408 },
8409 SelectorList_resolveParentSelectors__closure0: function SelectorList_resolveParentSelectors__closure0(t0) {
8410 this._box_0 = t0;
8411 },
8412 SelectorList__complexContainsParentSelector_closure: function SelectorList__complexContainsParentSelector_closure() {
8413 },
8414 SelectorList__complexContainsParentSelector__closure: function SelectorList__complexContainsParentSelector__closure() {
8415 },
8416 SelectorList__resolveParentSelectorsCompound_closure: function SelectorList__resolveParentSelectorsCompound_closure() {
8417 },
8418 SelectorList__resolveParentSelectorsCompound_closure0: function SelectorList__resolveParentSelectorsCompound_closure0(t0) {
8419 this.parent = t0;
8420 },
8421 SelectorList__resolveParentSelectorsCompound_closure1: function SelectorList__resolveParentSelectorsCompound_closure1(t0, t1) {
8422 this.compound = t0;
8423 this.resolvedMembers = t1;
8424 },
8425 ParentSelector: function ParentSelector(t0) {
8426 this.suffix = t0;
8427 },
8428 PlaceholderSelector: function PlaceholderSelector(t0) {
8429 this.name = t0;
8430 },
8431 PseudoSelector$($name, argument, element, selector) {
8432 var t1 = !element,
8433 t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
8434 return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector);
8435 },
8436 PseudoSelector__isFakePseudoElement($name) {
8437 switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
8438 case 97:
8439 case 65:
8440 return A.equalsIgnoreCase($name, "after");
8441 case 98:
8442 case 66:
8443 return A.equalsIgnoreCase($name, "before");
8444 case 102:
8445 case 70:
8446 return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
8447 default:
8448 return false;
8449 }
8450 },
8451 PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5) {
8452 var _ = this;
8453 _.name = t0;
8454 _.normalizedName = t1;
8455 _.isClass = t2;
8456 _.isSyntacticClass = t3;
8457 _.argument = t4;
8458 _.selector = t5;
8459 _._pseudo$_maxSpecificity = _._pseudo$_minSpecificity = null;
8460 },
8461 PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
8462 },
8463 QualifiedName: function QualifiedName(t0, t1) {
8464 this.name = t0;
8465 this.namespace = t1;
8466 },
8467 SimpleSelector: function SimpleSelector() {
8468 },
8469 TypeSelector: function TypeSelector(t0) {
8470 this.name = t0;
8471 },
8472 UniversalSelector: function UniversalSelector(t0) {
8473 this.namespace = t0;
8474 },
8475 compileAsync(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
8476 return A.compileAsync$body(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose);
8477 },
8478 compileAsync$body(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
8479 var $async$goto = 0,
8480 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8481 $async$returnValue, t1, terseLogger, t2, stylesheet, result;
8482 var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8483 if ($async$errorCode === 1)
8484 return A._asyncRethrow($async$result, $async$completer);
8485 while (true)
8486 switch ($async$goto) {
8487 case 0:
8488 // Function start
8489 if (!verbose) {
8490 t1 = logger == null ? new A.StderrLogger(false) : logger;
8491 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), t1);
8492 logger = terseLogger;
8493 } else
8494 terseLogger = null;
8495 t1 = syntax === A.Syntax_forPath(path);
8496 $async$goto = t1 ? 3 : 5;
8497 break;
8498 case 3:
8499 // then
8500 t1 = $.$get$context();
8501 t2 = t1.absolute$7(".", null, null, null, null, null, null);
8502 $async$goto = 6;
8503 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);
8504 case 6:
8505 // returning from await.
8506 t2 = $async$result;
8507 t2.toString;
8508 stylesheet = t2;
8509 // goto join
8510 $async$goto = 4;
8511 break;
8512 case 5:
8513 // else
8514 t1 = A.readFile(path);
8515 t2 = $.$get$context();
8516 stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, logger, t2.toUri$1(path));
8517 t1 = t2;
8518 case 4:
8519 // join
8520 $async$goto = 7;
8521 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);
8522 case 7:
8523 // returning from await.
8524 result = $async$result;
8525 if (terseLogger != null)
8526 terseLogger.summarize$1$node(false);
8527 $async$returnValue = result;
8528 // goto return
8529 $async$goto = 1;
8530 break;
8531 case 1:
8532 // return
8533 return A._asyncReturn($async$returnValue, $async$completer);
8534 }
8535 });
8536 return A._asyncStartSync($async$compileAsync, $async$completer);
8537 },
8538 compileStringAsync(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
8539 return A.compileStringAsync$body(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose);
8540 },
8541 compileStringAsync$body(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
8542 var $async$goto = 0,
8543 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8544 $async$returnValue, t1, terseLogger, stylesheet, result;
8545 var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8546 if ($async$errorCode === 1)
8547 return A._asyncRethrow($async$result, $async$completer);
8548 while (true)
8549 switch ($async$goto) {
8550 case 0:
8551 // Function start
8552 if (!verbose) {
8553 t1 = logger == null ? new A.StderrLogger(false) : logger;
8554 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), t1);
8555 logger = terseLogger;
8556 } else
8557 terseLogger = null;
8558 stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, logger, null);
8559 $async$goto = 3;
8560 return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
8561 case 3:
8562 // returning from await.
8563 result = $async$result;
8564 if (terseLogger != null)
8565 terseLogger.summarize$1$node(false);
8566 $async$returnValue = result;
8567 // goto return
8568 $async$goto = 1;
8569 break;
8570 case 1:
8571 // return
8572 return A._asyncReturn($async$returnValue, $async$completer);
8573 }
8574 });
8575 return A._asyncStartSync($async$compileStringAsync, $async$completer);
8576 },
8577 _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
8578 var $async$goto = 0,
8579 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
8580 $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
8581 var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
8582 if ($async$errorCode === 1)
8583 return A._asyncRethrow($async$result, $async$completer);
8584 while (true)
8585 switch ($async$goto) {
8586 case 0:
8587 // Function start
8588 $async$temp1 = A;
8589 $async$goto = 3;
8590 return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
8591 case 3:
8592 // returning from await.
8593 serializeResult = $async$temp1.serialize($async$result.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, true);
8594 resultSourceMap = serializeResult.sourceMap;
8595 if (resultSourceMap != null && true)
8596 A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
8597 $async$returnValue = new A.CompileResult(serializeResult);
8598 // goto return
8599 $async$goto = 1;
8600 break;
8601 case 1:
8602 // return
8603 return A._asyncReturn($async$returnValue, $async$completer);
8604 }
8605 });
8606 return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
8607 },
8608 _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
8609 this.stylesheet = t0;
8610 this.importCache = t1;
8611 },
8612 AsyncEnvironment$() {
8613 var t1 = type$.String,
8614 t2 = type$.Module_AsyncCallable,
8615 t3 = type$.AstNode,
8616 t4 = type$.int,
8617 t5 = type$.AsyncCallable,
8618 t6 = type$.JSArray_Map_String_AsyncCallable;
8619 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);
8620 },
8621 AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
8622 var t1 = type$.String,
8623 t2 = type$.int;
8624 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);
8625 },
8626 _EnvironmentModule__EnvironmentModule0(environment, css, extensionStore, forwarded) {
8627 var t1, t2, t3, t4, t5, t6;
8628 if (forwarded == null)
8629 forwarded = B.Set_empty0;
8630 t1 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
8631 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);
8632 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);
8633 t4 = type$.Map_String_AsyncCallable;
8634 t5 = type$.AsyncCallable;
8635 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);
8636 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);
8637 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure9());
8638 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()));
8639 },
8640 _EnvironmentModule__makeModulesByVariable0(forwarded) {
8641 var modulesByVariable, t1, t2, t3, t4, t5;
8642 if (forwarded.get$isEmpty(forwarded))
8643 return B.Map_empty3;
8644 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
8645 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
8646 t2 = t1.get$current(t1);
8647 if (t2 instanceof A._EnvironmentModule0) {
8648 for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
8649 t4 = t3.get$current(t3);
8650 t5 = t4.get$variables();
8651 A.setAll(modulesByVariable, t5.get$keys(t5), t4);
8652 }
8653 A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
8654 } else {
8655 t3 = t2.get$variables();
8656 A.setAll(modulesByVariable, t3.get$keys(t3), t2);
8657 }
8658 }
8659 return modulesByVariable;
8660 },
8661 _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
8662 var t1, t2, t3;
8663 localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
8664 if (otherMaps.get$isEmpty(otherMaps))
8665 return localMap;
8666 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
8667 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
8668 t3 = t2.get$current(t2);
8669 if (t3.get$isNotEmpty(t3))
8670 t1.push(t3);
8671 }
8672 t1.push(localMap);
8673 if (t1.length === 1)
8674 return localMap;
8675 return A.MergedMapView$(t1, type$.String, $V);
8676 },
8677 _EnvironmentModule$_0(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
8678 return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
8679 },
8680 AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
8681 var _ = this;
8682 _._async_environment$_modules = t0;
8683 _._async_environment$_namespaceNodes = t1;
8684 _._async_environment$_globalModules = t2;
8685 _._async_environment$_importedModules = t3;
8686 _._async_environment$_forwardedModules = t4;
8687 _._async_environment$_nestedForwardedModules = t5;
8688 _._async_environment$_allModules = t6;
8689 _._async_environment$_variables = t7;
8690 _._async_environment$_variableNodes = t8;
8691 _._async_environment$_variableIndices = t9;
8692 _._async_environment$_functions = t10;
8693 _._async_environment$_functionIndices = t11;
8694 _._async_environment$_mixins = t12;
8695 _._async_environment$_mixinIndices = t13;
8696 _._async_environment$_content = t14;
8697 _._async_environment$_inMixin = false;
8698 _._async_environment$_inSemiGlobalScope = true;
8699 _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
8700 },
8701 AsyncEnvironment_importForwards_closure: function AsyncEnvironment_importForwards_closure() {
8702 },
8703 AsyncEnvironment_importForwards_closure0: function AsyncEnvironment_importForwards_closure0() {
8704 },
8705 AsyncEnvironment_importForwards_closure1: function AsyncEnvironment_importForwards_closure1() {
8706 },
8707 AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
8708 this.name = t0;
8709 },
8710 AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
8711 this.$this = t0;
8712 this.name = t1;
8713 },
8714 AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
8715 this.name = t0;
8716 },
8717 AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
8718 this.$this = t0;
8719 this.name = t1;
8720 },
8721 AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
8722 this.name = t0;
8723 },
8724 AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
8725 this.name = t0;
8726 },
8727 AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
8728 },
8729 AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
8730 },
8731 AsyncEnvironment__fromOneModule_closure: function AsyncEnvironment__fromOneModule_closure(t0, t1) {
8732 this.callback = t0;
8733 this.T = t1;
8734 },
8735 AsyncEnvironment__fromOneModule__closure: function AsyncEnvironment__fromOneModule__closure(t0, t1) {
8736 this.entry = t0;
8737 this.T = t1;
8738 },
8739 _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
8740 var _ = this;
8741 _.upstream = t0;
8742 _.variables = t1;
8743 _.variableNodes = t2;
8744 _.functions = t3;
8745 _.mixins = t4;
8746 _.extensionStore = t5;
8747 _.css = t6;
8748 _.transitivelyContainsCss = t7;
8749 _.transitivelyContainsExtensions = t8;
8750 _._async_environment$_environment = t9;
8751 _._async_environment$_modulesByVariable = t10;
8752 },
8753 _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
8754 },
8755 _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
8756 },
8757 _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
8758 },
8759 _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
8760 },
8761 _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
8762 },
8763 _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
8764 },
8765 AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
8766 var t2, t3, _i, path, _null = null,
8767 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
8768 t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
8769 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
8770 t3 = t2.get$current(t2);
8771 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
8772 }
8773 if (sassPath != null) {
8774 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
8775 t3 = t2.length;
8776 _i = 0;
8777 for (; _i < t3; ++_i) {
8778 path = t2[_i];
8779 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
8780 }
8781 }
8782 return t1;
8783 },
8784 AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5) {
8785 var _ = this;
8786 _._async_import_cache$_importers = t0;
8787 _._async_import_cache$_logger = t1;
8788 _._async_import_cache$_canonicalizeCache = t2;
8789 _._async_import_cache$_relativeCanonicalizeCache = t3;
8790 _._async_import_cache$_importCache = t4;
8791 _._async_import_cache$_resultsCache = t5;
8792 },
8793 AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
8794 var _ = this;
8795 _.$this = t0;
8796 _.baseUrl = t1;
8797 _.url = t2;
8798 _.baseImporter = t3;
8799 _.forImport = t4;
8800 },
8801 AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2) {
8802 this.$this = t0;
8803 this.url = t1;
8804 this.forImport = t2;
8805 },
8806 AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
8807 this.importer = t0;
8808 this.url = t1;
8809 },
8810 AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
8811 var _ = this;
8812 _.$this = t0;
8813 _.importer = t1;
8814 _.canonicalUrl = t2;
8815 _.originalUrl = t3;
8816 _.quiet = t4;
8817 },
8818 AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
8819 this.canonicalUrl = t0;
8820 },
8821 AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
8822 },
8823 AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
8824 },
8825 AsyncBuiltInCallable$mixin($name, $arguments, callback, url) {
8826 return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure(callback));
8827 },
8828 AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2) {
8829 this.name = t0;
8830 this._async_built_in$_arguments = t1;
8831 this._async_built_in$_callback = t2;
8832 },
8833 AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
8834 this.callback = t0;
8835 },
8836 BuiltInCallable$function($name, $arguments, callback, url) {
8837 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));
8838 },
8839 BuiltInCallable$mixin($name, $arguments, callback, url) {
8840 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));
8841 },
8842 BuiltInCallable$overloadedFunction($name, overloads) {
8843 var t2, t3, t4, t5, t6, t7,
8844 t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value);
8845 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();) {
8846 t6 = t2.get$current(t2);
8847 t7 = A.SpanScanner$("@function " + $name + "(" + A.S(t6.key) + ") {", null);
8848 t1.push(new A.Tuple2(new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t7, B.StderrLogger_false).parseArgumentDeclaration$0(), t6.value, t3));
8849 }
8850 return new A.BuiltInCallable($name, t1);
8851 },
8852 BuiltInCallable: function BuiltInCallable(t0, t1) {
8853 this.name = t0;
8854 this._overloads = t1;
8855 },
8856 BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
8857 this.callback = t0;
8858 },
8859 PlainCssCallable: function PlainCssCallable(t0) {
8860 this.name = t0;
8861 },
8862 UserDefinedCallable: function UserDefinedCallable(t0, t1, t2) {
8863 this.declaration = t0;
8864 this.environment = t1;
8865 this.$ti = t2;
8866 },
8867 _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
8868 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),
8869 resultSourceMap = serializeResult.sourceMap;
8870 if (resultSourceMap != null && true)
8871 A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
8872 return new A.CompileResult(serializeResult);
8873 },
8874 _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
8875 this.stylesheet = t0;
8876 this.importCache = t1;
8877 },
8878 CompileResult: function CompileResult(t0) {
8879 this._serialize = t0;
8880 },
8881 Configuration: function Configuration(t0) {
8882 this._values = t0;
8883 },
8884 Configuration_toString_closure: function Configuration_toString_closure() {
8885 },
8886 ExplicitConfiguration: function ExplicitConfiguration(t0, t1) {
8887 this.nodeWithSpan = t0;
8888 this._values = t1;
8889 },
8890 ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
8891 this.value = t0;
8892 this.configurationSpan = t1;
8893 this.assignmentNode = t2;
8894 },
8895 Environment$() {
8896 var t1 = type$.String,
8897 t2 = type$.Module_Callable,
8898 t3 = type$.AstNode,
8899 t4 = type$.int,
8900 t5 = type$.Callable,
8901 t6 = type$.JSArray_Map_String_Callable;
8902 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);
8903 },
8904 Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
8905 var t1 = type$.String,
8906 t2 = type$.int;
8907 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);
8908 },
8909 _EnvironmentModule__EnvironmentModule(environment, css, extensionStore, forwarded) {
8910 var t1, t2, t3, t4, t5, t6;
8911 if (forwarded == null)
8912 forwarded = B.Set_empty;
8913 t1 = A._EnvironmentModule__makeModulesByVariable(forwarded);
8914 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);
8915 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);
8916 t4 = type$.Map_String_Callable;
8917 t5 = type$.Callable;
8918 t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t4), t5);
8919 t5 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t4), t5);
8920 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure3());
8921 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()));
8922 },
8923 _EnvironmentModule__makeModulesByVariable(forwarded) {
8924 var modulesByVariable, t1, t2, t3, t4, t5;
8925 if (forwarded.get$isEmpty(forwarded))
8926 return B.Map_empty;
8927 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
8928 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
8929 t2 = t1.get$current(t1);
8930 if (t2 instanceof A._EnvironmentModule) {
8931 for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
8932 t4 = t3.get$current(t3);
8933 t5 = t4.get$variables();
8934 A.setAll(modulesByVariable, t5.get$keys(t5), t4);
8935 }
8936 A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
8937 } else {
8938 t3 = t2.get$variables();
8939 A.setAll(modulesByVariable, t3.get$keys(t3), t2);
8940 }
8941 }
8942 return modulesByVariable;
8943 },
8944 _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
8945 var t1, t2, t3;
8946 localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
8947 if (otherMaps.get$isEmpty(otherMaps))
8948 return localMap;
8949 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
8950 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
8951 t3 = t2.get$current(t2);
8952 if (t3.get$isNotEmpty(t3))
8953 t1.push(t3);
8954 }
8955 t1.push(localMap);
8956 if (t1.length === 1)
8957 return localMap;
8958 return A.MergedMapView$(t1, type$.String, $V);
8959 },
8960 _EnvironmentModule$_(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
8961 return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
8962 },
8963 Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
8964 var _ = this;
8965 _._environment$_modules = t0;
8966 _._namespaceNodes = t1;
8967 _._globalModules = t2;
8968 _._importedModules = t3;
8969 _._forwardedModules = t4;
8970 _._nestedForwardedModules = t5;
8971 _._allModules = t6;
8972 _._variables = t7;
8973 _._variableNodes = t8;
8974 _._variableIndices = t9;
8975 _._functions = t10;
8976 _._functionIndices = t11;
8977 _._mixins = t12;
8978 _._mixinIndices = t13;
8979 _._content = t14;
8980 _._inMixin = false;
8981 _._inSemiGlobalScope = true;
8982 _._lastVariableIndex = _._lastVariableName = null;
8983 },
8984 Environment_importForwards_closure: function Environment_importForwards_closure() {
8985 },
8986 Environment_importForwards_closure0: function Environment_importForwards_closure0() {
8987 },
8988 Environment_importForwards_closure1: function Environment_importForwards_closure1() {
8989 },
8990 Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
8991 this.name = t0;
8992 },
8993 Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
8994 this.$this = t0;
8995 this.name = t1;
8996 },
8997 Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
8998 this.name = t0;
8999 },
9000 Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
9001 this.$this = t0;
9002 this.name = t1;
9003 },
9004 Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
9005 this.name = t0;
9006 },
9007 Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
9008 this.name = t0;
9009 },
9010 Environment_toModule_closure: function Environment_toModule_closure() {
9011 },
9012 Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
9013 },
9014 Environment__fromOneModule_closure: function Environment__fromOneModule_closure(t0, t1) {
9015 this.callback = t0;
9016 this.T = t1;
9017 },
9018 Environment__fromOneModule__closure: function Environment__fromOneModule__closure(t0, t1) {
9019 this.entry = t0;
9020 this.T = t1;
9021 },
9022 _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
9023 var _ = this;
9024 _.upstream = t0;
9025 _.variables = t1;
9026 _.variableNodes = t2;
9027 _.functions = t3;
9028 _.mixins = t4;
9029 _.extensionStore = t5;
9030 _.css = t6;
9031 _.transitivelyContainsCss = t7;
9032 _.transitivelyContainsExtensions = t8;
9033 _._environment$_environment = t9;
9034 _._modulesByVariable = t10;
9035 },
9036 _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
9037 },
9038 _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
9039 },
9040 _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
9041 },
9042 _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
9043 },
9044 _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
9045 },
9046 _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
9047 },
9048 SassException$(message, span) {
9049 return new A.SassException(message, span);
9050 },
9051 MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace) {
9052 return new A.MultiSpanSassRuntimeException(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
9053 },
9054 SassFormatException$(message, span) {
9055 return new A.SassFormatException(message, span);
9056 },
9057 SassScriptException$(message) {
9058 return new A.SassScriptException(message);
9059 },
9060 MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
9061 return new A.MultiSpanSassScriptException(primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message);
9062 },
9063 SassException: function SassException(t0, t1) {
9064 this._span_exception$_message = t0;
9065 this._span = t1;
9066 },
9067 MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3) {
9068 var _ = this;
9069 _.primaryLabel = t0;
9070 _.secondarySpans = t1;
9071 _._span_exception$_message = t2;
9072 _._span = t3;
9073 },
9074 SassRuntimeException: function SassRuntimeException(t0, t1, t2) {
9075 this.trace = t0;
9076 this._span_exception$_message = t1;
9077 this._span = t2;
9078 },
9079 MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4) {
9080 var _ = this;
9081 _.trace = t0;
9082 _.primaryLabel = t1;
9083 _.secondarySpans = t2;
9084 _._span_exception$_message = t3;
9085 _._span = t4;
9086 },
9087 SassFormatException: function SassFormatException(t0, t1) {
9088 this._span_exception$_message = t0;
9089 this._span = t1;
9090 },
9091 SassScriptException: function SassScriptException(t0) {
9092 this.message = t0;
9093 },
9094 MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
9095 this.primaryLabel = t0;
9096 this.secondarySpans = t1;
9097 this.message = t2;
9098 },
9099 compileStylesheet(options, graph, source, destination, ifModified) {
9100 return A.compileStylesheet$body(options, graph, source, destination, ifModified);
9101 },
9102 compileStylesheet$body(options, graph, source, destination, ifModified) {
9103 var $async$goto = 0,
9104 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
9105 $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;
9106 var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
9107 if ($async$errorCode === 1) {
9108 $async$currentError = $async$result;
9109 $async$goto = $async$handler;
9110 }
9111 while (true)
9112 switch ($async$goto) {
9113 case 0:
9114 // Function start
9115 t1 = $.$get$context();
9116 importer = new A.FilesystemImporter(t1.absolute$7(".", null, null, null, null, null, null));
9117 if (ifModified)
9118 try {
9119 if (source != null && destination != null && !graph.modifiedSince$3(t1.toUri$1(source), A.modificationTime(destination), importer)) {
9120 // goto return
9121 $async$goto = 1;
9122 break;
9123 }
9124 } catch (exception) {
9125 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
9126 throw exception;
9127 }
9128 syntax = null;
9129 if (A._asBoolQ(options._ifParsed$1("indented")) === true)
9130 syntax = B.Syntax_Sass;
9131 else if (source != null)
9132 syntax = A.Syntax_forPath(source);
9133 else
9134 syntax = B.Syntax_SCSS;
9135 result = null;
9136 $async$handler = 4;
9137 t1 = options._options;
9138 $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
9139 break;
9140 case 7:
9141 // then
9142 t2 = type$.List_String._as(t1.$index(0, "load-path"));
9143 t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9144 t4 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri;
9145 t5 = type$.Uri;
9146 t2 = A.AsyncImportCache__toImporters(null, t2, null);
9147 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));
9148 $async$goto = source == null ? 10 : 12;
9149 break;
9150 case 10:
9151 // then
9152 $async$goto = 13;
9153 return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
9154 case 13:
9155 // returning from await.
9156 t2 = $async$result;
9157 t3 = syntax;
9158 t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9159 t5 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
9160 t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9161 t7 = A._asBool(t1.$index(0, "quiet-deps"));
9162 t8 = A._asBool(t1.$index(0, "verbose"));
9163 t9 = options.get$emitSourceMap();
9164 $async$goto = 14;
9165 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);
9166 case 14:
9167 // returning from await.
9168 result0 = $async$result;
9169 // goto join
9170 $async$goto = 11;
9171 break;
9172 case 12:
9173 // else
9174 t2 = syntax;
9175 t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9176 t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9177 t5 = A._asBool(t1.$index(0, "quiet-deps"));
9178 t6 = A._asBool(t1.$index(0, "verbose"));
9179 t7 = options.get$emitSourceMap();
9180 $async$goto = 15;
9181 return A._asyncAwait(A.compileAsync(source, A._asBool(t1.$index(0, "charset")), importCache, t3, t5, t7, t4, t2, t6), $async$compileStylesheet);
9182 case 15:
9183 // returning from await.
9184 result0 = $async$result;
9185 case 11:
9186 // join
9187 result = result0;
9188 // goto join
9189 $async$goto = 8;
9190 break;
9191 case 9:
9192 // else
9193 $async$goto = source == null ? 16 : 18;
9194 break;
9195 case 16:
9196 // then
9197 $async$goto = 19;
9198 return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
9199 case 19:
9200 // returning from await.
9201 t2 = $async$result;
9202 t3 = syntax;
9203 logger = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9204 t4 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
9205 t5 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9206 t6 = A._asBool(t1.$index(0, "quiet-deps"));
9207 t7 = A._asBool(t1.$index(0, "verbose"));
9208 t8 = options.get$emitSourceMap();
9209 t1 = A._asBool(t1.$index(0, "charset"));
9210 if (!t7) {
9211 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
9212 logger = terseLogger;
9213 } else
9214 terseLogger = null;
9215 stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS : t3, logger, null);
9216 result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, new A.FilesystemImporter(t4), null, t5, true, null, null, t6, t8, t1);
9217 if (terseLogger != null)
9218 terseLogger.summarize$1$node(false);
9219 // goto join
9220 $async$goto = 17;
9221 break;
9222 case 18:
9223 // else
9224 t2 = syntax;
9225 logger = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
9226 importCache = graph.importCache;
9227 t3 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded;
9228 t4 = A._asBool(t1.$index(0, "quiet-deps"));
9229 t5 = A._asBool(t1.$index(0, "verbose"));
9230 t6 = options.get$emitSourceMap();
9231 t1 = A._asBool(t1.$index(0, "charset"));
9232 if (!t5) {
9233 terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
9234 logger = terseLogger;
9235 } else
9236 terseLogger = null;
9237 t5 = t2 == null || t2 === A.Syntax_forPath(source);
9238 if (t5) {
9239 t2 = $.$get$context();
9240 t5 = t2.absolute$7(".", null, null, null, null, null, null);
9241 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));
9242 t5.toString;
9243 stylesheet = t5;
9244 } else {
9245 t5 = A.readFile(source);
9246 if (t2 == null)
9247 t2 = A.Syntax_forPath(source);
9248 t7 = $.$get$context();
9249 stylesheet = A.Stylesheet_Stylesheet$parse(t5, t2, logger, t7.toUri$1(source));
9250 t2 = t7;
9251 }
9252 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);
9253 if (terseLogger != null)
9254 terseLogger.summarize$1$node(false);
9255 case 17:
9256 // join
9257 result = result0;
9258 case 8:
9259 // join
9260 $async$handler = 2;
9261 // goto after finally
9262 $async$goto = 6;
9263 break;
9264 case 4:
9265 // catch
9266 $async$handler = 3;
9267 $async$exception = $async$currentError;
9268 t1 = A.unwrapException($async$exception);
9269 if (t1 instanceof A.SassException) {
9270 error = t1;
9271 if (options.get$emitErrorCss())
9272 if (destination == null)
9273 A.print(error.toCssString$0());
9274 else {
9275 A.ensureDir($.$get$context().dirname$1(destination));
9276 A.writeFile(destination, error.toCssString$0() + "\n");
9277 }
9278 throw $async$exception;
9279 } else
9280 throw $async$exception;
9281 // goto after finally
9282 $async$goto = 6;
9283 break;
9284 case 3:
9285 // uncaught
9286 // goto rethrow
9287 $async$goto = 2;
9288 break;
9289 case 6:
9290 // after finally
9291 css = result._serialize.css + A._writeSourceMap(options, result._serialize.sourceMap, destination);
9292 if (destination == null) {
9293 if (css.length !== 0)
9294 A.print(css);
9295 } else {
9296 A.ensureDir($.$get$context().dirname$1(destination));
9297 A.writeFile(destination, css + "\n");
9298 }
9299 t1 = options._options;
9300 if (!A._asBool(t1.$index(0, "quiet")))
9301 t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
9302 else
9303 t1 = true;
9304 if (t1) {
9305 // goto return
9306 $async$goto = 1;
9307 break;
9308 }
9309 buffer = new A.StringBuffer("");
9310 t1 = options.get$color() ? buffer._contents = "" + "\x1b[32m" : "";
9311 if (source == null)
9312 sourceName = "stdin";
9313 else {
9314 t2 = $.$get$context();
9315 sourceName = t2.prettyUri$1(t2.toUri$1(source));
9316 }
9317 destination.toString;
9318 t2 = $.$get$context();
9319 destinationName = t2.prettyUri$1(t2.toUri$1(destination));
9320 t1 += "Compiled " + sourceName + " to " + destinationName + ".";
9321 buffer._contents = t1;
9322 if (options.get$color())
9323 buffer._contents = t1 + "\x1b[0m";
9324 A.print(buffer);
9325 case 1:
9326 // return
9327 return A._asyncReturn($async$returnValue, $async$completer);
9328 case 2:
9329 // rethrow
9330 return A._asyncRethrow($async$currentError, $async$completer);
9331 }
9332 });
9333 return A._asyncStartSync($async$compileStylesheet, $async$completer);
9334 },
9335 _writeSourceMap(options, sourceMap, destination) {
9336 var t1, sourceMapText, url, sourceMapPath, t2;
9337 if (sourceMap == null)
9338 return "";
9339 if (destination != null) {
9340 t1 = $.$get$context();
9341 sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
9342 }
9343 A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
9344 t1 = options._options;
9345 sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
9346 if (A._asBool(t1.$index(0, "embed-source-map")))
9347 url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
9348 else {
9349 destination.toString;
9350 sourceMapPath = destination + ".map";
9351 t2 = $.$get$context();
9352 A.ensureDir(t2.dirname$1(sourceMapPath));
9353 A.writeFile(sourceMapPath, sourceMapText);
9354 url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
9355 }
9356 t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_compressed : B.OutputStyle_expanded) === B.OutputStyle_compressed ? "" : "\n\n";
9357 return t1 + ("/*# sourceMappingURL=" + url.toString$0(0) + " */");
9358 },
9359 _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
9360 this.options = t0;
9361 this.destination = t1;
9362 },
9363 ExecutableOptions__separator(text) {
9364 var t1 = $.$get$ExecutableOptions__separatorBar(),
9365 t2 = B.JSString_methods.$mul(t1, 3) + " ";
9366 t2 = t2 + (J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[1m" : "") + text;
9367 return t2 + (J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[0m" : "") + " " + B.JSString_methods.$mul(t1, 35 - text.length);
9368 },
9369 ExecutableOptions__fail(message) {
9370 return A.throwExpression(A.UsageException$(message));
9371 },
9372 ExecutableOptions_ExecutableOptions$parse(args) {
9373 var options, error, t1, exception;
9374 try {
9375 t1 = A.Parser$(null, $.$get$ExecutableOptions__parser(), A.ListQueue_ListQueue$of(args, type$.String), null, null).parse$0();
9376 if (t1.wasParsed$1("poll") && !A._asBool(t1.$index(0, "watch")))
9377 A.ExecutableOptions__fail("--poll may not be passed without --watch.");
9378 options = new A.ExecutableOptions(t1);
9379 if (A._asBool(options._options.$index(0, "help")))
9380 A.ExecutableOptions__fail("Compile Sass to CSS.");
9381 return options;
9382 } catch (exception) {
9383 t1 = A.unwrapException(exception);
9384 if (type$.FormatException._is(t1)) {
9385 error = t1;
9386 A.ExecutableOptions__fail(J.get$message$x(error));
9387 } else
9388 throw exception;
9389 }
9390 },
9391 UsageException$(message) {
9392 return new A.UsageException(message);
9393 },
9394 ExecutableOptions: function ExecutableOptions(t0) {
9395 var _ = this;
9396 _._options = t0;
9397 _.__ExecutableOptions_interactive = $;
9398 _._sourcesToDestinations = null;
9399 _.__ExecutableOptions__sourceDirectoriesToDestinations = $;
9400 },
9401 ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
9402 },
9403 ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
9404 this.$this = t0;
9405 },
9406 ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
9407 },
9408 UsageException: function UsageException(t0) {
9409 this.message = t0;
9410 },
9411 watch(options, graph) {
9412 return A.watch$body(options, graph);
9413 },
9414 watch$body(options, graph) {
9415 var $async$goto = 0,
9416 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
9417 $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, watcher;
9418 var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
9419 if ($async$errorCode === 1)
9420 return A._asyncRethrow($async$result, $async$completer);
9421 while (true)
9422 switch ($async$goto) {
9423 case 0:
9424 // Function start
9425 options._ensureSources$0();
9426 t1 = type$.String;
9427 t2 = A._lateReadCheck(options.__ExecutableOptions__sourceDirectoriesToDestinations, "_sourceDirectoriesToDestinations").cast$2$0(0, t1, t1);
9428 t2 = A.List_List$of(t2.get$keys(t2), true, t1);
9429 for (options._ensureSources$0(), t3 = options._sourcesToDestinations.cast$2$0(0, t1, t1), t3 = J.get$iterator$ax(t3.get$keys(t3)); t3.moveNext$0();) {
9430 t4 = t3.get$current(t3);
9431 t2.push($.$get$context().dirname$1(t4));
9432 }
9433 t3 = options._options;
9434 B.JSArray_methods.addAll$1(t2, type$.List_String._as(t3.$index(0, "load-path")));
9435 t4 = A._asBool(t3.$index(0, "poll"));
9436 t5 = type$.Stream_WatchEvent;
9437 t6 = A.PathMap__create(null, t5);
9438 t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
9439 t5.__StreamGroup__controller = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
9440 dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
9441 $async$goto = 3;
9442 return A._asyncAwait(A.Future_wait(new A.MappedListIterable(t2, new A.watch_closure(dirWatcher), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Future<~>>")), type$.void), $async$watch);
9443 case 3:
9444 // returning from await.
9445 watcher = new A._Watcher(options, graph);
9446 options._ensureSources$0(), t1 = options._sourcesToDestinations.cast$2$0(0, t1, t1), t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
9447 case 4:
9448 // for condition
9449 if (!t1.moveNext$0()) {
9450 // goto after for
9451 $async$goto = 5;
9452 break;
9453 }
9454 t2 = t1.get$current(t1);
9455 t4 = $.$get$context();
9456 t5 = t4.absolute$7(".", null, null, null, null, null, null);
9457 t6 = t2.key;
9458 graph.addCanonical$4$recanonicalize(new A.FilesystemImporter(t5), t4.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t4.absolute$7(t4.normalize$1(t6), null, null, null, null, null, null)) : t4.canonicalize$1(0, t6)), t4.toUri$1(t6), false);
9459 $async$goto = 6;
9460 return A._asyncAwait(watcher.compile$3$ifModified(0, t6, t2.value, true), $async$watch);
9461 case 6:
9462 // returning from await.
9463 if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
9464 t1 = A._lateReadCheck(dirWatcher._group.__StreamGroup__controller, "_controller");
9465 t1._subscribe$4(null, null, null, false).cancel$0();
9466 // goto return
9467 $async$goto = 1;
9468 break;
9469 }
9470 // goto for condition
9471 $async$goto = 4;
9472 break;
9473 case 5:
9474 // after for
9475 A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
9476 $async$goto = 7;
9477 return A._asyncAwait(watcher.watch$1(0, dirWatcher), $async$watch);
9478 case 7:
9479 // returning from await.
9480 case 1:
9481 // return
9482 return A._asyncReturn($async$returnValue, $async$completer);
9483 }
9484 });
9485 return A._asyncStartSync($async$watch, $async$completer);
9486 },
9487 watch_closure: function watch_closure(t0) {
9488 this.dirWatcher = t0;
9489 },
9490 _Watcher: function _Watcher(t0, t1) {
9491 this._watch$_options = t0;
9492 this._graph = t1;
9493 },
9494 _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
9495 },
9496 EmptyExtensionStore: function EmptyExtensionStore() {
9497 },
9498 Extension: function Extension(t0, t1, t2, t3, t4) {
9499 var _ = this;
9500 _.extender = t0;
9501 _.target = t1;
9502 _.mediaContext = t2;
9503 _.isOptional = t3;
9504 _.span = t4;
9505 },
9506 Extender: function Extender(t0, t1, t2) {
9507 var _ = this;
9508 _.selector = t0;
9509 _.isOriginal = t1;
9510 _._extension = null;
9511 _.span = t2;
9512 },
9513 ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
9514 var t1, t2, t3, t4, t5, t6, t7, t8, t9, _i, complex, t10, t11, t12, _i0, simple, t13, _i1, t14, t15,
9515 extender = A.ExtensionStore$_mode(mode);
9516 if (!selector.get$isInvisible())
9517 extender._originals.addAll$1(0, selector.components);
9518 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) {
9519 complex = t1[_i];
9520 t10 = complex.components;
9521 if (t10.length !== 1)
9522 throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + A.S(complex) + "."));
9523 t11 = A.LinkedHashMap_LinkedHashMap$_empty(t8, t9);
9524 for (t10 = t7._as(B.JSArray_methods.get$first(t10)).components, t12 = t10.length, _i0 = 0; _i0 < t12; ++_i0) {
9525 simple = t10[_i0];
9526 t13 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
9527 for (_i1 = 0; _i1 < t4; ++_i1) {
9528 complex = t3[_i1];
9529 if (complex._complex$_maxSpecificity == null)
9530 complex._computeSpecificity$0();
9531 complex._complex$_maxSpecificity.toString;
9532 t14 = new A.Extender(complex, false, span);
9533 t15 = new A.Extension(t14, simple, null, true, span);
9534 t14._extension = t15;
9535 t13.$indexSet(0, complex, t15);
9536 }
9537 t11.$indexSet(0, simple, t13);
9538 }
9539 selector = extender._extendList$3(selector, span, t11);
9540 }
9541 return selector;
9542 },
9543 ExtensionStore$() {
9544 var t1 = type$.SimpleSelector;
9545 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);
9546 },
9547 ExtensionStore$_mode(_mode) {
9548 var t1 = type$.SimpleSelector;
9549 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);
9550 },
9551 ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
9552 var _ = this;
9553 _._selectors = t0;
9554 _._extensions = t1;
9555 _._extensionsByExtender = t2;
9556 _._mediaContexts = t3;
9557 _._sourceSpecificity = t4;
9558 _._originals = t5;
9559 _._mode = t6;
9560 },
9561 ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
9562 },
9563 ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
9564 },
9565 ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
9566 },
9567 ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
9568 },
9569 ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
9570 this.complex = t0;
9571 },
9572 ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
9573 },
9574 ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
9575 },
9576 ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure(t0, t1) {
9577 this._box_0 = t0;
9578 this.$this = t1;
9579 },
9580 ExtensionStore_addExtensions__closure1: function ExtensionStore_addExtensions__closure1(t0, t1, t2, t3, t4) {
9581 var _ = this;
9582 _._box_0 = t0;
9583 _.existingSources = t1;
9584 _.extensionsForTarget = t2;
9585 _.selectorsForTarget = t3;
9586 _.target = t4;
9587 },
9588 ExtensionStore_addExtensions___closure: function ExtensionStore_addExtensions___closure() {
9589 },
9590 ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0(t0, t1) {
9591 this._box_0 = t0;
9592 this.$this = t1;
9593 },
9594 ExtensionStore_addExtensions__closure: function ExtensionStore_addExtensions__closure(t0, t1) {
9595 this.$this = t0;
9596 this.newExtensions = t1;
9597 },
9598 ExtensionStore_addExtensions__closure0: function ExtensionStore_addExtensions__closure0(t0, t1) {
9599 this.$this = t0;
9600 this.newExtensions = t1;
9601 },
9602 ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0) {
9603 this.complex = t0;
9604 },
9605 ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
9606 this._box_0 = t0;
9607 this.$this = t1;
9608 this.complex = t2;
9609 },
9610 ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure() {
9611 },
9612 ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2, t3) {
9613 var _ = this;
9614 _._box_0 = t0;
9615 _.$this = t1;
9616 _.complex = t2;
9617 _.path = t3;
9618 },
9619 ExtensionStore__extendComplex___closure: function ExtensionStore__extendComplex___closure() {
9620 },
9621 ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure(t0) {
9622 this.mediaQueryContext = t0;
9623 },
9624 ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0(t0, t1) {
9625 this._box_1 = t0;
9626 this.mediaQueryContext = t1;
9627 },
9628 ExtensionStore__extendCompound__closure: function ExtensionStore__extendCompound__closure() {
9629 },
9630 ExtensionStore__extendCompound__closure0: function ExtensionStore__extendCompound__closure0(t0) {
9631 this._box_0 = t0;
9632 },
9633 ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1() {
9634 },
9635 ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
9636 },
9637 ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3(t0) {
9638 this.original = t0;
9639 },
9640 ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2, t3) {
9641 var _ = this;
9642 _.$this = t0;
9643 _.extensions = t1;
9644 _.targetsUsed = t2;
9645 _.simpleSpan = t3;
9646 },
9647 ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1, t2) {
9648 this.$this = t0;
9649 this.withoutPseudo = t1;
9650 this.simpleSpan = t2;
9651 },
9652 ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
9653 },
9654 ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
9655 },
9656 ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
9657 },
9658 ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
9659 },
9660 ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
9661 this.pseudo = t0;
9662 },
9663 ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0) {
9664 this.pseudo = t0;
9665 },
9666 ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
9667 this._box_0 = t0;
9668 this.complex1 = t1;
9669 },
9670 ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
9671 this._box_0 = t0;
9672 this.complex1 = t1;
9673 },
9674 ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
9675 var _ = this;
9676 _.$this = t0;
9677 _.newSelectors = t1;
9678 _.oldToNewSelectors = t2;
9679 _.newMediaContexts = t3;
9680 },
9681 unifyComplex(complexes) {
9682 var t2, unifiedBase, base, t3, t4, _i, complexesWithoutBases,
9683 t1 = J.getInterceptor$asx(complexes);
9684 if (t1.get$length(complexes) === 1)
9685 return complexes;
9686 for (t2 = t1.get$iterator(complexes), unifiedBase = null; t2.moveNext$0();) {
9687 base = J.get$last$ax(t2.get$current(t2));
9688 if (!(base instanceof A.CompoundSelector))
9689 return null;
9690 if (unifiedBase == null)
9691 unifiedBase = base.components;
9692 else
9693 for (t3 = base.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
9694 unifiedBase = t3[_i].unify$1(unifiedBase);
9695 if (unifiedBase == null)
9696 return null;
9697 }
9698 }
9699 t1 = t1.map$1$1(complexes, new A.unifyComplex_closure(), type$.List_ComplexSelectorComponent);
9700 complexesWithoutBases = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
9701 t1 = B.JSArray_methods.get$last(complexesWithoutBases);
9702 unifiedBase.toString;
9703 J.add$1$ax(t1, A.CompoundSelector$(unifiedBase));
9704 return A.weave(complexesWithoutBases);
9705 },
9706 unifyCompound(compound1, compound2) {
9707 var t1, result, _i, unified;
9708 for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
9709 unified = compound1[_i].unify$1(result);
9710 if (unified == null)
9711 return null;
9712 }
9713 return A.CompoundSelector$(result);
9714 },
9715 unifyUniversalAndElement(selector1, selector2) {
9716 var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
9717 _s45_ = string$.must_b;
9718 if (selector1 instanceof A.UniversalSelector) {
9719 namespace1 = selector1.namespace;
9720 name1 = _null;
9721 } else if (selector1 instanceof A.TypeSelector) {
9722 t1 = selector1.name;
9723 namespace1 = t1.namespace;
9724 name1 = t1.name;
9725 } else
9726 throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
9727 if (selector2 instanceof A.UniversalSelector) {
9728 namespace2 = selector2.namespace;
9729 name2 = _null;
9730 } else if (selector2 instanceof A.TypeSelector) {
9731 t1 = selector2.name;
9732 namespace2 = t1.namespace;
9733 name2 = t1.name;
9734 } else
9735 throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
9736 if (namespace1 == namespace2 || namespace2 === "*")
9737 namespace = namespace1;
9738 else {
9739 if (namespace1 !== "*")
9740 return _null;
9741 namespace = namespace2;
9742 }
9743 if (name1 == name2 || name2 == null)
9744 $name = name1;
9745 else {
9746 if (!(name1 == null || name1 === "*"))
9747 return _null;
9748 $name = name2;
9749 }
9750 return $name == null ? new A.UniversalSelector(namespace) : new A.TypeSelector(new A.QualifiedName($name, namespace));
9751 },
9752 weave(complexes) {
9753 var t2, t3, t4, t5, target, _i, parents, newPrefixes, parentPrefixes, t6,
9754 t1 = type$.JSArray_List_ComplexSelectorComponent,
9755 prefixes = A._setArrayType([J.toList$0$ax(B.JSArray_methods.get$first(complexes))], t1);
9756 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();) {
9757 t4 = t3._as(t2.__internal$_current);
9758 t5 = J.getInterceptor$asx(t4);
9759 if (t5.get$isEmpty(t4))
9760 continue;
9761 target = t5.get$last(t4);
9762 if (t5.get$length(t4) === 1) {
9763 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i)
9764 J.add$1$ax(prefixes[_i], target);
9765 continue;
9766 }
9767 parents = t5.take$1(t4, t5.get$length(t4) - 1).toList$0(0);
9768 newPrefixes = A._setArrayType([], t1);
9769 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
9770 parentPrefixes = A._weaveParents(prefixes[_i], parents);
9771 if (parentPrefixes == null)
9772 continue;
9773 for (t5 = parentPrefixes.get$iterator(parentPrefixes); t5.moveNext$0();) {
9774 t6 = t5.get$current(t5);
9775 J.add$1$ax(t6, target);
9776 newPrefixes.push(t6);
9777 }
9778 }
9779 prefixes = newPrefixes;
9780 }
9781 return prefixes;
9782 },
9783 _weaveParents(parents1, parents2) {
9784 var finalCombinators, root1, root2, root, groups1, groups2, lcs, t2, choices, t3, _i, group, t4, t5, _null = null,
9785 t1 = type$.ComplexSelectorComponent,
9786 queue1 = A.ListQueue_ListQueue$of(parents1, t1),
9787 queue2 = A.ListQueue_ListQueue$of(parents2, t1),
9788 initialCombinators = A._mergeInitialCombinators(queue1, queue2);
9789 if (initialCombinators == null)
9790 return _null;
9791 finalCombinators = A._mergeFinalCombinators(queue1, queue2, _null);
9792 if (finalCombinators == null)
9793 return _null;
9794 root1 = A._firstIfRoot(queue1);
9795 root2 = A._firstIfRoot(queue2);
9796 t1 = root1 != null;
9797 if (t1 && root2 != null) {
9798 root = A.unifyCompound(root1.components, root2.components);
9799 if (root == null)
9800 return _null;
9801 queue1.addFirst$1(root);
9802 queue2.addFirst$1(root);
9803 } else if (t1)
9804 queue2.addFirst$1(root1);
9805 else if (root2 != null)
9806 queue1.addFirst$1(root2);
9807 groups1 = A._groupSelectors(queue1);
9808 groups2 = A._groupSelectors(queue2);
9809 t1 = type$.List_ComplexSelectorComponent;
9810 lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(), t1);
9811 t2 = type$.JSArray_Iterable_ComplexSelectorComponent;
9812 choices = A._setArrayType([A._setArrayType([initialCombinators], t2)], type$.JSArray_List_Iterable_ComplexSelectorComponent);
9813 for (t3 = lcs.length, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
9814 group = lcs[_i];
9815 t4 = A._chunks(groups1, groups2, new A._weaveParents_closure0(group), t1);
9816 t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent>>");
9817 choices.push(A.List_List$of(new A.MappedListIterable(t4, new A._weaveParents_closure1(), t5), true, t5._eval$1("ListIterable.E")));
9818 choices.push(A._setArrayType([group], t2));
9819 groups1.removeFirst$0();
9820 groups2.removeFirst$0();
9821 }
9822 t2 = A._chunks(groups1, groups2, new A._weaveParents_closure2(), t1);
9823 t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent>>");
9824 choices.push(A.List_List$of(new A.MappedListIterable(t2, new A._weaveParents_closure3(), t3), true, t3._eval$1("ListIterable.E")));
9825 B.JSArray_methods.addAll$1(choices, finalCombinators);
9826 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);
9827 },
9828 _firstIfRoot(queue) {
9829 var first;
9830 if (queue._collection$_head === queue._collection$_tail)
9831 return null;
9832 first = queue.get$first(queue);
9833 if (first instanceof A.CompoundSelector) {
9834 if (!A._hasRoot(first))
9835 return null;
9836 queue.removeFirst$0();
9837 return first;
9838 } else
9839 return null;
9840 },
9841 _mergeInitialCombinators(components1, components2) {
9842 var t4, combinators2, lcs,
9843 t1 = type$.JSArray_Combinator,
9844 combinators1 = A._setArrayType([], t1),
9845 t2 = type$.Combinator,
9846 t3 = components1.$ti._precomputed1;
9847 while (true) {
9848 if (!components1.get$isEmpty(components1)) {
9849 t4 = components1._collection$_head;
9850 if (t4 === components1._collection$_tail)
9851 A.throwExpression(A.IterableElementError_noElement());
9852 t4 = t3._as(components1._collection$_table[t4]) instanceof A.Combinator;
9853 } else
9854 t4 = false;
9855 if (!t4)
9856 break;
9857 combinators1.push(t2._as(components1.removeFirst$0()));
9858 }
9859 combinators2 = A._setArrayType([], t1);
9860 t1 = components2.$ti._precomputed1;
9861 while (true) {
9862 if (!components2.get$isEmpty(components2)) {
9863 t3 = components2._collection$_head;
9864 if (t3 === components2._collection$_tail)
9865 A.throwExpression(A.IterableElementError_noElement());
9866 t3 = t1._as(components2._collection$_table[t3]) instanceof A.Combinator;
9867 } else
9868 t3 = false;
9869 if (!t3)
9870 break;
9871 combinators2.push(t2._as(components2.removeFirst$0()));
9872 }
9873 lcs = A.longestCommonSubsequence(combinators1, combinators2, null, t2);
9874 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
9875 return combinators2;
9876 if (B.C_ListEquality.equals$2(0, lcs, combinators2))
9877 return combinators1;
9878 return null;
9879 },
9880 _mergeFinalCombinators(components1, components2, result) {
9881 var t1, combinators1, t2, combinators2, lcs, combinator1, combinator2, compound1, compound2, choices, unified, followingSiblingSelector, nextSiblingSelector, _null = null;
9882 if (result == null)
9883 result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
9884 if (components1._collection$_head === components1._collection$_tail || !(components1.get$last(components1) instanceof A.Combinator))
9885 t1 = components2._collection$_head === components2._collection$_tail || !(components2.get$last(components2) instanceof A.Combinator);
9886 else
9887 t1 = false;
9888 if (t1)
9889 return result;
9890 t1 = type$.JSArray_Combinator;
9891 combinators1 = A._setArrayType([], t1);
9892 t2 = type$.Combinator;
9893 while (true) {
9894 if (!(!components1.get$isEmpty(components1) && components1.get$last(components1) instanceof A.Combinator))
9895 break;
9896 combinators1.push(t2._as(components1.removeLast$0(0)));
9897 }
9898 combinators2 = A._setArrayType([], t1);
9899 while (true) {
9900 if (!(!components2.get$isEmpty(components2) && components2.get$last(components2) instanceof A.Combinator))
9901 break;
9902 combinators2.push(t2._as(components2.removeLast$0(0)));
9903 }
9904 t1 = combinators1.length;
9905 if (t1 > 1 || combinators2.length > 1) {
9906 lcs = A.longestCommonSubsequence(combinators1, combinators2, _null, t2);
9907 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
9908 result.addFirst$1(A._setArrayType([A.List_List$of(new A.ReversedListIterable(combinators2, type$.ReversedListIterable_Combinator), true, type$.ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9909 else if (B.C_ListEquality.equals$2(0, lcs, combinators2))
9910 result.addFirst$1(A._setArrayType([A.List_List$of(new A.ReversedListIterable(combinators1, type$.ReversedListIterable_Combinator), true, type$.ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9911 else
9912 return _null;
9913 return result;
9914 }
9915 combinator1 = t1 === 0 ? _null : B.JSArray_methods.get$first(combinators1);
9916 combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
9917 t1 = combinator1 != null;
9918 if (t1 && combinator2 != null) {
9919 t1 = type$.CompoundSelector;
9920 compound1 = t1._as(components1.removeLast$0(0));
9921 compound2 = t1._as(components2.removeLast$0(0));
9922 t1 = combinator1 === B.Combinator_CzM;
9923 if (t1 && combinator2 === B.Combinator_CzM)
9924 if (A.compoundIsSuperselector(compound1, compound2, _null))
9925 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, B.Combinator_CzM], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9926 else {
9927 t1 = type$.JSArray_ComplexSelectorComponent;
9928 t2 = type$.JSArray_List_ComplexSelectorComponent;
9929 if (A.compoundIsSuperselector(compound2, compound1, _null))
9930 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM], t1)], t2));
9931 else {
9932 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);
9933 unified = A.unifyCompound(compound1.components, compound2.components);
9934 if (unified != null)
9935 choices.push(A._setArrayType([unified, B.Combinator_CzM], t1));
9936 result.addFirst$1(choices);
9937 }
9938 }
9939 else {
9940 if (!(t1 && combinator2 === B.Combinator_uzg))
9941 t2 = combinator1 === B.Combinator_uzg && combinator2 === B.Combinator_CzM;
9942 else
9943 t2 = true;
9944 if (t2) {
9945 followingSiblingSelector = t1 ? compound1 : compound2;
9946 nextSiblingSelector = t1 ? compound2 : compound1;
9947 t1 = type$.JSArray_ComplexSelectorComponent;
9948 t2 = type$.JSArray_List_ComplexSelectorComponent;
9949 if (A.compoundIsSuperselector(followingSiblingSelector, nextSiblingSelector, _null))
9950 result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingSelector, B.Combinator_uzg], t1)], t2));
9951 else {
9952 unified = A.unifyCompound(compound1.components, compound2.components);
9953 t2 = A._setArrayType([A._setArrayType([followingSiblingSelector, B.Combinator_CzM, nextSiblingSelector, B.Combinator_uzg], t1)], t2);
9954 if (unified != null)
9955 t2.push(A._setArrayType([unified, B.Combinator_uzg], t1));
9956 result.addFirst$1(t2);
9957 }
9958 } else {
9959 if (combinator1 === B.Combinator_sgq)
9960 t2 = combinator2 === B.Combinator_uzg || combinator2 === B.Combinator_CzM;
9961 else
9962 t2 = false;
9963 if (t2) {
9964 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, combinator2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9965 components1._add$1(compound1);
9966 components1._add$1(B.Combinator_sgq);
9967 } else {
9968 if (combinator2 === B.Combinator_sgq)
9969 t1 = combinator1 === B.Combinator_uzg || t1;
9970 else
9971 t1 = false;
9972 if (t1) {
9973 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9974 components2._add$1(compound2);
9975 components2._add$1(B.Combinator_sgq);
9976 } else if (combinator1 === combinator2) {
9977 unified = A.unifyCompound(compound1.components, compound2.components);
9978 if (unified == null)
9979 return _null;
9980 result.addFirst$1(A._setArrayType([A._setArrayType([unified, combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9981 } else
9982 return _null;
9983 }
9984 }
9985 }
9986 return A._mergeFinalCombinators(components1, components2, result);
9987 } else if (t1) {
9988 if (combinator1 === B.Combinator_sgq)
9989 if (!components2.get$isEmpty(components2)) {
9990 t1 = type$.CompoundSelector;
9991 t1 = A.compoundIsSuperselector(t1._as(components2.get$last(components2)), t1._as(components1.get$last(components1)), _null);
9992 } else
9993 t1 = false;
9994 else
9995 t1 = false;
9996 if (t1)
9997 components2.removeLast$0(0);
9998 result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0), combinator1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
9999 return A._mergeFinalCombinators(components1, components2, result);
10000 } else {
10001 if (combinator2 === B.Combinator_sgq)
10002 if (!components1.get$isEmpty(components1)) {
10003 t1 = type$.CompoundSelector;
10004 t1 = A.compoundIsSuperselector(t1._as(components1.get$last(components1)), t1._as(components2.get$last(components2)), _null);
10005 } else
10006 t1 = false;
10007 else
10008 t1 = false;
10009 if (t1)
10010 components1.removeLast$0(0);
10011 t1 = components2.removeLast$0(0);
10012 combinator2.toString;
10013 result.addFirst$1(A._setArrayType([A._setArrayType([t1, combinator2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
10014 return A._mergeFinalCombinators(components1, components2, result);
10015 }
10016 },
10017 _mustUnify(complex1, complex2) {
10018 var t2, t3, t4,
10019 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
10020 for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();) {
10021 t3 = t2.get$current(t2);
10022 if (t3 instanceof A.CompoundSelector)
10023 for (t3 = B.JSArray_methods.get$iterator(t3.components), t4 = new A.WhereIterator(t3, A.functions___isUnique$closure()); t4.moveNext$0();)
10024 t1.add$1(0, t3.get$current(t3));
10025 }
10026 if (t1._collection$_length === 0)
10027 return false;
10028 return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
10029 },
10030 _isUnique(simple) {
10031 var t1;
10032 if (!(simple instanceof A.IDSelector))
10033 t1 = simple instanceof A.PseudoSelector && !simple.isClass;
10034 else
10035 t1 = true;
10036 return t1;
10037 },
10038 _chunks(queue1, queue2, done, $T) {
10039 var chunk2, t2,
10040 t1 = $T._eval$1("JSArray<0>"),
10041 chunk1 = A._setArrayType([], t1);
10042 for (; !done.call$1(queue1);)
10043 chunk1.push(queue1.removeFirst$0());
10044 chunk2 = A._setArrayType([], t1);
10045 for (; !done.call$1(queue2);)
10046 chunk2.push(queue2.removeFirst$0());
10047 t1 = chunk1.length === 0;
10048 if (t1 && chunk2.length === 0)
10049 return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
10050 if (t1)
10051 return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
10052 if (chunk2.length === 0)
10053 return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
10054 t1 = A.List_List$of(chunk1, true, $T);
10055 B.JSArray_methods.addAll$1(t1, chunk2);
10056 t2 = A.List_List$of(chunk2, true, $T);
10057 B.JSArray_methods.addAll$1(t2, chunk1);
10058 return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
10059 },
10060 paths(choices, $T) {
10061 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));
10062 },
10063 _groupSelectors(complex) {
10064 var t1, t2, group, t3, t4,
10065 groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
10066 iterator = A._ListQueueIterator$(complex);
10067 if (!iterator.moveNext$0())
10068 return groups;
10069 t1 = A._instanceType(iterator)._precomputed1;
10070 t2 = type$.JSArray_ComplexSelectorComponent;
10071 group = A._setArrayType([t1._as(iterator._collection$_current)], t2);
10072 groups._queue_list$_add$1(group);
10073 for (; iterator.moveNext$0();) {
10074 t3 = B.JSArray_methods.get$last(group) instanceof A.Combinator || t1._as(iterator._collection$_current) instanceof A.Combinator;
10075 t4 = iterator._collection$_current;
10076 if (t3)
10077 group.push(t1._as(t4));
10078 else {
10079 group = A._setArrayType([t1._as(t4)], t2);
10080 groups._queue_list$_add$1(group);
10081 }
10082 }
10083 return groups;
10084 },
10085 _hasRoot(compound) {
10086 return B.JSArray_methods.any$1(compound.components, new A._hasRoot_closure());
10087 },
10088 listIsSuperselector(list1, list2) {
10089 return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
10090 },
10091 complexIsParentSuperselector(complex1, complex2) {
10092 var t2, base,
10093 t1 = J.getInterceptor$ax(complex1);
10094 if (t1.get$first(complex1) instanceof A.Combinator)
10095 return false;
10096 t2 = J.getInterceptor$ax(complex2);
10097 if (t2.get$first(complex2) instanceof A.Combinator)
10098 return false;
10099 if (t1.get$length(complex1) > t2.get$length(complex2))
10100 return false;
10101 base = A.CompoundSelector$(A._setArrayType([new A.PlaceholderSelector("<temp>")], type$.JSArray_SimpleSelector));
10102 t1 = type$.ComplexSelectorComponent;
10103 t2 = A.List_List$of(complex1, true, t1);
10104 t2.push(base);
10105 t1 = A.List_List$of(complex2, true, t1);
10106 t1.push(base);
10107 return A.complexIsSuperselector(t2, t1);
10108 },
10109 complexIsSuperselector(complex1, complex2) {
10110 var t1, t2, t3, i1, i2, remaining1, remaining2, t4, t5, t6, afterSuperselector, afterSuperselector0, compound2, i10, combinator1, combinator2;
10111 if (B.JSArray_methods.get$last(complex1) instanceof A.Combinator)
10112 return false;
10113 if (B.JSArray_methods.get$last(complex2) instanceof A.Combinator)
10114 return false;
10115 for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), t3 = type$.CompoundSelector, i1 = 0, i2 = 0; true;) {
10116 remaining1 = complex1.length - i1;
10117 remaining2 = complex2.length - i2;
10118 if (remaining1 === 0 || remaining2 === 0)
10119 return false;
10120 if (remaining1 > remaining2)
10121 return false;
10122 t4 = complex1[i1];
10123 if (t4 instanceof A.Combinator)
10124 return false;
10125 if (complex2[i2] instanceof A.Combinator)
10126 return false;
10127 t3._as(t4);
10128 if (remaining1 === 1) {
10129 t5 = t3._as(B.JSArray_methods.get$last(complex2));
10130 t6 = complex2.length - 1;
10131 t3 = new A.SubListIterable(complex2, 0, t6, t1);
10132 t3.SubListIterable$3(complex2, 0, t6, t2);
10133 return A.compoundIsSuperselector(t4, t5, t3.skip$1(0, i2));
10134 }
10135 afterSuperselector = i2 + 1;
10136 for (afterSuperselector0 = afterSuperselector; afterSuperselector0 < complex2.length; ++afterSuperselector0) {
10137 t5 = afterSuperselector0 - 1;
10138 compound2 = complex2[t5];
10139 if (compound2 instanceof A.CompoundSelector) {
10140 t6 = new A.SubListIterable(complex2, 0, t5, t1);
10141 t6.SubListIterable$3(complex2, 0, t5, t2);
10142 if (A.compoundIsSuperselector(t4, compound2, t6.skip$1(0, afterSuperselector)))
10143 break;
10144 }
10145 }
10146 if (afterSuperselector0 === complex2.length)
10147 return false;
10148 i10 = i1 + 1;
10149 combinator1 = complex1[i10];
10150 combinator2 = complex2[afterSuperselector0];
10151 if (combinator1 instanceof A.Combinator) {
10152 if (!(combinator2 instanceof A.Combinator))
10153 return false;
10154 if (combinator1 === B.Combinator_CzM) {
10155 if (combinator2 === B.Combinator_sgq)
10156 return false;
10157 } else if (combinator2 !== combinator1)
10158 return false;
10159 if (remaining1 === 3 && remaining2 > 3)
10160 return false;
10161 i1 += 2;
10162 i2 = afterSuperselector0 + 1;
10163 } else {
10164 if (combinator2 instanceof A.Combinator) {
10165 if (combinator2 !== B.Combinator_sgq)
10166 return false;
10167 i2 = afterSuperselector0 + 1;
10168 } else
10169 i2 = afterSuperselector0;
10170 i1 = i10;
10171 }
10172 }
10173 },
10174 compoundIsSuperselector(compound1, compound2, parents) {
10175 var t1, t2, _i, simple1, simple2;
10176 for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
10177 simple1 = t1[_i];
10178 if (simple1 instanceof A.PseudoSelector && simple1.selector != null) {
10179 if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
10180 return false;
10181 } else if (!A._simpleIsSuperselectorOfCompound(simple1, compound2))
10182 return false;
10183 }
10184 for (t1 = compound2.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
10185 simple2 = t1[_i];
10186 if (simple2 instanceof A.PseudoSelector && !simple2.isClass && simple2.selector == null && !A._simpleIsSuperselectorOfCompound(simple2, compound1))
10187 return false;
10188 }
10189 return true;
10190 },
10191 _simpleIsSuperselectorOfCompound(simple, compound) {
10192 return B.JSArray_methods.any$1(compound.components, new A._simpleIsSuperselectorOfCompound_closure(simple));
10193 },
10194 _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
10195 var selector1_ = pseudo1.selector;
10196 if (selector1_ == null)
10197 throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
10198 switch (pseudo1.normalizedName) {
10199 case "is":
10200 case "matches":
10201 case "any":
10202 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));
10203 case "has":
10204 case "host":
10205 case "host-context":
10206 return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1_));
10207 case "slotted":
10208 return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1_));
10209 case "not":
10210 return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
10211 case "current":
10212 return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1_));
10213 case "nth-child":
10214 case "nth-last-child":
10215 return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1_));
10216 default:
10217 throw A.wrapException("unreachable");
10218 }
10219 },
10220 _selectorPseudoArgs(compound, $name, isClass) {
10221 var t1 = type$.WhereTypeIterable_PseudoSelector;
10222 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);
10223 },
10224 unifyComplex_closure: function unifyComplex_closure() {
10225 },
10226 _weaveParents_closure: function _weaveParents_closure() {
10227 },
10228 _weaveParents_closure0: function _weaveParents_closure0(t0) {
10229 this.group = t0;
10230 },
10231 _weaveParents_closure1: function _weaveParents_closure1() {
10232 },
10233 _weaveParents__closure1: function _weaveParents__closure1() {
10234 },
10235 _weaveParents_closure2: function _weaveParents_closure2() {
10236 },
10237 _weaveParents_closure3: function _weaveParents_closure3() {
10238 },
10239 _weaveParents__closure0: function _weaveParents__closure0() {
10240 },
10241 _weaveParents_closure4: function _weaveParents_closure4() {
10242 },
10243 _weaveParents_closure5: function _weaveParents_closure5() {
10244 },
10245 _weaveParents__closure: function _weaveParents__closure() {
10246 },
10247 _mustUnify_closure: function _mustUnify_closure(t0) {
10248 this.uniqueSelectors = t0;
10249 },
10250 _mustUnify__closure: function _mustUnify__closure(t0) {
10251 this.uniqueSelectors = t0;
10252 },
10253 paths_closure: function paths_closure(t0) {
10254 this.T = t0;
10255 },
10256 paths__closure: function paths__closure(t0, t1) {
10257 this.paths = t0;
10258 this.T = t1;
10259 },
10260 paths___closure: function paths___closure(t0, t1) {
10261 this.option = t0;
10262 this.T = t1;
10263 },
10264 _hasRoot_closure: function _hasRoot_closure() {
10265 },
10266 listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
10267 this.list1 = t0;
10268 },
10269 listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
10270 this.complex1 = t0;
10271 },
10272 _simpleIsSuperselectorOfCompound_closure: function _simpleIsSuperselectorOfCompound_closure(t0) {
10273 this.simple = t0;
10274 },
10275 _simpleIsSuperselectorOfCompound__closure: function _simpleIsSuperselectorOfCompound__closure(t0) {
10276 this.simple = t0;
10277 },
10278 _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
10279 this.selector1 = t0;
10280 },
10281 _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
10282 this.parents = t0;
10283 this.compound2 = t1;
10284 },
10285 _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
10286 this.selector1 = t0;
10287 },
10288 _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
10289 this.selector1 = t0;
10290 },
10291 _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
10292 this.compound2 = t0;
10293 this.pseudo1 = t1;
10294 },
10295 _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
10296 this.complex = t0;
10297 this.pseudo1 = t1;
10298 },
10299 _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
10300 this.simple2 = t0;
10301 },
10302 _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
10303 this.simple2 = t0;
10304 },
10305 _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
10306 this.selector1 = t0;
10307 },
10308 _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
10309 this.pseudo1 = t0;
10310 this.selector1 = t1;
10311 },
10312 _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
10313 this.isClass = t0;
10314 this.name = t1;
10315 },
10316 _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
10317 },
10318 MergedExtension_merge(left, right) {
10319 var t4, t5, t6,
10320 t1 = left.extender,
10321 t2 = t1.selector,
10322 t3 = B.C_ListEquality.equals$2(0, t2.components, right.extender.selector.components);
10323 if (!t3 || !left.target.$eq(0, right.target))
10324 throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
10325 t3 = left.mediaContext;
10326 t4 = t3 == null;
10327 if (!t4) {
10328 t5 = right.mediaContext;
10329 t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
10330 } else
10331 t5 = false;
10332 if (t5)
10333 throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
10334 if (right.isOptional && right.mediaContext == null)
10335 return left;
10336 if (left.isOptional && t4)
10337 return right;
10338 t5 = left.target;
10339 t6 = left.span;
10340 if (t4)
10341 t3 = right.mediaContext;
10342 t2.get$maxSpecificity();
10343 t1 = new A.Extender(t2, false, t1.span);
10344 return t1._extension = new A.MergedExtension(left, right, t1, t5, t3, true, t6);
10345 },
10346 MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
10347 var _ = this;
10348 _.left = t0;
10349 _.right = t1;
10350 _.extender = t2;
10351 _.target = t3;
10352 _.mediaContext = t4;
10353 _.isOptional = t5;
10354 _.span = t6;
10355 },
10356 ExtendMode: function ExtendMode(t0) {
10357 this.name = t0;
10358 },
10359 globalFunctions_closure: function globalFunctions_closure() {
10360 },
10361 _updateComponents($arguments, adjust, change, scale) {
10362 var keywords, alpha, red, green, blue, hueNumber, t2, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t3, t4, t5, _null = null,
10363 t1 = J.getInterceptor$asx($arguments),
10364 color = t1.$index($arguments, 0).assertColor$1("color"),
10365 argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
10366 if (argumentList._list$_contents.length !== 0)
10367 throw A.wrapException(A.SassScriptException$(string$.Only_op));
10368 argumentList._wereKeywordsAccessed = true;
10369 keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, type$.String, type$.Value);
10370 t1 = new A._updateComponents_getParam(keywords, scale, change);
10371 alpha = t1.call$2("alpha", 1);
10372 red = t1.call$2("red", 255);
10373 green = t1.call$2("green", 255);
10374 blue = t1.call$2("blue", 255);
10375 if (scale)
10376 hueNumber = _null;
10377 else {
10378 t2 = keywords.remove$1(0, "hue");
10379 hueNumber = t2 == null ? _null : t2.assertNumber$1("hue");
10380 }
10381 t2 = hueNumber == null;
10382 if (!t2)
10383 A._checkAngle(hueNumber, "hue");
10384 hue = t2 ? _null : hueNumber._number$_value;
10385 saturation = t1.call$3$checkPercent("saturation", 100, true);
10386 lightness = t1.call$3$checkPercent("lightness", 100, true);
10387 whiteness = t1.call$3$assertPercent("whiteness", 100, true);
10388 blackness = t1.call$3$assertPercent("blackness", 100, true);
10389 if (keywords.get$isNotEmpty(keywords))
10390 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")) + "."));
10391 hasRgb = red != null || green != null || blue != null;
10392 hasSL = saturation != null || lightness != null;
10393 hasWB = whiteness != null || blackness != null;
10394 if (hasRgb)
10395 t1 = hasSL || hasWB || hue != null;
10396 else
10397 t1 = false;
10398 if (t1)
10399 throw A.wrapException(A.SassScriptException$(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters."));
10400 if (hasSL && hasWB)
10401 throw A.wrapException(A.SassScriptException$(string$.HSL_pa));
10402 t1 = new A._updateComponents_updateValue(change, adjust);
10403 t2 = new A._updateComponents_updateRgb(t1);
10404 if (hasRgb) {
10405 t3 = t2.call$2(color.get$red(color), red);
10406 t4 = t2.call$2(color.get$green(color), green);
10407 t2 = t2.call$2(color.get$blue(color), blue);
10408 return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
10409 } else if (hasWB) {
10410 if (change)
10411 t2 = hue;
10412 else {
10413 t2 = color.get$hue(color);
10414 t2 += hue == null ? 0 : hue;
10415 }
10416 t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
10417 t4 = t1.call$3(color.get$blackness(color), blackness, 100);
10418 t5 = color._alpha;
10419 t1 = t1.call$3(t5, alpha, 1);
10420 if (t2 == null)
10421 t2 = color.get$hue(color);
10422 if (t3 == null)
10423 t3 = color.get$whiteness(color);
10424 if (t4 == null)
10425 t4 = color.get$blackness(color);
10426 return A.SassColor_SassColor$hwb(t2, t3, t4, t1 == null ? t5 : t1);
10427 } else {
10428 t2 = hue == null;
10429 if (!t2 || hasSL) {
10430 if (change)
10431 t2 = hue;
10432 else {
10433 t3 = color.get$hue(color);
10434 t3 += t2 ? 0 : hue;
10435 t2 = t3;
10436 }
10437 t3 = t1.call$3(color.get$saturation(color), saturation, 100);
10438 t4 = t1.call$3(color.get$lightness(color), lightness, 100);
10439 return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
10440 } else if (alpha != null)
10441 return color.changeAlpha$1(t1.call$3(color._alpha, alpha, 1));
10442 else
10443 return color;
10444 }
10445 },
10446 _functionString($name, $arguments) {
10447 return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
10448 },
10449 _removedColorFunction($name, argument, negative) {
10450 return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
10451 },
10452 _rgb($name, $arguments) {
10453 var t2, red, green, blue,
10454 t1 = J.getInterceptor$asx($arguments),
10455 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
10456 if (!t1.$index($arguments, 0).get$isSpecialNumber())
10457 if (!t1.$index($arguments, 1).get$isSpecialNumber())
10458 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
10459 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
10460 t2 = t2 === true;
10461 } else
10462 t2 = true;
10463 else
10464 t2 = true;
10465 else
10466 t2 = true;
10467 if (t2)
10468 return A._functionString($name, $arguments);
10469 red = t1.$index($arguments, 0).assertNumber$1("red");
10470 green = t1.$index($arguments, 1).assertNumber$1("green");
10471 blue = t1.$index($arguments, 2).assertNumber$1("blue");
10472 return A.SassColor$rgb(A.fuzzyRound(A._percentageOrUnitless(red, 255, "red")), A.fuzzyRound(A._percentageOrUnitless(green, 255, "green")), A.fuzzyRound(A._percentageOrUnitless(blue, 255, "blue")), A.NullableExtension_andThen(alpha, new A._rgb_closure()), null);
10473 },
10474 _rgbTwoArg($name, $arguments) {
10475 var first, color,
10476 t1 = J.getInterceptor$asx($arguments);
10477 if (t1.$index($arguments, 0).get$isVar())
10478 return A._functionString($name, $arguments);
10479 else if (t1.$index($arguments, 1).get$isVar()) {
10480 first = t1.$index($arguments, 0);
10481 if (first instanceof A.SassColor)
10482 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);
10483 else
10484 return A._functionString($name, $arguments);
10485 } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
10486 color = t1.$index($arguments, 0).assertColor$1("color");
10487 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);
10488 }
10489 return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
10490 },
10491 _hsl($name, $arguments) {
10492 var t2, hue, saturation, lightness,
10493 _s10_ = "saturation",
10494 _s9_ = "lightness",
10495 t1 = J.getInterceptor$asx($arguments),
10496 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
10497 if (!t1.$index($arguments, 0).get$isSpecialNumber())
10498 if (!t1.$index($arguments, 1).get$isSpecialNumber())
10499 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
10500 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
10501 t2 = t2 === true;
10502 } else
10503 t2 = true;
10504 else
10505 t2 = true;
10506 else
10507 t2 = true;
10508 if (t2)
10509 return A._functionString($name, $arguments);
10510 hue = t1.$index($arguments, 0).assertNumber$1("hue");
10511 saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
10512 lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
10513 A._checkAngle(hue, "hue");
10514 A._checkPercent(saturation, _s10_);
10515 A._checkPercent(lightness, _s9_);
10516 return A.SassColor$hsl(hue._number$_value, B.JSNumber_methods.clamp$2(saturation._number$_value, 0, 100), B.JSNumber_methods.clamp$2(lightness._number$_value, 0, 100), A.NullableExtension_andThen(alpha, new A._hsl_closure()));
10517 },
10518 _checkAngle(angle, $name) {
10519 var t1, t2, t3, actualUnit,
10520 _s31_ = "To preserve current behavior: $";
10521 if (!angle.get$hasUnits() || angle.hasUnit$1("deg"))
10522 return;
10523 t1 = "" + ("$" + A.S($name) + ": Passing a unit other than deg (" + angle.toString$0(0) + ") is deprecated.\n") + "\n";
10524 if (angle.compatibleWithUnit$1("deg")) {
10525 t2 = "You're passing " + angle.toString$0(0) + string$.x2c_whici;
10526 t3 = type$.JSArray_String;
10527 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";
10528 actualUnit = B.JSArray_methods.get$first(angle.get$numeratorUnits(angle));
10529 t3 = t3 + (_s31_ + A.S($name) + " * 1deg/1" + actualUnit + "\n") + ("To migrate to new behavior: 0deg + $" + A.S($name) + "\n") + "\n";
10530 t1 = t3;
10531 } else
10532 t1 = t1 + (_s31_ + A.S($name) + A._removeUnits(angle) + "\n") + "\n";
10533 t1 += "See https://sass-lang.com/d/color-units";
10534 A.EvaluationContext_current().warn$2$deprecation(0, t1.charCodeAt(0) == 0 ? t1 : t1, true);
10535 },
10536 _checkPercent(number, $name) {
10537 var t1;
10538 if (number.hasUnit$1("%"))
10539 return;
10540 t1 = "$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d + $name + A._removeUnits(number) + " * 1%";
10541 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
10542 },
10543 _removeUnits(number) {
10544 var t2,
10545 t1 = number.get$denominatorUnits(number);
10546 t1 = new A.MappedListIterable(t1, new A._removeUnits_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
10547 t2 = number.get$numeratorUnits(number);
10548 return t1 + new A.MappedListIterable(t2, new A._removeUnits_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
10549 },
10550 _hwb($arguments) {
10551 var _s9_ = "whiteness",
10552 _s9_0 = "blackness",
10553 t1 = J.getInterceptor$asx($arguments),
10554 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
10555 hue = t1.$index($arguments, 0).assertNumber$1("hue"),
10556 whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
10557 blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
10558 whiteness.assertUnit$2("%", _s9_);
10559 blackness.assertUnit$2("%", _s9_0);
10560 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()));
10561 },
10562 _parseChannels($name, argumentNames, channels) {
10563 var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash,
10564 _s17_ = "$channels must be";
10565 if (channels.get$isVar())
10566 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10567 if (channels.get$separator(channels) === B.ListSeparator_1gm) {
10568 list = channels.get$asList();
10569 t1 = list.length;
10570 if (t1 !== 2)
10571 throw A.wrapException(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", list.length, "were") + " passed."));
10572 channels0 = list[0];
10573 alphaFromSlashList = list[1];
10574 if (!alphaFromSlashList.get$isSpecialNumber())
10575 alphaFromSlashList.assertNumber$1("alpha");
10576 if (list[0].get$isVar())
10577 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10578 } else {
10579 channels0 = channels;
10580 alphaFromSlashList = null;
10581 }
10582 isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_kWM;
10583 isBracketed = channels0.get$hasBrackets();
10584 if (isCommaSeparated || isBracketed) {
10585 buffer = new A.StringBuffer(_s17_);
10586 if (isBracketed) {
10587 t1 = _s17_ + " an unbracketed";
10588 buffer._contents = t1;
10589 } else
10590 t1 = _s17_;
10591 if (isCommaSeparated) {
10592 t1 += isBracketed ? "," : " a";
10593 buffer._contents = t1;
10594 t1 = buffer._contents = t1 + " space-separated";
10595 }
10596 buffer._contents = t1 + " list.";
10597 throw A.wrapException(A.SassScriptException$(buffer.toString$0(0)));
10598 }
10599 list = channels0.get$asList();
10600 t1 = list.length;
10601 if (t1 > 3)
10602 throw A.wrapException(A.SassScriptException$("Only 3 elements allowed, but " + t1 + " were passed."));
10603 else if (t1 < 3) {
10604 if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure()))
10605 if (list.length !== 0) {
10606 t1 = B.JSArray_methods.get$last(list);
10607 if (t1 instanceof A.SassString)
10608 if (t1._hasQuotes) {
10609 t1 = t1._string$_text;
10610 t1 = A.startsWithIgnoreCase(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
10611 } else
10612 t1 = false;
10613 else
10614 t1 = false;
10615 } else
10616 t1 = false;
10617 else
10618 t1 = true;
10619 if (t1)
10620 return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
10621 else
10622 throw A.wrapException(A.SassScriptException$("Missing element " + argumentNames[list.length] + "."));
10623 }
10624 if (alphaFromSlashList != null) {
10625 t1 = A.List_List$of(list, true, type$.Value);
10626 t1.push(alphaFromSlashList);
10627 return t1;
10628 }
10629 maybeSlashSeparated = list[2];
10630 if (maybeSlashSeparated instanceof A.SassNumber) {
10631 slash = maybeSlashSeparated.asSlash;
10632 if (slash == null)
10633 return list;
10634 return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value);
10635 } else if (maybeSlashSeparated instanceof A.SassString && !maybeSlashSeparated._hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string$_text, "/"))
10636 return A._functionString($name, A._setArrayType([channels0], type$.JSArray_Value));
10637 else
10638 return list;
10639 },
10640 _percentageOrUnitless(number, max, $name) {
10641 var value;
10642 if (!number.get$hasUnits())
10643 value = number._number$_value;
10644 else if (number.hasUnit$1("%"))
10645 value = max * number._number$_value / 100;
10646 else
10647 throw A.wrapException(A.SassScriptException$("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".'));
10648 return B.JSNumber_methods.clamp$2(value, 0, max);
10649 },
10650 _mixColors(color1, color2, weight) {
10651 var weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
10652 normalizedWeight = weightScale * 2 - 1,
10653 t1 = color1._alpha,
10654 t2 = color2._alpha,
10655 alphaDistance = t1 - t2,
10656 t3 = normalizedWeight * alphaDistance,
10657 weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2,
10658 weight2 = 1 - weight1;
10659 return A.SassColor$rgb(A.fuzzyRound(color1.get$red(color1) * weight1 + color2.get$red(color2) * weight2), A.fuzzyRound(color1.get$green(color1) * weight1 + color2.get$green(color2) * weight2), A.fuzzyRound(color1.get$blue(color1) * weight1 + color2.get$blue(color2) * weight2), t1 * weightScale + t2 * (1 - weightScale), null);
10660 },
10661 _opacify($arguments) {
10662 var t1 = J.getInterceptor$asx($arguments),
10663 color = t1.$index($arguments, 0).assertColor$1("color");
10664 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));
10665 },
10666 _transparentize($arguments) {
10667 var t1 = J.getInterceptor$asx($arguments),
10668 color = t1.$index($arguments, 0).assertColor$1("color");
10669 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));
10670 },
10671 _function4($name, $arguments, callback) {
10672 return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
10673 },
10674 global_closure: function global_closure() {
10675 },
10676 global_closure0: function global_closure0() {
10677 },
10678 global_closure1: function global_closure1() {
10679 },
10680 global_closure2: function global_closure2() {
10681 },
10682 global_closure3: function global_closure3() {
10683 },
10684 global_closure4: function global_closure4() {
10685 },
10686 global_closure5: function global_closure5() {
10687 },
10688 global_closure6: function global_closure6() {
10689 },
10690 global_closure7: function global_closure7() {
10691 },
10692 global_closure8: function global_closure8() {
10693 },
10694 global_closure9: function global_closure9() {
10695 },
10696 global_closure10: function global_closure10() {
10697 },
10698 global_closure11: function global_closure11() {
10699 },
10700 global_closure12: function global_closure12() {
10701 },
10702 global_closure13: function global_closure13() {
10703 },
10704 global_closure14: function global_closure14() {
10705 },
10706 global_closure15: function global_closure15() {
10707 },
10708 global_closure16: function global_closure16() {
10709 },
10710 global_closure17: function global_closure17() {
10711 },
10712 global_closure18: function global_closure18() {
10713 },
10714 global_closure19: function global_closure19() {
10715 },
10716 global_closure20: function global_closure20() {
10717 },
10718 global_closure21: function global_closure21() {
10719 },
10720 global_closure22: function global_closure22() {
10721 },
10722 global_closure23: function global_closure23() {
10723 },
10724 global_closure24: function global_closure24() {
10725 },
10726 global__closure: function global__closure() {
10727 },
10728 global_closure25: function global_closure25() {
10729 },
10730 module_closure: function module_closure() {
10731 },
10732 module_closure0: function module_closure0() {
10733 },
10734 module_closure1: function module_closure1() {
10735 },
10736 module_closure2: function module_closure2() {
10737 },
10738 module_closure3: function module_closure3() {
10739 },
10740 module_closure4: function module_closure4() {
10741 },
10742 module_closure5: function module_closure5() {
10743 },
10744 module_closure6: function module_closure6() {
10745 },
10746 module__closure: function module__closure() {
10747 },
10748 module_closure7: function module_closure7() {
10749 },
10750 _red_closure: function _red_closure() {
10751 },
10752 _green_closure: function _green_closure() {
10753 },
10754 _blue_closure: function _blue_closure() {
10755 },
10756 _mix_closure: function _mix_closure() {
10757 },
10758 _hue_closure: function _hue_closure() {
10759 },
10760 _saturation_closure: function _saturation_closure() {
10761 },
10762 _lightness_closure: function _lightness_closure() {
10763 },
10764 _complement_closure: function _complement_closure() {
10765 },
10766 _adjust_closure: function _adjust_closure() {
10767 },
10768 _scale_closure: function _scale_closure() {
10769 },
10770 _change_closure: function _change_closure() {
10771 },
10772 _ieHexStr_closure: function _ieHexStr_closure() {
10773 },
10774 _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
10775 },
10776 _updateComponents_getParam: function _updateComponents_getParam(t0, t1, t2) {
10777 this.keywords = t0;
10778 this.scale = t1;
10779 this.change = t2;
10780 },
10781 _updateComponents_closure: function _updateComponents_closure() {
10782 },
10783 _updateComponents_updateValue: function _updateComponents_updateValue(t0, t1) {
10784 this.change = t0;
10785 this.adjust = t1;
10786 },
10787 _updateComponents_updateRgb: function _updateComponents_updateRgb(t0) {
10788 this.updateValue = t0;
10789 },
10790 _functionString_closure: function _functionString_closure() {
10791 },
10792 _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
10793 this.name = t0;
10794 this.argument = t1;
10795 this.negative = t2;
10796 },
10797 _rgb_closure: function _rgb_closure() {
10798 },
10799 _hsl_closure: function _hsl_closure() {
10800 },
10801 _removeUnits_closure: function _removeUnits_closure() {
10802 },
10803 _removeUnits_closure0: function _removeUnits_closure0() {
10804 },
10805 _hwb_closure: function _hwb_closure() {
10806 },
10807 _parseChannels_closure: function _parseChannels_closure() {
10808 },
10809 _function3($name, $arguments, callback) {
10810 return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
10811 },
10812 _length_closure0: function _length_closure0() {
10813 },
10814 _nth_closure: function _nth_closure() {
10815 },
10816 _setNth_closure: function _setNth_closure() {
10817 },
10818 _join_closure: function _join_closure() {
10819 },
10820 _append_closure0: function _append_closure0() {
10821 },
10822 _zip_closure: function _zip_closure() {
10823 },
10824 _zip__closure: function _zip__closure() {
10825 },
10826 _zip__closure0: function _zip__closure0(t0) {
10827 this._box_0 = t0;
10828 },
10829 _zip__closure1: function _zip__closure1(t0) {
10830 this._box_0 = t0;
10831 },
10832 _index_closure0: function _index_closure0() {
10833 },
10834 _separator_closure: function _separator_closure() {
10835 },
10836 _isBracketed_closure: function _isBracketed_closure() {
10837 },
10838 _slash_closure: function _slash_closure() {
10839 },
10840 _modify(map, keys, modify, addNesting) {
10841 var keyIterator = J.get$iterator$ax(keys);
10842 return keyIterator.moveNext$0() ? new A._modify__modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
10843 },
10844 _deepMergeImpl(map1, map2) {
10845 var t1 = {},
10846 t2 = map2._map$_contents;
10847 if (t2.get$isEmpty(t2))
10848 return map1;
10849 t1.mutable = false;
10850 t1.result = t2;
10851 map1._map$_contents.forEach$1(0, new A._deepMergeImpl_closure(t1, new A._deepMergeImpl__ensureMutable(t1)));
10852 if (t1.mutable) {
10853 t2 = type$.Value;
10854 t2 = new A.SassMap(A.ConstantMap_ConstantMap$from(t1.result, t2, t2));
10855 t1 = t2;
10856 } else
10857 t1 = map2;
10858 return t1;
10859 },
10860 _function2($name, $arguments, callback) {
10861 return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
10862 },
10863 _get_closure: function _get_closure() {
10864 },
10865 _set_closure: function _set_closure() {
10866 },
10867 _set__closure0: function _set__closure0(t0) {
10868 this.$arguments = t0;
10869 },
10870 _set_closure0: function _set_closure0() {
10871 },
10872 _set__closure: function _set__closure(t0) {
10873 this.args = t0;
10874 },
10875 _merge_closure: function _merge_closure() {
10876 },
10877 _merge_closure0: function _merge_closure0() {
10878 },
10879 _merge__closure: function _merge__closure(t0) {
10880 this.map2 = t0;
10881 },
10882 _deepMerge_closure: function _deepMerge_closure() {
10883 },
10884 _deepRemove_closure: function _deepRemove_closure() {
10885 },
10886 _deepRemove__closure: function _deepRemove__closure(t0) {
10887 this.keys = t0;
10888 },
10889 _remove_closure: function _remove_closure() {
10890 },
10891 _remove_closure0: function _remove_closure0() {
10892 },
10893 _keys_closure: function _keys_closure() {
10894 },
10895 _values_closure: function _values_closure() {
10896 },
10897 _hasKey_closure: function _hasKey_closure() {
10898 },
10899 _modify__modifyNestedMap: function _modify__modifyNestedMap(t0, t1, t2) {
10900 this.keyIterator = t0;
10901 this.modify = t1;
10902 this.addNesting = t2;
10903 },
10904 _deepMergeImpl__ensureMutable: function _deepMergeImpl__ensureMutable(t0) {
10905 this._box_0 = t0;
10906 },
10907 _deepMergeImpl_closure: function _deepMergeImpl_closure(t0, t1) {
10908 this._box_0 = t0;
10909 this._ensureMutable = t1;
10910 },
10911 _fuzzyRoundIfZero(number) {
10912 if (!(Math.abs(number - 0) < $.$get$epsilon()))
10913 return number;
10914 return B.JSNumber_methods.get$isNegative(number) ? -0.0 : 0;
10915 },
10916 _numberFunction($name, transform) {
10917 return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
10918 },
10919 _function1($name, $arguments, callback) {
10920 return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
10921 },
10922 _ceil_closure: function _ceil_closure() {
10923 },
10924 _clamp_closure: function _clamp_closure() {
10925 },
10926 _floor_closure: function _floor_closure() {
10927 },
10928 _max_closure: function _max_closure() {
10929 },
10930 _min_closure: function _min_closure() {
10931 },
10932 _abs_closure: function _abs_closure() {
10933 },
10934 _hypot_closure: function _hypot_closure() {
10935 },
10936 _hypot__closure: function _hypot__closure() {
10937 },
10938 _log_closure: function _log_closure() {
10939 },
10940 _pow_closure: function _pow_closure() {
10941 },
10942 _sqrt_closure: function _sqrt_closure() {
10943 },
10944 _acos_closure: function _acos_closure() {
10945 },
10946 _asin_closure: function _asin_closure() {
10947 },
10948 _atan_closure: function _atan_closure() {
10949 },
10950 _atan2_closure: function _atan2_closure() {
10951 },
10952 _cos_closure: function _cos_closure() {
10953 },
10954 _sin_closure: function _sin_closure() {
10955 },
10956 _tan_closure: function _tan_closure() {
10957 },
10958 _compatible_closure: function _compatible_closure() {
10959 },
10960 _isUnitless_closure: function _isUnitless_closure() {
10961 },
10962 _unit_closure: function _unit_closure() {
10963 },
10964 _percentage_closure: function _percentage_closure() {
10965 },
10966 _randomFunction_closure: function _randomFunction_closure() {
10967 },
10968 _div_closure: function _div_closure() {
10969 },
10970 _numberFunction_closure: function _numberFunction_closure(t0) {
10971 this.transform = t0;
10972 },
10973 _function5($name, $arguments, callback) {
10974 return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
10975 },
10976 global_closure26: function global_closure26() {
10977 },
10978 global_closure27: function global_closure27() {
10979 },
10980 global_closure28: function global_closure28() {
10981 },
10982 global_closure29: function global_closure29() {
10983 },
10984 local_closure: function local_closure() {
10985 },
10986 local_closure0: function local_closure0() {
10987 },
10988 local__closure: function local__closure() {
10989 },
10990 _prependParent(compound) {
10991 var t2, _null = null,
10992 t1 = compound.components,
10993 first = B.JSArray_methods.get$first(t1);
10994 if (first instanceof A.UniversalSelector)
10995 return _null;
10996 if (first instanceof A.TypeSelector) {
10997 t2 = first.name;
10998 if (t2.namespace != null)
10999 return _null;
11000 t2 = A._setArrayType([new A.ParentSelector(t2.name)], type$.JSArray_SimpleSelector);
11001 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
11002 return A.CompoundSelector$(t2);
11003 } else {
11004 t2 = A._setArrayType([new A.ParentSelector(_null)], type$.JSArray_SimpleSelector);
11005 B.JSArray_methods.addAll$1(t2, t1);
11006 return A.CompoundSelector$(t2);
11007 }
11008 },
11009 _function0($name, $arguments, callback) {
11010 return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
11011 },
11012 _nest_closure: function _nest_closure() {
11013 },
11014 _nest__closure: function _nest__closure(t0) {
11015 this._box_0 = t0;
11016 },
11017 _nest__closure0: function _nest__closure0() {
11018 },
11019 _append_closure: function _append_closure() {
11020 },
11021 _append__closure: function _append__closure() {
11022 },
11023 _append__closure0: function _append__closure0() {
11024 },
11025 _append___closure: function _append___closure(t0) {
11026 this.parent = t0;
11027 },
11028 _extend_closure: function _extend_closure() {
11029 },
11030 _replace_closure: function _replace_closure() {
11031 },
11032 _unify_closure: function _unify_closure() {
11033 },
11034 _isSuperselector_closure: function _isSuperselector_closure() {
11035 },
11036 _simpleSelectors_closure: function _simpleSelectors_closure() {
11037 },
11038 _simpleSelectors__closure: function _simpleSelectors__closure() {
11039 },
11040 _parse_closure: function _parse_closure() {
11041 },
11042 _codepointForIndex(index, lengthInCodepoints, allowNegative) {
11043 var result;
11044 if (index === 0)
11045 return 0;
11046 if (index > 0)
11047 return Math.min(index - 1, lengthInCodepoints);
11048 result = lengthInCodepoints + index;
11049 if (result < 0 && !allowNegative)
11050 return 0;
11051 return result;
11052 },
11053 _function($name, $arguments, callback) {
11054 return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
11055 },
11056 _unquote_closure: function _unquote_closure() {
11057 },
11058 _quote_closure: function _quote_closure() {
11059 },
11060 _length_closure: function _length_closure() {
11061 },
11062 _insert_closure: function _insert_closure() {
11063 },
11064 _index_closure: function _index_closure() {
11065 },
11066 _slice_closure: function _slice_closure() {
11067 },
11068 _toUpperCase_closure: function _toUpperCase_closure() {
11069 },
11070 _toLowerCase_closure: function _toLowerCase_closure() {
11071 },
11072 _uniqueId_closure: function _uniqueId_closure() {
11073 },
11074 ImportCache$(loadPaths, logger) {
11075 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri,
11076 t2 = type$.Uri,
11077 t3 = A.ImportCache__toImporters(null, loadPaths, null),
11078 t4 = logger == null ? B.StderrLogger_false : logger;
11079 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));
11080 },
11081 ImportCache__toImporters(importers, loadPaths, packageConfig) {
11082 var t2, t3, _i, path, _null = null,
11083 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
11084 t1 = A._setArrayType([], type$.JSArray_Importer_2);
11085 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
11086 t3 = t2.get$current(t2);
11087 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
11088 }
11089 if (sassPath != null) {
11090 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
11091 t3 = t2.length;
11092 _i = 0;
11093 for (; _i < t3; ++_i) {
11094 path = t2[_i];
11095 t1.push(new A.FilesystemImporter($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
11096 }
11097 }
11098 return t1;
11099 },
11100 ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5) {
11101 var _ = this;
11102 _._importers = t0;
11103 _._logger = t1;
11104 _._canonicalizeCache = t2;
11105 _._relativeCanonicalizeCache = t3;
11106 _._importCache = t4;
11107 _._resultsCache = t5;
11108 },
11109 ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
11110 var _ = this;
11111 _.$this = t0;
11112 _.baseUrl = t1;
11113 _.url = t2;
11114 _.baseImporter = t3;
11115 _.forImport = t4;
11116 },
11117 ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2) {
11118 this.$this = t0;
11119 this.url = t1;
11120 this.forImport = t2;
11121 },
11122 ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
11123 this.importer = t0;
11124 this.url = t1;
11125 },
11126 ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
11127 var _ = this;
11128 _.$this = t0;
11129 _.importer = t1;
11130 _.canonicalUrl = t2;
11131 _.originalUrl = t3;
11132 _.quiet = t4;
11133 },
11134 ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
11135 this.canonicalUrl = t0;
11136 },
11137 ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
11138 },
11139 ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
11140 },
11141 Importer: function Importer() {
11142 },
11143 AsyncImporter: function AsyncImporter() {
11144 },
11145 FilesystemImporter: function FilesystemImporter(t0) {
11146 this._loadPath = t0;
11147 },
11148 FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
11149 },
11150 ImporterResult: function ImporterResult(t0, t1, t2) {
11151 this.contents = t0;
11152 this._sourceMapUrl = t1;
11153 this.syntax = t2;
11154 },
11155 fromImport() {
11156 var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
11157 return t1 === true;
11158 },
11159 resolveImportPath(path) {
11160 var t1,
11161 extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
11162 if (extension === ".sass" || extension === ".scss" || extension === ".css") {
11163 t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
11164 return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
11165 }
11166 t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
11167 if (t1 == null)
11168 t1 = A._exactlyOne(A._tryPathWithExtensions(path));
11169 return t1 == null ? A._tryPathAsDirectory(path) : t1;
11170 },
11171 _tryPathWithExtensions(path) {
11172 var result = A._tryPath(path + ".sass");
11173 B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
11174 return result.length !== 0 ? result : A._tryPath(path + ".css");
11175 },
11176 _tryPath(path) {
11177 var t1 = $.$get$context(),
11178 partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
11179 t1 = A._setArrayType([], type$.JSArray_String);
11180 if (A.fileExists(partial))
11181 t1.push(partial);
11182 if (A.fileExists(path))
11183 t1.push(path);
11184 return t1;
11185 },
11186 _tryPathAsDirectory(path) {
11187 var t1;
11188 if (!A.dirExists(path))
11189 return null;
11190 t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
11191 return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
11192 },
11193 _exactlyOne(paths) {
11194 var t1 = paths.length;
11195 if (t1 === 0)
11196 return null;
11197 if (t1 === 1)
11198 return B.JSArray_methods.get$first(paths);
11199 throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
11200 },
11201 resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
11202 this.path = t0;
11203 this.extension = t1;
11204 },
11205 resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
11206 this.path = t0;
11207 },
11208 _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
11209 this.path = t0;
11210 },
11211 _exactlyOne_closure: function _exactlyOne_closure() {
11212 },
11213 InterpolationBuffer: function InterpolationBuffer(t0, t1) {
11214 this._interpolation_buffer$_text = t0;
11215 this._interpolation_buffer$_contents = t1;
11216 },
11217 _realCasePath(path) {
11218 var prefix, t1;
11219 if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
11220 return path;
11221 if (J.$eq$(J.get$platform$x(self.process), "win32")) {
11222 prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
11223 t1 = prefix.length;
11224 if (t1 !== 0 && A.isAlphabetic0(B.JSString_methods._codeUnitAt$1(prefix, 0)))
11225 path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
11226 }
11227 return new A._realCasePath_helper().call$1(path);
11228 },
11229 _realCasePath_helper: function _realCasePath_helper() {
11230 },
11231 _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2) {
11232 this.helper = t0;
11233 this.dirname = t1;
11234 this.path = t2;
11235 },
11236 _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
11237 this.basename = t0;
11238 },
11239 readFile(path) {
11240 var sourceFile, t1, i,
11241 contents = A._asString(A._readFile(path, "utf8"));
11242 if (!B.JSString_methods.contains$1(contents, "\ufffd"))
11243 return contents;
11244 sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
11245 for (t1 = contents.length, i = 0; i < t1; ++i) {
11246 if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
11247 continue;
11248 throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
11249 }
11250 return contents;
11251 },
11252 _readFile(path, encoding) {
11253 return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
11254 },
11255 writeFile(path, contents) {
11256 return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
11257 },
11258 deleteFile(path) {
11259 return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
11260 },
11261 readStdin() {
11262 return A.readStdin$body();
11263 },
11264 readStdin$body() {
11265 var $async$goto = 0,
11266 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
11267 $async$returnValue, sink, t1, t2, completer;
11268 var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
11269 if ($async$errorCode === 1)
11270 return A._asyncRethrow($async$result, $async$completer);
11271 while (true)
11272 switch ($async$goto) {
11273 case 0:
11274 // Function start
11275 t1 = {};
11276 t2 = new A._Future($.Zone__current, type$._Future_String);
11277 completer = new A._AsyncCompleter(t2, type$._AsyncCompleter_String);
11278 t1.contents = null;
11279 sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
11280 J.on$2$x(J.get$stdin$x(self.process), "data", A.allowInterop(new A.readStdin_closure0(sink)));
11281 J.on$2$x(J.get$stdin$x(self.process), "end", A.allowInterop(new A.readStdin_closure1(sink)));
11282 J.on$2$x(J.get$stdin$x(self.process), "error", A.allowInterop(new A.readStdin_closure2(completer)));
11283 $async$returnValue = t2;
11284 // goto return
11285 $async$goto = 1;
11286 break;
11287 case 1:
11288 // return
11289 return A._asyncReturn($async$returnValue, $async$completer);
11290 }
11291 });
11292 return A._asyncStartSync($async$readStdin, $async$completer);
11293 },
11294 fileExists(path) {
11295 return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
11296 },
11297 dirExists(path) {
11298 return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
11299 },
11300 ensureDir(path) {
11301 return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
11302 },
11303 listDir(path, recursive) {
11304 return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
11305 },
11306 modificationTime(path) {
11307 return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
11308 },
11309 _systemErrorToFileSystemException(callback) {
11310 var error, t1, exception, t2;
11311 try {
11312 t1 = callback.call$0();
11313 return t1;
11314 } catch (exception) {
11315 error = A.unwrapException(exception);
11316 if (!type$.JsSystemError._is(error))
11317 throw exception;
11318 t1 = error;
11319 t2 = J.getInterceptor$x(t1);
11320 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)));
11321 }
11322 },
11323 isWindows() {
11324 return J.$eq$(J.get$platform$x(self.process), "win32");
11325 },
11326 watchDir(path, poll) {
11327 var t2, t3, t1 = {},
11328 watcher = J.watch$2$x(self.chokidar, path, {disableGlobbing: true, usePolling: poll});
11329 t1.controller = null;
11330 t2 = J.getInterceptor$x(watcher);
11331 t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure(t1)));
11332 t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure0(t1)));
11333 t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure1(t1)));
11334 t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure2(t1)));
11335 t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
11336 t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure3(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
11337 return t3;
11338 },
11339 FileSystemException: function FileSystemException(t0, t1) {
11340 this.message = t0;
11341 this.path = t1;
11342 },
11343 Stderr: function Stderr(t0) {
11344 this._stderr = t0;
11345 },
11346 _readFile_closure: function _readFile_closure(t0, t1) {
11347 this.path = t0;
11348 this.encoding = t1;
11349 },
11350 writeFile_closure: function writeFile_closure(t0, t1) {
11351 this.path = t0;
11352 this.contents = t1;
11353 },
11354 deleteFile_closure: function deleteFile_closure(t0) {
11355 this.path = t0;
11356 },
11357 readStdin_closure: function readStdin_closure(t0, t1) {
11358 this._box_0 = t0;
11359 this.completer = t1;
11360 },
11361 readStdin_closure0: function readStdin_closure0(t0) {
11362 this.sink = t0;
11363 },
11364 readStdin_closure1: function readStdin_closure1(t0) {
11365 this.sink = t0;
11366 },
11367 readStdin_closure2: function readStdin_closure2(t0) {
11368 this.completer = t0;
11369 },
11370 fileExists_closure: function fileExists_closure(t0) {
11371 this.path = t0;
11372 },
11373 dirExists_closure: function dirExists_closure(t0) {
11374 this.path = t0;
11375 },
11376 ensureDir_closure: function ensureDir_closure(t0) {
11377 this.path = t0;
11378 },
11379 listDir_closure: function listDir_closure(t0, t1) {
11380 this.recursive = t0;
11381 this.path = t1;
11382 },
11383 listDir__closure: function listDir__closure(t0) {
11384 this.path = t0;
11385 },
11386 listDir__closure0: function listDir__closure0() {
11387 },
11388 listDir_closure_list: function listDir_closure_list() {
11389 },
11390 listDir__list_closure: function listDir__list_closure(t0, t1) {
11391 this.parent = t0;
11392 this.list = t1;
11393 },
11394 modificationTime_closure: function modificationTime_closure(t0) {
11395 this.path = t0;
11396 },
11397 watchDir_closure: function watchDir_closure(t0) {
11398 this._box_0 = t0;
11399 },
11400 watchDir_closure0: function watchDir_closure0(t0) {
11401 this._box_0 = t0;
11402 },
11403 watchDir_closure1: function watchDir_closure1(t0) {
11404 this._box_0 = t0;
11405 },
11406 watchDir_closure2: function watchDir_closure2(t0) {
11407 this._box_0 = t0;
11408 },
11409 watchDir_closure3: function watchDir_closure3(t0, t1, t2) {
11410 this._box_0 = t0;
11411 this.watcher = t1;
11412 this.completer = t2;
11413 },
11414 watchDir__closure: function watchDir__closure(t0) {
11415 this.watcher = t0;
11416 },
11417 _QuietLogger: function _QuietLogger() {
11418 },
11419 StderrLogger: function StderrLogger(t0) {
11420 this.color = t0;
11421 },
11422 TerseLogger: function TerseLogger(t0, t1) {
11423 this._warningCounts = t0;
11424 this._inner = t1;
11425 },
11426 TerseLogger_summarize_closure: function TerseLogger_summarize_closure() {
11427 },
11428 TerseLogger_summarize_closure0: function TerseLogger_summarize_closure0() {
11429 },
11430 TrackingLogger: function TrackingLogger(t0) {
11431 this._tracking$_logger = t0;
11432 this._emittedDebug = this._emittedWarning = false;
11433 },
11434 BuiltInModule$($name, functions, mixins, variables, $T) {
11435 var t1 = A._Uri__Uri(null, $name, null, "sass"),
11436 t2 = A.BuiltInModule__callableMap(functions, $T),
11437 t3 = A.BuiltInModule__callableMap(mixins, $T),
11438 t4 = variables == null ? B.Map_empty1 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
11439 return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
11440 },
11441 BuiltInModule__callableMap(callables, $T) {
11442 var t2, _i, callable,
11443 t1 = type$.String;
11444 if (callables == null)
11445 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
11446 else {
11447 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
11448 for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
11449 callable = callables[_i];
11450 t1.$indexSet(0, J.get$name$x(callable), callable);
11451 }
11452 t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
11453 }
11454 return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
11455 },
11456 BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
11457 var _ = this;
11458 _.url = t0;
11459 _.functions = t1;
11460 _.mixins = t2;
11461 _.variables = t3;
11462 _.$ti = t4;
11463 },
11464 ForwardedModuleView_ifNecessary(inner, rule, $T) {
11465 var t1;
11466 if (rule.prefix == null)
11467 if (rule.shownMixinsAndFunctions == null)
11468 if (rule.shownVariables == null) {
11469 t1 = rule.hiddenMixinsAndFunctions;
11470 if (t1 == null)
11471 t1 = null;
11472 else {
11473 t1 = t1._base;
11474 t1 = t1.get$isEmpty(t1);
11475 }
11476 if (t1 === true) {
11477 t1 = rule.hiddenVariables;
11478 if (t1 == null)
11479 t1 = null;
11480 else {
11481 t1 = t1._base;
11482 t1 = t1.get$isEmpty(t1);
11483 }
11484 t1 = t1 === true;
11485 } else
11486 t1 = false;
11487 } else
11488 t1 = false;
11489 else
11490 t1 = false;
11491 else
11492 t1 = false;
11493 if (t1)
11494 return inner;
11495 else
11496 return A.ForwardedModuleView$(inner, rule, $T);
11497 },
11498 ForwardedModuleView$(_inner, _rule, $T) {
11499 var t1 = _rule.prefix,
11500 t2 = _rule.shownVariables,
11501 t3 = _rule.hiddenVariables,
11502 t4 = _rule.shownMixinsAndFunctions,
11503 t5 = _rule.hiddenMixinsAndFunctions;
11504 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>"));
11505 },
11506 ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
11507 var t2,
11508 t1 = prefix == null;
11509 if (t1)
11510 if (safelist == null)
11511 if (blocklist != null) {
11512 t2 = blocklist._base;
11513 t2 = t2.get$isEmpty(t2);
11514 } else
11515 t2 = true;
11516 else
11517 t2 = false;
11518 else
11519 t2 = false;
11520 if (t2)
11521 return map;
11522 if (!t1)
11523 map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
11524 if (safelist != null)
11525 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>"));
11526 else {
11527 if (blocklist != null) {
11528 t1 = blocklist._base;
11529 t1 = t1.get$isNotEmpty(t1);
11530 } else
11531 t1 = false;
11532 if (t1)
11533 map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
11534 }
11535 return map;
11536 },
11537 ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
11538 var _ = this;
11539 _._forwarded_view$_inner = t0;
11540 _._rule = t1;
11541 _.variables = t2;
11542 _.variableNodes = t3;
11543 _.functions = t4;
11544 _.mixins = t5;
11545 _.$ti = t6;
11546 },
11547 ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
11548 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;
11549 },
11550 ShadowedModuleView__shadowedMap(map, blocklist, $V) {
11551 var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
11552 return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
11553 },
11554 ShadowedModuleView__needsBlocklist(map, blocklist) {
11555 var t1 = map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
11556 return t1;
11557 },
11558 ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
11559 var _ = this;
11560 _._shadowed_view$_inner = t0;
11561 _.variables = t1;
11562 _.variableNodes = t2;
11563 _.functions = t3;
11564 _.mixins = t4;
11565 _.$ti = t5;
11566 },
11567 JSArray0: function JSArray0() {
11568 },
11569 Chokidar: function Chokidar() {
11570 },
11571 ChokidarOptions: function ChokidarOptions() {
11572 },
11573 ChokidarWatcher: function ChokidarWatcher() {
11574 },
11575 JSFunction: function JSFunction() {
11576 },
11577 NodeImporterResult: function NodeImporterResult() {
11578 },
11579 RenderContext: function RenderContext() {
11580 },
11581 RenderContextOptions: function RenderContextOptions() {
11582 },
11583 RenderContextResult: function RenderContextResult() {
11584 },
11585 RenderContextResultStats: function RenderContextResultStats() {
11586 },
11587 JSClass: function JSClass() {
11588 },
11589 JSUrl: function JSUrl() {
11590 },
11591 _PropertyDescriptor: function _PropertyDescriptor() {
11592 },
11593 AtRootQueryParser: function AtRootQueryParser(t0, t1) {
11594 this.scanner = t0;
11595 this.logger = t1;
11596 },
11597 AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
11598 this.$this = t0;
11599 },
11600 _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
11601 },
11602 CssParser: function CssParser(t0, t1, t2) {
11603 var _ = this;
11604 _._isUseAllowed = true;
11605 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11606 _._globalVariables = t0;
11607 _.lastSilentComment = null;
11608 _.scanner = t1;
11609 _.logger = t2;
11610 },
11611 KeyframeSelectorParser$(contents, logger) {
11612 var t1 = A.SpanScanner$(contents, null);
11613 return new A.KeyframeSelectorParser(t1, logger);
11614 },
11615 KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1) {
11616 this.scanner = t0;
11617 this.logger = t1;
11618 },
11619 KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
11620 this.$this = t0;
11621 },
11622 MediaQueryParser: function MediaQueryParser(t0, t1) {
11623 this.scanner = t0;
11624 this.logger = t1;
11625 },
11626 MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
11627 this.$this = t0;
11628 },
11629 Parser_isIdentifier(text) {
11630 var t1, t2, exception, logger = null;
11631 try {
11632 t1 = logger;
11633 t2 = A.SpanScanner$(text, null);
11634 new A.Parser(t2, t1 == null ? B.StderrLogger_false : t1)._parseIdentifier$0();
11635 return true;
11636 } catch (exception) {
11637 if (A.unwrapException(exception) instanceof A.SassFormatException)
11638 return false;
11639 else
11640 throw exception;
11641 }
11642 },
11643 Parser: function Parser(t0, t1) {
11644 this.scanner = t0;
11645 this.logger = t1;
11646 },
11647 Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
11648 this.$this = t0;
11649 },
11650 Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
11651 this.caseSensitive = t0;
11652 this.char = t1;
11653 },
11654 SassParser: function SassParser(t0, t1, t2) {
11655 var _ = this;
11656 _._currentIndentation = 0;
11657 _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
11658 _._isUseAllowed = true;
11659 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11660 _._globalVariables = t0;
11661 _.lastSilentComment = null;
11662 _.scanner = t1;
11663 _.logger = t2;
11664 },
11665 SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
11666 this.$this = t0;
11667 this.child = t1;
11668 this.children = t2;
11669 },
11670 ScssParser$(contents, logger, url) {
11671 var t1 = A.SpanScanner$(contents, url),
11672 t2 = logger == null ? B.StderrLogger_false : logger;
11673 return new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2);
11674 },
11675 ScssParser: function ScssParser(t0, t1, t2) {
11676 var _ = this;
11677 _._isUseAllowed = true;
11678 _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
11679 _._globalVariables = t0;
11680 _.lastSilentComment = null;
11681 _.scanner = t1;
11682 _.logger = t2;
11683 },
11684 SelectorParser$(contents, allowParent, allowPlaceholder, logger, url) {
11685 var t1 = A.SpanScanner$(contents, url);
11686 return new A.SelectorParser(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false : logger);
11687 },
11688 SelectorParser: function SelectorParser(t0, t1, t2, t3) {
11689 var _ = this;
11690 _._allowParent = t0;
11691 _._allowPlaceholder = t1;
11692 _.scanner = t2;
11693 _.logger = t3;
11694 },
11695 SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
11696 this.$this = t0;
11697 },
11698 SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
11699 this.$this = t0;
11700 },
11701 StylesheetParser: function StylesheetParser() {
11702 },
11703 StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
11704 this.$this = t0;
11705 },
11706 StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
11707 this.$this = t0;
11708 },
11709 StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0() {
11710 },
11711 StylesheetParser_parseArgumentDeclaration_closure: function StylesheetParser_parseArgumentDeclaration_closure(t0) {
11712 this.$this = t0;
11713 },
11714 StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
11715 this.$this = t0;
11716 },
11717 StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
11718 this.$this = t0;
11719 },
11720 StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
11721 this.$this = t0;
11722 this.production = t1;
11723 this.T = t2;
11724 },
11725 StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
11726 this.$this = t0;
11727 },
11728 StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
11729 this.$this = t0;
11730 this.start = t1;
11731 },
11732 StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
11733 this.declaration = t0;
11734 },
11735 StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
11736 this.name = t0;
11737 },
11738 StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0, t1) {
11739 this._box_0 = t0;
11740 this.name = t1;
11741 },
11742 StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
11743 var _ = this;
11744 _._box_0 = t0;
11745 _.$this = t1;
11746 _.wasInStyleRule = t2;
11747 _.start = t3;
11748 },
11749 StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
11750 this._box_0 = t0;
11751 },
11752 StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0, t1) {
11753 this._box_0 = t0;
11754 this.value = t1;
11755 },
11756 StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
11757 this.query = t0;
11758 },
11759 StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
11760 },
11761 StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
11762 var _ = this;
11763 _.$this = t0;
11764 _.wasInControlDirective = t1;
11765 _.variables = t2;
11766 _.list = t3;
11767 },
11768 StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
11769 this.name = t0;
11770 this.$arguments = t1;
11771 this.precedingComment = t2;
11772 },
11773 StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
11774 this._box_0 = t0;
11775 this.$this = t1;
11776 },
11777 StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
11778 var _ = this;
11779 _._box_0 = t0;
11780 _.$this = t1;
11781 _.wasInControlDirective = t2;
11782 _.variable = t3;
11783 _.from = t4;
11784 _.to = t5;
11785 },
11786 StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
11787 this.$this = t0;
11788 this.variables = t1;
11789 this.identifiers = t2;
11790 },
11791 StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
11792 this.contentArguments_ = t0;
11793 },
11794 StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
11795 this.query = t0;
11796 },
11797 StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
11798 var _ = this;
11799 _.$this = t0;
11800 _.name = t1;
11801 _.$arguments = t2;
11802 _.precedingComment = t3;
11803 },
11804 StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0, t1, t2, t3) {
11805 var _ = this;
11806 _._box_0 = t0;
11807 _.$this = t1;
11808 _.name = t2;
11809 _.value = t3;
11810 },
11811 StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
11812 this.condition = t0;
11813 },
11814 StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
11815 this.$this = t0;
11816 this.wasInControlDirective = t1;
11817 this.condition = t2;
11818 },
11819 StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
11820 this._box_0 = t0;
11821 this.name = t1;
11822 },
11823 StylesheetParser_expression_resetState: function StylesheetParser_expression_resetState(t0, t1, t2) {
11824 this._box_0 = t0;
11825 this.$this = t1;
11826 this.start = t2;
11827 },
11828 StylesheetParser_expression_resolveOneOperation: function StylesheetParser_expression_resolveOneOperation(t0, t1) {
11829 this._box_0 = t0;
11830 this.$this = t1;
11831 },
11832 StylesheetParser_expression_resolveOperations: function StylesheetParser_expression_resolveOperations(t0, t1) {
11833 this._box_0 = t0;
11834 this.resolveOneOperation = t1;
11835 },
11836 StylesheetParser_expression_addSingleExpression: function StylesheetParser_expression_addSingleExpression(t0, t1, t2, t3) {
11837 var _ = this;
11838 _._box_0 = t0;
11839 _.$this = t1;
11840 _.resetState = t2;
11841 _.resolveOperations = t3;
11842 },
11843 StylesheetParser_expression_addOperator: function StylesheetParser_expression_addOperator(t0, t1, t2) {
11844 this._box_0 = t0;
11845 this.$this = t1;
11846 this.resolveOneOperation = t2;
11847 },
11848 StylesheetParser_expression_resolveSpaceExpressions: function StylesheetParser_expression_resolveSpaceExpressions(t0, t1, t2) {
11849 this._box_0 = t0;
11850 this.$this = t1;
11851 this.resolveOperations = t2;
11852 },
11853 StylesheetParser__expressionUntilComma_closure: function StylesheetParser__expressionUntilComma_closure(t0) {
11854 this.$this = t0;
11855 },
11856 StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
11857 },
11858 StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
11859 },
11860 StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
11861 this.$this = t0;
11862 this.start = t1;
11863 },
11864 StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
11865 },
11866 StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
11867 this.$this = t0;
11868 },
11869 StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
11870 this.$this = t0;
11871 this.start = t1;
11872 },
11873 StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
11874 var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream.item1, allUpstream.item2, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
11875 t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
11876 return t1;
11877 },
11878 StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
11879 this._nodes = t0;
11880 this.importCache = t1;
11881 this._transitiveModificationTimes = t2;
11882 },
11883 StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
11884 this.$this = t0;
11885 },
11886 StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
11887 this.node = t0;
11888 this.transitiveModificationTime = t1;
11889 },
11890 StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
11891 var _ = this;
11892 _.$this = t0;
11893 _.url = t1;
11894 _.baseImporter = t2;
11895 _.baseUrl = t3;
11896 },
11897 StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
11898 var _ = this;
11899 _.$this = t0;
11900 _.importer = t1;
11901 _.canonicalUrl = t2;
11902 _.originalUrl = t3;
11903 },
11904 StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
11905 this.$this = t0;
11906 this.node = t1;
11907 this.canonicalUrl = t2;
11908 },
11909 StylesheetGraph__recanonicalizeImportsForNode_closure: function StylesheetGraph__recanonicalizeImportsForNode_closure(t0, t1, t2, t3, t4, t5) {
11910 var _ = this;
11911 _.$this = t0;
11912 _.importer = t1;
11913 _.canonicalUrl = t2;
11914 _.node = t3;
11915 _.forImport = t4;
11916 _.newMap = t5;
11917 },
11918 StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
11919 var _ = this;
11920 _.$this = t0;
11921 _.url = t1;
11922 _.baseImporter = t2;
11923 _.baseUrl = t3;
11924 _.forImport = t4;
11925 },
11926 StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1, t2, t3) {
11927 var _ = this;
11928 _.$this = t0;
11929 _.importer = t1;
11930 _.canonicalUrl = t2;
11931 _.resolvedUrl = t3;
11932 },
11933 StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
11934 var _ = this;
11935 _._stylesheet = t0;
11936 _.importer = t1;
11937 _.canonicalUrl = t2;
11938 _._upstream = t3;
11939 _._upstreamImports = t4;
11940 _._downstream = t5;
11941 },
11942 Syntax_forPath(path) {
11943 switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
11944 case ".sass":
11945 return B.Syntax_Sass;
11946 case ".css":
11947 return B.Syntax_CSS;
11948 default:
11949 return B.Syntax_SCSS;
11950 }
11951 },
11952 Syntax: function Syntax(t0) {
11953 this._syntax$_name = t0;
11954 },
11955 LimitedMapView$blocklist(_map, blocklist, $K, $V) {
11956 var t2, key,
11957 t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
11958 for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
11959 key = t2.get$current(t2);
11960 if (!blocklist.contains$1(0, key))
11961 t1.add$1(0, key);
11962 }
11963 return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
11964 },
11965 LimitedMapView: function LimitedMapView(t0, t1, t2) {
11966 this._limited_map_view$_map = t0;
11967 this._limited_map_view$_keys = t1;
11968 this.$ti = t2;
11969 },
11970 MergedMapView$(maps, $K, $V) {
11971 var t1 = $K._eval$1("@<0>")._bind$1($V);
11972 t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
11973 t1.MergedMapView$1(maps, $K, $V);
11974 return t1;
11975 },
11976 MergedMapView: function MergedMapView(t0, t1) {
11977 this._mapsByKey = t0;
11978 this.$ti = t1;
11979 },
11980 MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
11981 this._watchers = t0;
11982 this._group = t1;
11983 this._poll = t2;
11984 },
11985 NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
11986 this._no_source_map_buffer$_buffer = t0;
11987 },
11988 PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
11989 this._prefixed_map_view$_map = t0;
11990 this._prefix = t1;
11991 this.$ti = t2;
11992 },
11993 _PrefixedKeys: function _PrefixedKeys(t0) {
11994 this._view = t0;
11995 },
11996 _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
11997 this.$this = t0;
11998 },
11999 PublicMemberMapView: function PublicMemberMapView(t0, t1) {
12000 this._public_member_map_view$_inner = t0;
12001 this.$ti = t1;
12002 },
12003 SourceMapBuffer: function SourceMapBuffer(t0, t1) {
12004 var _ = this;
12005 _._source_map_buffer$_buffer = t0;
12006 _._entries = t1;
12007 _._column = _._line = 0;
12008 _._inSpan = false;
12009 },
12010 SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
12011 this._box_0 = t0;
12012 this.prefixLength = t1;
12013 },
12014 UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
12015 this._unprefixed_map_view$_map = t0;
12016 this._unprefixed_map_view$_prefix = t1;
12017 this.$ti = t2;
12018 },
12019 _UnprefixedKeys: function _UnprefixedKeys(t0) {
12020 this._unprefixed_map_view$_view = t0;
12021 },
12022 _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
12023 this.$this = t0;
12024 },
12025 _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
12026 this.$this = t0;
12027 },
12028 toSentence(iter, conjunction) {
12029 var t1 = iter.__internal$_iterable,
12030 t2 = J.getInterceptor$asx(t1);
12031 if (t2.get$length(t1) === 1)
12032 return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
12033 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))));
12034 },
12035 indent(string, indentation) {
12036 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");
12037 },
12038 pluralize($name, number, plural) {
12039 if (number === 1)
12040 return $name;
12041 if (plural != null)
12042 return plural;
12043 return $name + "s";
12044 },
12045 trimAscii(string, excludeEscape) {
12046 var t1,
12047 start = A._firstNonWhitespace(string);
12048 if (start == null)
12049 t1 = "";
12050 else {
12051 t1 = A._lastNonWhitespace(string, true);
12052 t1.toString;
12053 t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
12054 }
12055 return t1;
12056 },
12057 trimAsciiRight(string, excludeEscape) {
12058 var end = A._lastNonWhitespace(string, excludeEscape);
12059 return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
12060 },
12061 _firstNonWhitespace(string) {
12062 var t1, i, t2;
12063 for (t1 = string.length, i = 0; i < t1; ++i) {
12064 t2 = B.JSString_methods._codeUnitAt$1(string, i);
12065 if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
12066 return i;
12067 }
12068 return null;
12069 },
12070 _lastNonWhitespace(string, excludeEscape) {
12071 var t1, i, codeUnit;
12072 for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
12073 codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
12074 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
12075 if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
12076 return i + 1;
12077 else
12078 return i;
12079 }
12080 return null;
12081 },
12082 isPublic(member) {
12083 var start = B.JSString_methods._codeUnitAt$1(member, 0);
12084 return start !== 45 && start !== 95;
12085 },
12086 flattenVertically(iterable, $T) {
12087 var result,
12088 t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
12089 queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), true, t1._eval$1("ListIterable.E"));
12090 if (queues.length === 1)
12091 return B.JSArray_methods.get$first(queues);
12092 result = A._setArrayType([], $T._eval$1("JSArray<0>"));
12093 for (; queues.length !== 0;) {
12094 if (!!queues.fixed$length)
12095 A.throwExpression(A.UnsupportedError$("removeWhere"));
12096 B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
12097 }
12098 return result;
12099 },
12100 firstOrNull(iterable) {
12101 var iterator = J.get$iterator$ax(iterable);
12102 return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
12103 },
12104 codepointIndexToCodeUnitIndex(string, codepointIndex) {
12105 var codeUnitIndex, i, codeUnitIndex0;
12106 for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
12107 codeUnitIndex0 = codeUnitIndex + 1;
12108 codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
12109 }
12110 return codeUnitIndex;
12111 },
12112 codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
12113 var codepointIndex, i;
12114 for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
12115 ++codepointIndex;
12116 return codepointIndex;
12117 },
12118 frameForSpan(span, member, url) {
12119 var t2, t3, t4,
12120 t1 = url == null ? span.file.url : url;
12121 if (t1 == null)
12122 t1 = $.$get$_noSourceUrl();
12123 t2 = span.file;
12124 t3 = span._file$_start;
12125 t4 = A.FileLocation$_(t2, t3);
12126 t4 = t4.file.getLine$1(t4.offset);
12127 t3 = A.FileLocation$_(t2, t3);
12128 return new A.Frame(t1, t4 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
12129 },
12130 declarationName(span) {
12131 var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
12132 return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
12133 },
12134 unvendor($name) {
12135 var i,
12136 t1 = $name.length;
12137 if (t1 < 2)
12138 return $name;
12139 if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
12140 return $name;
12141 if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
12142 return $name;
12143 for (i = 2; i < t1; ++i)
12144 if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
12145 return B.JSString_methods.substring$1($name, i + 1);
12146 return $name;
12147 },
12148 equalsIgnoreCase(string1, string2) {
12149 var t1, i;
12150 if (string1 === string2)
12151 return true;
12152 if (string1 == null || false)
12153 return false;
12154 t1 = string1.length;
12155 if (t1 !== string2.length)
12156 return false;
12157 for (i = 0; i < t1; ++i)
12158 if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
12159 return false;
12160 return true;
12161 },
12162 startsWithIgnoreCase(string, prefix) {
12163 var i,
12164 t1 = prefix.length;
12165 if (string.length < t1)
12166 return false;
12167 for (i = 0; i < t1; ++i)
12168 if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
12169 return false;
12170 return true;
12171 },
12172 mapInPlace(list, $function) {
12173 var i;
12174 for (i = 0; i < list.length; ++i)
12175 list[i] = $function.call$1(list[i]);
12176 },
12177 longestCommonSubsequence(list1, list2, select, $T) {
12178 var t1, _length, lengths, t2, t3, _i, selections, i, i0, j, selection, j0;
12179 if (select == null)
12180 select = new A.longestCommonSubsequence_closure($T);
12181 t1 = J.getInterceptor$asx(list1);
12182 _length = t1.get$length(list1) + 1;
12183 lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
12184 for (t2 = J.getInterceptor$asx(list2), t3 = type$.int, _i = 0; _i < _length; ++_i)
12185 lengths[_i] = A.List_List$filled(t2.get$length(list2) + 1, 0, false, t3);
12186 _length = t1.get$length(list1);
12187 selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
12188 for (t3 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
12189 selections[_i] = A.List_List$filled(t2.get$length(list2), null, false, t3);
12190 for (i = 0; i < t1.get$length(list1); i = i0)
12191 for (i0 = i + 1, j = 0; j < t2.get$length(list2); j = j0) {
12192 selection = select.call$2(t1.$index(list1, i), t2.$index(list2, j));
12193 selections[i][j] = selection;
12194 t3 = lengths[i0];
12195 j0 = j + 1;
12196 t3[j0] = selection == null ? Math.max(t3[j], lengths[i][j0]) : lengths[i][j] + 1;
12197 }
12198 return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(t1.get$length(list1) - 1, t2.get$length(list2) - 1);
12199 },
12200 removeFirstWhere(list, test, orElse) {
12201 var i;
12202 for (i = 0; i < list.length; ++i) {
12203 if (!test.call$1(list[i]))
12204 continue;
12205 B.JSArray_methods.removeAt$1(list, i);
12206 return;
12207 }
12208 orElse.call$0();
12209 },
12210 mapAddAll2(destination, source, K1, K2, $V) {
12211 source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
12212 },
12213 setAll(map, keys, value) {
12214 var t1;
12215 for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
12216 map.$indexSet(0, t1.get$current(t1), value);
12217 },
12218 rotateSlice(list, start, end) {
12219 var i, next,
12220 element = list.$index(0, end - 1);
12221 for (i = start; i < end; ++i, element = next) {
12222 next = list.$index(0, i);
12223 list.$indexSet(0, i, element);
12224 }
12225 },
12226 mapAsync(iterable, callback, $E, $F) {
12227 return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
12228 },
12229 mapAsync$body(iterable, callback, $E, $F, $async$type) {
12230 var $async$goto = 0,
12231 $async$completer = A._makeAsyncAwaitCompleter($async$type),
12232 $async$returnValue, t2, _i, t1, $async$temp1;
12233 var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
12234 if ($async$errorCode === 1)
12235 return A._asyncRethrow($async$result, $async$completer);
12236 while (true)
12237 switch ($async$goto) {
12238 case 0:
12239 // Function start
12240 t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
12241 t2 = iterable.length, _i = 0;
12242 case 3:
12243 // for condition
12244 if (!(_i < t2)) {
12245 // goto after for
12246 $async$goto = 5;
12247 break;
12248 }
12249 $async$temp1 = t1;
12250 $async$goto = 6;
12251 return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
12252 case 6:
12253 // returning from await.
12254 $async$temp1.push($async$result);
12255 case 4:
12256 // for update
12257 ++_i;
12258 // goto for condition
12259 $async$goto = 3;
12260 break;
12261 case 5:
12262 // after for
12263 $async$returnValue = t1;
12264 // goto return
12265 $async$goto = 1;
12266 break;
12267 case 1:
12268 // return
12269 return A._asyncReturn($async$returnValue, $async$completer);
12270 }
12271 });
12272 return A._asyncStartSync($async$mapAsync, $async$completer);
12273 },
12274 putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
12275 return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
12276 },
12277 putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
12278 var $async$goto = 0,
12279 $async$completer = A._makeAsyncAwaitCompleter($async$type),
12280 $async$returnValue, value;
12281 var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
12282 if ($async$errorCode === 1)
12283 return A._asyncRethrow($async$result, $async$completer);
12284 while (true)
12285 switch ($async$goto) {
12286 case 0:
12287 // Function start
12288 if (map.containsKey$1(key)) {
12289 $async$returnValue = $V._as(map.$index(0, key));
12290 // goto return
12291 $async$goto = 1;
12292 break;
12293 }
12294 $async$goto = 3;
12295 return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
12296 case 3:
12297 // returning from await.
12298 value = $async$result;
12299 map.$indexSet(0, key, value);
12300 $async$returnValue = value;
12301 // goto return
12302 $async$goto = 1;
12303 break;
12304 case 1:
12305 // return
12306 return A._asyncReturn($async$returnValue, $async$completer);
12307 }
12308 });
12309 return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
12310 },
12311 copyMapOfMap(map, K1, K2, $V) {
12312 var t2, t3, t4, t5,
12313 t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
12314 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
12315 t3 = t2.get$current(t2);
12316 t4 = t3.key;
12317 t3 = t3.value;
12318 t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
12319 t5.addAll$1(0, t3);
12320 t1.$indexSet(0, t4, t5);
12321 }
12322 return t1;
12323 },
12324 copyMapOfList(map, $K, $E) {
12325 var t2, t3,
12326 t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
12327 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
12328 t3 = t2.get$current(t2);
12329 t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
12330 }
12331 return t1;
12332 },
12333 consumeEscapedCharacter(scanner) {
12334 var first, value, i, next, t1;
12335 scanner.expectChar$1(92);
12336 first = scanner.peekChar$0();
12337 if (first == null)
12338 return 65533;
12339 else if (first === 10 || first === 13 || first === 12)
12340 scanner.error$1(0, "Expected escape sequence.");
12341 else if (A.isHex(first)) {
12342 for (value = 0, i = 0; i < 6; ++i) {
12343 next = scanner.peekChar$0();
12344 if (next == null || !A.isHex(next))
12345 break;
12346 value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
12347 }
12348 t1 = scanner.peekChar$0();
12349 if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
12350 scanner.readChar$0();
12351 if (value !== 0)
12352 t1 = value >= 55296 && value <= 57343 || value >= 1114111;
12353 else
12354 t1 = true;
12355 if (t1)
12356 return 65533;
12357 else
12358 return value;
12359 } else
12360 return scanner.readChar$0();
12361 },
12362 throwWithTrace(error, trace) {
12363 A.attachTrace(error, trace);
12364 throw A.wrapException(error);
12365 },
12366 attachTrace(error, trace) {
12367 var t1;
12368 if (trace.toString$0(0).length === 0)
12369 return;
12370 t1 = $.$get$_traces();
12371 A.Expando__checkType(error);
12372 t1 = t1._jsWeakMap;
12373 if (t1.get(error) == null)
12374 t1.set(error, trace);
12375 },
12376 getTrace(error) {
12377 var t1;
12378 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
12379 t1 = null;
12380 else {
12381 t1 = $.$get$_traces();
12382 A.Expando__checkType(error);
12383 t1 = t1._jsWeakMap.get(error);
12384 }
12385 return t1;
12386 },
12387 indent_closure: function indent_closure(t0) {
12388 this.indentation = t0;
12389 },
12390 flattenVertically_closure: function flattenVertically_closure(t0) {
12391 this.T = t0;
12392 },
12393 flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
12394 this.result = t0;
12395 this.T = t1;
12396 },
12397 longestCommonSubsequence_closure: function longestCommonSubsequence_closure(t0) {
12398 this.T = t0;
12399 },
12400 longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
12401 this.selections = t0;
12402 this.lengths = t1;
12403 this.T = t2;
12404 },
12405 mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
12406 var _ = this;
12407 _.destination = t0;
12408 _.K1 = t1;
12409 _.K2 = t2;
12410 _.V = t3;
12411 },
12412 Value: function Value() {
12413 },
12414 SassArgumentList$(contents, keywords, separator) {
12415 var t1 = type$.Value;
12416 t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
12417 t1.SassList$3$brackets(contents, separator, false);
12418 return t1;
12419 },
12420 SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
12421 var _ = this;
12422 _._keywords = t0;
12423 _._wereKeywordsAccessed = false;
12424 _._list$_contents = t1;
12425 _._separator = t2;
12426 _._hasBrackets = t3;
12427 },
12428 SassBoolean: function SassBoolean(t0) {
12429 this.value = t0;
12430 },
12431 SassCalculation_calc(argument) {
12432 argument = A.SassCalculation__simplify(argument);
12433 if (argument instanceof A.SassNumber)
12434 return argument;
12435 if (argument instanceof A.SassCalculation)
12436 return argument;
12437 return new A.SassCalculation("calc", A.List_List$unmodifiable([argument], type$.Object));
12438 },
12439 SassCalculation_min($arguments) {
12440 var minimum, _i, arg, t2,
12441 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
12442 t1 = args.length;
12443 if (t1 === 0)
12444 throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
12445 for (minimum = null, _i = 0; _i < t1; ++_i) {
12446 arg = args[_i];
12447 if (arg instanceof A.SassNumber)
12448 t2 = minimum != null && !minimum.isComparableTo$1(arg);
12449 else
12450 t2 = true;
12451 if (t2) {
12452 minimum = null;
12453 break;
12454 } else if (minimum == null || minimum.greaterThan$1(arg).value)
12455 minimum = arg;
12456 }
12457 if (minimum != null)
12458 return minimum;
12459 A.SassCalculation__verifyCompatibleNumbers(args);
12460 return new A.SassCalculation("min", args);
12461 },
12462 SassCalculation_max($arguments) {
12463 var maximum, _i, arg, t2,
12464 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
12465 t1 = args.length;
12466 if (t1 === 0)
12467 throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
12468 for (maximum = null, _i = 0; _i < t1; ++_i) {
12469 arg = args[_i];
12470 if (arg instanceof A.SassNumber)
12471 t2 = maximum != null && !maximum.isComparableTo$1(arg);
12472 else
12473 t2 = true;
12474 if (t2) {
12475 maximum = null;
12476 break;
12477 } else if (maximum == null || maximum.lessThan$1(arg).value)
12478 maximum = arg;
12479 }
12480 if (maximum != null)
12481 return maximum;
12482 A.SassCalculation__verifyCompatibleNumbers(args);
12483 return new A.SassCalculation("max", args);
12484 },
12485 SassCalculation_clamp(min, value, max) {
12486 var t1, args;
12487 if (value == null && max != null)
12488 throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
12489 min = A.SassCalculation__simplify(min);
12490 value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
12491 max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
12492 if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
12493 if (value.lessThanOrEquals$1(min).value)
12494 return min;
12495 if (value.greaterThanOrEquals$1(max).value)
12496 return max;
12497 return value;
12498 }
12499 t1 = [min];
12500 if (value != null)
12501 t1.push(value);
12502 if (max != null)
12503 t1.push(max);
12504 args = A.List_List$unmodifiable(t1, type$.Object);
12505 A.SassCalculation__verifyCompatibleNumbers(args);
12506 A.SassCalculation__verifyLength(args, 3);
12507 return new A.SassCalculation("clamp", args);
12508 },
12509 SassCalculation_operateInternal(operator, left, right, inMinMax) {
12510 var t1, t2;
12511 left = A.SassCalculation__simplify(left);
12512 right = A.SassCalculation__simplify(right);
12513 t1 = operator === B.CalculationOperator_Iem;
12514 if (t1 || operator === B.CalculationOperator_uti) {
12515 if (left instanceof A.SassNumber)
12516 if (right instanceof A.SassNumber)
12517 t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
12518 else
12519 t2 = false;
12520 else
12521 t2 = false;
12522 if (t2)
12523 return t1 ? left.plus$1(right) : left.minus$1(right);
12524 A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
12525 if (right instanceof A.SassNumber) {
12526 t2 = right._number$_value;
12527 t2 = t2 < 0 && !(Math.abs(t2 - 0) < $.$get$epsilon());
12528 } else
12529 t2 = false;
12530 if (t2) {
12531 right = right.times$1(new A.UnitlessSassNumber(-1, null));
12532 operator = t1 ? B.CalculationOperator_uti : B.CalculationOperator_Iem;
12533 }
12534 return new A.CalculationOperation(operator, left, right);
12535 } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
12536 return operator === B.CalculationOperator_Dih ? left.times$1(right) : left.dividedBy$1(right);
12537 else
12538 return new A.CalculationOperation(operator, left, right);
12539 },
12540 SassCalculation__simplify(arg) {
12541 var _s32_ = " can't be used in a calculation.";
12542 if (arg instanceof A.SassNumber || arg instanceof A.CalculationInterpolation || arg instanceof A.CalculationOperation)
12543 return arg;
12544 else if (arg instanceof A.SassString) {
12545 if (!arg._hasQuotes)
12546 return arg;
12547 throw A.wrapException(A.SassCalculation__exception("Quoted string " + arg.toString$0(0) + _s32_));
12548 } else if (arg instanceof A.SassCalculation)
12549 return arg.name === "calc" ? arg.$arguments[0] : arg;
12550 else if (arg instanceof A.Value)
12551 throw A.wrapException(A.SassCalculation__exception("Value " + arg.toString$0(0) + _s32_));
12552 else
12553 throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
12554 },
12555 SassCalculation__verifyCompatibleNumbers(args) {
12556 var t1, _i, t2, arg, i, number1, j, number2;
12557 for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
12558 arg = args[_i];
12559 if (!(arg instanceof A.SassNumber))
12560 continue;
12561 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
12562 throw A.wrapException(A.SassCalculation__exception("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations."));
12563 }
12564 for (t1 = t2, i = 0; i < t1 - 1; ++i) {
12565 number1 = args[i];
12566 if (!(number1 instanceof A.SassNumber))
12567 continue;
12568 for (j = i + 1; t1 = args.length, j < t1; ++j) {
12569 number2 = args[j];
12570 if (!(number2 instanceof A.SassNumber))
12571 continue;
12572 if (number1.hasPossiblyCompatibleUnits$1(number2))
12573 continue;
12574 throw A.wrapException(A.SassCalculation__exception(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible."));
12575 }
12576 }
12577 },
12578 SassCalculation__verifyLength(args, expectedLength) {
12579 var t1 = args.length;
12580 if (t1 === expectedLength)
12581 return;
12582 if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
12583 return;
12584 throw A.wrapException(A.SassCalculation__exception("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed."));
12585 },
12586 SassCalculation__exception(message) {
12587 return new A.SassScriptException(message);
12588 },
12589 SassCalculation: function SassCalculation(t0, t1) {
12590 this.name = t0;
12591 this.$arguments = t1;
12592 },
12593 SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
12594 },
12595 CalculationOperation: function CalculationOperation(t0, t1, t2) {
12596 this.operator = t0;
12597 this.left = t1;
12598 this.right = t2;
12599 },
12600 CalculationOperator: function CalculationOperator(t0, t1, t2) {
12601 this.name = t0;
12602 this.operator = t1;
12603 this.precedence = t2;
12604 },
12605 CalculationInterpolation: function CalculationInterpolation(t0) {
12606 this.value = t0;
12607 },
12608 SassColor$rgb(_red, _green, _blue, alpha, originalSpan) {
12609 var t1 = new A.SassColor(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), originalSpan);
12610 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
12611 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
12612 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
12613 return t1;
12614 },
12615 SassColor$hsl(hue, saturation, lightness, alpha) {
12616 var _null = null,
12617 t1 = B.JSNumber_methods.$mod(hue, 360),
12618 t2 = A.fuzzyAssertRange(saturation, 0, 100, "saturation"),
12619 t3 = A.fuzzyAssertRange(lightness, 0, 100, "lightness");
12620 return new A.SassColor(_null, _null, _null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), _null);
12621 },
12622 SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
12623 var t2, t1 = {},
12624 scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
12625 scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange(whiteness, 0, 100, "whiteness") / 100,
12626 scaledBlackness = A.fuzzyAssertRange(blackness, 0, 100, "blackness") / 100,
12627 sum = scaledWhiteness + scaledBlackness;
12628 if (sum > 1) {
12629 t2 = t1.scaledWhiteness = scaledWhiteness / sum;
12630 scaledBlackness /= sum;
12631 } else
12632 t2 = scaledWhiteness;
12633 t2 = new A.SassColor_SassColor$hwb_toRgb(t1, 1 - t2 - scaledBlackness);
12634 return A.SassColor$rgb(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha, null);
12635 },
12636 SassColor__hueToRgb(m1, m2, hue) {
12637 if (hue < 0)
12638 ++hue;
12639 if (hue > 1)
12640 --hue;
12641 if (hue < 0.16666666666666666)
12642 return m1 + (m2 - m1) * hue * 6;
12643 else if (hue < 0.5)
12644 return m2;
12645 else if (hue < 0.6666666666666666)
12646 return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
12647 else
12648 return m1;
12649 },
12650 SassColor: function SassColor(t0, t1, t2, t3, t4, t5, t6, t7) {
12651 var _ = this;
12652 _._red = t0;
12653 _._green = t1;
12654 _._blue = t2;
12655 _._hue = t3;
12656 _._saturation = t4;
12657 _._lightness = t5;
12658 _._alpha = t6;
12659 _.originalSpan = t7;
12660 },
12661 SassColor_SassColor$hwb_toRgb: function SassColor_SassColor$hwb_toRgb(t0, t1) {
12662 this._box_0 = t0;
12663 this.factor = t1;
12664 },
12665 SassFunction: function SassFunction(t0) {
12666 this.callable = t0;
12667 },
12668 SassList$(contents, _separator, brackets) {
12669 var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
12670 t1.SassList$3$brackets(contents, _separator, brackets);
12671 return t1;
12672 },
12673 SassList: function SassList(t0, t1, t2) {
12674 this._list$_contents = t0;
12675 this._separator = t1;
12676 this._hasBrackets = t2;
12677 },
12678 SassList_isBlank_closure: function SassList_isBlank_closure() {
12679 },
12680 ListSeparator: function ListSeparator(t0, t1) {
12681 this._list$_name = t0;
12682 this.separator = t1;
12683 },
12684 SassMap: function SassMap(t0) {
12685 this._map$_contents = t0;
12686 },
12687 SassMap_asList_closure: function SassMap_asList_closure(t0) {
12688 this.result = t0;
12689 },
12690 _SassNull: function _SassNull() {
12691 },
12692 conversionFactor(unit1, unit2) {
12693 var innerMap;
12694 if (unit1 === unit2)
12695 return 1;
12696 innerMap = B.Map_K2BWj.$index(0, unit1);
12697 if (innerMap == null)
12698 return null;
12699 return innerMap.$index(0, unit2);
12700 },
12701 SassNumber_SassNumber(value, unit) {
12702 return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
12703 },
12704 SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
12705 var t1, numerators, unsimplifiedDenominators, denominators, _i, denominator, simplifiedAway, i, factor, _null = null;
12706 if (denominatorUnits == null || denominatorUnits.length === 0) {
12707 t1 = numeratorUnits.length;
12708 if (t1 === 0)
12709 return new A.UnitlessSassNumber(value, _null);
12710 else if (t1 === 1)
12711 return new A.SingleUnitSassNumber(numeratorUnits[0], value, _null);
12712 else
12713 return new A.ComplexSassNumber(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
12714 } else {
12715 t1 = numeratorUnits.length;
12716 if (t1 === 0)
12717 return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
12718 else {
12719 numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
12720 unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits)._eval$1("JSArray<1>"));
12721 denominators = A._setArrayType([], type$.JSArray_String);
12722 for (t1 = unsimplifiedDenominators.length, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
12723 denominator = unsimplifiedDenominators[_i];
12724 i = 0;
12725 while (true) {
12726 if (!(i < numerators.length)) {
12727 simplifiedAway = false;
12728 break;
12729 }
12730 c$0: {
12731 factor = A.conversionFactor(denominator, numerators[i]);
12732 if (factor == null)
12733 break c$0;
12734 value *= factor;
12735 B.JSArray_methods.removeAt$1(numerators, i);
12736 simplifiedAway = true;
12737 break;
12738 }
12739 ++i;
12740 }
12741 if (!simplifiedAway)
12742 denominators.push(denominator);
12743 }
12744 if (denominatorUnits.length === 0) {
12745 t1 = numeratorUnits.length;
12746 if (t1 === 0)
12747 return new A.UnitlessSassNumber(value, _null);
12748 else if (t1 === 1)
12749 return new A.SingleUnitSassNumber(B.JSArray_methods.get$single(numeratorUnits), value, _null);
12750 }
12751 t1 = type$.String;
12752 return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), value, _null);
12753 }
12754 }
12755 },
12756 SassNumber: function SassNumber() {
12757 },
12758 SassNumber__coerceOrConvertValue__compatibilityException: function SassNumber__coerceOrConvertValue__compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
12759 var _ = this;
12760 _.$this = t0;
12761 _.other = t1;
12762 _.otherName = t2;
12763 _.otherHasUnits = t3;
12764 _.name = t4;
12765 _.newNumerators = t5;
12766 _.newDenominators = t6;
12767 },
12768 SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
12769 this._box_0 = t0;
12770 this.newNumerator = t1;
12771 },
12772 SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
12773 this._compatibilityException = t0;
12774 },
12775 SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
12776 this._box_0 = t0;
12777 this.newDenominator = t1;
12778 },
12779 SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
12780 this._compatibilityException = t0;
12781 },
12782 SassNumber_plus_closure: function SassNumber_plus_closure() {
12783 },
12784 SassNumber_minus_closure: function SassNumber_minus_closure() {
12785 },
12786 SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
12787 this._box_0 = t0;
12788 this.numerator = t1;
12789 },
12790 SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
12791 this.newNumerators = t0;
12792 this.numerator = t1;
12793 },
12794 SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
12795 this._box_0 = t0;
12796 this.numerator = t1;
12797 },
12798 SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
12799 this.newNumerators = t0;
12800 this.numerator = t1;
12801 },
12802 SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
12803 this.units2 = t0;
12804 },
12805 SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
12806 },
12807 SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
12808 this.$this = t0;
12809 },
12810 ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
12811 var _ = this;
12812 _._numeratorUnits = t0;
12813 _._denominatorUnits = t1;
12814 _._number$_value = t2;
12815 _.hashCache = null;
12816 _.asSlash = t3;
12817 },
12818 SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
12819 var _ = this;
12820 _._unit = t0;
12821 _._number$_value = t1;
12822 _.hashCache = null;
12823 _.asSlash = t2;
12824 },
12825 SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
12826 this.$this = t0;
12827 this.unit = t1;
12828 },
12829 SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
12830 this.$this = t0;
12831 },
12832 SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
12833 this._box_0 = t0;
12834 this.$this = t1;
12835 },
12836 SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
12837 this._box_0 = t0;
12838 this.$this = t1;
12839 },
12840 UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
12841 this._number$_value = t0;
12842 this.hashCache = null;
12843 this.asSlash = t1;
12844 },
12845 SassString$(_text, quotes) {
12846 return new A.SassString(_text, quotes);
12847 },
12848 SassString: function SassString(t0, t1) {
12849 var _ = this;
12850 _._string$_text = t0;
12851 _._hasQuotes = t1;
12852 _.__SassString__sassLength = $;
12853 _._hashCache = null;
12854 },
12855 _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
12856 var t1 = type$.Uri,
12857 t2 = type$.Module_AsyncCallable,
12858 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode),
12859 t4 = logger == null ? B.StderrLogger_false : logger;
12860 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);
12861 t3._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
12862 return t3;
12863 },
12864 _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
12865 var _ = this;
12866 _._async_evaluate$_importCache = t0;
12867 _._async_evaluate$_nodeImporter = t1;
12868 _._async_evaluate$_builtInFunctions = t2;
12869 _._async_evaluate$_builtInModules = t3;
12870 _._async_evaluate$_modules = t4;
12871 _._async_evaluate$_moduleNodes = t5;
12872 _._async_evaluate$_logger = t6;
12873 _._async_evaluate$_warningsEmitted = t7;
12874 _._async_evaluate$_quietDeps = t8;
12875 _._async_evaluate$_sourceMap = t9;
12876 _._async_evaluate$_environment = t10;
12877 _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
12878 _._async_evaluate$_member = "root stylesheet";
12879 _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = null;
12880 _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
12881 _._async_evaluate$_loadedUrls = t11;
12882 _._async_evaluate$_activeModules = t12;
12883 _._async_evaluate$_stack = t13;
12884 _._async_evaluate$_importer = null;
12885 _._async_evaluate$_inDependency = false;
12886 _._async_evaluate$__extensionStore = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
12887 _._async_evaluate$_configuration = t14;
12888 },
12889 _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
12890 this.$this = t0;
12891 },
12892 _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
12893 this.$this = t0;
12894 },
12895 _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
12896 this.$this = t0;
12897 },
12898 _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
12899 this.$this = t0;
12900 },
12901 _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
12902 this.$this = t0;
12903 },
12904 _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
12905 this.$this = t0;
12906 },
12907 _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
12908 this.$this = t0;
12909 },
12910 _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
12911 this.$this = t0;
12912 },
12913 _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0, t1, t2) {
12914 this.$this = t0;
12915 this.name = t1;
12916 this.module = t2;
12917 },
12918 _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
12919 this.$this = t0;
12920 },
12921 _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
12922 this.$this = t0;
12923 },
12924 _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
12925 this.values = t0;
12926 this.span = t1;
12927 this.callableNode = t2;
12928 },
12929 _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0) {
12930 this.$this = t0;
12931 },
12932 _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
12933 this.$this = t0;
12934 this.node = t1;
12935 this.importer = t2;
12936 },
12937 _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
12938 this.callback = t0;
12939 this.builtInModule = t1;
12940 },
12941 _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
12942 var _ = this;
12943 _.$this = t0;
12944 _.url = t1;
12945 _.nodeWithSpan = t2;
12946 _.baseUrl = t3;
12947 _.namesInErrors = t4;
12948 _.configuration = t5;
12949 _.callback = t6;
12950 },
12951 _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1) {
12952 this.$this = t0;
12953 this.message = t1;
12954 },
12955 _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5) {
12956 var _ = this;
12957 _.$this = t0;
12958 _.importer = t1;
12959 _.stylesheet = t2;
12960 _.extensionStore = t3;
12961 _.configuration = t4;
12962 _.css = t5;
12963 },
12964 _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2() {
12965 },
12966 _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3(t0) {
12967 this.selectors = t0;
12968 },
12969 _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4() {
12970 },
12971 _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
12972 this.originalSelectors = t0;
12973 },
12974 _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
12975 },
12976 _EvaluateVisitor__topologicalModules_visitModule0: function _EvaluateVisitor__topologicalModules_visitModule0(t0, t1) {
12977 this.seen = t0;
12978 this.sorted = t1;
12979 },
12980 _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
12981 this.$this = t0;
12982 this.resolved = t1;
12983 },
12984 _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
12985 this.$this = t0;
12986 this.node = t1;
12987 },
12988 _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
12989 this.$this = t0;
12990 this.node = t1;
12991 },
12992 _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
12993 this.$this = t0;
12994 this.newParent = t1;
12995 this.node = t2;
12996 },
12997 _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
12998 this.$this = t0;
12999 this.innerScope = t1;
13000 },
13001 _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
13002 this.$this = t0;
13003 this.innerScope = t1;
13004 },
13005 _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
13006 this.innerScope = t0;
13007 this.callback = t1;
13008 },
13009 _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
13010 this.$this = t0;
13011 this.innerScope = t1;
13012 },
13013 _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
13014 },
13015 _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
13016 this.$this = t0;
13017 this.innerScope = t1;
13018 },
13019 _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
13020 this.$this = t0;
13021 this.content = t1;
13022 },
13023 _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0) {
13024 this.$this = t0;
13025 },
13026 _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
13027 this.$this = t0;
13028 this.children = t1;
13029 },
13030 _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
13031 this.$this = t0;
13032 this.node = t1;
13033 this.nodeWithSpan = t2;
13034 },
13035 _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
13036 this.$this = t0;
13037 this.node = t1;
13038 this.nodeWithSpan = t2;
13039 },
13040 _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
13041 var _ = this;
13042 _.$this = t0;
13043 _.list = t1;
13044 _.setVariables = t2;
13045 _.node = t3;
13046 },
13047 _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
13048 this.$this = t0;
13049 this.setVariables = t1;
13050 this.node = t2;
13051 },
13052 _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
13053 this.$this = t0;
13054 },
13055 _EvaluateVisitor_visitExtendRule_closure0: function _EvaluateVisitor_visitExtendRule_closure0(t0, t1) {
13056 this.$this = t0;
13057 this.targetText = t1;
13058 },
13059 _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
13060 this.$this = t0;
13061 },
13062 _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1) {
13063 this.$this = t0;
13064 this.children = t1;
13065 },
13066 _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
13067 this.$this = t0;
13068 this.children = t1;
13069 },
13070 _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
13071 },
13072 _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
13073 this.$this = t0;
13074 this.node = t1;
13075 },
13076 _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
13077 this.$this = t0;
13078 this.node = t1;
13079 },
13080 _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
13081 this.fromNumber = t0;
13082 },
13083 _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
13084 this.toNumber = t0;
13085 this.fromNumber = t1;
13086 },
13087 _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
13088 var _ = this;
13089 _._box_0 = t0;
13090 _.$this = t1;
13091 _.node = t2;
13092 _.from = t3;
13093 _.direction = t4;
13094 _.fromNumber = t5;
13095 },
13096 _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
13097 this.$this = t0;
13098 },
13099 _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
13100 this.$this = t0;
13101 this.node = t1;
13102 },
13103 _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
13104 this.$this = t0;
13105 this.node = t1;
13106 },
13107 _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0, t1) {
13108 this._box_0 = t0;
13109 this.$this = t1;
13110 },
13111 _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0) {
13112 this.$this = t0;
13113 },
13114 _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
13115 this.$this = t0;
13116 this.$import = t1;
13117 },
13118 _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
13119 this.$this = t0;
13120 },
13121 _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
13122 },
13123 _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
13124 },
13125 _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4, t5) {
13126 var _ = this;
13127 _.$this = t0;
13128 _.result = t1;
13129 _.stylesheet = t2;
13130 _.loadsUserDefinedModules = t3;
13131 _.environment = t4;
13132 _.children = t5;
13133 },
13134 _EvaluateVisitor__visitStaticImport_closure0: function _EvaluateVisitor__visitStaticImport_closure0(t0) {
13135 this.$this = t0;
13136 },
13137 _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0, t1) {
13138 this.$this = t0;
13139 this.node = t1;
13140 },
13141 _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
13142 this.node = t0;
13143 },
13144 _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
13145 this.$this = t0;
13146 },
13147 _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1, t2, t3) {
13148 var _ = this;
13149 _.$this = t0;
13150 _.contentCallable = t1;
13151 _.mixin = t2;
13152 _.nodeWithSpan = t3;
13153 },
13154 _EvaluateVisitor_visitIncludeRule__closure0: function _EvaluateVisitor_visitIncludeRule__closure0(t0, t1, t2) {
13155 this.$this = t0;
13156 this.mixin = t1;
13157 this.nodeWithSpan = t2;
13158 },
13159 _EvaluateVisitor_visitIncludeRule___closure0: function _EvaluateVisitor_visitIncludeRule___closure0(t0, t1, t2) {
13160 this.$this = t0;
13161 this.mixin = t1;
13162 this.nodeWithSpan = t2;
13163 },
13164 _EvaluateVisitor_visitIncludeRule____closure0: function _EvaluateVisitor_visitIncludeRule____closure0(t0, t1) {
13165 this.$this = t0;
13166 this.statement = t1;
13167 },
13168 _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
13169 this.$this = t0;
13170 this.queries = t1;
13171 },
13172 _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3) {
13173 var _ = this;
13174 _.$this = t0;
13175 _.mergedQueries = t1;
13176 _.queries = t2;
13177 _.node = t3;
13178 },
13179 _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
13180 this.$this = t0;
13181 this.node = t1;
13182 },
13183 _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
13184 this.$this = t0;
13185 this.node = t1;
13186 },
13187 _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
13188 this.mergedQueries = t0;
13189 },
13190 _EvaluateVisitor__visitMediaQueries_closure0: function _EvaluateVisitor__visitMediaQueries_closure0(t0, t1) {
13191 this.$this = t0;
13192 this.resolved = t1;
13193 },
13194 _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1) {
13195 this.$this = t0;
13196 this.selectorText = t1;
13197 },
13198 _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7(t0, t1) {
13199 this.$this = t0;
13200 this.node = t1;
13201 },
13202 _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
13203 },
13204 _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9(t0, t1) {
13205 this.$this = t0;
13206 this.selectorText = t1;
13207 },
13208 _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10(t0, t1) {
13209 this._box_0 = t0;
13210 this.$this = t1;
13211 },
13212 _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1, t2) {
13213 this.$this = t0;
13214 this.rule = t1;
13215 this.node = t2;
13216 },
13217 _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
13218 this.$this = t0;
13219 this.node = t1;
13220 },
13221 _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
13222 },
13223 _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
13224 this.$this = t0;
13225 this.node = t1;
13226 },
13227 _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
13228 this.$this = t0;
13229 this.node = t1;
13230 },
13231 _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
13232 },
13233 _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
13234 this.$this = t0;
13235 this.node = t1;
13236 this.override = t2;
13237 },
13238 _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
13239 this.$this = t0;
13240 this.node = t1;
13241 },
13242 _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
13243 this.$this = t0;
13244 this.node = t1;
13245 this.value = t2;
13246 },
13247 _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
13248 this.$this = t0;
13249 this.node = t1;
13250 },
13251 _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
13252 this.$this = t0;
13253 this.node = t1;
13254 },
13255 _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
13256 this.$this = t0;
13257 this.node = t1;
13258 },
13259 _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
13260 this.$this = t0;
13261 },
13262 _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
13263 this.$this = t0;
13264 this.node = t1;
13265 },
13266 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0() {
13267 },
13268 _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
13269 this.$this = t0;
13270 this.node = t1;
13271 },
13272 _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
13273 this.node = t0;
13274 this.operand = t1;
13275 },
13276 _EvaluateVisitor__visitCalculationValue_closure0: function _EvaluateVisitor__visitCalculationValue_closure0(t0, t1, t2) {
13277 this.$this = t0;
13278 this.node = t1;
13279 this.inMinMax = t2;
13280 },
13281 _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
13282 this.$this = t0;
13283 },
13284 _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1) {
13285 this.$this = t0;
13286 this.node = t1;
13287 },
13288 _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1, t2) {
13289 this._box_0 = t0;
13290 this.$this = t1;
13291 this.node = t2;
13292 },
13293 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
13294 this.$this = t0;
13295 this.node = t1;
13296 this.$function = t2;
13297 },
13298 _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
13299 var _ = this;
13300 _.$this = t0;
13301 _.callable = t1;
13302 _.evaluated = t2;
13303 _.nodeWithSpan = t3;
13304 _.run = t4;
13305 _.V = t5;
13306 },
13307 _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
13308 var _ = this;
13309 _.$this = t0;
13310 _.evaluated = t1;
13311 _.callable = t2;
13312 _.nodeWithSpan = t3;
13313 _.run = t4;
13314 _.V = t5;
13315 },
13316 _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
13317 var _ = this;
13318 _.$this = t0;
13319 _.evaluated = t1;
13320 _.callable = t2;
13321 _.nodeWithSpan = t3;
13322 _.run = t4;
13323 _.V = t5;
13324 },
13325 _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
13326 },
13327 _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
13328 this.$this = t0;
13329 this.callable = t1;
13330 },
13331 _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1(t0, t1, t2) {
13332 this.overload = t0;
13333 this.evaluated = t1;
13334 this.namedSet = t2;
13335 },
13336 _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2() {
13337 },
13338 _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
13339 },
13340 _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
13341 this.$this = t0;
13342 this.restNodeForSpan = t1;
13343 },
13344 _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
13345 var _ = this;
13346 _.$this = t0;
13347 _.named = t1;
13348 _.restNodeForSpan = t2;
13349 _.namedNodes = t3;
13350 },
13351 _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
13352 },
13353 _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
13354 this.restArgs = t0;
13355 },
13356 _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
13357 this.$this = t0;
13358 this.restNodeForSpan = t1;
13359 this.restArgs = t2;
13360 },
13361 _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
13362 var _ = this;
13363 _.$this = t0;
13364 _.named = t1;
13365 _.restNodeForSpan = t2;
13366 _.restArgs = t3;
13367 },
13368 _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
13369 this.$this = t0;
13370 this.keywordRestNodeForSpan = t1;
13371 this.keywordRestArgs = t2;
13372 },
13373 _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
13374 var _ = this;
13375 _.$this = t0;
13376 _.values = t1;
13377 _.convert = t2;
13378 _.expressionNode = t3;
13379 _.map = t4;
13380 _.nodeWithSpan = t5;
13381 },
13382 _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
13383 this.$arguments = t0;
13384 this.positional = t1;
13385 this.named = t2;
13386 },
13387 _EvaluateVisitor_visitStringExpression_closure0: function _EvaluateVisitor_visitStringExpression_closure0(t0) {
13388 this.$this = t0;
13389 },
13390 _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
13391 this.$this = t0;
13392 this.node = t1;
13393 },
13394 _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
13395 },
13396 _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
13397 this.$this = t0;
13398 this.node = t1;
13399 },
13400 _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
13401 },
13402 _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
13403 this.$this = t0;
13404 this.node = t1;
13405 },
13406 _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2) {
13407 this.$this = t0;
13408 this.mergedQueries = t1;
13409 this.node = t2;
13410 },
13411 _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
13412 this.$this = t0;
13413 this.node = t1;
13414 },
13415 _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
13416 this.$this = t0;
13417 this.node = t1;
13418 },
13419 _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
13420 this.mergedQueries = t0;
13421 },
13422 _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1(t0, t1, t2) {
13423 this.$this = t0;
13424 this.rule = t1;
13425 this.node = t2;
13426 },
13427 _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
13428 this.$this = t0;
13429 this.node = t1;
13430 },
13431 _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2() {
13432 },
13433 _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
13434 this.$this = t0;
13435 this.node = t1;
13436 },
13437 _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
13438 this.$this = t0;
13439 this.node = t1;
13440 },
13441 _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
13442 },
13443 _EvaluateVisitor__performInterpolation_closure0: function _EvaluateVisitor__performInterpolation_closure0(t0, t1, t2) {
13444 this.$this = t0;
13445 this.warnForColor = t1;
13446 this.interpolation = t2;
13447 },
13448 _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
13449 this.value = t0;
13450 this.quote = t1;
13451 },
13452 _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
13453 this.$this = t0;
13454 this.expression = t1;
13455 },
13456 _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
13457 },
13458 _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
13459 this.$this = t0;
13460 },
13461 _EvaluateVisitor__stackTrace_closure0: function _EvaluateVisitor__stackTrace_closure0(t0) {
13462 this.$this = t0;
13463 },
13464 _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
13465 this._async_evaluate$_visitor = t0;
13466 },
13467 _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
13468 },
13469 _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
13470 this.hasBeenMerged = t0;
13471 },
13472 _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
13473 },
13474 _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
13475 },
13476 EvaluateResult: function EvaluateResult(t0) {
13477 this.stylesheet = t0;
13478 },
13479 _EvaluationContext0: function _EvaluationContext0(t0, t1) {
13480 this._async_evaluate$_visitor = t0;
13481 this._async_evaluate$_defaultWarnNodeWithSpan = t1;
13482 },
13483 _ArgumentResults0: function _ArgumentResults0(t0, t1, t2, t3, t4) {
13484 var _ = this;
13485 _.positional = t0;
13486 _.positionalNodes = t1;
13487 _.named = t2;
13488 _.namedNodes = t3;
13489 _.separator = t4;
13490 },
13491 _LoadedStylesheet0: function _LoadedStylesheet0(t0, t1, t2) {
13492 this.stylesheet = t0;
13493 this.importer = t1;
13494 this.isDependency = t2;
13495 },
13496 cloneCssStylesheet(stylesheet, extensionStore) {
13497 var result = extensionStore.clone$0();
13498 return new A.Tuple2(new A._CloneCssVisitor(result.item2)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), result.item1, type$.Tuple2_ModifiableCssStylesheet_ExtensionStore);
13499 },
13500 _CloneCssVisitor: function _CloneCssVisitor(t0) {
13501 this._oldToNewSelectors = t0;
13502 },
13503 _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
13504 var t1 = type$.Uri,
13505 t2 = type$.Module_Callable,
13506 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode),
13507 t4 = logger == null ? B.StderrLogger_false : logger;
13508 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);
13509 t3._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
13510 return t3;
13511 },
13512 Evaluator: function Evaluator(t0, t1) {
13513 this._visitor = t0;
13514 this._importer = t1;
13515 },
13516 _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
13517 var _ = this;
13518 _._evaluate$_importCache = t0;
13519 _._nodeImporter = t1;
13520 _._builtInFunctions = t2;
13521 _._builtInModules = t3;
13522 _._modules = t4;
13523 _._moduleNodes = t5;
13524 _._evaluate$_logger = t6;
13525 _._warningsEmitted = t7;
13526 _._quietDeps = t8;
13527 _._sourceMap = t9;
13528 _._environment = t10;
13529 _._declarationName = _.__parent = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
13530 _._member = "root stylesheet";
13531 _._importSpan = _._callableNode = null;
13532 _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
13533 _._loadedUrls = t11;
13534 _._activeModules = t12;
13535 _._stack = t13;
13536 _._importer = null;
13537 _._inDependency = false;
13538 _.__extensionStore = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
13539 _._configuration = t14;
13540 },
13541 _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
13542 this.$this = t0;
13543 },
13544 _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
13545 this.$this = t0;
13546 },
13547 _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
13548 this.$this = t0;
13549 },
13550 _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
13551 this.$this = t0;
13552 },
13553 _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
13554 this.$this = t0;
13555 },
13556 _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
13557 this.$this = t0;
13558 },
13559 _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
13560 this.$this = t0;
13561 },
13562 _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
13563 this.$this = t0;
13564 },
13565 _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
13566 this.$this = t0;
13567 this.name = t1;
13568 this.module = t2;
13569 },
13570 _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
13571 this.$this = t0;
13572 },
13573 _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
13574 this.$this = t0;
13575 },
13576 _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
13577 this.values = t0;
13578 this.span = t1;
13579 this.callableNode = t2;
13580 },
13581 _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
13582 this.$this = t0;
13583 },
13584 _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
13585 this.$this = t0;
13586 this.node = t1;
13587 this.importer = t2;
13588 },
13589 _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
13590 this.$this = t0;
13591 this.importer = t1;
13592 this.expression = t2;
13593 },
13594 _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
13595 this.$this = t0;
13596 this.expression = t1;
13597 },
13598 _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
13599 this.$this = t0;
13600 this.importer = t1;
13601 this.statement = t2;
13602 },
13603 _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
13604 this.$this = t0;
13605 this.statement = t1;
13606 },
13607 _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
13608 this.callback = t0;
13609 this.builtInModule = t1;
13610 },
13611 _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
13612 var _ = this;
13613 _.$this = t0;
13614 _.url = t1;
13615 _.nodeWithSpan = t2;
13616 _.baseUrl = t3;
13617 _.namesInErrors = t4;
13618 _.configuration = t5;
13619 _.callback = t6;
13620 },
13621 _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
13622 this.$this = t0;
13623 this.message = t1;
13624 },
13625 _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5) {
13626 var _ = this;
13627 _.$this = t0;
13628 _.importer = t1;
13629 _.stylesheet = t2;
13630 _.extensionStore = t3;
13631 _.configuration = t4;
13632 _.css = t5;
13633 },
13634 _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
13635 },
13636 _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
13637 this.selectors = t0;
13638 },
13639 _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
13640 },
13641 _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
13642 this.originalSelectors = t0;
13643 },
13644 _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
13645 },
13646 _EvaluateVisitor__topologicalModules_visitModule: function _EvaluateVisitor__topologicalModules_visitModule(t0, t1) {
13647 this.seen = t0;
13648 this.sorted = t1;
13649 },
13650 _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
13651 this.$this = t0;
13652 this.resolved = t1;
13653 },
13654 _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
13655 this.$this = t0;
13656 this.node = t1;
13657 },
13658 _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
13659 this.$this = t0;
13660 this.node = t1;
13661 },
13662 _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
13663 this.$this = t0;
13664 this.newParent = t1;
13665 this.node = t2;
13666 },
13667 _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
13668 this.$this = t0;
13669 this.innerScope = t1;
13670 },
13671 _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
13672 this.$this = t0;
13673 this.innerScope = t1;
13674 },
13675 _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
13676 this.innerScope = t0;
13677 this.callback = t1;
13678 },
13679 _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
13680 this.$this = t0;
13681 this.innerScope = t1;
13682 },
13683 _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
13684 },
13685 _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
13686 this.$this = t0;
13687 this.innerScope = t1;
13688 },
13689 _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
13690 this.$this = t0;
13691 this.content = t1;
13692 },
13693 _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0) {
13694 this.$this = t0;
13695 },
13696 _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
13697 this.$this = t0;
13698 this.children = t1;
13699 },
13700 _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
13701 this.$this = t0;
13702 this.node = t1;
13703 this.nodeWithSpan = t2;
13704 },
13705 _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
13706 this.$this = t0;
13707 this.node = t1;
13708 this.nodeWithSpan = t2;
13709 },
13710 _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
13711 var _ = this;
13712 _.$this = t0;
13713 _.list = t1;
13714 _.setVariables = t2;
13715 _.node = t3;
13716 },
13717 _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
13718 this.$this = t0;
13719 this.setVariables = t1;
13720 this.node = t2;
13721 },
13722 _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
13723 this.$this = t0;
13724 },
13725 _EvaluateVisitor_visitExtendRule_closure: function _EvaluateVisitor_visitExtendRule_closure(t0, t1) {
13726 this.$this = t0;
13727 this.targetText = t1;
13728 },
13729 _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
13730 this.$this = t0;
13731 },
13732 _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1) {
13733 this.$this = t0;
13734 this.children = t1;
13735 },
13736 _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
13737 this.$this = t0;
13738 this.children = t1;
13739 },
13740 _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
13741 },
13742 _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
13743 this.$this = t0;
13744 this.node = t1;
13745 },
13746 _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
13747 this.$this = t0;
13748 this.node = t1;
13749 },
13750 _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
13751 this.fromNumber = t0;
13752 },
13753 _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
13754 this.toNumber = t0;
13755 this.fromNumber = t1;
13756 },
13757 _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
13758 var _ = this;
13759 _._box_0 = t0;
13760 _.$this = t1;
13761 _.node = t2;
13762 _.from = t3;
13763 _.direction = t4;
13764 _.fromNumber = t5;
13765 },
13766 _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
13767 this.$this = t0;
13768 },
13769 _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
13770 this.$this = t0;
13771 this.node = t1;
13772 },
13773 _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
13774 this.$this = t0;
13775 this.node = t1;
13776 },
13777 _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0, t1) {
13778 this._box_0 = t0;
13779 this.$this = t1;
13780 },
13781 _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0) {
13782 this.$this = t0;
13783 },
13784 _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
13785 this.$this = t0;
13786 this.$import = t1;
13787 },
13788 _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
13789 this.$this = t0;
13790 },
13791 _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
13792 },
13793 _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
13794 },
13795 _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4, t5) {
13796 var _ = this;
13797 _.$this = t0;
13798 _.result = t1;
13799 _.stylesheet = t2;
13800 _.loadsUserDefinedModules = t3;
13801 _.environment = t4;
13802 _.children = t5;
13803 },
13804 _EvaluateVisitor__visitStaticImport_closure: function _EvaluateVisitor__visitStaticImport_closure(t0) {
13805 this.$this = t0;
13806 },
13807 _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
13808 this.$this = t0;
13809 this.node = t1;
13810 },
13811 _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
13812 this.node = t0;
13813 },
13814 _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0) {
13815 this.$this = t0;
13816 },
13817 _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0, t1, t2, t3) {
13818 var _ = this;
13819 _.$this = t0;
13820 _.contentCallable = t1;
13821 _.mixin = t2;
13822 _.nodeWithSpan = t3;
13823 },
13824 _EvaluateVisitor_visitIncludeRule__closure: function _EvaluateVisitor_visitIncludeRule__closure(t0, t1, t2) {
13825 this.$this = t0;
13826 this.mixin = t1;
13827 this.nodeWithSpan = t2;
13828 },
13829 _EvaluateVisitor_visitIncludeRule___closure: function _EvaluateVisitor_visitIncludeRule___closure(t0, t1, t2) {
13830 this.$this = t0;
13831 this.mixin = t1;
13832 this.nodeWithSpan = t2;
13833 },
13834 _EvaluateVisitor_visitIncludeRule____closure: function _EvaluateVisitor_visitIncludeRule____closure(t0, t1) {
13835 this.$this = t0;
13836 this.statement = t1;
13837 },
13838 _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
13839 this.$this = t0;
13840 this.queries = t1;
13841 },
13842 _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3) {
13843 var _ = this;
13844 _.$this = t0;
13845 _.mergedQueries = t1;
13846 _.queries = t2;
13847 _.node = t3;
13848 },
13849 _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
13850 this.$this = t0;
13851 this.node = t1;
13852 },
13853 _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
13854 this.$this = t0;
13855 this.node = t1;
13856 },
13857 _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
13858 this.mergedQueries = t0;
13859 },
13860 _EvaluateVisitor__visitMediaQueries_closure: function _EvaluateVisitor__visitMediaQueries_closure(t0, t1) {
13861 this.$this = t0;
13862 this.resolved = t1;
13863 },
13864 _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
13865 this.$this = t0;
13866 this.selectorText = t1;
13867 },
13868 _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0(t0, t1) {
13869 this.$this = t0;
13870 this.node = t1;
13871 },
13872 _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1() {
13873 },
13874 _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2(t0, t1) {
13875 this.$this = t0;
13876 this.selectorText = t1;
13877 },
13878 _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3(t0, t1) {
13879 this._box_0 = t0;
13880 this.$this = t1;
13881 },
13882 _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4(t0, t1, t2) {
13883 this.$this = t0;
13884 this.rule = t1;
13885 this.node = t2;
13886 },
13887 _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
13888 this.$this = t0;
13889 this.node = t1;
13890 },
13891 _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
13892 },
13893 _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
13894 this.$this = t0;
13895 this.node = t1;
13896 },
13897 _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
13898 this.$this = t0;
13899 this.node = t1;
13900 },
13901 _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
13902 },
13903 _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
13904 this.$this = t0;
13905 this.node = t1;
13906 this.override = t2;
13907 },
13908 _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
13909 this.$this = t0;
13910 this.node = t1;
13911 },
13912 _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
13913 this.$this = t0;
13914 this.node = t1;
13915 this.value = t2;
13916 },
13917 _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
13918 this.$this = t0;
13919 this.node = t1;
13920 },
13921 _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
13922 this.$this = t0;
13923 this.node = t1;
13924 },
13925 _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
13926 this.$this = t0;
13927 this.node = t1;
13928 },
13929 _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
13930 this.$this = t0;
13931 },
13932 _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
13933 this.$this = t0;
13934 this.node = t1;
13935 },
13936 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation() {
13937 },
13938 _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
13939 this.$this = t0;
13940 this.node = t1;
13941 },
13942 _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
13943 this.node = t0;
13944 this.operand = t1;
13945 },
13946 _EvaluateVisitor__visitCalculationValue_closure: function _EvaluateVisitor__visitCalculationValue_closure(t0, t1, t2) {
13947 this.$this = t0;
13948 this.node = t1;
13949 this.inMinMax = t2;
13950 },
13951 _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
13952 this.$this = t0;
13953 },
13954 _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
13955 this.$this = t0;
13956 this.node = t1;
13957 },
13958 _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0(t0, t1, t2) {
13959 this._box_0 = t0;
13960 this.$this = t1;
13961 this.node = t2;
13962 },
13963 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
13964 this.$this = t0;
13965 this.node = t1;
13966 this.$function = t2;
13967 },
13968 _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
13969 var _ = this;
13970 _.$this = t0;
13971 _.callable = t1;
13972 _.evaluated = t2;
13973 _.nodeWithSpan = t3;
13974 _.run = t4;
13975 _.V = t5;
13976 },
13977 _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
13978 var _ = this;
13979 _.$this = t0;
13980 _.evaluated = t1;
13981 _.callable = t2;
13982 _.nodeWithSpan = t3;
13983 _.run = t4;
13984 _.V = t5;
13985 },
13986 _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
13987 var _ = this;
13988 _.$this = t0;
13989 _.evaluated = t1;
13990 _.callable = t2;
13991 _.nodeWithSpan = t3;
13992 _.run = t4;
13993 _.V = t5;
13994 },
13995 _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
13996 },
13997 _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
13998 this.$this = t0;
13999 this.callable = t1;
14000 },
14001 _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
14002 this.overload = t0;
14003 this.evaluated = t1;
14004 this.namedSet = t2;
14005 },
14006 _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0() {
14007 },
14008 _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
14009 },
14010 _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
14011 this.$this = t0;
14012 this.restNodeForSpan = t1;
14013 },
14014 _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
14015 var _ = this;
14016 _.$this = t0;
14017 _.named = t1;
14018 _.restNodeForSpan = t2;
14019 _.namedNodes = t3;
14020 },
14021 _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
14022 },
14023 _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
14024 this.restArgs = t0;
14025 },
14026 _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
14027 this.$this = t0;
14028 this.restNodeForSpan = t1;
14029 this.restArgs = t2;
14030 },
14031 _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
14032 var _ = this;
14033 _.$this = t0;
14034 _.named = t1;
14035 _.restNodeForSpan = t2;
14036 _.restArgs = t3;
14037 },
14038 _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
14039 this.$this = t0;
14040 this.keywordRestNodeForSpan = t1;
14041 this.keywordRestArgs = t2;
14042 },
14043 _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
14044 var _ = this;
14045 _.$this = t0;
14046 _.values = t1;
14047 _.convert = t2;
14048 _.expressionNode = t3;
14049 _.map = t4;
14050 _.nodeWithSpan = t5;
14051 },
14052 _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
14053 this.$arguments = t0;
14054 this.positional = t1;
14055 this.named = t2;
14056 },
14057 _EvaluateVisitor_visitStringExpression_closure: function _EvaluateVisitor_visitStringExpression_closure(t0) {
14058 this.$this = t0;
14059 },
14060 _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
14061 this.$this = t0;
14062 this.node = t1;
14063 },
14064 _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
14065 },
14066 _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
14067 this.$this = t0;
14068 this.node = t1;
14069 },
14070 _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
14071 },
14072 _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
14073 this.$this = t0;
14074 this.node = t1;
14075 },
14076 _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2) {
14077 this.$this = t0;
14078 this.mergedQueries = t1;
14079 this.node = t2;
14080 },
14081 _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
14082 this.$this = t0;
14083 this.node = t1;
14084 },
14085 _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
14086 this.$this = t0;
14087 this.node = t1;
14088 },
14089 _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
14090 this.mergedQueries = t0;
14091 },
14092 _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure(t0, t1, t2) {
14093 this.$this = t0;
14094 this.rule = t1;
14095 this.node = t2;
14096 },
14097 _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
14098 this.$this = t0;
14099 this.node = t1;
14100 },
14101 _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0() {
14102 },
14103 _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
14104 this.$this = t0;
14105 this.node = t1;
14106 },
14107 _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
14108 this.$this = t0;
14109 this.node = t1;
14110 },
14111 _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
14112 },
14113 _EvaluateVisitor__performInterpolation_closure: function _EvaluateVisitor__performInterpolation_closure(t0, t1, t2) {
14114 this.$this = t0;
14115 this.warnForColor = t1;
14116 this.interpolation = t2;
14117 },
14118 _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
14119 this.value = t0;
14120 this.quote = t1;
14121 },
14122 _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
14123 this.$this = t0;
14124 this.expression = t1;
14125 },
14126 _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
14127 },
14128 _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
14129 this.$this = t0;
14130 },
14131 _EvaluateVisitor__stackTrace_closure: function _EvaluateVisitor__stackTrace_closure(t0) {
14132 this.$this = t0;
14133 },
14134 _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
14135 this._visitor = t0;
14136 },
14137 _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
14138 },
14139 _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
14140 this.hasBeenMerged = t0;
14141 },
14142 _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
14143 },
14144 _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
14145 },
14146 _EvaluationContext: function _EvaluationContext(t0, t1) {
14147 this._visitor = t0;
14148 this._defaultWarnNodeWithSpan = t1;
14149 },
14150 _ArgumentResults: function _ArgumentResults(t0, t1, t2, t3, t4) {
14151 var _ = this;
14152 _.positional = t0;
14153 _.positionalNodes = t1;
14154 _.named = t2;
14155 _.namedNodes = t3;
14156 _.separator = t4;
14157 },
14158 _LoadedStylesheet: function _LoadedStylesheet(t0, t1, t2) {
14159 this.stylesheet = t0;
14160 this.importer = t1;
14161 this.isDependency = t2;
14162 },
14163 _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1) {
14164 this._usesAndForwards = t0;
14165 this._imports = t1;
14166 },
14167 RecursiveStatementVisitor: function RecursiveStatementVisitor() {
14168 },
14169 serialize(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
14170 var t1, css, t2, prefix,
14171 visitor = A._SerializeVisitor$(2, inspect, lineFeed, true, sourceMap, style, true);
14172 node.accept$1(visitor);
14173 t1 = visitor._serialize$_buffer;
14174 css = t1.toString$0(0);
14175 if (charset) {
14176 t2 = new A.CodeUnits(css);
14177 t2 = t2.any$1(t2, new A.serialize_closure());
14178 } else
14179 t2 = false;
14180 if (t2)
14181 prefix = style === B.OutputStyle_compressed ? "\ufeff" : '@charset "UTF-8";\n';
14182 else
14183 prefix = "";
14184 t2 = prefix + css;
14185 return new A.SerializeResult(t2, sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null);
14186 },
14187 serializeValue(value, inspect, quote) {
14188 var visitor = A._SerializeVisitor$(null, inspect, null, quote, false, null, true);
14189 value.accept$1(visitor);
14190 return visitor._serialize$_buffer.toString$0(0);
14191 },
14192 serializeSelector(selector, inspect) {
14193 var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
14194 selector.accept$1(visitor);
14195 return visitor._serialize$_buffer.toString$0(0);
14196 },
14197 _SerializeVisitor$(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
14198 var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
14199 t2 = style == null ? B.OutputStyle_expanded : style,
14200 t3 = indentWidth == null ? 2 : indentWidth;
14201 A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
14202 return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.C_LineFeed);
14203 },
14204 serialize_closure: function serialize_closure() {
14205 },
14206 _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6) {
14207 var _ = this;
14208 _._serialize$_buffer = t0;
14209 _._indentation = 0;
14210 _._style = t1;
14211 _._inspect = t2;
14212 _._quote = t3;
14213 _._indentCharacter = t4;
14214 _._indentWidth = t5;
14215 _._serialize$_lineFeed = t6;
14216 },
14217 _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
14218 this.$this = t0;
14219 this.node = t1;
14220 },
14221 _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
14222 this.$this = t0;
14223 this.node = t1;
14224 },
14225 _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
14226 this.$this = t0;
14227 this.node = t1;
14228 },
14229 _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
14230 this.$this = t0;
14231 this.node = t1;
14232 },
14233 _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
14234 this.$this = t0;
14235 this.node = t1;
14236 },
14237 _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
14238 this.$this = t0;
14239 this.node = t1;
14240 },
14241 _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
14242 this.$this = t0;
14243 this.node = t1;
14244 },
14245 _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
14246 this.$this = t0;
14247 this.node = t1;
14248 },
14249 _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
14250 this.$this = t0;
14251 this.node = t1;
14252 },
14253 _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
14254 this.$this = t0;
14255 this.node = t1;
14256 },
14257 _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
14258 },
14259 _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
14260 this.$this = t0;
14261 this.value = t1;
14262 },
14263 _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
14264 this.$this = t0;
14265 },
14266 _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
14267 this.$this = t0;
14268 },
14269 _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
14270 },
14271 _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
14272 this.$this = t0;
14273 this.value = t1;
14274 },
14275 _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1, t2) {
14276 this._box_0 = t0;
14277 this.$this = t1;
14278 this.children = t2;
14279 },
14280 OutputStyle: function OutputStyle(t0) {
14281 this._name = t0;
14282 },
14283 LineFeed: function LineFeed() {
14284 },
14285 SerializeResult: function SerializeResult(t0, t1) {
14286 this.css = t0;
14287 this.sourceMap = t1;
14288 },
14289 _IterableExtension__search(_this, callback) {
14290 var t1, value;
14291 for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
14292 value = callback.call$1(t1.get$current(t1));
14293 if (value != null)
14294 return value;
14295 }
14296 },
14297 StatementSearchVisitor: function StatementSearchVisitor() {
14298 },
14299 StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
14300 this.$this = t0;
14301 },
14302 StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
14303 this.$this = t0;
14304 },
14305 StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
14306 this.$this = t0;
14307 },
14308 StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
14309 this.$this = t0;
14310 },
14311 StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
14312 this.$this = t0;
14313 },
14314 Entry: function Entry(t0, t1, t2) {
14315 this.source = t0;
14316 this.target = t1;
14317 this.identifierName = t2;
14318 },
14319 SingleMapping_SingleMapping$fromEntries(entries) {
14320 var lines, t1, t2, urls, names, files, targetEntries, t3, t4, lineNum, _i, sourceEntry, t5, t6, sourceUrl, t7, urlId,
14321 sourceEntries = J.toList$0$ax(entries);
14322 B.JSArray_methods.sort$0(sourceEntries);
14323 lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
14324 t1 = type$.String;
14325 t2 = type$.int;
14326 urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
14327 names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
14328 files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
14329 targetEntries = A._Cell$();
14330 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) {
14331 sourceEntry = sourceEntries[_i];
14332 if (lineNum == null || sourceEntry.target.line > lineNum) {
14333 lineNum = sourceEntry.target.line;
14334 t5 = A._setArrayType([], t3);
14335 targetEntries._value = t5;
14336 lines.push(new A.TargetLineEntry(lineNum, t5));
14337 }
14338 t5 = sourceEntry.source;
14339 t6 = t5.file;
14340 sourceUrl = t6.url;
14341 t7 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
14342 urlId = urls.putIfAbsent$2(t7, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
14343 files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
14344 t7 = targetEntries._value;
14345 if (t7 === targetEntries)
14346 A.throwExpression(A.LateError$localNI(t4));
14347 t5 = t5.offset;
14348 J.add$1$ax(t7, new A.TargetEntry(sourceEntry.target.column, urlId, t6.getLine$1(t5), t6.getColumn$1(t5), null));
14349 }
14350 t2 = urls.get$values(urls).map$1$1(0, new A.SingleMapping_SingleMapping$fromEntries_closure1(files), type$.nullable_SourceFile).toList$0(0);
14351 t3 = urls.get$keys(urls).toList$0(0);
14352 t4 = names.get$keys(names);
14353 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));
14354 },
14355 Mapping: function Mapping() {
14356 },
14357 SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
14358 var _ = this;
14359 _.urls = t0;
14360 _.names = t1;
14361 _.files = t2;
14362 _.lines = t3;
14363 _.targetUrl = t4;
14364 _.sourceRoot = null;
14365 _.extensions = t5;
14366 },
14367 SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
14368 this.urls = t0;
14369 },
14370 SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
14371 this.sourceEntry = t0;
14372 },
14373 SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
14374 this.files = t0;
14375 },
14376 SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
14377 },
14378 SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
14379 this.result = t0;
14380 },
14381 TargetLineEntry: function TargetLineEntry(t0, t1) {
14382 this.line = t0;
14383 this.entries = t1;
14384 },
14385 TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
14386 var _ = this;
14387 _.column = t0;
14388 _.sourceUrlId = t1;
14389 _.sourceLine = t2;
14390 _.sourceColumn = t3;
14391 _.sourceNameId = t4;
14392 },
14393 SourceFile$fromString(text, url) {
14394 var t1 = new A.CodeUnits(text),
14395 t2 = A._setArrayType([0], type$.JSArray_int),
14396 t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
14397 t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
14398 t2.SourceFile$decoded$2$url(t1, url);
14399 return t2;
14400 },
14401 SourceFile$decoded(decodedChars, url) {
14402 var t1 = A._setArrayType([0], type$.JSArray_int),
14403 t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
14404 t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
14405 t1.SourceFile$decoded$2$url(decodedChars, url);
14406 return t1;
14407 },
14408 FileLocation$_(file, offset) {
14409 if (offset < 0)
14410 A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
14411 else if (offset > file._decodedChars.length)
14412 A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(file) + "."));
14413 return new A.FileLocation(file, offset);
14414 },
14415 _FileSpan$(file, _start, _end) {
14416 if (_end < _start)
14417 A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
14418 else if (_end > file._decodedChars.length)
14419 A.throwExpression(A.RangeError$("End " + _end + string$.x20must_ + file.get$length(file) + "."));
14420 else if (_start < 0)
14421 A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
14422 return new A._FileSpan(file, _start, _end);
14423 },
14424 FileSpanExtension_subspan(_this, start, end) {
14425 var startOffset,
14426 t1 = _this._end,
14427 t2 = _this._file$_start,
14428 t3 = t1 - t2;
14429 A.RangeError_checkValidRange(start, end, t3);
14430 if (start === 0)
14431 t3 = end == null || end === t3;
14432 else
14433 t3 = false;
14434 if (t3)
14435 return _this;
14436 t3 = _this.file;
14437 startOffset = A.FileLocation$_(t3, t2).offset;
14438 t1 = end == null ? A.FileLocation$_(t3, t1).offset : startOffset + end;
14439 return t3.span$2(0, startOffset + start, t1);
14440 },
14441 SourceFile: function SourceFile(t0, t1, t2) {
14442 var _ = this;
14443 _.url = t0;
14444 _._lineStarts = t1;
14445 _._decodedChars = t2;
14446 _._cachedLine = null;
14447 },
14448 FileLocation: function FileLocation(t0, t1) {
14449 this.file = t0;
14450 this.offset = t1;
14451 },
14452 _FileSpan: function _FileSpan(t0, t1, t2) {
14453 this.file = t0;
14454 this._file$_start = t1;
14455 this._end = t2;
14456 },
14457 Highlighter$(span, color) {
14458 var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
14459 t2 = new A.Highlighter_closure(color).call$0(),
14460 t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
14461 t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
14462 t5 = A._arrayInstanceType(t1);
14463 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(""));
14464 },
14465 Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
14466 var t2, t3, t4, t5, t6,
14467 t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
14468 for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
14469 t3 = t2.get$current(t2);
14470 t1.push(A._Highlight$(t3.key, t3.value, false));
14471 }
14472 t1 = A.Highlighter__collateLines(t1);
14473 if (color)
14474 t2 = "\x1b[31m";
14475 else
14476 t2 = null;
14477 if (color)
14478 t3 = "\x1b[34m";
14479 else
14480 t3 = null;
14481 t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
14482 t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
14483 t6 = A._arrayInstanceType(t1);
14484 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(""));
14485 },
14486 Highlighter__contiguous(lines) {
14487 var i, thisLine, nextLine;
14488 for (i = 0; i < lines.length - 1;) {
14489 thisLine = lines[i];
14490 ++i;
14491 nextLine = lines[i];
14492 if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
14493 return false;
14494 }
14495 return true;
14496 },
14497 Highlighter__collateLines(highlights) {
14498 var t1, t2,
14499 highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.nullable_Uri);
14500 for (t1 = highlightsByUrl.get$values(highlightsByUrl), t1 = t1.get$iterator(t1); t1.moveNext$0();)
14501 J.sort$1$ax(t1.get$current(t1), new A.Highlighter__collateLines_closure0());
14502 t1 = highlightsByUrl.get$values(highlightsByUrl);
14503 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
14504 return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
14505 },
14506 _Highlight$(span, label, primary) {
14507 return new A._Highlight(new A._Highlight_closure(span).call$0(), primary, label);
14508 },
14509 _Highlight__normalizeNewlines(span) {
14510 var endOffset, t1, i, t2, t3, t4,
14511 text = span.get$text();
14512 if (!B.JSString_methods.contains$1(text, "\r\n"))
14513 return span;
14514 endOffset = span.get$end(span).get$offset();
14515 for (t1 = text.length - 1, i = 0; i < t1; ++i)
14516 if (B.JSString_methods._codeUnitAt$1(text, i) === 13 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 10)
14517 --endOffset;
14518 t1 = span.get$start(span);
14519 t2 = span.get$sourceUrl(span);
14520 t3 = span.get$end(span).get$line();
14521 t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
14522 t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
14523 t4 = span.get$context(span);
14524 return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
14525 },
14526 _Highlight__normalizeTrailingNewline(span) {
14527 var context, text, start, end, t1, t2, t3;
14528 if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
14529 return span;
14530 if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
14531 return span;
14532 context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
14533 text = span.get$text();
14534 start = span.get$start(span);
14535 end = span.get$end(span);
14536 if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
14537 t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
14538 t1.toString;
14539 t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
14540 } else
14541 t1 = false;
14542 if (t1) {
14543 text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
14544 if (text.length === 0)
14545 end = start;
14546 else {
14547 t1 = span.get$end(span).get$offset();
14548 t2 = span.get$sourceUrl(span);
14549 t3 = span.get$end(span).get$line();
14550 end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
14551 start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
14552 }
14553 }
14554 return A.SourceSpanWithContext$(start, end, text, context);
14555 },
14556 _Highlight__normalizeEndOfLine(span) {
14557 var text, t1, t2, t3, t4;
14558 if (span.get$end(span).get$column() !== 0)
14559 return span;
14560 if (span.get$end(span).get$line() === span.get$start(span).get$line())
14561 return span;
14562 text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
14563 t1 = span.get$start(span);
14564 t2 = span.get$end(span).get$offset();
14565 t3 = span.get$sourceUrl(span);
14566 t4 = span.get$end(span).get$line();
14567 t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
14568 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));
14569 },
14570 _Highlight__lastLineLength(text) {
14571 var t1 = text.length;
14572 if (t1 === 0)
14573 return 0;
14574 else if (B.JSString_methods.codeUnitAt$1(text, t1 - 1) === 10)
14575 return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
14576 else
14577 return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
14578 },
14579 Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
14580 var _ = this;
14581 _._lines = t0;
14582 _._primaryColor = t1;
14583 _._secondaryColor = t2;
14584 _._paddingBeforeSidebar = t3;
14585 _._maxMultilineSpans = t4;
14586 _._multipleFiles = t5;
14587 _._highlighter$_buffer = t6;
14588 },
14589 Highlighter_closure: function Highlighter_closure(t0) {
14590 this.color = t0;
14591 },
14592 Highlighter$__closure: function Highlighter$__closure() {
14593 },
14594 Highlighter$___closure: function Highlighter$___closure() {
14595 },
14596 Highlighter$__closure0: function Highlighter$__closure0() {
14597 },
14598 Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
14599 },
14600 Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
14601 },
14602 Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
14603 },
14604 Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
14605 this.line = t0;
14606 },
14607 Highlighter_highlight_closure: function Highlighter_highlight_closure() {
14608 },
14609 Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
14610 this.$this = t0;
14611 },
14612 Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
14613 this.$this = t0;
14614 this.startLine = t1;
14615 this.line = t2;
14616 },
14617 Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
14618 this.$this = t0;
14619 this.highlight = t1;
14620 },
14621 Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
14622 this.$this = t0;
14623 },
14624 Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
14625 var _ = this;
14626 _._box_0 = t0;
14627 _.$this = t1;
14628 _.current = t2;
14629 _.startLine = t3;
14630 _.line = t4;
14631 _.highlight = t5;
14632 _.endLine = t6;
14633 },
14634 Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
14635 this._box_0 = t0;
14636 this.$this = t1;
14637 },
14638 Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
14639 this.$this = t0;
14640 this.vertical = t1;
14641 },
14642 Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
14643 var _ = this;
14644 _.$this = t0;
14645 _.text = t1;
14646 _.startColumn = t2;
14647 _.endColumn = t3;
14648 },
14649 Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
14650 this.$this = t0;
14651 this.line = t1;
14652 this.highlight = t2;
14653 },
14654 Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
14655 this.$this = t0;
14656 this.line = t1;
14657 this.highlight = t2;
14658 },
14659 Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
14660 var _ = this;
14661 _.$this = t0;
14662 _.coversWholeLine = t1;
14663 _.line = t2;
14664 _.highlight = t3;
14665 },
14666 Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
14667 this._box_0 = t0;
14668 this.$this = t1;
14669 this.end = t2;
14670 },
14671 _Highlight: function _Highlight(t0, t1, t2) {
14672 this.span = t0;
14673 this.isPrimary = t1;
14674 this.label = t2;
14675 },
14676 _Highlight_closure: function _Highlight_closure(t0) {
14677 this.span = t0;
14678 },
14679 _Line: function _Line(t0, t1, t2, t3) {
14680 var _ = this;
14681 _.text = t0;
14682 _.number = t1;
14683 _.url = t2;
14684 _.highlights = t3;
14685 },
14686 SourceLocation$(offset, column, line, sourceUrl) {
14687 if (offset < 0)
14688 A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
14689 else if (line < 0)
14690 A.throwExpression(A.RangeError$("Line may not be negative, was " + line + "."));
14691 else if (column < 0)
14692 A.throwExpression(A.RangeError$("Column may not be negative, was " + column + "."));
14693 return new A.SourceLocation(sourceUrl, offset, line, column);
14694 },
14695 SourceLocation: function SourceLocation(t0, t1, t2, t3) {
14696 var _ = this;
14697 _.sourceUrl = t0;
14698 _.offset = t1;
14699 _.line = t2;
14700 _.column = t3;
14701 },
14702 SourceLocationMixin: function SourceLocationMixin() {
14703 },
14704 SourceSpanBase: function SourceSpanBase() {
14705 },
14706 SourceSpanException: function SourceSpanException() {
14707 },
14708 SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
14709 this.source = t0;
14710 this._span_exception$_message = t1;
14711 this._span = t2;
14712 },
14713 SourceSpanMixin: function SourceSpanMixin() {
14714 },
14715 SourceSpanWithContext$(start, end, text, _context) {
14716 var t1 = new A.SourceSpanWithContext(_context, start, end, text);
14717 t1.SourceSpanBase$3(start, end, text);
14718 if (!B.JSString_methods.contains$1(_context, text))
14719 A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
14720 if (A.findLineStart(_context, text, start.get$column()) == null)
14721 A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
14722 return t1;
14723 },
14724 SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
14725 var _ = this;
14726 _._context = t0;
14727 _.start = t1;
14728 _.end = t2;
14729 _.text = t3;
14730 },
14731 Chain_Chain$parse(chain) {
14732 var t1, t2,
14733 _s51_ = string$.x3d_____;
14734 if (chain.length === 0)
14735 return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
14736 t1 = $.$get$vmChainGap();
14737 if (B.JSString_methods.contains$1(chain, t1)) {
14738 t1 = B.JSString_methods.split$1(chain, t1);
14739 t2 = A._arrayInstanceType(t1);
14740 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));
14741 }
14742 if (!B.JSString_methods.contains$1(chain, _s51_))
14743 return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
14744 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));
14745 },
14746 Chain: function Chain(t0) {
14747 this.traces = t0;
14748 },
14749 Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
14750 },
14751 Chain_Chain$parse_closure0: function Chain_Chain$parse_closure0() {
14752 },
14753 Chain_Chain$parse_closure1: function Chain_Chain$parse_closure1() {
14754 },
14755 Chain_toTrace_closure: function Chain_toTrace_closure() {
14756 },
14757 Chain_toString_closure0: function Chain_toString_closure0() {
14758 },
14759 Chain_toString__closure0: function Chain_toString__closure0() {
14760 },
14761 Chain_toString_closure: function Chain_toString_closure(t0) {
14762 this.longest = t0;
14763 },
14764 Chain_toString__closure: function Chain_toString__closure(t0) {
14765 this.longest = t0;
14766 },
14767 Frame_Frame$parseVM(frame) {
14768 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
14769 },
14770 Frame_Frame$parseV8(frame) {
14771 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
14772 },
14773 Frame_Frame$_parseFirefoxEval(frame) {
14774 return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
14775 },
14776 Frame_Frame$parseFirefox(frame) {
14777 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
14778 },
14779 Frame_Frame$parseFriendly(frame) {
14780 return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
14781 },
14782 Frame__uriOrPathToUri(uriOrPath) {
14783 if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
14784 return A.Uri_parse(uriOrPath);
14785 else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
14786 return A._Uri__Uri$file(uriOrPath, true);
14787 else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
14788 return A._Uri__Uri$file(uriOrPath, false);
14789 if (B.JSString_methods.contains$1(uriOrPath, "\\"))
14790 return $.$get$windows().toUri$1(uriOrPath);
14791 return A.Uri_parse(uriOrPath);
14792 },
14793 Frame__catchFormatException(text, body) {
14794 var t1, exception;
14795 try {
14796 t1 = body.call$0();
14797 return t1;
14798 } catch (exception) {
14799 if (type$.FormatException._is(A.unwrapException(exception)))
14800 return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
14801 else
14802 throw exception;
14803 }
14804 },
14805 Frame: function Frame(t0, t1, t2, t3) {
14806 var _ = this;
14807 _.uri = t0;
14808 _.line = t1;
14809 _.column = t2;
14810 _.member = t3;
14811 },
14812 Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
14813 this.frame = t0;
14814 },
14815 Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
14816 this.frame = t0;
14817 },
14818 Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) {
14819 this.frame = t0;
14820 },
14821 Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
14822 this.frame = t0;
14823 },
14824 Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
14825 this.frame = t0;
14826 },
14827 Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
14828 this.frame = t0;
14829 },
14830 LazyTrace: function LazyTrace(t0) {
14831 this._thunk = t0;
14832 this.__LazyTrace__trace = $;
14833 },
14834 LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
14835 this.$this = t0;
14836 },
14837 Trace_Trace$from(trace) {
14838 if (type$.Trace._is(trace))
14839 return trace;
14840 if (trace instanceof A.Chain)
14841 return trace.toTrace$0();
14842 return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
14843 },
14844 Trace_Trace$parse(trace) {
14845 var error, t1, exception;
14846 try {
14847 if (trace.length === 0) {
14848 t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
14849 return t1;
14850 }
14851 if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
14852 t1 = A.Trace$parseV8(trace);
14853 return t1;
14854 }
14855 if (B.JSString_methods.contains$1(trace, "\tat ")) {
14856 t1 = A.Trace$parseJSCore(trace);
14857 return t1;
14858 }
14859 if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
14860 t1 = A.Trace$parseFirefox(trace);
14861 return t1;
14862 }
14863 if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
14864 t1 = A.Chain_Chain$parse(trace).toTrace$0();
14865 return t1;
14866 }
14867 if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
14868 t1 = A.Trace$parseFriendly(trace);
14869 return t1;
14870 }
14871 t1 = A.Trace$parseVM(trace);
14872 return t1;
14873 } catch (exception) {
14874 t1 = A.unwrapException(exception);
14875 if (type$.FormatException._is(t1)) {
14876 error = t1;
14877 throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
14878 } else
14879 throw exception;
14880 }
14881 },
14882 Trace$parseVM(trace) {
14883 var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
14884 return new A.Trace(t1, new A._StringStackTrace(trace));
14885 },
14886 Trace__parseVM(trace) {
14887 var $frames,
14888 t1 = B.JSString_methods.trim$0(trace),
14889 t2 = $.$get$vmChainGap(),
14890 t3 = type$.WhereIterable_String,
14891 lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
14892 if (!lines.get$iterator(lines).moveNext$0())
14893 return A._setArrayType([], type$.JSArray_Frame);
14894 t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(lines) - 1, t3._eval$1("Iterable.E"));
14895 t1 = A.MappedIterable_MappedIterable(t1, new A.Trace__parseVM_closure0(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
14896 $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
14897 if (!J.endsWith$1$s(lines.get$last(lines), ".da"))
14898 B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(lines)));
14899 return $frames;
14900 },
14901 Trace$parseV8(trace) {
14902 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()),
14903 t2 = type$.Frame;
14904 t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, new A.Trace$parseV8_closure0(), t1.$ti._eval$1("Iterable.E"), t2), t2);
14905 return new A.Trace(t2, new A._StringStackTrace(trace));
14906 },
14907 Trace$parseJSCore(trace) {
14908 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);
14909 return new A.Trace(t1, new A._StringStackTrace(trace));
14910 },
14911 Trace$parseFirefox(trace) {
14912 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);
14913 return new A.Trace(t1, new A._StringStackTrace(trace));
14914 },
14915 Trace$parseFriendly(trace) {
14916 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);
14917 t1 = A.List_List$unmodifiable(t1, type$.Frame);
14918 return new A.Trace(t1, new A._StringStackTrace(trace));
14919 },
14920 Trace$($frames, original) {
14921 var t1 = A.List_List$unmodifiable($frames, type$.Frame);
14922 return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
14923 },
14924 Trace: function Trace(t0, t1) {
14925 this.frames = t0;
14926 this.original = t1;
14927 },
14928 Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
14929 this.trace = t0;
14930 },
14931 Trace__parseVM_closure: function Trace__parseVM_closure() {
14932 },
14933 Trace__parseVM_closure0: function Trace__parseVM_closure0() {
14934 },
14935 Trace$parseV8_closure: function Trace$parseV8_closure() {
14936 },
14937 Trace$parseV8_closure0: function Trace$parseV8_closure0() {
14938 },
14939 Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
14940 },
14941 Trace$parseJSCore_closure0: function Trace$parseJSCore_closure0() {
14942 },
14943 Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
14944 },
14945 Trace$parseFirefox_closure0: function Trace$parseFirefox_closure0() {
14946 },
14947 Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
14948 },
14949 Trace$parseFriendly_closure0: function Trace$parseFriendly_closure0() {
14950 },
14951 Trace_terse_closure: function Trace_terse_closure() {
14952 },
14953 Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
14954 this.oldPredicate = t0;
14955 },
14956 Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
14957 this._box_0 = t0;
14958 },
14959 Trace_toString_closure0: function Trace_toString_closure0() {
14960 },
14961 Trace_toString_closure: function Trace_toString_closure(t0) {
14962 this.longest = t0;
14963 },
14964 UnparsedFrame: function UnparsedFrame(t0, t1) {
14965 this.uri = t0;
14966 this.member = t1;
14967 },
14968 TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
14969 var _null = null, t1 = {},
14970 controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
14971 t1.subscription = null;
14972 controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
14973 return controller.get$stream();
14974 },
14975 TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
14976 sink.addError$2(error, stackTrace);
14977 },
14978 TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
14979 var _ = this;
14980 _._box_1 = t0;
14981 _._this = t1;
14982 _.handleData = t2;
14983 _.controller = t3;
14984 _.handleError = t4;
14985 _.handleDone = t5;
14986 _.S = t6;
14987 },
14988 TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
14989 this.handleData = t0;
14990 this.controller = t1;
14991 this.S = t2;
14992 },
14993 TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
14994 this.handleError = t0;
14995 this.controller = t1;
14996 },
14997 TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
14998 this._box_0 = t0;
14999 this.handleDone = t1;
15000 this.controller = t2;
15001 },
15002 TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
15003 this._box_1 = t0;
15004 this._box_0 = t1;
15005 },
15006 RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
15007 var t1 = {};
15008 t1.soFar = t1.timer = null;
15009 t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
15010 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);
15011 },
15012 _collect($event, soFar, $T) {
15013 var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
15014 J.add$1$ax(t1, $event);
15015 return t1;
15016 },
15017 RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
15018 var _ = this;
15019 _._box_0 = t0;
15020 _.S = t1;
15021 _.collect = t2;
15022 _.leading = t3;
15023 _.duration = t4;
15024 _.trailing = t5;
15025 _.T = t6;
15026 },
15027 RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
15028 this._box_0 = t0;
15029 this.sink = t1;
15030 this.S = t2;
15031 },
15032 RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
15033 var _ = this;
15034 _._box_0 = t0;
15035 _.trailing = t1;
15036 _.emit = t2;
15037 _.sink = t3;
15038 },
15039 RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
15040 this._box_0 = t0;
15041 this.trailing = t1;
15042 this.S = t2;
15043 },
15044 StringScannerException$(message, span, source) {
15045 return new A.StringScannerException(source, message, span);
15046 },
15047 StringScannerException: function StringScannerException(t0, t1, t2) {
15048 this.source = t0;
15049 this._span_exception$_message = t1;
15050 this._span = t2;
15051 },
15052 LineScanner$(string) {
15053 return new A.LineScanner(null, string);
15054 },
15055 LineScanner: function LineScanner(t0, t1) {
15056 var _ = this;
15057 _._line_scanner$_column = _._line_scanner$_line = 0;
15058 _.sourceUrl = t0;
15059 _.string = t1;
15060 _._string_scanner$_position = 0;
15061 _._lastMatchPosition = _._lastMatch = null;
15062 },
15063 SpanScanner$(string, sourceUrl) {
15064 var t2,
15065 t1 = A.SourceFile$fromString(string, sourceUrl);
15066 if (sourceUrl == null)
15067 t2 = null;
15068 else
15069 t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
15070 return new A.SpanScanner(t1, t2, string);
15071 },
15072 SpanScanner: function SpanScanner(t0, t1, t2) {
15073 var _ = this;
15074 _._sourceFile = t0;
15075 _.sourceUrl = t1;
15076 _.string = t2;
15077 _._string_scanner$_position = 0;
15078 _._lastMatchPosition = _._lastMatch = null;
15079 },
15080 _SpanScannerState: function _SpanScannerState(t0, t1) {
15081 this._scanner = t0;
15082 this.position = t1;
15083 },
15084 StringScanner$(string, position, sourceUrl) {
15085 var t1;
15086 if (sourceUrl == null)
15087 t1 = null;
15088 else
15089 t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
15090 return new A.StringScanner(t1, string);
15091 },
15092 StringScanner: function StringScanner(t0, t1) {
15093 var _ = this;
15094 _.sourceUrl = t0;
15095 _.string = t1;
15096 _._string_scanner$_position = 0;
15097 _._lastMatchPosition = _._lastMatch = null;
15098 },
15099 AsciiGlyphSet: function AsciiGlyphSet() {
15100 },
15101 UnicodeGlyphSet: function UnicodeGlyphSet() {
15102 },
15103 Tuple2: function Tuple2(t0, t1, t2) {
15104 this.item1 = t0;
15105 this.item2 = t1;
15106 this.$ti = t2;
15107 },
15108 Tuple3: function Tuple3(t0, t1, t2, t3) {
15109 var _ = this;
15110 _.item1 = t0;
15111 _.item2 = t1;
15112 _.item3 = t2;
15113 _.$ti = t3;
15114 },
15115 Tuple4: function Tuple4(t0, t1, t2, t3, t4) {
15116 var _ = this;
15117 _.item1 = t0;
15118 _.item2 = t1;
15119 _.item3 = t2;
15120 _.item4 = t3;
15121 _.$ti = t4;
15122 },
15123 WatchEvent: function WatchEvent(t0, t1) {
15124 this.type = t0;
15125 this.path = t1;
15126 },
15127 ChangeType: function ChangeType(t0) {
15128 this._watch_event$_name = t0;
15129 },
15130 SupportsAnything0: function SupportsAnything0(t0, t1) {
15131 this.contents = t0;
15132 this.span = t1;
15133 },
15134 Argument0: function Argument0(t0, t1, t2) {
15135 this.name = t0;
15136 this.defaultValue = t1;
15137 this.span = t2;
15138 },
15139 ArgumentDeclaration_ArgumentDeclaration$parse0(contents, url) {
15140 return A.ScssParser$0(contents, null, url).parseArgumentDeclaration$0();
15141 },
15142 ArgumentDeclaration0: function ArgumentDeclaration0(t0, t1, t2) {
15143 this.$arguments = t0;
15144 this.restArgument = t1;
15145 this.span = t2;
15146 },
15147 ArgumentDeclaration_verify_closure1: function ArgumentDeclaration_verify_closure1() {
15148 },
15149 ArgumentDeclaration_verify_closure2: function ArgumentDeclaration_verify_closure2() {
15150 },
15151 ArgumentInvocation$empty0(span) {
15152 return new A.ArgumentInvocation0(B.List_empty17, B.Map_empty9, null, null, span);
15153 },
15154 ArgumentInvocation0: function ArgumentInvocation0(t0, t1, t2, t3, t4) {
15155 var _ = this;
15156 _.positional = t0;
15157 _.named = t1;
15158 _.rest = t2;
15159 _.keywordRest = t3;
15160 _.span = t4;
15161 },
15162 argumentListClass_closure: function argumentListClass_closure() {
15163 },
15164 argumentListClass__closure: function argumentListClass__closure() {
15165 },
15166 argumentListClass__closure0: function argumentListClass__closure0() {
15167 },
15168 SassArgumentList$0(contents, keywords, separator) {
15169 var t1 = type$.Value_2;
15170 t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
15171 t1.SassList$3$brackets0(contents, separator, false);
15172 return t1;
15173 },
15174 SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
15175 var _ = this;
15176 _._argument_list$_keywords = t0;
15177 _._argument_list$_wereKeywordsAccessed = false;
15178 _._list1$_contents = t1;
15179 _._list1$_separator = t2;
15180 _._list1$_hasBrackets = t3;
15181 },
15182 JSArray1: function JSArray1() {
15183 },
15184 AsyncImporter0: function AsyncImporter0() {
15185 },
15186 NodeToDartAsyncImporter: function NodeToDartAsyncImporter(t0, t1) {
15187 this._async0$_canonicalize = t0;
15188 this._load = t1;
15189 },
15190 AsyncBuiltInCallable$mixin0($name, $arguments, callback, url) {
15191 return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback));
15192 },
15193 AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2) {
15194 this.name = t0;
15195 this._async_built_in0$_arguments = t1;
15196 this._async_built_in0$_callback = t2;
15197 },
15198 AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
15199 this.callback = t0;
15200 },
15201 compileAsync0(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
15202 var $async$goto = 0,
15203 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15204 $async$returnValue, terseLogger, t1, t2, t3, stylesheet, t4, result;
15205 var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15206 if ($async$errorCode === 1)
15207 return A._asyncRethrow($async$result, $async$completer);
15208 while (true)
15209 switch ($async$goto) {
15210 case 0:
15211 // Function start
15212 if (!verbose) {
15213 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
15214 logger = terseLogger;
15215 } else
15216 terseLogger = null;
15217 t1 = nodeImporter == null;
15218 if (t1)
15219 t2 = syntax == null || syntax === A.Syntax_forPath0(path);
15220 else
15221 t2 = false;
15222 $async$goto = t2 ? 3 : 5;
15223 break;
15224 case 3:
15225 // then
15226 if (importCache == null)
15227 importCache = A.AsyncImportCache$none(logger);
15228 t2 = $.$get$context();
15229 t3 = t2.absolute$7(".", null, null, null, null, null, null);
15230 $async$goto = 6;
15231 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);
15232 case 6:
15233 // returning from await.
15234 t3 = $async$result;
15235 t3.toString;
15236 stylesheet = t3;
15237 // goto join
15238 $async$goto = 4;
15239 break;
15240 case 5:
15241 // else
15242 t2 = A.readFile0(path);
15243 t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
15244 t4 = $.$get$context();
15245 stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
15246 t2 = t4;
15247 case 4:
15248 // join
15249 $async$goto = 7;
15250 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);
15251 case 7:
15252 // returning from await.
15253 result = $async$result;
15254 if (terseLogger != null)
15255 terseLogger.summarize$1$node(!t1);
15256 $async$returnValue = result;
15257 // goto return
15258 $async$goto = 1;
15259 break;
15260 case 1:
15261 // return
15262 return A._asyncReturn($async$returnValue, $async$completer);
15263 }
15264 });
15265 return A._asyncStartSync($async$compileAsync0, $async$completer);
15266 },
15267 compileStringAsync0(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
15268 var $async$goto = 0,
15269 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15270 $async$returnValue, terseLogger, stylesheet, result;
15271 var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15272 if ($async$errorCode === 1)
15273 return A._asyncRethrow($async$result, $async$completer);
15274 while (true)
15275 switch ($async$goto) {
15276 case 0:
15277 // Function start
15278 if (!verbose) {
15279 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
15280 logger = terseLogger;
15281 } else
15282 terseLogger = null;
15283 stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS0 : syntax, logger, url);
15284 $async$goto = 3;
15285 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);
15286 case 3:
15287 // returning from await.
15288 result = $async$result;
15289 if (terseLogger != null)
15290 terseLogger.summarize$1$node(nodeImporter != null);
15291 $async$returnValue = result;
15292 // goto return
15293 $async$goto = 1;
15294 break;
15295 case 1:
15296 // return
15297 return A._asyncReturn($async$returnValue, $async$completer);
15298 }
15299 });
15300 return A._asyncStartSync($async$compileStringAsync0, $async$completer);
15301 },
15302 _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
15303 var $async$goto = 0,
15304 $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
15305 $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
15306 var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
15307 if ($async$errorCode === 1)
15308 return A._asyncRethrow($async$result, $async$completer);
15309 while (true)
15310 switch ($async$goto) {
15311 case 0:
15312 // Function start
15313 $async$goto = 3;
15314 return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
15315 case 3:
15316 // returning from await.
15317 evaluateResult = $async$result;
15318 serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces);
15319 resultSourceMap = serializeResult.sourceMap;
15320 if (resultSourceMap != null && importCache != null)
15321 A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
15322 $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
15323 // goto return
15324 $async$goto = 1;
15325 break;
15326 case 1:
15327 // return
15328 return A._asyncReturn($async$returnValue, $async$completer);
15329 }
15330 });
15331 return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
15332 },
15333 _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
15334 this.stylesheet = t0;
15335 this.importCache = t1;
15336 },
15337 AsyncEnvironment$0() {
15338 var t1 = type$.String,
15339 t2 = type$.Module_AsyncCallable_2,
15340 t3 = type$.AstNode_2,
15341 t4 = type$.int,
15342 t5 = type$.AsyncCallable_2,
15343 t6 = type$.JSArray_Map_String_AsyncCallable_2;
15344 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);
15345 },
15346 AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
15347 var t1 = type$.String,
15348 t2 = type$.int;
15349 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);
15350 },
15351 _EnvironmentModule__EnvironmentModule2(environment, css, extensionStore, forwarded) {
15352 var t1, t2, t3, t4, t5, t6;
15353 if (forwarded == null)
15354 forwarded = B.Set_empty3;
15355 t1 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
15356 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);
15357 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);
15358 t4 = type$.Map_String_AsyncCallable_2;
15359 t5 = type$.AsyncCallable_2;
15360 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);
15361 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);
15362 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure21());
15363 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()));
15364 },
15365 _EnvironmentModule__makeModulesByVariable2(forwarded) {
15366 var modulesByVariable, t1, t2, t3, t4, t5;
15367 if (forwarded.get$isEmpty(forwarded))
15368 return B.Map_empty10;
15369 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
15370 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
15371 t2 = t1.get$current(t1);
15372 if (t2 instanceof A._EnvironmentModule2) {
15373 for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
15374 t4 = t3.get$current(t3);
15375 t5 = t4.get$variables();
15376 A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
15377 }
15378 A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
15379 } else {
15380 t3 = t2.get$variables();
15381 A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
15382 }
15383 }
15384 return modulesByVariable;
15385 },
15386 _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
15387 var t1, t2, t3;
15388 localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
15389 if (otherMaps.get$isEmpty(otherMaps))
15390 return localMap;
15391 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
15392 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
15393 t3 = t2.get$current(t2);
15394 if (t3.get$isNotEmpty(t3))
15395 t1.push(t3);
15396 }
15397 t1.push(localMap);
15398 if (t1.length === 1)
15399 return localMap;
15400 return A.MergedMapView$0(t1, type$.String, $V);
15401 },
15402 _EnvironmentModule$_2(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
15403 return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
15404 },
15405 AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
15406 var _ = this;
15407 _._async_environment0$_modules = t0;
15408 _._async_environment0$_namespaceNodes = t1;
15409 _._async_environment0$_globalModules = t2;
15410 _._async_environment0$_importedModules = t3;
15411 _._async_environment0$_forwardedModules = t4;
15412 _._async_environment0$_nestedForwardedModules = t5;
15413 _._async_environment0$_allModules = t6;
15414 _._async_environment0$_variables = t7;
15415 _._async_environment0$_variableNodes = t8;
15416 _._async_environment0$_variableIndices = t9;
15417 _._async_environment0$_functions = t10;
15418 _._async_environment0$_functionIndices = t11;
15419 _._async_environment0$_mixins = t12;
15420 _._async_environment0$_mixinIndices = t13;
15421 _._async_environment0$_content = t14;
15422 _._async_environment0$_inMixin = false;
15423 _._async_environment0$_inSemiGlobalScope = true;
15424 _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
15425 },
15426 AsyncEnvironment_importForwards_closure2: function AsyncEnvironment_importForwards_closure2() {
15427 },
15428 AsyncEnvironment_importForwards_closure3: function AsyncEnvironment_importForwards_closure3() {
15429 },
15430 AsyncEnvironment_importForwards_closure4: function AsyncEnvironment_importForwards_closure4() {
15431 },
15432 AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
15433 this.name = t0;
15434 },
15435 AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
15436 this.$this = t0;
15437 this.name = t1;
15438 },
15439 AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
15440 this.name = t0;
15441 },
15442 AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
15443 this.$this = t0;
15444 this.name = t1;
15445 },
15446 AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
15447 this.name = t0;
15448 },
15449 AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
15450 this.name = t0;
15451 },
15452 AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
15453 },
15454 AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
15455 },
15456 AsyncEnvironment__fromOneModule_closure0: function AsyncEnvironment__fromOneModule_closure0(t0, t1) {
15457 this.callback = t0;
15458 this.T = t1;
15459 },
15460 AsyncEnvironment__fromOneModule__closure0: function AsyncEnvironment__fromOneModule__closure0(t0, t1) {
15461 this.entry = t0;
15462 this.T = t1;
15463 },
15464 _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
15465 var _ = this;
15466 _.upstream = t0;
15467 _.variables = t1;
15468 _.variableNodes = t2;
15469 _.functions = t3;
15470 _.mixins = t4;
15471 _.extensionStore = t5;
15472 _.css = t6;
15473 _.transitivelyContainsCss = t7;
15474 _.transitivelyContainsExtensions = t8;
15475 _._async_environment0$_environment = t9;
15476 _._async_environment0$_modulesByVariable = t10;
15477 },
15478 _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
15479 },
15480 _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
15481 },
15482 _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
15483 },
15484 _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
15485 },
15486 _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
15487 },
15488 _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
15489 },
15490 _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
15491 var t4,
15492 t1 = type$.Uri,
15493 t2 = type$.Module_AsyncCallable_2,
15494 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
15495 if (nodeImporter == null)
15496 t4 = importCache == null ? A.AsyncImportCache$none(logger) : importCache;
15497 else
15498 t4 = null;
15499 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);
15500 t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
15501 return t1;
15502 },
15503 _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
15504 var _ = this;
15505 _._async_evaluate0$_importCache = t0;
15506 _._async_evaluate0$_nodeImporter = t1;
15507 _._async_evaluate0$_builtInFunctions = t2;
15508 _._async_evaluate0$_builtInModules = t3;
15509 _._async_evaluate0$_modules = t4;
15510 _._async_evaluate0$_moduleNodes = t5;
15511 _._async_evaluate0$_logger = t6;
15512 _._async_evaluate0$_warningsEmitted = t7;
15513 _._async_evaluate0$_quietDeps = t8;
15514 _._async_evaluate0$_sourceMap = t9;
15515 _._async_evaluate0$_environment = t10;
15516 _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
15517 _._async_evaluate0$_member = "root stylesheet";
15518 _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = null;
15519 _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
15520 _._async_evaluate0$_loadedUrls = t11;
15521 _._async_evaluate0$_activeModules = t12;
15522 _._async_evaluate0$_stack = t13;
15523 _._async_evaluate0$_importer = null;
15524 _._async_evaluate0$_inDependency = false;
15525 _._async_evaluate0$__extensionStore = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
15526 _._async_evaluate0$_configuration = t14;
15527 },
15528 _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
15529 this.$this = t0;
15530 },
15531 _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
15532 this.$this = t0;
15533 },
15534 _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
15535 this.$this = t0;
15536 },
15537 _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
15538 this.$this = t0;
15539 },
15540 _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
15541 this.$this = t0;
15542 },
15543 _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
15544 this.$this = t0;
15545 },
15546 _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
15547 this.$this = t0;
15548 },
15549 _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
15550 this.$this = t0;
15551 },
15552 _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
15553 this.$this = t0;
15554 this.name = t1;
15555 this.module = t2;
15556 },
15557 _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
15558 this.$this = t0;
15559 },
15560 _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
15561 this.$this = t0;
15562 },
15563 _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0, t1, t2) {
15564 this.values = t0;
15565 this.span = t1;
15566 this.callableNode = t2;
15567 },
15568 _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0) {
15569 this.$this = t0;
15570 },
15571 _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
15572 this.$this = t0;
15573 this.node = t1;
15574 this.importer = t2;
15575 },
15576 _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
15577 this.callback = t0;
15578 this.builtInModule = t1;
15579 },
15580 _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
15581 var _ = this;
15582 _.$this = t0;
15583 _.url = t1;
15584 _.nodeWithSpan = t2;
15585 _.baseUrl = t3;
15586 _.namesInErrors = t4;
15587 _.configuration = t5;
15588 _.callback = t6;
15589 },
15590 _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1) {
15591 this.$this = t0;
15592 this.message = t1;
15593 },
15594 _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5) {
15595 var _ = this;
15596 _.$this = t0;
15597 _.importer = t1;
15598 _.stylesheet = t2;
15599 _.extensionStore = t3;
15600 _.configuration = t4;
15601 _.css = t5;
15602 },
15603 _EvaluateVisitor__combineCss_closure8: function _EvaluateVisitor__combineCss_closure8() {
15604 },
15605 _EvaluateVisitor__combineCss_closure9: function _EvaluateVisitor__combineCss_closure9(t0) {
15606 this.selectors = t0;
15607 },
15608 _EvaluateVisitor__combineCss_closure10: function _EvaluateVisitor__combineCss_closure10() {
15609 },
15610 _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
15611 this.originalSelectors = t0;
15612 },
15613 _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
15614 },
15615 _EvaluateVisitor__topologicalModules_visitModule2: function _EvaluateVisitor__topologicalModules_visitModule2(t0, t1) {
15616 this.seen = t0;
15617 this.sorted = t1;
15618 },
15619 _EvaluateVisitor_visitAtRootRule_closure8: function _EvaluateVisitor_visitAtRootRule_closure8(t0, t1) {
15620 this.$this = t0;
15621 this.resolved = t1;
15622 },
15623 _EvaluateVisitor_visitAtRootRule_closure9: function _EvaluateVisitor_visitAtRootRule_closure9(t0, t1) {
15624 this.$this = t0;
15625 this.node = t1;
15626 },
15627 _EvaluateVisitor_visitAtRootRule_closure10: function _EvaluateVisitor_visitAtRootRule_closure10(t0, t1) {
15628 this.$this = t0;
15629 this.node = t1;
15630 },
15631 _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
15632 this.$this = t0;
15633 this.newParent = t1;
15634 this.node = t2;
15635 },
15636 _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
15637 this.$this = t0;
15638 this.innerScope = t1;
15639 },
15640 _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
15641 this.$this = t0;
15642 this.innerScope = t1;
15643 },
15644 _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
15645 this.innerScope = t0;
15646 this.callback = t1;
15647 },
15648 _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
15649 this.$this = t0;
15650 this.innerScope = t1;
15651 },
15652 _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
15653 },
15654 _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
15655 this.$this = t0;
15656 this.innerScope = t1;
15657 },
15658 _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
15659 this.$this = t0;
15660 this.content = t1;
15661 },
15662 _EvaluateVisitor_visitDeclaration_closure5: function _EvaluateVisitor_visitDeclaration_closure5(t0) {
15663 this.$this = t0;
15664 },
15665 _EvaluateVisitor_visitDeclaration_closure6: function _EvaluateVisitor_visitDeclaration_closure6(t0, t1) {
15666 this.$this = t0;
15667 this.children = t1;
15668 },
15669 _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
15670 this.$this = t0;
15671 this.node = t1;
15672 this.nodeWithSpan = t2;
15673 },
15674 _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
15675 this.$this = t0;
15676 this.node = t1;
15677 this.nodeWithSpan = t2;
15678 },
15679 _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
15680 var _ = this;
15681 _.$this = t0;
15682 _.list = t1;
15683 _.setVariables = t2;
15684 _.node = t3;
15685 },
15686 _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
15687 this.$this = t0;
15688 this.setVariables = t1;
15689 this.node = t2;
15690 },
15691 _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
15692 this.$this = t0;
15693 },
15694 _EvaluateVisitor_visitExtendRule_closure2: function _EvaluateVisitor_visitExtendRule_closure2(t0, t1) {
15695 this.$this = t0;
15696 this.targetText = t1;
15697 },
15698 _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
15699 this.$this = t0;
15700 },
15701 _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1) {
15702 this.$this = t0;
15703 this.children = t1;
15704 },
15705 _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
15706 this.$this = t0;
15707 this.children = t1;
15708 },
15709 _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
15710 },
15711 _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
15712 this.$this = t0;
15713 this.node = t1;
15714 },
15715 _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
15716 this.$this = t0;
15717 this.node = t1;
15718 },
15719 _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
15720 this.fromNumber = t0;
15721 },
15722 _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
15723 this.toNumber = t0;
15724 this.fromNumber = t1;
15725 },
15726 _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
15727 var _ = this;
15728 _._box_0 = t0;
15729 _.$this = t1;
15730 _.node = t2;
15731 _.from = t3;
15732 _.direction = t4;
15733 _.fromNumber = t5;
15734 },
15735 _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
15736 this.$this = t0;
15737 },
15738 _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
15739 this.$this = t0;
15740 this.node = t1;
15741 },
15742 _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
15743 this.$this = t0;
15744 this.node = t1;
15745 },
15746 _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0, t1) {
15747 this._box_0 = t0;
15748 this.$this = t1;
15749 },
15750 _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0) {
15751 this.$this = t0;
15752 },
15753 _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
15754 this.$this = t0;
15755 this.$import = t1;
15756 },
15757 _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
15758 this.$this = t0;
15759 },
15760 _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
15761 },
15762 _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
15763 },
15764 _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4, t5) {
15765 var _ = this;
15766 _.$this = t0;
15767 _.result = t1;
15768 _.stylesheet = t2;
15769 _.loadsUserDefinedModules = t3;
15770 _.environment = t4;
15771 _.children = t5;
15772 },
15773 _EvaluateVisitor__visitStaticImport_closure2: function _EvaluateVisitor__visitStaticImport_closure2(t0) {
15774 this.$this = t0;
15775 },
15776 _EvaluateVisitor_visitIncludeRule_closure11: function _EvaluateVisitor_visitIncludeRule_closure11(t0, t1) {
15777 this.$this = t0;
15778 this.node = t1;
15779 },
15780 _EvaluateVisitor_visitIncludeRule_closure12: function _EvaluateVisitor_visitIncludeRule_closure12(t0) {
15781 this.node = t0;
15782 },
15783 _EvaluateVisitor_visitIncludeRule_closure14: function _EvaluateVisitor_visitIncludeRule_closure14(t0) {
15784 this.$this = t0;
15785 },
15786 _EvaluateVisitor_visitIncludeRule_closure13: function _EvaluateVisitor_visitIncludeRule_closure13(t0, t1, t2, t3) {
15787 var _ = this;
15788 _.$this = t0;
15789 _.contentCallable = t1;
15790 _.mixin = t2;
15791 _.nodeWithSpan = t3;
15792 },
15793 _EvaluateVisitor_visitIncludeRule__closure2: function _EvaluateVisitor_visitIncludeRule__closure2(t0, t1, t2) {
15794 this.$this = t0;
15795 this.mixin = t1;
15796 this.nodeWithSpan = t2;
15797 },
15798 _EvaluateVisitor_visitIncludeRule___closure2: function _EvaluateVisitor_visitIncludeRule___closure2(t0, t1, t2) {
15799 this.$this = t0;
15800 this.mixin = t1;
15801 this.nodeWithSpan = t2;
15802 },
15803 _EvaluateVisitor_visitIncludeRule____closure2: function _EvaluateVisitor_visitIncludeRule____closure2(t0, t1) {
15804 this.$this = t0;
15805 this.statement = t1;
15806 },
15807 _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
15808 this.$this = t0;
15809 this.queries = t1;
15810 },
15811 _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3) {
15812 var _ = this;
15813 _.$this = t0;
15814 _.mergedQueries = t1;
15815 _.queries = t2;
15816 _.node = t3;
15817 },
15818 _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
15819 this.$this = t0;
15820 this.node = t1;
15821 },
15822 _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
15823 this.$this = t0;
15824 this.node = t1;
15825 },
15826 _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
15827 this.mergedQueries = t0;
15828 },
15829 _EvaluateVisitor__visitMediaQueries_closure2: function _EvaluateVisitor__visitMediaQueries_closure2(t0, t1) {
15830 this.$this = t0;
15831 this.resolved = t1;
15832 },
15833 _EvaluateVisitor_visitStyleRule_closure20: function _EvaluateVisitor_visitStyleRule_closure20(t0, t1) {
15834 this.$this = t0;
15835 this.selectorText = t1;
15836 },
15837 _EvaluateVisitor_visitStyleRule_closure21: function _EvaluateVisitor_visitStyleRule_closure21(t0, t1) {
15838 this.$this = t0;
15839 this.node = t1;
15840 },
15841 _EvaluateVisitor_visitStyleRule_closure22: function _EvaluateVisitor_visitStyleRule_closure22() {
15842 },
15843 _EvaluateVisitor_visitStyleRule_closure23: function _EvaluateVisitor_visitStyleRule_closure23(t0, t1) {
15844 this.$this = t0;
15845 this.selectorText = t1;
15846 },
15847 _EvaluateVisitor_visitStyleRule_closure24: function _EvaluateVisitor_visitStyleRule_closure24(t0, t1) {
15848 this._box_0 = t0;
15849 this.$this = t1;
15850 },
15851 _EvaluateVisitor_visitStyleRule_closure25: function _EvaluateVisitor_visitStyleRule_closure25(t0, t1, t2) {
15852 this.$this = t0;
15853 this.rule = t1;
15854 this.node = t2;
15855 },
15856 _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
15857 this.$this = t0;
15858 this.node = t1;
15859 },
15860 _EvaluateVisitor_visitStyleRule_closure26: function _EvaluateVisitor_visitStyleRule_closure26() {
15861 },
15862 _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
15863 this.$this = t0;
15864 this.node = t1;
15865 },
15866 _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
15867 this.$this = t0;
15868 this.node = t1;
15869 },
15870 _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
15871 },
15872 _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
15873 this.$this = t0;
15874 this.node = t1;
15875 this.override = t2;
15876 },
15877 _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
15878 this.$this = t0;
15879 this.node = t1;
15880 },
15881 _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
15882 this.$this = t0;
15883 this.node = t1;
15884 this.value = t2;
15885 },
15886 _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
15887 this.$this = t0;
15888 this.node = t1;
15889 },
15890 _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
15891 this.$this = t0;
15892 this.node = t1;
15893 },
15894 _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
15895 this.$this = t0;
15896 this.node = t1;
15897 },
15898 _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
15899 this.$this = t0;
15900 },
15901 _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
15902 this.$this = t0;
15903 this.node = t1;
15904 },
15905 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2() {
15906 },
15907 _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
15908 this.$this = t0;
15909 this.node = t1;
15910 },
15911 _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
15912 this.node = t0;
15913 this.operand = t1;
15914 },
15915 _EvaluateVisitor__visitCalculationValue_closure2: function _EvaluateVisitor__visitCalculationValue_closure2(t0, t1, t2) {
15916 this.$this = t0;
15917 this.node = t1;
15918 this.inMinMax = t2;
15919 },
15920 _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
15921 this.$this = t0;
15922 },
15923 _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
15924 this.$this = t0;
15925 this.node = t1;
15926 },
15927 _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6(t0, t1, t2) {
15928 this._box_0 = t0;
15929 this.$this = t1;
15930 this.node = t2;
15931 },
15932 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
15933 this.$this = t0;
15934 this.node = t1;
15935 this.$function = t2;
15936 },
15937 _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
15938 var _ = this;
15939 _.$this = t0;
15940 _.callable = t1;
15941 _.evaluated = t2;
15942 _.nodeWithSpan = t3;
15943 _.run = t4;
15944 _.V = t5;
15945 },
15946 _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
15947 var _ = this;
15948 _.$this = t0;
15949 _.evaluated = t1;
15950 _.callable = t2;
15951 _.nodeWithSpan = t3;
15952 _.run = t4;
15953 _.V = t5;
15954 },
15955 _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
15956 var _ = this;
15957 _.$this = t0;
15958 _.evaluated = t1;
15959 _.callable = t2;
15960 _.nodeWithSpan = t3;
15961 _.run = t4;
15962 _.V = t5;
15963 },
15964 _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
15965 },
15966 _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
15967 this.$this = t0;
15968 this.callable = t1;
15969 },
15970 _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
15971 this.overload = t0;
15972 this.evaluated = t1;
15973 this.namedSet = t2;
15974 },
15975 _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6() {
15976 },
15977 _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
15978 },
15979 _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
15980 this.$this = t0;
15981 this.restNodeForSpan = t1;
15982 },
15983 _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
15984 var _ = this;
15985 _.$this = t0;
15986 _.named = t1;
15987 _.restNodeForSpan = t2;
15988 _.namedNodes = t3;
15989 },
15990 _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
15991 },
15992 _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
15993 this.restArgs = t0;
15994 },
15995 _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
15996 this.$this = t0;
15997 this.restNodeForSpan = t1;
15998 this.restArgs = t2;
15999 },
16000 _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
16001 var _ = this;
16002 _.$this = t0;
16003 _.named = t1;
16004 _.restNodeForSpan = t2;
16005 _.restArgs = t3;
16006 },
16007 _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
16008 this.$this = t0;
16009 this.keywordRestNodeForSpan = t1;
16010 this.keywordRestArgs = t2;
16011 },
16012 _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
16013 var _ = this;
16014 _.$this = t0;
16015 _.values = t1;
16016 _.convert = t2;
16017 _.expressionNode = t3;
16018 _.map = t4;
16019 _.nodeWithSpan = t5;
16020 },
16021 _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
16022 this.$arguments = t0;
16023 this.positional = t1;
16024 this.named = t2;
16025 },
16026 _EvaluateVisitor_visitStringExpression_closure2: function _EvaluateVisitor_visitStringExpression_closure2(t0) {
16027 this.$this = t0;
16028 },
16029 _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
16030 this.$this = t0;
16031 this.node = t1;
16032 },
16033 _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
16034 },
16035 _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
16036 this.$this = t0;
16037 this.node = t1;
16038 },
16039 _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
16040 },
16041 _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
16042 this.$this = t0;
16043 this.node = t1;
16044 },
16045 _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2) {
16046 this.$this = t0;
16047 this.mergedQueries = t1;
16048 this.node = t2;
16049 },
16050 _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
16051 this.$this = t0;
16052 this.node = t1;
16053 },
16054 _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
16055 this.$this = t0;
16056 this.node = t1;
16057 },
16058 _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
16059 this.mergedQueries = t0;
16060 },
16061 _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5(t0, t1, t2) {
16062 this.$this = t0;
16063 this.rule = t1;
16064 this.node = t2;
16065 },
16066 _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
16067 this.$this = t0;
16068 this.node = t1;
16069 },
16070 _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6() {
16071 },
16072 _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
16073 this.$this = t0;
16074 this.node = t1;
16075 },
16076 _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
16077 this.$this = t0;
16078 this.node = t1;
16079 },
16080 _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
16081 },
16082 _EvaluateVisitor__performInterpolation_closure2: function _EvaluateVisitor__performInterpolation_closure2(t0, t1, t2) {
16083 this.$this = t0;
16084 this.warnForColor = t1;
16085 this.interpolation = t2;
16086 },
16087 _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
16088 this.value = t0;
16089 this.quote = t1;
16090 },
16091 _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
16092 this.$this = t0;
16093 this.expression = t1;
16094 },
16095 _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
16096 },
16097 _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
16098 this.$this = t0;
16099 },
16100 _EvaluateVisitor__stackTrace_closure2: function _EvaluateVisitor__stackTrace_closure2(t0) {
16101 this.$this = t0;
16102 },
16103 _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
16104 this._async_evaluate0$_visitor = t0;
16105 },
16106 _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
16107 },
16108 _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
16109 this.hasBeenMerged = t0;
16110 },
16111 _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
16112 },
16113 _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
16114 },
16115 EvaluateResult0: function EvaluateResult0(t0, t1) {
16116 this.stylesheet = t0;
16117 this.loadedUrls = t1;
16118 },
16119 _EvaluationContext2: function _EvaluationContext2(t0, t1) {
16120 this._async_evaluate0$_visitor = t0;
16121 this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
16122 },
16123 _ArgumentResults2: function _ArgumentResults2(t0, t1, t2, t3, t4) {
16124 var _ = this;
16125 _.positional = t0;
16126 _.positionalNodes = t1;
16127 _.named = t2;
16128 _.namedNodes = t3;
16129 _.separator = t4;
16130 },
16131 _LoadedStylesheet2: function _LoadedStylesheet2(t0, t1, t2) {
16132 this.stylesheet = t0;
16133 this.importer = t1;
16134 this.isDependency = t2;
16135 },
16136 NodeToDartAsyncFileImporter: function NodeToDartAsyncFileImporter(t0) {
16137 this._findFileUrl = t0;
16138 },
16139 AsyncImportCache$(importers, loadPaths, logger, packageConfig) {
16140 var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
16141 t2 = type$.Uri,
16142 t3 = A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig);
16143 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));
16144 },
16145 AsyncImportCache$none(logger) {
16146 var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
16147 t2 = type$.Uri;
16148 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));
16149 },
16150 AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
16151 var t2, t3, _i, path, _null = null,
16152 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
16153 t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
16154 if (importers != null)
16155 B.JSArray_methods.addAll$1(t1, importers);
16156 if (loadPaths != null)
16157 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
16158 t3 = t2.get$current(t2);
16159 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
16160 }
16161 if (sassPath != null) {
16162 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
16163 t3 = t2.length;
16164 _i = 0;
16165 for (; _i < t3; ++_i) {
16166 path = t2[_i];
16167 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
16168 }
16169 }
16170 return t1;
16171 },
16172 AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5) {
16173 var _ = this;
16174 _._async_import_cache0$_importers = t0;
16175 _._async_import_cache0$_logger = t1;
16176 _._async_import_cache0$_canonicalizeCache = t2;
16177 _._async_import_cache0$_relativeCanonicalizeCache = t3;
16178 _._async_import_cache0$_importCache = t4;
16179 _._async_import_cache0$_resultsCache = t5;
16180 },
16181 AsyncImportCache_canonicalize_closure1: function AsyncImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
16182 var _ = this;
16183 _.$this = t0;
16184 _.baseUrl = t1;
16185 _.url = t2;
16186 _.baseImporter = t3;
16187 _.forImport = t4;
16188 },
16189 AsyncImportCache_canonicalize_closure2: function AsyncImportCache_canonicalize_closure2(t0, t1, t2) {
16190 this.$this = t0;
16191 this.url = t1;
16192 this.forImport = t2;
16193 },
16194 AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
16195 this.importer = t0;
16196 this.url = t1;
16197 },
16198 AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
16199 var _ = this;
16200 _.$this = t0;
16201 _.importer = t1;
16202 _.canonicalUrl = t2;
16203 _.originalUrl = t3;
16204 _.quiet = t4;
16205 },
16206 AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
16207 this.canonicalUrl = t0;
16208 },
16209 AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3() {
16210 },
16211 AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
16212 },
16213 AtRootQueryParser0: function AtRootQueryParser0(t0, t1) {
16214 this.scanner = t0;
16215 this.logger = t1;
16216 },
16217 AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
16218 this.$this = t0;
16219 },
16220 AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
16221 var _ = this;
16222 _.include = t0;
16223 _.names = t1;
16224 _._at_root_query0$_all = t2;
16225 _._at_root_query0$_rule = t3;
16226 },
16227 AtRootRule$0(children, span, query) {
16228 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
16229 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
16230 return new A.AtRootRule0(query, span, t1, t2);
16231 },
16232 AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
16233 var _ = this;
16234 _.query = t0;
16235 _.span = t1;
16236 _.children = t2;
16237 _.hasDeclarations = t3;
16238 },
16239 ModifiableCssAtRule$0($name, span, childless, value) {
16240 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
16241 return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
16242 },
16243 ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
16244 var _ = this;
16245 _.name = t0;
16246 _.value = t1;
16247 _.isChildless = t2;
16248 _.span = t3;
16249 _.children = t4;
16250 _._node1$_children = t5;
16251 _._node1$_indexInParent = _._node1$_parent = null;
16252 _.isGroupEnd = false;
16253 },
16254 AtRule$0($name, span, children, value) {
16255 var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
16256 t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
16257 return new A.AtRule0($name, value, span, t1, t2 === true);
16258 },
16259 AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
16260 var _ = this;
16261 _.name = t0;
16262 _.value = t1;
16263 _.span = t2;
16264 _.children = t3;
16265 _.hasDeclarations = t4;
16266 },
16267 AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3) {
16268 var _ = this;
16269 _.name = t0;
16270 _.op = t1;
16271 _.value = t2;
16272 _.modifier = t3;
16273 },
16274 AttributeOperator0: function AttributeOperator0(t0) {
16275 this._attribute0$_text = t0;
16276 },
16277 BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
16278 var _ = this;
16279 _.operator = t0;
16280 _.left = t1;
16281 _.right = t2;
16282 _.allowsSlash = t3;
16283 },
16284 BinaryOperator0: function BinaryOperator0(t0, t1, t2) {
16285 this.name = t0;
16286 this.operator = t1;
16287 this.precedence = t2;
16288 },
16289 BooleanExpression0: function BooleanExpression0(t0, t1) {
16290 this.value = t0;
16291 this.span = t1;
16292 },
16293 legacyBooleanClass_closure: function legacyBooleanClass_closure() {
16294 },
16295 legacyBooleanClass__closure: function legacyBooleanClass__closure() {
16296 },
16297 legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
16298 },
16299 booleanClass_closure: function booleanClass_closure() {
16300 },
16301 booleanClass__closure: function booleanClass__closure() {
16302 },
16303 SassBoolean0: function SassBoolean0(t0) {
16304 this.value = t0;
16305 },
16306 BuiltInCallable$function0($name, $arguments, callback, url) {
16307 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));
16308 },
16309 BuiltInCallable$mixin0($name, $arguments, callback, url) {
16310 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));
16311 },
16312 BuiltInCallable$parsed($name, $arguments, callback) {
16313 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));
16314 },
16315 BuiltInCallable$overloadedFunction0($name, overloads) {
16316 var t2, t3, t4, t5, t6, t7,
16317 t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2);
16318 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();) {
16319 t6 = t2.get$current(t2);
16320 t7 = A.SpanScanner$("@function " + $name + "(" + A.S(t6.key) + ") {", null);
16321 t1.push(new A.Tuple2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5), t7, B.StderrLogger_false0).parseArgumentDeclaration$0(), t6.value, t3));
16322 }
16323 return new A.BuiltInCallable0($name, t1);
16324 },
16325 BuiltInCallable0: function BuiltInCallable0(t0, t1) {
16326 this.name = t0;
16327 this._built_in$_overloads = t1;
16328 },
16329 BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
16330 this.callback = t0;
16331 },
16332 BuiltInModule$0($name, functions, mixins, variables, $T) {
16333 var t1 = A._Uri__Uri(null, $name, null, "sass"),
16334 t2 = A.BuiltInModule__callableMap0(functions, $T),
16335 t3 = A.BuiltInModule__callableMap0(mixins, $T),
16336 t4 = variables == null ? B.Map_empty8 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
16337 return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
16338 },
16339 BuiltInModule__callableMap0(callables, $T) {
16340 var t2, _i, callable,
16341 t1 = type$.String;
16342 if (callables == null)
16343 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
16344 else {
16345 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
16346 for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
16347 callable = callables[_i];
16348 t1.$indexSet(0, J.get$name$x(callable), callable);
16349 }
16350 t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
16351 }
16352 return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
16353 },
16354 BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
16355 var _ = this;
16356 _.url = t0;
16357 _.functions = t1;
16358 _.mixins = t2;
16359 _.variables = t3;
16360 _.$ti = t4;
16361 },
16362 CalculationExpression__verifyArguments0($arguments) {
16363 return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure0(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression_2);
16364 },
16365 CalculationExpression__verify0(expression) {
16366 var t1,
16367 _s29_ = "Invalid calculation argument ";
16368 if (expression instanceof A.NumberExpression0)
16369 return;
16370 if (expression instanceof A.CalculationExpression0)
16371 return;
16372 if (expression instanceof A.VariableExpression0)
16373 return;
16374 if (expression instanceof A.FunctionExpression0)
16375 return;
16376 if (expression instanceof A.IfExpression0)
16377 return;
16378 if (expression instanceof A.StringExpression0) {
16379 if (expression.hasQuotes)
16380 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16381 } else if (expression instanceof A.ParenthesizedExpression0)
16382 A.CalculationExpression__verify0(expression.expression);
16383 else if (expression instanceof A.BinaryOperationExpression0) {
16384 A.CalculationExpression__verify0(expression.left);
16385 A.CalculationExpression__verify0(expression.right);
16386 t1 = expression.operator;
16387 if (t1 === B.BinaryOperator_AcR2)
16388 return;
16389 if (t1 === B.BinaryOperator_iyO0)
16390 return;
16391 if (t1 === B.BinaryOperator_O1M0)
16392 return;
16393 if (t1 === B.BinaryOperator_RTB0)
16394 return;
16395 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16396 } else
16397 throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
16398 },
16399 CalculationExpression0: function CalculationExpression0(t0, t1, t2) {
16400 this.name = t0;
16401 this.$arguments = t1;
16402 this.span = t2;
16403 },
16404 CalculationExpression__verifyArguments_closure0: function CalculationExpression__verifyArguments_closure0() {
16405 },
16406 SassCalculation_calc0(argument) {
16407 argument = A.SassCalculation__simplify0(argument);
16408 if (argument instanceof A.SassNumber0)
16409 return argument;
16410 if (argument instanceof A.SassCalculation0)
16411 return argument;
16412 return new A.SassCalculation0("calc", A.List_List$unmodifiable([argument], type$.Object));
16413 },
16414 SassCalculation_min0($arguments) {
16415 var minimum, _i, arg, t2,
16416 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
16417 t1 = args.length;
16418 if (t1 === 0)
16419 throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
16420 for (minimum = null, _i = 0; _i < t1; ++_i) {
16421 arg = args[_i];
16422 if (arg instanceof A.SassNumber0)
16423 t2 = minimum != null && !minimum.isComparableTo$1(arg);
16424 else
16425 t2 = true;
16426 if (t2) {
16427 minimum = null;
16428 break;
16429 } else if (minimum == null || minimum.greaterThan$1(arg).value)
16430 minimum = arg;
16431 }
16432 if (minimum != null)
16433 return minimum;
16434 A.SassCalculation__verifyCompatibleNumbers0(args);
16435 return new A.SassCalculation0("min", args);
16436 },
16437 SassCalculation_max0($arguments) {
16438 var maximum, _i, arg, t2,
16439 args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
16440 t1 = args.length;
16441 if (t1 === 0)
16442 throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
16443 for (maximum = null, _i = 0; _i < t1; ++_i) {
16444 arg = args[_i];
16445 if (arg instanceof A.SassNumber0)
16446 t2 = maximum != null && !maximum.isComparableTo$1(arg);
16447 else
16448 t2 = true;
16449 if (t2) {
16450 maximum = null;
16451 break;
16452 } else if (maximum == null || maximum.lessThan$1(arg).value)
16453 maximum = arg;
16454 }
16455 if (maximum != null)
16456 return maximum;
16457 A.SassCalculation__verifyCompatibleNumbers0(args);
16458 return new A.SassCalculation0("max", args);
16459 },
16460 SassCalculation_clamp0(min, value, max) {
16461 var t1, args;
16462 if (value == null && max != null)
16463 throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
16464 min = A.SassCalculation__simplify0(min);
16465 value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
16466 max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
16467 if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
16468 if (value.lessThanOrEquals$1(min).value)
16469 return min;
16470 if (value.greaterThanOrEquals$1(max).value)
16471 return max;
16472 return value;
16473 }
16474 t1 = [min];
16475 if (value != null)
16476 t1.push(value);
16477 if (max != null)
16478 t1.push(max);
16479 args = A.List_List$unmodifiable(t1, type$.Object);
16480 A.SassCalculation__verifyCompatibleNumbers0(args);
16481 A.SassCalculation__verifyLength0(args, 3);
16482 return new A.SassCalculation0("clamp", args);
16483 },
16484 SassCalculation_operateInternal0(operator, left, right, inMinMax) {
16485 var t1, t2;
16486 left = A.SassCalculation__simplify0(left);
16487 right = A.SassCalculation__simplify0(right);
16488 t1 = operator === B.CalculationOperator_Iem0;
16489 if (t1 || operator === B.CalculationOperator_uti0) {
16490 if (left instanceof A.SassNumber0)
16491 if (right instanceof A.SassNumber0)
16492 t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
16493 else
16494 t2 = false;
16495 else
16496 t2 = false;
16497 if (t2)
16498 return t1 ? left.plus$1(right) : left.minus$1(right);
16499 A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
16500 if (right instanceof A.SassNumber0) {
16501 t2 = right._number1$_value;
16502 t2 = t2 < 0 && !(Math.abs(t2 - 0) < $.$get$epsilon0());
16503 } else
16504 t2 = false;
16505 if (t2) {
16506 right = right.times$1(new A.UnitlessSassNumber0(-1, null));
16507 operator = t1 ? B.CalculationOperator_uti0 : B.CalculationOperator_Iem0;
16508 }
16509 return new A.CalculationOperation0(operator, left, right);
16510 } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
16511 return operator === B.CalculationOperator_Dih0 ? left.times$1(right) : left.dividedBy$1(right);
16512 else
16513 return new A.CalculationOperation0(operator, left, right);
16514 },
16515 SassCalculation__simplify0(arg) {
16516 var _s32_ = " can't be used in a calculation.";
16517 if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationInterpolation0 || arg instanceof A.CalculationOperation0)
16518 return arg;
16519 else if (arg instanceof A.SassString0) {
16520 if (!arg._string0$_hasQuotes)
16521 return arg;
16522 throw A.wrapException(A.SassCalculation__exception0("Quoted string " + arg.toString$0(0) + _s32_));
16523 } else if (arg instanceof A.SassCalculation0)
16524 return arg.name === "calc" ? arg.$arguments[0] : arg;
16525 else if (arg instanceof A.Value0)
16526 throw A.wrapException(A.SassCalculation__exception0("Value " + arg.toString$0(0) + _s32_));
16527 else
16528 throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
16529 },
16530 SassCalculation__verifyCompatibleNumbers0(args) {
16531 var t1, _i, t2, arg, i, number1, j, number2;
16532 for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
16533 arg = args[_i];
16534 if (!(arg instanceof A.SassNumber0))
16535 continue;
16536 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
16537 throw A.wrapException(A.SassCalculation__exception0("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations."));
16538 }
16539 for (t1 = t2, i = 0; i < t1 - 1; ++i) {
16540 number1 = args[i];
16541 if (!(number1 instanceof A.SassNumber0))
16542 continue;
16543 for (j = i + 1; t1 = args.length, j < t1; ++j) {
16544 number2 = args[j];
16545 if (!(number2 instanceof A.SassNumber0))
16546 continue;
16547 if (number1.hasPossiblyCompatibleUnits$1(number2))
16548 continue;
16549 throw A.wrapException(A.SassCalculation__exception0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible."));
16550 }
16551 }
16552 },
16553 SassCalculation__verifyLength0(args, expectedLength) {
16554 var t1 = args.length;
16555 if (t1 === expectedLength)
16556 return;
16557 if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
16558 return;
16559 throw A.wrapException(A.SassCalculation__exception0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed."));
16560 },
16561 SassCalculation__exception0(message) {
16562 return new A.SassScriptException0(message);
16563 },
16564 SassCalculation0: function SassCalculation0(t0, t1) {
16565 this.name = t0;
16566 this.$arguments = t1;
16567 },
16568 SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
16569 },
16570 CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
16571 this.operator = t0;
16572 this.left = t1;
16573 this.right = t2;
16574 },
16575 CalculationOperator0: function CalculationOperator0(t0, t1, t2) {
16576 this.name = t0;
16577 this.operator = t1;
16578 this.precedence = t2;
16579 },
16580 CalculationInterpolation0: function CalculationInterpolation0(t0) {
16581 this.value = t0;
16582 },
16583 CallableDeclaration0: function CallableDeclaration0() {
16584 },
16585 Chokidar0: function Chokidar0() {
16586 },
16587 ChokidarOptions0: function ChokidarOptions0() {
16588 },
16589 ChokidarWatcher0: function ChokidarWatcher0() {
16590 },
16591 ClassSelector0: function ClassSelector0(t0) {
16592 this.name = t0;
16593 },
16594 cloneCssStylesheet0(stylesheet, extensionStore) {
16595 var result = extensionStore.clone$0();
16596 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);
16597 },
16598 _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
16599 this._clone_css$_oldToNewSelectors = t0;
16600 },
16601 ColorExpression0: function ColorExpression0(t0, t1) {
16602 this.value = t0;
16603 this.span = t1;
16604 },
16605 _updateComponents0($arguments, adjust, change, scale) {
16606 var keywords, alpha, red, green, blue, hueNumber, t2, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t3, t4, _null = null,
16607 t1 = J.getInterceptor$asx($arguments),
16608 color = t1.$index($arguments, 0).assertColor$1("color"),
16609 argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
16610 if (argumentList._list1$_contents.length !== 0)
16611 throw A.wrapException(A.SassScriptException$0(string$.Only_op));
16612 argumentList._argument_list$_wereKeywordsAccessed = true;
16613 keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, type$.String, type$.Value_2);
16614 t1 = new A._updateComponents_getParam0(keywords, scale, change);
16615 alpha = t1.call$2("alpha", 1);
16616 red = t1.call$2("red", 255);
16617 green = t1.call$2("green", 255);
16618 blue = t1.call$2("blue", 255);
16619 if (scale)
16620 hueNumber = _null;
16621 else {
16622 t2 = keywords.remove$1(0, "hue");
16623 hueNumber = t2 == null ? _null : t2.assertNumber$1("hue");
16624 }
16625 t2 = hueNumber == null;
16626 if (!t2)
16627 A._checkAngle0(hueNumber, "hue");
16628 hue = t2 ? _null : hueNumber._number1$_value;
16629 saturation = t1.call$3$checkPercent("saturation", 100, true);
16630 lightness = t1.call$3$checkPercent("lightness", 100, true);
16631 whiteness = t1.call$3$assertPercent("whiteness", 100, true);
16632 blackness = t1.call$3$assertPercent("blackness", 100, true);
16633 if (keywords.get$isNotEmpty(keywords))
16634 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")) + "."));
16635 hasRgb = red != null || green != null || blue != null;
16636 hasSL = saturation != null || lightness != null;
16637 hasWB = whiteness != null || blackness != null;
16638 if (hasRgb)
16639 t1 = hasSL || hasWB || hue != null;
16640 else
16641 t1 = false;
16642 if (t1)
16643 throw A.wrapException(A.SassScriptException$0(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters."));
16644 if (hasSL && hasWB)
16645 throw A.wrapException(A.SassScriptException$0(string$.HSL_pa));
16646 t1 = new A._updateComponents_updateValue0(change, adjust);
16647 t2 = new A._updateComponents_updateRgb0(t1);
16648 if (hasRgb) {
16649 t3 = t2.call$2(color.get$red(color), red);
16650 t4 = t2.call$2(color.get$green(color), green);
16651 t2 = t2.call$2(color.get$blue(color), blue);
16652 return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._color0$_alpha, alpha, 1), t2, t4, t3);
16653 } else if (hasWB) {
16654 if (change)
16655 t2 = hue;
16656 else {
16657 t2 = color.get$hue(color);
16658 t2 += hue == null ? 0 : hue;
16659 }
16660 t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
16661 t4 = t1.call$3(color.get$blackness(color), blackness, 100);
16662 return color.changeHwb$4$alpha$blackness$hue$whiteness(t1.call$3(color._color0$_alpha, alpha, 1), t4, t2, t3);
16663 } else {
16664 t2 = hue == null;
16665 if (!t2 || hasSL) {
16666 if (change)
16667 t2 = hue;
16668 else {
16669 t3 = color.get$hue(color);
16670 t3 += t2 ? 0 : hue;
16671 t2 = t3;
16672 }
16673 t3 = t1.call$3(color.get$saturation(color), saturation, 100);
16674 t4 = t1.call$3(color.get$lightness(color), lightness, 100);
16675 return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._color0$_alpha, alpha, 1), t2, t4, t3);
16676 } else if (alpha != null)
16677 return color.changeAlpha$1(t1.call$3(color._color0$_alpha, alpha, 1));
16678 else
16679 return color;
16680 }
16681 },
16682 _functionString0($name, $arguments) {
16683 return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
16684 },
16685 _removedColorFunction0($name, argument, negative) {
16686 return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
16687 },
16688 _rgb0($name, $arguments) {
16689 var t2, red, green, blue,
16690 t1 = J.getInterceptor$asx($arguments),
16691 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
16692 if (!t1.$index($arguments, 0).get$isSpecialNumber())
16693 if (!t1.$index($arguments, 1).get$isSpecialNumber())
16694 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
16695 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
16696 t2 = t2 === true;
16697 } else
16698 t2 = true;
16699 else
16700 t2 = true;
16701 else
16702 t2 = true;
16703 if (t2)
16704 return A._functionString0($name, $arguments);
16705 red = t1.$index($arguments, 0).assertNumber$1("red");
16706 green = t1.$index($arguments, 1).assertNumber$1("green");
16707 blue = t1.$index($arguments, 2).assertNumber$1("blue");
16708 return A.SassColor$rgb0(A.fuzzyRound0(A._percentageOrUnitless0(red, 255, "red")), A.fuzzyRound0(A._percentageOrUnitless0(green, 255, "green")), A.fuzzyRound0(A._percentageOrUnitless0(blue, 255, "blue")), A.NullableExtension_andThen0(alpha, new A._rgb_closure0()), null);
16709 },
16710 _rgbTwoArg0($name, $arguments) {
16711 var first, color,
16712 t1 = J.getInterceptor$asx($arguments);
16713 if (t1.$index($arguments, 0).get$isVar())
16714 return A._functionString0($name, $arguments);
16715 else if (t1.$index($arguments, 1).get$isVar()) {
16716 first = t1.$index($arguments, 0);
16717 if (first instanceof A.SassColor0)
16718 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);
16719 else
16720 return A._functionString0($name, $arguments);
16721 } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
16722 color = t1.$index($arguments, 0).assertColor$1("color");
16723 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);
16724 }
16725 return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
16726 },
16727 _hsl0($name, $arguments) {
16728 var t2, hue, saturation, lightness,
16729 _s10_ = "saturation",
16730 _s9_ = "lightness",
16731 t1 = J.getInterceptor$asx($arguments),
16732 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
16733 if (!t1.$index($arguments, 0).get$isSpecialNumber())
16734 if (!t1.$index($arguments, 1).get$isSpecialNumber())
16735 if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
16736 t2 = alpha == null ? null : alpha.get$isSpecialNumber();
16737 t2 = t2 === true;
16738 } else
16739 t2 = true;
16740 else
16741 t2 = true;
16742 else
16743 t2 = true;
16744 if (t2)
16745 return A._functionString0($name, $arguments);
16746 hue = t1.$index($arguments, 0).assertNumber$1("hue");
16747 saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
16748 lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
16749 A._checkAngle0(hue, "hue");
16750 A._checkPercent0(saturation, _s10_);
16751 A._checkPercent0(lightness, _s9_);
16752 return A.SassColor$hsl0(hue._number1$_value, B.JSNumber_methods.clamp$2(saturation._number1$_value, 0, 100), B.JSNumber_methods.clamp$2(lightness._number1$_value, 0, 100), A.NullableExtension_andThen0(alpha, new A._hsl_closure0()));
16753 },
16754 _checkAngle0(angle, $name) {
16755 var t1, t2, t3, actualUnit,
16756 _s31_ = "To preserve current behavior: $";
16757 if (!angle.get$hasUnits() || angle.hasUnit$1("deg"))
16758 return;
16759 t1 = "" + ("$" + A.S($name) + ": Passing a unit other than deg (" + angle.toString$0(0) + ") is deprecated.\n") + "\n";
16760 if (angle.compatibleWithUnit$1("deg")) {
16761 t2 = "You're passing " + angle.toString$0(0) + string$.x2c_whici;
16762 t3 = type$.JSArray_String;
16763 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";
16764 actualUnit = B.JSArray_methods.get$first(angle.get$numeratorUnits(angle));
16765 t3 = t3 + (_s31_ + A.S($name) + " * 1deg/1" + actualUnit + "\n") + ("To migrate to new behavior: 0deg + $" + A.S($name) + "\n") + "\n";
16766 t1 = t3;
16767 } else
16768 t1 = t1 + (_s31_ + A.S($name) + A._removeUnits0(angle) + "\n") + "\n";
16769 t1 += "See https://sass-lang.com/d/color-units";
16770 A.EvaluationContext_current0().warn$2$deprecation(0, t1.charCodeAt(0) == 0 ? t1 : t1, true);
16771 },
16772 _checkPercent0(number, $name) {
16773 var t1;
16774 if (number.hasUnit$1("%"))
16775 return;
16776 t1 = "$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d + $name + A._removeUnits0(number) + " * 1%";
16777 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
16778 },
16779 _removeUnits0(number) {
16780 var t2,
16781 t1 = number.get$denominatorUnits(number);
16782 t1 = new A.MappedListIterable(t1, new A._removeUnits_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
16783 t2 = number.get$numeratorUnits(number);
16784 return t1 + new A.MappedListIterable(t2, new A._removeUnits_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
16785 },
16786 _hwb0($arguments) {
16787 var _s9_ = "whiteness",
16788 _s9_0 = "blackness",
16789 t1 = J.getInterceptor$asx($arguments),
16790 alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
16791 hue = t1.$index($arguments, 0).assertNumber$1("hue"),
16792 whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
16793 blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
16794 whiteness.assertUnit$2("%", _s9_);
16795 blackness.assertUnit$2("%", _s9_0);
16796 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()));
16797 },
16798 _parseChannels0($name, argumentNames, channels) {
16799 var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash,
16800 _s17_ = "$channels must be";
16801 if (channels.get$isVar())
16802 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16803 if (channels.get$separator(channels) === B.ListSeparator_1gm0) {
16804 list = channels.get$asList();
16805 t1 = list.length;
16806 if (t1 !== 2)
16807 throw A.wrapException(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", list.length, "were") + " passed."));
16808 channels0 = list[0];
16809 alphaFromSlashList = list[1];
16810 if (!alphaFromSlashList.get$isSpecialNumber())
16811 alphaFromSlashList.assertNumber$1("alpha");
16812 if (list[0].get$isVar())
16813 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16814 } else {
16815 channels0 = channels;
16816 alphaFromSlashList = null;
16817 }
16818 isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_kWM0;
16819 isBracketed = channels0.get$hasBrackets();
16820 if (isCommaSeparated || isBracketed) {
16821 buffer = new A.StringBuffer(_s17_);
16822 if (isBracketed) {
16823 t1 = _s17_ + " an unbracketed";
16824 buffer._contents = t1;
16825 } else
16826 t1 = _s17_;
16827 if (isCommaSeparated) {
16828 t1 += isBracketed ? "," : " a";
16829 buffer._contents = t1;
16830 t1 = buffer._contents = t1 + " space-separated";
16831 }
16832 buffer._contents = t1 + " list.";
16833 throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0)));
16834 }
16835 list = channels0.get$asList();
16836 t1 = list.length;
16837 if (t1 > 3)
16838 throw A.wrapException(A.SassScriptException$0("Only 3 elements allowed, but " + t1 + " were passed."));
16839 else if (t1 < 3) {
16840 if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure0()))
16841 if (list.length !== 0) {
16842 t1 = B.JSArray_methods.get$last(list);
16843 if (t1 instanceof A.SassString0)
16844 if (t1._string0$_hasQuotes) {
16845 t1 = t1._string0$_text;
16846 t1 = A.startsWithIgnoreCase0(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
16847 } else
16848 t1 = false;
16849 else
16850 t1 = false;
16851 } else
16852 t1 = false;
16853 else
16854 t1 = true;
16855 if (t1)
16856 return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
16857 else
16858 throw A.wrapException(A.SassScriptException$0("Missing element " + argumentNames[list.length] + "."));
16859 }
16860 if (alphaFromSlashList != null) {
16861 t1 = A.List_List$of(list, true, type$.Value_2);
16862 t1.push(alphaFromSlashList);
16863 return t1;
16864 }
16865 maybeSlashSeparated = list[2];
16866 if (maybeSlashSeparated instanceof A.SassNumber0) {
16867 slash = maybeSlashSeparated.asSlash;
16868 if (slash == null)
16869 return list;
16870 return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value_2);
16871 } else if (maybeSlashSeparated instanceof A.SassString0 && !maybeSlashSeparated._string0$_hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string0$_text, "/"))
16872 return A._functionString0($name, A._setArrayType([channels0], type$.JSArray_Value_2));
16873 else
16874 return list;
16875 },
16876 _percentageOrUnitless0(number, max, $name) {
16877 var value;
16878 if (!number.get$hasUnits())
16879 value = number._number1$_value;
16880 else if (number.hasUnit$1("%"))
16881 value = max * number._number1$_value / 100;
16882 else
16883 throw A.wrapException(A.SassScriptException$0("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".'));
16884 return B.JSNumber_methods.clamp$2(value, 0, max);
16885 },
16886 _mixColors0(color1, color2, weight) {
16887 var weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
16888 normalizedWeight = weightScale * 2 - 1,
16889 t1 = color1._color0$_alpha,
16890 t2 = color2._color0$_alpha,
16891 alphaDistance = t1 - t2,
16892 t3 = normalizedWeight * alphaDistance,
16893 weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2,
16894 weight2 = 1 - weight1;
16895 return A.SassColor$rgb0(A.fuzzyRound0(color1.get$red(color1) * weight1 + color2.get$red(color2) * weight2), A.fuzzyRound0(color1.get$green(color1) * weight1 + color2.get$green(color2) * weight2), A.fuzzyRound0(color1.get$blue(color1) * weight1 + color2.get$blue(color2) * weight2), t1 * weightScale + t2 * (1 - weightScale), null);
16896 },
16897 _opacify0($arguments) {
16898 var t1 = J.getInterceptor$asx($arguments),
16899 color = t1.$index($arguments, 0).assertColor$1("color");
16900 return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._color0$_alpha + t1.$index($arguments, 1).assertNumber$1("amount").valueInRange$3(0, 1, "amount"), 0, 1));
16901 },
16902 _transparentize0($arguments) {
16903 var t1 = J.getInterceptor$asx($arguments),
16904 color = t1.$index($arguments, 0).assertColor$1("color");
16905 return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._color0$_alpha - t1.$index($arguments, 1).assertNumber$1("amount").valueInRange$3(0, 1, "amount"), 0, 1));
16906 },
16907 _function11($name, $arguments, callback) {
16908 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
16909 },
16910 global_closure30: function global_closure30() {
16911 },
16912 global_closure31: function global_closure31() {
16913 },
16914 global_closure32: function global_closure32() {
16915 },
16916 global_closure33: function global_closure33() {
16917 },
16918 global_closure34: function global_closure34() {
16919 },
16920 global_closure35: function global_closure35() {
16921 },
16922 global_closure36: function global_closure36() {
16923 },
16924 global_closure37: function global_closure37() {
16925 },
16926 global_closure38: function global_closure38() {
16927 },
16928 global_closure39: function global_closure39() {
16929 },
16930 global_closure40: function global_closure40() {
16931 },
16932 global_closure41: function global_closure41() {
16933 },
16934 global_closure42: function global_closure42() {
16935 },
16936 global_closure43: function global_closure43() {
16937 },
16938 global_closure44: function global_closure44() {
16939 },
16940 global_closure45: function global_closure45() {
16941 },
16942 global_closure46: function global_closure46() {
16943 },
16944 global_closure47: function global_closure47() {
16945 },
16946 global_closure48: function global_closure48() {
16947 },
16948 global_closure49: function global_closure49() {
16949 },
16950 global_closure50: function global_closure50() {
16951 },
16952 global_closure51: function global_closure51() {
16953 },
16954 global_closure52: function global_closure52() {
16955 },
16956 global_closure53: function global_closure53() {
16957 },
16958 global_closure54: function global_closure54() {
16959 },
16960 global_closure55: function global_closure55() {
16961 },
16962 global__closure0: function global__closure0() {
16963 },
16964 global_closure56: function global_closure56() {
16965 },
16966 module_closure8: function module_closure8() {
16967 },
16968 module_closure9: function module_closure9() {
16969 },
16970 module_closure10: function module_closure10() {
16971 },
16972 module_closure11: function module_closure11() {
16973 },
16974 module_closure12: function module_closure12() {
16975 },
16976 module_closure13: function module_closure13() {
16977 },
16978 module_closure14: function module_closure14() {
16979 },
16980 module_closure15: function module_closure15() {
16981 },
16982 module__closure0: function module__closure0() {
16983 },
16984 module_closure16: function module_closure16() {
16985 },
16986 _red_closure0: function _red_closure0() {
16987 },
16988 _green_closure0: function _green_closure0() {
16989 },
16990 _blue_closure0: function _blue_closure0() {
16991 },
16992 _mix_closure0: function _mix_closure0() {
16993 },
16994 _hue_closure0: function _hue_closure0() {
16995 },
16996 _saturation_closure0: function _saturation_closure0() {
16997 },
16998 _lightness_closure0: function _lightness_closure0() {
16999 },
17000 _complement_closure0: function _complement_closure0() {
17001 },
17002 _adjust_closure0: function _adjust_closure0() {
17003 },
17004 _scale_closure0: function _scale_closure0() {
17005 },
17006 _change_closure0: function _change_closure0() {
17007 },
17008 _ieHexStr_closure0: function _ieHexStr_closure0() {
17009 },
17010 _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
17011 },
17012 _updateComponents_getParam0: function _updateComponents_getParam0(t0, t1, t2) {
17013 this.keywords = t0;
17014 this.scale = t1;
17015 this.change = t2;
17016 },
17017 _updateComponents_closure0: function _updateComponents_closure0() {
17018 },
17019 _updateComponents_updateValue0: function _updateComponents_updateValue0(t0, t1) {
17020 this.change = t0;
17021 this.adjust = t1;
17022 },
17023 _updateComponents_updateRgb0: function _updateComponents_updateRgb0(t0) {
17024 this.updateValue = t0;
17025 },
17026 _functionString_closure0: function _functionString_closure0() {
17027 },
17028 _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
17029 this.name = t0;
17030 this.argument = t1;
17031 this.negative = t2;
17032 },
17033 _rgb_closure0: function _rgb_closure0() {
17034 },
17035 _hsl_closure0: function _hsl_closure0() {
17036 },
17037 _removeUnits_closure1: function _removeUnits_closure1() {
17038 },
17039 _removeUnits_closure2: function _removeUnits_closure2() {
17040 },
17041 _hwb_closure0: function _hwb_closure0() {
17042 },
17043 _parseChannels_closure0: function _parseChannels_closure0() {
17044 },
17045 _NodeSassColor: function _NodeSassColor() {
17046 },
17047 legacyColorClass_closure: function legacyColorClass_closure() {
17048 },
17049 legacyColorClass_closure0: function legacyColorClass_closure0() {
17050 },
17051 legacyColorClass_closure1: function legacyColorClass_closure1() {
17052 },
17053 legacyColorClass_closure2: function legacyColorClass_closure2() {
17054 },
17055 legacyColorClass_closure3: function legacyColorClass_closure3() {
17056 },
17057 legacyColorClass_closure4: function legacyColorClass_closure4() {
17058 },
17059 legacyColorClass_closure5: function legacyColorClass_closure5() {
17060 },
17061 legacyColorClass_closure6: function legacyColorClass_closure6() {
17062 },
17063 legacyColorClass_closure7: function legacyColorClass_closure7() {
17064 },
17065 colorClass_closure: function colorClass_closure() {
17066 },
17067 colorClass__closure: function colorClass__closure() {
17068 },
17069 colorClass__closure0: function colorClass__closure0() {
17070 },
17071 colorClass__closure1: function colorClass__closure1() {
17072 },
17073 colorClass__closure2: function colorClass__closure2() {
17074 },
17075 colorClass__closure3: function colorClass__closure3() {
17076 },
17077 colorClass__closure4: function colorClass__closure4() {
17078 },
17079 colorClass__closure5: function colorClass__closure5() {
17080 },
17081 colorClass__closure6: function colorClass__closure6() {
17082 },
17083 colorClass__closure7: function colorClass__closure7() {
17084 },
17085 colorClass__closure8: function colorClass__closure8() {
17086 },
17087 colorClass__closure9: function colorClass__closure9() {
17088 },
17089 _Channels: function _Channels() {
17090 },
17091 SassColor$rgb0(_red, _green, _blue, alpha, originalSpan) {
17092 var t1 = new A.SassColor0(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), originalSpan);
17093 A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
17094 A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
17095 A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
17096 return t1;
17097 },
17098 SassColor$hsl0(hue, saturation, lightness, alpha) {
17099 var _null = null,
17100 t1 = B.JSNumber_methods.$mod(hue, 360),
17101 t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
17102 t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
17103 return new A.SassColor0(_null, _null, _null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
17104 },
17105 SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
17106 var t2, t1 = {},
17107 scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
17108 scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange0(whiteness, 0, 100, "whiteness") / 100,
17109 scaledBlackness = A.fuzzyAssertRange0(blackness, 0, 100, "blackness") / 100,
17110 sum = scaledWhiteness + scaledBlackness;
17111 if (sum > 1) {
17112 t2 = t1.scaledWhiteness = scaledWhiteness / sum;
17113 scaledBlackness /= sum;
17114 } else
17115 t2 = scaledWhiteness;
17116 t2 = new A.SassColor_SassColor$hwb_toRgb0(t1, 1 - t2 - scaledBlackness);
17117 return A.SassColor$rgb0(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha, null);
17118 },
17119 SassColor__hueToRgb0(m1, m2, hue) {
17120 if (hue < 0)
17121 ++hue;
17122 if (hue > 1)
17123 --hue;
17124 if (hue < 0.16666666666666666)
17125 return m1 + (m2 - m1) * hue * 6;
17126 else if (hue < 0.5)
17127 return m2;
17128 else if (hue < 0.6666666666666666)
17129 return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
17130 else
17131 return m1;
17132 },
17133 SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5, t6, t7) {
17134 var _ = this;
17135 _._color0$_red = t0;
17136 _._color0$_green = t1;
17137 _._color0$_blue = t2;
17138 _._color0$_hue = t3;
17139 _._color0$_saturation = t4;
17140 _._color0$_lightness = t5;
17141 _._color0$_alpha = t6;
17142 _.originalSpan = t7;
17143 },
17144 SassColor_SassColor$hwb_toRgb0: function SassColor_SassColor$hwb_toRgb0(t0, t1) {
17145 this._box_0 = t0;
17146 this.factor = t1;
17147 },
17148 ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
17149 var _ = this;
17150 _.text = t0;
17151 _.span = t1;
17152 _._node1$_indexInParent = _._node1$_parent = null;
17153 _.isGroupEnd = false;
17154 },
17155 compile0(path, options) {
17156 var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, exception, _null = null,
17157 t1 = options == null,
17158 color0 = t1 ? _null : J.get$alertColor$x(options),
17159 color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
17160 ascii0 = t1 ? _null : J.get$alertAscii$x(options),
17161 ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
17162 try {
17163 t2 = t1 ? _null : J.get$loadPaths$x(options);
17164 t3 = t1 ? _null : J.get$quietDeps$x(options);
17165 if (t3 == null)
17166 t3 = false;
17167 t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
17168 t5 = t1 ? _null : J.get$verbose$x(options);
17169 if (t5 == null)
17170 t5 = false;
17171 t6 = t1 ? _null : J.get$sourceMap$x(options);
17172 if (t6 == null)
17173 t6 = false;
17174 t7 = t1 ? _null : J.get$logger$x(options);
17175 t8 = ascii;
17176 if (t8 == null)
17177 t8 = $._glyphs === B.C_AsciiGlyphSet;
17178 t8 = new A.NodeToDartLogger(t7, new A.StderrLogger0(color), t8);
17179 if (t1)
17180 t7 = _null;
17181 else {
17182 t7 = J.get$importers$x(options);
17183 t7 = t7 == null ? _null : J.map$1$1$ax(t7, A.compile___parseImporter$closure(), type$.Importer);
17184 }
17185 t9 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
17186 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);
17187 t1 = A._convertResult(result);
17188 return t1;
17189 } catch (exception) {
17190 t1 = A.unwrapException(exception);
17191 if (t1 instanceof A.SassException0) {
17192 error = t1;
17193 stackTrace = A.getTraceFromException(exception);
17194 A.throwNodeException(error, ascii, color, stackTrace);
17195 } else
17196 throw exception;
17197 }
17198 },
17199 compileString0(text, options) {
17200 var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _null = null,
17201 t1 = options == null,
17202 color0 = t1 ? _null : J.get$alertColor$x(options),
17203 color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
17204 ascii0 = t1 ? _null : J.get$alertAscii$x(options),
17205 ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
17206 try {
17207 t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
17208 t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils1__jsToDartUrl$closure());
17209 t4 = t1 ? _null : J.get$loadPaths$x(options);
17210 t5 = t1 ? _null : J.get$quietDeps$x(options);
17211 if (t5 == null)
17212 t5 = false;
17213 t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
17214 t7 = t1 ? _null : J.get$verbose$x(options);
17215 if (t7 == null)
17216 t7 = false;
17217 t8 = t1 ? _null : J.get$sourceMap$x(options);
17218 if (t8 == null)
17219 t8 = false;
17220 t9 = t1 ? _null : J.get$logger$x(options);
17221 t10 = ascii;
17222 if (t10 == null)
17223 t10 = $._glyphs === B.C_AsciiGlyphSet;
17224 t10 = new A.NodeToDartLogger(t9, new A.StderrLogger0(color), t10);
17225 if (t1)
17226 t9 = _null;
17227 else {
17228 t9 = J.get$importers$x(options);
17229 t9 = t9 == null ? _null : J.map$1$1$ax(t9, A.compile___parseImporter$closure(), type$.Importer);
17230 }
17231 t11 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
17232 if (t11 == null)
17233 t11 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter() : _null;
17234 t12 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
17235 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);
17236 t1 = A._convertResult(result);
17237 return t1;
17238 } catch (exception) {
17239 t1 = A.unwrapException(exception);
17240 if (t1 instanceof A.SassException0) {
17241 error = t1;
17242 stackTrace = A.getTraceFromException(exception);
17243 A.throwNodeException(error, ascii, color, stackTrace);
17244 } else
17245 throw exception;
17246 }
17247 },
17248 compileAsync1(path, options) {
17249 var ascii,
17250 t1 = options == null,
17251 color = t1 ? null : J.get$alertColor$x(options);
17252 if (color == null)
17253 color = J.$eq$(self.process.stdout.isTTY, true);
17254 ascii = t1 ? null : J.get$alertAscii$x(options);
17255 if (ascii == null)
17256 ascii = $._glyphs === B.C_AsciiGlyphSet;
17257 return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, ascii).call$0()), ascii, color);
17258 },
17259 compileStringAsync1(text, options) {
17260 var ascii,
17261 t1 = options == null,
17262 color = t1 ? null : J.get$alertColor$x(options);
17263 if (color == null)
17264 color = J.$eq$(self.process.stdout.isTTY, true);
17265 ascii = t1 ? null : J.get$alertAscii$x(options);
17266 if (ascii == null)
17267 ascii = $._glyphs === B.C_AsciiGlyphSet;
17268 return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, ascii).call$0()), ascii, color);
17269 },
17270 _convertResult(result) {
17271 var loadedUrls,
17272 t1 = result._compile_result$_serialize,
17273 t2 = t1.sourceMap,
17274 sourceMap = t2 == null ? null : t2.toJson$0();
17275 if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
17276 sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
17277 t2 = result._evaluate.loadedUrls;
17278 loadedUrls = A.toJSArray(new A.EfficientLengthMappedIterable(t2, A.utils1__dartToJSUrl$closure(), A._instanceType(t2)._eval$1("EfficientLengthMappedIterable<1,Object?>")));
17279 t1 = t1.css;
17280 return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify(sourceMap), loadedUrls: loadedUrls};
17281 },
17282 _wrapAsyncSassExceptions(promise, ascii, color) {
17283 return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
17284 },
17285 _parseOutputStyle0(style) {
17286 if (style == null || style === "expanded")
17287 return B.OutputStyle_expanded0;
17288 if (style === "compressed")
17289 return B.OutputStyle_compressed0;
17290 A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
17291 },
17292 _parseAsyncImporter(importer) {
17293 var t1, findFileUrl, canonicalize, load;
17294 if (importer == null)
17295 A.jsThrow(new self.Error("Importers may not be null."));
17296 type$.NodeImporter._as(importer);
17297 t1 = J.getInterceptor$x(importer);
17298 findFileUrl = t1.get$findFileUrl(importer);
17299 canonicalize = t1.get$canonicalize(importer);
17300 load = t1.get$load(importer);
17301 if (findFileUrl == null) {
17302 if (canonicalize == null || load == null)
17303 A.jsThrow(new self.Error(string$.An_impu));
17304 return new A.NodeToDartAsyncImporter(canonicalize, load);
17305 } else if (canonicalize != null || load != null)
17306 A.jsThrow(new self.Error(string$.An_impa));
17307 else
17308 return new A.NodeToDartAsyncFileImporter(findFileUrl);
17309 },
17310 _parseImporter0(importer) {
17311 var t1, findFileUrl, canonicalize, load;
17312 if (importer == null)
17313 A.jsThrow(new self.Error("Importers may not be null."));
17314 type$.NodeImporter._as(importer);
17315 t1 = J.getInterceptor$x(importer);
17316 findFileUrl = t1.get$findFileUrl(importer);
17317 canonicalize = t1.get$canonicalize(importer);
17318 load = t1.get$load(importer);
17319 if (findFileUrl == null) {
17320 if (canonicalize == null || load == null)
17321 A.jsThrow(new self.Error(string$.An_impu));
17322 return new A.NodeToDartImporter(canonicalize, load);
17323 } else if (canonicalize != null || load != null)
17324 A.jsThrow(new self.Error(string$.An_impa));
17325 else
17326 return new A.NodeToDartFileImporter(findFileUrl);
17327 },
17328 _parseFunctions0(functions, asynch) {
17329 var result;
17330 if (functions == null)
17331 return B.List_empty20;
17332 result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
17333 A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
17334 return result;
17335 },
17336 compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
17337 var _ = this;
17338 _.path = t0;
17339 _.color = t1;
17340 _.options = t2;
17341 _.ascii = t3;
17342 },
17343 compileAsync__closure: function compileAsync__closure() {
17344 },
17345 compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
17346 var _ = this;
17347 _.text = t0;
17348 _.options = t1;
17349 _.color = t2;
17350 _.ascii = t3;
17351 },
17352 compileStringAsync__closure: function compileStringAsync__closure() {
17353 },
17354 compileStringAsync__closure0: function compileStringAsync__closure0() {
17355 },
17356 _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
17357 this.color = t0;
17358 this.ascii = t1;
17359 },
17360 _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
17361 this.asynch = t0;
17362 this.result = t1;
17363 },
17364 _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
17365 this._box_0 = t0;
17366 this.callback = t1;
17367 },
17368 _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
17369 this._box_0 = t0;
17370 this.callback = t1;
17371 },
17372 compile(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
17373 var terseLogger, t1, t2, t3, stylesheet, t4, result, _null = null;
17374 if (!verbose) {
17375 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
17376 logger = terseLogger;
17377 } else
17378 terseLogger = _null;
17379 t1 = nodeImporter == null;
17380 if (t1)
17381 t2 = syntax == null || syntax === A.Syntax_forPath0(path);
17382 else
17383 t2 = false;
17384 if (t2) {
17385 if (importCache == null)
17386 importCache = A.ImportCache$none(logger);
17387 t2 = $.$get$context();
17388 t3 = t2.absolute$7(".", _null, _null, _null, _null, _null, _null);
17389 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));
17390 t3.toString;
17391 stylesheet = t3;
17392 } else {
17393 t2 = A.readFile0(path);
17394 t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
17395 t4 = $.$get$context();
17396 stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
17397 t2 = t4;
17398 }
17399 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);
17400 if (terseLogger != null)
17401 terseLogger.summarize$1$node(!t1);
17402 return result;
17403 },
17404 compileString(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
17405 var terseLogger, stylesheet, result, _null = null;
17406 if (!verbose) {
17407 terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
17408 logger = terseLogger;
17409 } else
17410 terseLogger = _null;
17411 stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS0 : syntax, logger, url);
17412 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);
17413 if (terseLogger != null)
17414 terseLogger.summarize$1$node(nodeImporter != null);
17415 return result;
17416 },
17417 _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
17418 var evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet),
17419 serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces),
17420 resultSourceMap = serializeResult.sourceMap;
17421 if (resultSourceMap != null && importCache != null)
17422 A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
17423 return new A.CompileResult0(evaluateResult, serializeResult);
17424 },
17425 _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
17426 this.stylesheet = t0;
17427 this.importCache = t1;
17428 },
17429 CompileOptions: function CompileOptions() {
17430 },
17431 CompileStringOptions: function CompileStringOptions() {
17432 },
17433 NodeCompileResult: function NodeCompileResult() {
17434 },
17435 CompileResult0: function CompileResult0(t0, t1) {
17436 this._evaluate = t0;
17437 this._compile_result$_serialize = t1;
17438 },
17439 ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
17440 var _ = this;
17441 _._complex1$_numeratorUnits = t0;
17442 _._complex1$_denominatorUnits = t1;
17443 _._number1$_value = t2;
17444 _.hashCache = null;
17445 _.asSlash = t3;
17446 },
17447 ComplexSelector$0(components, lineBreak) {
17448 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
17449 if (t1.length === 0)
17450 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
17451 return new A.ComplexSelector0(t1, lineBreak);
17452 },
17453 ComplexSelector0: function ComplexSelector0(t0, t1) {
17454 var _ = this;
17455 _.components = t0;
17456 _.lineBreak = t1;
17457 _._complex0$_maxSpecificity = _._complex0$_minSpecificity = null;
17458 _._complex0$__ComplexSelector_isInvisible = $;
17459 },
17460 ComplexSelector_isInvisible_closure0: function ComplexSelector_isInvisible_closure0() {
17461 },
17462 Combinator0: function Combinator0(t0) {
17463 this._complex0$_text = t0;
17464 },
17465 CompoundSelector$0(components) {
17466 var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
17467 if (t1.length === 0)
17468 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
17469 return new A.CompoundSelector0(t1);
17470 },
17471 CompoundSelector0: function CompoundSelector0(t0) {
17472 this.components = t0;
17473 this._compound0$_maxSpecificity = this._compound0$_minSpecificity = null;
17474 },
17475 CompoundSelector_isInvisible_closure0: function CompoundSelector_isInvisible_closure0() {
17476 },
17477 Configuration0: function Configuration0(t0) {
17478 this._configuration$_values = t0;
17479 },
17480 Configuration_toString_closure0: function Configuration_toString_closure0() {
17481 },
17482 ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1) {
17483 this.nodeWithSpan = t0;
17484 this._configuration$_values = t1;
17485 },
17486 ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
17487 this.value = t0;
17488 this.configurationSpan = t1;
17489 this.assignmentNode = t2;
17490 },
17491 ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
17492 var _ = this;
17493 _.name = t0;
17494 _.expression = t1;
17495 _.isGuarded = t2;
17496 _.span = t3;
17497 },
17498 ContentBlock$0($arguments, children, span) {
17499 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
17500 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
17501 return new A.ContentBlock0("@content", $arguments, span, t1, t2);
17502 },
17503 ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4) {
17504 var _ = this;
17505 _.name = t0;
17506 _.$arguments = t1;
17507 _.span = t2;
17508 _.children = t3;
17509 _.hasDeclarations = t4;
17510 },
17511 ContentRule0: function ContentRule0(t0, t1) {
17512 this.$arguments = t0;
17513 this.span = t1;
17514 },
17515 _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
17516 },
17517 CssParser0: function CssParser0(t0, t1, t2) {
17518 var _ = this;
17519 _._stylesheet0$_isUseAllowed = true;
17520 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
17521 _._stylesheet0$_globalVariables = t0;
17522 _.lastSilentComment = null;
17523 _.scanner = t1;
17524 _.logger = t2;
17525 },
17526 DebugRule0: function DebugRule0(t0, t1) {
17527 this.expression = t0;
17528 this.span = t1;
17529 },
17530 ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
17531 var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
17532 if (parsedAsCustomProperty)
17533 if (!J.startsWith$1$s($name.get$value($name), "--"))
17534 A.throwExpression(A.ArgumentError$(string$.parsed, null));
17535 else if (!(value.get$value(value) instanceof A.SassString0))
17536 A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
17537 return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, span);
17538 },
17539 ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
17540 var _ = this;
17541 _.name = t0;
17542 _.value = t1;
17543 _.parsedAsCustomProperty = t2;
17544 _.valueSpanForMap = t3;
17545 _.span = t4;
17546 _._node1$_indexInParent = _._node1$_parent = null;
17547 _.isGroupEnd = false;
17548 },
17549 Declaration$0($name, value, span) {
17550 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
17551 A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
17552 return new A.Declaration0($name, value, span, null, false);
17553 },
17554 Declaration$nested0($name, children, span, value) {
17555 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
17556 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
17557 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
17558 A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
17559 return new A.Declaration0($name, value, span, t1, t2);
17560 },
17561 Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
17562 var _ = this;
17563 _.name = t0;
17564 _.value = t1;
17565 _.span = t2;
17566 _.children = t3;
17567 _.hasDeclarations = t4;
17568 },
17569 SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
17570 this.name = t0;
17571 this.value = t1;
17572 this.span = t2;
17573 },
17574 DynamicImport0: function DynamicImport0(t0, t1) {
17575 this.urlString = t0;
17576 this.span = t1;
17577 },
17578 EachRule$0(variables, list, children, span) {
17579 var t1 = A.List_List$unmodifiable(variables, type$.String),
17580 t2 = A.List_List$unmodifiable(children, type$.Statement_2),
17581 t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
17582 return new A.EachRule0(t1, list, span, t2, t3);
17583 },
17584 EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
17585 var _ = this;
17586 _.variables = t0;
17587 _.list = t1;
17588 _.span = t2;
17589 _.children = t3;
17590 _.hasDeclarations = t4;
17591 },
17592 EachRule_toString_closure0: function EachRule_toString_closure0() {
17593 },
17594 EmptyExtensionStore0: function EmptyExtensionStore0() {
17595 },
17596 Environment$0() {
17597 var t1 = type$.String,
17598 t2 = type$.Module_Callable_2,
17599 t3 = type$.AstNode_2,
17600 t4 = type$.int,
17601 t5 = type$.Callable_2,
17602 t6 = type$.JSArray_Map_String_Callable_2;
17603 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);
17604 },
17605 Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
17606 var t1 = type$.String,
17607 t2 = type$.int;
17608 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);
17609 },
17610 _EnvironmentModule__EnvironmentModule1(environment, css, extensionStore, forwarded) {
17611 var t1, t2, t3, t4, t5, t6;
17612 if (forwarded == null)
17613 forwarded = B.Set_empty2;
17614 t1 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
17615 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);
17616 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);
17617 t4 = type$.Map_String_Callable_2;
17618 t5 = type$.Callable_2;
17619 t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t4), t5);
17620 t5 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t4), t5);
17621 t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure15());
17622 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()));
17623 },
17624 _EnvironmentModule__makeModulesByVariable1(forwarded) {
17625 var modulesByVariable, t1, t2, t3, t4, t5;
17626 if (forwarded.get$isEmpty(forwarded))
17627 return B.Map_empty6;
17628 modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
17629 for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
17630 t2 = t1.get$current(t1);
17631 if (t2 instanceof A._EnvironmentModule1) {
17632 for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
17633 t4 = t3.get$current(t3);
17634 t5 = t4.get$variables();
17635 A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
17636 }
17637 A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
17638 } else {
17639 t3 = t2.get$variables();
17640 A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
17641 }
17642 }
17643 return modulesByVariable;
17644 },
17645 _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
17646 var t1, t2, t3;
17647 localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
17648 if (otherMaps.get$isEmpty(otherMaps))
17649 return localMap;
17650 t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
17651 for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
17652 t3 = t2.get$current(t2);
17653 if (t3.get$isNotEmpty(t3))
17654 t1.push(t3);
17655 }
17656 t1.push(localMap);
17657 if (t1.length === 1)
17658 return localMap;
17659 return A.MergedMapView$0(t1, type$.String, $V);
17660 },
17661 _EnvironmentModule$_1(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
17662 return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
17663 },
17664 Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
17665 var _ = this;
17666 _._environment0$_modules = t0;
17667 _._environment0$_namespaceNodes = t1;
17668 _._environment0$_globalModules = t2;
17669 _._environment0$_importedModules = t3;
17670 _._environment0$_forwardedModules = t4;
17671 _._environment0$_nestedForwardedModules = t5;
17672 _._environment0$_allModules = t6;
17673 _._environment0$_variables = t7;
17674 _._environment0$_variableNodes = t8;
17675 _._environment0$_variableIndices = t9;
17676 _._environment0$_functions = t10;
17677 _._environment0$_functionIndices = t11;
17678 _._environment0$_mixins = t12;
17679 _._environment0$_mixinIndices = t13;
17680 _._environment0$_content = t14;
17681 _._environment0$_inMixin = false;
17682 _._environment0$_inSemiGlobalScope = true;
17683 _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
17684 },
17685 Environment_importForwards_closure2: function Environment_importForwards_closure2() {
17686 },
17687 Environment_importForwards_closure3: function Environment_importForwards_closure3() {
17688 },
17689 Environment_importForwards_closure4: function Environment_importForwards_closure4() {
17690 },
17691 Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
17692 this.name = t0;
17693 },
17694 Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
17695 this.$this = t0;
17696 this.name = t1;
17697 },
17698 Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
17699 this.name = t0;
17700 },
17701 Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
17702 this.$this = t0;
17703 this.name = t1;
17704 },
17705 Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
17706 this.name = t0;
17707 },
17708 Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
17709 this.name = t0;
17710 },
17711 Environment_toModule_closure0: function Environment_toModule_closure0() {
17712 },
17713 Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
17714 },
17715 Environment__fromOneModule_closure0: function Environment__fromOneModule_closure0(t0, t1) {
17716 this.callback = t0;
17717 this.T = t1;
17718 },
17719 Environment__fromOneModule__closure0: function Environment__fromOneModule__closure0(t0, t1) {
17720 this.entry = t0;
17721 this.T = t1;
17722 },
17723 _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
17724 var _ = this;
17725 _.upstream = t0;
17726 _.variables = t1;
17727 _.variableNodes = t2;
17728 _.functions = t3;
17729 _.mixins = t4;
17730 _.extensionStore = t5;
17731 _.css = t6;
17732 _.transitivelyContainsCss = t7;
17733 _.transitivelyContainsExtensions = t8;
17734 _._environment0$_environment = t9;
17735 _._environment0$_modulesByVariable = t10;
17736 },
17737 _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
17738 },
17739 _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
17740 },
17741 _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
17742 },
17743 _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
17744 },
17745 _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
17746 },
17747 _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
17748 },
17749 ErrorRule0: function ErrorRule0(t0, t1) {
17750 this.expression = t0;
17751 this.span = t1;
17752 },
17753 _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
17754 var t4,
17755 t1 = type$.Uri,
17756 t2 = type$.Module_Callable_2,
17757 t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
17758 if (nodeImporter == null)
17759 t4 = importCache == null ? A.ImportCache$none(logger) : importCache;
17760 else
17761 t4 = null;
17762 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);
17763 t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
17764 return t1;
17765 },
17766 _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
17767 var _ = this;
17768 _._evaluate0$_importCache = t0;
17769 _._evaluate0$_nodeImporter = t1;
17770 _._evaluate0$_builtInFunctions = t2;
17771 _._evaluate0$_builtInModules = t3;
17772 _._evaluate0$_modules = t4;
17773 _._evaluate0$_moduleNodes = t5;
17774 _._evaluate0$_logger = t6;
17775 _._evaluate0$_warningsEmitted = t7;
17776 _._evaluate0$_quietDeps = t8;
17777 _._evaluate0$_sourceMap = t9;
17778 _._evaluate0$_environment = t10;
17779 _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
17780 _._evaluate0$_member = "root stylesheet";
17781 _._evaluate0$_importSpan = _._evaluate0$_callableNode = null;
17782 _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
17783 _._evaluate0$_loadedUrls = t11;
17784 _._evaluate0$_activeModules = t12;
17785 _._evaluate0$_stack = t13;
17786 _._evaluate0$_importer = null;
17787 _._evaluate0$_inDependency = false;
17788 _._evaluate0$__extensionStore = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
17789 _._evaluate0$_configuration = t14;
17790 },
17791 _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
17792 this.$this = t0;
17793 },
17794 _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
17795 this.$this = t0;
17796 },
17797 _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
17798 this.$this = t0;
17799 },
17800 _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
17801 this.$this = t0;
17802 },
17803 _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
17804 this.$this = t0;
17805 },
17806 _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
17807 this.$this = t0;
17808 },
17809 _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
17810 this.$this = t0;
17811 },
17812 _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
17813 this.$this = t0;
17814 },
17815 _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
17816 this.$this = t0;
17817 this.name = t1;
17818 this.module = t2;
17819 },
17820 _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
17821 this.$this = t0;
17822 },
17823 _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
17824 this.$this = t0;
17825 },
17826 _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
17827 this.values = t0;
17828 this.span = t1;
17829 this.callableNode = t2;
17830 },
17831 _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0) {
17832 this.$this = t0;
17833 },
17834 _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
17835 this.$this = t0;
17836 this.node = t1;
17837 this.importer = t2;
17838 },
17839 _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
17840 this.callback = t0;
17841 this.builtInModule = t1;
17842 },
17843 _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
17844 var _ = this;
17845 _.$this = t0;
17846 _.url = t1;
17847 _.nodeWithSpan = t2;
17848 _.baseUrl = t3;
17849 _.namesInErrors = t4;
17850 _.configuration = t5;
17851 _.callback = t6;
17852 },
17853 _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
17854 this.$this = t0;
17855 this.message = t1;
17856 },
17857 _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5) {
17858 var _ = this;
17859 _.$this = t0;
17860 _.importer = t1;
17861 _.stylesheet = t2;
17862 _.extensionStore = t3;
17863 _.configuration = t4;
17864 _.css = t5;
17865 },
17866 _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
17867 },
17868 _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
17869 this.selectors = t0;
17870 },
17871 _EvaluateVisitor__combineCss_closure7: function _EvaluateVisitor__combineCss_closure7() {
17872 },
17873 _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
17874 this.originalSelectors = t0;
17875 },
17876 _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
17877 },
17878 _EvaluateVisitor__topologicalModules_visitModule1: function _EvaluateVisitor__topologicalModules_visitModule1(t0, t1) {
17879 this.seen = t0;
17880 this.sorted = t1;
17881 },
17882 _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
17883 this.$this = t0;
17884 this.resolved = t1;
17885 },
17886 _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
17887 this.$this = t0;
17888 this.node = t1;
17889 },
17890 _EvaluateVisitor_visitAtRootRule_closure7: function _EvaluateVisitor_visitAtRootRule_closure7(t0, t1) {
17891 this.$this = t0;
17892 this.node = t1;
17893 },
17894 _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
17895 this.$this = t0;
17896 this.newParent = t1;
17897 this.node = t2;
17898 },
17899 _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
17900 this.$this = t0;
17901 this.innerScope = t1;
17902 },
17903 _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
17904 this.$this = t0;
17905 this.innerScope = t1;
17906 },
17907 _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
17908 this.innerScope = t0;
17909 this.callback = t1;
17910 },
17911 _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
17912 this.$this = t0;
17913 this.innerScope = t1;
17914 },
17915 _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
17916 },
17917 _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
17918 this.$this = t0;
17919 this.innerScope = t1;
17920 },
17921 _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
17922 this.$this = t0;
17923 this.content = t1;
17924 },
17925 _EvaluateVisitor_visitDeclaration_closure3: function _EvaluateVisitor_visitDeclaration_closure3(t0) {
17926 this.$this = t0;
17927 },
17928 _EvaluateVisitor_visitDeclaration_closure4: function _EvaluateVisitor_visitDeclaration_closure4(t0, t1) {
17929 this.$this = t0;
17930 this.children = t1;
17931 },
17932 _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
17933 this.$this = t0;
17934 this.node = t1;
17935 this.nodeWithSpan = t2;
17936 },
17937 _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
17938 this.$this = t0;
17939 this.node = t1;
17940 this.nodeWithSpan = t2;
17941 },
17942 _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
17943 var _ = this;
17944 _.$this = t0;
17945 _.list = t1;
17946 _.setVariables = t2;
17947 _.node = t3;
17948 },
17949 _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
17950 this.$this = t0;
17951 this.setVariables = t1;
17952 this.node = t2;
17953 },
17954 _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
17955 this.$this = t0;
17956 },
17957 _EvaluateVisitor_visitExtendRule_closure1: function _EvaluateVisitor_visitExtendRule_closure1(t0, t1) {
17958 this.$this = t0;
17959 this.targetText = t1;
17960 },
17961 _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
17962 this.$this = t0;
17963 },
17964 _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1) {
17965 this.$this = t0;
17966 this.children = t1;
17967 },
17968 _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
17969 this.$this = t0;
17970 this.children = t1;
17971 },
17972 _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
17973 },
17974 _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
17975 this.$this = t0;
17976 this.node = t1;
17977 },
17978 _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
17979 this.$this = t0;
17980 this.node = t1;
17981 },
17982 _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
17983 this.fromNumber = t0;
17984 },
17985 _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
17986 this.toNumber = t0;
17987 this.fromNumber = t1;
17988 },
17989 _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
17990 var _ = this;
17991 _._box_0 = t0;
17992 _.$this = t1;
17993 _.node = t2;
17994 _.from = t3;
17995 _.direction = t4;
17996 _.fromNumber = t5;
17997 },
17998 _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
17999 this.$this = t0;
18000 },
18001 _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
18002 this.$this = t0;
18003 this.node = t1;
18004 },
18005 _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
18006 this.$this = t0;
18007 this.node = t1;
18008 },
18009 _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0, t1) {
18010 this._box_0 = t0;
18011 this.$this = t1;
18012 },
18013 _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0) {
18014 this.$this = t0;
18015 },
18016 _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
18017 this.$this = t0;
18018 this.$import = t1;
18019 },
18020 _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
18021 this.$this = t0;
18022 },
18023 _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
18024 },
18025 _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
18026 },
18027 _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4, t5) {
18028 var _ = this;
18029 _.$this = t0;
18030 _.result = t1;
18031 _.stylesheet = t2;
18032 _.loadsUserDefinedModules = t3;
18033 _.environment = t4;
18034 _.children = t5;
18035 },
18036 _EvaluateVisitor__visitStaticImport_closure1: function _EvaluateVisitor__visitStaticImport_closure1(t0) {
18037 this.$this = t0;
18038 },
18039 _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0, t1) {
18040 this.$this = t0;
18041 this.node = t1;
18042 },
18043 _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0) {
18044 this.node = t0;
18045 },
18046 _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
18047 this.$this = t0;
18048 },
18049 _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0, t1, t2, t3) {
18050 var _ = this;
18051 _.$this = t0;
18052 _.contentCallable = t1;
18053 _.mixin = t2;
18054 _.nodeWithSpan = t3;
18055 },
18056 _EvaluateVisitor_visitIncludeRule__closure1: function _EvaluateVisitor_visitIncludeRule__closure1(t0, t1, t2) {
18057 this.$this = t0;
18058 this.mixin = t1;
18059 this.nodeWithSpan = t2;
18060 },
18061 _EvaluateVisitor_visitIncludeRule___closure1: function _EvaluateVisitor_visitIncludeRule___closure1(t0, t1, t2) {
18062 this.$this = t0;
18063 this.mixin = t1;
18064 this.nodeWithSpan = t2;
18065 },
18066 _EvaluateVisitor_visitIncludeRule____closure1: function _EvaluateVisitor_visitIncludeRule____closure1(t0, t1) {
18067 this.$this = t0;
18068 this.statement = t1;
18069 },
18070 _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
18071 this.$this = t0;
18072 this.queries = t1;
18073 },
18074 _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3) {
18075 var _ = this;
18076 _.$this = t0;
18077 _.mergedQueries = t1;
18078 _.queries = t2;
18079 _.node = t3;
18080 },
18081 _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
18082 this.$this = t0;
18083 this.node = t1;
18084 },
18085 _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
18086 this.$this = t0;
18087 this.node = t1;
18088 },
18089 _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
18090 this.mergedQueries = t0;
18091 },
18092 _EvaluateVisitor__visitMediaQueries_closure1: function _EvaluateVisitor__visitMediaQueries_closure1(t0, t1) {
18093 this.$this = t0;
18094 this.resolved = t1;
18095 },
18096 _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13(t0, t1) {
18097 this.$this = t0;
18098 this.selectorText = t1;
18099 },
18100 _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1) {
18101 this.$this = t0;
18102 this.node = t1;
18103 },
18104 _EvaluateVisitor_visitStyleRule_closure15: function _EvaluateVisitor_visitStyleRule_closure15() {
18105 },
18106 _EvaluateVisitor_visitStyleRule_closure16: function _EvaluateVisitor_visitStyleRule_closure16(t0, t1) {
18107 this.$this = t0;
18108 this.selectorText = t1;
18109 },
18110 _EvaluateVisitor_visitStyleRule_closure17: function _EvaluateVisitor_visitStyleRule_closure17(t0, t1) {
18111 this._box_0 = t0;
18112 this.$this = t1;
18113 },
18114 _EvaluateVisitor_visitStyleRule_closure18: function _EvaluateVisitor_visitStyleRule_closure18(t0, t1, t2) {
18115 this.$this = t0;
18116 this.rule = t1;
18117 this.node = t2;
18118 },
18119 _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
18120 this.$this = t0;
18121 this.node = t1;
18122 },
18123 _EvaluateVisitor_visitStyleRule_closure19: function _EvaluateVisitor_visitStyleRule_closure19() {
18124 },
18125 _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
18126 this.$this = t0;
18127 this.node = t1;
18128 },
18129 _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
18130 this.$this = t0;
18131 this.node = t1;
18132 },
18133 _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
18134 },
18135 _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
18136 this.$this = t0;
18137 this.node = t1;
18138 this.override = t2;
18139 },
18140 _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
18141 this.$this = t0;
18142 this.node = t1;
18143 },
18144 _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
18145 this.$this = t0;
18146 this.node = t1;
18147 this.value = t2;
18148 },
18149 _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
18150 this.$this = t0;
18151 this.node = t1;
18152 },
18153 _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
18154 this.$this = t0;
18155 this.node = t1;
18156 },
18157 _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
18158 this.$this = t0;
18159 this.node = t1;
18160 },
18161 _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
18162 this.$this = t0;
18163 },
18164 _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
18165 this.$this = t0;
18166 this.node = t1;
18167 },
18168 _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1() {
18169 },
18170 _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
18171 this.$this = t0;
18172 this.node = t1;
18173 },
18174 _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
18175 this.node = t0;
18176 this.operand = t1;
18177 },
18178 _EvaluateVisitor__visitCalculationValue_closure1: function _EvaluateVisitor__visitCalculationValue_closure1(t0, t1, t2) {
18179 this.$this = t0;
18180 this.node = t1;
18181 this.inMinMax = t2;
18182 },
18183 _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
18184 this.$this = t0;
18185 },
18186 _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3(t0, t1) {
18187 this.$this = t0;
18188 this.node = t1;
18189 },
18190 _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
18191 this._box_0 = t0;
18192 this.$this = t1;
18193 this.node = t2;
18194 },
18195 _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
18196 this.$this = t0;
18197 this.node = t1;
18198 this.$function = t2;
18199 },
18200 _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
18201 var _ = this;
18202 _.$this = t0;
18203 _.callable = t1;
18204 _.evaluated = t2;
18205 _.nodeWithSpan = t3;
18206 _.run = t4;
18207 _.V = t5;
18208 },
18209 _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
18210 var _ = this;
18211 _.$this = t0;
18212 _.evaluated = t1;
18213 _.callable = t2;
18214 _.nodeWithSpan = t3;
18215 _.run = t4;
18216 _.V = t5;
18217 },
18218 _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
18219 var _ = this;
18220 _.$this = t0;
18221 _.evaluated = t1;
18222 _.callable = t2;
18223 _.nodeWithSpan = t3;
18224 _.run = t4;
18225 _.V = t5;
18226 },
18227 _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
18228 },
18229 _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
18230 this.$this = t0;
18231 this.callable = t1;
18232 },
18233 _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1, t2) {
18234 this.overload = t0;
18235 this.evaluated = t1;
18236 this.namedSet = t2;
18237 },
18238 _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
18239 },
18240 _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
18241 },
18242 _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
18243 this.$this = t0;
18244 this.restNodeForSpan = t1;
18245 },
18246 _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
18247 var _ = this;
18248 _.$this = t0;
18249 _.named = t1;
18250 _.restNodeForSpan = t2;
18251 _.namedNodes = t3;
18252 },
18253 _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
18254 },
18255 _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
18256 this.restArgs = t0;
18257 },
18258 _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
18259 this.$this = t0;
18260 this.restNodeForSpan = t1;
18261 this.restArgs = t2;
18262 },
18263 _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
18264 var _ = this;
18265 _.$this = t0;
18266 _.named = t1;
18267 _.restNodeForSpan = t2;
18268 _.restArgs = t3;
18269 },
18270 _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
18271 this.$this = t0;
18272 this.keywordRestNodeForSpan = t1;
18273 this.keywordRestArgs = t2;
18274 },
18275 _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
18276 var _ = this;
18277 _.$this = t0;
18278 _.values = t1;
18279 _.convert = t2;
18280 _.expressionNode = t3;
18281 _.map = t4;
18282 _.nodeWithSpan = t5;
18283 },
18284 _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
18285 this.$arguments = t0;
18286 this.positional = t1;
18287 this.named = t2;
18288 },
18289 _EvaluateVisitor_visitStringExpression_closure1: function _EvaluateVisitor_visitStringExpression_closure1(t0) {
18290 this.$this = t0;
18291 },
18292 _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
18293 this.$this = t0;
18294 this.node = t1;
18295 },
18296 _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
18297 },
18298 _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
18299 this.$this = t0;
18300 this.node = t1;
18301 },
18302 _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
18303 },
18304 _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
18305 this.$this = t0;
18306 this.node = t1;
18307 },
18308 _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2) {
18309 this.$this = t0;
18310 this.mergedQueries = t1;
18311 this.node = t2;
18312 },
18313 _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
18314 this.$this = t0;
18315 this.node = t1;
18316 },
18317 _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
18318 this.$this = t0;
18319 this.node = t1;
18320 },
18321 _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
18322 this.mergedQueries = t0;
18323 },
18324 _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3(t0, t1, t2) {
18325 this.$this = t0;
18326 this.rule = t1;
18327 this.node = t2;
18328 },
18329 _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
18330 this.$this = t0;
18331 this.node = t1;
18332 },
18333 _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4() {
18334 },
18335 _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
18336 this.$this = t0;
18337 this.node = t1;
18338 },
18339 _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
18340 this.$this = t0;
18341 this.node = t1;
18342 },
18343 _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
18344 },
18345 _EvaluateVisitor__performInterpolation_closure1: function _EvaluateVisitor__performInterpolation_closure1(t0, t1, t2) {
18346 this.$this = t0;
18347 this.warnForColor = t1;
18348 this.interpolation = t2;
18349 },
18350 _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
18351 this.value = t0;
18352 this.quote = t1;
18353 },
18354 _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
18355 this.$this = t0;
18356 this.expression = t1;
18357 },
18358 _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
18359 },
18360 _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
18361 this.$this = t0;
18362 },
18363 _EvaluateVisitor__stackTrace_closure1: function _EvaluateVisitor__stackTrace_closure1(t0) {
18364 this.$this = t0;
18365 },
18366 _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
18367 this._evaluate0$_visitor = t0;
18368 },
18369 _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
18370 },
18371 _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
18372 this.hasBeenMerged = t0;
18373 },
18374 _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
18375 },
18376 _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
18377 },
18378 _EvaluationContext1: function _EvaluationContext1(t0, t1) {
18379 this._evaluate0$_visitor = t0;
18380 this._evaluate0$_defaultWarnNodeWithSpan = t1;
18381 },
18382 _ArgumentResults1: function _ArgumentResults1(t0, t1, t2, t3, t4) {
18383 var _ = this;
18384 _.positional = t0;
18385 _.positionalNodes = t1;
18386 _.named = t2;
18387 _.namedNodes = t3;
18388 _.separator = t4;
18389 },
18390 _LoadedStylesheet1: function _LoadedStylesheet1(t0, t1, t2) {
18391 this.stylesheet = t0;
18392 this.importer = t1;
18393 this.isDependency = t2;
18394 },
18395 throwNodeException(exception, ascii, color, trace) {
18396 var wasAscii, jsException, trace0;
18397 trace = trace;
18398 wasAscii = $._glyphs === B.C_AsciiGlyphSet;
18399 $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
18400 try {
18401 jsException = type$._NodeException._as(A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]));
18402 trace0 = A.getTrace0(exception);
18403 trace = trace0 == null ? trace : trace0;
18404 if (trace != null)
18405 A.attachJsStack(jsException, trace);
18406 A.jsThrow(jsException);
18407 } finally {
18408 $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
18409 }
18410 },
18411 _NodeException: function _NodeException() {
18412 },
18413 exceptionClass_closure: function exceptionClass_closure() {
18414 },
18415 exceptionClass__closure: function exceptionClass__closure() {
18416 },
18417 exceptionClass__closure0: function exceptionClass__closure0() {
18418 },
18419 exceptionClass__closure1: function exceptionClass__closure1() {
18420 },
18421 SassException$0(message, span) {
18422 return new A.SassException0(message, span);
18423 },
18424 MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace) {
18425 return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
18426 },
18427 SassFormatException$0(message, span) {
18428 return new A.SassFormatException0(message, span);
18429 },
18430 SassScriptException$0(message) {
18431 return new A.SassScriptException0(message);
18432 },
18433 MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
18434 return new A.MultiSpanSassScriptException0(primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message);
18435 },
18436 SassException0: function SassException0(t0, t1) {
18437 this._span_exception$_message = t0;
18438 this._span = t1;
18439 },
18440 MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3) {
18441 var _ = this;
18442 _.primaryLabel = t0;
18443 _.secondarySpans = t1;
18444 _._span_exception$_message = t2;
18445 _._span = t3;
18446 },
18447 SassRuntimeException0: function SassRuntimeException0(t0, t1, t2) {
18448 this.trace = t0;
18449 this._span_exception$_message = t1;
18450 this._span = t2;
18451 },
18452 MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4) {
18453 var _ = this;
18454 _.trace = t0;
18455 _.primaryLabel = t1;
18456 _.secondarySpans = t2;
18457 _._span_exception$_message = t3;
18458 _._span = t4;
18459 },
18460 SassFormatException0: function SassFormatException0(t0, t1) {
18461 this._span_exception$_message = t0;
18462 this._span = t1;
18463 },
18464 SassScriptException0: function SassScriptException0(t0) {
18465 this.message = t0;
18466 },
18467 MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
18468 this.primaryLabel = t0;
18469 this.secondarySpans = t1;
18470 this.message = t2;
18471 },
18472 Exports: function Exports() {
18473 },
18474 LoggerNamespace: function LoggerNamespace() {
18475 },
18476 ExtendRule0: function ExtendRule0(t0, t1, t2) {
18477 this.selector = t0;
18478 this.isOptional = t1;
18479 this.span = t2;
18480 },
18481 Extension0: function Extension0(t0, t1, t2, t3, t4) {
18482 var _ = this;
18483 _.extender = t0;
18484 _.target = t1;
18485 _.mediaContext = t2;
18486 _.isOptional = t3;
18487 _.span = t4;
18488 },
18489 Extender0: function Extender0(t0, t1, t2) {
18490 var _ = this;
18491 _.selector = t0;
18492 _.isOriginal = t1;
18493 _._extension$_extension = null;
18494 _.span = t2;
18495 },
18496 ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
18497 var t1, t2, t3, t4, t5, t6, t7, t8, t9, _i, complex, t10, t11, t12, _i0, simple, t13, _i1, t14, t15,
18498 extender = A.ExtensionStore$_mode0(mode);
18499 if (!selector.get$isInvisible())
18500 extender._extension_store$_originals.addAll$1(0, selector.components);
18501 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) {
18502 complex = t1[_i];
18503 t10 = complex.components;
18504 if (t10.length !== 1)
18505 throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + A.S(complex) + "."));
18506 t11 = A.LinkedHashMap_LinkedHashMap$_empty(t8, t9);
18507 for (t10 = t7._as(B.JSArray_methods.get$first(t10)).components, t12 = t10.length, _i0 = 0; _i0 < t12; ++_i0) {
18508 simple = t10[_i0];
18509 t13 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
18510 for (_i1 = 0; _i1 < t4; ++_i1) {
18511 complex = t3[_i1];
18512 if (complex._complex0$_maxSpecificity == null)
18513 complex._complex0$_computeSpecificity$0();
18514 complex._complex0$_maxSpecificity.toString;
18515 t14 = new A.Extender0(complex, false, span);
18516 t15 = new A.Extension0(t14, simple, null, true, span);
18517 t14._extension$_extension = t15;
18518 t13.$indexSet(0, complex, t15);
18519 }
18520 t11.$indexSet(0, simple, t13);
18521 }
18522 selector = extender._extension_store$_extendList$3(selector, span, t11);
18523 }
18524 return selector;
18525 },
18526 ExtensionStore$0() {
18527 var t1 = type$.SimpleSelector_2;
18528 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);
18529 },
18530 ExtensionStore$_mode0(_mode) {
18531 var t1 = type$.SimpleSelector_2;
18532 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);
18533 },
18534 ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
18535 var _ = this;
18536 _._extension_store$_selectors = t0;
18537 _._extension_store$_extensions = t1;
18538 _._extension_store$_extensionsByExtender = t2;
18539 _._extension_store$_mediaContexts = t3;
18540 _._extension_store$_sourceSpecificity = t4;
18541 _._extension_store$_originals = t5;
18542 _._extension_store$_mode = t6;
18543 },
18544 ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
18545 },
18546 ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
18547 },
18548 ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
18549 },
18550 ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
18551 },
18552 ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
18553 this.complex = t0;
18554 },
18555 ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
18556 },
18557 ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
18558 },
18559 ExtensionStore_addExtensions_closure1: function ExtensionStore_addExtensions_closure1(t0, t1) {
18560 this._box_0 = t0;
18561 this.$this = t1;
18562 },
18563 ExtensionStore_addExtensions__closure4: function ExtensionStore_addExtensions__closure4(t0, t1, t2, t3, t4) {
18564 var _ = this;
18565 _._box_0 = t0;
18566 _.existingSources = t1;
18567 _.extensionsForTarget = t2;
18568 _.selectorsForTarget = t3;
18569 _.target = t4;
18570 },
18571 ExtensionStore_addExtensions___closure0: function ExtensionStore_addExtensions___closure0() {
18572 },
18573 ExtensionStore_addExtensions_closure2: function ExtensionStore_addExtensions_closure2(t0, t1) {
18574 this._box_0 = t0;
18575 this.$this = t1;
18576 },
18577 ExtensionStore_addExtensions__closure2: function ExtensionStore_addExtensions__closure2(t0, t1) {
18578 this.$this = t0;
18579 this.newExtensions = t1;
18580 },
18581 ExtensionStore_addExtensions__closure3: function ExtensionStore_addExtensions__closure3(t0, t1) {
18582 this.$this = t0;
18583 this.newExtensions = t1;
18584 },
18585 ExtensionStore__extendComplex_closure1: function ExtensionStore__extendComplex_closure1(t0) {
18586 this.complex = t0;
18587 },
18588 ExtensionStore__extendComplex_closure2: function ExtensionStore__extendComplex_closure2(t0, t1, t2) {
18589 this._box_0 = t0;
18590 this.$this = t1;
18591 this.complex = t2;
18592 },
18593 ExtensionStore__extendComplex__closure1: function ExtensionStore__extendComplex__closure1() {
18594 },
18595 ExtensionStore__extendComplex__closure2: function ExtensionStore__extendComplex__closure2(t0, t1, t2, t3) {
18596 var _ = this;
18597 _._box_0 = t0;
18598 _.$this = t1;
18599 _.complex = t2;
18600 _.path = t3;
18601 },
18602 ExtensionStore__extendComplex___closure0: function ExtensionStore__extendComplex___closure0() {
18603 },
18604 ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
18605 this.mediaQueryContext = t0;
18606 },
18607 ExtensionStore__extendCompound_closure5: function ExtensionStore__extendCompound_closure5(t0, t1) {
18608 this._box_1 = t0;
18609 this.mediaQueryContext = t1;
18610 },
18611 ExtensionStore__extendCompound__closure1: function ExtensionStore__extendCompound__closure1() {
18612 },
18613 ExtensionStore__extendCompound__closure2: function ExtensionStore__extendCompound__closure2(t0) {
18614 this._box_0 = t0;
18615 },
18616 ExtensionStore__extendCompound_closure6: function ExtensionStore__extendCompound_closure6() {
18617 },
18618 ExtensionStore__extendCompound_closure7: function ExtensionStore__extendCompound_closure7() {
18619 },
18620 ExtensionStore__extendCompound_closure8: function ExtensionStore__extendCompound_closure8(t0) {
18621 this.original = t0;
18622 },
18623 ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2, t3) {
18624 var _ = this;
18625 _.$this = t0;
18626 _.extensions = t1;
18627 _.targetsUsed = t2;
18628 _.simpleSpan = t3;
18629 },
18630 ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1, t2) {
18631 this.$this = t0;
18632 this.withoutPseudo = t1;
18633 this.simpleSpan = t2;
18634 },
18635 ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
18636 },
18637 ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
18638 },
18639 ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
18640 },
18641 ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
18642 },
18643 ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
18644 this.pseudo = t0;
18645 },
18646 ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0) {
18647 this.pseudo = t0;
18648 },
18649 ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
18650 this._box_0 = t0;
18651 this.complex1 = t1;
18652 },
18653 ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
18654 this._box_0 = t0;
18655 this.complex1 = t1;
18656 },
18657 ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
18658 var _ = this;
18659 _.$this = t0;
18660 _.newSelectors = t1;
18661 _.oldToNewSelectors = t2;
18662 _.newMediaContexts = t3;
18663 },
18664 FiberClass: function FiberClass() {
18665 },
18666 Fiber: function Fiber() {
18667 },
18668 NodeToDartFileImporter: function NodeToDartFileImporter(t0) {
18669 this._file0$_findFileUrl = t0;
18670 },
18671 FilesystemImporter$(loadPath) {
18672 var _null = null;
18673 return new A.FilesystemImporter0($.$get$context().absolute$7(loadPath, _null, _null, _null, _null, _null, _null));
18674 },
18675 FilesystemImporter0: function FilesystemImporter0(t0) {
18676 this._filesystem$_loadPath = t0;
18677 },
18678 FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
18679 },
18680 ForRule$0(variable, from, to, children, span, exclusive) {
18681 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
18682 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
18683 return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
18684 },
18685 ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
18686 var _ = this;
18687 _.variable = t0;
18688 _.from = t1;
18689 _.to = t2;
18690 _.isExclusive = t3;
18691 _.span = t4;
18692 _.children = t5;
18693 _.hasDeclarations = t6;
18694 },
18695 ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
18696 var _ = this;
18697 _.url = t0;
18698 _.shownMixinsAndFunctions = t1;
18699 _.shownVariables = t2;
18700 _.hiddenMixinsAndFunctions = t3;
18701 _.hiddenVariables = t4;
18702 _.prefix = t5;
18703 _.configuration = t6;
18704 _.span = t7;
18705 },
18706 ForwardedModuleView_ifNecessary0(inner, rule, $T) {
18707 var t1;
18708 if (rule.prefix == null)
18709 if (rule.shownMixinsAndFunctions == null)
18710 if (rule.shownVariables == null) {
18711 t1 = rule.hiddenMixinsAndFunctions;
18712 if (t1 == null)
18713 t1 = null;
18714 else {
18715 t1 = t1._base;
18716 t1 = t1.get$isEmpty(t1);
18717 }
18718 if (t1 === true) {
18719 t1 = rule.hiddenVariables;
18720 if (t1 == null)
18721 t1 = null;
18722 else {
18723 t1 = t1._base;
18724 t1 = t1.get$isEmpty(t1);
18725 }
18726 t1 = t1 === true;
18727 } else
18728 t1 = false;
18729 } else
18730 t1 = false;
18731 else
18732 t1 = false;
18733 else
18734 t1 = false;
18735 if (t1)
18736 return inner;
18737 else
18738 return A.ForwardedModuleView$0(inner, rule, $T);
18739 },
18740 ForwardedModuleView$0(_inner, _rule, $T) {
18741 var t1 = _rule.prefix,
18742 t2 = _rule.shownVariables,
18743 t3 = _rule.hiddenVariables,
18744 t4 = _rule.shownMixinsAndFunctions,
18745 t5 = _rule.hiddenMixinsAndFunctions;
18746 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>"));
18747 },
18748 ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
18749 var t2,
18750 t1 = prefix == null;
18751 if (t1)
18752 if (safelist == null)
18753 if (blocklist != null) {
18754 t2 = blocklist._base;
18755 t2 = t2.get$isEmpty(t2);
18756 } else
18757 t2 = true;
18758 else
18759 t2 = false;
18760 else
18761 t2 = false;
18762 if (t2)
18763 return map;
18764 if (!t1)
18765 map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
18766 if (safelist != null)
18767 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>"));
18768 else {
18769 if (blocklist != null) {
18770 t1 = blocklist._base;
18771 t1 = t1.get$isNotEmpty(t1);
18772 } else
18773 t1 = false;
18774 if (t1)
18775 map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
18776 }
18777 return map;
18778 },
18779 ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
18780 var _ = this;
18781 _._forwarded_view0$_inner = t0;
18782 _._forwarded_view0$_rule = t1;
18783 _.variables = t2;
18784 _.variableNodes = t3;
18785 _.functions = t4;
18786 _.mixins = t5;
18787 _.$ti = t6;
18788 },
18789 FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3) {
18790 var _ = this;
18791 _.namespace = t0;
18792 _.originalName = t1;
18793 _.$arguments = t2;
18794 _.span = t3;
18795 },
18796 JSFunction0: function JSFunction0() {
18797 },
18798 SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
18799 this.name = t0;
18800 this.$arguments = t1;
18801 this.span = t2;
18802 },
18803 functionClass_closure: function functionClass_closure() {
18804 },
18805 functionClass__closure: function functionClass__closure() {
18806 },
18807 functionClass__closure0: function functionClass__closure0() {
18808 },
18809 SassFunction0: function SassFunction0(t0) {
18810 this.callable = t0;
18811 },
18812 FunctionRule$0($name, $arguments, children, span, comment) {
18813 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
18814 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
18815 return new A.FunctionRule0($name, $arguments, span, t1, t2);
18816 },
18817 FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4) {
18818 var _ = this;
18819 _.name = t0;
18820 _.$arguments = t1;
18821 _.span = t2;
18822 _.children = t3;
18823 _.hasDeclarations = t4;
18824 },
18825 unifyComplex0(complexes) {
18826 var t2, unifiedBase, base, t3, t4, _i, complexesWithoutBases,
18827 t1 = J.getInterceptor$asx(complexes);
18828 if (t1.get$length(complexes) === 1)
18829 return complexes;
18830 for (t2 = t1.get$iterator(complexes), unifiedBase = null; t2.moveNext$0();) {
18831 base = J.get$last$ax(t2.get$current(t2));
18832 if (!(base instanceof A.CompoundSelector0))
18833 return null;
18834 if (unifiedBase == null)
18835 unifiedBase = base.components;
18836 else
18837 for (t3 = base.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
18838 unifiedBase = t3[_i].unify$1(unifiedBase);
18839 if (unifiedBase == null)
18840 return null;
18841 }
18842 }
18843 t1 = t1.map$1$1(complexes, new A.unifyComplex_closure0(), type$.List_ComplexSelectorComponent_2);
18844 complexesWithoutBases = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
18845 t1 = B.JSArray_methods.get$last(complexesWithoutBases);
18846 unifiedBase.toString;
18847 J.add$1$ax(t1, A.CompoundSelector$0(unifiedBase));
18848 return A.weave0(complexesWithoutBases);
18849 },
18850 unifyCompound0(compound1, compound2) {
18851 var t1, result, _i, unified;
18852 for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
18853 unified = compound1[_i].unify$1(result);
18854 if (unified == null)
18855 return null;
18856 }
18857 return A.CompoundSelector$0(result);
18858 },
18859 unifyUniversalAndElement0(selector1, selector2) {
18860 var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
18861 _s45_ = string$.must_b;
18862 if (selector1 instanceof A.UniversalSelector0) {
18863 namespace1 = selector1.namespace;
18864 name1 = _null;
18865 } else if (selector1 instanceof A.TypeSelector0) {
18866 t1 = selector1.name;
18867 namespace1 = t1.namespace;
18868 name1 = t1.name;
18869 } else
18870 throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
18871 if (selector2 instanceof A.UniversalSelector0) {
18872 namespace2 = selector2.namespace;
18873 name2 = _null;
18874 } else if (selector2 instanceof A.TypeSelector0) {
18875 t1 = selector2.name;
18876 namespace2 = t1.namespace;
18877 name2 = t1.name;
18878 } else
18879 throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
18880 if (namespace1 == namespace2 || namespace2 === "*")
18881 namespace = namespace1;
18882 else {
18883 if (namespace1 !== "*")
18884 return _null;
18885 namespace = namespace2;
18886 }
18887 if (name1 == name2 || name2 == null)
18888 $name = name1;
18889 else {
18890 if (!(name1 == null || name1 === "*"))
18891 return _null;
18892 $name = name2;
18893 }
18894 return $name == null ? new A.UniversalSelector0(namespace) : new A.TypeSelector0(new A.QualifiedName0($name, namespace));
18895 },
18896 weave0(complexes) {
18897 var t2, t3, t4, t5, target, _i, parents, newPrefixes, parentPrefixes, t6,
18898 t1 = type$.JSArray_List_ComplexSelectorComponent_2,
18899 prefixes = A._setArrayType([J.toList$0$ax(B.JSArray_methods.get$first(complexes))], t1);
18900 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();) {
18901 t4 = t3._as(t2.__internal$_current);
18902 t5 = J.getInterceptor$asx(t4);
18903 if (t5.get$isEmpty(t4))
18904 continue;
18905 target = t5.get$last(t4);
18906 if (t5.get$length(t4) === 1) {
18907 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i)
18908 J.add$1$ax(prefixes[_i], target);
18909 continue;
18910 }
18911 parents = t5.take$1(t4, t5.get$length(t4) - 1).toList$0(0);
18912 newPrefixes = A._setArrayType([], t1);
18913 for (t4 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t4 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
18914 parentPrefixes = A._weaveParents0(prefixes[_i], parents);
18915 if (parentPrefixes == null)
18916 continue;
18917 for (t5 = parentPrefixes.get$iterator(parentPrefixes); t5.moveNext$0();) {
18918 t6 = t5.get$current(t5);
18919 J.add$1$ax(t6, target);
18920 newPrefixes.push(t6);
18921 }
18922 }
18923 prefixes = newPrefixes;
18924 }
18925 return prefixes;
18926 },
18927 _weaveParents0(parents1, parents2) {
18928 var finalCombinators, root1, root2, root, groups1, groups2, lcs, t2, choices, t3, _i, group, t4, t5, _null = null,
18929 t1 = type$.ComplexSelectorComponent_2,
18930 queue1 = A.ListQueue_ListQueue$of(parents1, t1),
18931 queue2 = A.ListQueue_ListQueue$of(parents2, t1),
18932 initialCombinators = A._mergeInitialCombinators0(queue1, queue2);
18933 if (initialCombinators == null)
18934 return _null;
18935 finalCombinators = A._mergeFinalCombinators0(queue1, queue2, _null);
18936 if (finalCombinators == null)
18937 return _null;
18938 root1 = A._firstIfRoot0(queue1);
18939 root2 = A._firstIfRoot0(queue2);
18940 t1 = root1 != null;
18941 if (t1 && root2 != null) {
18942 root = A.unifyCompound0(root1.components, root2.components);
18943 if (root == null)
18944 return _null;
18945 queue1.addFirst$1(root);
18946 queue2.addFirst$1(root);
18947 } else if (t1)
18948 queue2.addFirst$1(root1);
18949 else if (root2 != null)
18950 queue1.addFirst$1(root2);
18951 groups1 = A._groupSelectors0(queue1);
18952 groups2 = A._groupSelectors0(queue2);
18953 t1 = type$.List_ComplexSelectorComponent_2;
18954 lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure6(), t1);
18955 t2 = type$.JSArray_Iterable_ComplexSelectorComponent_2;
18956 choices = A._setArrayType([A._setArrayType([initialCombinators], t2)], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
18957 for (t3 = lcs.length, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
18958 group = lcs[_i];
18959 t4 = A._chunks0(groups1, groups2, new A._weaveParents_closure7(group), t1);
18960 t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent0>>");
18961 choices.push(A.List_List$of(new A.MappedListIterable(t4, new A._weaveParents_closure8(), t5), true, t5._eval$1("ListIterable.E")));
18962 choices.push(A._setArrayType([group], t2));
18963 groups1.removeFirst$0();
18964 groups2.removeFirst$0();
18965 }
18966 t2 = A._chunks0(groups1, groups2, new A._weaveParents_closure9(), t1);
18967 t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Iterable<ComplexSelectorComponent0>>");
18968 choices.push(A.List_List$of(new A.MappedListIterable(t2, new A._weaveParents_closure10(), t3), true, t3._eval$1("ListIterable.E")));
18969 B.JSArray_methods.addAll$1(choices, finalCombinators);
18970 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);
18971 },
18972 _firstIfRoot0(queue) {
18973 var first;
18974 if (queue._collection$_head === queue._collection$_tail)
18975 return null;
18976 first = queue.get$first(queue);
18977 if (first instanceof A.CompoundSelector0) {
18978 if (!A._hasRoot0(first))
18979 return null;
18980 queue.removeFirst$0();
18981 return first;
18982 } else
18983 return null;
18984 },
18985 _mergeInitialCombinators0(components1, components2) {
18986 var t4, combinators2, lcs,
18987 t1 = type$.JSArray_Combinator_2,
18988 combinators1 = A._setArrayType([], t1),
18989 t2 = type$.Combinator_2,
18990 t3 = components1.$ti._precomputed1;
18991 while (true) {
18992 if (!components1.get$isEmpty(components1)) {
18993 t4 = components1._collection$_head;
18994 if (t4 === components1._collection$_tail)
18995 A.throwExpression(A.IterableElementError_noElement());
18996 t4 = t3._as(components1._collection$_table[t4]) instanceof A.Combinator0;
18997 } else
18998 t4 = false;
18999 if (!t4)
19000 break;
19001 combinators1.push(t2._as(components1.removeFirst$0()));
19002 }
19003 combinators2 = A._setArrayType([], t1);
19004 t1 = components2.$ti._precomputed1;
19005 while (true) {
19006 if (!components2.get$isEmpty(components2)) {
19007 t3 = components2._collection$_head;
19008 if (t3 === components2._collection$_tail)
19009 A.throwExpression(A.IterableElementError_noElement());
19010 t3 = t1._as(components2._collection$_table[t3]) instanceof A.Combinator0;
19011 } else
19012 t3 = false;
19013 if (!t3)
19014 break;
19015 combinators2.push(t2._as(components2.removeFirst$0()));
19016 }
19017 lcs = A.longestCommonSubsequence0(combinators1, combinators2, null, t2);
19018 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
19019 return combinators2;
19020 if (B.C_ListEquality.equals$2(0, lcs, combinators2))
19021 return combinators1;
19022 return null;
19023 },
19024 _mergeFinalCombinators0(components1, components2, result) {
19025 var t1, combinators1, t2, combinators2, lcs, combinator1, combinator2, compound1, compound2, choices, unified, followingSiblingSelector, nextSiblingSelector, _null = null;
19026 if (result == null)
19027 result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
19028 if (components1._collection$_head === components1._collection$_tail || !(components1.get$last(components1) instanceof A.Combinator0))
19029 t1 = components2._collection$_head === components2._collection$_tail || !(components2.get$last(components2) instanceof A.Combinator0);
19030 else
19031 t1 = false;
19032 if (t1)
19033 return result;
19034 t1 = type$.JSArray_Combinator_2;
19035 combinators1 = A._setArrayType([], t1);
19036 t2 = type$.Combinator_2;
19037 while (true) {
19038 if (!(!components1.get$isEmpty(components1) && components1.get$last(components1) instanceof A.Combinator0))
19039 break;
19040 combinators1.push(t2._as(components1.removeLast$0(0)));
19041 }
19042 combinators2 = A._setArrayType([], t1);
19043 while (true) {
19044 if (!(!components2.get$isEmpty(components2) && components2.get$last(components2) instanceof A.Combinator0))
19045 break;
19046 combinators2.push(t2._as(components2.removeLast$0(0)));
19047 }
19048 t1 = combinators1.length;
19049 if (t1 > 1 || combinators2.length > 1) {
19050 lcs = A.longestCommonSubsequence0(combinators1, combinators2, _null, t2);
19051 if (B.C_ListEquality.equals$2(0, lcs, combinators1))
19052 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));
19053 else if (B.C_ListEquality.equals$2(0, lcs, combinators2))
19054 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));
19055 else
19056 return _null;
19057 return result;
19058 }
19059 combinator1 = t1 === 0 ? _null : B.JSArray_methods.get$first(combinators1);
19060 combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
19061 t1 = combinator1 != null;
19062 if (t1 && combinator2 != null) {
19063 t1 = type$.CompoundSelector_2;
19064 compound1 = t1._as(components1.removeLast$0(0));
19065 compound2 = t1._as(components2.removeLast$0(0));
19066 t1 = combinator1 === B.Combinator_CzM0;
19067 if (t1 && combinator2 === B.Combinator_CzM0)
19068 if (A.compoundIsSuperselector0(compound1, compound2, _null))
19069 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, B.Combinator_CzM0], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19070 else {
19071 t1 = type$.JSArray_ComplexSelectorComponent_2;
19072 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
19073 if (A.compoundIsSuperselector0(compound2, compound1, _null))
19074 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, B.Combinator_CzM0], t1)], t2));
19075 else {
19076 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);
19077 unified = A.unifyCompound0(compound1.components, compound2.components);
19078 if (unified != null)
19079 choices.push(A._setArrayType([unified, B.Combinator_CzM0], t1));
19080 result.addFirst$1(choices);
19081 }
19082 }
19083 else {
19084 if (!(t1 && combinator2 === B.Combinator_uzg0))
19085 t2 = combinator1 === B.Combinator_uzg0 && combinator2 === B.Combinator_CzM0;
19086 else
19087 t2 = true;
19088 if (t2) {
19089 followingSiblingSelector = t1 ? compound1 : compound2;
19090 nextSiblingSelector = t1 ? compound2 : compound1;
19091 t1 = type$.JSArray_ComplexSelectorComponent_2;
19092 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
19093 if (A.compoundIsSuperselector0(followingSiblingSelector, nextSiblingSelector, _null))
19094 result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingSelector, B.Combinator_uzg0], t1)], t2));
19095 else {
19096 unified = A.unifyCompound0(compound1.components, compound2.components);
19097 t2 = A._setArrayType([A._setArrayType([followingSiblingSelector, B.Combinator_CzM0, nextSiblingSelector, B.Combinator_uzg0], t1)], t2);
19098 if (unified != null)
19099 t2.push(A._setArrayType([unified, B.Combinator_uzg0], t1));
19100 result.addFirst$1(t2);
19101 }
19102 } else {
19103 if (combinator1 === B.Combinator_sgq0)
19104 t2 = combinator2 === B.Combinator_uzg0 || combinator2 === B.Combinator_CzM0;
19105 else
19106 t2 = false;
19107 if (t2) {
19108 result.addFirst$1(A._setArrayType([A._setArrayType([compound2, combinator2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19109 components1._add$1(compound1);
19110 components1._add$1(B.Combinator_sgq0);
19111 } else {
19112 if (combinator2 === B.Combinator_sgq0)
19113 t1 = combinator1 === B.Combinator_uzg0 || t1;
19114 else
19115 t1 = false;
19116 if (t1) {
19117 result.addFirst$1(A._setArrayType([A._setArrayType([compound1, combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19118 components2._add$1(compound2);
19119 components2._add$1(B.Combinator_sgq0);
19120 } else if (combinator1 === combinator2) {
19121 unified = A.unifyCompound0(compound1.components, compound2.components);
19122 if (unified == null)
19123 return _null;
19124 result.addFirst$1(A._setArrayType([A._setArrayType([unified, combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19125 } else
19126 return _null;
19127 }
19128 }
19129 }
19130 return A._mergeFinalCombinators0(components1, components2, result);
19131 } else if (t1) {
19132 if (combinator1 === B.Combinator_sgq0)
19133 if (!components2.get$isEmpty(components2)) {
19134 t1 = type$.CompoundSelector_2;
19135 t1 = A.compoundIsSuperselector0(t1._as(components2.get$last(components2)), t1._as(components1.get$last(components1)), _null);
19136 } else
19137 t1 = false;
19138 else
19139 t1 = false;
19140 if (t1)
19141 components2.removeLast$0(0);
19142 result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0), combinator1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19143 return A._mergeFinalCombinators0(components1, components2, result);
19144 } else {
19145 if (combinator2 === B.Combinator_sgq0)
19146 if (!components1.get$isEmpty(components1)) {
19147 t1 = type$.CompoundSelector_2;
19148 t1 = A.compoundIsSuperselector0(t1._as(components1.get$last(components1)), t1._as(components2.get$last(components2)), _null);
19149 } else
19150 t1 = false;
19151 else
19152 t1 = false;
19153 if (t1)
19154 components1.removeLast$0(0);
19155 t1 = components2.removeLast$0(0);
19156 combinator2.toString;
19157 result.addFirst$1(A._setArrayType([A._setArrayType([t1, combinator2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
19158 return A._mergeFinalCombinators0(components1, components2, result);
19159 }
19160 },
19161 _mustUnify0(complex1, complex2) {
19162 var t2, t3, t4,
19163 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
19164 for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();) {
19165 t3 = t2.get$current(t2);
19166 if (t3 instanceof A.CompoundSelector0)
19167 for (t3 = B.JSArray_methods.get$iterator(t3.components), t4 = new A.WhereIterator(t3, A.functions0___isUnique$closure()); t4.moveNext$0();)
19168 t1.add$1(0, t3.get$current(t3));
19169 }
19170 if (t1._collection$_length === 0)
19171 return false;
19172 return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
19173 },
19174 _isUnique0(simple) {
19175 var t1;
19176 if (!(simple instanceof A.IDSelector0))
19177 t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
19178 else
19179 t1 = true;
19180 return t1;
19181 },
19182 _chunks0(queue1, queue2, done, $T) {
19183 var chunk2, t2,
19184 t1 = $T._eval$1("JSArray<0>"),
19185 chunk1 = A._setArrayType([], t1);
19186 for (; !done.call$1(queue1);)
19187 chunk1.push(queue1.removeFirst$0());
19188 chunk2 = A._setArrayType([], t1);
19189 for (; !done.call$1(queue2);)
19190 chunk2.push(queue2.removeFirst$0());
19191 t1 = chunk1.length === 0;
19192 if (t1 && chunk2.length === 0)
19193 return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
19194 if (t1)
19195 return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
19196 if (chunk2.length === 0)
19197 return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
19198 t1 = A.List_List$of(chunk1, true, $T);
19199 B.JSArray_methods.addAll$1(t1, chunk2);
19200 t2 = A.List_List$of(chunk2, true, $T);
19201 B.JSArray_methods.addAll$1(t2, chunk1);
19202 return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
19203 },
19204 paths0(choices, $T) {
19205 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));
19206 },
19207 _groupSelectors0(complex) {
19208 var t1, t2, group, t3, t4,
19209 groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
19210 iterator = A._ListQueueIterator$(complex);
19211 if (!iterator.moveNext$0())
19212 return groups;
19213 t1 = A._instanceType(iterator)._precomputed1;
19214 t2 = type$.JSArray_ComplexSelectorComponent_2;
19215 group = A._setArrayType([t1._as(iterator._collection$_current)], t2);
19216 groups._queue_list$_add$1(group);
19217 for (; iterator.moveNext$0();) {
19218 t3 = B.JSArray_methods.get$last(group) instanceof A.Combinator0 || t1._as(iterator._collection$_current) instanceof A.Combinator0;
19219 t4 = iterator._collection$_current;
19220 if (t3)
19221 group.push(t1._as(t4));
19222 else {
19223 group = A._setArrayType([t1._as(t4)], t2);
19224 groups._queue_list$_add$1(group);
19225 }
19226 }
19227 return groups;
19228 },
19229 _hasRoot0(compound) {
19230 return B.JSArray_methods.any$1(compound.components, new A._hasRoot_closure0());
19231 },
19232 listIsSuperselector0(list1, list2) {
19233 return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
19234 },
19235 complexIsParentSuperselector0(complex1, complex2) {
19236 var t2, base,
19237 t1 = J.getInterceptor$ax(complex1);
19238 if (t1.get$first(complex1) instanceof A.Combinator0)
19239 return false;
19240 t2 = J.getInterceptor$ax(complex2);
19241 if (t2.get$first(complex2) instanceof A.Combinator0)
19242 return false;
19243 if (t1.get$length(complex1) > t2.get$length(complex2))
19244 return false;
19245 base = A.CompoundSelector$0(A._setArrayType([new A.PlaceholderSelector0("<temp>")], type$.JSArray_SimpleSelector_2));
19246 t1 = type$.ComplexSelectorComponent_2;
19247 t2 = A.List_List$of(complex1, true, t1);
19248 t2.push(base);
19249 t1 = A.List_List$of(complex2, true, t1);
19250 t1.push(base);
19251 return A.complexIsSuperselector0(t2, t1);
19252 },
19253 complexIsSuperselector0(complex1, complex2) {
19254 var t1, t2, t3, i1, i2, remaining1, remaining2, t4, t5, t6, afterSuperselector, afterSuperselector0, compound2, i10, combinator1, combinator2;
19255 if (B.JSArray_methods.get$last(complex1) instanceof A.Combinator0)
19256 return false;
19257 if (B.JSArray_methods.get$last(complex2) instanceof A.Combinator0)
19258 return false;
19259 for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), t3 = type$.CompoundSelector_2, i1 = 0, i2 = 0; true;) {
19260 remaining1 = complex1.length - i1;
19261 remaining2 = complex2.length - i2;
19262 if (remaining1 === 0 || remaining2 === 0)
19263 return false;
19264 if (remaining1 > remaining2)
19265 return false;
19266 t4 = complex1[i1];
19267 if (t4 instanceof A.Combinator0)
19268 return false;
19269 if (complex2[i2] instanceof A.Combinator0)
19270 return false;
19271 t3._as(t4);
19272 if (remaining1 === 1) {
19273 t5 = t3._as(B.JSArray_methods.get$last(complex2));
19274 t6 = complex2.length - 1;
19275 t3 = new A.SubListIterable(complex2, 0, t6, t1);
19276 t3.SubListIterable$3(complex2, 0, t6, t2);
19277 return A.compoundIsSuperselector0(t4, t5, t3.skip$1(0, i2));
19278 }
19279 afterSuperselector = i2 + 1;
19280 for (afterSuperselector0 = afterSuperselector; afterSuperselector0 < complex2.length; ++afterSuperselector0) {
19281 t5 = afterSuperselector0 - 1;
19282 compound2 = complex2[t5];
19283 if (compound2 instanceof A.CompoundSelector0) {
19284 t6 = new A.SubListIterable(complex2, 0, t5, t1);
19285 t6.SubListIterable$3(complex2, 0, t5, t2);
19286 if (A.compoundIsSuperselector0(t4, compound2, t6.skip$1(0, afterSuperselector)))
19287 break;
19288 }
19289 }
19290 if (afterSuperselector0 === complex2.length)
19291 return false;
19292 i10 = i1 + 1;
19293 combinator1 = complex1[i10];
19294 combinator2 = complex2[afterSuperselector0];
19295 if (combinator1 instanceof A.Combinator0) {
19296 if (!(combinator2 instanceof A.Combinator0))
19297 return false;
19298 if (combinator1 === B.Combinator_CzM0) {
19299 if (combinator2 === B.Combinator_sgq0)
19300 return false;
19301 } else if (combinator2 !== combinator1)
19302 return false;
19303 if (remaining1 === 3 && remaining2 > 3)
19304 return false;
19305 i1 += 2;
19306 i2 = afterSuperselector0 + 1;
19307 } else {
19308 if (combinator2 instanceof A.Combinator0) {
19309 if (combinator2 !== B.Combinator_sgq0)
19310 return false;
19311 i2 = afterSuperselector0 + 1;
19312 } else
19313 i2 = afterSuperselector0;
19314 i1 = i10;
19315 }
19316 }
19317 },
19318 compoundIsSuperselector0(compound1, compound2, parents) {
19319 var t1, t2, _i, simple1, simple2;
19320 for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
19321 simple1 = t1[_i];
19322 if (simple1 instanceof A.PseudoSelector0 && simple1.selector != null) {
19323 if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
19324 return false;
19325 } else if (!A._simpleIsSuperselectorOfCompound0(simple1, compound2))
19326 return false;
19327 }
19328 for (t1 = compound2.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
19329 simple2 = t1[_i];
19330 if (simple2 instanceof A.PseudoSelector0 && !simple2.isClass && simple2.selector == null && !A._simpleIsSuperselectorOfCompound0(simple2, compound1))
19331 return false;
19332 }
19333 return true;
19334 },
19335 _simpleIsSuperselectorOfCompound0(simple, compound) {
19336 return B.JSArray_methods.any$1(compound.components, new A._simpleIsSuperselectorOfCompound_closure0(simple));
19337 },
19338 _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
19339 var selector1_ = pseudo1.selector;
19340 if (selector1_ == null)
19341 throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
19342 switch (pseudo1.normalizedName) {
19343 case "is":
19344 case "matches":
19345 case "any":
19346 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));
19347 case "has":
19348 case "host":
19349 case "host-context":
19350 return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1_));
19351 case "slotted":
19352 return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1_));
19353 case "not":
19354 return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
19355 case "current":
19356 return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1_));
19357 case "nth-child":
19358 case "nth-last-child":
19359 return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1_));
19360 default:
19361 throw A.wrapException("unreachable");
19362 }
19363 },
19364 _selectorPseudoArgs0(compound, $name, isClass) {
19365 var t1 = type$.WhereTypeIterable_PseudoSelector_2;
19366 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);
19367 },
19368 unifyComplex_closure0: function unifyComplex_closure0() {
19369 },
19370 _weaveParents_closure6: function _weaveParents_closure6() {
19371 },
19372 _weaveParents_closure7: function _weaveParents_closure7(t0) {
19373 this.group = t0;
19374 },
19375 _weaveParents_closure8: function _weaveParents_closure8() {
19376 },
19377 _weaveParents__closure4: function _weaveParents__closure4() {
19378 },
19379 _weaveParents_closure9: function _weaveParents_closure9() {
19380 },
19381 _weaveParents_closure10: function _weaveParents_closure10() {
19382 },
19383 _weaveParents__closure3: function _weaveParents__closure3() {
19384 },
19385 _weaveParents_closure11: function _weaveParents_closure11() {
19386 },
19387 _weaveParents_closure12: function _weaveParents_closure12() {
19388 },
19389 _weaveParents__closure2: function _weaveParents__closure2() {
19390 },
19391 _mustUnify_closure0: function _mustUnify_closure0(t0) {
19392 this.uniqueSelectors = t0;
19393 },
19394 _mustUnify__closure0: function _mustUnify__closure0(t0) {
19395 this.uniqueSelectors = t0;
19396 },
19397 paths_closure0: function paths_closure0(t0) {
19398 this.T = t0;
19399 },
19400 paths__closure0: function paths__closure0(t0, t1) {
19401 this.paths = t0;
19402 this.T = t1;
19403 },
19404 paths___closure0: function paths___closure0(t0, t1) {
19405 this.option = t0;
19406 this.T = t1;
19407 },
19408 _hasRoot_closure0: function _hasRoot_closure0() {
19409 },
19410 listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
19411 this.list1 = t0;
19412 },
19413 listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
19414 this.complex1 = t0;
19415 },
19416 _simpleIsSuperselectorOfCompound_closure0: function _simpleIsSuperselectorOfCompound_closure0(t0) {
19417 this.simple = t0;
19418 },
19419 _simpleIsSuperselectorOfCompound__closure0: function _simpleIsSuperselectorOfCompound__closure0(t0) {
19420 this.simple = t0;
19421 },
19422 _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
19423 this.selector1 = t0;
19424 },
19425 _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
19426 this.parents = t0;
19427 this.compound2 = t1;
19428 },
19429 _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
19430 this.selector1 = t0;
19431 },
19432 _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
19433 this.selector1 = t0;
19434 },
19435 _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
19436 this.compound2 = t0;
19437 this.pseudo1 = t1;
19438 },
19439 _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
19440 this.complex = t0;
19441 this.pseudo1 = t1;
19442 },
19443 _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
19444 this.simple2 = t0;
19445 },
19446 _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
19447 this.simple2 = t0;
19448 },
19449 _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
19450 this.selector1 = t0;
19451 },
19452 _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
19453 this.pseudo1 = t0;
19454 this.selector1 = t1;
19455 },
19456 _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
19457 this.isClass = t0;
19458 this.name = t1;
19459 },
19460 _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
19461 },
19462 globalFunctions_closure0: function globalFunctions_closure0() {
19463 },
19464 IDSelector0: function IDSelector0(t0) {
19465 this.name = t0;
19466 },
19467 IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
19468 this.$this = t0;
19469 },
19470 IfExpression0: function IfExpression0(t0, t1) {
19471 this.$arguments = t0;
19472 this.span = t1;
19473 },
19474 IfClause$0(expression, children) {
19475 var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
19476 return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
19477 },
19478 ElseClause$0(children) {
19479 var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
19480 return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
19481 },
19482 IfRule0: function IfRule0(t0, t1, t2) {
19483 this.clauses = t0;
19484 this.lastClause = t1;
19485 this.span = t2;
19486 },
19487 IfRule_toString_closure0: function IfRule_toString_closure0() {
19488 },
19489 IfRuleClause0: function IfRuleClause0() {
19490 },
19491 IfRuleClause$__closure0: function IfRuleClause$__closure0() {
19492 },
19493 IfRuleClause$___closure0: function IfRuleClause$___closure0() {
19494 },
19495 IfClause0: function IfClause0(t0, t1, t2) {
19496 this.expression = t0;
19497 this.children = t1;
19498 this.hasDeclarations = t2;
19499 },
19500 ElseClause0: function ElseClause0(t0, t1) {
19501 this.children = t0;
19502 this.hasDeclarations = t1;
19503 },
19504 jsToDartList(list) {
19505 return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
19506 },
19507 dartMapToImmutableMap(dartMap) {
19508 var t1, t2,
19509 immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
19510 for (t1 = dartMap.get$entries(dartMap), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
19511 t2 = t1.get$current(t1);
19512 immutableMap = J.$set$2$x(immutableMap, t2.key, t2.value);
19513 }
19514 return J.asImmutable$0$x(immutableMap);
19515 },
19516 immutableMapToDartMap(immutableMap) {
19517 var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
19518 J.forEach$1$x(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
19519 return dartMap;
19520 },
19521 ImmutableList: function ImmutableList() {
19522 },
19523 ImmutableMap: function ImmutableMap() {
19524 },
19525 immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
19526 this.dartMap = t0;
19527 },
19528 NodeImporter__addSassPath($async$includePaths) {
19529 return A._makeSyncStarIterable(function() {
19530 var includePaths = $async$includePaths;
19531 var $async$goto = 0, $async$handler = 2, $async$currentError, sassPath;
19532 return function $async$NodeImporter__addSassPath($async$errorCode, $async$result) {
19533 if ($async$errorCode === 1) {
19534 $async$currentError = $async$result;
19535 $async$goto = $async$handler;
19536 }
19537 while (true)
19538 switch ($async$goto) {
19539 case 0:
19540 // Function start
19541 $async$goto = 3;
19542 return A._IterationMarker_yieldStar(includePaths);
19543 case 3:
19544 // after yield
19545 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH);
19546 if (sassPath == null) {
19547 // goto return
19548 $async$goto = 1;
19549 break;
19550 }
19551 $async$goto = 4;
19552 return A._IterationMarker_yieldStar(A._setArrayType(sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":"), type$.JSArray_String));
19553 case 4:
19554 // after yield
19555 case 1:
19556 // return
19557 return A._IterationMarker_endOfIteration();
19558 case 2:
19559 // rethrow
19560 return A._IterationMarker_uncaughtError($async$currentError);
19561 }
19562 };
19563 }, type$.String);
19564 },
19565 NodeImporter: function NodeImporter(t0, t1, t2) {
19566 this._implementation$_options = t0;
19567 this._includePaths = t1;
19568 this._implementation$_importers = t2;
19569 },
19570 NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
19571 this.path = t0;
19572 },
19573 NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
19574 },
19575 ModifiableCssImport$0(url, span, media, supports) {
19576 return new A.ModifiableCssImport0(url, supports, media == null ? null : A.List_List$unmodifiable(media, type$.CssMediaQuery_2), span);
19577 },
19578 ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2, t3) {
19579 var _ = this;
19580 _.url = t0;
19581 _.supports = t1;
19582 _.media = t2;
19583 _.span = t3;
19584 _._node1$_indexInParent = _._node1$_parent = null;
19585 _.isGroupEnd = false;
19586 },
19587 ImportCache$0(importers, loadPaths, logger, packageConfig) {
19588 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
19589 t2 = type$.Uri,
19590 t3 = A.ImportCache__toImporters0(importers, loadPaths, packageConfig);
19591 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));
19592 },
19593 ImportCache$none(logger) {
19594 var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
19595 t2 = type$.Uri;
19596 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));
19597 },
19598 ImportCache__toImporters0(importers, loadPaths, packageConfig) {
19599 var t2, t3, _i, path, _null = null,
19600 sassPath = A._asStringQ(type$.Object._as(J.get$env$x(self.process)).SASS_PATH),
19601 t1 = A._setArrayType([], type$.JSArray_Importer);
19602 if (importers != null)
19603 B.JSArray_methods.addAll$1(t1, importers);
19604 if (loadPaths != null)
19605 for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
19606 t3 = t2.get$current(t2);
19607 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
19608 }
19609 if (sassPath != null) {
19610 t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
19611 t3 = t2.length;
19612 _i = 0;
19613 for (; _i < t3; ++_i) {
19614 path = t2[_i];
19615 t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
19616 }
19617 }
19618 return t1;
19619 },
19620 ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5) {
19621 var _ = this;
19622 _._import_cache$_importers = t0;
19623 _._import_cache$_logger = t1;
19624 _._import_cache$_canonicalizeCache = t2;
19625 _._import_cache$_relativeCanonicalizeCache = t3;
19626 _._import_cache$_importCache = t4;
19627 _._import_cache$_resultsCache = t5;
19628 },
19629 ImportCache_canonicalize_closure1: function ImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
19630 var _ = this;
19631 _.$this = t0;
19632 _.baseUrl = t1;
19633 _.url = t2;
19634 _.baseImporter = t3;
19635 _.forImport = t4;
19636 },
19637 ImportCache_canonicalize_closure2: function ImportCache_canonicalize_closure2(t0, t1, t2) {
19638 this.$this = t0;
19639 this.url = t1;
19640 this.forImport = t2;
19641 },
19642 ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
19643 this.importer = t0;
19644 this.url = t1;
19645 },
19646 ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
19647 var _ = this;
19648 _.$this = t0;
19649 _.importer = t1;
19650 _.canonicalUrl = t2;
19651 _.originalUrl = t3;
19652 _.quiet = t4;
19653 },
19654 ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
19655 this.canonicalUrl = t0;
19656 },
19657 ImportCache_humanize_closure3: function ImportCache_humanize_closure3() {
19658 },
19659 ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
19660 },
19661 ImportRule0: function ImportRule0(t0, t1) {
19662 this.imports = t0;
19663 this.span = t1;
19664 },
19665 NodeImporter0: function NodeImporter0() {
19666 },
19667 CanonicalizeOptions: function CanonicalizeOptions() {
19668 },
19669 NodeImporterResult0: function NodeImporterResult0() {
19670 },
19671 Importer0: function Importer0() {
19672 },
19673 NodeImporterResult1: function NodeImporterResult1() {
19674 },
19675 IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4) {
19676 var _ = this;
19677 _.namespace = t0;
19678 _.name = t1;
19679 _.$arguments = t2;
19680 _.content = t3;
19681 _.span = t4;
19682 },
19683 InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
19684 this.name = t0;
19685 this.$arguments = t1;
19686 this.span = t2;
19687 },
19688 Interpolation$0(contents, span) {
19689 var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), span);
19690 t1.Interpolation$20(contents, span);
19691 return t1;
19692 },
19693 Interpolation0: function Interpolation0(t0, t1) {
19694 this.contents = t0;
19695 this.span = t1;
19696 },
19697 Interpolation_toString_closure0: function Interpolation_toString_closure0() {
19698 },
19699 SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
19700 this.expression = t0;
19701 this.span = t1;
19702 },
19703 InterpolationBuffer0: function InterpolationBuffer0(t0, t1) {
19704 this._interpolation_buffer0$_text = t0;
19705 this._interpolation_buffer0$_contents = t1;
19706 },
19707 _realCasePath0(path) {
19708 var prefix, t1;
19709 if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
19710 return path;
19711 if (J.$eq$(J.get$platform$x(self.process), "win32")) {
19712 prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
19713 t1 = prefix.length;
19714 if (t1 !== 0 && A.isAlphabetic1(B.JSString_methods._codeUnitAt$1(prefix, 0)))
19715 path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
19716 }
19717 return new A._realCasePath_helper0().call$1(path);
19718 },
19719 _realCasePath_helper0: function _realCasePath_helper0() {
19720 },
19721 _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
19722 this.helper = t0;
19723 this.dirname = t1;
19724 this.path = t2;
19725 },
19726 _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
19727 this.basename = t0;
19728 },
19729 ModifiableCssKeyframeBlock$0(selector, span) {
19730 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
19731 return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
19732 },
19733 ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
19734 var _ = this;
19735 _.selector = t0;
19736 _.span = t1;
19737 _.children = t2;
19738 _._node1$_children = t3;
19739 _._node1$_indexInParent = _._node1$_parent = null;
19740 _.isGroupEnd = false;
19741 },
19742 KeyframeSelectorParser$0(contents, logger) {
19743 var t1 = A.SpanScanner$(contents, null);
19744 return new A.KeyframeSelectorParser0(t1, logger);
19745 },
19746 KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1) {
19747 this.scanner = t0;
19748 this.logger = t1;
19749 },
19750 KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
19751 this.$this = t0;
19752 },
19753 render(options, callback) {
19754 var fiber = J.get$fiber$x(options);
19755 if (fiber != null)
19756 J.run$0$x(fiber.call$1(A.allowInterop(new A.render_closure(callback, options))));
19757 else
19758 A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
19759 },
19760 _renderAsync(options) {
19761 var $async$goto = 0,
19762 $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
19763 $async$returnValue, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, data, file;
19764 var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
19765 if ($async$errorCode === 1)
19766 return A._asyncRethrow($async$result, $async$completer);
19767 while (true)
19768 switch ($async$goto) {
19769 case 0:
19770 // Function start
19771 start = new A.DateTime(Date.now(), false);
19772 t1 = J.getInterceptor$x(options);
19773 data = t1.get$data(options);
19774 file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
19775 $async$goto = data != null ? 3 : 5;
19776 break;
19777 case 3:
19778 // then
19779 t2 = A._parseImporter(options, start);
19780 t3 = A._parseFunctions(options, start, true);
19781 t4 = t1.get$indentedSyntax(options);
19782 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : null;
19783 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19784 t6 = J.$eq$(t1.get$indentType(options), "tab");
19785 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19786 t8 = A._parseLineFeed(t1.get$linefeed(options));
19787 t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
19788 t10 = t1.get$quietDeps(options);
19789 if (t10 == null)
19790 t10 = false;
19791 t11 = t1.get$verbose(options);
19792 if (t11 == null)
19793 t11 = false;
19794 t12 = t1.get$charset(options);
19795 if (t12 == null)
19796 t12 = true;
19797 t13 = A._enableSourceMaps(options);
19798 t1 = t1.get$logger(options);
19799 t14 = J.$eq$(self.process.stdout.isTTY, true);
19800 t15 = $._glyphs;
19801 $async$goto = 6;
19802 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);
19803 case 6:
19804 // returning from await.
19805 result = $async$result;
19806 // goto join
19807 $async$goto = 4;
19808 break;
19809 case 5:
19810 // else
19811 $async$goto = file != null ? 7 : 9;
19812 break;
19813 case 7:
19814 // then
19815 t2 = A._parseImporter(options, start);
19816 t3 = A._parseFunctions(options, start, true);
19817 t4 = t1.get$indentedSyntax(options);
19818 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : null;
19819 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19820 t6 = J.$eq$(t1.get$indentType(options), "tab");
19821 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19822 t8 = A._parseLineFeed(t1.get$linefeed(options));
19823 t9 = t1.get$quietDeps(options);
19824 if (t9 == null)
19825 t9 = false;
19826 t10 = t1.get$verbose(options);
19827 if (t10 == null)
19828 t10 = false;
19829 t11 = t1.get$charset(options);
19830 if (t11 == null)
19831 t11 = true;
19832 t12 = A._enableSourceMaps(options);
19833 t1 = t1.get$logger(options);
19834 t13 = J.$eq$(self.process.stdout.isTTY, true);
19835 t14 = $._glyphs;
19836 $async$goto = 10;
19837 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);
19838 case 10:
19839 // returning from await.
19840 result = $async$result;
19841 // goto join
19842 $async$goto = 8;
19843 break;
19844 case 9:
19845 // else
19846 throw A.wrapException(A.ArgumentError$(string$.Either, null));
19847 case 8:
19848 // join
19849 case 4:
19850 // join
19851 $async$returnValue = A._newRenderResult(options, result, start);
19852 // goto return
19853 $async$goto = 1;
19854 break;
19855 case 1:
19856 // return
19857 return A._asyncReturn($async$returnValue, $async$completer);
19858 }
19859 });
19860 return A._asyncStartSync($async$_renderAsync, $async$completer);
19861 },
19862 renderSync(options) {
19863 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;
19864 try {
19865 start = new A.DateTime(Date.now(), false);
19866 result = null;
19867 t1 = J.getInterceptor$x(options);
19868 data = t1.get$data(options);
19869 file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
19870 if (data != null) {
19871 t2 = A._parseImporter(options, start);
19872 t3 = A._parseFunctions(options, start, false);
19873 t4 = t1.get$indentedSyntax(options);
19874 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : _null;
19875 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19876 t6 = J.$eq$(t1.get$indentType(options), "tab");
19877 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19878 t8 = A._parseLineFeed(t1.get$linefeed(options));
19879 t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
19880 t10 = t1.get$quietDeps(options);
19881 if (t10 == null)
19882 t10 = false;
19883 t11 = t1.get$verbose(options);
19884 if (t11 == null)
19885 t11 = false;
19886 t12 = t1.get$charset(options);
19887 if (t12 == null)
19888 t12 = true;
19889 t13 = A._enableSourceMaps(options);
19890 t1 = t1.get$logger(options);
19891 t14 = J.$eq$(self.process.stdout.isTTY, true);
19892 t15 = $._glyphs;
19893 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);
19894 } else if (file != null) {
19895 t2 = A._parseImporter(options, start);
19896 t3 = A._parseFunctions(options, start, false);
19897 t4 = t1.get$indentedSyntax(options);
19898 t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass0 : _null;
19899 t5 = A._parseOutputStyle(t1.get$outputStyle(options));
19900 t6 = J.$eq$(t1.get$indentType(options), "tab");
19901 t7 = A._parseIndentWidth(t1.get$indentWidth(options));
19902 t8 = A._parseLineFeed(t1.get$linefeed(options));
19903 t9 = t1.get$quietDeps(options);
19904 if (t9 == null)
19905 t9 = false;
19906 t10 = t1.get$verbose(options);
19907 if (t10 == null)
19908 t10 = false;
19909 t11 = t1.get$charset(options);
19910 if (t11 == null)
19911 t11 = true;
19912 t12 = A._enableSourceMaps(options);
19913 t1 = t1.get$logger(options);
19914 t13 = J.$eq$(self.process.stdout.isTTY, true);
19915 t14 = $._glyphs;
19916 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);
19917 } else {
19918 t1 = A.ArgumentError$(string$.Either, _null);
19919 throw A.wrapException(t1);
19920 }
19921 t1 = A._newRenderResult(options, result, start);
19922 return t1;
19923 } catch (exception) {
19924 t1 = A.unwrapException(exception);
19925 if (t1 instanceof A.SassException0) {
19926 error = t1;
19927 stackTrace = A.getTraceFromException(exception);
19928 A.jsThrow(A._wrapException(error, stackTrace));
19929 } else {
19930 error0 = t1;
19931 stackTrace0 = A.getTraceFromException(exception);
19932 t1 = J.toString$0$(error0);
19933 t2 = A.getTrace0(error0);
19934 A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
19935 }
19936 }
19937 },
19938 _wrapException(exception, stackTrace) {
19939 var file, t1, t2, t3, t4,
19940 url = A.SourceSpanException.prototype.get$span.call(exception, exception).file.url;
19941 if (url == null)
19942 file = "stdin";
19943 else
19944 file = url.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(url)) : url.toString$0(0);
19945 t1 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
19946 t2 = A.getTrace0(exception);
19947 if (t2 == null)
19948 t2 = stackTrace;
19949 t3 = A.SourceSpanException.prototype.get$span.call(exception, exception);
19950 t3 = A.FileLocation$_(t3.file, t3._file$_start);
19951 t3 = t3.file.getLine$1(t3.offset);
19952 t4 = A.SourceSpanException.prototype.get$span.call(exception, exception);
19953 t4 = A.FileLocation$_(t4.file, t4._file$_start);
19954 return A._newRenderError(t1, t2, t4.file.getColumn$1(t4.offset) + 1, file, t3 + 1, 1);
19955 },
19956 _parseFunctions(options, start, asynch) {
19957 var result,
19958 functions = J.get$functions$x(options);
19959 if (functions == null)
19960 return B.List_empty20;
19961 result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
19962 A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
19963 return result;
19964 },
19965 _parseImporter(options, start) {
19966 var importers, t2, t3, contextOptions, fiber,
19967 t1 = J.getInterceptor$x(options);
19968 if (t1.get$importer(options) == null)
19969 importers = A._setArrayType([], type$.JSArray_JSFunction);
19970 else {
19971 t2 = type$.List_nullable_Object;
19972 t3 = type$.JSFunction;
19973 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);
19974 }
19975 t2 = J.getInterceptor$asx(importers);
19976 contextOptions = t2.get$isNotEmpty(importers) ? A._contextOptions(options, start) : new A.Object();
19977 fiber = t1.get$fiber(options);
19978 if (fiber != null) {
19979 t2 = t2.map$1$1(importers, new A._parseImporter_closure(fiber), type$.JSFunction);
19980 importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
19981 }
19982 t1 = t1.get$includePaths(options);
19983 if (t1 == null)
19984 t1 = [];
19985 t2 = type$.String;
19986 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));
19987 },
19988 _contextOptions(options, start) {
19989 var includePaths, t3, t4, t5, t6, t7,
19990 t1 = J.getInterceptor$x(options),
19991 t2 = t1.get$includePaths(options);
19992 if (t2 == null)
19993 t2 = [];
19994 includePaths = A.List_List$from(t2, true, type$.String);
19995 t2 = t1.get$file(options);
19996 t3 = t1.get$data(options);
19997 t4 = A._setArrayType([A.current()], type$.JSArray_String);
19998 B.JSArray_methods.addAll$1(t4, includePaths);
19999 t4 = B.JSArray_methods.join$1(t4, J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
20000 t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
20001 t6 = A._parseIndentWidth(t1.get$indentWidth(options));
20002 if (t6 == null)
20003 t6 = 2;
20004 t7 = A._parseLineFeed(t1.get$linefeed(options));
20005 t1 = t1.get$file(options);
20006 if (t1 == null)
20007 t1 = "data";
20008 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}}};
20009 },
20010 _parseOutputStyle(style) {
20011 if (style == null || style === "expanded")
20012 return B.OutputStyle_expanded0;
20013 if (style === "compressed")
20014 return B.OutputStyle_compressed0;
20015 throw A.wrapException(A.ArgumentError$('Unsupported output style "' + A.S(style) + '".', null));
20016 },
20017 _parseIndentWidth(width) {
20018 if (width == null)
20019 return null;
20020 return A._isInt(width) ? width : A.int_parse(J.toString$0$(width), null);
20021 },
20022 _parseLineFeed(str) {
20023 switch (str) {
20024 case "cr":
20025 return B.LineFeed_kMT;
20026 case "crlf":
20027 return B.LineFeed_Mss;
20028 case "lfcr":
20029 return B.LineFeed_a1Y;
20030 default:
20031 return B.LineFeed_D6m;
20032 }
20033 },
20034 _newRenderResult(options, result, start) {
20035 var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, t5, file, sourceMapDirUrl, i, source, t6, t7, buffer, indices, url, t8, t9, _null = null,
20036 t1 = Date.now(),
20037 t2 = result._compile_result$_serialize,
20038 css = t2.css,
20039 sourceMapBytes = type$.Null._as(self.undefined);
20040 if (A._enableSourceMaps(options)) {
20041 t3 = J.getInterceptor$x(options);
20042 sourceMapOption = t3.get$sourceMap(options);
20043 if (typeof sourceMapOption == "string")
20044 sourceMapPath = sourceMapOption;
20045 else {
20046 t4 = t3.get$outFile(options);
20047 t4.toString;
20048 sourceMapPath = J.$add$ansx(t4, ".map");
20049 }
20050 t4 = $.$get$context();
20051 sourceMapDir = t4.dirname$1(sourceMapPath);
20052 t2 = t2.sourceMap;
20053 t2.toString;
20054 t2.sourceRoot = t3.get$sourceMapRoot(options);
20055 outFile = t3.get$outFile(options);
20056 t5 = outFile == null;
20057 if (t5) {
20058 file = t3.get$file(options);
20059 if (file == null)
20060 t2.targetUrl = "stdin.css";
20061 else
20062 t2.targetUrl = t4.toUri$1(t4.withoutExtension$1(file) + ".css").toString$0(0);
20063 } else
20064 t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
20065 sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
20066 for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
20067 source = t4[i];
20068 if (source === "stdin")
20069 continue;
20070 t6 = $.$get$url();
20071 t7 = t6.style;
20072 if (t7.rootLength$1(source) <= 0 || t7.isRootRelative$1(source))
20073 continue;
20074 t4[i] = t6.relative$2$from(source, sourceMapDirUrl);
20075 }
20076 t4 = t3.get$sourceMapContents(options);
20077 sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
20078 t2 = t3.get$omitSourceMapUrl(options);
20079 if (!(!J.$eq$(t2, false) && t2 != null)) {
20080 t2 = t3.get$sourceMapEmbed(options);
20081 if (!J.$eq$(t2, false) && t2 != null) {
20082 buffer = new A.StringBuffer("");
20083 indices = A._setArrayType([-1], type$.JSArray_int);
20084 A.UriData__writeUri("application/json", _null, _null, buffer, indices);
20085 indices.push(buffer._contents.length);
20086 t2 = buffer._contents += ";base64,";
20087 indices.push(t2.length - 1);
20088 t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
20089 t3 = sourceMapBytes.length;
20090 A.RangeError_checkValidRange(0, t3, t3);
20091 t2._convert$_add$4(sourceMapBytes, 0, t3, true);
20092 t2 = buffer._contents;
20093 url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
20094 } else {
20095 if (t5)
20096 t2 = sourceMapPath;
20097 else {
20098 t2 = $.$get$context();
20099 t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
20100 }
20101 url = $.$get$context().toUri$1(t2);
20102 }
20103 css += "\n\n/*# sourceMappingURL=" + url.toString$0(0) + " */";
20104 }
20105 }
20106 t2 = self.Buffer.from(css, "utf8");
20107 t3 = J.get$file$x(options);
20108 if (t3 == null)
20109 t3 = "data";
20110 t4 = start._core$_value;
20111 t1 = new A.DateTime(t1, false)._core$_value;
20112 t5 = B.JSInt_methods._tdivFast$1(A.Duration$(t1 - t4)._duration, 1000);
20113 t6 = A._setArrayType([], type$.JSArray_String);
20114 for (t7 = result._evaluate.loadedUrls, t7 = A._LinkedHashSetIterator$(t7, t7._collection$_modifications), t8 = A._instanceType(t7)._precomputed1; t7.moveNext$0();) {
20115 t9 = t8._as(t7._collection$_current);
20116 if (t9.get$scheme() === "file")
20117 t6.push($.$get$context().style.pathFromUri$1(A._parseUri(t9)));
20118 else
20119 t6.push(t9.toString$0(0));
20120 }
20121 return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
20122 },
20123 _enableSourceMaps(options) {
20124 var t2,
20125 t1 = J.getInterceptor$x(options);
20126 if (typeof t1.get$sourceMap(options) != "string") {
20127 t2 = t1.get$sourceMap(options);
20128 t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
20129 } else
20130 t1 = true;
20131 return t1;
20132 },
20133 _newRenderError(message, stackTrace, column, file, line, $status) {
20134 var error = new self.Error(message);
20135 error.formatted = "Error: " + message;
20136 if (line != null)
20137 error.line = line;
20138 if (column != null)
20139 error.column = column;
20140 if (file != null)
20141 error.file = file;
20142 error.status = $status;
20143 A.attachJsStack(error, stackTrace);
20144 return error;
20145 },
20146 render_closure: function render_closure(t0, t1) {
20147 this.callback = t0;
20148 this.options = t1;
20149 },
20150 render_closure0: function render_closure0(t0) {
20151 this.callback = t0;
20152 },
20153 render_closure1: function render_closure1(t0) {
20154 this.callback = t0;
20155 },
20156 _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
20157 var _ = this;
20158 _.options = t0;
20159 _.start = t1;
20160 _.result = t2;
20161 _.asynch = t3;
20162 },
20163 _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
20164 this.fiber = t0;
20165 this.callback = t1;
20166 this.context = t2;
20167 },
20168 _parseFunctions___closure0: function _parseFunctions___closure0(t0) {
20169 this.currentFiber = t0;
20170 },
20171 _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
20172 this.currentFiber = t0;
20173 this.result = t1;
20174 },
20175 _parseFunctions___closure1: function _parseFunctions___closure1(t0) {
20176 this.fiber = t0;
20177 },
20178 _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
20179 this.callback = t0;
20180 this.context = t1;
20181 },
20182 _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
20183 this.callback = t0;
20184 this.context = t1;
20185 },
20186 _parseFunctions___closure: function _parseFunctions___closure(t0) {
20187 this.completer = t0;
20188 },
20189 _parseImporter_closure: function _parseImporter_closure(t0) {
20190 this.fiber = t0;
20191 },
20192 _parseImporter__closure: function _parseImporter__closure(t0, t1) {
20193 this.fiber = t0;
20194 this.importer = t1;
20195 },
20196 _parseImporter___closure: function _parseImporter___closure(t0) {
20197 this.currentFiber = t0;
20198 },
20199 _parseImporter____closure: function _parseImporter____closure(t0, t1) {
20200 this.currentFiber = t0;
20201 this.result = t1;
20202 },
20203 _parseImporter___closure0: function _parseImporter___closure0(t0) {
20204 this.fiber = t0;
20205 },
20206 LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
20207 var t2, key,
20208 t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
20209 for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
20210 key = t2.get$current(t2);
20211 if (!blocklist.contains$1(0, key))
20212 t1.add$1(0, key);
20213 }
20214 return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
20215 },
20216 LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
20217 this._limited_map_view0$_map = t0;
20218 this._limited_map_view0$_keys = t1;
20219 this.$ti = t2;
20220 },
20221 ListExpression0: function ListExpression0(t0, t1, t2, t3) {
20222 var _ = this;
20223 _.contents = t0;
20224 _.separator = t1;
20225 _.hasBrackets = t2;
20226 _.span = t3;
20227 },
20228 ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
20229 this.$this = t0;
20230 },
20231 _function10($name, $arguments, callback) {
20232 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
20233 },
20234 _length_closure2: function _length_closure2() {
20235 },
20236 _nth_closure0: function _nth_closure0() {
20237 },
20238 _setNth_closure0: function _setNth_closure0() {
20239 },
20240 _join_closure0: function _join_closure0() {
20241 },
20242 _append_closure2: function _append_closure2() {
20243 },
20244 _zip_closure0: function _zip_closure0() {
20245 },
20246 _zip__closure2: function _zip__closure2() {
20247 },
20248 _zip__closure3: function _zip__closure3(t0) {
20249 this._box_0 = t0;
20250 },
20251 _zip__closure4: function _zip__closure4(t0) {
20252 this._box_0 = t0;
20253 },
20254 _index_closure2: function _index_closure2() {
20255 },
20256 _separator_closure0: function _separator_closure0() {
20257 },
20258 _isBracketed_closure0: function _isBracketed_closure0() {
20259 },
20260 _slash_closure0: function _slash_closure0() {
20261 },
20262 SelectorList$0(components) {
20263 var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
20264 if (t1.length === 0)
20265 A.throwExpression(A.ArgumentError$("components may not be empty.", null));
20266 return new A.SelectorList0(t1);
20267 },
20268 SelectorList_SelectorList$parse0(contents, allowParent, allowPlaceholder, logger) {
20269 return A.SelectorParser$0(contents, allowParent, allowPlaceholder, logger, null).parse$0();
20270 },
20271 SelectorList0: function SelectorList0(t0) {
20272 this.components = t0;
20273 },
20274 SelectorList_isInvisible_closure0: function SelectorList_isInvisible_closure0() {
20275 },
20276 SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
20277 },
20278 SelectorList_asSassList__closure0: function SelectorList_asSassList__closure0() {
20279 },
20280 SelectorList_unify_closure0: function SelectorList_unify_closure0(t0) {
20281 this.other = t0;
20282 },
20283 SelectorList_unify__closure0: function SelectorList_unify__closure0(t0) {
20284 this.complex1 = t0;
20285 },
20286 SelectorList_unify___closure0: function SelectorList_unify___closure0() {
20287 },
20288 SelectorList_resolveParentSelectors_closure0: function SelectorList_resolveParentSelectors_closure0(t0, t1, t2) {
20289 this.$this = t0;
20290 this.implicitParent = t1;
20291 this.parent = t2;
20292 },
20293 SelectorList_resolveParentSelectors__closure1: function SelectorList_resolveParentSelectors__closure1(t0) {
20294 this.complex = t0;
20295 },
20296 SelectorList_resolveParentSelectors__closure2: function SelectorList_resolveParentSelectors__closure2(t0) {
20297 this._box_0 = t0;
20298 },
20299 SelectorList__complexContainsParentSelector_closure0: function SelectorList__complexContainsParentSelector_closure0() {
20300 },
20301 SelectorList__complexContainsParentSelector__closure0: function SelectorList__complexContainsParentSelector__closure0() {
20302 },
20303 SelectorList__resolveParentSelectorsCompound_closure2: function SelectorList__resolveParentSelectorsCompound_closure2() {
20304 },
20305 SelectorList__resolveParentSelectorsCompound_closure3: function SelectorList__resolveParentSelectorsCompound_closure3(t0) {
20306 this.parent = t0;
20307 },
20308 SelectorList__resolveParentSelectorsCompound_closure4: function SelectorList__resolveParentSelectorsCompound_closure4(t0, t1) {
20309 this.compound = t0;
20310 this.resolvedMembers = t1;
20311 },
20312 _NodeSassList: function _NodeSassList() {
20313 },
20314 legacyListClass_closure: function legacyListClass_closure() {
20315 },
20316 legacyListClass__closure: function legacyListClass__closure() {
20317 },
20318 legacyListClass_closure0: function legacyListClass_closure0() {
20319 },
20320 legacyListClass_closure1: function legacyListClass_closure1() {
20321 },
20322 legacyListClass_closure2: function legacyListClass_closure2() {
20323 },
20324 legacyListClass_closure3: function legacyListClass_closure3() {
20325 },
20326 legacyListClass_closure4: function legacyListClass_closure4() {
20327 },
20328 listClass_closure: function listClass_closure() {
20329 },
20330 listClass__closure: function listClass__closure() {
20331 },
20332 listClass__closure0: function listClass__closure0() {
20333 },
20334 _ConstructorOptions: function _ConstructorOptions() {
20335 },
20336 SassList$0(contents, _separator, brackets) {
20337 var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
20338 t1.SassList$3$brackets0(contents, _separator, brackets);
20339 return t1;
20340 },
20341 SassList0: function SassList0(t0, t1, t2) {
20342 this._list1$_contents = t0;
20343 this._list1$_separator = t1;
20344 this._list1$_hasBrackets = t2;
20345 },
20346 SassList_isBlank_closure0: function SassList_isBlank_closure0() {
20347 },
20348 ListSeparator0: function ListSeparator0(t0, t1) {
20349 this._list1$_name = t0;
20350 this.separator = t1;
20351 },
20352 NodeLogger: function NodeLogger() {
20353 },
20354 WarnOptions: function WarnOptions() {
20355 },
20356 DebugOptions: function DebugOptions() {
20357 },
20358 _QuietLogger0: function _QuietLogger0() {
20359 },
20360 LoudComment0: function LoudComment0(t0) {
20361 this.text = t0;
20362 },
20363 MapExpression0: function MapExpression0(t0, t1) {
20364 this.pairs = t0;
20365 this.span = t1;
20366 },
20367 MapExpression_toString_closure0: function MapExpression_toString_closure0() {
20368 },
20369 _modify0(map, keys, modify, addNesting) {
20370 var keyIterator = J.get$iterator$ax(keys);
20371 return keyIterator.moveNext$0() ? new A._modify__modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
20372 },
20373 _deepMergeImpl0(map1, map2) {
20374 var t1 = {},
20375 t2 = map2._map0$_contents;
20376 if (t2.get$isEmpty(t2))
20377 return map1;
20378 t1.mutable = false;
20379 t1.result = t2;
20380 map1._map0$_contents.forEach$1(0, new A._deepMergeImpl_closure0(t1, new A._deepMergeImpl__ensureMutable0(t1)));
20381 if (t1.mutable) {
20382 t2 = type$.Value_2;
20383 t2 = new A.SassMap0(A.ConstantMap_ConstantMap$from(t1.result, t2, t2));
20384 t1 = t2;
20385 } else
20386 t1 = map2;
20387 return t1;
20388 },
20389 _function9($name, $arguments, callback) {
20390 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
20391 },
20392 _get_closure0: function _get_closure0() {
20393 },
20394 _set_closure1: function _set_closure1() {
20395 },
20396 _set__closure2: function _set__closure2(t0) {
20397 this.$arguments = t0;
20398 },
20399 _set_closure2: function _set_closure2() {
20400 },
20401 _set__closure1: function _set__closure1(t0) {
20402 this.args = t0;
20403 },
20404 _merge_closure1: function _merge_closure1() {
20405 },
20406 _merge_closure2: function _merge_closure2() {
20407 },
20408 _merge__closure0: function _merge__closure0(t0) {
20409 this.map2 = t0;
20410 },
20411 _deepMerge_closure0: function _deepMerge_closure0() {
20412 },
20413 _deepRemove_closure0: function _deepRemove_closure0() {
20414 },
20415 _deepRemove__closure0: function _deepRemove__closure0(t0) {
20416 this.keys = t0;
20417 },
20418 _remove_closure1: function _remove_closure1() {
20419 },
20420 _remove_closure2: function _remove_closure2() {
20421 },
20422 _keys_closure0: function _keys_closure0() {
20423 },
20424 _values_closure0: function _values_closure0() {
20425 },
20426 _hasKey_closure0: function _hasKey_closure0() {
20427 },
20428 _modify__modifyNestedMap0: function _modify__modifyNestedMap0(t0, t1, t2) {
20429 this.keyIterator = t0;
20430 this.modify = t1;
20431 this.addNesting = t2;
20432 },
20433 _deepMergeImpl__ensureMutable0: function _deepMergeImpl__ensureMutable0(t0) {
20434 this._box_0 = t0;
20435 },
20436 _deepMergeImpl_closure0: function _deepMergeImpl_closure0(t0, t1) {
20437 this._box_0 = t0;
20438 this._ensureMutable = t1;
20439 },
20440 _NodeSassMap: function _NodeSassMap() {
20441 },
20442 legacyMapClass_closure: function legacyMapClass_closure() {
20443 },
20444 legacyMapClass__closure: function legacyMapClass__closure() {
20445 },
20446 legacyMapClass__closure0: function legacyMapClass__closure0() {
20447 },
20448 legacyMapClass_closure0: function legacyMapClass_closure0() {
20449 },
20450 legacyMapClass_closure1: function legacyMapClass_closure1() {
20451 },
20452 legacyMapClass_closure2: function legacyMapClass_closure2() {
20453 },
20454 legacyMapClass_closure3: function legacyMapClass_closure3() {
20455 },
20456 legacyMapClass_closure4: function legacyMapClass_closure4() {
20457 },
20458 mapClass_closure: function mapClass_closure() {
20459 },
20460 mapClass__closure: function mapClass__closure() {
20461 },
20462 mapClass__closure0: function mapClass__closure0() {
20463 },
20464 mapClass__closure1: function mapClass__closure1() {
20465 },
20466 SassMap0: function SassMap0(t0) {
20467 this._map0$_contents = t0;
20468 },
20469 SassMap_asList_closure0: function SassMap_asList_closure0(t0) {
20470 this.result = t0;
20471 },
20472 _fuzzyRoundIfZero0(number) {
20473 if (!(Math.abs(number - 0) < $.$get$epsilon0()))
20474 return number;
20475 return B.JSNumber_methods.get$isNegative(number) ? -0.0 : 0;
20476 },
20477 _numberFunction0($name, transform) {
20478 return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
20479 },
20480 _function8($name, $arguments, callback) {
20481 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
20482 },
20483 _ceil_closure0: function _ceil_closure0() {
20484 },
20485 _clamp_closure0: function _clamp_closure0() {
20486 },
20487 _floor_closure0: function _floor_closure0() {
20488 },
20489 _max_closure0: function _max_closure0() {
20490 },
20491 _min_closure0: function _min_closure0() {
20492 },
20493 _abs_closure0: function _abs_closure0() {
20494 },
20495 _hypot_closure0: function _hypot_closure0() {
20496 },
20497 _hypot__closure0: function _hypot__closure0() {
20498 },
20499 _log_closure0: function _log_closure0() {
20500 },
20501 _pow_closure0: function _pow_closure0() {
20502 },
20503 _sqrt_closure0: function _sqrt_closure0() {
20504 },
20505 _acos_closure0: function _acos_closure0() {
20506 },
20507 _asin_closure0: function _asin_closure0() {
20508 },
20509 _atan_closure0: function _atan_closure0() {
20510 },
20511 _atan2_closure0: function _atan2_closure0() {
20512 },
20513 _cos_closure0: function _cos_closure0() {
20514 },
20515 _sin_closure0: function _sin_closure0() {
20516 },
20517 _tan_closure0: function _tan_closure0() {
20518 },
20519 _compatible_closure0: function _compatible_closure0() {
20520 },
20521 _isUnitless_closure0: function _isUnitless_closure0() {
20522 },
20523 _unit_closure0: function _unit_closure0() {
20524 },
20525 _percentage_closure0: function _percentage_closure0() {
20526 },
20527 _randomFunction_closure0: function _randomFunction_closure0() {
20528 },
20529 _div_closure0: function _div_closure0() {
20530 },
20531 _numberFunction_closure0: function _numberFunction_closure0(t0) {
20532 this.transform = t0;
20533 },
20534 CssMediaQuery0: function CssMediaQuery0(t0, t1, t2) {
20535 this.modifier = t0;
20536 this.type = t1;
20537 this.features = t2;
20538 },
20539 _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
20540 this._media_query1$_name = t0;
20541 },
20542 MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
20543 this.query = t0;
20544 },
20545 MediaQueryParser0: function MediaQueryParser0(t0, t1) {
20546 this.scanner = t0;
20547 this.logger = t1;
20548 },
20549 MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
20550 this.$this = t0;
20551 },
20552 ModifiableCssMediaRule$0(queries, span) {
20553 var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
20554 t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
20555 if (J.get$isEmpty$asx(queries))
20556 A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
20557 return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
20558 },
20559 ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
20560 var _ = this;
20561 _.queries = t0;
20562 _.span = t1;
20563 _.children = t2;
20564 _._node1$_children = t3;
20565 _._node1$_indexInParent = _._node1$_parent = null;
20566 _.isGroupEnd = false;
20567 },
20568 MediaRule$0(query, children, span) {
20569 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
20570 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
20571 return new A.MediaRule0(query, span, t1, t2);
20572 },
20573 MediaRule0: function MediaRule0(t0, t1, t2, t3) {
20574 var _ = this;
20575 _.query = t0;
20576 _.span = t1;
20577 _.children = t2;
20578 _.hasDeclarations = t3;
20579 },
20580 MergedExtension_merge0(left, right) {
20581 var t4, t5, t6,
20582 t1 = left.extender,
20583 t2 = t1.selector,
20584 t3 = B.C_ListEquality.equals$2(0, t2.components, right.extender.selector.components);
20585 if (!t3 || !left.target.$eq(0, right.target))
20586 throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
20587 t3 = left.mediaContext;
20588 t4 = t3 == null;
20589 if (!t4) {
20590 t5 = right.mediaContext;
20591 t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
20592 } else
20593 t5 = false;
20594 if (t5)
20595 throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
20596 if (right.isOptional && right.mediaContext == null)
20597 return left;
20598 if (left.isOptional && t4)
20599 return right;
20600 t5 = left.target;
20601 t6 = left.span;
20602 if (t4)
20603 t3 = right.mediaContext;
20604 t2.get$maxSpecificity();
20605 t1 = new A.Extender0(t2, false, t1.span);
20606 return t1._extension$_extension = new A.MergedExtension0(left, right, t1, t5, t3, true, t6);
20607 },
20608 MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
20609 var _ = this;
20610 _.left = t0;
20611 _.right = t1;
20612 _.extender = t2;
20613 _.target = t3;
20614 _.mediaContext = t4;
20615 _.isOptional = t5;
20616 _.span = t6;
20617 },
20618 MergedMapView$0(maps, $K, $V) {
20619 var t1 = $K._eval$1("@<0>")._bind$1($V);
20620 t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
20621 t1.MergedMapView$10(maps, $K, $V);
20622 return t1;
20623 },
20624 MergedMapView0: function MergedMapView0(t0, t1) {
20625 this._merged_map_view$_mapsByKey = t0;
20626 this.$ti = t1;
20627 },
20628 _function12($name, $arguments, callback) {
20629 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
20630 },
20631 global_closure57: function global_closure57() {
20632 },
20633 global_closure58: function global_closure58() {
20634 },
20635 global_closure59: function global_closure59() {
20636 },
20637 global_closure60: function global_closure60() {
20638 },
20639 local_closure1: function local_closure1() {
20640 },
20641 local_closure2: function local_closure2() {
20642 },
20643 local__closure0: function local__closure0() {
20644 },
20645 MixinRule$0($name, $arguments, children, span, comment) {
20646 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
20647 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
20648 return new A.MixinRule0($name, $arguments, span, t1, t2);
20649 },
20650 MixinRule0: function MixinRule0(t0, t1, t2, t3, t4) {
20651 var _ = this;
20652 _._mixin_rule$__MixinRule_hasContent = $;
20653 _.name = t0;
20654 _.$arguments = t1;
20655 _.span = t2;
20656 _.children = t3;
20657 _.hasDeclarations = t4;
20658 },
20659 _HasContentVisitor0: function _HasContentVisitor0() {
20660 },
20661 ExtendMode0: function ExtendMode0(t0) {
20662 this.name = t0;
20663 },
20664 SupportsNegation0: function SupportsNegation0(t0, t1) {
20665 this.condition = t0;
20666 this.span = t1;
20667 },
20668 NoOpImporter: function NoOpImporter() {
20669 },
20670 NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
20671 this._no_source_map_buffer0$_buffer = t0;
20672 },
20673 AstNode0: function AstNode0() {
20674 },
20675 _FakeAstNode0: function _FakeAstNode0(t0) {
20676 this._node2$_callback = t0;
20677 },
20678 CssNode0: function CssNode0() {
20679 },
20680 CssParentNode0: function CssParentNode0() {
20681 },
20682 readFile0(path) {
20683 var sourceFile, t1, i,
20684 contents = A._asString(A._readFile0(path, "utf8"));
20685 if (!B.JSString_methods.contains$1(contents, "\ufffd"))
20686 return contents;
20687 sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
20688 for (t1 = contents.length, i = 0; i < t1; ++i) {
20689 if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
20690 continue;
20691 throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
20692 }
20693 return contents;
20694 },
20695 _readFile0(path, encoding) {
20696 return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
20697 },
20698 fileExists0(path) {
20699 return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
20700 },
20701 dirExists0(path) {
20702 return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
20703 },
20704 listDir0(path) {
20705 return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
20706 },
20707 _systemErrorToFileSystemException0(callback) {
20708 var error, t1, exception, t2;
20709 try {
20710 t1 = callback.call$0();
20711 return t1;
20712 } catch (exception) {
20713 error = A.unwrapException(exception);
20714 if (!type$.JsSystemError._is(error))
20715 throw exception;
20716 t1 = error;
20717 t2 = J.getInterceptor$x(t1);
20718 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)));
20719 }
20720 },
20721 FileSystemException0: function FileSystemException0(t0, t1) {
20722 this.message = t0;
20723 this.path = t1;
20724 },
20725 Stderr0: function Stderr0(t0) {
20726 this._node0$_stderr = t0;
20727 },
20728 _readFile_closure0: function _readFile_closure0(t0, t1) {
20729 this.path = t0;
20730 this.encoding = t1;
20731 },
20732 fileExists_closure0: function fileExists_closure0(t0) {
20733 this.path = t0;
20734 },
20735 dirExists_closure0: function dirExists_closure0(t0) {
20736 this.path = t0;
20737 },
20738 listDir_closure0: function listDir_closure0(t0, t1) {
20739 this.recursive = t0;
20740 this.path = t1;
20741 },
20742 listDir__closure1: function listDir__closure1(t0) {
20743 this.path = t0;
20744 },
20745 listDir__closure2: function listDir__closure2() {
20746 },
20747 listDir_closure_list0: function listDir_closure_list0() {
20748 },
20749 listDir__list_closure0: function listDir__list_closure0(t0, t1) {
20750 this.parent = t0;
20751 this.list = t1;
20752 },
20753 ModifiableCssNode0: function ModifiableCssNode0() {
20754 },
20755 ModifiableCssParentNode0: function ModifiableCssParentNode0() {
20756 },
20757 main() {
20758 J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
20759 J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
20760 J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
20761 J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
20762 J.set$Value$x(self.exports, $.$get$valueClass());
20763 J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
20764 J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
20765 J.set$SassColor$x(self.exports, $.$get$colorClass());
20766 J.set$SassFunction$x(self.exports, $.$get$functionClass());
20767 J.set$SassList$x(self.exports, $.$get$listClass());
20768 J.set$SassMap$x(self.exports, $.$get$mapClass());
20769 J.set$SassNumber$x(self.exports, $.$get$numberClass());
20770 J.set$SassString$x(self.exports, $.$get$stringClass());
20771 J.set$sassNull$x(self.exports, B.C__SassNull0);
20772 J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
20773 J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
20774 J.set$Exception$x(self.exports, $.$get$exceptionClass());
20775 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())}});
20776 J.set$info$x(self.exports, "dart-sass\t1.48.0\t(Sass Compiler)\t[Dart]\ndart2js\t2.15.1\t(Dart Compiler)\t[Dart]");
20777 A.updateSourceSpanPrototype();
20778 J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
20779 J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
20780 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});
20781 J.set$NULL$x(self.exports, B.C__SassNull0);
20782 J.set$TRUE$x(self.exports, B.SassBoolean_true0);
20783 J.set$FALSE$x(self.exports, B.SassBoolean_false0);
20784 },
20785 main_closure0: function main_closure0() {
20786 },
20787 main_closure1: function main_closure1() {
20788 },
20789 NodeToDartLogger: function NodeToDartLogger(t0, t1, t2) {
20790 this._node = t0;
20791 this._fallback = t1;
20792 this._ascii = t2;
20793 },
20794 NodeToDartLogger_warn_closure: function NodeToDartLogger_warn_closure(t0, t1, t2, t3, t4) {
20795 var _ = this;
20796 _.$this = t0;
20797 _.message = t1;
20798 _.span = t2;
20799 _.trace = t3;
20800 _.deprecation = t4;
20801 },
20802 NodeToDartLogger_debug_closure: function NodeToDartLogger_debug_closure(t0, t1, t2) {
20803 this.$this = t0;
20804 this.message = t1;
20805 this.span = t2;
20806 },
20807 NullExpression0: function NullExpression0(t0) {
20808 this.span = t0;
20809 },
20810 legacyNullClass_closure: function legacyNullClass_closure() {
20811 },
20812 legacyNullClass__closure: function legacyNullClass__closure() {
20813 },
20814 _SassNull0: function _SassNull0() {
20815 },
20816 NumberExpression0: function NumberExpression0(t0, t1, t2) {
20817 this.value = t0;
20818 this.unit = t1;
20819 this.span = t2;
20820 },
20821 _parseNumber(value, unit) {
20822 var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
20823 if (unit == null || unit.length === 0)
20824 return new A.UnitlessSassNumber0(value, null);
20825 if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
20826 return new A.SingleUnitSassNumber0(unit, value, null);
20827 invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
20828 operands = unit.split("/");
20829 t1 = operands.length;
20830 if (t1 > 2)
20831 throw A.wrapException(invalidUnit);
20832 numerator = operands[0];
20833 denominator = t1 === 1 ? null : operands[1];
20834 t1 = type$.JSArray_String;
20835 numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
20836 if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
20837 throw A.wrapException(invalidUnit);
20838 denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
20839 if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
20840 throw A.wrapException(invalidUnit);
20841 return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
20842 },
20843 _NodeSassNumber: function _NodeSassNumber() {
20844 },
20845 legacyNumberClass_closure: function legacyNumberClass_closure() {
20846 },
20847 legacyNumberClass_closure0: function legacyNumberClass_closure0() {
20848 },
20849 legacyNumberClass_closure1: function legacyNumberClass_closure1() {
20850 },
20851 legacyNumberClass_closure2: function legacyNumberClass_closure2() {
20852 },
20853 legacyNumberClass_closure3: function legacyNumberClass_closure3() {
20854 },
20855 _parseNumber_closure: function _parseNumber_closure() {
20856 },
20857 _parseNumber_closure0: function _parseNumber_closure0() {
20858 },
20859 numberClass_closure: function numberClass_closure() {
20860 },
20861 numberClass__closure: function numberClass__closure() {
20862 },
20863 numberClass__closure0: function numberClass__closure0() {
20864 },
20865 numberClass__closure1: function numberClass__closure1() {
20866 },
20867 numberClass__closure2: function numberClass__closure2() {
20868 },
20869 numberClass__closure3: function numberClass__closure3() {
20870 },
20871 numberClass__closure4: function numberClass__closure4() {
20872 },
20873 numberClass__closure5: function numberClass__closure5() {
20874 },
20875 numberClass__closure6: function numberClass__closure6() {
20876 },
20877 numberClass__closure7: function numberClass__closure7() {
20878 },
20879 numberClass__closure8: function numberClass__closure8() {
20880 },
20881 numberClass__closure9: function numberClass__closure9() {
20882 },
20883 numberClass__closure10: function numberClass__closure10() {
20884 },
20885 numberClass__closure11: function numberClass__closure11() {
20886 },
20887 numberClass__closure12: function numberClass__closure12() {
20888 },
20889 numberClass__closure13: function numberClass__closure13() {
20890 },
20891 numberClass__closure14: function numberClass__closure14() {
20892 },
20893 numberClass__closure15: function numberClass__closure15() {
20894 },
20895 numberClass__closure16: function numberClass__closure16() {
20896 },
20897 numberClass__closure17: function numberClass__closure17() {
20898 },
20899 numberClass__closure18: function numberClass__closure18() {
20900 },
20901 numberClass__closure19: function numberClass__closure19() {
20902 },
20903 _ConstructorOptions0: function _ConstructorOptions0() {
20904 },
20905 conversionFactor0(unit1, unit2) {
20906 var innerMap;
20907 if (unit1 === unit2)
20908 return 1;
20909 innerMap = B.Map_K2BWj.$index(0, unit1);
20910 if (innerMap == null)
20911 return null;
20912 return innerMap.$index(0, unit2);
20913 },
20914 SassNumber_SassNumber0(value, unit) {
20915 return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
20916 },
20917 SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
20918 var t1, numerators, t2, unsimplifiedDenominators, denominators, t3, _i, denominator, simplifiedAway, i, factor, _null = null;
20919 if (denominatorUnits == null || J.get$isEmpty$asx(denominatorUnits))
20920 if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
20921 return new A.UnitlessSassNumber0(value, _null);
20922 else {
20923 t1 = J.getInterceptor$asx(numeratorUnits);
20924 if (t1.get$length(numeratorUnits) === 1)
20925 return new A.SingleUnitSassNumber0(t1.$index(numeratorUnits, 0), value, _null);
20926 else
20927 return new A.ComplexSassNumber0(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
20928 }
20929 else if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
20930 return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
20931 else {
20932 t1 = J.getInterceptor$ax(numeratorUnits);
20933 numerators = t1.toList$0(numeratorUnits);
20934 t2 = J.getInterceptor$ax(denominatorUnits);
20935 unsimplifiedDenominators = t2.toList$0(denominatorUnits);
20936 denominators = A._setArrayType([], type$.JSArray_String);
20937 for (t3 = unsimplifiedDenominators.length, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t3 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
20938 denominator = unsimplifiedDenominators[_i];
20939 i = 0;
20940 while (true) {
20941 if (!(i < numerators.length)) {
20942 simplifiedAway = false;
20943 break;
20944 }
20945 c$0: {
20946 factor = A.conversionFactor0(denominator, numerators[i]);
20947 if (factor == null)
20948 break c$0;
20949 value *= factor;
20950 B.JSArray_methods.removeAt$1(numerators, i);
20951 simplifiedAway = true;
20952 break;
20953 }
20954 ++i;
20955 }
20956 if (!simplifiedAway)
20957 denominators.push(denominator);
20958 }
20959 if (t2.get$isEmpty(denominatorUnits))
20960 if (t1.get$isEmpty(numeratorUnits))
20961 return new A.UnitlessSassNumber0(value, _null);
20962 else if (t1.get$length(numeratorUnits) === 1)
20963 return new A.SingleUnitSassNumber0(t1.get$single(numeratorUnits), value, _null);
20964 t1 = type$.String;
20965 return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), value, _null);
20966 }
20967 },
20968 SassNumber0: function SassNumber0() {
20969 },
20970 SassNumber__coerceOrConvertValue__compatibilityException0: function SassNumber__coerceOrConvertValue__compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
20971 var _ = this;
20972 _.$this = t0;
20973 _.other = t1;
20974 _.otherName = t2;
20975 _.otherHasUnits = t3;
20976 _.name = t4;
20977 _.newNumerators = t5;
20978 _.newDenominators = t6;
20979 },
20980 SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
20981 this._box_0 = t0;
20982 this.newNumerator = t1;
20983 },
20984 SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
20985 this._compatibilityException = t0;
20986 },
20987 SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
20988 this._box_0 = t0;
20989 this.newDenominator = t1;
20990 },
20991 SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
20992 this._compatibilityException = t0;
20993 },
20994 SassNumber_plus_closure0: function SassNumber_plus_closure0() {
20995 },
20996 SassNumber_minus_closure0: function SassNumber_minus_closure0() {
20997 },
20998 SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
20999 this._box_0 = t0;
21000 this.numerator = t1;
21001 },
21002 SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
21003 this.newNumerators = t0;
21004 this.numerator = t1;
21005 },
21006 SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
21007 this._box_0 = t0;
21008 this.numerator = t1;
21009 },
21010 SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
21011 this.newNumerators = t0;
21012 this.numerator = t1;
21013 },
21014 SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
21015 this.units2 = t0;
21016 },
21017 SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
21018 },
21019 SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
21020 this.$this = t0;
21021 },
21022 SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
21023 var _ = this;
21024 _.left = t0;
21025 _.right = t1;
21026 _.operator = t2;
21027 _.span = t3;
21028 },
21029 ParentSelector0: function ParentSelector0(t0) {
21030 this.suffix = t0;
21031 },
21032 ParentStatement0: function ParentStatement0() {
21033 },
21034 ParentStatement_closure0: function ParentStatement_closure0() {
21035 },
21036 ParentStatement__closure0: function ParentStatement__closure0() {
21037 },
21038 ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
21039 this.expression = t0;
21040 this.span = t1;
21041 },
21042 Parser_isIdentifier0(text) {
21043 var t1, t2, exception, logger = null;
21044 try {
21045 t1 = logger;
21046 t2 = A.SpanScanner$(text, null);
21047 new A.Parser1(t2, t1 == null ? B.StderrLogger_false0 : t1)._parser0$_parseIdentifier$0();
21048 return true;
21049 } catch (exception) {
21050 if (A.unwrapException(exception) instanceof A.SassFormatException0)
21051 return false;
21052 else
21053 throw exception;
21054 }
21055 },
21056 Parser1: function Parser1(t0, t1) {
21057 this.scanner = t0;
21058 this.logger = t1;
21059 },
21060 Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
21061 this.$this = t0;
21062 },
21063 Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
21064 this.caseSensitive = t0;
21065 this.char = t1;
21066 },
21067 PlaceholderSelector0: function PlaceholderSelector0(t0) {
21068 this.name = t0;
21069 },
21070 PlainCssCallable0: function PlainCssCallable0(t0) {
21071 this.name = t0;
21072 },
21073 PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
21074 this._prefixed_map_view0$_map = t0;
21075 this._prefixed_map_view0$_prefix = t1;
21076 this.$ti = t2;
21077 },
21078 _PrefixedKeys0: function _PrefixedKeys0(t0) {
21079 this._prefixed_map_view0$_view = t0;
21080 },
21081 _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
21082 this.$this = t0;
21083 },
21084 PseudoSelector$0($name, argument, element, selector) {
21085 var t1 = !element,
21086 t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
21087 return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector);
21088 },
21089 PseudoSelector__isFakePseudoElement0($name) {
21090 switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
21091 case 97:
21092 case 65:
21093 return A.equalsIgnoreCase0($name, "after");
21094 case 98:
21095 case 66:
21096 return A.equalsIgnoreCase0($name, "before");
21097 case 102:
21098 case 70:
21099 return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
21100 default:
21101 return false;
21102 }
21103 },
21104 PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5) {
21105 var _ = this;
21106 _.name = t0;
21107 _.normalizedName = t1;
21108 _.isClass = t2;
21109 _.isSyntacticClass = t3;
21110 _.argument = t4;
21111 _.selector = t5;
21112 _._pseudo0$_maxSpecificity = _._pseudo0$_minSpecificity = null;
21113 },
21114 PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
21115 },
21116 PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
21117 this._public_member_map_view0$_inner = t0;
21118 this.$ti = t1;
21119 },
21120 QualifiedName0: function QualifiedName0(t0, t1) {
21121 this.name = t0;
21122 this.namespace = t1;
21123 },
21124 createJSClass($name, $constructor) {
21125 return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
21126 },
21127 JSClassExtension_injectSuperclass(_this, superclass) {
21128 var t1 = J.getInterceptor$x(superclass),
21129 t2 = J.getInterceptor$x(_this);
21130 self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
21131 self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
21132 },
21133 JSClassExtension_setCustomInspect(_this, inspect) {
21134 J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
21135 },
21136 JSClassExtension_get_defineMethod(_this) {
21137 return new A.JSClassExtension_get_defineMethod_closure(_this);
21138 },
21139 JSClassExtension_defineMethods(_this, methods) {
21140 methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
21141 },
21142 JSClassExtension_get_defineGetter(_this) {
21143 return new A.JSClassExtension_get_defineGetter_closure(_this);
21144 },
21145 JSClass0: function JSClass0() {
21146 },
21147 JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
21148 this.inspect = t0;
21149 },
21150 JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
21151 this._this = t0;
21152 },
21153 JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
21154 this._this = t0;
21155 },
21156 RenderContext0: function RenderContext0() {
21157 },
21158 RenderContextOptions0: function RenderContextOptions0() {
21159 },
21160 RenderContextResult0: function RenderContextResult0() {
21161 },
21162 RenderContextResultStats0: function RenderContextResultStats0() {
21163 },
21164 RenderOptions: function RenderOptions() {
21165 },
21166 RenderResult: function RenderResult() {
21167 },
21168 RenderResultStats: function RenderResultStats() {
21169 },
21170 ImporterResult$(contents, sourceMapUrl, syntax) {
21171 var t2,
21172 t1 = syntax == null;
21173 if (t1)
21174 t2 = B.Syntax_SCSS0;
21175 else
21176 t2 = syntax;
21177 if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
21178 A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
21179 else if (t1 && true)
21180 A.throwExpression(A.ArgumentError$("The syntax parameter must be passed.", null));
21181 return new A.ImporterResult0(contents, sourceMapUrl, t2);
21182 },
21183 ImporterResult0: function ImporterResult0(t0, t1, t2) {
21184 this.contents = t0;
21185 this._result$_sourceMapUrl = t1;
21186 this.syntax = t2;
21187 },
21188 ReturnRule0: function ReturnRule0(t0, t1) {
21189 this.expression = t0;
21190 this.span = t1;
21191 },
21192 main0(args) {
21193 return A.main$body(args);
21194 },
21195 main$body(args) {
21196 var $async$goto = 0,
21197 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
21198 $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;
21199 var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
21200 if ($async$errorCode === 1) {
21201 $async$currentError = $async$result;
21202 $async$goto = $async$handler;
21203 }
21204 while (true)
21205 switch ($async$goto) {
21206 case 0:
21207 // Function start
21208 _box_0 = {};
21209 _box_0.printedError = false;
21210 printError = new A.main_printError(_box_0);
21211 _box_0.options = null;
21212 $async$handler = 4;
21213 options = A.ExecutableOptions_ExecutableOptions$parse(args);
21214 _box_0.options = options;
21215 t1 = options._options;
21216 $._glyphs = !(t1.wasParsed$1("unicode") ? A._asBool(t1.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
21217 $async$goto = A._asBool(_box_0.options._options.$index(0, "version")) ? 7 : 8;
21218 break;
21219 case 7:
21220 // then
21221 $async$temp1 = A;
21222 $async$goto = 9;
21223 return A._asyncAwait(A._loadVersion(), $async$main0);
21224 case 9:
21225 // returning from await.
21226 $async$temp1.print($async$result);
21227 J.set$exitCode$x(self.process, 0);
21228 // goto return
21229 $async$goto = 1;
21230 break;
21231 case 8:
21232 // join
21233 $async$goto = _box_0.options.get$interactive() ? 10 : 11;
21234 break;
21235 case 10:
21236 // then
21237 $async$goto = 12;
21238 return A._asyncAwait(A.repl(_box_0.options), $async$main0);
21239 case 12:
21240 // returning from await.
21241 // goto return
21242 $async$goto = 1;
21243 break;
21244 case 11:
21245 // join
21246 t1 = type$.List_String._as(_box_0.options._options.$index(0, "load-path"));
21247 t2 = _box_0.options;
21248 t3 = type$.Uri;
21249 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));
21250 $async$goto = A._asBool(_box_0.options._options.$index(0, "watch")) ? 13 : 14;
21251 break;
21252 case 13:
21253 // then
21254 $async$goto = 15;
21255 return A._asyncAwait(A.watch(_box_0.options, graph), $async$main0);
21256 case 15:
21257 // returning from await.
21258 // goto return
21259 $async$goto = 1;
21260 break;
21261 case 14:
21262 // join
21263 t1 = _box_0.options, t1._ensureSources$0(), t1 = t1._sourcesToDestinations, t1 = J.get$iterator$ax(t1.get$keys(t1));
21264 case 16:
21265 // for condition
21266 if (!t1.moveNext$0()) {
21267 // goto after for
21268 $async$goto = 17;
21269 break;
21270 }
21271 source = t1.get$current(t1);
21272 t2 = _box_0.options;
21273 t2._ensureSources$0();
21274 destination = t2._sourcesToDestinations.$index(0, source);
21275 $async$handler = 19;
21276 t2 = _box_0.options;
21277 $async$goto = 22;
21278 return A._asyncAwait(A.compileStylesheet(t2, graph, source, destination, A._asBool(t2._options.$index(0, "update"))), $async$main0);
21279 case 22:
21280 // returning from await.
21281 $async$handler = 4;
21282 // goto after finally
21283 $async$goto = 21;
21284 break;
21285 case 19:
21286 // catch
21287 $async$handler = 18;
21288 $async$exception = $async$currentError;
21289 t2 = A.unwrapException($async$exception);
21290 if (t2 instanceof A.SassException) {
21291 error = t2;
21292 stackTrace = A.getTraceFromException($async$exception);
21293 new A.main_closure(_box_0, destination).call$0();
21294 t2 = _box_0.options._options;
21295 if (!t2._parser.options._map.containsKey$1("color"))
21296 A.throwExpression(A.ArgumentError$('Could not find an option named "color".', null));
21297 t2 = t2._parsed.containsKey$1("color") ? A._asBool(t2.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
21298 t2 = J.toString$1$color$(error, t2);
21299 if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
21300 t3 = error;
21301 t4 = typeof t3 == "string";
21302 if (t4 || typeof t3 == "number" || A._isBool(t3))
21303 t3 = null;
21304 else {
21305 t5 = $.$get$_traces();
21306 t4 = A._isBool(t3) || typeof t3 == "number" || t4;
21307 if (t4)
21308 A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
21309 t3 = t5._jsWeakMap.get(t3);
21310 }
21311 if (t3 == null)
21312 t3 = stackTrace;
21313 } else
21314 t3 = null;
21315 printError.call$2(t2, t3);
21316 if (J.get$exitCode$x(self.process) !== 66)
21317 J.set$exitCode$x(self.process, 65);
21318 if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
21319 // goto return
21320 $async$goto = 1;
21321 break;
21322 }
21323 } else if (t2 instanceof A.FileSystemException) {
21324 error0 = t2;
21325 stackTrace0 = A.getTraceFromException($async$exception);
21326 path = error0.path;
21327 t2 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
21328 if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
21329 t3 = error0;
21330 t4 = typeof t3 == "string";
21331 if (t4 || typeof t3 == "number" || A._isBool(t3))
21332 t3 = null;
21333 else {
21334 t5 = $.$get$_traces();
21335 t4 = A._isBool(t3) || typeof t3 == "number" || t4;
21336 if (t4)
21337 A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
21338 t3 = t5._jsWeakMap.get(t3);
21339 }
21340 if (t3 == null)
21341 t3 = stackTrace0;
21342 } else
21343 t3 = null;
21344 printError.call$2(t2, t3);
21345 J.set$exitCode$x(self.process, 66);
21346 if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
21347 // goto return
21348 $async$goto = 1;
21349 break;
21350 }
21351 } else
21352 throw $async$exception;
21353 // goto after finally
21354 $async$goto = 21;
21355 break;
21356 case 18:
21357 // uncaught
21358 // goto catch
21359 $async$goto = 4;
21360 break;
21361 case 21:
21362 // after finally
21363 // goto for condition
21364 $async$goto = 16;
21365 break;
21366 case 17:
21367 // after for
21368 $async$handler = 2;
21369 // goto after finally
21370 $async$goto = 6;
21371 break;
21372 case 4:
21373 // catch
21374 $async$handler = 3;
21375 $async$exception1 = $async$currentError;
21376 t1 = A.unwrapException($async$exception1);
21377 if (t1 instanceof A.UsageException) {
21378 error1 = t1;
21379 A.print(error1.message + "\n");
21380 A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
21381 t1 = $.$get$ExecutableOptions__parser();
21382 A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
21383 J.set$exitCode$x(self.process, 64);
21384 } else {
21385 error2 = t1;
21386 stackTrace1 = A.getTraceFromException($async$exception1);
21387 buffer = new A.StringBuffer("");
21388 t1 = _box_0.options;
21389 if (t1 != null && t1.get$color())
21390 buffer._contents += "\x1b[31m\x1b[1m";
21391 buffer._contents += "Unexpected exception:";
21392 t1 = _box_0.options;
21393 if (t1 != null && t1.get$color())
21394 buffer._contents += "\x1b[0m";
21395 buffer._contents += "\n";
21396 buffer._contents += A.S(error2) + "\n";
21397 t1 = buffer._contents;
21398 t2 = A.getTrace(error2);
21399 if (t2 == null)
21400 t2 = stackTrace1;
21401 printError.call$2(t1.charCodeAt(0) == 0 ? t1 : t1, t2);
21402 J.set$exitCode$x(self.process, 255);
21403 }
21404 // goto after finally
21405 $async$goto = 6;
21406 break;
21407 case 3:
21408 // uncaught
21409 // goto rethrow
21410 $async$goto = 2;
21411 break;
21412 case 6:
21413 // after finally
21414 case 1:
21415 // return
21416 return A._asyncReturn($async$returnValue, $async$completer);
21417 case 2:
21418 // rethrow
21419 return A._asyncRethrow($async$currentError, $async$completer);
21420 }
21421 });
21422 return A._asyncStartSync($async$main0, $async$completer);
21423 },
21424 _loadVersion() {
21425 var $async$goto = 0,
21426 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
21427 $async$returnValue;
21428 var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
21429 if ($async$errorCode === 1)
21430 return A._asyncRethrow($async$result, $async$completer);
21431 while (true)
21432 switch ($async$goto) {
21433 case 0:
21434 // Function start
21435 $async$returnValue = "1.48.0 compiled with dart2js 2.15.1";
21436 // goto return
21437 $async$goto = 1;
21438 break;
21439 case 1:
21440 // return
21441 return A._asyncReturn($async$returnValue, $async$completer);
21442 }
21443 });
21444 return A._asyncStartSync($async$_loadVersion, $async$completer);
21445 },
21446 main_printError: function main_printError(t0) {
21447 this._box_0 = t0;
21448 },
21449 main_closure: function main_closure(t0, t1) {
21450 this._box_0 = t0;
21451 this.destination = t1;
21452 },
21453 SassParser0: function SassParser0(t0, t1, t2) {
21454 var _ = this;
21455 _._sass0$_currentIndentation = 0;
21456 _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
21457 _._stylesheet0$_isUseAllowed = true;
21458 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
21459 _._stylesheet0$_globalVariables = t0;
21460 _.lastSilentComment = null;
21461 _.scanner = t1;
21462 _.logger = t2;
21463 },
21464 SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
21465 this.$this = t0;
21466 this.child = t1;
21467 this.children = t2;
21468 },
21469 _translateReturnValue(val) {
21470 if (type$.Future_dynamic._is(val))
21471 return A.futureToPromise(val, type$.dynamic);
21472 else
21473 return val;
21474 },
21475 main1() {
21476 new Uint8Array(0);
21477 A.main();
21478 J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
21479 },
21480 _wrapMain(main) {
21481 if (type$.dynamic_Function._is(main))
21482 return A.allowInterop(new A._wrapMain_closure(main));
21483 else
21484 return A.allowInterop(new A._wrapMain_closure0(main));
21485 },
21486 _Exports: function _Exports() {
21487 },
21488 _wrapMain_closure: function _wrapMain_closure(t0) {
21489 this.main = t0;
21490 },
21491 _wrapMain_closure0: function _wrapMain_closure0(t0) {
21492 this.main = t0;
21493 },
21494 ScssParser$0(contents, logger, url) {
21495 var t1 = A.SpanScanner$(contents, url),
21496 t2 = logger == null ? B.StderrLogger_false0 : logger;
21497 return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2);
21498 },
21499 ScssParser0: function ScssParser0(t0, t1, t2) {
21500 var _ = this;
21501 _._stylesheet0$_isUseAllowed = true;
21502 _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
21503 _._stylesheet0$_globalVariables = t0;
21504 _.lastSilentComment = null;
21505 _.scanner = t1;
21506 _.logger = t2;
21507 },
21508 Selector0: function Selector0() {
21509 },
21510 SelectorExpression0: function SelectorExpression0(t0) {
21511 this.span = t0;
21512 },
21513 _prependParent0(compound) {
21514 var t2, _null = null,
21515 t1 = compound.components,
21516 first = B.JSArray_methods.get$first(t1);
21517 if (first instanceof A.UniversalSelector0)
21518 return _null;
21519 if (first instanceof A.TypeSelector0) {
21520 t2 = first.name;
21521 if (t2.namespace != null)
21522 return _null;
21523 t2 = A._setArrayType([new A.ParentSelector0(t2.name)], type$.JSArray_SimpleSelector_2);
21524 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
21525 return A.CompoundSelector$0(t2);
21526 } else {
21527 t2 = A._setArrayType([new A.ParentSelector0(_null)], type$.JSArray_SimpleSelector_2);
21528 B.JSArray_methods.addAll$1(t2, t1);
21529 return A.CompoundSelector$0(t2);
21530 }
21531 },
21532 _function7($name, $arguments, callback) {
21533 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
21534 },
21535 _nest_closure0: function _nest_closure0() {
21536 },
21537 _nest__closure1: function _nest__closure1(t0) {
21538 this._box_0 = t0;
21539 },
21540 _nest__closure2: function _nest__closure2() {
21541 },
21542 _append_closure1: function _append_closure1() {
21543 },
21544 _append__closure1: function _append__closure1() {
21545 },
21546 _append__closure2: function _append__closure2() {
21547 },
21548 _append___closure0: function _append___closure0(t0) {
21549 this.parent = t0;
21550 },
21551 _extend_closure0: function _extend_closure0() {
21552 },
21553 _replace_closure0: function _replace_closure0() {
21554 },
21555 _unify_closure0: function _unify_closure0() {
21556 },
21557 _isSuperselector_closure0: function _isSuperselector_closure0() {
21558 },
21559 _simpleSelectors_closure0: function _simpleSelectors_closure0() {
21560 },
21561 _simpleSelectors__closure0: function _simpleSelectors__closure0() {
21562 },
21563 _parse_closure0: function _parse_closure0() {
21564 },
21565 SelectorParser$0(contents, allowParent, allowPlaceholder, logger, url) {
21566 var t1 = A.SpanScanner$(contents, url);
21567 return new A.SelectorParser0(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false0 : logger);
21568 },
21569 SelectorParser0: function SelectorParser0(t0, t1, t2, t3) {
21570 var _ = this;
21571 _._selector$_allowParent = t0;
21572 _._selector$_allowPlaceholder = t1;
21573 _.scanner = t2;
21574 _.logger = t3;
21575 },
21576 SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
21577 this.$this = t0;
21578 },
21579 SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
21580 this.$this = t0;
21581 },
21582 serialize0(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
21583 var t1, css, t2, prefix,
21584 visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, true, sourceMap, style, useSpaces);
21585 node.accept$1(visitor);
21586 t1 = visitor._serialize0$_buffer;
21587 css = t1.toString$0(0);
21588 if (charset) {
21589 t2 = new A.CodeUnits(css);
21590 t2 = t2.any$1(t2, new A.serialize_closure0());
21591 } else
21592 t2 = false;
21593 if (t2)
21594 prefix = style === B.OutputStyle_compressed0 ? "\ufeff" : '@charset "UTF-8";\n';
21595 else
21596 prefix = "";
21597 t2 = prefix + css;
21598 return new A.SerializeResult0(t2, sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null);
21599 },
21600 serializeValue0(value, inspect, quote) {
21601 var visitor = A._SerializeVisitor$0(null, inspect, null, quote, false, null, true);
21602 value.accept$1(visitor);
21603 return visitor._serialize0$_buffer.toString$0(0);
21604 },
21605 serializeSelector0(selector, inspect) {
21606 var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
21607 selector.accept$1(visitor);
21608 return visitor._serialize0$_buffer.toString$0(0);
21609 },
21610 _SerializeVisitor$0(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
21611 var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
21612 t2 = style == null ? B.OutputStyle_expanded0 : style,
21613 t3 = useSpaces ? 32 : 9,
21614 t4 = indentWidth == null ? 2 : indentWidth,
21615 t5 = lineFeed == null ? B.LineFeed_D6m : lineFeed;
21616 A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
21617 return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
21618 },
21619 serialize_closure0: function serialize_closure0() {
21620 },
21621 _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
21622 var _ = this;
21623 _._serialize0$_buffer = t0;
21624 _._serialize0$_indentation = 0;
21625 _._serialize0$_style = t1;
21626 _._serialize0$_inspect = t2;
21627 _._serialize0$_quote = t3;
21628 _._serialize0$_indentCharacter = t4;
21629 _._serialize0$_indentWidth = t5;
21630 _._lineFeed = t6;
21631 },
21632 _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
21633 this.$this = t0;
21634 this.node = t1;
21635 },
21636 _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
21637 this.$this = t0;
21638 this.node = t1;
21639 },
21640 _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
21641 this.$this = t0;
21642 this.node = t1;
21643 },
21644 _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
21645 this.$this = t0;
21646 this.node = t1;
21647 },
21648 _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
21649 this.$this = t0;
21650 this.node = t1;
21651 },
21652 _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
21653 this.$this = t0;
21654 this.node = t1;
21655 },
21656 _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
21657 this.$this = t0;
21658 this.node = t1;
21659 },
21660 _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
21661 this.$this = t0;
21662 this.node = t1;
21663 },
21664 _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
21665 this.$this = t0;
21666 this.node = t1;
21667 },
21668 _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
21669 this.$this = t0;
21670 this.node = t1;
21671 },
21672 _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
21673 },
21674 _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
21675 this.$this = t0;
21676 this.value = t1;
21677 },
21678 _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
21679 this.$this = t0;
21680 },
21681 _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
21682 this.$this = t0;
21683 },
21684 _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
21685 },
21686 _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
21687 this.$this = t0;
21688 this.value = t1;
21689 },
21690 _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1, t2) {
21691 this._box_0 = t0;
21692 this.$this = t1;
21693 this.children = t2;
21694 },
21695 OutputStyle0: function OutputStyle0(t0) {
21696 this._serialize0$_name = t0;
21697 },
21698 LineFeed0: function LineFeed0(t0, t1) {
21699 this.name = t0;
21700 this.text = t1;
21701 },
21702 SerializeResult0: function SerializeResult0(t0, t1) {
21703 this.css = t0;
21704 this.sourceMap = t1;
21705 },
21706 ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
21707 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;
21708 },
21709 ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
21710 var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
21711 return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
21712 },
21713 ShadowedModuleView__needsBlocklist0(map, blocklist) {
21714 var t1 = map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
21715 return t1;
21716 },
21717 ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
21718 var _ = this;
21719 _._shadowed_view0$_inner = t0;
21720 _.variables = t1;
21721 _.variableNodes = t2;
21722 _.functions = t3;
21723 _.mixins = t4;
21724 _.$ti = t5;
21725 },
21726 SilentComment0: function SilentComment0(t0, t1) {
21727 this.text = t0;
21728 this.span = t1;
21729 },
21730 SimpleSelector0: function SimpleSelector0() {
21731 },
21732 SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
21733 var _ = this;
21734 _._single_unit$_unit = t0;
21735 _._number1$_value = t1;
21736 _.hashCache = null;
21737 _.asSlash = t2;
21738 },
21739 SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
21740 this.$this = t0;
21741 this.unit = t1;
21742 },
21743 SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
21744 this.$this = t0;
21745 },
21746 SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
21747 this._box_0 = t0;
21748 this.$this = t1;
21749 },
21750 SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
21751 this._box_0 = t0;
21752 this.$this = t1;
21753 },
21754 SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
21755 var _ = this;
21756 _._source_map_buffer0$_buffer = t0;
21757 _._source_map_buffer0$_entries = t1;
21758 _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
21759 _._source_map_buffer0$_inSpan = false;
21760 },
21761 SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
21762 this._box_0 = t0;
21763 this.prefixLength = t1;
21764 },
21765 updateSourceSpanPrototype() {
21766 var span = A.SourceFile$fromString("", null).span$1(0, 0),
21767 t1 = type$.JSClass,
21768 t2 = t1._as(span.constructor),
21769 t3 = type$.String,
21770 t4 = type$.Function;
21771 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));
21772 t1 = t1._as(A.FileLocation$_(span.file, span._file$_start).constructor);
21773 A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure4(), "column", new A.updateSourceSpanPrototype_closure5()], t3, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
21774 },
21775 updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure() {
21776 },
21777 updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
21778 },
21779 updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
21780 },
21781 updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
21782 },
21783 updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
21784 },
21785 updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
21786 },
21787 updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
21788 },
21789 _IterableExtension__search0(_this, callback) {
21790 var t1, value;
21791 for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
21792 value = callback.call$1(t1.get$current(t1));
21793 if (value != null)
21794 return value;
21795 }
21796 },
21797 StatementSearchVisitor0: function StatementSearchVisitor0() {
21798 },
21799 StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
21800 this.$this = t0;
21801 },
21802 StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
21803 this.$this = t0;
21804 },
21805 StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
21806 this.$this = t0;
21807 },
21808 StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
21809 this.$this = t0;
21810 },
21811 StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
21812 this.$this = t0;
21813 },
21814 StaticImport0: function StaticImport0(t0, t1, t2, t3) {
21815 var _ = this;
21816 _.url = t0;
21817 _.supports = t1;
21818 _.media = t2;
21819 _.span = t3;
21820 },
21821 StderrLogger0: function StderrLogger0(t0) {
21822 this.color = t0;
21823 },
21824 StringExpression_quoteText0(text) {
21825 var t1,
21826 quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
21827 buffer = new A.StringBuffer("");
21828 buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
21829 A.StringExpression__quoteInnerText0(text, quote, buffer, true);
21830 t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
21831 return t1.charCodeAt(0) == 0 ? t1 : t1;
21832 },
21833 StringExpression__quoteInnerText0(text, quote, buffer, $static) {
21834 var t1, t2, i, codeUnit, next, t3;
21835 for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
21836 codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
21837 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
21838 buffer.writeCharCode$1(92);
21839 buffer.writeCharCode$1(97);
21840 if (i !== t2) {
21841 next = B.JSString_methods._codeUnitAt$1(text, i + 1);
21842 if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex0(next))
21843 buffer.writeCharCode$1(32);
21844 }
21845 } else {
21846 if (codeUnit !== quote)
21847 if (codeUnit !== 92)
21848 t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
21849 else
21850 t3 = true;
21851 else
21852 t3 = true;
21853 if (t3)
21854 buffer.writeCharCode$1(92);
21855 buffer.writeCharCode$1(codeUnit);
21856 }
21857 }
21858 },
21859 StringExpression__bestQuote0(strings) {
21860 var t1, containsDoubleQuote, t2, t3, i, codeUnit;
21861 for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
21862 t2 = t1.get$current(t1);
21863 for (t3 = t2.length, i = 0; i < t3; ++i) {
21864 codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
21865 if (codeUnit === 39)
21866 return 34;
21867 if (codeUnit === 34)
21868 containsDoubleQuote = true;
21869 }
21870 }
21871 return containsDoubleQuote ? 39 : 34;
21872 },
21873 StringExpression0: function StringExpression0(t0, t1) {
21874 this.text = t0;
21875 this.hasQuotes = t1;
21876 },
21877 _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
21878 var result;
21879 if (index === 0)
21880 return 0;
21881 if (index > 0)
21882 return Math.min(index - 1, lengthInCodepoints);
21883 result = lengthInCodepoints + index;
21884 if (result < 0 && !allowNegative)
21885 return 0;
21886 return result;
21887 },
21888 _function6($name, $arguments, callback) {
21889 return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
21890 },
21891 _unquote_closure0: function _unquote_closure0() {
21892 },
21893 _quote_closure0: function _quote_closure0() {
21894 },
21895 _length_closure1: function _length_closure1() {
21896 },
21897 _insert_closure0: function _insert_closure0() {
21898 },
21899 _index_closure1: function _index_closure1() {
21900 },
21901 _slice_closure0: function _slice_closure0() {
21902 },
21903 _toUpperCase_closure0: function _toUpperCase_closure0() {
21904 },
21905 _toLowerCase_closure0: function _toLowerCase_closure0() {
21906 },
21907 _uniqueId_closure0: function _uniqueId_closure0() {
21908 },
21909 _NodeSassString: function _NodeSassString() {
21910 },
21911 legacyStringClass_closure: function legacyStringClass_closure() {
21912 },
21913 legacyStringClass_closure0: function legacyStringClass_closure0() {
21914 },
21915 legacyStringClass_closure1: function legacyStringClass_closure1() {
21916 },
21917 stringClass_closure: function stringClass_closure() {
21918 },
21919 stringClass__closure: function stringClass__closure() {
21920 },
21921 stringClass__closure0: function stringClass__closure0() {
21922 },
21923 stringClass__closure1: function stringClass__closure1() {
21924 },
21925 stringClass__closure2: function stringClass__closure2() {
21926 },
21927 stringClass__closure3: function stringClass__closure3() {
21928 },
21929 _ConstructorOptions1: function _ConstructorOptions1() {
21930 },
21931 SassString$0(_text, quotes) {
21932 return new A.SassString0(_text, quotes);
21933 },
21934 SassString0: function SassString0(t0, t1) {
21935 var _ = this;
21936 _._string0$_text = t0;
21937 _._string0$_hasQuotes = t1;
21938 _._string0$__SassString__sassLength = $;
21939 _._string0$_hashCache = null;
21940 },
21941 ModifiableCssStyleRule$0(selector, span, originalSelector) {
21942 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
21943 return new A.ModifiableCssStyleRule0(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
21944 },
21945 ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4) {
21946 var _ = this;
21947 _.selector = t0;
21948 _.originalSelector = t1;
21949 _.span = t2;
21950 _.children = t3;
21951 _._node1$_children = t4;
21952 _._node1$_indexInParent = _._node1$_parent = null;
21953 _.isGroupEnd = false;
21954 },
21955 StyleRule$0(selector, children, span) {
21956 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
21957 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
21958 return new A.StyleRule0(selector, span, t1, t2);
21959 },
21960 StyleRule0: function StyleRule0(t0, t1, t2, t3) {
21961 var _ = this;
21962 _.selector = t0;
21963 _.span = t1;
21964 _.children = t2;
21965 _.hasDeclarations = t3;
21966 },
21967 CssStylesheet0: function CssStylesheet0(t0, t1) {
21968 this.children = t0;
21969 this.span = t1;
21970 },
21971 ModifiableCssStylesheet$0(span) {
21972 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
21973 return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
21974 },
21975 ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
21976 var _ = this;
21977 _.span = t0;
21978 _.children = t1;
21979 _._node1$_children = t2;
21980 _._node1$_indexInParent = _._node1$_parent = null;
21981 _.isGroupEnd = false;
21982 },
21983 StylesheetParser0: function StylesheetParser0() {
21984 },
21985 StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
21986 this.$this = t0;
21987 },
21988 StylesheetParser_parse__closure1: function StylesheetParser_parse__closure1(t0) {
21989 this.$this = t0;
21990 },
21991 StylesheetParser_parse__closure2: function StylesheetParser_parse__closure2() {
21992 },
21993 StylesheetParser_parseArgumentDeclaration_closure0: function StylesheetParser_parseArgumentDeclaration_closure0(t0) {
21994 this.$this = t0;
21995 },
21996 StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
21997 this.$this = t0;
21998 this.production = t1;
21999 this.T = t2;
22000 },
22001 StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
22002 this.$this = t0;
22003 this.requireParens = t1;
22004 },
22005 StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
22006 this.$this = t0;
22007 },
22008 StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
22009 this.$this = t0;
22010 this.start = t1;
22011 },
22012 StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
22013 this.declaration = t0;
22014 },
22015 StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
22016 this.name = t0;
22017 },
22018 StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0, t1) {
22019 this._box_0 = t0;
22020 this.name = t1;
22021 },
22022 StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
22023 var _ = this;
22024 _._box_0 = t0;
22025 _.$this = t1;
22026 _.wasInStyleRule = t2;
22027 _.start = t3;
22028 },
22029 StylesheetParser__propertyOrVariableDeclaration_closure1: function StylesheetParser__propertyOrVariableDeclaration_closure1(t0) {
22030 this._box_0 = t0;
22031 },
22032 StylesheetParser__propertyOrVariableDeclaration_closure2: function StylesheetParser__propertyOrVariableDeclaration_closure2(t0, t1) {
22033 this._box_0 = t0;
22034 this.value = t1;
22035 },
22036 StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
22037 this.query = t0;
22038 },
22039 StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
22040 },
22041 StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
22042 var _ = this;
22043 _.$this = t0;
22044 _.wasInControlDirective = t1;
22045 _.variables = t2;
22046 _.list = t3;
22047 },
22048 StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
22049 this.name = t0;
22050 this.$arguments = t1;
22051 this.precedingComment = t2;
22052 },
22053 StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
22054 this._box_0 = t0;
22055 this.$this = t1;
22056 },
22057 StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
22058 var _ = this;
22059 _._box_0 = t0;
22060 _.$this = t1;
22061 _.wasInControlDirective = t2;
22062 _.variable = t3;
22063 _.from = t4;
22064 _.to = t5;
22065 },
22066 StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
22067 this.$this = t0;
22068 this.variables = t1;
22069 this.identifiers = t2;
22070 },
22071 StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
22072 this.contentArguments_ = t0;
22073 },
22074 StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
22075 this.query = t0;
22076 },
22077 StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
22078 var _ = this;
22079 _.$this = t0;
22080 _.name = t1;
22081 _.$arguments = t2;
22082 _.precedingComment = t3;
22083 },
22084 StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
22085 var _ = this;
22086 _._box_0 = t0;
22087 _.$this = t1;
22088 _.name = t2;
22089 _.value = t3;
22090 },
22091 StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
22092 this.condition = t0;
22093 },
22094 StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
22095 this.$this = t0;
22096 this.wasInControlDirective = t1;
22097 this.condition = t2;
22098 },
22099 StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
22100 this._box_0 = t0;
22101 this.name = t1;
22102 },
22103 StylesheetParser_expression_resetState0: function StylesheetParser_expression_resetState0(t0, t1, t2) {
22104 this._box_0 = t0;
22105 this.$this = t1;
22106 this.start = t2;
22107 },
22108 StylesheetParser_expression_resolveOneOperation0: function StylesheetParser_expression_resolveOneOperation0(t0, t1) {
22109 this._box_0 = t0;
22110 this.$this = t1;
22111 },
22112 StylesheetParser_expression_resolveOperations0: function StylesheetParser_expression_resolveOperations0(t0, t1) {
22113 this._box_0 = t0;
22114 this.resolveOneOperation = t1;
22115 },
22116 StylesheetParser_expression_addSingleExpression0: function StylesheetParser_expression_addSingleExpression0(t0, t1, t2, t3) {
22117 var _ = this;
22118 _._box_0 = t0;
22119 _.$this = t1;
22120 _.resetState = t2;
22121 _.resolveOperations = t3;
22122 },
22123 StylesheetParser_expression_addOperator0: function StylesheetParser_expression_addOperator0(t0, t1, t2) {
22124 this._box_0 = t0;
22125 this.$this = t1;
22126 this.resolveOneOperation = t2;
22127 },
22128 StylesheetParser_expression_resolveSpaceExpressions0: function StylesheetParser_expression_resolveSpaceExpressions0(t0, t1, t2) {
22129 this._box_0 = t0;
22130 this.$this = t1;
22131 this.resolveOperations = t2;
22132 },
22133 StylesheetParser__expressionUntilComma_closure0: function StylesheetParser__expressionUntilComma_closure0(t0) {
22134 this.$this = t0;
22135 },
22136 StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
22137 },
22138 StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
22139 },
22140 StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
22141 this.$this = t0;
22142 this.start = t1;
22143 },
22144 StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
22145 },
22146 StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
22147 this.$this = t0;
22148 },
22149 StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
22150 this.$this = t0;
22151 this.start = t1;
22152 },
22153 Stylesheet$internal0(children, span, plainCss) {
22154 var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
22155 t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
22156 t3 = A.List_List$unmodifiable(children, type$.Statement_2),
22157 t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure0());
22158 t1 = new A.Stylesheet0(span, plainCss, t1, t2, t3, t4);
22159 t1.Stylesheet$internal$3$plainCss0(children, span, plainCss);
22160 return t1;
22161 },
22162 Stylesheet_Stylesheet$parse0(contents, syntax, logger, url) {
22163 var t1, t2;
22164 switch (syntax) {
22165 case B.Syntax_Sass0:
22166 t1 = A.SpanScanner$(contents, url);
22167 t2 = logger == null ? B.StderrLogger_false0 : logger;
22168 return new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
22169 case B.Syntax_SCSS0:
22170 return A.ScssParser$0(contents, logger, url).parse$0();
22171 case B.Syntax_CSS0:
22172 t1 = A.SpanScanner$(contents, url);
22173 t2 = logger == null ? B.StderrLogger_false0 : logger;
22174 return new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
22175 default:
22176 throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
22177 }
22178 },
22179 Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5) {
22180 var _ = this;
22181 _.span = t0;
22182 _.plainCss = t1;
22183 _._stylesheet1$_uses = t2;
22184 _._stylesheet1$_forwards = t3;
22185 _.children = t4;
22186 _.hasDeclarations = t5;
22187 },
22188 ModifiableCssSupportsRule$0(condition, span) {
22189 var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
22190 return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
22191 },
22192 ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
22193 var _ = this;
22194 _.condition = t0;
22195 _.span = t1;
22196 _.children = t2;
22197 _._node1$_children = t3;
22198 _._node1$_indexInParent = _._node1$_parent = null;
22199 _.isGroupEnd = false;
22200 },
22201 SupportsRule$0(condition, children, span) {
22202 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
22203 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
22204 return new A.SupportsRule0(condition, span, t1, t2);
22205 },
22206 SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
22207 var _ = this;
22208 _.condition = t0;
22209 _.span = t1;
22210 _.children = t2;
22211 _.hasDeclarations = t3;
22212 },
22213 NodeToDartImporter: function NodeToDartImporter(t0, t1) {
22214 this._sync$_canonicalize = t0;
22215 this._sync$_load = t1;
22216 },
22217 Syntax_forPath0(path) {
22218 switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
22219 case ".sass":
22220 return B.Syntax_Sass0;
22221 case ".css":
22222 return B.Syntax_CSS0;
22223 default:
22224 return B.Syntax_SCSS0;
22225 }
22226 },
22227 Syntax0: function Syntax0(t0) {
22228 this._syntax0$_name = t0;
22229 },
22230 TerseLogger0: function TerseLogger0(t0, t1) {
22231 this._terse$_warningCounts = t0;
22232 this._terse$_inner = t1;
22233 },
22234 TerseLogger_summarize_closure1: function TerseLogger_summarize_closure1() {
22235 },
22236 TerseLogger_summarize_closure2: function TerseLogger_summarize_closure2() {
22237 },
22238 TypeSelector0: function TypeSelector0(t0) {
22239 this.name = t0;
22240 },
22241 Types: function Types() {
22242 },
22243 UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
22244 this.operator = t0;
22245 this.operand = t1;
22246 this.span = t2;
22247 },
22248 UnaryOperator0: function UnaryOperator0(t0, t1) {
22249 this.name = t0;
22250 this.operator = t1;
22251 },
22252 UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
22253 this._number1$_value = t0;
22254 this.hashCache = null;
22255 this.asSlash = t1;
22256 },
22257 UniversalSelector0: function UniversalSelector0(t0) {
22258 this.namespace = t0;
22259 },
22260 UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
22261 this._unprefixed_map_view0$_map = t0;
22262 this._unprefixed_map_view0$_prefix = t1;
22263 this.$ti = t2;
22264 },
22265 _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
22266 this._unprefixed_map_view0$_view = t0;
22267 },
22268 _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
22269 this.$this = t0;
22270 },
22271 _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
22272 this.$this = t0;
22273 },
22274 JSUrl0: function JSUrl0() {
22275 },
22276 UseRule0: function UseRule0(t0, t1, t2, t3) {
22277 var _ = this;
22278 _.url = t0;
22279 _.namespace = t1;
22280 _.configuration = t2;
22281 _.span = t3;
22282 },
22283 UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2) {
22284 this.declaration = t0;
22285 this.environment = t1;
22286 this.$ti = t2;
22287 },
22288 fromImport0() {
22289 var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
22290 return t1 === true;
22291 },
22292 resolveImportPath0(path) {
22293 var t1,
22294 extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
22295 if (extension === ".sass" || extension === ".scss" || extension === ".css") {
22296 t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
22297 return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
22298 }
22299 t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
22300 if (t1 == null)
22301 t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
22302 return t1 == null ? A._tryPathAsDirectory0(path) : t1;
22303 },
22304 _tryPathWithExtensions0(path) {
22305 var result = A._tryPath0(path + ".sass");
22306 B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
22307 return result.length !== 0 ? result : A._tryPath0(path + ".css");
22308 },
22309 _tryPath0(path) {
22310 var t1 = $.$get$context(),
22311 partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
22312 t1 = A._setArrayType([], type$.JSArray_String);
22313 if (A.fileExists0(partial))
22314 t1.push(partial);
22315 if (A.fileExists0(path))
22316 t1.push(path);
22317 return t1;
22318 },
22319 _tryPathAsDirectory0(path) {
22320 var t1;
22321 if (!A.dirExists0(path))
22322 return null;
22323 t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
22324 return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
22325 },
22326 _exactlyOne0(paths) {
22327 var t1 = paths.length;
22328 if (t1 === 0)
22329 return null;
22330 if (t1 === 1)
22331 return B.JSArray_methods.get$first(paths);
22332 throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
22333 },
22334 resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
22335 this.path = t0;
22336 this.extension = t1;
22337 },
22338 resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
22339 this.path = t0;
22340 },
22341 _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
22342 this.path = t0;
22343 },
22344 _exactlyOne_closure0: function _exactlyOne_closure0() {
22345 },
22346 jsThrow(error) {
22347 return type$.Never._as($.$get$_jsThrow().call$1(error));
22348 },
22349 attachJsStack(error, trace) {
22350 var traceString = trace.toString$0(0),
22351 firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
22352 if (firstRealLine !== -1)
22353 traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
22354 error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
22355 },
22356 jsForEach(object, callback) {
22357 var t1, t2;
22358 for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
22359 t2 = t1.get$current(t1);
22360 callback.call$2(t2, object[t2]);
22361 }
22362 },
22363 defineGetter(object, $name, get, value) {
22364 self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
22365 },
22366 allowInteropNamed($name, $function) {
22367 $function = A.allowInterop($function);
22368 A.defineGetter($function, "name", null, $name);
22369 A._hideDartProperties($function);
22370 return $function;
22371 },
22372 allowInteropCaptureThisNamed($name, $function) {
22373 $function = A.allowInteropCaptureThis($function);
22374 A.defineGetter($function, "name", null, $name);
22375 A._hideDartProperties($function);
22376 return $function;
22377 },
22378 _hideDartProperties(object) {
22379 var t1, t2, t3, t4;
22380 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();) {
22381 t3 = t2._as(t1.__internal$_current);
22382 if (B.JSString_methods.startsWith$1(t3, "_")) {
22383 t4 = {value: object[t3], enumerable: false};
22384 self.Object.defineProperty(object, t3, t4);
22385 }
22386 }
22387 },
22388 futureToPromise0(future) {
22389 return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
22390 },
22391 jsToDartUrl(url) {
22392 return A.Uri_parse(J.toString$0$(url));
22393 },
22394 dartToJSUrl(url) {
22395 return new self.URL(url.toString$0(0));
22396 },
22397 toJSArray(iterable) {
22398 var t1, t2,
22399 array = new self.Array();
22400 for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
22401 t2.push$1(array, t1.get$current(t1));
22402 return array;
22403 },
22404 objectToMap(object) {
22405 var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
22406 A.jsForEach(object, new A.objectToMap_closure(map));
22407 return map;
22408 },
22409 jsToDartSeparator(separator) {
22410 switch (separator) {
22411 case " ":
22412 return B.ListSeparator_woc0;
22413 case ",":
22414 return B.ListSeparator_kWM0;
22415 case "/":
22416 return B.ListSeparator_1gm0;
22417 case null:
22418 return B.ListSeparator_undecided_null0;
22419 default:
22420 A.jsThrow(new self.Error('Unknown separator "' + A.S(separator) + '".'));
22421 }
22422 },
22423 parseSyntax(syntax) {
22424 if (syntax == null || syntax === "scss")
22425 return B.Syntax_SCSS0;
22426 if (syntax === "indented")
22427 return B.Syntax_Sass0;
22428 if (syntax === "css")
22429 return B.Syntax_CSS0;
22430 A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
22431 },
22432 _PropertyDescriptor0: function _PropertyDescriptor0() {
22433 },
22434 futureToPromise_closure0: function futureToPromise_closure0(t0) {
22435 this.future = t0;
22436 },
22437 futureToPromise__closure0: function futureToPromise__closure0(t0) {
22438 this.resolve = t0;
22439 },
22440 futureToPromise__closure1: function futureToPromise__closure1(t0) {
22441 this.reject = t0;
22442 },
22443 objectToMap_closure: function objectToMap_closure(t0) {
22444 this.map = t0;
22445 },
22446 toSentence0(iter, conjunction) {
22447 var t1 = iter.__internal$_iterable,
22448 t2 = J.getInterceptor$asx(t1);
22449 if (t2.get$length(t1) === 1)
22450 return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
22451 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))));
22452 },
22453 indent0(string, indentation) {
22454 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");
22455 },
22456 pluralize0($name, number, plural) {
22457 if (number === 1)
22458 return $name;
22459 if (plural != null)
22460 return plural;
22461 return $name + "s";
22462 },
22463 trimAscii0(string, excludeEscape) {
22464 var t1,
22465 start = A._firstNonWhitespace0(string);
22466 if (start == null)
22467 t1 = "";
22468 else {
22469 t1 = A._lastNonWhitespace0(string, true);
22470 t1.toString;
22471 t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
22472 }
22473 return t1;
22474 },
22475 trimAsciiRight0(string, excludeEscape) {
22476 var end = A._lastNonWhitespace0(string, excludeEscape);
22477 return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
22478 },
22479 _firstNonWhitespace0(string) {
22480 var t1, i, t2;
22481 for (t1 = string.length, i = 0; i < t1; ++i) {
22482 t2 = B.JSString_methods._codeUnitAt$1(string, i);
22483 if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
22484 return i;
22485 }
22486 return null;
22487 },
22488 _lastNonWhitespace0(string, excludeEscape) {
22489 var t1, i, codeUnit;
22490 for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
22491 codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
22492 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
22493 if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
22494 return i + 1;
22495 else
22496 return i;
22497 }
22498 return null;
22499 },
22500 isPublic0(member) {
22501 var start = B.JSString_methods._codeUnitAt$1(member, 0);
22502 return start !== 45 && start !== 95;
22503 },
22504 flattenVertically0(iterable, $T) {
22505 var result,
22506 t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
22507 queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
22508 if (queues.length === 1)
22509 return B.JSArray_methods.get$first(queues);
22510 result = A._setArrayType([], $T._eval$1("JSArray<0>"));
22511 for (; queues.length !== 0;) {
22512 if (!!queues.fixed$length)
22513 A.throwExpression(A.UnsupportedError$("removeWhere"));
22514 B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
22515 }
22516 return result;
22517 },
22518 firstOrNull0(iterable) {
22519 var iterator = J.get$iterator$ax(iterable);
22520 return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
22521 },
22522 codepointIndexToCodeUnitIndex0(string, codepointIndex) {
22523 var codeUnitIndex, i, codeUnitIndex0;
22524 for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
22525 codeUnitIndex0 = codeUnitIndex + 1;
22526 codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
22527 }
22528 return codeUnitIndex;
22529 },
22530 codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
22531 var codepointIndex, i;
22532 for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
22533 ++codepointIndex;
22534 return codepointIndex;
22535 },
22536 frameForSpan0(span, member, url) {
22537 var t2, t3, t4,
22538 t1 = url == null ? span.file.url : url;
22539 if (t1 == null)
22540 t1 = $.$get$_noSourceUrl0();
22541 t2 = span.file;
22542 t3 = span._file$_start;
22543 t4 = A.FileLocation$_(t2, t3);
22544 t4 = t4.file.getLine$1(t4.offset);
22545 t3 = A.FileLocation$_(t2, t3);
22546 return new A.Frame(t1, t4 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
22547 },
22548 declarationName0(span) {
22549 var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
22550 return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
22551 },
22552 unvendor0($name) {
22553 var i,
22554 t1 = $name.length;
22555 if (t1 < 2)
22556 return $name;
22557 if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
22558 return $name;
22559 if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
22560 return $name;
22561 for (i = 2; i < t1; ++i)
22562 if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
22563 return B.JSString_methods.substring$1($name, i + 1);
22564 return $name;
22565 },
22566 equalsIgnoreCase0(string1, string2) {
22567 var t1, i;
22568 if (string1 === string2)
22569 return true;
22570 if (string1 == null || false)
22571 return false;
22572 t1 = string1.length;
22573 if (t1 !== string2.length)
22574 return false;
22575 for (i = 0; i < t1; ++i)
22576 if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
22577 return false;
22578 return true;
22579 },
22580 startsWithIgnoreCase0(string, prefix) {
22581 var i,
22582 t1 = prefix.length;
22583 if (string.length < t1)
22584 return false;
22585 for (i = 0; i < t1; ++i)
22586 if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
22587 return false;
22588 return true;
22589 },
22590 mapInPlace0(list, $function) {
22591 var i;
22592 for (i = 0; i < list.length; ++i)
22593 list[i] = $function.call$1(list[i]);
22594 },
22595 longestCommonSubsequence0(list1, list2, select, $T) {
22596 var t1, _length, lengths, t2, t3, _i, selections, i, i0, j, selection, j0;
22597 if (select == null)
22598 select = new A.longestCommonSubsequence_closure0($T);
22599 t1 = J.getInterceptor$asx(list1);
22600 _length = t1.get$length(list1) + 1;
22601 lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
22602 for (t2 = J.getInterceptor$asx(list2), t3 = type$.int, _i = 0; _i < _length; ++_i)
22603 lengths[_i] = A.List_List$filled(t2.get$length(list2) + 1, 0, false, t3);
22604 _length = t1.get$length(list1);
22605 selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
22606 for (t3 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
22607 selections[_i] = A.List_List$filled(t2.get$length(list2), null, false, t3);
22608 for (i = 0; i < t1.get$length(list1); i = i0)
22609 for (i0 = i + 1, j = 0; j < t2.get$length(list2); j = j0) {
22610 selection = select.call$2(t1.$index(list1, i), t2.$index(list2, j));
22611 selections[i][j] = selection;
22612 t3 = lengths[i0];
22613 j0 = j + 1;
22614 t3[j0] = selection == null ? Math.max(t3[j], lengths[i][j0]) : lengths[i][j] + 1;
22615 }
22616 return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(t1.get$length(list1) - 1, t2.get$length(list2) - 1);
22617 },
22618 removeFirstWhere0(list, test, orElse) {
22619 var i;
22620 for (i = 0; i < list.length; ++i) {
22621 if (!test.call$1(list[i]))
22622 continue;
22623 B.JSArray_methods.removeAt$1(list, i);
22624 return;
22625 }
22626 orElse.call$0();
22627 },
22628 mapAddAll20(destination, source, K1, K2, $V) {
22629 source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
22630 },
22631 setAll0(map, keys, value) {
22632 var t1;
22633 for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
22634 map.$indexSet(0, t1.get$current(t1), value);
22635 },
22636 rotateSlice0(list, start, end) {
22637 var i, next,
22638 element = list.$index(0, end - 1);
22639 for (i = start; i < end; ++i, element = next) {
22640 next = list.$index(0, i);
22641 list.$indexSet(0, i, element);
22642 }
22643 },
22644 mapAsync0(iterable, callback, $E, $F) {
22645 return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
22646 },
22647 mapAsync$body0(iterable, callback, $E, $F, $async$type) {
22648 var $async$goto = 0,
22649 $async$completer = A._makeAsyncAwaitCompleter($async$type),
22650 $async$returnValue, t2, _i, t1, $async$temp1;
22651 var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
22652 if ($async$errorCode === 1)
22653 return A._asyncRethrow($async$result, $async$completer);
22654 while (true)
22655 switch ($async$goto) {
22656 case 0:
22657 // Function start
22658 t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
22659 t2 = iterable.length, _i = 0;
22660 case 3:
22661 // for condition
22662 if (!(_i < t2)) {
22663 // goto after for
22664 $async$goto = 5;
22665 break;
22666 }
22667 $async$temp1 = t1;
22668 $async$goto = 6;
22669 return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
22670 case 6:
22671 // returning from await.
22672 $async$temp1.push($async$result);
22673 case 4:
22674 // for update
22675 ++_i;
22676 // goto for condition
22677 $async$goto = 3;
22678 break;
22679 case 5:
22680 // after for
22681 $async$returnValue = t1;
22682 // goto return
22683 $async$goto = 1;
22684 break;
22685 case 1:
22686 // return
22687 return A._asyncReturn($async$returnValue, $async$completer);
22688 }
22689 });
22690 return A._asyncStartSync($async$mapAsync0, $async$completer);
22691 },
22692 putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
22693 return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
22694 },
22695 putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
22696 var $async$goto = 0,
22697 $async$completer = A._makeAsyncAwaitCompleter($async$type),
22698 $async$returnValue, value;
22699 var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
22700 if ($async$errorCode === 1)
22701 return A._asyncRethrow($async$result, $async$completer);
22702 while (true)
22703 switch ($async$goto) {
22704 case 0:
22705 // Function start
22706 if (map.containsKey$1(key)) {
22707 $async$returnValue = $V._as(map.$index(0, key));
22708 // goto return
22709 $async$goto = 1;
22710 break;
22711 }
22712 $async$goto = 3;
22713 return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
22714 case 3:
22715 // returning from await.
22716 value = $async$result;
22717 map.$indexSet(0, key, value);
22718 $async$returnValue = value;
22719 // goto return
22720 $async$goto = 1;
22721 break;
22722 case 1:
22723 // return
22724 return A._asyncReturn($async$returnValue, $async$completer);
22725 }
22726 });
22727 return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
22728 },
22729 copyMapOfMap0(map, K1, K2, $V) {
22730 var t2, t3, t4, t5,
22731 t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
22732 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
22733 t3 = t2.get$current(t2);
22734 t4 = t3.key;
22735 t3 = t3.value;
22736 t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
22737 t5.addAll$1(0, t3);
22738 t1.$indexSet(0, t4, t5);
22739 }
22740 return t1;
22741 },
22742 copyMapOfList0(map, $K, $E) {
22743 var t2, t3,
22744 t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
22745 for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
22746 t3 = t2.get$current(t2);
22747 t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
22748 }
22749 return t1;
22750 },
22751 consumeEscapedCharacter0(scanner) {
22752 var first, value, i, next, t1;
22753 scanner.expectChar$1(92);
22754 first = scanner.peekChar$0();
22755 if (first == null)
22756 return 65533;
22757 else if (first === 10 || first === 13 || first === 12)
22758 scanner.error$1(0, "Expected escape sequence.");
22759 else if (A.isHex0(first)) {
22760 for (value = 0, i = 0; i < 6; ++i) {
22761 next = scanner.peekChar$0();
22762 if (next == null || !A.isHex0(next))
22763 break;
22764 value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
22765 }
22766 t1 = scanner.peekChar$0();
22767 if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
22768 scanner.readChar$0();
22769 if (value !== 0)
22770 t1 = value >= 55296 && value <= 57343 || value >= 1114111;
22771 else
22772 t1 = true;
22773 if (t1)
22774 return 65533;
22775 else
22776 return value;
22777 } else
22778 return scanner.readChar$0();
22779 },
22780 throwWithTrace0(error, trace) {
22781 A.attachTrace0(error, trace);
22782 throw A.wrapException(error);
22783 },
22784 attachTrace0(error, trace) {
22785 var t1;
22786 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
22787 return;
22788 if (trace.toString$0(0).length === 0)
22789 return;
22790 t1 = $.$get$_traces0();
22791 A.Expando__checkType(error);
22792 t1 = t1._jsWeakMap;
22793 if (t1.get(error) == null)
22794 t1.set(error, trace);
22795 },
22796 getTrace0(error) {
22797 var t1;
22798 if (typeof error == "string" || typeof error == "number" || A._isBool(error))
22799 t1 = null;
22800 else {
22801 t1 = $.$get$_traces0();
22802 A.Expando__checkType(error);
22803 t1 = t1._jsWeakMap.get(error);
22804 }
22805 return t1;
22806 },
22807 indent_closure0: function indent_closure0(t0) {
22808 this.indentation = t0;
22809 },
22810 flattenVertically_closure1: function flattenVertically_closure1(t0) {
22811 this.T = t0;
22812 },
22813 flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
22814 this.result = t0;
22815 this.T = t1;
22816 },
22817 longestCommonSubsequence_closure0: function longestCommonSubsequence_closure0(t0) {
22818 this.T = t0;
22819 },
22820 longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
22821 this.selections = t0;
22822 this.lengths = t1;
22823 this.T = t2;
22824 },
22825 mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
22826 var _ = this;
22827 _.destination = t0;
22828 _.K1 = t1;
22829 _.K2 = t2;
22830 _.V = t3;
22831 },
22832 CssValue0: function CssValue0(t0, t1, t2) {
22833 this.value = t0;
22834 this.span = t1;
22835 this.$ti = t2;
22836 },
22837 ValueExpression0: function ValueExpression0(t0, t1) {
22838 this.value = t0;
22839 this.span = t1;
22840 },
22841 ModifiableCssValue0: function ModifiableCssValue0(t0, t1, t2) {
22842 this.value = t0;
22843 this.span = t1;
22844 this.$ti = t2;
22845 },
22846 valueClass_closure: function valueClass_closure() {
22847 },
22848 valueClass__closure: function valueClass__closure() {
22849 },
22850 valueClass__closure0: function valueClass__closure0() {
22851 },
22852 valueClass__closure1: function valueClass__closure1() {
22853 },
22854 valueClass__closure2: function valueClass__closure2() {
22855 },
22856 valueClass__closure3: function valueClass__closure3() {
22857 },
22858 valueClass__closure4: function valueClass__closure4() {
22859 },
22860 valueClass__closure5: function valueClass__closure5() {
22861 },
22862 valueClass__closure6: function valueClass__closure6() {
22863 },
22864 valueClass__closure7: function valueClass__closure7() {
22865 },
22866 valueClass__closure8: function valueClass__closure8() {
22867 },
22868 valueClass__closure9: function valueClass__closure9() {
22869 },
22870 valueClass__closure10: function valueClass__closure10() {
22871 },
22872 valueClass__closure11: function valueClass__closure11() {
22873 },
22874 valueClass__closure12: function valueClass__closure12() {
22875 },
22876 valueClass__closure13: function valueClass__closure13() {
22877 },
22878 valueClass__closure14: function valueClass__closure14() {
22879 },
22880 valueClass__closure15: function valueClass__closure15() {
22881 },
22882 valueClass__closure16: function valueClass__closure16() {
22883 },
22884 Value0: function Value0() {
22885 },
22886 VariableExpression0: function VariableExpression0(t0, t1, t2) {
22887 this.namespace = t0;
22888 this.name = t1;
22889 this.span = t2;
22890 },
22891 VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
22892 if (namespace != null && global)
22893 A.throwExpression(A.ArgumentError$(string$.Other_, null));
22894 return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
22895 },
22896 VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
22897 var _ = this;
22898 _.namespace = t0;
22899 _.name = t1;
22900 _.expression = t2;
22901 _.isGuarded = t3;
22902 _.isGlobal = t4;
22903 _.span = t5;
22904 },
22905 WarnRule0: function WarnRule0(t0, t1) {
22906 this.expression = t0;
22907 this.span = t1;
22908 },
22909 WhileRule$0(condition, children, span) {
22910 var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
22911 t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
22912 return new A.WhileRule0(condition, span, t1, t2);
22913 },
22914 WhileRule0: function WhileRule0(t0, t1, t2, t3) {
22915 var _ = this;
22916 _.condition = t0;
22917 _.span = t1;
22918 _.children = t2;
22919 _.hasDeclarations = t3;
22920 },
22921 printString(string) {
22922 if (typeof dartPrint == "function") {
22923 dartPrint(string);
22924 return;
22925 }
22926 if (typeof console == "object" && typeof console.log != "undefined") {
22927 console.log(string);
22928 return;
22929 }
22930 if (typeof window == "object")
22931 return;
22932 if (typeof print == "function") {
22933 print(string);
22934 return;
22935 }
22936 throw "Unable to print message: " + String(string);
22937 },
22938 _convertDartFunctionFast(f) {
22939 var ret,
22940 existing = f.$dart_jsFunction;
22941 if (existing != null)
22942 return existing;
22943 ret = function(_call, f) {
22944 return function() {
22945 return _call(f, Array.prototype.slice.apply(arguments));
22946 };
22947 }(A._callDartFunctionFast, f);
22948 ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
22949 f.$dart_jsFunction = ret;
22950 return ret;
22951 },
22952 _convertDartFunctionFastCaptureThis(f) {
22953 var ret,
22954 existing = f._$dart_jsFunctionCaptureThis;
22955 if (existing != null)
22956 return existing;
22957 ret = function(_call, f) {
22958 return function() {
22959 return _call(f, this, Array.prototype.slice.apply(arguments));
22960 };
22961 }(A._callDartFunctionFastCaptureThis, f);
22962 ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
22963 f._$dart_jsFunctionCaptureThis = ret;
22964 return ret;
22965 },
22966 _callDartFunctionFast(callback, $arguments) {
22967 return A.Function_apply(callback, $arguments);
22968 },
22969 _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
22970 var t1 = [$self];
22971 B.JSArray_methods.addAll$1(t1, $arguments);
22972 return A.Function_apply(callback, t1);
22973 },
22974 allowInterop(f) {
22975 if (typeof f == "function")
22976 return f;
22977 else
22978 return A._convertDartFunctionFast(f);
22979 },
22980 allowInteropCaptureThis(f) {
22981 if (typeof f == "function")
22982 throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
22983 else
22984 return A._convertDartFunctionFastCaptureThis(f);
22985 },
22986 mergeMaps(map1, map2, $K, $V) {
22987 var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
22988 result.addAll$1(0, map2);
22989 return result;
22990 },
22991 groupBy(values, key, $S, $T) {
22992 var t1, t2, _i, element, t3, t4,
22993 map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
22994 for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
22995 element = values[_i];
22996 t3 = key.call$1(element);
22997 t4 = map.$index(0, t3);
22998 if (t4 == null) {
22999 t4 = A._setArrayType([], t2);
23000 map.$indexSet(0, t3, t4);
23001 t3 = t4;
23002 } else
23003 t3 = t4;
23004 t3.push(element);
23005 }
23006 return map;
23007 },
23008 minBy(values, orderBy) {
23009 var t1, t2, minValue, minOrderBy, element, elementOrderBy;
23010 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();) {
23011 element = t2._as(t1.__internal$_current);
23012 elementOrderBy = orderBy.call$1(element);
23013 if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
23014 minOrderBy = elementOrderBy;
23015 minValue = element;
23016 }
23017 }
23018 return minValue;
23019 },
23020 IterableNullableExtension_whereNotNull(_this, $T) {
23021 return A.IterableNullableExtension_whereNotNull$body(_this, $T, $T);
23022 },
23023 IterableNullableExtension_whereNotNull$body($async$_this, $async$$T, $async$type) {
23024 return A._makeSyncStarIterable(function() {
23025 var _this = $async$_this,
23026 $T = $async$$T;
23027 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element;
23028 return function $async$IterableNullableExtension_whereNotNull($async$errorCode, $async$result) {
23029 if ($async$errorCode === 1) {
23030 $async$currentError = $async$result;
23031 $async$goto = $async$handler;
23032 }
23033 while (true)
23034 switch ($async$goto) {
23035 case 0:
23036 // Function start
23037 t1 = _this.get$iterator(_this);
23038 case 2:
23039 // for condition
23040 if (!t1.moveNext$0()) {
23041 // goto after for
23042 $async$goto = 3;
23043 break;
23044 }
23045 element = t1.get$current(t1);
23046 $async$goto = element != null ? 4 : 5;
23047 break;
23048 case 4:
23049 // then
23050 $async$goto = 6;
23051 return element;
23052 case 6:
23053 // after yield
23054 case 5:
23055 // join
23056 // goto for condition
23057 $async$goto = 2;
23058 break;
23059 case 3:
23060 // after for
23061 // implicit return
23062 return A._IterationMarker_endOfIteration();
23063 case 1:
23064 // rethrow
23065 return A._IterationMarker_uncaughtError($async$currentError);
23066 }
23067 };
23068 }, $async$type);
23069 },
23070 IterableIntegerExtension_get_sum(_this) {
23071 var t1, t2, result;
23072 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();)
23073 result += t2._as(t1.__internal$_current);
23074 return result;
23075 },
23076 ListExtensions_mapIndexed(_this, convert, $E, $R) {
23077 return A.ListExtensions_mapIndexed$body(_this, convert, $E, $R, $R);
23078 },
23079 ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R, $async$type) {
23080 return A._makeSyncStarIterable(function() {
23081 var _this = $async$_this,
23082 convert = $async$convert,
23083 $E = $async$$E,
23084 $R = $async$$R;
23085 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, index;
23086 return function $async$ListExtensions_mapIndexed($async$errorCode, $async$result) {
23087 if ($async$errorCode === 1) {
23088 $async$currentError = $async$result;
23089 $async$goto = $async$handler;
23090 }
23091 while (true)
23092 switch ($async$goto) {
23093 case 0:
23094 // Function start
23095 t1 = _this.length, index = 0;
23096 case 2:
23097 // for condition
23098 if (!(index < t1)) {
23099 // goto after for
23100 $async$goto = 4;
23101 break;
23102 }
23103 $async$goto = 5;
23104 return convert.call$2(index, _this[index]);
23105 case 5:
23106 // after yield
23107 case 3:
23108 // for update
23109 ++index;
23110 // goto for condition
23111 $async$goto = 2;
23112 break;
23113 case 4:
23114 // after for
23115 // implicit return
23116 return A._IterationMarker_endOfIteration();
23117 case 1:
23118 // rethrow
23119 return A._IterationMarker_uncaughtError($async$currentError);
23120 }
23121 };
23122 }, $async$type);
23123 },
23124 defaultCompare(value1, value2) {
23125 return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
23126 },
23127 current() {
23128 var exception, t1, path, lastIndex, uri = null;
23129 try {
23130 uri = A.Uri_base();
23131 } catch (exception) {
23132 if (type$.Exception._is(A.unwrapException(exception))) {
23133 t1 = $._current;
23134 if (t1 != null)
23135 return t1;
23136 throw exception;
23137 } else
23138 throw exception;
23139 }
23140 if (J.$eq$(uri, $._currentUriBase)) {
23141 t1 = $._current;
23142 t1.toString;
23143 return t1;
23144 }
23145 $._currentUriBase = uri;
23146 if ($.$get$Style_platform() == $.$get$Style_url())
23147 t1 = $._current = uri.resolve$1(".").toString$0(0);
23148 else {
23149 path = uri.toFilePath$0();
23150 lastIndex = path.length - 1;
23151 t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
23152 }
23153 return t1;
23154 },
23155 absolute(part1, part2, part3, part4, part5, part6, part7) {
23156 return $.$get$context().absolute$7(part1, part2, part3, part4, part5, part6, part7);
23157 },
23158 join(part1, part2, part3) {
23159 var _null = null;
23160 return $.$get$context().join$8(0, part1, part2, part3, _null, _null, _null, _null, _null);
23161 },
23162 prettyUri(uri) {
23163 return $.$get$context().prettyUri$1(uri);
23164 },
23165 isAlphabetic(char) {
23166 var t1;
23167 if (!(char >= 65 && char <= 90))
23168 t1 = char >= 97 && char <= 122;
23169 else
23170 t1 = true;
23171 return t1;
23172 },
23173 isDriveLetter(path, index) {
23174 var t1 = path.length,
23175 t2 = index + 2;
23176 if (t1 < t2)
23177 return false;
23178 if (!A.isAlphabetic(B.JSString_methods.codeUnitAt$1(path, index)))
23179 return false;
23180 if (B.JSString_methods.codeUnitAt$1(path, index + 1) !== 58)
23181 return false;
23182 if (t1 === t2)
23183 return true;
23184 return B.JSString_methods.codeUnitAt$1(path, t2) === 47;
23185 },
23186 _combine(hash, value) {
23187 hash = hash + value & 536870911;
23188 hash = hash + ((hash & 524287) << 10) & 536870911;
23189 return hash ^ hash >>> 6;
23190 },
23191 _finish(hash) {
23192 hash = hash + ((hash & 67108863) << 3) & 536870911;
23193 hash ^= hash >>> 11;
23194 return hash + ((hash & 16383) << 15) & 536870911;
23195 },
23196 EvaluationContext_current() {
23197 var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
23198 if (type$.EvaluationContext._is(context))
23199 return context;
23200 throw A.wrapException(A.StateError$(string$.No_Sass));
23201 },
23202 repl(options) {
23203 return A.repl$body(options);
23204 },
23205 repl$body(options) {
23206 var $async$goto = 0,
23207 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
23208 $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;
23209 var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
23210 if ($async$errorCode === 1) {
23211 $async$currentError = $async$result;
23212 $async$goto = $async$handler;
23213 }
23214 while (true)
23215 switch ($async$goto) {
23216 case 0:
23217 // Function start
23218 t1 = A._setArrayType([], type$.JSArray_String);
23219 t2 = B.JSString_methods.$mul(" ", 3);
23220 t3 = $.$get$alwaysValid();
23221 repl0 = new A.Repl(">> ", t2, t3, t1);
23222 repl0.__Repl__adapter = new A.ReplAdapter(repl0);
23223 repl = repl0;
23224 t1 = options._options;
23225 logger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
23226 t2 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
23227 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));
23228 t2 = new A._StreamIterator(A.checkNotNullable(A._lateReadCheck(repl.__Repl__adapter, "_adapter").runAsync$0(), "stream", type$.Object));
23229 $async$handler = 2;
23230 t1 = type$.Expression, t3 = type$.String, t4 = type$.VariableDeclaration;
23231 case 5:
23232 // for condition
23233 $async$goto = 7;
23234 return A._asyncAwait(t2.moveNext$0(), $async$repl);
23235 case 7:
23236 // returning from await.
23237 if (!$async$result) {
23238 // goto after for
23239 $async$goto = 6;
23240 break;
23241 }
23242 line = t2.get$current(t2);
23243 if (J.trim$0$s(line).length === 0) {
23244 // goto for condition
23245 $async$goto = 5;
23246 break;
23247 }
23248 try {
23249 if (J.startsWith$1$s(line, "@")) {
23250 t5 = evaluator;
23251 t6 = logger;
23252 t7 = A.SpanScanner$(line, null);
23253 if (t6 == null)
23254 t6 = B.StderrLogger_false;
23255 t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6).parseUseRule$0();
23256 t5._visitor.runStatement$2(t5._importer, t6);
23257 // goto for condition
23258 $async$goto = 5;
23259 break;
23260 }
23261 t5 = A.SpanScanner$(line, null);
23262 if (new A.Parser(t5, B.StderrLogger_false)._isVariableDeclarationLike$0()) {
23263 t5 = logger;
23264 t6 = A.SpanScanner$(line, null);
23265 if (t5 == null)
23266 t5 = B.StderrLogger_false;
23267 declaration = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t6, t5).parseVariableDeclaration$0();
23268 t5 = evaluator;
23269 t5._visitor.runStatement$2(t5._importer, declaration);
23270 t5 = evaluator;
23271 t6 = declaration.name;
23272 t7 = declaration.span;
23273 t8 = declaration.namespace;
23274 line0 = t5._visitor.runExpression$2(t5._importer, new A.VariableExpression(t8, t6, t7)).toString$0(0);
23275 toZone = $.printToZone;
23276 if (toZone == null)
23277 A.printString(line0);
23278 else
23279 toZone.call$1(line0);
23280 } else {
23281 t5 = evaluator;
23282 t6 = logger;
23283 t7 = A.SpanScanner$(line, null);
23284 if (t6 == null)
23285 t6 = B.StderrLogger_false;
23286 t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6);
23287 t6 = t6._parseSingleProduction$1$1(t6.get$expression(), t1);
23288 line0 = t5._visitor.runExpression$2(t5._importer, t6).toString$0(0);
23289 toZone = $.printToZone;
23290 if (toZone == null)
23291 A.printString(line0);
23292 else
23293 toZone.call$1(line0);
23294 }
23295 } catch (exception) {
23296 t5 = A.unwrapException(exception);
23297 if (t5 instanceof A.SassException) {
23298 error = t5;
23299 stackTrace = A.getTraceFromException(exception);
23300 t5 = error;
23301 t6 = typeof t5 == "string";
23302 if (t6 || typeof t5 == "number" || A._isBool(t5))
23303 t5 = null;
23304 else {
23305 t7 = $.$get$_traces();
23306 t6 = A._isBool(t5) || typeof t5 == "number" || t6;
23307 if (t6)
23308 A.throwExpression(A.ArgumentError$value(t5, string$.Expand, null));
23309 t5 = t7._jsWeakMap.get(t5);
23310 }
23311 if (t5 == null)
23312 t5 = stackTrace;
23313 A._logError(error, t5, line, repl, options, logger);
23314 } else
23315 throw exception;
23316 }
23317 // goto for condition
23318 $async$goto = 5;
23319 break;
23320 case 6:
23321 // after for
23322 $async$next.push(4);
23323 // goto finally
23324 $async$goto = 3;
23325 break;
23326 case 2:
23327 // uncaught
23328 $async$next = [1];
23329 case 3:
23330 // finally
23331 $async$handler = 1;
23332 $async$goto = 8;
23333 return A._asyncAwait(t2.cancel$0(), $async$repl);
23334 case 8:
23335 // returning from await.
23336 // goto the next finally handler
23337 $async$goto = $async$next.pop();
23338 break;
23339 case 4:
23340 // after finally
23341 // implicit return
23342 return A._asyncReturn(null, $async$completer);
23343 case 1:
23344 // rethrow
23345 return A._asyncRethrow($async$currentError, $async$completer);
23346 }
23347 });
23348 return A._asyncStartSync($async$repl, $async$completer);
23349 },
23350 _logError(error, stackTrace, line, repl, options, logger) {
23351 var t1, t2, spacesBeforeError;
23352 if (A.SourceSpanException.prototype.get$span.call(error, error).file.url == null)
23353 if (!A._asBool(options._options.$index(0, "quiet")))
23354 t1 = logger._emittedDebug || logger._emittedWarning;
23355 else
23356 t1 = false;
23357 else
23358 t1 = true;
23359 if (t1) {
23360 A.print(error.toString$1$color(0, options.get$color()));
23361 return;
23362 }
23363 t1 = options.get$color() ? "" + "\x1b[31m" : "";
23364 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23365 t2 = A.FileLocation$_(t2.file, t2._file$_start);
23366 spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
23367 if (options.get$color()) {
23368 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23369 t2 = A.FileLocation$_(t2.file, t2._file$_start);
23370 t2 = t2.file.getColumn$1(t2.offset) < line.length;
23371 } else
23372 t2 = false;
23373 if (t2) {
23374 t1 += "\x1b[1F\x1b[" + spacesBeforeError + "C";
23375 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23376 t2 = t1 + (A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null) + "\n");
23377 t1 = t2;
23378 }
23379 t1 += B.JSString_methods.$mul(" ", spacesBeforeError);
23380 t2 = A.SourceSpanException.prototype.get$span.call(error, error);
23381 t2 = t1 + (B.JSString_methods.$mul("^", Math.max(1, t2._end - t2._file$_start)) + "\n");
23382 t1 = options.get$color() ? t2 + "\x1b[0m" : t2;
23383 t1 += "Error: " + error._span_exception$_message + "\n";
23384 if (A._asBool(options._options.$index(0, "trace")))
23385 t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
23386 A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
23387 },
23388 isWhitespace(character) {
23389 return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
23390 },
23391 isNewline(character) {
23392 return character === 10 || character === 13 || character === 12;
23393 },
23394 isAlphabetic0(character) {
23395 var t1;
23396 if (!(character >= 97 && character <= 122))
23397 t1 = character >= 65 && character <= 90;
23398 else
23399 t1 = true;
23400 return t1;
23401 },
23402 isDigit(character) {
23403 return character != null && character >= 48 && character <= 57;
23404 },
23405 isHex(character) {
23406 if (character == null)
23407 return false;
23408 if (A.isDigit(character))
23409 return true;
23410 if (character >= 97 && character <= 102)
23411 return true;
23412 if (character >= 65 && character <= 70)
23413 return true;
23414 return false;
23415 },
23416 asHex(character) {
23417 if (character <= 57)
23418 return character - 48;
23419 if (character <= 70)
23420 return 10 + character - 65;
23421 return 10 + character - 97;
23422 },
23423 hexCharFor(number) {
23424 return number < 10 ? 48 + number : 87 + number;
23425 },
23426 opposite(character) {
23427 switch (character) {
23428 case 40:
23429 return 41;
23430 case 123:
23431 return 125;
23432 case 91:
23433 return 93;
23434 default:
23435 throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
23436 }
23437 },
23438 characterEqualsIgnoreCase(character1, character2) {
23439 var upperCase1;
23440 if (character1 === character2)
23441 return true;
23442 if ((character1 ^ character2) >>> 0 !== 32)
23443 return false;
23444 upperCase1 = (character1 & 4294967263) >>> 0;
23445 return upperCase1 >= 65 && upperCase1 <= 90;
23446 },
23447 NullableExtension_andThen(_this, fn) {
23448 return _this == null ? null : fn.call$1(_this);
23449 },
23450 SetExtension_removeNull(_this, $T) {
23451 _this.remove$1(0, null);
23452 return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
23453 },
23454 fuzzyHashCode(number) {
23455 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()));
23456 },
23457 fuzzyLessThan(number1, number2) {
23458 return number1 < number2 && !(Math.abs(number1 - number2) < $.$get$epsilon());
23459 },
23460 fuzzyLessThanOrEquals(number1, number2) {
23461 return number1 < number2 || Math.abs(number1 - number2) < $.$get$epsilon();
23462 },
23463 fuzzyGreaterThan(number1, number2) {
23464 return number1 > number2 && !(Math.abs(number1 - number2) < $.$get$epsilon());
23465 },
23466 fuzzyGreaterThanOrEquals(number1, number2) {
23467 return number1 > number2 || Math.abs(number1 - number2) < $.$get$epsilon();
23468 },
23469 fuzzyIsInt(number) {
23470 if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
23471 return false;
23472 if (A._isInt(number))
23473 return true;
23474 return Math.abs(B.JSNumber_methods.$mod(Math.abs(number - 0.5), 1) - 0.5) < $.$get$epsilon();
23475 },
23476 fuzzyRound(number) {
23477 var t1;
23478 if (number > 0) {
23479 t1 = B.JSNumber_methods.$mod(number, 1);
23480 return t1 < 0.5 && !(Math.abs(t1 - 0.5) < $.$get$epsilon()) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23481 } else {
23482 t1 = B.JSNumber_methods.$mod(number, 1);
23483 return t1 < 0.5 || Math.abs(t1 - 0.5) < $.$get$epsilon() ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23484 }
23485 },
23486 fuzzyCheckRange(number, min, max) {
23487 var t1 = $.$get$epsilon();
23488 if (Math.abs(number - min) < t1)
23489 return min;
23490 if (Math.abs(number - max) < t1)
23491 return max;
23492 if (number > min && number < max)
23493 return number;
23494 return null;
23495 },
23496 fuzzyAssertRange(number, min, max, $name) {
23497 var result = A.fuzzyCheckRange(number, min, max);
23498 if (result != null)
23499 return result;
23500 throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
23501 },
23502 SpanExtensions_trimLeft(_this) {
23503 var t5,
23504 t1 = _this._file$_start,
23505 t2 = _this._end,
23506 t3 = _this.file._decodedChars,
23507 t4 = t3.length,
23508 start = 0;
23509 while (true) {
23510 t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
23511 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23512 break;
23513 ++start;
23514 }
23515 return A.FileSpanExtension_subspan(_this, start, null);
23516 },
23517 SpanExtensions_trimRight(_this) {
23518 var t5,
23519 t1 = _this._file$_start,
23520 t2 = _this._end,
23521 t3 = _this.file._decodedChars,
23522 end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
23523 t4 = t3.length;
23524 while (true) {
23525 t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
23526 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23527 break;
23528 --end;
23529 }
23530 return A.FileSpanExtension_subspan(_this, 0, end + 1);
23531 },
23532 encodeVlq(value) {
23533 var res, signBit, digit, t1;
23534 if (value < $.$get$MIN_INT32() || value > $.$get$MAX_INT32())
23535 throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
23536 res = A._setArrayType([], type$.JSArray_String);
23537 if (value < 0) {
23538 value = -value;
23539 signBit = 1;
23540 } else
23541 signBit = 0;
23542 value = value << 1 | signBit;
23543 do {
23544 digit = value & 31;
23545 value = value >>> 5;
23546 t1 = value > 0;
23547 res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
23548 } while (t1);
23549 return res;
23550 },
23551 isAllTheSame(iter) {
23552 var firstValue, t1, t2;
23553 if (iter.get$length(iter) === 0)
23554 return true;
23555 firstValue = iter.get$first(iter);
23556 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();)
23557 if (!J.$eq$(t2._as(t1.__internal$_current), firstValue))
23558 return false;
23559 return true;
23560 },
23561 replaceFirstNull(list, element) {
23562 var index = B.JSArray_methods.indexOf$1(list, null);
23563 if (index < 0)
23564 throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
23565 list[index] = element;
23566 },
23567 replaceWithNull(list, element) {
23568 var index = B.JSArray_methods.indexOf$1(list, element);
23569 if (index < 0)
23570 throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
23571 list[index] = null;
23572 },
23573 countCodeUnits(string, codeUnit) {
23574 var t1, t2, count;
23575 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();)
23576 if (t2._as(t1.__internal$_current) === codeUnit)
23577 ++count;
23578 return count;
23579 },
23580 findLineStart(context, text, column) {
23581 var beginningOfLine, index, lineStart;
23582 if (text.length === 0)
23583 for (beginningOfLine = 0; true;) {
23584 index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
23585 if (index === -1)
23586 return context.length - beginningOfLine >= column ? beginningOfLine : null;
23587 if (index - beginningOfLine >= column)
23588 return beginningOfLine;
23589 beginningOfLine = index + 1;
23590 }
23591 index = B.JSString_methods.indexOf$1(context, text);
23592 for (; index !== -1;) {
23593 lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
23594 if (column === index - lineStart)
23595 return lineStart;
23596 index = B.JSString_methods.indexOf$2(context, text, index + 1);
23597 }
23598 return null;
23599 },
23600 validateErrorArgs(string, match, position, $length) {
23601 var t2,
23602 t1 = position != null;
23603 if (t1)
23604 if (position < 0)
23605 throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
23606 else if (position > string.length)
23607 throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
23608 t2 = $length != null;
23609 if (t2 && $length < 0)
23610 throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
23611 if (t1 && t2 && position + $length > string.length)
23612 throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
23613 },
23614 isWhitespace0(character) {
23615 return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
23616 },
23617 isNewline0(character) {
23618 return character === 10 || character === 13 || character === 12;
23619 },
23620 isAlphabetic1(character) {
23621 var t1;
23622 if (!(character >= 97 && character <= 122))
23623 t1 = character >= 65 && character <= 90;
23624 else
23625 t1 = true;
23626 return t1;
23627 },
23628 isDigit0(character) {
23629 return character != null && character >= 48 && character <= 57;
23630 },
23631 isHex0(character) {
23632 if (character == null)
23633 return false;
23634 if (A.isDigit0(character))
23635 return true;
23636 if (character >= 97 && character <= 102)
23637 return true;
23638 if (character >= 65 && character <= 70)
23639 return true;
23640 return false;
23641 },
23642 asHex0(character) {
23643 if (character <= 57)
23644 return character - 48;
23645 if (character <= 70)
23646 return 10 + character - 65;
23647 return 10 + character - 97;
23648 },
23649 hexCharFor0(number) {
23650 return number < 10 ? 48 + number : 87 + number;
23651 },
23652 opposite0(character) {
23653 switch (character) {
23654 case 40:
23655 return 41;
23656 case 123:
23657 return 125;
23658 case 91:
23659 return 93;
23660 default:
23661 throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
23662 }
23663 },
23664 characterEqualsIgnoreCase0(character1, character2) {
23665 var upperCase1;
23666 if (character1 === character2)
23667 return true;
23668 if ((character1 ^ character2) >>> 0 !== 32)
23669 return false;
23670 upperCase1 = (character1 & 4294967263) >>> 0;
23671 return upperCase1 >= 65 && upperCase1 <= 90;
23672 },
23673 EvaluationContext_current0() {
23674 var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
23675 if (type$.EvaluationContext_2._is(context))
23676 return context;
23677 throw A.wrapException(A.StateError$(string$.No_Sass));
23678 },
23679 NullableExtension_andThen0(_this, fn) {
23680 return _this == null ? null : fn.call$1(_this);
23681 },
23682 fuzzyHashCode0(number) {
23683 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()));
23684 },
23685 fuzzyLessThan0(number1, number2) {
23686 return number1 < number2 && !(Math.abs(number1 - number2) < $.$get$epsilon0());
23687 },
23688 fuzzyLessThanOrEquals0(number1, number2) {
23689 return number1 < number2 || Math.abs(number1 - number2) < $.$get$epsilon0();
23690 },
23691 fuzzyGreaterThan0(number1, number2) {
23692 return number1 > number2 && !(Math.abs(number1 - number2) < $.$get$epsilon0());
23693 },
23694 fuzzyGreaterThanOrEquals0(number1, number2) {
23695 return number1 > number2 || Math.abs(number1 - number2) < $.$get$epsilon0();
23696 },
23697 fuzzyIsInt0(number) {
23698 if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
23699 return false;
23700 if (A._isInt(number))
23701 return true;
23702 return Math.abs(B.JSNumber_methods.$mod(Math.abs(number - 0.5), 1) - 0.5) < $.$get$epsilon0();
23703 },
23704 fuzzyRound0(number) {
23705 var t1;
23706 if (number > 0) {
23707 t1 = B.JSNumber_methods.$mod(number, 1);
23708 return t1 < 0.5 && !(Math.abs(t1 - 0.5) < $.$get$epsilon0()) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23709 } else {
23710 t1 = B.JSNumber_methods.$mod(number, 1);
23711 return t1 < 0.5 || Math.abs(t1 - 0.5) < $.$get$epsilon0() ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
23712 }
23713 },
23714 fuzzyCheckRange0(number, min, max) {
23715 var t1 = $.$get$epsilon0();
23716 if (Math.abs(number - min) < t1)
23717 return min;
23718 if (Math.abs(number - max) < t1)
23719 return max;
23720 if (number > min && number < max)
23721 return number;
23722 return null;
23723 },
23724 fuzzyAssertRange0(number, min, max, $name) {
23725 var result = A.fuzzyCheckRange0(number, min, max);
23726 if (result != null)
23727 return result;
23728 throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
23729 },
23730 SpanExtensions_trimLeft0(_this) {
23731 var t5,
23732 t1 = _this._file$_start,
23733 t2 = _this._end,
23734 t3 = _this.file._decodedChars,
23735 t4 = t3.length,
23736 start = 0;
23737 while (true) {
23738 t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
23739 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23740 break;
23741 ++start;
23742 }
23743 return A.FileSpanExtension_subspan(_this, start, null);
23744 },
23745 SpanExtensions_trimRight0(_this) {
23746 var t5,
23747 t1 = _this._file$_start,
23748 t2 = _this._end,
23749 t3 = _this.file._decodedChars,
23750 end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
23751 t4 = t3.length;
23752 while (true) {
23753 t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
23754 if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
23755 break;
23756 --end;
23757 }
23758 return A.FileSpanExtension_subspan(_this, 0, end + 1);
23759 },
23760 unwrapValue(object) {
23761 var value;
23762 if (object != null) {
23763 if (object instanceof A.Value0)
23764 return object;
23765 value = object.dartValue;
23766 if (value != null && value instanceof A.Value0)
23767 return value;
23768 if (object instanceof self.Error)
23769 throw A.wrapException(object);
23770 }
23771 throw A.wrapException(A.S(object) + " must be a Sass value type.");
23772 },
23773 wrapValue(value) {
23774 if (value instanceof A.SassColor0)
23775 return A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
23776 if (value instanceof A.SassList0)
23777 return A.callConstructor($.$get$legacyListClass(), [null, null, value]);
23778 if (value instanceof A.SassMap0)
23779 return A.callConstructor($.$get$legacyMapClass(), [null, value]);
23780 if (value instanceof A.SassNumber0)
23781 return A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
23782 if (value instanceof A.SassString0)
23783 return A.callConstructor($.$get$legacyStringClass(), [null, value]);
23784 return value;
23785 }
23786 },
23787 J = {
23788 makeDispatchRecord(interceptor, proto, extension, indexability) {
23789 return {i: interceptor, p: proto, e: extension, x: indexability};
23790 },
23791 getNativeInterceptor(object) {
23792 var proto, objectProto, $constructor, interceptor, t1,
23793 record = object[init.dispatchPropertyName];
23794 if (record == null)
23795 if ($.initNativeDispatchFlag == null) {
23796 A.initNativeDispatch();
23797 record = object[init.dispatchPropertyName];
23798 }
23799 if (record != null) {
23800 proto = record.p;
23801 if (false === proto)
23802 return record.i;
23803 if (true === proto)
23804 return object;
23805 objectProto = Object.getPrototypeOf(object);
23806 if (proto === objectProto)
23807 return record.i;
23808 if (record.e === objectProto)
23809 throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
23810 }
23811 $constructor = object.constructor;
23812 if ($constructor == null)
23813 interceptor = null;
23814 else {
23815 t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
23816 if (t1 == null)
23817 t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
23818 interceptor = $constructor[t1];
23819 }
23820 if (interceptor != null)
23821 return interceptor;
23822 interceptor = A.lookupAndCacheInterceptor(object);
23823 if (interceptor != null)
23824 return interceptor;
23825 if (typeof object == "function")
23826 return B.JavaScriptFunction_methods;
23827 proto = Object.getPrototypeOf(object);
23828 if (proto == null)
23829 return B.PlainJavaScriptObject_methods;
23830 if (proto === Object.prototype)
23831 return B.PlainJavaScriptObject_methods;
23832 if (typeof $constructor == "function") {
23833 t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
23834 if (t1 == null)
23835 t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
23836 Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
23837 return B.UnknownJavaScriptObject_methods;
23838 }
23839 return B.UnknownJavaScriptObject_methods;
23840 },
23841 JSArray_JSArray$fixed($length, $E) {
23842 if ($length < 0 || $length > 4294967295)
23843 throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
23844 return J.JSArray_JSArray$markFixed(new Array($length), $E);
23845 },
23846 JSArray_JSArray$allocateFixed($length, $E) {
23847 if ($length > 4294967295)
23848 throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
23849 return J.JSArray_JSArray$markFixed(new Array($length), $E);
23850 },
23851 JSArray_JSArray$growable($length, $E) {
23852 if ($length < 0)
23853 throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
23854 return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
23855 },
23856 JSArray_JSArray$allocateGrowable($length, $E) {
23857 if ($length < 0)
23858 throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
23859 return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
23860 },
23861 JSArray_JSArray$markFixed(allocation, $E) {
23862 return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")));
23863 },
23864 JSArray_markFixedList(list) {
23865 list.fixed$length = Array;
23866 return list;
23867 },
23868 JSArray_markUnmodifiableList(list) {
23869 list.fixed$length = Array;
23870 list.immutable$list = Array;
23871 return list;
23872 },
23873 JSArray__compareAny(a, b) {
23874 return J.compareTo$1$ns(a, b);
23875 },
23876 JSString__isWhitespace(codeUnit) {
23877 if (codeUnit < 256)
23878 switch (codeUnit) {
23879 case 9:
23880 case 10:
23881 case 11:
23882 case 12:
23883 case 13:
23884 case 32:
23885 case 133:
23886 case 160:
23887 return true;
23888 default:
23889 return false;
23890 }
23891 switch (codeUnit) {
23892 case 5760:
23893 case 8192:
23894 case 8193:
23895 case 8194:
23896 case 8195:
23897 case 8196:
23898 case 8197:
23899 case 8198:
23900 case 8199:
23901 case 8200:
23902 case 8201:
23903 case 8202:
23904 case 8232:
23905 case 8233:
23906 case 8239:
23907 case 8287:
23908 case 12288:
23909 case 65279:
23910 return true;
23911 default:
23912 return false;
23913 }
23914 },
23915 JSString__skipLeadingWhitespace(string, index) {
23916 var t1, codeUnit;
23917 for (t1 = string.length; index < t1;) {
23918 codeUnit = B.JSString_methods._codeUnitAt$1(string, index);
23919 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
23920 break;
23921 ++index;
23922 }
23923 return index;
23924 },
23925 JSString__skipTrailingWhitespace(string, index) {
23926 var index0, codeUnit;
23927 for (; index > 0; index = index0) {
23928 index0 = index - 1;
23929 codeUnit = B.JSString_methods.codeUnitAt$1(string, index0);
23930 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
23931 break;
23932 }
23933 return index;
23934 },
23935 getInterceptor$(receiver) {
23936 if (typeof receiver == "number") {
23937 if (Math.floor(receiver) == receiver)
23938 return J.JSInt.prototype;
23939 return J.JSNumNotInt.prototype;
23940 }
23941 if (typeof receiver == "string")
23942 return J.JSString.prototype;
23943 if (receiver == null)
23944 return J.JSNull.prototype;
23945 if (typeof receiver == "boolean")
23946 return J.JSBool.prototype;
23947 if (receiver.constructor == Array)
23948 return J.JSArray.prototype;
23949 if (typeof receiver != "object") {
23950 if (typeof receiver == "function")
23951 return J.JavaScriptFunction.prototype;
23952 return receiver;
23953 }
23954 if (receiver instanceof A.Object)
23955 return receiver;
23956 return J.getNativeInterceptor(receiver);
23957 },
23958 getInterceptor$ansx(receiver) {
23959 if (typeof receiver == "number")
23960 return J.JSNumber.prototype;
23961 if (typeof receiver == "string")
23962 return J.JSString.prototype;
23963 if (receiver == null)
23964 return receiver;
23965 if (receiver.constructor == Array)
23966 return J.JSArray.prototype;
23967 if (typeof receiver != "object") {
23968 if (typeof receiver == "function")
23969 return J.JavaScriptFunction.prototype;
23970 return receiver;
23971 }
23972 if (receiver instanceof A.Object)
23973 return receiver;
23974 return J.getNativeInterceptor(receiver);
23975 },
23976 getInterceptor$asx(receiver) {
23977 if (typeof receiver == "string")
23978 return J.JSString.prototype;
23979 if (receiver == null)
23980 return receiver;
23981 if (receiver.constructor == Array)
23982 return J.JSArray.prototype;
23983 if (typeof receiver != "object") {
23984 if (typeof receiver == "function")
23985 return J.JavaScriptFunction.prototype;
23986 return receiver;
23987 }
23988 if (receiver instanceof A.Object)
23989 return receiver;
23990 return J.getNativeInterceptor(receiver);
23991 },
23992 getInterceptor$ax(receiver) {
23993 if (receiver == null)
23994 return receiver;
23995 if (receiver.constructor == Array)
23996 return J.JSArray.prototype;
23997 if (typeof receiver != "object") {
23998 if (typeof receiver == "function")
23999 return J.JavaScriptFunction.prototype;
24000 return receiver;
24001 }
24002 if (receiver instanceof A.Object)
24003 return receiver;
24004 return J.getNativeInterceptor(receiver);
24005 },
24006 getInterceptor$n(receiver) {
24007 if (typeof receiver == "number")
24008 return J.JSNumber.prototype;
24009 if (receiver == null)
24010 return receiver;
24011 if (!(receiver instanceof A.Object))
24012 return J.UnknownJavaScriptObject.prototype;
24013 return receiver;
24014 },
24015 getInterceptor$ns(receiver) {
24016 if (typeof receiver == "number")
24017 return J.JSNumber.prototype;
24018 if (typeof receiver == "string")
24019 return J.JSString.prototype;
24020 if (receiver == null)
24021 return receiver;
24022 if (!(receiver instanceof A.Object))
24023 return J.UnknownJavaScriptObject.prototype;
24024 return receiver;
24025 },
24026 getInterceptor$s(receiver) {
24027 if (typeof receiver == "string")
24028 return J.JSString.prototype;
24029 if (receiver == null)
24030 return receiver;
24031 if (!(receiver instanceof A.Object))
24032 return J.UnknownJavaScriptObject.prototype;
24033 return receiver;
24034 },
24035 getInterceptor$u(receiver) {
24036 if (receiver == null)
24037 return J.JSNull.prototype;
24038 if (!(receiver instanceof A.Object))
24039 return J.UnknownJavaScriptObject.prototype;
24040 return receiver;
24041 },
24042 getInterceptor$x(receiver) {
24043 if (receiver == null)
24044 return receiver;
24045 if (typeof receiver != "object") {
24046 if (typeof receiver == "function")
24047 return J.JavaScriptFunction.prototype;
24048 return receiver;
24049 }
24050 if (receiver instanceof A.Object)
24051 return receiver;
24052 return J.getNativeInterceptor(receiver);
24053 },
24054 getInterceptor$z(receiver) {
24055 if (receiver == null)
24056 return receiver;
24057 if (!(receiver instanceof A.Object))
24058 return J.UnknownJavaScriptObject.prototype;
24059 return receiver;
24060 },
24061 set$Exception$x(receiver, value) {
24062 return J.getInterceptor$x(receiver).set$Exception(receiver, value);
24063 },
24064 set$FALSE$x(receiver, value) {
24065 return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
24066 },
24067 set$Logger$x(receiver, value) {
24068 return J.getInterceptor$x(receiver).set$Logger(receiver, value);
24069 },
24070 set$NULL$x(receiver, value) {
24071 return J.getInterceptor$x(receiver).set$NULL(receiver, value);
24072 },
24073 set$SassArgumentList$x(receiver, value) {
24074 return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
24075 },
24076 set$SassBoolean$x(receiver, value) {
24077 return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
24078 },
24079 set$SassColor$x(receiver, value) {
24080 return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
24081 },
24082 set$SassFunction$x(receiver, value) {
24083 return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
24084 },
24085 set$SassList$x(receiver, value) {
24086 return J.getInterceptor$x(receiver).set$SassList(receiver, value);
24087 },
24088 set$SassMap$x(receiver, value) {
24089 return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
24090 },
24091 set$SassNumber$x(receiver, value) {
24092 return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
24093 },
24094 set$SassString$x(receiver, value) {
24095 return J.getInterceptor$x(receiver).set$SassString(receiver, value);
24096 },
24097 set$TRUE$x(receiver, value) {
24098 return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
24099 },
24100 set$Value$x(receiver, value) {
24101 return J.getInterceptor$x(receiver).set$Value(receiver, value);
24102 },
24103 set$cli_pkg_main_0_$x(receiver, value) {
24104 return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
24105 },
24106 set$compile$x(receiver, value) {
24107 return J.getInterceptor$x(receiver).set$compile(receiver, value);
24108 },
24109 set$compileAsync$x(receiver, value) {
24110 return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
24111 },
24112 set$compileString$x(receiver, value) {
24113 return J.getInterceptor$x(receiver).set$compileString(receiver, value);
24114 },
24115 set$compileStringAsync$x(receiver, value) {
24116 return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
24117 },
24118 set$context$x(receiver, value) {
24119 return J.getInterceptor$x(receiver).set$context(receiver, value);
24120 },
24121 set$dartValue$x(receiver, value) {
24122 return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
24123 },
24124 set$exitCode$x(receiver, value) {
24125 return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
24126 },
24127 set$info$x(receiver, value) {
24128 return J.getInterceptor$x(receiver).set$info(receiver, value);
24129 },
24130 set$length$asx(receiver, value) {
24131 return J.getInterceptor$asx(receiver).set$length(receiver, value);
24132 },
24133 set$render$x(receiver, value) {
24134 return J.getInterceptor$x(receiver).set$render(receiver, value);
24135 },
24136 set$renderSync$x(receiver, value) {
24137 return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
24138 },
24139 set$sassFalse$x(receiver, value) {
24140 return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
24141 },
24142 set$sassNull$x(receiver, value) {
24143 return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
24144 },
24145 set$sassTrue$x(receiver, value) {
24146 return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
24147 },
24148 set$types$x(receiver, value) {
24149 return J.getInterceptor$x(receiver).set$types(receiver, value);
24150 },
24151 get$$prototype$x(receiver) {
24152 return J.getInterceptor$x(receiver).get$$prototype(receiver);
24153 },
24154 get$_dartException$x(receiver) {
24155 return J.getInterceptor$x(receiver).get$_dartException(receiver);
24156 },
24157 get$alertAscii$x(receiver) {
24158 return J.getInterceptor$x(receiver).get$alertAscii(receiver);
24159 },
24160 get$alertColor$x(receiver) {
24161 return J.getInterceptor$x(receiver).get$alertColor(receiver);
24162 },
24163 get$blue$x(receiver) {
24164 return J.getInterceptor$x(receiver).get$blue(receiver);
24165 },
24166 get$brackets$x(receiver) {
24167 return J.getInterceptor$x(receiver).get$brackets(receiver);
24168 },
24169 get$code$x(receiver) {
24170 return J.getInterceptor$x(receiver).get$code(receiver);
24171 },
24172 get$current$x(receiver) {
24173 return J.getInterceptor$x(receiver).get$current(receiver);
24174 },
24175 get$dartValue$x(receiver) {
24176 return J.getInterceptor$x(receiver).get$dartValue(receiver);
24177 },
24178 get$debug$x(receiver) {
24179 return J.getInterceptor$x(receiver).get$debug(receiver);
24180 },
24181 get$denominatorUnits$x(receiver) {
24182 return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
24183 },
24184 get$end$z(receiver) {
24185 return J.getInterceptor$z(receiver).get$end(receiver);
24186 },
24187 get$env$x(receiver) {
24188 return J.getInterceptor$x(receiver).get$env(receiver);
24189 },
24190 get$exitCode$x(receiver) {
24191 return J.getInterceptor$x(receiver).get$exitCode(receiver);
24192 },
24193 get$fiber$x(receiver) {
24194 return J.getInterceptor$x(receiver).get$fiber(receiver);
24195 },
24196 get$file$x(receiver) {
24197 return J.getInterceptor$x(receiver).get$file(receiver);
24198 },
24199 get$first$ax(receiver) {
24200 return J.getInterceptor$ax(receiver).get$first(receiver);
24201 },
24202 get$functions$x(receiver) {
24203 return J.getInterceptor$x(receiver).get$functions(receiver);
24204 },
24205 get$green$x(receiver) {
24206 return J.getInterceptor$x(receiver).get$green(receiver);
24207 },
24208 get$hashCode$(receiver) {
24209 return J.getInterceptor$(receiver).get$hashCode(receiver);
24210 },
24211 get$importer$x(receiver) {
24212 return J.getInterceptor$x(receiver).get$importer(receiver);
24213 },
24214 get$importers$x(receiver) {
24215 return J.getInterceptor$x(receiver).get$importers(receiver);
24216 },
24217 get$isEmpty$asx(receiver) {
24218 return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
24219 },
24220 get$isNotEmpty$asx(receiver) {
24221 return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
24222 },
24223 get$isTTY$x(receiver) {
24224 return J.getInterceptor$x(receiver).get$isTTY(receiver);
24225 },
24226 get$iterator$ax(receiver) {
24227 return J.getInterceptor$ax(receiver).get$iterator(receiver);
24228 },
24229 get$keys$z(receiver) {
24230 return J.getInterceptor$z(receiver).get$keys(receiver);
24231 },
24232 get$last$ax(receiver) {
24233 return J.getInterceptor$ax(receiver).get$last(receiver);
24234 },
24235 get$length$asx(receiver) {
24236 return J.getInterceptor$asx(receiver).get$length(receiver);
24237 },
24238 get$loadPaths$x(receiver) {
24239 return J.getInterceptor$x(receiver).get$loadPaths(receiver);
24240 },
24241 get$logger$x(receiver) {
24242 return J.getInterceptor$x(receiver).get$logger(receiver);
24243 },
24244 get$message$x(receiver) {
24245 return J.getInterceptor$x(receiver).get$message(receiver);
24246 },
24247 get$mtime$x(receiver) {
24248 return J.getInterceptor$x(receiver).get$mtime(receiver);
24249 },
24250 get$name$x(receiver) {
24251 return J.getInterceptor$x(receiver).get$name(receiver);
24252 },
24253 get$numeratorUnits$x(receiver) {
24254 return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
24255 },
24256 get$options$x(receiver) {
24257 return J.getInterceptor$x(receiver).get$options(receiver);
24258 },
24259 get$parent$z(receiver) {
24260 return J.getInterceptor$z(receiver).get$parent(receiver);
24261 },
24262 get$path$x(receiver) {
24263 return J.getInterceptor$x(receiver).get$path(receiver);
24264 },
24265 get$platform$x(receiver) {
24266 return J.getInterceptor$x(receiver).get$platform(receiver);
24267 },
24268 get$quietDeps$x(receiver) {
24269 return J.getInterceptor$x(receiver).get$quietDeps(receiver);
24270 },
24271 get$quotes$x(receiver) {
24272 return J.getInterceptor$x(receiver).get$quotes(receiver);
24273 },
24274 get$red$x(receiver) {
24275 return J.getInterceptor$x(receiver).get$red(receiver);
24276 },
24277 get$reversed$ax(receiver) {
24278 return J.getInterceptor$ax(receiver).get$reversed(receiver);
24279 },
24280 get$runtimeType$u(receiver) {
24281 return J.getInterceptor$u(receiver).get$runtimeType(receiver);
24282 },
24283 get$separator$x(receiver) {
24284 return J.getInterceptor$x(receiver).get$separator(receiver);
24285 },
24286 get$single$ax(receiver) {
24287 return J.getInterceptor$ax(receiver).get$single(receiver);
24288 },
24289 get$sourceMap$x(receiver) {
24290 return J.getInterceptor$x(receiver).get$sourceMap(receiver);
24291 },
24292 get$span$z(receiver) {
24293 return J.getInterceptor$z(receiver).get$span(receiver);
24294 },
24295 get$stderr$x(receiver) {
24296 return J.getInterceptor$x(receiver).get$stderr(receiver);
24297 },
24298 get$stdin$x(receiver) {
24299 return J.getInterceptor$x(receiver).get$stdin(receiver);
24300 },
24301 get$style$x(receiver) {
24302 return J.getInterceptor$x(receiver).get$style(receiver);
24303 },
24304 get$syntax$x(receiver) {
24305 return J.getInterceptor$x(receiver).get$syntax(receiver);
24306 },
24307 get$trace$z(receiver) {
24308 return J.getInterceptor$z(receiver).get$trace(receiver);
24309 },
24310 get$url$x(receiver) {
24311 return J.getInterceptor$x(receiver).get$url(receiver);
24312 },
24313 get$values$z(receiver) {
24314 return J.getInterceptor$z(receiver).get$values(receiver);
24315 },
24316 get$verbose$x(receiver) {
24317 return J.getInterceptor$x(receiver).get$verbose(receiver);
24318 },
24319 get$warn$x(receiver) {
24320 return J.getInterceptor$x(receiver).get$warn(receiver);
24321 },
24322 $add$ansx(receiver, a0) {
24323 if (typeof receiver == "number" && typeof a0 == "number")
24324 return receiver + a0;
24325 return J.getInterceptor$ansx(receiver).$add(receiver, a0);
24326 },
24327 $eq$(receiver, a0) {
24328 if (receiver == null)
24329 return a0 == null;
24330 if (typeof receiver != "object")
24331 return a0 != null && receiver === a0;
24332 return J.getInterceptor$(receiver).$eq(receiver, a0);
24333 },
24334 $index$asx(receiver, a0) {
24335 if (typeof a0 === "number")
24336 if (receiver.constructor == Array || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
24337 if (a0 >>> 0 === a0 && a0 < receiver.length)
24338 return receiver[a0];
24339 return J.getInterceptor$asx(receiver).$index(receiver, a0);
24340 },
24341 $indexSet$ax(receiver, a0, a1) {
24342 if (typeof a0 === "number")
24343 if ((receiver.constructor == Array || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
24344 return receiver[a0] = a1;
24345 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
24346 },
24347 $set$2$x(receiver, a0, a1) {
24348 return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
24349 },
24350 add$1$ax(receiver, a0) {
24351 return J.getInterceptor$ax(receiver).add$1(receiver, a0);
24352 },
24353 addAll$1$ax(receiver, a0) {
24354 return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
24355 },
24356 allMatches$1$s(receiver, a0) {
24357 return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
24358 },
24359 allMatches$2$s(receiver, a0, a1) {
24360 return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
24361 },
24362 any$1$ax(receiver, a0) {
24363 return J.getInterceptor$ax(receiver).any$1(receiver, a0);
24364 },
24365 apply$2$x(receiver, a0, a1) {
24366 return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
24367 },
24368 asImmutable$0$x(receiver) {
24369 return J.getInterceptor$x(receiver).asImmutable$0(receiver);
24370 },
24371 asMutable$0$x(receiver) {
24372 return J.getInterceptor$x(receiver).asMutable$0(receiver);
24373 },
24374 canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
24375 return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
24376 },
24377 cast$1$0$ax(receiver, $T1) {
24378 return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
24379 },
24380 close$0$x(receiver) {
24381 return J.getInterceptor$x(receiver).close$0(receiver);
24382 },
24383 codeUnitAt$1$s(receiver, a0) {
24384 return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
24385 },
24386 compareTo$1$ns(receiver, a0) {
24387 return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
24388 },
24389 contains$1$asx(receiver, a0) {
24390 return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
24391 },
24392 createInterface$1$x(receiver, a0) {
24393 return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
24394 },
24395 elementAt$1$ax(receiver, a0) {
24396 return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
24397 },
24398 endsWith$1$s(receiver, a0) {
24399 return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
24400 },
24401 every$1$ax(receiver, a0) {
24402 return J.getInterceptor$ax(receiver).every$1(receiver, a0);
24403 },
24404 existsSync$1$x(receiver, a0) {
24405 return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
24406 },
24407 expand$1$1$ax(receiver, a0, $T1) {
24408 return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
24409 },
24410 fillRange$3$ax(receiver, a0, a1, a2) {
24411 return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
24412 },
24413 fold$2$ax(receiver, a0, a1) {
24414 return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
24415 },
24416 forEach$1$x(receiver, a0) {
24417 return J.getInterceptor$x(receiver).forEach$1(receiver, a0);
24418 },
24419 getRange$2$ax(receiver, a0, a1) {
24420 return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
24421 },
24422 getTime$0$x(receiver) {
24423 return J.getInterceptor$x(receiver).getTime$0(receiver);
24424 },
24425 isDirectory$0$x(receiver) {
24426 return J.getInterceptor$x(receiver).isDirectory$0(receiver);
24427 },
24428 isFile$0$x(receiver) {
24429 return J.getInterceptor$x(receiver).isFile$0(receiver);
24430 },
24431 join$0$ax(receiver) {
24432 return J.getInterceptor$ax(receiver).join$0(receiver);
24433 },
24434 join$1$ax(receiver, a0) {
24435 return J.getInterceptor$ax(receiver).join$1(receiver, a0);
24436 },
24437 listen$1$z(receiver, a0) {
24438 return J.getInterceptor$z(receiver).listen$1(receiver, a0);
24439 },
24440 map$1$1$ax(receiver, a0, $T1) {
24441 return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
24442 },
24443 matchAsPrefix$2$s(receiver, a0, a1) {
24444 return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
24445 },
24446 mkdirSync$1$x(receiver, a0) {
24447 return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
24448 },
24449 noSuchMethod$1$(receiver, a0) {
24450 return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
24451 },
24452 on$2$x(receiver, a0, a1) {
24453 return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
24454 },
24455 readFileSync$2$x(receiver, a0, a1) {
24456 return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
24457 },
24458 readdirSync$1$x(receiver, a0) {
24459 return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
24460 },
24461 remove$1$z(receiver, a0) {
24462 return J.getInterceptor$z(receiver).remove$1(receiver, a0);
24463 },
24464 run$0$x(receiver) {
24465 return J.getInterceptor$x(receiver).run$0(receiver);
24466 },
24467 run$1$x(receiver, a0) {
24468 return J.getInterceptor$x(receiver).run$1(receiver, a0);
24469 },
24470 setRange$4$ax(receiver, a0, a1, a2, a3) {
24471 return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
24472 },
24473 skip$1$ax(receiver, a0) {
24474 return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
24475 },
24476 sort$1$ax(receiver, a0) {
24477 return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
24478 },
24479 startsWith$1$s(receiver, a0) {
24480 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
24481 },
24482 statSync$1$x(receiver, a0) {
24483 return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
24484 },
24485 substring$1$s(receiver, a0) {
24486 return J.getInterceptor$s(receiver).substring$1(receiver, a0);
24487 },
24488 substring$2$s(receiver, a0, a1) {
24489 return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
24490 },
24491 take$1$ax(receiver, a0) {
24492 return J.getInterceptor$ax(receiver).take$1(receiver, a0);
24493 },
24494 then$1$1$x(receiver, a0, $T1) {
24495 return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
24496 },
24497 then$1$2$onError$x(receiver, a0, a1, $T1) {
24498 return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
24499 },
24500 then$2$x(receiver, a0, a1) {
24501 return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
24502 },
24503 toArray$0$x(receiver) {
24504 return J.getInterceptor$x(receiver).toArray$0(receiver);
24505 },
24506 toList$0$ax(receiver) {
24507 return J.getInterceptor$ax(receiver).toList$0(receiver);
24508 },
24509 toList$1$growable$ax(receiver, a0) {
24510 return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
24511 },
24512 toRadixString$1$n(receiver, a0) {
24513 return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
24514 },
24515 toSet$0$ax(receiver) {
24516 return J.getInterceptor$ax(receiver).toSet$0(receiver);
24517 },
24518 toString$0$(receiver) {
24519 return J.getInterceptor$(receiver).toString$0(receiver);
24520 },
24521 toString$1$color$(receiver, a0) {
24522 return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
24523 },
24524 trim$0$s(receiver) {
24525 return J.getInterceptor$s(receiver).trim$0(receiver);
24526 },
24527 unlinkSync$1$x(receiver, a0) {
24528 return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
24529 },
24530 watch$2$x(receiver, a0, a1) {
24531 return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
24532 },
24533 where$1$ax(receiver, a0) {
24534 return J.getInterceptor$ax(receiver).where$1(receiver, a0);
24535 },
24536 write$1$x(receiver, a0) {
24537 return J.getInterceptor$x(receiver).write$1(receiver, a0);
24538 },
24539 writeFileSync$2$x(receiver, a0, a1) {
24540 return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
24541 },
24542 yield$0$x(receiver) {
24543 return J.getInterceptor$x(receiver).yield$0(receiver);
24544 },
24545 Interceptor: function Interceptor() {
24546 },
24547 JSBool: function JSBool() {
24548 },
24549 JSNull: function JSNull() {
24550 },
24551 JavaScriptObject: function JavaScriptObject() {
24552 },
24553 PlainJavaScriptObject: function PlainJavaScriptObject() {
24554 },
24555 UnknownJavaScriptObject: function UnknownJavaScriptObject() {
24556 },
24557 JavaScriptFunction: function JavaScriptFunction() {
24558 },
24559 JSArray: function JSArray(t0) {
24560 this.$ti = t0;
24561 },
24562 JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
24563 this.$ti = t0;
24564 },
24565 ArrayIterator: function ArrayIterator(t0, t1) {
24566 var _ = this;
24567 _._iterable = t0;
24568 _._length = t1;
24569 _._index = 0;
24570 _._current = null;
24571 },
24572 JSNumber: function JSNumber() {
24573 },
24574 JSInt: function JSInt() {
24575 },
24576 JSNumNotInt: function JSNumNotInt() {
24577 },
24578 JSString: function JSString() {
24579 }
24580 },
24581 B = {};
24582 var holders = [A, J, B];
24583 hunkHelpers.setFunctionNamesIfNecessary(holders);
24584 var $ = {};
24585 A.JS_CONST.prototype = {};
24586 J.Interceptor.prototype = {
24587 $eq(receiver, other) {
24588 return receiver === other;
24589 },
24590 get$hashCode(receiver) {
24591 return A.Primitives_objectHashCode(receiver);
24592 },
24593 toString$0(receiver) {
24594 return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
24595 },
24596 noSuchMethod$1(receiver, invocation) {
24597 throw A.wrapException(A.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
24598 }
24599 };
24600 J.JSBool.prototype = {
24601 toString$0(receiver) {
24602 return String(receiver);
24603 },
24604 get$hashCode(receiver) {
24605 return receiver ? 519018 : 218159;
24606 },
24607 $isbool: 1
24608 };
24609 J.JSNull.prototype = {
24610 $eq(receiver, other) {
24611 return null == other;
24612 },
24613 toString$0(receiver) {
24614 return "null";
24615 },
24616 get$hashCode(receiver) {
24617 return 0;
24618 },
24619 get$runtimeType(receiver) {
24620 return B.Type_Null_Yyn;
24621 },
24622 $isNull: 1
24623 };
24624 J.JavaScriptObject.prototype = {
24625 get$hashCode(receiver) {
24626 return 0;
24627 },
24628 toString$0(receiver) {
24629 return String(receiver);
24630 },
24631 $isPromise: 1,
24632 $isJsSystemError: 1,
24633 $is_NodeSassColor: 1,
24634 $is_Channels: 1,
24635 $isCompileOptions: 1,
24636 $isCompileStringOptions: 1,
24637 $isNodeCompileResult: 1,
24638 $is_NodeException: 1,
24639 $isFiber: 1,
24640 $isJSFunction0: 1,
24641 $isImmutableList: 1,
24642 $isImmutableMap: 1,
24643 $isNodeImporter0: 1,
24644 $isNodeImporterResult0: 1,
24645 $isNodeImporterResult1: 1,
24646 $is_NodeSassList: 1,
24647 $is_ConstructorOptions: 1,
24648 $isWarnOptions: 1,
24649 $isDebugOptions: 1,
24650 $is_NodeSassMap: 1,
24651 $is_NodeSassNumber: 1,
24652 $is_ConstructorOptions0: 1,
24653 $isJSClass0: 1,
24654 $isRenderContextOptions0: 1,
24655 $isRenderOptions: 1,
24656 $isRenderResult: 1,
24657 $is_NodeSassString: 1,
24658 $is_ConstructorOptions1: 1,
24659 $isJSUrl0: 1,
24660 get$isTTY(obj) {
24661 return obj.isTTY;
24662 },
24663 get$write(obj) {
24664 return obj.write;
24665 },
24666 write$1(receiver, p0) {
24667 return receiver.write(p0);
24668 },
24669 createInterface$1(receiver, p0) {
24670 return receiver.createInterface(p0);
24671 },
24672 on$2(receiver, p0, p1) {
24673 return receiver.on(p0, p1);
24674 },
24675 get$close(obj) {
24676 return obj.close;
24677 },
24678 close$0(receiver) {
24679 return receiver.close();
24680 },
24681 setPrompt$1(receiver, p0) {
24682 return receiver.setPrompt(p0);
24683 },
24684 get$length(obj) {
24685 return obj.length;
24686 },
24687 toString$0(receiver) {
24688 return receiver.toString();
24689 },
24690 clear$0(receiver) {
24691 return receiver.clear();
24692 },
24693 get$debug(obj) {
24694 return obj.debug;
24695 },
24696 debug$2(receiver, p0, p1) {
24697 return receiver.debug(p0, p1);
24698 },
24699 get$warn(obj) {
24700 return obj.warn;
24701 },
24702 warn$1(receiver, p0) {
24703 return receiver.warn(p0);
24704 },
24705 existsSync$1(receiver, p0) {
24706 return receiver.existsSync(p0);
24707 },
24708 mkdirSync$1(receiver, p0) {
24709 return receiver.mkdirSync(p0);
24710 },
24711 readdirSync$1(receiver, p0) {
24712 return receiver.readdirSync(p0);
24713 },
24714 readFileSync$2(receiver, p0, p1) {
24715 return receiver.readFileSync(p0, p1);
24716 },
24717 statSync$1(receiver, p0) {
24718 return receiver.statSync(p0);
24719 },
24720 unlinkSync$1(receiver, p0) {
24721 return receiver.unlinkSync(p0);
24722 },
24723 watch$2(receiver, p0, p1) {
24724 return receiver.watch(p0, p1);
24725 },
24726 writeFileSync$2(receiver, p0, p1) {
24727 return receiver.writeFileSync(p0, p1);
24728 },
24729 get$path(obj) {
24730 return obj.path;
24731 },
24732 isDirectory$0(receiver) {
24733 return receiver.isDirectory();
24734 },
24735 isFile$0(receiver) {
24736 return receiver.isFile();
24737 },
24738 get$mtime(obj) {
24739 return obj.mtime;
24740 },
24741 then$1$1(receiver, p0) {
24742 return receiver.then(p0);
24743 },
24744 then$2(receiver, p0, p1) {
24745 return receiver.then(p0, p1);
24746 },
24747 getTime$0(receiver) {
24748 return receiver.getTime();
24749 },
24750 get$message(obj) {
24751 return obj.message;
24752 },
24753 message$1(receiver, p0) {
24754 return receiver.message(p0);
24755 },
24756 get$code(obj) {
24757 return obj.code;
24758 },
24759 get$syscall(obj) {
24760 return obj.syscall;
24761 },
24762 get$env(obj) {
24763 return obj.env;
24764 },
24765 get$exitCode(obj) {
24766 return obj.exitCode;
24767 },
24768 set$exitCode(obj, v) {
24769 return obj.exitCode = v;
24770 },
24771 get$platform(obj) {
24772 return obj.platform;
24773 },
24774 get$stderr(obj) {
24775 return obj.stderr;
24776 },
24777 get$stdin(obj) {
24778 return obj.stdin;
24779 },
24780 get$name(obj) {
24781 return obj.name;
24782 },
24783 push$1(receiver, p0) {
24784 return receiver.push(p0);
24785 },
24786 call$0(receiver) {
24787 return receiver.call();
24788 },
24789 call$1(receiver, p0) {
24790 return receiver.call(p0);
24791 },
24792 call$2(receiver, p0, p1) {
24793 return receiver.call(p0, p1);
24794 },
24795 call$3$1(receiver, p0) {
24796 return receiver.call(p0);
24797 },
24798 call$2$1(receiver, p0) {
24799 return receiver.call(p0);
24800 },
24801 call$1$1(receiver, p0) {
24802 return receiver.call(p0);
24803 },
24804 call$3(receiver, p0, p1, p2) {
24805 return receiver.call(p0, p1, p2);
24806 },
24807 call$3$3(receiver, p0, p1, p2) {
24808 return receiver.call(p0, p1, p2);
24809 },
24810 call$2$2(receiver, p0, p1) {
24811 return receiver.call(p0, p1);
24812 },
24813 call$1$0(receiver) {
24814 return receiver.call();
24815 },
24816 call$2$0(receiver) {
24817 return receiver.call();
24818 },
24819 call$2$3(receiver, p0, p1, p2) {
24820 return receiver.call(p0, p1, p2);
24821 },
24822 call$1$2(receiver, p0, p1) {
24823 return receiver.call(p0, p1);
24824 },
24825 apply$2(receiver, p0, p1) {
24826 return receiver.apply(p0, p1);
24827 },
24828 get$file(obj) {
24829 return obj.file;
24830 },
24831 get$contents(obj) {
24832 return obj.contents;
24833 },
24834 get$options(obj) {
24835 return obj.options;
24836 },
24837 get$data(obj) {
24838 return obj.data;
24839 },
24840 get$includePaths(obj) {
24841 return obj.includePaths;
24842 },
24843 get$style(obj) {
24844 return obj.style;
24845 },
24846 get$indentType(obj) {
24847 return obj.indentType;
24848 },
24849 get$indentWidth(obj) {
24850 return obj.indentWidth;
24851 },
24852 get$linefeed(obj) {
24853 return obj.linefeed;
24854 },
24855 set$context(obj, v) {
24856 return obj.context = v;
24857 },
24858 get$$prototype(obj) {
24859 return obj.prototype;
24860 },
24861 get$dartValue(obj) {
24862 return obj.dartValue;
24863 },
24864 set$dartValue(obj, v) {
24865 return obj.dartValue = v;
24866 },
24867 get$red(obj) {
24868 return obj.red;
24869 },
24870 get$green(obj) {
24871 return obj.green;
24872 },
24873 get$blue(obj) {
24874 return obj.blue;
24875 },
24876 get$hue(obj) {
24877 return obj.hue;
24878 },
24879 get$saturation(obj) {
24880 return obj.saturation;
24881 },
24882 get$lightness(obj) {
24883 return obj.lightness;
24884 },
24885 get$whiteness(obj) {
24886 return obj.whiteness;
24887 },
24888 get$blackness(obj) {
24889 return obj.blackness;
24890 },
24891 get$alpha(obj) {
24892 return obj.alpha;
24893 },
24894 get$alertAscii(obj) {
24895 return obj.alertAscii;
24896 },
24897 get$alertColor(obj) {
24898 return obj.alertColor;
24899 },
24900 get$loadPaths(obj) {
24901 return obj.loadPaths;
24902 },
24903 get$quietDeps(obj) {
24904 return obj.quietDeps;
24905 },
24906 get$verbose(obj) {
24907 return obj.verbose;
24908 },
24909 get$sourceMap(obj) {
24910 return obj.sourceMap;
24911 },
24912 get$logger(obj) {
24913 return obj.logger;
24914 },
24915 get$importers(obj) {
24916 return obj.importers;
24917 },
24918 get$functions(obj) {
24919 return obj.functions;
24920 },
24921 get$syntax(obj) {
24922 return obj.syntax;
24923 },
24924 get$url(obj) {
24925 return obj.url;
24926 },
24927 get$importer(obj) {
24928 return obj.importer;
24929 },
24930 get$_dartException(obj) {
24931 return obj._dartException;
24932 },
24933 set$renderSync(obj, v) {
24934 return obj.renderSync = v;
24935 },
24936 set$compileString(obj, v) {
24937 return obj.compileString = v;
24938 },
24939 set$compileStringAsync(obj, v) {
24940 return obj.compileStringAsync = v;
24941 },
24942 set$compile(obj, v) {
24943 return obj.compile = v;
24944 },
24945 set$compileAsync(obj, v) {
24946 return obj.compileAsync = v;
24947 },
24948 set$info(obj, v) {
24949 return obj.info = v;
24950 },
24951 set$Exception(obj, v) {
24952 return obj.Exception = v;
24953 },
24954 set$Logger(obj, v) {
24955 return obj.Logger = v;
24956 },
24957 set$Value(obj, v) {
24958 return obj.Value = v;
24959 },
24960 set$SassArgumentList(obj, v) {
24961 return obj.SassArgumentList = v;
24962 },
24963 set$SassBoolean(obj, v) {
24964 return obj.SassBoolean = v;
24965 },
24966 set$SassColor(obj, v) {
24967 return obj.SassColor = v;
24968 },
24969 set$SassFunction(obj, v) {
24970 return obj.SassFunction = v;
24971 },
24972 set$SassList(obj, v) {
24973 return obj.SassList = v;
24974 },
24975 set$SassMap(obj, v) {
24976 return obj.SassMap = v;
24977 },
24978 set$SassNumber(obj, v) {
24979 return obj.SassNumber = v;
24980 },
24981 set$SassString(obj, v) {
24982 return obj.SassString = v;
24983 },
24984 set$sassNull(obj, v) {
24985 return obj.sassNull = v;
24986 },
24987 set$sassTrue(obj, v) {
24988 return obj.sassTrue = v;
24989 },
24990 set$sassFalse(obj, v) {
24991 return obj.sassFalse = v;
24992 },
24993 set$render(obj, v) {
24994 return obj.render = v;
24995 },
24996 set$types(obj, v) {
24997 return obj.types = v;
24998 },
24999 set$NULL(obj, v) {
25000 return obj.NULL = v;
25001 },
25002 set$TRUE(obj, v) {
25003 return obj.TRUE = v;
25004 },
25005 set$FALSE(obj, v) {
25006 return obj.FALSE = v;
25007 },
25008 get$current(obj) {
25009 return obj.current;
25010 },
25011 yield$0(receiver) {
25012 return receiver.yield();
25013 },
25014 run$1$1(receiver, p0) {
25015 return receiver.run(p0);
25016 },
25017 run$1(receiver, p0) {
25018 return receiver.run(p0);
25019 },
25020 run$0(receiver) {
25021 return receiver.run();
25022 },
25023 toArray$0(receiver) {
25024 return receiver.toArray();
25025 },
25026 asMutable$0(receiver) {
25027 return receiver.asMutable();
25028 },
25029 asImmutable$0(receiver) {
25030 return receiver.asImmutable();
25031 },
25032 $set$2(receiver, p0, p1) {
25033 return receiver.set(p0, p1);
25034 },
25035 forEach$1(receiver, p0) {
25036 return receiver.forEach(p0);
25037 },
25038 get$canonicalize(obj) {
25039 return obj.canonicalize;
25040 },
25041 canonicalize$1(receiver, p0) {
25042 return receiver.canonicalize(p0);
25043 },
25044 get$load(obj) {
25045 return obj.load;
25046 },
25047 load$1(receiver, p0) {
25048 return receiver.load(p0);
25049 },
25050 get$findFileUrl(obj) {
25051 return obj.findFileUrl;
25052 },
25053 get$sourceMapUrl(obj) {
25054 return obj.sourceMapUrl;
25055 },
25056 get$separator(obj) {
25057 return obj.separator;
25058 },
25059 get$brackets(obj) {
25060 return obj.brackets;
25061 },
25062 get$numeratorUnits(obj) {
25063 return obj.numeratorUnits;
25064 },
25065 get$denominatorUnits(obj) {
25066 return obj.denominatorUnits;
25067 },
25068 get$indentedSyntax(obj) {
25069 return obj.indentedSyntax;
25070 },
25071 get$omitSourceMapUrl(obj) {
25072 return obj.omitSourceMapUrl;
25073 },
25074 get$outFile(obj) {
25075 return obj.outFile;
25076 },
25077 get$outputStyle(obj) {
25078 return obj.outputStyle;
25079 },
25080 get$fiber(obj) {
25081 return obj.fiber;
25082 },
25083 get$sourceMapContents(obj) {
25084 return obj.sourceMapContents;
25085 },
25086 get$sourceMapEmbed(obj) {
25087 return obj.sourceMapEmbed;
25088 },
25089 get$sourceMapRoot(obj) {
25090 return obj.sourceMapRoot;
25091 },
25092 get$charset(obj) {
25093 return obj.charset;
25094 },
25095 set$cli_pkg_main_0_(obj, v) {
25096 return obj.cli_pkg_main_0_ = v;
25097 },
25098 get$quotes(obj) {
25099 return obj.quotes;
25100 }
25101 };
25102 J.PlainJavaScriptObject.prototype = {};
25103 J.UnknownJavaScriptObject.prototype = {};
25104 J.JavaScriptFunction.prototype = {
25105 toString$0(receiver) {
25106 var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
25107 if (dartClosure == null)
25108 return this.super$JavaScriptObject$toString(receiver);
25109 return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
25110 },
25111 $isFunction: 1
25112 };
25113 J.JSArray.prototype = {
25114 cast$1$0(receiver, $R) {
25115 return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
25116 },
25117 add$1(receiver, value) {
25118 if (!!receiver.fixed$length)
25119 A.throwExpression(A.UnsupportedError$("add"));
25120 receiver.push(value);
25121 },
25122 removeAt$1(receiver, index) {
25123 var t1;
25124 if (!!receiver.fixed$length)
25125 A.throwExpression(A.UnsupportedError$("removeAt"));
25126 t1 = receiver.length;
25127 if (index >= t1)
25128 throw A.wrapException(A.RangeError$value(index, null, null));
25129 return receiver.splice(index, 1)[0];
25130 },
25131 insert$2(receiver, index, value) {
25132 var t1;
25133 if (!!receiver.fixed$length)
25134 A.throwExpression(A.UnsupportedError$("insert"));
25135 t1 = receiver.length;
25136 if (index > t1)
25137 throw A.wrapException(A.RangeError$value(index, null, null));
25138 receiver.splice(index, 0, value);
25139 },
25140 insertAll$2(receiver, index, iterable) {
25141 var insertionLength, end;
25142 if (!!receiver.fixed$length)
25143 A.throwExpression(A.UnsupportedError$("insertAll"));
25144 A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
25145 if (!type$.EfficientLengthIterable_dynamic._is(iterable))
25146 iterable = J.toList$0$ax(iterable);
25147 insertionLength = J.get$length$asx(iterable);
25148 receiver.length = receiver.length + insertionLength;
25149 end = index + insertionLength;
25150 this.setRange$4(receiver, end, receiver.length, receiver, index);
25151 this.setRange$3(receiver, index, end, iterable);
25152 },
25153 removeLast$0(receiver) {
25154 if (!!receiver.fixed$length)
25155 A.throwExpression(A.UnsupportedError$("removeLast"));
25156 if (receiver.length === 0)
25157 throw A.wrapException(A.diagnoseIndexError(receiver, -1));
25158 return receiver.pop();
25159 },
25160 _removeWhere$2(receiver, test, removeMatching) {
25161 var i, element, t1, retained = [],
25162 end = receiver.length;
25163 for (i = 0; i < end; ++i) {
25164 element = receiver[i];
25165 if (!test.call$1(element))
25166 retained.push(element);
25167 if (receiver.length !== end)
25168 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25169 }
25170 t1 = retained.length;
25171 if (t1 === end)
25172 return;
25173 this.set$length(receiver, t1);
25174 for (i = 0; i < retained.length; ++i)
25175 receiver[i] = retained[i];
25176 },
25177 where$1(receiver, f) {
25178 return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
25179 },
25180 expand$1$1(receiver, f, $T) {
25181 return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
25182 },
25183 addAll$1(receiver, collection) {
25184 var t1;
25185 if (!!receiver.fixed$length)
25186 A.throwExpression(A.UnsupportedError$("addAll"));
25187 if (Array.isArray(collection)) {
25188 this._addAllFromArray$1(receiver, collection);
25189 return;
25190 }
25191 for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
25192 receiver.push(t1.get$current(t1));
25193 },
25194 _addAllFromArray$1(receiver, array) {
25195 var i,
25196 len = array.length;
25197 if (len === 0)
25198 return;
25199 if (receiver === array)
25200 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25201 for (i = 0; i < len; ++i)
25202 receiver.push(array[i]);
25203 },
25204 map$1$1(receiver, f, $T) {
25205 return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
25206 },
25207 join$1(receiver, separator) {
25208 var i,
25209 list = A.List_List$filled(receiver.length, "", false, type$.String);
25210 for (i = 0; i < receiver.length; ++i)
25211 list[i] = A.S(receiver[i]);
25212 return list.join(separator);
25213 },
25214 join$0($receiver) {
25215 return this.join$1($receiver, "");
25216 },
25217 take$1(receiver, n) {
25218 return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
25219 },
25220 skip$1(receiver, n) {
25221 return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
25222 },
25223 fold$1$2(receiver, initialValue, combine) {
25224 var value, i,
25225 $length = receiver.length;
25226 for (value = initialValue, i = 0; i < $length; ++i) {
25227 value = combine.call$2(value, receiver[i]);
25228 if (receiver.length !== $length)
25229 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25230 }
25231 return value;
25232 },
25233 fold$2($receiver, initialValue, combine) {
25234 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
25235 },
25236 elementAt$1(receiver, index) {
25237 return receiver[index];
25238 },
25239 sublist$2(receiver, start, end) {
25240 var end0 = receiver.length;
25241 if (start > end0)
25242 throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
25243 if (end == null)
25244 end = end0;
25245 else if (end < start || end > end0)
25246 throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
25247 if (start === end)
25248 return A._setArrayType([], A._arrayInstanceType(receiver));
25249 return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
25250 },
25251 sublist$1($receiver, start) {
25252 return this.sublist$2($receiver, start, null);
25253 },
25254 getRange$2(receiver, start, end) {
25255 A.RangeError_checkValidRange(start, end, receiver.length);
25256 return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
25257 },
25258 get$first(receiver) {
25259 if (receiver.length > 0)
25260 return receiver[0];
25261 throw A.wrapException(A.IterableElementError_noElement());
25262 },
25263 get$last(receiver) {
25264 var t1 = receiver.length;
25265 if (t1 > 0)
25266 return receiver[t1 - 1];
25267 throw A.wrapException(A.IterableElementError_noElement());
25268 },
25269 get$single(receiver) {
25270 var t1 = receiver.length;
25271 if (t1 === 1)
25272 return receiver[0];
25273 if (t1 === 0)
25274 throw A.wrapException(A.IterableElementError_noElement());
25275 throw A.wrapException(A.IterableElementError_tooMany());
25276 },
25277 removeRange$2(receiver, start, end) {
25278 if (!!receiver.fixed$length)
25279 A.throwExpression(A.UnsupportedError$("removeRange"));
25280 A.RangeError_checkValidRange(start, end, receiver.length);
25281 receiver.splice(start, end - start);
25282 },
25283 setRange$4(receiver, start, end, iterable, skipCount) {
25284 var $length, otherList, otherStart, t1, i;
25285 if (!!receiver.immutable$list)
25286 A.throwExpression(A.UnsupportedError$("setRange"));
25287 A.RangeError_checkValidRange(start, end, receiver.length);
25288 $length = end - start;
25289 if ($length === 0)
25290 return;
25291 A.RangeError_checkNotNegative(skipCount, "skipCount");
25292 if (type$.List_dynamic._is(iterable)) {
25293 otherList = iterable;
25294 otherStart = skipCount;
25295 } else {
25296 otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
25297 otherStart = 0;
25298 }
25299 t1 = J.getInterceptor$asx(otherList);
25300 if (otherStart + $length > t1.get$length(otherList))
25301 throw A.wrapException(A.IterableElementError_tooFew());
25302 if (otherStart < start)
25303 for (i = $length - 1; i >= 0; --i)
25304 receiver[start + i] = t1.$index(otherList, otherStart + i);
25305 else
25306 for (i = 0; i < $length; ++i)
25307 receiver[start + i] = t1.$index(otherList, otherStart + i);
25308 },
25309 setRange$3($receiver, start, end, iterable) {
25310 return this.setRange$4($receiver, start, end, iterable, 0);
25311 },
25312 fillRange$3(receiver, start, end, fillValue) {
25313 var i;
25314 if (!!receiver.immutable$list)
25315 A.throwExpression(A.UnsupportedError$("fill range"));
25316 A.RangeError_checkValidRange(start, end, receiver.length);
25317 A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
25318 for (i = start; i < end; ++i)
25319 receiver[i] = fillValue;
25320 },
25321 any$1(receiver, test) {
25322 var i,
25323 end = receiver.length;
25324 for (i = 0; i < end; ++i) {
25325 if (test.call$1(receiver[i]))
25326 return true;
25327 if (receiver.length !== end)
25328 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25329 }
25330 return false;
25331 },
25332 every$1(receiver, test) {
25333 var i,
25334 end = receiver.length;
25335 for (i = 0; i < end; ++i) {
25336 if (!test.call$1(receiver[i]))
25337 return false;
25338 if (receiver.length !== end)
25339 throw A.wrapException(A.ConcurrentModificationError$(receiver));
25340 }
25341 return true;
25342 },
25343 get$reversed(receiver) {
25344 return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
25345 },
25346 sort$1(receiver, compare) {
25347 if (!!receiver.immutable$list)
25348 A.throwExpression(A.UnsupportedError$("sort"));
25349 A.Sort_sort(receiver, compare == null ? J._interceptors_JSArray__compareAny$closure() : compare);
25350 },
25351 sort$0($receiver) {
25352 return this.sort$1($receiver, null);
25353 },
25354 indexOf$1(receiver, element) {
25355 var i,
25356 $length = receiver.length;
25357 if (0 >= $length)
25358 return -1;
25359 for (i = 0; i < $length; ++i)
25360 if (J.$eq$(receiver[i], element))
25361 return i;
25362 return -1;
25363 },
25364 contains$1(receiver, other) {
25365 var i;
25366 for (i = 0; i < receiver.length; ++i)
25367 if (J.$eq$(receiver[i], other))
25368 return true;
25369 return false;
25370 },
25371 get$isEmpty(receiver) {
25372 return receiver.length === 0;
25373 },
25374 get$isNotEmpty(receiver) {
25375 return receiver.length !== 0;
25376 },
25377 toString$0(receiver) {
25378 return A.IterableBase_iterableToFullString(receiver, "[", "]");
25379 },
25380 toList$1$growable(receiver, growable) {
25381 var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
25382 return t1;
25383 },
25384 toList$0($receiver) {
25385 return this.toList$1$growable($receiver, true);
25386 },
25387 toSet$0(receiver) {
25388 return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
25389 },
25390 get$iterator(receiver) {
25391 return new J.ArrayIterator(receiver, receiver.length);
25392 },
25393 get$hashCode(receiver) {
25394 return A.Primitives_objectHashCode(receiver);
25395 },
25396 get$length(receiver) {
25397 return receiver.length;
25398 },
25399 set$length(receiver, newLength) {
25400 if (!!receiver.fixed$length)
25401 A.throwExpression(A.UnsupportedError$("set length"));
25402 if (newLength < 0)
25403 throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
25404 if (newLength > receiver.length)
25405 A._arrayInstanceType(receiver)._precomputed1._as(null);
25406 receiver.length = newLength;
25407 },
25408 $index(receiver, index) {
25409 if (!(index >= 0 && index < receiver.length))
25410 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25411 return receiver[index];
25412 },
25413 $indexSet(receiver, index, value) {
25414 if (!!receiver.immutable$list)
25415 A.throwExpression(A.UnsupportedError$("indexed set"));
25416 if (!(index >= 0 && index < receiver.length))
25417 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25418 receiver[index] = value;
25419 },
25420 $add(receiver, other) {
25421 var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
25422 this.addAll$1(t1, other);
25423 return t1;
25424 },
25425 indexWhere$1(receiver, test) {
25426 var i;
25427 if (0 >= receiver.length)
25428 return -1;
25429 for (i = 0; i < receiver.length; ++i)
25430 if (test.call$1(receiver[i]))
25431 return i;
25432 return -1;
25433 },
25434 $isEfficientLengthIterable: 1,
25435 $isIterable: 1,
25436 $isList: 1
25437 };
25438 J.JSUnmodifiableArray.prototype = {};
25439 J.ArrayIterator.prototype = {
25440 get$current(_) {
25441 return A._instanceType(this)._precomputed1._as(this._current);
25442 },
25443 moveNext$0() {
25444 var t2, _this = this,
25445 t1 = _this._iterable,
25446 $length = t1.length;
25447 if (_this._length !== $length)
25448 throw A.wrapException(A.throwConcurrentModificationError(t1));
25449 t2 = _this._index;
25450 if (t2 >= $length) {
25451 _this._current = null;
25452 return false;
25453 }
25454 _this._current = t1[t2];
25455 _this._index = t2 + 1;
25456 return true;
25457 }
25458 };
25459 J.JSNumber.prototype = {
25460 compareTo$1(receiver, b) {
25461 var bIsNegative;
25462 if (receiver < b)
25463 return -1;
25464 else if (receiver > b)
25465 return 1;
25466 else if (receiver === b) {
25467 if (receiver === 0) {
25468 bIsNegative = this.get$isNegative(b);
25469 if (this.get$isNegative(receiver) === bIsNegative)
25470 return 0;
25471 if (this.get$isNegative(receiver))
25472 return -1;
25473 return 1;
25474 }
25475 return 0;
25476 } else if (isNaN(receiver)) {
25477 if (isNaN(b))
25478 return 0;
25479 return 1;
25480 } else
25481 return -1;
25482 },
25483 get$isNegative(receiver) {
25484 return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
25485 },
25486 ceil$0(receiver) {
25487 var truncated, d;
25488 if (receiver >= 0) {
25489 if (receiver <= 2147483647) {
25490 truncated = receiver | 0;
25491 return receiver === truncated ? truncated : truncated + 1;
25492 }
25493 } else if (receiver >= -2147483648)
25494 return receiver | 0;
25495 d = Math.ceil(receiver);
25496 if (isFinite(d))
25497 return d;
25498 throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
25499 },
25500 floor$0(receiver) {
25501 var truncated, d;
25502 if (receiver >= 0) {
25503 if (receiver <= 2147483647)
25504 return receiver | 0;
25505 } else if (receiver >= -2147483648) {
25506 truncated = receiver | 0;
25507 return receiver === truncated ? truncated : truncated - 1;
25508 }
25509 d = Math.floor(receiver);
25510 if (isFinite(d))
25511 return d;
25512 throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
25513 },
25514 round$0(receiver) {
25515 if (receiver > 0) {
25516 if (receiver !== 1 / 0)
25517 return Math.round(receiver);
25518 } else if (receiver > -1 / 0)
25519 return 0 - Math.round(0 - receiver);
25520 throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
25521 },
25522 clamp$2(receiver, lowerLimit, upperLimit) {
25523 if (B.JSInt_methods.compareTo$1(lowerLimit, upperLimit) > 0)
25524 throw A.wrapException(A.argumentErrorValue(lowerLimit));
25525 if (this.compareTo$1(receiver, lowerLimit) < 0)
25526 return lowerLimit;
25527 if (this.compareTo$1(receiver, upperLimit) > 0)
25528 return upperLimit;
25529 return receiver;
25530 },
25531 toRadixString$1(receiver, radix) {
25532 var result, match, exponent, t1;
25533 if (radix < 2 || radix > 36)
25534 throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
25535 result = receiver.toString(radix);
25536 if (B.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41)
25537 return result;
25538 match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
25539 if (match == null)
25540 A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
25541 result = match[1];
25542 exponent = +match[3];
25543 t1 = match[2];
25544 if (t1 != null) {
25545 result += t1;
25546 exponent -= t1.length;
25547 }
25548 return result + B.JSString_methods.$mul("0", exponent);
25549 },
25550 toString$0(receiver) {
25551 if (receiver === 0 && 1 / receiver < 0)
25552 return "-0.0";
25553 else
25554 return "" + receiver;
25555 },
25556 get$hashCode(receiver) {
25557 var absolute, floorLog2, factor, scaled,
25558 intValue = receiver | 0;
25559 if (receiver === intValue)
25560 return intValue & 536870911;
25561 absolute = Math.abs(receiver);
25562 floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
25563 factor = Math.pow(2, floorLog2);
25564 scaled = absolute < 1 ? absolute / factor : factor / absolute;
25565 return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
25566 },
25567 $add(receiver, other) {
25568 return receiver + other;
25569 },
25570 $mod(receiver, other) {
25571 var result = receiver % other;
25572 if (result === 0)
25573 return 0;
25574 if (result > 0)
25575 return result;
25576 if (other < 0)
25577 return result - other;
25578 else
25579 return result + other;
25580 },
25581 $tdiv(receiver, other) {
25582 if ((receiver | 0) === receiver)
25583 if (other >= 1 || other < -1)
25584 return receiver / other | 0;
25585 return this._tdivSlow$1(receiver, other);
25586 },
25587 _tdivFast$1(receiver, other) {
25588 return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
25589 },
25590 _tdivSlow$1(receiver, other) {
25591 var quotient = receiver / other;
25592 if (quotient >= -2147483648 && quotient <= 2147483647)
25593 return quotient | 0;
25594 if (quotient > 0) {
25595 if (quotient !== 1 / 0)
25596 return Math.floor(quotient);
25597 } else if (quotient > -1 / 0)
25598 return Math.ceil(quotient);
25599 throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
25600 },
25601 _shrOtherPositive$1(receiver, other) {
25602 var t1;
25603 if (receiver > 0)
25604 t1 = this._shrBothPositive$1(receiver, other);
25605 else {
25606 t1 = other > 31 ? 31 : other;
25607 t1 = receiver >> t1 >>> 0;
25608 }
25609 return t1;
25610 },
25611 _shrReceiverPositive$1(receiver, other) {
25612 if (0 > other)
25613 throw A.wrapException(A.argumentErrorValue(other));
25614 return this._shrBothPositive$1(receiver, other);
25615 },
25616 _shrBothPositive$1(receiver, other) {
25617 return other > 31 ? 0 : receiver >>> other;
25618 },
25619 $isComparable: 1,
25620 $isdouble: 1,
25621 $isnum: 1
25622 };
25623 J.JSInt.prototype = {$isint: 1};
25624 J.JSNumNotInt.prototype = {};
25625 J.JSString.prototype = {
25626 codeUnitAt$1(receiver, index) {
25627 if (index < 0)
25628 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25629 if (index >= receiver.length)
25630 A.throwExpression(A.diagnoseIndexError(receiver, index));
25631 return receiver.charCodeAt(index);
25632 },
25633 _codeUnitAt$1(receiver, index) {
25634 if (index >= receiver.length)
25635 throw A.wrapException(A.diagnoseIndexError(receiver, index));
25636 return receiver.charCodeAt(index);
25637 },
25638 allMatches$2(receiver, string, start) {
25639 var t1 = string.length;
25640 if (start > t1)
25641 throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
25642 return new A._StringAllMatchesIterable(string, receiver, start);
25643 },
25644 allMatches$1($receiver, string) {
25645 return this.allMatches$2($receiver, string, 0);
25646 },
25647 matchAsPrefix$2(receiver, string, start) {
25648 var t1, i, _null = null;
25649 if (start < 0 || start > string.length)
25650 throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
25651 t1 = receiver.length;
25652 if (start + t1 > string.length)
25653 return _null;
25654 for (i = 0; i < t1; ++i)
25655 if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i))
25656 return _null;
25657 return new A.StringMatch(start, receiver);
25658 },
25659 $add(receiver, other) {
25660 return receiver + other;
25661 },
25662 endsWith$1(receiver, other) {
25663 var otherLength = other.length,
25664 t1 = receiver.length;
25665 if (otherLength > t1)
25666 return false;
25667 return other === this.substring$1(receiver, t1 - otherLength);
25668 },
25669 replaceFirst$2(receiver, from, to) {
25670 A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
25671 return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
25672 },
25673 split$1(receiver, pattern) {
25674 if (typeof pattern == "string")
25675 return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
25676 else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0)
25677 return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
25678 else
25679 return this._defaultSplit$1(receiver, pattern);
25680 },
25681 replaceRange$3(receiver, start, end, replacement) {
25682 var e = A.RangeError_checkValidRange(start, end, receiver.length);
25683 return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
25684 },
25685 _defaultSplit$1(receiver, pattern) {
25686 var t1, start, $length, match, matchStart, matchEnd,
25687 result = A._setArrayType([], type$.JSArray_String);
25688 for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
25689 match = t1.get$current(t1);
25690 matchStart = match.get$start(match);
25691 matchEnd = match.get$end(match);
25692 $length = matchEnd - matchStart;
25693 if ($length === 0 && start === matchStart)
25694 continue;
25695 result.push(this.substring$2(receiver, start, matchStart));
25696 start = matchEnd;
25697 }
25698 if (start < receiver.length || $length > 0)
25699 result.push(this.substring$1(receiver, start));
25700 return result;
25701 },
25702 startsWith$2(receiver, pattern, index) {
25703 var endIndex;
25704 if (index < 0 || index > receiver.length)
25705 throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
25706 if (typeof pattern == "string") {
25707 endIndex = index + pattern.length;
25708 if (endIndex > receiver.length)
25709 return false;
25710 return pattern === receiver.substring(index, endIndex);
25711 }
25712 return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
25713 },
25714 startsWith$1($receiver, pattern) {
25715 return this.startsWith$2($receiver, pattern, 0);
25716 },
25717 substring$2(receiver, start, end) {
25718 return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
25719 },
25720 substring$1($receiver, start) {
25721 return this.substring$2($receiver, start, null);
25722 },
25723 trim$0(receiver) {
25724 var startIndex, t1, endIndex0,
25725 result = receiver.trim(),
25726 endIndex = result.length;
25727 if (endIndex === 0)
25728 return result;
25729 if (this._codeUnitAt$1(result, 0) === 133) {
25730 startIndex = J.JSString__skipLeadingWhitespace(result, 1);
25731 if (startIndex === endIndex)
25732 return "";
25733 } else
25734 startIndex = 0;
25735 t1 = endIndex - 1;
25736 endIndex0 = this.codeUnitAt$1(result, t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
25737 if (startIndex === 0 && endIndex0 === endIndex)
25738 return result;
25739 return result.substring(startIndex, endIndex0);
25740 },
25741 trimRight$0(receiver) {
25742 var result, endIndex, t1;
25743 if (typeof receiver.trimRight != "undefined") {
25744 result = receiver.trimRight();
25745 endIndex = result.length;
25746 if (endIndex === 0)
25747 return result;
25748 t1 = endIndex - 1;
25749 if (this.codeUnitAt$1(result, t1) === 133)
25750 endIndex = J.JSString__skipTrailingWhitespace(result, t1);
25751 } else {
25752 endIndex = J.JSString__skipTrailingWhitespace(receiver, receiver.length);
25753 result = receiver;
25754 }
25755 if (endIndex === result.length)
25756 return result;
25757 if (endIndex === 0)
25758 return "";
25759 return result.substring(0, endIndex);
25760 },
25761 $mul(receiver, times) {
25762 var s, result;
25763 if (0 >= times)
25764 return "";
25765 if (times === 1 || receiver.length === 0)
25766 return receiver;
25767 if (times !== times >>> 0)
25768 throw A.wrapException(B.C_OutOfMemoryError);
25769 for (s = receiver, result = ""; true;) {
25770 if ((times & 1) === 1)
25771 result = s + result;
25772 times = times >>> 1;
25773 if (times === 0)
25774 break;
25775 s += s;
25776 }
25777 return result;
25778 },
25779 padLeft$2(receiver, width, padding) {
25780 var delta = width - receiver.length;
25781 if (delta <= 0)
25782 return receiver;
25783 return this.$mul(padding, delta) + receiver;
25784 },
25785 padRight$1(receiver, width) {
25786 var delta = width - receiver.length;
25787 if (delta <= 0)
25788 return receiver;
25789 return receiver + this.$mul(" ", delta);
25790 },
25791 indexOf$2(receiver, pattern, start) {
25792 var t1;
25793 if (start < 0 || start > receiver.length)
25794 throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
25795 t1 = receiver.indexOf(pattern, start);
25796 return t1;
25797 },
25798 indexOf$1($receiver, pattern) {
25799 return this.indexOf$2($receiver, pattern, 0);
25800 },
25801 lastIndexOf$2(receiver, pattern, start) {
25802 var t1, t2, i;
25803 if (start == null)
25804 start = receiver.length;
25805 else if (start < 0 || start > receiver.length)
25806 throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
25807 if (typeof pattern == "string") {
25808 t1 = pattern.length;
25809 t2 = receiver.length;
25810 if (start + t1 > t2)
25811 start = t2 - t1;
25812 return receiver.lastIndexOf(pattern, start);
25813 }
25814 for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
25815 if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
25816 return i;
25817 return -1;
25818 },
25819 lastIndexOf$1($receiver, pattern) {
25820 return this.lastIndexOf$2($receiver, pattern, null);
25821 },
25822 contains$2(receiver, other, startIndex) {
25823 var t1 = receiver.length;
25824 if (startIndex > t1)
25825 throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
25826 return A.stringContainsUnchecked(receiver, other, startIndex);
25827 },
25828 contains$1($receiver, other) {
25829 return this.contains$2($receiver, other, 0);
25830 },
25831 get$isNotEmpty(receiver) {
25832 return receiver.length !== 0;
25833 },
25834 compareTo$1(receiver, other) {
25835 var t1;
25836 if (receiver === other)
25837 t1 = 0;
25838 else
25839 t1 = receiver < other ? -1 : 1;
25840 return t1;
25841 },
25842 toString$0(receiver) {
25843 return receiver;
25844 },
25845 get$hashCode(receiver) {
25846 var t1, hash, i;
25847 for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
25848 hash = hash + receiver.charCodeAt(i) & 536870911;
25849 hash = hash + ((hash & 524287) << 10) & 536870911;
25850 hash ^= hash >> 6;
25851 }
25852 hash = hash + ((hash & 67108863) << 3) & 536870911;
25853 hash ^= hash >> 11;
25854 return hash + ((hash & 16383) << 15) & 536870911;
25855 },
25856 get$length(receiver) {
25857 return receiver.length;
25858 },
25859 $isComparable: 1,
25860 $isString: 1
25861 };
25862 A._CastIterableBase.prototype = {
25863 get$iterator(_) {
25864 var t1 = A._instanceType(this);
25865 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>"));
25866 },
25867 get$length(_) {
25868 return J.get$length$asx(this.get$_source());
25869 },
25870 get$isEmpty(_) {
25871 return J.get$isEmpty$asx(this.get$_source());
25872 },
25873 get$isNotEmpty(_) {
25874 return J.get$isNotEmpty$asx(this.get$_source());
25875 },
25876 skip$1(_, count) {
25877 var t1 = A._instanceType(this);
25878 return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
25879 },
25880 take$1(_, count) {
25881 var t1 = A._instanceType(this);
25882 return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
25883 },
25884 elementAt$1(_, index) {
25885 return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
25886 },
25887 get$first(_) {
25888 return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
25889 },
25890 get$last(_) {
25891 return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
25892 },
25893 get$single(_) {
25894 return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
25895 },
25896 contains$1(_, other) {
25897 return J.contains$1$asx(this.get$_source(), other);
25898 },
25899 toString$0(_) {
25900 return J.toString$0$(this.get$_source());
25901 }
25902 };
25903 A.CastIterator.prototype = {
25904 moveNext$0() {
25905 return this._source.moveNext$0();
25906 },
25907 get$current(_) {
25908 var t1 = this._source;
25909 return this.$ti._rest[1]._as(t1.get$current(t1));
25910 }
25911 };
25912 A.CastIterable.prototype = {
25913 get$_source() {
25914 return this._source;
25915 }
25916 };
25917 A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
25918 A._CastListBase.prototype = {
25919 $index(_, index) {
25920 return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
25921 },
25922 $indexSet(_, index, value) {
25923 J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
25924 },
25925 set$length(_, $length) {
25926 J.set$length$asx(this._source, $length);
25927 },
25928 add$1(_, value) {
25929 J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
25930 },
25931 sort$1(_, compare) {
25932 var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
25933 J.sort$1$ax(this._source, t1);
25934 },
25935 getRange$2(_, start, end) {
25936 var t1 = this.$ti;
25937 return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
25938 },
25939 setRange$4(_, start, end, iterable, skipCount) {
25940 var t1 = this.$ti;
25941 J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
25942 },
25943 fillRange$3(_, start, end, fillValue) {
25944 J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
25945 },
25946 $isEfficientLengthIterable: 1,
25947 $isList: 1
25948 };
25949 A._CastListBase_sort_closure.prototype = {
25950 call$2(v1, v2) {
25951 var t1 = this.$this.$ti._rest[1];
25952 return this.compare.call$2(t1._as(v1), t1._as(v2));
25953 },
25954 $signature() {
25955 return this.$this.$ti._eval$1("int(1,1)");
25956 }
25957 };
25958 A.CastList.prototype = {
25959 cast$1$0(_, $R) {
25960 return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
25961 },
25962 get$_source() {
25963 return this._source;
25964 }
25965 };
25966 A.CastSet.prototype = {
25967 add$1(_, value) {
25968 return this._source.add$1(0, this.$ti._precomputed1._as(value));
25969 },
25970 addAll$1(_, elements) {
25971 var t1 = this.$ti;
25972 this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
25973 },
25974 difference$1(other) {
25975 var t1, _this = this;
25976 if (_this._emptySet != null)
25977 return _this._conditionalAdd$2(other, false);
25978 t1 = _this.$ti;
25979 return new A.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>"));
25980 },
25981 _conditionalAdd$2(other, otherContains) {
25982 var t3, castElement,
25983 emptySet = this._emptySet,
25984 t1 = this.$ti,
25985 t2 = t1._rest[1],
25986 result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
25987 for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
25988 castElement = t1._as(t2.get$current(t2));
25989 if (otherContains === t3.contains$1(0, castElement))
25990 result.add$1(0, castElement);
25991 }
25992 return result;
25993 },
25994 toSet$0(_) {
25995 var emptySet = this._emptySet,
25996 t1 = this.$ti._rest[1],
25997 result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
25998 result.addAll$1(0, this);
25999 return result;
26000 },
26001 $isEfficientLengthIterable: 1,
26002 $isSet: 1,
26003 get$_source() {
26004 return this._source;
26005 }
26006 };
26007 A.CastMap.prototype = {
26008 cast$2$0(_, RK, RV) {
26009 var t1 = this.$ti;
26010 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>"));
26011 },
26012 containsKey$1(key) {
26013 return this._source.containsKey$1(key);
26014 },
26015 $index(_, key) {
26016 return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
26017 },
26018 $indexSet(_, key, value) {
26019 var t1 = this.$ti;
26020 this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
26021 },
26022 addAll$1(_, other) {
26023 var t1 = this.$ti;
26024 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>")));
26025 },
26026 remove$1(_, key) {
26027 return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
26028 },
26029 forEach$1(_, f) {
26030 this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
26031 },
26032 get$keys(_) {
26033 var t1 = this._source,
26034 t2 = this.$ti;
26035 return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
26036 },
26037 get$values(_) {
26038 var t1 = this._source,
26039 t2 = this.$ti;
26040 return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
26041 },
26042 get$length(_) {
26043 var t1 = this._source;
26044 return t1.get$length(t1);
26045 },
26046 get$isEmpty(_) {
26047 var t1 = this._source;
26048 return t1.get$isEmpty(t1);
26049 },
26050 get$isNotEmpty(_) {
26051 var t1 = this._source;
26052 return t1.get$isNotEmpty(t1);
26053 },
26054 get$entries(_) {
26055 var t1 = this._source;
26056 return t1.get$entries(t1).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
26057 }
26058 };
26059 A.CastMap_forEach_closure.prototype = {
26060 call$2(key, value) {
26061 var t1 = this.$this.$ti;
26062 this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
26063 },
26064 $signature() {
26065 return this.$this.$ti._eval$1("~(1,2)");
26066 }
26067 };
26068 A.CastMap_entries_closure.prototype = {
26069 call$1(e) {
26070 var t1 = this.$this.$ti,
26071 t2 = t1._rest[3];
26072 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>"));
26073 },
26074 $signature() {
26075 return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
26076 }
26077 };
26078 A.LateError.prototype = {
26079 toString$0(_) {
26080 var t1 = "LateInitializationError: " + this._message;
26081 return t1;
26082 }
26083 };
26084 A.CodeUnits.prototype = {
26085 get$length(_) {
26086 return this._string.length;
26087 },
26088 $index(_, i) {
26089 return B.JSString_methods.codeUnitAt$1(this._string, i);
26090 }
26091 };
26092 A.nullFuture_closure.prototype = {
26093 call$0() {
26094 return A.Future_Future$value(null, type$.Null);
26095 },
26096 $signature: 2
26097 };
26098 A.SentinelValue.prototype = {};
26099 A.EfficientLengthIterable.prototype = {};
26100 A.ListIterable.prototype = {
26101 get$iterator(_) {
26102 return new A.ListIterator(this, this.get$length(this));
26103 },
26104 get$isEmpty(_) {
26105 return this.get$length(this) === 0;
26106 },
26107 get$first(_) {
26108 if (this.get$length(this) === 0)
26109 throw A.wrapException(A.IterableElementError_noElement());
26110 return this.elementAt$1(0, 0);
26111 },
26112 get$last(_) {
26113 var _this = this;
26114 if (_this.get$length(_this) === 0)
26115 throw A.wrapException(A.IterableElementError_noElement());
26116 return _this.elementAt$1(0, _this.get$length(_this) - 1);
26117 },
26118 get$single(_) {
26119 var _this = this;
26120 if (_this.get$length(_this) === 0)
26121 throw A.wrapException(A.IterableElementError_noElement());
26122 if (_this.get$length(_this) > 1)
26123 throw A.wrapException(A.IterableElementError_tooMany());
26124 return _this.elementAt$1(0, 0);
26125 },
26126 contains$1(_, element) {
26127 var i, _this = this,
26128 $length = _this.get$length(_this);
26129 for (i = 0; i < $length; ++i) {
26130 if (J.$eq$(_this.elementAt$1(0, i), element))
26131 return true;
26132 if ($length !== _this.get$length(_this))
26133 throw A.wrapException(A.ConcurrentModificationError$(_this));
26134 }
26135 return false;
26136 },
26137 any$1(_, test) {
26138 var i, _this = this,
26139 $length = _this.get$length(_this);
26140 for (i = 0; i < $length; ++i) {
26141 if (test.call$1(_this.elementAt$1(0, i)))
26142 return true;
26143 if ($length !== _this.get$length(_this))
26144 throw A.wrapException(A.ConcurrentModificationError$(_this));
26145 }
26146 return false;
26147 },
26148 join$1(_, separator) {
26149 var first, t1, i, _this = this,
26150 $length = _this.get$length(_this);
26151 if (separator.length !== 0) {
26152 if ($length === 0)
26153 return "";
26154 first = A.S(_this.elementAt$1(0, 0));
26155 if ($length !== _this.get$length(_this))
26156 throw A.wrapException(A.ConcurrentModificationError$(_this));
26157 for (t1 = first, i = 1; i < $length; ++i) {
26158 t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
26159 if ($length !== _this.get$length(_this))
26160 throw A.wrapException(A.ConcurrentModificationError$(_this));
26161 }
26162 return t1.charCodeAt(0) == 0 ? t1 : t1;
26163 } else {
26164 for (i = 0, t1 = ""; i < $length; ++i) {
26165 t1 += A.S(_this.elementAt$1(0, i));
26166 if ($length !== _this.get$length(_this))
26167 throw A.wrapException(A.ConcurrentModificationError$(_this));
26168 }
26169 return t1.charCodeAt(0) == 0 ? t1 : t1;
26170 }
26171 },
26172 join$0($receiver) {
26173 return this.join$1($receiver, "");
26174 },
26175 where$1(_, test) {
26176 return this.super$Iterable$where(0, test);
26177 },
26178 map$1$1(_, toElement, $T) {
26179 return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
26180 },
26181 reduce$1(_, combine) {
26182 var value, i, _this = this,
26183 $length = _this.get$length(_this);
26184 if ($length === 0)
26185 throw A.wrapException(A.IterableElementError_noElement());
26186 value = _this.elementAt$1(0, 0);
26187 for (i = 1; i < $length; ++i) {
26188 value = combine.call$2(value, _this.elementAt$1(0, i));
26189 if ($length !== _this.get$length(_this))
26190 throw A.wrapException(A.ConcurrentModificationError$(_this));
26191 }
26192 return value;
26193 },
26194 fold$1$2(_, initialValue, combine) {
26195 var value, i, _this = this,
26196 $length = _this.get$length(_this);
26197 for (value = initialValue, i = 0; i < $length; ++i) {
26198 value = combine.call$2(value, _this.elementAt$1(0, i));
26199 if ($length !== _this.get$length(_this))
26200 throw A.wrapException(A.ConcurrentModificationError$(_this));
26201 }
26202 return value;
26203 },
26204 fold$2($receiver, initialValue, combine) {
26205 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
26206 },
26207 skip$1(_, count) {
26208 return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
26209 },
26210 take$1(_, count) {
26211 return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
26212 },
26213 toList$1$growable(_, growable) {
26214 return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
26215 },
26216 toList$0($receiver) {
26217 return this.toList$1$growable($receiver, true);
26218 },
26219 toSet$0(_) {
26220 var i, _this = this,
26221 result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
26222 for (i = 0; i < _this.get$length(_this); ++i)
26223 result.add$1(0, _this.elementAt$1(0, i));
26224 return result;
26225 }
26226 };
26227 A.SubListIterable.prototype = {
26228 SubListIterable$3(_iterable, _start, _endOrLength, $E) {
26229 var endOrLength,
26230 t1 = this._start;
26231 A.RangeError_checkNotNegative(t1, "start");
26232 endOrLength = this._endOrLength;
26233 if (endOrLength != null) {
26234 A.RangeError_checkNotNegative(endOrLength, "end");
26235 if (t1 > endOrLength)
26236 throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
26237 }
26238 },
26239 get$_endIndex() {
26240 var $length = J.get$length$asx(this.__internal$_iterable),
26241 endOrLength = this._endOrLength;
26242 if (endOrLength == null || endOrLength > $length)
26243 return $length;
26244 return endOrLength;
26245 },
26246 get$_startIndex() {
26247 var $length = J.get$length$asx(this.__internal$_iterable),
26248 t1 = this._start;
26249 if (t1 > $length)
26250 return $length;
26251 return t1;
26252 },
26253 get$length(_) {
26254 var endOrLength,
26255 $length = J.get$length$asx(this.__internal$_iterable),
26256 t1 = this._start;
26257 if (t1 >= $length)
26258 return 0;
26259 endOrLength = this._endOrLength;
26260 if (endOrLength == null || endOrLength >= $length)
26261 return $length - t1;
26262 return endOrLength - t1;
26263 },
26264 elementAt$1(_, index) {
26265 var _this = this,
26266 realIndex = _this.get$_startIndex() + index;
26267 if (index < 0 || realIndex >= _this.get$_endIndex())
26268 throw A.wrapException(A.IndexError$(index, _this, "index", null, null));
26269 return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
26270 },
26271 skip$1(_, count) {
26272 var newStart, endOrLength, _this = this;
26273 A.RangeError_checkNotNegative(count, "count");
26274 newStart = _this._start + count;
26275 endOrLength = _this._endOrLength;
26276 if (endOrLength != null && newStart >= endOrLength)
26277 return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
26278 return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
26279 },
26280 take$1(_, count) {
26281 var endOrLength, t1, newEnd, _this = this;
26282 A.RangeError_checkNotNegative(count, "count");
26283 endOrLength = _this._endOrLength;
26284 t1 = _this._start;
26285 newEnd = t1 + count;
26286 if (endOrLength == null)
26287 return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
26288 else {
26289 if (endOrLength < newEnd)
26290 return _this;
26291 return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
26292 }
26293 },
26294 toList$1$growable(_, growable) {
26295 var $length, result, i, _this = this,
26296 start = _this._start,
26297 t1 = _this.__internal$_iterable,
26298 t2 = J.getInterceptor$asx(t1),
26299 end = t2.get$length(t1),
26300 endOrLength = _this._endOrLength;
26301 if (endOrLength != null && endOrLength < end)
26302 end = endOrLength;
26303 $length = end - start;
26304 if ($length <= 0) {
26305 t1 = _this.$ti._precomputed1;
26306 return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
26307 }
26308 result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
26309 for (i = 1; i < $length; ++i) {
26310 result[i] = t2.elementAt$1(t1, start + i);
26311 if (t2.get$length(t1) < end)
26312 throw A.wrapException(A.ConcurrentModificationError$(_this));
26313 }
26314 return result;
26315 },
26316 toList$0($receiver) {
26317 return this.toList$1$growable($receiver, true);
26318 }
26319 };
26320 A.ListIterator.prototype = {
26321 get$current(_) {
26322 return A._instanceType(this)._precomputed1._as(this.__internal$_current);
26323 },
26324 moveNext$0() {
26325 var t3, _this = this,
26326 t1 = _this.__internal$_iterable,
26327 t2 = J.getInterceptor$asx(t1),
26328 $length = t2.get$length(t1);
26329 if (_this.__internal$_length !== $length)
26330 throw A.wrapException(A.ConcurrentModificationError$(t1));
26331 t3 = _this.__internal$_index;
26332 if (t3 >= $length) {
26333 _this.__internal$_current = null;
26334 return false;
26335 }
26336 _this.__internal$_current = t2.elementAt$1(t1, t3);
26337 ++_this.__internal$_index;
26338 return true;
26339 }
26340 };
26341 A.MappedIterable.prototype = {
26342 get$iterator(_) {
26343 return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26344 },
26345 get$length(_) {
26346 return J.get$length$asx(this.__internal$_iterable);
26347 },
26348 get$isEmpty(_) {
26349 return J.get$isEmpty$asx(this.__internal$_iterable);
26350 },
26351 get$first(_) {
26352 return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
26353 },
26354 get$last(_) {
26355 return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
26356 },
26357 get$single(_) {
26358 return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
26359 },
26360 elementAt$1(_, index) {
26361 return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
26362 }
26363 };
26364 A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
26365 A.MappedIterator.prototype = {
26366 moveNext$0() {
26367 var _this = this,
26368 t1 = _this._iterator;
26369 if (t1.moveNext$0()) {
26370 _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
26371 return true;
26372 }
26373 _this.__internal$_current = null;
26374 return false;
26375 },
26376 get$current(_) {
26377 return A._instanceType(this)._rest[1]._as(this.__internal$_current);
26378 }
26379 };
26380 A.MappedListIterable.prototype = {
26381 get$length(_) {
26382 return J.get$length$asx(this._source);
26383 },
26384 elementAt$1(_, index) {
26385 return this._f.call$1(J.elementAt$1$ax(this._source, index));
26386 }
26387 };
26388 A.WhereIterable.prototype = {
26389 get$iterator(_) {
26390 return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26391 },
26392 map$1$1(_, toElement, $T) {
26393 return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
26394 }
26395 };
26396 A.WhereIterator.prototype = {
26397 moveNext$0() {
26398 var t1, t2;
26399 for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
26400 if (t2.call$1(t1.get$current(t1)))
26401 return true;
26402 return false;
26403 },
26404 get$current(_) {
26405 var t1 = this._iterator;
26406 return t1.get$current(t1);
26407 }
26408 };
26409 A.ExpandIterable.prototype = {
26410 get$iterator(_) {
26411 return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator);
26412 }
26413 };
26414 A.ExpandIterator.prototype = {
26415 get$current(_) {
26416 return A._instanceType(this)._rest[1]._as(this.__internal$_current);
26417 },
26418 moveNext$0() {
26419 var t2, t3, _this = this,
26420 t1 = _this._currentExpansion;
26421 if (t1 == null)
26422 return false;
26423 for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
26424 _this.__internal$_current = null;
26425 if (t2.moveNext$0()) {
26426 _this._currentExpansion = null;
26427 t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
26428 _this._currentExpansion = t1;
26429 } else
26430 return false;
26431 }
26432 t1 = _this._currentExpansion;
26433 _this.__internal$_current = t1.get$current(t1);
26434 return true;
26435 }
26436 };
26437 A.TakeIterable.prototype = {
26438 get$iterator(_) {
26439 return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount);
26440 }
26441 };
26442 A.EfficientLengthTakeIterable.prototype = {
26443 get$length(_) {
26444 var iterableLength = J.get$length$asx(this.__internal$_iterable),
26445 t1 = this._takeCount;
26446 if (iterableLength > t1)
26447 return t1;
26448 return iterableLength;
26449 },
26450 $isEfficientLengthIterable: 1
26451 };
26452 A.TakeIterator.prototype = {
26453 moveNext$0() {
26454 if (--this._remaining >= 0)
26455 return this._iterator.moveNext$0();
26456 this._remaining = -1;
26457 return false;
26458 },
26459 get$current(_) {
26460 var t1;
26461 if (this._remaining < 0)
26462 return A._instanceType(this)._precomputed1._as(null);
26463 t1 = this._iterator;
26464 return t1.get$current(t1);
26465 }
26466 };
26467 A.SkipIterable.prototype = {
26468 skip$1(_, count) {
26469 A.ArgumentError_checkNotNull(count, "count");
26470 A.RangeError_checkNotNegative(count, "count");
26471 return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
26472 },
26473 get$iterator(_) {
26474 return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
26475 }
26476 };
26477 A.EfficientLengthSkipIterable.prototype = {
26478 get$length(_) {
26479 var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
26480 if ($length >= 0)
26481 return $length;
26482 return 0;
26483 },
26484 skip$1(_, count) {
26485 A.ArgumentError_checkNotNull(count, "count");
26486 A.RangeError_checkNotNegative(count, "count");
26487 return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
26488 },
26489 $isEfficientLengthIterable: 1
26490 };
26491 A.SkipIterator.prototype = {
26492 moveNext$0() {
26493 var t1, i;
26494 for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
26495 t1.moveNext$0();
26496 this._skipCount = 0;
26497 return t1.moveNext$0();
26498 },
26499 get$current(_) {
26500 var t1 = this._iterator;
26501 return t1.get$current(t1);
26502 }
26503 };
26504 A.SkipWhileIterable.prototype = {
26505 get$iterator(_) {
26506 return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
26507 }
26508 };
26509 A.SkipWhileIterator.prototype = {
26510 moveNext$0() {
26511 var t1, t2, _this = this;
26512 if (!_this._hasSkipped) {
26513 _this._hasSkipped = true;
26514 for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
26515 if (!t2.call$1(t1.get$current(t1)))
26516 return true;
26517 }
26518 return _this._iterator.moveNext$0();
26519 },
26520 get$current(_) {
26521 var t1 = this._iterator;
26522 return t1.get$current(t1);
26523 }
26524 };
26525 A.EmptyIterable.prototype = {
26526 get$iterator(_) {
26527 return B.C_EmptyIterator;
26528 },
26529 get$isEmpty(_) {
26530 return true;
26531 },
26532 get$length(_) {
26533 return 0;
26534 },
26535 get$first(_) {
26536 throw A.wrapException(A.IterableElementError_noElement());
26537 },
26538 get$last(_) {
26539 throw A.wrapException(A.IterableElementError_noElement());
26540 },
26541 get$single(_) {
26542 throw A.wrapException(A.IterableElementError_noElement());
26543 },
26544 elementAt$1(_, index) {
26545 throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
26546 },
26547 contains$1(_, element) {
26548 return false;
26549 },
26550 join$1(_, separator) {
26551 return "";
26552 },
26553 join$0($receiver) {
26554 return this.join$1($receiver, "");
26555 },
26556 where$1(_, test) {
26557 return this;
26558 },
26559 map$1$1(_, toElement, $T) {
26560 return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
26561 },
26562 skip$1(_, count) {
26563 A.RangeError_checkNotNegative(count, "count");
26564 return this;
26565 },
26566 take$1(_, count) {
26567 A.RangeError_checkNotNegative(count, "count");
26568 return this;
26569 },
26570 toList$1$growable(_, growable) {
26571 var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
26572 return t1;
26573 },
26574 toList$0($receiver) {
26575 return this.toList$1$growable($receiver, true);
26576 },
26577 toSet$0(_) {
26578 return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
26579 }
26580 };
26581 A.EmptyIterator.prototype = {
26582 moveNext$0() {
26583 return false;
26584 },
26585 get$current(_) {
26586 throw A.wrapException(A.IterableElementError_noElement());
26587 }
26588 };
26589 A.FollowedByIterable.prototype = {
26590 get$iterator(_) {
26591 return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
26592 },
26593 get$length(_) {
26594 var t1 = this._second;
26595 return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
26596 },
26597 get$isEmpty(_) {
26598 var t1;
26599 if (J.get$isEmpty$asx(this.__internal$_first)) {
26600 t1 = this._second;
26601 t1 = t1.get$isEmpty(t1);
26602 } else
26603 t1 = false;
26604 return t1;
26605 },
26606 get$isNotEmpty(_) {
26607 var t1;
26608 if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
26609 t1 = this._second;
26610 t1 = t1.get$isNotEmpty(t1);
26611 } else
26612 t1 = true;
26613 return t1;
26614 },
26615 contains$1(_, value) {
26616 var t1;
26617 if (!J.contains$1$asx(this.__internal$_first, value)) {
26618 t1 = this._second;
26619 t1 = t1.contains$1(t1, value);
26620 } else
26621 t1 = true;
26622 return t1;
26623 },
26624 get$first(_) {
26625 var t1,
26626 iterator = J.get$iterator$ax(this.__internal$_first);
26627 if (iterator.moveNext$0())
26628 return iterator.get$current(iterator);
26629 t1 = this._second;
26630 return t1.get$first(t1);
26631 },
26632 get$last(_) {
26633 var last,
26634 t1 = this._second,
26635 iterator = t1.get$iterator(t1);
26636 if (iterator.moveNext$0()) {
26637 last = iterator.get$current(iterator);
26638 for (; iterator.moveNext$0();)
26639 last = iterator.get$current(iterator);
26640 return last;
26641 }
26642 return J.get$last$ax(this.__internal$_first);
26643 }
26644 };
26645 A.EfficientLengthFollowedByIterable.prototype = {
26646 elementAt$1(_, index) {
26647 var t1 = this.__internal$_first,
26648 t2 = J.getInterceptor$asx(t1),
26649 firstLength = t2.get$length(t1);
26650 if (index < firstLength)
26651 return t2.elementAt$1(t1, index);
26652 t1 = this._second;
26653 return t1.elementAt$1(t1, index - firstLength);
26654 },
26655 get$first(_) {
26656 var t1 = this.__internal$_first,
26657 t2 = J.getInterceptor$asx(t1);
26658 if (t2.get$isNotEmpty(t1))
26659 return t2.get$first(t1);
26660 t1 = this._second;
26661 return t1.get$first(t1);
26662 },
26663 get$last(_) {
26664 var t1 = this._second;
26665 if (t1.get$isNotEmpty(t1))
26666 return t1.get$last(t1);
26667 return J.get$last$ax(this.__internal$_first);
26668 },
26669 $isEfficientLengthIterable: 1
26670 };
26671 A.FollowedByIterator.prototype = {
26672 moveNext$0() {
26673 var t1, _this = this;
26674 if (_this._currentIterator.moveNext$0())
26675 return true;
26676 t1 = _this._nextIterable;
26677 if (t1 != null) {
26678 t1 = t1.get$iterator(t1);
26679 _this._currentIterator = t1;
26680 _this._nextIterable = null;
26681 return t1.moveNext$0();
26682 }
26683 return false;
26684 },
26685 get$current(_) {
26686 var t1 = this._currentIterator;
26687 return t1.get$current(t1);
26688 }
26689 };
26690 A.WhereTypeIterable.prototype = {
26691 get$iterator(_) {
26692 return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
26693 }
26694 };
26695 A.WhereTypeIterator.prototype = {
26696 moveNext$0() {
26697 var t1, t2;
26698 for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
26699 if (t2._is(t1.get$current(t1)))
26700 return true;
26701 return false;
26702 },
26703 get$current(_) {
26704 var t1 = this._source;
26705 return this.$ti._precomputed1._as(t1.get$current(t1));
26706 }
26707 };
26708 A.FixedLengthListMixin.prototype = {
26709 set$length(receiver, newLength) {
26710 throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
26711 },
26712 add$1(receiver, value) {
26713 throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
26714 }
26715 };
26716 A.UnmodifiableListMixin.prototype = {
26717 $indexSet(_, index, value) {
26718 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26719 },
26720 set$length(_, newLength) {
26721 throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
26722 },
26723 add$1(_, value) {
26724 throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
26725 },
26726 sort$1(_, compare) {
26727 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26728 },
26729 setRange$4(_, start, end, iterable, skipCount) {
26730 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26731 },
26732 fillRange$3(_, start, end, fillValue) {
26733 throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
26734 }
26735 };
26736 A.UnmodifiableListBase.prototype = {};
26737 A.ReversedListIterable.prototype = {
26738 get$length(_) {
26739 return J.get$length$asx(this._source);
26740 },
26741 elementAt$1(_, index) {
26742 var t1 = this._source,
26743 t2 = J.getInterceptor$asx(t1);
26744 return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
26745 }
26746 };
26747 A.Symbol.prototype = {
26748 get$hashCode(_) {
26749 var hash = this._hashCode;
26750 if (hash != null)
26751 return hash;
26752 hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911;
26753 this._hashCode = hash;
26754 return hash;
26755 },
26756 toString$0(_) {
26757 return 'Symbol("' + A.S(this.__internal$_name) + '")';
26758 },
26759 $eq(_, other) {
26760 if (other == null)
26761 return false;
26762 return other instanceof A.Symbol && this.__internal$_name == other.__internal$_name;
26763 },
26764 $isSymbol0: 1
26765 };
26766 A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
26767 A.ConstantMapView.prototype = {};
26768 A.ConstantMap.prototype = {
26769 cast$2$0(_, RK, RV) {
26770 var t1 = A._instanceType(this);
26771 return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
26772 },
26773 get$isEmpty(_) {
26774 return this.get$length(this) === 0;
26775 },
26776 get$isNotEmpty(_) {
26777 return this.get$length(this) !== 0;
26778 },
26779 toString$0(_) {
26780 return A.MapBase_mapToString(this);
26781 },
26782 $indexSet(_, key, val) {
26783 A.ConstantMap__throwUnmodifiable();
26784 },
26785 remove$1(_, key) {
26786 A.ConstantMap__throwUnmodifiable();
26787 },
26788 addAll$1(_, other) {
26789 A.ConstantMap__throwUnmodifiable();
26790 },
26791 get$entries(_) {
26792 return this.entries$body$ConstantMap(0, A._instanceType(this)._eval$1("MapEntry<1,2>"));
26793 },
26794 entries$body$ConstantMap($async$_, $async$type) {
26795 var $async$self = this;
26796 return A._makeSyncStarIterable(function() {
26797 var _ = $async$_;
26798 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key;
26799 return function $async$get$entries($async$errorCode, $async$result) {
26800 if ($async$errorCode === 1) {
26801 $async$currentError = $async$result;
26802 $async$goto = $async$handler;
26803 }
26804 while (true)
26805 switch ($async$goto) {
26806 case 0:
26807 // Function start
26808 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>");
26809 case 2:
26810 // for condition
26811 if (!t1.moveNext$0()) {
26812 // goto after for
26813 $async$goto = 3;
26814 break;
26815 }
26816 key = t1.get$current(t1);
26817 $async$goto = 4;
26818 return new A.MapEntry(key, $async$self.$index(0, key), t2);
26819 case 4:
26820 // after yield
26821 // goto for condition
26822 $async$goto = 2;
26823 break;
26824 case 3:
26825 // after for
26826 // implicit return
26827 return A._IterationMarker_endOfIteration();
26828 case 1:
26829 // rethrow
26830 return A._IterationMarker_uncaughtError($async$currentError);
26831 }
26832 };
26833 }, $async$type);
26834 },
26835 $isMap: 1
26836 };
26837 A.ConstantStringMap.prototype = {
26838 get$length(_) {
26839 return this.__js_helper$_length;
26840 },
26841 containsKey$1(key) {
26842 if (typeof key != "string")
26843 return false;
26844 if ("__proto__" === key)
26845 return false;
26846 return this._jsObject.hasOwnProperty(key);
26847 },
26848 $index(_, key) {
26849 if (!this.containsKey$1(key))
26850 return null;
26851 return this._jsObject[key];
26852 },
26853 forEach$1(_, f) {
26854 var t1, t2, i, key,
26855 keys = this.__js_helper$_keys;
26856 for (t1 = keys.length, t2 = this._jsObject, i = 0; i < t1; ++i) {
26857 key = keys[i];
26858 f.call$2(key, t2[key]);
26859 }
26860 },
26861 get$keys(_) {
26862 return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>"));
26863 },
26864 get$values(_) {
26865 var t1 = this.$ti;
26866 return A.MappedIterable_MappedIterable(this.__js_helper$_keys, new A.ConstantStringMap_values_closure(this), t1._precomputed1, t1._rest[1]);
26867 }
26868 };
26869 A.ConstantStringMap_values_closure.prototype = {
26870 call$1(key) {
26871 return this.$this._jsObject[key];
26872 },
26873 $signature() {
26874 return this.$this.$ti._eval$1("2(1)");
26875 }
26876 };
26877 A._ConstantMapKeyIterable.prototype = {
26878 get$iterator(_) {
26879 var t1 = this.__js_helper$_map.__js_helper$_keys;
26880 return new J.ArrayIterator(t1, t1.length);
26881 },
26882 get$length(_) {
26883 return this.__js_helper$_map.__js_helper$_keys.length;
26884 }
26885 };
26886 A.Instantiation.prototype = {
26887 Instantiation$1(_genericClosure) {
26888 if (false)
26889 A.instantiatedGenericFunctionType(0, 0);
26890 },
26891 $eq(_, other) {
26892 if (other == null)
26893 return false;
26894 return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeType(this) === A.getRuntimeType(other);
26895 },
26896 get$hashCode(_) {
26897 return A.Object_hash(this._genericClosure, A.getRuntimeType(this));
26898 },
26899 toString$0(_) {
26900 var types = "<" + B.JSArray_methods.join$1(this.get$_types(), ", ") + ">";
26901 return this._genericClosure.toString$0(0) + " with " + types;
26902 }
26903 };
26904 A.Instantiation1.prototype = {
26905 get$_types() {
26906 return [A.createRuntimeType(this.$ti._precomputed1)];
26907 },
26908 call$0() {
26909 return this._genericClosure.call$1$0(this.$ti._rest[0]);
26910 },
26911 call$2(a0, a1) {
26912 return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
26913 },
26914 call$3(a0, a1, a2) {
26915 return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
26916 },
26917 call$4(a0, a1, a2, a3) {
26918 return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
26919 },
26920 $signature() {
26921 return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
26922 }
26923 };
26924 A.JSInvocationMirror.prototype = {
26925 get$memberName() {
26926 var t1 = this.__js_helper$_memberName;
26927 return t1;
26928 },
26929 get$positionalArguments() {
26930 var t1, argumentCount, list, index, _this = this;
26931 if (_this.__js_helper$_kind === 1)
26932 return B.List_empty9;
26933 t1 = _this._arguments;
26934 argumentCount = t1.length - _this._namedArgumentNames.length - _this._typeArgumentCount;
26935 if (argumentCount === 0)
26936 return B.List_empty9;
26937 list = [];
26938 for (index = 0; index < argumentCount; ++index)
26939 list.push(t1[index]);
26940 return J.JSArray_markUnmodifiableList(list);
26941 },
26942 get$namedArguments() {
26943 var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, _this = this;
26944 if (_this.__js_helper$_kind !== 0)
26945 return B.Map_empty4;
26946 t1 = _this._namedArgumentNames;
26947 namedArgumentCount = t1.length;
26948 t2 = _this._arguments;
26949 namedArgumentsStartIndex = t2.length - namedArgumentCount - _this._typeArgumentCount;
26950 if (namedArgumentCount === 0)
26951 return B.Map_empty4;
26952 map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
26953 for (i = 0; i < namedArgumentCount; ++i)
26954 map.$indexSet(0, new A.Symbol(t1[i]), t2[namedArgumentsStartIndex + i]);
26955 return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
26956 }
26957 };
26958 A.Primitives_functionNoSuchMethod_closure.prototype = {
26959 call$2($name, argument) {
26960 var t1 = this._box_0;
26961 t1.names = t1.names + "$" + $name;
26962 this.namedArgumentList.push($name);
26963 this.$arguments.push(argument);
26964 ++t1.argumentCount;
26965 },
26966 $signature: 250
26967 };
26968 A.TypeErrorDecoder.prototype = {
26969 matchTypeError$1(message) {
26970 var result, t1, _this = this,
26971 match = new RegExp(_this._pattern).exec(message);
26972 if (match == null)
26973 return null;
26974 result = Object.create(null);
26975 t1 = _this._arguments;
26976 if (t1 !== -1)
26977 result.arguments = match[t1 + 1];
26978 t1 = _this._argumentsExpr;
26979 if (t1 !== -1)
26980 result.argumentsExpr = match[t1 + 1];
26981 t1 = _this._expr;
26982 if (t1 !== -1)
26983 result.expr = match[t1 + 1];
26984 t1 = _this._method;
26985 if (t1 !== -1)
26986 result.method = match[t1 + 1];
26987 t1 = _this._receiver;
26988 if (t1 !== -1)
26989 result.receiver = match[t1 + 1];
26990 return result;
26991 }
26992 };
26993 A.NullError.prototype = {
26994 toString$0(_) {
26995 var t1 = this._method;
26996 if (t1 == null)
26997 return "NoSuchMethodError: " + this.__js_helper$_message;
26998 return "NoSuchMethodError: method not found: '" + t1 + "' on null";
26999 }
27000 };
27001 A.JsNoSuchMethodError.prototype = {
27002 toString$0(_) {
27003 var t2, _this = this,
27004 _s38_ = "NoSuchMethodError: method not found: '",
27005 t1 = _this._method;
27006 if (t1 == null)
27007 return "NoSuchMethodError: " + _this.__js_helper$_message;
27008 t2 = _this._receiver;
27009 if (t2 == null)
27010 return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
27011 return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
27012 }
27013 };
27014 A.UnknownJsTypeError.prototype = {
27015 toString$0(_) {
27016 var t1 = this.__js_helper$_message;
27017 return t1.length === 0 ? "Error" : "Error: " + t1;
27018 }
27019 };
27020 A.NullThrownFromJavaScriptException.prototype = {
27021 toString$0(_) {
27022 return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
27023 },
27024 $isException: 1
27025 };
27026 A.ExceptionAndStackTrace.prototype = {};
27027 A._StackTrace.prototype = {
27028 toString$0(_) {
27029 var trace,
27030 t1 = this._trace;
27031 if (t1 != null)
27032 return t1;
27033 t1 = this._exception;
27034 trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
27035 return this._trace = trace == null ? "" : trace;
27036 },
27037 $isStackTrace: 1
27038 };
27039 A.Closure.prototype = {
27040 toString$0(_) {
27041 var $constructor = this.constructor,
27042 $name = $constructor == null ? null : $constructor.name;
27043 return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
27044 },
27045 $isFunction: 1,
27046 get$$call() {
27047 return this;
27048 },
27049 "call*": "call$1",
27050 $requiredArgCount: 1,
27051 $defaultValues: null
27052 };
27053 A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
27054 A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
27055 A.TearOffClosure.prototype = {};
27056 A.StaticClosure.prototype = {
27057 toString$0(_) {
27058 var $name = this.$static_name;
27059 if ($name == null)
27060 return "Closure of unknown static method";
27061 return "Closure '" + A.unminifyOrTag($name) + "'";
27062 }
27063 };
27064 A.BoundClosure.prototype = {
27065 $eq(_, other) {
27066 if (other == null)
27067 return false;
27068 if (this === other)
27069 return true;
27070 if (!(other instanceof A.BoundClosure))
27071 return false;
27072 return this.$_target === other.$_target && this._receiver === other._receiver;
27073 },
27074 get$hashCode(_) {
27075 return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
27076 },
27077 toString$0(_) {
27078 return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
27079 }
27080 };
27081 A.RuntimeError.prototype = {
27082 toString$0(_) {
27083 return "RuntimeError: " + this.message;
27084 },
27085 get$message(receiver) {
27086 return this.message;
27087 }
27088 };
27089 A._Required.prototype = {};
27090 A.JsLinkedHashMap.prototype = {
27091 get$length(_) {
27092 return this.__js_helper$_length;
27093 },
27094 get$isEmpty(_) {
27095 return this.__js_helper$_length === 0;
27096 },
27097 get$isNotEmpty(_) {
27098 return !this.get$isEmpty(this);
27099 },
27100 get$keys(_) {
27101 return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"));
27102 },
27103 get$values(_) {
27104 var _this = this,
27105 t1 = A._instanceType(_this);
27106 return A.MappedIterable_MappedIterable(_this.get$keys(_this), new A.JsLinkedHashMap_values_closure(_this), t1._precomputed1, t1._rest[1]);
27107 },
27108 containsKey$1(key) {
27109 var strings, nums, _this = this;
27110 if (typeof key == "string") {
27111 strings = _this._strings;
27112 if (strings == null)
27113 return false;
27114 return _this._containsTableEntry$2(strings, key);
27115 } else if (typeof key == "number" && (key & 0x3ffffff) === key) {
27116 nums = _this._nums;
27117 if (nums == null)
27118 return false;
27119 return _this._containsTableEntry$2(nums, key);
27120 } else
27121 return _this.internalContainsKey$1(key);
27122 },
27123 internalContainsKey$1(key) {
27124 var _this = this,
27125 rest = _this.__js_helper$_rest;
27126 if (rest == null)
27127 return false;
27128 return _this.internalFindBucketIndex$2(_this._getTableBucket$2(rest, _this.internalComputeHashCode$1(key)), key) >= 0;
27129 },
27130 addAll$1(_, other) {
27131 other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
27132 },
27133 $index(_, key) {
27134 var strings, cell, t1, nums, _this = this, _null = null;
27135 if (typeof key == "string") {
27136 strings = _this._strings;
27137 if (strings == null)
27138 return _null;
27139 cell = _this._getTableCell$2(strings, key);
27140 t1 = cell == null ? _null : cell.hashMapCellValue;
27141 return t1;
27142 } else if (typeof key == "number" && (key & 0x3ffffff) === key) {
27143 nums = _this._nums;
27144 if (nums == null)
27145 return _null;
27146 cell = _this._getTableCell$2(nums, key);
27147 t1 = cell == null ? _null : cell.hashMapCellValue;
27148 return t1;
27149 } else
27150 return _this.internalGet$1(key);
27151 },
27152 internalGet$1(key) {
27153 var bucket, index, _this = this,
27154 rest = _this.__js_helper$_rest;
27155 if (rest == null)
27156 return null;
27157 bucket = _this._getTableBucket$2(rest, _this.internalComputeHashCode$1(key));
27158 index = _this.internalFindBucketIndex$2(bucket, key);
27159 if (index < 0)
27160 return null;
27161 return bucket[index].hashMapCellValue;
27162 },
27163 $indexSet(_, key, value) {
27164 var strings, nums, _this = this;
27165 if (typeof key == "string") {
27166 strings = _this._strings;
27167 _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
27168 } else if (typeof key == "number" && (key & 0x3ffffff) === key) {
27169 nums = _this._nums;
27170 _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
27171 } else
27172 _this.internalSet$2(key, value);
27173 },
27174 internalSet$2(key, value) {
27175 var hash, bucket, index, _this = this,
27176 rest = _this.__js_helper$_rest;
27177 if (rest == null)
27178 rest = _this.__js_helper$_rest = _this._newHashTable$0();
27179 hash = _this.internalComputeHashCode$1(key);
27180 bucket = _this._getTableBucket$2(rest, hash);
27181 if (bucket == null)
27182 _this._setTableEntry$3(rest, hash, [_this._newLinkedCell$2(key, value)]);
27183 else {
27184 index = _this.internalFindBucketIndex$2(bucket, key);
27185 if (index >= 0)
27186 bucket[index].hashMapCellValue = value;
27187 else
27188 bucket.push(_this._newLinkedCell$2(key, value));
27189 }
27190 },
27191 putIfAbsent$2(key, ifAbsent) {
27192 var value, _this = this;
27193 if (_this.containsKey$1(key))
27194 return A._instanceType(_this)._rest[1]._as(_this.$index(0, key));
27195 value = ifAbsent.call$0();
27196 _this.$indexSet(0, key, value);
27197 return value;
27198 },
27199 remove$1(_, key) {
27200 var _this = this;
27201 if (typeof key == "string")
27202 return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
27203 else if (typeof key == "number" && (key & 0x3ffffff) === key)
27204 return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
27205 else
27206 return _this.internalRemove$1(key);
27207 },
27208 internalRemove$1(key) {
27209 var hash, bucket, index, cell, _this = this,
27210 rest = _this.__js_helper$_rest;
27211 if (rest == null)
27212 return null;
27213 hash = _this.internalComputeHashCode$1(key);
27214 bucket = _this._getTableBucket$2(rest, hash);
27215 index = _this.internalFindBucketIndex$2(bucket, key);
27216 if (index < 0)
27217 return null;
27218 cell = bucket.splice(index, 1)[0];
27219 _this.__js_helper$_unlinkCell$1(cell);
27220 if (bucket.length === 0)
27221 _this._deleteTableEntry$2(rest, hash);
27222 return cell.hashMapCellValue;
27223 },
27224 clear$0(_) {
27225 var _this = this;
27226 if (_this.__js_helper$_length > 0) {
27227 _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
27228 _this.__js_helper$_length = 0;
27229 _this._modified$0();
27230 }
27231 },
27232 forEach$1(_, action) {
27233 var _this = this,
27234 cell = _this._first,
27235 modifications = _this._modifications;
27236 for (; cell != null;) {
27237 action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
27238 if (modifications !== _this._modifications)
27239 throw A.wrapException(A.ConcurrentModificationError$(_this));
27240 cell = cell._next;
27241 }
27242 },
27243 _addHashTableEntry$3(table, key, value) {
27244 var cell = this._getTableCell$2(table, key);
27245 if (cell == null)
27246 this._setTableEntry$3(table, key, this._newLinkedCell$2(key, value));
27247 else
27248 cell.hashMapCellValue = value;
27249 },
27250 __js_helper$_removeHashTableEntry$2(table, key) {
27251 var cell;
27252 if (table == null)
27253 return null;
27254 cell = this._getTableCell$2(table, key);
27255 if (cell == null)
27256 return null;
27257 this.__js_helper$_unlinkCell$1(cell);
27258 this._deleteTableEntry$2(table, key);
27259 return cell.hashMapCellValue;
27260 },
27261 _modified$0() {
27262 this._modifications = this._modifications + 1 & 67108863;
27263 },
27264 _newLinkedCell$2(key, value) {
27265 var t1, _this = this,
27266 cell = new A.LinkedHashMapCell(key, value);
27267 if (_this._first == null)
27268 _this._first = _this._last = cell;
27269 else {
27270 t1 = _this._last;
27271 t1.toString;
27272 cell._previous = t1;
27273 _this._last = t1._next = cell;
27274 }
27275 ++_this.__js_helper$_length;
27276 _this._modified$0();
27277 return cell;
27278 },
27279 __js_helper$_unlinkCell$1(cell) {
27280 var _this = this,
27281 previous = cell._previous,
27282 next = cell._next;
27283 if (previous == null)
27284 _this._first = next;
27285 else
27286 previous._next = next;
27287 if (next == null)
27288 _this._last = previous;
27289 else
27290 next._previous = previous;
27291 --_this.__js_helper$_length;
27292 _this._modified$0();
27293 },
27294 internalComputeHashCode$1(key) {
27295 return J.get$hashCode$(key) & 0x3ffffff;
27296 },
27297 internalFindBucketIndex$2(bucket, key) {
27298 var $length, i;
27299 if (bucket == null)
27300 return -1;
27301 $length = bucket.length;
27302 for (i = 0; i < $length; ++i)
27303 if (J.$eq$(bucket[i].hashMapCellKey, key))
27304 return i;
27305 return -1;
27306 },
27307 toString$0(_) {
27308 return A.MapBase_mapToString(this);
27309 },
27310 _getTableCell$2(table, key) {
27311 return table[key];
27312 },
27313 _getTableBucket$2(table, key) {
27314 return table[key];
27315 },
27316 _setTableEntry$3(table, key, value) {
27317 table[key] = value;
27318 },
27319 _deleteTableEntry$2(table, key) {
27320 delete table[key];
27321 },
27322 _containsTableEntry$2(table, key) {
27323 return this._getTableCell$2(table, key) != null;
27324 },
27325 _newHashTable$0() {
27326 var _s20_ = "<non-identifier-key>",
27327 table = Object.create(null);
27328 this._setTableEntry$3(table, _s20_, table);
27329 this._deleteTableEntry$2(table, _s20_);
27330 return table;
27331 }
27332 };
27333 A.JsLinkedHashMap_values_closure.prototype = {
27334 call$1(each) {
27335 var t1 = this.$this;
27336 return A._instanceType(t1)._rest[1]._as(t1.$index(0, each));
27337 },
27338 $signature() {
27339 return A._instanceType(this.$this)._eval$1("2(1)");
27340 }
27341 };
27342 A.JsLinkedHashMap_addAll_closure.prototype = {
27343 call$2(key, value) {
27344 this.$this.$indexSet(0, key, value);
27345 },
27346 $signature() {
27347 return A._instanceType(this.$this)._eval$1("~(1,2)");
27348 }
27349 };
27350 A.LinkedHashMapCell.prototype = {};
27351 A.LinkedHashMapKeyIterable.prototype = {
27352 get$length(_) {
27353 return this.__js_helper$_map.__js_helper$_length;
27354 },
27355 get$isEmpty(_) {
27356 return this.__js_helper$_map.__js_helper$_length === 0;
27357 },
27358 get$iterator(_) {
27359 var t1 = this.__js_helper$_map,
27360 t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications);
27361 t2._cell = t1._first;
27362 return t2;
27363 },
27364 contains$1(_, element) {
27365 return this.__js_helper$_map.containsKey$1(element);
27366 }
27367 };
27368 A.LinkedHashMapKeyIterator.prototype = {
27369 get$current(_) {
27370 return this.__js_helper$_current;
27371 },
27372 moveNext$0() {
27373 var cell, _this = this,
27374 t1 = _this.__js_helper$_map;
27375 if (_this._modifications !== t1._modifications)
27376 throw A.wrapException(A.ConcurrentModificationError$(t1));
27377 cell = _this._cell;
27378 if (cell == null) {
27379 _this.__js_helper$_current = null;
27380 return false;
27381 } else {
27382 _this.__js_helper$_current = cell.hashMapCellKey;
27383 _this._cell = cell._next;
27384 return true;
27385 }
27386 }
27387 };
27388 A.initHooks_closure.prototype = {
27389 call$1(o) {
27390 return this.getTag(o);
27391 },
27392 $signature: 98
27393 };
27394 A.initHooks_closure0.prototype = {
27395 call$2(o, tag) {
27396 return this.getUnknownTag(o, tag);
27397 },
27398 $signature: 264
27399 };
27400 A.initHooks_closure1.prototype = {
27401 call$1(tag) {
27402 return this.prototypeForTag(tag);
27403 },
27404 $signature: 368
27405 };
27406 A.JSSyntaxRegExp.prototype = {
27407 toString$0(_) {
27408 return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
27409 },
27410 get$_nativeGlobalVersion() {
27411 var _this = this,
27412 t1 = _this._nativeGlobalRegExp;
27413 if (t1 != null)
27414 return t1;
27415 t1 = _this._nativeRegExp;
27416 return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
27417 },
27418 get$_nativeAnchoredVersion() {
27419 var _this = this,
27420 t1 = _this._nativeAnchoredRegExp;
27421 if (t1 != null)
27422 return t1;
27423 t1 = _this._nativeRegExp;
27424 return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
27425 },
27426 firstMatch$1(string) {
27427 var m = this._nativeRegExp.exec(string);
27428 if (m == null)
27429 return null;
27430 return new A._MatchImplementation(m);
27431 },
27432 allMatches$2(_, string, start) {
27433 var t1 = string.length;
27434 if (start > t1)
27435 throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
27436 return new A._AllMatchesIterable(this, string, start);
27437 },
27438 allMatches$1($receiver, string) {
27439 return this.allMatches$2($receiver, string, 0);
27440 },
27441 _execGlobal$2(string, start) {
27442 var match,
27443 regexp = this.get$_nativeGlobalVersion();
27444 regexp.lastIndex = start;
27445 match = regexp.exec(string);
27446 if (match == null)
27447 return null;
27448 return new A._MatchImplementation(match);
27449 },
27450 _execAnchored$2(string, start) {
27451 var match,
27452 regexp = this.get$_nativeAnchoredVersion();
27453 regexp.lastIndex = start;
27454 match = regexp.exec(string);
27455 if (match == null)
27456 return null;
27457 if (match.pop() != null)
27458 return null;
27459 return new A._MatchImplementation(match);
27460 },
27461 matchAsPrefix$2(_, string, start) {
27462 if (start < 0 || start > string.length)
27463 throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
27464 return this._execAnchored$2(string, start);
27465 }
27466 };
27467 A._MatchImplementation.prototype = {
27468 get$start(_) {
27469 return this._match.index;
27470 },
27471 get$end(_) {
27472 var t1 = this._match;
27473 return t1.index + t1[0].length;
27474 },
27475 $isMatch: 1,
27476 $isRegExpMatch: 1
27477 };
27478 A._AllMatchesIterable.prototype = {
27479 get$iterator(_) {
27480 return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start);
27481 }
27482 };
27483 A._AllMatchesIterator.prototype = {
27484 get$current(_) {
27485 return type$.RegExpMatch._as(this.__js_helper$_current);
27486 },
27487 moveNext$0() {
27488 var t1, t2, t3, match, nextIndex, _this = this,
27489 string = _this.__js_helper$_string;
27490 if (string == null)
27491 return false;
27492 t1 = _this._nextIndex;
27493 t2 = string.length;
27494 if (t1 <= t2) {
27495 t3 = _this._regExp;
27496 match = t3._execGlobal$2(string, t1);
27497 if (match != null) {
27498 _this.__js_helper$_current = match;
27499 nextIndex = match.get$end(match);
27500 if (match._match.index === nextIndex) {
27501 if (t3._nativeRegExp.unicode) {
27502 t1 = _this._nextIndex;
27503 t3 = t1 + 1;
27504 if (t3 < t2) {
27505 t1 = B.JSString_methods.codeUnitAt$1(string, t1);
27506 if (t1 >= 55296 && t1 <= 56319) {
27507 t1 = B.JSString_methods.codeUnitAt$1(string, t3);
27508 t1 = t1 >= 56320 && t1 <= 57343;
27509 } else
27510 t1 = false;
27511 } else
27512 t1 = false;
27513 } else
27514 t1 = false;
27515 nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
27516 }
27517 _this._nextIndex = nextIndex;
27518 return true;
27519 }
27520 }
27521 _this.__js_helper$_string = _this.__js_helper$_current = null;
27522 return false;
27523 }
27524 };
27525 A.StringMatch.prototype = {
27526 get$end(_) {
27527 return this.start + this.pattern.length;
27528 },
27529 $isMatch: 1,
27530 get$start(receiver) {
27531 return this.start;
27532 }
27533 };
27534 A._StringAllMatchesIterable.prototype = {
27535 get$iterator(_) {
27536 return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
27537 },
27538 get$first(_) {
27539 var t1 = this._pattern,
27540 index = this._input.indexOf(t1, this.__js_helper$_index);
27541 if (index >= 0)
27542 return new A.StringMatch(index, t1);
27543 throw A.wrapException(A.IterableElementError_noElement());
27544 }
27545 };
27546 A._StringAllMatchesIterator.prototype = {
27547 moveNext$0() {
27548 var index, end, _this = this,
27549 t1 = _this.__js_helper$_index,
27550 t2 = _this._pattern,
27551 t3 = t2.length,
27552 t4 = _this._input,
27553 t5 = t4.length;
27554 if (t1 + t3 > t5) {
27555 _this.__js_helper$_current = null;
27556 return false;
27557 }
27558 index = t4.indexOf(t2, t1);
27559 if (index < 0) {
27560 _this.__js_helper$_index = t5 + 1;
27561 _this.__js_helper$_current = null;
27562 return false;
27563 }
27564 end = index + t3;
27565 _this.__js_helper$_current = new A.StringMatch(index, t2);
27566 _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
27567 return true;
27568 },
27569 get$current(_) {
27570 var t1 = this.__js_helper$_current;
27571 t1.toString;
27572 return t1;
27573 }
27574 };
27575 A._Cell.prototype = {
27576 _readLocal$0() {
27577 var t1 = this._value;
27578 if (t1 === this)
27579 throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
27580 return t1;
27581 }
27582 };
27583 A.NativeTypedData.prototype = {
27584 _invalidPosition$3(receiver, position, $length, $name) {
27585 var t1 = A.RangeError$range(position, 0, $length, $name, null);
27586 throw A.wrapException(t1);
27587 },
27588 _checkPosition$3(receiver, position, $length, $name) {
27589 if (position >>> 0 !== position || position > $length)
27590 this._invalidPosition$3(receiver, position, $length, $name);
27591 }
27592 };
27593 A.NativeTypedArray.prototype = {
27594 get$length(receiver) {
27595 return receiver.length;
27596 },
27597 _setRangeFast$4(receiver, start, end, source, skipCount) {
27598 var count, sourceLength,
27599 targetLength = receiver.length;
27600 this._checkPosition$3(receiver, start, targetLength, "start");
27601 this._checkPosition$3(receiver, end, targetLength, "end");
27602 if (start > end)
27603 throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
27604 count = end - start;
27605 if (skipCount < 0)
27606 throw A.wrapException(A.ArgumentError$(skipCount, null));
27607 sourceLength = source.length;
27608 if (sourceLength - skipCount < count)
27609 throw A.wrapException(A.StateError$("Not enough elements"));
27610 if (skipCount !== 0 || sourceLength !== count)
27611 source = source.subarray(skipCount, skipCount + count);
27612 receiver.set(source, start);
27613 },
27614 $isJavaScriptIndexingBehavior: 1
27615 };
27616 A.NativeTypedArrayOfDouble.prototype = {
27617 $index(receiver, index) {
27618 A._checkValidIndex(index, receiver, receiver.length);
27619 return receiver[index];
27620 },
27621 $indexSet(receiver, index, value) {
27622 A._checkValidIndex(index, receiver, receiver.length);
27623 receiver[index] = value;
27624 },
27625 setRange$4(receiver, start, end, iterable, skipCount) {
27626 if (type$.NativeTypedArrayOfDouble._is(iterable)) {
27627 this._setRangeFast$4(receiver, start, end, iterable, skipCount);
27628 return;
27629 }
27630 this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
27631 },
27632 $isEfficientLengthIterable: 1,
27633 $isIterable: 1,
27634 $isList: 1
27635 };
27636 A.NativeTypedArrayOfInt.prototype = {
27637 $indexSet(receiver, index, value) {
27638 A._checkValidIndex(index, receiver, receiver.length);
27639 receiver[index] = value;
27640 },
27641 setRange$4(receiver, start, end, iterable, skipCount) {
27642 if (type$.NativeTypedArrayOfInt._is(iterable)) {
27643 this._setRangeFast$4(receiver, start, end, iterable, skipCount);
27644 return;
27645 }
27646 this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
27647 },
27648 $isEfficientLengthIterable: 1,
27649 $isIterable: 1,
27650 $isList: 1
27651 };
27652 A.NativeFloat32List.prototype = {
27653 sublist$2(receiver, start, end) {
27654 return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27655 }
27656 };
27657 A.NativeFloat64List.prototype = {
27658 sublist$2(receiver, start, end) {
27659 return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27660 }
27661 };
27662 A.NativeInt16List.prototype = {
27663 $index(receiver, index) {
27664 A._checkValidIndex(index, receiver, receiver.length);
27665 return receiver[index];
27666 },
27667 sublist$2(receiver, start, end) {
27668 return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27669 }
27670 };
27671 A.NativeInt32List.prototype = {
27672 $index(receiver, index) {
27673 A._checkValidIndex(index, receiver, receiver.length);
27674 return receiver[index];
27675 },
27676 sublist$2(receiver, start, end) {
27677 return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27678 }
27679 };
27680 A.NativeInt8List.prototype = {
27681 $index(receiver, index) {
27682 A._checkValidIndex(index, receiver, receiver.length);
27683 return receiver[index];
27684 },
27685 sublist$2(receiver, start, end) {
27686 return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27687 }
27688 };
27689 A.NativeUint16List.prototype = {
27690 $index(receiver, index) {
27691 A._checkValidIndex(index, receiver, receiver.length);
27692 return receiver[index];
27693 },
27694 sublist$2(receiver, start, end) {
27695 return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27696 }
27697 };
27698 A.NativeUint32List.prototype = {
27699 $index(receiver, index) {
27700 A._checkValidIndex(index, receiver, receiver.length);
27701 return receiver[index];
27702 },
27703 sublist$2(receiver, start, end) {
27704 return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27705 }
27706 };
27707 A.NativeUint8ClampedList.prototype = {
27708 get$length(receiver) {
27709 return receiver.length;
27710 },
27711 $index(receiver, index) {
27712 A._checkValidIndex(index, receiver, receiver.length);
27713 return receiver[index];
27714 },
27715 sublist$2(receiver, start, end) {
27716 return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27717 }
27718 };
27719 A.NativeUint8List.prototype = {
27720 get$length(receiver) {
27721 return receiver.length;
27722 },
27723 $index(receiver, index) {
27724 A._checkValidIndex(index, receiver, receiver.length);
27725 return receiver[index];
27726 },
27727 sublist$2(receiver, start, end) {
27728 return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
27729 },
27730 $isNativeUint8List: 1,
27731 $isUint8List: 1
27732 };
27733 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
27734 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
27735 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
27736 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
27737 A.Rti.prototype = {
27738 _eval$1(recipe) {
27739 return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
27740 },
27741 _bind$1(typeOrTuple) {
27742 return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
27743 }
27744 };
27745 A._FunctionParameters.prototype = {};
27746 A._Type.prototype = {
27747 toString$0(_) {
27748 return A._rtiToString(this._rti, null);
27749 }
27750 };
27751 A._Error.prototype = {
27752 toString$0(_) {
27753 return this.__rti$_message;
27754 }
27755 };
27756 A._TypeError.prototype = {
27757 get$message(_) {
27758 return this.__rti$_message;
27759 },
27760 $isTypeError: 1
27761 };
27762 A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
27763 call$1(_) {
27764 var t1 = this._box_0,
27765 f = t1.storedCallback;
27766 t1.storedCallback = null;
27767 f.call$0();
27768 },
27769 $signature: 65
27770 };
27771 A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
27772 call$1(callback) {
27773 var t1, t2;
27774 this._box_0.storedCallback = callback;
27775 t1 = this.div;
27776 t2 = this.span;
27777 t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
27778 },
27779 $signature: 26
27780 };
27781 A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
27782 call$0() {
27783 this.callback.call$0();
27784 },
27785 $signature: 1
27786 };
27787 A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
27788 call$0() {
27789 this.callback.call$0();
27790 },
27791 $signature: 1
27792 };
27793 A._TimerImpl.prototype = {
27794 _TimerImpl$2(milliseconds, callback) {
27795 if (self.setTimeout != null)
27796 this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
27797 else
27798 throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
27799 },
27800 _TimerImpl$periodic$2(milliseconds, callback) {
27801 if (self.setTimeout != null)
27802 this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
27803 else
27804 throw A.wrapException(A.UnsupportedError$("Periodic timer."));
27805 },
27806 cancel$0() {
27807 if (self.setTimeout != null) {
27808 var t1 = this._handle;
27809 if (t1 == null)
27810 return;
27811 if (this._once)
27812 self.clearTimeout(t1);
27813 else
27814 self.clearInterval(t1);
27815 this._handle = null;
27816 } else
27817 throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
27818 }
27819 };
27820 A._TimerImpl_internalCallback.prototype = {
27821 call$0() {
27822 var t1 = this.$this;
27823 t1._handle = null;
27824 t1._tick = 1;
27825 this.callback.call$0();
27826 },
27827 $signature: 0
27828 };
27829 A._TimerImpl$periodic_closure.prototype = {
27830 call$0() {
27831 var duration, _this = this,
27832 t1 = _this.$this,
27833 tick = t1._tick + 1,
27834 t2 = _this.milliseconds;
27835 if (t2 > 0) {
27836 duration = Date.now() - _this.start;
27837 if (duration > (tick + 1) * t2)
27838 tick = B.JSInt_methods.$tdiv(duration, t2);
27839 }
27840 t1._tick = tick;
27841 _this.callback.call$1(t1);
27842 },
27843 $signature: 1
27844 };
27845 A._AsyncAwaitCompleter.prototype = {
27846 complete$1(value) {
27847 var t1, _this = this;
27848 if (value == null)
27849 value = _this.$ti._precomputed1._as(value);
27850 if (!_this.isSync)
27851 _this._future._asyncComplete$1(value);
27852 else {
27853 t1 = _this._future;
27854 if (_this.$ti._eval$1("Future<1>")._is(value))
27855 t1._chainFuture$1(value);
27856 else
27857 t1._completeWithValue$1(value);
27858 }
27859 },
27860 completeError$2(e, st) {
27861 var t1 = this._future;
27862 if (this.isSync)
27863 t1._completeError$2(e, st);
27864 else
27865 t1._asyncCompleteError$2(e, st);
27866 }
27867 };
27868 A._awaitOnObject_closure.prototype = {
27869 call$1(result) {
27870 return this.bodyFunction.call$2(0, result);
27871 },
27872 $signature: 123
27873 };
27874 A._awaitOnObject_closure0.prototype = {
27875 call$2(error, stackTrace) {
27876 this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
27877 },
27878 $signature: 295
27879 };
27880 A._wrapJsFunctionForAsync_closure.prototype = {
27881 call$2(errorCode, result) {
27882 this.$protected(errorCode, result);
27883 },
27884 $signature: 335
27885 };
27886 A._IterationMarker.prototype = {
27887 toString$0(_) {
27888 return "IterationMarker(" + this.state + ", " + A.S(this.value) + ")";
27889 }
27890 };
27891 A._SyncStarIterator.prototype = {
27892 get$current(_) {
27893 var nested = this._nestedIterator;
27894 if (nested == null)
27895 return this._async$_current;
27896 return nested.get$current(nested);
27897 },
27898 moveNext$0() {
27899 var t1, value, state, suspendedBodies, inner, _this = this;
27900 for (; true;) {
27901 t1 = _this._nestedIterator;
27902 if (t1 != null)
27903 if (t1.moveNext$0())
27904 return true;
27905 else
27906 _this._nestedIterator = null;
27907 value = function(body, SUCCESS, ERROR) {
27908 var errorValue,
27909 errorCode = SUCCESS;
27910 while (true)
27911 try {
27912 return body(errorCode, errorValue);
27913 } catch (error) {
27914 errorValue = error;
27915 errorCode = ERROR;
27916 }
27917 }(_this._body, 0, 1);
27918 if (value instanceof A._IterationMarker) {
27919 state = value.state;
27920 if (state === 2) {
27921 suspendedBodies = _this._suspendedBodies;
27922 if (suspendedBodies == null || suspendedBodies.length === 0) {
27923 _this._async$_current = null;
27924 return false;
27925 }
27926 _this._body = suspendedBodies.pop();
27927 continue;
27928 } else {
27929 t1 = value.value;
27930 if (state === 3)
27931 throw t1;
27932 else {
27933 inner = J.get$iterator$ax(t1);
27934 if (inner instanceof A._SyncStarIterator) {
27935 t1 = _this._suspendedBodies;
27936 if (t1 == null)
27937 t1 = _this._suspendedBodies = [];
27938 t1.push(_this._body);
27939 _this._body = inner._body;
27940 continue;
27941 } else {
27942 _this._nestedIterator = inner;
27943 continue;
27944 }
27945 }
27946 }
27947 } else {
27948 _this._async$_current = value;
27949 return true;
27950 }
27951 }
27952 return false;
27953 }
27954 };
27955 A._SyncStarIterable.prototype = {
27956 get$iterator(_) {
27957 return new A._SyncStarIterator(this._outerHelper());
27958 }
27959 };
27960 A.AsyncError.prototype = {
27961 toString$0(_) {
27962 return A.S(this.error);
27963 },
27964 $isError: 1,
27965 get$stackTrace() {
27966 return this.stackTrace;
27967 }
27968 };
27969 A.Future_wait_handleError.prototype = {
27970 call$2(theError, theStackTrace) {
27971 var _this = this,
27972 t1 = _this._box_0,
27973 t2 = --t1.remaining;
27974 if (t1.values != null) {
27975 t1.values = null;
27976 if (t1.remaining === 0 || _this.eagerError)
27977 _this._future._completeError$2(theError, theStackTrace);
27978 else {
27979 _this.error._value = theError;
27980 _this.stackTrace._value = theStackTrace;
27981 }
27982 } else if (t2 === 0 && !_this.eagerError)
27983 _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
27984 },
27985 $signature: 69
27986 };
27987 A.Future_wait_closure.prototype = {
27988 call$1(value) {
27989 var valueList, _this = this,
27990 t1 = _this._box_0;
27991 --t1.remaining;
27992 valueList = t1.values;
27993 if (valueList != null) {
27994 J.$indexSet$ax(valueList, _this.pos, value);
27995 if (t1.remaining === 0)
27996 _this._future._completeWithValue$1(A.List_List$from(valueList, true, _this.T));
27997 } else if (t1.remaining === 0 && !_this.eagerError)
27998 _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
27999 },
28000 $signature() {
28001 return this.T._eval$1("Null(0)");
28002 }
28003 };
28004 A._Completer.prototype = {
28005 completeError$2(error, stackTrace) {
28006 var replacement;
28007 A.checkNotNullable(error, "error", type$.Object);
28008 if ((this.future._state & 30) !== 0)
28009 throw A.wrapException(A.StateError$("Future already completed"));
28010 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
28011 if (replacement != null) {
28012 error = replacement.error;
28013 stackTrace = replacement.stackTrace;
28014 } else if (stackTrace == null)
28015 stackTrace = A.AsyncError_defaultStackTrace(error);
28016 this._completeError$2(error, stackTrace);
28017 },
28018 completeError$1(error) {
28019 return this.completeError$2(error, null);
28020 }
28021 };
28022 A._AsyncCompleter.prototype = {
28023 complete$1(value) {
28024 var t1 = this.future;
28025 if ((t1._state & 30) !== 0)
28026 throw A.wrapException(A.StateError$("Future already completed"));
28027 t1._asyncComplete$1(value);
28028 },
28029 complete$0() {
28030 return this.complete$1(null);
28031 },
28032 _completeError$2(error, stackTrace) {
28033 this.future._asyncCompleteError$2(error, stackTrace);
28034 }
28035 };
28036 A._SyncCompleter.prototype = {
28037 complete$1(value) {
28038 var t1 = this.future;
28039 if ((t1._state & 30) !== 0)
28040 throw A.wrapException(A.StateError$("Future already completed"));
28041 t1._complete$1(value);
28042 },
28043 _completeError$2(error, stackTrace) {
28044 this.future._completeError$2(error, stackTrace);
28045 }
28046 };
28047 A._FutureListener.prototype = {
28048 matchesErrorTest$1(asyncError) {
28049 if ((this.state & 15) !== 6)
28050 return true;
28051 return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
28052 },
28053 handleError$1(asyncError) {
28054 var exception,
28055 errorCallback = this.errorCallback,
28056 result = null,
28057 t1 = type$.dynamic,
28058 t2 = type$.Object,
28059 t3 = asyncError.error,
28060 t4 = this.result._zone;
28061 if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
28062 result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
28063 else
28064 result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
28065 try {
28066 t1 = result;
28067 return t1;
28068 } catch (exception) {
28069 if (type$.TypeError._is(A.unwrapException(exception))) {
28070 if ((this.state & 1) !== 0)
28071 throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
28072 throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
28073 } else
28074 throw exception;
28075 }
28076 }
28077 };
28078 A._Future.prototype = {
28079 then$1$2$onError(_, f, onError, $R) {
28080 var result, t1,
28081 currentZone = $.Zone__current;
28082 if (currentZone === B.C__RootZone) {
28083 if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
28084 throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
28085 } else {
28086 f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
28087 if (onError != null)
28088 onError = A._registerErrorHandler(onError, currentZone);
28089 }
28090 result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
28091 t1 = onError == null ? 1 : 3;
28092 this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
28093 return result;
28094 },
28095 then$1$1($receiver, f, $R) {
28096 return this.then$1$2$onError($receiver, f, null, $R);
28097 },
28098 _thenAwait$1$2(f, onError, $E) {
28099 var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
28100 this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
28101 return result;
28102 },
28103 whenComplete$1(action) {
28104 var t1 = this.$ti,
28105 t2 = $.Zone__current,
28106 result = new A._Future(t2, t1);
28107 if (t2 !== B.C__RootZone)
28108 action = t2.registerCallback$1$1(action, type$.dynamic);
28109 this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
28110 return result;
28111 },
28112 _setErrorObject$1(error) {
28113 this._state = this._state & 1 | 16;
28114 this._resultOrListeners = error;
28115 },
28116 _cloneResult$1(source) {
28117 this._state = source._state & 30 | this._state & 1;
28118 this._resultOrListeners = source._resultOrListeners;
28119 },
28120 _addListener$1(listener) {
28121 var _this = this,
28122 t1 = _this._state;
28123 if (t1 <= 3) {
28124 listener._nextListener = _this._resultOrListeners;
28125 _this._resultOrListeners = listener;
28126 } else {
28127 if ((t1 & 4) !== 0) {
28128 t1 = _this._resultOrListeners;
28129 if ((t1._state & 24) === 0) {
28130 t1._addListener$1(listener);
28131 return;
28132 }
28133 _this._cloneResult$1(t1);
28134 }
28135 _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
28136 }
28137 },
28138 _prependListeners$1(listeners) {
28139 var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
28140 _box_0.listeners = listeners;
28141 if (listeners == null)
28142 return;
28143 t1 = _this._state;
28144 if (t1 <= 3) {
28145 existingListeners = _this._resultOrListeners;
28146 _this._resultOrListeners = listeners;
28147 if (existingListeners != null) {
28148 next = listeners._nextListener;
28149 for (cursor = listeners; next != null; cursor = next, next = next0)
28150 next0 = next._nextListener;
28151 cursor._nextListener = existingListeners;
28152 }
28153 } else {
28154 if ((t1 & 4) !== 0) {
28155 t1 = _this._resultOrListeners;
28156 if ((t1._state & 24) === 0) {
28157 t1._prependListeners$1(listeners);
28158 return;
28159 }
28160 _this._cloneResult$1(t1);
28161 }
28162 _box_0.listeners = _this._reverseListeners$1(listeners);
28163 _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
28164 }
28165 },
28166 _removeListeners$0() {
28167 var current = this._resultOrListeners;
28168 this._resultOrListeners = null;
28169 return this._reverseListeners$1(current);
28170 },
28171 _reverseListeners$1(listeners) {
28172 var current, prev, next;
28173 for (current = listeners, prev = null; current != null; prev = current, current = next) {
28174 next = current._nextListener;
28175 current._nextListener = prev;
28176 }
28177 return prev;
28178 },
28179 _chainForeignFuture$1(source) {
28180 var e, s, exception, _this = this;
28181 _this._state ^= 2;
28182 try {
28183 source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
28184 } catch (exception) {
28185 e = A.unwrapException(exception);
28186 s = A.getTraceFromException(exception);
28187 A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
28188 }
28189 },
28190 _complete$1(value) {
28191 var listeners, _this = this,
28192 t1 = _this.$ti;
28193 if (t1._eval$1("Future<1>")._is(value))
28194 if (t1._is(value))
28195 A._Future__chainCoreFuture(value, _this);
28196 else
28197 _this._chainForeignFuture$1(value);
28198 else {
28199 listeners = _this._removeListeners$0();
28200 _this._state = 8;
28201 _this._resultOrListeners = value;
28202 A._Future__propagateToListeners(_this, listeners);
28203 }
28204 },
28205 _completeWithValue$1(value) {
28206 var _this = this,
28207 listeners = _this._removeListeners$0();
28208 _this._state = 8;
28209 _this._resultOrListeners = value;
28210 A._Future__propagateToListeners(_this, listeners);
28211 },
28212 _completeError$2(error, stackTrace) {
28213 var listeners = this._removeListeners$0();
28214 this._setErrorObject$1(A.AsyncError$(error, stackTrace));
28215 A._Future__propagateToListeners(this, listeners);
28216 },
28217 _asyncComplete$1(value) {
28218 if (this.$ti._eval$1("Future<1>")._is(value)) {
28219 this._chainFuture$1(value);
28220 return;
28221 }
28222 this._asyncCompleteWithValue$1(value);
28223 },
28224 _asyncCompleteWithValue$1(value) {
28225 this._state ^= 2;
28226 this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
28227 },
28228 _chainFuture$1(value) {
28229 var _this = this;
28230 if (_this.$ti._is(value)) {
28231 if ((value._state & 16) !== 0) {
28232 _this._state ^= 2;
28233 _this._zone.scheduleMicrotask$1(new A._Future__chainFuture_closure(_this, value));
28234 } else
28235 A._Future__chainCoreFuture(value, _this);
28236 return;
28237 }
28238 _this._chainForeignFuture$1(value);
28239 },
28240 _asyncCompleteError$2(error, stackTrace) {
28241 this._state ^= 2;
28242 this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
28243 },
28244 $isFuture: 1
28245 };
28246 A._Future__addListener_closure.prototype = {
28247 call$0() {
28248 A._Future__propagateToListeners(this.$this, this.listener);
28249 },
28250 $signature: 0
28251 };
28252 A._Future__prependListeners_closure.prototype = {
28253 call$0() {
28254 A._Future__propagateToListeners(this.$this, this._box_0.listeners);
28255 },
28256 $signature: 0
28257 };
28258 A._Future__chainForeignFuture_closure.prototype = {
28259 call$1(value) {
28260 var error, stackTrace, exception,
28261 t1 = this.$this;
28262 t1._state ^= 2;
28263 try {
28264 t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
28265 } catch (exception) {
28266 error = A.unwrapException(exception);
28267 stackTrace = A.getTraceFromException(exception);
28268 t1._completeError$2(error, stackTrace);
28269 }
28270 },
28271 $signature: 65
28272 };
28273 A._Future__chainForeignFuture_closure0.prototype = {
28274 call$2(error, stackTrace) {
28275 this.$this._completeError$2(error, stackTrace);
28276 },
28277 $signature: 68
28278 };
28279 A._Future__chainForeignFuture_closure1.prototype = {
28280 call$0() {
28281 this.$this._completeError$2(this.e, this.s);
28282 },
28283 $signature: 0
28284 };
28285 A._Future__asyncCompleteWithValue_closure.prototype = {
28286 call$0() {
28287 this.$this._completeWithValue$1(this.value);
28288 },
28289 $signature: 0
28290 };
28291 A._Future__chainFuture_closure.prototype = {
28292 call$0() {
28293 A._Future__chainCoreFuture(this.value, this.$this);
28294 },
28295 $signature: 0
28296 };
28297 A._Future__asyncCompleteError_closure.prototype = {
28298 call$0() {
28299 this.$this._completeError$2(this.error, this.stackTrace);
28300 },
28301 $signature: 0
28302 };
28303 A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
28304 call$0() {
28305 var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null;
28306 try {
28307 t1 = _this._box_0.listener;
28308 completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
28309 } catch (exception) {
28310 e = A.unwrapException(exception);
28311 s = A.getTraceFromException(exception);
28312 t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e;
28313 t2 = _this._box_0;
28314 if (t1)
28315 t2.listenerValueOrError = _this._box_1.source._resultOrListeners;
28316 else
28317 t2.listenerValueOrError = A.AsyncError$(e, s);
28318 t2.listenerHasError = true;
28319 return;
28320 }
28321 if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
28322 if ((completeResult._state & 16) !== 0) {
28323 t1 = _this._box_0;
28324 t1.listenerValueOrError = completeResult._resultOrListeners;
28325 t1.listenerHasError = true;
28326 }
28327 return;
28328 }
28329 if (type$.Future_dynamic._is(completeResult)) {
28330 originalSource = _this._box_1.source;
28331 t1 = _this._box_0;
28332 t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic);
28333 t1.listenerHasError = false;
28334 }
28335 },
28336 $signature: 0
28337 };
28338 A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
28339 call$1(_) {
28340 return this.originalSource;
28341 },
28342 $signature: 308
28343 };
28344 A._Future__propagateToListeners_handleValueCallback.prototype = {
28345 call$0() {
28346 var e, s, t1, t2, t3, exception;
28347 try {
28348 t1 = this._box_0;
28349 t2 = t1.listener;
28350 t3 = t2.$ti;
28351 t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
28352 } catch (exception) {
28353 e = A.unwrapException(exception);
28354 s = A.getTraceFromException(exception);
28355 t1 = this._box_0;
28356 t1.listenerValueOrError = A.AsyncError$(e, s);
28357 t1.listenerHasError = true;
28358 }
28359 },
28360 $signature: 0
28361 };
28362 A._Future__propagateToListeners_handleError.prototype = {
28363 call$0() {
28364 var asyncError, e, s, t1, exception, t2, _this = this;
28365 try {
28366 asyncError = _this._box_1.source._resultOrListeners;
28367 t1 = _this._box_0;
28368 if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
28369 t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
28370 t1.listenerHasError = false;
28371 }
28372 } catch (exception) {
28373 e = A.unwrapException(exception);
28374 s = A.getTraceFromException(exception);
28375 t1 = _this._box_1.source._resultOrListeners;
28376 t2 = _this._box_0;
28377 if (t1.error === e)
28378 t2.listenerValueOrError = t1;
28379 else
28380 t2.listenerValueOrError = A.AsyncError$(e, s);
28381 t2.listenerHasError = true;
28382 }
28383 },
28384 $signature: 0
28385 };
28386 A._AsyncCallbackEntry.prototype = {};
28387 A.Stream.prototype = {
28388 get$isBroadcast() {
28389 return false;
28390 },
28391 get$length(_) {
28392 var t1 = {},
28393 future = new A._Future($.Zone__current, type$._Future_int);
28394 t1.count = 0;
28395 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());
28396 return future;
28397 }
28398 };
28399 A.Stream_Stream$fromFuture_closure.prototype = {
28400 call$1(value) {
28401 var t1 = this.controller;
28402 t1._async$_add$1(value);
28403 t1._closeUnchecked$0();
28404 },
28405 $signature() {
28406 return this.T._eval$1("Null(0)");
28407 }
28408 };
28409 A.Stream_Stream$fromFuture_closure0.prototype = {
28410 call$2(error, stackTrace) {
28411 var t1 = this.controller;
28412 t1._addError$2(error, stackTrace);
28413 t1._closeUnchecked$0();
28414 },
28415 $signature: 326
28416 };
28417 A.Stream_length_closure.prototype = {
28418 call$1(_) {
28419 ++this._box_0.count;
28420 },
28421 $signature() {
28422 return A._instanceType(this.$this)._eval$1("~(Stream.T)");
28423 }
28424 };
28425 A.Stream_length_closure0.prototype = {
28426 call$0() {
28427 this.future._complete$1(this._box_0.count);
28428 },
28429 $signature: 0
28430 };
28431 A.StreamTransformerBase.prototype = {};
28432 A._StreamController.prototype = {
28433 get$stream() {
28434 return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
28435 },
28436 get$_pendingEvents() {
28437 if ((this._state & 8) === 0)
28438 return this._varData;
28439 return this._varData.varData;
28440 },
28441 _ensurePendingEvents$0() {
28442 var events, state, _this = this;
28443 if ((_this._state & 8) === 0) {
28444 events = _this._varData;
28445 return events == null ? _this._varData = new A._StreamImplEvents() : events;
28446 }
28447 state = _this._varData;
28448 events = state.varData;
28449 return events == null ? state.varData = new A._StreamImplEvents() : events;
28450 },
28451 get$_subscription() {
28452 var varData = this._varData;
28453 return (this._state & 8) !== 0 ? varData.varData : varData;
28454 },
28455 _badEventState$0() {
28456 if ((this._state & 4) !== 0)
28457 return new A.StateError("Cannot add event after closing");
28458 return new A.StateError("Cannot add event while adding a stream");
28459 },
28460 addStream$2$cancelOnError(source, cancelOnError) {
28461 var t2, t3, t4, _this = this,
28462 t1 = _this._state;
28463 if (t1 >= 4)
28464 throw A.wrapException(_this._badEventState$0());
28465 if ((t1 & 2) !== 0) {
28466 t1 = new A._Future($.Zone__current, type$._Future_dynamic);
28467 t1._asyncComplete$1(null);
28468 return t1;
28469 }
28470 t1 = _this._varData;
28471 t2 = new A._Future($.Zone__current, type$._Future_dynamic);
28472 t3 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), false, _this.get$_close(), _this.get$_addError());
28473 t4 = _this._state;
28474 if ((t4 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t4 & 2) === 0)
28475 t3.pause$0(0);
28476 _this._varData = new A._StreamControllerAddStreamState(t1, t2, t3);
28477 _this._state |= 8;
28478 return t2;
28479 },
28480 _ensureDoneFuture$0() {
28481 var t1 = this._doneFuture;
28482 if (t1 == null)
28483 t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
28484 return t1;
28485 },
28486 add$1(_, value) {
28487 if (this._state >= 4)
28488 throw A.wrapException(this._badEventState$0());
28489 this._async$_add$1(value);
28490 },
28491 addError$2(error, stackTrace) {
28492 var replacement;
28493 A.checkNotNullable(error, "error", type$.Object);
28494 if (this._state >= 4)
28495 throw A.wrapException(this._badEventState$0());
28496 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
28497 if (replacement != null) {
28498 error = replacement.error;
28499 stackTrace = replacement.stackTrace;
28500 } else if (stackTrace == null)
28501 stackTrace = A.AsyncError_defaultStackTrace(error);
28502 this._addError$2(error, stackTrace);
28503 },
28504 addError$1(error) {
28505 return this.addError$2(error, null);
28506 },
28507 close$0(_) {
28508 var _this = this,
28509 t1 = _this._state;
28510 if ((t1 & 4) !== 0)
28511 return _this._ensureDoneFuture$0();
28512 if (t1 >= 4)
28513 throw A.wrapException(_this._badEventState$0());
28514 _this._closeUnchecked$0();
28515 return _this._ensureDoneFuture$0();
28516 },
28517 _closeUnchecked$0() {
28518 var t1 = this._state |= 4;
28519 if ((t1 & 1) !== 0)
28520 this._sendDone$0();
28521 else if ((t1 & 3) === 0)
28522 this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
28523 },
28524 _async$_add$1(value) {
28525 var t1 = this._state;
28526 if ((t1 & 1) !== 0)
28527 this._sendData$1(value);
28528 else if ((t1 & 3) === 0)
28529 this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
28530 },
28531 _addError$2(error, stackTrace) {
28532 var t1 = this._state;
28533 if ((t1 & 1) !== 0)
28534 this._sendError$2(error, stackTrace);
28535 else if ((t1 & 3) === 0)
28536 this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
28537 },
28538 _close$0() {
28539 var addState = this._varData;
28540 this._varData = addState.varData;
28541 this._state &= 4294967287;
28542 addState.addStreamFuture._asyncComplete$1(null);
28543 },
28544 _subscribe$4(onData, onError, onDone, cancelOnError) {
28545 var subscription, pendingEvents, t1, addState, _this = this;
28546 if ((_this._state & 3) !== 0)
28547 throw A.wrapException(A.StateError$("Stream has already been listened to."));
28548 subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
28549 pendingEvents = _this.get$_pendingEvents();
28550 t1 = _this._state |= 1;
28551 if ((t1 & 8) !== 0) {
28552 addState = _this._varData;
28553 addState.varData = subscription;
28554 addState.addSubscription.resume$0(0);
28555 } else
28556 _this._varData = subscription;
28557 subscription._setPendingEvents$1(pendingEvents);
28558 subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
28559 return subscription;
28560 },
28561 _recordCancel$1(subscription) {
28562 var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
28563 if ((_this._state & 8) !== 0)
28564 result = _this._varData.cancel$0();
28565 _this._varData = null;
28566 _this._state = _this._state & 4294967286 | 2;
28567 onCancel = _this.onCancel;
28568 if (onCancel != null)
28569 if (result == null)
28570 try {
28571 cancelResult = onCancel.call$0();
28572 if (type$.Future_void._is(cancelResult))
28573 result = cancelResult;
28574 } catch (exception) {
28575 e = A.unwrapException(exception);
28576 s = A.getTraceFromException(exception);
28577 result0 = new A._Future($.Zone__current, type$._Future_void);
28578 result0._asyncCompleteError$2(e, s);
28579 result = result0;
28580 }
28581 else
28582 result = result.whenComplete$1(onCancel);
28583 t1 = new A._StreamController__recordCancel_complete(_this);
28584 if (result != null)
28585 result = result.whenComplete$1(t1);
28586 else
28587 t1.call$0();
28588 return result;
28589 },
28590 _recordPause$1(subscription) {
28591 if ((this._state & 8) !== 0)
28592 this._varData.addSubscription.pause$0(0);
28593 A._runGuarded(this.onPause);
28594 },
28595 _recordResume$1(subscription) {
28596 if ((this._state & 8) !== 0)
28597 this._varData.addSubscription.resume$0(0);
28598 A._runGuarded(this.onResume);
28599 },
28600 $isEventSink: 1,
28601 set$onPause(val) {
28602 return this.onPause = val;
28603 },
28604 set$onResume(val) {
28605 return this.onResume = val;
28606 },
28607 set$onCancel(val) {
28608 return this.onCancel = val;
28609 }
28610 };
28611 A._StreamController__subscribe_closure.prototype = {
28612 call$0() {
28613 A._runGuarded(this.$this.onListen);
28614 },
28615 $signature: 0
28616 };
28617 A._StreamController__recordCancel_complete.prototype = {
28618 call$0() {
28619 var doneFuture = this.$this._doneFuture;
28620 if (doneFuture != null && (doneFuture._state & 30) === 0)
28621 doneFuture._asyncComplete$1(null);
28622 },
28623 $signature: 0
28624 };
28625 A._SyncStreamControllerDispatch.prototype = {
28626 _sendData$1(data) {
28627 this.get$_subscription()._async$_add$1(data);
28628 },
28629 _sendError$2(error, stackTrace) {
28630 this.get$_subscription()._addError$2(error, stackTrace);
28631 },
28632 _sendDone$0() {
28633 this.get$_subscription()._close$0();
28634 }
28635 };
28636 A._AsyncStreamControllerDispatch.prototype = {
28637 _sendData$1(data) {
28638 this.get$_subscription()._addPending$1(new A._DelayedData(data));
28639 },
28640 _sendError$2(error, stackTrace) {
28641 this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
28642 },
28643 _sendDone$0() {
28644 this.get$_subscription()._addPending$1(B.C__DelayedDone);
28645 }
28646 };
28647 A._AsyncStreamController.prototype = {};
28648 A._SyncStreamController.prototype = {};
28649 A._ControllerStream.prototype = {
28650 get$hashCode(_) {
28651 return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
28652 },
28653 $eq(_, other) {
28654 if (other == null)
28655 return false;
28656 if (this === other)
28657 return true;
28658 return other instanceof A._ControllerStream && other._controller === this._controller;
28659 }
28660 };
28661 A._ControllerSubscription.prototype = {
28662 _async$_onCancel$0() {
28663 return this._controller._recordCancel$1(this);
28664 },
28665 _async$_onPause$0() {
28666 this._controller._recordPause$1(this);
28667 },
28668 _async$_onResume$0() {
28669 this._controller._recordResume$1(this);
28670 }
28671 };
28672 A._AddStreamState.prototype = {
28673 cancel$0() {
28674 var cancel = this.addSubscription.cancel$0();
28675 return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
28676 }
28677 };
28678 A._AddStreamState_cancel_closure.prototype = {
28679 call$0() {
28680 this.$this.addStreamFuture._asyncComplete$1(null);
28681 },
28682 $signature: 1
28683 };
28684 A._StreamControllerAddStreamState.prototype = {};
28685 A._BufferingStreamSubscription.prototype = {
28686 _setPendingEvents$1(pendingEvents) {
28687 var _this = this;
28688 if (pendingEvents == null)
28689 return;
28690 _this._pending = pendingEvents;
28691 if (pendingEvents.lastPendingEvent != null) {
28692 _this._state = (_this._state | 64) >>> 0;
28693 pendingEvents.schedule$1(_this);
28694 }
28695 },
28696 pause$1(_, resumeSignal) {
28697 var t2, t3, _this = this,
28698 t1 = _this._state;
28699 if ((t1 & 8) !== 0)
28700 return;
28701 t2 = (t1 + 128 | 4) >>> 0;
28702 _this._state = t2;
28703 if (t1 < 128) {
28704 t3 = _this._pending;
28705 if (t3 != null)
28706 if (t3._state === 1)
28707 t3._state = 3;
28708 }
28709 if ((t1 & 4) === 0 && (t2 & 32) === 0)
28710 _this._guardCallback$1(_this.get$_async$_onPause());
28711 },
28712 pause$0($receiver) {
28713 return this.pause$1($receiver, null);
28714 },
28715 resume$0(_) {
28716 var _this = this,
28717 t1 = _this._state;
28718 if ((t1 & 8) !== 0)
28719 return;
28720 if (t1 >= 128) {
28721 t1 = _this._state = t1 - 128;
28722 if (t1 < 128)
28723 if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent != null)
28724 _this._pending.schedule$1(_this);
28725 else {
28726 t1 = (t1 & 4294967291) >>> 0;
28727 _this._state = t1;
28728 if ((t1 & 32) === 0)
28729 _this._guardCallback$1(_this.get$_async$_onResume());
28730 }
28731 }
28732 },
28733 cancel$0() {
28734 var _this = this,
28735 t1 = (_this._state & 4294967279) >>> 0;
28736 _this._state = t1;
28737 if ((t1 & 8) === 0)
28738 _this._cancel$0();
28739 t1 = _this._cancelFuture;
28740 return t1 == null ? $.$get$Future__nullFuture() : t1;
28741 },
28742 _cancel$0() {
28743 var t2, _this = this,
28744 t1 = _this._state = (_this._state | 8) >>> 0;
28745 if ((t1 & 64) !== 0) {
28746 t2 = _this._pending;
28747 if (t2._state === 1)
28748 t2._state = 3;
28749 }
28750 if ((t1 & 32) === 0)
28751 _this._pending = null;
28752 _this._cancelFuture = _this._async$_onCancel$0();
28753 },
28754 _async$_add$1(data) {
28755 var t1 = this._state;
28756 if ((t1 & 8) !== 0)
28757 return;
28758 if (t1 < 32)
28759 this._sendData$1(data);
28760 else
28761 this._addPending$1(new A._DelayedData(data));
28762 },
28763 _addError$2(error, stackTrace) {
28764 var t1 = this._state;
28765 if ((t1 & 8) !== 0)
28766 return;
28767 if (t1 < 32)
28768 this._sendError$2(error, stackTrace);
28769 else
28770 this._addPending$1(new A._DelayedError(error, stackTrace));
28771 },
28772 _close$0() {
28773 var _this = this,
28774 t1 = _this._state;
28775 if ((t1 & 8) !== 0)
28776 return;
28777 t1 = (t1 | 2) >>> 0;
28778 _this._state = t1;
28779 if (t1 < 32)
28780 _this._sendDone$0();
28781 else
28782 _this._addPending$1(B.C__DelayedDone);
28783 },
28784 _async$_onPause$0() {
28785 },
28786 _async$_onResume$0() {
28787 },
28788 _async$_onCancel$0() {
28789 return null;
28790 },
28791 _addPending$1($event) {
28792 var t1, _this = this,
28793 pending = _this._pending;
28794 if (pending == null)
28795 pending = new A._StreamImplEvents();
28796 _this._pending = pending;
28797 pending.add$1(0, $event);
28798 t1 = _this._state;
28799 if ((t1 & 64) === 0) {
28800 t1 = (t1 | 64) >>> 0;
28801 _this._state = t1;
28802 if (t1 < 128)
28803 pending.schedule$1(_this);
28804 }
28805 },
28806 _sendData$1(data) {
28807 var _this = this,
28808 t1 = _this._state;
28809 _this._state = (t1 | 32) >>> 0;
28810 _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
28811 _this._state = (_this._state & 4294967263) >>> 0;
28812 _this._checkState$1((t1 & 4) !== 0);
28813 },
28814 _sendError$2(error, stackTrace) {
28815 var cancelFuture, _this = this,
28816 t1 = _this._state,
28817 t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
28818 if ((t1 & 1) !== 0) {
28819 _this._state = (t1 | 16) >>> 0;
28820 _this._cancel$0();
28821 cancelFuture = _this._cancelFuture;
28822 if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
28823 cancelFuture.whenComplete$1(t2);
28824 else
28825 t2.call$0();
28826 } else {
28827 t2.call$0();
28828 _this._checkState$1((t1 & 4) !== 0);
28829 }
28830 },
28831 _sendDone$0() {
28832 var cancelFuture, _this = this,
28833 t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
28834 _this._cancel$0();
28835 _this._state = (_this._state | 16) >>> 0;
28836 cancelFuture = _this._cancelFuture;
28837 if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
28838 cancelFuture.whenComplete$1(t1);
28839 else
28840 t1.call$0();
28841 },
28842 _guardCallback$1(callback) {
28843 var _this = this,
28844 t1 = _this._state;
28845 _this._state = (t1 | 32) >>> 0;
28846 callback.call$0();
28847 _this._state = (_this._state & 4294967263) >>> 0;
28848 _this._checkState$1((t1 & 4) !== 0);
28849 },
28850 _checkState$1(wasInputPaused) {
28851 var t2, isInputPaused, _this = this,
28852 t1 = _this._state;
28853 if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) {
28854 t1 = _this._state = (t1 & 4294967231) >>> 0;
28855 if ((t1 & 4) !== 0)
28856 if (t1 < 128) {
28857 t2 = _this._pending;
28858 t2 = t2 == null ? null : t2.lastPendingEvent == null;
28859 t2 = t2 !== false;
28860 } else
28861 t2 = false;
28862 else
28863 t2 = false;
28864 if (t2) {
28865 t1 = (t1 & 4294967291) >>> 0;
28866 _this._state = t1;
28867 }
28868 }
28869 for (; true; wasInputPaused = isInputPaused) {
28870 if ((t1 & 8) !== 0) {
28871 _this._pending = null;
28872 return;
28873 }
28874 isInputPaused = (t1 & 4) !== 0;
28875 if (wasInputPaused === isInputPaused)
28876 break;
28877 _this._state = (t1 ^ 32) >>> 0;
28878 if (isInputPaused)
28879 _this._async$_onPause$0();
28880 else
28881 _this._async$_onResume$0();
28882 t1 = (_this._state & 4294967263) >>> 0;
28883 _this._state = t1;
28884 }
28885 if ((t1 & 64) !== 0 && t1 < 128)
28886 _this._pending.schedule$1(_this);
28887 },
28888 $isStreamSubscription: 1
28889 };
28890 A._BufferingStreamSubscription__sendError_sendError.prototype = {
28891 call$0() {
28892 var onError, t3, t4,
28893 t1 = this.$this,
28894 t2 = t1._state;
28895 if ((t2 & 8) !== 0 && (t2 & 16) === 0)
28896 return;
28897 t1._state = (t2 | 32) >>> 0;
28898 onError = t1._onError;
28899 t2 = this.error;
28900 t3 = type$.Object;
28901 t4 = t1._zone;
28902 if (type$.void_Function_Object_StackTrace._is(onError))
28903 t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
28904 else
28905 t4.runUnaryGuarded$1$2(onError, t2, t3);
28906 t1._state = (t1._state & 4294967263) >>> 0;
28907 },
28908 $signature: 0
28909 };
28910 A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
28911 call$0() {
28912 var t1 = this.$this,
28913 t2 = t1._state;
28914 if ((t2 & 16) === 0)
28915 return;
28916 t1._state = (t2 | 42) >>> 0;
28917 t1._zone.runGuarded$1(t1._onDone);
28918 t1._state = (t1._state & 4294967263) >>> 0;
28919 },
28920 $signature: 0
28921 };
28922 A._StreamImpl.prototype = {
28923 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
28924 return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
28925 },
28926 listen$1($receiver, onData) {
28927 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
28928 },
28929 listen$3$onDone$onError($receiver, onData, onDone, onError) {
28930 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
28931 }
28932 };
28933 A._DelayedEvent.prototype = {
28934 get$next() {
28935 return this.next;
28936 },
28937 set$next(val) {
28938 return this.next = val;
28939 }
28940 };
28941 A._DelayedData.prototype = {
28942 perform$1(dispatch) {
28943 dispatch._sendData$1(this.value);
28944 }
28945 };
28946 A._DelayedError.prototype = {
28947 perform$1(dispatch) {
28948 dispatch._sendError$2(this.error, this.stackTrace);
28949 }
28950 };
28951 A._DelayedDone.prototype = {
28952 perform$1(dispatch) {
28953 dispatch._sendDone$0();
28954 },
28955 get$next() {
28956 return null;
28957 },
28958 set$next(_) {
28959 throw A.wrapException(A.StateError$("No events after a done."));
28960 }
28961 };
28962 A._PendingEvents.prototype = {
28963 schedule$1(dispatch) {
28964 var _this = this,
28965 t1 = _this._state;
28966 if (t1 === 1)
28967 return;
28968 if (t1 >= 1) {
28969 _this._state = 1;
28970 return;
28971 }
28972 A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
28973 _this._state = 1;
28974 }
28975 };
28976 A._PendingEvents_schedule_closure.prototype = {
28977 call$0() {
28978 var $event, nextEvent,
28979 t1 = this.$this,
28980 oldState = t1._state;
28981 t1._state = 0;
28982 if (oldState === 3)
28983 return;
28984 $event = t1.firstPendingEvent;
28985 nextEvent = $event.get$next();
28986 t1.firstPendingEvent = nextEvent;
28987 if (nextEvent == null)
28988 t1.lastPendingEvent = null;
28989 $event.perform$1(this.dispatch);
28990 },
28991 $signature: 0
28992 };
28993 A._StreamImplEvents.prototype = {
28994 add$1(_, $event) {
28995 var _this = this,
28996 lastEvent = _this.lastPendingEvent;
28997 if (lastEvent == null)
28998 _this.firstPendingEvent = _this.lastPendingEvent = $event;
28999 else {
29000 lastEvent.set$next($event);
29001 _this.lastPendingEvent = $event;
29002 }
29003 }
29004 };
29005 A._StreamIterator.prototype = {
29006 get$current(_) {
29007 if (this._async$_hasValue)
29008 return this._stateData;
29009 return null;
29010 },
29011 moveNext$0() {
29012 var future, _this = this,
29013 subscription = _this._subscription;
29014 if (subscription != null) {
29015 if (_this._async$_hasValue) {
29016 future = new A._Future($.Zone__current, type$._Future_bool);
29017 _this._stateData = future;
29018 _this._async$_hasValue = false;
29019 subscription.resume$0(0);
29020 return future;
29021 }
29022 throw A.wrapException(A.StateError$("Already waiting for next."));
29023 }
29024 return _this._initializeOrDone$0();
29025 },
29026 _initializeOrDone$0() {
29027 var future, subscription, _this = this,
29028 stateData = _this._stateData;
29029 if (stateData != null) {
29030 future = new A._Future($.Zone__current, type$._Future_bool);
29031 _this._stateData = future;
29032 subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
29033 if (_this._stateData != null)
29034 _this._subscription = subscription;
29035 return future;
29036 }
29037 return $.$get$Future__falseFuture();
29038 },
29039 cancel$0() {
29040 var _this = this,
29041 subscription = _this._subscription,
29042 stateData = _this._stateData;
29043 _this._stateData = null;
29044 if (subscription != null) {
29045 _this._subscription = null;
29046 if (!_this._async$_hasValue)
29047 stateData._asyncComplete$1(false);
29048 else
29049 _this._async$_hasValue = false;
29050 return subscription.cancel$0();
29051 }
29052 return $.$get$Future__nullFuture();
29053 },
29054 _onData$1(data) {
29055 var moveNextFuture, t1, _this = this;
29056 if (_this._subscription == null)
29057 return;
29058 moveNextFuture = _this._stateData;
29059 _this._stateData = data;
29060 _this._async$_hasValue = true;
29061 moveNextFuture._complete$1(true);
29062 if (_this._async$_hasValue) {
29063 t1 = _this._subscription;
29064 if (t1 != null)
29065 t1.pause$0(0);
29066 }
29067 },
29068 _onError$2(error, stackTrace) {
29069 var _this = this,
29070 subscription = _this._subscription,
29071 moveNextFuture = _this._stateData;
29072 _this._stateData = _this._subscription = null;
29073 if (subscription != null)
29074 moveNextFuture._completeError$2(error, stackTrace);
29075 else
29076 moveNextFuture._asyncCompleteError$2(error, stackTrace);
29077 },
29078 _onDone$0() {
29079 var _this = this,
29080 subscription = _this._subscription,
29081 moveNextFuture = _this._stateData;
29082 _this._stateData = _this._subscription = null;
29083 if (subscription != null)
29084 moveNextFuture._completeWithValue$1(false);
29085 else
29086 moveNextFuture._asyncCompleteWithValue$1(false);
29087 }
29088 };
29089 A._ForwardingStream.prototype = {
29090 get$isBroadcast() {
29091 return this._async$_source.get$isBroadcast();
29092 },
29093 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
29094 var t1 = this.$ti,
29095 t2 = t1._rest[1],
29096 t3 = $.Zone__current,
29097 t4 = cancelOnError === true ? 1 : 0,
29098 t5 = A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2),
29099 t6 = A._BufferingStreamSubscription__registerErrorHandler(t3, onError),
29100 t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
29101 t2 = new A._ForwardingStreamSubscription(this, t5, t6, t3.registerCallback$1$1(t7, type$.void), t3, t4, t1._eval$1("@<1>")._bind$1(t2)._eval$1("_ForwardingStreamSubscription<1,2>"));
29102 t2._subscription = this._async$_source.listen$3$onDone$onError(0, t2.get$_handleData(), t2.get$_handleDone(), t2.get$_handleError());
29103 return t2;
29104 },
29105 listen$1($receiver, onData) {
29106 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
29107 },
29108 listen$3$onDone$onError($receiver, onData, onDone, onError) {
29109 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
29110 }
29111 };
29112 A._ForwardingStreamSubscription.prototype = {
29113 _async$_add$1(data) {
29114 if ((this._state & 2) !== 0)
29115 return;
29116 this.super$_BufferingStreamSubscription$_add(data);
29117 },
29118 _addError$2(error, stackTrace) {
29119 if ((this._state & 2) !== 0)
29120 return;
29121 this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
29122 },
29123 _async$_onPause$0() {
29124 var t1 = this._subscription;
29125 if (t1 != null)
29126 t1.pause$0(0);
29127 },
29128 _async$_onResume$0() {
29129 var t1 = this._subscription;
29130 if (t1 != null)
29131 t1.resume$0(0);
29132 },
29133 _async$_onCancel$0() {
29134 var subscription = this._subscription;
29135 if (subscription != null) {
29136 this._subscription = null;
29137 return subscription.cancel$0();
29138 }
29139 return null;
29140 },
29141 _handleData$1(data) {
29142 this._stream._handleData$2(data, this);
29143 },
29144 _handleError$2(error, stackTrace) {
29145 this._addError$2(error, stackTrace);
29146 },
29147 _handleDone$0() {
29148 this._close$0();
29149 }
29150 };
29151 A._ExpandStream.prototype = {
29152 _handleData$2(inputEvent, sink) {
29153 var value, e, s, t1, exception, error, stackTrace, replacement;
29154 try {
29155 for (t1 = J.get$iterator$ax(this._expand.call$1(inputEvent)); t1.moveNext$0();) {
29156 value = t1.get$current(t1);
29157 sink._async$_add$1(value);
29158 }
29159 } catch (exception) {
29160 e = A.unwrapException(exception);
29161 s = A.getTraceFromException(exception);
29162 error = e;
29163 stackTrace = s;
29164 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
29165 if (replacement != null) {
29166 error = replacement.error;
29167 stackTrace = replacement.stackTrace;
29168 }
29169 sink._addError$2(error, stackTrace);
29170 }
29171 }
29172 };
29173 A._ZoneFunction.prototype = {};
29174 A._RunNullaryZoneFunction.prototype = {};
29175 A._RunUnaryZoneFunction.prototype = {};
29176 A._RunBinaryZoneFunction.prototype = {};
29177 A._RegisterNullaryZoneFunction.prototype = {};
29178 A._RegisterUnaryZoneFunction.prototype = {};
29179 A._RegisterBinaryZoneFunction.prototype = {};
29180 A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
29181 A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
29182 A._Zone.prototype = {
29183 _processUncaughtError$3(zone, error, stackTrace) {
29184 var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
29185 implementation = this.get$_handleUncaughtError(),
29186 implZone = implementation.zone;
29187 if (implZone === B.C__RootZone) {
29188 A._rootHandleError(error, stackTrace);
29189 return;
29190 }
29191 handler = implementation.$function;
29192 parentDelegate = implZone.get$_parentDelegate();
29193 t1 = J.get$parent$z(implZone);
29194 t1.toString;
29195 parentZone = t1;
29196 currentZone = $.Zone__current;
29197 try {
29198 $.Zone__current = parentZone;
29199 handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
29200 $.Zone__current = currentZone;
29201 } catch (exception) {
29202 e = A.unwrapException(exception);
29203 s = A.getTraceFromException(exception);
29204 $.Zone__current = currentZone;
29205 t1 = error === e ? stackTrace : s;
29206 parentZone._processUncaughtError$3(implZone, e, t1);
29207 }
29208 },
29209 $isZone: 1
29210 };
29211 A._CustomZone.prototype = {
29212 get$_delegate() {
29213 var t1 = this._delegateCache;
29214 return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
29215 },
29216 get$_parentDelegate() {
29217 return this.parent.get$_delegate();
29218 },
29219 get$errorZone() {
29220 return this._handleUncaughtError.zone;
29221 },
29222 runGuarded$1(f) {
29223 var e, s, exception;
29224 try {
29225 this.run$1$1(0, f, type$.void);
29226 } catch (exception) {
29227 e = A.unwrapException(exception);
29228 s = A.getTraceFromException(exception);
29229 this._processUncaughtError$3(this, e, s);
29230 }
29231 },
29232 runUnaryGuarded$1$2(f, arg, $T) {
29233 var e, s, exception;
29234 try {
29235 this.runUnary$2$2(f, arg, type$.void, $T);
29236 } catch (exception) {
29237 e = A.unwrapException(exception);
29238 s = A.getTraceFromException(exception);
29239 this._processUncaughtError$3(this, e, s);
29240 }
29241 },
29242 runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
29243 var e, s, exception;
29244 try {
29245 this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
29246 } catch (exception) {
29247 e = A.unwrapException(exception);
29248 s = A.getTraceFromException(exception);
29249 this._processUncaughtError$3(this, e, s);
29250 }
29251 },
29252 bindCallback$1$1(f, $R) {
29253 return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
29254 },
29255 bindUnaryCallback$2$1(f, $R, $T) {
29256 return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
29257 },
29258 bindCallbackGuarded$1(f) {
29259 return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
29260 },
29261 $index(_, key) {
29262 var value,
29263 t1 = this._async$_map,
29264 result = t1.$index(0, key);
29265 if (result != null || t1.containsKey$1(key))
29266 return result;
29267 value = this.parent.$index(0, key);
29268 if (value != null)
29269 t1.$indexSet(0, key, value);
29270 return value;
29271 },
29272 handleUncaughtError$2(error, stackTrace) {
29273 this._processUncaughtError$3(this, error, stackTrace);
29274 },
29275 fork$2$specification$zoneValues(specification, zoneValues) {
29276 var implementation = this._fork,
29277 t1 = implementation.zone;
29278 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
29279 },
29280 run$1$1(_, f) {
29281 var implementation = this._run,
29282 t1 = implementation.zone;
29283 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
29284 },
29285 runUnary$2$2(f, arg) {
29286 var implementation = this._runUnary,
29287 t1 = implementation.zone;
29288 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
29289 },
29290 runBinary$3$3(f, arg1, arg2) {
29291 var implementation = this._runBinary,
29292 t1 = implementation.zone;
29293 return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
29294 },
29295 registerCallback$1$1(callback) {
29296 var implementation = this._registerCallback,
29297 t1 = implementation.zone;
29298 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29299 },
29300 registerUnaryCallback$2$1(callback) {
29301 var implementation = this._registerUnaryCallback,
29302 t1 = implementation.zone;
29303 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29304 },
29305 registerBinaryCallback$3$1(callback) {
29306 var implementation = this._registerBinaryCallback,
29307 t1 = implementation.zone;
29308 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
29309 },
29310 errorCallback$2(error, stackTrace) {
29311 var implementation, implementationZone;
29312 A.checkNotNullable(error, "error", type$.Object);
29313 implementation = this._errorCallback;
29314 implementationZone = implementation.zone;
29315 if (implementationZone === B.C__RootZone)
29316 return null;
29317 return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
29318 },
29319 scheduleMicrotask$1(f) {
29320 var implementation = this._scheduleMicrotask,
29321 t1 = implementation.zone;
29322 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
29323 },
29324 createTimer$2(duration, f) {
29325 var implementation = this._createTimer,
29326 t1 = implementation.zone;
29327 return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
29328 },
29329 print$1(line) {
29330 var implementation = this._print,
29331 t1 = implementation.zone;
29332 return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
29333 },
29334 get$_run() {
29335 return this._run;
29336 },
29337 get$_runUnary() {
29338 return this._runUnary;
29339 },
29340 get$_runBinary() {
29341 return this._runBinary;
29342 },
29343 get$_registerCallback() {
29344 return this._registerCallback;
29345 },
29346 get$_registerUnaryCallback() {
29347 return this._registerUnaryCallback;
29348 },
29349 get$_registerBinaryCallback() {
29350 return this._registerBinaryCallback;
29351 },
29352 get$_errorCallback() {
29353 return this._errorCallback;
29354 },
29355 get$_scheduleMicrotask() {
29356 return this._scheduleMicrotask;
29357 },
29358 get$_createTimer() {
29359 return this._createTimer;
29360 },
29361 get$_createPeriodicTimer() {
29362 return this._createPeriodicTimer;
29363 },
29364 get$_print() {
29365 return this._print;
29366 },
29367 get$_fork() {
29368 return this._fork;
29369 },
29370 get$_handleUncaughtError() {
29371 return this._handleUncaughtError;
29372 },
29373 get$parent(receiver) {
29374 return this.parent;
29375 },
29376 get$_async$_map() {
29377 return this._async$_map;
29378 }
29379 };
29380 A._CustomZone_bindCallback_closure.prototype = {
29381 call$0() {
29382 return this.$this.run$1$1(0, this.registered, this.R);
29383 },
29384 $signature() {
29385 return this.R._eval$1("0()");
29386 }
29387 };
29388 A._CustomZone_bindUnaryCallback_closure.prototype = {
29389 call$1(arg) {
29390 var _this = this;
29391 return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
29392 },
29393 $signature() {
29394 return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
29395 }
29396 };
29397 A._CustomZone_bindCallbackGuarded_closure.prototype = {
29398 call$0() {
29399 return this.$this.runGuarded$1(this.registered);
29400 },
29401 $signature: 0
29402 };
29403 A._rootHandleError_closure.prototype = {
29404 call$0() {
29405 var error = A.wrapException(this.error);
29406 error.stack = this.stackTrace.toString$0(0);
29407 throw error;
29408 },
29409 $signature: 0
29410 };
29411 A._RootZone.prototype = {
29412 get$_run() {
29413 return B._RunNullaryZoneFunction__RootZone__rootRun;
29414 },
29415 get$_runUnary() {
29416 return B._RunUnaryZoneFunction__RootZone__rootRunUnary;
29417 },
29418 get$_runBinary() {
29419 return B._RunBinaryZoneFunction__RootZone__rootRunBinary;
29420 },
29421 get$_registerCallback() {
29422 return B._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback;
29423 },
29424 get$_registerUnaryCallback() {
29425 return B._RegisterUnaryZoneFunction_Bqo;
29426 },
29427 get$_registerBinaryCallback() {
29428 return B._RegisterBinaryZoneFunction_kGu;
29429 },
29430 get$_errorCallback() {
29431 return B._ZoneFunction__RootZone__rootErrorCallback;
29432 },
29433 get$_scheduleMicrotask() {
29434 return B._ZoneFunction__RootZone__rootScheduleMicrotask;
29435 },
29436 get$_createTimer() {
29437 return B._ZoneFunction__RootZone__rootCreateTimer;
29438 },
29439 get$_createPeriodicTimer() {
29440 return B._ZoneFunction_3bB;
29441 },
29442 get$_print() {
29443 return B._ZoneFunction__RootZone__rootPrint;
29444 },
29445 get$_fork() {
29446 return B._ZoneFunction__RootZone__rootFork;
29447 },
29448 get$_handleUncaughtError() {
29449 return B._ZoneFunction_NMc;
29450 },
29451 get$parent(_) {
29452 return null;
29453 },
29454 get$_async$_map() {
29455 return $.$get$_RootZone__rootMap();
29456 },
29457 get$_delegate() {
29458 var t1 = $._RootZone__rootDelegate;
29459 return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
29460 },
29461 get$_parentDelegate() {
29462 var t1 = $._RootZone__rootDelegate;
29463 return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
29464 },
29465 get$errorZone() {
29466 return this;
29467 },
29468 runGuarded$1(f) {
29469 var e, s, exception;
29470 try {
29471 if (B.C__RootZone === $.Zone__current) {
29472 f.call$0();
29473 return;
29474 }
29475 A._rootRun(null, null, this, f);
29476 } catch (exception) {
29477 e = A.unwrapException(exception);
29478 s = A.getTraceFromException(exception);
29479 A._rootHandleError(e, s);
29480 }
29481 },
29482 runUnaryGuarded$1$2(f, arg) {
29483 var e, s, exception;
29484 try {
29485 if (B.C__RootZone === $.Zone__current) {
29486 f.call$1(arg);
29487 return;
29488 }
29489 A._rootRunUnary(null, null, this, f, arg);
29490 } catch (exception) {
29491 e = A.unwrapException(exception);
29492 s = A.getTraceFromException(exception);
29493 A._rootHandleError(e, s);
29494 }
29495 },
29496 runBinaryGuarded$2$3(f, arg1, arg2) {
29497 var e, s, exception;
29498 try {
29499 if (B.C__RootZone === $.Zone__current) {
29500 f.call$2(arg1, arg2);
29501 return;
29502 }
29503 A._rootRunBinary(null, null, this, f, arg1, arg2);
29504 } catch (exception) {
29505 e = A.unwrapException(exception);
29506 s = A.getTraceFromException(exception);
29507 A._rootHandleError(e, s);
29508 }
29509 },
29510 bindCallback$1$1(f, $R) {
29511 return new A._RootZone_bindCallback_closure(this, f, $R);
29512 },
29513 bindUnaryCallback$2$1(f, $R, $T) {
29514 return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
29515 },
29516 bindCallbackGuarded$1(f) {
29517 return new A._RootZone_bindCallbackGuarded_closure(this, f);
29518 },
29519 $index(_, key) {
29520 return null;
29521 },
29522 handleUncaughtError$2(error, stackTrace) {
29523 A._rootHandleError(error, stackTrace);
29524 },
29525 fork$2$specification$zoneValues(specification, zoneValues) {
29526 return A._rootFork(null, null, this, specification, zoneValues);
29527 },
29528 run$1$1(_, f) {
29529 if ($.Zone__current === B.C__RootZone)
29530 return f.call$0();
29531 return A._rootRun(null, null, this, f);
29532 },
29533 runUnary$2$2(f, arg) {
29534 if ($.Zone__current === B.C__RootZone)
29535 return f.call$1(arg);
29536 return A._rootRunUnary(null, null, this, f, arg);
29537 },
29538 runBinary$3$3(f, arg1, arg2) {
29539 if ($.Zone__current === B.C__RootZone)
29540 return f.call$2(arg1, arg2);
29541 return A._rootRunBinary(null, null, this, f, arg1, arg2);
29542 },
29543 registerCallback$1$1(f) {
29544 return f;
29545 },
29546 registerUnaryCallback$2$1(f) {
29547 return f;
29548 },
29549 registerBinaryCallback$3$1(f) {
29550 return f;
29551 },
29552 errorCallback$2(error, stackTrace) {
29553 return null;
29554 },
29555 scheduleMicrotask$1(f) {
29556 A._rootScheduleMicrotask(null, null, this, f);
29557 },
29558 createTimer$2(duration, f) {
29559 return A.Timer__createTimer(duration, f);
29560 },
29561 print$1(line) {
29562 A.printString(line);
29563 }
29564 };
29565 A._RootZone_bindCallback_closure.prototype = {
29566 call$0() {
29567 return this.$this.run$1$1(0, this.f, this.R);
29568 },
29569 $signature() {
29570 return this.R._eval$1("0()");
29571 }
29572 };
29573 A._RootZone_bindUnaryCallback_closure.prototype = {
29574 call$1(arg) {
29575 var _this = this;
29576 return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
29577 },
29578 $signature() {
29579 return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
29580 }
29581 };
29582 A._RootZone_bindCallbackGuarded_closure.prototype = {
29583 call$0() {
29584 return this.$this.runGuarded$1(this.f);
29585 },
29586 $signature: 0
29587 };
29588 A._HashMap.prototype = {
29589 get$length(_) {
29590 return this._collection$_length;
29591 },
29592 get$isEmpty(_) {
29593 return this._collection$_length === 0;
29594 },
29595 get$isNotEmpty(_) {
29596 return this._collection$_length !== 0;
29597 },
29598 get$keys(_) {
29599 return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
29600 },
29601 get$values(_) {
29602 var t1 = A._instanceType(this);
29603 return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
29604 },
29605 containsKey$1(key) {
29606 var strings, nums;
29607 if (typeof key == "string" && key !== "__proto__") {
29608 strings = this._collection$_strings;
29609 return strings == null ? false : strings[key] != null;
29610 } else if (typeof key == "number" && (key & 1073741823) === key) {
29611 nums = this._collection$_nums;
29612 return nums == null ? false : nums[key] != null;
29613 } else
29614 return this._containsKey$1(key);
29615 },
29616 _containsKey$1(key) {
29617 var rest = this._collection$_rest;
29618 if (rest == null)
29619 return false;
29620 return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
29621 },
29622 addAll$1(_, other) {
29623 other.forEach$1(0, new A._HashMap_addAll_closure(this));
29624 },
29625 $index(_, key) {
29626 var strings, t1, nums;
29627 if (typeof key == "string" && key !== "__proto__") {
29628 strings = this._collection$_strings;
29629 t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
29630 return t1;
29631 } else if (typeof key == "number" && (key & 1073741823) === key) {
29632 nums = this._collection$_nums;
29633 t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
29634 return t1;
29635 } else
29636 return this._get$1(key);
29637 },
29638 _get$1(key) {
29639 var bucket, index,
29640 rest = this._collection$_rest;
29641 if (rest == null)
29642 return null;
29643 bucket = this._getBucket$2(rest, key);
29644 index = this._findBucketIndex$2(bucket, key);
29645 return index < 0 ? null : bucket[index + 1];
29646 },
29647 $indexSet(_, key, value) {
29648 var strings, nums, _this = this;
29649 if (typeof key == "string" && key !== "__proto__") {
29650 strings = _this._collection$_strings;
29651 _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
29652 } else if (typeof key == "number" && (key & 1073741823) === key) {
29653 nums = _this._collection$_nums;
29654 _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
29655 } else
29656 _this._set$2(key, value);
29657 },
29658 _set$2(key, value) {
29659 var hash, bucket, index, _this = this,
29660 rest = _this._collection$_rest;
29661 if (rest == null)
29662 rest = _this._collection$_rest = A._HashMap__newHashTable();
29663 hash = _this._computeHashCode$1(key);
29664 bucket = rest[hash];
29665 if (bucket == null) {
29666 A._HashMap__setTableEntry(rest, hash, [key, value]);
29667 ++_this._collection$_length;
29668 _this._keys = null;
29669 } else {
29670 index = _this._findBucketIndex$2(bucket, key);
29671 if (index >= 0)
29672 bucket[index + 1] = value;
29673 else {
29674 bucket.push(key, value);
29675 ++_this._collection$_length;
29676 _this._keys = null;
29677 }
29678 }
29679 },
29680 remove$1(_, key) {
29681 var t1;
29682 if (typeof key == "string" && key !== "__proto__")
29683 return this._removeHashTableEntry$2(this._collection$_strings, key);
29684 else {
29685 t1 = this._remove$1(key);
29686 return t1;
29687 }
29688 },
29689 _remove$1(key) {
29690 var hash, bucket, index, result, _this = this,
29691 rest = _this._collection$_rest;
29692 if (rest == null)
29693 return null;
29694 hash = _this._computeHashCode$1(key);
29695 bucket = rest[hash];
29696 index = _this._findBucketIndex$2(bucket, key);
29697 if (index < 0)
29698 return null;
29699 --_this._collection$_length;
29700 _this._keys = null;
29701 result = bucket.splice(index, 2)[1];
29702 if (0 === bucket.length)
29703 delete rest[hash];
29704 return result;
29705 },
29706 forEach$1(_, action) {
29707 var $length, t1, i, key, _this = this,
29708 keys = _this._computeKeys$0();
29709 for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
29710 key = keys[i];
29711 action.call$2(key, t1._as(_this.$index(0, key)));
29712 if (keys !== _this._keys)
29713 throw A.wrapException(A.ConcurrentModificationError$(_this));
29714 }
29715 },
29716 _computeKeys$0() {
29717 var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this,
29718 result = _this._keys;
29719 if (result != null)
29720 return result;
29721 result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
29722 strings = _this._collection$_strings;
29723 if (strings != null) {
29724 names = Object.getOwnPropertyNames(strings);
29725 entries = names.length;
29726 for (index = 0, i = 0; i < entries; ++i) {
29727 result[index] = names[i];
29728 ++index;
29729 }
29730 } else
29731 index = 0;
29732 nums = _this._collection$_nums;
29733 if (nums != null) {
29734 names = Object.getOwnPropertyNames(nums);
29735 entries = names.length;
29736 for (i = 0; i < entries; ++i) {
29737 result[index] = +names[i];
29738 ++index;
29739 }
29740 }
29741 rest = _this._collection$_rest;
29742 if (rest != null) {
29743 names = Object.getOwnPropertyNames(rest);
29744 entries = names.length;
29745 for (i = 0; i < entries; ++i) {
29746 bucket = rest[names[i]];
29747 $length = bucket.length;
29748 for (i0 = 0; i0 < $length; i0 += 2) {
29749 result[index] = bucket[i0];
29750 ++index;
29751 }
29752 }
29753 }
29754 return _this._keys = result;
29755 },
29756 _collection$_addHashTableEntry$3(table, key, value) {
29757 if (table[key] == null) {
29758 ++this._collection$_length;
29759 this._keys = null;
29760 }
29761 A._HashMap__setTableEntry(table, key, value);
29762 },
29763 _removeHashTableEntry$2(table, key) {
29764 var value;
29765 if (table != null && table[key] != null) {
29766 value = A._HashMap__getTableEntry(table, key);
29767 delete table[key];
29768 --this._collection$_length;
29769 this._keys = null;
29770 return value;
29771 } else
29772 return null;
29773 },
29774 _computeHashCode$1(key) {
29775 return J.get$hashCode$(key) & 1073741823;
29776 },
29777 _getBucket$2(table, key) {
29778 return table[this._computeHashCode$1(key)];
29779 },
29780 _findBucketIndex$2(bucket, key) {
29781 var $length, i;
29782 if (bucket == null)
29783 return -1;
29784 $length = bucket.length;
29785 for (i = 0; i < $length; i += 2)
29786 if (J.$eq$(bucket[i], key))
29787 return i;
29788 return -1;
29789 }
29790 };
29791 A._HashMap_values_closure.prototype = {
29792 call$1(each) {
29793 var t1 = this.$this;
29794 return A._instanceType(t1)._rest[1]._as(t1.$index(0, each));
29795 },
29796 $signature() {
29797 return A._instanceType(this.$this)._eval$1("2(1)");
29798 }
29799 };
29800 A._HashMap_addAll_closure.prototype = {
29801 call$2(key, value) {
29802 this.$this.$indexSet(0, key, value);
29803 },
29804 $signature() {
29805 return A._instanceType(this.$this)._eval$1("~(1,2)");
29806 }
29807 };
29808 A._IdentityHashMap.prototype = {
29809 _computeHashCode$1(key) {
29810 return A.objectHashCode(key) & 1073741823;
29811 },
29812 _findBucketIndex$2(bucket, key) {
29813 var $length, i, t1;
29814 if (bucket == null)
29815 return -1;
29816 $length = bucket.length;
29817 for (i = 0; i < $length; i += 2) {
29818 t1 = bucket[i];
29819 if (t1 == null ? key == null : t1 === key)
29820 return i;
29821 }
29822 return -1;
29823 }
29824 };
29825 A._HashMapKeyIterable.prototype = {
29826 get$length(_) {
29827 return this._map._collection$_length;
29828 },
29829 get$isEmpty(_) {
29830 return this._map._collection$_length === 0;
29831 },
29832 get$iterator(_) {
29833 var t1 = this._map;
29834 return new A._HashMapKeyIterator(t1, t1._computeKeys$0());
29835 },
29836 contains$1(_, element) {
29837 return this._map.containsKey$1(element);
29838 }
29839 };
29840 A._HashMapKeyIterator.prototype = {
29841 get$current(_) {
29842 return A._instanceType(this)._precomputed1._as(this._collection$_current);
29843 },
29844 moveNext$0() {
29845 var _this = this,
29846 keys = _this._keys,
29847 offset = _this._offset,
29848 t1 = _this._map;
29849 if (keys !== t1._keys)
29850 throw A.wrapException(A.ConcurrentModificationError$(t1));
29851 else if (offset >= keys.length) {
29852 _this._collection$_current = null;
29853 return false;
29854 } else {
29855 _this._collection$_current = keys[offset];
29856 _this._offset = offset + 1;
29857 return true;
29858 }
29859 }
29860 };
29861 A._LinkedIdentityHashMap.prototype = {
29862 internalComputeHashCode$1(key) {
29863 return A.objectHashCode(key) & 1073741823;
29864 },
29865 internalFindBucketIndex$2(bucket, key) {
29866 var $length, i, t1;
29867 if (bucket == null)
29868 return -1;
29869 $length = bucket.length;
29870 for (i = 0; i < $length; ++i) {
29871 t1 = bucket[i].hashMapCellKey;
29872 if (t1 == null ? key == null : t1 === key)
29873 return i;
29874 }
29875 return -1;
29876 }
29877 };
29878 A._LinkedCustomHashMap.prototype = {
29879 $index(_, key) {
29880 if (!this._validKey.call$1(key))
29881 return null;
29882 return this.super$JsLinkedHashMap$internalGet(key);
29883 },
29884 $indexSet(_, key, value) {
29885 this.super$JsLinkedHashMap$internalSet(key, value);
29886 },
29887 containsKey$1(key) {
29888 if (!this._validKey.call$1(key))
29889 return false;
29890 return this.super$JsLinkedHashMap$internalContainsKey(key);
29891 },
29892 remove$1(_, key) {
29893 if (!this._validKey.call$1(key))
29894 return null;
29895 return this.super$JsLinkedHashMap$internalRemove(key);
29896 },
29897 internalComputeHashCode$1(key) {
29898 return this._hashCode.call$1(key) & 1073741823;
29899 },
29900 internalFindBucketIndex$2(bucket, key) {
29901 var $length, t1, i;
29902 if (bucket == null)
29903 return -1;
29904 $length = bucket.length;
29905 for (t1 = this._equals, i = 0; i < $length; ++i)
29906 if (t1.call$2(bucket[i].hashMapCellKey, key))
29907 return i;
29908 return -1;
29909 }
29910 };
29911 A._LinkedCustomHashMap_closure.prototype = {
29912 call$1(v) {
29913 return this.K._is(v);
29914 },
29915 $signature: 138
29916 };
29917 A._LinkedHashSet.prototype = {
29918 _newSet$0() {
29919 return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
29920 },
29921 _newSimilarSet$1$0($R) {
29922 return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
29923 },
29924 _newSimilarSet$0() {
29925 return this._newSimilarSet$1$0(type$.dynamic);
29926 },
29927 get$iterator(_) {
29928 var t1 = new A._LinkedHashSetIterator(this, this._collection$_modifications);
29929 t1._collection$_cell = this._collection$_first;
29930 return t1;
29931 },
29932 get$length(_) {
29933 return this._collection$_length;
29934 },
29935 get$isEmpty(_) {
29936 return this._collection$_length === 0;
29937 },
29938 get$isNotEmpty(_) {
29939 return this._collection$_length !== 0;
29940 },
29941 contains$1(_, object) {
29942 var strings, nums;
29943 if (typeof object == "string" && object !== "__proto__") {
29944 strings = this._collection$_strings;
29945 if (strings == null)
29946 return false;
29947 return strings[object] != null;
29948 } else if (typeof object == "number" && (object & 1073741823) === object) {
29949 nums = this._collection$_nums;
29950 if (nums == null)
29951 return false;
29952 return nums[object] != null;
29953 } else
29954 return this._contains$1(object);
29955 },
29956 _contains$1(object) {
29957 var rest = this._collection$_rest;
29958 if (rest == null)
29959 return false;
29960 return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
29961 },
29962 get$first(_) {
29963 var first = this._collection$_first;
29964 if (first == null)
29965 throw A.wrapException(A.StateError$("No elements"));
29966 return first._element;
29967 },
29968 get$last(_) {
29969 var last = this._collection$_last;
29970 if (last == null)
29971 throw A.wrapException(A.StateError$("No elements"));
29972 return last._element;
29973 },
29974 add$1(_, element) {
29975 var strings, nums, _this = this;
29976 if (typeof element == "string" && element !== "__proto__") {
29977 strings = _this._collection$_strings;
29978 return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
29979 } else if (typeof element == "number" && (element & 1073741823) === element) {
29980 nums = _this._collection$_nums;
29981 return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
29982 } else
29983 return _this._add$1(element);
29984 },
29985 _add$1(element) {
29986 var hash, bucket, _this = this,
29987 rest = _this._collection$_rest;
29988 if (rest == null)
29989 rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
29990 hash = _this._computeHashCode$1(element);
29991 bucket = rest[hash];
29992 if (bucket == null)
29993 rest[hash] = [_this._collection$_newLinkedCell$1(element)];
29994 else {
29995 if (_this._findBucketIndex$2(bucket, element) >= 0)
29996 return false;
29997 bucket.push(_this._collection$_newLinkedCell$1(element));
29998 }
29999 return true;
30000 },
30001 remove$1(_, object) {
30002 var _this = this;
30003 if (typeof object == "string" && object !== "__proto__")
30004 return _this._removeHashTableEntry$2(_this._collection$_strings, object);
30005 else if (typeof object == "number" && (object & 1073741823) === object)
30006 return _this._removeHashTableEntry$2(_this._collection$_nums, object);
30007 else
30008 return _this._remove$1(object);
30009 },
30010 _remove$1(object) {
30011 var hash, bucket, index, cell, _this = this,
30012 rest = _this._collection$_rest;
30013 if (rest == null)
30014 return false;
30015 hash = _this._computeHashCode$1(object);
30016 bucket = rest[hash];
30017 index = _this._findBucketIndex$2(bucket, object);
30018 if (index < 0)
30019 return false;
30020 cell = bucket.splice(index, 1)[0];
30021 if (0 === bucket.length)
30022 delete rest[hash];
30023 _this._unlinkCell$1(cell);
30024 return true;
30025 },
30026 _collection$_addHashTableEntry$2(table, element) {
30027 if (table[element] != null)
30028 return false;
30029 table[element] = this._collection$_newLinkedCell$1(element);
30030 return true;
30031 },
30032 _removeHashTableEntry$2(table, element) {
30033 var cell;
30034 if (table == null)
30035 return false;
30036 cell = table[element];
30037 if (cell == null)
30038 return false;
30039 this._unlinkCell$1(cell);
30040 delete table[element];
30041 return true;
30042 },
30043 _collection$_modified$0() {
30044 this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
30045 },
30046 _collection$_newLinkedCell$1(element) {
30047 var t1, _this = this,
30048 cell = new A._LinkedHashSetCell(element);
30049 if (_this._collection$_first == null)
30050 _this._collection$_first = _this._collection$_last = cell;
30051 else {
30052 t1 = _this._collection$_last;
30053 t1.toString;
30054 cell._collection$_previous = t1;
30055 _this._collection$_last = t1._collection$_next = cell;
30056 }
30057 ++_this._collection$_length;
30058 _this._collection$_modified$0();
30059 return cell;
30060 },
30061 _unlinkCell$1(cell) {
30062 var _this = this,
30063 previous = cell._collection$_previous,
30064 next = cell._collection$_next;
30065 if (previous == null)
30066 _this._collection$_first = next;
30067 else
30068 previous._collection$_next = next;
30069 if (next == null)
30070 _this._collection$_last = previous;
30071 else
30072 next._collection$_previous = previous;
30073 --_this._collection$_length;
30074 _this._collection$_modified$0();
30075 },
30076 _computeHashCode$1(element) {
30077 return J.get$hashCode$(element) & 1073741823;
30078 },
30079 _findBucketIndex$2(bucket, element) {
30080 var $length, i;
30081 if (bucket == null)
30082 return -1;
30083 $length = bucket.length;
30084 for (i = 0; i < $length; ++i)
30085 if (J.$eq$(bucket[i]._element, element))
30086 return i;
30087 return -1;
30088 }
30089 };
30090 A._LinkedIdentityHashSet.prototype = {
30091 _newSet$0() {
30092 return new A._LinkedIdentityHashSet(this.$ti);
30093 },
30094 _newSimilarSet$1$0($R) {
30095 return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
30096 },
30097 _newSimilarSet$0() {
30098 return this._newSimilarSet$1$0(type$.dynamic);
30099 },
30100 _computeHashCode$1(key) {
30101 return A.objectHashCode(key) & 1073741823;
30102 },
30103 _findBucketIndex$2(bucket, element) {
30104 var $length, i, t1;
30105 if (bucket == null)
30106 return -1;
30107 $length = bucket.length;
30108 for (i = 0; i < $length; ++i) {
30109 t1 = bucket[i]._element;
30110 if (t1 == null ? element == null : t1 === element)
30111 return i;
30112 }
30113 return -1;
30114 }
30115 };
30116 A._LinkedHashSetCell.prototype = {};
30117 A._LinkedHashSetIterator.prototype = {
30118 get$current(_) {
30119 return A._instanceType(this)._precomputed1._as(this._collection$_current);
30120 },
30121 moveNext$0() {
30122 var _this = this,
30123 cell = _this._collection$_cell,
30124 t1 = _this._set;
30125 if (_this._collection$_modifications !== t1._collection$_modifications)
30126 throw A.wrapException(A.ConcurrentModificationError$(t1));
30127 else if (cell == null) {
30128 _this._collection$_current = null;
30129 return false;
30130 } else {
30131 _this._collection$_current = cell._element;
30132 _this._collection$_cell = cell._collection$_next;
30133 return true;
30134 }
30135 }
30136 };
30137 A.UnmodifiableListView.prototype = {
30138 cast$1$0(_, $R) {
30139 return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
30140 },
30141 get$length(_) {
30142 return J.get$length$asx(this._collection$_source);
30143 },
30144 $index(_, index) {
30145 return J.elementAt$1$ax(this._collection$_source, index);
30146 }
30147 };
30148 A.HashMap_HashMap$from_closure.prototype = {
30149 call$2(k, v) {
30150 this.result.$indexSet(0, this.K._as(k), this.V._as(v));
30151 },
30152 $signature: 202
30153 };
30154 A.IterableBase.prototype = {};
30155 A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
30156 call$2(k, v) {
30157 this.result.$indexSet(0, this.K._as(k), this.V._as(v));
30158 },
30159 $signature: 202
30160 };
30161 A.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1};
30162 A.ListMixin.prototype = {
30163 get$iterator(receiver) {
30164 return new A.ListIterator(receiver, this.get$length(receiver));
30165 },
30166 elementAt$1(receiver, index) {
30167 return this.$index(receiver, index);
30168 },
30169 get$isEmpty(receiver) {
30170 return this.get$length(receiver) === 0;
30171 },
30172 get$isNotEmpty(receiver) {
30173 return !this.get$isEmpty(receiver);
30174 },
30175 get$first(receiver) {
30176 if (this.get$length(receiver) === 0)
30177 throw A.wrapException(A.IterableElementError_noElement());
30178 return this.$index(receiver, 0);
30179 },
30180 get$last(receiver) {
30181 if (this.get$length(receiver) === 0)
30182 throw A.wrapException(A.IterableElementError_noElement());
30183 return this.$index(receiver, this.get$length(receiver) - 1);
30184 },
30185 get$single(receiver) {
30186 if (this.get$length(receiver) === 0)
30187 throw A.wrapException(A.IterableElementError_noElement());
30188 if (this.get$length(receiver) > 1)
30189 throw A.wrapException(A.IterableElementError_tooMany());
30190 return this.$index(receiver, 0);
30191 },
30192 contains$1(receiver, element) {
30193 var i,
30194 $length = this.get$length(receiver);
30195 for (i = 0; i < $length; ++i) {
30196 if (J.$eq$(this.$index(receiver, i), element))
30197 return true;
30198 if ($length !== this.get$length(receiver))
30199 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30200 }
30201 return false;
30202 },
30203 every$1(receiver, test) {
30204 var i,
30205 $length = this.get$length(receiver);
30206 for (i = 0; i < $length; ++i) {
30207 if (!test.call$1(this.$index(receiver, i)))
30208 return false;
30209 if ($length !== this.get$length(receiver))
30210 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30211 }
30212 return true;
30213 },
30214 any$1(receiver, test) {
30215 var i,
30216 $length = this.get$length(receiver);
30217 for (i = 0; i < $length; ++i) {
30218 if (test.call$1(this.$index(receiver, i)))
30219 return true;
30220 if ($length !== this.get$length(receiver))
30221 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30222 }
30223 return false;
30224 },
30225 lastWhere$2$orElse(receiver, test, orElse) {
30226 var i, element,
30227 $length = this.get$length(receiver);
30228 for (i = $length - 1; i >= 0; --i) {
30229 element = this.$index(receiver, i);
30230 if (test.call$1(element))
30231 return element;
30232 if ($length !== this.get$length(receiver))
30233 throw A.wrapException(A.ConcurrentModificationError$(receiver));
30234 }
30235 if (orElse != null)
30236 return orElse.call$0();
30237 throw A.wrapException(A.IterableElementError_noElement());
30238 },
30239 join$1(receiver, separator) {
30240 var t1;
30241 if (this.get$length(receiver) === 0)
30242 return "";
30243 t1 = A.StringBuffer__writeAll("", receiver, separator);
30244 return t1.charCodeAt(0) == 0 ? t1 : t1;
30245 },
30246 join$0($receiver) {
30247 return this.join$1($receiver, "");
30248 },
30249 where$1(receiver, test) {
30250 return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListMixin.E>"));
30251 },
30252 map$1$1(receiver, f, $T) {
30253 return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
30254 },
30255 expand$1$1(receiver, f, $T) {
30256 return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
30257 },
30258 skip$1(receiver, count) {
30259 return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListMixin.E"));
30260 },
30261 take$1(receiver, count) {
30262 return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListMixin.E"));
30263 },
30264 toList$1$growable(receiver, growable) {
30265 var t1, first, result, i, _this = this;
30266 if (_this.get$isEmpty(receiver)) {
30267 t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListMixin.E"));
30268 return t1;
30269 }
30270 first = _this.$index(receiver, 0);
30271 result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListMixin.E"));
30272 for (i = 1; i < _this.get$length(receiver); ++i)
30273 result[i] = _this.$index(receiver, i);
30274 return result;
30275 },
30276 toList$0($receiver) {
30277 return this.toList$1$growable($receiver, true);
30278 },
30279 toSet$0(receiver) {
30280 var i,
30281 result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListMixin.E"));
30282 for (i = 0; i < this.get$length(receiver); ++i)
30283 result.add$1(0, this.$index(receiver, i));
30284 return result;
30285 },
30286 add$1(receiver, element) {
30287 var t1 = this.get$length(receiver);
30288 this.set$length(receiver, t1 + 1);
30289 this.$indexSet(receiver, t1, element);
30290 },
30291 cast$1$0(receiver, $R) {
30292 return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($R)._eval$1("CastList<1,2>"));
30293 },
30294 sort$1(receiver, compare) {
30295 A.Sort_sort(receiver, compare == null ? A.collection_ListMixin__compareAny$closure() : compare);
30296 },
30297 sublist$2(receiver, start, end) {
30298 var listLength = this.get$length(receiver);
30299 A.RangeError_checkValidRange(start, end, listLength);
30300 return A.List_List$from(this.getRange$2(receiver, start, end), true, A.instanceType(receiver)._eval$1("ListMixin.E"));
30301 },
30302 getRange$2(receiver, start, end) {
30303 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30304 return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListMixin.E"));
30305 },
30306 fillRange$3(receiver, start, end, fill) {
30307 var i;
30308 A.instanceType(receiver)._eval$1("ListMixin.E")._as(fill);
30309 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30310 for (i = start; i < end; ++i)
30311 this.$indexSet(receiver, i, fill);
30312 },
30313 setRange$4(receiver, start, end, iterable, skipCount) {
30314 var $length, otherStart, otherList, t1, i;
30315 A.RangeError_checkValidRange(start, end, this.get$length(receiver));
30316 $length = end - start;
30317 if ($length === 0)
30318 return;
30319 A.RangeError_checkNotNegative(skipCount, "skipCount");
30320 if (A.instanceType(receiver)._eval$1("List<ListMixin.E>")._is(iterable)) {
30321 otherStart = skipCount;
30322 otherList = iterable;
30323 } else {
30324 otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
30325 otherStart = 0;
30326 }
30327 t1 = J.getInterceptor$asx(otherList);
30328 if (otherStart + $length > t1.get$length(otherList))
30329 throw A.wrapException(A.IterableElementError_tooFew());
30330 if (otherStart < start)
30331 for (i = $length - 1; i >= 0; --i)
30332 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
30333 else
30334 for (i = 0; i < $length; ++i)
30335 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
30336 },
30337 get$reversed(receiver) {
30338 return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListMixin.E>"));
30339 },
30340 toString$0(receiver) {
30341 return A.IterableBase_iterableToFullString(receiver, "[", "]");
30342 }
30343 };
30344 A.MapBase.prototype = {};
30345 A.MapBase_mapToString_closure.prototype = {
30346 call$2(k, v) {
30347 var t2,
30348 t1 = this._box_0;
30349 if (!t1.first)
30350 this.result._contents += ", ";
30351 t1.first = false;
30352 t1 = this.result;
30353 t2 = t1._contents += A.S(k);
30354 t1._contents = t2 + ": ";
30355 t1._contents += A.S(v);
30356 },
30357 $signature: 200
30358 };
30359 A.MapMixin.prototype = {
30360 cast$2$0(_, RK, RV) {
30361 var t1 = A._instanceType(this);
30362 return A.Map_castFrom(this, t1._eval$1("MapMixin.K"), t1._eval$1("MapMixin.V"), RK, RV);
30363 },
30364 forEach$1(_, action) {
30365 var t1, t2, key, _this = this;
30366 for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapMixin.V"); t1.moveNext$0();) {
30367 key = t1.get$current(t1);
30368 action.call$2(key, t2._as(_this.$index(0, key)));
30369 }
30370 },
30371 addAll$1(_, other) {
30372 var t1, t2, key;
30373 for (t1 = J.get$iterator$ax(other.get$keys(other)), t2 = A._instanceType(this)._eval$1("MapMixin.V"); t1.moveNext$0();) {
30374 key = t1.get$current(t1);
30375 this.$indexSet(0, key, t2._as(other.$index(0, key)));
30376 }
30377 },
30378 get$entries(_) {
30379 var _this = this;
30380 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>"));
30381 },
30382 containsKey$1(key) {
30383 return J.contains$1$asx(this.get$keys(this), key);
30384 },
30385 get$length(_) {
30386 return J.get$length$asx(this.get$keys(this));
30387 },
30388 get$isEmpty(_) {
30389 return J.get$isEmpty$asx(this.get$keys(this));
30390 },
30391 get$isNotEmpty(_) {
30392 return J.get$isNotEmpty$asx(this.get$keys(this));
30393 },
30394 get$values(_) {
30395 var t1 = A._instanceType(this);
30396 return new A._MapBaseValueIterable(this, t1._eval$1("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("_MapBaseValueIterable<1,2>"));
30397 },
30398 toString$0(_) {
30399 return A.MapBase_mapToString(this);
30400 },
30401 $isMap: 1
30402 };
30403 A.MapMixin_entries_closure.prototype = {
30404 call$1(key) {
30405 var t1 = this.$this,
30406 t2 = A._instanceType(t1),
30407 t3 = t2._eval$1("MapMixin.V");
30408 return new A.MapEntry(key, t3._as(t1.$index(0, key)), t2._eval$1("@<MapMixin.K>")._bind$1(t3)._eval$1("MapEntry<1,2>"));
30409 },
30410 $signature() {
30411 return A._instanceType(this.$this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>(MapMixin.K)");
30412 }
30413 };
30414 A.UnmodifiableMapBase.prototype = {};
30415 A._MapBaseValueIterable.prototype = {
30416 get$length(_) {
30417 var t1 = this._map;
30418 return t1.get$length(t1);
30419 },
30420 get$isEmpty(_) {
30421 var t1 = this._map;
30422 return t1.get$isEmpty(t1);
30423 },
30424 get$isNotEmpty(_) {
30425 var t1 = this._map;
30426 return t1.get$isNotEmpty(t1);
30427 },
30428 get$first(_) {
30429 var t1 = this._map;
30430 return this.$ti._rest[1]._as(t1.$index(0, J.get$first$ax(t1.get$keys(t1))));
30431 },
30432 get$single(_) {
30433 var t1 = this._map;
30434 return this.$ti._rest[1]._as(t1.$index(0, J.get$single$ax(t1.get$keys(t1))));
30435 },
30436 get$last(_) {
30437 var t1 = this._map;
30438 return this.$ti._rest[1]._as(t1.$index(0, J.get$last$ax(t1.get$keys(t1))));
30439 },
30440 get$iterator(_) {
30441 var t1 = this._map;
30442 return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1);
30443 }
30444 };
30445 A._MapBaseValueIterator.prototype = {
30446 moveNext$0() {
30447 var _this = this,
30448 t1 = _this._keys;
30449 if (t1.moveNext$0()) {
30450 _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
30451 return true;
30452 }
30453 _this._collection$_current = null;
30454 return false;
30455 },
30456 get$current(_) {
30457 return A._instanceType(this)._rest[1]._as(this._collection$_current);
30458 }
30459 };
30460 A._UnmodifiableMapMixin.prototype = {
30461 $indexSet(_, key, value) {
30462 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30463 },
30464 addAll$1(_, other) {
30465 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30466 },
30467 remove$1(_, key) {
30468 throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
30469 }
30470 };
30471 A.MapView.prototype = {
30472 cast$2$0(_, RK, RV) {
30473 return this._map.cast$2$0(0, RK, RV);
30474 },
30475 $index(_, key) {
30476 return this._map.$index(0, key);
30477 },
30478 $indexSet(_, key, value) {
30479 this._map.$indexSet(0, key, value);
30480 },
30481 addAll$1(_, other) {
30482 this._map.addAll$1(0, other);
30483 },
30484 containsKey$1(key) {
30485 return this._map.containsKey$1(key);
30486 },
30487 forEach$1(_, action) {
30488 this._map.forEach$1(0, action);
30489 },
30490 get$isEmpty(_) {
30491 var t1 = this._map;
30492 return t1.get$isEmpty(t1);
30493 },
30494 get$isNotEmpty(_) {
30495 var t1 = this._map;
30496 return t1.get$isNotEmpty(t1);
30497 },
30498 get$length(_) {
30499 var t1 = this._map;
30500 return t1.get$length(t1);
30501 },
30502 get$keys(_) {
30503 var t1 = this._map;
30504 return t1.get$keys(t1);
30505 },
30506 remove$1(_, key) {
30507 return this._map.remove$1(0, key);
30508 },
30509 toString$0(_) {
30510 return this._map.toString$0(0);
30511 },
30512 get$values(_) {
30513 var t1 = this._map;
30514 return t1.get$values(t1);
30515 },
30516 get$entries(_) {
30517 var t1 = this._map;
30518 return t1.get$entries(t1);
30519 },
30520 $isMap: 1
30521 };
30522 A.UnmodifiableMapView.prototype = {
30523 cast$2$0(_, RK, RV) {
30524 return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
30525 }
30526 };
30527 A.ListQueue.prototype = {
30528 get$iterator(_) {
30529 var _this = this;
30530 return new A._ListQueueIterator(_this, _this._collection$_tail, _this._modificationCount, _this._collection$_head);
30531 },
30532 get$isEmpty(_) {
30533 return this._collection$_head === this._collection$_tail;
30534 },
30535 get$length(_) {
30536 return (this._collection$_tail - this._collection$_head & this._collection$_table.length - 1) >>> 0;
30537 },
30538 get$first(_) {
30539 var _this = this,
30540 t1 = _this._collection$_head;
30541 if (t1 === _this._collection$_tail)
30542 throw A.wrapException(A.IterableElementError_noElement());
30543 return _this.$ti._precomputed1._as(_this._collection$_table[t1]);
30544 },
30545 get$last(_) {
30546 var _this = this,
30547 t1 = _this._collection$_head,
30548 t2 = _this._collection$_tail;
30549 if (t1 === t2)
30550 throw A.wrapException(A.IterableElementError_noElement());
30551 t1 = _this._collection$_table;
30552 return _this.$ti._precomputed1._as(t1[(t2 - 1 & t1.length - 1) >>> 0]);
30553 },
30554 get$single(_) {
30555 var _this = this;
30556 if (_this._collection$_head === _this._collection$_tail)
30557 throw A.wrapException(A.IterableElementError_noElement());
30558 if (_this.get$length(_this) > 1)
30559 throw A.wrapException(A.IterableElementError_tooMany());
30560 return _this.$ti._precomputed1._as(_this._collection$_table[_this._collection$_head]);
30561 },
30562 elementAt$1(_, index) {
30563 var t1, _this = this;
30564 A.RangeError_checkValidIndex(index, _this, null);
30565 t1 = _this._collection$_table;
30566 return _this.$ti._precomputed1._as(t1[(_this._collection$_head + index & t1.length - 1) >>> 0]);
30567 },
30568 toList$1$growable(_, growable) {
30569 var t1, list, t2, t3, i, _this = this,
30570 mask = _this._collection$_table.length - 1,
30571 $length = (_this._collection$_tail - _this._collection$_head & mask) >>> 0;
30572 if ($length === 0) {
30573 t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
30574 return t1;
30575 }
30576 t1 = _this.$ti._precomputed1;
30577 list = A.List_List$filled($length, _this.get$first(_this), true, t1);
30578 for (t2 = _this._collection$_table, t3 = _this._collection$_head, i = 0; i < $length; ++i)
30579 list[i] = t1._as(t2[(t3 + i & mask) >>> 0]);
30580 return list;
30581 },
30582 toList$0($receiver) {
30583 return this.toList$1$growable($receiver, true);
30584 },
30585 add$1(_, value) {
30586 this._add$1(value);
30587 },
30588 addAll$1(_, elements) {
30589 var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _this = this,
30590 t1 = _this.$ti;
30591 if (t1._eval$1("List<1>")._is(elements)) {
30592 addCount = J.get$length$asx(elements);
30593 $length = _this.get$length(_this);
30594 t2 = $length + addCount;
30595 t3 = _this._collection$_table;
30596 t4 = t3.length;
30597 if (t2 >= t4) {
30598 newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + B.JSInt_methods._shrOtherPositive$1(t2, 1)), null, false, t1._eval$1("1?"));
30599 _this._collection$_tail = _this._collection$_writeToList$1(newTable);
30600 _this._collection$_table = newTable;
30601 _this._collection$_head = 0;
30602 B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
30603 _this._collection$_tail += addCount;
30604 } else {
30605 t1 = _this._collection$_tail;
30606 endSpace = t4 - t1;
30607 if (addCount < endSpace) {
30608 B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
30609 _this._collection$_tail += addCount;
30610 } else {
30611 preSpace = addCount - endSpace;
30612 B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
30613 B.JSArray_methods.setRange$4(_this._collection$_table, 0, preSpace, elements, endSpace);
30614 _this._collection$_tail = preSpace;
30615 }
30616 }
30617 ++_this._modificationCount;
30618 } else
30619 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30620 _this._add$1(t1.get$current(t1));
30621 },
30622 clear$0(_) {
30623 var t2, t3, _this = this,
30624 i = _this._collection$_head,
30625 t1 = _this._collection$_tail;
30626 if (i !== t1) {
30627 for (t2 = _this._collection$_table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
30628 t2[i] = null;
30629 _this._collection$_head = _this._collection$_tail = 0;
30630 ++_this._modificationCount;
30631 }
30632 },
30633 toString$0(_) {
30634 return A.IterableBase_iterableToFullString(this, "{", "}");
30635 },
30636 addFirst$1(value) {
30637 var _this = this,
30638 t1 = _this._collection$_head,
30639 t2 = _this._collection$_table;
30640 t1 = _this._collection$_head = (t1 - 1 & t2.length - 1) >>> 0;
30641 t2[t1] = value;
30642 if (t1 === _this._collection$_tail)
30643 _this._collection$_grow$0();
30644 ++_this._modificationCount;
30645 },
30646 removeFirst$0() {
30647 var t2, result, _this = this,
30648 t1 = _this._collection$_head;
30649 if (t1 === _this._collection$_tail)
30650 throw A.wrapException(A.IterableElementError_noElement());
30651 ++_this._modificationCount;
30652 t2 = _this._collection$_table;
30653 result = _this.$ti._precomputed1._as(t2[t1]);
30654 t2[t1] = null;
30655 _this._collection$_head = (t1 + 1 & t2.length - 1) >>> 0;
30656 return result;
30657 },
30658 removeLast$0(_) {
30659 var result, _this = this,
30660 t1 = _this._collection$_head,
30661 t2 = _this._collection$_tail;
30662 if (t1 === t2)
30663 throw A.wrapException(A.IterableElementError_noElement());
30664 ++_this._modificationCount;
30665 t1 = _this._collection$_table;
30666 t2 = _this._collection$_tail = (t2 - 1 & t1.length - 1) >>> 0;
30667 result = _this.$ti._precomputed1._as(t1[t2]);
30668 t1[t2] = null;
30669 return result;
30670 },
30671 _add$1(element) {
30672 var _this = this,
30673 t1 = _this._collection$_table,
30674 t2 = _this._collection$_tail;
30675 t1[t2] = element;
30676 t1 = (t2 + 1 & t1.length - 1) >>> 0;
30677 _this._collection$_tail = t1;
30678 if (_this._collection$_head === t1)
30679 _this._collection$_grow$0();
30680 ++_this._modificationCount;
30681 },
30682 _collection$_grow$0() {
30683 var _this = this,
30684 newTable = A.List_List$filled(_this._collection$_table.length * 2, null, false, _this.$ti._eval$1("1?")),
30685 t1 = _this._collection$_table,
30686 t2 = _this._collection$_head,
30687 split = t1.length - t2;
30688 B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
30689 B.JSArray_methods.setRange$4(newTable, split, split + _this._collection$_head, _this._collection$_table, 0);
30690 _this._collection$_head = 0;
30691 _this._collection$_tail = _this._collection$_table.length;
30692 _this._collection$_table = newTable;
30693 },
30694 _collection$_writeToList$1(target) {
30695 var $length, firstPartSize, _this = this,
30696 t1 = _this._collection$_head,
30697 t2 = _this._collection$_tail,
30698 t3 = _this._collection$_table;
30699 if (t1 <= t2) {
30700 $length = t2 - t1;
30701 B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
30702 return $length;
30703 } else {
30704 firstPartSize = t3.length - t1;
30705 B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
30706 B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._collection$_tail, _this._collection$_table, 0);
30707 return _this._collection$_tail + firstPartSize;
30708 }
30709 },
30710 $isQueue: 1
30711 };
30712 A._ListQueueIterator.prototype = {
30713 get$current(_) {
30714 return A._instanceType(this)._precomputed1._as(this._collection$_current);
30715 },
30716 moveNext$0() {
30717 var t2, _this = this,
30718 t1 = _this._queue;
30719 if (_this._modificationCount !== t1._modificationCount)
30720 A.throwExpression(A.ConcurrentModificationError$(t1));
30721 t2 = _this._collection$_position;
30722 if (t2 === _this._collection$_end) {
30723 _this._collection$_current = null;
30724 return false;
30725 }
30726 t1 = t1._collection$_table;
30727 _this._collection$_current = t1[t2];
30728 _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
30729 return true;
30730 }
30731 };
30732 A.SetMixin.prototype = {
30733 get$isEmpty(_) {
30734 return this.get$length(this) === 0;
30735 },
30736 get$isNotEmpty(_) {
30737 return this.get$length(this) !== 0;
30738 },
30739 addAll$1(_, elements) {
30740 var t1;
30741 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30742 this.add$1(0, t1.get$current(t1));
30743 },
30744 removeAll$1(elements) {
30745 var t1;
30746 for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
30747 this.remove$1(0, t1.get$current(t1));
30748 },
30749 toList$1$growable(_, growable) {
30750 return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
30751 },
30752 toList$0($receiver) {
30753 return this.toList$1$growable($receiver, true);
30754 },
30755 map$1$1(_, f, $T) {
30756 return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
30757 },
30758 get$single(_) {
30759 var it, _this = this;
30760 if (_this.get$length(_this) > 1)
30761 throw A.wrapException(A.IterableElementError_tooMany());
30762 it = _this.get$iterator(_this);
30763 if (!it.moveNext$0())
30764 throw A.wrapException(A.IterableElementError_noElement());
30765 return it.get$current(it);
30766 },
30767 toString$0(_) {
30768 return A.IterableBase_iterableToFullString(this, "{", "}");
30769 },
30770 where$1(_, f) {
30771 return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
30772 },
30773 join$1(_, separator) {
30774 var t1,
30775 iterator = this.get$iterator(this);
30776 if (!iterator.moveNext$0())
30777 return "";
30778 if (separator === "") {
30779 t1 = "";
30780 do
30781 t1 += A.S(iterator.get$current(iterator));
30782 while (iterator.moveNext$0());
30783 } else {
30784 t1 = "" + A.S(iterator.get$current(iterator));
30785 for (; iterator.moveNext$0();)
30786 t1 = t1 + separator + A.S(iterator.get$current(iterator));
30787 }
30788 return t1.charCodeAt(0) == 0 ? t1 : t1;
30789 },
30790 join$0($receiver) {
30791 return this.join$1($receiver, "");
30792 },
30793 any$1(_, test) {
30794 var t1;
30795 for (t1 = this.get$iterator(this); t1.moveNext$0();)
30796 if (test.call$1(t1.get$current(t1)))
30797 return true;
30798 return false;
30799 },
30800 take$1(_, n) {
30801 return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
30802 },
30803 skip$1(_, n) {
30804 return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
30805 },
30806 get$first(_) {
30807 var it = this.get$iterator(this);
30808 if (!it.moveNext$0())
30809 throw A.wrapException(A.IterableElementError_noElement());
30810 return it.get$current(it);
30811 },
30812 get$last(_) {
30813 var result,
30814 it = this.get$iterator(this);
30815 if (!it.moveNext$0())
30816 throw A.wrapException(A.IterableElementError_noElement());
30817 do
30818 result = it.get$current(it);
30819 while (it.moveNext$0());
30820 return result;
30821 },
30822 elementAt$1(_, index) {
30823 var t1, elementIndex, element, _s5_ = "index";
30824 A.checkNotNullable(index, _s5_, type$.int);
30825 A.RangeError_checkNotNegative(index, _s5_);
30826 for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
30827 element = t1.get$current(t1);
30828 if (index === elementIndex)
30829 return element;
30830 ++elementIndex;
30831 }
30832 throw A.wrapException(A.IndexError$(index, this, _s5_, null, elementIndex));
30833 }
30834 };
30835 A._SetBase.prototype = {
30836 difference$1(other) {
30837 var t1, t2, element,
30838 result = this._newSet$0();
30839 for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
30840 element = t1.get$current(t1);
30841 if (!t2.contains$1(0, element))
30842 result.add$1(0, element);
30843 }
30844 return result;
30845 },
30846 intersection$1(other) {
30847 var t1, t2, element,
30848 result = this._newSet$0();
30849 for (t1 = this.get$iterator(this), t2 = other._baseMap; t1.moveNext$0();) {
30850 element = t1.get$current(t1);
30851 if (t2.containsKey$1(element))
30852 result.add$1(0, element);
30853 }
30854 return result;
30855 },
30856 toSet$0(_) {
30857 var t1 = this._newSet$0();
30858 t1.addAll$1(0, this);
30859 return t1;
30860 },
30861 $isEfficientLengthIterable: 1,
30862 $isIterable: 1,
30863 $isSet: 1
30864 };
30865 A._UnmodifiableSetMixin.prototype = {
30866 add$1(_, value) {
30867 return A._UnmodifiableSetMixin__throwUnmodifiable();
30868 },
30869 addAll$1(_, elements) {
30870 return A._UnmodifiableSetMixin__throwUnmodifiable();
30871 },
30872 remove$1(_, value) {
30873 return A._UnmodifiableSetMixin__throwUnmodifiable();
30874 }
30875 };
30876 A._UnmodifiableSet.prototype = {
30877 _newSet$0() {
30878 return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
30879 },
30880 contains$1(_, element) {
30881 return this._map.containsKey$1(element);
30882 },
30883 get$iterator(_) {
30884 var t1 = this._map;
30885 return J.get$iterator$ax(t1.get$keys(t1));
30886 },
30887 get$length(_) {
30888 var t1 = this._map;
30889 return t1.get$length(t1);
30890 }
30891 };
30892 A._ListBase_Object_ListMixin.prototype = {};
30893 A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
30894 A.__SetBase_Object_SetMixin.prototype = {};
30895 A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin.prototype = {};
30896 A.Utf8Decoder__decoder_closure.prototype = {
30897 call$0() {
30898 var t1, exception;
30899 try {
30900 t1 = new TextDecoder("utf-8", {fatal: true});
30901 return t1;
30902 } catch (exception) {
30903 }
30904 return null;
30905 },
30906 $signature: 79
30907 };
30908 A.Utf8Decoder__decoderNonfatal_closure.prototype = {
30909 call$0() {
30910 var t1, exception;
30911 try {
30912 t1 = new TextDecoder("utf-8", {fatal: false});
30913 return t1;
30914 } catch (exception) {
30915 }
30916 return null;
30917 },
30918 $signature: 79
30919 };
30920 A.AsciiCodec.prototype = {
30921 encode$1(source) {
30922 return B.AsciiEncoder_127.convert$1(source);
30923 },
30924 get$encoder() {
30925 return B.AsciiEncoder_127;
30926 }
30927 };
30928 A._UnicodeSubsetEncoder.prototype = {
30929 convert$1(string) {
30930 var t1, i, codeUnit,
30931 $length = A.RangeError_checkValidRange(0, null, string.length) - 0,
30932 result = new Uint8Array($length);
30933 for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) {
30934 codeUnit = B.JSString_methods._codeUnitAt$1(string, i);
30935 if ((codeUnit & t1) !== 0)
30936 throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
30937 result[i] = codeUnit;
30938 }
30939 return result;
30940 }
30941 };
30942 A.AsciiEncoder.prototype = {};
30943 A.Base64Codec.prototype = {
30944 get$encoder() {
30945 return B.C_Base64Encoder;
30946 },
30947 normalize$3(source, start, end) {
30948 var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
30949 _s31_ = "Invalid base64 encoding length ";
30950 end = A.RangeError_checkValidRange(start, end, source.length);
30951 inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
30952 for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
30953 i0 = i + 1;
30954 char = B.JSString_methods._codeUnitAt$1(source, i);
30955 if (char === 37) {
30956 i1 = i0 + 2;
30957 if (i1 <= end) {
30958 digit1 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0));
30959 digit2 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0 + 1));
30960 char0 = digit1 * 16 + digit2 - (digit2 & 256);
30961 if (char0 === 37)
30962 char0 = -1;
30963 i0 = i1;
30964 } else
30965 char0 = -1;
30966 } else
30967 char0 = char;
30968 if (0 <= char0 && char0 <= 127) {
30969 value = inverseAlphabet[char0];
30970 if (value >= 0) {
30971 char0 = B.JSString_methods.codeUnitAt$1(string$.ABCDEF, value);
30972 if (char0 === char)
30973 continue;
30974 char = char0;
30975 } else {
30976 if (value === -1) {
30977 if (firstPadding < 0) {
30978 t1 = buffer == null ? null : buffer._contents.length;
30979 if (t1 == null)
30980 t1 = 0;
30981 firstPadding = t1 + (i - sliceStart);
30982 firstPaddingSourceIndex = i;
30983 }
30984 ++paddingCount;
30985 if (char === 61)
30986 continue;
30987 }
30988 char = char0;
30989 }
30990 if (value !== -2) {
30991 if (buffer == null) {
30992 buffer = new A.StringBuffer("");
30993 t1 = buffer;
30994 } else
30995 t1 = buffer;
30996 t2 = t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
30997 t1._contents = t2 + A.Primitives_stringFromCharCode(char);
30998 sliceStart = i0;
30999 continue;
31000 }
31001 }
31002 throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
31003 }
31004 if (buffer != null) {
31005 t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end);
31006 t2 = t1.length;
31007 if (firstPadding >= 0)
31008 A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
31009 else {
31010 endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
31011 if (endLength === 1)
31012 throw A.wrapException(A.FormatException$(_s31_, source, end));
31013 for (; endLength < 4;) {
31014 t1 += "=";
31015 buffer._contents = t1;
31016 ++endLength;
31017 }
31018 }
31019 t1 = buffer._contents;
31020 return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
31021 }
31022 $length = end - start;
31023 if (firstPadding >= 0)
31024 A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
31025 else {
31026 endLength = B.JSInt_methods.$mod($length, 4);
31027 if (endLength === 1)
31028 throw A.wrapException(A.FormatException$(_s31_, source, end));
31029 if (endLength > 1)
31030 source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
31031 }
31032 return source;
31033 }
31034 };
31035 A.Base64Encoder.prototype = {
31036 convert$1(input) {
31037 var t1 = J.getInterceptor$asx(input);
31038 if (t1.get$isEmpty(input))
31039 return "";
31040 t1 = new A._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true);
31041 t1.toString;
31042 return A.String_String$fromCharCodes(t1, 0, null);
31043 },
31044 startChunkedConversion$1(sink) {
31045 return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
31046 }
31047 };
31048 A._Base64Encoder.prototype = {
31049 createBuffer$1(bufferLength) {
31050 return new Uint8Array(bufferLength);
31051 },
31052 encode$4(bytes, start, end, isLast) {
31053 var output, _this = this,
31054 byteCount = (_this._convert$_state & 3) + (end - start),
31055 fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
31056 bufferLength = fullChunks * 4;
31057 if (isLast && byteCount - fullChunks * 3 > 0)
31058 bufferLength += 4;
31059 output = _this.createBuffer$1(bufferLength);
31060 _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
31061 if (bufferLength > 0)
31062 return output;
31063 return null;
31064 }
31065 };
31066 A._Base64EncoderSink.prototype = {
31067 add$1(_, source) {
31068 this._convert$_add$4(source, 0, source.get$length(source), false);
31069 }
31070 };
31071 A._Utf8Base64EncoderSink.prototype = {
31072 _convert$_add$4(source, start, end, isLast) {
31073 var buffer = this._encoder.encode$4(source, start, end, isLast);
31074 if (buffer != null)
31075 this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
31076 }
31077 };
31078 A.ByteConversionSink.prototype = {};
31079 A.ByteConversionSinkBase.prototype = {};
31080 A.ChunkedConversionSink.prototype = {};
31081 A.Codec.prototype = {
31082 encode$1(input) {
31083 return this.get$encoder().convert$1(input);
31084 }
31085 };
31086 A.Converter.prototype = {};
31087 A.Encoding.prototype = {};
31088 A.JsonUnsupportedObjectError.prototype = {
31089 toString$0(_) {
31090 var safeString = A.Error_safeToString(this.unsupportedObject);
31091 return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
31092 }
31093 };
31094 A.JsonCyclicError.prototype = {
31095 toString$0(_) {
31096 return "Cyclic error in JSON stringify";
31097 }
31098 };
31099 A.JsonCodec.prototype = {
31100 encode$2$toEncodable(value, toEncodable) {
31101 var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
31102 return t1;
31103 },
31104 get$encoder() {
31105 return B.JsonEncoder_null;
31106 }
31107 };
31108 A.JsonEncoder.prototype = {
31109 convert$1(object) {
31110 var t1,
31111 output = new A.StringBuffer(""),
31112 stringifier = A._JsonStringStringifier$(output, this._toEncodable);
31113 stringifier.writeObject$1(object);
31114 t1 = output._contents;
31115 return t1.charCodeAt(0) == 0 ? t1 : t1;
31116 }
31117 };
31118 A._JsonStringifier.prototype = {
31119 writeStringContent$1(s) {
31120 var offset, i, charCode, t1, t2, _this = this,
31121 $length = s.length;
31122 for (offset = 0, i = 0; i < $length; ++i) {
31123 charCode = B.JSString_methods._codeUnitAt$1(s, i);
31124 if (charCode > 92) {
31125 if (charCode >= 55296) {
31126 t1 = charCode & 64512;
31127 if (t1 === 55296) {
31128 t2 = i + 1;
31129 t2 = !(t2 < $length && (B.JSString_methods._codeUnitAt$1(s, t2) & 64512) === 56320);
31130 } else
31131 t2 = false;
31132 if (!t2)
31133 if (t1 === 56320) {
31134 t1 = i - 1;
31135 t1 = !(t1 >= 0 && (B.JSString_methods.codeUnitAt$1(s, t1) & 64512) === 55296);
31136 } else
31137 t1 = false;
31138 else
31139 t1 = true;
31140 if (t1) {
31141 if (i > offset)
31142 _this.writeStringSlice$3(s, offset, i);
31143 offset = i + 1;
31144 _this.writeCharCode$1(92);
31145 _this.writeCharCode$1(117);
31146 _this.writeCharCode$1(100);
31147 t1 = charCode >>> 8 & 15;
31148 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31149 t1 = charCode >>> 4 & 15;
31150 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31151 t1 = charCode & 15;
31152 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31153 }
31154 }
31155 continue;
31156 }
31157 if (charCode < 32) {
31158 if (i > offset)
31159 _this.writeStringSlice$3(s, offset, i);
31160 offset = i + 1;
31161 _this.writeCharCode$1(92);
31162 switch (charCode) {
31163 case 8:
31164 _this.writeCharCode$1(98);
31165 break;
31166 case 9:
31167 _this.writeCharCode$1(116);
31168 break;
31169 case 10:
31170 _this.writeCharCode$1(110);
31171 break;
31172 case 12:
31173 _this.writeCharCode$1(102);
31174 break;
31175 case 13:
31176 _this.writeCharCode$1(114);
31177 break;
31178 default:
31179 _this.writeCharCode$1(117);
31180 _this.writeCharCode$1(48);
31181 _this.writeCharCode$1(48);
31182 t1 = charCode >>> 4 & 15;
31183 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31184 t1 = charCode & 15;
31185 _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
31186 break;
31187 }
31188 } else if (charCode === 34 || charCode === 92) {
31189 if (i > offset)
31190 _this.writeStringSlice$3(s, offset, i);
31191 offset = i + 1;
31192 _this.writeCharCode$1(92);
31193 _this.writeCharCode$1(charCode);
31194 }
31195 }
31196 if (offset === 0)
31197 _this.writeString$1(s);
31198 else if (offset < $length)
31199 _this.writeStringSlice$3(s, offset, $length);
31200 },
31201 _checkCycle$1(object) {
31202 var t1, t2, i, t3;
31203 for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
31204 t3 = t1[i];
31205 if (object == null ? t3 == null : object === t3)
31206 throw A.wrapException(new A.JsonCyclicError(object, null));
31207 }
31208 t1.push(object);
31209 },
31210 writeObject$1(object) {
31211 var customJson, e, t1, exception, _this = this;
31212 if (_this.writeJsonValue$1(object))
31213 return;
31214 _this._checkCycle$1(object);
31215 try {
31216 customJson = _this._toEncodable.call$1(object);
31217 if (!_this.writeJsonValue$1(customJson)) {
31218 t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
31219 throw A.wrapException(t1);
31220 }
31221 _this._seen.pop();
31222 } catch (exception) {
31223 e = A.unwrapException(exception);
31224 t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
31225 throw A.wrapException(t1);
31226 }
31227 },
31228 writeJsonValue$1(object) {
31229 var success, _this = this;
31230 if (typeof object == "number") {
31231 if (!isFinite(object))
31232 return false;
31233 _this.writeNumber$1(object);
31234 return true;
31235 } else if (object === true) {
31236 _this.writeString$1("true");
31237 return true;
31238 } else if (object === false) {
31239 _this.writeString$1("false");
31240 return true;
31241 } else if (object == null) {
31242 _this.writeString$1("null");
31243 return true;
31244 } else if (typeof object == "string") {
31245 _this.writeString$1('"');
31246 _this.writeStringContent$1(object);
31247 _this.writeString$1('"');
31248 return true;
31249 } else if (type$.List_dynamic._is(object)) {
31250 _this._checkCycle$1(object);
31251 _this.writeList$1(object);
31252 _this._seen.pop();
31253 return true;
31254 } else if (type$.Map_dynamic_dynamic._is(object)) {
31255 _this._checkCycle$1(object);
31256 success = _this.writeMap$1(object);
31257 _this._seen.pop();
31258 return success;
31259 } else
31260 return false;
31261 },
31262 writeList$1(list) {
31263 var t1, i, _this = this;
31264 _this.writeString$1("[");
31265 t1 = J.getInterceptor$asx(list);
31266 if (t1.get$isNotEmpty(list)) {
31267 _this.writeObject$1(t1.$index(list, 0));
31268 for (i = 1; i < t1.get$length(list); ++i) {
31269 _this.writeString$1(",");
31270 _this.writeObject$1(t1.$index(list, i));
31271 }
31272 }
31273 _this.writeString$1("]");
31274 },
31275 writeMap$1(map) {
31276 var t1, keyValueList, i, separator, _this = this, _box_0 = {};
31277 if (map.get$isEmpty(map)) {
31278 _this.writeString$1("{}");
31279 return true;
31280 }
31281 t1 = map.get$length(map) * 2;
31282 keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
31283 i = _box_0.i = 0;
31284 _box_0.allStringKeys = true;
31285 map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
31286 if (!_box_0.allStringKeys)
31287 return false;
31288 _this.writeString$1("{");
31289 for (separator = '"'; i < t1; i += 2, separator = ',"') {
31290 _this.writeString$1(separator);
31291 _this.writeStringContent$1(A._asString(keyValueList[i]));
31292 _this.writeString$1('":');
31293 _this.writeObject$1(keyValueList[i + 1]);
31294 }
31295 _this.writeString$1("}");
31296 return true;
31297 }
31298 };
31299 A._JsonStringifier_writeMap_closure.prototype = {
31300 call$2(key, value) {
31301 var t1, t2, t3, i;
31302 if (typeof key != "string")
31303 this._box_0.allStringKeys = false;
31304 t1 = this.keyValueList;
31305 t2 = this._box_0;
31306 t3 = t2.i;
31307 i = t2.i = t3 + 1;
31308 t1[t3] = key;
31309 t2.i = i + 1;
31310 t1[i] = value;
31311 },
31312 $signature: 200
31313 };
31314 A._JsonStringStringifier.prototype = {
31315 get$_partialResult() {
31316 var t1 = this._sink._contents;
31317 return t1.charCodeAt(0) == 0 ? t1 : t1;
31318 },
31319 writeNumber$1(number) {
31320 this._sink._contents += B.JSNumber_methods.toString$0(number);
31321 },
31322 writeString$1(string) {
31323 this._sink._contents += string;
31324 },
31325 writeStringSlice$3(string, start, end) {
31326 this._sink._contents += B.JSString_methods.substring$2(string, start, end);
31327 },
31328 writeCharCode$1(charCode) {
31329 this._sink._contents += A.Primitives_stringFromCharCode(charCode);
31330 }
31331 };
31332 A.StringConversionSinkBase.prototype = {};
31333 A.StringConversionSinkMixin.prototype = {
31334 add$1(_, str) {
31335 this.addSlice$4(str, 0, str.length, false);
31336 }
31337 };
31338 A._StringSinkConversionSink.prototype = {
31339 close$0(_) {
31340 },
31341 addSlice$4(str, start, end, isLast) {
31342 var t1, i;
31343 if (start !== 0 || end !== str.length)
31344 for (t1 = this._stringSink, i = start; i < end; ++i)
31345 t1._contents += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(str, i));
31346 else
31347 this._stringSink._contents += str;
31348 if (isLast)
31349 this.close$0(0);
31350 },
31351 add$1(_, str) {
31352 this._stringSink._contents += str;
31353 }
31354 };
31355 A._StringCallbackSink.prototype = {
31356 close$0(_) {
31357 var t1 = this._stringSink,
31358 t2 = t1._contents;
31359 t1._contents = "";
31360 this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
31361 },
31362 asUtf8Sink$1(allowMalformed) {
31363 return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
31364 }
31365 };
31366 A._Utf8StringSinkAdapter.prototype = {
31367 close$0(_) {
31368 this._decoder.flush$1(this._stringSink);
31369 this._sink.close$0(0);
31370 },
31371 add$1(_, chunk) {
31372 this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
31373 },
31374 addSlice$4(codeUnits, startIndex, endIndex, isLast) {
31375 this._stringSink._contents += this._decoder.convertGeneral$4(codeUnits, startIndex, endIndex, false);
31376 if (isLast)
31377 this.close$0(0);
31378 }
31379 };
31380 A.Utf8Codec.prototype = {
31381 get$encoder() {
31382 return B.C_Utf8Encoder;
31383 }
31384 };
31385 A.Utf8Encoder.prototype = {
31386 convert$1(string) {
31387 var t1, encoder,
31388 end = A.RangeError_checkValidRange(0, null, string.length),
31389 $length = end - 0;
31390 if ($length === 0)
31391 return new Uint8Array(0);
31392 t1 = new Uint8Array($length * 3);
31393 encoder = new A._Utf8Encoder(t1);
31394 if (encoder._fillBuffer$3(string, 0, end) !== end) {
31395 B.JSString_methods.codeUnitAt$1(string, end - 1);
31396 encoder._writeReplacementCharacter$0();
31397 }
31398 return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
31399 }
31400 };
31401 A._Utf8Encoder.prototype = {
31402 _writeReplacementCharacter$0() {
31403 var _this = this,
31404 t1 = _this._convert$_buffer,
31405 t2 = _this._bufferIndex,
31406 t3 = _this._bufferIndex = t2 + 1;
31407 t1[t2] = 239;
31408 t2 = _this._bufferIndex = t3 + 1;
31409 t1[t3] = 191;
31410 _this._bufferIndex = t2 + 1;
31411 t1[t2] = 189;
31412 },
31413 _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
31414 var rune, t1, t2, t3, _this = this;
31415 if ((nextCodeUnit & 64512) === 56320) {
31416 rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
31417 t1 = _this._convert$_buffer;
31418 t2 = _this._bufferIndex;
31419 t3 = _this._bufferIndex = t2 + 1;
31420 t1[t2] = rune >>> 18 | 240;
31421 t2 = _this._bufferIndex = t3 + 1;
31422 t1[t3] = rune >>> 12 & 63 | 128;
31423 t3 = _this._bufferIndex = t2 + 1;
31424 t1[t2] = rune >>> 6 & 63 | 128;
31425 _this._bufferIndex = t3 + 1;
31426 t1[t3] = rune & 63 | 128;
31427 return true;
31428 } else {
31429 _this._writeReplacementCharacter$0();
31430 return false;
31431 }
31432 },
31433 _fillBuffer$3(str, start, end) {
31434 var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this;
31435 if (start !== end && (B.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296)
31436 --end;
31437 for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
31438 codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex);
31439 if (codeUnit <= 127) {
31440 t3 = _this._bufferIndex;
31441 if (t3 >= t2)
31442 break;
31443 _this._bufferIndex = t3 + 1;
31444 t1[t3] = codeUnit;
31445 } else {
31446 t3 = codeUnit & 64512;
31447 if (t3 === 55296) {
31448 if (_this._bufferIndex + 4 > t2)
31449 break;
31450 stringIndex0 = stringIndex + 1;
31451 if (_this._writeSurrogate$2(codeUnit, B.JSString_methods._codeUnitAt$1(str, stringIndex0)))
31452 stringIndex = stringIndex0;
31453 } else if (t3 === 56320) {
31454 if (_this._bufferIndex + 3 > t2)
31455 break;
31456 _this._writeReplacementCharacter$0();
31457 } else if (codeUnit <= 2047) {
31458 t3 = _this._bufferIndex;
31459 t4 = t3 + 1;
31460 if (t4 >= t2)
31461 break;
31462 _this._bufferIndex = t4;
31463 t1[t3] = codeUnit >>> 6 | 192;
31464 _this._bufferIndex = t4 + 1;
31465 t1[t4] = codeUnit & 63 | 128;
31466 } else {
31467 t3 = _this._bufferIndex;
31468 if (t3 + 2 >= t2)
31469 break;
31470 t4 = _this._bufferIndex = t3 + 1;
31471 t1[t3] = codeUnit >>> 12 | 224;
31472 t3 = _this._bufferIndex = t4 + 1;
31473 t1[t4] = codeUnit >>> 6 & 63 | 128;
31474 _this._bufferIndex = t3 + 1;
31475 t1[t3] = codeUnit & 63 | 128;
31476 }
31477 }
31478 }
31479 return stringIndex;
31480 }
31481 };
31482 A.Utf8Decoder.prototype = {
31483 convert$1(codeUnits) {
31484 var t1 = this._allowMalformed,
31485 result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null);
31486 if (result != null)
31487 return result;
31488 return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true);
31489 }
31490 };
31491 A._Utf8Decoder.prototype = {
31492 convertGeneral$4(codeUnits, start, maybeEnd, single) {
31493 var bytes, errorOffset, result, t1, message, _this = this,
31494 end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
31495 if (start === end)
31496 return "";
31497 if (type$.Uint8List._is(codeUnits)) {
31498 bytes = codeUnits;
31499 errorOffset = 0;
31500 } else {
31501 bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end);
31502 end -= start;
31503 errorOffset = start;
31504 start = 0;
31505 }
31506 result = _this._convertRecursive$4(bytes, start, end, single);
31507 t1 = _this._convert$_state;
31508 if ((t1 & 1) !== 0) {
31509 message = A._Utf8Decoder_errorDescription(t1);
31510 _this._convert$_state = 0;
31511 throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
31512 }
31513 return result;
31514 },
31515 _convertRecursive$4(bytes, start, end, single) {
31516 var mid, s1, _this = this;
31517 if (end - start > 1000) {
31518 mid = B.JSInt_methods._tdivFast$1(start + end, 2);
31519 s1 = _this._convertRecursive$4(bytes, start, mid, false);
31520 if ((_this._convert$_state & 1) !== 0)
31521 return s1;
31522 return s1 + _this._convertRecursive$4(bytes, mid, end, single);
31523 }
31524 return _this.decodeGeneral$4(bytes, start, end, single);
31525 },
31526 flush$1(sink) {
31527 var state = this._convert$_state;
31528 this._convert$_state = 0;
31529 if (state <= 32)
31530 return;
31531 if (this.allowMalformed)
31532 sink._contents += A.Primitives_stringFromCharCode(65533);
31533 else
31534 throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
31535 },
31536 decodeGeneral$4(bytes, start, end, single) {
31537 var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
31538 state = _this._convert$_state,
31539 char = _this._charOrIndex,
31540 buffer = new A.StringBuffer(""),
31541 i = start + 1,
31542 byte = bytes[start];
31543 $label0$0:
31544 for (t1 = _this.allowMalformed; true;) {
31545 for (; true; i = i0) {
31546 type = B.JSString_methods._codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31;
31547 char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
31548 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);
31549 if (state === 0) {
31550 buffer._contents += A.Primitives_stringFromCharCode(char);
31551 if (i === end)
31552 break $label0$0;
31553 break;
31554 } else if ((state & 1) !== 0) {
31555 if (t1)
31556 switch (state) {
31557 case 69:
31558 case 67:
31559 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31560 break;
31561 case 65:
31562 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31563 --i;
31564 break;
31565 default:
31566 t2 = buffer._contents += A.Primitives_stringFromCharCode(_65533);
31567 buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
31568 break;
31569 }
31570 else {
31571 _this._convert$_state = state;
31572 _this._charOrIndex = i - 1;
31573 return "";
31574 }
31575 state = 0;
31576 }
31577 if (i === end)
31578 break $label0$0;
31579 i0 = i + 1;
31580 byte = bytes[i];
31581 }
31582 i0 = i + 1;
31583 byte = bytes[i];
31584 if (byte < 128) {
31585 while (true) {
31586 if (!(i0 < end)) {
31587 markEnd = end;
31588 break;
31589 }
31590 i1 = i0 + 1;
31591 byte = bytes[i0];
31592 if (byte >= 128) {
31593 markEnd = i1 - 1;
31594 i0 = i1;
31595 break;
31596 }
31597 i0 = i1;
31598 }
31599 if (markEnd - i < 20)
31600 for (m = i; m < markEnd; ++m)
31601 buffer._contents += A.Primitives_stringFromCharCode(bytes[m]);
31602 else
31603 buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd);
31604 if (markEnd === end)
31605 break $label0$0;
31606 i = i0;
31607 } else
31608 i = i0;
31609 }
31610 if (single && state > 32)
31611 if (t1)
31612 buffer._contents += A.Primitives_stringFromCharCode(_65533);
31613 else {
31614 _this._convert$_state = 77;
31615 _this._charOrIndex = end;
31616 return "";
31617 }
31618 _this._convert$_state = state;
31619 _this._charOrIndex = char;
31620 t1 = buffer._contents;
31621 return t1.charCodeAt(0) == 0 ? t1 : t1;
31622 }
31623 };
31624 A.NoSuchMethodError_toString_closure.prototype = {
31625 call$2(key, value) {
31626 var t1 = this.sb,
31627 t2 = this._box_0,
31628 t3 = t1._contents += t2.comma;
31629 t3 += key.__internal$_name;
31630 t1._contents = t3;
31631 t1._contents = t3 + ": ";
31632 t1._contents += A.Error_safeToString(value);
31633 t2.comma = ", ";
31634 },
31635 $signature: 341
31636 };
31637 A.DateTime.prototype = {
31638 add$1(_, duration) {
31639 return A.DateTime$_withValue(B.JSInt_methods.$add(this._core$_value, duration.get$inMilliseconds()), false);
31640 },
31641 $eq(_, other) {
31642 if (other == null)
31643 return false;
31644 return other instanceof A.DateTime && this._core$_value === other._core$_value && true;
31645 },
31646 compareTo$1(_, other) {
31647 return B.JSInt_methods.compareTo$1(this._core$_value, other._core$_value);
31648 },
31649 get$hashCode(_) {
31650 var t1 = this._core$_value;
31651 return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823;
31652 },
31653 toString$0(_) {
31654 var _this = this,
31655 y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
31656 m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
31657 d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
31658 h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
31659 min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
31660 sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
31661 ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)),
31662 t1 = y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms;
31663 return t1;
31664 },
31665 $isComparable: 1
31666 };
31667 A.Duration.prototype = {
31668 $eq(_, other) {
31669 if (other == null)
31670 return false;
31671 return other instanceof A.Duration && this._duration === other._duration;
31672 },
31673 get$hashCode(_) {
31674 return B.JSInt_methods.get$hashCode(this._duration);
31675 },
31676 compareTo$1(_, other) {
31677 return B.JSInt_methods.compareTo$1(this._duration, other._duration);
31678 },
31679 toString$0(_) {
31680 var minutes, minutesPadding, seconds, secondsPadding, paddedMicroseconds,
31681 microseconds = this._duration,
31682 hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000);
31683 microseconds %= 3600000000;
31684 if (microseconds < 0)
31685 microseconds = -microseconds;
31686 minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
31687 microseconds %= 60000000;
31688 minutesPadding = minutes < 10 ? "0" : "";
31689 seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
31690 secondsPadding = seconds < 10 ? "0" : "";
31691 paddedMicroseconds = B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
31692 return "" + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + paddedMicroseconds;
31693 },
31694 $isComparable: 1
31695 };
31696 A.Error.prototype = {
31697 get$stackTrace() {
31698 return A.getTraceFromException(this.$thrownJsError);
31699 }
31700 };
31701 A.AssertionError.prototype = {
31702 toString$0(_) {
31703 var t1 = this.message;
31704 if (t1 != null)
31705 return "Assertion failed: " + A.Error_safeToString(t1);
31706 return "Assertion failed";
31707 },
31708 get$message(receiver) {
31709 return this.message;
31710 }
31711 };
31712 A.TypeError.prototype = {};
31713 A.NullThrownError.prototype = {
31714 toString$0(_) {
31715 return "Throw of null.";
31716 }
31717 };
31718 A.ArgumentError.prototype = {
31719 get$_errorName() {
31720 return "Invalid argument" + (!this._hasValue ? "(s)" : "");
31721 },
31722 get$_errorExplanation() {
31723 return "";
31724 },
31725 toString$0(_) {
31726 var explanation, errorValue, _this = this,
31727 $name = _this.name,
31728 nameString = $name == null ? "" : " (" + $name + ")",
31729 message = _this.message,
31730 messageString = message == null ? "" : ": " + A.S(message),
31731 prefix = _this.get$_errorName() + nameString + messageString;
31732 if (!_this._hasValue)
31733 return prefix;
31734 explanation = _this.get$_errorExplanation();
31735 errorValue = A.Error_safeToString(_this.invalidValue);
31736 return prefix + explanation + ": " + errorValue;
31737 },
31738 get$message(receiver) {
31739 return this.message;
31740 }
31741 };
31742 A.RangeError.prototype = {
31743 get$_errorName() {
31744 return "RangeError";
31745 },
31746 get$_errorExplanation() {
31747 var explanation,
31748 start = this.start,
31749 end = this.end;
31750 if (start == null)
31751 explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
31752 else if (end == null)
31753 explanation = ": Not greater than or equal to " + A.S(start);
31754 else if (end > start)
31755 explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
31756 else
31757 explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
31758 return explanation;
31759 }
31760 };
31761 A.IndexError.prototype = {
31762 get$_errorName() {
31763 return "RangeError";
31764 },
31765 get$_errorExplanation() {
31766 if (this.invalidValue < 0)
31767 return ": index must not be negative";
31768 var t1 = this.length;
31769 if (t1 === 0)
31770 return ": no indices are valid";
31771 return ": index should be less than " + t1;
31772 },
31773 $isRangeError: 1,
31774 get$length(receiver) {
31775 return this.length;
31776 }
31777 };
31778 A.NoSuchMethodError.prototype = {
31779 toString$0(_) {
31780 var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
31781 sb = new A.StringBuffer("");
31782 _box_0.comma = "";
31783 $arguments = _this._core$_arguments;
31784 for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
31785 argument = $arguments[_i];
31786 sb._contents = t2 + t3;
31787 t2 = sb._contents += A.Error_safeToString(argument);
31788 _box_0.comma = ", ";
31789 }
31790 _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
31791 receiverText = A.Error_safeToString(_this._core$_receiver);
31792 actualParameters = sb.toString$0(0);
31793 t1 = "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
31794 return t1;
31795 }
31796 };
31797 A.UnsupportedError.prototype = {
31798 toString$0(_) {
31799 return "Unsupported operation: " + this.message;
31800 },
31801 get$message(receiver) {
31802 return this.message;
31803 }
31804 };
31805 A.UnimplementedError.prototype = {
31806 toString$0(_) {
31807 var t1 = "UnimplementedError: " + this.message;
31808 return t1;
31809 },
31810 get$message(receiver) {
31811 return this.message;
31812 }
31813 };
31814 A.StateError.prototype = {
31815 toString$0(_) {
31816 return "Bad state: " + this.message;
31817 },
31818 get$message(receiver) {
31819 return this.message;
31820 }
31821 };
31822 A.ConcurrentModificationError.prototype = {
31823 toString$0(_) {
31824 var t1 = this.modifiedObject;
31825 if (t1 == null)
31826 return "Concurrent modification during iteration.";
31827 return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
31828 }
31829 };
31830 A.OutOfMemoryError.prototype = {
31831 toString$0(_) {
31832 return "Out of Memory";
31833 },
31834 get$stackTrace() {
31835 return null;
31836 },
31837 $isError: 1
31838 };
31839 A.StackOverflowError.prototype = {
31840 toString$0(_) {
31841 return "Stack Overflow";
31842 },
31843 get$stackTrace() {
31844 return null;
31845 },
31846 $isError: 1
31847 };
31848 A.CyclicInitializationError.prototype = {
31849 toString$0(_) {
31850 var t1 = "Reading static variable '" + this.variableName + "' during its initialization";
31851 return t1;
31852 }
31853 };
31854 A._Exception.prototype = {
31855 toString$0(_) {
31856 return "Exception: " + this.message;
31857 },
31858 $isException: 1,
31859 get$message(receiver) {
31860 return this.message;
31861 }
31862 };
31863 A.FormatException.prototype = {
31864 toString$0(_) {
31865 var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix, slice,
31866 message = this.message,
31867 report = "" !== message ? "FormatException: " + message : "FormatException",
31868 offset = this.offset,
31869 source = this.source;
31870 if (typeof source == "string") {
31871 if (offset != null)
31872 t1 = offset < 0 || offset > source.length;
31873 else
31874 t1 = false;
31875 if (t1)
31876 offset = null;
31877 if (offset == null) {
31878 if (source.length > 78)
31879 source = B.JSString_methods.substring$2(source, 0, 75) + "...";
31880 return report + "\n" + source;
31881 }
31882 for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
31883 char = B.JSString_methods._codeUnitAt$1(source, i);
31884 if (char === 10) {
31885 if (lineStart !== i || !previousCharWasCR)
31886 ++lineNum;
31887 lineStart = i + 1;
31888 previousCharWasCR = false;
31889 } else if (char === 13) {
31890 ++lineNum;
31891 lineStart = i + 1;
31892 previousCharWasCR = true;
31893 }
31894 }
31895 report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
31896 lineEnd = source.length;
31897 for (i = offset; i < lineEnd; ++i) {
31898 char = B.JSString_methods.codeUnitAt$1(source, i);
31899 if (char === 10 || char === 13) {
31900 lineEnd = i;
31901 break;
31902 }
31903 }
31904 if (lineEnd - lineStart > 78)
31905 if (offset - lineStart < 75) {
31906 end = lineStart + 75;
31907 start = lineStart;
31908 prefix = "";
31909 postfix = "...";
31910 } else {
31911 if (lineEnd - offset < 75) {
31912 start = lineEnd - 75;
31913 end = lineEnd;
31914 postfix = "";
31915 } else {
31916 start = offset - 36;
31917 end = offset + 36;
31918 postfix = "...";
31919 }
31920 prefix = "...";
31921 }
31922 else {
31923 end = lineEnd;
31924 start = lineStart;
31925 prefix = "";
31926 postfix = "";
31927 }
31928 slice = B.JSString_methods.substring$2(source, start, end);
31929 return report + prefix + slice + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
31930 } else
31931 return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
31932 },
31933 $isException: 1,
31934 get$message(receiver) {
31935 return this.message;
31936 }
31937 };
31938 A.Expando.prototype = {
31939 toString$0(_) {
31940 return "Expando:null";
31941 }
31942 };
31943 A.Iterable.prototype = {
31944 cast$1$0(_, $R) {
31945 return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
31946 },
31947 followedBy$1(_, other) {
31948 var _this = this,
31949 t1 = A._instanceType(_this);
31950 if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
31951 return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
31952 return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
31953 },
31954 map$1$1(_, toElement, $T) {
31955 return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
31956 },
31957 where$1(_, test) {
31958 return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
31959 },
31960 expand$1$1(_, toElements, $T) {
31961 return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
31962 },
31963 contains$1(_, element) {
31964 var t1;
31965 for (t1 = this.get$iterator(this); t1.moveNext$0();)
31966 if (J.$eq$(t1.get$current(t1), element))
31967 return true;
31968 return false;
31969 },
31970 fold$1$2(_, initialValue, combine) {
31971 var t1, value;
31972 for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
31973 value = combine.call$2(value, t1.get$current(t1));
31974 return value;
31975 },
31976 fold$2($receiver, initialValue, combine) {
31977 return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
31978 },
31979 join$1(_, separator) {
31980 var t1,
31981 iterator = this.get$iterator(this);
31982 if (!iterator.moveNext$0())
31983 return "";
31984 if (separator === "") {
31985 t1 = "";
31986 do
31987 t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
31988 while (iterator.moveNext$0());
31989 } else {
31990 t1 = "" + A.S(J.toString$0$(iterator.get$current(iterator)));
31991 for (; iterator.moveNext$0();)
31992 t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
31993 }
31994 return t1.charCodeAt(0) == 0 ? t1 : t1;
31995 },
31996 join$0($receiver) {
31997 return this.join$1($receiver, "");
31998 },
31999 any$1(_, test) {
32000 var t1;
32001 for (t1 = this.get$iterator(this); t1.moveNext$0();)
32002 if (test.call$1(t1.get$current(t1)))
32003 return true;
32004 return false;
32005 },
32006 toList$1$growable(_, growable) {
32007 return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
32008 },
32009 toList$0($receiver) {
32010 return this.toList$1$growable($receiver, true);
32011 },
32012 toSet$0(_) {
32013 return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
32014 },
32015 get$length(_) {
32016 var count,
32017 it = this.get$iterator(this);
32018 for (count = 0; it.moveNext$0();)
32019 ++count;
32020 return count;
32021 },
32022 get$isEmpty(_) {
32023 return !this.get$iterator(this).moveNext$0();
32024 },
32025 get$isNotEmpty(_) {
32026 return !this.get$isEmpty(this);
32027 },
32028 take$1(_, count) {
32029 return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
32030 },
32031 skip$1(_, count) {
32032 return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
32033 },
32034 skipWhile$1(_, test) {
32035 return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
32036 },
32037 get$first(_) {
32038 var it = this.get$iterator(this);
32039 if (!it.moveNext$0())
32040 throw A.wrapException(A.IterableElementError_noElement());
32041 return it.get$current(it);
32042 },
32043 get$last(_) {
32044 var result,
32045 it = this.get$iterator(this);
32046 if (!it.moveNext$0())
32047 throw A.wrapException(A.IterableElementError_noElement());
32048 do
32049 result = it.get$current(it);
32050 while (it.moveNext$0());
32051 return result;
32052 },
32053 get$single(_) {
32054 var result,
32055 it = this.get$iterator(this);
32056 if (!it.moveNext$0())
32057 throw A.wrapException(A.IterableElementError_noElement());
32058 result = it.get$current(it);
32059 if (it.moveNext$0())
32060 throw A.wrapException(A.IterableElementError_tooMany());
32061 return result;
32062 },
32063 elementAt$1(_, index) {
32064 var t1, elementIndex, element;
32065 A.RangeError_checkNotNegative(index, "index");
32066 for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
32067 element = t1.get$current(t1);
32068 if (index === elementIndex)
32069 return element;
32070 ++elementIndex;
32071 }
32072 throw A.wrapException(A.IndexError$(index, this, "index", null, elementIndex));
32073 },
32074 toString$0(_) {
32075 return A.IterableBase_iterableToShortString(this, "(", ")");
32076 }
32077 };
32078 A._GeneratorIterable.prototype = {
32079 elementAt$1(_, index) {
32080 A.RangeError_checkValidIndex(index, this, null);
32081 return this._generator.call$1(index);
32082 },
32083 get$length(receiver) {
32084 return this.length;
32085 }
32086 };
32087 A.Iterator.prototype = {};
32088 A.MapEntry.prototype = {
32089 toString$0(_) {
32090 return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
32091 }
32092 };
32093 A.Null.prototype = {
32094 get$hashCode(_) {
32095 return A.Object.prototype.get$hashCode.call(this, this);
32096 },
32097 toString$0(_) {
32098 return "null";
32099 }
32100 };
32101 A.Object.prototype = {$isObject: 1,
32102 $eq(_, other) {
32103 return this === other;
32104 },
32105 get$hashCode(_) {
32106 return A.Primitives_objectHashCode(this);
32107 },
32108 toString$0(_) {
32109 return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
32110 },
32111 noSuchMethod$1(_, invocation) {
32112 throw A.wrapException(A.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
32113 },
32114 get$runtimeType(_) {
32115 var rti = this instanceof A.Closure ? A.closureFunctionType(this) : null;
32116 return A.createRuntimeType(rti == null ? A.instanceType(this) : rti);
32117 },
32118 toString() {
32119 return this.toString$0(this);
32120 }
32121 };
32122 A._StringStackTrace.prototype = {
32123 toString$0(_) {
32124 return this._stackTrace;
32125 },
32126 $isStackTrace: 1
32127 };
32128 A.Runes.prototype = {
32129 get$iterator(_) {
32130 return new A.RuneIterator(this.string);
32131 },
32132 get$last(_) {
32133 var code, previousCode,
32134 t1 = this.string,
32135 t2 = t1.length;
32136 if (t2 === 0)
32137 throw A.wrapException(A.StateError$("No elements."));
32138 code = B.JSString_methods.codeUnitAt$1(t1, t2 - 1);
32139 if ((code & 64512) === 56320 && t2 > 1) {
32140 previousCode = B.JSString_methods.codeUnitAt$1(t1, t2 - 2);
32141 if ((previousCode & 64512) === 55296)
32142 return A._combineSurrogatePair(previousCode, code);
32143 }
32144 return code;
32145 }
32146 };
32147 A.RuneIterator.prototype = {
32148 get$current(_) {
32149 return this._currentCodePoint;
32150 },
32151 moveNext$0() {
32152 var codeUnit, nextPosition, nextCodeUnit, _this = this,
32153 t1 = _this._position = _this._nextPosition,
32154 t2 = _this.string,
32155 t3 = t2.length;
32156 if (t1 === t3) {
32157 _this._currentCodePoint = -1;
32158 return false;
32159 }
32160 codeUnit = B.JSString_methods._codeUnitAt$1(t2, t1);
32161 nextPosition = t1 + 1;
32162 if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
32163 nextCodeUnit = B.JSString_methods._codeUnitAt$1(t2, nextPosition);
32164 if ((nextCodeUnit & 64512) === 56320) {
32165 _this._nextPosition = nextPosition + 1;
32166 _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
32167 return true;
32168 }
32169 }
32170 _this._nextPosition = nextPosition;
32171 _this._currentCodePoint = codeUnit;
32172 return true;
32173 }
32174 };
32175 A.StringBuffer.prototype = {
32176 get$length(_) {
32177 return this._contents.length;
32178 },
32179 write$1(_, obj) {
32180 this._contents += A.S(obj);
32181 },
32182 writeCharCode$1(charCode) {
32183 this._contents += A.Primitives_stringFromCharCode(charCode);
32184 },
32185 toString$0(_) {
32186 var t1 = this._contents;
32187 return t1.charCodeAt(0) == 0 ? t1 : t1;
32188 }
32189 };
32190 A.Uri__parseIPv4Address_error.prototype = {
32191 call$2(msg, position) {
32192 throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
32193 },
32194 $signature: 352
32195 };
32196 A.Uri_parseIPv6Address_error.prototype = {
32197 call$2(msg, position) {
32198 throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
32199 },
32200 call$1(msg) {
32201 return this.call$2(msg, null);
32202 },
32203 $signature: 364
32204 };
32205 A.Uri_parseIPv6Address_parseHex.prototype = {
32206 call$2(start, end) {
32207 var value;
32208 if (end - start > 4)
32209 this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
32210 value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
32211 if (value < 0 || value > 65535)
32212 this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
32213 return value;
32214 },
32215 $signature: 366
32216 };
32217 A._Uri.prototype = {
32218 get$_text() {
32219 var t1, t2, t3, t4, _this = this,
32220 value = _this.___Uri__text;
32221 if (value === $) {
32222 t1 = _this.scheme;
32223 t2 = t1.length !== 0 ? "" + t1 + ":" : "";
32224 t3 = _this._host;
32225 t4 = t3 == null;
32226 if (!t4 || t1 === "file") {
32227 t1 = t2 + "//";
32228 t2 = _this._userInfo;
32229 if (t2.length !== 0)
32230 t1 = t1 + t2 + "@";
32231 if (!t4)
32232 t1 += t3;
32233 t2 = _this._port;
32234 if (t2 != null)
32235 t1 = t1 + ":" + A.S(t2);
32236 } else
32237 t1 = t2;
32238 t1 += _this.path;
32239 t2 = _this._query;
32240 if (t2 != null)
32241 t1 = t1 + "?" + t2;
32242 t2 = _this._fragment;
32243 if (t2 != null)
32244 t1 = t1 + "#" + t2;
32245 A._lateInitializeOnceCheck(_this.___Uri__text, "_text");
32246 value = _this.___Uri__text = t1.charCodeAt(0) == 0 ? t1 : t1;
32247 }
32248 return value;
32249 },
32250 get$pathSegments() {
32251 var pathToSplit, result, _this = this,
32252 value = _this.___Uri_pathSegments;
32253 if (value === $) {
32254 pathToSplit = _this.path;
32255 if (pathToSplit.length !== 0 && B.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47)
32256 pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
32257 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);
32258 A._lateInitializeOnceCheck(_this.___Uri_pathSegments, "pathSegments");
32259 value = _this.___Uri_pathSegments = result;
32260 }
32261 return value;
32262 },
32263 get$hashCode(_) {
32264 var result, _this = this,
32265 value = _this.___Uri_hashCode;
32266 if (value === $) {
32267 result = B.JSString_methods.get$hashCode(_this.get$_text());
32268 A._lateInitializeOnceCheck(_this.___Uri_hashCode, "hashCode");
32269 _this.___Uri_hashCode = result;
32270 value = result;
32271 }
32272 return value;
32273 },
32274 get$userInfo() {
32275 return this._userInfo;
32276 },
32277 get$host() {
32278 var host = this._host;
32279 if (host == null)
32280 return "";
32281 if (B.JSString_methods.startsWith$1(host, "["))
32282 return B.JSString_methods.substring$2(host, 1, host.length - 1);
32283 return host;
32284 },
32285 get$port(_) {
32286 var t1 = this._port;
32287 return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
32288 },
32289 get$query() {
32290 var t1 = this._query;
32291 return t1 == null ? "" : t1;
32292 },
32293 get$fragment() {
32294 var t1 = this._fragment;
32295 return t1 == null ? "" : t1;
32296 },
32297 isScheme$1(scheme) {
32298 var thisScheme = this.scheme;
32299 if (scheme.length !== thisScheme.length)
32300 return false;
32301 return A._Uri__compareScheme(scheme, thisScheme);
32302 },
32303 _mergePaths$2(base, reference) {
32304 var backCount, refStart, baseEnd, newEnd, delta, t1;
32305 for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
32306 refStart += 3;
32307 ++backCount;
32308 }
32309 baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
32310 while (true) {
32311 if (!(baseEnd > 0 && backCount > 0))
32312 break;
32313 newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
32314 if (newEnd < 0)
32315 break;
32316 delta = baseEnd - newEnd;
32317 t1 = delta !== 2;
32318 if (!t1 || delta === 3)
32319 if (B.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46)
32320 t1 = !t1 || B.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46;
32321 else
32322 t1 = false;
32323 else
32324 t1 = false;
32325 if (t1)
32326 break;
32327 --backCount;
32328 baseEnd = newEnd;
32329 }
32330 return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
32331 },
32332 resolve$1(reference) {
32333 return this.resolveUri$1(A.Uri_parse(reference));
32334 },
32335 resolveUri$1(reference) {
32336 var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null;
32337 if (reference.get$scheme().length !== 0) {
32338 targetScheme = reference.get$scheme();
32339 if (reference.get$hasAuthority()) {
32340 targetUserInfo = reference.get$userInfo();
32341 targetHost = reference.get$host();
32342 targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
32343 } else {
32344 targetPort = _null;
32345 targetHost = targetPort;
32346 targetUserInfo = "";
32347 }
32348 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32349 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32350 } else {
32351 targetScheme = _this.scheme;
32352 if (reference.get$hasAuthority()) {
32353 targetUserInfo = reference.get$userInfo();
32354 targetHost = reference.get$host();
32355 targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
32356 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32357 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32358 } else {
32359 targetUserInfo = _this._userInfo;
32360 targetHost = _this._host;
32361 targetPort = _this._port;
32362 targetPath = _this.path;
32363 if (reference.get$path(reference) === "")
32364 targetQuery = reference.get$hasQuery() ? reference.get$query() : _this._query;
32365 else {
32366 packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
32367 if (packageNameEnd > 0) {
32368 packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
32369 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)));
32370 } else if (reference.get$hasAbsolutePath())
32371 targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
32372 else if (targetPath.length === 0)
32373 if (targetHost == null)
32374 targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
32375 else
32376 targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
32377 else {
32378 mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
32379 t1 = targetScheme.length === 0;
32380 if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
32381 targetPath = A._Uri__removeDotSegments(mergedPath);
32382 else
32383 targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
32384 }
32385 targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
32386 }
32387 }
32388 }
32389 return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null);
32390 },
32391 get$hasAuthority() {
32392 return this._host != null;
32393 },
32394 get$hasPort() {
32395 return this._port != null;
32396 },
32397 get$hasQuery() {
32398 return this._query != null;
32399 },
32400 get$hasFragment() {
32401 return this._fragment != null;
32402 },
32403 get$hasAbsolutePath() {
32404 return B.JSString_methods.startsWith$1(this.path, "/");
32405 },
32406 toFilePath$0() {
32407 var pathSegments, _this = this,
32408 t1 = _this.scheme;
32409 if (t1 !== "" && t1 !== "file")
32410 throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
32411 t1 = _this._query;
32412 if ((t1 == null ? "" : t1) !== "")
32413 throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
32414 t1 = _this._fragment;
32415 if ((t1 == null ? "" : t1) !== "")
32416 throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
32417 t1 = $.$get$_Uri__isWindowsCached();
32418 if (t1)
32419 t1 = A._Uri__toWindowsFilePath(_this);
32420 else {
32421 if (_this._host != null && _this.get$host() !== "")
32422 A.throwExpression(A.UnsupportedError$(string$.Cannotn));
32423 pathSegments = _this.get$pathSegments();
32424 A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
32425 t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
32426 t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
32427 }
32428 return t1;
32429 },
32430 toString$0(_) {
32431 return this.get$_text();
32432 },
32433 $eq(_, other) {
32434 var t1, t2, _this = this;
32435 if (other == null)
32436 return false;
32437 if (_this === other)
32438 return true;
32439 if (type$.Uri._is(other))
32440 if (_this.scheme === other.get$scheme())
32441 if (_this._host != null === other.get$hasAuthority())
32442 if (_this._userInfo === other.get$userInfo())
32443 if (_this.get$host() === other.get$host())
32444 if (_this.get$port(_this) === other.get$port(other))
32445 if (_this.path === other.get$path(other)) {
32446 t1 = _this._query;
32447 t2 = t1 == null;
32448 if (!t2 === other.get$hasQuery()) {
32449 if (t2)
32450 t1 = "";
32451 if (t1 === other.get$query()) {
32452 t1 = _this._fragment;
32453 t2 = t1 == null;
32454 if (!t2 === other.get$hasFragment()) {
32455 if (t2)
32456 t1 = "";
32457 t1 = t1 === other.get$fragment();
32458 } else
32459 t1 = false;
32460 } else
32461 t1 = false;
32462 } else
32463 t1 = false;
32464 } else
32465 t1 = false;
32466 else
32467 t1 = false;
32468 else
32469 t1 = false;
32470 else
32471 t1 = false;
32472 else
32473 t1 = false;
32474 else
32475 t1 = false;
32476 else
32477 t1 = false;
32478 return t1;
32479 },
32480 $isUri: 1,
32481 get$scheme() {
32482 return this.scheme;
32483 },
32484 get$path(receiver) {
32485 return this.path;
32486 }
32487 };
32488 A._Uri__makePath_closure.prototype = {
32489 call$1(s) {
32490 return A._Uri__uriEncode(B.List_qg40, s, B.C_Utf8Codec, false);
32491 },
32492 $signature: 5
32493 };
32494 A.UriData.prototype = {
32495 get$uri() {
32496 var t2, queryIndex, end, query, _this = this, _null = null,
32497 t1 = _this._uriCache;
32498 if (t1 == null) {
32499 t1 = _this._text;
32500 t2 = _this._separatorIndices[0] + 1;
32501 queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
32502 end = t1.length;
32503 if (queryIndex >= 0) {
32504 query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_CVk, false);
32505 end = queryIndex;
32506 } else
32507 query = _null;
32508 t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_qg4, false), query, _null);
32509 }
32510 return t1;
32511 },
32512 toString$0(_) {
32513 var t1 = this._text;
32514 return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
32515 }
32516 };
32517 A._createTables_build.prototype = {
32518 call$2(state, defaultTransition) {
32519 var t1 = this.tables[state];
32520 B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition);
32521 return t1;
32522 },
32523 $signature: 504
32524 };
32525 A._createTables_setChars.prototype = {
32526 call$3(target, chars, transition) {
32527 var t1, i;
32528 for (t1 = chars.length, i = 0; i < t1; ++i)
32529 target[B.JSString_methods._codeUnitAt$1(chars, i) ^ 96] = transition;
32530 },
32531 $signature: 196
32532 };
32533 A._createTables_setRange.prototype = {
32534 call$3(target, range, transition) {
32535 var i, n;
32536 for (i = B.JSString_methods._codeUnitAt$1(range, 0), n = B.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i)
32537 target[(i ^ 96) >>> 0] = transition;
32538 },
32539 $signature: 196
32540 };
32541 A._SimpleUri.prototype = {
32542 get$hasAuthority() {
32543 return this._hostStart > 0;
32544 },
32545 get$hasPort() {
32546 return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
32547 },
32548 get$hasQuery() {
32549 return this._queryStart < this._fragmentStart;
32550 },
32551 get$hasFragment() {
32552 return this._fragmentStart < this._uri.length;
32553 },
32554 get$hasAbsolutePath() {
32555 return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
32556 },
32557 get$scheme() {
32558 var t1 = this._schemeCache;
32559 return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
32560 },
32561 _computeScheme$0() {
32562 var t2, _this = this,
32563 t1 = _this._schemeEnd;
32564 if (t1 <= 0)
32565 return "";
32566 t2 = t1 === 4;
32567 if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
32568 return "http";
32569 if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
32570 return "https";
32571 if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
32572 return "file";
32573 if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
32574 return "package";
32575 return B.JSString_methods.substring$2(_this._uri, 0, t1);
32576 },
32577 get$userInfo() {
32578 var t1 = this._hostStart,
32579 t2 = this._schemeEnd + 3;
32580 return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
32581 },
32582 get$host() {
32583 var t1 = this._hostStart;
32584 return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
32585 },
32586 get$port(_) {
32587 var t1, _this = this;
32588 if (_this.get$hasPort())
32589 return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
32590 t1 = _this._schemeEnd;
32591 if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
32592 return 80;
32593 if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
32594 return 443;
32595 return 0;
32596 },
32597 get$path(_) {
32598 return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
32599 },
32600 get$query() {
32601 var t1 = this._queryStart,
32602 t2 = this._fragmentStart;
32603 return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
32604 },
32605 get$fragment() {
32606 var t1 = this._fragmentStart,
32607 t2 = this._uri;
32608 return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
32609 },
32610 get$pathSegments() {
32611 var parts, i,
32612 start = this._pathStart,
32613 end = this._queryStart,
32614 t1 = this._uri;
32615 if (B.JSString_methods.startsWith$2(t1, "/", start))
32616 ++start;
32617 if (start === end)
32618 return B.List_empty;
32619 parts = A._setArrayType([], type$.JSArray_String);
32620 for (i = start; i < end; ++i)
32621 if (B.JSString_methods.codeUnitAt$1(t1, i) === 47) {
32622 parts.push(B.JSString_methods.substring$2(t1, start, i));
32623 start = i + 1;
32624 }
32625 parts.push(B.JSString_methods.substring$2(t1, start, end));
32626 return A.List_List$unmodifiable(parts, type$.String);
32627 },
32628 _isPort$1(port) {
32629 var portDigitStart = this._portStart + 1;
32630 return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
32631 },
32632 removeFragment$0() {
32633 var _this = this,
32634 t1 = _this._fragmentStart,
32635 t2 = _this._uri;
32636 if (t1 >= t2.length)
32637 return _this;
32638 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);
32639 },
32640 resolve$1(reference) {
32641 return this.resolveUri$1(A.Uri_parse(reference));
32642 },
32643 resolveUri$1(reference) {
32644 if (reference instanceof A._SimpleUri)
32645 return this._simpleMerge$2(this, reference);
32646 return this._toNonSimple$0().resolveUri$1(reference);
32647 },
32648 _simpleMerge$2(base, ref) {
32649 var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
32650 t1 = ref._schemeEnd;
32651 if (t1 > 0)
32652 return ref;
32653 t2 = ref._hostStart;
32654 if (t2 > 0) {
32655 t3 = base._schemeEnd;
32656 if (t3 <= 0)
32657 return ref;
32658 t4 = t3 === 4;
32659 if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
32660 isSimple = ref._pathStart !== ref._queryStart;
32661 else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
32662 isSimple = !ref._isPort$1("80");
32663 else
32664 isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
32665 if (isSimple) {
32666 delta = t3 + 1;
32667 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);
32668 } else
32669 return this._toNonSimple$0().resolveUri$1(ref);
32670 }
32671 refStart = ref._pathStart;
32672 t1 = ref._queryStart;
32673 if (refStart === t1) {
32674 t2 = ref._fragmentStart;
32675 if (t1 < t2) {
32676 t3 = base._queryStart;
32677 delta = t3 - t1;
32678 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);
32679 }
32680 t1 = ref._uri;
32681 if (t2 < t1.length) {
32682 t3 = base._fragmentStart;
32683 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);
32684 }
32685 return base.removeFragment$0();
32686 }
32687 t2 = ref._uri;
32688 if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
32689 basePathStart = base._pathStart;
32690 packageNameEnd = A._SimpleUri__packageNameEnd(this);
32691 basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
32692 delta = basePathStart0 - refStart;
32693 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);
32694 }
32695 baseStart = base._pathStart;
32696 baseEnd = base._queryStart;
32697 if (baseStart === baseEnd && base._hostStart > 0) {
32698 for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
32699 refStart += 3;
32700 delta = baseStart - refStart + 1;
32701 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);
32702 }
32703 baseUri = base._uri;
32704 packageNameEnd = A._SimpleUri__packageNameEnd(this);
32705 if (packageNameEnd >= 0)
32706 baseStart0 = packageNameEnd;
32707 else
32708 for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
32709 baseStart0 += 3;
32710 backCount = 0;
32711 while (true) {
32712 refStart0 = refStart + 3;
32713 if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
32714 break;
32715 ++backCount;
32716 refStart = refStart0;
32717 }
32718 for (insert = ""; baseEnd > baseStart0;) {
32719 --baseEnd;
32720 if (B.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) {
32721 if (backCount === 0) {
32722 insert = "/";
32723 break;
32724 }
32725 --backCount;
32726 insert = "/";
32727 }
32728 }
32729 if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
32730 refStart -= backCount * 3;
32731 insert = "";
32732 }
32733 delta = baseEnd - refStart + insert.length;
32734 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);
32735 },
32736 toFilePath$0() {
32737 var t2, t3, _this = this,
32738 t1 = _this._schemeEnd;
32739 if (t1 >= 0) {
32740 t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
32741 t1 = t2;
32742 } else
32743 t1 = false;
32744 if (t1)
32745 throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
32746 t1 = _this._queryStart;
32747 t2 = _this._uri;
32748 if (t1 < t2.length) {
32749 if (t1 < _this._fragmentStart)
32750 throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
32751 throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
32752 }
32753 t3 = $.$get$_Uri__isWindowsCached();
32754 if (t3)
32755 t1 = A._Uri__toWindowsFilePath(_this);
32756 else {
32757 if (_this._hostStart < _this._portStart)
32758 A.throwExpression(A.UnsupportedError$(string$.Cannotn));
32759 t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
32760 }
32761 return t1;
32762 },
32763 get$hashCode(_) {
32764 var t1 = this._hashCodeCache;
32765 return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
32766 },
32767 $eq(_, other) {
32768 if (other == null)
32769 return false;
32770 if (this === other)
32771 return true;
32772 return type$.Uri._is(other) && this._uri === other.toString$0(0);
32773 },
32774 _toNonSimple$0() {
32775 var _this = this, _null = null,
32776 t1 = _this.get$scheme(),
32777 t2 = _this.get$userInfo(),
32778 t3 = _this._hostStart > 0 ? _this.get$host() : _null,
32779 t4 = _this.get$hasPort() ? _this.get$port(_this) : _null,
32780 t5 = _this._uri,
32781 t6 = _this._queryStart,
32782 t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
32783 t8 = _this._fragmentStart;
32784 t6 = t6 < t8 ? _this.get$query() : _null;
32785 return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
32786 },
32787 toString$0(_) {
32788 return this._uri;
32789 },
32790 $isUri: 1
32791 };
32792 A._DataUri.prototype = {};
32793 A._convertDataTree__convert.prototype = {
32794 call$1(o) {
32795 var convertedMap, key, convertedList,
32796 t1 = this._convertedObjects;
32797 if (t1.containsKey$1(o))
32798 return t1.$index(0, o);
32799 if (type$.Map_dynamic_dynamic._is(o)) {
32800 convertedMap = {};
32801 t1.$indexSet(0, o, convertedMap);
32802 for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
32803 key = t1.get$current(t1);
32804 convertedMap[key] = this.call$1(o.$index(0, key));
32805 }
32806 return convertedMap;
32807 } else if (type$.Iterable_dynamic._is(o)) {
32808 convertedList = [];
32809 t1.$indexSet(0, o, convertedList);
32810 B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
32811 return convertedList;
32812 } else
32813 return o;
32814 },
32815 $signature: 547
32816 };
32817 A._JSRandom.prototype = {
32818 nextInt$1(max) {
32819 if (max <= 0 || max > 4294967296)
32820 throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
32821 return Math.random() * max >>> 0;
32822 },
32823 nextDouble$0() {
32824 return Math.random();
32825 }
32826 };
32827 A.ArgParser.prototype = {
32828 addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
32829 var _null = null;
32830 this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_nMZ, B.List_empty, hide, negatable);
32831 },
32832 addFlag$2$hide($name, hide) {
32833 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
32834 },
32835 addFlag$2$help($name, help) {
32836 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
32837 },
32838 addFlag$3$defaultsTo$help($name, defaultsTo, help) {
32839 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
32840 },
32841 addFlag$3$help$negatable($name, help, negatable) {
32842 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
32843 },
32844 addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
32845 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
32846 },
32847 addFlag$3$abbr$help($name, abbr, help) {
32848 return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
32849 },
32850 addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
32851 this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_YwU, B.List_empty, hide, false);
32852 },
32853 addOption$2$hide($name, hide) {
32854 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, null, null, null, hide, null);
32855 },
32856 addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
32857 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
32858 },
32859 addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
32860 return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
32861 },
32862 addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
32863 var t1 = A._setArrayType([], type$.JSArray_String);
32864 this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, null, null, t1, null, B.OptionType_qyr, B.List_empty, false, false);
32865 },
32866 _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
32867 var existing, t2, option, _i, _this = this, _null = null,
32868 t1 = A._setArrayType([$name], type$.JSArray_String);
32869 B.JSArray_methods.addAll$1(t1, aliases);
32870 if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
32871 throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
32872 t1 = abbr != null;
32873 if (t1) {
32874 existing = _this.findByAbbreviation$1(abbr);
32875 if (existing != null)
32876 throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
32877 }
32878 t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
32879 option = new A.Option($name, abbr, help, valueHelp, t2, _null, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_qyr : splitCommas, false, hide);
32880 if ($name.length === 0)
32881 A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
32882 else if (B.JSString_methods.startsWith$1($name, "-"))
32883 A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
32884 t2 = $.$get$Option__invalidChars()._nativeRegExp;
32885 if (t2.test($name))
32886 A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
32887 if (t1) {
32888 if (abbr.length !== 1)
32889 A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
32890 else if (abbr === "-")
32891 A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
32892 if (t2.test(abbr))
32893 A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
32894 }
32895 _this._arg_parser$_options.$indexSet(0, $name, option);
32896 _this._optionsAndSeparators.push(option);
32897 for (t1 = _this._aliases, _i = 0; false; ++_i)
32898 t1.$indexSet(0, aliases[_i], $name);
32899 },
32900 _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
32901 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
32902 },
32903 _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
32904 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
32905 },
32906 _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
32907 return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
32908 },
32909 findByAbbreviation$1(abbr) {
32910 var t1, t2;
32911 for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
32912 t2 = t1.get$current(t1);
32913 if (t2.abbr === abbr)
32914 return t2;
32915 }
32916 return null;
32917 },
32918 findByNameOrAlias$1($name) {
32919 var t1 = this._aliases.$index(0, $name);
32920 if (t1 == null)
32921 t1 = $name;
32922 return this.options._map.$index(0, t1);
32923 }
32924 };
32925 A.ArgParser__addOption_closure.prototype = {
32926 call$1($name) {
32927 return this.$this.findByNameOrAlias$1($name) != null;
32928 },
32929 $signature: 6
32930 };
32931 A.ArgParserException.prototype = {};
32932 A.ArgResults.prototype = {
32933 $index(_, $name) {
32934 var t1 = this._parser.options._map;
32935 if (!t1.containsKey$1($name))
32936 throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
32937 t1 = t1.$index(0, $name);
32938 t1.toString;
32939 return t1.valueOrDefault$1(this._parsed.$index(0, $name));
32940 },
32941 wasParsed$1($name) {
32942 if (!this._parser.options._map.containsKey$1($name))
32943 throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
32944 return this._parsed.containsKey$1($name);
32945 }
32946 };
32947 A.Option.prototype = {
32948 valueOrDefault$1(value) {
32949 var t1;
32950 if (value != null)
32951 return value;
32952 if (this.type === B.OptionType_qyr) {
32953 t1 = this.defaultsTo;
32954 return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
32955 }
32956 return this.defaultsTo;
32957 }
32958 };
32959 A.OptionType.prototype = {};
32960 A.Parser0.prototype = {
32961 parse$0() {
32962 var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, command, exception, _this = this,
32963 t2 = _this._args;
32964 t2.toList$0(0);
32965 commandResults = null;
32966 for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands; !t2.get$isEmpty(t2);) {
32967 t6 = t2._collection$_head;
32968 if (t6 === t2._collection$_tail)
32969 A.throwExpression(A.IterableElementError_noElement());
32970 t6 = t2.$ti._precomputed1._as(t2._collection$_table[t6]);
32971 if (t6 === "--") {
32972 t2.removeFirst$0();
32973 break;
32974 }
32975 command = t5._map.$index(0, t6);
32976 if (command != null) {
32977 if (t3.length !== 0)
32978 A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null));
32979 commandName = t2.removeFirst$0();
32980 t5 = type$.JSArray_String;
32981 t6 = A._setArrayType([], t5);
32982 B.JSArray_methods.addAll$1(t6, t3);
32983 commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
32984 try {
32985 commandResults = commandParser.parse$0();
32986 } catch (exception) {
32987 t2 = A.unwrapException(exception);
32988 if (t2 instanceof A.ArgParserException) {
32989 error = t2;
32990 t2 = error.message;
32991 t1 = A._setArrayType([commandName], t5);
32992 J.addAll$1$ax(t1, error.commands);
32993 throw A.wrapException(A.ArgParserException$(t2, t1));
32994 } else
32995 throw exception;
32996 }
32997 B.JSArray_methods.set$length(t3, 0);
32998 break;
32999 }
33000 if (_this._parseSoloOption$0())
33001 continue;
33002 if (_this._parseAbbreviation$1(_this))
33003 continue;
33004 if (_this._parseLongOption$0())
33005 continue;
33006 t3.push(t2.removeFirst$0());
33007 }
33008 t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
33009 B.JSArray_methods.addAll$1(t3, t2);
33010 t2.clear$0(0);
33011 return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
33012 },
33013 _readNextArgAsValue$1(option) {
33014 var t1 = this._args,
33015 t2 = t1.get$isEmpty(t1),
33016 t3 = 'Missing argument for "' + option.name + '".';
33017 if (t2)
33018 A.throwExpression(A.ArgParserException$(t3, null));
33019 this._setOption$3(this._results, option, t1.get$first(t1));
33020 t1.removeFirst$0();
33021 },
33022 _parseSoloOption$0() {
33023 var opt,
33024 t1 = this._args;
33025 if (t1.get$first(t1).length !== 2)
33026 return false;
33027 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
33028 return false;
33029 opt = t1.get$first(t1)[1];
33030 if (!A._isLetterOrDigit(B.JSString_methods._codeUnitAt$1(opt, 0)))
33031 return false;
33032 this._handleSoloOption$1(opt);
33033 return true;
33034 },
33035 _handleSoloOption$1(opt) {
33036 var t1, t2, _this = this,
33037 option = _this._grammar.findByAbbreviation$1(opt);
33038 if (option == null) {
33039 t1 = _this._parser$_parent;
33040 t2 = 'Could not find an option or flag "-' + opt + '".';
33041 if (t1 == null)
33042 A.throwExpression(A.ArgParserException$(t2, null));
33043 t1._handleSoloOption$1(opt);
33044 return true;
33045 }
33046 _this._args.removeFirst$0();
33047 if (option.type === B.OptionType_nMZ)
33048 _this._results.$indexSet(0, option.name, true);
33049 else
33050 _this._readNextArgAsValue$1(option);
33051 return true;
33052 },
33053 _parseAbbreviation$1(innermostCommand) {
33054 var index, t2, lettersAndDigits, rest,
33055 t1 = this._args;
33056 if (t1.get$first(t1).length < 2)
33057 return false;
33058 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
33059 return false;
33060 index = 1;
33061 while (true) {
33062 t2 = t1._collection$_head;
33063 if (t2 === t1._collection$_tail)
33064 A.throwExpression(A.IterableElementError_noElement());
33065 t2 = t1.$ti._precomputed1._as(t1._collection$_table[t2]);
33066 if (index < t2.length) {
33067 t2 = B.JSString_methods._codeUnitAt$1(t2, index);
33068 if (!(t2 >= 65 && t2 <= 90))
33069 if (!(t2 >= 97 && t2 <= 122))
33070 t2 = t2 >= 48 && t2 <= 57;
33071 else
33072 t2 = true;
33073 else
33074 t2 = true;
33075 } else
33076 t2 = false;
33077 if (!t2)
33078 break;
33079 ++index;
33080 }
33081 if (index === 1)
33082 return false;
33083 lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(t1), 1, index);
33084 rest = B.JSString_methods.substring$1(t1.get$first(t1), index);
33085 if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
33086 return false;
33087 this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
33088 return true;
33089 },
33090 _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
33091 var t1, t2, i, i0, _this = this,
33092 c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
33093 first = _this._grammar.findByAbbreviation$1(c);
33094 if (first == null) {
33095 t1 = _this._parser$_parent;
33096 t2 = string$.Could_ + c + '".';
33097 if (t1 == null)
33098 A.throwExpression(A.ArgParserException$(t2, null));
33099 t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
33100 return true;
33101 } else if (first.type !== B.OptionType_nMZ)
33102 _this._setOption$3(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest);
33103 else {
33104 t1 = 'Option "-' + c + '" is a flag and cannot handle value "' + B.JSString_methods.substring$1(lettersAndDigits, 1) + rest + '".';
33105 if (rest !== "")
33106 A.throwExpression(A.ArgParserException$(t1, null));
33107 for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
33108 i0 = i + 1;
33109 innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
33110 }
33111 }
33112 _this._args.removeFirst$0();
33113 return true;
33114 },
33115 _parseShortFlag$1(c) {
33116 var t1, t2,
33117 option = this._grammar.findByAbbreviation$1(c);
33118 if (option == null) {
33119 t1 = this._parser$_parent;
33120 t2 = string$.Could_ + c + '".';
33121 if (t1 == null)
33122 A.throwExpression(A.ArgParserException$(t2, null));
33123 t1._parseShortFlag$1(c);
33124 return;
33125 }
33126 t1 = option.type;
33127 t2 = 'Option "-' + c + '" must be a flag to be in a collapsed "-".';
33128 if (t1 !== B.OptionType_nMZ)
33129 A.throwExpression(A.ArgParserException$(t2, null));
33130 this._results.$indexSet(0, option.name, true);
33131 },
33132 _parseLongOption$0() {
33133 var index, t2, $name, t3, i, t4, t5, value,
33134 t1 = this._args;
33135 if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "--"))
33136 return false;
33137 index = B.JSString_methods.indexOf$1(t1.get$first(t1), "=");
33138 t2 = index === -1;
33139 $name = t2 ? B.JSString_methods.substring$1(t1.get$first(t1), 2) : B.JSString_methods.substring$2(t1.get$first(t1), 2, index);
33140 for (t3 = $name.length, i = 0; i !== t3; ++i) {
33141 t4 = B.JSString_methods._codeUnitAt$1($name, i);
33142 if (!(t4 >= 65 && t4 <= 90))
33143 if (!(t4 >= 97 && t4 <= 122))
33144 t5 = t4 >= 48 && t4 <= 57;
33145 else
33146 t5 = true;
33147 else
33148 t5 = true;
33149 if (!(t5 || t4 === 45 || t4 === 95))
33150 return false;
33151 }
33152 value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(t1), index + 1);
33153 if (value != null)
33154 t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
33155 else
33156 t1 = false;
33157 if (t1)
33158 return false;
33159 this._handleLongOption$2($name, value);
33160 return true;
33161 },
33162 _handleLongOption$2($name, value) {
33163 var t2, _this = this, _null = null,
33164 _s32_ = 'Could not find an option named "',
33165 t1 = _this._grammar,
33166 option = t1.findByNameOrAlias$1($name);
33167 if (option != null) {
33168 _this._args.removeFirst$0();
33169 if (option.type === B.OptionType_nMZ) {
33170 t1 = 'Flag option "' + $name + '" should not be given a value.';
33171 if (value != null)
33172 A.throwExpression(A.ArgParserException$(t1, _null));
33173 _this._results.$indexSet(0, option.name, true);
33174 } else if (value != null)
33175 _this._setOption$3(_this._results, option, value);
33176 else
33177 _this._readNextArgAsValue$1(option);
33178 } else if (B.JSString_methods.startsWith$1($name, "no-")) {
33179 option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
33180 if (option == null) {
33181 t1 = _this._parser$_parent;
33182 t2 = _s32_ + $name + '".';
33183 if (t1 == null)
33184 A.throwExpression(A.ArgParserException$(t2, _null));
33185 t1._handleLongOption$2($name, value);
33186 return true;
33187 }
33188 _this._args.removeFirst$0();
33189 t1 = option.type;
33190 t2 = 'Cannot negate non-flag option "' + $name + '".';
33191 if (t1 !== B.OptionType_nMZ)
33192 A.throwExpression(A.ArgParserException$(t2, _null));
33193 t1 = option.negatable;
33194 t2 = 'Cannot negate option "' + $name + '".';
33195 if (!t1)
33196 A.throwExpression(A.ArgParserException$(t2, _null));
33197 _this._results.$indexSet(0, option.name, false);
33198 } else {
33199 t1 = _this._parser$_parent;
33200 t2 = _s32_ + $name + '".';
33201 if (t1 == null)
33202 A.throwExpression(A.ArgParserException$(t2, _null));
33203 t1._handleLongOption$2($name, value);
33204 return true;
33205 }
33206 return true;
33207 },
33208 _setOption$3(results, option, value) {
33209 var list, t1, t2, t3, _i, element;
33210 if (option.type !== B.OptionType_qyr) {
33211 this._validateAllowed$2(option, value);
33212 results.$indexSet(0, option.name, value);
33213 return;
33214 }
33215 list = results.putIfAbsent$2(option.name, new A.Parser__setOption_closure());
33216 if (option.splitCommas)
33217 for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
33218 element = t1[_i];
33219 this._validateAllowed$2(option, element);
33220 t3.add$1(list, element);
33221 }
33222 else {
33223 this._validateAllowed$2(option, value);
33224 J.add$1$ax(list, value);
33225 }
33226 },
33227 _validateAllowed$2(option, value) {
33228 var t2,
33229 t1 = option.allowed;
33230 if (t1 == null)
33231 return;
33232 t1 = B.JSArray_methods.contains$1(t1, value);
33233 t2 = '"' + value + '" is not an allowed value for option "' + option.name + '".';
33234 if (!t1)
33235 A.throwExpression(A.ArgParserException$(t2, null));
33236 }
33237 };
33238 A.Parser_parse_closure.prototype = {
33239 call$2($name, option) {
33240 var parsedOption = this.$this._results.$index(0, $name),
33241 callback = option.callback;
33242 if (callback == null)
33243 return;
33244 callback.call$1(option.valueOrDefault$1(parsedOption));
33245 },
33246 $signature: 575
33247 };
33248 A.Parser__setOption_closure.prototype = {
33249 call$0() {
33250 return A._setArrayType([], type$.JSArray_String);
33251 },
33252 $signature: 48
33253 };
33254 A._Usage.prototype = {
33255 get$_columnWidths() {
33256 var result, _this = this,
33257 value = _this.___Usage__columnWidths;
33258 if (value === $) {
33259 result = _this._calculateColumnWidths$0();
33260 A._lateInitializeOnceCheck(_this.___Usage__columnWidths, "_columnWidths");
33261 _this.___Usage__columnWidths = result;
33262 value = result;
33263 }
33264 return value;
33265 },
33266 generate$0() {
33267 var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
33268 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) {
33269 optionOrSeparator = t1[_i];
33270 if (typeof optionOrSeparator == "string") {
33271 t5 = t4._contents;
33272 t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
33273 _this._newlinesNeeded = 1;
33274 continue;
33275 }
33276 t3._as(optionOrSeparator);
33277 if (optionOrSeparator.hide)
33278 continue;
33279 _this._writeOption$1(optionOrSeparator);
33280 }
33281 t1 = t4._contents;
33282 return t1.charCodeAt(0) == 0 ? t1 : t1;
33283 },
33284 _writeOption$1(option) {
33285 var allowedNames, t2, t3, t4, _i, $name, isDefault, t5, _this = this,
33286 t1 = option.abbr;
33287 _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
33288 t1 = _this._longOption$1(option);
33289 _this._write$2(1, t1);
33290 t1 = option.help;
33291 if (t1 != null)
33292 _this._write$2(2, t1);
33293 t1 = option.allowedHelp;
33294 if (t1 != null) {
33295 allowedNames = J.toList$0$ax(t1.get$keys(t1));
33296 B.JSArray_methods.sort$0(allowedNames);
33297 _this._newline$0();
33298 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) {
33299 $name = allowedNames[_i];
33300 isDefault = t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name;
33301 t5 = " [" + $name + "]";
33302 _this._write$2(1, t5 + (isDefault ? " (default)" : ""));
33303 t5 = t1.$index(0, $name);
33304 t5.toString;
33305 _this._write$2(2, t5);
33306 }
33307 _this._newline$0();
33308 } else if (option.allowed != null)
33309 _this._write$2(2, _this._buildAllowedList$1(option));
33310 else {
33311 t1 = option.type;
33312 if (t1 === B.OptionType_nMZ) {
33313 if (option.defaultsTo === true)
33314 _this._write$2(2, "(defaults to on)");
33315 } else if (t1 === B.OptionType_qyr) {
33316 t1 = option.defaultsTo;
33317 if (t1 != null && J.get$isNotEmpty$asx(t1)) {
33318 type$.List_dynamic._as(t1);
33319 _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, ", ") + ")");
33320 }
33321 } else {
33322 t1 = option.defaultsTo;
33323 if (t1 != null)
33324 _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
33325 }
33326 }
33327 },
33328 _longOption$1(option) {
33329 var t1 = option.name,
33330 result = option.negatable ? "--[no-]" + t1 : "--" + t1;
33331 t1 = option.valueHelp;
33332 return t1 != null ? result + ("=<" + t1 + ">") : result;
33333 },
33334 _calculateColumnWidths$0() {
33335 var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, isDefault;
33336 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) {
33337 option = t1[_i];
33338 if (!(option instanceof A.Option))
33339 continue;
33340 if (option.hide)
33341 continue;
33342 t4 = option.abbr;
33343 abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
33344 t4 = this._longOption$1(option);
33345 title = Math.max(title, t4.length);
33346 t4 = option.allowedHelp;
33347 if (t4 != null)
33348 for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
33349 t7 = t4.get$current(t4);
33350 isDefault = t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7;
33351 t7 = " [" + t7 + "]";
33352 title = Math.max(title, (t7 + (isDefault ? " (default)" : "")).length);
33353 }
33354 }
33355 return A._setArrayType([abbr, title + 4], type$.JSArray_int);
33356 },
33357 _newline$0() {
33358 ++this._newlinesNeeded;
33359 this._currentColumn = 0;
33360 },
33361 _write$2(column, text) {
33362 var t1, _i,
33363 lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
33364 this.get$_columnWidths();
33365 while (true) {
33366 if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
33367 break;
33368 B.JSArray_methods.removeAt$1(lines, 0);
33369 }
33370 while (true) {
33371 if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
33372 break;
33373 lines.pop();
33374 }
33375 for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
33376 this._writeLine$2(column, lines[_i]);
33377 },
33378 _writeLine$2(column, text) {
33379 var t1, t2, _this = this;
33380 for (t1 = _this._buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
33381 t1._contents += "\n";
33382 _this._newlinesNeeded = t2 - 1;
33383 }
33384 for (; t2 = _this._currentColumn, t2 !== column;) {
33385 if (t2 < 2)
33386 t1._contents += B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
33387 else
33388 t1._contents += "\n";
33389 _this._currentColumn = (_this._currentColumn + 1) % 3;
33390 }
33391 _this.get$_columnWidths();
33392 if (column < 2)
33393 t1._contents += B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
33394 else
33395 t1._contents += text;
33396 _this._currentColumn = (_this._currentColumn + 1) % 3;
33397 if (column === 2)
33398 ++_this._newlinesNeeded;
33399 },
33400 _buildAllowedList$1(option) {
33401 var t2, t3, first, _i, allowed,
33402 t1 = option.defaultsTo,
33403 isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
33404 t1 = "" + "[";
33405 for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
33406 allowed = t2[_i];
33407 if (!first)
33408 t1 += ", ";
33409 t1 += A.S(allowed);
33410 if (isDefault.call$1(allowed))
33411 t1 += " (default)";
33412 }
33413 t1 += "]";
33414 return t1.charCodeAt(0) == 0 ? t1 : t1;
33415 }
33416 };
33417 A._Usage__writeOption_closure.prototype = {
33418 call$1(value) {
33419 return '"' + A.S(value) + '"';
33420 },
33421 $signature: 92
33422 };
33423 A._Usage__buildAllowedList_closure.prototype = {
33424 call$1(value) {
33425 return value === this.option.defaultsTo;
33426 },
33427 $signature: 138
33428 };
33429 A.ErrorResult.prototype = {
33430 complete$1(completer) {
33431 completer.completeError$2(this.error, this.stackTrace);
33432 },
33433 get$hashCode(_) {
33434 return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
33435 },
33436 $eq(_, other) {
33437 if (other == null)
33438 return false;
33439 return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
33440 },
33441 $isResult: 1
33442 };
33443 A.ValueResult.prototype = {
33444 complete$1(completer) {
33445 completer.complete$1(this.value);
33446 },
33447 get$hashCode(_) {
33448 return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
33449 },
33450 $eq(_, other) {
33451 if (other == null)
33452 return false;
33453 return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
33454 },
33455 $isResult: 1
33456 };
33457 A.StreamCompleter.prototype = {
33458 setSourceStream$1(sourceStream) {
33459 var t1 = this._stream_completer$_stream;
33460 if (t1._sourceStream != null)
33461 throw A.wrapException(A.StateError$("Source stream already set"));
33462 t1._sourceStream = sourceStream;
33463 if (t1._stream_completer$_controller != null)
33464 t1._linkStreamToController$0();
33465 },
33466 setError$2(error, stackTrace) {
33467 var t1 = this.$ti._precomputed1;
33468 this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
33469 },
33470 setError$1(error) {
33471 return this.setError$2(error, null);
33472 }
33473 };
33474 A._CompleterStream.prototype = {
33475 listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
33476 var sourceStream, t1, _this = this, _null = null;
33477 if (_this._stream_completer$_controller == null) {
33478 sourceStream = _this._sourceStream;
33479 if (sourceStream != null && !sourceStream.get$isBroadcast())
33480 return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
33481 if (_this._stream_completer$_controller == null)
33482 _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
33483 if (_this._sourceStream != null)
33484 _this._linkStreamToController$0();
33485 }
33486 t1 = _this._stream_completer$_controller;
33487 t1.toString;
33488 return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
33489 },
33490 listen$1($receiver, onData) {
33491 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
33492 },
33493 listen$3$onDone$onError($receiver, onData, onDone, onError) {
33494 return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
33495 },
33496 _linkStreamToController$0() {
33497 var t2,
33498 t1 = this._stream_completer$_controller;
33499 t1.toString;
33500 t2 = this._sourceStream;
33501 t2.toString;
33502 t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
33503 }
33504 };
33505 A.StreamGroup.prototype = {
33506 add$1(_, stream) {
33507 var t1, _this = this;
33508 if (_this._closed)
33509 throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
33510 t1 = _this._stream_group$_state;
33511 if (t1 === B._StreamGroupState_dormant)
33512 _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
33513 else if (t1 === B._StreamGroupState_canceled)
33514 return stream.listen$1(0, null).cancel$0();
33515 else
33516 _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
33517 return null;
33518 },
33519 remove$1(_, stream) {
33520 var t1 = this._subscriptions,
33521 subscription = t1.remove$1(0, stream),
33522 future = subscription == null ? null : subscription.cancel$0();
33523 if (t1.get$isEmpty(t1))
33524 if (this._closed) {
33525 t1 = A._lateReadCheck(this.__StreamGroup__controller, "_controller");
33526 A.scheduleMicrotask(t1.get$close(t1));
33527 }
33528 return future;
33529 },
33530 _onListen$0() {
33531 var stream, t1, t2, t3, _i, entry, exception, onError, _this = this;
33532 _this._stream_group$_state = B._StreamGroupState_listening;
33533 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) {
33534 entry = t2[_i];
33535 if (entry.value != null)
33536 continue;
33537 stream = entry.key;
33538 try {
33539 t1.$indexSet(0, stream, _this._listenToStream$1(stream));
33540 } catch (exception) {
33541 t1 = _this._onCancel$0();
33542 if (t1 != null) {
33543 onError = new A.StreamGroup__onListen_closure();
33544 t2 = t1.$ti;
33545 t3 = $.Zone__current;
33546 if (t3 !== B.C__RootZone)
33547 onError = A._registerErrorHandler(onError, t3);
33548 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>")));
33549 }
33550 throw exception;
33551 }
33552 }
33553 },
33554 _onPause$0() {
33555 this._stream_group$_state = B._StreamGroupState_paused;
33556 for (var t1 = this._subscriptions, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();)
33557 t1.get$current(t1).pause$0(0);
33558 },
33559 _onResume$0() {
33560 this._stream_group$_state = B._StreamGroupState_listening;
33561 for (var t1 = this._subscriptions, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();)
33562 t1.get$current(t1).resume$0(0);
33563 },
33564 _onCancel$0() {
33565 var t1, t2, futures;
33566 this._stream_group$_state = B._StreamGroupState_canceled;
33567 t1 = this._subscriptions;
33568 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);
33569 futures = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E"));
33570 t1.clear$0(0);
33571 return futures.length === 0 ? null : A.Future_wait(futures, type$.void);
33572 },
33573 _listenToStream$1(stream) {
33574 var _this = this,
33575 _s11_ = "_controller",
33576 t1 = A._lateReadCheck(_this.__StreamGroup__controller, _s11_),
33577 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());
33578 if (_this._stream_group$_state === B._StreamGroupState_paused)
33579 subscription.pause$0(0);
33580 return subscription;
33581 }
33582 };
33583 A.StreamGroup_add_closure.prototype = {
33584 call$0() {
33585 return null;
33586 },
33587 $signature: 1
33588 };
33589 A.StreamGroup_add_closure0.prototype = {
33590 call$0() {
33591 return this.$this._listenToStream$1(this.stream);
33592 },
33593 $signature() {
33594 return this.$this.$ti._eval$1("StreamSubscription<1>()");
33595 }
33596 };
33597 A.StreamGroup__onListen_closure.prototype = {
33598 call$1(_) {
33599 },
33600 $signature: 65
33601 };
33602 A.StreamGroup__onCancel_closure.prototype = {
33603 call$1(entry) {
33604 var t1, exception,
33605 subscription = entry.value;
33606 try {
33607 if (subscription != null) {
33608 t1 = subscription.cancel$0();
33609 return t1;
33610 }
33611 t1 = J.listen$1$z(entry.key, null).cancel$0();
33612 return t1;
33613 } catch (exception) {
33614 return null;
33615 }
33616 },
33617 $signature() {
33618 return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
33619 }
33620 };
33621 A.StreamGroup__listenToStream_closure.prototype = {
33622 call$0() {
33623 return this.$this.remove$1(0, this.stream);
33624 },
33625 $signature: 0
33626 };
33627 A._StreamGroupState.prototype = {
33628 toString$0(_) {
33629 return this.name;
33630 }
33631 };
33632 A.StreamQueue.prototype = {
33633 _updateRequests$0() {
33634 var t1, t2, t3, _this = this;
33635 for (t1 = _this._requestQueue, t2 = _this._eventQueue; !t1.get$isEmpty(t1);) {
33636 t3 = t1._collection$_head;
33637 if (t3 === t1._collection$_tail)
33638 A.throwExpression(A.IterableElementError_noElement());
33639 if (t1.$ti._precomputed1._as(t1._collection$_table[t3]).update$2(t2, _this._isDone))
33640 t1.removeFirst$0();
33641 else
33642 return;
33643 }
33644 if (!_this._isDone)
33645 _this._stream_queue$_subscription.pause$0(0);
33646 },
33647 _ensureListening$0() {
33648 var t1, _this = this;
33649 if (_this._isDone)
33650 return;
33651 t1 = _this._stream_queue$_subscription;
33652 if (t1 == null)
33653 _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));
33654 else
33655 t1.resume$0(0);
33656 },
33657 _addResult$1(result) {
33658 ++this._eventsReceived;
33659 this._eventQueue._queue_list$_add$1(result);
33660 this._updateRequests$0();
33661 },
33662 _addRequest$1(request) {
33663 var _this = this,
33664 t1 = _this._requestQueue;
33665 if (t1._collection$_head === t1._collection$_tail) {
33666 if (request.update$2(_this._eventQueue, _this._isDone))
33667 return;
33668 _this._ensureListening$0();
33669 }
33670 t1._add$1(request);
33671 }
33672 };
33673 A.StreamQueue__ensureListening_closure.prototype = {
33674 call$1(data) {
33675 var t1 = this.$this;
33676 t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
33677 },
33678 $signature() {
33679 return this.$this.$ti._eval$1("~(1)");
33680 }
33681 };
33682 A.StreamQueue__ensureListening_closure1.prototype = {
33683 call$2(error, stackTrace) {
33684 this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
33685 },
33686 $signature: 68
33687 };
33688 A.StreamQueue__ensureListening_closure0.prototype = {
33689 call$0() {
33690 var t1 = this.$this;
33691 t1._stream_queue$_subscription = null;
33692 t1._isDone = true;
33693 t1._updateRequests$0();
33694 },
33695 $signature: 0
33696 };
33697 A._NextRequest.prototype = {
33698 update$2(events, isDone) {
33699 if (!events.get$isEmpty(events)) {
33700 events.removeFirst$0().complete$1(this._completer);
33701 return true;
33702 }
33703 if (isDone) {
33704 this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
33705 return true;
33706 }
33707 return false;
33708 },
33709 $is_EventRequest: 1
33710 };
33711 A.Repl.prototype = {};
33712 A.alwaysValid_closure.prototype = {
33713 call$1(text) {
33714 return true;
33715 },
33716 $signature: 6
33717 };
33718 A.ReplAdapter.prototype = {
33719 runAsync$0() {
33720 var rl, runController, _this = this, t1 = {},
33721 t2 = J.get$isTTY$x(self.process.stdin),
33722 output = (t2 == null ? false : t2) ? self.process.stdout : null;
33723 t2 = _this.repl.prompt;
33724 rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
33725 _this.rl = rl;
33726 t1.statement = "";
33727 t1.prompt = t2;
33728 runController = A._Cell$();
33729 runController._value = A.StreamController_StreamController(_this.get$exit(_this), new A.ReplAdapter_runAsync_closure(t1, _this, rl, runController), null, null, false, type$.String);
33730 return runController._readLocal$0().get$stream();
33731 },
33732 exit$0(_) {
33733 var t1 = this.rl;
33734 if (t1 != null)
33735 J.close$0$x(t1);
33736 this.rl = null;
33737 }
33738 };
33739 A.ReplAdapter_runAsync_closure.prototype = {
33740 call$0() {
33741 var $async$goto = 0,
33742 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
33743 $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;
33744 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
33745 if ($async$errorCode === 1) {
33746 $async$currentError = $async$result;
33747 $async$goto = $async$handler;
33748 }
33749 while (true)
33750 switch ($async$goto) {
33751 case 0:
33752 // Function start
33753 $async$handler = 3;
33754 lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
33755 t1 = lineController;
33756 t2 = A.QueueList$(null, type$.Result_String);
33757 t3 = A.ListQueue$(type$._EventRequest_dynamic);
33758 lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A.instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
33759 t1 = $async$self.rl;
33760 t2 = J.getInterceptor$x(t1);
33761 t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
33762 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;
33763 case 6:
33764 // for condition
33765 // trivial condition
33766 t7 = J.get$isTTY$x(self.process.stdin);
33767 if (t7 == null ? false : t7)
33768 J.write$1$x(self.process.stdout, t3.prompt);
33769 t7 = lineQueue;
33770 t8 = A.instanceType(t7);
33771 t9 = new A._Future($.Zone__current, t8._eval$1("_Future<1>"));
33772 t7._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t9, t8._eval$1("_AsyncCompleter<1>")), t8._eval$1("_NextRequest<1>")));
33773 $async$goto = 8;
33774 return A._asyncAwait(t9, $async$call$0);
33775 case 8:
33776 // returning from await.
33777 line = $async$result;
33778 t7 = J.get$isTTY$x(self.process.stdin);
33779 if (!(t7 == null ? false : t7)) {
33780 line0 = t3.prompt + A.S(line);
33781 toZone = $.printToZone;
33782 if (toZone == null)
33783 A.printString(line0);
33784 else
33785 toZone.call$1(line0);
33786 }
33787 statement = B.JSString_methods.$add(t3.statement, line);
33788 t3.statement = statement;
33789 if (t4.validator.call$1(statement)) {
33790 t7 = t5._value;
33791 if (t7 === t5)
33792 A.throwExpression(A.LateError$localNI(t6));
33793 J.add$1$ax(t7, t3.statement);
33794 t3.statement = "";
33795 t3.prompt = prompt0;
33796 t2.setPrompt$1(t1, prompt0);
33797 } else {
33798 t3.statement += "\n";
33799 t3.prompt = $prompt;
33800 t2.setPrompt$1(t1, $prompt);
33801 }
33802 // goto for condition
33803 $async$goto = 6;
33804 break;
33805 case 7:
33806 // after for
33807 $async$handler = 1;
33808 // goto after finally
33809 $async$goto = 5;
33810 break;
33811 case 3:
33812 // catch
33813 $async$handler = 2;
33814 $async$exception = $async$currentError;
33815 error = A.unwrapException($async$exception);
33816 stackTrace = A.getTraceFromException($async$exception);
33817 t1 = $async$self.runController;
33818 t1._readLocal$0().addError$2(error, stackTrace);
33819 $async$goto = 9;
33820 return A._asyncAwait($async$self.$this.exit$0(0), $async$call$0);
33821 case 9:
33822 // returning from await.
33823 J.close$0$x(t1._readLocal$0());
33824 // goto after finally
33825 $async$goto = 5;
33826 break;
33827 case 2:
33828 // uncaught
33829 // goto rethrow
33830 $async$goto = 1;
33831 break;
33832 case 5:
33833 // after finally
33834 // implicit return
33835 return A._asyncReturn(null, $async$completer);
33836 case 1:
33837 // rethrow
33838 return A._asyncRethrow($async$currentError, $async$completer);
33839 }
33840 });
33841 return A._asyncStartSync($async$call$0, $async$completer);
33842 },
33843 $signature: 37
33844 };
33845 A.ReplAdapter_runAsync__closure.prototype = {
33846 call$1(value) {
33847 return this.lineController.add$1(0, A._asString(value));
33848 },
33849 $signature: 123
33850 };
33851 A.Stdin.prototype = {};
33852 A.Stdout.prototype = {};
33853 A.ReadlineModule.prototype = {};
33854 A.ReadlineOptions.prototype = {};
33855 A.ReadlineInterface.prototype = {};
33856 A.EmptyUnmodifiableSet.prototype = {
33857 get$iterator(_) {
33858 return B.C_EmptyIterator;
33859 },
33860 get$length(_) {
33861 return 0;
33862 },
33863 contains$1(_, element) {
33864 return false;
33865 },
33866 toSet$0(_) {
33867 return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
33868 },
33869 $isEfficientLengthIterable: 1,
33870 $isSet: 1
33871 };
33872 A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
33873 A.DefaultEquality.prototype = {};
33874 A.IterableEquality.prototype = {
33875 equals$2(_, elements1, elements2) {
33876 var it1, it2, hasNext;
33877 if (elements1 === elements2)
33878 return true;
33879 it1 = J.get$iterator$ax(elements1);
33880 it2 = J.get$iterator$ax(elements2);
33881 for (; true;) {
33882 hasNext = it1.moveNext$0();
33883 if (hasNext !== it2.moveNext$0())
33884 return false;
33885 if (!hasNext)
33886 return true;
33887 if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
33888 return false;
33889 }
33890 }
33891 };
33892 A.ListEquality.prototype = {
33893 equals$2(_, list1, list2) {
33894 var t1, $length, t2, i;
33895 if (list1 == null ? list2 == null : list1 === list2)
33896 return true;
33897 if (list1 == null || list2 == null)
33898 return false;
33899 t1 = J.getInterceptor$asx(list1);
33900 $length = t1.get$length(list1);
33901 t2 = J.getInterceptor$asx(list2);
33902 if ($length !== t2.get$length(list2))
33903 return false;
33904 for (i = 0; i < $length; ++i)
33905 if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
33906 return false;
33907 return true;
33908 },
33909 hash$1(list) {
33910 var hash, i;
33911 for (hash = 0, i = 0; i < list.length; ++i) {
33912 hash = hash + J.get$hashCode$(list[i]) & 2147483647;
33913 hash = hash + (hash << 10 >>> 0) & 2147483647;
33914 hash ^= hash >>> 6;
33915 }
33916 hash = hash + (hash << 3 >>> 0) & 2147483647;
33917 hash ^= hash >>> 11;
33918 return hash + (hash << 15 >>> 0) & 2147483647;
33919 }
33920 };
33921 A._MapEntry.prototype = {
33922 get$hashCode(_) {
33923 return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
33924 },
33925 $eq(_, other) {
33926 if (other == null)
33927 return false;
33928 return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
33929 }
33930 };
33931 A.MapEquality.prototype = {
33932 equals$2(_, map1, map2) {
33933 var equalElementCounts, t1, key, entry, count;
33934 if (map1 === map2)
33935 return true;
33936 if (map1.get$length(map1) !== map2.get$length(map2))
33937 return false;
33938 equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
33939 for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
33940 key = t1.get$current(t1);
33941 entry = new A._MapEntry(this, key, map1.$index(0, key));
33942 count = equalElementCounts.$index(0, entry);
33943 equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
33944 }
33945 for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
33946 key = t1.get$current(t1);
33947 entry = new A._MapEntry(this, key, map2.$index(0, key));
33948 count = equalElementCounts.$index(0, entry);
33949 if (count == null || count === 0)
33950 return false;
33951 equalElementCounts.$indexSet(0, entry, count - 1);
33952 }
33953 return true;
33954 },
33955 hash$1(map) {
33956 var t1, t2, hash, key;
33957 for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = A._instanceType(this)._rest[1], hash = 0; t1.moveNext$0();) {
33958 key = t1.get$current(t1);
33959 hash = hash + 3 * J.get$hashCode$(key) + 7 * J.get$hashCode$(t2._as(map.$index(0, key))) & 2147483647;
33960 }
33961 hash = hash + (hash << 3 >>> 0) & 2147483647;
33962 hash ^= hash >>> 11;
33963 return hash + (hash << 15 >>> 0) & 2147483647;
33964 }
33965 };
33966 A.QueueList.prototype = {
33967 add$1(_, element) {
33968 this._queue_list$_add$1(element);
33969 },
33970 addAll$1(_, iterable) {
33971 var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
33972 if (type$.List_dynamic._is(iterable)) {
33973 addCount = J.get$length$asx(iterable);
33974 $length = _this.get$length(_this);
33975 t1 = $length + addCount;
33976 if (t1 >= J.get$length$asx(_this._table)) {
33977 _this._preGrow$1(t1);
33978 J.setRange$4$ax(_this._table, $length, t1, iterable, 0);
33979 _this.set$_tail(_this.get$_tail() + addCount);
33980 } else {
33981 endSpace = J.get$length$asx(_this._table) - _this.get$_tail();
33982 t1 = _this._table;
33983 t2 = J.getInterceptor$ax(t1);
33984 if (addCount < endSpace) {
33985 t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + addCount, iterable, 0);
33986 _this.set$_tail(_this.get$_tail() + addCount);
33987 } else {
33988 preSpace = addCount - endSpace;
33989 t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + endSpace, iterable, 0);
33990 J.setRange$4$ax(_this._table, 0, preSpace, iterable, endSpace);
33991 _this.set$_tail(preSpace);
33992 }
33993 }
33994 } else
33995 for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
33996 _this._queue_list$_add$1(t1.get$current(t1));
33997 },
33998 cast$1$0(_, $T) {
33999 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>"));
34000 },
34001 toString$0(_) {
34002 return A.IterableBase_iterableToFullString(this, "{", "}");
34003 },
34004 addFirst$1(element) {
34005 var _this = this;
34006 _this.set$_head((_this.get$_head() - 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34007 J.$indexSet$ax(_this._table, _this.get$_head(), element);
34008 if (_this.get$_head() === _this.get$_tail())
34009 _this._grow$0();
34010 },
34011 removeFirst$0() {
34012 var result, _this = this;
34013 if (_this.get$_head() === _this.get$_tail())
34014 throw A.wrapException(A.StateError$("No element"));
34015 result = A._instanceType(_this)._eval$1("QueueList.E")._as(J.$index$asx(_this._table, _this.get$_head()));
34016 J.$indexSet$ax(_this._table, _this.get$_head(), null);
34017 _this.set$_head((_this.get$_head() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34018 return result;
34019 },
34020 get$length(_) {
34021 return (this.get$_tail() - this.get$_head() & J.get$length$asx(this._table) - 1) >>> 0;
34022 },
34023 set$length(_, value) {
34024 var delta, newTail, t1, t2, _this = this;
34025 if (value < 0)
34026 throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
34027 if (value > _this.get$length(_this) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
34028 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) + "`."));
34029 delta = value - _this.get$length(_this);
34030 if (delta >= 0) {
34031 if (J.get$length$asx(_this._table) <= value)
34032 _this._preGrow$1(value);
34033 _this.set$_tail((_this.get$_tail() + delta & J.get$length$asx(_this._table) - 1) >>> 0);
34034 return;
34035 }
34036 newTail = _this.get$_tail() + delta;
34037 t1 = _this._table;
34038 if (newTail >= 0)
34039 J.fillRange$3$ax(t1, newTail, _this.get$_tail(), null);
34040 else {
34041 newTail += J.get$length$asx(t1);
34042 J.fillRange$3$ax(_this._table, 0, _this.get$_tail(), null);
34043 t1 = _this._table;
34044 t2 = J.getInterceptor$asx(t1);
34045 t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
34046 }
34047 _this.set$_tail(newTail);
34048 },
34049 $index(_, index) {
34050 var _this = this;
34051 if (index < 0 || index >= _this.get$length(_this))
34052 throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
34053 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));
34054 },
34055 $indexSet(_, index, value) {
34056 var _this = this;
34057 if (index < 0 || index >= _this.get$length(_this))
34058 throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
34059 J.$indexSet$ax(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0, value);
34060 },
34061 _queue_list$_add$1(element) {
34062 var _this = this;
34063 J.$indexSet$ax(_this._table, _this.get$_tail(), element);
34064 _this.set$_tail((_this.get$_tail() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
34065 if (_this.get$_head() === _this.get$_tail())
34066 _this._grow$0();
34067 },
34068 _grow$0() {
34069 var _this = this,
34070 newTable = A.List_List$filled(J.get$length$asx(_this._table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
34071 split = J.get$length$asx(_this._table) - _this.get$_head();
34072 B.JSArray_methods.setRange$4(newTable, 0, split, _this._table, _this.get$_head());
34073 B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_head(), _this._table, 0);
34074 _this.set$_head(0);
34075 _this.set$_tail(J.get$length$asx(_this._table));
34076 _this._table = newTable;
34077 },
34078 _writeToList$1(target) {
34079 var $length, firstPartSize, _this = this;
34080 if (_this.get$_head() <= _this.get$_tail()) {
34081 $length = _this.get$_tail() - _this.get$_head();
34082 B.JSArray_methods.setRange$4(target, 0, $length, _this._table, _this.get$_head());
34083 return $length;
34084 } else {
34085 firstPartSize = J.get$length$asx(_this._table) - _this.get$_head();
34086 B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._table, _this.get$_head());
34087 B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_tail(), _this._table, 0);
34088 return _this.get$_tail() + firstPartSize;
34089 }
34090 },
34091 _preGrow$1(newElementCount) {
34092 var _this = this,
34093 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?"));
34094 _this.set$_tail(_this._writeToList$1(newTable));
34095 _this._table = newTable;
34096 _this.set$_head(0);
34097 },
34098 $isEfficientLengthIterable: 1,
34099 $isQueue: 1,
34100 $isIterable: 1,
34101 $isList: 1,
34102 get$_head() {
34103 return this._head;
34104 },
34105 get$_tail() {
34106 return this._tail;
34107 },
34108 set$_head(val) {
34109 return this._head = val;
34110 },
34111 set$_tail(val) {
34112 return this._tail = val;
34113 }
34114 };
34115 A._CastQueueList.prototype = {
34116 get$_head() {
34117 return this._queue_list$_delegate.get$_head();
34118 },
34119 set$_head(value) {
34120 this._queue_list$_delegate.set$_head(value);
34121 },
34122 get$_tail() {
34123 return this._queue_list$_delegate.get$_tail();
34124 },
34125 set$_tail(value) {
34126 this._queue_list$_delegate.set$_tail(value);
34127 }
34128 };
34129 A._QueueList_Object_ListMixin.prototype = {};
34130 A.UnmodifiableSetView.prototype = {};
34131 A.UnmodifiableSetMixin.prototype = {
34132 add$1(_, value) {
34133 return A.UnmodifiableSetMixin__throw();
34134 },
34135 addAll$1(_, elements) {
34136 return A.UnmodifiableSetMixin__throw();
34137 }
34138 };
34139 A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
34140 A._DelegatingIterableBase.prototype = {
34141 contains$1(_, element) {
34142 return J.contains$1$asx(this.get$_base(), element);
34143 },
34144 elementAt$1(_, index) {
34145 return J.elementAt$1$ax(this.get$_base(), index);
34146 },
34147 get$first(_) {
34148 return J.get$first$ax(this.get$_base());
34149 },
34150 get$isEmpty(_) {
34151 return J.get$isEmpty$asx(this.get$_base());
34152 },
34153 get$isNotEmpty(_) {
34154 return J.get$isNotEmpty$asx(this.get$_base());
34155 },
34156 get$iterator(_) {
34157 return J.get$iterator$ax(this.get$_base());
34158 },
34159 join$1(_, separator) {
34160 return J.join$1$ax(this.get$_base(), separator);
34161 },
34162 join$0($receiver) {
34163 return this.join$1($receiver, "");
34164 },
34165 get$last(_) {
34166 return J.get$last$ax(this.get$_base());
34167 },
34168 get$length(_) {
34169 return J.get$length$asx(this.get$_base());
34170 },
34171 map$1$1(_, f, $T) {
34172 return J.map$1$1$ax(this.get$_base(), f, $T);
34173 },
34174 get$single(_) {
34175 return J.get$single$ax(this.get$_base());
34176 },
34177 skip$1(_, n) {
34178 return J.skip$1$ax(this.get$_base(), n);
34179 },
34180 take$1(_, n) {
34181 return J.take$1$ax(this.get$_base(), n);
34182 },
34183 toList$1$growable(_, growable) {
34184 return J.toList$1$growable$ax(this.get$_base(), true);
34185 },
34186 toList$0($receiver) {
34187 return this.toList$1$growable($receiver, true);
34188 },
34189 toSet$0(_) {
34190 return J.toSet$0$ax(this.get$_base());
34191 },
34192 where$1(_, test) {
34193 return J.where$1$ax(this.get$_base(), test);
34194 },
34195 toString$0(_) {
34196 return J.toString$0$(this.get$_base());
34197 },
34198 $isIterable: 1
34199 };
34200 A.DelegatingSet.prototype = {
34201 add$1(_, value) {
34202 return this._base.add$1(0, value);
34203 },
34204 addAll$1(_, elements) {
34205 this._base.addAll$1(0, elements);
34206 },
34207 toSet$0(_) {
34208 return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
34209 },
34210 $isEfficientLengthIterable: 1,
34211 $isSet: 1,
34212 get$_base() {
34213 return this._base;
34214 }
34215 };
34216 A.MapKeySet.prototype = {
34217 get$_base() {
34218 var t1 = this._baseMap;
34219 return t1.get$keys(t1);
34220 },
34221 contains$1(_, element) {
34222 return this._baseMap.containsKey$1(element);
34223 },
34224 get$isEmpty(_) {
34225 var t1 = this._baseMap;
34226 return t1.get$isEmpty(t1);
34227 },
34228 get$isNotEmpty(_) {
34229 var t1 = this._baseMap;
34230 return t1.get$isNotEmpty(t1);
34231 },
34232 get$length(_) {
34233 var t1 = this._baseMap;
34234 return t1.get$length(t1);
34235 },
34236 toString$0(_) {
34237 return A.IterableBase_iterableToFullString(this, "{", "}");
34238 },
34239 difference$1(other) {
34240 return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
34241 },
34242 $isEfficientLengthIterable: 1,
34243 $isSet: 1
34244 };
34245 A.MapKeySet_difference_closure.prototype = {
34246 call$1(element) {
34247 return !this.other._source.contains$1(0, element);
34248 },
34249 $signature() {
34250 return this.$this.$ti._eval$1("bool(1)");
34251 }
34252 };
34253 A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
34254 A.BufferModule.prototype = {};
34255 A.BufferConstants.prototype = {};
34256 A.Buffer.prototype = {};
34257 A.ConsoleModule.prototype = {};
34258 A.Console.prototype = {};
34259 A.EventEmitter.prototype = {};
34260 A.FS.prototype = {};
34261 A.FSConstants.prototype = {};
34262 A.FSWatcher.prototype = {};
34263 A.ReadStream.prototype = {};
34264 A.ReadStreamOptions.prototype = {};
34265 A.WriteStream.prototype = {};
34266 A.WriteStreamOptions.prototype = {};
34267 A.FileOptions.prototype = {};
34268 A.StatOptions.prototype = {};
34269 A.MkdirOptions.prototype = {};
34270 A.RmdirOptions.prototype = {};
34271 A.WatchOptions.prototype = {};
34272 A.WatchFileOptions.prototype = {};
34273 A.Stats.prototype = {};
34274 A.Promise.prototype = {};
34275 A.Date.prototype = {};
34276 A.JsError.prototype = {};
34277 A.Atomics.prototype = {};
34278 A.Modules.prototype = {};
34279 A.Module1.prototype = {};
34280 A.Net.prototype = {};
34281 A.Socket.prototype = {};
34282 A.NetAddress.prototype = {};
34283 A.NetServer.prototype = {};
34284 A.NodeJsError.prototype = {};
34285 A.JsAssertionError.prototype = {};
34286 A.JsRangeError.prototype = {};
34287 A.JsReferenceError.prototype = {};
34288 A.JsSyntaxError.prototype = {};
34289 A.JsTypeError.prototype = {};
34290 A.JsSystemError.prototype = {};
34291 A.Process.prototype = {};
34292 A.CPUUsage.prototype = {};
34293 A.Release.prototype = {};
34294 A.StreamModule.prototype = {};
34295 A.Readable.prototype = {};
34296 A.Writable.prototype = {};
34297 A.Duplex.prototype = {};
34298 A.Transform.prototype = {};
34299 A.WritableOptions.prototype = {};
34300 A.ReadableOptions.prototype = {};
34301 A.Immediate.prototype = {};
34302 A.Timeout.prototype = {};
34303 A.TTY.prototype = {};
34304 A.TTYReadStream.prototype = {};
34305 A.TTYWriteStream.prototype = {};
34306 A.Util.prototype = {};
34307 A.promiseToFuture_closure.prototype = {
34308 call$1(value) {
34309 this.completer.complete$1(value);
34310 },
34311 $signature: 65
34312 };
34313 A.promiseToFuture_closure0.prototype = {
34314 call$1(error) {
34315 this.completer.completeError$1(error);
34316 },
34317 $signature: 65
34318 };
34319 A.futureToPromise_closure.prototype = {
34320 call$2(resolve, reject) {
34321 this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
34322 },
34323 $signature: 303
34324 };
34325 A.futureToPromise__closure.prototype = {
34326 call$1(result) {
34327 return this.resolve.call$1(result);
34328 },
34329 $signature() {
34330 return this.T._eval$1("@(0)");
34331 }
34332 };
34333 A.Context.prototype = {
34334 absolute$7(part1, part2, part3, part4, part5, part6, part7) {
34335 var t1;
34336 A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7], type$.JSArray_nullable_String));
34337 if (part2 == null) {
34338 t1 = this.style;
34339 t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
34340 } else
34341 t1 = false;
34342 if (t1)
34343 return part1;
34344 t1 = this._context$_current;
34345 return this.join$8(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7);
34346 },
34347 absolute$1(part1) {
34348 return this.absolute$7(part1, null, null, null, null, null, null);
34349 },
34350 dirname$1(path) {
34351 var t1, t2,
34352 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34353 parsed.removeTrailingSeparators$0();
34354 t1 = parsed.parts;
34355 t2 = t1.length;
34356 if (t2 === 0) {
34357 t1 = parsed.root;
34358 return t1 == null ? "." : t1;
34359 }
34360 if (t2 === 1) {
34361 t1 = parsed.root;
34362 return t1 == null ? "." : t1;
34363 }
34364 B.JSArray_methods.removeLast$0(t1);
34365 parsed.separators.pop();
34366 parsed.removeTrailingSeparators$0();
34367 return parsed.toString$0(0);
34368 },
34369 join$8(_, part1, part2, part3, part4, part5, part6, part7, part8) {
34370 var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8], type$.JSArray_nullable_String);
34371 A._validateArgList("join", parts);
34372 return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
34373 },
34374 join$2($receiver, part1, part2) {
34375 return this.join$8($receiver, part1, part2, null, null, null, null, null, null);
34376 },
34377 joinAll$1(parts) {
34378 var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
34379 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();) {
34380 t5 = t1.get$current(t1);
34381 if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
34382 parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
34383 path = t4.charCodeAt(0) == 0 ? t4 : t4;
34384 t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
34385 parsed.root = t4;
34386 if (t3.needsSeparator$1(t4))
34387 parsed.separators[0] = t3.get$separator(t3);
34388 t4 = "" + parsed.toString$0(0);
34389 } else if (t3.rootLength$1(t5) > 0) {
34390 isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
34391 t4 = "" + t5;
34392 } else {
34393 if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
34394 if (needsSeparator)
34395 t4 += t3.get$separator(t3);
34396 t4 += t5;
34397 }
34398 needsSeparator = t3.needsSeparator$1(t5);
34399 }
34400 return t4.charCodeAt(0) == 0 ? t4 : t4;
34401 },
34402 split$1(_, path) {
34403 var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
34404 t1 = parsed.parts,
34405 t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
34406 t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
34407 parsed.parts = t2;
34408 t1 = parsed.root;
34409 if (t1 != null)
34410 B.JSArray_methods.insert$2(t2, 0, t1);
34411 return parsed.parts;
34412 },
34413 canonicalize$1(_, path) {
34414 var t1, parsed;
34415 path = this.absolute$1(path);
34416 t1 = this.style;
34417 if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
34418 return path;
34419 parsed = A.ParsedPath_ParsedPath$parse(path, t1);
34420 parsed.normalize$1$canonicalize(true);
34421 return parsed.toString$0(0);
34422 },
34423 normalize$1(path) {
34424 var parsed;
34425 if (!this._needsNormalization$1(path))
34426 return path;
34427 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34428 parsed.normalize$0();
34429 return parsed.toString$0(0);
34430 },
34431 _needsNormalization$1(path) {
34432 var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
34433 t1 = this.style,
34434 root = t1.rootLength$1(path);
34435 if (root !== 0) {
34436 if (t1 === $.$get$Style_windows())
34437 for (i = 0; i < root; ++i)
34438 if (B.JSString_methods._codeUnitAt$1(path, i) === 47)
34439 return true;
34440 start = root;
34441 previous = 47;
34442 } else {
34443 start = 0;
34444 previous = null;
34445 }
34446 for (t2 = new A.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
34447 codeUnit = B.JSString_methods.codeUnitAt$1(t2, i);
34448 if (t1.isSeparator$1(codeUnit)) {
34449 if (t1 === $.$get$Style_windows() && codeUnit === 47)
34450 return true;
34451 if (previous != null && t1.isSeparator$1(previous))
34452 return true;
34453 if (previous === 46)
34454 t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
34455 else
34456 t4 = false;
34457 if (t4)
34458 return true;
34459 }
34460 }
34461 if (previous == null)
34462 return true;
34463 if (t1.isSeparator$1(previous))
34464 return true;
34465 if (previous === 46)
34466 t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
34467 else
34468 t1 = false;
34469 if (t1)
34470 return true;
34471 return false;
34472 },
34473 relative$2$from(path, from) {
34474 var fromParsed, pathParsed, t2, t3, _this = this,
34475 _s26_ = 'Unable to find a path to "',
34476 t1 = from == null;
34477 if (t1 && _this.style.rootLength$1(path) <= 0)
34478 return _this.normalize$1(path);
34479 if (t1) {
34480 t1 = _this._context$_current;
34481 from = t1 == null ? A.current() : t1;
34482 } else
34483 from = _this.absolute$1(from);
34484 t1 = _this.style;
34485 if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
34486 return _this.normalize$1(path);
34487 if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
34488 path = _this.absolute$1(path);
34489 if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
34490 throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
34491 fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
34492 fromParsed.normalize$0();
34493 pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
34494 pathParsed.normalize$0();
34495 t2 = fromParsed.parts;
34496 if (t2.length !== 0 && J.$eq$(t2[0], "."))
34497 return pathParsed.toString$0(0);
34498 t2 = fromParsed.root;
34499 t3 = pathParsed.root;
34500 if (t2 != t3)
34501 t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
34502 else
34503 t2 = false;
34504 if (t2)
34505 return pathParsed.toString$0(0);
34506 while (true) {
34507 t2 = fromParsed.parts;
34508 if (t2.length !== 0) {
34509 t3 = pathParsed.parts;
34510 t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
34511 } else
34512 t2 = false;
34513 if (!t2)
34514 break;
34515 B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
34516 B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
34517 B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
34518 B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
34519 }
34520 t2 = fromParsed.parts;
34521 if (t2.length !== 0 && J.$eq$(t2[0], ".."))
34522 throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
34523 t2 = type$.String;
34524 B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2));
34525 t3 = pathParsed.separators;
34526 t3[0] = "";
34527 B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
34528 t1 = pathParsed.parts;
34529 t2 = t1.length;
34530 if (t2 === 0)
34531 return ".";
34532 if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
34533 B.JSArray_methods.removeLast$0(pathParsed.parts);
34534 t1 = pathParsed.separators;
34535 t1.pop();
34536 t1.pop();
34537 t1.push("");
34538 }
34539 pathParsed.root = "";
34540 pathParsed.removeTrailingSeparators$0();
34541 return pathParsed.toString$0(0);
34542 },
34543 relative$1(path) {
34544 return this.relative$2$from(path, null);
34545 },
34546 _isWithinOrEquals$2($parent, child) {
34547 var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
34548 $parent = $parent;
34549 child = child;
34550 t1 = _this.style;
34551 parentIsAbsolute = t1.rootLength$1($parent) > 0;
34552 childIsAbsolute = t1.rootLength$1(child) > 0;
34553 if (parentIsAbsolute && !childIsAbsolute) {
34554 child = _this.absolute$1(child);
34555 if (t1.isRootRelative$1($parent))
34556 $parent = _this.absolute$1($parent);
34557 } else if (childIsAbsolute && !parentIsAbsolute) {
34558 $parent = _this.absolute$1($parent);
34559 if (t1.isRootRelative$1(child))
34560 child = _this.absolute$1(child);
34561 } else if (childIsAbsolute && parentIsAbsolute) {
34562 childIsRootRelative = t1.isRootRelative$1(child);
34563 parentIsRootRelative = t1.isRootRelative$1($parent);
34564 if (childIsRootRelative && !parentIsRootRelative)
34565 child = _this.absolute$1(child);
34566 else if (parentIsRootRelative && !childIsRootRelative)
34567 $parent = _this.absolute$1($parent);
34568 }
34569 result = _this._isWithinOrEqualsFast$2($parent, child);
34570 if (result !== B._PathRelation_inconclusive)
34571 return result;
34572 relative = null;
34573 try {
34574 relative = _this.relative$2$from(child, $parent);
34575 } catch (exception) {
34576 if (A.unwrapException(exception) instanceof A.PathException)
34577 return B._PathRelation_different;
34578 else
34579 throw exception;
34580 }
34581 if (t1.rootLength$1(relative) > 0)
34582 return B._PathRelation_different;
34583 if (J.$eq$(relative, "."))
34584 return B._PathRelation_equal;
34585 if (J.$eq$(relative, ".."))
34586 return B._PathRelation_different;
34587 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;
34588 },
34589 _isWithinOrEqualsFast$2($parent, child) {
34590 var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
34591 if ($parent === ".")
34592 $parent = "";
34593 t1 = _this.style;
34594 parentRootLength = t1.rootLength$1($parent);
34595 childRootLength = t1.rootLength$1(child);
34596 if (parentRootLength !== childRootLength)
34597 return B._PathRelation_different;
34598 for (i = 0; i < parentRootLength; ++i)
34599 if (!t1.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1($parent, i), B.JSString_methods._codeUnitAt$1(child, i)))
34600 return B._PathRelation_different;
34601 t2 = child.length;
34602 t3 = $parent.length;
34603 childIndex = childRootLength;
34604 parentIndex = parentRootLength;
34605 lastCodeUnit = 47;
34606 lastParentSeparator = null;
34607 while (true) {
34608 if (!(parentIndex < t3 && childIndex < t2))
34609 break;
34610 c$0: {
34611 parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
34612 childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
34613 if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
34614 if (t1.isSeparator$1(parentCodeUnit))
34615 lastParentSeparator = parentIndex;
34616 ++parentIndex;
34617 ++childIndex;
34618 lastCodeUnit = parentCodeUnit;
34619 break c$0;
34620 }
34621 if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
34622 parentIndex0 = parentIndex + 1;
34623 lastParentSeparator = parentIndex;
34624 parentIndex = parentIndex0;
34625 break c$0;
34626 } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
34627 ++childIndex;
34628 break c$0;
34629 }
34630 if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
34631 ++parentIndex;
34632 if (parentIndex === t3)
34633 break;
34634 parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
34635 if (t1.isSeparator$1(parentCodeUnit)) {
34636 parentIndex0 = parentIndex + 1;
34637 lastParentSeparator = parentIndex;
34638 parentIndex = parentIndex0;
34639 break c$0;
34640 }
34641 if (parentCodeUnit === 46) {
34642 ++parentIndex;
34643 if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
34644 return B._PathRelation_inconclusive;
34645 }
34646 }
34647 if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
34648 ++childIndex;
34649 if (childIndex === t2)
34650 break;
34651 childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
34652 if (t1.isSeparator$1(childCodeUnit)) {
34653 ++childIndex;
34654 break c$0;
34655 }
34656 if (childCodeUnit === 46) {
34657 ++childIndex;
34658 if (childIndex === t2 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)))
34659 return B._PathRelation_inconclusive;
34660 }
34661 }
34662 if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_988)
34663 return B._PathRelation_inconclusive;
34664 if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_988)
34665 return B._PathRelation_inconclusive;
34666 return B._PathRelation_different;
34667 }
34668 }
34669 if (childIndex === t2) {
34670 if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
34671 lastParentSeparator = parentIndex;
34672 else if (lastParentSeparator == null)
34673 lastParentSeparator = Math.max(0, parentRootLength - 1);
34674 direction = _this._pathDirection$2($parent, lastParentSeparator);
34675 if (direction === B._PathDirection_8Gl)
34676 return B._PathRelation_equal;
34677 return direction === B._PathDirection_ZGD ? B._PathRelation_inconclusive : B._PathRelation_different;
34678 }
34679 direction = _this._pathDirection$2(child, childIndex);
34680 if (direction === B._PathDirection_8Gl)
34681 return B._PathRelation_equal;
34682 if (direction === B._PathDirection_ZGD)
34683 return B._PathRelation_inconclusive;
34684 return t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
34685 },
34686 _pathDirection$2(path, index) {
34687 var t1, t2, i, depth, reachedRoot, i0, t3;
34688 for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
34689 while (true) {
34690 if (!(i < t1 && t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i))))
34691 break;
34692 ++i;
34693 }
34694 if (i === t1)
34695 break;
34696 i0 = i;
34697 while (true) {
34698 if (!(i0 < t1 && !t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i0))))
34699 break;
34700 ++i0;
34701 }
34702 t3 = i0 - i;
34703 if (!(t3 === 1 && B.JSString_methods.codeUnitAt$1(path, i) === 46))
34704 if (t3 === 2 && B.JSString_methods.codeUnitAt$1(path, i) === 46 && B.JSString_methods.codeUnitAt$1(path, i + 1) === 46) {
34705 --depth;
34706 if (depth < 0)
34707 break;
34708 if (depth === 0)
34709 reachedRoot = true;
34710 } else
34711 ++depth;
34712 if (i0 === t1)
34713 break;
34714 i = i0 + 1;
34715 }
34716 if (depth < 0)
34717 return B._PathDirection_ZGD;
34718 if (depth === 0)
34719 return B._PathDirection_8Gl;
34720 if (reachedRoot)
34721 return B._PathDirection_FIw;
34722 return B._PathDirection_988;
34723 },
34724 hash$1(path) {
34725 var result, parsed, t1, _this = this;
34726 path = _this.absolute$1(path);
34727 result = _this._hashFast$1(path);
34728 if (result != null)
34729 return result;
34730 parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
34731 parsed.normalize$0();
34732 t1 = _this._hashFast$1(parsed.toString$0(0));
34733 t1.toString;
34734 return t1;
34735 },
34736 _hashFast$1(path) {
34737 var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
34738 for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
34739 codeUnit = t2.canonicalizeCodeUnit$1(B.JSString_methods._codeUnitAt$1(path, i));
34740 if (t2.isSeparator$1(codeUnit)) {
34741 wasSeparator = true;
34742 continue;
34743 }
34744 if (codeUnit === 46 && wasSeparator) {
34745 t3 = i + 1;
34746 if (t3 === t1)
34747 break;
34748 next = B.JSString_methods._codeUnitAt$1(path, t3);
34749 if (t2.isSeparator$1(next))
34750 continue;
34751 if (!beginning)
34752 if (next === 46) {
34753 t3 = i + 2;
34754 t3 = t3 === t1 || t2.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, t3));
34755 } else
34756 t3 = false;
34757 else
34758 t3 = false;
34759 if (t3)
34760 return null;
34761 }
34762 hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
34763 beginning = false;
34764 wasSeparator = false;
34765 }
34766 return hash;
34767 },
34768 withoutExtension$1(path) {
34769 var i,
34770 parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
34771 for (i = parsed.parts.length - 1; i >= 0; --i)
34772 if (J.get$length$asx(parsed.parts[i]) !== 0) {
34773 parsed.parts[i] = parsed._splitExtension$0()[0];
34774 break;
34775 }
34776 return parsed.toString$0(0);
34777 },
34778 toUri$1(path) {
34779 var t2,
34780 t1 = this.style;
34781 if (t1.rootLength$1(path) <= 0)
34782 return t1.relativePathToUri$1(path);
34783 else {
34784 t2 = this._context$_current;
34785 return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
34786 }
34787 },
34788 prettyUri$1(uri) {
34789 var path, rel, _this = this,
34790 typedUri = A._parseUri(uri);
34791 if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
34792 return typedUri.toString$0(0);
34793 else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
34794 return typedUri.toString$0(0);
34795 path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
34796 rel = _this.relative$1(path);
34797 return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
34798 }
34799 };
34800 A.Context_joinAll_closure.prototype = {
34801 call$1(part) {
34802 return part !== "";
34803 },
34804 $signature: 6
34805 };
34806 A.Context_split_closure.prototype = {
34807 call$1(part) {
34808 return part.length !== 0;
34809 },
34810 $signature: 6
34811 };
34812 A._validateArgList_closure.prototype = {
34813 call$1(arg) {
34814 return arg == null ? "null" : '"' + arg + '"';
34815 },
34816 $signature: 307
34817 };
34818 A._PathDirection.prototype = {
34819 toString$0(_) {
34820 return this.name;
34821 }
34822 };
34823 A._PathRelation.prototype = {
34824 toString$0(_) {
34825 return this.name;
34826 }
34827 };
34828 A.InternalStyle.prototype = {
34829 getRoot$1(path) {
34830 var $length = this.rootLength$1(path);
34831 if ($length > 0)
34832 return B.JSString_methods.substring$2(path, 0, $length);
34833 return this.isRootRelative$1(path) ? path[0] : null;
34834 },
34835 relativePathToUri$1(path) {
34836 var segments, _null = null,
34837 t1 = path.length;
34838 if (t1 === 0)
34839 return A._Uri__Uri(_null, _null, _null, _null);
34840 segments = A.Context_Context(this).split$1(0, path);
34841 if (this.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, t1 - 1)))
34842 B.JSArray_methods.add$1(segments, "");
34843 return A._Uri__Uri(_null, _null, segments, _null);
34844 },
34845 codeUnitsEqual$2(codeUnit1, codeUnit2) {
34846 return codeUnit1 === codeUnit2;
34847 },
34848 pathsEqual$2(path1, path2) {
34849 return path1 === path2;
34850 },
34851 canonicalizeCodeUnit$1(codeUnit) {
34852 return codeUnit;
34853 },
34854 canonicalizePart$1(part) {
34855 return part;
34856 }
34857 };
34858 A.ParsedPath.prototype = {
34859 get$basename() {
34860 var _this = this,
34861 t1 = type$.String,
34862 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));
34863 copy.removeTrailingSeparators$0();
34864 t1 = copy.parts;
34865 if (t1.length === 0) {
34866 t1 = _this.root;
34867 return t1 == null ? "" : t1;
34868 }
34869 return B.JSArray_methods.get$last(t1);
34870 },
34871 get$hasTrailingSeparator() {
34872 var t1 = this.parts;
34873 if (t1.length !== 0)
34874 t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
34875 else
34876 t1 = false;
34877 return t1;
34878 },
34879 removeTrailingSeparators$0() {
34880 var t1, t2, _this = this;
34881 while (true) {
34882 t1 = _this.parts;
34883 if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
34884 break;
34885 B.JSArray_methods.removeLast$0(_this.parts);
34886 _this.separators.pop();
34887 }
34888 t1 = _this.separators;
34889 t2 = t1.length;
34890 if (t2 !== 0)
34891 t1[t2 - 1] = "";
34892 },
34893 normalize$1$canonicalize(canonicalize) {
34894 var t1, t2, t3, leadingDoubles, _i, part, t4, _this = this,
34895 newParts = A._setArrayType([], type$.JSArray_String);
34896 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) {
34897 part = t1[_i];
34898 t4 = J.getInterceptor$(part);
34899 if (!(t4.$eq(part, ".") || t4.$eq(part, "")))
34900 if (t4.$eq(part, ".."))
34901 if (newParts.length !== 0)
34902 newParts.pop();
34903 else
34904 ++leadingDoubles;
34905 else
34906 newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
34907 }
34908 if (_this.root == null)
34909 B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
34910 if (newParts.length === 0 && _this.root == null)
34911 newParts.push(".");
34912 _this.parts = newParts;
34913 _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
34914 t1 = _this.root;
34915 if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
34916 _this.separators[0] = "";
34917 t1 = _this.root;
34918 if (t1 != null && t3 === $.$get$Style_windows()) {
34919 if (canonicalize)
34920 t1 = _this.root = t1.toLowerCase();
34921 t1.toString;
34922 _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
34923 }
34924 _this.removeTrailingSeparators$0();
34925 },
34926 normalize$0() {
34927 return this.normalize$1$canonicalize(false);
34928 },
34929 toString$0(_) {
34930 var i, _this = this,
34931 t1 = _this.root;
34932 t1 = t1 != null ? "" + t1 : "";
34933 for (i = 0; i < _this.parts.length; ++i)
34934 t1 = t1 + A.S(_this.separators[i]) + A.S(_this.parts[i]);
34935 t1 += A.S(B.JSArray_methods.get$last(_this.separators));
34936 return t1.charCodeAt(0) == 0 ? t1 : t1;
34937 },
34938 _kthLastIndexOf$3(path, character, k) {
34939 var index, count, leftMostIndexedCharacter;
34940 for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
34941 if (path[index] === character) {
34942 ++count;
34943 if (count === k)
34944 return index;
34945 leftMostIndexedCharacter = index;
34946 }
34947 return leftMostIndexedCharacter;
34948 },
34949 _splitExtension$1(level) {
34950 var t1, file, lastDot;
34951 if (level <= 0)
34952 throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
34953 t1 = this.parts;
34954 t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
34955 file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
34956 if (file == null)
34957 return A._setArrayType(["", ""], type$.JSArray_String);
34958 if (file === "..")
34959 return A._setArrayType(["..", ""], type$.JSArray_String);
34960 lastDot = this._kthLastIndexOf$3(file, ".", level);
34961 if (lastDot <= 0)
34962 return A._setArrayType([file, ""], type$.JSArray_String);
34963 return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
34964 },
34965 _splitExtension$0() {
34966 return this._splitExtension$1(1);
34967 }
34968 };
34969 A.ParsedPath__splitExtension_closure.prototype = {
34970 call$1(p) {
34971 return p !== "";
34972 },
34973 $signature: 195
34974 };
34975 A.ParsedPath__splitExtension_closure0.prototype = {
34976 call$0() {
34977 return null;
34978 },
34979 $signature: 1
34980 };
34981 A.PathException.prototype = {
34982 toString$0(_) {
34983 return "PathException: " + this.message;
34984 },
34985 $isException: 1,
34986 get$message(receiver) {
34987 return this.message;
34988 }
34989 };
34990 A.PathMap.prototype = {};
34991 A.PathMap__create_closure.prototype = {
34992 call$2(path1, path2) {
34993 if (path1 == null)
34994 return path2 == null;
34995 if (path2 == null)
34996 return false;
34997 return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
34998 },
34999 $signature: 320
35000 };
35001 A.PathMap__create_closure0.prototype = {
35002 call$1(path) {
35003 return path == null ? 0 : this._box_0.context.hash$1(path);
35004 },
35005 $signature: 322
35006 };
35007 A.PathMap__create_closure1.prototype = {
35008 call$1(path) {
35009 return typeof path == "string" || path == null;
35010 },
35011 $signature: 138
35012 };
35013 A.Style.prototype = {
35014 toString$0(_) {
35015 return this.get$name(this);
35016 }
35017 };
35018 A.PosixStyle.prototype = {
35019 containsSeparator$1(path) {
35020 return B.JSString_methods.contains$1(path, "/");
35021 },
35022 isSeparator$1(codeUnit) {
35023 return codeUnit === 47;
35024 },
35025 needsSeparator$1(path) {
35026 var t1 = path.length;
35027 return t1 !== 0 && B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47;
35028 },
35029 rootLength$2$withDrive(path, withDrive) {
35030 if (path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47)
35031 return 1;
35032 return 0;
35033 },
35034 rootLength$1(path) {
35035 return this.rootLength$2$withDrive(path, false);
35036 },
35037 isRootRelative$1(path) {
35038 return false;
35039 },
35040 pathFromUri$1(uri) {
35041 var t1;
35042 if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
35043 t1 = uri.get$path(uri);
35044 return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
35045 }
35046 throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
35047 },
35048 absolutePathToUri$1(path) {
35049 var parsed = A.ParsedPath_ParsedPath$parse(path, this),
35050 t1 = parsed.parts;
35051 if (t1.length === 0)
35052 B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
35053 else if (parsed.get$hasTrailingSeparator())
35054 B.JSArray_methods.add$1(parsed.parts, "");
35055 return A._Uri__Uri(null, null, parsed.parts, "file");
35056 },
35057 get$name() {
35058 return "posix";
35059 },
35060 get$separator() {
35061 return "/";
35062 }
35063 };
35064 A.UrlStyle.prototype = {
35065 containsSeparator$1(path) {
35066 return B.JSString_methods.contains$1(path, "/");
35067 },
35068 isSeparator$1(codeUnit) {
35069 return codeUnit === 47;
35070 },
35071 needsSeparator$1(path) {
35072 var t1 = path.length;
35073 if (t1 === 0)
35074 return false;
35075 if (B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47)
35076 return true;
35077 return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
35078 },
35079 rootLength$2$withDrive(path, withDrive) {
35080 var i, codeUnit, index, t2,
35081 t1 = path.length;
35082 if (t1 === 0)
35083 return 0;
35084 if (B.JSString_methods._codeUnitAt$1(path, 0) === 47)
35085 return 1;
35086 for (i = 0; i < t1; ++i) {
35087 codeUnit = B.JSString_methods._codeUnitAt$1(path, i);
35088 if (codeUnit === 47)
35089 return 0;
35090 if (codeUnit === 58) {
35091 if (i === 0)
35092 return 0;
35093 index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
35094 if (index <= 0)
35095 return t1;
35096 if (!withDrive || t1 < index + 3)
35097 return index;
35098 if (!B.JSString_methods.startsWith$1(path, "file://"))
35099 return index;
35100 if (!A.isDriveLetter(path, index + 1))
35101 return index;
35102 t2 = index + 3;
35103 return t1 === t2 ? t2 : index + 4;
35104 }
35105 }
35106 return 0;
35107 },
35108 rootLength$1(path) {
35109 return this.rootLength$2$withDrive(path, false);
35110 },
35111 isRootRelative$1(path) {
35112 return path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47;
35113 },
35114 pathFromUri$1(uri) {
35115 return uri.toString$0(0);
35116 },
35117 relativePathToUri$1(path) {
35118 return A.Uri_parse(path);
35119 },
35120 absolutePathToUri$1(path) {
35121 return A.Uri_parse(path);
35122 },
35123 get$name() {
35124 return "url";
35125 },
35126 get$separator() {
35127 return "/";
35128 }
35129 };
35130 A.WindowsStyle.prototype = {
35131 containsSeparator$1(path) {
35132 return B.JSString_methods.contains$1(path, "/");
35133 },
35134 isSeparator$1(codeUnit) {
35135 return codeUnit === 47 || codeUnit === 92;
35136 },
35137 needsSeparator$1(path) {
35138 var t1 = path.length;
35139 if (t1 === 0)
35140 return false;
35141 t1 = B.JSString_methods.codeUnitAt$1(path, t1 - 1);
35142 return !(t1 === 47 || t1 === 92);
35143 },
35144 rootLength$2$withDrive(path, withDrive) {
35145 var t2, index,
35146 t1 = path.length;
35147 if (t1 === 0)
35148 return 0;
35149 t2 = B.JSString_methods._codeUnitAt$1(path, 0);
35150 if (t2 === 47)
35151 return 1;
35152 if (t2 === 92) {
35153 if (t1 < 2 || B.JSString_methods._codeUnitAt$1(path, 1) !== 92)
35154 return 1;
35155 index = B.JSString_methods.indexOf$2(path, "\\", 2);
35156 if (index > 0) {
35157 index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
35158 if (index > 0)
35159 return index;
35160 }
35161 return t1;
35162 }
35163 if (t1 < 3)
35164 return 0;
35165 if (!A.isAlphabetic(t2))
35166 return 0;
35167 if (B.JSString_methods._codeUnitAt$1(path, 1) !== 58)
35168 return 0;
35169 t1 = B.JSString_methods._codeUnitAt$1(path, 2);
35170 if (!(t1 === 47 || t1 === 92))
35171 return 0;
35172 return 3;
35173 },
35174 rootLength$1(path) {
35175 return this.rootLength$2$withDrive(path, false);
35176 },
35177 isRootRelative$1(path) {
35178 return this.rootLength$1(path) === 1;
35179 },
35180 pathFromUri$1(uri) {
35181 var path, t1;
35182 if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
35183 throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
35184 path = uri.get$path(uri);
35185 if (uri.get$host() === "") {
35186 if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.isDriveLetter(path, 1))
35187 path = B.JSString_methods.replaceFirst$2(path, "/", "");
35188 } else
35189 path = "\\\\" + uri.get$host() + path;
35190 t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
35191 return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
35192 },
35193 absolutePathToUri$1(path) {
35194 var rootParts, t2,
35195 parsed = A.ParsedPath_ParsedPath$parse(path, this),
35196 t1 = parsed.root;
35197 t1.toString;
35198 if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
35199 rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
35200 B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts));
35201 if (parsed.get$hasTrailingSeparator())
35202 B.JSArray_methods.add$1(parsed.parts, "");
35203 return A._Uri__Uri(rootParts.get$first(rootParts), null, parsed.parts, "file");
35204 } else {
35205 if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
35206 B.JSArray_methods.add$1(parsed.parts, "");
35207 t1 = parsed.parts;
35208 t2 = parsed.root;
35209 t2.toString;
35210 t2 = A.stringReplaceAllUnchecked(t2, "/", "");
35211 B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
35212 return A._Uri__Uri(null, null, parsed.parts, "file");
35213 }
35214 },
35215 codeUnitsEqual$2(codeUnit1, codeUnit2) {
35216 var upperCase1;
35217 if (codeUnit1 === codeUnit2)
35218 return true;
35219 if (codeUnit1 === 47)
35220 return codeUnit2 === 92;
35221 if (codeUnit1 === 92)
35222 return codeUnit2 === 47;
35223 if ((codeUnit1 ^ codeUnit2) !== 32)
35224 return false;
35225 upperCase1 = codeUnit1 | 32;
35226 return upperCase1 >= 97 && upperCase1 <= 122;
35227 },
35228 pathsEqual$2(path1, path2) {
35229 var t1, i;
35230 if (path1 === path2)
35231 return true;
35232 t1 = path1.length;
35233 if (t1 !== path2.length)
35234 return false;
35235 for (i = 0; i < t1; ++i)
35236 if (!this.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1(path1, i), B.JSString_methods._codeUnitAt$1(path2, i)))
35237 return false;
35238 return true;
35239 },
35240 canonicalizeCodeUnit$1(codeUnit) {
35241 if (codeUnit === 47)
35242 return 92;
35243 if (codeUnit < 65)
35244 return codeUnit;
35245 if (codeUnit > 90)
35246 return codeUnit;
35247 return codeUnit | 32;
35248 },
35249 canonicalizePart$1(part) {
35250 return part.toLowerCase();
35251 },
35252 get$name() {
35253 return "windows";
35254 },
35255 get$separator() {
35256 return "\\";
35257 }
35258 };
35259 A.WindowsStyle_absolutePathToUri_closure.prototype = {
35260 call$1(part) {
35261 return part !== "";
35262 },
35263 $signature: 6
35264 };
35265 A.CssMediaQuery.prototype = {
35266 merge$1(other) {
35267 var t8, negativeFeatures, features, type, modifier, fewerFeatures, fewerFeatures0, moreFeatures, _this = this, _null = null, _s3_ = "all",
35268 t1 = _this.modifier,
35269 ourModifier = t1 == null ? _null : t1.toLowerCase(),
35270 t2 = _this.type,
35271 t3 = t2 == null,
35272 ourType = t3 ? _null : t2.toLowerCase(),
35273 t4 = other.modifier,
35274 theirModifier = t4 == null ? _null : t4.toLowerCase(),
35275 t5 = other.type,
35276 t6 = t5 == null,
35277 theirType = t6 ? _null : t5.toLowerCase(),
35278 t7 = ourType == null;
35279 if (t7 && theirType == null) {
35280 t1 = type$.String;
35281 t2 = A.List_List$of(_this.features, true, t1);
35282 B.JSArray_methods.addAll$1(t2, other.features);
35283 return new A.MediaQuerySuccessfulMergeResult(new A.CssMediaQuery(_null, _null, A.List_List$unmodifiable(t2, t1)));
35284 }
35285 t8 = ourModifier === "not";
35286 if (t8 !== (theirModifier === "not")) {
35287 if (ourType == theirType) {
35288 negativeFeatures = t8 ? _this.features : other.features;
35289 if (B.JSArray_methods.every$1(negativeFeatures, B.JSArray_methods.get$contains(t8 ? other.features : _this.features)))
35290 return B._SingletonCssMediaQueryMergeResult_empty;
35291 else
35292 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35293 } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
35294 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35295 if (t8) {
35296 features = other.features;
35297 type = theirType;
35298 modifier = theirModifier;
35299 } else {
35300 features = _this.features;
35301 type = ourType;
35302 modifier = ourModifier;
35303 }
35304 } else if (t8) {
35305 if (ourType != theirType)
35306 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35307 fewerFeatures = _this.features;
35308 fewerFeatures0 = other.features;
35309 t3 = fewerFeatures.length > fewerFeatures0.length;
35310 moreFeatures = t3 ? fewerFeatures : fewerFeatures0;
35311 if (t3)
35312 fewerFeatures = fewerFeatures0;
35313 if (!B.JSArray_methods.every$1(fewerFeatures, B.JSArray_methods.get$contains(moreFeatures)))
35314 return B._SingletonCssMediaQueryMergeResult_unrepresentable;
35315 features = moreFeatures;
35316 type = ourType;
35317 modifier = ourModifier;
35318 } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
35319 type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
35320 t3 = A.List_List$of(_this.features, true, type$.String);
35321 B.JSArray_methods.addAll$1(t3, other.features);
35322 features = t3;
35323 modifier = theirModifier;
35324 } else {
35325 if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
35326 t3 = A.List_List$of(_this.features, true, type$.String);
35327 B.JSArray_methods.addAll$1(t3, other.features);
35328 features = t3;
35329 modifier = ourModifier;
35330 } else {
35331 if (ourType != theirType)
35332 return B._SingletonCssMediaQueryMergeResult_empty;
35333 else {
35334 modifier = ourModifier == null ? theirModifier : ourModifier;
35335 t3 = A.List_List$of(_this.features, true, type$.String);
35336 B.JSArray_methods.addAll$1(t3, other.features);
35337 }
35338 features = t3;
35339 }
35340 type = ourType;
35341 }
35342 t2 = type == ourType ? t2 : t5;
35343 t1 = modifier == ourModifier ? t1 : t4;
35344 t3 = A.List_List$unmodifiable(features, type$.String);
35345 return new A.MediaQuerySuccessfulMergeResult(new A.CssMediaQuery(t1, t2, t3));
35346 },
35347 $eq(_, other) {
35348 if (other == null)
35349 return false;
35350 return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.features, this.features);
35351 },
35352 get$hashCode(_) {
35353 return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.features);
35354 },
35355 toString$0(_) {
35356 var t2, _this = this,
35357 t1 = _this.modifier;
35358 t1 = t1 != null ? "" + (t1 + " ") : "";
35359 t2 = _this.type;
35360 if (t2 != null) {
35361 t1 += t2;
35362 if (_this.features.length !== 0)
35363 t1 += " and ";
35364 }
35365 t1 += B.JSArray_methods.join$1(_this.features, " and ");
35366 return t1.charCodeAt(0) == 0 ? t1 : t1;
35367 }
35368 };
35369 A._SingletonCssMediaQueryMergeResult.prototype = {
35370 toString$0(_) {
35371 return this._media_query$_name;
35372 }
35373 };
35374 A.MediaQuerySuccessfulMergeResult.prototype = {};
35375 A.ModifiableCssAtRule.prototype = {
35376 accept$1$1(visitor) {
35377 return visitor.visitCssAtRule$1(this);
35378 },
35379 accept$1(visitor) {
35380 return this.accept$1$1(visitor, type$.dynamic);
35381 },
35382 copyWithoutChildren$0() {
35383 var _this = this;
35384 return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
35385 },
35386 addChild$1(child) {
35387 this.super$ModifiableCssParentNode$addChild(child);
35388 },
35389 $isCssAtRule: 1,
35390 get$isChildless() {
35391 return this.isChildless;
35392 },
35393 get$span(receiver) {
35394 return this.span;
35395 }
35396 };
35397 A.ModifiableCssComment.prototype = {
35398 accept$1$1(visitor) {
35399 return visitor.visitCssComment$1(this);
35400 },
35401 accept$1(visitor) {
35402 return this.accept$1$1(visitor, type$.dynamic);
35403 },
35404 $isCssComment: 1,
35405 get$span(receiver) {
35406 return this.span;
35407 }
35408 };
35409 A.ModifiableCssDeclaration.prototype = {
35410 accept$1$1(visitor) {
35411 return visitor.visitCssDeclaration$1(this);
35412 },
35413 accept$1(visitor) {
35414 return this.accept$1$1(visitor, type$.dynamic);
35415 },
35416 toString$0(_) {
35417 return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
35418 },
35419 get$span(receiver) {
35420 return this.span;
35421 }
35422 };
35423 A.ModifiableCssImport.prototype = {
35424 accept$1$1(visitor) {
35425 return visitor.visitCssImport$1(this);
35426 },
35427 accept$1(visitor) {
35428 return this.accept$1$1(visitor, type$.dynamic);
35429 },
35430 $isCssImport: 1,
35431 get$span(receiver) {
35432 return this.span;
35433 }
35434 };
35435 A.ModifiableCssKeyframeBlock.prototype = {
35436 accept$1$1(visitor) {
35437 return visitor.visitCssKeyframeBlock$1(this);
35438 },
35439 accept$1(visitor) {
35440 return this.accept$1$1(visitor, type$.dynamic);
35441 },
35442 copyWithoutChildren$0() {
35443 return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
35444 },
35445 get$span(receiver) {
35446 return this.span;
35447 }
35448 };
35449 A.ModifiableCssMediaRule.prototype = {
35450 accept$1$1(visitor) {
35451 return visitor.visitCssMediaRule$1(this);
35452 },
35453 accept$1(visitor) {
35454 return this.accept$1$1(visitor, type$.dynamic);
35455 },
35456 copyWithoutChildren$0() {
35457 return A.ModifiableCssMediaRule$(this.queries, this.span);
35458 },
35459 $isCssMediaRule: 1,
35460 get$span(receiver) {
35461 return this.span;
35462 }
35463 };
35464 A.ModifiableCssNode.prototype = {
35465 get$hasFollowingSibling() {
35466 var siblings, t1, i, t2,
35467 $parent = this._parent;
35468 if ($parent == null)
35469 return false;
35470 siblings = $parent.children;
35471 t1 = this._indexInParent;
35472 t1.toString;
35473 i = t1 + 1;
35474 t1 = siblings._collection$_source;
35475 t2 = J.getInterceptor$asx(t1);
35476 for (; i < t2.get$length(t1); ++i)
35477 if (!this._node$_isInvisible$1(t2.elementAt$1(t1, i)))
35478 return true;
35479 return false;
35480 },
35481 _node$_isInvisible$1(node) {
35482 if (type$.CssParentNode._is(node)) {
35483 if (type$.CssAtRule._is(node))
35484 return false;
35485 if (type$.CssStyleRule._is(node) && node.selector.value.get$isInvisible())
35486 return true;
35487 return J.every$1$ax(node.get$children(node), this.get$_node$_isInvisible());
35488 } else
35489 return false;
35490 },
35491 get$isGroupEnd() {
35492 return this.isGroupEnd;
35493 }
35494 };
35495 A.ModifiableCssParentNode.prototype = {
35496 get$isChildless() {
35497 return false;
35498 },
35499 addChild$1(child) {
35500 var t1;
35501 child._parent = this;
35502 t1 = this._children;
35503 child._indexInParent = t1.length;
35504 t1.push(child);
35505 },
35506 $isCssParentNode: 1,
35507 get$children(receiver) {
35508 return this.children;
35509 }
35510 };
35511 A.ModifiableCssStyleRule.prototype = {
35512 accept$1$1(visitor) {
35513 return visitor.visitCssStyleRule$1(this);
35514 },
35515 accept$1(visitor) {
35516 return this.accept$1$1(visitor, type$.dynamic);
35517 },
35518 copyWithoutChildren$0() {
35519 return A.ModifiableCssStyleRule$(this.selector, this.span, this.originalSelector);
35520 },
35521 $isCssStyleRule: 1,
35522 get$span(receiver) {
35523 return this.span;
35524 }
35525 };
35526 A.ModifiableCssStylesheet.prototype = {
35527 accept$1$1(visitor) {
35528 return visitor.visitCssStylesheet$1(this);
35529 },
35530 accept$1(visitor) {
35531 return this.accept$1$1(visitor, type$.dynamic);
35532 },
35533 copyWithoutChildren$0() {
35534 return A.ModifiableCssStylesheet$(this.span);
35535 },
35536 $isCssStylesheet: 1,
35537 get$span(receiver) {
35538 return this.span;
35539 }
35540 };
35541 A.ModifiableCssSupportsRule.prototype = {
35542 accept$1$1(visitor) {
35543 return visitor.visitCssSupportsRule$1(this);
35544 },
35545 accept$1(visitor) {
35546 return this.accept$1$1(visitor, type$.dynamic);
35547 },
35548 copyWithoutChildren$0() {
35549 return A.ModifiableCssSupportsRule$(this.condition, this.span);
35550 },
35551 $isCssSupportsRule: 1,
35552 get$span(receiver) {
35553 return this.span;
35554 }
35555 };
35556 A.ModifiableCssValue.prototype = {
35557 toString$0(_) {
35558 return A.serializeSelector(this.value, true);
35559 },
35560 $isCssValue: 1,
35561 $isAstNode: 1,
35562 get$value(receiver) {
35563 return this.value;
35564 },
35565 get$span(receiver) {
35566 return this.span;
35567 }
35568 };
35569 A.CssNode.prototype = {
35570 toString$0(_) {
35571 return A.serialize(this, true, null, true, null, false, null, true).css;
35572 }
35573 };
35574 A.CssParentNode.prototype = {};
35575 A.CssStylesheet.prototype = {
35576 get$isGroupEnd() {
35577 return false;
35578 },
35579 get$isChildless() {
35580 return false;
35581 },
35582 accept$1$1(visitor) {
35583 return visitor.visitCssStylesheet$1(this);
35584 },
35585 accept$1(visitor) {
35586 return this.accept$1$1(visitor, type$.dynamic);
35587 },
35588 get$children(receiver) {
35589 return this.children;
35590 },
35591 get$span(receiver) {
35592 return this.span;
35593 }
35594 };
35595 A.CssValue.prototype = {
35596 toString$0(_) {
35597 return J.toString$0$(this.value);
35598 },
35599 $isAstNode: 1,
35600 get$value(receiver) {
35601 return this.value;
35602 },
35603 get$span(receiver) {
35604 return this.span;
35605 }
35606 };
35607 A.AstNode.prototype = {};
35608 A._FakeAstNode.prototype = {
35609 get$span(_) {
35610 return this._callback.call$0();
35611 },
35612 $isAstNode: 1
35613 };
35614 A.Argument.prototype = {
35615 toString$0(_) {
35616 var t1 = this.defaultValue,
35617 t2 = this.name;
35618 return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
35619 },
35620 $isAstNode: 1,
35621 get$span(receiver) {
35622 return this.span;
35623 }
35624 };
35625 A.ArgumentDeclaration.prototype = {
35626 get$spanWithName() {
35627 var t3, t4,
35628 t1 = this.span,
35629 t2 = t1.file,
35630 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
35631 i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
35632 while (true) {
35633 if (i > 0) {
35634 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35635 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
35636 } else
35637 t3 = false;
35638 if (!t3)
35639 break;
35640 --i;
35641 }
35642 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35643 if (!(t3 === 95 || A.isAlphabetic0(t3) || t3 >= 128 || A.isDigit(t3) || t3 === 45))
35644 return t1;
35645 --i;
35646 while (true) {
35647 if (i >= 0) {
35648 t3 = B.JSString_methods.codeUnitAt$1(text, i);
35649 if (t3 !== 95) {
35650 if (!(t3 >= 97 && t3 <= 122))
35651 t4 = t3 >= 65 && t3 <= 90;
35652 else
35653 t4 = true;
35654 t4 = t4 || t3 >= 128;
35655 } else
35656 t4 = true;
35657 if (!t4) {
35658 t4 = t3 >= 48 && t3 <= 57;
35659 t3 = t4 || t3 === 45;
35660 } else
35661 t3 = true;
35662 } else
35663 t3 = false;
35664 if (!t3)
35665 break;
35666 --i;
35667 }
35668 t3 = i + 1;
35669 t4 = B.JSString_methods.codeUnitAt$1(text, t3);
35670 if (!(t4 === 95 || A.isAlphabetic0(t4) || t4 >= 128))
35671 return t1;
35672 return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
35673 },
35674 verify$2(positional, names) {
35675 var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
35676 _s10_ = "invocation",
35677 _s8_ = "argument";
35678 for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
35679 argument = t1[i];
35680 if (i < positional) {
35681 t4 = argument.name;
35682 if (t3.containsKey$1(t4))
35683 throw A.wrapException(A.SassScriptException$("Argument " + _this._originalArgumentName$1(t4) + string$.x20was_p));
35684 } else {
35685 t4 = argument.name;
35686 if (t3.containsKey$1(t4))
35687 ++namedUsed;
35688 else if (argument.defaultValue == null)
35689 throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
35690 }
35691 }
35692 if (_this.restArgument != null)
35693 return;
35694 if (positional > t2) {
35695 t1 = "Only " + t2 + " ";
35696 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)));
35697 }
35698 if (namedUsed < t3.get$length(t3)) {
35699 t2 = type$.String;
35700 unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
35701 unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
35702 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)));
35703 }
35704 },
35705 _originalArgumentName$1($name) {
35706 var t1, text, t2, _i, argument, t3, t4, end, _null = null;
35707 if ($name === this.restArgument) {
35708 t1 = this.span;
35709 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
35710 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, "."));
35711 }
35712 for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
35713 argument = t1[_i];
35714 if (argument.name === $name) {
35715 t1 = argument.defaultValue;
35716 t2 = argument.span;
35717 t3 = t2.file;
35718 t4 = t2._file$_start;
35719 t2 = t2._end;
35720 if (t1 == null) {
35721 t1 = t3._decodedChars;
35722 t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
35723 } else {
35724 t1 = t3._decodedChars;
35725 text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
35726 t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
35727 end = A._lastNonWhitespace(t1, false);
35728 t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
35729 }
35730 return t1;
35731 }
35732 }
35733 throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
35734 },
35735 matches$2(positional, names) {
35736 var t1, t2, t3, namedUsed, i, argument;
35737 for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
35738 argument = t1[i];
35739 if (i < positional) {
35740 if (t3.containsKey$1(argument.name))
35741 return false;
35742 } else if (t3.containsKey$1(argument.name))
35743 ++namedUsed;
35744 else if (argument.defaultValue == null)
35745 return false;
35746 }
35747 if (this.restArgument != null)
35748 return true;
35749 if (positional > t2)
35750 return false;
35751 if (namedUsed < t3.get$length(t3))
35752 return false;
35753 return true;
35754 },
35755 toString$0(_) {
35756 var t2, t3, _i, arg, t4, t5,
35757 t1 = A._setArrayType([], type$.JSArray_String);
35758 for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i) {
35759 arg = t2[_i];
35760 t4 = arg.defaultValue;
35761 t5 = arg.name;
35762 t1.push(t4 == null ? t5 : t5 + ": " + t4.toString$0(0));
35763 }
35764 t2 = this.restArgument;
35765 if (t2 != null)
35766 t1.push(t2 + "...");
35767 return B.JSArray_methods.join$1(t1, ", ");
35768 },
35769 $isAstNode: 1,
35770 get$span(receiver) {
35771 return this.span;
35772 }
35773 };
35774 A.ArgumentDeclaration_verify_closure.prototype = {
35775 call$1(argument) {
35776 return argument.name;
35777 },
35778 $signature: 329
35779 };
35780 A.ArgumentDeclaration_verify_closure0.prototype = {
35781 call$1($name) {
35782 return "$" + $name;
35783 },
35784 $signature: 5
35785 };
35786 A.ArgumentInvocation.prototype = {
35787 get$isEmpty(_) {
35788 var t1;
35789 if (this.positional.length === 0) {
35790 t1 = this.named;
35791 t1 = t1.get$isEmpty(t1) && this.rest == null;
35792 } else
35793 t1 = false;
35794 return t1;
35795 },
35796 toString$0(_) {
35797 var t2, t3, t4, _this = this,
35798 t1 = A.List_List$of(_this.positional, true, type$.Object);
35799 for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
35800 t4 = t3.get$current(t3);
35801 t1.push(t4 + ": " + A.S(t2.$index(0, t4)));
35802 }
35803 t2 = _this.rest;
35804 if (t2 != null)
35805 t1.push(t2.toString$0(0) + "...");
35806 t2 = _this.keywordRest;
35807 if (t2 != null)
35808 t1.push(t2.toString$0(0) + "...");
35809 return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
35810 },
35811 $isAstNode: 1,
35812 get$span(receiver) {
35813 return this.span;
35814 }
35815 };
35816 A.AtRootQuery.prototype = {
35817 excludes$1(node) {
35818 var t1, _this = this;
35819 if (_this._all)
35820 return !_this.include;
35821 if (type$.CssStyleRule._is(node))
35822 return _this._at_root_query$_rule !== _this.include;
35823 if (type$.CssMediaRule._is(node))
35824 return _this.excludesName$1("media");
35825 if (type$.CssSupportsRule._is(node))
35826 return _this.excludesName$1("supports");
35827 if (type$.CssAtRule._is(node)) {
35828 t1 = node.name;
35829 return _this.excludesName$1(t1.get$value(t1).toLowerCase());
35830 }
35831 return false;
35832 },
35833 excludesName$1($name) {
35834 var t1 = this._all || this.names.contains$1(0, $name);
35835 return t1 !== this.include;
35836 }
35837 };
35838 A.ConfiguredVariable.prototype = {
35839 toString$0(_) {
35840 var t1 = "$" + this.name + ": " + this.expression.toString$0(0);
35841 return t1 + (this.isGuarded ? " !default" : "");
35842 },
35843 $isAstNode: 1,
35844 get$span(receiver) {
35845 return this.span;
35846 }
35847 };
35848 A.BinaryOperationExpression.prototype = {
35849 get$span(_) {
35850 var right,
35851 left = this.left;
35852 for (; left instanceof A.BinaryOperationExpression;)
35853 left = left.left;
35854 right = this.right;
35855 for (; right instanceof A.BinaryOperationExpression;)
35856 right = right.right;
35857 return left.get$span(left).expand$1(0, right.get$span(right));
35858 },
35859 accept$1$1(visitor) {
35860 return visitor.visitBinaryOperationExpression$1(this);
35861 },
35862 accept$1(visitor) {
35863 return this.accept$1$1(visitor, type$.dynamic);
35864 },
35865 toString$0(_) {
35866 var t2, right, rightNeedsParens, _this = this,
35867 left = _this.left,
35868 leftNeedsParens = left instanceof A.BinaryOperationExpression && left.operator.precedence < _this.operator.precedence,
35869 t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
35870 t1 += left.toString$0(0);
35871 if (leftNeedsParens)
35872 t1 += A.Primitives_stringFromCharCode(41);
35873 t2 = _this.operator;
35874 t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
35875 right = _this.right;
35876 rightNeedsParens = right instanceof A.BinaryOperationExpression && right.operator.precedence <= t2.precedence;
35877 if (rightNeedsParens)
35878 t1 += A.Primitives_stringFromCharCode(40);
35879 t1 += right.toString$0(0);
35880 if (rightNeedsParens)
35881 t1 += A.Primitives_stringFromCharCode(41);
35882 return t1.charCodeAt(0) == 0 ? t1 : t1;
35883 },
35884 $isAstNode: 1,
35885 $isExpression: 1
35886 };
35887 A.BinaryOperator.prototype = {
35888 toString$0(_) {
35889 return this.name;
35890 }
35891 };
35892 A.BooleanExpression.prototype = {
35893 accept$1$1(visitor) {
35894 return visitor.visitBooleanExpression$1(this);
35895 },
35896 accept$1(visitor) {
35897 return this.accept$1$1(visitor, type$.dynamic);
35898 },
35899 toString$0(_) {
35900 return String(this.value);
35901 },
35902 $isAstNode: 1,
35903 $isExpression: 1,
35904 get$span(receiver) {
35905 return this.span;
35906 }
35907 };
35908 A.CalculationExpression.prototype = {
35909 accept$1$1(visitor) {
35910 return visitor.visitCalculationExpression$1(this);
35911 },
35912 accept$1(visitor) {
35913 return this.accept$1$1(visitor, type$.dynamic);
35914 },
35915 toString$0(_) {
35916 return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
35917 },
35918 $isAstNode: 1,
35919 $isExpression: 1,
35920 get$span(receiver) {
35921 return this.span;
35922 }
35923 };
35924 A.CalculationExpression__verifyArguments_closure.prototype = {
35925 call$1(arg) {
35926 A.CalculationExpression__verify(arg);
35927 return arg;
35928 },
35929 $signature: 333
35930 };
35931 A.ColorExpression.prototype = {
35932 accept$1$1(visitor) {
35933 return visitor.visitColorExpression$1(this);
35934 },
35935 accept$1(visitor) {
35936 return this.accept$1$1(visitor, type$.dynamic);
35937 },
35938 toString$0(_) {
35939 return A.serializeValue(this.value, true, true);
35940 },
35941 $isAstNode: 1,
35942 $isExpression: 1,
35943 get$span(receiver) {
35944 return this.span;
35945 }
35946 };
35947 A.FunctionExpression.prototype = {
35948 accept$1$1(visitor) {
35949 return visitor.visitFunctionExpression$1(this);
35950 },
35951 accept$1(visitor) {
35952 return this.accept$1$1(visitor, type$.dynamic);
35953 },
35954 toString$0(_) {
35955 var t1 = this.namespace;
35956 t1 = t1 != null ? "" + (t1 + ".") : "";
35957 t1 += this.originalName + this.$arguments.toString$0(0);
35958 return t1.charCodeAt(0) == 0 ? t1 : t1;
35959 },
35960 $isAstNode: 1,
35961 $isExpression: 1,
35962 get$span(receiver) {
35963 return this.span;
35964 }
35965 };
35966 A.IfExpression.prototype = {
35967 accept$1$1(visitor) {
35968 return visitor.visitIfExpression$1(this);
35969 },
35970 accept$1(visitor) {
35971 return this.accept$1$1(visitor, type$.dynamic);
35972 },
35973 toString$0(_) {
35974 return "if" + this.$arguments.toString$0(0);
35975 },
35976 $isAstNode: 1,
35977 $isExpression: 1,
35978 get$span(receiver) {
35979 return this.span;
35980 }
35981 };
35982 A.InterpolatedFunctionExpression.prototype = {
35983 accept$1$1(visitor) {
35984 return visitor.visitInterpolatedFunctionExpression$1(this);
35985 },
35986 accept$1(visitor) {
35987 return this.accept$1$1(visitor, type$.dynamic);
35988 },
35989 toString$0(_) {
35990 return this.name.toString$0(0) + this.$arguments.toString$0(0);
35991 },
35992 $isAstNode: 1,
35993 $isExpression: 1,
35994 get$span(receiver) {
35995 return this.span;
35996 }
35997 };
35998 A.ListExpression.prototype = {
35999 accept$1$1(visitor) {
36000 return visitor.visitListExpression$1(this);
36001 },
36002 accept$1(visitor) {
36003 return this.accept$1$1(visitor, type$.dynamic);
36004 },
36005 toString$0(_) {
36006 var _this = this,
36007 t1 = _this.hasBrackets,
36008 t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
36009 t3 = _this.contents,
36010 t4 = _this.separator === B.ListSeparator_kWM ? ", " : " ";
36011 t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
36012 t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
36013 return t1.charCodeAt(0) == 0 ? t1 : t1;
36014 },
36015 _list0$_elementNeedsParens$1(expression) {
36016 var t1, t2;
36017 if (expression instanceof A.ListExpression) {
36018 if (expression.contents.length < 2)
36019 return false;
36020 if (expression.hasBrackets)
36021 return false;
36022 t1 = this.separator;
36023 t2 = t1 === B.ListSeparator_kWM;
36024 return t2 ? t2 : t1 !== B.ListSeparator_undecided_null;
36025 }
36026 if (this.separator !== B.ListSeparator_woc)
36027 return false;
36028 if (expression instanceof A.UnaryOperationExpression) {
36029 t1 = expression.operator;
36030 return t1 === B.UnaryOperator_j2w || t1 === B.UnaryOperator_U4G;
36031 }
36032 return false;
36033 },
36034 $isAstNode: 1,
36035 $isExpression: 1,
36036 get$span(receiver) {
36037 return this.span;
36038 }
36039 };
36040 A.ListExpression_toString_closure.prototype = {
36041 call$1(element) {
36042 return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
36043 },
36044 $signature: 124
36045 };
36046 A.MapExpression.prototype = {
36047 accept$1$1(visitor) {
36048 return visitor.visitMapExpression$1(this);
36049 },
36050 accept$1(visitor) {
36051 return this.accept$1$1(visitor, type$.dynamic);
36052 },
36053 toString$0(_) {
36054 var t1 = this.pairs;
36055 return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
36056 },
36057 $isAstNode: 1,
36058 $isExpression: 1,
36059 get$span(receiver) {
36060 return this.span;
36061 }
36062 };
36063 A.MapExpression_toString_closure.prototype = {
36064 call$1(pair) {
36065 return A.S(pair.item1) + ": " + A.S(pair.item2);
36066 },
36067 $signature: 340
36068 };
36069 A.NullExpression.prototype = {
36070 accept$1$1(visitor) {
36071 return visitor.visitNullExpression$1(this);
36072 },
36073 accept$1(visitor) {
36074 return this.accept$1$1(visitor, type$.dynamic);
36075 },
36076 toString$0(_) {
36077 return "null";
36078 },
36079 $isAstNode: 1,
36080 $isExpression: 1,
36081 get$span(receiver) {
36082 return this.span;
36083 }
36084 };
36085 A.NumberExpression.prototype = {
36086 accept$1$1(visitor) {
36087 return visitor.visitNumberExpression$1(this);
36088 },
36089 accept$1(visitor) {
36090 return this.accept$1$1(visitor, type$.dynamic);
36091 },
36092 toString$0(_) {
36093 var t1 = A.S(this.value),
36094 t2 = this.unit;
36095 return t1 + (t2 == null ? "" : t2);
36096 },
36097 $isAstNode: 1,
36098 $isExpression: 1,
36099 get$span(receiver) {
36100 return this.span;
36101 }
36102 };
36103 A.ParenthesizedExpression.prototype = {
36104 accept$1$1(visitor) {
36105 return visitor.visitParenthesizedExpression$1(this);
36106 },
36107 accept$1(visitor) {
36108 return this.accept$1$1(visitor, type$.dynamic);
36109 },
36110 toString$0(_) {
36111 return "(" + this.expression.toString$0(0) + ")";
36112 },
36113 $isAstNode: 1,
36114 $isExpression: 1,
36115 get$span(receiver) {
36116 return this.span;
36117 }
36118 };
36119 A.SelectorExpression.prototype = {
36120 accept$1$1(visitor) {
36121 return visitor.visitSelectorExpression$1(this);
36122 },
36123 accept$1(visitor) {
36124 return this.accept$1$1(visitor, type$.dynamic);
36125 },
36126 toString$0(_) {
36127 return "&";
36128 },
36129 $isAstNode: 1,
36130 $isExpression: 1,
36131 get$span(receiver) {
36132 return this.span;
36133 }
36134 };
36135 A.StringExpression.prototype = {
36136 get$span(_) {
36137 return this.text.span;
36138 },
36139 accept$1$1(visitor) {
36140 return visitor.visitStringExpression$1(this);
36141 },
36142 accept$1(visitor) {
36143 return this.accept$1$1(visitor, type$.dynamic);
36144 },
36145 asInterpolation$1$static($static) {
36146 var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
36147 if (!this.hasQuotes)
36148 return this.text;
36149 t1 = this.text;
36150 t2 = t1.contents;
36151 quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
36152 t3 = new A.StringBuffer("");
36153 t4 = A._setArrayType([], type$.JSArray_Object);
36154 buffer = new A.InterpolationBuffer(t3, t4);
36155 t3._contents = "" + A.Primitives_stringFromCharCode(quote);
36156 for (t5 = t2.length, t6 = type$.Expression, _i = 0; _i < t5; ++_i) {
36157 value = t2[_i];
36158 if (t6._is(value)) {
36159 buffer._flushText$0();
36160 t4.push(value);
36161 } else if (typeof value == "string")
36162 A.StringExpression__quoteInnerText(value, quote, buffer, $static);
36163 }
36164 t3._contents += A.Primitives_stringFromCharCode(quote);
36165 return buffer.interpolation$1(t1.span);
36166 },
36167 asInterpolation$0() {
36168 return this.asInterpolation$1$static(false);
36169 },
36170 toString$0(_) {
36171 return this.asInterpolation$0().toString$0(0);
36172 },
36173 $isAstNode: 1,
36174 $isExpression: 1
36175 };
36176 A.UnaryOperationExpression.prototype = {
36177 accept$1$1(visitor) {
36178 return visitor.visitUnaryOperationExpression$1(this);
36179 },
36180 accept$1(visitor) {
36181 return this.accept$1$1(visitor, type$.dynamic);
36182 },
36183 toString$0(_) {
36184 var t1 = this.operator,
36185 t2 = t1.operator;
36186 t1 = t1 === B.UnaryOperator_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
36187 t1 += this.operand.toString$0(0);
36188 return t1.charCodeAt(0) == 0 ? t1 : t1;
36189 },
36190 $isAstNode: 1,
36191 $isExpression: 1,
36192 get$span(receiver) {
36193 return this.span;
36194 }
36195 };
36196 A.UnaryOperator.prototype = {
36197 toString$0(_) {
36198 return this.name;
36199 }
36200 };
36201 A.ValueExpression.prototype = {
36202 accept$1$1(visitor) {
36203 return visitor.visitValueExpression$1(this);
36204 },
36205 accept$1(visitor) {
36206 return this.accept$1$1(visitor, type$.dynamic);
36207 },
36208 toString$0(_) {
36209 return A.serializeValue(this.value, true, true);
36210 },
36211 $isAstNode: 1,
36212 $isExpression: 1,
36213 get$span(receiver) {
36214 return this.span;
36215 }
36216 };
36217 A.VariableExpression.prototype = {
36218 accept$1$1(visitor) {
36219 return visitor.visitVariableExpression$1(this);
36220 },
36221 accept$1(visitor) {
36222 return this.accept$1$1(visitor, type$.dynamic);
36223 },
36224 toString$0(_) {
36225 var t1 = this.namespace,
36226 t2 = this.name;
36227 return t1 == null ? "$" + t2 : t1 + ".$" + t2;
36228 },
36229 $isAstNode: 1,
36230 $isExpression: 1,
36231 get$span(receiver) {
36232 return this.span;
36233 }
36234 };
36235 A.DynamicImport.prototype = {
36236 toString$0(_) {
36237 return A.StringExpression_quoteText(this.urlString);
36238 },
36239 $isAstNode: 1,
36240 $isImport: 1,
36241 get$span(receiver) {
36242 return this.span;
36243 }
36244 };
36245 A.StaticImport.prototype = {
36246 toString$0(_) {
36247 var t1 = this.url.toString$0(0),
36248 t2 = this.supports;
36249 if (t2 != null)
36250 t1 += " supports(" + t2.toString$0(0) + ")";
36251 t2 = this.media;
36252 if (t2 != null)
36253 t1 += " " + t2.toString$0(0);
36254 t1 += A.Primitives_stringFromCharCode(59);
36255 return t1.charCodeAt(0) == 0 ? t1 : t1;
36256 },
36257 $isAstNode: 1,
36258 $isImport: 1,
36259 get$span(receiver) {
36260 return this.span;
36261 }
36262 };
36263 A.Interpolation.prototype = {
36264 get$asPlain() {
36265 var first,
36266 t1 = this.contents,
36267 t2 = t1.length;
36268 if (t2 === 0)
36269 return "";
36270 if (t2 > 1)
36271 return null;
36272 first = B.JSArray_methods.get$first(t1);
36273 return typeof first == "string" ? first : null;
36274 },
36275 get$initialPlain() {
36276 var first = B.JSArray_methods.get$first(this.contents);
36277 return typeof first == "string" ? first : "";
36278 },
36279 Interpolation$2(contents, span) {
36280 var t1, t2, t3, i, t4, t5,
36281 _s8_ = "contents";
36282 for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression, i = 0; i < t2; ++i) {
36283 t4 = t1[i];
36284 t5 = typeof t4 == "string";
36285 if (!t5 && !t3._is(t4))
36286 throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
36287 if (i !== 0 && typeof t1[i - 1] == "string" && t5)
36288 throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
36289 }
36290 },
36291 toString$0(_) {
36292 var t1 = this.contents;
36293 return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
36294 },
36295 $isAstNode: 1,
36296 get$span(receiver) {
36297 return this.span;
36298 }
36299 };
36300 A.Interpolation_toString_closure.prototype = {
36301 call$1(value) {
36302 return typeof value == "string" ? value : "#{" + A.S(value) + "}";
36303 },
36304 $signature: 47
36305 };
36306 A.AtRootRule.prototype = {
36307 accept$1$1(visitor) {
36308 return visitor.visitAtRootRule$1(this);
36309 },
36310 accept$1(visitor) {
36311 return this.accept$1$1(visitor, type$.dynamic);
36312 },
36313 toString$0(_) {
36314 var buffer = new A.StringBuffer("@at-root "),
36315 t1 = this.query;
36316 if (t1 != null)
36317 buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
36318 t1 = this.children;
36319 return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36320 },
36321 get$span(receiver) {
36322 return this.span;
36323 }
36324 };
36325 A.AtRule.prototype = {
36326 accept$1$1(visitor) {
36327 return visitor.visitAtRule$1(this);
36328 },
36329 accept$1(visitor) {
36330 return this.accept$1$1(visitor, type$.dynamic);
36331 },
36332 toString$0(_) {
36333 var children,
36334 t1 = "@" + this.name.toString$0(0),
36335 buffer = new A.StringBuffer(t1),
36336 t2 = this.value;
36337 if (t2 != null)
36338 buffer._contents = t1 + (" " + t2.toString$0(0));
36339 children = this.children;
36340 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
36341 },
36342 get$span(receiver) {
36343 return this.span;
36344 }
36345 };
36346 A.CallableDeclaration.prototype = {
36347 get$span(receiver) {
36348 return this.span;
36349 }
36350 };
36351 A.ContentBlock.prototype = {
36352 accept$1$1(visitor) {
36353 return visitor.visitContentBlock$1(this);
36354 },
36355 accept$1(visitor) {
36356 return this.accept$1$1(visitor, type$.dynamic);
36357 },
36358 toString$0(_) {
36359 var t2,
36360 t1 = this.$arguments;
36361 t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
36362 t2 = this.children;
36363 return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
36364 }
36365 };
36366 A.ContentRule.prototype = {
36367 accept$1$1(visitor) {
36368 return visitor.visitContentRule$1(this);
36369 },
36370 accept$1(visitor) {
36371 return this.accept$1$1(visitor, type$.dynamic);
36372 },
36373 toString$0(_) {
36374 var t1 = this.$arguments;
36375 return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
36376 },
36377 $isAstNode: 1,
36378 $isStatement: 1,
36379 get$span(receiver) {
36380 return this.span;
36381 }
36382 };
36383 A.DebugRule.prototype = {
36384 accept$1$1(visitor) {
36385 return visitor.visitDebugRule$1(this);
36386 },
36387 accept$1(visitor) {
36388 return this.accept$1$1(visitor, type$.dynamic);
36389 },
36390 toString$0(_) {
36391 return "@debug " + this.expression.toString$0(0) + ";";
36392 },
36393 $isAstNode: 1,
36394 $isStatement: 1,
36395 get$span(receiver) {
36396 return this.span;
36397 }
36398 };
36399 A.Declaration.prototype = {
36400 accept$1$1(visitor) {
36401 return visitor.visitDeclaration$1(this);
36402 },
36403 accept$1(visitor) {
36404 return this.accept$1$1(visitor, type$.dynamic);
36405 },
36406 get$span(receiver) {
36407 return this.span;
36408 }
36409 };
36410 A.EachRule.prototype = {
36411 accept$1$1(visitor) {
36412 return visitor.visitEachRule$1(this);
36413 },
36414 accept$1(visitor) {
36415 return this.accept$1$1(visitor, type$.dynamic);
36416 },
36417 toString$0(_) {
36418 var t1 = this.variables,
36419 t2 = this.children;
36420 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, " ") + "}";
36421 },
36422 get$span(receiver) {
36423 return this.span;
36424 }
36425 };
36426 A.EachRule_toString_closure.prototype = {
36427 call$1(variable) {
36428 return "$" + variable;
36429 },
36430 $signature: 5
36431 };
36432 A.ErrorRule.prototype = {
36433 accept$1$1(visitor) {
36434 return visitor.visitErrorRule$1(this);
36435 },
36436 accept$1(visitor) {
36437 return this.accept$1$1(visitor, type$.dynamic);
36438 },
36439 toString$0(_) {
36440 return "@error " + this.expression.toString$0(0) + ";";
36441 },
36442 $isAstNode: 1,
36443 $isStatement: 1,
36444 get$span(receiver) {
36445 return this.span;
36446 }
36447 };
36448 A.ExtendRule.prototype = {
36449 accept$1$1(visitor) {
36450 return visitor.visitExtendRule$1(this);
36451 },
36452 accept$1(visitor) {
36453 return this.accept$1$1(visitor, type$.dynamic);
36454 },
36455 toString$0(_) {
36456 return "@extend " + this.selector.toString$0(0);
36457 },
36458 $isAstNode: 1,
36459 $isStatement: 1,
36460 get$span(receiver) {
36461 return this.span;
36462 }
36463 };
36464 A.ForRule.prototype = {
36465 accept$1$1(visitor) {
36466 return visitor.visitForRule$1(this);
36467 },
36468 accept$1(visitor) {
36469 return this.accept$1$1(visitor, type$.dynamic);
36470 },
36471 toString$0(_) {
36472 var _this = this,
36473 t1 = "@for $" + _this.variable + " from " + _this.from.toString$0(0) + " ",
36474 t2 = _this.children;
36475 return t1 + (_this.isExclusive ? "to" : "through") + " " + _this.to.toString$0(0) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
36476 },
36477 get$span(receiver) {
36478 return this.span;
36479 }
36480 };
36481 A.ForwardRule.prototype = {
36482 accept$1$1(visitor) {
36483 return visitor.visitForwardRule$1(this);
36484 },
36485 accept$1(visitor) {
36486 return this.accept$1$1(visitor, type$.dynamic);
36487 },
36488 toString$0(_) {
36489 var t2, prefix, _this = this,
36490 t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
36491 shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
36492 hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
36493 if (shownMixinsAndFunctions != null) {
36494 t1 += " show ";
36495 t2 = _this.shownVariables;
36496 t2.toString;
36497 t2 = t1 + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
36498 t1 = t2;
36499 } else {
36500 if (hiddenMixinsAndFunctions != null) {
36501 t2 = hiddenMixinsAndFunctions._base;
36502 t2 = t2.get$isNotEmpty(t2);
36503 } else
36504 t2 = false;
36505 if (t2) {
36506 t1 += " hide ";
36507 t2 = _this.hiddenVariables;
36508 t2.toString;
36509 t2 = t1 + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
36510 t1 = t2;
36511 }
36512 }
36513 prefix = _this.prefix;
36514 if (prefix != null)
36515 t1 += " as " + prefix + "*";
36516 t2 = _this.configuration;
36517 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
36518 return t1.charCodeAt(0) == 0 ? t1 : t1;
36519 },
36520 _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
36521 var t2,
36522 t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
36523 for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
36524 t1.push("$" + t2.get$current(t2));
36525 return B.JSArray_methods.join$1(t1, ", ");
36526 },
36527 $isAstNode: 1,
36528 $isStatement: 1,
36529 get$span(receiver) {
36530 return this.span;
36531 }
36532 };
36533 A.FunctionRule.prototype = {
36534 accept$1$1(visitor) {
36535 return visitor.visitFunctionRule$1(this);
36536 },
36537 accept$1(visitor) {
36538 return this.accept$1$1(visitor, type$.dynamic);
36539 },
36540 toString$0(_) {
36541 var t1 = this.children;
36542 return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36543 }
36544 };
36545 A.IfRule.prototype = {
36546 accept$1$1(visitor) {
36547 return visitor.visitIfRule$1(this);
36548 },
36549 accept$1(visitor) {
36550 return this.accept$1$1(visitor, type$.dynamic);
36551 },
36552 toString$0(_) {
36553 var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
36554 lastClause = this.lastClause;
36555 return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
36556 },
36557 $isAstNode: 1,
36558 $isStatement: 1,
36559 get$span(receiver) {
36560 return this.span;
36561 }
36562 };
36563 A.IfRule_toString_closure.prototype = {
36564 call$2(index, clause) {
36565 return "@" + (index === 0 ? "if" : "else if") + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
36566 },
36567 $signature: 345
36568 };
36569 A.IfRuleClause.prototype = {};
36570 A.IfRuleClause$__closure.prototype = {
36571 call$1(child) {
36572 var t1;
36573 if (!(child instanceof A.VariableDeclaration))
36574 if (!(child instanceof A.FunctionRule))
36575 if (!(child instanceof A.MixinRule))
36576 t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
36577 else
36578 t1 = true;
36579 else
36580 t1 = true;
36581 else
36582 t1 = true;
36583 return t1;
36584 },
36585 $signature: 193
36586 };
36587 A.IfRuleClause$___closure.prototype = {
36588 call$1($import) {
36589 return $import instanceof A.DynamicImport;
36590 },
36591 $signature: 192
36592 };
36593 A.IfClause.prototype = {
36594 toString$0(_) {
36595 return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
36596 }
36597 };
36598 A.ElseClause.prototype = {
36599 toString$0(_) {
36600 return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
36601 }
36602 };
36603 A.ImportRule.prototype = {
36604 accept$1$1(visitor) {
36605 return visitor.visitImportRule$1(this);
36606 },
36607 accept$1(visitor) {
36608 return this.accept$1$1(visitor, type$.dynamic);
36609 },
36610 toString$0(_) {
36611 return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
36612 },
36613 $isAstNode: 1,
36614 $isStatement: 1,
36615 get$span(receiver) {
36616 return this.span;
36617 }
36618 };
36619 A.IncludeRule.prototype = {
36620 get$spanWithoutContent() {
36621 var t2, t3,
36622 t1 = this.span;
36623 if (!(this.content == null)) {
36624 t2 = t1.file;
36625 t3 = this.$arguments.span;
36626 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)));
36627 t1 = t3;
36628 }
36629 return t1;
36630 },
36631 accept$1$1(visitor) {
36632 return visitor.visitIncludeRule$1(this);
36633 },
36634 accept$1(visitor) {
36635 return this.accept$1$1(visitor, type$.dynamic);
36636 },
36637 toString$0(_) {
36638 var t2, _this = this,
36639 t1 = _this.namespace;
36640 t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
36641 t1 += _this.name;
36642 t2 = _this.$arguments;
36643 if (!t2.get$isEmpty(t2))
36644 t1 += "(" + t2.toString$0(0) + ")";
36645 t2 = _this.content;
36646 t1 += t2 == null ? ";" : " " + t2.toString$0(0);
36647 return t1.charCodeAt(0) == 0 ? t1 : t1;
36648 },
36649 $isAstNode: 1,
36650 $isStatement: 1,
36651 get$span(receiver) {
36652 return this.span;
36653 }
36654 };
36655 A.LoudComment.prototype = {
36656 get$span(_) {
36657 return this.text.span;
36658 },
36659 accept$1$1(visitor) {
36660 return visitor.visitLoudComment$1(this);
36661 },
36662 accept$1(visitor) {
36663 return this.accept$1$1(visitor, type$.dynamic);
36664 },
36665 toString$0(_) {
36666 return this.text.toString$0(0);
36667 },
36668 $isAstNode: 1,
36669 $isStatement: 1
36670 };
36671 A.MediaRule.prototype = {
36672 accept$1$1(visitor) {
36673 return visitor.visitMediaRule$1(this);
36674 },
36675 accept$1(visitor) {
36676 return this.accept$1$1(visitor, type$.dynamic);
36677 },
36678 toString$0(_) {
36679 var t1 = this.children;
36680 return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36681 },
36682 get$span(receiver) {
36683 return this.span;
36684 }
36685 };
36686 A.MixinRule.prototype = {
36687 get$hasContent() {
36688 var result, _this = this,
36689 value = _this.__MixinRule_hasContent;
36690 if (value === $) {
36691 result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
36692 A._lateInitializeOnceCheck(_this.__MixinRule_hasContent, "hasContent");
36693 _this.__MixinRule_hasContent = result;
36694 value = result;
36695 }
36696 return value;
36697 },
36698 accept$1$1(visitor) {
36699 return visitor.visitMixinRule$1(this);
36700 },
36701 accept$1(visitor) {
36702 return this.accept$1$1(visitor, type$.dynamic);
36703 },
36704 toString$0(_) {
36705 var t1 = "@mixin " + this.name,
36706 t2 = this.$arguments;
36707 if (!(t2.$arguments.length === 0 && t2.restArgument == null))
36708 t1 += "(" + t2.toString$0(0) + ")";
36709 t2 = this.children;
36710 t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
36711 return t2.charCodeAt(0) == 0 ? t2 : t2;
36712 }
36713 };
36714 A._HasContentVisitor.prototype = {
36715 visitContentRule$1(_) {
36716 return true;
36717 }
36718 };
36719 A.ParentStatement.prototype = {$isAstNode: 1, $isStatement: 1};
36720 A.ParentStatement_closure.prototype = {
36721 call$1(child) {
36722 var t1;
36723 if (!(child instanceof A.VariableDeclaration))
36724 if (!(child instanceof A.FunctionRule))
36725 if (!(child instanceof A.MixinRule))
36726 t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
36727 else
36728 t1 = true;
36729 else
36730 t1 = true;
36731 else
36732 t1 = true;
36733 return t1;
36734 },
36735 $signature: 193
36736 };
36737 A.ParentStatement__closure.prototype = {
36738 call$1($import) {
36739 return $import instanceof A.DynamicImport;
36740 },
36741 $signature: 192
36742 };
36743 A.ReturnRule.prototype = {
36744 accept$1$1(visitor) {
36745 return visitor.visitReturnRule$1(this);
36746 },
36747 accept$1(visitor) {
36748 return this.accept$1$1(visitor, type$.dynamic);
36749 },
36750 toString$0(_) {
36751 return "@return " + this.expression.toString$0(0) + ";";
36752 },
36753 $isAstNode: 1,
36754 $isStatement: 1,
36755 get$span(receiver) {
36756 return this.span;
36757 }
36758 };
36759 A.SilentComment.prototype = {
36760 accept$1$1(visitor) {
36761 return visitor.visitSilentComment$1(this);
36762 },
36763 accept$1(visitor) {
36764 return this.accept$1$1(visitor, type$.dynamic);
36765 },
36766 toString$0(_) {
36767 return this.text;
36768 },
36769 $isAstNode: 1,
36770 $isStatement: 1,
36771 get$span(receiver) {
36772 return this.span;
36773 }
36774 };
36775 A.StyleRule.prototype = {
36776 accept$1$1(visitor) {
36777 return visitor.visitStyleRule$1(this);
36778 },
36779 accept$1(visitor) {
36780 return this.accept$1$1(visitor, type$.dynamic);
36781 },
36782 toString$0(_) {
36783 var t1 = this.children;
36784 return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36785 },
36786 get$span(receiver) {
36787 return this.span;
36788 }
36789 };
36790 A.Stylesheet.prototype = {
36791 Stylesheet$internal$3$plainCss(children, span, plainCss) {
36792 var t1, t2, t3, t4, _i, child;
36793 for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
36794 child = t1[_i];
36795 if (child instanceof A.UseRule)
36796 t4.push(child);
36797 else if (child instanceof A.ForwardRule)
36798 t3.push(child);
36799 else if (!(child instanceof A.SilentComment) && !(child instanceof A.LoudComment) && !(child instanceof A.VariableDeclaration))
36800 break;
36801 }
36802 },
36803 accept$1$1(visitor) {
36804 return visitor.visitStylesheet$1(this);
36805 },
36806 accept$1(visitor) {
36807 return this.accept$1$1(visitor, type$.dynamic);
36808 },
36809 toString$0(_) {
36810 var t1 = this.children;
36811 return (t1 && B.JSArray_methods).join$1(t1, " ");
36812 },
36813 get$span(receiver) {
36814 return this.span;
36815 }
36816 };
36817 A.SupportsRule.prototype = {
36818 accept$1$1(visitor) {
36819 return visitor.visitSupportsRule$1(this);
36820 },
36821 accept$1(visitor) {
36822 return this.accept$1$1(visitor, type$.dynamic);
36823 },
36824 toString$0(_) {
36825 var t1 = this.children;
36826 return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36827 },
36828 get$span(receiver) {
36829 return this.span;
36830 }
36831 };
36832 A.UseRule.prototype = {
36833 UseRule$4$configuration(url, namespace, span, configuration) {
36834 var t1, t2, _i, variable;
36835 for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
36836 variable = t1[_i];
36837 if (variable.isGuarded)
36838 throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
36839 }
36840 },
36841 accept$1$1(visitor) {
36842 return visitor.visitUseRule$1(this);
36843 },
36844 accept$1(visitor) {
36845 return this.accept$1$1(visitor, type$.dynamic);
36846 },
36847 toString$0(_) {
36848 var t1 = this.url,
36849 t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
36850 basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
36851 dot = B.JSString_methods.indexOf$1(basename, ".");
36852 t1 = this.namespace;
36853 if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
36854 t1 = t2 + (" as " + (t1 == null ? "*" : t1));
36855 else
36856 t1 = t2;
36857 t2 = this.configuration;
36858 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
36859 return t1.charCodeAt(0) == 0 ? t1 : t1;
36860 },
36861 $isAstNode: 1,
36862 $isStatement: 1,
36863 get$span(receiver) {
36864 return this.span;
36865 }
36866 };
36867 A.VariableDeclaration.prototype = {
36868 accept$1$1(visitor) {
36869 return visitor.visitVariableDeclaration$1(this);
36870 },
36871 accept$1(visitor) {
36872 return this.accept$1$1(visitor, type$.dynamic);
36873 },
36874 toString$0(_) {
36875 var t1 = this.namespace;
36876 t1 = t1 != null ? "$" + (t1 + ".") : "$";
36877 t1 += this.name + ": " + this.expression.toString$0(0) + ";";
36878 return t1.charCodeAt(0) == 0 ? t1 : t1;
36879 },
36880 $isAstNode: 1,
36881 $isStatement: 1,
36882 get$span(receiver) {
36883 return this.span;
36884 }
36885 };
36886 A.WarnRule.prototype = {
36887 accept$1$1(visitor) {
36888 return visitor.visitWarnRule$1(this);
36889 },
36890 accept$1(visitor) {
36891 return this.accept$1$1(visitor, type$.dynamic);
36892 },
36893 toString$0(_) {
36894 return "@warn " + this.expression.toString$0(0) + ";";
36895 },
36896 $isAstNode: 1,
36897 $isStatement: 1,
36898 get$span(receiver) {
36899 return this.span;
36900 }
36901 };
36902 A.WhileRule.prototype = {
36903 accept$1$1(visitor) {
36904 return visitor.visitWhileRule$1(this);
36905 },
36906 accept$1(visitor) {
36907 return this.accept$1$1(visitor, type$.dynamic);
36908 },
36909 toString$0(_) {
36910 var t1 = this.children;
36911 return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
36912 },
36913 get$span(receiver) {
36914 return this.span;
36915 }
36916 };
36917 A.SupportsAnything.prototype = {
36918 toString$0(_) {
36919 return "(" + this.contents.toString$0(0) + ")";
36920 },
36921 $isAstNode: 1,
36922 $isSupportsCondition: 1,
36923 get$span(receiver) {
36924 return this.span;
36925 }
36926 };
36927 A.SupportsDeclaration.prototype = {
36928 get$isCustomProperty() {
36929 var $name = this.name;
36930 return $name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
36931 },
36932 toString$0(_) {
36933 return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
36934 },
36935 $isAstNode: 1,
36936 $isSupportsCondition: 1,
36937 get$span(receiver) {
36938 return this.span;
36939 }
36940 };
36941 A.SupportsFunction.prototype = {
36942 toString$0(_) {
36943 return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
36944 },
36945 $isAstNode: 1,
36946 $isSupportsCondition: 1,
36947 get$span(receiver) {
36948 return this.span;
36949 }
36950 };
36951 A.SupportsInterpolation.prototype = {
36952 toString$0(_) {
36953 return "#{" + this.expression.toString$0(0) + "}";
36954 },
36955 $isAstNode: 1,
36956 $isSupportsCondition: 1,
36957 get$span(receiver) {
36958 return this.span;
36959 }
36960 };
36961 A.SupportsNegation.prototype = {
36962 toString$0(_) {
36963 var t1 = this.condition;
36964 if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
36965 return "not (" + t1.toString$0(0) + ")";
36966 else
36967 return "not " + t1.toString$0(0);
36968 },
36969 $isAstNode: 1,
36970 $isSupportsCondition: 1,
36971 get$span(receiver) {
36972 return this.span;
36973 }
36974 };
36975 A.SupportsOperation.prototype = {
36976 toString$0(_) {
36977 var _this = this;
36978 return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
36979 },
36980 _operation$_parenthesize$1(condition) {
36981 var t1;
36982 if (!(condition instanceof A.SupportsNegation))
36983 t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
36984 else
36985 t1 = true;
36986 return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
36987 },
36988 $isAstNode: 1,
36989 $isSupportsCondition: 1,
36990 get$span(receiver) {
36991 return this.span;
36992 }
36993 };
36994 A.Selector.prototype = {
36995 get$isInvisible() {
36996 return false;
36997 },
36998 toString$0(_) {
36999 var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
37000 this.accept$1(visitor);
37001 return visitor._serialize$_buffer.toString$0(0);
37002 }
37003 };
37004 A.AttributeSelector.prototype = {
37005 accept$1$1(visitor) {
37006 var value, t2, _this = this,
37007 t1 = visitor._serialize$_buffer;
37008 t1.writeCharCode$1(91);
37009 t1.write$1(0, _this.name);
37010 value = _this.value;
37011 if (value != null) {
37012 t1.write$1(0, _this.op);
37013 if (A.Parser_isIdentifier(value) && !B.JSString_methods.startsWith$1(value, "--")) {
37014 t1.write$1(0, value);
37015 t2 = _this.modifier;
37016 if (t2 != null)
37017 t1.writeCharCode$1(32);
37018 } else {
37019 visitor._visitQuotedString$1(value);
37020 t2 = _this.modifier;
37021 if (t2 != null)
37022 if (visitor._style !== B.OutputStyle_compressed)
37023 t1.writeCharCode$1(32);
37024 }
37025 if (t2 != null)
37026 t1.write$1(0, t2);
37027 }
37028 t1.writeCharCode$1(93);
37029 return null;
37030 },
37031 accept$1(visitor) {
37032 return this.accept$1$1(visitor, type$.dynamic);
37033 },
37034 $eq(_, other) {
37035 var _this = this;
37036 if (other == null)
37037 return false;
37038 return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
37039 },
37040 get$hashCode(_) {
37041 var _this = this,
37042 t1 = _this.name;
37043 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;
37044 }
37045 };
37046 A.AttributeOperator.prototype = {
37047 toString$0(_) {
37048 return this._attribute$_text;
37049 }
37050 };
37051 A.ClassSelector.prototype = {
37052 $eq(_, other) {
37053 if (other == null)
37054 return false;
37055 return other instanceof A.ClassSelector && other.name === this.name;
37056 },
37057 accept$1$1(visitor) {
37058 var t1 = visitor._serialize$_buffer;
37059 t1.writeCharCode$1(46);
37060 t1.write$1(0, this.name);
37061 return null;
37062 },
37063 accept$1(visitor) {
37064 return this.accept$1$1(visitor, type$.dynamic);
37065 },
37066 addSuffix$1(suffix) {
37067 return new A.ClassSelector(this.name + suffix);
37068 },
37069 get$hashCode(_) {
37070 return B.JSString_methods.get$hashCode(this.name);
37071 }
37072 };
37073 A.ComplexSelector.prototype = {
37074 get$minSpecificity() {
37075 if (this._minSpecificity == null)
37076 this._computeSpecificity$0();
37077 var t1 = this._minSpecificity;
37078 t1.toString;
37079 return t1;
37080 },
37081 get$maxSpecificity() {
37082 if (this._complex$_maxSpecificity == null)
37083 this._computeSpecificity$0();
37084 var t1 = this._complex$_maxSpecificity;
37085 t1.toString;
37086 return t1;
37087 },
37088 get$isInvisible() {
37089 var result, _this = this,
37090 value = _this.__ComplexSelector_isInvisible;
37091 if (value === $) {
37092 result = B.JSArray_methods.any$1(_this.components, new A.ComplexSelector_isInvisible_closure());
37093 A._lateInitializeOnceCheck(_this.__ComplexSelector_isInvisible, "isInvisible");
37094 _this.__ComplexSelector_isInvisible = result;
37095 value = result;
37096 }
37097 return value;
37098 },
37099 accept$1$1(visitor) {
37100 return visitor.visitComplexSelector$1(this);
37101 },
37102 accept$1(visitor) {
37103 return this.accept$1$1(visitor, type$.dynamic);
37104 },
37105 _computeSpecificity$0() {
37106 var t1, t2, minSpecificity, maxSpecificity, _i, component, t3;
37107 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37108 component = t1[_i];
37109 if (component instanceof A.CompoundSelector) {
37110 if (component._compound$_minSpecificity == null)
37111 component._compound$_computeSpecificity$0();
37112 t3 = component._compound$_minSpecificity;
37113 t3.toString;
37114 minSpecificity += t3;
37115 if (component._maxSpecificity == null)
37116 component._compound$_computeSpecificity$0();
37117 t3 = component._maxSpecificity;
37118 t3.toString;
37119 maxSpecificity += t3;
37120 }
37121 }
37122 this._minSpecificity = minSpecificity;
37123 this._complex$_maxSpecificity = maxSpecificity;
37124 },
37125 get$hashCode(_) {
37126 return B.C_ListEquality0.hash$1(this.components);
37127 },
37128 $eq(_, other) {
37129 if (other == null)
37130 return false;
37131 return other instanceof A.ComplexSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
37132 }
37133 };
37134 A.ComplexSelector_isInvisible_closure.prototype = {
37135 call$1(component) {
37136 return component instanceof A.CompoundSelector && component.get$isInvisible();
37137 },
37138 $signature: 125
37139 };
37140 A.Combinator.prototype = {
37141 toString$0(_) {
37142 return this._complex$_text;
37143 },
37144 $isComplexSelectorComponent: 1
37145 };
37146 A.CompoundSelector.prototype = {
37147 get$isInvisible() {
37148 return B.JSArray_methods.any$1(this.components, new A.CompoundSelector_isInvisible_closure());
37149 },
37150 accept$1$1(visitor) {
37151 return visitor.visitCompoundSelector$1(this);
37152 },
37153 accept$1(visitor) {
37154 return this.accept$1$1(visitor, type$.dynamic);
37155 },
37156 _compound$_computeSpecificity$0() {
37157 var t1, t2, minSpecificity, maxSpecificity, _i, simple;
37158 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37159 simple = t1[_i];
37160 minSpecificity += simple.get$minSpecificity();
37161 maxSpecificity += simple.get$maxSpecificity();
37162 }
37163 this._compound$_minSpecificity = minSpecificity;
37164 this._maxSpecificity = maxSpecificity;
37165 },
37166 get$hashCode(_) {
37167 return B.C_ListEquality0.hash$1(this.components);
37168 },
37169 $eq(_, other) {
37170 if (other == null)
37171 return false;
37172 return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
37173 },
37174 $isComplexSelectorComponent: 1
37175 };
37176 A.CompoundSelector_isInvisible_closure.prototype = {
37177 call$1(component) {
37178 return component.get$isInvisible();
37179 },
37180 $signature: 16
37181 };
37182 A.IDSelector.prototype = {
37183 get$minSpecificity() {
37184 return A._asInt(Math.pow(A.SimpleSelector.prototype.get$minSpecificity.call(this), 2));
37185 },
37186 accept$1$1(visitor) {
37187 var t1 = visitor._serialize$_buffer;
37188 t1.writeCharCode$1(35);
37189 t1.write$1(0, this.name);
37190 return null;
37191 },
37192 accept$1(visitor) {
37193 return this.accept$1$1(visitor, type$.dynamic);
37194 },
37195 addSuffix$1(suffix) {
37196 return new A.IDSelector(this.name + suffix);
37197 },
37198 unify$1(compound) {
37199 if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
37200 return null;
37201 return this.super$SimpleSelector$unify(compound);
37202 },
37203 $eq(_, other) {
37204 if (other == null)
37205 return false;
37206 return other instanceof A.IDSelector && other.name === this.name;
37207 },
37208 get$hashCode(_) {
37209 return B.JSString_methods.get$hashCode(this.name);
37210 }
37211 };
37212 A.IDSelector_unify_closure.prototype = {
37213 call$1(simple) {
37214 var t1;
37215 if (simple instanceof A.IDSelector) {
37216 t1 = simple.name;
37217 t1 = this.$this.name !== t1;
37218 } else
37219 t1 = false;
37220 return t1;
37221 },
37222 $signature: 16
37223 };
37224 A.SelectorList.prototype = {
37225 get$isInvisible() {
37226 return B.JSArray_methods.every$1(this.components, new A.SelectorList_isInvisible_closure());
37227 },
37228 get$asSassList() {
37229 var t1 = this.components;
37230 return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
37231 },
37232 accept$1$1(visitor) {
37233 return visitor.visitSelectorList$1(this);
37234 },
37235 accept$1(visitor) {
37236 return this.accept$1$1(visitor, type$.dynamic);
37237 },
37238 unify$1(other) {
37239 var t1 = this.components,
37240 t2 = A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector>"),
37241 contents = A.List_List$of(new A.ExpandIterable(t1, new A.SelectorList_unify_closure(other), t2), true, t2._eval$1("Iterable.E"));
37242 return contents.length === 0 ? null : A.SelectorList$(contents);
37243 },
37244 resolveParentSelectors$2$implicitParent($parent, implicitParent) {
37245 var t1, _this = this;
37246 if ($parent == null) {
37247 if (!B.JSArray_methods.any$1(_this.components, _this.get$_complexContainsParentSelector()))
37248 return _this;
37249 throw A.wrapException(A.SassScriptException$(string$.Top_le));
37250 }
37251 t1 = _this.components;
37252 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));
37253 },
37254 resolveParentSelectors$1($parent) {
37255 return this.resolveParentSelectors$2$implicitParent($parent, true);
37256 },
37257 _complexContainsParentSelector$1(complex) {
37258 return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure());
37259 },
37260 _resolveParentSelectorsCompound$2(compound, $parent) {
37261 var resolvedMembers0, parentSelector, t1,
37262 resolvedMembers = compound.components,
37263 containsSelectorPseudo = B.JSArray_methods.any$1(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure());
37264 if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(resolvedMembers) instanceof A.ParentSelector))
37265 return null;
37266 resolvedMembers0 = containsSelectorPseudo ? new A.MappedListIterable(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure0($parent), A._arrayInstanceType(resolvedMembers)._eval$1("MappedListIterable<1,SimpleSelector>")) : resolvedMembers;
37267 parentSelector = B.JSArray_methods.get$first(resolvedMembers);
37268 if (parentSelector instanceof A.ParentSelector) {
37269 if (resolvedMembers.length === 1 && parentSelector.suffix == null)
37270 return $parent.components;
37271 } else
37272 return A._setArrayType([A.ComplexSelector$(A._setArrayType([A.CompoundSelector$(resolvedMembers0)], type$.JSArray_ComplexSelectorComponent), false)], type$.JSArray_ComplexSelector);
37273 t1 = $parent.components;
37274 return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure1(compound, resolvedMembers0), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
37275 },
37276 get$hashCode(_) {
37277 return B.C_ListEquality0.hash$1(this.components);
37278 },
37279 $eq(_, other) {
37280 if (other == null)
37281 return false;
37282 return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
37283 }
37284 };
37285 A.SelectorList_isInvisible_closure.prototype = {
37286 call$1(complex) {
37287 return complex.get$isInvisible();
37288 },
37289 $signature: 19
37290 };
37291 A.SelectorList_asSassList_closure.prototype = {
37292 call$1(complex) {
37293 var t1 = complex.components;
37294 return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_woc, false);
37295 },
37296 $signature: 512
37297 };
37298 A.SelectorList_asSassList__closure.prototype = {
37299 call$1(component) {
37300 return new A.SassString(component.toString$0(0), false);
37301 },
37302 $signature: 515
37303 };
37304 A.SelectorList_unify_closure.prototype = {
37305 call$1(complex1) {
37306 var t1 = this.other.components;
37307 return new A.ExpandIterable(t1, new A.SelectorList_unify__closure(complex1), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector>"));
37308 },
37309 $signature: 127
37310 };
37311 A.SelectorList_unify__closure.prototype = {
37312 call$1(complex2) {
37313 var unified = A.unifyComplex(A._setArrayType([this.complex1.components, complex2.components], type$.JSArray_List_ComplexSelectorComponent));
37314 if (unified == null)
37315 return B.List_empty4;
37316 return J.map$1$1$ax(unified, new A.SelectorList_unify___closure(), type$.ComplexSelector);
37317 },
37318 $signature: 127
37319 };
37320 A.SelectorList_unify___closure.prototype = {
37321 call$1(complex) {
37322 return A.ComplexSelector$(complex, false);
37323 },
37324 $signature: 90
37325 };
37326 A.SelectorList_resolveParentSelectors_closure.prototype = {
37327 call$1(complex) {
37328 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 = {},
37329 t1 = _this.$this;
37330 if (!t1._complexContainsParentSelector$1(complex)) {
37331 if (!_this.implicitParent)
37332 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
37333 t1 = _this.parent.components;
37334 return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
37335 }
37336 t2 = type$.JSArray_List_ComplexSelectorComponent;
37337 newComplexes = A._setArrayType([A._setArrayType([], type$.JSArray_ComplexSelectorComponent)], t2);
37338 t3 = type$.JSArray_bool;
37339 _box_0.lineBreaks = A._setArrayType([false], t3);
37340 for (t4 = complex.components, t5 = t4.length, t6 = type$.ComplexSelectorComponent, t7 = _this.parent, _i = 0; _i < t5; ++_i) {
37341 component = t4[_i];
37342 if (component instanceof A.CompoundSelector) {
37343 resolved = t1._resolveParentSelectorsCompound$2(component, t7);
37344 if (resolved == null) {
37345 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
37346 newComplexes[_i0].push(component);
37347 continue;
37348 }
37349 previousLineBreaks = _box_0.lineBreaks;
37350 newComplexes0 = A._setArrayType([], t2);
37351 _box_0.lineBreaks = A._setArrayType([], t3);
37352 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) {
37353 newComplex = newComplexes[_i0];
37354 i0 = i + 1;
37355 lineBreak = previousLineBreaks[i];
37356 for (t10 = t9.get$iterator(resolved), t11 = !lineBreak; t10.moveNext$0();) {
37357 t12 = t10.get$current(t10);
37358 t13 = A.List_List$of(newComplex, true, t6);
37359 B.JSArray_methods.addAll$1(t13, t12.components);
37360 newComplexes0.push(t13);
37361 t13 = _box_0.lineBreaks;
37362 t13.push(!t11 || t12.lineBreak);
37363 }
37364 }
37365 newComplexes = newComplexes0;
37366 } else
37367 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
37368 newComplexes[_i0].push(component);
37369 }
37370 _box_0.i = 0;
37371 return new A.MappedListIterable(newComplexes, new A.SelectorList_resolveParentSelectors__closure0(_box_0), A._arrayInstanceType(newComplexes)._eval$1("MappedListIterable<1,ComplexSelector>"));
37372 },
37373 $signature: 127
37374 };
37375 A.SelectorList_resolveParentSelectors__closure.prototype = {
37376 call$1(parentComplex) {
37377 var t1 = A.List_List$of(parentComplex.components, true, type$.ComplexSelectorComponent),
37378 t2 = this.complex;
37379 B.JSArray_methods.addAll$1(t1, t2.components);
37380 return A.ComplexSelector$(t1, t2.lineBreak || parentComplex.lineBreak);
37381 },
37382 $signature: 128
37383 };
37384 A.SelectorList_resolveParentSelectors__closure0.prototype = {
37385 call$1(newComplex) {
37386 var t1 = this._box_0;
37387 return A.ComplexSelector$(newComplex, t1.lineBreaks[t1.i++]);
37388 },
37389 $signature: 90
37390 };
37391 A.SelectorList__complexContainsParentSelector_closure.prototype = {
37392 call$1(component) {
37393 return component instanceof A.CompoundSelector && B.JSArray_methods.any$1(component.components, new A.SelectorList__complexContainsParentSelector__closure());
37394 },
37395 $signature: 125
37396 };
37397 A.SelectorList__complexContainsParentSelector__closure.prototype = {
37398 call$1(simple) {
37399 var selector;
37400 if (simple instanceof A.ParentSelector)
37401 return true;
37402 if (!(simple instanceof A.PseudoSelector))
37403 return false;
37404 selector = simple.selector;
37405 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
37406 },
37407 $signature: 16
37408 };
37409 A.SelectorList__resolveParentSelectorsCompound_closure.prototype = {
37410 call$1(simple) {
37411 var selector;
37412 if (!(simple instanceof A.PseudoSelector))
37413 return false;
37414 selector = simple.selector;
37415 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
37416 },
37417 $signature: 16
37418 };
37419 A.SelectorList__resolveParentSelectorsCompound_closure0.prototype = {
37420 call$1(simple) {
37421 var selector, t1, t2, t3;
37422 if (!(simple instanceof A.PseudoSelector))
37423 return simple;
37424 selector = simple.selector;
37425 if (selector == null)
37426 return simple;
37427 if (!B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector()))
37428 return simple;
37429 t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
37430 t2 = simple.name;
37431 t3 = simple.isClass;
37432 return A.PseudoSelector$(t2, simple.argument, !t3, t1);
37433 },
37434 $signature: 556
37435 };
37436 A.SelectorList__resolveParentSelectorsCompound_closure1.prototype = {
37437 call$1(complex) {
37438 var suffix, t2, t3, t4, t5, last,
37439 t1 = complex.components,
37440 lastComponent = B.JSArray_methods.get$last(t1);
37441 if (!(lastComponent instanceof A.CompoundSelector))
37442 throw A.wrapException(A.SassScriptException$('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.'));
37443 suffix = type$.ParentSelector._as(B.JSArray_methods.get$first(this.compound.components)).suffix;
37444 t2 = type$.SimpleSelector;
37445 t3 = this.resolvedMembers;
37446 t4 = lastComponent.components;
37447 t5 = J.getInterceptor$ax(t3);
37448 if (suffix != null) {
37449 t2 = A.List_List$of(A.SubListIterable$(t4, 0, A.checkNotNullable(t4.length - 1, "count", type$.int), A._arrayInstanceType(t4)._precomputed1), true, t2);
37450 t2.push(B.JSArray_methods.get$last(t4).addSuffix$1(suffix));
37451 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
37452 last = A.CompoundSelector$(t2);
37453 } else {
37454 t2 = A.List_List$of(t4, true, t2);
37455 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
37456 last = A.CompoundSelector$(t2);
37457 }
37458 t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(t1.length - 1, "count", type$.int), A._arrayInstanceType(t1)._precomputed1), true, type$.ComplexSelectorComponent);
37459 t1.push(last);
37460 return A.ComplexSelector$(t1, complex.lineBreak);
37461 },
37462 $signature: 128
37463 };
37464 A.ParentSelector.prototype = {
37465 accept$1$1(visitor) {
37466 var t2,
37467 t1 = visitor._serialize$_buffer;
37468 t1.writeCharCode$1(38);
37469 t2 = this.suffix;
37470 if (t2 != null)
37471 t1.write$1(0, t2);
37472 return null;
37473 },
37474 accept$1(visitor) {
37475 return this.accept$1$1(visitor, type$.dynamic);
37476 },
37477 unify$1(compound) {
37478 return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
37479 }
37480 };
37481 A.PlaceholderSelector.prototype = {
37482 get$isInvisible() {
37483 return true;
37484 },
37485 accept$1$1(visitor) {
37486 var t1 = visitor._serialize$_buffer;
37487 t1.writeCharCode$1(37);
37488 t1.write$1(0, this.name);
37489 return null;
37490 },
37491 accept$1(visitor) {
37492 return this.accept$1$1(visitor, type$.dynamic);
37493 },
37494 addSuffix$1(suffix) {
37495 return new A.PlaceholderSelector(this.name + suffix);
37496 },
37497 $eq(_, other) {
37498 if (other == null)
37499 return false;
37500 return other instanceof A.PlaceholderSelector && other.name === this.name;
37501 },
37502 get$hashCode(_) {
37503 return B.JSString_methods.get$hashCode(this.name);
37504 }
37505 };
37506 A.PseudoSelector.prototype = {
37507 get$isHostContext() {
37508 return this.isClass && this.name === "host-context" && this.selector != null;
37509 },
37510 get$minSpecificity() {
37511 if (this._pseudo$_minSpecificity == null)
37512 this._pseudo$_computeSpecificity$0();
37513 var t1 = this._pseudo$_minSpecificity;
37514 t1.toString;
37515 return t1;
37516 },
37517 get$maxSpecificity() {
37518 if (this._pseudo$_maxSpecificity == null)
37519 this._pseudo$_computeSpecificity$0();
37520 var t1 = this._pseudo$_maxSpecificity;
37521 t1.toString;
37522 return t1;
37523 },
37524 get$isInvisible() {
37525 var selector = this.selector;
37526 if (selector == null)
37527 return false;
37528 return this.name !== "not" && selector.get$isInvisible();
37529 },
37530 addSuffix$1(suffix) {
37531 var _this = this;
37532 if (_this.argument != null || _this.selector != null)
37533 _this.super$SimpleSelector$addSuffix(suffix);
37534 return A.PseudoSelector$(_this.name + suffix, null, !_this.isClass, null);
37535 },
37536 unify$1(compound) {
37537 var other, result, t2, addedThis, _i, simple, _this = this,
37538 t1 = _this.name;
37539 if (t1 === "host" || t1 === "host-context") {
37540 if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
37541 return null;
37542 } else if (compound.length === 1) {
37543 other = B.JSArray_methods.get$first(compound);
37544 if (!(other instanceof A.UniversalSelector))
37545 if (other instanceof A.PseudoSelector)
37546 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
37547 else
37548 t1 = false;
37549 else
37550 t1 = true;
37551 if (t1)
37552 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
37553 }
37554 if (B.JSArray_methods.contains$1(compound, _this))
37555 return compound;
37556 result = A._setArrayType([], type$.JSArray_SimpleSelector);
37557 for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
37558 simple = compound[_i];
37559 if (simple instanceof A.PseudoSelector && !simple.isClass) {
37560 if (t2)
37561 return null;
37562 result.push(_this);
37563 addedThis = true;
37564 }
37565 result.push(simple);
37566 }
37567 if (!addedThis)
37568 result.push(_this);
37569 return result;
37570 },
37571 _pseudo$_computeSpecificity$0() {
37572 var selector, t1, t2, minSpecificity, maxSpecificity, _i, complex, t3, _this = this;
37573 if (!_this.isClass) {
37574 _this._pseudo$_maxSpecificity = _this._pseudo$_minSpecificity = 1;
37575 return;
37576 }
37577 selector = _this.selector;
37578 if (selector == null) {
37579 _this._pseudo$_minSpecificity = A.SimpleSelector.prototype.get$minSpecificity.call(_this);
37580 _this._pseudo$_maxSpecificity = A.SimpleSelector.prototype.get$maxSpecificity.call(_this);
37581 return;
37582 }
37583 if (_this.name === "not") {
37584 for (t1 = selector.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37585 complex = t1[_i];
37586 if (complex._minSpecificity == null)
37587 complex._computeSpecificity$0();
37588 t3 = complex._minSpecificity;
37589 t3.toString;
37590 minSpecificity = Math.max(minSpecificity, t3);
37591 if (complex._complex$_maxSpecificity == null)
37592 complex._computeSpecificity$0();
37593 t3 = complex._complex$_maxSpecificity;
37594 t3.toString;
37595 maxSpecificity = Math.max(maxSpecificity, t3);
37596 }
37597 _this._pseudo$_minSpecificity = minSpecificity;
37598 _this._pseudo$_maxSpecificity = maxSpecificity;
37599 } else {
37600 minSpecificity = A._asInt(Math.pow(A.SimpleSelector.prototype.get$minSpecificity.call(_this), 3));
37601 for (t1 = selector.components, t2 = t1.length, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
37602 complex = t1[_i];
37603 if (complex._minSpecificity == null)
37604 complex._computeSpecificity$0();
37605 t3 = complex._minSpecificity;
37606 t3.toString;
37607 minSpecificity = Math.min(minSpecificity, t3);
37608 if (complex._complex$_maxSpecificity == null)
37609 complex._computeSpecificity$0();
37610 t3 = complex._complex$_maxSpecificity;
37611 t3.toString;
37612 maxSpecificity = Math.max(maxSpecificity, t3);
37613 }
37614 _this._pseudo$_minSpecificity = minSpecificity;
37615 _this._pseudo$_maxSpecificity = maxSpecificity;
37616 }
37617 },
37618 accept$1$1(visitor) {
37619 return visitor.visitPseudoSelector$1(this);
37620 },
37621 accept$1(visitor) {
37622 return this.accept$1$1(visitor, type$.dynamic);
37623 },
37624 $eq(_, other) {
37625 var _this = this;
37626 if (other == null)
37627 return false;
37628 return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
37629 },
37630 get$hashCode(_) {
37631 var _this = this,
37632 t1 = B.JSString_methods.get$hashCode(_this.name),
37633 t2 = !_this.isClass ? 519018 : 218159;
37634 return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
37635 }
37636 };
37637 A.PseudoSelector_unify_closure.prototype = {
37638 call$1(simple) {
37639 var t1;
37640 if (simple instanceof A.PseudoSelector)
37641 t1 = simple.isClass && simple.name === "host" || simple.selector != null;
37642 else
37643 t1 = false;
37644 return t1;
37645 },
37646 $signature: 16
37647 };
37648 A.QualifiedName.prototype = {
37649 $eq(_, other) {
37650 if (other == null)
37651 return false;
37652 return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
37653 },
37654 get$hashCode(_) {
37655 return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
37656 },
37657 toString$0(_) {
37658 var t1 = this.namespace,
37659 t2 = this.name;
37660 return t1 == null ? t2 : t1 + "|" + t2;
37661 }
37662 };
37663 A.SimpleSelector.prototype = {
37664 get$minSpecificity() {
37665 return 1000;
37666 },
37667 get$maxSpecificity() {
37668 return this.get$minSpecificity();
37669 },
37670 addSuffix$1(suffix) {
37671 return A.throwExpression(A.SassScriptException$('Invalid parent selector "' + this.toString$0(0) + '"'));
37672 },
37673 unify$1(compound) {
37674 var other, t1, result, addedThis, _i, simple, _this = this;
37675 if (compound.length === 1) {
37676 other = B.JSArray_methods.get$first(compound);
37677 if (!(other instanceof A.UniversalSelector))
37678 if (other instanceof A.PseudoSelector)
37679 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
37680 else
37681 t1 = false;
37682 else
37683 t1 = true;
37684 if (t1)
37685 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
37686 }
37687 if (B.JSArray_methods.contains$1(compound, _this))
37688 return compound;
37689 result = A._setArrayType([], type$.JSArray_SimpleSelector);
37690 for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
37691 simple = compound[_i];
37692 if (!addedThis && simple instanceof A.PseudoSelector) {
37693 result.push(_this);
37694 addedThis = true;
37695 }
37696 result.push(simple);
37697 }
37698 if (!addedThis)
37699 result.push(_this);
37700 return result;
37701 }
37702 };
37703 A.TypeSelector.prototype = {
37704 get$minSpecificity() {
37705 return 1;
37706 },
37707 accept$1$1(visitor) {
37708 visitor._serialize$_buffer.write$1(0, this.name);
37709 return null;
37710 },
37711 accept$1(visitor) {
37712 return this.accept$1$1(visitor, type$.dynamic);
37713 },
37714 addSuffix$1(suffix) {
37715 var t1 = this.name;
37716 return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace));
37717 },
37718 unify$1(compound) {
37719 var unified, t1;
37720 if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector) {
37721 unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
37722 if (unified == null)
37723 return null;
37724 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
37725 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
37726 return t1;
37727 } else {
37728 t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
37729 B.JSArray_methods.addAll$1(t1, compound);
37730 return t1;
37731 }
37732 },
37733 $eq(_, other) {
37734 if (other == null)
37735 return false;
37736 return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
37737 },
37738 get$hashCode(_) {
37739 var t1 = this.name;
37740 return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
37741 }
37742 };
37743 A.UniversalSelector.prototype = {
37744 get$minSpecificity() {
37745 return 0;
37746 },
37747 accept$1$1(visitor) {
37748 var t2,
37749 t1 = this.namespace;
37750 if (t1 != null) {
37751 t2 = visitor._serialize$_buffer;
37752 t2.write$1(0, t1);
37753 t2.writeCharCode$1(124);
37754 }
37755 visitor._serialize$_buffer.writeCharCode$1(42);
37756 return null;
37757 },
37758 accept$1(visitor) {
37759 return this.accept$1$1(visitor, type$.dynamic);
37760 },
37761 unify$1(compound) {
37762 var unified, t1, _this = this,
37763 first = B.JSArray_methods.get$first(compound);
37764 if (first instanceof A.UniversalSelector || first instanceof A.TypeSelector) {
37765 unified = A.unifyUniversalAndElement(_this, first);
37766 if (unified == null)
37767 return null;
37768 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
37769 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
37770 return t1;
37771 } else {
37772 if (compound.length === 1)
37773 if (first instanceof A.PseudoSelector)
37774 t1 = first.isClass && first.name === "host" || first.get$isHostContext();
37775 else
37776 t1 = false;
37777 else
37778 t1 = false;
37779 if (t1)
37780 return null;
37781 }
37782 t1 = _this.namespace;
37783 if (t1 != null && t1 !== "*") {
37784 t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
37785 B.JSArray_methods.addAll$1(t1, compound);
37786 return t1;
37787 }
37788 if (compound.length !== 0)
37789 return compound;
37790 return A._setArrayType([_this], type$.JSArray_SimpleSelector);
37791 },
37792 $eq(_, other) {
37793 if (other == null)
37794 return false;
37795 return other instanceof A.UniversalSelector && other.namespace == this.namespace;
37796 },
37797 get$hashCode(_) {
37798 return J.get$hashCode$(this.namespace);
37799 }
37800 };
37801 A._compileStylesheet_closure0.prototype = {
37802 call$1(url) {
37803 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);
37804 },
37805 $signature: 5
37806 };
37807 A.AsyncEnvironment.prototype = {
37808 closure$0() {
37809 var t4, t5, t6, _this = this,
37810 t1 = _this._async_environment$_forwardedModules,
37811 t2 = _this._async_environment$_nestedForwardedModules,
37812 t3 = _this._async_environment$_variables;
37813 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
37814 t4 = _this._async_environment$_variableNodes;
37815 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
37816 t5 = _this._async_environment$_functions;
37817 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
37818 t6 = _this._async_environment$_mixins;
37819 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
37820 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);
37821 },
37822 addModule$3$namespace(module, nodeWithSpan, namespace) {
37823 var t1, t2, span, _this = this;
37824 if (namespace == null) {
37825 _this._async_environment$_globalModules.$indexSet(0, module, nodeWithSpan);
37826 _this._async_environment$_allModules.push(module);
37827 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment$_variables))); t1.moveNext$0();) {
37828 t2 = t1.get$current(t1);
37829 if (module.get$variables().containsKey$1(t2))
37830 throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".'));
37831 }
37832 } else {
37833 t1 = _this._async_environment$_modules;
37834 if (t1.containsKey$1(namespace)) {
37835 t1 = _this._async_environment$_namespaceNodes.$index(0, namespace);
37836 span = t1 == null ? null : t1.span;
37837 t1 = string$.There_ + namespace + '".';
37838 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
37839 if (span != null)
37840 t2.$indexSet(0, span, "original @use");
37841 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @use", t2));
37842 }
37843 t1.$indexSet(0, namespace, module);
37844 _this._async_environment$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
37845 _this._async_environment$_allModules.push(module);
37846 }
37847 },
37848 forwardModule$2(module, rule) {
37849 var view, t1, t2, _this = this,
37850 forwardedModules = _this._async_environment$_forwardedModules;
37851 if (forwardedModules == null)
37852 forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
37853 view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
37854 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
37855 t2 = t1.get$current(t1);
37856 _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
37857 _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
37858 _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
37859 }
37860 _this._async_environment$_allModules.push(module);
37861 forwardedModules.$indexSet(0, view, rule);
37862 },
37863 _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
37864 var larger, smaller, t1, t2, $name, span;
37865 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
37866 larger = oldMembers;
37867 smaller = newMembers;
37868 } else {
37869 larger = newMembers;
37870 smaller = oldMembers;
37871 }
37872 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
37873 $name = t1.get$current(t1);
37874 if (!larger.containsKey$1($name))
37875 continue;
37876 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
37877 continue;
37878 if (t2)
37879 $name = "$" + $name;
37880 t1 = this._async_environment$_forwardedModules;
37881 if (t1 == null)
37882 span = null;
37883 else {
37884 t1 = t1.$index(0, oldModule);
37885 span = t1 == null ? null : J.get$span$z(t1);
37886 }
37887 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
37888 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
37889 if (span != null)
37890 t2.$indexSet(0, span, "original @forward");
37891 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @forward", t2));
37892 }
37893 },
37894 importForwards$1(module) {
37895 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
37896 forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
37897 if (forwarded == null)
37898 return;
37899 forwardedModules = _this._async_environment$_forwardedModules;
37900 if (forwardedModules != null) {
37901 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
37902 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment$_globalModules; t2.moveNext$0();) {
37903 t4 = t2.get$current(t2);
37904 t5 = t4.key;
37905 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
37906 t1.$indexSet(0, t5, t4.value);
37907 }
37908 forwarded = t1;
37909 } else
37910 forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
37911 t1 = forwarded.get$keys(forwarded);
37912 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
37913 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure(), t2), t2._eval$1("Iterable.E"));
37914 t2 = forwarded.get$keys(forwarded);
37915 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
37916 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.AsyncEnvironment_importForwards_closure0(), t1), t1._eval$1("Iterable.E"));
37917 t1 = forwarded.get$keys(forwarded);
37918 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
37919 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure1(), t2), t2._eval$1("Iterable.E"));
37920 t1 = _this._async_environment$_variables;
37921 t2 = t1.length;
37922 if (t2 === 1) {
37923 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) {
37924 entry = t3[_i];
37925 module = entry.key;
37926 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
37927 if (shadowed != null) {
37928 t2.remove$1(0, module);
37929 t6 = shadowed.variables;
37930 if (t6.get$isEmpty(t6)) {
37931 t6 = shadowed.functions;
37932 if (t6.get$isEmpty(t6)) {
37933 t6 = shadowed.mixins;
37934 if (t6.get$isEmpty(t6)) {
37935 t6 = shadowed._shadowed_view$_inner;
37936 t6 = t6.get$css(t6);
37937 t6 = J.get$isEmpty$asx(t6.get$children(t6));
37938 } else
37939 t6 = false;
37940 } else
37941 t6 = false;
37942 } else
37943 t6 = false;
37944 if (!t6)
37945 t2.$indexSet(0, shadowed, entry.value);
37946 }
37947 }
37948 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) {
37949 entry = t3[_i];
37950 module = entry.key;
37951 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
37952 if (shadowed != null) {
37953 forwardedModules.remove$1(0, module);
37954 t6 = shadowed.variables;
37955 if (t6.get$isEmpty(t6)) {
37956 t6 = shadowed.functions;
37957 if (t6.get$isEmpty(t6)) {
37958 t6 = shadowed.mixins;
37959 if (t6.get$isEmpty(t6)) {
37960 t6 = shadowed._shadowed_view$_inner;
37961 t6 = t6.get$css(t6);
37962 t6 = J.get$isEmpty$asx(t6.get$children(t6));
37963 } else
37964 t6 = false;
37965 } else
37966 t6 = false;
37967 } else
37968 t6 = false;
37969 if (!t6)
37970 forwardedModules.$indexSet(0, shadowed, entry.value);
37971 }
37972 }
37973 t2.addAll$1(0, forwarded);
37974 forwardedModules.addAll$1(0, forwarded);
37975 } else {
37976 t3 = _this._async_environment$_nestedForwardedModules;
37977 if (t3 == null) {
37978 _length = t2 - 1;
37979 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
37980 for (t2 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
37981 _list[_i] = A._setArrayType([], t2);
37982 _this._async_environment$_nestedForwardedModules = _list;
37983 t2 = _list;
37984 } else
37985 t2 = t3;
37986 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
37987 }
37988 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();) {
37989 t6 = t3._as(t2._collection$_current);
37990 t4.remove$1(0, t6);
37991 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
37992 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
37993 }
37994 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();) {
37995 t5 = t2._as(t1._collection$_current);
37996 t3.remove$1(0, t5);
37997 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
37998 }
37999 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();) {
38000 t5 = t2._as(t1._collection$_current);
38001 t3.remove$1(0, t5);
38002 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
38003 }
38004 },
38005 getVariable$2$namespace($name, namespace) {
38006 var t1, index, _this = this;
38007 if (namespace != null)
38008 return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
38009 if (_this._async_environment$_lastVariableName === $name) {
38010 t1 = _this._async_environment$_lastVariableIndex;
38011 t1.toString;
38012 t1 = J.$index$asx(_this._async_environment$_variables[t1], $name);
38013 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38014 }
38015 t1 = _this._async_environment$_variableIndices;
38016 index = t1.$index(0, $name);
38017 if (index != null) {
38018 _this._async_environment$_lastVariableName = $name;
38019 _this._async_environment$_lastVariableIndex = index;
38020 t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
38021 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38022 }
38023 index = _this._async_environment$_variableIndex$1($name);
38024 if (index == null)
38025 return _this._async_environment$_getVariableFromGlobalModule$1($name);
38026 _this._async_environment$_lastVariableName = $name;
38027 _this._async_environment$_lastVariableIndex = index;
38028 t1.$indexSet(0, $name, index);
38029 t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
38030 return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
38031 },
38032 getVariable$1($name) {
38033 return this.getVariable$2$namespace($name, null);
38034 },
38035 _async_environment$_getVariableFromGlobalModule$1($name) {
38036 return this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name), type$.Value);
38037 },
38038 getVariableNode$2$namespace($name, namespace) {
38039 var t1, index, _this = this;
38040 if (namespace != null)
38041 return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
38042 if (_this._async_environment$_lastVariableName === $name) {
38043 t1 = _this._async_environment$_lastVariableIndex;
38044 t1.toString;
38045 t1 = J.$index$asx(_this._async_environment$_variableNodes[t1], $name);
38046 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38047 }
38048 t1 = _this._async_environment$_variableIndices;
38049 index = t1.$index(0, $name);
38050 if (index != null) {
38051 _this._async_environment$_lastVariableName = $name;
38052 _this._async_environment$_lastVariableIndex = index;
38053 t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
38054 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38055 }
38056 index = _this._async_environment$_variableIndex$1($name);
38057 if (index == null)
38058 return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
38059 _this._async_environment$_lastVariableName = $name;
38060 _this._async_environment$_lastVariableIndex = index;
38061 t1.$indexSet(0, $name, index);
38062 t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
38063 return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
38064 },
38065 _async_environment$_getVariableNodeFromGlobalModule$1($name) {
38066 var t1, t2, value;
38067 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();) {
38068 t1 = t2._currentIterator;
38069 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
38070 if (value != null)
38071 return value;
38072 }
38073 return null;
38074 },
38075 globalVariableExists$2$namespace($name, namespace) {
38076 if (namespace != null)
38077 return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
38078 if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
38079 return true;
38080 return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
38081 },
38082 globalVariableExists$1($name) {
38083 return this.globalVariableExists$2$namespace($name, null);
38084 },
38085 _async_environment$_variableIndex$1($name) {
38086 var t1, i;
38087 for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
38088 if (t1[i].containsKey$1($name))
38089 return i;
38090 return null;
38091 },
38092 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
38093 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
38094 if (namespace != null) {
38095 _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
38096 return;
38097 }
38098 if (global || _this._async_environment$_variables.length === 1) {
38099 _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
38100 t1 = _this._async_environment$_variables;
38101 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
38102 moduleWithName = _this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name), type$.Module_AsyncCallable);
38103 if (moduleWithName != null) {
38104 moduleWithName.setVariable$3($name, value, nodeWithSpan);
38105 return;
38106 }
38107 }
38108 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
38109 J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
38110 return;
38111 }
38112 nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
38113 if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
38114 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();)
38115 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();) {
38116 t5 = t4._as(t3.__internal$_current);
38117 if (t5.get$variables().containsKey$1($name)) {
38118 t5.setVariable$3($name, value, nodeWithSpan);
38119 return;
38120 }
38121 }
38122 if (_this._async_environment$_lastVariableName === $name) {
38123 t1 = _this._async_environment$_lastVariableIndex;
38124 t1.toString;
38125 index = t1;
38126 } else
38127 index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
38128 if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
38129 index = _this._async_environment$_variables.length - 1;
38130 _this._async_environment$_variableIndices.$indexSet(0, $name, index);
38131 }
38132 _this._async_environment$_lastVariableName = $name;
38133 _this._async_environment$_lastVariableIndex = index;
38134 J.$indexSet$ax(_this._async_environment$_variables[index], $name, value);
38135 J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
38136 },
38137 setVariable$4$global($name, value, nodeWithSpan, global) {
38138 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
38139 },
38140 setLocalVariable$3($name, value, nodeWithSpan) {
38141 var index, _this = this,
38142 t1 = _this._async_environment$_variables,
38143 t2 = t1.length;
38144 _this._async_environment$_lastVariableName = $name;
38145 index = _this._async_environment$_lastVariableIndex = t2 - 1;
38146 _this._async_environment$_variableIndices.$indexSet(0, $name, index);
38147 J.$indexSet$ax(t1[index], $name, value);
38148 J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
38149 },
38150 getFunction$2$namespace($name, namespace) {
38151 var t1, index, _this = this;
38152 if (namespace != null) {
38153 t1 = _this._async_environment$_getModule$1(namespace);
38154 return t1.get$functions(t1).$index(0, $name);
38155 }
38156 t1 = _this._async_environment$_functionIndices;
38157 index = t1.$index(0, $name);
38158 if (index != null) {
38159 t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
38160 return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
38161 }
38162 index = _this._async_environment$_functionIndex$1($name);
38163 if (index == null)
38164 return _this._async_environment$_getFunctionFromGlobalModule$1($name);
38165 t1.$indexSet(0, $name, index);
38166 t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
38167 return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
38168 },
38169 _async_environment$_getFunctionFromGlobalModule$1($name) {
38170 return this._async_environment$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name), type$.AsyncCallable);
38171 },
38172 _async_environment$_functionIndex$1($name) {
38173 var t1, i;
38174 for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
38175 if (t1[i].containsKey$1($name))
38176 return i;
38177 return null;
38178 },
38179 getMixin$2$namespace($name, namespace) {
38180 var t1, index, _this = this;
38181 if (namespace != null)
38182 return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
38183 t1 = _this._async_environment$_mixinIndices;
38184 index = t1.$index(0, $name);
38185 if (index != null) {
38186 t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
38187 return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
38188 }
38189 index = _this._async_environment$_mixinIndex$1($name);
38190 if (index == null)
38191 return _this._async_environment$_getMixinFromGlobalModule$1($name);
38192 t1.$indexSet(0, $name, index);
38193 t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
38194 return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
38195 },
38196 _async_environment$_getMixinFromGlobalModule$1($name) {
38197 return this._async_environment$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name), type$.AsyncCallable);
38198 },
38199 _async_environment$_mixinIndex$1($name) {
38200 var t1, i;
38201 for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
38202 if (t1[i].containsKey$1($name))
38203 return i;
38204 return null;
38205 },
38206 withContent$2($content, callback) {
38207 return this.withContent$body$AsyncEnvironment($content, callback);
38208 },
38209 withContent$body$AsyncEnvironment($content, callback) {
38210 var $async$goto = 0,
38211 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
38212 $async$self = this, oldContent;
38213 var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38214 if ($async$errorCode === 1)
38215 return A._asyncRethrow($async$result, $async$completer);
38216 while (true)
38217 switch ($async$goto) {
38218 case 0:
38219 // Function start
38220 oldContent = $async$self._async_environment$_content;
38221 $async$self._async_environment$_content = $content;
38222 $async$goto = 2;
38223 return A._asyncAwait(callback.call$0(), $async$withContent$2);
38224 case 2:
38225 // returning from await.
38226 $async$self._async_environment$_content = oldContent;
38227 // implicit return
38228 return A._asyncReturn(null, $async$completer);
38229 }
38230 });
38231 return A._asyncStartSync($async$withContent$2, $async$completer);
38232 },
38233 asMixin$1(callback) {
38234 var $async$goto = 0,
38235 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
38236 $async$self = this, oldInMixin;
38237 var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38238 if ($async$errorCode === 1)
38239 return A._asyncRethrow($async$result, $async$completer);
38240 while (true)
38241 switch ($async$goto) {
38242 case 0:
38243 // Function start
38244 oldInMixin = $async$self._async_environment$_inMixin;
38245 $async$self._async_environment$_inMixin = true;
38246 $async$goto = 2;
38247 return A._asyncAwait(callback.call$0(), $async$asMixin$1);
38248 case 2:
38249 // returning from await.
38250 $async$self._async_environment$_inMixin = oldInMixin;
38251 // implicit return
38252 return A._asyncReturn(null, $async$completer);
38253 }
38254 });
38255 return A._asyncStartSync($async$asMixin$1, $async$completer);
38256 },
38257 scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
38258 return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
38259 },
38260 scope$1$1(callback, $T) {
38261 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
38262 },
38263 scope$1$2$when(callback, when, $T) {
38264 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
38265 },
38266 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
38267 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
38268 },
38269 scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
38270 var $async$goto = 0,
38271 $async$completer = A._makeAsyncAwaitCompleter($async$type),
38272 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5;
38273 var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38274 if ($async$errorCode === 1) {
38275 $async$currentError = $async$result;
38276 $async$goto = $async$handler;
38277 }
38278 while (true)
38279 switch ($async$goto) {
38280 case 0:
38281 // Function start
38282 semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
38283 wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
38284 $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
38285 $async$goto = !when ? 3 : 4;
38286 break;
38287 case 3:
38288 // then
38289 $async$handler = 5;
38290 $async$goto = 8;
38291 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
38292 case 8:
38293 // returning from await.
38294 t1 = $async$result;
38295 $async$returnValue = t1;
38296 $async$next = [1];
38297 // goto finally
38298 $async$goto = 6;
38299 break;
38300 $async$next.push(7);
38301 // goto finally
38302 $async$goto = 6;
38303 break;
38304 case 5:
38305 // uncaught
38306 $async$next = [2];
38307 case 6:
38308 // finally
38309 $async$handler = 2;
38310 $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
38311 // goto the next finally handler
38312 $async$goto = $async$next.pop();
38313 break;
38314 case 7:
38315 // after finally
38316 case 4:
38317 // join
38318 t1 = $async$self._async_environment$_variables;
38319 t2 = type$.String;
38320 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
38321 B.JSArray_methods.add$1($async$self._async_environment$_variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
38322 t3 = $async$self._async_environment$_functions;
38323 t4 = type$.AsyncCallable;
38324 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
38325 t5 = $async$self._async_environment$_mixins;
38326 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
38327 t4 = $async$self._async_environment$_nestedForwardedModules;
38328 if (t4 != null)
38329 t4.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
38330 $async$handler = 9;
38331 $async$goto = 12;
38332 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
38333 case 12:
38334 // returning from await.
38335 t2 = $async$result;
38336 $async$returnValue = t2;
38337 $async$next = [1];
38338 // goto finally
38339 $async$goto = 10;
38340 break;
38341 $async$next.push(11);
38342 // goto finally
38343 $async$goto = 10;
38344 break;
38345 case 9:
38346 // uncaught
38347 $async$next = [2];
38348 case 10:
38349 // finally
38350 $async$handler = 2;
38351 $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
38352 $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
38353 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();) {
38354 $name = t1.get$current(t1);
38355 t2.remove$1(0, $name);
38356 }
38357 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();) {
38358 name0 = t1.get$current(t1);
38359 t2.remove$1(0, name0);
38360 }
38361 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();) {
38362 name1 = t1.get$current(t1);
38363 t2.remove$1(0, name1);
38364 }
38365 t1 = $async$self._async_environment$_nestedForwardedModules;
38366 if (t1 != null)
38367 t1.pop();
38368 // goto the next finally handler
38369 $async$goto = $async$next.pop();
38370 break;
38371 case 11:
38372 // after finally
38373 case 1:
38374 // return
38375 return A._asyncReturn($async$returnValue, $async$completer);
38376 case 2:
38377 // rethrow
38378 return A._asyncRethrow($async$currentError, $async$completer);
38379 }
38380 });
38381 return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
38382 },
38383 toImplicitConfiguration$0() {
38384 var t1, t2, i, values, nodes, t3, t4, t5, t6,
38385 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
38386 for (t1 = this._async_environment$_variables, t2 = this._async_environment$_variableNodes, i = 0; i < t1.length; ++i) {
38387 values = t1[i];
38388 nodes = t2[i];
38389 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
38390 t4 = t3.get$current(t3);
38391 t5 = t4.key;
38392 t4 = t4.value;
38393 t6 = nodes.$index(0, t5);
38394 t6.toString;
38395 configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
38396 }
38397 }
38398 return new A.Configuration(configuration);
38399 },
38400 toModule$2(css, extensionStore) {
38401 return A._EnvironmentModule__EnvironmentModule0(this, css, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
38402 },
38403 toDummyModule$0() {
38404 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()));
38405 },
38406 _async_environment$_getModule$1(namespace) {
38407 var module = this._async_environment$_modules.$index(0, namespace);
38408 if (module != null)
38409 return module;
38410 throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".'));
38411 },
38412 _async_environment$_fromOneModule$1$3($name, type, callback, $T) {
38413 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
38414 nestedForwardedModules = this._async_environment$_nestedForwardedModules;
38415 if (nestedForwardedModules != null)
38416 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();)
38417 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();) {
38418 value = callback.call$1(t4._as(t3.__internal$_current));
38419 if (value != null)
38420 return value;
38421 }
38422 for (t1 = this._async_environment$_importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
38423 value = callback.call$1(t1.get$current(t1));
38424 if (value != null)
38425 return value;
38426 }
38427 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();) {
38428 t4 = t2.get$current(t2);
38429 valueInModule = callback.call$1(t4);
38430 if (valueInModule == null)
38431 continue;
38432 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
38433 if (identityFromModule.$eq(0, identity))
38434 continue;
38435 if (value != null) {
38436 spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
38437 t2 = "This " + type + string$.x20is_av;
38438 t3 = type + " use";
38439 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
38440 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
38441 t5 = t1.get$current(t1);
38442 if (t5 != null)
38443 t4.$indexSet(0, t5, "includes " + type);
38444 }
38445 throw A.wrapException(A.MultiSpanSassScriptException$(t2, t3, t4));
38446 }
38447 identity = identityFromModule;
38448 value = valueInModule;
38449 }
38450 return value;
38451 }
38452 };
38453 A.AsyncEnvironment_importForwards_closure.prototype = {
38454 call$1(module) {
38455 var t1 = module.get$variables();
38456 return t1.get$keys(t1);
38457 },
38458 $signature: 129
38459 };
38460 A.AsyncEnvironment_importForwards_closure0.prototype = {
38461 call$1(module) {
38462 var t1 = module.get$functions(module);
38463 return t1.get$keys(t1);
38464 },
38465 $signature: 129
38466 };
38467 A.AsyncEnvironment_importForwards_closure1.prototype = {
38468 call$1(module) {
38469 var t1 = module.get$mixins();
38470 return t1.get$keys(t1);
38471 },
38472 $signature: 129
38473 };
38474 A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
38475 call$1(module) {
38476 return module.get$variables().$index(0, this.name);
38477 },
38478 $signature: 576
38479 };
38480 A.AsyncEnvironment_setVariable_closure.prototype = {
38481 call$0() {
38482 var t1 = this.$this;
38483 t1._async_environment$_lastVariableName = this.name;
38484 return t1._async_environment$_lastVariableIndex = 0;
38485 },
38486 $signature: 12
38487 };
38488 A.AsyncEnvironment_setVariable_closure0.prototype = {
38489 call$1(module) {
38490 return module.get$variables().containsKey$1(this.name) ? module : null;
38491 },
38492 $signature: 259
38493 };
38494 A.AsyncEnvironment_setVariable_closure1.prototype = {
38495 call$0() {
38496 var t1 = this.$this,
38497 t2 = t1._async_environment$_variableIndex$1(this.name);
38498 return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
38499 },
38500 $signature: 12
38501 };
38502 A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
38503 call$1(module) {
38504 return module.get$functions(module).$index(0, this.name);
38505 },
38506 $signature: 181
38507 };
38508 A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
38509 call$1(module) {
38510 return module.get$mixins().$index(0, this.name);
38511 },
38512 $signature: 181
38513 };
38514 A.AsyncEnvironment_toModule_closure.prototype = {
38515 call$1(modules) {
38516 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
38517 },
38518 $signature: 180
38519 };
38520 A.AsyncEnvironment_toDummyModule_closure.prototype = {
38521 call$1(modules) {
38522 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
38523 },
38524 $signature: 180
38525 };
38526 A.AsyncEnvironment__fromOneModule_closure.prototype = {
38527 call$1(entry) {
38528 return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure(entry, this.T));
38529 },
38530 $signature: 286
38531 };
38532 A.AsyncEnvironment__fromOneModule__closure.prototype = {
38533 call$1(_) {
38534 return J.get$span$z(this.entry.value);
38535 },
38536 $signature() {
38537 return this.T._eval$1("FileSpan(0)");
38538 }
38539 };
38540 A._EnvironmentModule0.prototype = {
38541 get$url(_) {
38542 var t1 = this.css;
38543 return t1.get$span(t1).file.url;
38544 },
38545 setVariable$3($name, value, nodeWithSpan) {
38546 var t1, t2,
38547 module = this._async_environment$_modulesByVariable.$index(0, $name);
38548 if (module != null) {
38549 module.setVariable$3($name, value, nodeWithSpan);
38550 return;
38551 }
38552 t1 = this._async_environment$_environment;
38553 t2 = t1._async_environment$_variables;
38554 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
38555 throw A.wrapException(A.SassScriptException$("Undefined variable."));
38556 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
38557 J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
38558 return;
38559 },
38560 variableIdentity$1($name) {
38561 var module = this._async_environment$_modulesByVariable.$index(0, $name);
38562 return module == null ? this : module.variableIdentity$1($name);
38563 },
38564 cloneCss$0() {
38565 var newCssAndExtensionStore, _this = this,
38566 t1 = _this.css;
38567 if (J.get$isEmpty$asx(t1.get$children(t1)))
38568 return _this;
38569 newCssAndExtensionStore = A.cloneCssStylesheet(t1, _this.extensionStore);
38570 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);
38571 },
38572 toString$0(_) {
38573 var t1 = this.css;
38574 if (t1.get$span(t1).file.url == null)
38575 t1 = "<unknown url>";
38576 else {
38577 t1 = t1.get$span(t1);
38578 t1 = $.$get$context().prettyUri$1(t1.file.url);
38579 }
38580 return t1;
38581 },
38582 $isModule: 1,
38583 get$upstream() {
38584 return this.upstream;
38585 },
38586 get$variables() {
38587 return this.variables;
38588 },
38589 get$variableNodes() {
38590 return this.variableNodes;
38591 },
38592 get$functions(receiver) {
38593 return this.functions;
38594 },
38595 get$mixins() {
38596 return this.mixins;
38597 },
38598 get$extensionStore() {
38599 return this.extensionStore;
38600 },
38601 get$css(receiver) {
38602 return this.css;
38603 },
38604 get$transitivelyContainsCss() {
38605 return this.transitivelyContainsCss;
38606 },
38607 get$transitivelyContainsExtensions() {
38608 return this.transitivelyContainsExtensions;
38609 }
38610 };
38611 A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
38612 call$1(module) {
38613 return module.get$variables();
38614 },
38615 $signature: 292
38616 };
38617 A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
38618 call$1(module) {
38619 return module.get$variableNodes();
38620 },
38621 $signature: 294
38622 };
38623 A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
38624 call$1(module) {
38625 return module.get$functions(module);
38626 },
38627 $signature: 257
38628 };
38629 A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
38630 call$1(module) {
38631 return module.get$mixins();
38632 },
38633 $signature: 257
38634 };
38635 A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
38636 call$1(module) {
38637 return module.get$transitivelyContainsCss();
38638 },
38639 $signature: 134
38640 };
38641 A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
38642 call$1(module) {
38643 return module.get$transitivelyContainsExtensions();
38644 },
38645 $signature: 134
38646 };
38647 A.AsyncImportCache.prototype = {
38648 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
38649 return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
38650 },
38651 canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
38652 var $async$goto = 0,
38653 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38654 $async$returnValue, $async$self = this, t1, relativeResult;
38655 var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38656 if ($async$errorCode === 1)
38657 return A._asyncRethrow($async$result, $async$completer);
38658 while (true)
38659 switch ($async$goto) {
38660 case 0:
38661 // Function start
38662 $async$goto = baseImporter != null ? 3 : 4;
38663 break;
38664 case 3:
38665 // then
38666 t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri;
38667 $async$goto = 5;
38668 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);
38669 case 5:
38670 // returning from await.
38671 relativeResult = $async$result;
38672 if (relativeResult != null) {
38673 $async$returnValue = relativeResult;
38674 // goto return
38675 $async$goto = 1;
38676 break;
38677 }
38678 case 4:
38679 // join
38680 t1 = type$.Tuple2_Uri_bool;
38681 $async$goto = 6;
38682 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);
38683 case 6:
38684 // returning from await.
38685 $async$returnValue = $async$result;
38686 // goto return
38687 $async$goto = 1;
38688 break;
38689 case 1:
38690 // return
38691 return A._asyncReturn($async$returnValue, $async$completer);
38692 }
38693 });
38694 return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
38695 },
38696 _async_import_cache$_canonicalize$3(importer, url, forImport) {
38697 return this._canonicalize$body$AsyncImportCache(importer, url, forImport);
38698 },
38699 _canonicalize$body$AsyncImportCache(importer, url, forImport) {
38700 var $async$goto = 0,
38701 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
38702 $async$returnValue, $async$self = this, t1, result;
38703 var $async$_async_import_cache$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38704 if ($async$errorCode === 1)
38705 return A._asyncRethrow($async$result, $async$completer);
38706 while (true)
38707 switch ($async$goto) {
38708 case 0:
38709 // Function start
38710 if (forImport) {
38711 t1 = type$.nullable_Object;
38712 t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
38713 } else
38714 t1 = importer.canonicalize$1(0, url);
38715 $async$goto = 3;
38716 return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$3);
38717 case 3:
38718 // returning from await.
38719 result = $async$result;
38720 if ((result == null ? null : result.get$scheme()) === "")
38721 $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);
38722 $async$returnValue = result;
38723 // goto return
38724 $async$goto = 1;
38725 break;
38726 case 1:
38727 // return
38728 return A._asyncReturn($async$returnValue, $async$completer);
38729 }
38730 });
38731 return A._asyncStartSync($async$_async_import_cache$_canonicalize$3, $async$completer);
38732 },
38733 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
38734 return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet);
38735 },
38736 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
38737 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
38738 },
38739 importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet) {
38740 var $async$goto = 0,
38741 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
38742 $async$returnValue, $async$self = this;
38743 var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38744 if ($async$errorCode === 1)
38745 return A._asyncRethrow($async$result, $async$completer);
38746 while (true)
38747 switch ($async$goto) {
38748 case 0:
38749 // Function start
38750 $async$goto = 3;
38751 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);
38752 case 3:
38753 // returning from await.
38754 $async$returnValue = $async$result;
38755 // goto return
38756 $async$goto = 1;
38757 break;
38758 case 1:
38759 // return
38760 return A._asyncReturn($async$returnValue, $async$completer);
38761 }
38762 });
38763 return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
38764 },
38765 humanize$1(canonicalUrl) {
38766 var t2, url,
38767 t1 = this._async_import_cache$_canonicalizeCache;
38768 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri);
38769 t2 = t1.$ti;
38770 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());
38771 if (url == null)
38772 return canonicalUrl;
38773 t1 = $.$get$url();
38774 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
38775 },
38776 sourceMapUrl$1(_, canonicalUrl) {
38777 var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
38778 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
38779 return t1 == null ? canonicalUrl : t1;
38780 }
38781 };
38782 A.AsyncImportCache_canonicalize_closure.prototype = {
38783 call$0() {
38784 var $async$goto = 0,
38785 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38786 $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
38787 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38788 if ($async$errorCode === 1)
38789 return A._asyncRethrow($async$result, $async$completer);
38790 while (true)
38791 switch ($async$goto) {
38792 case 0:
38793 // Function start
38794 t1 = $async$self.baseUrl;
38795 resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
38796 if (resolvedUrl == null)
38797 resolvedUrl = $async$self.url;
38798 t1 = $async$self.baseImporter;
38799 $async$goto = 3;
38800 return A._asyncAwait($async$self.$this._async_import_cache$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
38801 case 3:
38802 // returning from await.
38803 canonicalUrl = $async$result;
38804 if (canonicalUrl != null) {
38805 $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri);
38806 // goto return
38807 $async$goto = 1;
38808 break;
38809 }
38810 case 1:
38811 // return
38812 return A._asyncReturn($async$returnValue, $async$completer);
38813 }
38814 });
38815 return A._asyncStartSync($async$call$0, $async$completer);
38816 },
38817 $signature: 214
38818 };
38819 A.AsyncImportCache_canonicalize_closure0.prototype = {
38820 call$0() {
38821 var $async$goto = 0,
38822 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
38823 $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
38824 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38825 if ($async$errorCode === 1)
38826 return A._asyncRethrow($async$result, $async$completer);
38827 while (true)
38828 switch ($async$goto) {
38829 case 0:
38830 // Function start
38831 t1 = $async$self.$this, t2 = t1._async_import_cache$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
38832 case 3:
38833 // for condition
38834 if (!(_i < t2.length)) {
38835 // goto after for
38836 $async$goto = 5;
38837 break;
38838 }
38839 importer = t2[_i];
38840 $async$goto = 6;
38841 return A._asyncAwait(t1._async_import_cache$_canonicalize$3(importer, t4, t5), $async$call$0);
38842 case 6:
38843 // returning from await.
38844 canonicalUrl = $async$result;
38845 if (canonicalUrl != null) {
38846 $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri);
38847 // goto return
38848 $async$goto = 1;
38849 break;
38850 }
38851 case 4:
38852 // for update
38853 t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
38854 // goto for condition
38855 $async$goto = 3;
38856 break;
38857 case 5:
38858 // after for
38859 $async$returnValue = null;
38860 // goto return
38861 $async$goto = 1;
38862 break;
38863 case 1:
38864 // return
38865 return A._asyncReturn($async$returnValue, $async$completer);
38866 }
38867 });
38868 return A._asyncStartSync($async$call$0, $async$completer);
38869 },
38870 $signature: 214
38871 };
38872 A.AsyncImportCache__canonicalize_closure.prototype = {
38873 call$0() {
38874 return this.importer.canonicalize$1(0, this.url);
38875 },
38876 $signature: 172
38877 };
38878 A.AsyncImportCache_importCanonical_closure.prototype = {
38879 call$0() {
38880 var $async$goto = 0,
38881 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
38882 $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
38883 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38884 if ($async$errorCode === 1)
38885 return A._asyncRethrow($async$result, $async$completer);
38886 while (true)
38887 switch ($async$goto) {
38888 case 0:
38889 // Function start
38890 t1 = $async$self.canonicalUrl;
38891 $async$goto = 3;
38892 return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
38893 case 3:
38894 // returning from await.
38895 result = $async$result;
38896 if (result == null) {
38897 $async$returnValue = null;
38898 // goto return
38899 $async$goto = 1;
38900 break;
38901 }
38902 t2 = $async$self.$this;
38903 t2._async_import_cache$_resultsCache.$indexSet(0, t1, result);
38904 t3 = result.contents;
38905 t4 = result.syntax;
38906 t1 = $async$self.originalUrl.resolveUri$1(t1);
38907 $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t4, $async$self.quiet ? $.$get$Logger_quiet() : t2._async_import_cache$_logger, t1);
38908 // goto return
38909 $async$goto = 1;
38910 break;
38911 case 1:
38912 // return
38913 return A._asyncReturn($async$returnValue, $async$completer);
38914 }
38915 });
38916 return A._asyncStartSync($async$call$0, $async$completer);
38917 },
38918 $signature: 316
38919 };
38920 A.AsyncImportCache_humanize_closure.prototype = {
38921 call$1(tuple) {
38922 return tuple.item2.$eq(0, this.canonicalUrl);
38923 },
38924 $signature: 317
38925 };
38926 A.AsyncImportCache_humanize_closure0.prototype = {
38927 call$1(tuple) {
38928 return tuple.item3;
38929 },
38930 $signature: 319
38931 };
38932 A.AsyncImportCache_humanize_closure1.prototype = {
38933 call$1(url) {
38934 return url.get$path(url).length;
38935 },
38936 $signature: 74
38937 };
38938 A.AsyncBuiltInCallable.prototype = {
38939 callbackFor$2(positional, names) {
38940 return new A.Tuple2(this._async_built_in$_arguments, this._async_built_in$_callback, type$.Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value);
38941 },
38942 $isAsyncCallable: 1,
38943 get$name(receiver) {
38944 return this.name;
38945 }
38946 };
38947 A.AsyncBuiltInCallable$mixin_closure.prototype = {
38948 call$1($arguments) {
38949 return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
38950 },
38951 $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
38952 var $async$goto = 0,
38953 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
38954 $async$returnValue, $async$self = this;
38955 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
38956 if ($async$errorCode === 1)
38957 return A._asyncRethrow($async$result, $async$completer);
38958 while (true)
38959 switch ($async$goto) {
38960 case 0:
38961 // Function start
38962 $async$goto = 3;
38963 return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
38964 case 3:
38965 // returning from await.
38966 $async$returnValue = B.C__SassNull;
38967 // goto return
38968 $async$goto = 1;
38969 break;
38970 case 1:
38971 // return
38972 return A._asyncReturn($async$returnValue, $async$completer);
38973 }
38974 });
38975 return A._asyncStartSync($async$call$1, $async$completer);
38976 },
38977 $signature: 170
38978 };
38979 A.BuiltInCallable.prototype = {
38980 callbackFor$2(positional, names) {
38981 var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
38982 for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
38983 overload = t1[_i];
38984 t3 = overload.item1;
38985 if (t3.matches$2(positional, names))
38986 return overload;
38987 mismatchDistance = t3.$arguments.length - positional;
38988 if (minMismatchDistance != null) {
38989 t3 = Math.abs(mismatchDistance);
38990 t4 = Math.abs(minMismatchDistance);
38991 if (t3 > t4)
38992 continue;
38993 if (t3 === t4 && mismatchDistance < 0)
38994 continue;
38995 }
38996 minMismatchDistance = mismatchDistance;
38997 fuzzyMatch = overload;
38998 }
38999 if (fuzzyMatch != null)
39000 return fuzzyMatch;
39001 throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
39002 },
39003 withName$1($name) {
39004 return new A.BuiltInCallable($name, this._overloads);
39005 },
39006 $isCallable: 1,
39007 $isAsyncCallable: 1,
39008 $isAsyncBuiltInCallable: 1,
39009 get$name(receiver) {
39010 return this.name;
39011 }
39012 };
39013 A.BuiltInCallable$mixin_closure.prototype = {
39014 call$1($arguments) {
39015 this.callback.call$1($arguments);
39016 return B.C__SassNull;
39017 },
39018 $signature: 4
39019 };
39020 A.PlainCssCallable.prototype = {
39021 $eq(_, other) {
39022 if (other == null)
39023 return false;
39024 return other instanceof A.PlainCssCallable && this.name === other.name;
39025 },
39026 get$hashCode(_) {
39027 return B.JSString_methods.get$hashCode(this.name);
39028 },
39029 $isCallable: 1,
39030 $isAsyncCallable: 1,
39031 get$name(receiver) {
39032 return this.name;
39033 }
39034 };
39035 A.UserDefinedCallable.prototype = {
39036 get$name(_) {
39037 return this.declaration.name;
39038 },
39039 $isCallable: 1,
39040 $isAsyncCallable: 1
39041 };
39042 A._compileStylesheet_closure.prototype = {
39043 call$1(url) {
39044 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);
39045 },
39046 $signature: 5
39047 };
39048 A.CompileResult.prototype = {};
39049 A.Configuration.prototype = {
39050 throughForward$1($forward) {
39051 var prefix, shownVariables, hiddenVariables, t1,
39052 newValues = this._values;
39053 if (newValues.get$isEmpty(newValues))
39054 return B.Configuration_Map_empty;
39055 prefix = $forward.prefix;
39056 if (prefix != null)
39057 newValues = new A.UnprefixedMapView(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue);
39058 shownVariables = $forward.shownVariables;
39059 hiddenVariables = $forward.hiddenVariables;
39060 if (shownVariables != null)
39061 newValues = new A.LimitedMapView(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
39062 else {
39063 if (hiddenVariables != null) {
39064 t1 = hiddenVariables._base;
39065 t1 = t1.get$isNotEmpty(t1);
39066 } else
39067 t1 = false;
39068 if (t1)
39069 newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
39070 }
39071 return this._withValues$1(newValues);
39072 },
39073 _withValues$1(values) {
39074 return new A.Configuration(values);
39075 },
39076 toString$0(_) {
39077 var t1 = this._values;
39078 return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure(), type$.String).join$1(0, ", ") + ")";
39079 }
39080 };
39081 A.Configuration_toString_closure.prototype = {
39082 call$1(entry) {
39083 return "$" + A.S(entry.key) + ": " + A.S(entry.value);
39084 },
39085 $signature: 328
39086 };
39087 A.ExplicitConfiguration.prototype = {
39088 _withValues$1(values) {
39089 return new A.ExplicitConfiguration(this.nodeWithSpan, values);
39090 }
39091 };
39092 A.ConfiguredValue.prototype = {
39093 toString$0(_) {
39094 return A.serializeValue(this.value, true, true);
39095 }
39096 };
39097 A.Environment.prototype = {
39098 closure$0() {
39099 var t4, t5, t6, _this = this,
39100 t1 = _this._forwardedModules,
39101 t2 = _this._nestedForwardedModules,
39102 t3 = _this._variables;
39103 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
39104 t4 = _this._variableNodes;
39105 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
39106 t5 = _this._functions;
39107 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
39108 t6 = _this._mixins;
39109 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
39110 return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
39111 },
39112 addModule$3$namespace(module, nodeWithSpan, namespace) {
39113 var t1, t2, span, _this = this;
39114 if (namespace == null) {
39115 _this._globalModules.$indexSet(0, module, nodeWithSpan);
39116 _this._allModules.push(module);
39117 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._variables))); t1.moveNext$0();) {
39118 t2 = t1.get$current(t1);
39119 if (module.get$variables().containsKey$1(t2))
39120 throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".'));
39121 }
39122 } else {
39123 t1 = _this._environment$_modules;
39124 if (t1.containsKey$1(namespace)) {
39125 t1 = _this._namespaceNodes.$index(0, namespace);
39126 span = t1 == null ? null : t1.span;
39127 t1 = string$.There_ + namespace + '".';
39128 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39129 if (span != null)
39130 t2.$indexSet(0, span, "original @use");
39131 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @use", t2));
39132 }
39133 t1.$indexSet(0, namespace, module);
39134 _this._namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
39135 _this._allModules.push(module);
39136 }
39137 },
39138 forwardModule$2(module, rule) {
39139 var view, t1, t2, _this = this,
39140 forwardedModules = _this._forwardedModules;
39141 if (forwardedModules == null)
39142 forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39143 view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
39144 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
39145 t2 = t1.get$current(t1);
39146 _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
39147 _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
39148 _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
39149 }
39150 _this._allModules.push(module);
39151 forwardedModules.$indexSet(0, view, rule);
39152 },
39153 _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
39154 var larger, smaller, t1, t2, $name, span;
39155 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
39156 larger = oldMembers;
39157 smaller = newMembers;
39158 } else {
39159 larger = newMembers;
39160 smaller = oldMembers;
39161 }
39162 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
39163 $name = t1.get$current(t1);
39164 if (!larger.containsKey$1($name))
39165 continue;
39166 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
39167 continue;
39168 if (t2)
39169 $name = "$" + $name;
39170 t1 = this._forwardedModules;
39171 if (t1 == null)
39172 span = null;
39173 else {
39174 t1 = t1.$index(0, oldModule);
39175 span = t1 == null ? null : J.get$span$z(t1);
39176 }
39177 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
39178 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39179 if (span != null)
39180 t2.$indexSet(0, span, "original @forward");
39181 throw A.wrapException(A.MultiSpanSassScriptException$(t1, "new @forward", t2));
39182 }
39183 },
39184 importForwards$1(module) {
39185 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
39186 forwarded = module._environment$_environment._forwardedModules;
39187 if (forwarded == null)
39188 return;
39189 forwardedModules = _this._forwardedModules;
39190 if (forwardedModules != null) {
39191 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39192 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._globalModules; t2.moveNext$0();) {
39193 t4 = t2.get$current(t2);
39194 t5 = t4.key;
39195 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
39196 t1.$indexSet(0, t5, t4.value);
39197 }
39198 forwarded = t1;
39199 } else
39200 forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
39201 t1 = forwarded.get$keys(forwarded);
39202 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
39203 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure(), t2), t2._eval$1("Iterable.E"));
39204 t2 = forwarded.get$keys(forwarded);
39205 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
39206 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.Environment_importForwards_closure0(), t1), t1._eval$1("Iterable.E"));
39207 t1 = forwarded.get$keys(forwarded);
39208 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
39209 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure1(), t2), t2._eval$1("Iterable.E"));
39210 t1 = _this._variables;
39211 t2 = t1.length;
39212 if (t2 === 1) {
39213 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) {
39214 entry = t3[_i];
39215 module = entry.key;
39216 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
39217 if (shadowed != null) {
39218 t2.remove$1(0, module);
39219 t6 = shadowed.variables;
39220 if (t6.get$isEmpty(t6)) {
39221 t6 = shadowed.functions;
39222 if (t6.get$isEmpty(t6)) {
39223 t6 = shadowed.mixins;
39224 if (t6.get$isEmpty(t6)) {
39225 t6 = shadowed._shadowed_view$_inner;
39226 t6 = t6.get$css(t6);
39227 t6 = J.get$isEmpty$asx(t6.get$children(t6));
39228 } else
39229 t6 = false;
39230 } else
39231 t6 = false;
39232 } else
39233 t6 = false;
39234 if (!t6)
39235 t2.$indexSet(0, shadowed, entry.value);
39236 }
39237 }
39238 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) {
39239 entry = t3[_i];
39240 module = entry.key;
39241 shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
39242 if (shadowed != null) {
39243 forwardedModules.remove$1(0, module);
39244 t6 = shadowed.variables;
39245 if (t6.get$isEmpty(t6)) {
39246 t6 = shadowed.functions;
39247 if (t6.get$isEmpty(t6)) {
39248 t6 = shadowed.mixins;
39249 if (t6.get$isEmpty(t6)) {
39250 t6 = shadowed._shadowed_view$_inner;
39251 t6 = t6.get$css(t6);
39252 t6 = J.get$isEmpty$asx(t6.get$children(t6));
39253 } else
39254 t6 = false;
39255 } else
39256 t6 = false;
39257 } else
39258 t6 = false;
39259 if (!t6)
39260 forwardedModules.$indexSet(0, shadowed, entry.value);
39261 }
39262 }
39263 t2.addAll$1(0, forwarded);
39264 forwardedModules.addAll$1(0, forwarded);
39265 } else {
39266 t3 = _this._nestedForwardedModules;
39267 if (t3 == null) {
39268 _length = t2 - 1;
39269 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
39270 for (t2 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
39271 _list[_i] = A._setArrayType([], t2);
39272 _this._nestedForwardedModules = _list;
39273 t2 = _list;
39274 } else
39275 t2 = t3;
39276 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
39277 }
39278 for (t2 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = A._instanceType(t2)._precomputed1, t4 = _this._variableIndices, t5 = _this._variableNodes; t2.moveNext$0();) {
39279 t6 = t3._as(t2._collection$_current);
39280 t4.remove$1(0, t6);
39281 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
39282 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
39283 }
39284 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._functionIndices, t4 = _this._functions; t1.moveNext$0();) {
39285 t5 = t2._as(t1._collection$_current);
39286 t3.remove$1(0, t5);
39287 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
39288 }
39289 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._mixinIndices, t4 = _this._mixins; t1.moveNext$0();) {
39290 t5 = t2._as(t1._collection$_current);
39291 t3.remove$1(0, t5);
39292 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
39293 }
39294 },
39295 getVariable$2$namespace($name, namespace) {
39296 var t1, index, _this = this;
39297 if (namespace != null)
39298 return _this._getModule$1(namespace).get$variables().$index(0, $name);
39299 if (_this._lastVariableName === $name) {
39300 t1 = _this._lastVariableIndex;
39301 t1.toString;
39302 t1 = J.$index$asx(_this._variables[t1], $name);
39303 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39304 }
39305 t1 = _this._variableIndices;
39306 index = t1.$index(0, $name);
39307 if (index != null) {
39308 _this._lastVariableName = $name;
39309 _this._lastVariableIndex = index;
39310 t1 = J.$index$asx(_this._variables[index], $name);
39311 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39312 }
39313 index = _this._variableIndex$1($name);
39314 if (index == null)
39315 return _this._getVariableFromGlobalModule$1($name);
39316 _this._lastVariableName = $name;
39317 _this._lastVariableIndex = index;
39318 t1.$indexSet(0, $name, index);
39319 t1 = J.$index$asx(_this._variables[index], $name);
39320 return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
39321 },
39322 getVariable$1($name) {
39323 return this.getVariable$2$namespace($name, null);
39324 },
39325 _getVariableFromGlobalModule$1($name) {
39326 return this._fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name), type$.Value);
39327 },
39328 getVariableNode$2$namespace($name, namespace) {
39329 var t1, index, _this = this;
39330 if (namespace != null)
39331 return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
39332 if (_this._lastVariableName === $name) {
39333 t1 = _this._lastVariableIndex;
39334 t1.toString;
39335 t1 = J.$index$asx(_this._variableNodes[t1], $name);
39336 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39337 }
39338 t1 = _this._variableIndices;
39339 index = t1.$index(0, $name);
39340 if (index != null) {
39341 _this._lastVariableName = $name;
39342 _this._lastVariableIndex = index;
39343 t1 = J.$index$asx(_this._variableNodes[index], $name);
39344 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39345 }
39346 index = _this._variableIndex$1($name);
39347 if (index == null)
39348 return _this._getVariableNodeFromGlobalModule$1($name);
39349 _this._lastVariableName = $name;
39350 _this._lastVariableIndex = index;
39351 t1.$indexSet(0, $name, index);
39352 t1 = J.$index$asx(_this._variableNodes[index], $name);
39353 return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
39354 },
39355 _getVariableNodeFromGlobalModule$1($name) {
39356 var t1, t2, value;
39357 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();) {
39358 t1 = t2._currentIterator;
39359 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
39360 if (value != null)
39361 return value;
39362 }
39363 return null;
39364 },
39365 globalVariableExists$2$namespace($name, namespace) {
39366 if (namespace != null)
39367 return this._getModule$1(namespace).get$variables().containsKey$1($name);
39368 if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
39369 return true;
39370 return this._getVariableFromGlobalModule$1($name) != null;
39371 },
39372 globalVariableExists$1($name) {
39373 return this.globalVariableExists$2$namespace($name, null);
39374 },
39375 _variableIndex$1($name) {
39376 var t1, i;
39377 for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
39378 if (t1[i].containsKey$1($name))
39379 return i;
39380 return null;
39381 },
39382 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
39383 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
39384 if (namespace != null) {
39385 _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
39386 return;
39387 }
39388 if (global || _this._variables.length === 1) {
39389 _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
39390 t1 = _this._variables;
39391 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
39392 moduleWithName = _this._fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure0($name), type$.Module_Callable);
39393 if (moduleWithName != null) {
39394 moduleWithName.setVariable$3($name, value, nodeWithSpan);
39395 return;
39396 }
39397 }
39398 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
39399 J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
39400 return;
39401 }
39402 nestedForwardedModules = _this._nestedForwardedModules;
39403 if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
39404 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();)
39405 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();) {
39406 t5 = t4._as(t3.__internal$_current);
39407 if (t5.get$variables().containsKey$1($name)) {
39408 t5.setVariable$3($name, value, nodeWithSpan);
39409 return;
39410 }
39411 }
39412 if (_this._lastVariableName === $name) {
39413 t1 = _this._lastVariableIndex;
39414 t1.toString;
39415 index = t1;
39416 } else
39417 index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
39418 if (!_this._inSemiGlobalScope && index === 0) {
39419 index = _this._variables.length - 1;
39420 _this._variableIndices.$indexSet(0, $name, index);
39421 }
39422 _this._lastVariableName = $name;
39423 _this._lastVariableIndex = index;
39424 J.$indexSet$ax(_this._variables[index], $name, value);
39425 J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
39426 },
39427 setVariable$4$global($name, value, nodeWithSpan, global) {
39428 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
39429 },
39430 setLocalVariable$3($name, value, nodeWithSpan) {
39431 var index, _this = this,
39432 t1 = _this._variables,
39433 t2 = t1.length;
39434 _this._lastVariableName = $name;
39435 index = _this._lastVariableIndex = t2 - 1;
39436 _this._variableIndices.$indexSet(0, $name, index);
39437 J.$indexSet$ax(t1[index], $name, value);
39438 J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
39439 },
39440 getFunction$2$namespace($name, namespace) {
39441 var t1, index, _this = this;
39442 if (namespace != null) {
39443 t1 = _this._getModule$1(namespace);
39444 return t1.get$functions(t1).$index(0, $name);
39445 }
39446 t1 = _this._functionIndices;
39447 index = t1.$index(0, $name);
39448 if (index != null) {
39449 t1 = J.$index$asx(_this._functions[index], $name);
39450 return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
39451 }
39452 index = _this._functionIndex$1($name);
39453 if (index == null)
39454 return _this._getFunctionFromGlobalModule$1($name);
39455 t1.$indexSet(0, $name, index);
39456 t1 = J.$index$asx(_this._functions[index], $name);
39457 return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
39458 },
39459 _getFunctionFromGlobalModule$1($name) {
39460 return this._fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name), type$.Callable);
39461 },
39462 _functionIndex$1($name) {
39463 var t1, i;
39464 for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
39465 if (t1[i].containsKey$1($name))
39466 return i;
39467 return null;
39468 },
39469 getMixin$2$namespace($name, namespace) {
39470 var t1, index, _this = this;
39471 if (namespace != null)
39472 return _this._getModule$1(namespace).get$mixins().$index(0, $name);
39473 t1 = _this._mixinIndices;
39474 index = t1.$index(0, $name);
39475 if (index != null) {
39476 t1 = J.$index$asx(_this._mixins[index], $name);
39477 return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
39478 }
39479 index = _this._mixinIndex$1($name);
39480 if (index == null)
39481 return _this._getMixinFromGlobalModule$1($name);
39482 t1.$indexSet(0, $name, index);
39483 t1 = J.$index$asx(_this._mixins[index], $name);
39484 return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
39485 },
39486 _getMixinFromGlobalModule$1($name) {
39487 return this._fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name), type$.Callable);
39488 },
39489 _mixinIndex$1($name) {
39490 var t1, i;
39491 for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
39492 if (t1[i].containsKey$1($name))
39493 return i;
39494 return null;
39495 },
39496 scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
39497 var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, _this = this;
39498 semiGlobal = semiGlobal && _this._inSemiGlobalScope;
39499 wasInSemiGlobalScope = _this._inSemiGlobalScope;
39500 _this._inSemiGlobalScope = semiGlobal;
39501 if (!when)
39502 try {
39503 t1 = callback.call$0();
39504 return t1;
39505 } finally {
39506 _this._inSemiGlobalScope = wasInSemiGlobalScope;
39507 }
39508 t1 = _this._variables;
39509 t2 = type$.String;
39510 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
39511 B.JSArray_methods.add$1(_this._variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
39512 t3 = _this._functions;
39513 t4 = type$.Callable;
39514 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
39515 t5 = _this._mixins;
39516 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
39517 t4 = _this._nestedForwardedModules;
39518 if (t4 != null)
39519 t4.push(A._setArrayType([], type$.JSArray_Module_Callable));
39520 try {
39521 t2 = callback.call$0();
39522 return t2;
39523 } finally {
39524 _this._inSemiGlobalScope = wasInSemiGlobalScope;
39525 _this._lastVariableIndex = _this._lastVariableName = null;
39526 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
39527 $name = t1.get$current(t1);
39528 t2.remove$1(0, $name);
39529 }
39530 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t3))), t2 = _this._functionIndices; t1.moveNext$0();) {
39531 name0 = t1.get$current(t1);
39532 t2.remove$1(0, name0);
39533 }
39534 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t5))), t2 = _this._mixinIndices; t1.moveNext$0();) {
39535 name1 = t1.get$current(t1);
39536 t2.remove$1(0, name1);
39537 }
39538 t1 = _this._nestedForwardedModules;
39539 if (t1 != null)
39540 t1.pop();
39541 }
39542 },
39543 scope$1$1(callback, $T) {
39544 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
39545 },
39546 scope$1$2$when(callback, when, $T) {
39547 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
39548 },
39549 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
39550 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
39551 },
39552 toImplicitConfiguration$0() {
39553 var t1, t2, i, values, nodes, t3, t4, t5, t6,
39554 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
39555 for (t1 = this._variables, t2 = this._variableNodes, i = 0; i < t1.length; ++i) {
39556 values = t1[i];
39557 nodes = t2[i];
39558 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
39559 t4 = t3.get$current(t3);
39560 t5 = t4.key;
39561 t4 = t4.value;
39562 t6 = nodes.$index(0, t5);
39563 t6.toString;
39564 configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
39565 }
39566 }
39567 return new A.Configuration(configuration);
39568 },
39569 toModule$2(css, extensionStore) {
39570 return A._EnvironmentModule__EnvironmentModule(this, css, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
39571 },
39572 toDummyModule$0() {
39573 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()));
39574 },
39575 _getModule$1(namespace) {
39576 var module = this._environment$_modules.$index(0, namespace);
39577 if (module != null)
39578 return module;
39579 throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".'));
39580 },
39581 _fromOneModule$1$3($name, type, callback, $T) {
39582 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
39583 nestedForwardedModules = this._nestedForwardedModules;
39584 if (nestedForwardedModules != null)
39585 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();)
39586 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();) {
39587 value = callback.call$1(t4._as(t3.__internal$_current));
39588 if (value != null)
39589 return value;
39590 }
39591 for (t1 = this._importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
39592 value = callback.call$1(t1.get$current(t1));
39593 if (value != null)
39594 return value;
39595 }
39596 for (t1 = this._globalModules, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
39597 t4 = t2.get$current(t2);
39598 valueInModule = callback.call$1(t4);
39599 if (valueInModule == null)
39600 continue;
39601 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
39602 if (identityFromModule.$eq(0, identity))
39603 continue;
39604 if (value != null) {
39605 spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
39606 t2 = "This " + type + string$.x20is_av;
39607 t3 = type + " use";
39608 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
39609 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
39610 t5 = t1.get$current(t1);
39611 if (t5 != null)
39612 t4.$indexSet(0, t5, "includes " + type);
39613 }
39614 throw A.wrapException(A.MultiSpanSassScriptException$(t2, t3, t4));
39615 }
39616 identity = identityFromModule;
39617 value = valueInModule;
39618 }
39619 return value;
39620 }
39621 };
39622 A.Environment_importForwards_closure.prototype = {
39623 call$1(module) {
39624 var t1 = module.get$variables();
39625 return t1.get$keys(t1);
39626 },
39627 $signature: 135
39628 };
39629 A.Environment_importForwards_closure0.prototype = {
39630 call$1(module) {
39631 var t1 = module.get$functions(module);
39632 return t1.get$keys(t1);
39633 },
39634 $signature: 135
39635 };
39636 A.Environment_importForwards_closure1.prototype = {
39637 call$1(module) {
39638 var t1 = module.get$mixins();
39639 return t1.get$keys(t1);
39640 },
39641 $signature: 135
39642 };
39643 A.Environment__getVariableFromGlobalModule_closure.prototype = {
39644 call$1(module) {
39645 return module.get$variables().$index(0, this.name);
39646 },
39647 $signature: 330
39648 };
39649 A.Environment_setVariable_closure.prototype = {
39650 call$0() {
39651 var t1 = this.$this;
39652 t1._lastVariableName = this.name;
39653 return t1._lastVariableIndex = 0;
39654 },
39655 $signature: 12
39656 };
39657 A.Environment_setVariable_closure0.prototype = {
39658 call$1(module) {
39659 return module.get$variables().containsKey$1(this.name) ? module : null;
39660 },
39661 $signature: 332
39662 };
39663 A.Environment_setVariable_closure1.prototype = {
39664 call$0() {
39665 var t1 = this.$this,
39666 t2 = t1._variableIndex$1(this.name);
39667 return t2 == null ? t1._variables.length - 1 : t2;
39668 },
39669 $signature: 12
39670 };
39671 A.Environment__getFunctionFromGlobalModule_closure.prototype = {
39672 call$1(module) {
39673 return module.get$functions(module).$index(0, this.name);
39674 },
39675 $signature: 165
39676 };
39677 A.Environment__getMixinFromGlobalModule_closure.prototype = {
39678 call$1(module) {
39679 return module.get$mixins().$index(0, this.name);
39680 },
39681 $signature: 165
39682 };
39683 A.Environment_toModule_closure.prototype = {
39684 call$1(modules) {
39685 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
39686 },
39687 $signature: 164
39688 };
39689 A.Environment_toDummyModule_closure.prototype = {
39690 call$1(modules) {
39691 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
39692 },
39693 $signature: 164
39694 };
39695 A.Environment__fromOneModule_closure.prototype = {
39696 call$1(entry) {
39697 return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure(entry, this.T));
39698 },
39699 $signature: 336
39700 };
39701 A.Environment__fromOneModule__closure.prototype = {
39702 call$1(_) {
39703 return J.get$span$z(this.entry.value);
39704 },
39705 $signature() {
39706 return this.T._eval$1("FileSpan(0)");
39707 }
39708 };
39709 A._EnvironmentModule.prototype = {
39710 get$url(_) {
39711 var t1 = this.css;
39712 return t1.get$span(t1).file.url;
39713 },
39714 setVariable$3($name, value, nodeWithSpan) {
39715 var t1, t2,
39716 module = this._modulesByVariable.$index(0, $name);
39717 if (module != null) {
39718 module.setVariable$3($name, value, nodeWithSpan);
39719 return;
39720 }
39721 t1 = this._environment$_environment;
39722 t2 = t1._variables;
39723 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
39724 throw A.wrapException(A.SassScriptException$("Undefined variable."));
39725 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
39726 J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
39727 return;
39728 },
39729 variableIdentity$1($name) {
39730 var module = this._modulesByVariable.$index(0, $name);
39731 return module == null ? this : module.variableIdentity$1($name);
39732 },
39733 cloneCss$0() {
39734 var newCssAndExtensionStore, _this = this,
39735 t1 = _this.css;
39736 if (J.get$isEmpty$asx(t1.get$children(t1)))
39737 return _this;
39738 newCssAndExtensionStore = A.cloneCssStylesheet(t1, _this.extensionStore);
39739 return A._EnvironmentModule$_(_this._environment$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.transitivelyContainsCss, _this.transitivelyContainsExtensions);
39740 },
39741 toString$0(_) {
39742 var t1 = this.css;
39743 if (t1.get$span(t1).file.url == null)
39744 t1 = "<unknown url>";
39745 else {
39746 t1 = t1.get$span(t1);
39747 t1 = $.$get$context().prettyUri$1(t1.file.url);
39748 }
39749 return t1;
39750 },
39751 $isModule: 1,
39752 get$upstream() {
39753 return this.upstream;
39754 },
39755 get$variables() {
39756 return this.variables;
39757 },
39758 get$variableNodes() {
39759 return this.variableNodes;
39760 },
39761 get$functions(receiver) {
39762 return this.functions;
39763 },
39764 get$mixins() {
39765 return this.mixins;
39766 },
39767 get$extensionStore() {
39768 return this.extensionStore;
39769 },
39770 get$css(receiver) {
39771 return this.css;
39772 },
39773 get$transitivelyContainsCss() {
39774 return this.transitivelyContainsCss;
39775 },
39776 get$transitivelyContainsExtensions() {
39777 return this.transitivelyContainsExtensions;
39778 }
39779 };
39780 A._EnvironmentModule__EnvironmentModule_closure.prototype = {
39781 call$1(module) {
39782 return module.get$variables();
39783 },
39784 $signature: 338
39785 };
39786 A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
39787 call$1(module) {
39788 return module.get$variableNodes();
39789 },
39790 $signature: 339
39791 };
39792 A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
39793 call$1(module) {
39794 return module.get$functions(module);
39795 },
39796 $signature: 162
39797 };
39798 A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
39799 call$1(module) {
39800 return module.get$mixins();
39801 },
39802 $signature: 162
39803 };
39804 A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
39805 call$1(module) {
39806 return module.get$transitivelyContainsCss();
39807 },
39808 $signature: 139
39809 };
39810 A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
39811 call$1(module) {
39812 return module.get$transitivelyContainsExtensions();
39813 },
39814 $signature: 139
39815 };
39816 A.SassException.prototype = {
39817 get$trace(_) {
39818 return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
39819 },
39820 get$span(_) {
39821 return A.SourceSpanException.prototype.get$span.call(this, this);
39822 },
39823 toString$1$color(_, color) {
39824 var t2, _i, frame, t3, _this = this,
39825 buffer = new A.StringBuffer(""),
39826 t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
39827 buffer._contents = t1;
39828 buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
39829 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
39830 frame = t1[_i];
39831 if (J.get$length$asx(frame) === 0)
39832 continue;
39833 t3 = buffer._contents += "\n";
39834 buffer._contents = t3 + (" " + A.S(frame));
39835 }
39836 t1 = buffer._contents;
39837 return t1.charCodeAt(0) == 0 ? t1 : t1;
39838 },
39839 toString$0($receiver) {
39840 return this.toString$1$color($receiver, null);
39841 },
39842 toCssString$0() {
39843 var commentMessage, stringMessage, rune,
39844 t1 = $._glyphs,
39845 t2 = $._glyphs = B.C_AsciiGlyphSet,
39846 t3 = this.toString$1$color(0, false);
39847 t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
39848 commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
39849 $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
39850 stringMessage = new A.StringBuffer("");
39851 for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
39852 rune = t1._currentCodePoint;
39853 t2 = stringMessage._contents;
39854 if (rune > 255) {
39855 stringMessage._contents = t2 + A.Primitives_stringFromCharCode(92);
39856 t2 = stringMessage._contents += B.JSInt_methods.toRadixString$1(rune, 16);
39857 t2 = stringMessage._contents = t2 + A.Primitives_stringFromCharCode(32);
39858 } else
39859 t2 = stringMessage._contents = t2 + A.Primitives_stringFromCharCode(rune);
39860 }
39861 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}";
39862 }
39863 };
39864 A.MultiSpanSassException.prototype = {
39865 toString$1$color(_, color) {
39866 var t1, t2, _i, frame, _this = this,
39867 useColor = color === true && true,
39868 buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
39869 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));
39870 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
39871 frame = t1[_i];
39872 if (J.get$length$asx(frame) === 0)
39873 continue;
39874 buffer._contents += "\n";
39875 buffer._contents += " " + A.S(frame);
39876 }
39877 t1 = buffer._contents;
39878 return t1.charCodeAt(0) == 0 ? t1 : t1;
39879 },
39880 toString$0($receiver) {
39881 return this.toString$1$color($receiver, null);
39882 }
39883 };
39884 A.SassRuntimeException.prototype = {
39885 get$trace(receiver) {
39886 return this.trace;
39887 }
39888 };
39889 A.MultiSpanSassRuntimeException.prototype = {$isSassRuntimeException: 1,
39890 get$trace(receiver) {
39891 return this.trace;
39892 }
39893 };
39894 A.SassFormatException.prototype = {
39895 get$source() {
39896 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(this, this).file._decodedChars, 0, null), 0, null);
39897 },
39898 $isFormatException: 1,
39899 $isSourceSpanFormatException: 1
39900 };
39901 A.SassScriptException.prototype = {
39902 toString$0(_) {
39903 return this.message + string$.x0a_BUG_;
39904 },
39905 get$message(receiver) {
39906 return this.message;
39907 }
39908 };
39909 A.MultiSpanSassScriptException.prototype = {};
39910 A._writeSourceMap_closure.prototype = {
39911 call$1(url) {
39912 return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
39913 },
39914 $signature: 5
39915 };
39916 A.ExecutableOptions.prototype = {
39917 get$interactive() {
39918 var result, _this = this,
39919 value = _this.__ExecutableOptions_interactive;
39920 if (value === $) {
39921 result = new A.ExecutableOptions_interactive_closure(_this).call$0();
39922 A._lateInitializeOnceCheck(_this.__ExecutableOptions_interactive, "interactive");
39923 _this.__ExecutableOptions_interactive = result;
39924 value = result;
39925 }
39926 return value;
39927 },
39928 get$color() {
39929 var t1 = this._options;
39930 return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
39931 },
39932 get$emitErrorCss() {
39933 var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
39934 if (t1 == null) {
39935 this._ensureSources$0();
39936 t1 = this._sourcesToDestinations;
39937 t1 = t1.get$values(t1).any$1(0, new A.ExecutableOptions_emitErrorCss_closure());
39938 }
39939 return t1;
39940 },
39941 _ensureSources$0() {
39942 var t1, stdin, t2, t3, $directories, t4, t5, colonArgs, positionalArgs, t6, t7, t8, message, target, source, destination, seen, sourceAndDestination, _this = this, _null = null,
39943 _s32_ = "_sourceDirectoriesToDestinations",
39944 _s18_ = 'Duplicate source "';
39945 if (_this._sourcesToDestinations != null)
39946 return;
39947 t1 = _this._options;
39948 stdin = A._asBool(t1.$index(0, "stdin"));
39949 t2 = t1.rest;
39950 if (t2.get$length(t2) === 0 && !stdin)
39951 A.ExecutableOptions__fail("Compile Sass to CSS.");
39952 t3 = type$.String;
39953 $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
39954 for (t4 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t4)._precomputed1, colonArgs = false, positionalArgs = false; t4.moveNext$0();) {
39955 t6 = t5._as(t4.__internal$_current);
39956 t7 = t6.length;
39957 if (t7 === 0)
39958 A.ExecutableOptions__fail('Invalid argument "".');
39959 if (A.stringContainsUnchecked(t6, ":", 0)) {
39960 if (t7 > 2) {
39961 t8 = B.JSString_methods._codeUnitAt$1(t6, 0);
39962 if (!(t8 >= 97 && t8 <= 122))
39963 t8 = t8 >= 65 && t8 <= 90;
39964 else
39965 t8 = true;
39966 t8 = t8 && B.JSString_methods._codeUnitAt$1(t6, 1) === 58;
39967 } else
39968 t8 = false;
39969 if (t8) {
39970 if (2 > t7)
39971 A.throwExpression(A.RangeError$range(2, 0, t7, _null, _null));
39972 t7 = A.stringContainsUnchecked(t6, ":", 2);
39973 } else
39974 t7 = true;
39975 } else
39976 t7 = false;
39977 if (t7)
39978 colonArgs = true;
39979 else if (A.dirExists(t6))
39980 $directories.add$1(0, t6);
39981 else
39982 positionalArgs = true;
39983 }
39984 if (positionalArgs || t2.get$length(t2) === 0) {
39985 if (colonArgs)
39986 A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
39987 else if (stdin) {
39988 if (J.get$length$asx(t2._collection$_source) > 1)
39989 A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
39990 else if (A._asBool(t1.$index(0, "update")))
39991 A.ExecutableOptions__fail("--update is not allowed with --stdin.");
39992 else if (A._asBool(t1.$index(0, "watch")))
39993 A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
39994 t1 = t2.get$length(t2) === 0 ? _null : t2.get$first(t2);
39995 t2 = type$.dynamic;
39996 t3 = type$.nullable_String;
39997 _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
39998 } else {
39999 t3 = t2._collection$_source;
40000 t4 = J.getInterceptor$asx(t3);
40001 if (t4.get$length(t3) > 2)
40002 A.ExecutableOptions__fail("Only two positional args may be passed.");
40003 else if ($directories._collection$_length !== 0) {
40004 message = 'Directory "' + A.S($directories.get$first($directories)) + '" may not be a positional arg.';
40005 target = t2.get$last(t2);
40006 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);
40007 } else {
40008 source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
40009 destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
40010 if (destination == null)
40011 if (A._asBool(t1.$index(0, "update")))
40012 A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
40013 else if (A._asBool(t1.$index(0, "watch")))
40014 A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
40015 t1 = A.PathMap__create(_null, type$.nullable_String);
40016 t1.$indexSet(0, source, destination);
40017 _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
40018 }
40019 }
40020 A._lateWriteOnceCheck(_this.__ExecutableOptions__sourceDirectoriesToDestinations, _s32_);
40021 _this.__ExecutableOptions__sourceDirectoriesToDestinations = B.Map_empty5;
40022 return;
40023 }
40024 if (stdin)
40025 A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
40026 seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
40027 t1 = A.PathMap__create(_null, t3);
40028 t4 = type$.PathMap_String;
40029 t3 = A.PathMap__create(_null, t3);
40030 for (t2 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
40031 t6 = t5._as(t2.__internal$_current);
40032 if ($directories.contains$1(0, t6)) {
40033 if (!seen.add$1(0, t6))
40034 A.ExecutableOptions__fail(_s18_ + t6 + '".');
40035 t3.$indexSet(0, t6, t6);
40036 t1.addAll$1(0, _this._listSourceDirectory$2(t6, t6));
40037 continue;
40038 }
40039 sourceAndDestination = _this._splitSourceAndDestination$1(t6);
40040 source = sourceAndDestination.item1;
40041 destination = sourceAndDestination.item2;
40042 if (!seen.add$1(0, source))
40043 A.ExecutableOptions__fail(_s18_ + source + '".');
40044 if (source === "-")
40045 t1.$indexSet(0, _null, destination);
40046 else if (A.dirExists(source)) {
40047 t3.$indexSet(0, source, destination);
40048 t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
40049 } else
40050 t1.$indexSet(0, source, destination);
40051 }
40052 _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t4), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
40053 A._lateWriteOnceCheck(_this.__ExecutableOptions__sourceDirectoriesToDestinations, _s32_);
40054 _this.__ExecutableOptions__sourceDirectoriesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t3, t4), type$.UnmodifiableMapView_of_nullable_String_and_String);
40055 },
40056 _splitSourceAndDestination$1(argument) {
40057 var t1, i, t2, t3, nextColon;
40058 for (t1 = argument.length, i = 0; i < t1; ++i) {
40059 if (i === 1) {
40060 t2 = i - 1;
40061 if (t1 > t2 + 2) {
40062 t3 = B.JSString_methods.codeUnitAt$1(argument, t2);
40063 if (!(t3 >= 97 && t3 <= 122))
40064 t3 = t3 >= 65 && t3 <= 90;
40065 else
40066 t3 = true;
40067 t2 = t3 && B.JSString_methods.codeUnitAt$1(argument, t2 + 1) === 58;
40068 } else
40069 t2 = false;
40070 } else
40071 t2 = false;
40072 if (t2)
40073 continue;
40074 if (B.JSString_methods._codeUnitAt$1(argument, i) === 58) {
40075 t2 = i + 1;
40076 nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
40077 if (nextColon === i + 2)
40078 if (t1 > t2 + 2) {
40079 t1 = B.JSString_methods._codeUnitAt$1(argument, t2);
40080 if (!(t1 >= 97 && t1 <= 122))
40081 t1 = t1 >= 65 && t1 <= 90;
40082 else
40083 t1 = true;
40084 t1 = t1 && B.JSString_methods._codeUnitAt$1(argument, t2 + 1) === 58;
40085 } else
40086 t1 = false;
40087 else
40088 t1 = false;
40089 if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
40090 A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
40091 return new A.Tuple2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2), type$.Tuple2_String_String);
40092 }
40093 }
40094 throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
40095 },
40096 _listSourceDirectory$2(source, destination) {
40097 var t2, t3, t4, t5, t6, t7, parts,
40098 t1 = type$.String;
40099 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
40100 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();) {
40101 t6 = t2.get$current(t2);
40102 if (this._isEntrypoint$1(t6))
40103 t7 = !(t3 && A.ParsedPath_ParsedPath$parse(t6, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
40104 else
40105 t7 = false;
40106 if (t7) {
40107 t7 = $.$get$context();
40108 parts = A._setArrayType([destination, t7.withoutExtension$1(t7.relative$2$from(t6, source)) + ".css", null, null, null, null, null, null], t4);
40109 A._validateArgList("join", parts);
40110 t1.$indexSet(0, t6, t7.joinAll$1(new A.WhereTypeIterable(parts, t5)));
40111 }
40112 }
40113 return t1;
40114 },
40115 _isEntrypoint$1(path) {
40116 var extension,
40117 t1 = $.$get$context().style;
40118 if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
40119 return false;
40120 extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
40121 return extension === ".scss" || extension === ".sass" || extension === ".css";
40122 },
40123 get$_writeToStdout() {
40124 var t1, _this = this;
40125 _this._ensureSources$0();
40126 t1 = _this._sourcesToDestinations;
40127 if (t1.get$length(t1) === 1) {
40128 _this._ensureSources$0();
40129 t1 = _this._sourcesToDestinations;
40130 t1 = t1.get$values(t1);
40131 t1 = t1.get$single(t1) == null;
40132 } else
40133 t1 = false;
40134 return t1;
40135 },
40136 get$emitSourceMap() {
40137 var _this = this,
40138 _s10_ = "source-map",
40139 _s15_ = "source-map-urls",
40140 _s13_ = "embed-sources",
40141 _s16_ = "embed-source-map",
40142 t1 = _this._options;
40143 if (!A._asBool(t1.$index(0, _s10_)))
40144 if (t1.wasParsed$1(_s15_))
40145 A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
40146 else if (t1.wasParsed$1(_s13_))
40147 A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
40148 else if (t1.wasParsed$1(_s16_))
40149 A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
40150 if (!_this.get$_writeToStdout())
40151 return A._asBool(t1.$index(0, _s10_));
40152 if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
40153 A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
40154 if (A._asBool(t1.$index(0, _s16_)))
40155 return A._asBool(t1.$index(0, _s10_));
40156 else if (J.$eq$(_this._ifParsed$1(_s10_), true))
40157 A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
40158 else if (t1.wasParsed$1(_s15_))
40159 A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
40160 else if (A._asBool(t1.$index(0, _s13_)))
40161 A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
40162 else
40163 return false;
40164 },
40165 sourceMapUrl$2(_, url, destination) {
40166 var t1, path, t2, _null = null;
40167 if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
40168 return url;
40169 t1 = $.$get$context();
40170 path = t1.style.pathFromUri$1(A._parseUri(url));
40171 if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
40172 destination.toString;
40173 t2 = t1.relative$2$from(path, t1.dirname$1(destination));
40174 } else
40175 t2 = t1.absolute$7(path, _null, _null, _null, _null, _null, _null);
40176 return t1.toUri$1(t2);
40177 },
40178 _ifParsed$1($name) {
40179 var t1 = this._options;
40180 return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
40181 }
40182 };
40183 A.ExecutableOptions__parser_closure.prototype = {
40184 call$0() {
40185 var t1 = type$.String,
40186 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
40187 t3 = [],
40188 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);
40189 parser.addOption$2$hide("precision", true);
40190 parser.addFlag$2$hide("async", true);
40191 t3.push(A.ExecutableOptions__separator("Input and Output"));
40192 parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
40193 parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
40194 parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
40195 t1 = type$.JSArray_String;
40196 parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t1), "expanded", "Output style.", "NAME");
40197 parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
40198 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.");
40199 parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
40200 t3.push(A.ExecutableOptions__separator("Source Maps"));
40201 parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
40202 parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t1), "relative", "How to link from source maps to source files.");
40203 parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
40204 parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
40205 t3.push(A.ExecutableOptions__separator("Other"));
40206 parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
40207 parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
40208 parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
40209 parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
40210 parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
40211 parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
40212 parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
40213 parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
40214 parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
40215 parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
40216 parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
40217 parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
40218 return parser;
40219 },
40220 $signature: 342
40221 };
40222 A.ExecutableOptions_interactive_closure.prototype = {
40223 call$0() {
40224 var invalidOptions, _i, option,
40225 t1 = this.$this._options;
40226 if (!A._asBool(t1.$index(0, "interactive")))
40227 return false;
40228 invalidOptions = ["stdin", "indented", "style", "source-map", "source-map-urls", "embed-sources", "embed-source-map", "update", "watch"];
40229 for (_i = 0; _i < 9; ++_i) {
40230 option = invalidOptions[_i];
40231 if (!t1._parser.options._map.containsKey$1(option))
40232 A.throwExpression(A.ArgumentError$('Could not find an option named "' + option + '".', null));
40233 if (t1._parsed.containsKey$1(option))
40234 throw A.wrapException(A.UsageException$("--" + option + " isn't allowed with --interactive."));
40235 }
40236 return true;
40237 },
40238 $signature: 28
40239 };
40240 A.ExecutableOptions_emitErrorCss_closure.prototype = {
40241 call$1(destination) {
40242 return destination != null;
40243 },
40244 $signature: 195
40245 };
40246 A.UsageException.prototype = {$isException: 1,
40247 get$message(receiver) {
40248 return this.message;
40249 }
40250 };
40251 A.watch_closure.prototype = {
40252 call$1(dir) {
40253 for (; !A.dirExists(dir);)
40254 dir = $.$get$context().dirname$1(dir);
40255 return this.dirWatcher.watch$1(0, dir);
40256 },
40257 $signature: 347
40258 };
40259 A._Watcher.prototype = {
40260 compile$3$ifModified(_, source, destination, ifModified) {
40261 return this.compile$body$_Watcher(0, source, destination, ifModified);
40262 },
40263 compile$2($receiver, source, destination) {
40264 return this.compile$3$ifModified($receiver, source, destination, false);
40265 },
40266 compile$body$_Watcher(_, source, destination, ifModified) {
40267 var $async$goto = 0,
40268 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40269 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, path, exception, t1, t2, $async$exception;
40270 var $async$compile$3$ifModified = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40271 if ($async$errorCode === 1) {
40272 $async$currentError = $async$result;
40273 $async$goto = $async$handler;
40274 }
40275 while (true)
40276 switch ($async$goto) {
40277 case 0:
40278 // Function start
40279 $async$handler = 4;
40280 $async$goto = 7;
40281 return A._asyncAwait(A.compileStylesheet($async$self._watch$_options, $async$self._graph, source, destination, ifModified), $async$compile$3$ifModified);
40282 case 7:
40283 // returning from await.
40284 $async$returnValue = true;
40285 // goto return
40286 $async$goto = 1;
40287 break;
40288 $async$handler = 2;
40289 // goto after finally
40290 $async$goto = 6;
40291 break;
40292 case 4:
40293 // catch
40294 $async$handler = 3;
40295 $async$exception = $async$currentError;
40296 t1 = A.unwrapException($async$exception);
40297 if (t1 instanceof A.SassException) {
40298 error = t1;
40299 stackTrace = A.getTraceFromException($async$exception);
40300 t1 = $async$self._watch$_options;
40301 if (!t1.get$emitErrorCss())
40302 $async$self._delete$1(destination);
40303 t1 = J.toString$1$color$(error, t1.get$color());
40304 t2 = A.getTrace(error);
40305 $async$self._printError$2(t1, t2 == null ? stackTrace : t2);
40306 J.set$exitCode$x(self.process, 65);
40307 $async$returnValue = false;
40308 // goto return
40309 $async$goto = 1;
40310 break;
40311 } else if (t1 instanceof A.FileSystemException) {
40312 error0 = t1;
40313 stackTrace0 = A.getTraceFromException($async$exception);
40314 path = error0.path;
40315 t1 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
40316 t2 = A.getTrace(error0);
40317 $async$self._printError$2(t1, t2 == null ? stackTrace0 : t2);
40318 J.set$exitCode$x(self.process, 66);
40319 $async$returnValue = false;
40320 // goto return
40321 $async$goto = 1;
40322 break;
40323 } else
40324 throw $async$exception;
40325 // goto after finally
40326 $async$goto = 6;
40327 break;
40328 case 3:
40329 // uncaught
40330 // goto rethrow
40331 $async$goto = 2;
40332 break;
40333 case 6:
40334 // after finally
40335 case 1:
40336 // return
40337 return A._asyncReturn($async$returnValue, $async$completer);
40338 case 2:
40339 // rethrow
40340 return A._asyncRethrow($async$currentError, $async$completer);
40341 }
40342 });
40343 return A._asyncStartSync($async$compile$3$ifModified, $async$completer);
40344 },
40345 _delete$1(path) {
40346 var buffer, t1, exception;
40347 try {
40348 A.deleteFile(path);
40349 buffer = new A.StringBuffer("");
40350 t1 = this._watch$_options;
40351 if (t1.get$color())
40352 buffer._contents += "\x1b[33m";
40353 buffer._contents += "Deleted " + path + ".";
40354 if (t1.get$color())
40355 buffer._contents += "\x1b[0m";
40356 A.print(buffer);
40357 } catch (exception) {
40358 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
40359 throw exception;
40360 }
40361 },
40362 _printError$2(message, stackTrace) {
40363 var t2,
40364 t1 = $.$get$stderr();
40365 t1.writeln$1(message);
40366 t2 = this._watch$_options._options;
40367 if (A._asBool(t2.$index(0, "trace"))) {
40368 t1.writeln$0();
40369 t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
40370 }
40371 if (!A._asBool(t2.$index(0, "stop-on-error")))
40372 t1.writeln$0();
40373 },
40374 watch$1(_, watcher) {
40375 return this.watch$body$_Watcher(0, watcher);
40376 },
40377 watch$body$_Watcher(_, watcher) {
40378 var $async$goto = 0,
40379 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
40380 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, $event, extension, success, success0, success1, t2, t1;
40381 var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40382 if ($async$errorCode === 1) {
40383 $async$currentError = $async$result;
40384 $async$goto = $async$handler;
40385 }
40386 while (true)
40387 switch ($async$goto) {
40388 case 0:
40389 // Function start
40390 t1 = A._lateReadCheck(watcher._group.__StreamGroup__controller, "_controller");
40391 t1 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
40392 $async$handler = 3;
40393 t2 = $async$self._watch$_options._options;
40394 case 6:
40395 // for condition
40396 $async$goto = 8;
40397 return A._asyncAwait(t1.moveNext$0(), $async$watch$1);
40398 case 8:
40399 // returning from await.
40400 if (!$async$result) {
40401 // goto after for
40402 $async$goto = 7;
40403 break;
40404 }
40405 $event = t1.get$current(t1);
40406 extension = A.ParsedPath_ParsedPath$parse($event.path, $.$get$context().style)._splitExtension$1(1)[1];
40407 if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css")) {
40408 // goto for condition
40409 $async$goto = 6;
40410 break;
40411 }
40412 case 9:
40413 // switch
40414 switch ($event.type) {
40415 case B.ChangeType_modify:
40416 // goto case
40417 $async$goto = 11;
40418 break;
40419 case B.ChangeType_add:
40420 // goto case
40421 $async$goto = 12;
40422 break;
40423 case B.ChangeType_remove:
40424 // goto case
40425 $async$goto = 13;
40426 break;
40427 default:
40428 // goto after switch
40429 $async$goto = 10;
40430 break;
40431 }
40432 break;
40433 case 11:
40434 // case
40435 $async$goto = 14;
40436 return A._asyncAwait($async$self._handleModify$1($event.path), $async$watch$1);
40437 case 14:
40438 // returning from await.
40439 success = $async$result;
40440 if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
40441 $async$next = [1];
40442 // goto finally
40443 $async$goto = 4;
40444 break;
40445 }
40446 // goto after switch
40447 $async$goto = 10;
40448 break;
40449 case 12:
40450 // case
40451 $async$goto = 15;
40452 return A._asyncAwait($async$self._handleAdd$1($event.path), $async$watch$1);
40453 case 15:
40454 // returning from await.
40455 success0 = $async$result;
40456 if (!success0 && A._asBool(t2.$index(0, "stop-on-error"))) {
40457 $async$next = [1];
40458 // goto finally
40459 $async$goto = 4;
40460 break;
40461 }
40462 // goto after switch
40463 $async$goto = 10;
40464 break;
40465 case 13:
40466 // case
40467 $async$goto = 16;
40468 return A._asyncAwait($async$self._handleRemove$1($event.path), $async$watch$1);
40469 case 16:
40470 // returning from await.
40471 success1 = $async$result;
40472 if (!success1 && A._asBool(t2.$index(0, "stop-on-error"))) {
40473 $async$next = [1];
40474 // goto finally
40475 $async$goto = 4;
40476 break;
40477 }
40478 // goto after switch
40479 $async$goto = 10;
40480 break;
40481 case 10:
40482 // after switch
40483 // goto for condition
40484 $async$goto = 6;
40485 break;
40486 case 7:
40487 // after for
40488 $async$next.push(5);
40489 // goto finally
40490 $async$goto = 4;
40491 break;
40492 case 3:
40493 // uncaught
40494 $async$next = [2];
40495 case 4:
40496 // finally
40497 $async$handler = 2;
40498 $async$goto = 17;
40499 return A._asyncAwait(t1.cancel$0(), $async$watch$1);
40500 case 17:
40501 // returning from await.
40502 // goto the next finally handler
40503 $async$goto = $async$next.pop();
40504 break;
40505 case 5:
40506 // after finally
40507 case 1:
40508 // return
40509 return A._asyncReturn($async$returnValue, $async$completer);
40510 case 2:
40511 // rethrow
40512 return A._asyncRethrow($async$currentError, $async$completer);
40513 }
40514 });
40515 return A._asyncStartSync($async$watch$1, $async$completer);
40516 },
40517 _handleModify$1(path) {
40518 return this._handleModify$body$_Watcher(path);
40519 },
40520 _handleModify$body$_Watcher(path) {
40521 var $async$goto = 0,
40522 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40523 $async$returnValue, $async$self = this, t1, t2, t0, url, node;
40524 var $async$_handleModify$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40525 if ($async$errorCode === 1)
40526 return A._asyncRethrow($async$result, $async$completer);
40527 while (true)
40528 switch ($async$goto) {
40529 case 0:
40530 // Function start
40531 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
40532 t1 = $.$get$context();
40533 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
40534 t0 = t2;
40535 t2 = t1;
40536 t1 = t0;
40537 } else {
40538 t1 = $.$get$context();
40539 t2 = t1.canonicalize$1(0, path);
40540 t0 = t2;
40541 t2 = t1;
40542 t1 = t0;
40543 }
40544 url = t2.toUri$1(t1);
40545 t1 = $async$self._graph;
40546 node = t1._nodes.$index(0, url);
40547 if (node == null) {
40548 $async$returnValue = $async$self._handleAdd$1(path);
40549 // goto return
40550 $async$goto = 1;
40551 break;
40552 }
40553 t1.reload$1(url);
40554 $async$goto = 3;
40555 return A._asyncAwait($async$self._recompileDownstream$1(A._setArrayType([node], type$.JSArray_StylesheetNode)), $async$_handleModify$1);
40556 case 3:
40557 // returning from await.
40558 $async$returnValue = $async$result;
40559 // goto return
40560 $async$goto = 1;
40561 break;
40562 case 1:
40563 // return
40564 return A._asyncReturn($async$returnValue, $async$completer);
40565 }
40566 });
40567 return A._asyncStartSync($async$_handleModify$1, $async$completer);
40568 },
40569 _handleAdd$1(path) {
40570 return this._handleAdd$body$_Watcher(path);
40571 },
40572 _handleAdd$body$_Watcher(path) {
40573 var $async$goto = 0,
40574 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40575 $async$returnValue, $async$self = this, destination, success, t1, t2, $async$temp1;
40576 var $async$_handleAdd$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40577 if ($async$errorCode === 1)
40578 return A._asyncRethrow($async$result, $async$completer);
40579 while (true)
40580 switch ($async$goto) {
40581 case 0:
40582 // Function start
40583 destination = $async$self._destinationFor$1(path);
40584 $async$temp1 = destination == null;
40585 if ($async$temp1)
40586 $async$result = $async$temp1;
40587 else {
40588 // goto then
40589 $async$goto = 3;
40590 break;
40591 }
40592 // goto join
40593 $async$goto = 4;
40594 break;
40595 case 3:
40596 // then
40597 $async$goto = 5;
40598 return A._asyncAwait($async$self.compile$2(0, path, destination), $async$_handleAdd$1);
40599 case 5:
40600 // returning from await.
40601 case 4:
40602 // join
40603 success = $async$result;
40604 t1 = $.$get$context();
40605 t2 = t1.absolute$7(".", null, null, null, null, null, null);
40606 $async$goto = 6;
40607 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);
40608 case 6:
40609 // returning from await.
40610 $async$returnValue = $async$result && success;
40611 // goto return
40612 $async$goto = 1;
40613 break;
40614 case 1:
40615 // return
40616 return A._asyncReturn($async$returnValue, $async$completer);
40617 }
40618 });
40619 return A._asyncStartSync($async$_handleAdd$1, $async$completer);
40620 },
40621 _handleRemove$1(path) {
40622 return this._handleRemove$body$_Watcher(path);
40623 },
40624 _handleRemove$body$_Watcher(path) {
40625 var $async$goto = 0,
40626 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40627 $async$returnValue, $async$self = this, t1, t2, t0, url, t3, destination, node, toRecompile;
40628 var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40629 if ($async$errorCode === 1)
40630 return A._asyncRethrow($async$result, $async$completer);
40631 while (true)
40632 switch ($async$goto) {
40633 case 0:
40634 // Function start
40635 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
40636 t1 = $.$get$context();
40637 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
40638 t0 = t2;
40639 t2 = t1;
40640 t1 = t0;
40641 } else {
40642 t1 = $.$get$context();
40643 t2 = t1.canonicalize$1(0, path);
40644 t0 = t2;
40645 t2 = t1;
40646 t1 = t0;
40647 }
40648 url = t2.toUri$1(t1);
40649 t1 = $async$self._graph;
40650 t3 = t1._nodes;
40651 if (t3.containsKey$1(url)) {
40652 destination = $async$self._destinationFor$1(path);
40653 if (destination != null)
40654 $async$self._delete$1(destination);
40655 }
40656 t2 = t2.absolute$7(".", null, null, null, null, null, null);
40657 node = t3.remove$1(0, url);
40658 t3 = node != null;
40659 if (t3) {
40660 t1._transitiveModificationTimes.clear$0(0);
40661 t1.importCache.clearImport$1(url);
40662 node._stylesheet_graph$_remove$0();
40663 }
40664 toRecompile = t1._recanonicalizeImports$2(new A.FilesystemImporter(t2), url);
40665 if (t3)
40666 toRecompile.addAll$1(0, node._downstream);
40667 $async$goto = 3;
40668 return A._asyncAwait($async$self._recompileDownstream$1(toRecompile), $async$_handleRemove$1);
40669 case 3:
40670 // returning from await.
40671 $async$returnValue = $async$result;
40672 // goto return
40673 $async$goto = 1;
40674 break;
40675 case 1:
40676 // return
40677 return A._asyncReturn($async$returnValue, $async$completer);
40678 }
40679 });
40680 return A._asyncStartSync($async$_handleRemove$1, $async$completer);
40681 },
40682 _debounceEvents$1(events) {
40683 var t1 = type$.WatchEvent;
40684 t1 = A.RateLimit__debounceAggregate(events, A.Duration$(25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
40685 return new A._ExpandStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_ExpandStream<Stream.T,WatchEvent>"));
40686 },
40687 _recompileDownstream$1(nodes) {
40688 return this._recompileDownstream$body$_Watcher(nodes);
40689 },
40690 _recompileDownstream$body$_Watcher(nodes) {
40691 var $async$goto = 0,
40692 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40693 $async$returnValue, $async$self = this, t2, allSucceeded, node, success, t1, seen, toRecompile;
40694 var $async$_recompileDownstream$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40695 if ($async$errorCode === 1)
40696 return A._asyncRethrow($async$result, $async$completer);
40697 while (true)
40698 switch ($async$goto) {
40699 case 0:
40700 // Function start
40701 t1 = type$.StylesheetNode;
40702 seen = A.LinkedHashSet_LinkedHashSet$_empty(t1);
40703 toRecompile = A.ListQueue_ListQueue$of(nodes, t1);
40704 t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = $async$self._watch$_options._options, allSucceeded = true;
40705 case 3:
40706 // for condition
40707 if (!!toRecompile.get$isEmpty(toRecompile)) {
40708 // goto after for
40709 $async$goto = 4;
40710 break;
40711 }
40712 node = toRecompile.removeFirst$0();
40713 if (!seen.add$1(0, node)) {
40714 // goto for condition
40715 $async$goto = 3;
40716 break;
40717 }
40718 $async$goto = 5;
40719 return A._asyncAwait($async$self._compileIfEntrypoint$1(node.canonicalUrl), $async$_recompileDownstream$1);
40720 case 5:
40721 // returning from await.
40722 success = $async$result;
40723 allSucceeded = allSucceeded && success;
40724 if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
40725 $async$returnValue = false;
40726 // goto return
40727 $async$goto = 1;
40728 break;
40729 }
40730 toRecompile.addAll$1(0, new A.UnmodifiableSetView(node._downstream, t1));
40731 // goto for condition
40732 $async$goto = 3;
40733 break;
40734 case 4:
40735 // after for
40736 $async$returnValue = allSucceeded;
40737 // goto return
40738 $async$goto = 1;
40739 break;
40740 case 1:
40741 // return
40742 return A._asyncReturn($async$returnValue, $async$completer);
40743 }
40744 });
40745 return A._asyncStartSync($async$_recompileDownstream$1, $async$completer);
40746 },
40747 _compileIfEntrypoint$1(url) {
40748 return this._compileIfEntrypoint$body$_Watcher(url);
40749 },
40750 _compileIfEntrypoint$body$_Watcher(url) {
40751 var $async$goto = 0,
40752 $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
40753 $async$returnValue, $async$self = this, source, destination;
40754 var $async$_compileIfEntrypoint$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
40755 if ($async$errorCode === 1)
40756 return A._asyncRethrow($async$result, $async$completer);
40757 while (true)
40758 switch ($async$goto) {
40759 case 0:
40760 // Function start
40761 if (url.get$scheme() !== "file") {
40762 $async$returnValue = true;
40763 // goto return
40764 $async$goto = 1;
40765 break;
40766 }
40767 source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
40768 destination = $async$self._destinationFor$1(source);
40769 if (destination == null) {
40770 $async$returnValue = true;
40771 // goto return
40772 $async$goto = 1;
40773 break;
40774 }
40775 $async$goto = 3;
40776 return A._asyncAwait($async$self.compile$2(0, source, destination), $async$_compileIfEntrypoint$1);
40777 case 3:
40778 // returning from await.
40779 $async$returnValue = $async$result;
40780 // goto return
40781 $async$goto = 1;
40782 break;
40783 case 1:
40784 // return
40785 return A._asyncReturn($async$returnValue, $async$completer);
40786 }
40787 });
40788 return A._asyncStartSync($async$_compileIfEntrypoint$1, $async$completer);
40789 },
40790 _destinationFor$1(source) {
40791 var t2, destination, t3, t4, t5, t6, parts,
40792 t1 = this._watch$_options;
40793 t1._ensureSources$0();
40794 t2 = type$.String;
40795 destination = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
40796 if (destination != null)
40797 return destination;
40798 t3 = $.$get$context();
40799 if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
40800 return null;
40801 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();) {
40802 t5 = t1.get$current(t1);
40803 t6 = t5.key;
40804 if (t3._isWithinOrEquals$2(t6, source) !== B._PathRelation_within)
40805 continue;
40806 parts = A._setArrayType([t5.value, t3.withoutExtension$1(t3.relative$2$from(source, t6)) + ".css", null, null, null, null, null, null], t2);
40807 A._validateArgList("join", parts);
40808 destination = t3.joinAll$1(new A.WhereTypeIterable(parts, t4));
40809 if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
40810 return destination;
40811 }
40812 return null;
40813 }
40814 };
40815 A._Watcher__debounceEvents_closure.prototype = {
40816 call$1(buffer) {
40817 var t2, t3, t4, oldType,
40818 t1 = A.PathMap__create(null, type$.ChangeType);
40819 for (t2 = J.get$iterator$ax(buffer); t2.moveNext$0();) {
40820 t3 = t2.get$current(t2);
40821 t4 = t3.path;
40822 oldType = t1.$index(0, t4);
40823 if (oldType == null)
40824 t1.$indexSet(0, t4, t3.type);
40825 else if (t3.type === B.ChangeType_remove)
40826 t1.$indexSet(0, t4, B.ChangeType_remove);
40827 else if (oldType !== B.ChangeType_add)
40828 t1.$indexSet(0, t4, B.ChangeType_modify);
40829 }
40830 t2 = A._setArrayType([], type$.JSArray_WatchEvent);
40831 for (t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
40832 t3 = t1.get$current(t1);
40833 t4 = t3.value;
40834 t3 = t3.key;
40835 t3.toString;
40836 t2.push(new A.WatchEvent(t4, t3));
40837 }
40838 return t2;
40839 },
40840 $signature: 348
40841 };
40842 A.EmptyExtensionStore.prototype = {
40843 get$isEmpty(_) {
40844 return true;
40845 },
40846 get$simpleSelectors() {
40847 return B.C_EmptyUnmodifiableSet;
40848 },
40849 extensionsWhereTarget$1(callback) {
40850 return B.List_empty2;
40851 },
40852 addSelector$3(selector, span, mediaContext) {
40853 throw A.wrapException(A.UnsupportedError$(string$.addSel));
40854 },
40855 addExtension$4(extender, target, extend, mediaContext) {
40856 throw A.wrapException(A.UnsupportedError$(string$.addExt_));
40857 },
40858 addExtensions$1(extenders) {
40859 throw A.wrapException(A.UnsupportedError$(string$.addExts));
40860 },
40861 clone$0() {
40862 return B.Tuple2_EmptyExtensionStore_Map_empty;
40863 },
40864 $isExtensionStore: 1
40865 };
40866 A.Extension.prototype = {
40867 toString$0(_) {
40868 var t1 = this.extender.toString$0(0) + " {@extend " + this.target.toString$0(0);
40869 return t1 + (this.isOptional ? " !optional" : "") + "}";
40870 }
40871 };
40872 A.Extender.prototype = {
40873 assertCompatibleMediaContext$1(mediaContext) {
40874 var expectedMediaContext,
40875 extension = this._extension;
40876 if (extension == null)
40877 return;
40878 expectedMediaContext = extension.mediaContext;
40879 if (expectedMediaContext == null)
40880 return;
40881 if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
40882 return;
40883 throw A.wrapException(A.SassException$(string$.You_ma, extension.span));
40884 },
40885 toString$0(_) {
40886 return A.serializeSelector(this.selector, true);
40887 }
40888 };
40889 A.ExtensionStore.prototype = {
40890 get$isEmpty(_) {
40891 var t1 = this._extensions;
40892 return t1.get$isEmpty(t1);
40893 },
40894 get$simpleSelectors() {
40895 return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
40896 },
40897 extensionsWhereTarget$1($async$callback) {
40898 var $async$self = this;
40899 return A._makeSyncStarIterable(function() {
40900 var callback = $async$callback;
40901 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
40902 return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
40903 if ($async$errorCode === 1) {
40904 $async$currentError = $async$result;
40905 $async$goto = $async$handler;
40906 }
40907 while (true)
40908 switch ($async$goto) {
40909 case 0:
40910 // Function start
40911 t1 = $async$self._extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
40912 case 2:
40913 // for condition
40914 if (!t1.moveNext$0()) {
40915 // goto after for
40916 $async$goto = 3;
40917 break;
40918 }
40919 t2 = t1.get$current(t1);
40920 if (!callback.call$1(t2.key)) {
40921 // goto for condition
40922 $async$goto = 2;
40923 break;
40924 }
40925 t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
40926 case 4:
40927 // for condition
40928 if (!t2.moveNext$0()) {
40929 // goto after for
40930 $async$goto = 5;
40931 break;
40932 }
40933 t3 = t2.get$current(t2);
40934 $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
40935 break;
40936 case 6:
40937 // then
40938 t3 = t3.unmerge$0();
40939 $async$goto = 9;
40940 return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
40941 case 9:
40942 // after yield
40943 // goto join
40944 $async$goto = 7;
40945 break;
40946 case 8:
40947 // else
40948 $async$goto = !t3.isOptional ? 10 : 11;
40949 break;
40950 case 10:
40951 // then
40952 $async$goto = 12;
40953 return t3;
40954 case 12:
40955 // after yield
40956 case 11:
40957 // join
40958 case 7:
40959 // join
40960 // goto for condition
40961 $async$goto = 4;
40962 break;
40963 case 5:
40964 // after for
40965 // goto for condition
40966 $async$goto = 2;
40967 break;
40968 case 3:
40969 // after for
40970 // implicit return
40971 return A._IterationMarker_endOfIteration();
40972 case 1:
40973 // rethrow
40974 return A._IterationMarker_uncaughtError($async$currentError);
40975 }
40976 };
40977 }, type$.Extension);
40978 },
40979 addSelector$3(selector, selectorSpan, mediaContext) {
40980 var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
40981 selector = selector;
40982 originalSelector = selector;
40983 if (!originalSelector.get$isInvisible())
40984 for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._originals, _i = 0; _i < t2; ++_i)
40985 t3.add$1(0, t1[_i]);
40986 t1 = _this._extensions;
40987 if (t1.get$isNotEmpty(t1))
40988 try {
40989 selector = _this._extendList$4(originalSelector, selectorSpan, t1, mediaContext);
40990 } catch (exception) {
40991 t1 = A.unwrapException(exception);
40992 if (t1 instanceof A.SassException) {
40993 error = t1;
40994 stackTrace = A.getTraceFromException(exception);
40995 t1 = error;
40996 t2 = J.getInterceptor$z(t1);
40997 t3 = error;
40998 t4 = J.getInterceptor$z(t3);
40999 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);
41000 } else
41001 throw exception;
41002 }
41003 modifiableSelector = new A.ModifiableCssValue(selector, selectorSpan, type$.ModifiableCssValue_SelectorList);
41004 if (mediaContext != null)
41005 _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
41006 _this._registerSelector$2(selector, modifiableSelector);
41007 return modifiableSelector;
41008 },
41009 _registerSelector$2(list, selector) {
41010 var t1, t2, t3, _i, t4, t5, _i0, component, t6, t7, _i1, simple, selectorInPseudo;
41011 for (t1 = list.components, t2 = t1.length, t3 = this._selectors, _i = 0; _i < t2; ++_i)
41012 for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0) {
41013 component = t4[_i0];
41014 if (!(component instanceof A.CompoundSelector))
41015 continue;
41016 for (t6 = component.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
41017 simple = t6[_i1];
41018 J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()), selector);
41019 if (!(simple instanceof A.PseudoSelector))
41020 continue;
41021 selectorInPseudo = simple.selector;
41022 if (selectorInPseudo != null)
41023 this._registerSelector$2(selectorInPseudo, selector);
41024 }
41025 }
41026 },
41027 addExtension$4(extender, target, extend, mediaContext) {
41028 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
41029 selectors = _this._selectors.$index(0, target),
41030 t1 = _this._extensionsByExtender,
41031 existingExtensions = t1.$index(0, target),
41032 sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
41033 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) {
41034 complex = t2[_i];
41035 if (complex._complex$_maxSpecificity == null)
41036 complex._computeSpecificity$0();
41037 complex._complex$_maxSpecificity.toString;
41038 t12 = new A.Extender(complex, false, t6);
41039 extension = t12._extension = new A.Extension(t12, target, mediaContext, t8, t7);
41040 existingExtension = sources.$index(0, complex);
41041 if (existingExtension != null) {
41042 sources.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, extension));
41043 continue;
41044 }
41045 sources.$indexSet(0, complex, extension);
41046 for (t12 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
41047 t13 = t12.get$current(t12);
41048 J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure0()), extension);
41049 t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure1(complex));
41050 }
41051 if (!t4 || t9) {
41052 if (newExtensions == null)
41053 newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
41054 newExtensions.$indexSet(0, complex, extension);
41055 }
41056 }
41057 if (newExtensions == null)
41058 return;
41059 t1 = type$.SimpleSelector;
41060 newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
41061 if (t9) {
41062 additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
41063 if (additionalExtensions != null)
41064 A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
41065 }
41066 if (!t4)
41067 _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
41068 },
41069 _simpleSelectors$1(complex) {
41070 return this._simpleSelectors$body$ExtensionStore(complex);
41071 },
41072 _simpleSelectors$body$ExtensionStore($async$complex) {
41073 var $async$self = this;
41074 return A._makeSyncStarIterable(function() {
41075 var complex = $async$complex;
41076 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, component, t3, t4, _i0, simple, selector, t5, t6, _i1;
41077 return function $async$_simpleSelectors$1($async$errorCode, $async$result) {
41078 if ($async$errorCode === 1) {
41079 $async$currentError = $async$result;
41080 $async$goto = $async$handler;
41081 }
41082 while (true)
41083 switch ($async$goto) {
41084 case 0:
41085 // Function start
41086 t1 = complex.components, t2 = t1.length, _i = 0;
41087 case 2:
41088 // for condition
41089 if (!(_i < t2)) {
41090 // goto after for
41091 $async$goto = 4;
41092 break;
41093 }
41094 component = t1[_i];
41095 $async$goto = component instanceof A.CompoundSelector ? 5 : 6;
41096 break;
41097 case 5:
41098 // then
41099 t3 = component.components, t4 = t3.length, _i0 = 0;
41100 case 7:
41101 // for condition
41102 if (!(_i0 < t4)) {
41103 // goto after for
41104 $async$goto = 9;
41105 break;
41106 }
41107 simple = t3[_i0];
41108 $async$goto = 10;
41109 return simple;
41110 case 10:
41111 // after yield
41112 if (!(simple instanceof A.PseudoSelector)) {
41113 // goto for update
41114 $async$goto = 8;
41115 break;
41116 }
41117 selector = simple.selector;
41118 if (selector == null) {
41119 // goto for update
41120 $async$goto = 8;
41121 break;
41122 }
41123 t5 = selector.components, t6 = t5.length, _i1 = 0;
41124 case 11:
41125 // for condition
41126 if (!(_i1 < t6)) {
41127 // goto after for
41128 $async$goto = 13;
41129 break;
41130 }
41131 $async$goto = 14;
41132 return A._IterationMarker_yieldStar($async$self._simpleSelectors$1(t5[_i1]));
41133 case 14:
41134 // after yield
41135 case 12:
41136 // for update
41137 ++_i1;
41138 // goto for condition
41139 $async$goto = 11;
41140 break;
41141 case 13:
41142 // after for
41143 case 8:
41144 // for update
41145 ++_i0;
41146 // goto for condition
41147 $async$goto = 7;
41148 break;
41149 case 9:
41150 // after for
41151 case 6:
41152 // join
41153 case 3:
41154 // for update
41155 ++_i;
41156 // goto for condition
41157 $async$goto = 2;
41158 break;
41159 case 4:
41160 // after for
41161 // implicit return
41162 return A._IterationMarker_endOfIteration();
41163 case 1:
41164 // rethrow
41165 return A._IterationMarker_uncaughtError($async$currentError);
41166 }
41167 };
41168 }, type$.SimpleSelector);
41169 },
41170 _extendExistingExtensions$2(extensions, newExtensions) {
41171 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;
41172 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) {
41173 extension = t1[_i];
41174 t7 = t6.$index(0, extension.target);
41175 t7.toString;
41176 selectors = null;
41177 try {
41178 selectors = this._extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
41179 if (selectors == null)
41180 continue;
41181 } catch (exception) {
41182 t8 = A.unwrapException(exception);
41183 if (t8 instanceof A.SassException) {
41184 error = t8;
41185 stackTrace = A.getTraceFromException(exception);
41186 t8 = error;
41187 t9 = J.getInterceptor$z(t8);
41188 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);
41189 } else
41190 throw exception;
41191 }
41192 t8 = J.get$first$ax(selectors);
41193 t9 = extension.extender;
41194 containsExtension = B.C_ListEquality.equals$2(0, t8.components, t9.selector.components);
41195 for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
41196 complex = t8[_i0];
41197 if (containsExtension && first) {
41198 first = false;
41199 continue;
41200 }
41201 t10 = extension;
41202 t11 = t10.extender;
41203 t12 = t10.target;
41204 t13 = t10.span;
41205 t14 = t10.mediaContext;
41206 t10 = t10.isOptional;
41207 if (complex._complex$_maxSpecificity == null)
41208 complex._computeSpecificity$0();
41209 complex._complex$_maxSpecificity.toString;
41210 t11 = new A.Extender(complex, false, t11.span);
41211 withExtender = t11._extension = new A.Extension(t11, t12, t14, t10, t13);
41212 existingExtension = t7.$index(0, complex);
41213 if (existingExtension != null)
41214 t7.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, withExtender));
41215 else {
41216 t7.$indexSet(0, complex, withExtender);
41217 for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1) {
41218 component = t10[_i1];
41219 if (component instanceof A.CompoundSelector)
41220 for (t12 = component.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
41221 J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
41222 }
41223 if (newExtensions.containsKey$1(extension.target)) {
41224 if (additionalExtensions == null)
41225 additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
41226 additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, complex, withExtender);
41227 }
41228 }
41229 }
41230 if (!containsExtension)
41231 t7.remove$1(0, extension.extender);
41232 }
41233 return additionalExtensions;
41234 },
41235 _extendExistingSelectors$2(selectors, newExtensions) {
41236 var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
41237 for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
41238 selector = t1.get$current(t1);
41239 oldValue = selector.value;
41240 try {
41241 selector.value = this._extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
41242 } catch (exception) {
41243 t3 = A.unwrapException(exception);
41244 if (t3 instanceof A.SassException) {
41245 error = t3;
41246 stackTrace = A.getTraceFromException(exception);
41247 t3 = error;
41248 t4 = J.getInterceptor$z(t3);
41249 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);
41250 } else
41251 throw exception;
41252 }
41253 if (oldValue === selector.value)
41254 continue;
41255 this._registerSelector$2(selector.value, selector);
41256 }
41257 },
41258 addExtensions$1(extensionStores) {
41259 var t1, t2, t3, _box_0 = {};
41260 _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
41261 for (t1 = J.get$iterator$ax(extensionStores), t2 = this._sourceSpecificity; t1.moveNext$0();) {
41262 t3 = t1.get$current(t1);
41263 if (t3.get$isEmpty(t3))
41264 continue;
41265 t2.addAll$1(0, t3.get$_sourceSpecificity());
41266 t3.get$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure(_box_0, this));
41267 }
41268 A.NullableExtension_andThen(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure0(_box_0, this));
41269 },
41270 _extendList$4(list, listSpan, extensions, mediaQueryContext) {
41271 var t1, t2, t3, extended, i, complex, result, t4;
41272 for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
41273 complex = t1[i];
41274 result = this._extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
41275 if (result == null) {
41276 if (extended != null)
41277 extended.push(complex);
41278 } else {
41279 if (extended == null)
41280 if (i === 0)
41281 extended = A._setArrayType([], t3);
41282 else {
41283 t4 = B.JSArray_methods.sublist$2(t1, 0, i);
41284 extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
41285 }
41286 B.JSArray_methods.addAll$1(extended, result);
41287 }
41288 }
41289 if (extended == null)
41290 return list;
41291 t1 = this._originals;
41292 return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)));
41293 },
41294 _extendList$3(list, listSpan, extensions) {
41295 return this._extendList$4(list, listSpan, extensions, null);
41296 },
41297 _extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
41298 var t1, t2, t3, t4, t5, extendedNotExpanded, i, component, extended, result, t6, t7, t8, _null = null,
41299 _s28_ = "components may not be empty.",
41300 _box_0 = {},
41301 isOriginal = this._originals.contains$1(0, complex);
41302 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) {
41303 component = t1[i];
41304 if (component instanceof A.CompoundSelector) {
41305 extended = this._extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
41306 if (extended == null) {
41307 if (extendedNotExpanded != null) {
41308 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
41309 result.fixed$length = Array;
41310 result.immutable$list = Array;
41311 t6 = result;
41312 if (t6.length === 0)
41313 A.throwExpression(A.ArgumentError$(_s28_, _null));
41314 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector(t6, false)], t3));
41315 }
41316 } else {
41317 if (extendedNotExpanded == null) {
41318 t6 = A._arrayInstanceType(t1);
41319 t7 = t6._eval$1("SubListIterable<1>");
41320 t8 = new A.SubListIterable(t1, 0, i, t7);
41321 t8.SubListIterable$3(t1, 0, i, t6._precomputed1);
41322 t7 = t7._eval$1("MappedListIterable<ListIterable.E,List<ComplexSelector>>");
41323 extendedNotExpanded = A.List_List$of(new A.MappedListIterable(t8, new A.ExtensionStore__extendComplex_closure(complex), t7), true, t7._eval$1("ListIterable.E"));
41324 }
41325 B.JSArray_methods.add$1(extendedNotExpanded, extended);
41326 }
41327 } else if (extendedNotExpanded != null) {
41328 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
41329 result.fixed$length = Array;
41330 result.immutable$list = Array;
41331 t6 = result;
41332 if (t6.length === 0)
41333 A.throwExpression(A.ArgumentError$(_s28_, _null));
41334 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector(t6, false)], t3));
41335 }
41336 }
41337 if (extendedNotExpanded == null)
41338 return _null;
41339 _box_0.first = true;
41340 t1 = type$.ComplexSelector;
41341 t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
41342 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
41343 },
41344 _extendCompound$5$inOriginal(compound, compoundSpan, extensions, mediaQueryContext, inOriginal) {
41345 var t2, t3, t4, t5, t6, t7, t8, t9, t10, options, i, simple, extended, result, t11, t12, isOriginal, _this = this, _null = null,
41346 _s28_ = "components may not be empty.",
41347 _box_1 = {},
41348 t1 = _this._mode,
41349 targetsUsed = t1 === B.ExtendMode_normal || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
41350 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) {
41351 simple = t2[i];
41352 extended = _this._extendSimple$5(simple, compoundSpan, extensions, mediaQueryContext, targetsUsed);
41353 if (extended == null) {
41354 if (options != null) {
41355 result = A.List_List$from(A._setArrayType([simple], t10), false, t8);
41356 result.fixed$length = Array;
41357 result.immutable$list = Array;
41358 t11 = result;
41359 if (t11.length === 0)
41360 A.throwExpression(A.ArgumentError$(_s28_, _null));
41361 result = A.List_List$from(A._setArrayType([new A.CompoundSelector(t11)], t6), false, t7);
41362 result.fixed$length = Array;
41363 result.immutable$list = Array;
41364 t11 = result;
41365 if (t11.length === 0)
41366 A.throwExpression(A.ArgumentError$(_s28_, _null));
41367 t9.$index(0, simple);
41368 options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t11, false), true, compoundSpan)], t5));
41369 }
41370 } else {
41371 if (options == null) {
41372 options = A._setArrayType([], t4);
41373 if (i !== 0) {
41374 t11 = A._arrayInstanceType(t2);
41375 t12 = new A.SubListIterable(t2, 0, i, t11._eval$1("SubListIterable<1>"));
41376 t12.SubListIterable$3(t2, 0, i, t11._precomputed1);
41377 result = A.List_List$from(t12, false, t8);
41378 result.fixed$length = Array;
41379 result.immutable$list = Array;
41380 t12 = result;
41381 compound = new A.CompoundSelector(t12);
41382 if (t12.length === 0)
41383 A.throwExpression(A.ArgumentError$(_s28_, _null));
41384 result = A.List_List$from(A._setArrayType([compound], t6), false, t7);
41385 result.fixed$length = Array;
41386 result.immutable$list = Array;
41387 t11 = result;
41388 if (t11.length === 0)
41389 A.throwExpression(A.ArgumentError$(_s28_, _null));
41390 _this._sourceSpecificityFor$1(compound);
41391 options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t11, false), true, compoundSpan)], t5));
41392 }
41393 }
41394 B.JSArray_methods.addAll$1(options, extended);
41395 }
41396 }
41397 if (options == null)
41398 return _null;
41399 if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
41400 return _null;
41401 if (options.length === 1)
41402 return J.map$1$1$ax(B.JSArray_methods.get$first(options), new A.ExtensionStore__extendCompound_closure(mediaQueryContext), type$.ComplexSelector).toList$0(0);
41403 t1 = _box_1.first = t1 !== B.ExtendMode_replace;
41404 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);
41405 t3 = t2.$ti._eval$1("ExpandIterable<Iterable.E,ComplexSelector>");
41406 result = A.List_List$of(new A.ExpandIterable(t2, new A.ExtensionStore__extendCompound_closure1(), t3), true, t3._eval$1("Iterable.E"));
41407 isOriginal = new A.ExtensionStore__extendCompound_closure2();
41408 return _this._trim$2(result, inOriginal && t1 ? new A.ExtensionStore__extendCompound_closure3(B.JSArray_methods.get$first(result)) : isOriginal);
41409 },
41410 _extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
41411 var extended,
41412 t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed, simpleSpan);
41413 if (simple instanceof A.PseudoSelector && simple.selector != null) {
41414 extended = this._extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
41415 if (extended != null)
41416 return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender>>"));
41417 }
41418 return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
41419 },
41420 _extenderForSimple$2(simple, span) {
41421 var t1 = A.ComplexSelector$(A._setArrayType([A.CompoundSelector$(A._setArrayType([simple], type$.JSArray_SimpleSelector))], type$.JSArray_ComplexSelectorComponent), false);
41422 this._sourceSpecificity.$index(0, simple);
41423 return new A.Extender(t1, true, span);
41424 },
41425 _extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
41426 var extended, complexes, t1, result,
41427 selector = pseudo.selector;
41428 if (selector == null)
41429 throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
41430 extended = this._extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
41431 if (extended === selector)
41432 return null;
41433 complexes = extended.components;
41434 t1 = pseudo.normalizedName === "not";
41435 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()))
41436 complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
41437 complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
41438 if (t1 && selector.components.length === 1) {
41439 t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
41440 result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
41441 return result.length === 0 ? null : result;
41442 } else
41443 return A._setArrayType([A.PseudoSelector$(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$(complexes))], type$.JSArray_PseudoSelector);
41444 },
41445 _trim$2(selectors, isOriginal) {
41446 var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, component;
41447 if (selectors.length > 100)
41448 return selectors;
41449 result = A.QueueList$(null, type$.ComplexSelector);
41450 $label0$0:
41451 for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
41452 _box_0 = {};
41453 complex1 = selectors[i];
41454 if (isOriginal.call$1(complex1)) {
41455 for (j = 0; j < numOriginals; ++j)
41456 if (J.$eq$(result.$index(0, j), complex1)) {
41457 A.rotateSlice(result, 0, j + 1);
41458 continue $label0$0;
41459 }
41460 ++numOriginals;
41461 result.addFirst$1(complex1);
41462 continue $label0$0;
41463 }
41464 _box_0.maxSpecificity = 0;
41465 for (t3 = complex1.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
41466 component = t3[_i];
41467 if (component instanceof A.CompoundSelector)
41468 _box_0.maxSpecificity = Math.max(_box_0.maxSpecificity, this._sourceSpecificityFor$1(component));
41469 }
41470 if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
41471 continue $label0$0;
41472 t3 = new A.SubListIterable(selectors, 0, i, t1);
41473 t3.SubListIterable$3(selectors, 0, i, t2);
41474 if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
41475 continue $label0$0;
41476 result.addFirst$1(complex1);
41477 }
41478 return result;
41479 },
41480 _sourceSpecificityFor$1(compound) {
41481 var t1, t2, t3, specificity, _i, t4;
41482 for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
41483 t4 = t3.$index(0, t1[_i]);
41484 specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
41485 }
41486 return specificity;
41487 },
41488 clone$0() {
41489 var t3, t4, _this = this,
41490 t1 = type$.SimpleSelector,
41491 newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList),
41492 t2 = type$.ModifiableCssValue_SelectorList,
41493 newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery),
41494 oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList, t2);
41495 _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
41496 t2 = type$.Extension;
41497 t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
41498 t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
41499 t1 = A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int);
41500 t1.addAll$1(0, _this._sourceSpecificity);
41501 t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
41502 t4.addAll$1(0, _this._originals);
41503 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);
41504 },
41505 get$_extensions() {
41506 return this._extensions;
41507 },
41508 get$_sourceSpecificity() {
41509 return this._sourceSpecificity;
41510 }
41511 };
41512 A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
41513 call$1(extension) {
41514 return !extension.isOptional;
41515 },
41516 $signature: 358
41517 };
41518 A.ExtensionStore__registerSelector_closure.prototype = {
41519 call$0() {
41520 return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList);
41521 },
41522 $signature: 304
41523 };
41524 A.ExtensionStore_addExtension_closure.prototype = {
41525 call$0() {
41526 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41527 },
41528 $signature: 141
41529 };
41530 A.ExtensionStore_addExtension_closure0.prototype = {
41531 call$0() {
41532 return A._setArrayType([], type$.JSArray_Extension);
41533 },
41534 $signature: 149
41535 };
41536 A.ExtensionStore_addExtension_closure1.prototype = {
41537 call$0() {
41538 return this.complex.get$maxSpecificity();
41539 },
41540 $signature: 12
41541 };
41542 A.ExtensionStore__extendExistingExtensions_closure.prototype = {
41543 call$0() {
41544 return A._setArrayType([], type$.JSArray_Extension);
41545 },
41546 $signature: 149
41547 };
41548 A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
41549 call$0() {
41550 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41551 },
41552 $signature: 141
41553 };
41554 A.ExtensionStore_addExtensions_closure.prototype = {
41555 call$2(target, newSources) {
41556 var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
41557 if (target instanceof A.PlaceholderSelector) {
41558 first = B.JSString_methods._codeUnitAt$1(target.name, 0);
41559 t1 = first === 45 || first === 95;
41560 } else
41561 t1 = false;
41562 if (t1)
41563 return;
41564 t1 = _this.$this;
41565 extensionsForTarget = t1._extensionsByExtender.$index(0, target);
41566 t2 = extensionsForTarget == null;
41567 if (!t2) {
41568 t3 = _this._box_0;
41569 t4 = t3.extensionsToExtend;
41570 B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension) : t4, extensionsForTarget);
41571 }
41572 selectorsForTarget = t1._selectors.$index(0, target);
41573 t3 = selectorsForTarget != null;
41574 if (t3) {
41575 t4 = _this._box_0;
41576 t5 = t4.selectorsToExtend;
41577 (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList) : t5).addAll$1(0, selectorsForTarget);
41578 }
41579 t1 = t1._extensions;
41580 existingSources = t1.$index(0, target);
41581 if (existingSources == null) {
41582 t4 = type$.ComplexSelector;
41583 t5 = type$.Extension;
41584 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
41585 if (!t2 || t3) {
41586 t1 = _this._box_0;
41587 t2 = t1.newExtensions;
41588 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
41589 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
41590 }
41591 } else
41592 newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure1(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
41593 },
41594 $signature: 380
41595 };
41596 A.ExtensionStore_addExtensions__closure1.prototype = {
41597 call$2(extender, extension) {
41598 var t2, _this = this,
41599 t1 = _this.existingSources;
41600 if (t1.containsKey$1(extender)) {
41601 t2 = t1.$index(0, extender);
41602 t2.toString;
41603 extension = A.MergedExtension_merge(t2, extension);
41604 t1.$indexSet(0, extender, extension);
41605 } else
41606 t1.$indexSet(0, extender, extension);
41607 if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
41608 t1 = _this._box_0;
41609 t2 = t1.newExtensions;
41610 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
41611 J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure()), extender, extension);
41612 }
41613 },
41614 $signature: 381
41615 };
41616 A.ExtensionStore_addExtensions___closure.prototype = {
41617 call$0() {
41618 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
41619 },
41620 $signature: 141
41621 };
41622 A.ExtensionStore_addExtensions_closure0.prototype = {
41623 call$1(newExtensions) {
41624 var t1 = this._box_0,
41625 t2 = this.$this;
41626 A.NullableExtension_andThen(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure(t2, newExtensions));
41627 A.NullableExtension_andThen(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure0(t2, newExtensions));
41628 },
41629 $signature: 389
41630 };
41631 A.ExtensionStore_addExtensions__closure.prototype = {
41632 call$1(extensionsToExtend) {
41633 return this.$this._extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
41634 },
41635 $signature: 398
41636 };
41637 A.ExtensionStore_addExtensions__closure0.prototype = {
41638 call$1(selectorsToExtend) {
41639 return this.$this._extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
41640 },
41641 $signature: 399
41642 };
41643 A.ExtensionStore__extendComplex_closure.prototype = {
41644 call$1(component) {
41645 return A._setArrayType([A.ComplexSelector$(A._setArrayType([component], type$.JSArray_ComplexSelectorComponent), this.complex.lineBreak)], type$.JSArray_ComplexSelector);
41646 },
41647 $signature: 402
41648 };
41649 A.ExtensionStore__extendComplex_closure0.prototype = {
41650 call$1(path) {
41651 var t1 = A.weave(J.map$1$1$ax(path, new A.ExtensionStore__extendComplex__closure(), type$.List_ComplexSelectorComponent).toList$0(0));
41652 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>"));
41653 },
41654 $signature: 408
41655 };
41656 A.ExtensionStore__extendComplex__closure.prototype = {
41657 call$1(complex) {
41658 return complex.components;
41659 },
41660 $signature: 419
41661 };
41662 A.ExtensionStore__extendComplex__closure0.prototype = {
41663 call$1(components) {
41664 var _this = this,
41665 t1 = _this.complex,
41666 outputComplex = A.ComplexSelector$(components, t1.lineBreak || J.any$1$ax(_this.path, new A.ExtensionStore__extendComplex___closure())),
41667 t2 = _this._box_0;
41668 if (t2.first && _this.$this._originals.contains$1(0, t1))
41669 _this.$this._originals.add$1(0, outputComplex);
41670 t2.first = false;
41671 return outputComplex;
41672 },
41673 $signature: 90
41674 };
41675 A.ExtensionStore__extendComplex___closure.prototype = {
41676 call$1(inputComplex) {
41677 return inputComplex.lineBreak;
41678 },
41679 $signature: 19
41680 };
41681 A.ExtensionStore__extendCompound_closure.prototype = {
41682 call$1(extender) {
41683 extender.assertCompatibleMediaContext$1(this.mediaQueryContext);
41684 return extender.selector;
41685 },
41686 $signature: 420
41687 };
41688 A.ExtensionStore__extendCompound_closure0.prototype = {
41689 call$1(path) {
41690 var complexes, toUnify, t2, t3, originals, t4, _box_0 = {},
41691 t1 = this._box_1;
41692 if (t1.first) {
41693 t1.first = false;
41694 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);
41695 } else {
41696 toUnify = A.QueueList$(null, type$.List_ComplexSelectorComponent);
41697 for (t1 = J.get$iterator$ax(path), t2 = type$.CompoundSelector, t3 = type$.JSArray_SimpleSelector, originals = null; t1.moveNext$0();) {
41698 t4 = t1.get$current(t1);
41699 if (t4.isOriginal) {
41700 if (originals == null)
41701 originals = A._setArrayType([], t3);
41702 B.JSArray_methods.addAll$1(originals, t2._as(B.JSArray_methods.get$last(t4.selector.components)).components);
41703 } else
41704 toUnify._queue_list$_add$1(t4.selector.components);
41705 }
41706 if (originals != null)
41707 toUnify.addFirst$1(A._setArrayType([A.CompoundSelector$(originals)], type$.JSArray_ComplexSelectorComponent));
41708 complexes = A.unifyComplex(toUnify);
41709 if (complexes == null)
41710 return null;
41711 }
41712 _box_0.lineBreak = false;
41713 for (t1 = J.get$iterator$ax(path), t2 = this.mediaQueryContext; t1.moveNext$0();) {
41714 t3 = t1.get$current(t1);
41715 t3.assertCompatibleMediaContext$1(t2);
41716 _box_0.lineBreak = _box_0.lineBreak || t3.selector.lineBreak;
41717 }
41718 t1 = J.map$1$1$ax(complexes, new A.ExtensionStore__extendCompound__closure0(_box_0), type$.ComplexSelector);
41719 return A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
41720 },
41721 $signature: 429
41722 };
41723 A.ExtensionStore__extendCompound__closure.prototype = {
41724 call$1(extender) {
41725 return type$.CompoundSelector._as(B.JSArray_methods.get$last(extender.selector.components)).components;
41726 },
41727 $signature: 442
41728 };
41729 A.ExtensionStore__extendCompound__closure0.prototype = {
41730 call$1(components) {
41731 return A.ComplexSelector$(components, this._box_0.lineBreak);
41732 },
41733 $signature: 90
41734 };
41735 A.ExtensionStore__extendCompound_closure1.prototype = {
41736 call$1(l) {
41737 return l;
41738 },
41739 $signature: 449
41740 };
41741 A.ExtensionStore__extendCompound_closure2.prototype = {
41742 call$1(_) {
41743 return false;
41744 },
41745 $signature: 19
41746 };
41747 A.ExtensionStore__extendCompound_closure3.prototype = {
41748 call$1(complex) {
41749 var t1 = B.C_ListEquality.equals$2(0, complex.components, this.original.components);
41750 return t1;
41751 },
41752 $signature: 19
41753 };
41754 A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
41755 call$1(simple) {
41756 var t1, t2, _this = this,
41757 extensionsForSimple = _this.extensions.$index(0, simple);
41758 if (extensionsForSimple == null)
41759 return null;
41760 t1 = _this.targetsUsed;
41761 if (t1 != null)
41762 t1.add$1(0, simple);
41763 t1 = A._setArrayType([], type$.JSArray_Extender);
41764 t2 = _this.$this;
41765 if (t2._mode !== B.ExtendMode_replace)
41766 t1.push(t2._extenderForSimple$2(simple, _this.simpleSpan));
41767 for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
41768 t1.push(t2.get$current(t2).extender);
41769 return t1;
41770 },
41771 $signature: 454
41772 };
41773 A.ExtensionStore__extendSimple_closure.prototype = {
41774 call$1(pseudo) {
41775 var t1 = this.withoutPseudo.call$1(pseudo);
41776 return t1 == null ? A._setArrayType([this.$this._extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender) : t1;
41777 },
41778 $signature: 457
41779 };
41780 A.ExtensionStore__extendSimple_closure0.prototype = {
41781 call$1(result) {
41782 return A._setArrayType([result], type$.JSArray_List_Extender);
41783 },
41784 $signature: 465
41785 };
41786 A.ExtensionStore__extendPseudo_closure.prototype = {
41787 call$1(complex) {
41788 return complex.components.length > 1;
41789 },
41790 $signature: 19
41791 };
41792 A.ExtensionStore__extendPseudo_closure0.prototype = {
41793 call$1(complex) {
41794 return complex.components.length === 1;
41795 },
41796 $signature: 19
41797 };
41798 A.ExtensionStore__extendPseudo_closure1.prototype = {
41799 call$1(complex) {
41800 return complex.components.length <= 1;
41801 },
41802 $signature: 19
41803 };
41804 A.ExtensionStore__extendPseudo_closure2.prototype = {
41805 call$1(complex) {
41806 var innerPseudo, innerSelector,
41807 t1 = complex.components;
41808 if (t1.length !== 1)
41809 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41810 if (!(B.JSArray_methods.get$first(t1) instanceof A.CompoundSelector))
41811 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41812 t1 = type$.CompoundSelector._as(B.JSArray_methods.get$first(t1)).components;
41813 if (t1.length !== 1)
41814 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41815 if (!(B.JSArray_methods.get$first(t1) instanceof A.PseudoSelector))
41816 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41817 innerPseudo = type$.PseudoSelector._as(B.JSArray_methods.get$first(t1));
41818 innerSelector = innerPseudo.selector;
41819 if (innerSelector == null)
41820 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41821 t1 = this.pseudo;
41822 switch (t1.normalizedName) {
41823 case "not":
41824 t1 = innerPseudo.normalizedName;
41825 if (t1 !== "is" && t1 !== "matches")
41826 return A._setArrayType([], type$.JSArray_ComplexSelector);
41827 return innerSelector.components;
41828 case "is":
41829 case "matches":
41830 case "any":
41831 case "current":
41832 case "nth-child":
41833 case "nth-last-child":
41834 if (innerPseudo.name !== t1.name)
41835 return A._setArrayType([], type$.JSArray_ComplexSelector);
41836 if (innerPseudo.argument != t1.argument)
41837 return A._setArrayType([], type$.JSArray_ComplexSelector);
41838 return innerSelector.components;
41839 case "has":
41840 case "host":
41841 case "host-context":
41842 case "slotted":
41843 return A._setArrayType([complex], type$.JSArray_ComplexSelector);
41844 default:
41845 return A._setArrayType([], type$.JSArray_ComplexSelector);
41846 }
41847 },
41848 $signature: 471
41849 };
41850 A.ExtensionStore__extendPseudo_closure3.prototype = {
41851 call$1(complex) {
41852 var t1 = this.pseudo;
41853 return A.PseudoSelector$(t1.name, t1.argument, !t1.isClass, A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector)));
41854 },
41855 $signature: 474
41856 };
41857 A.ExtensionStore__trim_closure.prototype = {
41858 call$1(complex2) {
41859 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector(complex2.components, this.complex1.components);
41860 },
41861 $signature: 19
41862 };
41863 A.ExtensionStore__trim_closure0.prototype = {
41864 call$1(complex2) {
41865 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector(complex2.components, this.complex1.components);
41866 },
41867 $signature: 19
41868 };
41869 A.ExtensionStore_clone_closure.prototype = {
41870 call$2(simple, selectors) {
41871 var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
41872 t1 = type$.ModifiableCssValue_SelectorList,
41873 newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
41874 _this.newSelectors.$indexSet(0, simple, newSelectorSet);
41875 for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
41876 t6 = t2.get$current(t2);
41877 newSelector = new A.ModifiableCssValue(t6.value, t6.span, t1);
41878 newSelectorSet.add$1(0, newSelector);
41879 t3.$indexSet(0, t6, newSelector);
41880 mediaContext = t4.$index(0, t6);
41881 if (mediaContext != null)
41882 t5.$indexSet(0, newSelector, mediaContext);
41883 }
41884 },
41885 $signature: 487
41886 };
41887 A.unifyComplex_closure.prototype = {
41888 call$1(complex) {
41889 var t1 = J.getInterceptor$asx(complex);
41890 return t1.sublist$2(complex, 0, t1.get$length(complex) - 1);
41891 },
41892 $signature: 142
41893 };
41894 A._weaveParents_closure.prototype = {
41895 call$2(group1, group2) {
41896 var unified, t1, _null = null;
41897 if (B.C_ListEquality.equals$2(0, group1, group2))
41898 return group1;
41899 if (!(J.get$first$ax(group1) instanceof A.CompoundSelector) || !(J.get$first$ax(group2) instanceof A.CompoundSelector))
41900 return _null;
41901 if (A.complexIsParentSuperselector(group1, group2))
41902 return group2;
41903 if (A.complexIsParentSuperselector(group2, group1))
41904 return group1;
41905 if (!A._mustUnify(group1, group2))
41906 return _null;
41907 unified = A.unifyComplex(A._setArrayType([group1, group2], type$.JSArray_List_ComplexSelectorComponent));
41908 if (unified == null)
41909 return _null;
41910 t1 = J.getInterceptor$asx(unified);
41911 if (t1.get$length(unified) > 1)
41912 return _null;
41913 return t1.get$first(unified);
41914 },
41915 $signature: 506
41916 };
41917 A._weaveParents_closure0.prototype = {
41918 call$1(sequence) {
41919 return A.complexIsParentSuperselector(sequence.get$first(sequence), this.group);
41920 },
41921 $signature: 511
41922 };
41923 A._weaveParents_closure1.prototype = {
41924 call$1(chunk) {
41925 return J.expand$1$1$ax(chunk, new A._weaveParents__closure1(), type$.ComplexSelectorComponent);
41926 },
41927 $signature: 147
41928 };
41929 A._weaveParents__closure1.prototype = {
41930 call$1(group) {
41931 return group;
41932 },
41933 $signature: 142
41934 };
41935 A._weaveParents_closure2.prototype = {
41936 call$1(sequence) {
41937 return sequence.get$length(sequence) === 0;
41938 },
41939 $signature: 156
41940 };
41941 A._weaveParents_closure3.prototype = {
41942 call$1(chunk) {
41943 return J.expand$1$1$ax(chunk, new A._weaveParents__closure0(), type$.ComplexSelectorComponent);
41944 },
41945 $signature: 147
41946 };
41947 A._weaveParents__closure0.prototype = {
41948 call$1(group) {
41949 return group;
41950 },
41951 $signature: 142
41952 };
41953 A._weaveParents_closure4.prototype = {
41954 call$1(choice) {
41955 return J.get$isNotEmpty$asx(choice);
41956 },
41957 $signature: 518
41958 };
41959 A._weaveParents_closure5.prototype = {
41960 call$1(path) {
41961 var t1 = J.expand$1$1$ax(path, new A._weaveParents__closure(), type$.ComplexSelectorComponent);
41962 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
41963 },
41964 $signature: 520
41965 };
41966 A._weaveParents__closure.prototype = {
41967 call$1(group) {
41968 return group;
41969 },
41970 $signature: 521
41971 };
41972 A._mustUnify_closure.prototype = {
41973 call$1(component) {
41974 return component instanceof A.CompoundSelector && B.JSArray_methods.any$1(component.components, new A._mustUnify__closure(this.uniqueSelectors));
41975 },
41976 $signature: 125
41977 };
41978 A._mustUnify__closure.prototype = {
41979 call$1(simple) {
41980 var t1;
41981 if (!(simple instanceof A.IDSelector))
41982 t1 = simple instanceof A.PseudoSelector && !simple.isClass;
41983 else
41984 t1 = true;
41985 return t1 && this.uniqueSelectors.contains$1(0, simple);
41986 },
41987 $signature: 16
41988 };
41989 A.paths_closure.prototype = {
41990 call$2(paths, choice) {
41991 var t1 = this.T;
41992 t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
41993 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
41994 },
41995 $signature() {
41996 return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
41997 }
41998 };
41999 A.paths__closure.prototype = {
42000 call$1(option) {
42001 var t1 = this.T;
42002 return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
42003 },
42004 $signature() {
42005 return this.T._eval$1("Iterable<List<0>>(0)");
42006 }
42007 };
42008 A.paths___closure.prototype = {
42009 call$1(path) {
42010 var t1 = A.List_List$of(path, true, this.T);
42011 t1.push(this.option);
42012 return t1;
42013 },
42014 $signature() {
42015 return this.T._eval$1("List<0>(List<0>)");
42016 }
42017 };
42018 A._hasRoot_closure.prototype = {
42019 call$1(simple) {
42020 return simple instanceof A.PseudoSelector && simple.isClass && simple.normalizedName === "root";
42021 },
42022 $signature: 16
42023 };
42024 A.listIsSuperselector_closure.prototype = {
42025 call$1(complex1) {
42026 return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
42027 },
42028 $signature: 19
42029 };
42030 A.listIsSuperselector__closure.prototype = {
42031 call$1(complex2) {
42032 return A.complexIsSuperselector(complex2.components, this.complex1.components);
42033 },
42034 $signature: 19
42035 };
42036 A._simpleIsSuperselectorOfCompound_closure.prototype = {
42037 call$1(theirSimple) {
42038 var selector,
42039 t1 = this.simple;
42040 if (t1.$eq(0, theirSimple))
42041 return true;
42042 if (!(theirSimple instanceof A.PseudoSelector))
42043 return false;
42044 selector = theirSimple.selector;
42045 if (selector == null)
42046 return false;
42047 if (!$._subselectorPseudos.contains$1(0, theirSimple.normalizedName))
42048 return false;
42049 return B.JSArray_methods.every$1(selector.components, new A._simpleIsSuperselectorOfCompound__closure(t1));
42050 },
42051 $signature: 16
42052 };
42053 A._simpleIsSuperselectorOfCompound__closure.prototype = {
42054 call$1(complex) {
42055 var t1 = complex.components;
42056 if (t1.length !== 1)
42057 return false;
42058 return B.JSArray_methods.contains$1(type$.CompoundSelector._as(B.JSArray_methods.get$single(t1)).components, this.simple);
42059 },
42060 $signature: 19
42061 };
42062 A._selectorPseudoIsSuperselector_closure.prototype = {
42063 call$1(selector2) {
42064 return A.listIsSuperselector(this.selector1.components, selector2.components);
42065 },
42066 $signature: 97
42067 };
42068 A._selectorPseudoIsSuperselector_closure0.prototype = {
42069 call$1(complex1) {
42070 var t1 = complex1.components,
42071 t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent),
42072 t3 = this.parents;
42073 if (t3 != null)
42074 B.JSArray_methods.addAll$1(t2, t3);
42075 t2.push(this.compound2);
42076 return A.complexIsSuperselector(t1, t2);
42077 },
42078 $signature: 19
42079 };
42080 A._selectorPseudoIsSuperselector_closure1.prototype = {
42081 call$1(selector2) {
42082 return A.listIsSuperselector(this.selector1.components, selector2.components);
42083 },
42084 $signature: 97
42085 };
42086 A._selectorPseudoIsSuperselector_closure2.prototype = {
42087 call$1(selector2) {
42088 return A.listIsSuperselector(this.selector1.components, selector2.components);
42089 },
42090 $signature: 97
42091 };
42092 A._selectorPseudoIsSuperselector_closure3.prototype = {
42093 call$1(complex) {
42094 return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
42095 },
42096 $signature: 19
42097 };
42098 A._selectorPseudoIsSuperselector__closure.prototype = {
42099 call$1(simple2) {
42100 var compound1, selector2, _this = this;
42101 if (simple2 instanceof A.TypeSelector) {
42102 compound1 = B.JSArray_methods.get$last(_this.complex.components);
42103 return compound1 instanceof A.CompoundSelector && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure(simple2));
42104 } else if (simple2 instanceof A.IDSelector) {
42105 compound1 = B.JSArray_methods.get$last(_this.complex.components);
42106 return compound1 instanceof A.CompoundSelector && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
42107 } else if (simple2 instanceof A.PseudoSelector && simple2.name === _this.pseudo1.name) {
42108 selector2 = simple2.selector;
42109 if (selector2 == null)
42110 return false;
42111 return A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
42112 } else
42113 return false;
42114 },
42115 $signature: 16
42116 };
42117 A._selectorPseudoIsSuperselector___closure.prototype = {
42118 call$1(simple1) {
42119 var t1;
42120 if (simple1 instanceof A.TypeSelector) {
42121 t1 = this.simple2.name.$eq(0, simple1.name);
42122 t1 = !t1;
42123 } else
42124 t1 = false;
42125 return t1;
42126 },
42127 $signature: 16
42128 };
42129 A._selectorPseudoIsSuperselector___closure0.prototype = {
42130 call$1(simple1) {
42131 var t1;
42132 if (simple1 instanceof A.IDSelector) {
42133 t1 = simple1.name;
42134 t1 = this.simple2.name !== t1;
42135 } else
42136 t1 = false;
42137 return t1;
42138 },
42139 $signature: 16
42140 };
42141 A._selectorPseudoIsSuperselector_closure4.prototype = {
42142 call$1(selector2) {
42143 var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
42144 return t1;
42145 },
42146 $signature: 97
42147 };
42148 A._selectorPseudoIsSuperselector_closure5.prototype = {
42149 call$1(pseudo2) {
42150 var t1, selector2;
42151 if (!(pseudo2 instanceof A.PseudoSelector))
42152 return false;
42153 t1 = this.pseudo1;
42154 if (pseudo2.name !== t1.name)
42155 return false;
42156 if (pseudo2.argument != t1.argument)
42157 return false;
42158 selector2 = pseudo2.selector;
42159 if (selector2 == null)
42160 return false;
42161 return A.listIsSuperselector(this.selector1.components, selector2.components);
42162 },
42163 $signature: 16
42164 };
42165 A._selectorPseudoArgs_closure.prototype = {
42166 call$1(pseudo) {
42167 return pseudo.isClass === this.isClass && pseudo.name === this.name;
42168 },
42169 $signature: 530
42170 };
42171 A._selectorPseudoArgs_closure0.prototype = {
42172 call$1(pseudo) {
42173 return pseudo.selector;
42174 },
42175 $signature: 540
42176 };
42177 A.MergedExtension.prototype = {
42178 unmerge$0() {
42179 var $async$self = this;
42180 return A._makeSyncStarIterable(function() {
42181 var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
42182 return function $async$unmerge$0($async$errorCode, $async$result) {
42183 if ($async$errorCode === 1) {
42184 $async$currentError = $async$result;
42185 $async$goto = $async$handler;
42186 }
42187 while (true)
42188 switch ($async$goto) {
42189 case 0:
42190 // Function start
42191 left = $async$self.left;
42192 $async$goto = left instanceof A.MergedExtension ? 2 : 4;
42193 break;
42194 case 2:
42195 // then
42196 $async$goto = 5;
42197 return A._IterationMarker_yieldStar(left.unmerge$0());
42198 case 5:
42199 // after yield
42200 // goto join
42201 $async$goto = 3;
42202 break;
42203 case 4:
42204 // else
42205 $async$goto = 6;
42206 return left;
42207 case 6:
42208 // after yield
42209 case 3:
42210 // join
42211 right = $async$self.right;
42212 $async$goto = right instanceof A.MergedExtension ? 7 : 9;
42213 break;
42214 case 7:
42215 // then
42216 $async$goto = 10;
42217 return A._IterationMarker_yieldStar(right.unmerge$0());
42218 case 10:
42219 // after yield
42220 // goto join
42221 $async$goto = 8;
42222 break;
42223 case 9:
42224 // else
42225 $async$goto = 11;
42226 return right;
42227 case 11:
42228 // after yield
42229 case 8:
42230 // join
42231 // implicit return
42232 return A._IterationMarker_endOfIteration();
42233 case 1:
42234 // rethrow
42235 return A._IterationMarker_uncaughtError($async$currentError);
42236 }
42237 };
42238 }, type$.Extension);
42239 }
42240 };
42241 A.ExtendMode.prototype = {
42242 toString$0(_) {
42243 return this.name;
42244 }
42245 };
42246 A.globalFunctions_closure.prototype = {
42247 call$1($arguments) {
42248 var t1 = J.getInterceptor$asx($arguments);
42249 return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
42250 },
42251 $signature: 4
42252 };
42253 A.global_closure.prototype = {
42254 call$1($arguments) {
42255 return A._rgb("rgb", $arguments);
42256 },
42257 $signature: 4
42258 };
42259 A.global_closure0.prototype = {
42260 call$1($arguments) {
42261 return A._rgb("rgb", $arguments);
42262 },
42263 $signature: 4
42264 };
42265 A.global_closure1.prototype = {
42266 call$1($arguments) {
42267 return A._rgbTwoArg("rgb", $arguments);
42268 },
42269 $signature: 4
42270 };
42271 A.global_closure2.prototype = {
42272 call$1($arguments) {
42273 var parsed = A._parseChannels("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
42274 return parsed instanceof A.SassString ? parsed : A._rgb("rgb", type$.List_Value._as(parsed));
42275 },
42276 $signature: 4
42277 };
42278 A.global_closure3.prototype = {
42279 call$1($arguments) {
42280 return A._rgb("rgba", $arguments);
42281 },
42282 $signature: 4
42283 };
42284 A.global_closure4.prototype = {
42285 call$1($arguments) {
42286 return A._rgb("rgba", $arguments);
42287 },
42288 $signature: 4
42289 };
42290 A.global_closure5.prototype = {
42291 call$1($arguments) {
42292 return A._rgbTwoArg("rgba", $arguments);
42293 },
42294 $signature: 4
42295 };
42296 A.global_closure6.prototype = {
42297 call$1($arguments) {
42298 var parsed = A._parseChannels("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
42299 return parsed instanceof A.SassString ? parsed : A._rgb("rgba", type$.List_Value._as(parsed));
42300 },
42301 $signature: 4
42302 };
42303 A.global_closure7.prototype = {
42304 call$1($arguments) {
42305 var color, t2,
42306 t1 = J.getInterceptor$asx($arguments),
42307 weight = t1.$index($arguments, 1).assertNumber$1("weight");
42308 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42309 if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
42310 throw A.wrapException(string$.Only_oa);
42311 return A._functionString("invert", t1.take$1($arguments, 1));
42312 }
42313 color = t1.$index($arguments, 0).assertColor$1("color");
42314 t1 = color.get$red(color);
42315 t2 = color.get$green(color);
42316 return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
42317 },
42318 $signature: 4
42319 };
42320 A.global_closure8.prototype = {
42321 call$1($arguments) {
42322 return A._hsl("hsl", $arguments);
42323 },
42324 $signature: 4
42325 };
42326 A.global_closure9.prototype = {
42327 call$1($arguments) {
42328 return A._hsl("hsl", $arguments);
42329 },
42330 $signature: 4
42331 };
42332 A.global_closure10.prototype = {
42333 call$1($arguments) {
42334 var t1 = J.getInterceptor$asx($arguments);
42335 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
42336 return A._functionString("hsl", $arguments);
42337 else
42338 throw A.wrapException(A.SassScriptException$("Missing argument $lightness."));
42339 },
42340 $signature: 13
42341 };
42342 A.global_closure11.prototype = {
42343 call$1($arguments) {
42344 var parsed = A._parseChannels("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
42345 return parsed instanceof A.SassString ? parsed : A._hsl("hsl", type$.List_Value._as(parsed));
42346 },
42347 $signature: 4
42348 };
42349 A.global_closure12.prototype = {
42350 call$1($arguments) {
42351 return A._hsl("hsla", $arguments);
42352 },
42353 $signature: 4
42354 };
42355 A.global_closure13.prototype = {
42356 call$1($arguments) {
42357 return A._hsl("hsla", $arguments);
42358 },
42359 $signature: 4
42360 };
42361 A.global_closure14.prototype = {
42362 call$1($arguments) {
42363 var t1 = J.getInterceptor$asx($arguments);
42364 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
42365 return A._functionString("hsla", $arguments);
42366 else
42367 throw A.wrapException(A.SassScriptException$("Missing argument $lightness."));
42368 },
42369 $signature: 13
42370 };
42371 A.global_closure15.prototype = {
42372 call$1($arguments) {
42373 var parsed = A._parseChannels("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
42374 return parsed instanceof A.SassString ? parsed : A._hsl("hsla", type$.List_Value._as(parsed));
42375 },
42376 $signature: 4
42377 };
42378 A.global_closure16.prototype = {
42379 call$1($arguments) {
42380 var t1 = J.getInterceptor$asx($arguments);
42381 if (t1.$index($arguments, 0) instanceof A.SassNumber)
42382 return A._functionString("grayscale", $arguments);
42383 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
42384 },
42385 $signature: 4
42386 };
42387 A.global_closure17.prototype = {
42388 call$1($arguments) {
42389 var t1 = J.getInterceptor$asx($arguments),
42390 color = t1.$index($arguments, 0).assertColor$1("color"),
42391 degrees = t1.$index($arguments, 1).assertNumber$1("degrees");
42392 A._checkAngle(degrees, null);
42393 return color.changeHsl$1$hue(color.get$hue(color) + degrees._number$_value);
42394 },
42395 $signature: 23
42396 };
42397 A.global_closure18.prototype = {
42398 call$1($arguments) {
42399 var t1 = J.getInterceptor$asx($arguments),
42400 color = t1.$index($arguments, 0).assertColor$1("color"),
42401 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42402 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
42403 },
42404 $signature: 23
42405 };
42406 A.global_closure19.prototype = {
42407 call$1($arguments) {
42408 var t1 = J.getInterceptor$asx($arguments),
42409 color = t1.$index($arguments, 0).assertColor$1("color"),
42410 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42411 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
42412 },
42413 $signature: 23
42414 };
42415 A.global_closure20.prototype = {
42416 call$1($arguments) {
42417 return new A.SassString("saturate(" + A.serializeValue(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
42418 },
42419 $signature: 13
42420 };
42421 A.global_closure21.prototype = {
42422 call$1($arguments) {
42423 var t1 = J.getInterceptor$asx($arguments),
42424 color = t1.$index($arguments, 0).assertColor$1("color"),
42425 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42426 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
42427 },
42428 $signature: 23
42429 };
42430 A.global_closure22.prototype = {
42431 call$1($arguments) {
42432 var t1 = J.getInterceptor$asx($arguments),
42433 color = t1.$index($arguments, 0).assertColor$1("color"),
42434 amount = t1.$index($arguments, 1).assertNumber$1("amount");
42435 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
42436 },
42437 $signature: 23
42438 };
42439 A.global_closure23.prototype = {
42440 call$1($arguments) {
42441 var color,
42442 argument = J.$index$asx($arguments, 0);
42443 if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart()))
42444 return A._functionString("alpha", $arguments);
42445 color = argument.assertColor$1("color");
42446 return new A.UnitlessSassNumber(color._alpha, null);
42447 },
42448 $signature: 4
42449 };
42450 A.global_closure24.prototype = {
42451 call$1($arguments) {
42452 var t1,
42453 argList = J.$index$asx($arguments, 0).get$asList();
42454 if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
42455 return A._functionString("alpha", $arguments);
42456 t1 = argList.length;
42457 if (t1 === 0)
42458 throw A.wrapException(A.SassScriptException$("Missing argument $color."));
42459 else
42460 throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed."));
42461 },
42462 $signature: 13
42463 };
42464 A.global__closure.prototype = {
42465 call$1(argument) {
42466 return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
42467 },
42468 $signature: 62
42469 };
42470 A.global_closure25.prototype = {
42471 call$1($arguments) {
42472 var color,
42473 t1 = J.getInterceptor$asx($arguments);
42474 if (t1.$index($arguments, 0) instanceof A.SassNumber)
42475 return A._functionString("opacity", $arguments);
42476 color = t1.$index($arguments, 0).assertColor$1("color");
42477 return new A.UnitlessSassNumber(color._alpha, null);
42478 },
42479 $signature: 4
42480 };
42481 A.module_closure.prototype = {
42482 call$1($arguments) {
42483 var result, color, t2,
42484 t1 = J.getInterceptor$asx($arguments),
42485 weight = t1.$index($arguments, 1).assertNumber$1("weight");
42486 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42487 if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
42488 throw A.wrapException(string$.Only_oa);
42489 result = A._functionString("invert", t1.take$1($arguments, 1));
42490 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_ci + result.toString$0(0);
42491 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42492 return result;
42493 }
42494 color = t1.$index($arguments, 0).assertColor$1("color");
42495 t1 = color.get$red(color);
42496 t2 = color.get$green(color);
42497 return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
42498 },
42499 $signature: 4
42500 };
42501 A.module_closure0.prototype = {
42502 call$1($arguments) {
42503 var result,
42504 t1 = J.getInterceptor$asx($arguments);
42505 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42506 result = A._functionString("grayscale", t1.take$1($arguments, 1));
42507 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_cg + result.toString$0(0);
42508 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42509 return result;
42510 }
42511 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
42512 },
42513 $signature: 4
42514 };
42515 A.module_closure1.prototype = {
42516 call$1($arguments) {
42517 return A._hwb($arguments);
42518 },
42519 $signature: 4
42520 };
42521 A.module_closure2.prototype = {
42522 call$1($arguments) {
42523 var parsed = A._parseChannels("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
42524 if (parsed instanceof A.SassString)
42525 throw A.wrapException(A.SassScriptException$('Expected numeric channels, got "' + parsed.toString$0(0) + '".'));
42526 else
42527 return A._hwb(type$.List_Value._as(parsed));
42528 },
42529 $signature: 4
42530 };
42531 A.module_closure3.prototype = {
42532 call$1($arguments) {
42533 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42534 t1 = t1.get$whiteness(t1);
42535 return new A.SingleUnitSassNumber("%", t1, null);
42536 },
42537 $signature: 9
42538 };
42539 A.module_closure4.prototype = {
42540 call$1($arguments) {
42541 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42542 t1 = t1.get$blackness(t1);
42543 return new A.SingleUnitSassNumber("%", t1, null);
42544 },
42545 $signature: 9
42546 };
42547 A.module_closure5.prototype = {
42548 call$1($arguments) {
42549 var result, t1, color,
42550 argument = J.$index$asx($arguments, 0);
42551 if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart())) {
42552 result = A._functionString("alpha", $arguments);
42553 t1 = string$.Using_c + result.toString$0(0);
42554 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42555 return result;
42556 }
42557 color = argument.assertColor$1("color");
42558 return new A.UnitlessSassNumber(color._alpha, null);
42559 },
42560 $signature: 4
42561 };
42562 A.module_closure6.prototype = {
42563 call$1($arguments) {
42564 var result,
42565 t1 = J.getInterceptor$asx($arguments);
42566 if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure())) {
42567 result = A._functionString("alpha", $arguments);
42568 t1 = string$.Using_c + result.toString$0(0);
42569 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42570 return result;
42571 }
42572 throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed."));
42573 },
42574 $signature: 13
42575 };
42576 A.module__closure.prototype = {
42577 call$1(argument) {
42578 return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
42579 },
42580 $signature: 62
42581 };
42582 A.module_closure7.prototype = {
42583 call$1($arguments) {
42584 var result, color,
42585 t1 = J.getInterceptor$asx($arguments);
42586 if (t1.$index($arguments, 0) instanceof A.SassNumber) {
42587 result = A._functionString("opacity", $arguments);
42588 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x20to_co + result.toString$0(0);
42589 A.EvaluationContext_current().warn$2$deprecation(0, t1, true);
42590 return result;
42591 }
42592 color = t1.$index($arguments, 0).assertColor$1("color");
42593 return new A.UnitlessSassNumber(color._alpha, null);
42594 },
42595 $signature: 4
42596 };
42597 A._red_closure.prototype = {
42598 call$1($arguments) {
42599 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42600 t1 = t1.get$red(t1);
42601 return new A.UnitlessSassNumber(t1, null);
42602 },
42603 $signature: 9
42604 };
42605 A._green_closure.prototype = {
42606 call$1($arguments) {
42607 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42608 t1 = t1.get$green(t1);
42609 return new A.UnitlessSassNumber(t1, null);
42610 },
42611 $signature: 9
42612 };
42613 A._blue_closure.prototype = {
42614 call$1($arguments) {
42615 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42616 t1 = t1.get$blue(t1);
42617 return new A.UnitlessSassNumber(t1, null);
42618 },
42619 $signature: 9
42620 };
42621 A._mix_closure.prototype = {
42622 call$1($arguments) {
42623 var t1 = J.getInterceptor$asx($arguments);
42624 return A._mixColors(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
42625 },
42626 $signature: 23
42627 };
42628 A._hue_closure.prototype = {
42629 call$1($arguments) {
42630 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42631 t1 = t1.get$hue(t1);
42632 return new A.SingleUnitSassNumber("deg", t1, null);
42633 },
42634 $signature: 9
42635 };
42636 A._saturation_closure.prototype = {
42637 call$1($arguments) {
42638 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42639 t1 = t1.get$saturation(t1);
42640 return new A.SingleUnitSassNumber("%", t1, null);
42641 },
42642 $signature: 9
42643 };
42644 A._lightness_closure.prototype = {
42645 call$1($arguments) {
42646 var t1 = J.get$first$ax($arguments).assertColor$1("color");
42647 t1 = t1.get$lightness(t1);
42648 return new A.SingleUnitSassNumber("%", t1, null);
42649 },
42650 $signature: 9
42651 };
42652 A._complement_closure.prototype = {
42653 call$1($arguments) {
42654 var color = J.$index$asx($arguments, 0).assertColor$1("color");
42655 return color.changeHsl$1$hue(color.get$hue(color) + 180);
42656 },
42657 $signature: 23
42658 };
42659 A._adjust_closure.prototype = {
42660 call$1($arguments) {
42661 return A._updateComponents($arguments, true, false, false);
42662 },
42663 $signature: 23
42664 };
42665 A._scale_closure.prototype = {
42666 call$1($arguments) {
42667 return A._updateComponents($arguments, false, false, true);
42668 },
42669 $signature: 23
42670 };
42671 A._change_closure.prototype = {
42672 call$1($arguments) {
42673 return A._updateComponents($arguments, false, true, false);
42674 },
42675 $signature: 23
42676 };
42677 A._ieHexStr_closure.prototype = {
42678 call$1($arguments) {
42679 var color = J.$index$asx($arguments, 0).assertColor$1("color"),
42680 t1 = new A._ieHexStr_closure_hexString();
42681 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);
42682 },
42683 $signature: 13
42684 };
42685 A._ieHexStr_closure_hexString.prototype = {
42686 call$1(component) {
42687 return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
42688 },
42689 $signature: 159
42690 };
42691 A._updateComponents_getParam.prototype = {
42692 call$4$assertPercent$checkPercent($name, max, assertPercent, checkPercent) {
42693 var t2,
42694 t1 = this.keywords.remove$1(0, $name),
42695 number = t1 == null ? null : t1.assertNumber$1($name);
42696 if (number == null)
42697 return null;
42698 t1 = this.scale;
42699 t2 = !t1;
42700 if (t2 && checkPercent)
42701 A._checkPercent(number, $name);
42702 if (!t2 || assertPercent)
42703 number.assertUnit$2("%", $name);
42704 if (t1)
42705 max = 100;
42706 return number.valueInRange$3(this.change ? 0 : -max, max, $name);
42707 },
42708 call$2($name, max) {
42709 return this.call$4$assertPercent$checkPercent($name, max, false, false);
42710 },
42711 call$3$checkPercent($name, max, checkPercent) {
42712 return this.call$4$assertPercent$checkPercent($name, max, false, checkPercent);
42713 },
42714 call$3$assertPercent($name, max, assertPercent) {
42715 return this.call$4$assertPercent$checkPercent($name, max, assertPercent, false);
42716 },
42717 $signature: 167
42718 };
42719 A._updateComponents_closure.prototype = {
42720 call$1($name) {
42721 return "$" + $name;
42722 },
42723 $signature: 5
42724 };
42725 A._updateComponents_updateValue.prototype = {
42726 call$3(current, param, max) {
42727 var t1;
42728 if (param == null)
42729 return current;
42730 if (this.change)
42731 return param;
42732 if (this.adjust)
42733 return B.JSNumber_methods.clamp$2(current + param, 0, max);
42734 t1 = param > 0 ? max - current : current;
42735 return current + t1 * (param / 100);
42736 },
42737 $signature: 175
42738 };
42739 A._updateComponents_updateRgb.prototype = {
42740 call$2(current, param) {
42741 return A.fuzzyRound(this.updateValue.call$3(current, param, 255));
42742 },
42743 $signature: 179
42744 };
42745 A._functionString_closure.prototype = {
42746 call$1(argument) {
42747 return A.serializeValue(argument, false, true);
42748 },
42749 $signature: 266
42750 };
42751 A._removedColorFunction_closure.prototype = {
42752 call$1($arguments) {
42753 var t1 = this.name,
42754 t2 = J.getInterceptor$asx($arguments),
42755 t3 = "The function " + t1 + string$.x28__isn + A.S(t2.$index($arguments, 0)) + ", $" + this.argument + ": ";
42756 throw A.wrapException(A.SassScriptException$(t3 + (this.negative ? "-" : "") + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Morx3a + t1));
42757 },
42758 $signature: 269
42759 };
42760 A._rgb_closure.prototype = {
42761 call$1(alpha) {
42762 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42763 },
42764 $signature: 109
42765 };
42766 A._hsl_closure.prototype = {
42767 call$1(alpha) {
42768 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42769 },
42770 $signature: 109
42771 };
42772 A._removeUnits_closure.prototype = {
42773 call$1(unit) {
42774 return " * 1" + unit;
42775 },
42776 $signature: 5
42777 };
42778 A._removeUnits_closure0.prototype = {
42779 call$1(unit) {
42780 return " / 1" + unit;
42781 },
42782 $signature: 5
42783 };
42784 A._hwb_closure.prototype = {
42785 call$1(alpha) {
42786 return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
42787 },
42788 $signature: 109
42789 };
42790 A._parseChannels_closure.prototype = {
42791 call$1(value) {
42792 return value.get$isVar();
42793 },
42794 $signature: 62
42795 };
42796 A._length_closure0.prototype = {
42797 call$1($arguments) {
42798 var t1 = J.$index$asx($arguments, 0).get$asList().length;
42799 return new A.UnitlessSassNumber(t1, null);
42800 },
42801 $signature: 9
42802 };
42803 A._nth_closure.prototype = {
42804 call$1($arguments) {
42805 var t1 = J.getInterceptor$asx($arguments),
42806 list = t1.$index($arguments, 0),
42807 index = t1.$index($arguments, 1);
42808 return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
42809 },
42810 $signature: 4
42811 };
42812 A._setNth_closure.prototype = {
42813 call$1($arguments) {
42814 var t1 = J.getInterceptor$asx($arguments),
42815 list = t1.$index($arguments, 0),
42816 index = t1.$index($arguments, 1),
42817 value = t1.$index($arguments, 2),
42818 t2 = list.get$asList(),
42819 newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
42820 newList[list.sassIndexToListIndex$2(index, "n")] = value;
42821 return t1.$index($arguments, 0).withListContents$1(newList);
42822 },
42823 $signature: 21
42824 };
42825 A._join_closure.prototype = {
42826 call$1($arguments) {
42827 var separator, bracketed,
42828 t1 = J.getInterceptor$asx($arguments),
42829 list1 = t1.$index($arguments, 0),
42830 list2 = t1.$index($arguments, 1),
42831 separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
42832 bracketedParam = t1.$index($arguments, 3);
42833 t1 = separatorParam._string$_text;
42834 if (t1 === "auto")
42835 if (list1.get$separator(list1) !== B.ListSeparator_undecided_null)
42836 separator = list1.get$separator(list1);
42837 else
42838 separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null ? list2.get$separator(list2) : B.ListSeparator_woc;
42839 else if (t1 === "space")
42840 separator = B.ListSeparator_woc;
42841 else if (t1 === "comma")
42842 separator = B.ListSeparator_kWM;
42843 else {
42844 if (t1 !== "slash")
42845 throw A.wrapException(A.SassScriptException$(string$.x24separ));
42846 separator = B.ListSeparator_1gm;
42847 }
42848 bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
42849 t1 = A.List_List$of(list1.get$asList(), true, type$.Value);
42850 B.JSArray_methods.addAll$1(t1, list2.get$asList());
42851 return A.SassList$(t1, separator, bracketed);
42852 },
42853 $signature: 21
42854 };
42855 A._append_closure0.prototype = {
42856 call$1($arguments) {
42857 var separator,
42858 t1 = J.getInterceptor$asx($arguments),
42859 list = t1.$index($arguments, 0),
42860 value = t1.$index($arguments, 1);
42861 t1 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
42862 if (t1 === "auto")
42863 separator = list.get$separator(list) === B.ListSeparator_undecided_null ? B.ListSeparator_woc : list.get$separator(list);
42864 else if (t1 === "space")
42865 separator = B.ListSeparator_woc;
42866 else if (t1 === "comma")
42867 separator = B.ListSeparator_kWM;
42868 else {
42869 if (t1 !== "slash")
42870 throw A.wrapException(A.SassScriptException$(string$.x24separ));
42871 separator = B.ListSeparator_1gm;
42872 }
42873 t1 = A.List_List$of(list.get$asList(), true, type$.Value);
42874 t1.push(value);
42875 return list.withListContents$2$separator(t1, separator);
42876 },
42877 $signature: 21
42878 };
42879 A._zip_closure.prototype = {
42880 call$1($arguments) {
42881 var results, result, _box_0 = {},
42882 t1 = J.$index$asx($arguments, 0).get$asList(),
42883 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
42884 lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
42885 if (lists.length === 0)
42886 return B.SassList_yfz;
42887 _box_0.i = 0;
42888 results = A._setArrayType([], type$.JSArray_SassList);
42889 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));) {
42890 result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
42891 result.fixed$length = Array;
42892 result.immutable$list = Array;
42893 results.push(new A.SassList(result, B.ListSeparator_woc, false));
42894 ++_box_0.i;
42895 }
42896 return A.SassList$(results, B.ListSeparator_kWM, false);
42897 },
42898 $signature: 21
42899 };
42900 A._zip__closure.prototype = {
42901 call$1(list) {
42902 return list.get$asList();
42903 },
42904 $signature: 289
42905 };
42906 A._zip__closure0.prototype = {
42907 call$1(list) {
42908 return this._box_0.i !== J.get$length$asx(list);
42909 },
42910 $signature: 291
42911 };
42912 A._zip__closure1.prototype = {
42913 call$1(list) {
42914 return J.$index$asx(list, this._box_0.i);
42915 },
42916 $signature: 4
42917 };
42918 A._index_closure0.prototype = {
42919 call$1($arguments) {
42920 var t1 = J.getInterceptor$asx($arguments),
42921 index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
42922 if (index === -1)
42923 t1 = B.C__SassNull;
42924 else
42925 t1 = new A.UnitlessSassNumber(index + 1, null);
42926 return t1;
42927 },
42928 $signature: 4
42929 };
42930 A._separator_closure.prototype = {
42931 call$1($arguments) {
42932 switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
42933 case B.ListSeparator_kWM:
42934 return new A.SassString("comma", false);
42935 case B.ListSeparator_1gm:
42936 return new A.SassString("slash", false);
42937 default:
42938 return new A.SassString("space", false);
42939 }
42940 },
42941 $signature: 13
42942 };
42943 A._isBracketed_closure.prototype = {
42944 call$1($arguments) {
42945 return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
42946 },
42947 $signature: 17
42948 };
42949 A._slash_closure.prototype = {
42950 call$1($arguments) {
42951 var list = J.$index$asx($arguments, 0).get$asList();
42952 if (list.length < 2)
42953 throw A.wrapException(A.SassScriptException$("At least two elements are required."));
42954 return A.SassList$(list, B.ListSeparator_1gm, false);
42955 },
42956 $signature: 21
42957 };
42958 A._get_closure.prototype = {
42959 call$1($arguments) {
42960 var t3, value,
42961 t1 = J.getInterceptor$asx($arguments),
42962 map = t1.$index($arguments, 0).assertMap$1("map"),
42963 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
42964 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
42965 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) {
42966 value = map._map$_contents.$index(0, t3._as(t1.__internal$_current));
42967 if (!(value instanceof A.SassMap))
42968 return B.C__SassNull;
42969 }
42970 t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
42971 return t1 == null ? B.C__SassNull : t1;
42972 },
42973 $signature: 4
42974 };
42975 A._set_closure.prototype = {
42976 call$1($arguments) {
42977 var t1 = J.getInterceptor$asx($arguments);
42978 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);
42979 },
42980 $signature: 4
42981 };
42982 A._set__closure0.prototype = {
42983 call$1(_) {
42984 return J.$index$asx(this.$arguments, 2);
42985 },
42986 $signature: 39
42987 };
42988 A._set_closure0.prototype = {
42989 call$1($arguments) {
42990 var t1 = J.getInterceptor$asx($arguments),
42991 map = t1.$index($arguments, 0).assertMap$1("map"),
42992 args = t1.$index($arguments, 1).get$asList();
42993 t1 = args.length;
42994 if (t1 === 0)
42995 throw A.wrapException(A.SassScriptException$("Expected $args to contain a key."));
42996 else if (t1 === 1)
42997 throw A.wrapException(A.SassScriptException$("Expected $args to contain a value."));
42998 return A._modify(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure(args), true);
42999 },
43000 $signature: 4
43001 };
43002 A._set__closure.prototype = {
43003 call$1(_) {
43004 return B.JSArray_methods.get$last(this.args);
43005 },
43006 $signature: 39
43007 };
43008 A._merge_closure.prototype = {
43009 call$1($arguments) {
43010 var t2, t3, t4,
43011 t1 = J.getInterceptor$asx($arguments),
43012 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
43013 map2 = t1.$index($arguments, 1).assertMap$1("map2");
43014 t1 = type$.Value;
43015 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43016 for (t3 = map1._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43017 t4 = t3.get$current(t3);
43018 t2.$indexSet(0, t4.key, t4.value);
43019 }
43020 for (t3 = map2._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43021 t4 = t3.get$current(t3);
43022 t2.$indexSet(0, t4.key, t4.value);
43023 }
43024 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43025 },
43026 $signature: 40
43027 };
43028 A._merge_closure0.prototype = {
43029 call$1($arguments) {
43030 var map2,
43031 t1 = J.getInterceptor$asx($arguments),
43032 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
43033 args = t1.$index($arguments, 1).get$asList();
43034 t1 = args.length;
43035 if (t1 === 0)
43036 throw A.wrapException(A.SassScriptException$("Expected $args to contain a key."));
43037 else if (t1 === 1)
43038 throw A.wrapException(A.SassScriptException$("Expected $args to contain a map."));
43039 map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
43040 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);
43041 },
43042 $signature: 4
43043 };
43044 A._merge__closure.prototype = {
43045 call$1(oldValue) {
43046 var t1, t2, t3, t4,
43047 nestedMap = oldValue.tryMap$0();
43048 if (nestedMap == null)
43049 return this.map2;
43050 t1 = type$.Value;
43051 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43052 for (t3 = nestedMap._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43053 t4 = t3.get$current(t3);
43054 t2.$indexSet(0, t4.key, t4.value);
43055 }
43056 for (t3 = this.map2._map$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43057 t4 = t3.get$current(t3);
43058 t2.$indexSet(0, t4.key, t4.value);
43059 }
43060 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43061 },
43062 $signature: 296
43063 };
43064 A._deepMerge_closure.prototype = {
43065 call$1($arguments) {
43066 var t1 = J.getInterceptor$asx($arguments);
43067 return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
43068 },
43069 $signature: 40
43070 };
43071 A._deepRemove_closure.prototype = {
43072 call$1($arguments) {
43073 var t1 = J.getInterceptor$asx($arguments),
43074 map = t1.$index($arguments, 0).assertMap$1("map"),
43075 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43076 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43077 return A._modify(map, A.SubListIterable$(t2, 0, A.checkNotNullable(t2.length - 1, "count", type$.int), type$.Value), new A._deepRemove__closure(t2), false);
43078 },
43079 $signature: 4
43080 };
43081 A._deepRemove__closure.prototype = {
43082 call$1(value) {
43083 var t1, t2,
43084 nestedMap = value.tryMap$0();
43085 if (nestedMap != null && nestedMap._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
43086 t1 = type$.Value;
43087 t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
43088 t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
43089 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43090 }
43091 return value;
43092 },
43093 $signature: 39
43094 };
43095 A._remove_closure.prototype = {
43096 call$1($arguments) {
43097 return J.$index$asx($arguments, 0).assertMap$1("map");
43098 },
43099 $signature: 40
43100 };
43101 A._remove_closure0.prototype = {
43102 call$1($arguments) {
43103 var mutableMap, t3, _i,
43104 t1 = J.getInterceptor$asx($arguments),
43105 map = t1.$index($arguments, 0).assertMap$1("map"),
43106 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43107 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43108 t1 = type$.Value;
43109 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
43110 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
43111 mutableMap.remove$1(0, t2[_i]);
43112 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43113 },
43114 $signature: 40
43115 };
43116 A._keys_closure.prototype = {
43117 call$1($arguments) {
43118 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
43119 return A.SassList$(t1.get$keys(t1), B.ListSeparator_kWM, false);
43120 },
43121 $signature: 21
43122 };
43123 A._values_closure.prototype = {
43124 call$1($arguments) {
43125 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
43126 return A.SassList$(t1.get$values(t1), B.ListSeparator_kWM, false);
43127 },
43128 $signature: 21
43129 };
43130 A._hasKey_closure.prototype = {
43131 call$1($arguments) {
43132 var t3, value,
43133 t1 = J.getInterceptor$asx($arguments),
43134 map = t1.$index($arguments, 0).assertMap$1("map"),
43135 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
43136 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
43137 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) {
43138 value = map._map$_contents.$index(0, t3._as(t1.__internal$_current));
43139 if (!(value instanceof A.SassMap))
43140 return B.SassBoolean_false;
43141 }
43142 return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
43143 },
43144 $signature: 17
43145 };
43146 A._modify__modifyNestedMap.prototype = {
43147 call$1(map) {
43148 var nestedMap, _this = this,
43149 t1 = type$.Value,
43150 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
43151 t2 = _this.keyIterator,
43152 key = t2.get$current(t2);
43153 if (!t2.moveNext$0()) {
43154 t2 = mutableMap.$index(0, key);
43155 if (t2 == null)
43156 t2 = B.C__SassNull;
43157 mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
43158 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43159 }
43160 t2 = mutableMap.$index(0, key);
43161 nestedMap = t2 == null ? null : t2.tryMap$0();
43162 t2 = nestedMap == null;
43163 if (t2 && !_this.addNesting)
43164 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43165 mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
43166 return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
43167 },
43168 $signature: 300
43169 };
43170 A._deepMergeImpl__ensureMutable.prototype = {
43171 call$0() {
43172 var t2,
43173 t1 = this._box_0;
43174 if (t1.mutable)
43175 return;
43176 t1.mutable = true;
43177 t2 = type$.Value;
43178 t1.result = A.LinkedHashMap_LinkedHashMap$of(t1.result, t2, t2);
43179 },
43180 $signature: 0
43181 };
43182 A._deepMergeImpl_closure.prototype = {
43183 call$2(key, value) {
43184 var resultMap, valueMap, merged,
43185 t1 = this._box_0,
43186 resultValue = t1.result.$index(0, key);
43187 if (resultValue == null) {
43188 this._ensureMutable.call$0();
43189 t1.result.$indexSet(0, key, value);
43190 } else {
43191 resultMap = resultValue.tryMap$0();
43192 valueMap = value.tryMap$0();
43193 if (resultMap != null && valueMap != null) {
43194 merged = A._deepMergeImpl(valueMap, resultMap);
43195 if (merged === resultMap)
43196 return;
43197 this._ensureMutable.call$0();
43198 t1.result.$indexSet(0, key, merged);
43199 }
43200 }
43201 },
43202 $signature: 50
43203 };
43204 A._ceil_closure.prototype = {
43205 call$1(value) {
43206 return B.JSNumber_methods.ceil$0(value);
43207 },
43208 $signature: 43
43209 };
43210 A._clamp_closure.prototype = {
43211 call$1($arguments) {
43212 var t1 = J.getInterceptor$asx($arguments),
43213 min = t1.$index($arguments, 0).assertNumber$1("min"),
43214 number = t1.$index($arguments, 1).assertNumber$1("number"),
43215 max = t1.$index($arguments, 2).assertNumber$1("max");
43216 number.convertValueToMatch$3(min, "number", "min");
43217 max.convertValueToMatch$3(min, "max", "min");
43218 if (min.greaterThanOrEquals$1(max).value)
43219 return min;
43220 if (min.greaterThanOrEquals$1(number).value)
43221 return min;
43222 if (number.greaterThanOrEquals$1(max).value)
43223 return max;
43224 return number;
43225 },
43226 $signature: 9
43227 };
43228 A._floor_closure.prototype = {
43229 call$1(value) {
43230 return B.JSNumber_methods.floor$0(value);
43231 },
43232 $signature: 43
43233 };
43234 A._max_closure.prototype = {
43235 call$1($arguments) {
43236 var t1, t2, max, _i, number;
43237 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) {
43238 number = t1[_i].assertNumber$0();
43239 if (max == null || max.lessThan$1(number).value)
43240 max = number;
43241 }
43242 if (max != null)
43243 return max;
43244 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43245 },
43246 $signature: 9
43247 };
43248 A._min_closure.prototype = {
43249 call$1($arguments) {
43250 var t1, t2, min, _i, number;
43251 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) {
43252 number = t1[_i].assertNumber$0();
43253 if (min == null || min.greaterThan$1(number).value)
43254 min = number;
43255 }
43256 if (min != null)
43257 return min;
43258 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43259 },
43260 $signature: 9
43261 };
43262 A._abs_closure.prototype = {
43263 call$1(value) {
43264 return Math.abs(value);
43265 },
43266 $signature: 77
43267 };
43268 A._hypot_closure.prototype = {
43269 call$1($arguments) {
43270 var subtotal, i, i0, t3, t4,
43271 t1 = J.$index$asx($arguments, 0).get$asList(),
43272 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
43273 numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
43274 t1 = numbers.length;
43275 if (t1 === 0)
43276 throw A.wrapException(A.SassScriptException$("At least one argument must be passed."));
43277 for (subtotal = 0, i = 0; i < t1; i = i0) {
43278 i0 = i + 1;
43279 subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
43280 }
43281 t1 = Math.sqrt(subtotal);
43282 t2 = numbers[0];
43283 t3 = J.getInterceptor$x(t2);
43284 t4 = t3.get$numeratorUnits(t2);
43285 return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t2), t4);
43286 },
43287 $signature: 9
43288 };
43289 A._hypot__closure.prototype = {
43290 call$1(argument) {
43291 return argument.assertNumber$0();
43292 },
43293 $signature: 312
43294 };
43295 A._log_closure.prototype = {
43296 call$1($arguments) {
43297 var numberValue, base, baseValue, t2,
43298 _s18_ = " to have no units.",
43299 t1 = J.getInterceptor$asx($arguments),
43300 number = t1.$index($arguments, 0).assertNumber$1("number");
43301 if (number.get$hasUnits())
43302 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_));
43303 numberValue = A._fuzzyRoundIfZero(number._number$_value);
43304 if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull)) {
43305 t1 = Math.log(numberValue);
43306 return new A.UnitlessSassNumber(t1, null);
43307 }
43308 base = t1.$index($arguments, 1).assertNumber$1("base");
43309 if (base.get$hasUnits())
43310 throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_));
43311 t1 = base._number$_value;
43312 baseValue = Math.abs(t1 - 1) < $.$get$epsilon() ? A.fuzzyRound(t1) : A._fuzzyRoundIfZero(t1);
43313 t1 = Math.log(numberValue);
43314 t2 = Math.log(baseValue);
43315 return new A.UnitlessSassNumber(t1 / t2, null);
43316 },
43317 $signature: 9
43318 };
43319 A._pow_closure.prototype = {
43320 call$1($arguments) {
43321 var baseValue, exponentValue, t2, intExponent, t3,
43322 _s18_ = " to have no units.",
43323 _null = null,
43324 t1 = J.getInterceptor$asx($arguments),
43325 base = t1.$index($arguments, 0).assertNumber$1("base"),
43326 exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
43327 if (base.get$hasUnits())
43328 throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_));
43329 else if (exponent.get$hasUnits())
43330 throw A.wrapException(A.SassScriptException$("$exponent: Expected " + exponent.toString$0(0) + _s18_));
43331 baseValue = A._fuzzyRoundIfZero(base._number$_value);
43332 exponentValue = A._fuzzyRoundIfZero(exponent._number$_value);
43333 t1 = $.$get$epsilon();
43334 if (Math.abs(Math.abs(baseValue) - 1) < t1)
43335 t2 = exponentValue == 1 / 0 || exponentValue == -1 / 0;
43336 else
43337 t2 = false;
43338 if (t2)
43339 return new A.UnitlessSassNumber(0 / 0, _null);
43340 else {
43341 t2 = Math.abs(baseValue - 0);
43342 if (t2 < t1) {
43343 if (isFinite(exponentValue)) {
43344 intExponent = A.fuzzyIsInt(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
43345 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
43346 exponentValue = A.fuzzyRound(exponentValue);
43347 }
43348 } else {
43349 if (isFinite(baseValue))
43350 t3 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue) && A.fuzzyIsInt(exponentValue);
43351 else
43352 t3 = false;
43353 if (t3)
43354 exponentValue = A.fuzzyRound(exponentValue);
43355 else {
43356 if (baseValue == 1 / 0 || baseValue == -1 / 0)
43357 t1 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue);
43358 else
43359 t1 = false;
43360 if (t1) {
43361 intExponent = A.fuzzyIsInt(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
43362 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
43363 exponentValue = A.fuzzyRound(exponentValue);
43364 }
43365 }
43366 }
43367 }
43368 t1 = Math.pow(baseValue, exponentValue);
43369 return new A.UnitlessSassNumber(t1, _null);
43370 },
43371 $signature: 9
43372 };
43373 A._sqrt_closure.prototype = {
43374 call$1($arguments) {
43375 var t1,
43376 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43377 if (number.get$hasUnits())
43378 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43379 t1 = Math.sqrt(A._fuzzyRoundIfZero(number._number$_value));
43380 return new A.UnitlessSassNumber(t1, null);
43381 },
43382 $signature: 9
43383 };
43384 A._acos_closure.prototype = {
43385 call$1($arguments) {
43386 var numberValue,
43387 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43388 if (number.get$hasUnits())
43389 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43390 numberValue = number._number$_value;
43391 if (Math.abs(Math.abs(numberValue) - 1) < $.$get$epsilon())
43392 numberValue = A.fuzzyRound(numberValue);
43393 return A.SassNumber_SassNumber$withUnits(Math.acos(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43394 },
43395 $signature: 9
43396 };
43397 A._asin_closure.prototype = {
43398 call$1($arguments) {
43399 var t1, numberValue,
43400 number = J.$index$asx($arguments, 0).assertNumber$1("number");
43401 if (number.get$hasUnits())
43402 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43403 t1 = number._number$_value;
43404 numberValue = Math.abs(Math.abs(t1) - 1) < $.$get$epsilon() ? A.fuzzyRound(t1) : A._fuzzyRoundIfZero(t1);
43405 return A.SassNumber_SassNumber$withUnits(Math.asin(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43406 },
43407 $signature: 9
43408 };
43409 A._atan_closure.prototype = {
43410 call$1($arguments) {
43411 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
43412 if (number.get$hasUnits())
43413 throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units."));
43414 return A.SassNumber_SassNumber$withUnits(Math.atan(A._fuzzyRoundIfZero(number._number$_value)) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43415 },
43416 $signature: 9
43417 };
43418 A._atan2_closure.prototype = {
43419 call$1($arguments) {
43420 var t1 = J.getInterceptor$asx($arguments),
43421 y = t1.$index($arguments, 0).assertNumber$1("y"),
43422 xValue = A._fuzzyRoundIfZero(t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y"));
43423 return A.SassNumber_SassNumber$withUnits(Math.atan2(A._fuzzyRoundIfZero(y._number$_value), xValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
43424 },
43425 $signature: 9
43426 };
43427 A._cos_closure.prototype = {
43428 call$1($arguments) {
43429 var t1 = Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"));
43430 return new A.UnitlessSassNumber(t1, null);
43431 },
43432 $signature: 9
43433 };
43434 A._sin_closure.prototype = {
43435 call$1($arguments) {
43436 var t1 = Math.sin(A._fuzzyRoundIfZero(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")));
43437 return new A.UnitlessSassNumber(t1, null);
43438 },
43439 $signature: 9
43440 };
43441 A._tan_closure.prototype = {
43442 call$1($arguments) {
43443 var value = J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"),
43444 t1 = B.JSNumber_methods.$mod(value - 1.5707963267948966, 6.283185307179586),
43445 t2 = $.$get$epsilon();
43446 if (Math.abs(t1 - 0) < t2)
43447 return new A.UnitlessSassNumber(1 / 0, null);
43448 else if (Math.abs(B.JSNumber_methods.$mod(value + 1.5707963267948966, 6.283185307179586) - 0) < t2)
43449 return new A.UnitlessSassNumber(-1 / 0, null);
43450 else {
43451 t1 = Math.tan(A._fuzzyRoundIfZero(value));
43452 return new A.UnitlessSassNumber(t1, null);
43453 }
43454 },
43455 $signature: 9
43456 };
43457 A._compatible_closure.prototype = {
43458 call$1($arguments) {
43459 var t1 = J.getInterceptor$asx($arguments);
43460 return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
43461 },
43462 $signature: 17
43463 };
43464 A._isUnitless_closure.prototype = {
43465 call$1($arguments) {
43466 return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
43467 },
43468 $signature: 17
43469 };
43470 A._unit_closure.prototype = {
43471 call$1($arguments) {
43472 return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
43473 },
43474 $signature: 13
43475 };
43476 A._percentage_closure.prototype = {
43477 call$1($arguments) {
43478 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
43479 number.assertNoUnits$1("number");
43480 return new A.SingleUnitSassNumber("%", number._number$_value * 100, null);
43481 },
43482 $signature: 9
43483 };
43484 A._randomFunction_closure.prototype = {
43485 call$1($arguments) {
43486 var limit,
43487 t1 = J.getInterceptor$asx($arguments);
43488 if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull)) {
43489 t1 = $.$get$_random0().nextDouble$0();
43490 return new A.UnitlessSassNumber(t1, null);
43491 }
43492 limit = t1.$index($arguments, 0).assertNumber$1("limit").assertInt$1("limit");
43493 if (limit < 1)
43494 throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit + "."));
43495 t1 = $.$get$_random0().nextInt$1(limit);
43496 return new A.UnitlessSassNumber(t1 + 1, null);
43497 },
43498 $signature: 9
43499 };
43500 A._div_closure.prototype = {
43501 call$1($arguments) {
43502 var t1 = J.getInterceptor$asx($arguments),
43503 number1 = t1.$index($arguments, 0),
43504 number2 = t1.$index($arguments, 1);
43505 if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
43506 A.EvaluationContext_current().warn$2$deprecation(0, string$.math_d, false);
43507 return number1.dividedBy$1(number2);
43508 },
43509 $signature: 4
43510 };
43511 A._numberFunction_closure.prototype = {
43512 call$1($arguments) {
43513 var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
43514 t1 = this.transform.call$1(number._number$_value),
43515 t2 = number.get$numeratorUnits(number);
43516 return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
43517 },
43518 $signature: 9
43519 };
43520 A.global_closure26.prototype = {
43521 call$1($arguments) {
43522 return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
43523 },
43524 $signature: 17
43525 };
43526 A.global_closure27.prototype = {
43527 call$1($arguments) {
43528 return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
43529 },
43530 $signature: 13
43531 };
43532 A.global_closure28.prototype = {
43533 call$1($arguments) {
43534 var value = J.$index$asx($arguments, 0);
43535 if (value instanceof A.SassArgumentList)
43536 return new A.SassString("arglist", false);
43537 if (value instanceof A.SassBoolean)
43538 return new A.SassString("bool", false);
43539 if (value instanceof A.SassColor)
43540 return new A.SassString("color", false);
43541 if (value instanceof A.SassList)
43542 return new A.SassString("list", false);
43543 if (value instanceof A.SassMap)
43544 return new A.SassString("map", false);
43545 if (value.$eq(0, B.C__SassNull))
43546 return new A.SassString("null", false);
43547 if (value instanceof A.SassNumber)
43548 return new A.SassString("number", false);
43549 if (value instanceof A.SassFunction)
43550 return new A.SassString("function", false);
43551 if (value instanceof A.SassCalculation)
43552 return new A.SassString("calculation", false);
43553 return new A.SassString("string", false);
43554 },
43555 $signature: 13
43556 };
43557 A.global_closure29.prototype = {
43558 call$1($arguments) {
43559 var t1, t2, t3, t4,
43560 argumentList = J.$index$asx($arguments, 0);
43561 if (argumentList instanceof A.SassArgumentList) {
43562 t1 = type$.Value;
43563 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
43564 for (argumentList._wereKeywordsAccessed = true, t3 = argumentList._keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43565 t4 = t3.get$current(t3);
43566 t2.$indexSet(0, new A.SassString(t4.key, false), t4.value);
43567 }
43568 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
43569 } else
43570 throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
43571 },
43572 $signature: 40
43573 };
43574 A.local_closure.prototype = {
43575 call$1($arguments) {
43576 return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
43577 },
43578 $signature: 13
43579 };
43580 A.local_closure0.prototype = {
43581 call$1($arguments) {
43582 var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
43583 return A.SassList$(new A.MappedListIterable(t1, new A.local__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
43584 },
43585 $signature: 21
43586 };
43587 A.local__closure.prototype = {
43588 call$1(argument) {
43589 if (argument instanceof A.Value)
43590 return argument;
43591 return new A.SassString(J.toString$0$(argument), false);
43592 },
43593 $signature: 313
43594 };
43595 A._nest_closure.prototype = {
43596 call$1($arguments) {
43597 var t1 = {},
43598 selectors = J.$index$asx($arguments, 0).get$asList();
43599 if (selectors.length === 0)
43600 throw A.wrapException(A.SassScriptException$(string$.x24selec));
43601 t1.first = true;
43602 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();
43603 },
43604 $signature: 21
43605 };
43606 A._nest__closure.prototype = {
43607 call$1(selector) {
43608 var t1 = this._box_0,
43609 result = selector.assertSelector$1$allowParent(!t1.first);
43610 t1.first = false;
43611 return result;
43612 },
43613 $signature: 183
43614 };
43615 A._nest__closure0.prototype = {
43616 call$2($parent, child) {
43617 return child.resolveParentSelectors$1($parent);
43618 },
43619 $signature: 184
43620 };
43621 A._append_closure.prototype = {
43622 call$1($arguments) {
43623 var selectors = J.$index$asx($arguments, 0).get$asList();
43624 if (selectors.length === 0)
43625 throw A.wrapException(A.SassScriptException$(string$.x24selec));
43626 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();
43627 },
43628 $signature: 21
43629 };
43630 A._append__closure.prototype = {
43631 call$1(selector) {
43632 return selector.assertSelector$0();
43633 },
43634 $signature: 183
43635 };
43636 A._append__closure0.prototype = {
43637 call$2($parent, child) {
43638 var t1 = child.components;
43639 return A.SelectorList$(new A.MappedListIterable(t1, new A._append___closure($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"))).resolveParentSelectors$1($parent);
43640 },
43641 $signature: 184
43642 };
43643 A._append___closure.prototype = {
43644 call$1(complex) {
43645 var newCompound, t2,
43646 t1 = complex.components,
43647 compound = B.JSArray_methods.get$first(t1);
43648 if (compound instanceof A.CompoundSelector) {
43649 newCompound = A._prependParent(compound);
43650 if (newCompound == null)
43651 throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
43652 t2 = A._setArrayType([newCompound], type$.JSArray_ComplexSelectorComponent);
43653 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
43654 return A.ComplexSelector$(t2, false);
43655 } else
43656 throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
43657 },
43658 $signature: 128
43659 };
43660 A._extend_closure.prototype = {
43661 call$1($arguments) {
43662 var t1 = J.getInterceptor$asx($arguments),
43663 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
43664 target = t1.$index($arguments, 1).assertSelector$1$name("extendee");
43665 return A.ExtensionStore__extendOrReplace(selector, t1.$index($arguments, 2).assertSelector$1$name("extender"), target, B.ExtendMode_allTargets, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
43666 },
43667 $signature: 21
43668 };
43669 A._replace_closure.prototype = {
43670 call$1($arguments) {
43671 var t1 = J.getInterceptor$asx($arguments),
43672 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
43673 target = t1.$index($arguments, 1).assertSelector$1$name("original");
43674 return A.ExtensionStore__extendOrReplace(selector, t1.$index($arguments, 2).assertSelector$1$name("replacement"), target, B.ExtendMode_replace, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
43675 },
43676 $signature: 21
43677 };
43678 A._unify_closure.prototype = {
43679 call$1($arguments) {
43680 var t1 = J.getInterceptor$asx($arguments),
43681 result = t1.$index($arguments, 0).assertSelector$1$name("selector1").unify$1(t1.$index($arguments, 1).assertSelector$1$name("selector2"));
43682 return result == null ? B.C__SassNull : result.get$asSassList();
43683 },
43684 $signature: 4
43685 };
43686 A._isSuperselector_closure.prototype = {
43687 call$1($arguments) {
43688 var t1 = J.getInterceptor$asx($arguments),
43689 selector1 = t1.$index($arguments, 0).assertSelector$1$name("super"),
43690 selector2 = t1.$index($arguments, 1).assertSelector$1$name("sub");
43691 return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
43692 },
43693 $signature: 17
43694 };
43695 A._simpleSelectors_closure.prototype = {
43696 call$1($arguments) {
43697 var t1 = J.$index$asx($arguments, 0).assertCompoundSelector$1$name("selector").components;
43698 return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_kWM, false);
43699 },
43700 $signature: 21
43701 };
43702 A._simpleSelectors__closure.prototype = {
43703 call$1(simple) {
43704 return new A.SassString(A.serializeSelector(simple, true), false);
43705 },
43706 $signature: 318
43707 };
43708 A._parse_closure.prototype = {
43709 call$1($arguments) {
43710 return J.$index$asx($arguments, 0).assertSelector$1$name("selector").get$asSassList();
43711 },
43712 $signature: 21
43713 };
43714 A._unquote_closure.prototype = {
43715 call$1($arguments) {
43716 var string = J.$index$asx($arguments, 0).assertString$1("string");
43717 if (!string._hasQuotes)
43718 return string;
43719 return new A.SassString(string._string$_text, false);
43720 },
43721 $signature: 13
43722 };
43723 A._quote_closure.prototype = {
43724 call$1($arguments) {
43725 var string = J.$index$asx($arguments, 0).assertString$1("string");
43726 if (string._hasQuotes)
43727 return string;
43728 return new A.SassString(string._string$_text, true);
43729 },
43730 $signature: 13
43731 };
43732 A._length_closure.prototype = {
43733 call$1($arguments) {
43734 var t1 = J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength();
43735 return new A.UnitlessSassNumber(t1, null);
43736 },
43737 $signature: 9
43738 };
43739 A._insert_closure.prototype = {
43740 call$1($arguments) {
43741 var indexInt, codeUnitIndex, _s5_ = "index",
43742 t1 = J.getInterceptor$asx($arguments),
43743 string = t1.$index($arguments, 0).assertString$1("string"),
43744 insert = t1.$index($arguments, 1).assertString$1("insert"),
43745 index = t1.$index($arguments, 2).assertNumber$1(_s5_);
43746 index.assertNoUnits$1(_s5_);
43747 indexInt = index.assertInt$1(_s5_);
43748 if (indexInt < 0)
43749 indexInt = string.get$_sassLength() + indexInt + 2;
43750 t1 = string._string$_text;
43751 codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
43752 return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
43753 },
43754 $signature: 13
43755 };
43756 A._index_closure.prototype = {
43757 call$1($arguments) {
43758 var codepointIndex,
43759 t1 = J.getInterceptor$asx($arguments),
43760 t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
43761 codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
43762 if (codeUnitIndex === -1)
43763 return B.C__SassNull;
43764 codepointIndex = A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex);
43765 return new A.UnitlessSassNumber(codepointIndex + 1, null);
43766 },
43767 $signature: 4
43768 };
43769 A._slice_closure.prototype = {
43770 call$1($arguments) {
43771 var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
43772 _s8_ = "start-at",
43773 t1 = J.getInterceptor$asx($arguments),
43774 string = t1.$index($arguments, 0).assertString$1("string"),
43775 start = t1.$index($arguments, 1).assertNumber$1(_s8_),
43776 end = t1.$index($arguments, 2).assertNumber$1("end-at");
43777 start.assertNoUnits$1(_s8_);
43778 end.assertNoUnits$1("end-at");
43779 lengthInCodepoints = string.get$_sassLength();
43780 endInt = end.assertInt$0();
43781 if (endInt === 0)
43782 return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
43783 startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
43784 endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
43785 if (endCodepoint === lengthInCodepoints)
43786 --endCodepoint;
43787 if (endCodepoint < startCodepoint)
43788 return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
43789 t1 = string._string$_text;
43790 return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
43791 },
43792 $signature: 13
43793 };
43794 A._toUpperCase_closure.prototype = {
43795 call$1($arguments) {
43796 var t1, t2, i, t3, t4,
43797 string = J.$index$asx($arguments, 0).assertString$1("string");
43798 for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
43799 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
43800 t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
43801 }
43802 return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
43803 },
43804 $signature: 13
43805 };
43806 A._toLowerCase_closure.prototype = {
43807 call$1($arguments) {
43808 var t1, t2, i, t3, t4,
43809 string = J.$index$asx($arguments, 0).assertString$1("string");
43810 for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
43811 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
43812 t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
43813 }
43814 return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
43815 },
43816 $signature: 13
43817 };
43818 A._uniqueId_closure.prototype = {
43819 call$1($arguments) {
43820 var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
43821 $._previousUniqueId = t1;
43822 if (t1 > Math.pow(36, 6))
43823 $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
43824 return new A.SassString("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId(), 36), 6, "0"), false);
43825 },
43826 $signature: 13
43827 };
43828 A.ImportCache.prototype = {
43829 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
43830 var relativeResult, _this = this;
43831 if (baseImporter != null) {
43832 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));
43833 if (relativeResult != null)
43834 return relativeResult;
43835 }
43836 return _this._canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure0(_this, url, forImport));
43837 },
43838 canonicalize$3$baseImporter$baseUrl($receiver, url, baseImporter, baseUrl) {
43839 return this.canonicalize$4$baseImporter$baseUrl$forImport($receiver, url, baseImporter, baseUrl, false);
43840 },
43841 _canonicalize$3(importer, url, forImport) {
43842 var t1, result;
43843 if (forImport) {
43844 t1 = type$.nullable_Object;
43845 result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
43846 } else
43847 result = importer.canonicalize$1(0, url);
43848 if ((result == null ? null : result.get$scheme()) === "")
43849 this._logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
43850 return result;
43851 },
43852 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
43853 return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl, quiet));
43854 },
43855 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
43856 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
43857 },
43858 importCanonical$2(importer, canonicalUrl) {
43859 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, null, false);
43860 },
43861 humanize$1(canonicalUrl) {
43862 var t2, url,
43863 t1 = this._canonicalizeCache;
43864 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri);
43865 t2 = t1.$ti;
43866 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());
43867 if (url == null)
43868 return canonicalUrl;
43869 t1 = $.$get$url();
43870 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
43871 },
43872 sourceMapUrl$1(_, canonicalUrl) {
43873 var t1 = this._resultsCache.$index(0, canonicalUrl);
43874 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
43875 return t1 == null ? canonicalUrl : t1;
43876 },
43877 clearCanonicalize$1(url) {
43878 var t3, t4, _i,
43879 t1 = this._canonicalizeCache,
43880 t2 = type$.Tuple2_Uri_bool;
43881 t1.remove$1(0, new A.Tuple2(url, false, t2));
43882 t1.remove$1(0, new A.Tuple2(url, true, t2));
43883 t2 = A._setArrayType([], type$.JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri);
43884 for (t1 = this._relativeCanonicalizeCache, t3 = t1.get$keys(t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
43885 t4 = t3.get$current(t3);
43886 if (t4.item1.$eq(0, url))
43887 t2.push(t4);
43888 }
43889 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
43890 t1.remove$1(0, t2[_i]);
43891 },
43892 clearImport$1(canonicalUrl) {
43893 this._resultsCache.remove$1(0, canonicalUrl);
43894 this._importCache.remove$1(0, canonicalUrl);
43895 }
43896 };
43897 A.ImportCache_canonicalize_closure.prototype = {
43898 call$0() {
43899 var canonicalUrl, _this = this,
43900 t1 = _this.baseUrl,
43901 resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
43902 if (resolvedUrl == null)
43903 resolvedUrl = _this.url;
43904 t1 = _this.baseImporter;
43905 canonicalUrl = _this.$this._canonicalize$3(t1, resolvedUrl, _this.forImport);
43906 if (canonicalUrl != null)
43907 return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri);
43908 },
43909 $signature: 80
43910 };
43911 A.ImportCache_canonicalize_closure0.prototype = {
43912 call$0() {
43913 var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
43914 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) {
43915 importer = t2[_i];
43916 canonicalUrl = t1._canonicalize$3(importer, t4, t5);
43917 if (canonicalUrl != null)
43918 return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri);
43919 }
43920 return null;
43921 },
43922 $signature: 80
43923 };
43924 A.ImportCache__canonicalize_closure.prototype = {
43925 call$0() {
43926 return this.importer.canonicalize$1(0, this.url);
43927 },
43928 $signature: 185
43929 };
43930 A.ImportCache_importCanonical_closure.prototype = {
43931 call$0() {
43932 var t3, _this = this,
43933 t1 = _this.canonicalUrl,
43934 result = _this.importer.load$1(0, t1),
43935 t2 = _this.$this;
43936 t2._resultsCache.$indexSet(0, t1, result);
43937 t3 = _this.originalUrl;
43938 t1 = t3 == null ? t1 : t3.resolveUri$1(t1);
43939 t2 = _this.quiet ? $.$get$Logger_quiet() : t2._logger;
43940 return A.Stylesheet_Stylesheet$parse(result.contents, result.syntax, t2, t1);
43941 },
43942 $signature: 82
43943 };
43944 A.ImportCache_humanize_closure.prototype = {
43945 call$1(tuple) {
43946 return tuple.item2.$eq(0, this.canonicalUrl);
43947 },
43948 $signature: 323
43949 };
43950 A.ImportCache_humanize_closure0.prototype = {
43951 call$1(tuple) {
43952 return tuple.item3;
43953 },
43954 $signature: 325
43955 };
43956 A.ImportCache_humanize_closure1.prototype = {
43957 call$1(url) {
43958 return url.get$path(url).length;
43959 },
43960 $signature: 74
43961 };
43962 A.Importer.prototype = {
43963 modificationTime$1(url) {
43964 return new A.DateTime(Date.now(), false);
43965 },
43966 couldCanonicalize$2(url, canonicalUrl) {
43967 return true;
43968 }
43969 };
43970 A.AsyncImporter.prototype = {};
43971 A.FilesystemImporter.prototype = {
43972 canonicalize$1(_, url) {
43973 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
43974 return null;
43975 return A.NullableExtension_andThen(A.resolveImportPath(A.join(this._loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure());
43976 },
43977 load$1(_, url) {
43978 var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
43979 t1 = A.readFile(path),
43980 t2 = A.Syntax_forPath(path),
43981 t3 = url.get$scheme();
43982 if (t3 === "")
43983 A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
43984 return new A.ImporterResult(t1, url, t2);
43985 },
43986 modificationTime$1(url) {
43987 return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
43988 },
43989 couldCanonicalize$2(url, canonicalUrl) {
43990 var t1, t2, t3, basename, canonicalBasename;
43991 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
43992 return false;
43993 if (canonicalUrl.get$scheme() !== "file")
43994 return false;
43995 t1 = $.$get$url();
43996 t2 = url.get$path(url);
43997 t3 = t1.style;
43998 basename = A.ParsedPath_ParsedPath$parse(t2, t3).get$basename();
43999 canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t3).get$basename();
44000 if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
44001 canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
44002 return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
44003 },
44004 toString$0(_) {
44005 return this._loadPath;
44006 }
44007 };
44008 A.FilesystemImporter_canonicalize_closure.prototype = {
44009 call$1(resolved) {
44010 var t1, t2, t0, _null = null;
44011 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
44012 t1 = $.$get$context();
44013 t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
44014 t0 = t2;
44015 t2 = t1;
44016 t1 = t0;
44017 } else {
44018 t1 = $.$get$context();
44019 t2 = t1.canonicalize$1(0, resolved);
44020 t0 = t2;
44021 t2 = t1;
44022 t1 = t0;
44023 }
44024 return t2.toUri$1(t1);
44025 },
44026 $signature: 178
44027 };
44028 A.ImporterResult.prototype = {
44029 get$sourceMapUrl(_) {
44030 return this._sourceMapUrl;
44031 }
44032 };
44033 A.resolveImportPath_closure.prototype = {
44034 call$0() {
44035 return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
44036 },
44037 $signature: 42
44038 };
44039 A.resolveImportPath_closure0.prototype = {
44040 call$0() {
44041 return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
44042 },
44043 $signature: 42
44044 };
44045 A._tryPathAsDirectory_closure.prototype = {
44046 call$0() {
44047 return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
44048 },
44049 $signature: 42
44050 };
44051 A._exactlyOne_closure.prototype = {
44052 call$1(path) {
44053 var t1 = $.$get$context();
44054 return " " + t1.prettyUri$1(t1.toUri$1(path));
44055 },
44056 $signature: 5
44057 };
44058 A.InterpolationBuffer.prototype = {
44059 writeCharCode$1(character) {
44060 this._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(character);
44061 return null;
44062 },
44063 add$1(_, expression) {
44064 this._flushText$0();
44065 this._interpolation_buffer$_contents.push(expression);
44066 },
44067 addInterpolation$1(interpolation) {
44068 var first, t1, _this = this,
44069 toAdd = interpolation.contents;
44070 if (toAdd.length === 0)
44071 return;
44072 first = B.JSArray_methods.get$first(toAdd);
44073 if (typeof first == "string") {
44074 _this._interpolation_buffer$_text._contents += first;
44075 toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
44076 }
44077 _this._flushText$0();
44078 t1 = _this._interpolation_buffer$_contents;
44079 B.JSArray_methods.addAll$1(t1, toAdd);
44080 if (typeof B.JSArray_methods.get$last(t1) == "string")
44081 _this._interpolation_buffer$_text._contents += A.S(t1.pop());
44082 },
44083 _flushText$0() {
44084 var t1 = this._interpolation_buffer$_text,
44085 t2 = t1._contents;
44086 if (t2.length === 0)
44087 return;
44088 this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
44089 t1._contents = "";
44090 },
44091 interpolation$1(span) {
44092 var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
44093 t2 = this._interpolation_buffer$_text._contents;
44094 if (t2.length !== 0)
44095 t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
44096 return A.Interpolation$(t1, span);
44097 },
44098 toString$0(_) {
44099 var t1, t2, _i, t3, element;
44100 for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
44101 element = t1[_i];
44102 t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
44103 }
44104 t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
44105 return t1.charCodeAt(0) == 0 ? t1 : t1;
44106 }
44107 };
44108 A._realCasePath_helper.prototype = {
44109 call$1(path) {
44110 var dirname = $.$get$context().dirname$1(path);
44111 if (dirname === path)
44112 return path;
44113 return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
44114 },
44115 $signature: 5
44116 };
44117 A._realCasePath_helper_closure.prototype = {
44118 call$0() {
44119 var matches, t2, exception,
44120 realDirname = this.helper.call$1(this.dirname),
44121 t1 = this.path,
44122 basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
44123 try {
44124 matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
44125 t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
44126 return t2;
44127 } catch (exception) {
44128 if (A.unwrapException(exception) instanceof A.FileSystemException)
44129 return t1;
44130 else
44131 throw exception;
44132 }
44133 },
44134 $signature: 30
44135 };
44136 A._realCasePath_helper__closure.prototype = {
44137 call$1(realPath) {
44138 return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
44139 },
44140 $signature: 6
44141 };
44142 A.FileSystemException.prototype = {
44143 toString$0(_) {
44144 var t1 = $.$get$context();
44145 return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
44146 },
44147 get$message(receiver) {
44148 return this.message;
44149 }
44150 };
44151 A.Stderr.prototype = {
44152 writeln$1(object) {
44153 J.write$1$x(this._stderr, A.S(object == null ? "" : object) + "\n");
44154 },
44155 writeln$0() {
44156 return this.writeln$1(null);
44157 }
44158 };
44159 A._readFile_closure.prototype = {
44160 call$0() {
44161 return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
44162 },
44163 $signature: 79
44164 };
44165 A.writeFile_closure.prototype = {
44166 call$0() {
44167 return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
44168 },
44169 $signature: 0
44170 };
44171 A.deleteFile_closure.prototype = {
44172 call$0() {
44173 return J.unlinkSync$1$x(A.fs(), this.path);
44174 },
44175 $signature: 0
44176 };
44177 A.readStdin_closure.prototype = {
44178 call$1(result) {
44179 this._box_0.contents = result;
44180 this.completer.complete$1(result);
44181 },
44182 $signature: 106
44183 };
44184 A.readStdin_closure0.prototype = {
44185 call$1(chunk) {
44186 this.sink.add$1(0, type$.List_int._as(chunk));
44187 },
44188 call$0() {
44189 return this.call$1(null);
44190 },
44191 "call*": "call$1",
44192 $requiredArgCount: 0,
44193 $defaultValues() {
44194 return [null];
44195 },
44196 $signature: 87
44197 };
44198 A.readStdin_closure1.prototype = {
44199 call$1(_) {
44200 this.sink.close$0(0);
44201 },
44202 call$0() {
44203 return this.call$1(null);
44204 },
44205 "call*": "call$1",
44206 $requiredArgCount: 0,
44207 $defaultValues() {
44208 return [null];
44209 },
44210 $signature: 87
44211 };
44212 A.readStdin_closure2.prototype = {
44213 call$1(e) {
44214 var t1 = $.$get$stderr();
44215 t1.writeln$1("Failed to read from stdin");
44216 t1.writeln$1(e);
44217 e.toString;
44218 this.completer.completeError$1(e);
44219 },
44220 call$0() {
44221 return this.call$1(null);
44222 },
44223 "call*": "call$1",
44224 $requiredArgCount: 0,
44225 $defaultValues() {
44226 return [null];
44227 },
44228 $signature: 87
44229 };
44230 A.fileExists_closure.prototype = {
44231 call$0() {
44232 var error, systemError, exception,
44233 t1 = this.path;
44234 if (!J.existsSync$1$x(A.fs(), t1))
44235 return false;
44236 try {
44237 t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
44238 return t1;
44239 } catch (exception) {
44240 error = A.unwrapException(exception);
44241 systemError = type$.JsSystemError._as(error);
44242 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
44243 return false;
44244 throw exception;
44245 }
44246 },
44247 $signature: 28
44248 };
44249 A.dirExists_closure.prototype = {
44250 call$0() {
44251 var error, systemError, exception,
44252 t1 = this.path;
44253 if (!J.existsSync$1$x(A.fs(), t1))
44254 return false;
44255 try {
44256 t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
44257 return t1;
44258 } catch (exception) {
44259 error = A.unwrapException(exception);
44260 systemError = type$.JsSystemError._as(error);
44261 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
44262 return false;
44263 throw exception;
44264 }
44265 },
44266 $signature: 28
44267 };
44268 A.ensureDir_closure.prototype = {
44269 call$0() {
44270 var error, systemError, exception, t1;
44271 try {
44272 J.mkdirSync$1$x(A.fs(), this.path);
44273 } catch (exception) {
44274 error = A.unwrapException(exception);
44275 systemError = type$.JsSystemError._as(error);
44276 if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
44277 return;
44278 if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
44279 throw exception;
44280 t1 = this.path;
44281 A.ensureDir($.$get$context().dirname$1(t1));
44282 J.mkdirSync$1$x(A.fs(), t1);
44283 }
44284 },
44285 $signature: 0
44286 };
44287 A.listDir_closure.prototype = {
44288 call$0() {
44289 var t1 = this.path;
44290 if (!this.recursive)
44291 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());
44292 else
44293 return new A.listDir_closure_list().call$1(t1);
44294 },
44295 $signature: 199
44296 };
44297 A.listDir__closure.prototype = {
44298 call$1(child) {
44299 return A.join(this.path, A._asString(child), null);
44300 },
44301 $signature: 92
44302 };
44303 A.listDir__closure0.prototype = {
44304 call$1(child) {
44305 return !A.dirExists(child);
44306 },
44307 $signature: 6
44308 };
44309 A.listDir_closure_list.prototype = {
44310 call$1($parent) {
44311 return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
44312 },
44313 $signature: 201
44314 };
44315 A.listDir__list_closure.prototype = {
44316 call$1(child) {
44317 var path = A.join(this.parent, A._asString(child), null);
44318 return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
44319 },
44320 $signature: 205
44321 };
44322 A.modificationTime_closure.prototype = {
44323 call$0() {
44324 var t2,
44325 t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
44326 if (Math.abs(t1) <= 864e13)
44327 t2 = false;
44328 else
44329 t2 = true;
44330 if (t2)
44331 A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + A.S(t1), null));
44332 A.checkNotNullable(false, "isUtc", type$.bool);
44333 return new A.DateTime(t1, false);
44334 },
44335 $signature: 208
44336 };
44337 A.watchDir_closure.prototype = {
44338 call$2(path, _) {
44339 var t1 = this._box_0.controller;
44340 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
44341 },
44342 call$1(path) {
44343 return this.call$2(path, null);
44344 },
44345 "call*": "call$2",
44346 $requiredArgCount: 1,
44347 $defaultValues() {
44348 return [null];
44349 },
44350 $signature: 223
44351 };
44352 A.watchDir_closure0.prototype = {
44353 call$2(path, _) {
44354 var t1 = this._box_0.controller;
44355 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
44356 },
44357 call$1(path) {
44358 return this.call$2(path, null);
44359 },
44360 "call*": "call$2",
44361 $requiredArgCount: 1,
44362 $defaultValues() {
44363 return [null];
44364 },
44365 $signature: 223
44366 };
44367 A.watchDir_closure1.prototype = {
44368 call$1(path) {
44369 var t1 = this._box_0.controller;
44370 return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
44371 },
44372 $signature: 106
44373 };
44374 A.watchDir_closure2.prototype = {
44375 call$1(error) {
44376 var t1 = this._box_0.controller;
44377 return t1 == null ? null : t1.addError$1(error);
44378 },
44379 $signature: 103
44380 };
44381 A.watchDir_closure3.prototype = {
44382 call$0() {
44383 var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
44384 this._box_0.controller = controller;
44385 this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
44386 },
44387 $signature: 1
44388 };
44389 A.watchDir__closure.prototype = {
44390 call$0() {
44391 J.close$0$x(this.watcher);
44392 },
44393 $signature: 1
44394 };
44395 A._QuietLogger.prototype = {
44396 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44397 },
44398 warn$1($receiver, message) {
44399 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
44400 },
44401 warn$2$span($receiver, message, span) {
44402 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44403 },
44404 warn$2$deprecation($receiver, message, deprecation) {
44405 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44406 },
44407 warn$3$deprecation$span($receiver, message, deprecation, span) {
44408 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44409 },
44410 warn$2$trace($receiver, message, trace) {
44411 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44412 },
44413 debug$2(_, message, span) {
44414 }
44415 };
44416 A.StderrLogger.prototype = {
44417 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44418 var t2, t3, t4,
44419 t1 = this.color;
44420 if (t1) {
44421 t2 = $.$get$stderr();
44422 t3 = t2._stderr;
44423 t4 = J.getInterceptor$x(t3);
44424 t4.write$1(t3, "\x1b[33m\x1b[1m");
44425 if (deprecation)
44426 t4.write$1(t3, "Deprecation ");
44427 t4.write$1(t3, "Warning\x1b[0m");
44428 } else {
44429 if (deprecation)
44430 J.write$1$x($.$get$stderr()._stderr, "DEPRECATION ");
44431 t2 = $.$get$stderr();
44432 J.write$1$x(t2._stderr, "WARNING");
44433 }
44434 if (span == null)
44435 t2.writeln$1(": " + message);
44436 else if (trace != null)
44437 t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
44438 else
44439 t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
44440 if (trace != null)
44441 t2.writeln$1(A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
44442 t2.writeln$0();
44443 },
44444 warn$1($receiver, message) {
44445 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
44446 },
44447 warn$2$span($receiver, message, span) {
44448 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44449 },
44450 warn$2$deprecation($receiver, message, deprecation) {
44451 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44452 },
44453 warn$3$deprecation$span($receiver, message, deprecation, span) {
44454 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44455 },
44456 warn$2$trace($receiver, message, trace) {
44457 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44458 },
44459 debug$2(_, message, span) {
44460 var url, t3, t4,
44461 t1 = span.file,
44462 t2 = span._file$_start;
44463 if (A.FileLocation$_(t1, t2).file.url == null)
44464 url = "-";
44465 else {
44466 t3 = A.FileLocation$_(t1, t2);
44467 url = $.$get$context().prettyUri$1(t3.file.url);
44468 }
44469 t3 = $.$get$stderr();
44470 t4 = url + ":";
44471 t2 = A.FileLocation$_(t1, t2);
44472 t2 = t4 + (t2.file.getLine$1(t2.offset) + 1) + " ";
44473 t4 = t3._stderr;
44474 t1 = J.getInterceptor$x(t4);
44475 t1.write$1(t4, t2);
44476 t1.write$1(t4, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
44477 t3.writeln$1(": " + message);
44478 }
44479 };
44480 A.TerseLogger.prototype = {
44481 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44482 var firstParagraph, t1, t2, count;
44483 if (deprecation) {
44484 firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
44485 t1 = this._warningCounts;
44486 t2 = t1.$index(0, firstParagraph);
44487 count = (t2 == null ? 0 : t2) + 1;
44488 t1.$indexSet(0, firstParagraph, count);
44489 if (count > 5)
44490 return;
44491 }
44492 this._inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
44493 },
44494 warn$2$span($receiver, message, span) {
44495 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44496 },
44497 warn$2$deprecation($receiver, message, deprecation) {
44498 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44499 },
44500 warn$3$deprecation$span($receiver, message, deprecation, span) {
44501 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44502 },
44503 warn$2$trace($receiver, message, trace) {
44504 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44505 },
44506 debug$2(_, message, span) {
44507 return this._inner.debug$2(0, message, span);
44508 },
44509 summarize$1$node(node) {
44510 var t2, total,
44511 t1 = this._warningCounts;
44512 t1 = t1.get$values(t1);
44513 t2 = A._instanceType(t1);
44514 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>")));
44515 if (total > 0) {
44516 t1 = "" + total + string$.x20repet;
44517 this._inner.warn$1(0, t1 + (node ? "" : string$.x0aRun_i));
44518 }
44519 }
44520 };
44521 A.TerseLogger_summarize_closure.prototype = {
44522 call$1(count) {
44523 return count > 5;
44524 },
44525 $signature: 56
44526 };
44527 A.TerseLogger_summarize_closure0.prototype = {
44528 call$1(count) {
44529 return count - 5;
44530 },
44531 $signature: 230
44532 };
44533 A.TrackingLogger.prototype = {
44534 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
44535 this._emittedWarning = true;
44536 this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
44537 },
44538 warn$2$span($receiver, message, span) {
44539 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
44540 },
44541 warn$2$deprecation($receiver, message, deprecation) {
44542 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
44543 },
44544 warn$3$deprecation$span($receiver, message, deprecation, span) {
44545 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
44546 },
44547 warn$2$trace($receiver, message, trace) {
44548 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
44549 },
44550 debug$2(_, message, span) {
44551 this._emittedDebug = true;
44552 this._tracking$_logger.debug$2(0, message, span);
44553 }
44554 };
44555 A.BuiltInModule.prototype = {
44556 get$upstream() {
44557 return B.List_empty3;
44558 },
44559 get$variableNodes() {
44560 return B.Map_empty0;
44561 },
44562 get$extensionStore() {
44563 return B.C_EmptyExtensionStore;
44564 },
44565 get$css(_) {
44566 return new A.CssStylesheet(B.List_empty0, A.SourceFile$decoded(B.List_empty1, this.url).span$2(0, 0, 0));
44567 },
44568 get$transitivelyContainsCss() {
44569 return false;
44570 },
44571 get$transitivelyContainsExtensions() {
44572 return false;
44573 },
44574 setVariable$3($name, value, nodeWithSpan) {
44575 if (!this.variables.containsKey$1($name))
44576 throw A.wrapException(A.SassScriptException$("Undefined variable."));
44577 throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable."));
44578 },
44579 variableIdentity$1($name) {
44580 return this;
44581 },
44582 cloneCss$0() {
44583 return this;
44584 },
44585 $isModule: 1,
44586 get$url(receiver) {
44587 return this.url;
44588 },
44589 get$functions(receiver) {
44590 return this.functions;
44591 },
44592 get$mixins() {
44593 return this.mixins;
44594 },
44595 get$variables() {
44596 return this.variables;
44597 }
44598 };
44599 A.ForwardedModuleView.prototype = {
44600 get$url(_) {
44601 var t1 = this._forwarded_view$_inner;
44602 return t1.get$url(t1);
44603 },
44604 get$upstream() {
44605 return this._forwarded_view$_inner.get$upstream();
44606 },
44607 get$extensionStore() {
44608 return this._forwarded_view$_inner.get$extensionStore();
44609 },
44610 get$css(_) {
44611 var t1 = this._forwarded_view$_inner;
44612 return t1.get$css(t1);
44613 },
44614 get$transitivelyContainsCss() {
44615 return this._forwarded_view$_inner.get$transitivelyContainsCss();
44616 },
44617 get$transitivelyContainsExtensions() {
44618 return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
44619 },
44620 setVariable$3($name, value, nodeWithSpan) {
44621 var prefix,
44622 _s19_ = "Undefined variable.",
44623 t1 = this._rule,
44624 shownVariables = t1.shownVariables,
44625 hiddenVariables = t1.hiddenVariables;
44626 if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
44627 throw A.wrapException(A.SassScriptException$(_s19_));
44628 else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
44629 throw A.wrapException(A.SassScriptException$(_s19_));
44630 prefix = t1.prefix;
44631 if (prefix != null) {
44632 if (!B.JSString_methods.startsWith$1($name, prefix))
44633 throw A.wrapException(A.SassScriptException$(_s19_));
44634 $name = B.JSString_methods.substring$1($name, prefix.length);
44635 }
44636 return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
44637 },
44638 variableIdentity$1($name) {
44639 var prefix = this._rule.prefix;
44640 if (prefix != null)
44641 $name = B.JSString_methods.substring$1($name, prefix.length);
44642 return this._forwarded_view$_inner.variableIdentity$1($name);
44643 },
44644 $eq(_, other) {
44645 if (other == null)
44646 return false;
44647 return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
44648 },
44649 get$hashCode(_) {
44650 var t1 = this._forwarded_view$_inner;
44651 return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
44652 },
44653 cloneCss$0() {
44654 return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
44655 },
44656 toString$0(_) {
44657 return "forwarded " + this._forwarded_view$_inner.toString$0(0);
44658 },
44659 $isModule: 1,
44660 get$variables() {
44661 return this.variables;
44662 },
44663 get$variableNodes() {
44664 return this.variableNodes;
44665 },
44666 get$functions(receiver) {
44667 return this.functions;
44668 },
44669 get$mixins() {
44670 return this.mixins;
44671 }
44672 };
44673 A.ShadowedModuleView.prototype = {
44674 get$url(_) {
44675 var t1 = this._shadowed_view$_inner;
44676 return t1.get$url(t1);
44677 },
44678 get$upstream() {
44679 return this._shadowed_view$_inner.get$upstream();
44680 },
44681 get$extensionStore() {
44682 return this._shadowed_view$_inner.get$extensionStore();
44683 },
44684 get$css(_) {
44685 var t1 = this._shadowed_view$_inner;
44686 return t1.get$css(t1);
44687 },
44688 get$transitivelyContainsCss() {
44689 return this._shadowed_view$_inner.get$transitivelyContainsCss();
44690 },
44691 get$transitivelyContainsExtensions() {
44692 return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
44693 },
44694 setVariable$3($name, value, nodeWithSpan) {
44695 if (!this.variables.containsKey$1($name))
44696 throw A.wrapException(A.SassScriptException$("Undefined variable."));
44697 else
44698 return this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
44699 },
44700 variableIdentity$1($name) {
44701 return this._shadowed_view$_inner.variableIdentity$1($name);
44702 },
44703 $eq(_, other) {
44704 var t1, t2, _this = this;
44705 if (other == null)
44706 return false;
44707 if (other instanceof A.ShadowedModuleView)
44708 if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
44709 t1 = _this.variables;
44710 t1 = t1.get$keys(t1);
44711 t2 = other.variables;
44712 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
44713 t1 = _this.functions;
44714 t1 = t1.get$keys(t1);
44715 t2 = other.functions;
44716 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
44717 t1 = _this.mixins;
44718 t1 = t1.get$keys(t1);
44719 t2 = other.mixins;
44720 t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
44721 t1 = t2;
44722 } else
44723 t1 = false;
44724 } else
44725 t1 = false;
44726 } else
44727 t1 = false;
44728 else
44729 t1 = false;
44730 return t1;
44731 },
44732 get$hashCode(_) {
44733 var t1 = this._shadowed_view$_inner;
44734 return t1.get$hashCode(t1);
44735 },
44736 cloneCss$0() {
44737 var _this = this;
44738 return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
44739 },
44740 toString$0(_) {
44741 return "shadowed " + this._shadowed_view$_inner.toString$0(0);
44742 },
44743 $isModule: 1,
44744 get$variables() {
44745 return this.variables;
44746 },
44747 get$variableNodes() {
44748 return this.variableNodes;
44749 },
44750 get$functions(receiver) {
44751 return this.functions;
44752 },
44753 get$mixins() {
44754 return this.mixins;
44755 }
44756 };
44757 A.JSArray0.prototype = {};
44758 A.Chokidar.prototype = {};
44759 A.ChokidarOptions.prototype = {};
44760 A.ChokidarWatcher.prototype = {};
44761 A.JSFunction.prototype = {};
44762 A.NodeImporterResult.prototype = {};
44763 A.RenderContext.prototype = {};
44764 A.RenderContextOptions.prototype = {};
44765 A.RenderContextResult.prototype = {};
44766 A.RenderContextResultStats.prototype = {};
44767 A.JSClass.prototype = {};
44768 A.JSUrl.prototype = {};
44769 A._PropertyDescriptor.prototype = {};
44770 A.AtRootQueryParser.prototype = {
44771 parse$0() {
44772 return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
44773 }
44774 };
44775 A.AtRootQueryParser_parse_closure.prototype = {
44776 call$0() {
44777 var include, atRules,
44778 t1 = this.$this,
44779 t2 = t1.scanner;
44780 t2.expectChar$1(40);
44781 t1.whitespace$0();
44782 include = t1.scanIdentifier$1("with");
44783 if (!include)
44784 t1.expectIdentifier$2$name("without", '"with" or "without"');
44785 t1.whitespace$0();
44786 t2.expectChar$1(58);
44787 t1.whitespace$0();
44788 atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
44789 do {
44790 atRules.add$1(0, t1.identifier$0().toLowerCase());
44791 t1.whitespace$0();
44792 } while (t1.lookingAtIdentifier$0());
44793 t2.expectChar$1(41);
44794 t2.expectDone$0();
44795 return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
44796 },
44797 $signature: 102
44798 };
44799 A._disallowedFunctionNames_closure.prototype = {
44800 call$1($function) {
44801 return $function.name;
44802 },
44803 $signature: 346
44804 };
44805 A.CssParser.prototype = {
44806 get$plainCss() {
44807 return true;
44808 },
44809 silentComment$0() {
44810 var t1 = this.scanner,
44811 t2 = t1._string_scanner$_position;
44812 this.super$Parser$silentComment();
44813 this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
44814 },
44815 atRule$2$root(child, root) {
44816 var $name, urlStart, next, url, urlSpan, queries, t2, t3, t4, t5, _this = this,
44817 t1 = _this.scanner,
44818 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
44819 t1.expectChar$1(64);
44820 $name = _this.interpolatedIdentifier$0();
44821 _this.whitespace$0();
44822 switch ($name.get$asPlain()) {
44823 case "at-root":
44824 case "content":
44825 case "debug":
44826 case "each":
44827 case "error":
44828 case "extend":
44829 case "for":
44830 case "function":
44831 case "if":
44832 case "include":
44833 case "mixin":
44834 case "return":
44835 case "warn":
44836 case "while":
44837 _this.almostAnyValue$0();
44838 _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
44839 break;
44840 case "import":
44841 urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
44842 next = t1.peekChar$0();
44843 url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression(_this.interpolatedString$0().asInterpolation$1$static(true), false);
44844 urlSpan = t1.spanFrom$1(urlStart);
44845 _this.whitespace$0();
44846 queries = _this.tryImportQueries$0();
44847 _this.expectStatementSeparator$1("@import rule");
44848 t2 = A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), urlSpan);
44849 t3 = t1.spanFrom$1(urlStart);
44850 t4 = queries == null;
44851 t5 = t4 ? null : queries.item1;
44852 t2 = A._setArrayType([new A.StaticImport(t2, t5, t4 ? null : queries.item2, t3)], type$.JSArray_Import);
44853 t1 = t1.spanFrom$1(start);
44854 return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
44855 case "media":
44856 return _this.mediaRule$1(start);
44857 case "-moz-document":
44858 return _this.mozDocumentRule$2(start, $name);
44859 case "supports":
44860 return _this.supportsRule$1(start);
44861 default:
44862 return _this.unknownAtRule$2(start, $name);
44863 }
44864 },
44865 identifierLike$0() {
44866 var t2, $arguments, t3, t4, _this = this,
44867 t1 = _this.scanner,
44868 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
44869 identifier = _this.interpolatedIdentifier$0(),
44870 plain = identifier.get$asPlain(),
44871 specialFunction = _this.trySpecialFunction$2(plain.toLowerCase(), start);
44872 if (specialFunction != null)
44873 return specialFunction;
44874 t2 = t1._string_scanner$_position;
44875 if (!t1.scanChar$1(40))
44876 return new A.StringExpression(identifier, false);
44877 $arguments = A._setArrayType([], type$.JSArray_Expression);
44878 if (!t1.scanChar$1(41)) {
44879 do {
44880 _this.whitespace$0();
44881 $arguments.push(_this.expression$1$singleEquals(true));
44882 _this.whitespace$0();
44883 } while (t1.scanChar$1(44));
44884 t1.expectChar$1(41);
44885 }
44886 if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
44887 _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
44888 t3 = A.Interpolation$(A._setArrayType([new A.StringExpression(identifier, false)], type$.JSArray_Object), identifier.span);
44889 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
44890 t4 = type$.Expression;
44891 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));
44892 },
44893 namespacedExpression$2(namespace, start) {
44894 var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
44895 this.error$2(0, string$.Modulen, expression.get$span(expression));
44896 }
44897 };
44898 A.KeyframeSelectorParser.prototype = {
44899 parse$0() {
44900 return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
44901 },
44902 _percentage$0() {
44903 var t3, next,
44904 t1 = this.scanner,
44905 t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
44906 second = t1.peekChar$0();
44907 if (!A.isDigit(second) && second !== 46)
44908 t1.error$1(0, "Expected number.");
44909 while (true) {
44910 t3 = t1.peekChar$0();
44911 if (!(t3 != null && t3 >= 48 && t3 <= 57))
44912 break;
44913 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
44914 }
44915 if (t1.peekChar$0() === 46) {
44916 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
44917 while (true) {
44918 t3 = t1.peekChar$0();
44919 if (!(t3 != null && t3 >= 48 && t3 <= 57))
44920 break;
44921 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
44922 }
44923 }
44924 if (this.scanIdentChar$1(101)) {
44925 t2 += A.Primitives_stringFromCharCode(101);
44926 next = t1.peekChar$0();
44927 if (next === 43 || next === 45)
44928 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
44929 if (!A.isDigit(t1.peekChar$0()))
44930 t1.error$1(0, "Expected digit.");
44931 while (true) {
44932 t3 = t1.peekChar$0();
44933 if (!(t3 != null && t3 >= 48 && t3 <= 57))
44934 break;
44935 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
44936 }
44937 }
44938 t1.expectChar$1(37);
44939 t2 += A.Primitives_stringFromCharCode(37);
44940 return t2.charCodeAt(0) == 0 ? t2 : t2;
44941 }
44942 };
44943 A.KeyframeSelectorParser_parse_closure.prototype = {
44944 call$0() {
44945 var selectors = A._setArrayType([], type$.JSArray_String),
44946 t1 = this.$this,
44947 t2 = t1.scanner;
44948 do {
44949 t1.whitespace$0();
44950 if (t1.lookingAtIdentifier$0())
44951 if (t1.scanIdentifier$1("from"))
44952 selectors.push("from");
44953 else {
44954 t1.expectIdentifier$2$name("to", '"to" or "from"');
44955 selectors.push("to");
44956 }
44957 else
44958 selectors.push(t1._percentage$0());
44959 t1.whitespace$0();
44960 } while (t2.scanChar$1(44));
44961 t2.expectDone$0();
44962 return selectors;
44963 },
44964 $signature: 48
44965 };
44966 A.MediaQueryParser.prototype = {
44967 parse$0() {
44968 return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
44969 },
44970 _mediaQuery$0() {
44971 var identifier1, identifier2, type, modifier, features, _this = this, _null = null,
44972 t1 = _this.scanner;
44973 if (t1.peekChar$0() !== 40) {
44974 identifier1 = _this.identifier$0();
44975 _this.whitespace$0();
44976 if (!_this.lookingAtIdentifier$0())
44977 return new A.CssMediaQuery(_null, identifier1, B.List_empty);
44978 identifier2 = _this.identifier$0();
44979 _this.whitespace$0();
44980 if (A.equalsIgnoreCase(identifier2, "and")) {
44981 type = identifier1;
44982 modifier = _null;
44983 } else {
44984 if (_this.scanIdentifier$1("and"))
44985 _this.whitespace$0();
44986 else
44987 return new A.CssMediaQuery(identifier1, identifier2, B.List_empty);
44988 type = identifier2;
44989 modifier = identifier1;
44990 }
44991 } else {
44992 type = _null;
44993 modifier = type;
44994 }
44995 features = A._setArrayType([], type$.JSArray_String);
44996 do {
44997 _this.whitespace$0();
44998 t1.expectChar$1(40);
44999 features.push("(" + _this.declarationValue$0() + ")");
45000 t1.expectChar$1(41);
45001 _this.whitespace$0();
45002 } while (_this.scanIdentifier$1("and"));
45003 if (type == null)
45004 return new A.CssMediaQuery(_null, _null, A.List_List$unmodifiable(features, type$.String));
45005 else {
45006 t1 = A.List_List$unmodifiable(features, type$.String);
45007 return new A.CssMediaQuery(modifier, type, t1);
45008 }
45009 }
45010 };
45011 A.MediaQueryParser_parse_closure.prototype = {
45012 call$0() {
45013 var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
45014 t1 = this.$this,
45015 t2 = t1.scanner;
45016 do {
45017 t1.whitespace$0();
45018 queries.push(t1._mediaQuery$0());
45019 } while (t2.scanChar$1(44));
45020 t2.expectDone$0();
45021 return queries;
45022 },
45023 $signature: 101
45024 };
45025 A.Parser.prototype = {
45026 _parseIdentifier$0() {
45027 return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
45028 },
45029 _isVariableDeclarationLike$0() {
45030 var _this = this,
45031 t1 = _this.scanner;
45032 if (!t1.scanChar$1(36))
45033 return false;
45034 if (!_this.lookingAtIdentifier$0())
45035 return false;
45036 _this.identifier$0();
45037 _this.whitespace$0();
45038 return t1.scanChar$1(58);
45039 },
45040 whitespace$0() {
45041 do
45042 this.whitespaceWithoutComments$0();
45043 while (this.scanComment$0());
45044 },
45045 whitespaceWithoutComments$0() {
45046 var t3,
45047 t1 = this.scanner,
45048 t2 = t1.string.length;
45049 while (true) {
45050 if (t1._string_scanner$_position !== t2) {
45051 t3 = t1.peekChar$0();
45052 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
45053 } else
45054 t3 = false;
45055 if (!t3)
45056 break;
45057 t1.readChar$0();
45058 }
45059 },
45060 spaces$0() {
45061 var t3,
45062 t1 = this.scanner,
45063 t2 = t1.string.length;
45064 while (true) {
45065 if (t1._string_scanner$_position !== t2) {
45066 t3 = t1.peekChar$0();
45067 t3 = t3 === 32 || t3 === 9;
45068 } else
45069 t3 = false;
45070 if (!t3)
45071 break;
45072 t1.readChar$0();
45073 }
45074 },
45075 scanComment$0() {
45076 var next,
45077 t1 = this.scanner;
45078 if (t1.peekChar$0() !== 47)
45079 return false;
45080 next = t1.peekChar$1(1);
45081 if (next === 47) {
45082 this.silentComment$0();
45083 return true;
45084 } else if (next === 42) {
45085 this.loudComment$0();
45086 return true;
45087 } else
45088 return false;
45089 },
45090 silentComment$0() {
45091 var t2, t3,
45092 t1 = this.scanner;
45093 t1.expect$1("//");
45094 t2 = t1.string.length;
45095 while (true) {
45096 if (t1._string_scanner$_position !== t2) {
45097 t3 = t1.peekChar$0();
45098 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
45099 } else
45100 t3 = false;
45101 if (!t3)
45102 break;
45103 t1.readChar$0();
45104 }
45105 },
45106 loudComment$0() {
45107 var next,
45108 t1 = this.scanner;
45109 t1.expect$1("/*");
45110 for (; true;) {
45111 if (t1.readChar$0() !== 42)
45112 continue;
45113 do
45114 next = t1.readChar$0();
45115 while (next === 42);
45116 if (next === 47)
45117 break;
45118 }
45119 },
45120 identifier$2$normalize$unit(normalize, unit) {
45121 var t2, first, _this = this,
45122 _s20_ = "Expected identifier.",
45123 text = new A.StringBuffer(""),
45124 t1 = _this.scanner;
45125 if (t1.scanChar$1(45)) {
45126 t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
45127 if (t1.scanChar$1(45)) {
45128 text._contents = t2 + A.Primitives_stringFromCharCode(45);
45129 _this._identifierBody$3$normalize$unit(text, normalize, unit);
45130 t1 = text._contents;
45131 return t1.charCodeAt(0) == 0 ? t1 : t1;
45132 }
45133 } else
45134 t2 = "";
45135 first = t1.peekChar$0();
45136 if (first == null)
45137 t1.error$1(0, _s20_);
45138 else if (normalize && first === 95) {
45139 t1.readChar$0();
45140 text._contents = t2 + A.Primitives_stringFromCharCode(45);
45141 } else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
45142 text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
45143 else if (first === 92)
45144 text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
45145 else
45146 t1.error$1(0, _s20_);
45147 _this._identifierBody$3$normalize$unit(text, normalize, unit);
45148 t1 = text._contents;
45149 return t1.charCodeAt(0) == 0 ? t1 : t1;
45150 },
45151 identifier$0() {
45152 return this.identifier$2$normalize$unit(false, false);
45153 },
45154 identifier$1$normalize(normalize) {
45155 return this.identifier$2$normalize$unit(normalize, false);
45156 },
45157 identifier$1$unit(unit) {
45158 return this.identifier$2$normalize$unit(false, unit);
45159 },
45160 _identifierBody$3$normalize$unit(text, normalize, unit) {
45161 var t1, next, second, t2;
45162 for (t1 = this.scanner; true;) {
45163 next = t1.peekChar$0();
45164 if (next == null)
45165 break;
45166 else if (unit && next === 45) {
45167 second = t1.peekChar$1(1);
45168 if (second != null)
45169 if (second !== 46)
45170 t2 = second >= 48 && second <= 57;
45171 else
45172 t2 = true;
45173 else
45174 t2 = false;
45175 if (t2)
45176 break;
45177 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45178 } else if (normalize && next === 95) {
45179 t1.readChar$0();
45180 text._contents += A.Primitives_stringFromCharCode(45);
45181 } else {
45182 if (next !== 95) {
45183 if (!(next >= 97 && next <= 122))
45184 t2 = next >= 65 && next <= 90;
45185 else
45186 t2 = true;
45187 t2 = t2 || next >= 128;
45188 } else
45189 t2 = true;
45190 if (!t2) {
45191 t2 = next >= 48 && next <= 57;
45192 t2 = t2 || next === 45;
45193 } else
45194 t2 = true;
45195 if (t2)
45196 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45197 else if (next === 92)
45198 text._contents += A.S(this.escape$0());
45199 else
45200 break;
45201 }
45202 }
45203 },
45204 _identifierBody$1(text) {
45205 return this._identifierBody$3$normalize$unit(text, false, false);
45206 },
45207 string$0() {
45208 var buffer, next, t2,
45209 t1 = this.scanner,
45210 quote = t1.readChar$0();
45211 if (quote !== 39 && quote !== 34)
45212 t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
45213 buffer = new A.StringBuffer("");
45214 for (; true;) {
45215 next = t1.peekChar$0();
45216 if (next === quote) {
45217 t1.readChar$0();
45218 break;
45219 } else if (next == null || next === 10 || next === 13 || next === 12)
45220 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
45221 else if (next === 92) {
45222 t2 = t1.peekChar$1(1);
45223 if (t2 === 10 || t2 === 13 || t2 === 12) {
45224 t1.readChar$0();
45225 t1.readChar$0();
45226 } else
45227 buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
45228 } else
45229 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45230 }
45231 t1 = buffer._contents;
45232 return t1.charCodeAt(0) == 0 ? t1 : t1;
45233 },
45234 naturalNumber$0() {
45235 var number, t2,
45236 t1 = this.scanner,
45237 first = t1.readChar$0();
45238 if (!A.isDigit(first))
45239 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
45240 number = first - 48;
45241 while (true) {
45242 t2 = t1.peekChar$0();
45243 if (!(t2 != null && t2 >= 48 && t2 <= 57))
45244 break;
45245 number = number * 10 + (t1.readChar$0() - 48);
45246 }
45247 return number;
45248 },
45249 declarationValue$1$allowEmpty(allowEmpty) {
45250 var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
45251 buffer = new A.StringBuffer(""),
45252 brackets = A._setArrayType([], type$.JSArray_int);
45253 $label0$1:
45254 for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
45255 next = t1.peekChar$0();
45256 switch (next) {
45257 case 92:
45258 buffer._contents += A.S(_this.escape$1$identifierStart(true));
45259 wroteNewline = false;
45260 break;
45261 case 34:
45262 case 39:
45263 start = t1._string_scanner$_position;
45264 t2.call$0();
45265 end = t1._string_scanner$_position;
45266 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
45267 wroteNewline = false;
45268 break;
45269 case 47:
45270 if (t1.peekChar$1(1) === 42) {
45271 t3 = _this.get$loudComment();
45272 start = t1._string_scanner$_position;
45273 t3.call$0();
45274 end = t1._string_scanner$_position;
45275 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
45276 } else
45277 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45278 wroteNewline = false;
45279 break;
45280 case 32:
45281 case 9:
45282 if (!wroteNewline) {
45283 t3 = t1.peekChar$1(1);
45284 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
45285 } else
45286 t3 = true;
45287 if (t3)
45288 buffer._contents += A.Primitives_stringFromCharCode(32);
45289 t1.readChar$0();
45290 break;
45291 case 10:
45292 case 13:
45293 case 12:
45294 t3 = t1.peekChar$1(-1);
45295 if (!(t3 === 10 || t3 === 13 || t3 === 12))
45296 buffer._contents += "\n";
45297 t1.readChar$0();
45298 wroteNewline = true;
45299 break;
45300 case 40:
45301 case 123:
45302 case 91:
45303 next.toString;
45304 buffer._contents += A.Primitives_stringFromCharCode(next);
45305 brackets.push(A.opposite(t1.readChar$0()));
45306 wroteNewline = false;
45307 break;
45308 case 41:
45309 case 125:
45310 case 93:
45311 if (brackets.length === 0)
45312 break $label0$1;
45313 next.toString;
45314 buffer._contents += A.Primitives_stringFromCharCode(next);
45315 t1.expectChar$1(brackets.pop());
45316 wroteNewline = false;
45317 break;
45318 case 59:
45319 if (brackets.length === 0)
45320 break $label0$1;
45321 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45322 break;
45323 case 117:
45324 case 85:
45325 url = _this.tryUrl$0();
45326 if (url != null)
45327 buffer._contents += url;
45328 else
45329 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45330 wroteNewline = false;
45331 break;
45332 default:
45333 if (next == null)
45334 break $label0$1;
45335 if (_this.lookingAtIdentifier$0())
45336 buffer._contents += _this.identifier$0();
45337 else
45338 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45339 wroteNewline = false;
45340 break;
45341 }
45342 }
45343 if (brackets.length !== 0)
45344 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
45345 if (!allowEmpty && buffer._contents.length === 0)
45346 t1.error$1(0, "Expected token.");
45347 t1 = buffer._contents;
45348 return t1.charCodeAt(0) == 0 ? t1 : t1;
45349 },
45350 declarationValue$0() {
45351 return this.declarationValue$1$allowEmpty(false);
45352 },
45353 tryUrl$0() {
45354 var buffer, next, t2, _this = this,
45355 t1 = _this.scanner,
45356 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45357 if (!_this.scanIdentifier$1("url"))
45358 return null;
45359 if (!t1.scanChar$1(40)) {
45360 t1.set$state(start);
45361 return null;
45362 }
45363 _this.whitespace$0();
45364 buffer = new A.StringBuffer("");
45365 buffer._contents = "" + "url(";
45366 for (; true;) {
45367 next = t1.peekChar$0();
45368 if (next == null)
45369 break;
45370 else if (next === 92)
45371 buffer._contents += A.S(_this.escape$0());
45372 else {
45373 if (next !== 37)
45374 if (next !== 38)
45375 if (next !== 35)
45376 t2 = next >= 42 && next <= 126 || next >= 128;
45377 else
45378 t2 = true;
45379 else
45380 t2 = true;
45381 else
45382 t2 = true;
45383 if (t2)
45384 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45385 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
45386 _this.whitespace$0();
45387 if (t1.peekChar$0() !== 41)
45388 break;
45389 } else if (next === 41) {
45390 t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45391 return t2.charCodeAt(0) == 0 ? t2 : t2;
45392 } else
45393 break;
45394 }
45395 }
45396 t1.set$state(start);
45397 return null;
45398 },
45399 variableName$0() {
45400 this.scanner.expectChar$1(36);
45401 return this.identifier$1$normalize(true);
45402 },
45403 escape$1$identifierStart(identifierStart) {
45404 var value, first, i, next, t2, exception,
45405 _s25_ = "Expected escape sequence.",
45406 t1 = this.scanner,
45407 start = t1._string_scanner$_position;
45408 t1.expectChar$1(92);
45409 value = 0;
45410 first = t1.peekChar$0();
45411 if (first == null)
45412 t1.error$1(0, _s25_);
45413 else if (first === 10 || first === 13 || first === 12)
45414 t1.error$1(0, _s25_);
45415 else if (A.isHex(first)) {
45416 for (i = 0; i < 6; ++i) {
45417 next = t1.peekChar$0();
45418 if (next == null || !A.isHex(next))
45419 break;
45420 value *= 16;
45421 value += A.asHex(t1.readChar$0());
45422 }
45423 this.scanCharIf$1(A.character__isWhitespace$closure());
45424 } else
45425 value = t1.readChar$0();
45426 if (identifierStart) {
45427 t2 = value;
45428 t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128;
45429 } else {
45430 t2 = value;
45431 t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128 || A.isDigit(t2) || t2 === 45;
45432 }
45433 if (t2)
45434 try {
45435 t2 = A.Primitives_stringFromCharCode(value);
45436 return t2;
45437 } catch (exception) {
45438 if (type$.RangeError._is(A.unwrapException(exception)))
45439 t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
45440 else
45441 throw exception;
45442 }
45443 else {
45444 if (!(value <= 31))
45445 if (!J.$eq$(value, 127))
45446 t1 = identifierStart && A.isDigit(value);
45447 else
45448 t1 = true;
45449 else
45450 t1 = true;
45451 if (t1) {
45452 t1 = "" + A.Primitives_stringFromCharCode(92);
45453 if (value > 15)
45454 t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
45455 t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
45456 return t1.charCodeAt(0) == 0 ? t1 : t1;
45457 } else
45458 return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
45459 }
45460 },
45461 escape$0() {
45462 return this.escape$1$identifierStart(false);
45463 },
45464 scanCharIf$1(condition) {
45465 var t1 = this.scanner;
45466 if (!condition.call$1(t1.peekChar$0()))
45467 return false;
45468 t1.readChar$0();
45469 return true;
45470 },
45471 scanIdentChar$2$caseSensitive(char, caseSensitive) {
45472 var t3,
45473 t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
45474 t2 = this.scanner,
45475 next = t2.peekChar$0();
45476 if (next != null && t1.call$1(next)) {
45477 t2.readChar$0();
45478 return true;
45479 } else if (next === 92) {
45480 t3 = t2._string_scanner$_position;
45481 if (t1.call$1(A.consumeEscapedCharacter(t2)))
45482 return true;
45483 t2.set$state(new A._SpanScannerState(t2, t3));
45484 }
45485 return false;
45486 },
45487 scanIdentChar$1(char) {
45488 return this.scanIdentChar$2$caseSensitive(char, false);
45489 },
45490 expectIdentChar$1(letter) {
45491 var t1;
45492 if (this.scanIdentChar$2$caseSensitive(letter, false))
45493 return;
45494 t1 = this.scanner;
45495 t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
45496 },
45497 lookingAtIdentifier$1($forward) {
45498 var t1, first, second;
45499 if ($forward == null)
45500 $forward = 0;
45501 t1 = this.scanner;
45502 first = t1.peekChar$1($forward);
45503 if (first == null)
45504 return false;
45505 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
45506 return true;
45507 if (first !== 45)
45508 return false;
45509 second = t1.peekChar$1($forward + 1);
45510 if (second == null)
45511 return false;
45512 return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
45513 },
45514 lookingAtIdentifier$0() {
45515 return this.lookingAtIdentifier$1(null);
45516 },
45517 lookingAtIdentifierBody$0() {
45518 var t1,
45519 next = this.scanner.peekChar$0();
45520 if (next != null)
45521 t1 = next === 95 || A.isAlphabetic0(next) || next >= 128 || A.isDigit(next) || next === 45 || next === 92;
45522 else
45523 t1 = false;
45524 return t1;
45525 },
45526 scanIdentifier$2$caseSensitive(text, caseSensitive) {
45527 var t1, start, t2, t3, _this = this;
45528 if (!_this.lookingAtIdentifier$0())
45529 return false;
45530 t1 = _this.scanner;
45531 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45532 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
45533 if (_this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), caseSensitive))
45534 continue;
45535 if (start._scanner !== t1)
45536 A.throwExpression(A.ArgumentError$(string$.The_gi, null));
45537 t2 = start.position;
45538 if (t2 < 0 || t2 > t1.string.length)
45539 A.throwExpression(A.ArgumentError$("Invalid position " + t2, null));
45540 t1._string_scanner$_position = t2;
45541 t1._lastMatch = null;
45542 return false;
45543 }
45544 if (!_this.lookingAtIdentifierBody$0())
45545 return true;
45546 t1.set$state(start);
45547 return false;
45548 },
45549 scanIdentifier$1(text) {
45550 return this.scanIdentifier$2$caseSensitive(text, false);
45551 },
45552 expectIdentifier$2$name(text, $name) {
45553 var t1, start, t2, t3;
45554 if ($name == null)
45555 $name = '"' + text + '"';
45556 t1 = this.scanner;
45557 start = t1._string_scanner$_position;
45558 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
45559 if (this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), false))
45560 continue;
45561 t1.error$2$position(0, "Expected " + $name + ".", start);
45562 }
45563 if (!this.lookingAtIdentifierBody$0())
45564 return;
45565 t1.error$2$position(0, "Expected " + $name, start);
45566 },
45567 expectIdentifier$1(text) {
45568 return this.expectIdentifier$2$name(text, null);
45569 },
45570 rawText$1(consumer) {
45571 var t1 = this.scanner,
45572 start = t1._string_scanner$_position;
45573 consumer.call$0();
45574 return t1.substring$1(0, start);
45575 },
45576 error$3(_, message, span, trace) {
45577 var exception = new A.StringScannerException(this.scanner.string, message, span);
45578 if (trace == null)
45579 throw A.wrapException(exception);
45580 else
45581 A.throwWithTrace(exception, trace);
45582 },
45583 error$2($receiver, message, span) {
45584 return this.error$3($receiver, message, span, null);
45585 },
45586 withErrorMessage$1$2(message, callback) {
45587 var error, stackTrace, t1, exception;
45588 try {
45589 t1 = callback.call$0();
45590 return t1;
45591 } catch (exception) {
45592 t1 = A.unwrapException(exception);
45593 if (type$.SourceSpanFormatException._is(t1)) {
45594 error = t1;
45595 stackTrace = A.getTraceFromException(exception);
45596 t1 = J.get$span$z(error);
45597 A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
45598 } else
45599 throw exception;
45600 }
45601 },
45602 withErrorMessage$2(message, callback) {
45603 return this.withErrorMessage$1$2(message, callback, type$.dynamic);
45604 },
45605 wrapSpanFormatException$1$1(callback) {
45606 var error, stackTrace, span, startPosition, t1, exception;
45607 try {
45608 t1 = callback.call$0();
45609 return t1;
45610 } catch (exception) {
45611 t1 = A.unwrapException(exception);
45612 if (type$.SourceSpanFormatException._is(t1)) {
45613 error = t1;
45614 stackTrace = A.getTraceFromException(exception);
45615 span = J.get$span$z(error);
45616 if (A.startsWithIgnoreCase(error._span_exception$_message, "expected")) {
45617 t1 = span;
45618 t1 = t1._end - t1._file$_start === 0;
45619 } else
45620 t1 = false;
45621 if (t1) {
45622 t1 = span;
45623 startPosition = this._firstNewlineBefore$1(A.FileLocation$_(t1.file, t1._file$_start).offset);
45624 t1 = span;
45625 if (!J.$eq$(startPosition, A.FileLocation$_(t1.file, t1._file$_start).offset))
45626 span = span.file.span$2(0, startPosition, startPosition);
45627 }
45628 A.throwWithTrace(new A.SassFormatException(error._span_exception$_message, span), stackTrace);
45629 } else
45630 throw exception;
45631 }
45632 },
45633 wrapSpanFormatException$1(callback) {
45634 return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
45635 },
45636 _firstNewlineBefore$1(position) {
45637 var t1, lastNewline, codeUnit,
45638 index = position - 1;
45639 for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
45640 codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
45641 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
45642 return lastNewline == null ? position : lastNewline;
45643 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
45644 lastNewline = index;
45645 --index;
45646 }
45647 return position;
45648 }
45649 };
45650 A.Parser__parseIdentifier_closure.prototype = {
45651 call$0() {
45652 var t1 = this.$this,
45653 result = t1.identifier$0();
45654 t1.scanner.expectDone$0();
45655 return result;
45656 },
45657 $signature: 30
45658 };
45659 A.Parser_scanIdentChar_matches.prototype = {
45660 call$1(actual) {
45661 var t1 = this.char;
45662 return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
45663 },
45664 $signature: 56
45665 };
45666 A.SassParser.prototype = {
45667 get$currentIndentation() {
45668 return this._currentIndentation;
45669 },
45670 get$indented() {
45671 return true;
45672 },
45673 styleRuleSelector$0() {
45674 var t4,
45675 t1 = this.scanner,
45676 t2 = t1._string_scanner$_position,
45677 t3 = new A.StringBuffer(""),
45678 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
45679 do {
45680 buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
45681 t4 = t3._contents += A.Primitives_stringFromCharCode(10);
45682 } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character__isNewline$closure()));
45683 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
45684 },
45685 expectStatementSeparator$1($name) {
45686 var _this = this;
45687 if (!_this.atEndOfStatement$0())
45688 _this._expectNewline$0();
45689 if (_this._peekIndentation$0() <= _this._currentIndentation)
45690 return;
45691 _this.scanner.error$2$position(0, "Nothing may be indented " + ($name == null ? "here" : "beneath a " + $name) + ".", _this._nextIndentationEnd.position);
45692 },
45693 expectStatementSeparator$0() {
45694 return this.expectStatementSeparator$1(null);
45695 },
45696 atEndOfStatement$0() {
45697 var next = this.scanner.peekChar$0();
45698 return next == null || next === 10 || next === 13 || next === 12;
45699 },
45700 lookingAtChildren$0() {
45701 return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
45702 },
45703 importArgument$0() {
45704 var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
45705 t1 = _this.scanner;
45706 switch (t1.peekChar$0()) {
45707 case 117:
45708 case 85:
45709 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45710 if (_this.scanIdentifier$1("url"))
45711 if (t1.scanChar$1(40)) {
45712 t1.set$state(start);
45713 return _this.super$StylesheetParser$importArgument();
45714 } else
45715 t1.set$state(start);
45716 break;
45717 case 39:
45718 case 34:
45719 return _this.super$StylesheetParser$importArgument();
45720 }
45721 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
45722 next = t1.peekChar$0();
45723 while (true) {
45724 if (next != null)
45725 if (next !== 44)
45726 if (next !== 59)
45727 t2 = !(next === 10 || next === 13 || next === 12);
45728 else
45729 t2 = false;
45730 else
45731 t2 = false;
45732 else
45733 t2 = false;
45734 if (!t2)
45735 break;
45736 t1.readChar$0();
45737 next = t1.peekChar$0();
45738 }
45739 url = t1.substring$1(0, start.position);
45740 span = t1.spanFrom$1(start);
45741 if (_this.isPlainImportUrl$1(url))
45742 return new A.StaticImport(A.Interpolation$(A._setArrayType([A.serializeValue(new A.SassString(url, true), true, true)], type$.JSArray_Object), span), null, null, span);
45743 else
45744 try {
45745 t1 = _this.parseImportUrl$1(url);
45746 return new A.DynamicImport(t1, span);
45747 } catch (exception) {
45748 t1 = A.unwrapException(exception);
45749 if (type$.FormatException._is(t1)) {
45750 innerError = t1;
45751 stackTrace = A.getTraceFromException(exception);
45752 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
45753 } else
45754 throw exception;
45755 }
45756 },
45757 scanElse$1(ifIndentation) {
45758 var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
45759 if (_this._peekIndentation$0() !== ifIndentation)
45760 return false;
45761 t1 = _this.scanner;
45762 t2 = t1._string_scanner$_position;
45763 startIndentation = _this._currentIndentation;
45764 startNextIndentation = _this._nextIndentation;
45765 startNextIndentationEnd = _this._nextIndentationEnd;
45766 _this._readIndentation$0();
45767 if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
45768 return true;
45769 t1.set$state(new A._SpanScannerState(t1, t2));
45770 _this._currentIndentation = startIndentation;
45771 _this._nextIndentation = startNextIndentation;
45772 _this._nextIndentationEnd = startNextIndentationEnd;
45773 return false;
45774 },
45775 children$1(_, child) {
45776 var children = A._setArrayType([], type$.JSArray_Statement);
45777 this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
45778 return children;
45779 },
45780 statements$1(statement) {
45781 var statements, t2, child,
45782 t1 = this.scanner,
45783 first = t1.peekChar$0();
45784 if (first === 9 || first === 32)
45785 t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
45786 statements = A._setArrayType([], type$.JSArray_Statement);
45787 for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
45788 child = this._child$1(statement);
45789 if (child != null)
45790 statements.push(child);
45791 this._readIndentation$0();
45792 }
45793 return statements;
45794 },
45795 _child$1(child) {
45796 var _this = this,
45797 t1 = _this.scanner;
45798 switch (t1.peekChar$0()) {
45799 case 13:
45800 case 10:
45801 case 12:
45802 return null;
45803 case 36:
45804 return _this.variableDeclarationWithoutNamespace$0();
45805 case 47:
45806 switch (t1.peekChar$1(1)) {
45807 case 47:
45808 return _this._silentComment$0();
45809 case 42:
45810 return _this._loudComment$0();
45811 default:
45812 return child.call$0();
45813 }
45814 default:
45815 return child.call$0();
45816 }
45817 },
45818 _silentComment$0() {
45819 var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
45820 t1 = _this.scanner,
45821 t2 = t1._string_scanner$_position;
45822 t1.expect$1("//");
45823 buffer = new A.StringBuffer("");
45824 parentIndentation = _this._currentIndentation;
45825 t3 = t1.string.length;
45826 t4 = 1 + parentIndentation;
45827 t5 = 2 + parentIndentation;
45828 $label0$0:
45829 do {
45830 commentPrefix = t1.scanChar$1(47) ? "///" : "//";
45831 for (i = commentPrefix.length; true;) {
45832 t6 = buffer._contents += commentPrefix;
45833 for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
45834 t6 += A.Primitives_stringFromCharCode(32);
45835 buffer._contents = t6;
45836 }
45837 while (true) {
45838 if (t1._string_scanner$_position !== t3) {
45839 t7 = t1.peekChar$0();
45840 t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
45841 } else
45842 t7 = false;
45843 if (!t7)
45844 break;
45845 t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
45846 buffer._contents = t6;
45847 }
45848 buffer._contents = t6 + "\n";
45849 if (_this._peekIndentation$0() < parentIndentation)
45850 break $label0$0;
45851 if (_this._peekIndentation$0() === parentIndentation) {
45852 if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
45853 _this._readIndentation$0();
45854 break;
45855 }
45856 _this._readIndentation$0();
45857 }
45858 } while (t1.scan$1("//"));
45859 t3 = buffer._contents;
45860 return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
45861 },
45862 _loudComment$0() {
45863 var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
45864 t1 = _this.scanner,
45865 t2 = t1._string_scanner$_position;
45866 t1.expect$1("/*");
45867 t3 = new A.StringBuffer("");
45868 t4 = A._setArrayType([], type$.JSArray_Object);
45869 buffer = new A.InterpolationBuffer(t3, t4);
45870 t3._contents = "" + "/*";
45871 parentIndentation = _this._currentIndentation;
45872 for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
45873 if (first) {
45874 beginningOfComment = t1._string_scanner$_position;
45875 _this.spaces$0();
45876 t7 = t1.peekChar$0();
45877 if (t7 === 10 || t7 === 13 || t7 === 12) {
45878 _this._readIndentation$0();
45879 t7 = t3._contents += A.Primitives_stringFromCharCode(32);
45880 } else {
45881 end = t1._string_scanner$_position;
45882 t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
45883 }
45884 } else {
45885 t7 = t3._contents += "\n";
45886 t7 += " * ";
45887 t3._contents = t7;
45888 }
45889 for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
45890 t7 += A.Primitives_stringFromCharCode(32);
45891 t3._contents = t7;
45892 }
45893 $label0$1:
45894 for (; t1._string_scanner$_position !== t6;)
45895 switch (t1.peekChar$0()) {
45896 case 10:
45897 case 13:
45898 case 12:
45899 break $label0$1;
45900 case 35:
45901 if (t1.peekChar$1(1) === 123) {
45902 t7 = _this.singleInterpolation$0();
45903 buffer._flushText$0();
45904 t4.push(t7);
45905 } else
45906 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45907 break;
45908 default:
45909 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
45910 break;
45911 }
45912 if (_this._peekIndentation$0() <= parentIndentation)
45913 break;
45914 for (; _this._lookingAtDoubleNewline$0();) {
45915 _this._expectNewline$0();
45916 t7 = t3._contents += "\n";
45917 t3._contents = t7 + " *";
45918 }
45919 _this._readIndentation$0();
45920 }
45921 t4 = t3._contents;
45922 if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
45923 t3._contents += " */";
45924 return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
45925 },
45926 whitespaceWithoutComments$0() {
45927 var t1, t2, next;
45928 for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
45929 next = t1.peekChar$0();
45930 if (next !== 9 && next !== 32)
45931 break;
45932 t1.readChar$0();
45933 }
45934 },
45935 loudComment$0() {
45936 var next,
45937 t1 = this.scanner;
45938 t1.expect$1("/*");
45939 for (; true;) {
45940 next = t1.readChar$0();
45941 if (next === 10 || next === 13 || next === 12)
45942 t1.error$1(0, "expected */.");
45943 if (next !== 42)
45944 continue;
45945 do
45946 next = t1.readChar$0();
45947 while (next === 42);
45948 if (next === 47)
45949 break;
45950 }
45951 },
45952 _expectNewline$0() {
45953 var t1 = this.scanner;
45954 switch (t1.peekChar$0()) {
45955 case 59:
45956 t1.error$1(0, string$.semico);
45957 break;
45958 case 13:
45959 t1.readChar$0();
45960 if (t1.peekChar$0() === 10)
45961 t1.readChar$0();
45962 return;
45963 case 10:
45964 case 12:
45965 t1.readChar$0();
45966 return;
45967 default:
45968 t1.error$1(0, "expected newline.");
45969 }
45970 },
45971 _lookingAtDoubleNewline$0() {
45972 var nextChar,
45973 t1 = this.scanner;
45974 switch (t1.peekChar$0()) {
45975 case 13:
45976 nextChar = t1.peekChar$1(1);
45977 if (nextChar === 10) {
45978 t1 = t1.peekChar$1(2);
45979 return t1 === 10 || t1 === 13 || t1 === 12;
45980 }
45981 return nextChar === 13 || nextChar === 12;
45982 case 10:
45983 case 12:
45984 t1 = t1.peekChar$1(1);
45985 return t1 === 10 || t1 === 13 || t1 === 12;
45986 default:
45987 return false;
45988 }
45989 },
45990 _whileIndentedLower$1(body) {
45991 var t1, t2, childIndentation, indentation, t3, t4, t5, _this = this,
45992 parentIndentation = _this._currentIndentation;
45993 for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
45994 indentation = _this._readIndentation$0();
45995 if (childIndentation == null)
45996 childIndentation = indentation;
45997 if (childIndentation !== indentation) {
45998 t3 = "Inconsistent indentation, expected " + childIndentation + " spaces.";
45999 t4 = t1._string_scanner$_position;
46000 t5 = t2.getColumn$1(t4);
46001 t1.error$3$length$position(0, t3, t2.getColumn$1(t1._string_scanner$_position), t4 - t5);
46002 }
46003 body.call$0();
46004 }
46005 },
46006 _readIndentation$0() {
46007 var t1, _this = this,
46008 currentIndentation = _this._nextIndentation;
46009 if (currentIndentation == null)
46010 currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
46011 _this._currentIndentation = currentIndentation;
46012 t1 = _this._nextIndentationEnd;
46013 t1.toString;
46014 _this.scanner.set$state(t1);
46015 _this._nextIndentationEnd = _this._nextIndentation = null;
46016 return currentIndentation;
46017 },
46018 _peekIndentation$0() {
46019 var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
46020 cached = _this._nextIndentation;
46021 if (cached != null)
46022 return cached;
46023 t1 = _this.scanner;
46024 t2 = t1._string_scanner$_position;
46025 t3 = t1.string.length;
46026 if (t2 === t3) {
46027 _this._nextIndentation = 0;
46028 _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
46029 return 0;
46030 }
46031 start = new A._SpanScannerState(t1, t2);
46032 if (!_this.scanCharIf$1(A.character__isNewline$closure()))
46033 t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
46034 containsTab = A._Cell$();
46035 containsSpace = A._Cell$();
46036 nextIndentation = A._Cell$();
46037 t2 = nextIndentation.__late_helper$_name;
46038 do {
46039 containsSpace._value = containsTab._value = false;
46040 nextIndentation._value = 0;
46041 for (; true;) {
46042 next = t1.peekChar$0();
46043 if (next === 32)
46044 containsSpace._value = true;
46045 else if (next === 9)
46046 containsTab._value = true;
46047 else
46048 break;
46049 t4 = nextIndentation._value;
46050 if (t4 === nextIndentation)
46051 A.throwExpression(A.LateError$localNI(t2));
46052 nextIndentation._value = t4 + 1;
46053 t1.readChar$0();
46054 }
46055 t4 = t1._string_scanner$_position;
46056 if (t4 === t3) {
46057 _this._nextIndentation = 0;
46058 _this._nextIndentationEnd = new A._SpanScannerState(t1, t4);
46059 t1.set$state(start);
46060 return 0;
46061 }
46062 } while (_this.scanCharIf$1(A.character__isNewline$closure()));
46063 t2 = containsTab._readLocal$0();
46064 t3 = containsSpace._readLocal$0();
46065 if (t2) {
46066 if (t3) {
46067 t2 = t1._string_scanner$_position;
46068 t3 = t1._sourceFile;
46069 t4 = t3.getColumn$1(t2);
46070 t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46071 } else if (_this._spaces === true) {
46072 t2 = t1._string_scanner$_position;
46073 t3 = t1._sourceFile;
46074 t4 = t3.getColumn$1(t2);
46075 t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46076 }
46077 } else if (t3 && _this._spaces === false) {
46078 t2 = t1._string_scanner$_position;
46079 t3 = t1._sourceFile;
46080 t4 = t3.getColumn$1(t2);
46081 t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
46082 }
46083 _this._nextIndentation = nextIndentation._readLocal$0();
46084 if (nextIndentation._readLocal$0() > 0)
46085 if (_this._spaces == null)
46086 _this._spaces = containsSpace._readLocal$0();
46087 _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
46088 t1.set$state(start);
46089 return nextIndentation._readLocal$0();
46090 }
46091 };
46092 A.SassParser_children_closure.prototype = {
46093 call$0() {
46094 var parsedChild = this.$this._child$1(this.child);
46095 if (parsedChild != null)
46096 this.children.push(parsedChild);
46097 },
46098 $signature: 0
46099 };
46100 A.ScssParser.prototype = {
46101 get$indented() {
46102 return false;
46103 },
46104 get$currentIndentation() {
46105 return 0;
46106 },
46107 styleRuleSelector$0() {
46108 return this.almostAnyValue$0();
46109 },
46110 expectStatementSeparator$1($name) {
46111 var t1, next;
46112 this.whitespaceWithoutComments$0();
46113 t1 = this.scanner;
46114 if (t1._string_scanner$_position === t1.string.length)
46115 return;
46116 next = t1.peekChar$0();
46117 if (next === 59 || next === 125)
46118 return;
46119 t1.expectChar$1(59);
46120 },
46121 expectStatementSeparator$0() {
46122 return this.expectStatementSeparator$1(null);
46123 },
46124 atEndOfStatement$0() {
46125 var next = this.scanner.peekChar$0();
46126 return next == null || next === 59 || next === 125 || next === 123;
46127 },
46128 lookingAtChildren$0() {
46129 return this.scanner.peekChar$0() === 123;
46130 },
46131 scanElse$1(ifIndentation) {
46132 var t3, _this = this,
46133 t1 = _this.scanner,
46134 t2 = t1._string_scanner$_position;
46135 _this.whitespace$0();
46136 t3 = t1._string_scanner$_position;
46137 if (t1.scanChar$1(64)) {
46138 if (_this.scanIdentifier$2$caseSensitive("else", true))
46139 return true;
46140 if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
46141 _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
46142 t1.set$position(t1._string_scanner$_position - 2);
46143 return true;
46144 }
46145 }
46146 t1.set$state(new A._SpanScannerState(t1, t2));
46147 return false;
46148 },
46149 children$1(_, child) {
46150 var children, _this = this,
46151 t1 = _this.scanner;
46152 t1.expectChar$1(123);
46153 _this.whitespaceWithoutComments$0();
46154 children = A._setArrayType([], type$.JSArray_Statement);
46155 for (; true;)
46156 switch (t1.peekChar$0()) {
46157 case 36:
46158 children.push(_this.variableDeclarationWithoutNamespace$0());
46159 break;
46160 case 47:
46161 switch (t1.peekChar$1(1)) {
46162 case 47:
46163 children.push(_this._scss$_silentComment$0());
46164 _this.whitespaceWithoutComments$0();
46165 break;
46166 case 42:
46167 children.push(_this._scss$_loudComment$0());
46168 _this.whitespaceWithoutComments$0();
46169 break;
46170 default:
46171 children.push(child.call$0());
46172 break;
46173 }
46174 break;
46175 case 59:
46176 t1.readChar$0();
46177 _this.whitespaceWithoutComments$0();
46178 break;
46179 case 125:
46180 t1.expectChar$1(125);
46181 return children;
46182 default:
46183 children.push(child.call$0());
46184 break;
46185 }
46186 },
46187 statements$1(statement) {
46188 var t1, t2, child, _this = this,
46189 statements = A._setArrayType([], type$.JSArray_Statement);
46190 _this.whitespaceWithoutComments$0();
46191 for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
46192 switch (t1.peekChar$0()) {
46193 case 36:
46194 statements.push(_this.variableDeclarationWithoutNamespace$0());
46195 break;
46196 case 47:
46197 switch (t1.peekChar$1(1)) {
46198 case 47:
46199 statements.push(_this._scss$_silentComment$0());
46200 _this.whitespaceWithoutComments$0();
46201 break;
46202 case 42:
46203 statements.push(_this._scss$_loudComment$0());
46204 _this.whitespaceWithoutComments$0();
46205 break;
46206 default:
46207 child = statement.call$0();
46208 if (child != null)
46209 statements.push(child);
46210 break;
46211 }
46212 break;
46213 case 59:
46214 t1.readChar$0();
46215 _this.whitespaceWithoutComments$0();
46216 break;
46217 default:
46218 child = statement.call$0();
46219 if (child != null)
46220 statements.push(child);
46221 break;
46222 }
46223 return statements;
46224 },
46225 _scss$_silentComment$0() {
46226 var t2, t3, _this = this,
46227 t1 = _this.scanner,
46228 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46229 t1.expect$1("//");
46230 t2 = t1.string.length;
46231 do {
46232 while (true) {
46233 if (t1._string_scanner$_position !== t2) {
46234 t3 = t1.readChar$0();
46235 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
46236 } else
46237 t3 = false;
46238 if (!t3)
46239 break;
46240 }
46241 if (t1._string_scanner$_position === t2)
46242 break;
46243 _this.whitespaceWithoutComments$0();
46244 } while (t1.scan$1("//"));
46245 if (_this.get$plainCss())
46246 _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
46247 return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
46248 },
46249 _scss$_loudComment$0() {
46250 var t3, t4, buffer, t5, endPosition, t6, result,
46251 t1 = this.scanner,
46252 t2 = t1._string_scanner$_position;
46253 t1.expect$1("/*");
46254 t3 = new A.StringBuffer("");
46255 t4 = A._setArrayType([], type$.JSArray_Object);
46256 buffer = new A.InterpolationBuffer(t3, t4);
46257 t3._contents = "" + "/*";
46258 for (; true;)
46259 switch (t1.peekChar$0()) {
46260 case 35:
46261 if (t1.peekChar$1(1) === 123) {
46262 t5 = this.singleInterpolation$0();
46263 buffer._flushText$0();
46264 t4.push(t5);
46265 } else
46266 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46267 break;
46268 case 42:
46269 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46270 if (t1.peekChar$0() !== 47)
46271 break;
46272 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46273 endPosition = t1._string_scanner$_position;
46274 t5 = t1._sourceFile;
46275 t6 = new A._SpanScannerState(t1, t2).position;
46276 t1 = new A._FileSpan(t5, t6, endPosition);
46277 t1._FileSpan$3(t5, t6, endPosition);
46278 t6 = type$.Object;
46279 t5 = A.List_List$of(t4, true, t6);
46280 t2 = t3._contents;
46281 if (t2.length !== 0)
46282 t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
46283 result = A.List_List$from(t5, false, t6);
46284 result.fixed$length = Array;
46285 result.immutable$list = Array;
46286 t2 = new A.Interpolation(result, t1);
46287 t2.Interpolation$2(t5, t1);
46288 return new A.LoudComment(t2);
46289 case 13:
46290 t1.readChar$0();
46291 if (t1.peekChar$0() !== 10)
46292 t3._contents += A.Primitives_stringFromCharCode(10);
46293 break;
46294 case 12:
46295 t1.readChar$0();
46296 t3._contents += A.Primitives_stringFromCharCode(10);
46297 break;
46298 default:
46299 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
46300 break;
46301 }
46302 }
46303 };
46304 A.SelectorParser.prototype = {
46305 parse$0() {
46306 return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
46307 },
46308 parseCompoundSelector$0() {
46309 return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
46310 },
46311 _selectorList$0() {
46312 var t3, t4, lineBreak, _this = this,
46313 t1 = _this.scanner,
46314 t2 = t1._sourceFile,
46315 previousLine = t2.getLine$1(t1._string_scanner$_position),
46316 components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
46317 _this.whitespace$0();
46318 for (t3 = t1.string.length; t1.scanChar$1(44);) {
46319 _this.whitespace$0();
46320 if (t1.peekChar$0() === 44)
46321 continue;
46322 t4 = t1._string_scanner$_position;
46323 if (t4 === t3)
46324 break;
46325 lineBreak = t2.getLine$1(t4) !== previousLine;
46326 if (lineBreak)
46327 previousLine = t2.getLine$1(t1._string_scanner$_position);
46328 components.push(_this._complexSelector$1$lineBreak(lineBreak));
46329 }
46330 return A.SelectorList$(components);
46331 },
46332 _complexSelector$1$lineBreak(lineBreak) {
46333 var t1, next, _this = this,
46334 _s58_ = string$.x22x26__ma,
46335 components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
46336 $label0$1:
46337 for (t1 = _this.scanner; true;) {
46338 _this.whitespace$0();
46339 next = t1.peekChar$0();
46340 switch (next) {
46341 case 43:
46342 t1.readChar$0();
46343 components.push(B.Combinator_uzg);
46344 break;
46345 case 62:
46346 t1.readChar$0();
46347 components.push(B.Combinator_sgq);
46348 break;
46349 case 126:
46350 t1.readChar$0();
46351 components.push(B.Combinator_CzM);
46352 break;
46353 case 91:
46354 case 46:
46355 case 35:
46356 case 37:
46357 case 58:
46358 case 38:
46359 case 42:
46360 case 124:
46361 components.push(_this._compoundSelector$0());
46362 if (t1.peekChar$0() === 38)
46363 t1.error$1(0, _s58_);
46364 break;
46365 default:
46366 if (next == null || !_this.lookingAtIdentifier$0())
46367 break $label0$1;
46368 components.push(_this._compoundSelector$0());
46369 if (t1.peekChar$0() === 38)
46370 t1.error$1(0, _s58_);
46371 break;
46372 }
46373 }
46374 if (components.length === 0)
46375 t1.error$1(0, "expected selector.");
46376 return A.ComplexSelector$(components, lineBreak);
46377 },
46378 _complexSelector$0() {
46379 return this._complexSelector$1$lineBreak(false);
46380 },
46381 _compoundSelector$0() {
46382 var t2,
46383 components = A._setArrayType([this._simpleSelector$0()], type$.JSArray_SimpleSelector),
46384 t1 = this.scanner;
46385 while (true) {
46386 t2 = t1.peekChar$0();
46387 if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
46388 break;
46389 components.push(this._simpleSelector$1$allowParent(false));
46390 }
46391 return A.CompoundSelector$(components);
46392 },
46393 _simpleSelector$1$allowParent(allowParent) {
46394 var $name, text, t2, suffix, _this = this,
46395 t1 = _this.scanner,
46396 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46397 if (allowParent == null)
46398 allowParent = _this._allowParent;
46399 switch (t1.peekChar$0()) {
46400 case 91:
46401 return _this._attributeSelector$0();
46402 case 46:
46403 t1.expectChar$1(46);
46404 return new A.ClassSelector(_this.identifier$0());
46405 case 35:
46406 t1.expectChar$1(35);
46407 return new A.IDSelector(_this.identifier$0());
46408 case 37:
46409 t1.expectChar$1(37);
46410 $name = _this.identifier$0();
46411 if (!_this._allowPlaceholder)
46412 _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
46413 return new A.PlaceholderSelector($name);
46414 case 58:
46415 return _this._pseudoSelector$0();
46416 case 38:
46417 t1.expectChar$1(38);
46418 if (_this.lookingAtIdentifierBody$0()) {
46419 text = new A.StringBuffer("");
46420 _this._identifierBody$1(text);
46421 if (text._contents.length === 0)
46422 t1.error$1(0, "Expected identifier body.");
46423 t2 = text._contents;
46424 suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
46425 } else
46426 suffix = null;
46427 if (!allowParent)
46428 _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
46429 return new A.ParentSelector(suffix);
46430 default:
46431 return _this._typeOrUniversalSelector$0();
46432 }
46433 },
46434 _simpleSelector$0() {
46435 return this._simpleSelector$1$allowParent(null);
46436 },
46437 _attributeSelector$0() {
46438 var $name, operator, next, value, modifier, _this = this, _null = null,
46439 t1 = _this.scanner;
46440 t1.expectChar$1(91);
46441 _this.whitespace$0();
46442 $name = _this._attributeName$0();
46443 _this.whitespace$0();
46444 if (t1.scanChar$1(93))
46445 return new A.AttributeSelector($name, _null, _null, _null);
46446 operator = _this._attributeOperator$0();
46447 _this.whitespace$0();
46448 next = t1.peekChar$0();
46449 value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
46450 _this.whitespace$0();
46451 next = t1.peekChar$0();
46452 modifier = next != null && A.isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
46453 t1.expectChar$1(93);
46454 return new A.AttributeSelector($name, operator, value, modifier);
46455 },
46456 _attributeName$0() {
46457 var nameOrNamespace, _this = this,
46458 t1 = _this.scanner;
46459 if (t1.scanChar$1(42)) {
46460 t1.expectChar$1(124);
46461 return new A.QualifiedName(_this.identifier$0(), "*");
46462 }
46463 if (t1.scanChar$1(124))
46464 return new A.QualifiedName(_this.identifier$0(), "");
46465 nameOrNamespace = _this.identifier$0();
46466 if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
46467 return new A.QualifiedName(nameOrNamespace, null);
46468 t1.readChar$0();
46469 return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
46470 },
46471 _attributeOperator$0() {
46472 var t1 = this.scanner,
46473 t2 = t1._string_scanner$_position;
46474 switch (t1.readChar$0()) {
46475 case 61:
46476 return B.AttributeOperator_sEs;
46477 case 126:
46478 t1.expectChar$1(61);
46479 return B.AttributeOperator_fz1;
46480 case 124:
46481 t1.expectChar$1(61);
46482 return B.AttributeOperator_AuK;
46483 case 94:
46484 t1.expectChar$1(61);
46485 return B.AttributeOperator_4L5;
46486 case 36:
46487 t1.expectChar$1(61);
46488 return B.AttributeOperator_mOX;
46489 case 42:
46490 t1.expectChar$1(61);
46491 return B.AttributeOperator_gqZ;
46492 default:
46493 t1.error$2$position(0, 'Expected "]".', t2);
46494 }
46495 },
46496 _pseudoSelector$0() {
46497 var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
46498 t1 = _this.scanner;
46499 t1.expectChar$1(58);
46500 element = t1.scanChar$1(58);
46501 $name = _this.identifier$0();
46502 if (!t1.scanChar$1(40))
46503 return A.PseudoSelector$($name, _null, element, _null);
46504 _this.whitespace$0();
46505 unvendored = A.unvendor($name);
46506 if (element)
46507 if ($._selectorPseudoElements.contains$1(0, unvendored)) {
46508 selector = _this._selectorList$0();
46509 argument = _null;
46510 } else {
46511 argument = _this.declarationValue$1$allowEmpty(true);
46512 selector = _null;
46513 }
46514 else if ($._selectorPseudoClasses.contains$1(0, unvendored)) {
46515 selector = _this._selectorList$0();
46516 argument = _null;
46517 } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
46518 argument = _this._aNPlusB$0();
46519 _this.whitespace$0();
46520 t2 = t1.peekChar$1(-1);
46521 if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
46522 _this.expectIdentifier$1("of");
46523 argument += " of";
46524 _this.whitespace$0();
46525 selector = _this._selectorList$0();
46526 } else
46527 selector = _null;
46528 } else {
46529 argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
46530 selector = _null;
46531 }
46532 t1.expectChar$1(41);
46533 return A.PseudoSelector$($name, argument, element, selector);
46534 },
46535 _aNPlusB$0() {
46536 var t2, first, t3, next, last, _this = this,
46537 t1 = _this.scanner;
46538 switch (t1.peekChar$0()) {
46539 case 101:
46540 case 69:
46541 _this.expectIdentifier$1("even");
46542 return "even";
46543 case 111:
46544 case 79:
46545 _this.expectIdentifier$1("odd");
46546 return "odd";
46547 case 43:
46548 case 45:
46549 t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
46550 break;
46551 default:
46552 t2 = "";
46553 }
46554 first = t1.peekChar$0();
46555 if (first != null && A.isDigit(first)) {
46556 while (true) {
46557 t3 = t1.peekChar$0();
46558 if (!(t3 != null && t3 >= 48 && t3 <= 57))
46559 break;
46560 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46561 }
46562 _this.whitespace$0();
46563 if (!_this.scanIdentChar$1(110))
46564 return t2.charCodeAt(0) == 0 ? t2 : t2;
46565 } else
46566 _this.expectIdentChar$1(110);
46567 t2 += A.Primitives_stringFromCharCode(110);
46568 _this.whitespace$0();
46569 next = t1.peekChar$0();
46570 if (next !== 43 && next !== 45)
46571 return t2.charCodeAt(0) == 0 ? t2 : t2;
46572 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46573 _this.whitespace$0();
46574 last = t1.peekChar$0();
46575 if (last == null || !A.isDigit(last))
46576 t1.error$1(0, "Expected a number.");
46577 while (true) {
46578 t3 = t1.peekChar$0();
46579 if (!(t3 != null && t3 >= 48 && t3 <= 57))
46580 break;
46581 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
46582 }
46583 return t2.charCodeAt(0) == 0 ? t2 : t2;
46584 },
46585 _typeOrUniversalSelector$0() {
46586 var nameOrNamespace, _this = this,
46587 t1 = _this.scanner,
46588 first = t1.peekChar$0();
46589 if (first === 42) {
46590 t1.readChar$0();
46591 if (!t1.scanChar$1(124))
46592 return new A.UniversalSelector(null);
46593 if (t1.scanChar$1(42))
46594 return new A.UniversalSelector("*");
46595 else
46596 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), "*"));
46597 } else if (first === 124) {
46598 t1.readChar$0();
46599 if (t1.scanChar$1(42))
46600 return new A.UniversalSelector("");
46601 else
46602 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), ""));
46603 }
46604 nameOrNamespace = _this.identifier$0();
46605 if (!t1.scanChar$1(124))
46606 return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null));
46607 else if (t1.scanChar$1(42))
46608 return new A.UniversalSelector(nameOrNamespace);
46609 else
46610 return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace));
46611 }
46612 };
46613 A.SelectorParser_parse_closure.prototype = {
46614 call$0() {
46615 var t1 = this.$this,
46616 selector = t1._selectorList$0();
46617 t1 = t1.scanner;
46618 if (t1._string_scanner$_position !== t1.string.length)
46619 t1.error$1(0, "expected selector.");
46620 return selector;
46621 },
46622 $signature: 46
46623 };
46624 A.SelectorParser_parseCompoundSelector_closure.prototype = {
46625 call$0() {
46626 var t1 = this.$this,
46627 compound = t1._compoundSelector$0();
46628 t1 = t1.scanner;
46629 if (t1._string_scanner$_position !== t1.string.length)
46630 t1.error$1(0, "expected selector.");
46631 return compound;
46632 },
46633 $signature: 349
46634 };
46635 A.StylesheetParser.prototype = {
46636 parse$0() {
46637 return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
46638 },
46639 parseArgumentDeclaration$0() {
46640 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure(this), type$.ArgumentDeclaration);
46641 },
46642 parseVariableDeclaration$0() {
46643 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration);
46644 },
46645 parseUseRule$0() {
46646 return this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule);
46647 },
46648 _parseSingleProduction$1$1(production, $T) {
46649 return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
46650 },
46651 _statement$1$root(root) {
46652 var t2, _this = this,
46653 t1 = _this.scanner;
46654 switch (t1.peekChar$0()) {
46655 case 64:
46656 return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
46657 case 43:
46658 if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
46659 return _this._styleRule$0();
46660 _this._isUseAllowed = false;
46661 t2 = t1._string_scanner$_position;
46662 t1.readChar$0();
46663 return _this._includeRule$1(new A._SpanScannerState(t1, t2));
46664 case 61:
46665 if (!_this.get$indented())
46666 return _this._styleRule$0();
46667 _this._isUseAllowed = false;
46668 t2 = t1._string_scanner$_position;
46669 t1.readChar$0();
46670 _this.whitespace$0();
46671 return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
46672 case 125:
46673 t1.error$2$length(0, 'unmatched "}".', 1);
46674 break;
46675 default:
46676 return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
46677 }
46678 },
46679 _statement$0() {
46680 return this._statement$1$root(false);
46681 },
46682 _variableDeclarationWithNamespace$0() {
46683 var t1 = this.scanner,
46684 t2 = t1._string_scanner$_position,
46685 namespace = this.identifier$0();
46686 t1.expectChar$1(46);
46687 return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
46688 },
46689 variableDeclarationWithoutNamespace$2(namespace, start_) {
46690 var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
46691 precedingComment = _this.lastSilentComment;
46692 _this.lastSilentComment = null;
46693 if (start_ == null) {
46694 t1 = _this.scanner;
46695 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46696 } else
46697 start = start_;
46698 $name = _this.variableName$0();
46699 t1 = namespace != null;
46700 if (t1)
46701 _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
46702 if (_this.get$plainCss())
46703 _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
46704 _this.whitespace$0();
46705 t2 = _this.scanner;
46706 t2.expectChar$1(58);
46707 _this.whitespace$0();
46708 value = _this.expression$0();
46709 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
46710 for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
46711 flag = _this.identifier$0();
46712 if (flag === "default")
46713 guarded = true;
46714 else if (flag === "global") {
46715 if (t1) {
46716 endPosition = t2._string_scanner$_position;
46717 t4 = t2._sourceFile;
46718 t5 = flagStart.position;
46719 t6 = new A._FileSpan(t4, t5, endPosition);
46720 t6._FileSpan$3(t4, t5, endPosition);
46721 A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
46722 }
46723 global = true;
46724 } else {
46725 endPosition = t2._string_scanner$_position;
46726 t4 = t2._sourceFile;
46727 t5 = flagStart.position;
46728 t6 = new A._FileSpan(t4, t5, endPosition);
46729 t6._FileSpan$3(t4, t5, endPosition);
46730 A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
46731 }
46732 _this.whitespace$0();
46733 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
46734 }
46735 _this.expectStatementSeparator$1("variable declaration");
46736 declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
46737 if (global)
46738 _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
46739 return declaration;
46740 },
46741 variableDeclarationWithoutNamespace$0() {
46742 return this.variableDeclarationWithoutNamespace$2(null, null);
46743 },
46744 _variableDeclarationOrStyleRule$0() {
46745 var t1, t2, variableOrInterpolation, t3, _this = this;
46746 if (_this.get$plainCss())
46747 return _this._styleRule$0();
46748 if (_this.get$indented() && _this.scanner.scanChar$1(92))
46749 return _this._styleRule$0();
46750 if (!_this.lookingAtIdentifier$0())
46751 return _this._styleRule$0();
46752 t1 = _this.scanner;
46753 t2 = t1._string_scanner$_position;
46754 variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
46755 if (variableOrInterpolation instanceof A.VariableDeclaration)
46756 return variableOrInterpolation;
46757 else {
46758 t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
46759 t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
46760 return _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
46761 }
46762 },
46763 _declarationOrStyleRule$0() {
46764 var t1, t2, declarationOrBuffer, _this = this;
46765 if (_this.get$plainCss() && _this._inStyleRule && !_this._stylesheet$_inUnknownAtRule)
46766 return _this._propertyOrVariableDeclaration$0();
46767 if (_this.get$indented() && _this.scanner.scanChar$1(92))
46768 return _this._styleRule$0();
46769 t1 = _this.scanner;
46770 t2 = t1._string_scanner$_position;
46771 declarationOrBuffer = _this._declarationOrBuffer$0();
46772 return type$.Statement._is(declarationOrBuffer) ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
46773 },
46774 _declarationOrBuffer$0() {
46775 var midBuffer, couldBeSelector, beforeDeclaration, additional, t4, startsWithPunctuation, variableOrInterpolation, t5, $name, postColonWhitespace, value, exception, _this = this, t1 = {},
46776 t2 = _this.scanner,
46777 start = new A._SpanScannerState(t2, t2._string_scanner$_position),
46778 t3 = type$.JSArray_Object,
46779 nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], t3)),
46780 first = t2.peekChar$0();
46781 if (first !== 58)
46782 if (first !== 42)
46783 if (first !== 46)
46784 t4 = first === 35 && t2.peekChar$1(1) !== 123;
46785 else
46786 t4 = true;
46787 else
46788 t4 = true;
46789 else
46790 t4 = true;
46791 if (t4) {
46792 t4 = t2.readChar$0();
46793 nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(t4);
46794 t4 = _this.rawText$1(_this.get$whitespace());
46795 nameBuffer._interpolation_buffer$_text._contents += t4;
46796 startsWithPunctuation = true;
46797 } else
46798 startsWithPunctuation = false;
46799 if (!_this._lookingAtInterpolatedIdentifier$0())
46800 return nameBuffer;
46801 variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
46802 if (variableOrInterpolation instanceof A.VariableDeclaration)
46803 return variableOrInterpolation;
46804 else
46805 nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
46806 _this._isUseAllowed = false;
46807 if (t2.matches$1("/*")) {
46808 t4 = _this.rawText$1(_this.get$loudComment());
46809 nameBuffer._interpolation_buffer$_text._contents += t4;
46810 }
46811 midBuffer = new A.StringBuffer("");
46812 t4 = _this.get$whitespace();
46813 midBuffer._contents += _this.rawText$1(t4);
46814 t5 = t2._string_scanner$_position;
46815 if (!t2.scanChar$1(58)) {
46816 if (midBuffer._contents.length !== 0)
46817 nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(32);
46818 return nameBuffer;
46819 }
46820 midBuffer._contents += A.Primitives_stringFromCharCode(58);
46821 $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t5)));
46822 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
46823 t1 = _this._interpolatedDeclarationValue$0();
46824 _this.expectStatementSeparator$1("custom property");
46825 return A.Declaration$($name, new A.StringExpression(t1, false), t2.spanFrom$1(start));
46826 }
46827 if (t2.scanChar$1(58)) {
46828 t1 = nameBuffer;
46829 t2 = t1._interpolation_buffer$_text;
46830 t3 = t2._contents += A.S(midBuffer);
46831 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
46832 return t1;
46833 } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
46834 t1 = nameBuffer;
46835 t1._interpolation_buffer$_text._contents += A.S(midBuffer);
46836 return t1;
46837 }
46838 postColonWhitespace = _this.rawText$1(t4);
46839 if (_this.lookingAtChildren$0())
46840 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure($name));
46841 midBuffer._contents += postColonWhitespace;
46842 couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
46843 beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
46844 t4 = t1.value = null;
46845 try {
46846 if (_this.lookingAtChildren$0()) {
46847 t3 = A._setArrayType([], t3);
46848 t4 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
46849 t5 = t4.offset;
46850 value = new A.StringExpression(A.Interpolation$(t3, A._FileSpan$(t4.file, t5, t5)), true);
46851 } else
46852 value = _this.expression$0();
46853 t3 = t1.value = value;
46854 if (_this.lookingAtChildren$0()) {
46855 if (couldBeSelector)
46856 _this.expectStatementSeparator$0();
46857 } else if (!_this.atEndOfStatement$0())
46858 _this.expectStatementSeparator$0();
46859 } catch (exception) {
46860 if (type$.FormatException._is(A.unwrapException(exception))) {
46861 if (!couldBeSelector)
46862 throw exception;
46863 t2.set$state(beforeDeclaration);
46864 additional = _this.almostAnyValue$0();
46865 if (!_this.get$indented() && t2.peekChar$0() === 59)
46866 throw exception;
46867 nameBuffer._interpolation_buffer$_text._contents += A.S(midBuffer);
46868 nameBuffer.addInterpolation$1(additional);
46869 return nameBuffer;
46870 } else
46871 throw exception;
46872 }
46873 if (_this.lookingAtChildren$0())
46874 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure0(t1, $name));
46875 else {
46876 _this.expectStatementSeparator$0();
46877 return A.Declaration$($name, t3, t2.spanFrom$1(start));
46878 }
46879 },
46880 _variableDeclarationOrInterpolation$0() {
46881 var t1, start, identifier, t2, buffer, _this = this;
46882 if (!_this.lookingAtIdentifier$0())
46883 return _this.interpolatedIdentifier$0();
46884 t1 = _this.scanner;
46885 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46886 identifier = _this.identifier$0();
46887 if (t1.matches$1(".$")) {
46888 t1.readChar$0();
46889 return _this.variableDeclarationWithoutNamespace$2(identifier, start);
46890 } else {
46891 t2 = new A.StringBuffer("");
46892 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
46893 t2._contents = "" + identifier;
46894 if (_this._lookingAtInterpolatedIdentifierBody$0())
46895 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
46896 return buffer.interpolation$1(t1.spanFrom$1(start));
46897 }
46898 },
46899 _styleRule$2(buffer, start_) {
46900 var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
46901 _this._isUseAllowed = false;
46902 if (start_ == null) {
46903 t2 = _this.scanner;
46904 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
46905 } else
46906 start = start_;
46907 interpolation = t1.interpolation = _this.styleRuleSelector$0();
46908 if (buffer != null) {
46909 buffer.addInterpolation$1(interpolation);
46910 t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
46911 } else
46912 t2 = interpolation;
46913 if (t2.contents.length === 0)
46914 _this.scanner.error$1(0, 'expected "}".');
46915 wasInStyleRule = _this._inStyleRule;
46916 _this._inStyleRule = true;
46917 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
46918 },
46919 _styleRule$0() {
46920 return this._styleRule$2(null, null);
46921 },
46922 _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
46923 var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
46924 _s48_ = string$.Nested,
46925 t1 = {},
46926 t2 = _this.scanner,
46927 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
46928 t1.name = null;
46929 first = t2.peekChar$0();
46930 if (first !== 58)
46931 if (first !== 42)
46932 if (first !== 46)
46933 t3 = first === 35 && t2.peekChar$1(1) !== 123;
46934 else
46935 t3 = true;
46936 else
46937 t3 = true;
46938 else
46939 t3 = true;
46940 if (t3) {
46941 t3 = new A.StringBuffer("");
46942 nameBuffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
46943 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
46944 t3._contents += _this.rawText$1(_this.get$whitespace());
46945 nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
46946 t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
46947 } else if (!_this.get$plainCss()) {
46948 variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
46949 if (variableOrInterpolation instanceof A.VariableDeclaration)
46950 return variableOrInterpolation;
46951 else {
46952 type$.Interpolation._as(variableOrInterpolation);
46953 t1.name = variableOrInterpolation;
46954 }
46955 t3 = variableOrInterpolation;
46956 } else {
46957 $name = _this.interpolatedIdentifier$0();
46958 t1.name = $name;
46959 t3 = $name;
46960 }
46961 _this.whitespace$0();
46962 t2.expectChar$1(58);
46963 if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
46964 t1 = _this._interpolatedDeclarationValue$0();
46965 _this.expectStatementSeparator$1("custom property");
46966 return A.Declaration$(t3, new A.StringExpression(t1, false), t2.spanFrom$1(start));
46967 }
46968 _this.whitespace$0();
46969 if (_this.lookingAtChildren$0()) {
46970 if (_this.get$plainCss())
46971 t2.error$1(0, _s48_);
46972 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure(t1));
46973 }
46974 value = _this.expression$0();
46975 if (_this.lookingAtChildren$0()) {
46976 if (_this.get$plainCss())
46977 t2.error$1(0, _s48_);
46978 return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure0(t1, value));
46979 } else {
46980 _this.expectStatementSeparator$0();
46981 return A.Declaration$(t3, value, t2.spanFrom$1(start));
46982 }
46983 },
46984 _propertyOrVariableDeclaration$0() {
46985 return this._propertyOrVariableDeclaration$1$parseCustomProperties(true);
46986 },
46987 _declarationChild$0() {
46988 if (this.scanner.peekChar$0() === 64)
46989 return this._declarationAtRule$0();
46990 return this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
46991 },
46992 atRule$2$root(child, root) {
46993 var $name, wasUseAllowed, value, optional, _this = this,
46994 t1 = _this.scanner,
46995 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
46996 t1.expectChar$2$name(64, "@-rule");
46997 $name = _this.interpolatedIdentifier$0();
46998 _this.whitespace$0();
46999 wasUseAllowed = _this._isUseAllowed;
47000 _this._isUseAllowed = false;
47001 switch ($name.get$asPlain()) {
47002 case "at-root":
47003 return _this._atRootRule$1(start);
47004 case "content":
47005 return _this._contentRule$1(start);
47006 case "debug":
47007 return _this._debugRule$1(start);
47008 case "each":
47009 return _this._eachRule$2(start, child);
47010 case "else":
47011 return _this._disallowedAtRule$1(start);
47012 case "error":
47013 return _this._errorRule$1(start);
47014 case "extend":
47015 if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
47016 _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
47017 value = _this.almostAnyValue$0();
47018 optional = t1.scanChar$1(33);
47019 if (optional)
47020 _this.expectIdentifier$1("optional");
47021 _this.expectStatementSeparator$1("@extend rule");
47022 return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
47023 case "for":
47024 return _this._forRule$2(start, child);
47025 case "forward":
47026 _this._isUseAllowed = wasUseAllowed;
47027 if (!root)
47028 _this._disallowedAtRule$1(start);
47029 return _this._forwardRule$1(start);
47030 case "function":
47031 return _this._functionRule$1(start);
47032 case "if":
47033 return _this._ifRule$2(start, child);
47034 case "import":
47035 return _this._importRule$1(start);
47036 case "include":
47037 return _this._includeRule$1(start);
47038 case "media":
47039 return _this.mediaRule$1(start);
47040 case "mixin":
47041 return _this._mixinRule$1(start);
47042 case "-moz-document":
47043 return _this.mozDocumentRule$2(start, $name);
47044 case "return":
47045 return _this._disallowedAtRule$1(start);
47046 case "supports":
47047 return _this.supportsRule$1(start);
47048 case "use":
47049 _this._isUseAllowed = wasUseAllowed;
47050 if (!root)
47051 _this._disallowedAtRule$1(start);
47052 return _this._useRule$1(start);
47053 case "warn":
47054 return _this._warnRule$1(start);
47055 case "while":
47056 return _this._whileRule$2(start, child);
47057 default:
47058 return _this.unknownAtRule$2(start, $name);
47059 }
47060 },
47061 _declarationAtRule$0() {
47062 var _this = this,
47063 t1 = _this.scanner,
47064 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47065 switch (_this._plainAtRuleName$0()) {
47066 case "content":
47067 return _this._contentRule$1(start);
47068 case "debug":
47069 return _this._debugRule$1(start);
47070 case "each":
47071 return _this._eachRule$2(start, _this.get$_declarationChild());
47072 case "else":
47073 return _this._disallowedAtRule$1(start);
47074 case "error":
47075 return _this._errorRule$1(start);
47076 case "for":
47077 return _this._forRule$2(start, _this.get$_declarationChild());
47078 case "if":
47079 return _this._ifRule$2(start, _this.get$_declarationChild());
47080 case "include":
47081 return _this._includeRule$1(start);
47082 case "warn":
47083 return _this._warnRule$1(start);
47084 case "while":
47085 return _this._whileRule$2(start, _this.get$_declarationChild());
47086 default:
47087 return _this._disallowedAtRule$1(start);
47088 }
47089 },
47090 _functionChild$0() {
47091 var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, value, _this = this,
47092 t1 = _this.scanner;
47093 if (t1.peekChar$0() !== 64) {
47094 state = new A._SpanScannerState(t1, t1._string_scanner$_position);
47095 try {
47096 t2 = _this._variableDeclarationWithNamespace$0();
47097 return t2;
47098 } catch (exception) {
47099 t2 = A.unwrapException(exception);
47100 t3 = type$.SourceSpanFormatException;
47101 if (t3._is(t2)) {
47102 variableDeclarationError = t2;
47103 stackTrace = A.getTraceFromException(exception);
47104 t1.set$state(state);
47105 statement = null;
47106 try {
47107 statement = _this._declarationOrStyleRule$0();
47108 } catch (exception) {
47109 if (t3._is(A.unwrapException(exception)))
47110 throw A.wrapException(variableDeclarationError);
47111 else
47112 throw exception;
47113 }
47114 _this.error$3(0, "@function rules may not contain " + (statement instanceof A.StyleRule ? "style rules" : "declarations") + ".", J.get$span$z(statement), stackTrace);
47115 } else
47116 throw exception;
47117 }
47118 }
47119 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47120 switch (_this._plainAtRuleName$0()) {
47121 case "debug":
47122 return _this._debugRule$1(start);
47123 case "each":
47124 return _this._eachRule$2(start, _this.get$_functionChild());
47125 case "else":
47126 return _this._disallowedAtRule$1(start);
47127 case "error":
47128 return _this._errorRule$1(start);
47129 case "for":
47130 return _this._forRule$2(start, _this.get$_functionChild());
47131 case "if":
47132 return _this._ifRule$2(start, _this.get$_functionChild());
47133 case "return":
47134 value = _this.expression$0();
47135 _this.expectStatementSeparator$1("@return rule");
47136 return new A.ReturnRule(value, t1.spanFrom$1(start));
47137 case "warn":
47138 return _this._warnRule$1(start);
47139 case "while":
47140 return _this._whileRule$2(start, _this.get$_functionChild());
47141 default:
47142 return _this._disallowedAtRule$1(start);
47143 }
47144 },
47145 _plainAtRuleName$0() {
47146 this.scanner.expectChar$2$name(64, "@-rule");
47147 var $name = this.identifier$0();
47148 this.whitespace$0();
47149 return $name;
47150 },
47151 _atRootRule$1(start) {
47152 var query, _this = this,
47153 t1 = _this.scanner;
47154 if (t1.peekChar$0() === 40) {
47155 query = _this._atRootQuery$0();
47156 _this.whitespace$0();
47157 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(query));
47158 } else if (_this.lookingAtChildren$0())
47159 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
47160 else
47161 return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
47162 },
47163 _atRootQuery$0() {
47164 var interpolation, t2, t3, t4, buffer, t5, _this = this,
47165 t1 = _this.scanner;
47166 if (t1.peekChar$0() === 35) {
47167 interpolation = _this.singleInterpolation$0();
47168 return A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
47169 }
47170 t2 = t1._string_scanner$_position;
47171 t3 = new A.StringBuffer("");
47172 t4 = A._setArrayType([], type$.JSArray_Object);
47173 buffer = new A.InterpolationBuffer(t3, t4);
47174 t1.expectChar$1(40);
47175 t3._contents += A.Primitives_stringFromCharCode(40);
47176 _this.whitespace$0();
47177 t5 = _this.expression$0();
47178 buffer._flushText$0();
47179 t4.push(t5);
47180 if (t1.scanChar$1(58)) {
47181 _this.whitespace$0();
47182 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
47183 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
47184 t5 = _this.expression$0();
47185 buffer._flushText$0();
47186 t4.push(t5);
47187 }
47188 t1.expectChar$1(41);
47189 _this.whitespace$0();
47190 t3._contents += A.Primitives_stringFromCharCode(41);
47191 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
47192 },
47193 _contentRule$1(start) {
47194 var t1, $arguments, t2, t3, _this = this;
47195 if (!_this._stylesheet$_inMixin)
47196 _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
47197 _this.whitespace$0();
47198 t1 = _this.scanner;
47199 if (t1.peekChar$0() === 40)
47200 $arguments = _this._argumentInvocation$1$mixin(true);
47201 else {
47202 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47203 t3 = t2.offset;
47204 $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
47205 }
47206 _this.expectStatementSeparator$1("@content rule");
47207 return new A.ContentRule($arguments, t1.spanFrom$1(start));
47208 },
47209 _debugRule$1(start) {
47210 var value = this.expression$0();
47211 this.expectStatementSeparator$1("@debug rule");
47212 return new A.DebugRule(value, this.scanner.spanFrom$1(start));
47213 },
47214 _eachRule$2(start, child) {
47215 var variables, t1, _this = this,
47216 wasInControlDirective = _this._inControlDirective;
47217 _this._inControlDirective = true;
47218 variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
47219 _this.whitespace$0();
47220 for (t1 = _this.scanner; t1.scanChar$1(44);) {
47221 _this.whitespace$0();
47222 t1.expectChar$1(36);
47223 variables.push(_this.identifier$1$normalize(true));
47224 _this.whitespace$0();
47225 }
47226 _this.expectIdentifier$1("in");
47227 _this.whitespace$0();
47228 return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this.expression$0()));
47229 },
47230 _errorRule$1(start) {
47231 var value = this.expression$0();
47232 this.expectStatementSeparator$1("@error rule");
47233 return new A.ErrorRule(value, this.scanner.spanFrom$1(start));
47234 },
47235 _functionRule$1(start) {
47236 var $name, $arguments, _this = this,
47237 precedingComment = _this.lastSilentComment;
47238 _this.lastSilentComment = null;
47239 $name = _this.identifier$1$normalize(true);
47240 _this.whitespace$0();
47241 $arguments = _this._argumentDeclaration$0();
47242 if (_this._stylesheet$_inMixin || _this._inContentBlock)
47243 _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
47244 else if (_this._inControlDirective)
47245 _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
47246 switch (A.unvendor($name)) {
47247 case "calc":
47248 case "element":
47249 case "expression":
47250 case "url":
47251 case "and":
47252 case "or":
47253 case "not":
47254 case "clamp":
47255 _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
47256 break;
47257 }
47258 _this.whitespace$0();
47259 return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, $arguments, precedingComment));
47260 },
47261 _forRule$2(start, child) {
47262 var variable, from, _this = this, t1 = {},
47263 wasInControlDirective = _this._inControlDirective;
47264 _this._inControlDirective = true;
47265 variable = _this.variableName$0();
47266 _this.whitespace$0();
47267 _this.expectIdentifier$1("from");
47268 _this.whitespace$0();
47269 t1.exclusive = null;
47270 from = _this.expression$1$until(new A.StylesheetParser__forRule_closure(t1, _this));
47271 if (t1.exclusive == null)
47272 _this.scanner.error$1(0, 'Expected "to" or "through".');
47273 _this.whitespace$0();
47274 return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this.expression$0()));
47275 },
47276 _forwardRule$1(start) {
47277 var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
47278 url = _this._urlString$0();
47279 _this.whitespace$0();
47280 if (_this.scanIdentifier$1("as")) {
47281 _this.whitespace$0();
47282 prefix = _this.identifier$1$normalize(true);
47283 _this.scanner.expectChar$1(42);
47284 _this.whitespace$0();
47285 } else
47286 prefix = _null;
47287 if (_this.scanIdentifier$1("show")) {
47288 members = _this._memberList$0();
47289 shownMixinsAndFunctions = members.item1;
47290 shownVariables = members.item2;
47291 hiddenVariables = _null;
47292 hiddenMixinsAndFunctions = hiddenVariables;
47293 } else {
47294 if (_this.scanIdentifier$1("hide")) {
47295 members = _this._memberList$0();
47296 hiddenMixinsAndFunctions = members.item1;
47297 hiddenVariables = members.item2;
47298 } else {
47299 hiddenVariables = _null;
47300 hiddenMixinsAndFunctions = hiddenVariables;
47301 }
47302 shownVariables = _null;
47303 shownMixinsAndFunctions = shownVariables;
47304 }
47305 configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
47306 _this.expectStatementSeparator$1("@forward rule");
47307 span = _this.scanner.spanFrom$1(start);
47308 if (!_this._isUseAllowed)
47309 _this.error$2(0, string$.x40forwa, span);
47310 if (shownMixinsAndFunctions != null) {
47311 shownVariables.toString;
47312 t1 = type$.String;
47313 t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
47314 t3 = type$.UnmodifiableSetView_String;
47315 t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
47316 t4 = configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
47317 return new A.ForwardRule(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
47318 } else if (hiddenMixinsAndFunctions != null) {
47319 hiddenVariables.toString;
47320 t1 = type$.String;
47321 t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
47322 t3 = type$.UnmodifiableSetView_String;
47323 t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
47324 t4 = configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
47325 return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
47326 } else
47327 return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
47328 },
47329 _memberList$0() {
47330 var _this = this,
47331 t1 = type$.String,
47332 identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
47333 variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
47334 t1 = _this.scanner;
47335 do {
47336 _this.whitespace$0();
47337 _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
47338 _this.whitespace$0();
47339 } while (t1.scanChar$1(44));
47340 return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
47341 },
47342 _ifRule$2(start, child) {
47343 var condition, children, clauses, lastClause, span, _this = this,
47344 ifIndentation = _this.get$currentIndentation(),
47345 wasInControlDirective = _this._inControlDirective;
47346 _this._inControlDirective = true;
47347 condition = _this.expression$0();
47348 children = _this.children$1(0, child);
47349 _this.whitespaceWithoutComments$0();
47350 clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
47351 while (true) {
47352 if (!_this.scanElse$1(ifIndentation)) {
47353 lastClause = null;
47354 break;
47355 }
47356 _this.whitespace$0();
47357 if (_this.scanIdentifier$1("if")) {
47358 _this.whitespace$0();
47359 clauses.push(A.IfClause$(_this.expression$0(), _this.children$1(0, child)));
47360 } else {
47361 lastClause = A.ElseClause$(_this.children$1(0, child));
47362 break;
47363 }
47364 }
47365 _this._inControlDirective = wasInControlDirective;
47366 span = _this.scanner.spanFrom$1(start);
47367 _this.whitespaceWithoutComments$0();
47368 return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
47369 },
47370 _importRule$1(start) {
47371 var argument, _this = this,
47372 imports = A._setArrayType([], type$.JSArray_Import),
47373 t1 = _this.scanner;
47374 do {
47375 _this.whitespace$0();
47376 argument = _this.importArgument$0();
47377 if ((_this._inControlDirective || _this._stylesheet$_inMixin) && argument instanceof A.DynamicImport)
47378 _this._disallowedAtRule$1(start);
47379 imports.push(argument);
47380 _this.whitespace$0();
47381 } while (t1.scanChar$1(44));
47382 _this.expectStatementSeparator$1("@import rule");
47383 t1 = t1.spanFrom$1(start);
47384 return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
47385 },
47386 importArgument$0() {
47387 var url, urlSpan, innerError, stackTrace, queries, t2, t3, t4, exception, _this = this, _null = null,
47388 t1 = _this.scanner,
47389 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
47390 next = t1.peekChar$0();
47391 if (next === 117 || next === 85) {
47392 url = _this.dynamicUrl$0();
47393 _this.whitespace$0();
47394 queries = _this.tryImportQueries$0();
47395 t2 = A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start));
47396 t1 = t1.spanFrom$1(start);
47397 t3 = queries == null;
47398 t4 = t3 ? _null : queries.item1;
47399 return new A.StaticImport(t2, t4, t3 ? _null : queries.item2, t1);
47400 }
47401 url = _this.string$0();
47402 urlSpan = t1.spanFrom$1(start);
47403 _this.whitespace$0();
47404 queries = _this.tryImportQueries$0();
47405 if (_this.isPlainImportUrl$1(url) || queries != null) {
47406 t2 = urlSpan;
47407 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);
47408 t1 = t1.spanFrom$1(start);
47409 t3 = queries == null;
47410 t4 = t3 ? _null : queries.item1;
47411 return new A.StaticImport(t2, t4, t3 ? _null : queries.item2, t1);
47412 } else
47413 try {
47414 t1 = _this.parseImportUrl$1(url);
47415 return new A.DynamicImport(t1, urlSpan);
47416 } catch (exception) {
47417 t1 = A.unwrapException(exception);
47418 if (type$.FormatException._is(t1)) {
47419 innerError = t1;
47420 stackTrace = A.getTraceFromException(exception);
47421 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
47422 } else
47423 throw exception;
47424 }
47425 },
47426 parseImportUrl$1(url) {
47427 var t1 = $.$get$windows();
47428 if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
47429 return t1.toUri$1(url).toString$0(0);
47430 A.Uri_parse(url);
47431 return url;
47432 },
47433 isPlainImportUrl$1(url) {
47434 var first;
47435 if (url.length < 5)
47436 return false;
47437 if (B.JSString_methods.endsWith$1(url, ".css"))
47438 return true;
47439 first = B.JSString_methods._codeUnitAt$1(url, 0);
47440 if (first === 47)
47441 return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
47442 if (first !== 104)
47443 return false;
47444 return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
47445 },
47446 tryImportQueries$0() {
47447 var t1, start, supports, identifier, t2, $arguments, $name, media, _this = this, _null = null;
47448 if (_this.scanIdentifier$1("supports")) {
47449 t1 = _this.scanner;
47450 t1.expectChar$1(40);
47451 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
47452 if (_this.scanIdentifier$1("not")) {
47453 _this.whitespace$0();
47454 supports = new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(start));
47455 } else if (t1.peekChar$0() === 40)
47456 supports = _this._supportsCondition$0();
47457 else {
47458 if (_this._lookingAtInterpolatedIdentifier$0()) {
47459 identifier = _this.interpolatedIdentifier$0();
47460 t2 = identifier.get$asPlain();
47461 if ((t2 == null ? _null : t2.toLowerCase()) === "not")
47462 _this.error$2(0, '"not" is not a valid identifier here.', identifier.span);
47463 if (t1.scanChar$1(40)) {
47464 $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
47465 t1.expectChar$1(41);
47466 supports = new A.SupportsFunction(identifier, $arguments, t1.spanFrom$1(start));
47467 } else {
47468 t1.set$state(start);
47469 supports = _null;
47470 }
47471 } else
47472 supports = _null;
47473 if (supports == null) {
47474 $name = _this.expression$0();
47475 t1.expectChar$1(58);
47476 supports = _this._supportsDeclarationValue$2($name, start);
47477 }
47478 }
47479 t1.expectChar$1(41);
47480 _this.whitespace$0();
47481 } else
47482 supports = _null;
47483 media = _this._lookingAtInterpolatedIdentifier$0() || _this.scanner.peekChar$0() === 40 ? _this._mediaQueryList$0() : _null;
47484 if (supports == null && media == null)
47485 return _null;
47486 return new A.Tuple2(supports, media, type$.Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation);
47487 },
47488 _includeRule$1(start) {
47489 var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
47490 $name = _this.identifier$0(),
47491 t1 = _this.scanner;
47492 if (t1.scanChar$1(46)) {
47493 name0 = _this._publicIdentifier$0();
47494 namespace = $name;
47495 $name = name0;
47496 } else {
47497 $name = A.stringReplaceAllUnchecked($name, "_", "-");
47498 namespace = _null;
47499 }
47500 _this.whitespace$0();
47501 if (t1.peekChar$0() === 40)
47502 $arguments = _this._argumentInvocation$1$mixin(true);
47503 else {
47504 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47505 t3 = t2.offset;
47506 $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
47507 }
47508 _this.whitespace$0();
47509 if (_this.scanIdentifier$1("using")) {
47510 _this.whitespace$0();
47511 contentArguments = _this._argumentDeclaration$0();
47512 _this.whitespace$0();
47513 } else
47514 contentArguments = _null;
47515 t2 = contentArguments == null;
47516 if (!t2 || _this.lookingAtChildren$0()) {
47517 if (t2) {
47518 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47519 t3 = t2.offset;
47520 contentArguments_ = new A.ArgumentDeclaration(B.List_empty8, _null, A._FileSpan$(t2.file, t3, t3));
47521 } else
47522 contentArguments_ = contentArguments;
47523 wasInContentBlock = _this._inContentBlock;
47524 _this._inContentBlock = true;
47525 $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentArguments_));
47526 _this._inContentBlock = wasInContentBlock;
47527 } else {
47528 _this.expectStatementSeparator$0();
47529 $content = _null;
47530 }
47531 t1 = t1.spanFrom$2(start, start);
47532 t2 = $content == null ? $arguments : $content;
47533 return new A.IncludeRule(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
47534 },
47535 mediaRule$1(start) {
47536 return this._withChildren$3(this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()));
47537 },
47538 _mixinRule$1(start) {
47539 var $name, t1, $arguments, t2, t3, _this = this,
47540 precedingComment = _this.lastSilentComment;
47541 _this.lastSilentComment = null;
47542 $name = _this.identifier$1$normalize(true);
47543 _this.whitespace$0();
47544 t1 = _this.scanner;
47545 if (t1.peekChar$0() === 40)
47546 $arguments = _this._argumentDeclaration$0();
47547 else {
47548 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
47549 t3 = t2.offset;
47550 $arguments = new A.ArgumentDeclaration(B.List_empty8, null, A._FileSpan$(t2.file, t3, t3));
47551 }
47552 if (_this._stylesheet$_inMixin || _this._inContentBlock)
47553 _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
47554 else if (_this._inControlDirective)
47555 _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
47556 _this.whitespace$0();
47557 _this._stylesheet$_inMixin = true;
47558 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, $arguments, precedingComment));
47559 },
47560 mozDocumentRule$2(start, $name) {
47561 var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
47562 t1 = _this.scanner,
47563 t2 = t1._string_scanner$_position,
47564 t3 = new A.StringBuffer(""),
47565 t4 = A._setArrayType([], type$.JSArray_Object),
47566 buffer = new A.InterpolationBuffer(t3, t4);
47567 _box_0.needsDeprecationWarning = false;
47568 for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
47569 if (t1.peekChar$0() === 35) {
47570 t7 = _this.singleInterpolation$0();
47571 buffer._flushText$0();
47572 t4.push(t7);
47573 _box_0.needsDeprecationWarning = true;
47574 } else {
47575 t7 = t1._string_scanner$_position;
47576 identifier = _this.identifier$0();
47577 switch (identifier) {
47578 case "url":
47579 case "url-prefix":
47580 case "domain":
47581 contents = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
47582 if (contents != null)
47583 buffer.addInterpolation$1(contents);
47584 else {
47585 t1.expectChar$1(40);
47586 _this.whitespace$0();
47587 argument = _this.interpolatedString$0();
47588 t1.expectChar$1(41);
47589 t7 = t3._contents += identifier;
47590 t3._contents = t7 + A.Primitives_stringFromCharCode(40);
47591 buffer.addInterpolation$1(argument.asInterpolation$0());
47592 t3._contents += A.Primitives_stringFromCharCode(41);
47593 }
47594 t7 = t3._contents;
47595 trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
47596 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("")'))
47597 _box_0.needsDeprecationWarning = true;
47598 break;
47599 case "regexp":
47600 t3._contents += "regexp(";
47601 t1.expectChar$1(40);
47602 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
47603 t1.expectChar$1(41);
47604 t3._contents += A.Primitives_stringFromCharCode(41);
47605 _box_0.needsDeprecationWarning = true;
47606 break;
47607 default:
47608 endPosition = t1._string_scanner$_position;
47609 t8 = t1._sourceFile;
47610 t9 = new A._FileSpan(t8, t7, endPosition);
47611 t9._FileSpan$3(t8, t7, endPosition);
47612 A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
47613 }
47614 }
47615 _this.whitespace$0();
47616 if (!t1.scanChar$1(44))
47617 break;
47618 t3._contents += A.Primitives_stringFromCharCode(44);
47619 start0 = t1._string_scanner$_position;
47620 t5.call$0();
47621 end = t1._string_scanner$_position;
47622 t3._contents += B.JSString_methods.substring$2(t6, start0, end);
47623 }
47624 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)))));
47625 },
47626 supportsRule$1(start) {
47627 var _this = this,
47628 condition = _this._supportsCondition$0();
47629 _this.whitespace$0();
47630 return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
47631 },
47632 _useRule$1(start) {
47633 var namespace, configuration, span, t1, _this = this,
47634 _s9_ = "@use rule",
47635 url = _this._urlString$0();
47636 _this.whitespace$0();
47637 namespace = _this._useNamespace$2(url, start);
47638 _this.whitespace$0();
47639 configuration = _this._stylesheet$_configuration$0();
47640 _this.expectStatementSeparator$1(_s9_);
47641 span = _this.scanner.spanFrom$1(start);
47642 if (!_this._isUseAllowed)
47643 _this.error$2(0, string$.x40use_r, span);
47644 _this.expectStatementSeparator$1(_s9_);
47645 t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty6 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
47646 t1.UseRule$4$configuration(url, namespace, span, configuration);
47647 return t1;
47648 },
47649 _useNamespace$2(url, start) {
47650 var namespace, basename, dot, t1, exception, _this = this;
47651 if (_this.scanIdentifier$1("as")) {
47652 _this.whitespace$0();
47653 return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
47654 }
47655 basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
47656 dot = B.JSString_methods.indexOf$1(basename, ".");
47657 t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
47658 namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
47659 try {
47660 t1 = A.SpanScanner$(namespace, null);
47661 t1 = new A.Parser(t1, _this.logger)._parseIdentifier$0();
47662 return t1;
47663 } catch (exception) {
47664 if (A.unwrapException(exception) instanceof A.SassFormatException)
47665 _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
47666 else
47667 throw exception;
47668 }
47669 },
47670 _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
47671 var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
47672 if (!_this.scanIdentifier$1("with"))
47673 return null;
47674 variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
47675 configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
47676 _this.whitespace$0();
47677 t1 = _this.scanner;
47678 t1.expectChar$1(40);
47679 for (t2 = t1.string; true;) {
47680 _this.whitespace$0();
47681 t3 = t1._string_scanner$_position;
47682 t1.expectChar$1(36);
47683 $name = _this.identifier$1$normalize(true);
47684 _this.whitespace$0();
47685 t1.expectChar$1(58);
47686 _this.whitespace$0();
47687 expression = _this._expressionUntilComma$0();
47688 t4 = t1._string_scanner$_position;
47689 if (allowGuarded && t1.scanChar$1(33))
47690 if (_this.identifier$0() === "default") {
47691 _this.whitespace$0();
47692 guarded = true;
47693 } else {
47694 endPosition = t1._string_scanner$_position;
47695 t5 = t1._sourceFile;
47696 t6 = new A._FileSpan(t5, t4, endPosition);
47697 t6._FileSpan$3(t5, t4, endPosition);
47698 A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
47699 guarded = false;
47700 }
47701 else
47702 guarded = false;
47703 endPosition = t1._string_scanner$_position;
47704 t4 = t1._sourceFile;
47705 span = new A._FileSpan(t4, t3, endPosition);
47706 span._FileSpan$3(t4, t3, endPosition);
47707 if (variableNames.contains$1(0, $name))
47708 A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
47709 variableNames.add$1(0, $name);
47710 configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
47711 if (!t1.scanChar$1(44))
47712 break;
47713 _this.whitespace$0();
47714 if (!_this._lookingAtExpression$0())
47715 break;
47716 }
47717 t1.expectChar$1(41);
47718 return configuration;
47719 },
47720 _stylesheet$_configuration$0() {
47721 return this._stylesheet$_configuration$1$allowGuarded(false);
47722 },
47723 _warnRule$1(start) {
47724 var value = this.expression$0();
47725 this.expectStatementSeparator$1("@warn rule");
47726 return new A.WarnRule(value, this.scanner.spanFrom$1(start));
47727 },
47728 _whileRule$2(start, child) {
47729 var _this = this,
47730 wasInControlDirective = _this._inControlDirective;
47731 _this._inControlDirective = true;
47732 return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this.expression$0()));
47733 },
47734 unknownAtRule$2(start, $name) {
47735 var t2, t3, rule, _this = this, t1 = {},
47736 wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
47737 _this._stylesheet$_inUnknownAtRule = true;
47738 t1.value = null;
47739 t2 = _this.scanner;
47740 t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
47741 if (_this.lookingAtChildren$0())
47742 rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
47743 else {
47744 _this.expectStatementSeparator$0();
47745 rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
47746 }
47747 _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
47748 return rule;
47749 },
47750 _disallowedAtRule$1(start) {
47751 this.almostAnyValue$0();
47752 this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
47753 },
47754 _argumentDeclaration$0() {
47755 var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
47756 t1 = _this.scanner,
47757 t2 = t1._string_scanner$_position;
47758 t1.expectChar$1(40);
47759 _this.whitespace$0();
47760 $arguments = A._setArrayType([], type$.JSArray_Argument);
47761 named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
47762 t3 = t1.string;
47763 while (true) {
47764 if (!(t1.peekChar$0() === 36)) {
47765 restArgument = null;
47766 break;
47767 }
47768 t4 = t1._string_scanner$_position;
47769 t1.expectChar$1(36);
47770 $name = _this.identifier$1$normalize(true);
47771 _this.whitespace$0();
47772 if (t1.scanChar$1(58)) {
47773 _this.whitespace$0();
47774 defaultValue = _this._expressionUntilComma$0();
47775 } else {
47776 if (t1.scanChar$1(46)) {
47777 t1.expectChar$1(46);
47778 t1.expectChar$1(46);
47779 _this.whitespace$0();
47780 restArgument = $name;
47781 break;
47782 }
47783 defaultValue = null;
47784 }
47785 endPosition = t1._string_scanner$_position;
47786 t5 = t1._sourceFile;
47787 t6 = new A._FileSpan(t5, t4, endPosition);
47788 t6._FileSpan$3(t5, t4, endPosition);
47789 $arguments.push(new A.Argument($name, defaultValue, t6));
47790 if (!named.add$1(0, $name))
47791 A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
47792 if (!t1.scanChar$1(44)) {
47793 restArgument = null;
47794 break;
47795 }
47796 _this.whitespace$0();
47797 }
47798 t1.expectChar$1(41);
47799 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
47800 return new A.ArgumentDeclaration(A.List_List$unmodifiable($arguments, type$.Argument), restArgument, t1);
47801 },
47802 _argumentInvocation$1$mixin(mixin) {
47803 var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, _this = this,
47804 t1 = _this.scanner,
47805 t2 = t1._string_scanner$_position;
47806 t1.expectChar$1(40);
47807 _this.whitespace$0();
47808 positional = A._setArrayType([], type$.JSArray_Expression);
47809 t3 = type$.String;
47810 t4 = type$.Expression;
47811 named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
47812 t5 = !mixin;
47813 t6 = t1.string;
47814 rest = null;
47815 while (true) {
47816 if (!_this._lookingAtExpression$0()) {
47817 keywordRest = null;
47818 break;
47819 }
47820 expression = _this._expressionUntilComma$1$singleEquals(t5);
47821 _this.whitespace$0();
47822 if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
47823 _this.whitespace$0();
47824 t7 = expression.name;
47825 if (named.containsKey$1(t7))
47826 A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
47827 named.$indexSet(0, t7, _this._expressionUntilComma$1$singleEquals(t5));
47828 } else if (t1.scanChar$1(46)) {
47829 t1.expectChar$1(46);
47830 t1.expectChar$1(46);
47831 if (rest != null) {
47832 _this.whitespace$0();
47833 keywordRest = expression;
47834 break;
47835 }
47836 rest = expression;
47837 } else if (named.get$isNotEmpty(named))
47838 A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
47839 else
47840 positional.push(expression);
47841 _this.whitespace$0();
47842 if (!t1.scanChar$1(44)) {
47843 keywordRest = null;
47844 break;
47845 }
47846 _this.whitespace$0();
47847 }
47848 t1.expectChar$1(41);
47849 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
47850 return new A.ArgumentInvocation(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
47851 },
47852 _argumentInvocation$0() {
47853 return this._argumentInvocation$1$mixin(false);
47854 },
47855 expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
47856 var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
47857 _s20_ = "Expected expression.",
47858 _box_0 = {},
47859 t1 = until != null;
47860 if (t1 && until.call$0())
47861 _this.scanner.error$1(0, _s20_);
47862 if (bracketList) {
47863 t2 = _this.scanner;
47864 beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
47865 t2.expectChar$1(91);
47866 _this.whitespace$0();
47867 if (t2.scanChar$1(93)) {
47868 t1 = A._setArrayType([], type$.JSArray_Expression);
47869 t2 = t2.spanFrom$1(beforeBracket);
47870 return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null, true, t2);
47871 }
47872 } else
47873 beforeBracket = null;
47874 t2 = _this.scanner;
47875 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
47876 wasInParentheses = _this._inParentheses;
47877 _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
47878 _box_0.allowSlash = true;
47879 _box_0.singleExpression_ = _this._singleExpression$0();
47880 resetState = new A.StylesheetParser_expression_resetState(_box_0, _this, start);
47881 resolveOneOperation = new A.StylesheetParser_expression_resolveOneOperation(_box_0, _this);
47882 resolveOperations = new A.StylesheetParser_expression_resolveOperations(_box_0, resolveOneOperation);
47883 addSingleExpression = new A.StylesheetParser_expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
47884 addOperator = new A.StylesheetParser_expression_addOperator(_box_0, _this, resolveOneOperation);
47885 resolveSpaceExpressions = new A.StylesheetParser_expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
47886 $label0$0:
47887 for (t3 = type$.JSArray_Expression; true;) {
47888 _this.whitespace$0();
47889 if (t1 && until.call$0())
47890 break $label0$0;
47891 first = t2.peekChar$0();
47892 switch (first) {
47893 case 40:
47894 addSingleExpression.call$1(_this._parentheses$0());
47895 break;
47896 case 91:
47897 addSingleExpression.call$1(_this.expression$1$bracketList(true));
47898 break;
47899 case 36:
47900 addSingleExpression.call$1(_this._variable$0());
47901 break;
47902 case 38:
47903 addSingleExpression.call$1(_this._selector$0());
47904 break;
47905 case 39:
47906 case 34:
47907 addSingleExpression.call$1(_this.interpolatedString$0());
47908 break;
47909 case 35:
47910 addSingleExpression.call$1(_this._hashExpression$0());
47911 break;
47912 case 61:
47913 t2.readChar$0();
47914 if (singleEquals && t2.peekChar$0() !== 61)
47915 addOperator.call$1(B.BinaryOperator_kjl);
47916 else {
47917 t2.expectChar$1(61);
47918 addOperator.call$1(B.BinaryOperator_YlX);
47919 }
47920 break;
47921 case 33:
47922 next = t2.peekChar$1(1);
47923 if (next === 61) {
47924 t2.readChar$0();
47925 t2.readChar$0();
47926 addOperator.call$1(B.BinaryOperator_i5H);
47927 } else {
47928 if (next != null)
47929 if ((next | 32) >>> 0 !== 105)
47930 t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
47931 else
47932 t4 = true;
47933 else
47934 t4 = true;
47935 if (t4)
47936 addSingleExpression.call$1(_this._importantExpression$0());
47937 else
47938 break $label0$0;
47939 }
47940 break;
47941 case 60:
47942 t2.readChar$0();
47943 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_33h : B.BinaryOperator_8qt);
47944 break;
47945 case 62:
47946 t2.readChar$0();
47947 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_1da : B.BinaryOperator_AcR);
47948 break;
47949 case 42:
47950 t2.readChar$0();
47951 addOperator.call$1(B.BinaryOperator_O1M);
47952 break;
47953 case 43:
47954 if (_box_0.singleExpression_ == null)
47955 addSingleExpression.call$1(_this._unaryOperation$0());
47956 else {
47957 t2.readChar$0();
47958 addOperator.call$1(B.BinaryOperator_AcR0);
47959 }
47960 break;
47961 case 45:
47962 next = t2.peekChar$1(1);
47963 if (next != null && next >= 48 && next <= 57 || next === 46)
47964 if (_box_0.singleExpression_ != null) {
47965 t4 = t2.peekChar$1(-1);
47966 t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
47967 } else
47968 t4 = true;
47969 else
47970 t4 = false;
47971 if (t4)
47972 addSingleExpression.call$1(_this._number$0());
47973 else if (_this._lookingAtInterpolatedIdentifier$0())
47974 addSingleExpression.call$1(_this.identifierLike$0());
47975 else if (_box_0.singleExpression_ == null)
47976 addSingleExpression.call$1(_this._unaryOperation$0());
47977 else {
47978 t2.readChar$0();
47979 addOperator.call$1(B.BinaryOperator_iyO);
47980 }
47981 break;
47982 case 47:
47983 if (_box_0.singleExpression_ == null)
47984 addSingleExpression.call$1(_this._unaryOperation$0());
47985 else {
47986 t2.readChar$0();
47987 addOperator.call$1(B.BinaryOperator_RTB);
47988 }
47989 break;
47990 case 37:
47991 t2.readChar$0();
47992 addOperator.call$1(B.BinaryOperator_2ad);
47993 break;
47994 case 48:
47995 case 49:
47996 case 50:
47997 case 51:
47998 case 52:
47999 case 53:
48000 case 54:
48001 case 55:
48002 case 56:
48003 case 57:
48004 addSingleExpression.call$1(_this._number$0());
48005 break;
48006 case 46:
48007 if (t2.peekChar$1(1) === 46)
48008 break $label0$0;
48009 addSingleExpression.call$1(_this._number$0());
48010 break;
48011 case 97:
48012 if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
48013 addOperator.call$1(B.BinaryOperator_and_and_2);
48014 else
48015 addSingleExpression.call$1(_this.identifierLike$0());
48016 break;
48017 case 111:
48018 if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
48019 addOperator.call$1(B.BinaryOperator_or_or_1);
48020 else
48021 addSingleExpression.call$1(_this.identifierLike$0());
48022 break;
48023 case 117:
48024 case 85:
48025 if (t2.peekChar$1(1) === 43)
48026 addSingleExpression.call$1(_this._unicodeRange$0());
48027 else
48028 addSingleExpression.call$1(_this.identifierLike$0());
48029 break;
48030 case 98:
48031 case 99:
48032 case 100:
48033 case 101:
48034 case 102:
48035 case 103:
48036 case 104:
48037 case 105:
48038 case 106:
48039 case 107:
48040 case 108:
48041 case 109:
48042 case 110:
48043 case 112:
48044 case 113:
48045 case 114:
48046 case 115:
48047 case 116:
48048 case 118:
48049 case 119:
48050 case 120:
48051 case 121:
48052 case 122:
48053 case 65:
48054 case 66:
48055 case 67:
48056 case 68:
48057 case 69:
48058 case 70:
48059 case 71:
48060 case 72:
48061 case 73:
48062 case 74:
48063 case 75:
48064 case 76:
48065 case 77:
48066 case 78:
48067 case 79:
48068 case 80:
48069 case 81:
48070 case 82:
48071 case 83:
48072 case 84:
48073 case 86:
48074 case 87:
48075 case 88:
48076 case 89:
48077 case 90:
48078 case 95:
48079 case 92:
48080 addSingleExpression.call$1(_this.identifierLike$0());
48081 break;
48082 case 44:
48083 if (_this._inParentheses) {
48084 _this._inParentheses = false;
48085 if (_box_0.allowSlash) {
48086 resetState.call$0();
48087 break;
48088 }
48089 }
48090 commaExpressions = _box_0.commaExpressions_;
48091 if (commaExpressions == null)
48092 commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
48093 if (_box_0.singleExpression_ == null)
48094 t2.error$1(0, _s20_);
48095 resolveSpaceExpressions.call$0();
48096 t4 = _box_0.singleExpression_;
48097 t4.toString;
48098 commaExpressions.push(t4);
48099 t2.readChar$0();
48100 _box_0.allowSlash = true;
48101 _box_0.singleExpression_ = null;
48102 break;
48103 default:
48104 if (first != null && first >= 128) {
48105 addSingleExpression.call$1(_this.identifierLike$0());
48106 break;
48107 } else
48108 break $label0$0;
48109 }
48110 }
48111 if (bracketList)
48112 t2.expectChar$1(93);
48113 commaExpressions = _box_0.commaExpressions_;
48114 spaceExpressions = _box_0.spaceExpressions_;
48115 if (commaExpressions != null) {
48116 resolveSpaceExpressions.call$0();
48117 _this._inParentheses = wasInParentheses;
48118 singleExpression = _box_0.singleExpression_;
48119 if (singleExpression != null)
48120 commaExpressions.push(singleExpression);
48121 t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
48122 return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_kWM, bracketList, t1);
48123 } else if (bracketList && spaceExpressions != null) {
48124 resolveOperations.call$0();
48125 t1 = _box_0.singleExpression_;
48126 t1.toString;
48127 spaceExpressions.push(t1);
48128 beforeBracket.toString;
48129 t2 = t2.spanFrom$1(beforeBracket);
48130 return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_woc, true, t2);
48131 } else {
48132 resolveSpaceExpressions.call$0();
48133 if (bracketList) {
48134 t1 = _box_0.singleExpression_;
48135 t1.toString;
48136 t3 = A._setArrayType([t1], t3);
48137 beforeBracket.toString;
48138 t2 = t2.spanFrom$1(beforeBracket);
48139 _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t3, type$.Expression), B.ListSeparator_undecided_null, true, t2);
48140 }
48141 t1 = _box_0.singleExpression_;
48142 t1.toString;
48143 return t1;
48144 }
48145 },
48146 expression$0() {
48147 return this.expression$3$bracketList$singleEquals$until(false, false, null);
48148 },
48149 expression$2$singleEquals$until(singleEquals, until) {
48150 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, until);
48151 },
48152 expression$1$bracketList(bracketList) {
48153 return this.expression$3$bracketList$singleEquals$until(bracketList, false, null);
48154 },
48155 expression$1$singleEquals(singleEquals) {
48156 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, null);
48157 },
48158 expression$1$until(until) {
48159 return this.expression$3$bracketList$singleEquals$until(false, false, until);
48160 },
48161 _expressionUntilComma$1$singleEquals(singleEquals) {
48162 return this.expression$2$singleEquals$until(singleEquals, new A.StylesheetParser__expressionUntilComma_closure(this));
48163 },
48164 _expressionUntilComma$0() {
48165 return this._expressionUntilComma$1$singleEquals(false);
48166 },
48167 _isSlashOperand$1(expression) {
48168 var t1;
48169 if (!(expression instanceof A.NumberExpression))
48170 if (!(expression instanceof A.CalculationExpression))
48171 t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
48172 else
48173 t1 = true;
48174 else
48175 t1 = true;
48176 return t1;
48177 },
48178 _singleExpression$0() {
48179 var next, _this = this,
48180 t1 = _this.scanner,
48181 first = t1.peekChar$0();
48182 switch (first) {
48183 case 40:
48184 return _this._parentheses$0();
48185 case 47:
48186 return _this._unaryOperation$0();
48187 case 46:
48188 return _this._number$0();
48189 case 91:
48190 return _this.expression$1$bracketList(true);
48191 case 36:
48192 return _this._variable$0();
48193 case 38:
48194 return _this._selector$0();
48195 case 39:
48196 case 34:
48197 return _this.interpolatedString$0();
48198 case 35:
48199 return _this._hashExpression$0();
48200 case 43:
48201 next = t1.peekChar$1(1);
48202 return A.isDigit(next) || next === 46 ? _this._number$0() : _this._unaryOperation$0();
48203 case 45:
48204 return _this._minusExpression$0();
48205 case 33:
48206 return _this._importantExpression$0();
48207 case 117:
48208 case 85:
48209 if (t1.peekChar$1(1) === 43)
48210 return _this._unicodeRange$0();
48211 else
48212 return _this.identifierLike$0();
48213 case 48:
48214 case 49:
48215 case 50:
48216 case 51:
48217 case 52:
48218 case 53:
48219 case 54:
48220 case 55:
48221 case 56:
48222 case 57:
48223 return _this._number$0();
48224 case 97:
48225 case 98:
48226 case 99:
48227 case 100:
48228 case 101:
48229 case 102:
48230 case 103:
48231 case 104:
48232 case 105:
48233 case 106:
48234 case 107:
48235 case 108:
48236 case 109:
48237 case 110:
48238 case 111:
48239 case 112:
48240 case 113:
48241 case 114:
48242 case 115:
48243 case 116:
48244 case 118:
48245 case 119:
48246 case 120:
48247 case 121:
48248 case 122:
48249 case 65:
48250 case 66:
48251 case 67:
48252 case 68:
48253 case 69:
48254 case 70:
48255 case 71:
48256 case 72:
48257 case 73:
48258 case 74:
48259 case 75:
48260 case 76:
48261 case 77:
48262 case 78:
48263 case 79:
48264 case 80:
48265 case 81:
48266 case 82:
48267 case 83:
48268 case 84:
48269 case 86:
48270 case 87:
48271 case 88:
48272 case 89:
48273 case 90:
48274 case 95:
48275 case 92:
48276 return _this.identifierLike$0();
48277 default:
48278 if (first != null && first >= 128)
48279 return _this.identifierLike$0();
48280 t1.error$1(0, "Expected expression.");
48281 }
48282 },
48283 _parentheses$0() {
48284 var wasInParentheses, start, first, expressions, t1, t2, _this = this;
48285 if (_this.get$plainCss())
48286 _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
48287 wasInParentheses = _this._inParentheses;
48288 _this._inParentheses = true;
48289 try {
48290 t1 = _this.scanner;
48291 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48292 t1.expectChar$1(40);
48293 _this.whitespace$0();
48294 if (!_this._lookingAtExpression$0()) {
48295 t1.expectChar$1(41);
48296 t2 = A._setArrayType([], type$.JSArray_Expression);
48297 t1 = t1.spanFrom$1(start);
48298 t2 = A.List_List$unmodifiable(t2, type$.Expression);
48299 return new A.ListExpression(t2, B.ListSeparator_undecided_null, false, t1);
48300 }
48301 first = _this._expressionUntilComma$0();
48302 if (t1.scanChar$1(58)) {
48303 _this.whitespace$0();
48304 t1 = _this._stylesheet$_map$2(first, start);
48305 return t1;
48306 }
48307 if (!t1.scanChar$1(44)) {
48308 t1.expectChar$1(41);
48309 t1 = t1.spanFrom$1(start);
48310 return new A.ParenthesizedExpression(first, t1);
48311 }
48312 _this.whitespace$0();
48313 expressions = A._setArrayType([first], type$.JSArray_Expression);
48314 for (; true;) {
48315 if (!_this._lookingAtExpression$0())
48316 break;
48317 J.add$1$ax(expressions, _this._expressionUntilComma$0());
48318 if (!t1.scanChar$1(44))
48319 break;
48320 _this.whitespace$0();
48321 }
48322 t1.expectChar$1(41);
48323 t1 = t1.spanFrom$1(start);
48324 t2 = A.List_List$unmodifiable(expressions, type$.Expression);
48325 return new A.ListExpression(t2, B.ListSeparator_kWM, false, t1);
48326 } finally {
48327 _this._inParentheses = wasInParentheses;
48328 }
48329 },
48330 _stylesheet$_map$2(first, start) {
48331 var t2, key, _this = this,
48332 t1 = type$.Tuple2_Expression_Expression,
48333 pairs = A._setArrayType([new A.Tuple2(first, _this._expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression);
48334 for (t2 = _this.scanner; t2.scanChar$1(44);) {
48335 _this.whitespace$0();
48336 if (!_this._lookingAtExpression$0())
48337 break;
48338 key = _this._expressionUntilComma$0();
48339 t2.expectChar$1(58);
48340 _this.whitespace$0();
48341 pairs.push(new A.Tuple2(key, _this._expressionUntilComma$0(), t1));
48342 }
48343 t2.expectChar$1(41);
48344 t2 = t2.spanFrom$1(start);
48345 return new A.MapExpression(A.List_List$unmodifiable(pairs, t1), t2);
48346 },
48347 _hashExpression$0() {
48348 var start, first, t2, identifier, buffer, _this = this,
48349 t1 = _this.scanner;
48350 if (t1.peekChar$1(1) === 123)
48351 return _this.identifierLike$0();
48352 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48353 t1.expectChar$1(35);
48354 first = t1.peekChar$0();
48355 if (first != null && A.isDigit(first)) {
48356 t1 = _this._hexColorContents$1(start);
48357 t2 = t1.originalSpan;
48358 t2.toString;
48359 return new A.ColorExpression(t1, t2);
48360 }
48361 t2 = t1._string_scanner$_position;
48362 identifier = _this.interpolatedIdentifier$0();
48363 if (_this._isHexColor$1(identifier)) {
48364 t1.set$state(new A._SpanScannerState(t1, t2));
48365 t1 = _this._hexColorContents$1(start);
48366 t2 = t1.originalSpan;
48367 t2.toString;
48368 return new A.ColorExpression(t1, t2);
48369 }
48370 t2 = new A.StringBuffer("");
48371 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48372 t2._contents = "" + A.Primitives_stringFromCharCode(35);
48373 buffer.addInterpolation$1(identifier);
48374 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
48375 },
48376 _hexColorContents$1(start) {
48377 var red, green, blue, alpha, digit4, t2, t3, _this = this,
48378 digit1 = _this._hexDigit$0(),
48379 digit2 = _this._hexDigit$0(),
48380 digit3 = _this._hexDigit$0(),
48381 t1 = _this.scanner;
48382 if (!A.isHex(t1.peekChar$0())) {
48383 red = (digit1 << 4 >>> 0) + digit1;
48384 green = (digit2 << 4 >>> 0) + digit2;
48385 blue = (digit3 << 4 >>> 0) + digit3;
48386 alpha = 1;
48387 } else {
48388 digit4 = _this._hexDigit$0();
48389 t2 = digit1 << 4 >>> 0;
48390 t3 = digit3 << 4 >>> 0;
48391 if (!A.isHex(t1.peekChar$0())) {
48392 red = t2 + digit1;
48393 green = (digit2 << 4 >>> 0) + digit2;
48394 blue = t3 + digit3;
48395 alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
48396 } else {
48397 red = t2 + digit2;
48398 green = t3 + digit4;
48399 blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
48400 alpha = A.isHex(t1.peekChar$0()) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : 1;
48401 }
48402 }
48403 return A.SassColor$rgb(red, green, blue, alpha, t1.spanFrom$1(start));
48404 },
48405 _isHexColor$1(interpolation) {
48406 var t1,
48407 plain = interpolation.get$asPlain();
48408 if (plain == null)
48409 return false;
48410 t1 = plain.length;
48411 if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
48412 return false;
48413 t1 = new A.CodeUnits(plain);
48414 return t1.every$1(t1, A.character__isHex$closure());
48415 },
48416 _hexDigit$0() {
48417 var t1 = this.scanner,
48418 char = t1.peekChar$0();
48419 if (char == null || !A.isHex(char))
48420 t1.error$1(0, "Expected hex digit.");
48421 return A.asHex(t1.readChar$0());
48422 },
48423 _minusExpression$0() {
48424 var _this = this,
48425 next = _this.scanner.peekChar$1(1);
48426 if (A.isDigit(next) || next === 46)
48427 return _this._number$0();
48428 if (_this._lookingAtInterpolatedIdentifier$0())
48429 return _this.identifierLike$0();
48430 return _this._unaryOperation$0();
48431 },
48432 _importantExpression$0() {
48433 var t1 = this.scanner,
48434 t2 = t1._string_scanner$_position;
48435 t1.readChar$0();
48436 this.whitespace$0();
48437 this.expectIdentifier$1("important");
48438 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
48439 return new A.StringExpression(A.Interpolation$(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
48440 },
48441 _unaryOperation$0() {
48442 var _this = this,
48443 t1 = _this.scanner,
48444 t2 = t1._string_scanner$_position,
48445 operator = _this._unaryOperatorFor$1(t1.readChar$0());
48446 if (operator == null)
48447 t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
48448 else if (_this.get$plainCss() && operator !== B.UnaryOperator_zDx)
48449 t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
48450 _this.whitespace$0();
48451 return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48452 },
48453 _unaryOperatorFor$1(character) {
48454 switch (character) {
48455 case 43:
48456 return B.UnaryOperator_j2w;
48457 case 45:
48458 return B.UnaryOperator_U4G;
48459 case 47:
48460 return B.UnaryOperator_zDx;
48461 default:
48462 return null;
48463 }
48464 },
48465 _number$0() {
48466 var number, t4, unit, t5, _this = this,
48467 t1 = _this.scanner,
48468 t2 = t1._string_scanner$_position,
48469 first = t1.peekChar$0(),
48470 t3 = first === 45,
48471 sign = t3 ? -1 : 1;
48472 if (first === 43 || t3)
48473 t1.readChar$0();
48474 number = t1.peekChar$0() === 46 ? 0 : _this.naturalNumber$0();
48475 t3 = _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
48476 t4 = _this._tryExponent$0();
48477 if (t1.scanChar$1(37))
48478 unit = "%";
48479 else {
48480 if (_this.lookingAtIdentifier$0())
48481 t5 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
48482 else
48483 t5 = false;
48484 unit = t5 ? _this.identifier$1$unit(true) : null;
48485 }
48486 return new A.NumberExpression(sign * ((number + t3) * t4), unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48487 },
48488 _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
48489 var t2,
48490 t1 = this.scanner,
48491 start = t1._string_scanner$_position;
48492 if (t1.peekChar$0() !== 46)
48493 return 0;
48494 if (!A.isDigit(t1.peekChar$1(1))) {
48495 if (allowTrailingDot)
48496 return 0;
48497 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
48498 }
48499 t1.readChar$0();
48500 while (true) {
48501 t2 = t1.peekChar$0();
48502 if (!(t2 != null && t2 >= 48 && t2 <= 57))
48503 break;
48504 t1.readChar$0();
48505 }
48506 return A.double_parse(t1.substring$1(0, start));
48507 },
48508 _tryExponent$0() {
48509 var next, t2, exponentSign, exponent,
48510 t1 = this.scanner,
48511 first = t1.peekChar$0();
48512 if (first !== 101 && first !== 69)
48513 return 1;
48514 next = t1.peekChar$1(1);
48515 if (!A.isDigit(next) && next !== 45 && next !== 43)
48516 return 1;
48517 t1.readChar$0();
48518 t2 = next === 45;
48519 exponentSign = t2 ? -1 : 1;
48520 if (next === 43 || t2)
48521 t1.readChar$0();
48522 if (!A.isDigit(t1.peekChar$0()))
48523 t1.error$1(0, "Expected digit.");
48524 exponent = 0;
48525 while (true) {
48526 t2 = t1.peekChar$0();
48527 if (!(t2 != null && t2 >= 48 && t2 <= 57))
48528 break;
48529 exponent = exponent * 10 + (t1.readChar$0() - 48);
48530 }
48531 return Math.pow(10, exponentSign * exponent);
48532 },
48533 _unicodeRange$0() {
48534 var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
48535 _s26_ = "Expected at most 6 digits.",
48536 t1 = _this.scanner,
48537 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48538 _this.expectIdentChar$1(117);
48539 t1.expectChar$1(43);
48540 for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
48541 ++firstRangeLength;
48542 for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
48543 ++firstRangeLength;
48544 if (firstRangeLength === 0)
48545 t1.error$1(0, 'Expected hex digit or "?".');
48546 else if (firstRangeLength > 6)
48547 _this.error$2(0, _s26_, t1.spanFrom$1(start));
48548 else if (hasQuestionMark) {
48549 t2 = t1.substring$1(0, start.position);
48550 t1 = t1.spanFrom$1(start);
48551 return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
48552 }
48553 if (t1.scanChar$1(45)) {
48554 t2 = t1._string_scanner$_position;
48555 for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
48556 ++secondRangeLength;
48557 if (secondRangeLength === 0)
48558 t1.error$1(0, "Expected hex digit.");
48559 else if (secondRangeLength > 6)
48560 _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48561 }
48562 if (_this._lookingAtInterpolatedIdentifierBody$0())
48563 t1.error$1(0, "Expected end of identifier.");
48564 t2 = t1.substring$1(0, start.position);
48565 t1 = t1.spanFrom$1(start);
48566 return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
48567 },
48568 _variable$0() {
48569 var _this = this,
48570 t1 = _this.scanner,
48571 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
48572 $name = _this.variableName$0();
48573 if (_this.get$plainCss())
48574 _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
48575 return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
48576 },
48577 _selector$0() {
48578 var t1, start, _this = this;
48579 if (_this.get$plainCss())
48580 _this.scanner.error$2$length(0, string$.The_pa, 1);
48581 t1 = _this.scanner;
48582 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48583 t1.expectChar$1(38);
48584 if (t1.scanChar$1(38)) {
48585 _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
48586 t1.set$position(t1._string_scanner$_position - 1);
48587 }
48588 return new A.SelectorExpression(t1.spanFrom$1(start));
48589 },
48590 interpolatedString$0() {
48591 var t3, t4, buffer, next, second, t5,
48592 t1 = this.scanner,
48593 t2 = t1._string_scanner$_position,
48594 quote = t1.readChar$0();
48595 if (quote !== 39 && quote !== 34)
48596 t1.error$2$position(0, "Expected string.", t2);
48597 t3 = new A.StringBuffer("");
48598 t4 = A._setArrayType([], type$.JSArray_Object);
48599 buffer = new A.InterpolationBuffer(t3, t4);
48600 for (; true;) {
48601 next = t1.peekChar$0();
48602 if (next === quote) {
48603 t1.readChar$0();
48604 break;
48605 } else if (next == null || next === 10 || next === 13 || next === 12)
48606 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
48607 else if (next === 92) {
48608 second = t1.peekChar$1(1);
48609 if (second === 10 || second === 13 || second === 12) {
48610 t1.readChar$0();
48611 t1.readChar$0();
48612 if (second === 13)
48613 t1.scanChar$1(10);
48614 } else
48615 t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
48616 } else if (next === 35)
48617 if (t1.peekChar$1(1) === 123) {
48618 t5 = this.singleInterpolation$0();
48619 buffer._flushText$0();
48620 t4.push(t5);
48621 } else
48622 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48623 else
48624 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48625 }
48626 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
48627 },
48628 identifierLike$0() {
48629 var invocation, lower, color, specialFunction, _this = this,
48630 t1 = _this.scanner,
48631 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
48632 identifier = _this.interpolatedIdentifier$0(),
48633 plain = identifier.get$asPlain(),
48634 t2 = plain == null,
48635 t3 = !t2;
48636 if (t3) {
48637 if (plain === "if" && t1.peekChar$0() === 40) {
48638 invocation = _this._argumentInvocation$0();
48639 return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
48640 } else if (plain === "not") {
48641 _this.whitespace$0();
48642 return new A.UnaryOperationExpression(B.UnaryOperator_not_not, _this._singleExpression$0(), identifier.span);
48643 }
48644 lower = plain.toLowerCase();
48645 if (t1.peekChar$0() !== 40) {
48646 switch (plain) {
48647 case "false":
48648 return new A.BooleanExpression(false, identifier.span);
48649 case "null":
48650 return new A.NullExpression(identifier.span);
48651 case "true":
48652 return new A.BooleanExpression(true, identifier.span);
48653 }
48654 color = $.$get$colorsByName().$index(0, lower);
48655 if (color != null) {
48656 color = A.SassColor$rgb(color.get$red(color), color.get$green(color), color.get$blue(color), color._alpha, identifier.span);
48657 t1 = color.originalSpan;
48658 t1.toString;
48659 return new A.ColorExpression(color, t1);
48660 }
48661 }
48662 specialFunction = _this.trySpecialFunction$2(lower, start);
48663 if (specialFunction != null)
48664 return specialFunction;
48665 }
48666 switch (t1.peekChar$0()) {
48667 case 46:
48668 if (t1.peekChar$1(1) === 46)
48669 return new A.StringExpression(identifier, false);
48670 t1.readChar$0();
48671 if (t3)
48672 return _this.namespacedExpression$2(plain, start);
48673 _this.error$2(0, string$.Interpn, identifier.span);
48674 break;
48675 case 40:
48676 if (t2)
48677 return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
48678 else
48679 return new A.FunctionExpression(null, plain, _this._argumentInvocation$0(), t1.spanFrom$1(start));
48680 default:
48681 return new A.StringExpression(identifier, false);
48682 }
48683 },
48684 namespacedExpression$2(namespace, start) {
48685 var $name, _this = this,
48686 t1 = _this.scanner;
48687 if (t1.peekChar$0() === 36) {
48688 $name = _this.variableName$0();
48689 _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
48690 return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
48691 }
48692 return new A.FunctionExpression(namespace, _this._publicIdentifier$0(), _this._argumentInvocation$0(), t1.spanFrom$1(start));
48693 },
48694 trySpecialFunction$2($name, start) {
48695 var t2, buffer, t3, next, _this = this, _null = null,
48696 t1 = _this.scanner,
48697 calculation = t1.peekChar$0() === 40 ? _this._tryCalculation$2($name, start) : _null;
48698 if (calculation != null)
48699 return calculation;
48700 switch (A.unvendor($name)) {
48701 case "calc":
48702 case "element":
48703 case "expression":
48704 if (!t1.scanChar$1(40))
48705 return _null;
48706 t2 = new A.StringBuffer("");
48707 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48708 t3 = "" + $name;
48709 t2._contents = t3;
48710 t2._contents = t3 + A.Primitives_stringFromCharCode(40);
48711 break;
48712 case "progid":
48713 if (!t1.scanChar$1(58))
48714 return _null;
48715 t2 = new A.StringBuffer("");
48716 buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
48717 t3 = "" + $name;
48718 t2._contents = t3;
48719 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
48720 next = t1.peekChar$0();
48721 while (true) {
48722 if (next != null) {
48723 if (!(next >= 97 && next <= 122))
48724 t3 = next >= 65 && next <= 90;
48725 else
48726 t3 = true;
48727 t3 = t3 || next === 46;
48728 } else
48729 t3 = false;
48730 if (!t3)
48731 break;
48732 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
48733 next = t1.peekChar$0();
48734 }
48735 t1.expectChar$1(40);
48736 t2._contents += A.Primitives_stringFromCharCode(40);
48737 break;
48738 case "url":
48739 return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
48740 default:
48741 return _null;
48742 }
48743 buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
48744 t1.expectChar$1(41);
48745 buffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(41);
48746 return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
48747 },
48748 _tryCalculation$2($name, start) {
48749 var beforeArguments, $arguments, t1, exception, t2, _this = this;
48750 switch ($name) {
48751 case "calc":
48752 $arguments = _this._calculationArguments$1(1);
48753 t1 = _this.scanner.spanFrom$1(start);
48754 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
48755 case "min":
48756 case "max":
48757 t1 = _this.scanner;
48758 beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
48759 $arguments = null;
48760 try {
48761 $arguments = _this._calculationArguments$0();
48762 } catch (exception) {
48763 if (type$.FormatException._is(A.unwrapException(exception))) {
48764 t1.set$state(beforeArguments);
48765 return null;
48766 } else
48767 throw exception;
48768 }
48769 t2 = $arguments;
48770 t1 = t1.spanFrom$1(start);
48771 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments(t2), t1);
48772 case "clamp":
48773 $arguments = _this._calculationArguments$1(3);
48774 t1 = _this.scanner.spanFrom$1(start);
48775 return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
48776 default:
48777 return null;
48778 }
48779 },
48780 _calculationArguments$1(maxArgs) {
48781 var interpolation, $arguments, t2, _this = this,
48782 t1 = _this.scanner;
48783 t1.expectChar$1(40);
48784 interpolation = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
48785 if (interpolation != null) {
48786 t1.expectChar$1(41);
48787 return A._setArrayType([interpolation], type$.JSArray_Expression);
48788 }
48789 _this.whitespace$0();
48790 $arguments = A._setArrayType([_this._calculationSum$0()], type$.JSArray_Expression);
48791 t2 = maxArgs != null;
48792 while (true) {
48793 if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
48794 break;
48795 _this.whitespace$0();
48796 $arguments.push(_this._calculationSum$0());
48797 }
48798 t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
48799 return $arguments;
48800 },
48801 _calculationArguments$0() {
48802 return this._calculationArguments$1(null);
48803 },
48804 _calculationSum$0() {
48805 var t1, next, t2, t3, _this = this,
48806 sum = _this._calculationProduct$0();
48807 for (t1 = _this.scanner; true;) {
48808 next = t1.peekChar$0();
48809 t2 = next === 43;
48810 if (t2 || next === 45) {
48811 t3 = t1.peekChar$1(-1);
48812 if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
48813 t3 = t1.peekChar$1(1);
48814 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
48815 } else
48816 t3 = true;
48817 if (t3)
48818 t1.error$1(0, string$.x22x2b__an);
48819 t1.readChar$0();
48820 _this.whitespace$0();
48821 t2 = t2 ? B.BinaryOperator_AcR0 : B.BinaryOperator_iyO;
48822 sum = new A.BinaryOperationExpression(t2, sum, _this._calculationProduct$0(), false);
48823 } else
48824 return sum;
48825 }
48826 },
48827 _calculationProduct$0() {
48828 var t1, next, t2, _this = this,
48829 product = _this._calculationValue$0();
48830 for (t1 = _this.scanner; true;) {
48831 _this.whitespace$0();
48832 next = t1.peekChar$0();
48833 t2 = next === 42;
48834 if (t2 || next === 47) {
48835 t1.readChar$0();
48836 _this.whitespace$0();
48837 t2 = t2 ? B.BinaryOperator_O1M : B.BinaryOperator_RTB;
48838 product = new A.BinaryOperationExpression(t2, product, _this._calculationValue$0(), false);
48839 } else
48840 return product;
48841 }
48842 },
48843 _calculationValue$0() {
48844 var t2, value, start, ident, lowerCase, calculation, _this = this,
48845 t1 = _this.scanner,
48846 next = t1.peekChar$0();
48847 if (next === 43 || next === 45 || next === 46 || A.isDigit(next))
48848 return _this._number$0();
48849 else if (next === 36)
48850 return _this._variable$0();
48851 else if (next === 40) {
48852 t2 = t1._string_scanner$_position;
48853 t1.readChar$0();
48854 value = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
48855 if (value == null) {
48856 _this.whitespace$0();
48857 value = _this._calculationSum$0();
48858 }
48859 _this.whitespace$0();
48860 t1.expectChar$1(41);
48861 return new A.ParenthesizedExpression(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
48862 } else if (!_this.lookingAtIdentifier$0())
48863 t1.error$1(0, string$.Expectn);
48864 else {
48865 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48866 ident = _this.identifier$0();
48867 if (t1.scanChar$1(46))
48868 return _this.namespacedExpression$2(ident, start);
48869 if (t1.peekChar$0() !== 40)
48870 t1.error$1(0, 'Expected "(" or ".".');
48871 lowerCase = ident.toLowerCase();
48872 calculation = _this._tryCalculation$2(lowerCase, start);
48873 if (calculation != null)
48874 return calculation;
48875 else if (lowerCase === "if")
48876 return new A.IfExpression(_this._argumentInvocation$0(), t1.spanFrom$1(start));
48877 else
48878 return new A.FunctionExpression(null, ident, _this._argumentInvocation$0(), t1.spanFrom$1(start));
48879 }
48880 },
48881 _containsCalculationInterpolation$0() {
48882 var t2, parens, next, target, t3, _null = null,
48883 _s64_ = string$.The_gi,
48884 _s17_ = "Invalid position ",
48885 brackets = A._setArrayType([], type$.JSArray_int),
48886 t1 = this.scanner,
48887 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
48888 for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
48889 next = t1.peekChar$0();
48890 switch (next) {
48891 case 92:
48892 target = 1;
48893 break;
48894 case 47:
48895 target = 2;
48896 break;
48897 case 39:
48898 case 34:
48899 target = 3;
48900 break;
48901 case 35:
48902 target = 4;
48903 break;
48904 case 40:
48905 target = 5;
48906 break;
48907 case 123:
48908 case 91:
48909 target = 6;
48910 break;
48911 case 41:
48912 target = 7;
48913 break;
48914 case 125:
48915 case 93:
48916 target = 8;
48917 break;
48918 default:
48919 target = 9;
48920 break;
48921 }
48922 c$0:
48923 for (; true;)
48924 switch (target) {
48925 case 1:
48926 t1.readChar$0();
48927 t1.readChar$0();
48928 break c$0;
48929 case 2:
48930 if (!this.scanComment$0())
48931 t1.readChar$0();
48932 break c$0;
48933 case 3:
48934 this.interpolatedString$0();
48935 break c$0;
48936 case 4:
48937 if (parens === 0 && t1.peekChar$1(1) === 123) {
48938 if (start._scanner !== t1)
48939 A.throwExpression(A.ArgumentError$(_s64_, _null));
48940 t3 = start.position;
48941 if (t3 < 0 || t3 > t2)
48942 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
48943 t1._string_scanner$_position = t3;
48944 t1._lastMatch = null;
48945 return true;
48946 }
48947 t1.readChar$0();
48948 break c$0;
48949 case 5:
48950 ++parens;
48951 target = 6;
48952 continue c$0;
48953 case 6:
48954 next.toString;
48955 brackets.push(A.opposite(next));
48956 t1.readChar$0();
48957 break c$0;
48958 case 7:
48959 --parens;
48960 target = 8;
48961 continue c$0;
48962 case 8:
48963 if (brackets.length === 0 || brackets.pop() !== next) {
48964 if (start._scanner !== t1)
48965 A.throwExpression(A.ArgumentError$(_s64_, _null));
48966 t3 = start.position;
48967 if (t3 < 0 || t3 > t2)
48968 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
48969 t1._string_scanner$_position = t3;
48970 t1._lastMatch = null;
48971 return false;
48972 }
48973 t1.readChar$0();
48974 break c$0;
48975 case 9:
48976 t1.readChar$0();
48977 break c$0;
48978 }
48979 }
48980 t1.set$state(start);
48981 return false;
48982 },
48983 _tryUrlContents$2$name(start, $name) {
48984 var t3, t4, buffer, t5, next, endPosition, result, _this = this,
48985 t1 = _this.scanner,
48986 t2 = t1._string_scanner$_position;
48987 if (!t1.scanChar$1(40))
48988 return null;
48989 _this.whitespaceWithoutComments$0();
48990 t3 = new A.StringBuffer("");
48991 t4 = A._setArrayType([], type$.JSArray_Object);
48992 buffer = new A.InterpolationBuffer(t3, t4);
48993 t5 = "" + ($name == null ? "url" : $name);
48994 t3._contents = t5;
48995 t3._contents = t5 + A.Primitives_stringFromCharCode(40);
48996 for (; true;) {
48997 next = t1.peekChar$0();
48998 if (next == null)
48999 break;
49000 else if (next === 92)
49001 t3._contents += A.S(_this.escape$0());
49002 else {
49003 if (next !== 33)
49004 if (next !== 37)
49005 if (next !== 38)
49006 t5 = next >= 42 && next <= 126 || next >= 128;
49007 else
49008 t5 = true;
49009 else
49010 t5 = true;
49011 else
49012 t5 = true;
49013 if (t5)
49014 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49015 else if (next === 35)
49016 if (t1.peekChar$1(1) === 123) {
49017 t5 = _this.singleInterpolation$0();
49018 buffer._flushText$0();
49019 t4.push(t5);
49020 } else
49021 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49022 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
49023 _this.whitespaceWithoutComments$0();
49024 if (t1.peekChar$0() !== 41)
49025 break;
49026 } else if (next === 41) {
49027 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49028 endPosition = t1._string_scanner$_position;
49029 t2 = t1._sourceFile;
49030 t5 = start.position;
49031 t1 = new A._FileSpan(t2, t5, endPosition);
49032 t1._FileSpan$3(t2, t5, endPosition);
49033 t5 = type$.Object;
49034 t2 = A.List_List$of(t4, true, t5);
49035 t4 = t3._contents;
49036 if (t4.length !== 0)
49037 t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
49038 result = A.List_List$from(t2, false, t5);
49039 result.fixed$length = Array;
49040 result.immutable$list = Array;
49041 t3 = new A.Interpolation(result, t1);
49042 t3.Interpolation$2(t2, t1);
49043 return t3;
49044 } else
49045 break;
49046 }
49047 }
49048 t1.set$state(new A._SpanScannerState(t1, t2));
49049 return null;
49050 },
49051 _tryUrlContents$1(start) {
49052 return this._tryUrlContents$2$name(start, null);
49053 },
49054 dynamicUrl$0() {
49055 var contents, _this = this,
49056 t1 = _this.scanner,
49057 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49058 _this.expectIdentifier$1("url");
49059 contents = _this._tryUrlContents$1(start);
49060 if (contents != null)
49061 return new A.StringExpression(contents, false);
49062 return new A.InterpolatedFunctionExpression(A.Interpolation$(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._argumentInvocation$0(), t1.spanFrom$1(start));
49063 },
49064 almostAnyValue$1$omitComments(omitComments) {
49065 var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
49066 t1 = _this.scanner,
49067 t2 = t1._string_scanner$_position,
49068 t3 = new A.StringBuffer(""),
49069 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
49070 $label0$1:
49071 for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
49072 next = t1.peekChar$0();
49073 switch (next) {
49074 case 92:
49075 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49076 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49077 break;
49078 case 34:
49079 case 39:
49080 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
49081 break;
49082 case 47:
49083 commentStart = t1._string_scanner$_position;
49084 if (_this.scanComment$0()) {
49085 if (t6) {
49086 end = t1._string_scanner$_position;
49087 t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
49088 }
49089 } else
49090 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49091 break;
49092 case 35:
49093 if (t1.peekChar$1(1) === 123)
49094 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49095 else
49096 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49097 break;
49098 case 13:
49099 case 10:
49100 case 12:
49101 if (_this.get$indented())
49102 break $label0$1;
49103 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49104 break;
49105 case 33:
49106 case 59:
49107 case 123:
49108 case 125:
49109 break $label0$1;
49110 case 117:
49111 case 85:
49112 t7 = t1._string_scanner$_position;
49113 if (!_this.scanIdentifier$1("url")) {
49114 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49115 break;
49116 }
49117 contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t7));
49118 if (contents == null) {
49119 if (t7 < 0 || t7 > t5)
49120 A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
49121 t1._string_scanner$_position = t7;
49122 t1._lastMatch = null;
49123 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49124 } else
49125 buffer.addInterpolation$1(contents);
49126 break;
49127 default:
49128 if (next == null)
49129 break $label0$1;
49130 if (_this.lookingAtIdentifier$0())
49131 t3._contents += _this.identifier$0();
49132 else
49133 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49134 break;
49135 }
49136 }
49137 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49138 },
49139 almostAnyValue$0() {
49140 return this.almostAnyValue$1$omitComments(false);
49141 },
49142 _interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
49143 var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
49144 t1 = _this.scanner,
49145 t2 = t1._string_scanner$_position,
49146 t3 = new A.StringBuffer(""),
49147 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object)),
49148 brackets = A._setArrayType([], type$.JSArray_int);
49149 $label0$1:
49150 for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
49151 next = t1.peekChar$0();
49152 switch (next) {
49153 case 92:
49154 t3._contents += A.S(_this.escape$1$identifierStart(true));
49155 wroteNewline = false;
49156 break;
49157 case 34:
49158 case 39:
49159 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
49160 wroteNewline = false;
49161 break;
49162 case 47:
49163 if (t1.peekChar$1(1) === 42) {
49164 t8 = _this.get$loudComment();
49165 start = t1._string_scanner$_position;
49166 t8.call$0();
49167 end = t1._string_scanner$_position;
49168 t3._contents += B.JSString_methods.substring$2(t4, start, end);
49169 } else
49170 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49171 wroteNewline = false;
49172 break;
49173 case 35:
49174 if (t1.peekChar$1(1) === 123)
49175 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49176 else
49177 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49178 wroteNewline = false;
49179 break;
49180 case 32:
49181 case 9:
49182 if (!wroteNewline) {
49183 t8 = t1.peekChar$1(1);
49184 t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
49185 } else
49186 t8 = true;
49187 if (t8)
49188 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49189 else
49190 t1.readChar$0();
49191 break;
49192 case 10:
49193 case 13:
49194 case 12:
49195 if (_this.get$indented())
49196 break $label0$1;
49197 t8 = t1.peekChar$1(-1);
49198 if (!(t8 === 10 || t8 === 13 || t8 === 12))
49199 t3._contents += "\n";
49200 t1.readChar$0();
49201 wroteNewline = true;
49202 break;
49203 case 40:
49204 case 123:
49205 case 91:
49206 next.toString;
49207 t3._contents += A.Primitives_stringFromCharCode(next);
49208 brackets.push(A.opposite(t1.readChar$0()));
49209 wroteNewline = false;
49210 break;
49211 case 41:
49212 case 125:
49213 case 93:
49214 if (brackets.length === 0)
49215 break $label0$1;
49216 next.toString;
49217 t3._contents += A.Primitives_stringFromCharCode(next);
49218 t1.expectChar$1(brackets.pop());
49219 wroteNewline = false;
49220 break;
49221 case 59:
49222 if (t7 && brackets.length === 0)
49223 break $label0$1;
49224 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49225 wroteNewline = false;
49226 break;
49227 case 58:
49228 if (t6 && brackets.length === 0)
49229 break $label0$1;
49230 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49231 wroteNewline = false;
49232 break;
49233 case 117:
49234 case 85:
49235 t8 = t1._string_scanner$_position;
49236 if (!_this.scanIdentifier$1("url")) {
49237 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49238 wroteNewline = false;
49239 break;
49240 }
49241 contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t8));
49242 if (contents == null) {
49243 if (t8 < 0 || t8 > t5)
49244 A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
49245 t1._string_scanner$_position = t8;
49246 t1._lastMatch = null;
49247 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49248 } else
49249 buffer.addInterpolation$1(contents);
49250 wroteNewline = false;
49251 break;
49252 default:
49253 if (next == null)
49254 break $label0$1;
49255 if (_this.lookingAtIdentifier$0())
49256 t3._contents += _this.identifier$0();
49257 else
49258 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49259 wroteNewline = false;
49260 break;
49261 }
49262 }
49263 if (brackets.length !== 0)
49264 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
49265 if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
49266 t1.error$1(0, "Expected token.");
49267 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49268 },
49269 _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
49270 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
49271 },
49272 _interpolatedDeclarationValue$0() {
49273 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
49274 },
49275 _interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
49276 return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
49277 },
49278 interpolatedIdentifier$0() {
49279 var first, _this = this,
49280 _s20_ = "Expected identifier.",
49281 t1 = _this.scanner,
49282 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
49283 t2 = new A.StringBuffer(""),
49284 t3 = A._setArrayType([], type$.JSArray_Object),
49285 buffer = new A.InterpolationBuffer(t2, t3);
49286 if (t1.scanChar$1(45)) {
49287 t2._contents += A.Primitives_stringFromCharCode(45);
49288 if (t1.scanChar$1(45)) {
49289 t2._contents += A.Primitives_stringFromCharCode(45);
49290 _this._interpolatedIdentifierBody$1(buffer);
49291 return buffer.interpolation$1(t1.spanFrom$1(start));
49292 }
49293 }
49294 first = t1.peekChar$0();
49295 if (first == null)
49296 t1.error$1(0, _s20_);
49297 else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
49298 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49299 else if (first === 92)
49300 t2._contents += A.S(_this.escape$1$identifierStart(true));
49301 else if (first === 35 && t1.peekChar$1(1) === 123) {
49302 t2 = _this.singleInterpolation$0();
49303 buffer._flushText$0();
49304 t3.push(t2);
49305 } else
49306 t1.error$1(0, _s20_);
49307 _this._interpolatedIdentifierBody$1(buffer);
49308 return buffer.interpolation$1(t1.spanFrom$1(start));
49309 },
49310 _interpolatedIdentifierBody$1(buffer) {
49311 var t1, t2, t3, next, t4;
49312 for (t1 = buffer._interpolation_buffer$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer$_text; true;) {
49313 next = t2.peekChar$0();
49314 if (next == null)
49315 break;
49316 else {
49317 if (next !== 95)
49318 if (next !== 45) {
49319 if (!(next >= 97 && next <= 122))
49320 t4 = next >= 65 && next <= 90;
49321 else
49322 t4 = true;
49323 if (!t4)
49324 t4 = next >= 48 && next <= 57;
49325 else
49326 t4 = true;
49327 t4 = t4 || next >= 128;
49328 } else
49329 t4 = true;
49330 else
49331 t4 = true;
49332 if (t4)
49333 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
49334 else if (next === 92)
49335 t3._contents += A.S(this.escape$0());
49336 else if (next === 35 && t2.peekChar$1(1) === 123) {
49337 t4 = this.singleInterpolation$0();
49338 buffer._flushText$0();
49339 t1.push(t4);
49340 } else
49341 break;
49342 }
49343 }
49344 },
49345 singleInterpolation$0() {
49346 var contents, _this = this,
49347 t1 = _this.scanner,
49348 t2 = t1._string_scanner$_position;
49349 t1.expect$1("#{");
49350 _this.whitespace$0();
49351 contents = _this.expression$0();
49352 t1.expectChar$1(125);
49353 if (_this.get$plainCss())
49354 _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49355 return contents;
49356 },
49357 _mediaQueryList$0() {
49358 var t4,
49359 t1 = this.scanner,
49360 t2 = t1._string_scanner$_position,
49361 t3 = new A.StringBuffer(""),
49362 buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
49363 for (; true;) {
49364 this.whitespace$0();
49365 this._stylesheet$_mediaQuery$1(buffer);
49366 if (!t1.scanChar$1(44))
49367 break;
49368 t4 = t3._contents += A.Primitives_stringFromCharCode(44);
49369 t3._contents = t4 + A.Primitives_stringFromCharCode(32);
49370 }
49371 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49372 },
49373 _stylesheet$_mediaQuery$1(buffer) {
49374 var t1, identifier, _this = this;
49375 if (_this.scanner.peekChar$0() !== 40) {
49376 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
49377 _this.whitespace$0();
49378 if (!_this._lookingAtInterpolatedIdentifier$0())
49379 return;
49380 t1 = buffer._interpolation_buffer$_text;
49381 t1._contents += A.Primitives_stringFromCharCode(32);
49382 identifier = _this.interpolatedIdentifier$0();
49383 _this.whitespace$0();
49384 if (A.equalsIgnoreCase(identifier.get$asPlain(), "and"))
49385 t1._contents += " and ";
49386 else {
49387 buffer.addInterpolation$1(identifier);
49388 if (_this.scanIdentifier$1("and")) {
49389 _this.whitespace$0();
49390 t1._contents += " and ";
49391 } else
49392 return;
49393 }
49394 }
49395 for (t1 = buffer._interpolation_buffer$_text; true;) {
49396 _this.whitespace$0();
49397 buffer.addInterpolation$1(_this._mediaFeature$0());
49398 _this.whitespace$0();
49399 if (!_this.scanIdentifier$1("and"))
49400 break;
49401 t1._contents += " and ";
49402 }
49403 },
49404 _mediaFeature$0() {
49405 var interpolation, t2, t3, t4, buffer, t5, next, t6, _this = this,
49406 t1 = _this.scanner;
49407 if (t1.peekChar$0() === 35) {
49408 interpolation = _this.singleInterpolation$0();
49409 return A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
49410 }
49411 t2 = t1._string_scanner$_position;
49412 t3 = new A.StringBuffer("");
49413 t4 = A._setArrayType([], type$.JSArray_Object);
49414 buffer = new A.InterpolationBuffer(t3, t4);
49415 t1.expectChar$1(40);
49416 t3._contents += A.Primitives_stringFromCharCode(40);
49417 _this.whitespace$0();
49418 t5 = _this._expressionUntilComparison$0();
49419 buffer._flushText$0();
49420 t4.push(t5);
49421 if (t1.scanChar$1(58)) {
49422 _this.whitespace$0();
49423 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
49424 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
49425 t5 = _this.expression$0();
49426 buffer._flushText$0();
49427 t4.push(t5);
49428 } else {
49429 next = t1.peekChar$0();
49430 t5 = next !== 60;
49431 if (!t5 || next === 62 || next === 61) {
49432 t3._contents += A.Primitives_stringFromCharCode(32);
49433 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
49434 if ((!t5 || next === 62) && t1.scanChar$1(61))
49435 t3._contents += A.Primitives_stringFromCharCode(61);
49436 t3._contents += A.Primitives_stringFromCharCode(32);
49437 _this.whitespace$0();
49438 t6 = _this._expressionUntilComparison$0();
49439 buffer._flushText$0();
49440 t4.push(t6);
49441 if (!t5 || next === 62) {
49442 next.toString;
49443 t5 = t1.scanChar$1(next);
49444 } else
49445 t5 = false;
49446 if (t5) {
49447 t5 = t3._contents += A.Primitives_stringFromCharCode(32);
49448 t3._contents = t5 + A.Primitives_stringFromCharCode(next);
49449 if (t1.scanChar$1(61))
49450 t3._contents += A.Primitives_stringFromCharCode(61);
49451 t3._contents += A.Primitives_stringFromCharCode(32);
49452 _this.whitespace$0();
49453 t5 = _this._expressionUntilComparison$0();
49454 buffer._flushText$0();
49455 t4.push(t5);
49456 }
49457 }
49458 }
49459 t1.expectChar$1(41);
49460 _this.whitespace$0();
49461 t3._contents += A.Primitives_stringFromCharCode(41);
49462 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49463 },
49464 _expressionUntilComparison$0() {
49465 return this.expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure(this));
49466 },
49467 _supportsCondition$0() {
49468 var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
49469 t1 = _this.scanner,
49470 t2 = t1._string_scanner$_position;
49471 if (_this.scanIdentifier$1("not")) {
49472 _this.whitespace$0();
49473 return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
49474 }
49475 condition = _this._supportsConditionInParens$0();
49476 _this.whitespace$0();
49477 for (operator = null; _this.lookingAtIdentifier$0();) {
49478 if (operator != null)
49479 _this.expectIdentifier$1(operator);
49480 else if (_this.scanIdentifier$1("or"))
49481 operator = "or";
49482 else {
49483 _this.expectIdentifier$1("and");
49484 operator = "and";
49485 }
49486 _this.whitespace$0();
49487 right = _this._supportsConditionInParens$0();
49488 endPosition = t1._string_scanner$_position;
49489 t3 = t1._sourceFile;
49490 t4 = new A._FileSpan(t3, t2, endPosition);
49491 t4._FileSpan$3(t3, t2, endPosition);
49492 condition = new A.SupportsOperation(condition, right, operator, t4);
49493 lowerOperator = operator.toLowerCase();
49494 if (lowerOperator !== "and" && lowerOperator !== "or")
49495 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
49496 _this.whitespace$0();
49497 }
49498 return condition;
49499 },
49500 _supportsConditionInParens$0() {
49501 var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
49502 t1 = _this.scanner,
49503 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
49504 if (_this._lookingAtInterpolatedIdentifier$0()) {
49505 identifier0 = _this.interpolatedIdentifier$0();
49506 t2 = identifier0.get$asPlain();
49507 if ((t2 == null ? null : t2.toLowerCase()) === "not")
49508 _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
49509 if (t1.scanChar$1(40)) {
49510 $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
49511 t1.expectChar$1(41);
49512 return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
49513 } else {
49514 t2 = identifier0.contents;
49515 if (t2.length !== 1 || !type$.Expression._is(B.JSArray_methods.get$first(t2)))
49516 _this.error$2(0, "Expected @supports condition.", identifier0.span);
49517 else
49518 return new A.SupportsInterpolation(type$.Expression._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
49519 }
49520 }
49521 t1.expectChar$1(40);
49522 _this.whitespace$0();
49523 if (_this.scanIdentifier$1("not")) {
49524 _this.whitespace$0();
49525 condition = _this._supportsConditionInParens$0();
49526 t1.expectChar$1(41);
49527 return new A.SupportsNegation(condition, t1.spanFrom$1(start));
49528 } else if (t1.peekChar$0() === 40) {
49529 condition = _this._supportsCondition$0();
49530 t1.expectChar$1(41);
49531 return condition;
49532 }
49533 $name = null;
49534 nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
49535 wasInParentheses = _this._inParentheses;
49536 try {
49537 $name = _this.expression$0();
49538 t1.expectChar$1(58);
49539 } catch (exception) {
49540 if (type$.FormatException._is(A.unwrapException(exception))) {
49541 t1.set$state(nameStart);
49542 _this._inParentheses = wasInParentheses;
49543 identifier = _this.interpolatedIdentifier$0();
49544 operation = _this._trySupportsOperation$2(identifier, nameStart);
49545 if (operation != null) {
49546 t1.expectChar$1(41);
49547 return operation;
49548 }
49549 t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
49550 t2.addInterpolation$1(identifier);
49551 t2.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
49552 contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
49553 if (t1.peekChar$0() === 58)
49554 throw exception;
49555 t1.expectChar$1(41);
49556 return new A.SupportsAnything(contents, t1.spanFrom$1(start));
49557 } else
49558 throw exception;
49559 }
49560 declaration = _this._supportsDeclarationValue$2($name, start);
49561 t1.expectChar$1(41);
49562 return declaration;
49563 },
49564 _supportsDeclarationValue$2($name, start) {
49565 var value, _this = this;
49566 if ($name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
49567 value = new A.StringExpression(_this._interpolatedDeclarationValue$0(), false);
49568 else {
49569 _this.whitespace$0();
49570 value = _this.expression$0();
49571 }
49572 return new A.SupportsDeclaration($name, value, _this.scanner.spanFrom$1(start));
49573 },
49574 _trySupportsOperation$2(interpolation, start) {
49575 var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
49576 t1 = interpolation.contents;
49577 if (t1.length !== 1)
49578 return _null;
49579 expression = B.JSArray_methods.get$first(t1);
49580 if (!type$.Expression._is(expression))
49581 return _null;
49582 t1 = _this.scanner;
49583 beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
49584 _this.whitespace$0();
49585 for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
49586 if (operator != null)
49587 _this.expectIdentifier$1(operator);
49588 else if (_this.scanIdentifier$1("and"))
49589 operator = "and";
49590 else {
49591 if (!_this.scanIdentifier$1("or")) {
49592 if (beforeWhitespace._scanner !== t1)
49593 A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
49594 t2 = beforeWhitespace.position;
49595 if (t2 < 0 || t2 > t1.string.length)
49596 A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
49597 t1._string_scanner$_position = t2;
49598 return t1._lastMatch = null;
49599 }
49600 operator = "or";
49601 }
49602 _this.whitespace$0();
49603 right = _this._supportsConditionInParens$0();
49604 t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
49605 endPosition = t1._string_scanner$_position;
49606 t5 = t1._sourceFile;
49607 t6 = new A._FileSpan(t5, t2, endPosition);
49608 t6._FileSpan$3(t5, t2, endPosition);
49609 operation = new A.SupportsOperation(t4, right, operator, t6);
49610 lowerOperator = operator.toLowerCase();
49611 if (lowerOperator !== "and" && lowerOperator !== "or")
49612 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
49613 _this.whitespace$0();
49614 }
49615 return operation;
49616 },
49617 _lookingAtInterpolatedIdentifier$0() {
49618 var second,
49619 t1 = this.scanner,
49620 first = t1.peekChar$0();
49621 if (first == null)
49622 return false;
49623 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
49624 return true;
49625 if (first === 35)
49626 return t1.peekChar$1(1) === 123;
49627 if (first !== 45)
49628 return false;
49629 second = t1.peekChar$1(1);
49630 if (second == null)
49631 return false;
49632 if (second === 35)
49633 return t1.peekChar$1(2) === 123;
49634 return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
49635 },
49636 _lookingAtInterpolatedIdentifierBody$0() {
49637 var t1 = this.scanner,
49638 first = t1.peekChar$0();
49639 if (first == null)
49640 return false;
49641 if (first === 95 || A.isAlphabetic0(first) || first >= 128 || A.isDigit(first) || first === 45 || first === 92)
49642 return true;
49643 return first === 35 && t1.peekChar$1(1) === 123;
49644 },
49645 _lookingAtExpression$0() {
49646 var next,
49647 t1 = this.scanner,
49648 character = t1.peekChar$0();
49649 if (character == null)
49650 return false;
49651 if (character === 46)
49652 return t1.peekChar$1(1) !== 46;
49653 if (character === 33) {
49654 next = t1.peekChar$1(1);
49655 if (next != null)
49656 if ((next | 32) >>> 0 !== 105)
49657 t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
49658 else
49659 t1 = true;
49660 else
49661 t1 = true;
49662 return t1;
49663 }
49664 if (character !== 40)
49665 if (character !== 47)
49666 if (character !== 91)
49667 if (character !== 39)
49668 if (character !== 34)
49669 if (character !== 35)
49670 if (character !== 43)
49671 if (character !== 45)
49672 if (character !== 92)
49673 if (character !== 36)
49674 if (character !== 38)
49675 t1 = character === 95 || A.isAlphabetic0(character) || character >= 128 || A.isDigit(character);
49676 else
49677 t1 = true;
49678 else
49679 t1 = true;
49680 else
49681 t1 = true;
49682 else
49683 t1 = true;
49684 else
49685 t1 = true;
49686 else
49687 t1 = true;
49688 else
49689 t1 = true;
49690 else
49691 t1 = true;
49692 else
49693 t1 = true;
49694 else
49695 t1 = true;
49696 else
49697 t1 = true;
49698 return t1;
49699 },
49700 _withChildren$1$3(child, start, create) {
49701 var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
49702 this.whitespaceWithoutComments$0();
49703 return result;
49704 },
49705 _withChildren$3(child, start, create) {
49706 return this._withChildren$1$3(child, start, create, type$.dynamic);
49707 },
49708 _urlString$0() {
49709 var innerError, stackTrace, t2, exception,
49710 t1 = this.scanner,
49711 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
49712 url = this.string$0();
49713 try {
49714 t2 = A.Uri_parse(url);
49715 return t2;
49716 } catch (exception) {
49717 t2 = A.unwrapException(exception);
49718 if (type$.FormatException._is(t2)) {
49719 innerError = t2;
49720 stackTrace = A.getTraceFromException(exception);
49721 this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
49722 } else
49723 throw exception;
49724 }
49725 },
49726 _publicIdentifier$0() {
49727 var _this = this,
49728 t1 = _this.scanner,
49729 t2 = t1._string_scanner$_position,
49730 result = _this.identifier$1$normalize(true);
49731 _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
49732 return result;
49733 },
49734 _assertPublic$2(identifier, span) {
49735 var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
49736 if (!(first === 45 || first === 95))
49737 return;
49738 this.error$2(0, string$.Privat, span.call$0());
49739 },
49740 get$plainCss() {
49741 return false;
49742 }
49743 };
49744 A.StylesheetParser_parse_closure.prototype = {
49745 call$0() {
49746 var statements, t4,
49747 t1 = this.$this,
49748 t2 = t1.scanner,
49749 t3 = t2._string_scanner$_position;
49750 t2.scanChar$1(65279);
49751 statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
49752 t2.expectDone$0();
49753 t4 = t1._globalVariables;
49754 t4 = t4.get$values(t4);
49755 B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement));
49756 return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
49757 },
49758 $signature: 354
49759 };
49760 A.StylesheetParser_parse__closure.prototype = {
49761 call$0() {
49762 var t1 = this.$this;
49763 if (t1.scanner.scan$1("@charset")) {
49764 t1.whitespace$0();
49765 t1.string$0();
49766 return null;
49767 }
49768 return t1._statement$1$root(true);
49769 },
49770 $signature: 355
49771 };
49772 A.StylesheetParser_parse__closure0.prototype = {
49773 call$1(declaration) {
49774 var t1 = declaration.name,
49775 t2 = declaration.expression;
49776 return A.VariableDeclaration$(t1, new A.NullExpression(t2.get$span(t2)), declaration.span, null, false, true, null);
49777 },
49778 $signature: 356
49779 };
49780 A.StylesheetParser_parseArgumentDeclaration_closure.prototype = {
49781 call$0() {
49782 var $arguments,
49783 t1 = this.$this,
49784 t2 = t1.scanner;
49785 t2.expectChar$2$name(64, "@-rule");
49786 t1.identifier$0();
49787 t1.whitespace$0();
49788 t1.identifier$0();
49789 $arguments = t1._argumentDeclaration$0();
49790 t1.whitespace$0();
49791 t2.expectChar$1(123);
49792 return $arguments;
49793 },
49794 $signature: 357
49795 };
49796 A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
49797 call$0() {
49798 var t1 = this.$this;
49799 return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
49800 },
49801 $signature: 152
49802 };
49803 A.StylesheetParser_parseUseRule_closure.prototype = {
49804 call$0() {
49805 var t1 = this.$this,
49806 t2 = t1.scanner,
49807 t3 = t2._string_scanner$_position;
49808 t2.expectChar$2$name(64, "@-rule");
49809 t1.expectIdentifier$1("use");
49810 t1.whitespace$0();
49811 return t1._useRule$1(new A._SpanScannerState(t2, t3));
49812 },
49813 $signature: 362
49814 };
49815 A.StylesheetParser__parseSingleProduction_closure.prototype = {
49816 call$0() {
49817 var result = this.production.call$0();
49818 this.$this.scanner.expectDone$0();
49819 return result;
49820 },
49821 $signature() {
49822 return this.T._eval$1("0()");
49823 }
49824 };
49825 A.StylesheetParser__statement_closure.prototype = {
49826 call$0() {
49827 return this.$this._statement$0();
49828 },
49829 $signature: 118
49830 };
49831 A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
49832 call$0() {
49833 return this.$this.scanner.spanFrom$1(this.start);
49834 },
49835 $signature: 29
49836 };
49837 A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
49838 call$0() {
49839 return this.declaration;
49840 },
49841 $signature: 152
49842 };
49843 A.StylesheetParser__declarationOrBuffer_closure.prototype = {
49844 call$2(children, span) {
49845 return A.Declaration$nested(this.name, children, span, null);
49846 },
49847 $signature: 96
49848 };
49849 A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
49850 call$2(children, span) {
49851 return A.Declaration$nested(this.name, children, span, this._box_0.value);
49852 },
49853 $signature: 96
49854 };
49855 A.StylesheetParser__styleRule_closure.prototype = {
49856 call$2(children, span) {
49857 var _this = this,
49858 t1 = _this.$this;
49859 if (t1.get$indented() && children.length === 0)
49860 t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
49861 t1._inStyleRule = _this.wasInStyleRule;
49862 return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
49863 },
49864 $signature: 367
49865 };
49866 A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
49867 call$2(children, span) {
49868 return A.Declaration$nested(this._box_0.name, children, span, null);
49869 },
49870 $signature: 96
49871 };
49872 A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
49873 call$2(children, span) {
49874 return A.Declaration$nested(this._box_0.name, children, span, this.value);
49875 },
49876 $signature: 96
49877 };
49878 A.StylesheetParser__atRootRule_closure.prototype = {
49879 call$2(children, span) {
49880 return A.AtRootRule$(children, span, this.query);
49881 },
49882 $signature: 254
49883 };
49884 A.StylesheetParser__atRootRule_closure0.prototype = {
49885 call$2(children, span) {
49886 return A.AtRootRule$(children, span, null);
49887 },
49888 $signature: 254
49889 };
49890 A.StylesheetParser__eachRule_closure.prototype = {
49891 call$2(children, span) {
49892 var _this = this;
49893 _this.$this._inControlDirective = _this.wasInControlDirective;
49894 return A.EachRule$(_this.variables, _this.list, children, span);
49895 },
49896 $signature: 369
49897 };
49898 A.StylesheetParser__functionRule_closure.prototype = {
49899 call$2(children, span) {
49900 return A.FunctionRule$(this.name, this.$arguments, children, span, this.precedingComment);
49901 },
49902 $signature: 370
49903 };
49904 A.StylesheetParser__forRule_closure.prototype = {
49905 call$0() {
49906 var t1 = this.$this;
49907 if (!t1.lookingAtIdentifier$0())
49908 return false;
49909 if (t1.scanIdentifier$1("to"))
49910 return this._box_0.exclusive = true;
49911 else if (t1.scanIdentifier$1("through")) {
49912 this._box_0.exclusive = false;
49913 return true;
49914 } else
49915 return false;
49916 },
49917 $signature: 28
49918 };
49919 A.StylesheetParser__forRule_closure0.prototype = {
49920 call$2(children, span) {
49921 var t1, _this = this;
49922 _this.$this._inControlDirective = _this.wasInControlDirective;
49923 t1 = _this._box_0.exclusive;
49924 t1.toString;
49925 return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
49926 },
49927 $signature: 372
49928 };
49929 A.StylesheetParser__memberList_closure.prototype = {
49930 call$0() {
49931 var t1 = this.$this;
49932 if (t1.scanner.peekChar$0() === 36)
49933 this.variables.add$1(0, t1.variableName$0());
49934 else
49935 this.identifiers.add$1(0, t1.identifier$1$normalize(true));
49936 },
49937 $signature: 1
49938 };
49939 A.StylesheetParser__includeRule_closure.prototype = {
49940 call$2(children, span) {
49941 return A.ContentBlock$(this.contentArguments_, children, span);
49942 },
49943 $signature: 374
49944 };
49945 A.StylesheetParser_mediaRule_closure.prototype = {
49946 call$2(children, span) {
49947 return A.MediaRule$(this.query, children, span);
49948 },
49949 $signature: 376
49950 };
49951 A.StylesheetParser__mixinRule_closure.prototype = {
49952 call$2(children, span) {
49953 var _this = this;
49954 _this.$this._stylesheet$_inMixin = false;
49955 return A.MixinRule$(_this.name, _this.$arguments, children, span, _this.precedingComment);
49956 },
49957 $signature: 379
49958 };
49959 A.StylesheetParser_mozDocumentRule_closure.prototype = {
49960 call$2(children, span) {
49961 var _this = this;
49962 if (_this._box_0.needsDeprecationWarning)
49963 _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
49964 return A.AtRule$(_this.name, span, children, _this.value);
49965 },
49966 $signature: 249
49967 };
49968 A.StylesheetParser_supportsRule_closure.prototype = {
49969 call$2(children, span) {
49970 return A.SupportsRule$(this.condition, children, span);
49971 },
49972 $signature: 258
49973 };
49974 A.StylesheetParser__whileRule_closure.prototype = {
49975 call$2(children, span) {
49976 this.$this._inControlDirective = this.wasInControlDirective;
49977 return A.WhileRule$(this.condition, children, span);
49978 },
49979 $signature: 382
49980 };
49981 A.StylesheetParser_unknownAtRule_closure.prototype = {
49982 call$2(children, span) {
49983 return A.AtRule$(this.name, span, children, this._box_0.value);
49984 },
49985 $signature: 249
49986 };
49987 A.StylesheetParser_expression_resetState.prototype = {
49988 call$0() {
49989 var t2,
49990 t1 = this._box_0;
49991 t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
49992 t2 = this.$this;
49993 t2.scanner.set$state(this.start);
49994 t1.allowSlash = true;
49995 t1.singleExpression_ = t2._singleExpression$0();
49996 },
49997 $signature: 0
49998 };
49999 A.StylesheetParser_expression_resolveOneOperation.prototype = {
50000 call$0() {
50001 var t2, t3,
50002 t1 = this._box_0,
50003 operator = t1.operators_.pop(),
50004 left = t1.operands_.pop(),
50005 right = t1.singleExpression_;
50006 if (right == null) {
50007 t2 = this.$this.scanner;
50008 t3 = operator.operator.length;
50009 t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
50010 }
50011 if (t1.allowSlash) {
50012 t2 = this.$this;
50013 t2 = !t2._inParentheses && operator === B.BinaryOperator_RTB && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
50014 } else
50015 t2 = false;
50016 if (t2)
50017 t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_RTB, left, right, true);
50018 else {
50019 t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
50020 t1.allowSlash = false;
50021 }
50022 },
50023 $signature: 0
50024 };
50025 A.StylesheetParser_expression_resolveOperations.prototype = {
50026 call$0() {
50027 var t1,
50028 operators = this._box_0.operators_;
50029 if (operators == null)
50030 return;
50031 for (t1 = this.resolveOneOperation; operators.length !== 0;)
50032 t1.call$0();
50033 },
50034 $signature: 0
50035 };
50036 A.StylesheetParser_expression_addSingleExpression.prototype = {
50037 call$1(expression) {
50038 var t2, spaceExpressions, _this = this,
50039 t1 = _this._box_0;
50040 if (t1.singleExpression_ != null) {
50041 t2 = _this.$this;
50042 if (t2._inParentheses) {
50043 t2._inParentheses = false;
50044 if (t1.allowSlash) {
50045 _this.resetState.call$0();
50046 return;
50047 }
50048 }
50049 spaceExpressions = t1.spaceExpressions_;
50050 if (spaceExpressions == null)
50051 spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
50052 _this.resolveOperations.call$0();
50053 t2 = t1.singleExpression_;
50054 t2.toString;
50055 spaceExpressions.push(t2);
50056 t1.allowSlash = true;
50057 }
50058 t1.singleExpression_ = expression;
50059 },
50060 $signature: 385
50061 };
50062 A.StylesheetParser_expression_addOperator.prototype = {
50063 call$1(operator) {
50064 var t2, t3, operators, operands, t4, singleExpression,
50065 t1 = this.$this;
50066 if (t1.get$plainCss() && operator !== B.BinaryOperator_RTB && operator !== B.BinaryOperator_kjl) {
50067 t2 = t1.scanner;
50068 t3 = operator.operator.length;
50069 t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
50070 }
50071 t2 = this._box_0;
50072 t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_RTB;
50073 operators = t2.operators_;
50074 if (operators == null)
50075 operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
50076 operands = t2.operands_;
50077 if (operands == null)
50078 operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
50079 t3 = this.resolveOneOperation;
50080 t4 = operator.precedence;
50081 while (true) {
50082 if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
50083 break;
50084 t3.call$0();
50085 }
50086 operators.push(operator);
50087 singleExpression = t2.singleExpression_;
50088 if (singleExpression == null) {
50089 t3 = t1.scanner;
50090 t4 = operator.operator.length;
50091 t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
50092 }
50093 operands.push(singleExpression);
50094 t1.whitespace$0();
50095 t2.singleExpression_ = t1._singleExpression$0();
50096 },
50097 $signature: 386
50098 };
50099 A.StylesheetParser_expression_resolveSpaceExpressions.prototype = {
50100 call$0() {
50101 var t1, spaceExpressions, singleExpression, t2;
50102 this.resolveOperations.call$0();
50103 t1 = this._box_0;
50104 spaceExpressions = t1.spaceExpressions_;
50105 if (spaceExpressions != null) {
50106 singleExpression = t1.singleExpression_;
50107 if (singleExpression == null)
50108 this.$this.scanner.error$1(0, "Expected expression.");
50109 spaceExpressions.push(singleExpression);
50110 t2 = B.JSArray_methods.get$first(spaceExpressions);
50111 t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
50112 t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_woc, false, t2);
50113 t1.spaceExpressions_ = null;
50114 }
50115 },
50116 $signature: 0
50117 };
50118 A.StylesheetParser__expressionUntilComma_closure.prototype = {
50119 call$0() {
50120 return this.$this.scanner.peekChar$0() === 44;
50121 },
50122 $signature: 28
50123 };
50124 A.StylesheetParser__unicodeRange_closure.prototype = {
50125 call$1(char) {
50126 return char != null && A.isHex(char);
50127 },
50128 $signature: 32
50129 };
50130 A.StylesheetParser__unicodeRange_closure0.prototype = {
50131 call$1(char) {
50132 return char != null && A.isHex(char);
50133 },
50134 $signature: 32
50135 };
50136 A.StylesheetParser_namespacedExpression_closure.prototype = {
50137 call$0() {
50138 return this.$this.scanner.spanFrom$1(this.start);
50139 },
50140 $signature: 29
50141 };
50142 A.StylesheetParser_trySpecialFunction_closure.prototype = {
50143 call$1(contents) {
50144 return new A.StringExpression(contents, false);
50145 },
50146 $signature: 390
50147 };
50148 A.StylesheetParser__expressionUntilComparison_closure.prototype = {
50149 call$0() {
50150 var t1 = this.$this.scanner,
50151 next = t1.peekChar$0();
50152 if (next === 61)
50153 return t1.peekChar$1(1) !== 61;
50154 return next === 60 || next === 62;
50155 },
50156 $signature: 28
50157 };
50158 A.StylesheetParser__publicIdentifier_closure.prototype = {
50159 call$0() {
50160 return this.$this.scanner.spanFrom$1(this.start);
50161 },
50162 $signature: 29
50163 };
50164 A.StylesheetGraph.prototype = {
50165 modifiedSince$3(url, since, baseImporter) {
50166 var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
50167 if (node == null)
50168 return true;
50169 return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node)._core$_value > since._core$_value;
50170 },
50171 _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
50172 var t1, t2, _this = this,
50173 tuple = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
50174 if (tuple == null)
50175 return null;
50176 t1 = tuple.item1;
50177 t2 = tuple.item2;
50178 _this.addCanonical$3(t1, t2, tuple.item3);
50179 return _this._nodes.$index(0, t2);
50180 },
50181 addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
50182 var stylesheet, _this = this,
50183 t1 = _this._nodes;
50184 if (t1.$index(0, canonicalUrl) != null)
50185 return B.Set_empty1;
50186 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
50187 if (stylesheet == null)
50188 return B.Set_empty1;
50189 t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
50190 return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty1;
50191 },
50192 addCanonical$3(importer, canonicalUrl, originalUrl) {
50193 return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
50194 },
50195 _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
50196 var t4, t5, t6, t7,
50197 t1 = type$.Uri,
50198 active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
50199 t2 = type$.JSArray_Uri,
50200 t3 = A._setArrayType([], t2);
50201 t2 = A._setArrayType([], t2);
50202 new A._FindDependenciesVisitor(t3, t2).visitChildren$1(stylesheet.children);
50203 t4 = type$.nullable_StylesheetNode;
50204 t5 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
50205 for (t6 = B.JSArray_methods.get$iterator(t3); t6.moveNext$0();) {
50206 t7 = t6.get$current(t6);
50207 t5.$indexSet(0, t7, this._nodeFor$4(t7, baseImporter, baseUrl, active));
50208 }
50209 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
50210 for (t2 = J.get$iterator$ax(new A.Tuple2(t3, t2, type$.Tuple2_of_List_Uri_and_List_Uri).item2); t2.moveNext$0();) {
50211 t3 = t2.get$current(t2);
50212 t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
50213 }
50214 return new A.Tuple2(t5, t1, type$.Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode);
50215 },
50216 reload$1(canonicalUrl) {
50217 var stylesheet, upstream, _this = this,
50218 node = _this._nodes.$index(0, canonicalUrl);
50219 if (node == null)
50220 throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
50221 _this._transitiveModificationTimes.clear$0(0);
50222 _this.importCache.clearImport$1(canonicalUrl);
50223 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
50224 if (stylesheet == null)
50225 return false;
50226 node._stylesheet = stylesheet;
50227 upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
50228 node._replaceUpstream$2(upstream.item1, upstream.item2);
50229 return true;
50230 },
50231 _recanonicalizeImports$2(importer, canonicalUrl) {
50232 var t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this,
50233 changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
50234 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();) {
50235 t5 = t1.get$current(t1);
50236 newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
50237 newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
50238 if (newUpstream.get$isNotEmpty(newUpstream) || newUpstreamImports.get$isNotEmpty(newUpstreamImports)) {
50239 changed.add$1(0, t5);
50240 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));
50241 }
50242 }
50243 if (changed._collection$_length !== 0)
50244 _this._transitiveModificationTimes.clear$0(0);
50245 return changed;
50246 },
50247 _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
50248 var t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
50249 map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1),
50250 newMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.nullable_StylesheetNode);
50251 map._map.forEach$1(0, new A.StylesheetGraph__recanonicalizeImportsForNode_closure(this, importer, canonicalUrl, node, forImport, newMap));
50252 return newMap;
50253 },
50254 _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
50255 var importer, canonicalUrl, resolvedUrl, t1, stylesheet, node, _this = this,
50256 tuple = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
50257 if (tuple == null)
50258 return null;
50259 importer = tuple.item1;
50260 canonicalUrl = tuple.item2;
50261 resolvedUrl = tuple.item3;
50262 t1 = _this._nodes;
50263 if (t1.containsKey$1(canonicalUrl))
50264 return t1.$index(0, canonicalUrl);
50265 if (active.contains$1(0, canonicalUrl))
50266 return null;
50267 stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(_this, importer, canonicalUrl, resolvedUrl));
50268 if (stylesheet == null)
50269 return null;
50270 active.add$1(0, canonicalUrl);
50271 node = A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl));
50272 active.remove$1(0, canonicalUrl);
50273 t1.$indexSet(0, canonicalUrl, node);
50274 return node;
50275 },
50276 _nodeFor$4(url, baseImporter, baseUrl, active) {
50277 return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
50278 },
50279 _ignoreErrors$1$1(callback) {
50280 var t1, exception;
50281 try {
50282 t1 = callback.call$0();
50283 return t1;
50284 } catch (exception) {
50285 return null;
50286 }
50287 },
50288 _ignoreErrors$1(callback) {
50289 return this._ignoreErrors$1$1(callback, type$.dynamic);
50290 }
50291 };
50292 A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
50293 call$1(node) {
50294 return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
50295 },
50296 $signature: 393
50297 };
50298 A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
50299 call$0() {
50300 var t2, t3, upstreamTime,
50301 t1 = this.node,
50302 latest = t1.importer.modificationTime$1(t1.canonicalUrl);
50303 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();) {
50304 t3 = t1._currentIterator;
50305 t3 = t3.get$current(t3);
50306 upstreamTime = t3 == null ? new A.DateTime(Date.now(), false) : t2.call$1(t3);
50307 if (upstreamTime._core$_value > latest._core$_value)
50308 latest = upstreamTime;
50309 }
50310 return latest;
50311 },
50312 $signature: 208
50313 };
50314 A.StylesheetGraph__add_closure.prototype = {
50315 call$0() {
50316 var _this = this;
50317 return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
50318 },
50319 $signature: 80
50320 };
50321 A.StylesheetGraph_addCanonical_closure.prototype = {
50322 call$0() {
50323 var _this = this;
50324 return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
50325 },
50326 $signature: 82
50327 };
50328 A.StylesheetGraph_reload_closure.prototype = {
50329 call$0() {
50330 return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
50331 },
50332 $signature: 82
50333 };
50334 A.StylesheetGraph__recanonicalizeImportsForNode_closure.prototype = {
50335 call$2(url, upstream) {
50336 var result, t1, t2, t3, exception, newCanonicalUrl, _this = this;
50337 if (!_this.importer.couldCanonicalize$2(url, _this.canonicalUrl))
50338 return;
50339 t1 = _this.$this;
50340 t2 = t1.importCache;
50341 t2.clearCanonicalize$1(url);
50342 result = null;
50343 try {
50344 t3 = _this.node;
50345 result = t2.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t3.importer, t3.canonicalUrl, _this.forImport);
50346 } catch (exception) {
50347 }
50348 t2 = result;
50349 newCanonicalUrl = t2 == null ? null : t2.item2;
50350 if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
50351 return;
50352 t1 = result == null ? null : t1._nodes.$index(0, result.item2);
50353 _this.newMap.$indexSet(0, url, t1);
50354 },
50355 $signature: 394
50356 };
50357 A.StylesheetGraph__nodeFor_closure.prototype = {
50358 call$0() {
50359 var _this = this;
50360 return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
50361 },
50362 $signature: 80
50363 };
50364 A.StylesheetGraph__nodeFor_closure0.prototype = {
50365 call$0() {
50366 var _this = this;
50367 return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.resolvedUrl);
50368 },
50369 $signature: 82
50370 };
50371 A.StylesheetNode.prototype = {
50372 StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
50373 var t1, t2;
50374 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();) {
50375 t1 = t2._currentIterator;
50376 t1 = t1.get$current(t1);
50377 if (t1 != null)
50378 t1._downstream.add$1(0, this);
50379 }
50380 },
50381 _replaceUpstream$2(newUpstream, newUpstreamImports) {
50382 var t3, oldUpstream, newUpstreamSet, _this = this,
50383 t1 = type$.nullable_StylesheetNode,
50384 t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
50385 for (t3 = _this._upstream, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();)
50386 t2.add$1(0, t3.get$current(t3));
50387 for (t3 = _this._upstreamImports, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();)
50388 t2.add$1(0, t3.get$current(t3));
50389 t3 = type$.StylesheetNode;
50390 oldUpstream = A.SetExtension_removeNull(t2, t3);
50391 t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
50392 for (t2 = newUpstream.get$values(newUpstream), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50393 t1.add$1(0, t2.get$current(t2));
50394 for (t2 = newUpstreamImports.get$values(newUpstreamImports), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50395 t1.add$1(0, t2.get$current(t2));
50396 newUpstreamSet = A.SetExtension_removeNull(t1, t3);
50397 for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
50398 t1.get$current(t1)._downstream.remove$1(0, _this);
50399 for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
50400 t1.get$current(t1)._downstream.add$1(0, _this);
50401 _this._upstream = newUpstream;
50402 _this._upstreamImports = newUpstreamImports;
50403 },
50404 _stylesheet_graph$_remove$0() {
50405 var t2, t3, t4, _i, url, _this = this,
50406 t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_StylesheetNode);
50407 for (t2 = _this._upstream, t2 = t2.get$values(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50408 t1.add$1(0, t2.get$current(t2));
50409 for (t2 = _this._upstreamImports, t2 = t2.get$values(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();)
50410 t1.add$1(0, t2.get$current(t2));
50411 t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications);
50412 t2 = A._instanceType(t1)._precomputed1;
50413 for (; t1.moveNext$0();) {
50414 t3 = t2._as(t1._collection$_current);
50415 if (t3 == null)
50416 continue;
50417 t3._downstream.remove$1(0, _this);
50418 }
50419 for (t1 = _this._downstream, t1 = t1.get$iterator(t1); t1.moveNext$0();) {
50420 t2 = t1.get$current(t1);
50421 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) {
50422 url = t3[_i];
50423 if (J.$eq$(t2._upstream.$index(0, url), _this)) {
50424 t2._upstream.$indexSet(0, url, null);
50425 break;
50426 }
50427 }
50428 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) {
50429 url = t3[_i];
50430 if (J.$eq$(t2._upstreamImports.$index(0, url), _this)) {
50431 t2._upstreamImports.$indexSet(0, url, null);
50432 break;
50433 }
50434 }
50435 }
50436 },
50437 toString$0(_) {
50438 var t1 = A.NullableExtension_andThen(this._stylesheet.span.file.url, A.path__prettyUri$closure());
50439 return t1 == null ? "<unknown>" : t1;
50440 }
50441 };
50442 A.Syntax.prototype = {
50443 toString$0(_) {
50444 return this._syntax$_name;
50445 }
50446 };
50447 A.LimitedMapView.prototype = {
50448 get$keys(_) {
50449 return this._limited_map_view$_keys;
50450 },
50451 get$length(_) {
50452 return this._limited_map_view$_keys._collection$_length;
50453 },
50454 get$isEmpty(_) {
50455 return this._limited_map_view$_keys._collection$_length === 0;
50456 },
50457 get$isNotEmpty(_) {
50458 return this._limited_map_view$_keys._collection$_length !== 0;
50459 },
50460 $index(_, key) {
50461 return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
50462 },
50463 containsKey$1(key) {
50464 return this._limited_map_view$_keys.contains$1(0, key);
50465 },
50466 remove$1(_, key) {
50467 return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
50468 }
50469 };
50470 A.MergedMapView.prototype = {
50471 get$keys(_) {
50472 var t1 = this._mapsByKey;
50473 return t1.get$keys(t1);
50474 },
50475 get$length(_) {
50476 var t1 = this._mapsByKey;
50477 return t1.get$length(t1);
50478 },
50479 get$isEmpty(_) {
50480 var t1 = this._mapsByKey;
50481 return t1.get$isEmpty(t1);
50482 },
50483 get$isNotEmpty(_) {
50484 var t1 = this._mapsByKey;
50485 return t1.get$isNotEmpty(t1);
50486 },
50487 MergedMapView$1(maps, $K, $V) {
50488 var t1, t2, t3, _i, map, t4, t5;
50489 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) {
50490 map = maps[_i];
50491 if (t3._is(map))
50492 for (t4 = map._mapsByKey, t4 = t4.get$values(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
50493 t5 = t4.get$current(t4);
50494 A.setAll(t2, t5.get$keys(t5), t5);
50495 }
50496 else
50497 A.setAll(t2, map.get$keys(map), map);
50498 }
50499 },
50500 $index(_, key) {
50501 var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
50502 return t1 == null ? null : t1.$index(0, key);
50503 },
50504 $indexSet(_, key, value) {
50505 var child = this._mapsByKey.$index(0, key);
50506 if (child == null)
50507 throw A.wrapException(A.UnsupportedError$(string$.New_en));
50508 child.$indexSet(0, key, value);
50509 },
50510 remove$1(_, key) {
50511 throw A.wrapException(A.UnsupportedError$(string$.Entrie));
50512 },
50513 containsKey$1(key) {
50514 return this._mapsByKey.containsKey$1(key);
50515 }
50516 };
50517 A.MultiDirWatcher.prototype = {
50518 watch$1(_, directory) {
50519 var t1, t2, t3, t4, isParentOfExistingDir, _i, entry, t5, existingWatcher, t6, future, completer;
50520 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) {
50521 entry = t2[_i];
50522 t5 = entry.key;
50523 t5.toString;
50524 existingWatcher = entry.value;
50525 if (!isParentOfExistingDir) {
50526 t6 = $.$get$context();
50527 t6 = t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_within;
50528 } else
50529 t6 = false;
50530 if (t6) {
50531 t1 = new A._Future($.Zone__current, type$._Future_void);
50532 t1._asyncComplete$1(null);
50533 return t1;
50534 }
50535 if ($.$get$context()._isWithinOrEquals$2(directory, t5) === B._PathRelation_within) {
50536 t1.remove$1(0, t5);
50537 t4.remove$1(0, existingWatcher);
50538 isParentOfExistingDir = true;
50539 }
50540 }
50541 future = A.watchDir(directory, this._poll);
50542 t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
50543 completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
50544 future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
50545 t1.$indexSet(0, directory, t2);
50546 t4.add$1(0, t2);
50547 return future;
50548 }
50549 };
50550 A.NoSourceMapBuffer.prototype = {
50551 get$length(_) {
50552 return this._no_source_map_buffer$_buffer._contents.length;
50553 },
50554 forSpan$1$2(span, callback) {
50555 return callback.call$0();
50556 },
50557 forSpan$2(span, callback) {
50558 return this.forSpan$1$2(span, callback, type$.dynamic);
50559 },
50560 write$1(_, object) {
50561 this._no_source_map_buffer$_buffer._contents += A.S(object);
50562 return null;
50563 },
50564 writeCharCode$1(charCode) {
50565 this._no_source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
50566 return null;
50567 },
50568 toString$0(_) {
50569 var t1 = this._no_source_map_buffer$_buffer._contents;
50570 return t1.charCodeAt(0) == 0 ? t1 : t1;
50571 },
50572 buildSourceMap$1$prefix(prefix) {
50573 return A.throwExpression(A.UnsupportedError$(string$.NoSour));
50574 }
50575 };
50576 A.PrefixedMapView.prototype = {
50577 get$keys(_) {
50578 return new A._PrefixedKeys(this);
50579 },
50580 get$length(_) {
50581 var t1 = this._prefixed_map_view$_map;
50582 return t1.get$length(t1);
50583 },
50584 get$isEmpty(_) {
50585 var t1 = this._prefixed_map_view$_map;
50586 return t1.get$isEmpty(t1);
50587 },
50588 get$isNotEmpty(_) {
50589 var t1 = this._prefixed_map_view$_map;
50590 return t1.get$isNotEmpty(t1);
50591 },
50592 $index(_, key) {
50593 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;
50594 },
50595 containsKey$1(key) {
50596 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));
50597 }
50598 };
50599 A._PrefixedKeys.prototype = {
50600 get$length(_) {
50601 var t1 = this._view._prefixed_map_view$_map;
50602 return t1.get$length(t1);
50603 },
50604 get$iterator(_) {
50605 var t1 = this._view._prefixed_map_view$_map;
50606 t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
50607 return t1.get$iterator(t1);
50608 },
50609 contains$1(_, key) {
50610 return this._view.containsKey$1(key);
50611 }
50612 };
50613 A._PrefixedKeys_iterator_closure.prototype = {
50614 call$1(key) {
50615 return this.$this._view._prefix + key;
50616 },
50617 $signature: 5
50618 };
50619 A.PublicMemberMapView.prototype = {
50620 get$keys(_) {
50621 var t1 = this._public_member_map_view$_inner;
50622 return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
50623 },
50624 containsKey$1(key) {
50625 return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
50626 },
50627 $index(_, key) {
50628 if (typeof key == "string" && A.isPublic(key))
50629 return this._public_member_map_view$_inner.$index(0, key);
50630 return null;
50631 }
50632 };
50633 A.SourceMapBuffer.prototype = {
50634 get$_targetLocation() {
50635 var t1 = this._source_map_buffer$_buffer._contents,
50636 t2 = this._line;
50637 return A.SourceLocation$(t1.length, this._column, t2, null);
50638 },
50639 get$length(_) {
50640 return this._source_map_buffer$_buffer._contents.length;
50641 },
50642 forSpan$1$2(span, callback) {
50643 var t1, _this = this,
50644 wasInSpan = _this._inSpan;
50645 _this._inSpan = true;
50646 _this._addEntry$2(A.FileLocation$_(span.file, span._file$_start), _this.get$_targetLocation());
50647 try {
50648 t1 = callback.call$0();
50649 return t1;
50650 } finally {
50651 _this._inSpan = wasInSpan;
50652 }
50653 },
50654 forSpan$2(span, callback) {
50655 return this.forSpan$1$2(span, callback, type$.dynamic);
50656 },
50657 _addEntry$2(source, target) {
50658 var entry, t2,
50659 t1 = this._entries;
50660 if (t1.length !== 0) {
50661 entry = B.JSArray_methods.get$last(t1);
50662 t2 = entry.source;
50663 if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
50664 return;
50665 if (entry.target.offset === target.offset)
50666 return;
50667 }
50668 t1.push(new A.Entry(source, target, null));
50669 },
50670 write$1(_, object) {
50671 var t1, i,
50672 string = J.toString$0$(object);
50673 this._source_map_buffer$_buffer._contents += string;
50674 for (t1 = string.length, i = 0; i < t1; ++i)
50675 if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
50676 this._source_map_buffer$_writeLine$0();
50677 else
50678 ++this._column;
50679 },
50680 writeCharCode$1(charCode) {
50681 this._source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
50682 if (charCode === 10)
50683 this._source_map_buffer$_writeLine$0();
50684 else
50685 ++this._column;
50686 },
50687 _source_map_buffer$_writeLine$0() {
50688 var _this = this,
50689 t1 = _this._entries;
50690 if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
50691 t1.pop();
50692 ++_this._line;
50693 _this._column = 0;
50694 if (_this._inSpan)
50695 t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
50696 },
50697 toString$0(_) {
50698 var t1 = this._source_map_buffer$_buffer._contents;
50699 return t1.charCodeAt(0) == 0 ? t1 : t1;
50700 },
50701 buildSourceMap$1$prefix(prefix) {
50702 var i, t2, prefixColumn, _box_0 = {},
50703 t1 = prefix.length;
50704 if (t1 === 0)
50705 return A.SingleMapping_SingleMapping$fromEntries(this._entries);
50706 _box_0.prefixColumn = _box_0.prefixLines = 0;
50707 for (i = 0, t2 = 0; i < t1; ++i)
50708 if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
50709 ++_box_0.prefixLines;
50710 _box_0.prefixColumn = 0;
50711 t2 = 0;
50712 } else {
50713 prefixColumn = t2 + 1;
50714 _box_0.prefixColumn = prefixColumn;
50715 t2 = prefixColumn;
50716 }
50717 t2 = this._entries;
50718 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>")));
50719 }
50720 };
50721 A.SourceMapBuffer_buildSourceMap_closure.prototype = {
50722 call$1(entry) {
50723 var t1 = entry.source,
50724 t2 = entry.target,
50725 t3 = t2.line,
50726 t4 = this._box_0,
50727 t5 = t4.prefixLines;
50728 t4 = t3 === 0 ? t4.prefixColumn : 0;
50729 return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
50730 },
50731 $signature: 229
50732 };
50733 A.UnprefixedMapView.prototype = {
50734 get$keys(_) {
50735 return new A._UnprefixedKeys(this);
50736 },
50737 $index(_, key) {
50738 return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
50739 },
50740 containsKey$1(key) {
50741 return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
50742 },
50743 remove$1(_, key) {
50744 return typeof key == "string" ? this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key) : null;
50745 }
50746 };
50747 A._UnprefixedKeys.prototype = {
50748 get$iterator(_) {
50749 var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
50750 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);
50751 return t1.get$iterator(t1);
50752 },
50753 contains$1(_, key) {
50754 return this._unprefixed_map_view$_view.containsKey$1(key);
50755 }
50756 };
50757 A._UnprefixedKeys_iterator_closure.prototype = {
50758 call$1(key) {
50759 return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
50760 },
50761 $signature: 6
50762 };
50763 A._UnprefixedKeys_iterator_closure0.prototype = {
50764 call$1(key) {
50765 return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
50766 },
50767 $signature: 5
50768 };
50769 A.indent_closure.prototype = {
50770 call$1(line) {
50771 return B.JSString_methods.$mul(" ", this.indentation) + line;
50772 },
50773 $signature: 5
50774 };
50775 A.flattenVertically_closure.prototype = {
50776 call$1(inner) {
50777 return A.QueueList_QueueList$from(inner, this.T);
50778 },
50779 $signature() {
50780 return this.T._eval$1("QueueList<0>(Iterable<0>)");
50781 }
50782 };
50783 A.flattenVertically_closure0.prototype = {
50784 call$1(queue) {
50785 this.result.push(queue.removeFirst$0());
50786 return queue.get$length(queue) === 0;
50787 },
50788 $signature() {
50789 return this.T._eval$1("bool(QueueList<0>)");
50790 }
50791 };
50792 A.longestCommonSubsequence_closure.prototype = {
50793 call$2(element1, element2) {
50794 return J.$eq$(element1, element2) ? element1 : null;
50795 },
50796 $signature() {
50797 return this.T._eval$1("0?(0,0)");
50798 }
50799 };
50800 A.longestCommonSubsequence_backtrack.prototype = {
50801 call$2(i, j) {
50802 var selection, t1, _this = this;
50803 if (i === -1 || j === -1)
50804 return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
50805 selection = _this.selections[i][j];
50806 if (selection != null) {
50807 t1 = _this.call$2(i - 1, j - 1);
50808 J.add$1$ax(t1, selection);
50809 return t1;
50810 }
50811 t1 = _this.lengths;
50812 return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
50813 },
50814 $signature() {
50815 return this.T._eval$1("List<0>(int,int)");
50816 }
50817 };
50818 A.mapAddAll2_closure.prototype = {
50819 call$2(key, inner) {
50820 var t1 = this.destination,
50821 innerDestination = t1.$index(0, key);
50822 if (innerDestination != null)
50823 innerDestination.addAll$1(0, inner);
50824 else
50825 t1.$indexSet(0, key, inner);
50826 },
50827 $signature() {
50828 return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
50829 }
50830 };
50831 A.Value.prototype = {
50832 get$isTruthy() {
50833 return true;
50834 },
50835 get$separator(_) {
50836 return B.ListSeparator_undecided_null;
50837 },
50838 get$hasBrackets() {
50839 return false;
50840 },
50841 get$asList() {
50842 return A._setArrayType([this], type$.JSArray_Value);
50843 },
50844 get$lengthAsList() {
50845 return 1;
50846 },
50847 get$isBlank() {
50848 return false;
50849 },
50850 get$isSpecialNumber() {
50851 return false;
50852 },
50853 get$isVar() {
50854 return false;
50855 },
50856 get$realNull() {
50857 return this;
50858 },
50859 sassIndexToListIndex$2(sassIndex, $name) {
50860 var _this = this,
50861 index = sassIndex.assertNumber$1($name).assertInt$1($name);
50862 if (index === 0)
50863 throw A.wrapException(_this._value$_exception$2("List index may not be 0.", $name));
50864 if (Math.abs(index) > _this.get$lengthAsList())
50865 throw A.wrapException(_this._value$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a list with " + _this.get$lengthAsList() + " elements.", $name));
50866 return index < 0 ? _this.get$lengthAsList() + index : index - 1;
50867 },
50868 assertCalculation$1($name) {
50869 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a calculation.", $name));
50870 },
50871 assertColor$1($name) {
50872 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a color.", $name));
50873 },
50874 assertFunction$1($name) {
50875 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a function reference.", $name));
50876 },
50877 assertMap$1($name) {
50878 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a map.", $name));
50879 },
50880 tryMap$0() {
50881 return null;
50882 },
50883 assertNumber$1($name) {
50884 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a number.", $name));
50885 },
50886 assertNumber$0() {
50887 return this.assertNumber$1(null);
50888 },
50889 assertString$1($name) {
50890 return A.throwExpression(this._value$_exception$2(this.toString$0(0) + " is not a string.", $name));
50891 },
50892 assertSelector$2$allowParent$name(allowParent, $name) {
50893 var error, stackTrace, t1, exception,
50894 string = this._selectorString$1($name);
50895 try {
50896 t1 = A.SelectorList_SelectorList$parse(string, allowParent, true, null);
50897 return t1;
50898 } catch (exception) {
50899 t1 = A.unwrapException(exception);
50900 if (t1 instanceof A.SassFormatException) {
50901 error = t1;
50902 stackTrace = A.getTraceFromException(exception);
50903 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
50904 A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
50905 } else
50906 throw exception;
50907 }
50908 },
50909 assertSelector$1$name($name) {
50910 return this.assertSelector$2$allowParent$name(false, $name);
50911 },
50912 assertSelector$0() {
50913 return this.assertSelector$2$allowParent$name(false, null);
50914 },
50915 assertSelector$1$allowParent(allowParent) {
50916 return this.assertSelector$2$allowParent$name(allowParent, null);
50917 },
50918 assertCompoundSelector$1$name($name) {
50919 var error, stackTrace, t1, exception,
50920 allowParent = false,
50921 string = this._selectorString$1($name);
50922 try {
50923 t1 = A.SelectorParser$(string, allowParent, true, null, null).parseCompoundSelector$0();
50924 return t1;
50925 } catch (exception) {
50926 t1 = A.unwrapException(exception);
50927 if (t1 instanceof A.SassFormatException) {
50928 error = t1;
50929 stackTrace = A.getTraceFromException(exception);
50930 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
50931 t1 = "$" + $name + ": " + t1;
50932 A.throwWithTrace(new A.SassScriptException(t1), stackTrace);
50933 } else
50934 throw exception;
50935 }
50936 },
50937 _selectorString$1($name) {
50938 var string = this._selectorStringOrNull$0();
50939 if (string != null)
50940 return string;
50941 throw A.wrapException(this._value$_exception$2(this.toString$0(0) + string$.x20is_no, $name));
50942 },
50943 _selectorStringOrNull$0() {
50944 var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
50945 if (_this instanceof A.SassString)
50946 return _this._string$_text;
50947 if (!(_this instanceof A.SassList))
50948 return _null;
50949 t1 = _this._list$_contents;
50950 t2 = t1.length;
50951 if (t2 === 0)
50952 return _null;
50953 result = A._setArrayType([], type$.JSArray_String);
50954 t3 = _this._separator;
50955 switch (t3) {
50956 case B.ListSeparator_kWM:
50957 for (_i = 0; _i < t2; ++_i) {
50958 complex = t1[_i];
50959 if (complex instanceof A.SassString)
50960 result.push(complex._string$_text);
50961 else if (complex instanceof A.SassList && complex._separator === B.ListSeparator_woc) {
50962 string = complex._selectorStringOrNull$0();
50963 if (string == null)
50964 return _null;
50965 result.push(string);
50966 } else
50967 return _null;
50968 }
50969 break;
50970 case B.ListSeparator_1gm:
50971 return _null;
50972 default:
50973 for (_i = 0; _i < t2; ++_i) {
50974 compound = t1[_i];
50975 if (compound instanceof A.SassString)
50976 result.push(compound._string$_text);
50977 else
50978 return _null;
50979 }
50980 break;
50981 }
50982 return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_kWM ? ", " : " ");
50983 },
50984 withListContents$2$separator(contents, separator) {
50985 var t1 = separator == null ? this.get$separator(this) : separator,
50986 t2 = this.get$hasBrackets();
50987 return A.SassList$(contents, t1, t2);
50988 },
50989 withListContents$1(contents) {
50990 return this.withListContents$2$separator(contents, null);
50991 },
50992 greaterThan$1(other) {
50993 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
50994 },
50995 greaterThanOrEquals$1(other) {
50996 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
50997 },
50998 lessThan$1(other) {
50999 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
51000 },
51001 lessThanOrEquals$1(other) {
51002 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
51003 },
51004 times$1(other) {
51005 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".'));
51006 },
51007 modulo$1(other) {
51008 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".'));
51009 },
51010 plus$1(other) {
51011 if (other instanceof A.SassString)
51012 return new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
51013 else if (other instanceof A.SassCalculation)
51014 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51015 else
51016 return new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
51017 },
51018 minus$1(other) {
51019 if (other instanceof A.SassCalculation)
51020 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51021 else
51022 return new A.SassString(A.serializeValue(this, false, true) + "-" + A.serializeValue(other, false, true), false);
51023 },
51024 dividedBy$1(other) {
51025 return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
51026 },
51027 unaryPlus$0() {
51028 return new A.SassString("+" + A.serializeValue(this, false, true), false);
51029 },
51030 unaryMinus$0() {
51031 return new A.SassString("-" + A.serializeValue(this, false, true), false);
51032 },
51033 unaryNot$0() {
51034 return B.SassBoolean_false;
51035 },
51036 withoutSlash$0() {
51037 return this;
51038 },
51039 toString$0(_) {
51040 return A.serializeValue(this, true, true);
51041 },
51042 _value$_exception$2(message, $name) {
51043 return new A.SassScriptException($name == null ? message : "$" + $name + ": " + message);
51044 }
51045 };
51046 A.SassArgumentList.prototype = {};
51047 A.SassBoolean.prototype = {
51048 get$isTruthy() {
51049 return this.value;
51050 },
51051 accept$1$1(visitor) {
51052 return visitor._serialize$_buffer.write$1(0, String(this.value));
51053 },
51054 accept$1(visitor) {
51055 return this.accept$1$1(visitor, type$.dynamic);
51056 },
51057 unaryNot$0() {
51058 return this.value ? B.SassBoolean_false : B.SassBoolean_true;
51059 }
51060 };
51061 A.SassCalculation.prototype = {
51062 get$isSpecialNumber() {
51063 return true;
51064 },
51065 accept$1$1(visitor) {
51066 var t2,
51067 t1 = visitor._serialize$_buffer;
51068 t1.write$1(0, this.name);
51069 t1.writeCharCode$1(40);
51070 t2 = visitor._style === B.OutputStyle_compressed ? "," : ", ";
51071 visitor._writeBetween$3(this.$arguments, t2, visitor.get$_writeCalculationValue());
51072 t1.writeCharCode$1(41);
51073 return null;
51074 },
51075 accept$1(visitor) {
51076 return this.accept$1$1(visitor, type$.dynamic);
51077 },
51078 assertCalculation$1($name) {
51079 return this;
51080 },
51081 plus$1(other) {
51082 if (other instanceof A.SassString)
51083 return this.super$Value$plus(other);
51084 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51085 },
51086 minus$1(other) {
51087 return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51088 },
51089 unaryPlus$0() {
51090 return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".'));
51091 },
51092 unaryMinus$0() {
51093 return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".'));
51094 },
51095 $eq(_, other) {
51096 if (other == null)
51097 return false;
51098 return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
51099 },
51100 get$hashCode(_) {
51101 return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
51102 }
51103 };
51104 A.SassCalculation__verifyLength_closure.prototype = {
51105 call$1(arg) {
51106 return arg instanceof A.SassString || arg instanceof A.CalculationInterpolation;
51107 },
51108 $signature: 104
51109 };
51110 A.CalculationOperation.prototype = {
51111 $eq(_, other) {
51112 if (other == null)
51113 return false;
51114 return other instanceof A.CalculationOperation && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
51115 },
51116 get$hashCode(_) {
51117 return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
51118 },
51119 toString$0(_) {
51120 var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
51121 return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
51122 }
51123 };
51124 A.CalculationOperator.prototype = {
51125 toString$0(_) {
51126 return this.name;
51127 }
51128 };
51129 A.CalculationInterpolation.prototype = {
51130 $eq(_, other) {
51131 if (other == null)
51132 return false;
51133 return other instanceof A.CalculationInterpolation && this.value === other.value;
51134 },
51135 get$hashCode(_) {
51136 return B.JSString_methods.get$hashCode(this.value);
51137 },
51138 toString$0(_) {
51139 return this.value;
51140 }
51141 };
51142 A.SassColor.prototype = {
51143 get$red(_) {
51144 var t1;
51145 if (this._red == null)
51146 this._hslToRgb$0();
51147 t1 = this._red;
51148 t1.toString;
51149 return t1;
51150 },
51151 get$green(_) {
51152 var t1;
51153 if (this._green == null)
51154 this._hslToRgb$0();
51155 t1 = this._green;
51156 t1.toString;
51157 return t1;
51158 },
51159 get$blue(_) {
51160 var t1;
51161 if (this._blue == null)
51162 this._hslToRgb$0();
51163 t1 = this._blue;
51164 t1.toString;
51165 return t1;
51166 },
51167 get$hue(_) {
51168 var t1;
51169 if (this._hue == null)
51170 this._rgbToHsl$0();
51171 t1 = this._hue;
51172 t1.toString;
51173 return t1;
51174 },
51175 get$saturation(_) {
51176 var t1;
51177 if (this._saturation == null)
51178 this._rgbToHsl$0();
51179 t1 = this._saturation;
51180 t1.toString;
51181 return t1;
51182 },
51183 get$lightness(_) {
51184 var t1;
51185 if (this._lightness == null)
51186 this._rgbToHsl$0();
51187 t1 = this._lightness;
51188 t1.toString;
51189 return t1;
51190 },
51191 get$whiteness(_) {
51192 var _this = this;
51193 return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
51194 },
51195 get$blackness(_) {
51196 var _this = this;
51197 return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
51198 },
51199 accept$1$1(visitor) {
51200 return visitor.visitColor$1(this);
51201 },
51202 accept$1(visitor) {
51203 return this.accept$1$1(visitor, type$.dynamic);
51204 },
51205 assertColor$1($name) {
51206 return this;
51207 },
51208 changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
51209 return A.SassColor$rgb(red, green, blue, alpha == null ? this._alpha : alpha, null);
51210 },
51211 changeRgb$3$blue$green$red(blue, green, red) {
51212 return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
51213 },
51214 changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
51215 var _this = this,
51216 t1 = hue == null ? _this.get$hue(_this) : hue,
51217 t2 = saturation == null ? _this.get$saturation(_this) : saturation,
51218 t3 = lightness == null ? _this.get$lightness(_this) : lightness;
51219 return A.SassColor$hsl(t1, t2, t3, alpha == null ? _this._alpha : alpha);
51220 },
51221 changeHsl$1$saturation(saturation) {
51222 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
51223 },
51224 changeHsl$1$lightness(lightness) {
51225 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
51226 },
51227 changeHsl$1$hue(hue) {
51228 return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
51229 },
51230 changeAlpha$1(alpha) {
51231 var _this = this;
51232 return new A.SassColor(_this._red, _this._green, _this._blue, _this._hue, _this._saturation, _this._lightness, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), null);
51233 },
51234 plus$1(other) {
51235 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51236 return this.super$Value$plus(other);
51237 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51238 },
51239 minus$1(other) {
51240 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51241 return this.super$Value$minus(other);
51242 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51243 },
51244 dividedBy$1(other) {
51245 if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
51246 return this.super$Value$dividedBy(other);
51247 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".'));
51248 },
51249 $eq(_, other) {
51250 var _this = this;
51251 if (other == null)
51252 return false;
51253 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;
51254 },
51255 get$hashCode(_) {
51256 var _this = this;
51257 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);
51258 },
51259 _rgbToHsl$0() {
51260 var t2, lightness, _this = this,
51261 scaledRed = _this.get$red(_this) / 255,
51262 scaledGreen = _this.get$green(_this) / 255,
51263 scaledBlue = _this.get$blue(_this) / 255,
51264 max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
51265 min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
51266 delta = max - min,
51267 t1 = max === min;
51268 if (t1)
51269 _this._hue = 0;
51270 else if (max === scaledRed)
51271 _this._hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
51272 else if (max === scaledGreen)
51273 _this._hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
51274 else if (max === scaledBlue)
51275 _this._hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
51276 t2 = max + min;
51277 lightness = 50 * t2;
51278 _this._lightness = lightness;
51279 if (t1)
51280 _this._saturation = 0;
51281 else {
51282 t1 = 100 * delta;
51283 if (lightness < 50)
51284 _this._saturation = t1 / t2;
51285 else
51286 _this._saturation = t1 / (2 - max - min);
51287 }
51288 },
51289 _hslToRgb$0() {
51290 var _this = this,
51291 scaledHue = _this.get$hue(_this) / 360,
51292 scaledSaturation = _this.get$saturation(_this) / 100,
51293 scaledLightness = _this.get$lightness(_this) / 100,
51294 m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
51295 m1 = scaledLightness * 2 - m2;
51296 _this._red = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue + 0.3333333333333333) * 255);
51297 _this._green = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue) * 255);
51298 _this._blue = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue - 0.3333333333333333) * 255);
51299 }
51300 };
51301 A.SassColor_SassColor$hwb_toRgb.prototype = {
51302 call$1(hue) {
51303 return A.fuzzyRound((A.SassColor__hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
51304 },
51305 $signature: 43
51306 };
51307 A.SassFunction.prototype = {
51308 accept$1$1(visitor) {
51309 var t1, t2;
51310 if (!visitor._inspect)
51311 A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value."));
51312 t1 = visitor._serialize$_buffer;
51313 t1.write$1(0, "get-function(");
51314 t2 = this.callable;
51315 visitor._visitQuotedString$1(t2.get$name(t2));
51316 t1.writeCharCode$1(41);
51317 return null;
51318 },
51319 accept$1(visitor) {
51320 return this.accept$1$1(visitor, type$.dynamic);
51321 },
51322 assertFunction$1($name) {
51323 return this;
51324 },
51325 $eq(_, other) {
51326 if (other == null)
51327 return false;
51328 return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
51329 },
51330 get$hashCode(_) {
51331 var t1 = this.callable;
51332 return t1.get$hashCode(t1);
51333 }
51334 };
51335 A.SassList.prototype = {
51336 get$separator(_) {
51337 return this._separator;
51338 },
51339 get$hasBrackets() {
51340 return this._hasBrackets;
51341 },
51342 get$isBlank() {
51343 return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
51344 },
51345 get$asList() {
51346 return this._list$_contents;
51347 },
51348 get$lengthAsList() {
51349 return this._list$_contents.length;
51350 },
51351 SassList$3$brackets(contents, _separator, brackets) {
51352 if (this._separator === B.ListSeparator_undecided_null && this._list$_contents.length > 1)
51353 throw A.wrapException(A.ArgumentError$(string$.A_list, null));
51354 },
51355 accept$1$1(visitor) {
51356 return visitor.visitList$1(this);
51357 },
51358 accept$1(visitor) {
51359 return this.accept$1$1(visitor, type$.dynamic);
51360 },
51361 assertMap$1($name) {
51362 return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
51363 },
51364 tryMap$0() {
51365 return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
51366 },
51367 $eq(_, other) {
51368 var t1, _this = this;
51369 if (other == null)
51370 return false;
51371 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)))
51372 t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
51373 else
51374 t1 = true;
51375 return t1;
51376 },
51377 get$hashCode(_) {
51378 return B.C_ListEquality0.hash$1(this._list$_contents);
51379 }
51380 };
51381 A.SassList_isBlank_closure.prototype = {
51382 call$1(element) {
51383 return element.get$isBlank();
51384 },
51385 $signature: 62
51386 };
51387 A.ListSeparator.prototype = {
51388 toString$0(_) {
51389 return this._list$_name;
51390 }
51391 };
51392 A.SassMap.prototype = {
51393 get$separator(_) {
51394 var t1 = this._map$_contents;
51395 return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null : B.ListSeparator_kWM;
51396 },
51397 get$asList() {
51398 var result = A._setArrayType([], type$.JSArray_Value);
51399 this._map$_contents.forEach$1(0, new A.SassMap_asList_closure(result));
51400 return result;
51401 },
51402 get$lengthAsList() {
51403 var t1 = this._map$_contents;
51404 return t1.get$length(t1);
51405 },
51406 accept$1$1(visitor) {
51407 return visitor.visitMap$1(this);
51408 },
51409 accept$1(visitor) {
51410 return this.accept$1$1(visitor, type$.dynamic);
51411 },
51412 assertMap$1($name) {
51413 return this;
51414 },
51415 tryMap$0() {
51416 return this;
51417 },
51418 $eq(_, other) {
51419 var t1;
51420 if (other == null)
51421 return false;
51422 if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
51423 t1 = this._map$_contents;
51424 t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
51425 } else
51426 t1 = true;
51427 return t1;
51428 },
51429 get$hashCode(_) {
51430 var t1 = this._map$_contents;
51431 return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty5) : B.C_MapEquality.hash$1(t1);
51432 }
51433 };
51434 A.SassMap_asList_closure.prototype = {
51435 call$2(key, value) {
51436 this.result.push(A.SassList$(A._setArrayType([key, value], type$.JSArray_Value), B.ListSeparator_woc, false));
51437 },
51438 $signature: 50
51439 };
51440 A._SassNull.prototype = {
51441 get$isTruthy() {
51442 return false;
51443 },
51444 get$isBlank() {
51445 return true;
51446 },
51447 get$realNull() {
51448 return null;
51449 },
51450 accept$1$1(visitor) {
51451 if (visitor._inspect)
51452 visitor._serialize$_buffer.write$1(0, "null");
51453 return null;
51454 },
51455 accept$1(visitor) {
51456 return this.accept$1$1(visitor, type$.dynamic);
51457 },
51458 unaryNot$0() {
51459 return B.SassBoolean_true;
51460 }
51461 };
51462 A.SassNumber.prototype = {
51463 get$unitString() {
51464 var _this = this;
51465 return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
51466 },
51467 accept$1$1(visitor) {
51468 return visitor.visitNumber$1(this);
51469 },
51470 accept$1(visitor) {
51471 return this.accept$1$1(visitor, type$.dynamic);
51472 },
51473 withoutSlash$0() {
51474 var _this = this;
51475 return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
51476 },
51477 assertNumber$1($name) {
51478 return this;
51479 },
51480 assertNumber$0() {
51481 return this.assertNumber$1(null);
51482 },
51483 assertInt$1($name) {
51484 var t1 = this._number$_value,
51485 integer = A.fuzzyIsInt(t1) ? B.JSNumber_methods.round$0(t1) : null;
51486 if (integer != null)
51487 return integer;
51488 throw A.wrapException(this._number$_exception$2(this.toString$0(0) + " is not an int.", $name));
51489 },
51490 assertInt$0() {
51491 return this.assertInt$1(null);
51492 },
51493 valueInRange$3(min, max, $name) {
51494 var _this = this,
51495 result = A.fuzzyCheckRange(_this._number$_value, min, max);
51496 if (result != null)
51497 return result;
51498 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));
51499 },
51500 hasCompatibleUnits$1(other) {
51501 var _this = this;
51502 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
51503 return false;
51504 if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
51505 return false;
51506 return _this.isComparableTo$1(other);
51507 },
51508 assertUnit$2(unit, $name) {
51509 if (this.hasUnit$1(unit))
51510 return;
51511 throw A.wrapException(this._number$_exception$2("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
51512 },
51513 assertNoUnits$1($name) {
51514 if (!this.get$hasUnits())
51515 return;
51516 throw A.wrapException(this._number$_exception$2("Expected " + this.toString$0(0) + " to have no units.", $name));
51517 },
51518 convertValueToMatch$3(other, $name, otherName) {
51519 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
51520 },
51521 coerce$3(newNumerators, newDenominators, $name) {
51522 return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
51523 },
51524 coerce$2(newNumerators, newDenominators) {
51525 return this.coerce$3(newNumerators, newDenominators, null);
51526 },
51527 coerceValue$3(newNumerators, newDenominators, $name) {
51528 return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
51529 },
51530 coerceValueToUnit$2(unit, $name) {
51531 var t1 = type$.JSArray_String;
51532 return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
51533 },
51534 coerceValueToMatch$3(other, $name, otherName) {
51535 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
51536 },
51537 coerceValueToMatch$1(other) {
51538 return this.coerceValueToMatch$3(other, null, null);
51539 },
51540 _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
51541 var otherHasUnits, t1, _compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
51542 if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
51543 return _this._number$_value;
51544 otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
51545 if (coerceUnitless)
51546 t1 = !_this.get$hasUnits() || !otherHasUnits;
51547 else
51548 t1 = false;
51549 if (t1)
51550 return _this._number$_value;
51551 _compatibilityException = new A.SassNumber__coerceOrConvertValue__compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
51552 _box_0.value = _this._number$_value;
51553 t1 = _this.get$numeratorUnits(_this);
51554 oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
51555 for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
51556 A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(_compatibilityException));
51557 t1 = _this.get$denominatorUnits(_this);
51558 oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
51559 for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
51560 A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(_compatibilityException));
51561 if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
51562 throw A.wrapException(_compatibilityException.call$0());
51563 return _box_0.value;
51564 },
51565 _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
51566 return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
51567 },
51568 isComparableTo$1(other) {
51569 var exception;
51570 if (!this.get$hasUnits() || !other.get$hasUnits())
51571 return true;
51572 try {
51573 this.greaterThan$1(other);
51574 return true;
51575 } catch (exception) {
51576 if (A.unwrapException(exception) instanceof A.SassScriptException)
51577 return false;
51578 else
51579 throw exception;
51580 }
51581 },
51582 greaterThan$1(other) {
51583 if (other instanceof A.SassNumber)
51584 return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51585 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
51586 },
51587 greaterThanOrEquals$1(other) {
51588 if (other instanceof A.SassNumber)
51589 return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51590 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
51591 },
51592 lessThan$1(other) {
51593 if (other instanceof A.SassNumber)
51594 return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51595 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
51596 },
51597 lessThanOrEquals$1(other) {
51598 if (other instanceof A.SassNumber)
51599 return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
51600 throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
51601 },
51602 modulo$1(other) {
51603 var _this = this;
51604 if (other instanceof A.SassNumber)
51605 return _this.withValue$1(_this._coerceUnits$2(other, _this.get$moduloLikeSass()));
51606 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " % " + other.toString$0(0) + '".'));
51607 },
51608 moduloLikeSass$2(num1, num2) {
51609 var result;
51610 if (num2 > 0)
51611 return B.JSNumber_methods.$mod(num1, num2);
51612 if (num2 === 0)
51613 return 0 / 0;
51614 result = B.JSNumber_methods.$mod(num1, num2);
51615 return result === 0 ? 0 : result + num2;
51616 },
51617 plus$1(other) {
51618 var _this = this;
51619 if (other instanceof A.SassNumber)
51620 return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
51621 if (!(other instanceof A.SassColor))
51622 return _this.super$Value$plus(other);
51623 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".'));
51624 },
51625 minus$1(other) {
51626 var _this = this;
51627 if (other instanceof A.SassNumber)
51628 return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
51629 if (!(other instanceof A.SassColor))
51630 return _this.super$Value$minus(other);
51631 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".'));
51632 },
51633 times$1(other) {
51634 var _this = this;
51635 if (other instanceof A.SassNumber) {
51636 if (!other.get$hasUnits())
51637 return _this.withValue$1(_this._number$_value * other._number$_value);
51638 return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
51639 }
51640 throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".'));
51641 },
51642 dividedBy$1(other) {
51643 var _this = this;
51644 if (other instanceof A.SassNumber) {
51645 if (!other.get$hasUnits())
51646 return _this.withValue$1(_this._number$_value / other._number$_value);
51647 return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
51648 }
51649 return _this.super$Value$dividedBy(other);
51650 },
51651 unaryPlus$0() {
51652 return this;
51653 },
51654 _coerceUnits$1$2(other, operation) {
51655 var t1, exception;
51656 try {
51657 t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
51658 return t1;
51659 } catch (exception) {
51660 if (A.unwrapException(exception) instanceof A.SassScriptException) {
51661 this.coerceValueToMatch$1(other);
51662 throw exception;
51663 } else
51664 throw exception;
51665 }
51666 },
51667 _coerceUnits$2(other, operation) {
51668 return this._coerceUnits$1$2(other, operation, type$.dynamic);
51669 },
51670 multiplyUnits$3(value, otherNumerators, otherDenominators) {
51671 var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
51672 _box_0.value = value;
51673 if (_this.get$numeratorUnits(_this).length === 0) {
51674 if (otherDenominators.length === 0 && !_this._areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
51675 return A.SassNumber_SassNumber$withUnits(value, _this.get$denominatorUnits(_this), otherNumerators);
51676 else if (_this.get$denominatorUnits(_this).length === 0)
51677 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, otherNumerators);
51678 } else if (otherNumerators.length === 0)
51679 if (otherDenominators.length === 0)
51680 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
51681 else if (_this.get$denominatorUnits(_this).length === 0 && !_this._areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
51682 return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
51683 newNumerators = A._setArrayType([], type$.JSArray_String);
51684 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
51685 for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
51686 numerator = t1[_i];
51687 A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
51688 }
51689 t1 = _this.get$denominatorUnits(_this);
51690 mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
51691 for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
51692 numerator = otherNumerators[_i];
51693 A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
51694 }
51695 t1 = _box_0.value;
51696 B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
51697 return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
51698 },
51699 _areAnyConvertible$2(units1, units2) {
51700 return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
51701 },
51702 _unitString$2(numerators, denominators) {
51703 var t1;
51704 if (numerators.length === 0) {
51705 t1 = denominators.length;
51706 if (t1 === 0)
51707 return "no units";
51708 if (t1 === 1)
51709 return J.$add$ansx(B.JSArray_methods.get$single(denominators), "^-1");
51710 return "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
51711 }
51712 if (denominators.length === 0)
51713 return B.JSArray_methods.join$1(numerators, "*");
51714 return B.JSArray_methods.join$1(numerators, "*") + "/" + B.JSArray_methods.join$1(denominators, "*");
51715 },
51716 $eq(_, other) {
51717 var _this = this;
51718 if (other == null)
51719 return false;
51720 if (other instanceof A.SassNumber) {
51721 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
51722 return false;
51723 if (!_this.get$hasUnits())
51724 return Math.abs(_this._number$_value - other._number$_value) < $.$get$epsilon();
51725 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))))
51726 return false;
51727 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();
51728 } else
51729 return false;
51730 },
51731 get$hashCode(_) {
51732 var _this = this,
51733 t1 = _this.hashCache;
51734 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;
51735 },
51736 _canonicalizeUnitList$1(units) {
51737 var type,
51738 t1 = units.length;
51739 if (t1 === 0)
51740 return units;
51741 if (t1 === 1) {
51742 type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
51743 if (type == null)
51744 t1 = units;
51745 else {
51746 t1 = B.Map_U8AHF.$index(0, type);
51747 t1.toString;
51748 t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
51749 }
51750 return t1;
51751 }
51752 t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
51753 t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
51754 B.JSArray_methods.sort$0(t1);
51755 return t1;
51756 },
51757 _canonicalMultiplier$1(units) {
51758 return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
51759 },
51760 canonicalMultiplierForUnit$1(unit) {
51761 var t1,
51762 innerMap = B.Map_K2BWj.$index(0, unit);
51763 if (innerMap == null)
51764 t1 = 1;
51765 else {
51766 t1 = innerMap.get$values(innerMap);
51767 t1 = 1 / t1.get$first(t1);
51768 }
51769 return t1;
51770 },
51771 _number$_exception$2(message, $name) {
51772 return new A.SassScriptException($name == null ? message : "$" + $name + ": " + message);
51773 }
51774 };
51775 A.SassNumber__coerceOrConvertValue__compatibilityException.prototype = {
51776 call$0() {
51777 var t2, t3, message, t4, type, unit, _this = this,
51778 t1 = _this.other;
51779 if (t1 != null) {
51780 t2 = _this.$this;
51781 t3 = t2.toString$0(0) + " and";
51782 message = new A.StringBuffer(t3);
51783 t4 = _this.otherName;
51784 if (t4 != null)
51785 t3 = message._contents = t3 + (" $" + t4 + ":");
51786 t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
51787 message._contents = t1;
51788 if (!t2.get$hasUnits() || !_this.otherHasUnits)
51789 message._contents = t1 + " (one has units and the other doesn't)";
51790 t1 = message.toString$0(0) + ".";
51791 t2 = _this.name;
51792 return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
51793 } else if (!_this.otherHasUnits) {
51794 t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
51795 t2 = _this.name;
51796 return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
51797 } else {
51798 t1 = _this.newNumerators;
51799 if (t1.length === 1 && _this.newDenominators.length === 0) {
51800 type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
51801 if (type != null) {
51802 t1 = "Expected " + _this.$this.toString$0(0) + " to have ";
51803 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 (";
51804 t2 = B.Map_U8AHF.$index(0, type);
51805 t2.toString;
51806 t2 = t1 + B.JSArray_methods.join$1(t2, ", ") + ").";
51807 t1 = _this.name;
51808 return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
51809 }
51810 }
51811 t2 = _this.newDenominators;
51812 unit = A.pluralize("unit", t1.length + t2.length, null);
51813 t3 = _this.$this;
51814 t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
51815 t1 = _this.name;
51816 return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
51817 }
51818 },
51819 $signature: 404
51820 };
51821 A.SassNumber__coerceOrConvertValue_closure.prototype = {
51822 call$1(oldNumerator) {
51823 var factor = A.conversionFactor(this.newNumerator, oldNumerator);
51824 if (factor == null)
51825 return false;
51826 this._box_0.value *= factor;
51827 return true;
51828 },
51829 $signature: 6
51830 };
51831 A.SassNumber__coerceOrConvertValue_closure0.prototype = {
51832 call$0() {
51833 return A.throwExpression(this._compatibilityException.call$0());
51834 },
51835 $signature: 0
51836 };
51837 A.SassNumber__coerceOrConvertValue_closure1.prototype = {
51838 call$1(oldDenominator) {
51839 var factor = A.conversionFactor(this.newDenominator, oldDenominator);
51840 if (factor == null)
51841 return false;
51842 this._box_0.value /= factor;
51843 return true;
51844 },
51845 $signature: 6
51846 };
51847 A.SassNumber__coerceOrConvertValue_closure2.prototype = {
51848 call$0() {
51849 return A.throwExpression(this._compatibilityException.call$0());
51850 },
51851 $signature: 0
51852 };
51853 A.SassNumber_plus_closure.prototype = {
51854 call$2(num1, num2) {
51855 return num1 + num2;
51856 },
51857 $signature: 54
51858 };
51859 A.SassNumber_minus_closure.prototype = {
51860 call$2(num1, num2) {
51861 return num1 - num2;
51862 },
51863 $signature: 54
51864 };
51865 A.SassNumber_multiplyUnits_closure.prototype = {
51866 call$1(denominator) {
51867 var factor = A.conversionFactor(this.numerator, denominator);
51868 if (factor == null)
51869 return false;
51870 this._box_0.value /= factor;
51871 return true;
51872 },
51873 $signature: 6
51874 };
51875 A.SassNumber_multiplyUnits_closure0.prototype = {
51876 call$0() {
51877 return this.newNumerators.push(this.numerator);
51878 },
51879 $signature: 0
51880 };
51881 A.SassNumber_multiplyUnits_closure1.prototype = {
51882 call$1(denominator) {
51883 var factor = A.conversionFactor(this.numerator, denominator);
51884 if (factor == null)
51885 return false;
51886 this._box_0.value /= factor;
51887 return true;
51888 },
51889 $signature: 6
51890 };
51891 A.SassNumber_multiplyUnits_closure2.prototype = {
51892 call$0() {
51893 return this.newNumerators.push(this.numerator);
51894 },
51895 $signature: 0
51896 };
51897 A.SassNumber__areAnyConvertible_closure.prototype = {
51898 call$1(unit1) {
51899 var innerMap = B.Map_K2BWj.$index(0, unit1);
51900 if (innerMap == null)
51901 return B.JSArray_methods.contains$1(this.units2, unit1);
51902 return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
51903 },
51904 $signature: 6
51905 };
51906 A.SassNumber__canonicalizeUnitList_closure.prototype = {
51907 call$1(unit) {
51908 var t1,
51909 type = $.$get$_typesByUnit().$index(0, unit);
51910 if (type == null)
51911 t1 = unit;
51912 else {
51913 t1 = B.Map_U8AHF.$index(0, type);
51914 t1.toString;
51915 t1 = B.JSArray_methods.get$first(t1);
51916 }
51917 return t1;
51918 },
51919 $signature: 5
51920 };
51921 A.SassNumber__canonicalMultiplier_closure.prototype = {
51922 call$2(multiplier, unit) {
51923 return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
51924 },
51925 $signature: 221
51926 };
51927 A.ComplexSassNumber.prototype = {
51928 get$numeratorUnits(_) {
51929 return this._numeratorUnits;
51930 },
51931 get$denominatorUnits(_) {
51932 return this._denominatorUnits;
51933 },
51934 get$hasUnits() {
51935 return true;
51936 },
51937 hasUnit$1(unit) {
51938 return false;
51939 },
51940 compatibleWithUnit$1(unit) {
51941 return false;
51942 },
51943 hasPossiblyCompatibleUnits$1(other) {
51944 throw A.wrapException(A.UnimplementedError$(string$.Comple));
51945 },
51946 withValue$1(value) {
51947 return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
51948 },
51949 withSlash$2(numerator, denominator) {
51950 return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
51951 }
51952 };
51953 A.SingleUnitSassNumber.prototype = {
51954 get$numeratorUnits(_) {
51955 return A.List_List$unmodifiable([this._unit], type$.String);
51956 },
51957 get$denominatorUnits(_) {
51958 return B.List_empty;
51959 },
51960 get$hasUnits() {
51961 return true;
51962 },
51963 withValue$1(value) {
51964 return new A.SingleUnitSassNumber(this._unit, value, null);
51965 },
51966 withSlash$2(numerator, denominator) {
51967 return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
51968 },
51969 hasUnit$1(unit) {
51970 return unit === this._unit;
51971 },
51972 hasCompatibleUnits$1(other) {
51973 return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
51974 },
51975 hasPossiblyCompatibleUnits$1(other) {
51976 var t1, knownCompatibilities, otherUnit;
51977 if (!(other instanceof A.SingleUnitSassNumber))
51978 return false;
51979 t1 = $.$get$_knownCompatibilitiesByUnit();
51980 knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
51981 if (knownCompatibilities == null)
51982 return true;
51983 otherUnit = other._unit.toLowerCase();
51984 return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
51985 },
51986 compatibleWithUnit$1(unit) {
51987 return A.conversionFactor(this._unit, unit) != null;
51988 },
51989 coerceValueToMatch$1(other) {
51990 var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
51991 return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, null, null) : t1;
51992 },
51993 convertValueToMatch$3(other, $name, otherName) {
51994 var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
51995 return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
51996 },
51997 coerce$2(newNumerators, newDenominators) {
51998 var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
51999 return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
52000 },
52001 coerceValue$3(newNumerators, newDenominators, $name) {
52002 var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
52003 return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
52004 },
52005 coerceValueToUnit$2(unit, $name) {
52006 var t1 = this._coerceValueToUnit$1(unit);
52007 return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
52008 },
52009 _coerceToUnit$1(unit) {
52010 var t1 = this._unit;
52011 if (t1 === unit)
52012 return this;
52013 return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
52014 },
52015 _coerceValueToUnit$1(unit) {
52016 return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
52017 },
52018 multiplyUnits$3(value, otherNumerators, otherDenominators) {
52019 var mutableOtherDenominators, t1 = {};
52020 t1.value = value;
52021 t1.newNumerators = otherNumerators;
52022 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
52023 A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
52024 return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
52025 },
52026 unaryMinus$0() {
52027 return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
52028 },
52029 $eq(_, other) {
52030 var factor;
52031 if (other == null)
52032 return false;
52033 if (other instanceof A.SingleUnitSassNumber) {
52034 factor = A.conversionFactor(other._unit, this._unit);
52035 return factor != null && Math.abs(this._number$_value * factor - other._number$_value) < $.$get$epsilon();
52036 } else
52037 return false;
52038 },
52039 get$hashCode(_) {
52040 var _this = this,
52041 t1 = _this.hashCache;
52042 return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
52043 }
52044 };
52045 A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
52046 call$1(factor) {
52047 return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
52048 },
52049 $signature: 409
52050 };
52051 A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
52052 call$1(factor) {
52053 return this.$this._number$_value * factor;
52054 },
52055 $signature: 77
52056 };
52057 A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
52058 call$1(denominator) {
52059 var factor = A.conversionFactor(denominator, this.$this._unit);
52060 if (factor == null)
52061 return false;
52062 this._box_0.value *= factor;
52063 return true;
52064 },
52065 $signature: 6
52066 };
52067 A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
52068 call$0() {
52069 var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
52070 t2 = this._box_0;
52071 B.JSArray_methods.addAll$1(t1, t2.newNumerators);
52072 t2.newNumerators = t1;
52073 },
52074 $signature: 0
52075 };
52076 A.UnitlessSassNumber.prototype = {
52077 get$numeratorUnits(_) {
52078 return B.List_empty;
52079 },
52080 get$denominatorUnits(_) {
52081 return B.List_empty;
52082 },
52083 get$hasUnits() {
52084 return false;
52085 },
52086 withValue$1(value) {
52087 return new A.UnitlessSassNumber(value, null);
52088 },
52089 withSlash$2(numerator, denominator) {
52090 return new A.UnitlessSassNumber(this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
52091 },
52092 hasUnit$1(unit) {
52093 return false;
52094 },
52095 hasCompatibleUnits$1(other) {
52096 return other instanceof A.UnitlessSassNumber;
52097 },
52098 hasPossiblyCompatibleUnits$1(other) {
52099 return other instanceof A.UnitlessSassNumber;
52100 },
52101 compatibleWithUnit$1(unit) {
52102 return true;
52103 },
52104 coerceValueToMatch$1(other) {
52105 return this._number$_value;
52106 },
52107 convertValueToMatch$3(other, $name, otherName) {
52108 return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
52109 },
52110 coerce$2(newNumerators, newDenominators) {
52111 return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
52112 },
52113 coerceValue$3(newNumerators, newDenominators, $name) {
52114 return this._number$_value;
52115 },
52116 coerceValueToUnit$2(unit, $name) {
52117 return this._number$_value;
52118 },
52119 greaterThan$1(other) {
52120 var t1, t2;
52121 if (other instanceof A.SassNumber) {
52122 t1 = this._number$_value;
52123 t2 = other._number$_value;
52124 return t1 > t2 && !(Math.abs(t1 - t2) < $.$get$epsilon()) ? B.SassBoolean_true : B.SassBoolean_false;
52125 }
52126 return this.super$SassNumber$greaterThan(other);
52127 },
52128 greaterThanOrEquals$1(other) {
52129 var t1, t2;
52130 if (other instanceof A.SassNumber) {
52131 t1 = this._number$_value;
52132 t2 = other._number$_value;
52133 return t1 > t2 || Math.abs(t1 - t2) < $.$get$epsilon() ? B.SassBoolean_true : B.SassBoolean_false;
52134 }
52135 return this.super$SassNumber$greaterThanOrEquals(other);
52136 },
52137 lessThan$1(other) {
52138 var t1, t2;
52139 if (other instanceof A.SassNumber) {
52140 t1 = this._number$_value;
52141 t2 = other._number$_value;
52142 return t1 < t2 && !(Math.abs(t1 - t2) < $.$get$epsilon()) ? B.SassBoolean_true : B.SassBoolean_false;
52143 }
52144 return this.super$SassNumber$lessThan(other);
52145 },
52146 lessThanOrEquals$1(other) {
52147 var t1, t2;
52148 if (other instanceof A.SassNumber) {
52149 t1 = this._number$_value;
52150 t2 = other._number$_value;
52151 return t1 < t2 || Math.abs(t1 - t2) < $.$get$epsilon() ? B.SassBoolean_true : B.SassBoolean_false;
52152 }
52153 return this.super$SassNumber$lessThanOrEquals(other);
52154 },
52155 modulo$1(other) {
52156 if (other instanceof A.SassNumber)
52157 return other.withValue$1(this.moduloLikeSass$2(this._number$_value, other._number$_value));
52158 return this.super$SassNumber$modulo(other);
52159 },
52160 plus$1(other) {
52161 if (other instanceof A.SassNumber)
52162 return other.withValue$1(this._number$_value + other._number$_value);
52163 return this.super$SassNumber$plus(other);
52164 },
52165 minus$1(other) {
52166 if (other instanceof A.SassNumber)
52167 return other.withValue$1(this._number$_value - other._number$_value);
52168 return this.super$SassNumber$minus(other);
52169 },
52170 times$1(other) {
52171 if (other instanceof A.SassNumber)
52172 return other.withValue$1(this._number$_value * other._number$_value);
52173 return this.super$SassNumber$times(other);
52174 },
52175 dividedBy$1(other) {
52176 var t1, t2;
52177 if (other instanceof A.SassNumber) {
52178 t1 = this._number$_value / other._number$_value;
52179 if (other.get$hasUnits()) {
52180 t2 = other.get$denominatorUnits(other);
52181 t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
52182 t1 = t2;
52183 } else
52184 t1 = new A.UnitlessSassNumber(t1, null);
52185 return t1;
52186 }
52187 return this.super$SassNumber$dividedBy(other);
52188 },
52189 unaryMinus$0() {
52190 return new A.UnitlessSassNumber(-this._number$_value, null);
52191 },
52192 $eq(_, other) {
52193 if (other == null)
52194 return false;
52195 return other instanceof A.UnitlessSassNumber && Math.abs(this._number$_value - other._number$_value) < $.$get$epsilon();
52196 },
52197 get$hashCode(_) {
52198 var t1 = this.hashCache;
52199 return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
52200 }
52201 };
52202 A.SassString.prototype = {
52203 get$_sassLength() {
52204 var t1, result, _this = this,
52205 value = _this.__SassString__sassLength;
52206 if (value === $) {
52207 t1 = new A.Runes(_this._string$_text);
52208 result = t1.get$length(t1);
52209 A._lateInitializeOnceCheck(_this.__SassString__sassLength, "_sassLength");
52210 _this.__SassString__sassLength = result;
52211 value = result;
52212 }
52213 return value;
52214 },
52215 get$isSpecialNumber() {
52216 var t1, t2;
52217 if (this._hasQuotes)
52218 return false;
52219 t1 = this._string$_text;
52220 if (t1.length < 6)
52221 return false;
52222 t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
52223 if (t2 === 99) {
52224 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
52225 if (t2 === 108) {
52226 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
52227 return false;
52228 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
52229 return false;
52230 if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
52231 return false;
52232 return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
52233 } else if (t2 === 97) {
52234 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
52235 return false;
52236 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
52237 return false;
52238 return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
52239 } else
52240 return false;
52241 } else if (t2 === 118) {
52242 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
52243 return false;
52244 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
52245 return false;
52246 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52247 } else if (t2 === 101) {
52248 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
52249 return false;
52250 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
52251 return false;
52252 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52253 } else if (t2 === 109) {
52254 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
52255 if (t2 === 97) {
52256 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
52257 return false;
52258 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52259 } else if (t2 === 105) {
52260 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
52261 return false;
52262 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
52263 } else
52264 return false;
52265 } else
52266 return false;
52267 },
52268 get$isVar() {
52269 if (this._hasQuotes)
52270 return false;
52271 var t1 = this._string$_text;
52272 if (t1.length < 8)
52273 return false;
52274 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;
52275 },
52276 get$isBlank() {
52277 return !this._hasQuotes && this._string$_text.length === 0;
52278 },
52279 accept$1$1(visitor) {
52280 var t1 = visitor._quote && this._hasQuotes,
52281 t2 = this._string$_text;
52282 if (t1)
52283 visitor._visitQuotedString$1(t2);
52284 else
52285 visitor._visitUnquotedString$1(t2);
52286 return null;
52287 },
52288 accept$1(visitor) {
52289 return this.accept$1$1(visitor, type$.dynamic);
52290 },
52291 assertString$1($name) {
52292 return this;
52293 },
52294 plus$1(other) {
52295 var t1 = this._string$_text,
52296 t2 = this._hasQuotes;
52297 if (other instanceof A.SassString)
52298 return new A.SassString(t1 + other._string$_text, t2);
52299 else
52300 return new A.SassString(t1 + A.serializeValue(other, false, true), t2);
52301 },
52302 $eq(_, other) {
52303 if (other == null)
52304 return false;
52305 return other instanceof A.SassString && this._string$_text === other._string$_text;
52306 },
52307 get$hashCode(_) {
52308 var t1 = this._hashCache;
52309 return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
52310 }
52311 };
52312 A._EvaluateVisitor0.prototype = {
52313 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
52314 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
52315 _s20_ = "$name, $module: null",
52316 _s9_ = "sass:meta",
52317 t1 = type$.JSArray_AsyncBuiltInCallable,
52318 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),
52319 metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure18(_this), _s9_)], t1);
52320 t1 = type$.AsyncBuiltInCallable;
52321 t2 = A.List_List$of($.$get$global(), true, t1);
52322 B.JSArray_methods.addAll$1(t2, $.$get$local());
52323 B.JSArray_methods.addAll$1(t2, metaFunctions);
52324 metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
52325 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) {
52326 module = t1[_i];
52327 t3.$indexSet(0, module.url, module);
52328 }
52329 t1 = A._setArrayType([], type$.JSArray_AsyncCallable);
52330 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
52331 B.JSArray_methods.addAll$1(t1, metaFunctions);
52332 for (t2 = t1.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
52333 $function = t1[_i];
52334 t4 = J.get$name$x($function);
52335 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
52336 }
52337 },
52338 run$2(_, importer, node) {
52339 return this.run$body$_EvaluateVisitor(0, importer, node);
52340 },
52341 run$body$_EvaluateVisitor(_, importer, node) {
52342 var $async$goto = 0,
52343 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
52344 $async$returnValue, $async$self = this, t1;
52345 var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52346 if ($async$errorCode === 1)
52347 return A._asyncRethrow($async$result, $async$completer);
52348 while (true)
52349 switch ($async$goto) {
52350 case 0:
52351 // Function start
52352 t1 = type$.nullable_Object;
52353 $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);
52354 // goto return
52355 $async$goto = 1;
52356 break;
52357 case 1:
52358 // return
52359 return A._asyncReturn($async$returnValue, $async$completer);
52360 }
52361 });
52362 return A._asyncStartSync($async$run$2, $async$completer);
52363 },
52364 _async_evaluate$_assertInModule$1$2(value, $name) {
52365 if (value != null)
52366 return value;
52367 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
52368 },
52369 _async_evaluate$_assertInModule$2(value, $name) {
52370 return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
52371 },
52372 _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
52373 return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
52374 },
52375 _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
52376 return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
52377 },
52378 _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
52379 return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
52380 },
52381 _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
52382 var $async$goto = 0,
52383 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
52384 $async$returnValue, $async$self = this, t1, t2, builtInModule;
52385 var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52386 if ($async$errorCode === 1)
52387 return A._asyncRethrow($async$result, $async$completer);
52388 while (true)
52389 switch ($async$goto) {
52390 case 0:
52391 // Function start
52392 builtInModule = $async$self._async_evaluate$_builtInModules.$index(0, url);
52393 $async$goto = builtInModule != null ? 3 : 4;
52394 break;
52395 case 3:
52396 // then
52397 if (configuration instanceof A.ExplicitConfiguration) {
52398 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
52399 t2 = configuration.nodeWithSpan;
52400 throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
52401 }
52402 $async$goto = 5;
52403 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);
52404 case 5:
52405 // returning from await.
52406 // goto return
52407 $async$goto = 1;
52408 break;
52409 case 4:
52410 // join
52411 $async$goto = 6;
52412 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);
52413 case 6:
52414 // returning from await.
52415 case 1:
52416 // return
52417 return A._asyncReturn($async$returnValue, $async$completer);
52418 }
52419 });
52420 return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
52421 },
52422 _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
52423 return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
52424 },
52425 _async_evaluate$_execute$2(importer, stylesheet) {
52426 return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
52427 },
52428 _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
52429 var $async$goto = 0,
52430 $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
52431 $async$returnValue, $async$self = this, currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
52432 var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52433 if ($async$errorCode === 1)
52434 return A._asyncRethrow($async$result, $async$completer);
52435 while (true)
52436 switch ($async$goto) {
52437 case 0:
52438 // Function start
52439 url = stylesheet.span.file.url;
52440 t1 = $async$self._async_evaluate$_modules;
52441 alreadyLoaded = t1.$index(0, url);
52442 if (alreadyLoaded != null) {
52443 t1 = configuration == null;
52444 currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
52445 if (currentConfiguration instanceof A.ExplicitConfiguration) {
52446 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
52447 t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
52448 existingSpan = t2 == null ? null : J.get$span$z(t2);
52449 if (t1) {
52450 t1 = currentConfiguration.nodeWithSpan;
52451 configurationSpan = t1.get$span(t1);
52452 } else
52453 configurationSpan = null;
52454 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
52455 if (existingSpan != null)
52456 t1.$indexSet(0, existingSpan, "original load");
52457 if (configurationSpan != null)
52458 t1.$indexSet(0, configurationSpan, "configuration");
52459 throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
52460 }
52461 $async$returnValue = alreadyLoaded;
52462 // goto return
52463 $async$goto = 1;
52464 break;
52465 }
52466 environment = A.AsyncEnvironment$();
52467 css = A._Cell$();
52468 extensionStore = A.ExtensionStore$();
52469 $async$goto = 3;
52470 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);
52471 case 3:
52472 // returning from await.
52473 module = environment.toModule$2(css._readLocal$0(), extensionStore);
52474 if (url != null) {
52475 t1.$indexSet(0, url, module);
52476 if (nodeWithSpan != null)
52477 $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
52478 }
52479 $async$returnValue = module;
52480 // goto return
52481 $async$goto = 1;
52482 break;
52483 case 1:
52484 // return
52485 return A._asyncReturn($async$returnValue, $async$completer);
52486 }
52487 });
52488 return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
52489 },
52490 _async_evaluate$_addOutOfOrderImports$0() {
52491 var t1, t2, _this = this, _s5_ = "_root",
52492 _s13_ = "_endOfImports",
52493 outOfOrderImports = _this._async_evaluate$_outOfOrderImports;
52494 if (outOfOrderImports == null)
52495 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52496 t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52497 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);
52498 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
52499 t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
52500 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")));
52501 return t1;
52502 },
52503 _async_evaluate$_combineCss$2$clone(root, clone) {
52504 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
52505 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure2())) {
52506 selectors = root.get$extensionStore().get$simpleSelectors();
52507 unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure3(selectors)));
52508 if (unsatisfiedExtension != null)
52509 _this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
52510 return root.get$css(root);
52511 }
52512 sortedModules = _this._async_evaluate$_topologicalModules$1(root);
52513 if (clone) {
52514 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<AsyncCallable>>");
52515 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure4(), t1), true, t1._eval$1("ListIterable.E"));
52516 }
52517 _this._async_evaluate$_extendModules$1(sortedModules);
52518 t1 = type$.JSArray_CssNode;
52519 imports = A._setArrayType([], t1);
52520 css = A._setArrayType([], t1);
52521 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
52522 t3 = t2._as(t1.__internal$_current);
52523 t3 = t3.get$css(t3);
52524 statements = t3.get$children(t3);
52525 index = _this._async_evaluate$_indexAfterImports$1(statements);
52526 t3 = J.getInterceptor$ax(statements);
52527 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
52528 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
52529 }
52530 t1 = B.JSArray_methods.$add(imports, css);
52531 t2 = root.get$css(root);
52532 return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
52533 },
52534 _async_evaluate$_combineCss$1(root) {
52535 return this._async_evaluate$_combineCss$2$clone(root, false);
52536 },
52537 _async_evaluate$_extendModules$1(sortedModules) {
52538 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
52539 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
52540 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
52541 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
52542 t2 = t1.get$current(t1);
52543 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
52544 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
52545 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
52546 t3 = t2.get$extensionStore().get$addExtensions();
52547 if ($self != null)
52548 t3.call$1($self);
52549 t3 = t2.get$extensionStore();
52550 if (t3.get$isEmpty(t3))
52551 continue;
52552 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
52553 upstream = t3[_i];
52554 url = upstream.get$url(upstream);
52555 if (url == null)
52556 continue;
52557 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure2()), t2.get$extensionStore());
52558 }
52559 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
52560 }
52561 if (unsatisfiedExtensions._collection$_length !== 0)
52562 this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
52563 },
52564 _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
52565 throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
52566 },
52567 _async_evaluate$_topologicalModules$1(root) {
52568 var t1 = type$.Module_AsyncCallable,
52569 sorted = A.QueueList$(null, t1);
52570 new A._EvaluateVisitor__topologicalModules_visitModule0(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
52571 return sorted;
52572 },
52573 _async_evaluate$_indexAfterImports$1(statements) {
52574 var t1, t2, t3, lastImport, i, statement;
52575 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
52576 statement = t1.$index(statements, i);
52577 if (t3._is(statement))
52578 lastImport = i;
52579 else if (!t2._is(statement))
52580 break;
52581 }
52582 return lastImport + 1;
52583 },
52584 visitStylesheet$1(node) {
52585 return this.visitStylesheet$body$_EvaluateVisitor(node);
52586 },
52587 visitStylesheet$body$_EvaluateVisitor(node) {
52588 var $async$goto = 0,
52589 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52590 $async$returnValue, $async$self = this, t1, t2, _i;
52591 var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52592 if ($async$errorCode === 1)
52593 return A._asyncRethrow($async$result, $async$completer);
52594 while (true)
52595 switch ($async$goto) {
52596 case 0:
52597 // Function start
52598 t1 = node.children, t2 = t1.length, _i = 0;
52599 case 3:
52600 // for condition
52601 if (!(_i < t2)) {
52602 // goto after for
52603 $async$goto = 5;
52604 break;
52605 }
52606 $async$goto = 6;
52607 return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
52608 case 6:
52609 // returning from await.
52610 case 4:
52611 // for update
52612 ++_i;
52613 // goto for condition
52614 $async$goto = 3;
52615 break;
52616 case 5:
52617 // after for
52618 $async$returnValue = null;
52619 // goto return
52620 $async$goto = 1;
52621 break;
52622 case 1:
52623 // return
52624 return A._asyncReturn($async$returnValue, $async$completer);
52625 }
52626 });
52627 return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
52628 },
52629 visitAtRootRule$1(node) {
52630 return this.visitAtRootRule$body$_EvaluateVisitor(node);
52631 },
52632 visitAtRootRule$body$_EvaluateVisitor(node) {
52633 var $async$goto = 0,
52634 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52635 $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
52636 var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52637 if ($async$errorCode === 1)
52638 return A._asyncRethrow($async$result, $async$completer);
52639 while (true)
52640 switch ($async$goto) {
52641 case 0:
52642 // Function start
52643 unparsedQuery = node.query;
52644 $async$goto = unparsedQuery != null ? 3 : 5;
52645 break;
52646 case 3:
52647 // then
52648 $async$temp1 = unparsedQuery;
52649 $async$temp2 = A;
52650 $async$goto = 6;
52651 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
52652 case 6:
52653 // returning from await.
52654 $async$result = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure2($async$self, $async$result));
52655 // goto join
52656 $async$goto = 4;
52657 break;
52658 case 5:
52659 // else
52660 $async$result = B.AtRootQuery_UsS;
52661 case 4:
52662 // join
52663 query = $async$result;
52664 $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
52665 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
52666 for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
52667 if (!query.excludes$1($parent))
52668 included.push($parent);
52669 grandparent = $parent._parent;
52670 if (grandparent == null)
52671 throw A.wrapException(A.StateError$(string$.CssNod));
52672 }
52673 root = $async$self._async_evaluate$_trimIncluded$1(included);
52674 $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
52675 break;
52676 case 7:
52677 // then
52678 $async$goto = 9;
52679 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);
52680 case 9:
52681 // returning from await.
52682 $async$returnValue = null;
52683 // goto return
52684 $async$goto = 1;
52685 break;
52686 case 8:
52687 // join
52688 if (included.length !== 0) {
52689 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
52690 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) {
52691 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
52692 copy.addChild$1(outerCopy);
52693 }
52694 root.addChild$1(outerCopy);
52695 } else
52696 innerCopy = root;
52697 $async$goto = 10;
52698 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);
52699 case 10:
52700 // returning from await.
52701 $async$returnValue = null;
52702 // goto return
52703 $async$goto = 1;
52704 break;
52705 case 1:
52706 // return
52707 return A._asyncReturn($async$returnValue, $async$completer);
52708 }
52709 });
52710 return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
52711 },
52712 _async_evaluate$_trimIncluded$1(nodes) {
52713 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
52714 _s22_ = " to be an ancestor of ";
52715 if (nodes.length === 0)
52716 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
52717 $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
52718 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
52719 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
52720 grandparent = $parent._parent;
52721 if (grandparent == null)
52722 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
52723 }
52724 if (innermostContiguous == null)
52725 innermostContiguous = i;
52726 grandparent = $parent._parent;
52727 if (grandparent == null)
52728 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
52729 }
52730 if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
52731 return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
52732 innermostContiguous.toString;
52733 root = nodes[innermostContiguous];
52734 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
52735 return root;
52736 },
52737 _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
52738 var _this = this,
52739 scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
52740 t1 = query._all || query._at_root_query$_rule;
52741 if (t1 !== query.include)
52742 scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
52743 if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
52744 scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
52745 if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
52746 scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
52747 return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
52748 },
52749 visitContentBlock$1(node) {
52750 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
52751 },
52752 visitContentRule$1(node) {
52753 return this.visitContentRule$body$_EvaluateVisitor(node);
52754 },
52755 visitContentRule$body$_EvaluateVisitor(node) {
52756 var $async$goto = 0,
52757 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52758 $async$returnValue, $async$self = this, $content;
52759 var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52760 if ($async$errorCode === 1)
52761 return A._asyncRethrow($async$result, $async$completer);
52762 while (true)
52763 switch ($async$goto) {
52764 case 0:
52765 // Function start
52766 $content = $async$self._async_evaluate$_environment._async_environment$_content;
52767 if ($content == null) {
52768 $async$returnValue = null;
52769 // goto return
52770 $async$goto = 1;
52771 break;
52772 }
52773 $async$goto = 3;
52774 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);
52775 case 3:
52776 // returning from await.
52777 $async$returnValue = null;
52778 // goto return
52779 $async$goto = 1;
52780 break;
52781 case 1:
52782 // return
52783 return A._asyncReturn($async$returnValue, $async$completer);
52784 }
52785 });
52786 return A._asyncStartSync($async$visitContentRule$1, $async$completer);
52787 },
52788 visitDebugRule$1(node) {
52789 return this.visitDebugRule$body$_EvaluateVisitor(node);
52790 },
52791 visitDebugRule$body$_EvaluateVisitor(node) {
52792 var $async$goto = 0,
52793 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52794 $async$returnValue, $async$self = this, value, t1;
52795 var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52796 if ($async$errorCode === 1)
52797 return A._asyncRethrow($async$result, $async$completer);
52798 while (true)
52799 switch ($async$goto) {
52800 case 0:
52801 // Function start
52802 $async$goto = 3;
52803 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
52804 case 3:
52805 // returning from await.
52806 value = $async$result;
52807 t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
52808 $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
52809 $async$returnValue = null;
52810 // goto return
52811 $async$goto = 1;
52812 break;
52813 case 1:
52814 // return
52815 return A._asyncReturn($async$returnValue, $async$completer);
52816 }
52817 });
52818 return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
52819 },
52820 visitDeclaration$1(node) {
52821 return this.visitDeclaration$body$_EvaluateVisitor(node);
52822 },
52823 visitDeclaration$body$_EvaluateVisitor(node) {
52824 var $async$goto = 0,
52825 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52826 $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
52827 var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52828 if ($async$errorCode === 1)
52829 return A._asyncRethrow($async$result, $async$completer);
52830 while (true)
52831 switch ($async$goto) {
52832 case 0:
52833 // Function start
52834 if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
52835 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
52836 t1 = node.name;
52837 $async$goto = 3;
52838 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
52839 case 3:
52840 // returning from await.
52841 $name = $async$result;
52842 t2 = $async$self._async_evaluate$_declarationName;
52843 if (t2 != null)
52844 $name = new A.CssValue(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String);
52845 t2 = node.value;
52846 $async$goto = 4;
52847 return A._asyncAwait(A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure1($async$self)), $async$visitDeclaration$1);
52848 case 4:
52849 // returning from await.
52850 cssValue = $async$result;
52851 t3 = cssValue != null;
52852 if (t3)
52853 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
52854 else
52855 t4 = false;
52856 if (t4) {
52857 t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
52858 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
52859 if ($async$self._async_evaluate$_sourceMap) {
52860 t2 = A.NullableExtension_andThen(t2, $async$self.get$_async_evaluate$_expressionNode());
52861 t2 = t2 == null ? null : J.get$span$z(t2);
52862 } else
52863 t2 = null;
52864 t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
52865 } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
52866 throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
52867 children = node.children;
52868 $async$goto = children != null ? 5 : 6;
52869 break;
52870 case 5:
52871 // then
52872 oldDeclarationName = $async$self._async_evaluate$_declarationName;
52873 $async$self._async_evaluate$_declarationName = $name.get$value($name);
52874 $async$goto = 7;
52875 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);
52876 case 7:
52877 // returning from await.
52878 $async$self._async_evaluate$_declarationName = oldDeclarationName;
52879 case 6:
52880 // join
52881 $async$returnValue = null;
52882 // goto return
52883 $async$goto = 1;
52884 break;
52885 case 1:
52886 // return
52887 return A._asyncReturn($async$returnValue, $async$completer);
52888 }
52889 });
52890 return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
52891 },
52892 visitEachRule$1(node) {
52893 return this.visitEachRule$body$_EvaluateVisitor(node);
52894 },
52895 visitEachRule$body$_EvaluateVisitor(node) {
52896 var $async$goto = 0,
52897 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52898 $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
52899 var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52900 if ($async$errorCode === 1)
52901 return A._asyncRethrow($async$result, $async$completer);
52902 while (true)
52903 switch ($async$goto) {
52904 case 0:
52905 // Function start
52906 t1 = node.list;
52907 $async$goto = 3;
52908 return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
52909 case 3:
52910 // returning from await.
52911 list = $async$result;
52912 nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
52913 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure2($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure3($async$self, node, nodeWithSpan);
52914 $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);
52915 // goto return
52916 $async$goto = 1;
52917 break;
52918 case 1:
52919 // return
52920 return A._asyncReturn($async$returnValue, $async$completer);
52921 }
52922 });
52923 return A._asyncStartSync($async$visitEachRule$1, $async$completer);
52924 },
52925 _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
52926 var i,
52927 list = value.get$asList(),
52928 t1 = variables.length,
52929 minLength = Math.min(t1, list.length);
52930 for (i = 0; i < minLength; ++i)
52931 this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
52932 for (i = minLength; i < t1; ++i)
52933 this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
52934 },
52935 visitErrorRule$1(node) {
52936 return this.visitErrorRule$body$_EvaluateVisitor(node);
52937 },
52938 visitErrorRule$body$_EvaluateVisitor(node) {
52939 var $async$goto = 0,
52940 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
52941 $async$self = this, $async$temp1, $async$temp2;
52942 var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52943 if ($async$errorCode === 1)
52944 return A._asyncRethrow($async$result, $async$completer);
52945 while (true)
52946 switch ($async$goto) {
52947 case 0:
52948 // Function start
52949 $async$temp1 = A;
52950 $async$temp2 = J;
52951 $async$goto = 2;
52952 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
52953 case 2:
52954 // returning from await.
52955 throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
52956 // implicit return
52957 return A._asyncReturn(null, $async$completer);
52958 }
52959 });
52960 return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
52961 },
52962 visitExtendRule$1(node) {
52963 return this.visitExtendRule$body$_EvaluateVisitor(node);
52964 },
52965 visitExtendRule$body$_EvaluateVisitor(node) {
52966 var $async$goto = 0,
52967 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
52968 $async$returnValue, $async$self = this, targetText, t1, t2, t3, _i, t4, styleRule;
52969 var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
52970 if ($async$errorCode === 1)
52971 return A._asyncRethrow($async$result, $async$completer);
52972 while (true)
52973 switch ($async$goto) {
52974 case 0:
52975 // Function start
52976 styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
52977 if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
52978 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
52979 $async$goto = 3;
52980 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
52981 case 3:
52982 // returning from await.
52983 targetText = $async$result;
52984 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) {
52985 t4 = t1[_i].components;
52986 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector))
52987 throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.get$span(targetText)));
52988 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
52989 if (t4.length !== 1)
52990 throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
52991 $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);
52992 }
52993 $async$returnValue = null;
52994 // goto return
52995 $async$goto = 1;
52996 break;
52997 case 1:
52998 // return
52999 return A._asyncReturn($async$returnValue, $async$completer);
53000 }
53001 });
53002 return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
53003 },
53004 visitAtRule$1(node) {
53005 return this.visitAtRule$body$_EvaluateVisitor(node);
53006 },
53007 visitAtRule$body$_EvaluateVisitor(node) {
53008 var $async$goto = 0,
53009 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53010 $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
53011 var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53012 if ($async$errorCode === 1)
53013 return A._asyncRethrow($async$result, $async$completer);
53014 while (true)
53015 switch ($async$goto) {
53016 case 0:
53017 // Function start
53018 if ($async$self._async_evaluate$_declarationName != null)
53019 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
53020 $async$goto = 3;
53021 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
53022 case 3:
53023 // returning from await.
53024 $name = $async$result;
53025 $async$goto = 4;
53026 return A._asyncAwait(A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self)), $async$visitAtRule$1);
53027 case 4:
53028 // returning from await.
53029 value = $async$result;
53030 children = node.children;
53031 if (children == null) {
53032 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
53033 $async$returnValue = null;
53034 // goto return
53035 $async$goto = 1;
53036 break;
53037 }
53038 wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
53039 wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
53040 if (A.unvendor($name.get$value($name)) === "keyframes")
53041 $async$self._async_evaluate$_inKeyframes = true;
53042 else
53043 $async$self._async_evaluate$_inUnknownAtRule = true;
53044 $async$goto = 5;
53045 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);
53046 case 5:
53047 // returning from await.
53048 $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
53049 $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
53050 $async$returnValue = null;
53051 // goto return
53052 $async$goto = 1;
53053 break;
53054 case 1:
53055 // return
53056 return A._asyncReturn($async$returnValue, $async$completer);
53057 }
53058 });
53059 return A._asyncStartSync($async$visitAtRule$1, $async$completer);
53060 },
53061 visitForRule$1(node) {
53062 return this.visitForRule$body$_EvaluateVisitor(node);
53063 },
53064 visitForRule$body$_EvaluateVisitor(node) {
53065 var $async$goto = 0,
53066 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53067 $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
53068 var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53069 if ($async$errorCode === 1)
53070 return A._asyncRethrow($async$result, $async$completer);
53071 while (true)
53072 switch ($async$goto) {
53073 case 0:
53074 // Function start
53075 t1 = {};
53076 t2 = node.from;
53077 t3 = type$.SassNumber;
53078 $async$goto = 3;
53079 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
53080 case 3:
53081 // returning from await.
53082 fromNumber = $async$result;
53083 t4 = node.to;
53084 $async$goto = 4;
53085 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
53086 case 4:
53087 // returning from await.
53088 toNumber = $async$result;
53089 from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
53090 to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
53091 direction = from > to ? -1 : 1;
53092 if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
53093 $async$returnValue = null;
53094 // goto return
53095 $async$goto = 1;
53096 break;
53097 }
53098 $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);
53099 // goto return
53100 $async$goto = 1;
53101 break;
53102 case 1:
53103 // return
53104 return A._asyncReturn($async$returnValue, $async$completer);
53105 }
53106 });
53107 return A._asyncStartSync($async$visitForRule$1, $async$completer);
53108 },
53109 visitForwardRule$1(node) {
53110 return this.visitForwardRule$body$_EvaluateVisitor(node);
53111 },
53112 visitForwardRule$body$_EvaluateVisitor(node) {
53113 var $async$goto = 0,
53114 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53115 $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
53116 var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53117 if ($async$errorCode === 1)
53118 return A._asyncRethrow($async$result, $async$completer);
53119 while (true)
53120 switch ($async$goto) {
53121 case 0:
53122 // Function start
53123 oldConfiguration = $async$self._async_evaluate$_configuration;
53124 adjustedConfiguration = oldConfiguration.throughForward$1(node);
53125 t1 = node.configuration;
53126 t2 = t1.length;
53127 t3 = node.url;
53128 $async$goto = t2 !== 0 ? 3 : 5;
53129 break;
53130 case 3:
53131 // then
53132 $async$goto = 6;
53133 return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
53134 case 6:
53135 // returning from await.
53136 newConfiguration = $async$result;
53137 $async$goto = 7;
53138 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);
53139 case 7:
53140 // returning from await.
53141 t3 = type$.String;
53142 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
53143 for (_i = 0; _i < t2; ++_i) {
53144 variable = t1[_i];
53145 if (!variable.isGuarded)
53146 t4.add$1(0, variable.name);
53147 }
53148 $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
53149 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
53150 for (_i = 0; _i < t2; ++_i)
53151 t3.add$1(0, t1[_i].name);
53152 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) {
53153 $name = t2[_i];
53154 if (!t3.contains$1(0, $name))
53155 if (!t1.get$isEmpty(t1))
53156 t1.remove$1(0, $name);
53157 }
53158 $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
53159 // goto join
53160 $async$goto = 4;
53161 break;
53162 case 5:
53163 // else
53164 $async$self._async_evaluate$_configuration = adjustedConfiguration;
53165 $async$goto = 8;
53166 return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
53167 case 8:
53168 // returning from await.
53169 $async$self._async_evaluate$_configuration = oldConfiguration;
53170 case 4:
53171 // join
53172 $async$returnValue = null;
53173 // goto return
53174 $async$goto = 1;
53175 break;
53176 case 1:
53177 // return
53178 return A._asyncReturn($async$returnValue, $async$completer);
53179 }
53180 });
53181 return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
53182 },
53183 _async_evaluate$_addForwardConfiguration$2(configuration, node) {
53184 return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
53185 },
53186 _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
53187 var $async$goto = 0,
53188 $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
53189 $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
53190 var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53191 if ($async$errorCode === 1)
53192 return A._asyncRethrow($async$result, $async$completer);
53193 while (true)
53194 switch ($async$goto) {
53195 case 0:
53196 // Function start
53197 t1 = configuration._values;
53198 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
53199 t2 = node.configuration, t3 = t2.length, _i = 0;
53200 case 3:
53201 // for condition
53202 if (!(_i < t3)) {
53203 // goto after for
53204 $async$goto = 5;
53205 break;
53206 }
53207 variable = t2[_i];
53208 if (variable.isGuarded) {
53209 t4 = variable.name;
53210 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
53211 if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
53212 newValues.$indexSet(0, t4, t5);
53213 // goto for update
53214 $async$goto = 4;
53215 break;
53216 }
53217 }
53218 t4 = variable.expression;
53219 variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t4);
53220 $async$temp1 = newValues;
53221 $async$temp2 = variable.name;
53222 $async$temp3 = A;
53223 $async$goto = 6;
53224 return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate$_addForwardConfiguration$2);
53225 case 6:
53226 // returning from await.
53227 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
53228 case 4:
53229 // for update
53230 ++_i;
53231 // goto for condition
53232 $async$goto = 3;
53233 break;
53234 case 5:
53235 // after for
53236 if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
53237 $async$returnValue = new A.ExplicitConfiguration(node, newValues);
53238 // goto return
53239 $async$goto = 1;
53240 break;
53241 } else {
53242 $async$returnValue = new A.Configuration(newValues);
53243 // goto return
53244 $async$goto = 1;
53245 break;
53246 }
53247 case 1:
53248 // return
53249 return A._asyncReturn($async$returnValue, $async$completer);
53250 }
53251 });
53252 return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
53253 },
53254 _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
53255 var t1, t2, t3, t4, _i, $name;
53256 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) {
53257 $name = t2[_i];
53258 if (except.contains$1(0, $name))
53259 continue;
53260 if (!t4.containsKey$1($name))
53261 if (!t1.get$isEmpty(t1))
53262 t1.remove$1(0, $name);
53263 }
53264 },
53265 _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
53266 var t1, entry;
53267 if (!(configuration instanceof A.ExplicitConfiguration))
53268 return;
53269 t1 = configuration._values;
53270 if (t1.get$isEmpty(t1))
53271 return;
53272 t1 = t1.get$entries(t1);
53273 entry = t1.get$first(t1);
53274 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
53275 throw A.wrapException(this._async_evaluate$_exception$2(t1, entry.value.configurationSpan));
53276 },
53277 _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
53278 return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
53279 },
53280 visitFunctionRule$1(node) {
53281 return this.visitFunctionRule$body$_EvaluateVisitor(node);
53282 },
53283 visitFunctionRule$body$_EvaluateVisitor(node) {
53284 var $async$goto = 0,
53285 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53286 $async$returnValue, $async$self = this, t1, t2, t3, index, t4;
53287 var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53288 if ($async$errorCode === 1)
53289 return A._asyncRethrow($async$result, $async$completer);
53290 while (true)
53291 switch ($async$goto) {
53292 case 0:
53293 // Function start
53294 t1 = $async$self._async_evaluate$_environment;
53295 t2 = t1.closure$0();
53296 t3 = t1._async_environment$_functions;
53297 index = t3.length - 1;
53298 t4 = node.name;
53299 t1._async_environment$_functionIndices.$indexSet(0, t4, index);
53300 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable(node, t2, type$.UserDefinedCallable_AsyncEnvironment));
53301 $async$returnValue = null;
53302 // goto return
53303 $async$goto = 1;
53304 break;
53305 case 1:
53306 // return
53307 return A._asyncReturn($async$returnValue, $async$completer);
53308 }
53309 });
53310 return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
53311 },
53312 visitIfRule$1(node) {
53313 return this.visitIfRule$body$_EvaluateVisitor(node);
53314 },
53315 visitIfRule$body$_EvaluateVisitor(node) {
53316 var $async$goto = 0,
53317 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53318 $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
53319 var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53320 if ($async$errorCode === 1)
53321 return A._asyncRethrow($async$result, $async$completer);
53322 while (true)
53323 switch ($async$goto) {
53324 case 0:
53325 // Function start
53326 _box_0 = {};
53327 _box_0.clause = node.lastClause;
53328 t1 = node.clauses, t2 = t1.length, _i = 0;
53329 case 3:
53330 // for condition
53331 if (!(_i < t2)) {
53332 // goto after for
53333 $async$goto = 5;
53334 break;
53335 }
53336 clauseToCheck = t1[_i];
53337 $async$goto = 6;
53338 return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
53339 case 6:
53340 // returning from await.
53341 if ($async$result.get$isTruthy()) {
53342 _box_0.clause = clauseToCheck;
53343 // goto after for
53344 $async$goto = 5;
53345 break;
53346 }
53347 case 4:
53348 // for update
53349 ++_i;
53350 // goto for condition
53351 $async$goto = 3;
53352 break;
53353 case 5:
53354 // after for
53355 t1 = _box_0.clause;
53356 if (t1 == null) {
53357 $async$returnValue = null;
53358 // goto return
53359 $async$goto = 1;
53360 break;
53361 }
53362 $async$goto = 7;
53363 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);
53364 case 7:
53365 // returning from await.
53366 $async$returnValue = $async$result;
53367 // goto return
53368 $async$goto = 1;
53369 break;
53370 case 1:
53371 // return
53372 return A._asyncReturn($async$returnValue, $async$completer);
53373 }
53374 });
53375 return A._asyncStartSync($async$visitIfRule$1, $async$completer);
53376 },
53377 visitImportRule$1(node) {
53378 return this.visitImportRule$body$_EvaluateVisitor(node);
53379 },
53380 visitImportRule$body$_EvaluateVisitor(node) {
53381 var $async$goto = 0,
53382 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53383 $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
53384 var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53385 if ($async$errorCode === 1)
53386 return A._asyncRethrow($async$result, $async$completer);
53387 while (true)
53388 switch ($async$goto) {
53389 case 0:
53390 // Function start
53391 t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
53392 case 3:
53393 // for condition
53394 if (!(_i < t2)) {
53395 // goto after for
53396 $async$goto = 5;
53397 break;
53398 }
53399 $import = t1[_i];
53400 $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
53401 break;
53402 case 6:
53403 // then
53404 $async$goto = 9;
53405 return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
53406 case 9:
53407 // returning from await.
53408 // goto join
53409 $async$goto = 7;
53410 break;
53411 case 8:
53412 // else
53413 $async$goto = 10;
53414 return A._asyncAwait($async$self._async_evaluate$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
53415 case 10:
53416 // returning from await.
53417 case 7:
53418 // join
53419 case 4:
53420 // for update
53421 ++_i;
53422 // goto for condition
53423 $async$goto = 3;
53424 break;
53425 case 5:
53426 // after for
53427 $async$returnValue = null;
53428 // goto return
53429 $async$goto = 1;
53430 break;
53431 case 1:
53432 // return
53433 return A._asyncReturn($async$returnValue, $async$completer);
53434 }
53435 });
53436 return A._asyncStartSync($async$visitImportRule$1, $async$completer);
53437 },
53438 _async_evaluate$_visitDynamicImport$1($import) {
53439 return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
53440 },
53441 _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
53442 return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
53443 },
53444 _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
53445 return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
53446 },
53447 _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
53448 return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
53449 },
53450 _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
53451 var $async$goto = 0,
53452 $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet),
53453 $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;
53454 var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53455 if ($async$errorCode === 1) {
53456 $async$currentError = $async$result;
53457 $async$goto = $async$handler;
53458 }
53459 while (true)
53460 switch ($async$goto) {
53461 case 0:
53462 // Function start
53463 baseUrl = baseUrl;
53464 $async$handler = 4;
53465 $async$self._async_evaluate$_importSpan = span;
53466 importCache = $async$self._async_evaluate$_importCache;
53467 $async$goto = importCache != null ? 7 : 9;
53468 break;
53469 case 7:
53470 // then
53471 if (baseUrl == null)
53472 baseUrl = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span.file.url;
53473 $async$goto = 10;
53474 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);
53475 case 10:
53476 // returning from await.
53477 tuple = $async$result;
53478 $async$goto = tuple != null ? 11 : 12;
53479 break;
53480 case 11:
53481 // then
53482 isDependency = $async$self._async_evaluate$_inDependency || tuple.item1 !== $async$self._async_evaluate$_importer;
53483 t1 = tuple.item1;
53484 t2 = tuple.item2;
53485 t3 = tuple.item3;
53486 t4 = $async$self._async_evaluate$_quietDeps && isDependency;
53487 $async$goto = 13;
53488 return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
53489 case 13:
53490 // returning from await.
53491 stylesheet = $async$result;
53492 if (stylesheet != null) {
53493 $async$self._async_evaluate$_loadedUrls.add$1(0, tuple.item2);
53494 t1 = tuple.item1;
53495 $async$returnValue = new A._LoadedStylesheet0(stylesheet, t1, isDependency);
53496 $async$next = [1];
53497 // goto finally
53498 $async$goto = 5;
53499 break;
53500 }
53501 case 12:
53502 // join
53503 // goto join
53504 $async$goto = 8;
53505 break;
53506 case 9:
53507 // else
53508 $async$goto = 14;
53509 return A._asyncAwait($async$self._async_evaluate$_importLikeNode$2(url, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
53510 case 14:
53511 // returning from await.
53512 result = $async$result;
53513 if (result != null) {
53514 t1 = $async$self._async_evaluate$_loadedUrls;
53515 A.NullableExtension_andThen(result.stylesheet.span.file.url, t1.get$add(t1));
53516 $async$returnValue = result;
53517 $async$next = [1];
53518 // goto finally
53519 $async$goto = 5;
53520 break;
53521 }
53522 case 8:
53523 // join
53524 if (B.JSString_methods.startsWith$1(url, "package:") && true)
53525 throw A.wrapException(string$.x22packa);
53526 else
53527 throw A.wrapException("Can't find stylesheet to import.");
53528 $async$next.push(6);
53529 // goto finally
53530 $async$goto = 5;
53531 break;
53532 case 4:
53533 // catch
53534 $async$handler = 3;
53535 $async$exception = $async$currentError;
53536 t1 = A.unwrapException($async$exception);
53537 if (t1 instanceof A.SassException) {
53538 error = t1;
53539 stackTrace = A.getTraceFromException($async$exception);
53540 t1 = error;
53541 t2 = J.getInterceptor$z(t1);
53542 A.throwWithTrace($async$self._async_evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
53543 } else {
53544 error0 = t1;
53545 stackTrace0 = A.getTraceFromException($async$exception);
53546 message = null;
53547 try {
53548 message = A._asString(J.get$message$x(error0));
53549 } catch (exception) {
53550 message0 = J.toString$0$(error0);
53551 message = message0;
53552 }
53553 A.throwWithTrace($async$self._async_evaluate$_exception$1(message), stackTrace0);
53554 }
53555 $async$next.push(6);
53556 // goto finally
53557 $async$goto = 5;
53558 break;
53559 case 3:
53560 // uncaught
53561 $async$next = [2];
53562 case 5:
53563 // finally
53564 $async$handler = 2;
53565 $async$self._async_evaluate$_importSpan = null;
53566 // goto the next finally handler
53567 $async$goto = $async$next.pop();
53568 break;
53569 case 6:
53570 // after finally
53571 case 1:
53572 // return
53573 return A._asyncReturn($async$returnValue, $async$completer);
53574 case 2:
53575 // rethrow
53576 return A._asyncRethrow($async$currentError, $async$completer);
53577 }
53578 });
53579 return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
53580 },
53581 _async_evaluate$_importLikeNode$2(originalUrl, forImport) {
53582 return this._importLikeNode$body$_EvaluateVisitor(originalUrl, forImport);
53583 },
53584 _importLikeNode$body$_EvaluateVisitor(originalUrl, forImport) {
53585 var $async$goto = 0,
53586 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet),
53587 $async$returnValue, $async$self = this, result, isDependency, url, t2, t1;
53588 var $async$_async_evaluate$_importLikeNode$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53589 if ($async$errorCode === 1)
53590 return A._asyncRethrow($async$result, $async$completer);
53591 while (true)
53592 switch ($async$goto) {
53593 case 0:
53594 // Function start
53595 t1 = $async$self._async_evaluate$_nodeImporter;
53596 t1.toString;
53597 result = t1.loadRelative$3(originalUrl, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span.file.url, forImport);
53598 isDependency = $async$self._async_evaluate$_inDependency;
53599 url = result.item2;
53600 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS;
53601 t2 = $async$self._async_evaluate$_quietDeps && isDependency ? $.$get$Logger_quiet() : $async$self._async_evaluate$_logger;
53602 $async$returnValue = new A._LoadedStylesheet0(A.Stylesheet_Stylesheet$parse(result.item1, t1, t2, url), null, isDependency);
53603 // goto return
53604 $async$goto = 1;
53605 break;
53606 case 1:
53607 // return
53608 return A._asyncReturn($async$returnValue, $async$completer);
53609 }
53610 });
53611 return A._asyncStartSync($async$_async_evaluate$_importLikeNode$2, $async$completer);
53612 },
53613 _async_evaluate$_visitStaticImport$1($import) {
53614 return this._visitStaticImport$body$_EvaluateVisitor($import);
53615 },
53616 _visitStaticImport$body$_EvaluateVisitor($import) {
53617 var $async$goto = 0,
53618 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
53619 $async$self = this, t1, url, supports, node, $async$temp1, $async$temp2, $async$temp3;
53620 var $async$_async_evaluate$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53621 if ($async$errorCode === 1)
53622 return A._asyncRethrow($async$result, $async$completer);
53623 while (true)
53624 switch ($async$goto) {
53625 case 0:
53626 // Function start
53627 $async$goto = 2;
53628 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_async_evaluate$_visitStaticImport$1);
53629 case 2:
53630 // returning from await.
53631 url = $async$result;
53632 $async$goto = 3;
53633 return A._asyncAwait(A.NullableExtension_andThen($import.supports, new A._EvaluateVisitor__visitStaticImport_closure0($async$self)), $async$_async_evaluate$_visitStaticImport$1);
53634 case 3:
53635 // returning from await.
53636 supports = $async$result;
53637 $async$temp1 = A;
53638 $async$temp2 = url;
53639 $async$temp3 = $import.span;
53640 $async$goto = 4;
53641 return A._asyncAwait(A.NullableExtension_andThen($import.media, $async$self.get$_async_evaluate$_visitMediaQueries()), $async$_async_evaluate$_visitStaticImport$1);
53642 case 4:
53643 // returning from await.
53644 node = $async$temp1.ModifiableCssImport$($async$temp2, $async$temp3, $async$result, supports);
53645 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"))
53646 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
53647 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)) {
53648 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
53649 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
53650 } else {
53651 t1 = $async$self._async_evaluate$_outOfOrderImports;
53652 (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
53653 }
53654 // implicit return
53655 return A._asyncReturn(null, $async$completer);
53656 }
53657 });
53658 return A._asyncStartSync($async$_async_evaluate$_visitStaticImport$1, $async$completer);
53659 },
53660 visitIncludeRule$1(node) {
53661 return this.visitIncludeRule$body$_EvaluateVisitor(node);
53662 },
53663 visitIncludeRule$body$_EvaluateVisitor(node) {
53664 var $async$goto = 0,
53665 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53666 $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
53667 var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53668 if ($async$errorCode === 1)
53669 return A._asyncRethrow($async$result, $async$completer);
53670 while (true)
53671 switch ($async$goto) {
53672 case 0:
53673 // Function start
53674 mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure3($async$self, node));
53675 if (mixin == null)
53676 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", node.span));
53677 nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure4(node));
53678 $async$goto = type$.AsyncBuiltInCallable._is(mixin) ? 3 : 5;
53679 break;
53680 case 3:
53681 // then
53682 if (node.content != null)
53683 throw A.wrapException($async$self._async_evaluate$_exception$2("Mixin doesn't accept a content block.", node.span));
53684 $async$goto = 6;
53685 return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
53686 case 6:
53687 // returning from await.
53688 // goto join
53689 $async$goto = 4;
53690 break;
53691 case 5:
53692 // else
53693 $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(mixin) ? 7 : 9;
53694 break;
53695 case 7:
53696 // then
53697 t1 = node.content;
53698 if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
53699 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())));
53700 $async$goto = 10;
53701 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);
53702 case 10:
53703 // returning from await.
53704 // goto join
53705 $async$goto = 8;
53706 break;
53707 case 9:
53708 // else
53709 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
53710 case 8:
53711 // join
53712 case 4:
53713 // join
53714 $async$returnValue = null;
53715 // goto return
53716 $async$goto = 1;
53717 break;
53718 case 1:
53719 // return
53720 return A._asyncReturn($async$returnValue, $async$completer);
53721 }
53722 });
53723 return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
53724 },
53725 visitMixinRule$1(node) {
53726 return this.visitMixinRule$body$_EvaluateVisitor(node);
53727 },
53728 visitMixinRule$body$_EvaluateVisitor(node) {
53729 var $async$goto = 0,
53730 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53731 $async$returnValue, $async$self = this, t1, t2, t3, index, t4;
53732 var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53733 if ($async$errorCode === 1)
53734 return A._asyncRethrow($async$result, $async$completer);
53735 while (true)
53736 switch ($async$goto) {
53737 case 0:
53738 // Function start
53739 t1 = $async$self._async_evaluate$_environment;
53740 t2 = t1.closure$0();
53741 t3 = t1._async_environment$_mixins;
53742 index = t3.length - 1;
53743 t4 = node.name;
53744 t1._async_environment$_mixinIndices.$indexSet(0, t4, index);
53745 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable(node, t2, type$.UserDefinedCallable_AsyncEnvironment));
53746 $async$returnValue = null;
53747 // goto return
53748 $async$goto = 1;
53749 break;
53750 case 1:
53751 // return
53752 return A._asyncReturn($async$returnValue, $async$completer);
53753 }
53754 });
53755 return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
53756 },
53757 visitLoudComment$1(node) {
53758 return this.visitLoudComment$body$_EvaluateVisitor(node);
53759 },
53760 visitLoudComment$body$_EvaluateVisitor(node) {
53761 var $async$goto = 0,
53762 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53763 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
53764 var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53765 if ($async$errorCode === 1)
53766 return A._asyncRethrow($async$result, $async$completer);
53767 while (true)
53768 switch ($async$goto) {
53769 case 0:
53770 // Function start
53771 if ($async$self._async_evaluate$_inFunction) {
53772 $async$returnValue = null;
53773 // goto return
53774 $async$goto = 1;
53775 break;
53776 }
53777 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))
53778 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
53779 t1 = node.text;
53780 $async$temp1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
53781 $async$temp2 = A;
53782 $async$goto = 3;
53783 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
53784 case 3:
53785 // returning from await.
53786 $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment($async$result, t1.span));
53787 $async$returnValue = null;
53788 // goto return
53789 $async$goto = 1;
53790 break;
53791 case 1:
53792 // return
53793 return A._asyncReturn($async$returnValue, $async$completer);
53794 }
53795 });
53796 return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
53797 },
53798 visitMediaRule$1(node) {
53799 return this.visitMediaRule$body$_EvaluateVisitor(node);
53800 },
53801 visitMediaRule$body$_EvaluateVisitor(node) {
53802 var $async$goto = 0,
53803 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53804 $async$returnValue, $async$self = this, queries, mergedQueries, t1;
53805 var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53806 if ($async$errorCode === 1)
53807 return A._asyncRethrow($async$result, $async$completer);
53808 while (true)
53809 switch ($async$goto) {
53810 case 0:
53811 // Function start
53812 if ($async$self._async_evaluate$_declarationName != null)
53813 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
53814 $async$goto = 3;
53815 return A._asyncAwait($async$self._async_evaluate$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
53816 case 3:
53817 // returning from await.
53818 queries = $async$result;
53819 mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
53820 t1 = mergedQueries == null;
53821 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
53822 $async$returnValue = null;
53823 // goto return
53824 $async$goto = 1;
53825 break;
53826 }
53827 t1 = t1 ? queries : mergedQueries;
53828 $async$goto = 4;
53829 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);
53830 case 4:
53831 // returning from await.
53832 $async$returnValue = null;
53833 // goto return
53834 $async$goto = 1;
53835 break;
53836 case 1:
53837 // return
53838 return A._asyncReturn($async$returnValue, $async$completer);
53839 }
53840 });
53841 return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
53842 },
53843 _async_evaluate$_visitMediaQueries$1(interpolation) {
53844 return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
53845 },
53846 _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
53847 var $async$goto = 0,
53848 $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
53849 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
53850 var $async$_async_evaluate$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53851 if ($async$errorCode === 1)
53852 return A._asyncRethrow($async$result, $async$completer);
53853 while (true)
53854 switch ($async$goto) {
53855 case 0:
53856 // Function start
53857 $async$temp1 = interpolation;
53858 $async$temp2 = A;
53859 $async$goto = 3;
53860 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate$_visitMediaQueries$1);
53861 case 3:
53862 // returning from await.
53863 $async$returnValue = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure0($async$self, $async$result));
53864 // goto return
53865 $async$goto = 1;
53866 break;
53867 case 1:
53868 // return
53869 return A._asyncReturn($async$returnValue, $async$completer);
53870 }
53871 });
53872 return A._asyncStartSync($async$_async_evaluate$_visitMediaQueries$1, $async$completer);
53873 },
53874 _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
53875 var t1, t2, t3, t4, t5, result,
53876 queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
53877 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
53878 t4 = t1.get$current(t1);
53879 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
53880 result = t4.merge$1(t5.get$current(t5));
53881 if (result === B._SingletonCssMediaQueryMergeResult_empty)
53882 continue;
53883 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
53884 return null;
53885 queries.push(t3._as(result).query);
53886 }
53887 }
53888 return queries;
53889 },
53890 visitReturnRule$1(node) {
53891 return this.visitReturnRule$body$_EvaluateVisitor(node);
53892 },
53893 visitReturnRule$body$_EvaluateVisitor(node) {
53894 var $async$goto = 0,
53895 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
53896 $async$returnValue, $async$self = this, t1;
53897 var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53898 if ($async$errorCode === 1)
53899 return A._asyncRethrow($async$result, $async$completer);
53900 while (true)
53901 switch ($async$goto) {
53902 case 0:
53903 // Function start
53904 t1 = node.expression;
53905 $async$goto = 3;
53906 return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
53907 case 3:
53908 // returning from await.
53909 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
53910 // goto return
53911 $async$goto = 1;
53912 break;
53913 case 1:
53914 // return
53915 return A._asyncReturn($async$returnValue, $async$completer);
53916 }
53917 });
53918 return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
53919 },
53920 visitSilentComment$1(node) {
53921 return this.visitSilentComment$body$_EvaluateVisitor(node);
53922 },
53923 visitSilentComment$body$_EvaluateVisitor(node) {
53924 var $async$goto = 0,
53925 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53926 $async$returnValue;
53927 var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53928 if ($async$errorCode === 1)
53929 return A._asyncRethrow($async$result, $async$completer);
53930 while (true)
53931 switch ($async$goto) {
53932 case 0:
53933 // Function start
53934 $async$returnValue = null;
53935 // goto return
53936 $async$goto = 1;
53937 break;
53938 case 1:
53939 // return
53940 return A._asyncReturn($async$returnValue, $async$completer);
53941 }
53942 });
53943 return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
53944 },
53945 visitStyleRule$1(node) {
53946 return this.visitStyleRule$body$_EvaluateVisitor(node);
53947 },
53948 visitStyleRule$body$_EvaluateVisitor(node) {
53949 var $async$goto = 0,
53950 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
53951 $async$returnValue, $async$self = this, t2, selectorText, rule, oldAtRootExcludingStyleRule, t1;
53952 var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
53953 if ($async$errorCode === 1)
53954 return A._asyncRethrow($async$result, $async$completer);
53955 while (true)
53956 switch ($async$goto) {
53957 case 0:
53958 // Function start
53959 t1 = {};
53960 if ($async$self._async_evaluate$_declarationName != null)
53961 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
53962 t2 = node.selector;
53963 $async$goto = 3;
53964 return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$3$trim$warnForColor(t2, true, true), $async$visitStyleRule$1);
53965 case 3:
53966 // returning from await.
53967 selectorText = $async$result;
53968 $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
53969 break;
53970 case 4:
53971 // then
53972 $async$goto = 6;
53973 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);
53974 case 6:
53975 // returning from await.
53976 $async$returnValue = null;
53977 // goto return
53978 $async$goto = 1;
53979 break;
53980 case 5:
53981 // join
53982 t1.parsedSelector = $async$self._async_evaluate$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure9($async$self, selectorText));
53983 t1.parsedSelector = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure10(t1, $async$self));
53984 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);
53985 oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
53986 t1 = $async$self._async_evaluate$_atRootExcludingStyleRule = false;
53987 $async$goto = 7;
53988 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);
53989 case 7:
53990 // returning from await.
53991 $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
53992 if ((oldAtRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
53993 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
53994 t1 = !t1.get$isEmpty(t1);
53995 }
53996 if (t1) {
53997 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
53998 t1.get$last(t1).isGroupEnd = true;
53999 }
54000 $async$returnValue = null;
54001 // goto return
54002 $async$goto = 1;
54003 break;
54004 case 1:
54005 // return
54006 return A._asyncReturn($async$returnValue, $async$completer);
54007 }
54008 });
54009 return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
54010 },
54011 visitSupportsRule$1(node) {
54012 return this.visitSupportsRule$body$_EvaluateVisitor(node);
54013 },
54014 visitSupportsRule$body$_EvaluateVisitor(node) {
54015 var $async$goto = 0,
54016 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54017 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
54018 var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54019 if ($async$errorCode === 1)
54020 return A._asyncRethrow($async$result, $async$completer);
54021 while (true)
54022 switch ($async$goto) {
54023 case 0:
54024 // Function start
54025 if ($async$self._async_evaluate$_declarationName != null)
54026 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
54027 t1 = node.condition;
54028 $async$temp1 = A;
54029 $async$temp2 = A;
54030 $async$goto = 4;
54031 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
54032 case 4:
54033 // returning from await.
54034 $async$goto = 3;
54035 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);
54036 case 3:
54037 // returning from await.
54038 $async$returnValue = null;
54039 // goto return
54040 $async$goto = 1;
54041 break;
54042 case 1:
54043 // return
54044 return A._asyncReturn($async$returnValue, $async$completer);
54045 }
54046 });
54047 return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
54048 },
54049 _async_evaluate$_visitSupportsCondition$1(condition) {
54050 return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
54051 },
54052 _visitSupportsCondition$body$_EvaluateVisitor(condition) {
54053 var $async$goto = 0,
54054 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
54055 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
54056 var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54057 if ($async$errorCode === 1)
54058 return A._asyncRethrow($async$result, $async$completer);
54059 while (true)
54060 switch ($async$goto) {
54061 case 0:
54062 // Function start
54063 $async$goto = condition instanceof A.SupportsOperation ? 3 : 5;
54064 break;
54065 case 3:
54066 // then
54067 t1 = condition.operator;
54068 $async$temp1 = A;
54069 $async$goto = 6;
54070 return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
54071 case 6:
54072 // returning from await.
54073 $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
54074 $async$temp2 = A;
54075 $async$goto = 7;
54076 return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
54077 case 7:
54078 // returning from await.
54079 $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
54080 // goto return
54081 $async$goto = 1;
54082 break;
54083 // goto join
54084 $async$goto = 4;
54085 break;
54086 case 5:
54087 // else
54088 $async$goto = condition instanceof A.SupportsNegation ? 8 : 10;
54089 break;
54090 case 8:
54091 // then
54092 $async$temp1 = A;
54093 $async$goto = 11;
54094 return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
54095 case 11:
54096 // returning from await.
54097 $async$returnValue = "not " + $async$temp1.S($async$result);
54098 // goto return
54099 $async$goto = 1;
54100 break;
54101 // goto join
54102 $async$goto = 9;
54103 break;
54104 case 10:
54105 // else
54106 $async$goto = condition instanceof A.SupportsInterpolation ? 12 : 14;
54107 break;
54108 case 12:
54109 // then
54110 $async$goto = 15;
54111 return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
54112 case 15:
54113 // returning from await.
54114 $async$returnValue = $async$result;
54115 // goto return
54116 $async$goto = 1;
54117 break;
54118 // goto join
54119 $async$goto = 13;
54120 break;
54121 case 14:
54122 // else
54123 $async$goto = condition instanceof A.SupportsDeclaration ? 16 : 18;
54124 break;
54125 case 16:
54126 // then
54127 $async$temp1 = A;
54128 $async$goto = 19;
54129 return A._asyncAwait($async$self._evaluateToCss$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
54130 case 19:
54131 // returning from await.
54132 t1 = "(" + $async$temp1.S($async$result) + ":";
54133 $async$temp1 = t1 + (condition.get$isCustomProperty() ? "" : " ");
54134 $async$temp2 = A;
54135 $async$goto = 20;
54136 return A._asyncAwait($async$self._evaluateToCss$1(condition.value), $async$_async_evaluate$_visitSupportsCondition$1);
54137 case 20:
54138 // returning from await.
54139 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
54140 // goto return
54141 $async$goto = 1;
54142 break;
54143 // goto join
54144 $async$goto = 17;
54145 break;
54146 case 18:
54147 // else
54148 $async$goto = condition instanceof A.SupportsFunction ? 21 : 23;
54149 break;
54150 case 21:
54151 // then
54152 $async$temp1 = A;
54153 $async$goto = 24;
54154 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
54155 case 24:
54156 // returning from await.
54157 $async$temp1 = $async$temp1.S($async$result) + "(";
54158 $async$temp2 = A;
54159 $async$goto = 25;
54160 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
54161 case 25:
54162 // returning from await.
54163 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
54164 // goto return
54165 $async$goto = 1;
54166 break;
54167 // goto join
54168 $async$goto = 22;
54169 break;
54170 case 23:
54171 // else
54172 $async$goto = condition instanceof A.SupportsAnything ? 26 : 28;
54173 break;
54174 case 26:
54175 // then
54176 $async$temp1 = A;
54177 $async$goto = 29;
54178 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
54179 case 29:
54180 // returning from await.
54181 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
54182 // goto return
54183 $async$goto = 1;
54184 break;
54185 // goto join
54186 $async$goto = 27;
54187 break;
54188 case 28:
54189 // else
54190 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
54191 case 27:
54192 // join
54193 case 22:
54194 // join
54195 case 17:
54196 // join
54197 case 13:
54198 // join
54199 case 9:
54200 // join
54201 case 4:
54202 // join
54203 case 1:
54204 // return
54205 return A._asyncReturn($async$returnValue, $async$completer);
54206 }
54207 });
54208 return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
54209 },
54210 _async_evaluate$_parenthesize$2(condition, operator) {
54211 return this._parenthesize$body$_EvaluateVisitor(condition, operator);
54212 },
54213 _async_evaluate$_parenthesize$1(condition) {
54214 return this._async_evaluate$_parenthesize$2(condition, null);
54215 },
54216 _parenthesize$body$_EvaluateVisitor(condition, operator) {
54217 var $async$goto = 0,
54218 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
54219 $async$returnValue, $async$self = this, t1, $async$temp1;
54220 var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54221 if ($async$errorCode === 1)
54222 return A._asyncRethrow($async$result, $async$completer);
54223 while (true)
54224 switch ($async$goto) {
54225 case 0:
54226 // Function start
54227 if (!(condition instanceof A.SupportsNegation))
54228 if (condition instanceof A.SupportsOperation)
54229 t1 = operator == null || operator !== condition.operator;
54230 else
54231 t1 = false;
54232 else
54233 t1 = true;
54234 $async$goto = t1 ? 3 : 5;
54235 break;
54236 case 3:
54237 // then
54238 $async$temp1 = A;
54239 $async$goto = 6;
54240 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
54241 case 6:
54242 // returning from await.
54243 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
54244 // goto return
54245 $async$goto = 1;
54246 break;
54247 // goto join
54248 $async$goto = 4;
54249 break;
54250 case 5:
54251 // else
54252 $async$goto = 7;
54253 return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
54254 case 7:
54255 // returning from await.
54256 $async$returnValue = $async$result;
54257 // goto return
54258 $async$goto = 1;
54259 break;
54260 case 4:
54261 // join
54262 case 1:
54263 // return
54264 return A._asyncReturn($async$returnValue, $async$completer);
54265 }
54266 });
54267 return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
54268 },
54269 visitVariableDeclaration$1(node) {
54270 return this.visitVariableDeclaration$body$_EvaluateVisitor(node);
54271 },
54272 visitVariableDeclaration$body$_EvaluateVisitor(node) {
54273 var $async$goto = 0,
54274 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54275 $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
54276 var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54277 if ($async$errorCode === 1)
54278 return A._asyncRethrow($async$result, $async$completer);
54279 while (true)
54280 switch ($async$goto) {
54281 case 0:
54282 // Function start
54283 if (node.isGuarded) {
54284 if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
54285 t1 = $async$self._async_evaluate$_configuration._values;
54286 t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
54287 if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
54288 $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2($async$self, node, t1));
54289 $async$returnValue = null;
54290 // goto return
54291 $async$goto = 1;
54292 break;
54293 }
54294 }
54295 value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
54296 if (value != null && !value.$eq(0, B.C__SassNull)) {
54297 $async$returnValue = null;
54298 // goto return
54299 $async$goto = 1;
54300 break;
54301 }
54302 }
54303 if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
54304 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.";
54305 $async$self._async_evaluate$_warn$3$deprecation(t1, node.span, true);
54306 }
54307 t1 = node.expression;
54308 $async$temp1 = node;
54309 $async$temp2 = A;
54310 $async$temp3 = node;
54311 $async$goto = 3;
54312 return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
54313 case 3:
54314 // returning from await.
54315 $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)));
54316 $async$returnValue = null;
54317 // goto return
54318 $async$goto = 1;
54319 break;
54320 case 1:
54321 // return
54322 return A._asyncReturn($async$returnValue, $async$completer);
54323 }
54324 });
54325 return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
54326 },
54327 visitUseRule$1(node) {
54328 return this.visitUseRule$body$_EvaluateVisitor(node);
54329 },
54330 visitUseRule$body$_EvaluateVisitor(node) {
54331 var $async$goto = 0,
54332 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54333 $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
54334 var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54335 if ($async$errorCode === 1)
54336 return A._asyncRethrow($async$result, $async$completer);
54337 while (true)
54338 switch ($async$goto) {
54339 case 0:
54340 // Function start
54341 t1 = node.configuration;
54342 t2 = t1.length;
54343 $async$goto = t2 !== 0 ? 3 : 5;
54344 break;
54345 case 3:
54346 // then
54347 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
54348 _i = 0;
54349 case 6:
54350 // for condition
54351 if (!(_i < t2)) {
54352 // goto after for
54353 $async$goto = 8;
54354 break;
54355 }
54356 variable = t1[_i];
54357 t3 = variable.expression;
54358 variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t3);
54359 $async$temp1 = values;
54360 $async$temp2 = variable.name;
54361 $async$temp3 = A;
54362 $async$goto = 9;
54363 return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
54364 case 9:
54365 // returning from await.
54366 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
54367 case 7:
54368 // for update
54369 ++_i;
54370 // goto for condition
54371 $async$goto = 6;
54372 break;
54373 case 8:
54374 // after for
54375 configuration = new A.ExplicitConfiguration(node, values);
54376 // goto join
54377 $async$goto = 4;
54378 break;
54379 case 5:
54380 // else
54381 configuration = B.Configuration_Map_empty;
54382 case 4:
54383 // join
54384 $async$goto = 10;
54385 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);
54386 case 10:
54387 // returning from await.
54388 $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
54389 $async$returnValue = null;
54390 // goto return
54391 $async$goto = 1;
54392 break;
54393 case 1:
54394 // return
54395 return A._asyncReturn($async$returnValue, $async$completer);
54396 }
54397 });
54398 return A._asyncStartSync($async$visitUseRule$1, $async$completer);
54399 },
54400 visitWarnRule$1(node) {
54401 return this.visitWarnRule$body$_EvaluateVisitor(node);
54402 },
54403 visitWarnRule$body$_EvaluateVisitor(node) {
54404 var $async$goto = 0,
54405 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
54406 $async$returnValue, $async$self = this, value, t1;
54407 var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54408 if ($async$errorCode === 1)
54409 return A._asyncRethrow($async$result, $async$completer);
54410 while (true)
54411 switch ($async$goto) {
54412 case 0:
54413 // Function start
54414 $async$goto = 3;
54415 return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
54416 case 3:
54417 // returning from await.
54418 value = $async$result;
54419 t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
54420 $async$self._async_evaluate$_logger.warn$2$trace(0, t1, $async$self._async_evaluate$_stackTrace$1(node.span));
54421 $async$returnValue = null;
54422 // goto return
54423 $async$goto = 1;
54424 break;
54425 case 1:
54426 // return
54427 return A._asyncReturn($async$returnValue, $async$completer);
54428 }
54429 });
54430 return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
54431 },
54432 visitWhileRule$1(node) {
54433 return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
54434 },
54435 visitBinaryOperationExpression$1(node) {
54436 return this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(this, node), type$.Value);
54437 },
54438 visitValueExpression$1(node) {
54439 return this.visitValueExpression$body$_EvaluateVisitor(node);
54440 },
54441 visitValueExpression$body$_EvaluateVisitor(node) {
54442 var $async$goto = 0,
54443 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54444 $async$returnValue;
54445 var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54446 if ($async$errorCode === 1)
54447 return A._asyncRethrow($async$result, $async$completer);
54448 while (true)
54449 switch ($async$goto) {
54450 case 0:
54451 // Function start
54452 $async$returnValue = node.value;
54453 // goto return
54454 $async$goto = 1;
54455 break;
54456 case 1:
54457 // return
54458 return A._asyncReturn($async$returnValue, $async$completer);
54459 }
54460 });
54461 return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
54462 },
54463 visitVariableExpression$1(node) {
54464 return this.visitVariableExpression$body$_EvaluateVisitor(node);
54465 },
54466 visitVariableExpression$body$_EvaluateVisitor(node) {
54467 var $async$goto = 0,
54468 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54469 $async$returnValue, $async$self = this, result;
54470 var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54471 if ($async$errorCode === 1)
54472 return A._asyncRethrow($async$result, $async$completer);
54473 while (true)
54474 switch ($async$goto) {
54475 case 0:
54476 // Function start
54477 result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
54478 if (result != null) {
54479 $async$returnValue = result;
54480 // goto return
54481 $async$goto = 1;
54482 break;
54483 }
54484 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
54485 case 1:
54486 // return
54487 return A._asyncReturn($async$returnValue, $async$completer);
54488 }
54489 });
54490 return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
54491 },
54492 visitUnaryOperationExpression$1(node) {
54493 return this.visitUnaryOperationExpression$body$_EvaluateVisitor(node);
54494 },
54495 visitUnaryOperationExpression$body$_EvaluateVisitor(node) {
54496 var $async$goto = 0,
54497 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54498 $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
54499 var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54500 if ($async$errorCode === 1)
54501 return A._asyncRethrow($async$result, $async$completer);
54502 while (true)
54503 switch ($async$goto) {
54504 case 0:
54505 // Function start
54506 $async$temp1 = node;
54507 $async$temp2 = A;
54508 $async$temp3 = node;
54509 $async$goto = 3;
54510 return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
54511 case 3:
54512 // returning from await.
54513 $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
54514 // goto return
54515 $async$goto = 1;
54516 break;
54517 case 1:
54518 // return
54519 return A._asyncReturn($async$returnValue, $async$completer);
54520 }
54521 });
54522 return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
54523 },
54524 visitBooleanExpression$1(node) {
54525 return this.visitBooleanExpression$body$_EvaluateVisitor(node);
54526 },
54527 visitBooleanExpression$body$_EvaluateVisitor(node) {
54528 var $async$goto = 0,
54529 $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
54530 $async$returnValue;
54531 var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54532 if ($async$errorCode === 1)
54533 return A._asyncRethrow($async$result, $async$completer);
54534 while (true)
54535 switch ($async$goto) {
54536 case 0:
54537 // Function start
54538 $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
54539 // goto return
54540 $async$goto = 1;
54541 break;
54542 case 1:
54543 // return
54544 return A._asyncReturn($async$returnValue, $async$completer);
54545 }
54546 });
54547 return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
54548 },
54549 visitIfExpression$1(node) {
54550 return this.visitIfExpression$body$_EvaluateVisitor(node);
54551 },
54552 visitIfExpression$body$_EvaluateVisitor(node) {
54553 var $async$goto = 0,
54554 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54555 $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
54556 var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54557 if ($async$errorCode === 1)
54558 return A._asyncRethrow($async$result, $async$completer);
54559 while (true)
54560 switch ($async$goto) {
54561 case 0:
54562 // Function start
54563 $async$goto = 3;
54564 return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
54565 case 3:
54566 // returning from await.
54567 pair = $async$result;
54568 positional = pair.item1;
54569 named = pair.item2;
54570 t1 = J.getInterceptor$asx(positional);
54571 $async$self._async_evaluate$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
54572 if (t1.get$length(positional) > 0)
54573 condition = t1.$index(positional, 0);
54574 else {
54575 t2 = named.$index(0, "condition");
54576 t2.toString;
54577 condition = t2;
54578 }
54579 if (t1.get$length(positional) > 1)
54580 ifTrue = t1.$index(positional, 1);
54581 else {
54582 t2 = named.$index(0, "if-true");
54583 t2.toString;
54584 ifTrue = t2;
54585 }
54586 if (t1.get$length(positional) > 2)
54587 ifFalse = t1.$index(positional, 2);
54588 else {
54589 t1 = named.$index(0, "if-false");
54590 t1.toString;
54591 ifFalse = t1;
54592 }
54593 $async$goto = 4;
54594 return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
54595 case 4:
54596 // returning from await.
54597 result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
54598 $async$goto = 5;
54599 return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
54600 case 5:
54601 // returning from await.
54602 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
54603 // goto return
54604 $async$goto = 1;
54605 break;
54606 case 1:
54607 // return
54608 return A._asyncReturn($async$returnValue, $async$completer);
54609 }
54610 });
54611 return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
54612 },
54613 visitNullExpression$1(node) {
54614 return this.visitNullExpression$body$_EvaluateVisitor(node);
54615 },
54616 visitNullExpression$body$_EvaluateVisitor(node) {
54617 var $async$goto = 0,
54618 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54619 $async$returnValue;
54620 var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54621 if ($async$errorCode === 1)
54622 return A._asyncRethrow($async$result, $async$completer);
54623 while (true)
54624 switch ($async$goto) {
54625 case 0:
54626 // Function start
54627 $async$returnValue = B.C__SassNull;
54628 // goto return
54629 $async$goto = 1;
54630 break;
54631 case 1:
54632 // return
54633 return A._asyncReturn($async$returnValue, $async$completer);
54634 }
54635 });
54636 return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
54637 },
54638 visitNumberExpression$1(node) {
54639 return this.visitNumberExpression$body$_EvaluateVisitor(node);
54640 },
54641 visitNumberExpression$body$_EvaluateVisitor(node) {
54642 var $async$goto = 0,
54643 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
54644 $async$returnValue, t1, t2;
54645 var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54646 if ($async$errorCode === 1)
54647 return A._asyncRethrow($async$result, $async$completer);
54648 while (true)
54649 switch ($async$goto) {
54650 case 0:
54651 // Function start
54652 t1 = node.value;
54653 t2 = node.unit;
54654 $async$returnValue = t2 == null ? new A.UnitlessSassNumber(t1, null) : new A.SingleUnitSassNumber(t2, t1, null);
54655 // goto return
54656 $async$goto = 1;
54657 break;
54658 case 1:
54659 // return
54660 return A._asyncReturn($async$returnValue, $async$completer);
54661 }
54662 });
54663 return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
54664 },
54665 visitParenthesizedExpression$1(node) {
54666 return node.expression.accept$1(this);
54667 },
54668 visitCalculationExpression$1(node) {
54669 return this.visitCalculationExpression$body$_EvaluateVisitor(node);
54670 },
54671 visitCalculationExpression$body$_EvaluateVisitor(node) {
54672 var $async$goto = 0,
54673 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
54674 $async$returnValue, $async$next = [], $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
54675 var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54676 if ($async$errorCode === 1)
54677 return A._asyncRethrow($async$result, $async$completer);
54678 while (true)
54679 $async$outer:
54680 switch ($async$goto) {
54681 case 0:
54682 // Function start
54683 t1 = A._setArrayType([], type$.JSArray_Object);
54684 t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
54685 case 3:
54686 // for condition
54687 if (!(_i < t3)) {
54688 // goto after for
54689 $async$goto = 5;
54690 break;
54691 }
54692 argument = t2[_i];
54693 $async$temp1 = t1;
54694 $async$goto = 6;
54695 return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
54696 case 6:
54697 // returning from await.
54698 $async$temp1.push($async$result);
54699 case 4:
54700 // for update
54701 ++_i;
54702 // goto for condition
54703 $async$goto = 3;
54704 break;
54705 case 5:
54706 // after for
54707 $arguments = t1;
54708 try {
54709 switch (t4) {
54710 case "calc":
54711 t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
54712 $async$returnValue = t1;
54713 // goto return
54714 $async$goto = 1;
54715 break $async$outer;
54716 case "min":
54717 t1 = A.SassCalculation_min($arguments);
54718 $async$returnValue = t1;
54719 // goto return
54720 $async$goto = 1;
54721 break $async$outer;
54722 case "max":
54723 t1 = A.SassCalculation_max($arguments);
54724 $async$returnValue = t1;
54725 // goto return
54726 $async$goto = 1;
54727 break $async$outer;
54728 case "clamp":
54729 t1 = J.$index$asx($arguments, 0);
54730 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
54731 t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
54732 $async$returnValue = t1;
54733 // goto return
54734 $async$goto = 1;
54735 break $async$outer;
54736 default:
54737 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
54738 throw A.wrapException(t1);
54739 }
54740 } catch (exception) {
54741 t1 = A.unwrapException(exception);
54742 if (t1 instanceof A.SassScriptException) {
54743 error = t1;
54744 stackTrace = A.getTraceFromException(exception);
54745 $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
54746 A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), stackTrace);
54747 } else
54748 throw exception;
54749 }
54750 case 1:
54751 // return
54752 return A._asyncReturn($async$returnValue, $async$completer);
54753 }
54754 });
54755 return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
54756 },
54757 _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
54758 var i, t1, arg, number1, j, number2;
54759 for (i = 0; t1 = args.length, i < t1; ++i) {
54760 arg = args[i];
54761 if (!(arg instanceof A.SassNumber))
54762 continue;
54763 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
54764 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])));
54765 }
54766 for (i = 0; i < t1 - 1; ++i) {
54767 number1 = args[i];
54768 if (!(number1 instanceof A.SassNumber))
54769 continue;
54770 for (j = i + 1; t1 = args.length, j < t1; ++j) {
54771 number2 = args[j];
54772 if (!(number2 instanceof A.SassNumber))
54773 continue;
54774 if (number1.hasPossiblyCompatibleUnits$1(number2))
54775 continue;
54776 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]))));
54777 }
54778 }
54779 },
54780 _async_evaluate$_visitCalculationValue$2$inMinMax(node, inMinMax) {
54781 return this._visitCalculationValue$body$_EvaluateVisitor(node, inMinMax);
54782 },
54783 _visitCalculationValue$body$_EvaluateVisitor(node, inMinMax) {
54784 var $async$goto = 0,
54785 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
54786 $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
54787 var $async$_async_evaluate$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54788 if ($async$errorCode === 1)
54789 return A._asyncRethrow($async$result, $async$completer);
54790 while (true)
54791 switch ($async$goto) {
54792 case 0:
54793 // Function start
54794 $async$goto = node instanceof A.ParenthesizedExpression ? 3 : 5;
54795 break;
54796 case 3:
54797 // then
54798 inner = node.expression;
54799 $async$goto = 6;
54800 return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
54801 case 6:
54802 // returning from await.
54803 result = $async$result;
54804 if (inner instanceof A.FunctionExpression)
54805 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
54806 else
54807 t1 = false;
54808 $async$returnValue = t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
54809 // goto return
54810 $async$goto = 1;
54811 break;
54812 // goto join
54813 $async$goto = 4;
54814 break;
54815 case 5:
54816 // else
54817 $async$goto = node instanceof A.StringExpression ? 7 : 9;
54818 break;
54819 case 7:
54820 // then
54821 $async$temp1 = A;
54822 $async$goto = 10;
54823 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.text), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
54824 case 10:
54825 // returning from await.
54826 $async$returnValue = new $async$temp1.CalculationInterpolation($async$result);
54827 // goto return
54828 $async$goto = 1;
54829 break;
54830 // goto join
54831 $async$goto = 8;
54832 break;
54833 case 9:
54834 // else
54835 $async$goto = node instanceof A.BinaryOperationExpression ? 11 : 13;
54836 break;
54837 case 11:
54838 // then
54839 $async$goto = 14;
54840 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);
54841 case 14:
54842 // returning from await.
54843 $async$returnValue = $async$result;
54844 // goto return
54845 $async$goto = 1;
54846 break;
54847 // goto join
54848 $async$goto = 12;
54849 break;
54850 case 13:
54851 // else
54852 $async$goto = 15;
54853 return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
54854 case 15:
54855 // returning from await.
54856 result = $async$result;
54857 if (result instanceof A.SassNumber || result instanceof A.SassCalculation) {
54858 $async$returnValue = result;
54859 // goto return
54860 $async$goto = 1;
54861 break;
54862 }
54863 if (result instanceof A.SassString && !result._hasQuotes) {
54864 $async$returnValue = result;
54865 // goto return
54866 $async$goto = 1;
54867 break;
54868 }
54869 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)));
54870 case 12:
54871 // join
54872 case 8:
54873 // join
54874 case 4:
54875 // join
54876 case 1:
54877 // return
54878 return A._asyncReturn($async$returnValue, $async$completer);
54879 }
54880 });
54881 return A._asyncStartSync($async$_async_evaluate$_visitCalculationValue$2$inMinMax, $async$completer);
54882 },
54883 _async_evaluate$_binaryOperatorToCalculationOperator$1(operator) {
54884 switch (operator) {
54885 case B.BinaryOperator_AcR0:
54886 return B.CalculationOperator_Iem;
54887 case B.BinaryOperator_iyO:
54888 return B.CalculationOperator_uti;
54889 case B.BinaryOperator_O1M:
54890 return B.CalculationOperator_Dih;
54891 case B.BinaryOperator_RTB:
54892 return B.CalculationOperator_jB6;
54893 default:
54894 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
54895 }
54896 },
54897 visitColorExpression$1(node) {
54898 return this.visitColorExpression$body$_EvaluateVisitor(node);
54899 },
54900 visitColorExpression$body$_EvaluateVisitor(node) {
54901 var $async$goto = 0,
54902 $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
54903 $async$returnValue;
54904 var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54905 if ($async$errorCode === 1)
54906 return A._asyncRethrow($async$result, $async$completer);
54907 while (true)
54908 switch ($async$goto) {
54909 case 0:
54910 // Function start
54911 $async$returnValue = node.value;
54912 // goto return
54913 $async$goto = 1;
54914 break;
54915 case 1:
54916 // return
54917 return A._asyncReturn($async$returnValue, $async$completer);
54918 }
54919 });
54920 return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
54921 },
54922 visitListExpression$1(node) {
54923 return this.visitListExpression$body$_EvaluateVisitor(node);
54924 },
54925 visitListExpression$body$_EvaluateVisitor(node) {
54926 var $async$goto = 0,
54927 $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
54928 $async$returnValue, $async$self = this, $async$temp1;
54929 var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54930 if ($async$errorCode === 1)
54931 return A._asyncRethrow($async$result, $async$completer);
54932 while (true)
54933 switch ($async$goto) {
54934 case 0:
54935 // Function start
54936 $async$temp1 = A;
54937 $async$goto = 3;
54938 return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
54939 case 3:
54940 // returning from await.
54941 $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
54942 // goto return
54943 $async$goto = 1;
54944 break;
54945 case 1:
54946 // return
54947 return A._asyncReturn($async$returnValue, $async$completer);
54948 }
54949 });
54950 return A._asyncStartSync($async$visitListExpression$1, $async$completer);
54951 },
54952 visitMapExpression$1(node) {
54953 return this.visitMapExpression$body$_EvaluateVisitor(node);
54954 },
54955 visitMapExpression$body$_EvaluateVisitor(node) {
54956 var $async$goto = 0,
54957 $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
54958 $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
54959 var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
54960 if ($async$errorCode === 1)
54961 return A._asyncRethrow($async$result, $async$completer);
54962 while (true)
54963 switch ($async$goto) {
54964 case 0:
54965 // Function start
54966 t1 = type$.Value;
54967 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
54968 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
54969 t2 = node.pairs, t3 = t2.length, _i = 0;
54970 case 3:
54971 // for condition
54972 if (!(_i < t3)) {
54973 // goto after for
54974 $async$goto = 5;
54975 break;
54976 }
54977 pair = t2[_i];
54978 t4 = pair.item1;
54979 $async$goto = 6;
54980 return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
54981 case 6:
54982 // returning from await.
54983 keyValue = $async$result;
54984 $async$goto = 7;
54985 return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
54986 case 7:
54987 // returning from await.
54988 valueValue = $async$result;
54989 if (map.$index(0, keyValue) != null) {
54990 t1 = keyNodes.$index(0, keyValue);
54991 oldValueSpan = t1 == null ? null : t1.get$span(t1);
54992 t1 = J.getInterceptor$z(t4);
54993 t2 = t1.get$span(t4);
54994 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
54995 if (oldValueSpan != null)
54996 t3.$indexSet(0, oldValueSpan, "first key");
54997 throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate$_stackTrace$1(t1.get$span(t4))));
54998 }
54999 map.$indexSet(0, keyValue, valueValue);
55000 keyNodes.$indexSet(0, keyValue, t4);
55001 case 4:
55002 // for update
55003 ++_i;
55004 // goto for condition
55005 $async$goto = 3;
55006 break;
55007 case 5:
55008 // after for
55009 $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
55010 // goto return
55011 $async$goto = 1;
55012 break;
55013 case 1:
55014 // return
55015 return A._asyncReturn($async$returnValue, $async$completer);
55016 }
55017 });
55018 return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
55019 },
55020 visitFunctionExpression$1(node) {
55021 return this.visitFunctionExpression$body$_EvaluateVisitor(node);
55022 },
55023 visitFunctionExpression$body$_EvaluateVisitor(node) {
55024 var $async$goto = 0,
55025 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55026 $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
55027 var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55028 if ($async$errorCode === 1)
55029 return A._asyncRethrow($async$result, $async$completer);
55030 while (true)
55031 switch ($async$goto) {
55032 case 0:
55033 // Function start
55034 t1 = {};
55035 $function = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1($async$self, node));
55036 t1.$function = $function;
55037 if ($function == null) {
55038 if (node.namespace != null)
55039 throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
55040 t1.$function = new A.PlainCssCallable(node.originalName);
55041 }
55042 oldInFunction = $async$self._async_evaluate$_inFunction;
55043 $async$self._async_evaluate$_inFunction = true;
55044 $async$goto = 3;
55045 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);
55046 case 3:
55047 // returning from await.
55048 result = $async$result;
55049 $async$self._async_evaluate$_inFunction = oldInFunction;
55050 $async$returnValue = result;
55051 // goto return
55052 $async$goto = 1;
55053 break;
55054 case 1:
55055 // return
55056 return A._asyncReturn($async$returnValue, $async$completer);
55057 }
55058 });
55059 return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
55060 },
55061 visitInterpolatedFunctionExpression$1(node) {
55062 return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node);
55063 },
55064 visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node) {
55065 var $async$goto = 0,
55066 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55067 $async$returnValue, $async$self = this, result, t1, oldInFunction;
55068 var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55069 if ($async$errorCode === 1)
55070 return A._asyncRethrow($async$result, $async$completer);
55071 while (true)
55072 switch ($async$goto) {
55073 case 0:
55074 // Function start
55075 $async$goto = 3;
55076 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
55077 case 3:
55078 // returning from await.
55079 t1 = $async$result;
55080 oldInFunction = $async$self._async_evaluate$_inFunction;
55081 $async$self._async_evaluate$_inFunction = true;
55082 $async$goto = 4;
55083 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);
55084 case 4:
55085 // returning from await.
55086 result = $async$result;
55087 $async$self._async_evaluate$_inFunction = oldInFunction;
55088 $async$returnValue = result;
55089 // goto return
55090 $async$goto = 1;
55091 break;
55092 case 1:
55093 // return
55094 return A._asyncReturn($async$returnValue, $async$completer);
55095 }
55096 });
55097 return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
55098 },
55099 _async_evaluate$_getFunction$2$namespace($name, namespace) {
55100 var local = this._async_evaluate$_environment.getFunction$2$namespace($name, namespace);
55101 if (local != null || namespace != null)
55102 return local;
55103 return this._async_evaluate$_builtInFunctions.$index(0, $name);
55104 },
55105 _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
55106 return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
55107 },
55108 _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
55109 var $async$goto = 0,
55110 $async$completer = A._makeAsyncAwaitCompleter($async$type),
55111 $async$returnValue, $async$self = this, evaluated, $name;
55112 var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55113 if ($async$errorCode === 1)
55114 return A._asyncRethrow($async$result, $async$completer);
55115 while (true)
55116 switch ($async$goto) {
55117 case 0:
55118 // Function start
55119 $async$goto = 3;
55120 return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
55121 case 3:
55122 // returning from await.
55123 evaluated = $async$result;
55124 $name = callable.declaration.name;
55125 if ($name !== "@content")
55126 $name += "()";
55127 $async$goto = 4;
55128 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);
55129 case 4:
55130 // returning from await.
55131 $async$returnValue = $async$result;
55132 // goto return
55133 $async$goto = 1;
55134 break;
55135 case 1:
55136 // return
55137 return A._asyncReturn($async$returnValue, $async$completer);
55138 }
55139 });
55140 return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
55141 },
55142 _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
55143 return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
55144 },
55145 _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
55146 var $async$goto = 0,
55147 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55148 $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
55149 var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55150 if ($async$errorCode === 1)
55151 return A._asyncRethrow($async$result, $async$completer);
55152 while (true)
55153 switch ($async$goto) {
55154 case 0:
55155 // Function start
55156 $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
55157 break;
55158 case 3:
55159 // then
55160 $async$goto = 6;
55161 return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
55162 case 6:
55163 // returning from await.
55164 $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
55165 // goto return
55166 $async$goto = 1;
55167 break;
55168 // goto join
55169 $async$goto = 4;
55170 break;
55171 case 5:
55172 // else
55173 $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
55174 break;
55175 case 7:
55176 // then
55177 $async$goto = 10;
55178 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);
55179 case 10:
55180 // returning from await.
55181 $async$returnValue = $async$result;
55182 // goto return
55183 $async$goto = 1;
55184 break;
55185 // goto join
55186 $async$goto = 8;
55187 break;
55188 case 9:
55189 // else
55190 $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
55191 break;
55192 case 11:
55193 // then
55194 t1 = $arguments.named;
55195 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
55196 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
55197 t1 = callable.name + "(";
55198 t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
55199 case 14:
55200 // for condition
55201 if (!(_i < t3)) {
55202 // goto after for
55203 $async$goto = 16;
55204 break;
55205 }
55206 argument = t2[_i];
55207 if (first)
55208 first = false;
55209 else
55210 t1 += ", ";
55211 $async$temp1 = A;
55212 $async$goto = 17;
55213 return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
55214 case 17:
55215 // returning from await.
55216 t1 += $async$temp1.S($async$result);
55217 case 15:
55218 // for update
55219 ++_i;
55220 // goto for condition
55221 $async$goto = 14;
55222 break;
55223 case 16:
55224 // after for
55225 restArg = $arguments.rest;
55226 $async$goto = restArg != null ? 18 : 19;
55227 break;
55228 case 18:
55229 // then
55230 $async$goto = 20;
55231 return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
55232 case 20:
55233 // returning from await.
55234 rest = $async$result;
55235 if (!first)
55236 t1 += ", ";
55237 t1 += $async$self._async_evaluate$_serialize$2(rest, restArg);
55238 case 19:
55239 // join
55240 t1 += A.Primitives_stringFromCharCode(41);
55241 $async$returnValue = new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
55242 // goto return
55243 $async$goto = 1;
55244 break;
55245 // goto join
55246 $async$goto = 12;
55247 break;
55248 case 13:
55249 // else
55250 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
55251 case 12:
55252 // join
55253 case 8:
55254 // join
55255 case 4:
55256 // join
55257 case 1:
55258 // return
55259 return A._asyncReturn($async$returnValue, $async$completer);
55260 }
55261 });
55262 return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
55263 },
55264 _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
55265 return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
55266 },
55267 _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
55268 var $async$goto = 0,
55269 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55270 $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;
55271 var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55272 if ($async$errorCode === 1) {
55273 $async$currentError = $async$result;
55274 $async$goto = $async$handler;
55275 }
55276 while (true)
55277 switch ($async$goto) {
55278 case 0:
55279 // Function start
55280 $async$goto = 3;
55281 return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
55282 case 3:
55283 // returning from await.
55284 evaluated = $async$result;
55285 oldCallableNode = $async$self._async_evaluate$_callableNode;
55286 $async$self._async_evaluate$_callableNode = nodeWithSpan;
55287 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
55288 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
55289 overload = tuple.item1;
55290 callback = tuple.item2;
55291 $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure1(overload, evaluated, namedSet));
55292 declaredArguments = overload.$arguments;
55293 i = evaluated.positional.length, t1 = declaredArguments.length;
55294 case 4:
55295 // for condition
55296 if (!(i < t1)) {
55297 // goto after for
55298 $async$goto = 6;
55299 break;
55300 }
55301 argument = declaredArguments[i];
55302 t2 = evaluated.positional;
55303 t3 = evaluated.named.remove$1(0, argument.name);
55304 $async$goto = t3 == null ? 7 : 8;
55305 break;
55306 case 7:
55307 // then
55308 t3 = argument.defaultValue;
55309 $async$goto = 9;
55310 return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate$_runBuiltInCallable$3);
55311 case 9:
55312 // returning from await.
55313 t3 = $async$self._async_evaluate$_withoutSlash$2($async$result, t3);
55314 case 8:
55315 // join
55316 t2.push(t3);
55317 case 5:
55318 // for update
55319 ++i;
55320 // goto for condition
55321 $async$goto = 4;
55322 break;
55323 case 6:
55324 // after for
55325 if (overload.restArgument != null) {
55326 if (evaluated.positional.length > t1) {
55327 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
55328 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
55329 } else
55330 rest = B.List_empty5;
55331 t1 = evaluated.named;
55332 argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : evaluated.separator);
55333 evaluated.positional.push(argumentList);
55334 } else
55335 argumentList = null;
55336 result = null;
55337 $async$handler = 11;
55338 $async$goto = 14;
55339 return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate$_runBuiltInCallable$3);
55340 case 14:
55341 // returning from await.
55342 result = $async$result;
55343 $async$handler = 2;
55344 // goto after finally
55345 $async$goto = 13;
55346 break;
55347 case 11:
55348 // catch
55349 $async$handler = 10;
55350 $async$exception = $async$currentError;
55351 t1 = A.unwrapException($async$exception);
55352 if (type$.SassRuntimeException._is(t1))
55353 throw $async$exception;
55354 else if (t1 instanceof A.MultiSpanSassScriptException) {
55355 error = t1;
55356 stackTrace = A.getTraceFromException($async$exception);
55357 t1 = error.message;
55358 t2 = nodeWithSpan.get$span(nodeWithSpan);
55359 t3 = error.primaryLabel;
55360 t4 = error.secondarySpans;
55361 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);
55362 } else if (t1 instanceof A.MultiSpanSassException) {
55363 error0 = t1;
55364 stackTrace0 = A.getTraceFromException($async$exception);
55365 t1 = error0._span_exception$_message;
55366 t2 = error0;
55367 t3 = J.getInterceptor$z(t2);
55368 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
55369 t3 = error0.primaryLabel;
55370 t4 = error0.secondarySpans;
55371 t5 = error0;
55372 t6 = J.getInterceptor$z(t5);
55373 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);
55374 } else {
55375 error1 = t1;
55376 stackTrace1 = A.getTraceFromException($async$exception);
55377 message = null;
55378 try {
55379 message = A._asString(J.get$message$x(error1));
55380 } catch (exception) {
55381 message0 = J.toString$0$(error1);
55382 message = message0;
55383 }
55384 A.throwWithTrace($async$self._async_evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
55385 }
55386 // goto after finally
55387 $async$goto = 13;
55388 break;
55389 case 10:
55390 // uncaught
55391 // goto rethrow
55392 $async$goto = 2;
55393 break;
55394 case 13:
55395 // after finally
55396 $async$self._async_evaluate$_callableNode = oldCallableNode;
55397 if (argumentList == null) {
55398 $async$returnValue = result;
55399 // goto return
55400 $async$goto = 1;
55401 break;
55402 }
55403 t1 = evaluated.named;
55404 if (t1.get$isEmpty(t1)) {
55405 $async$returnValue = result;
55406 // goto return
55407 $async$goto = 1;
55408 break;
55409 }
55410 if (argumentList._wereKeywordsAccessed) {
55411 $async$returnValue = result;
55412 // goto return
55413 $async$goto = 1;
55414 break;
55415 }
55416 t1 = evaluated.named;
55417 t1 = t1.get$keys(t1);
55418 t1 = "No " + A.pluralize("argument", t1.get$length(t1), null) + " named ";
55419 t2 = evaluated.named;
55420 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))));
55421 case 1:
55422 // return
55423 return A._asyncReturn($async$returnValue, $async$completer);
55424 case 2:
55425 // rethrow
55426 return A._asyncRethrow($async$currentError, $async$completer);
55427 }
55428 });
55429 return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
55430 },
55431 _async_evaluate$_evaluateArguments$1($arguments) {
55432 return this._evaluateArguments$body$_EvaluateVisitor($arguments);
55433 },
55434 _evaluateArguments$body$_EvaluateVisitor($arguments) {
55435 var $async$goto = 0,
55436 $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults),
55437 $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;
55438 var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55439 if ($async$errorCode === 1)
55440 return A._asyncRethrow($async$result, $async$completer);
55441 while (true)
55442 switch ($async$goto) {
55443 case 0:
55444 // Function start
55445 positional = A._setArrayType([], type$.JSArray_Value);
55446 positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
55447 t1 = $arguments.positional, t2 = t1.length, _i = 0;
55448 case 3:
55449 // for condition
55450 if (!(_i < t2)) {
55451 // goto after for
55452 $async$goto = 5;
55453 break;
55454 }
55455 expression = t1[_i];
55456 nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
55457 $async$temp1 = positional;
55458 $async$goto = 6;
55459 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55460 case 6:
55461 // returning from await.
55462 $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
55463 positionalNodes.push(nodeForSpan);
55464 case 4:
55465 // for update
55466 ++_i;
55467 // goto for condition
55468 $async$goto = 3;
55469 break;
55470 case 5:
55471 // after for
55472 t1 = type$.String;
55473 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
55474 t2 = type$.AstNode;
55475 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55476 t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
55477 case 7:
55478 // for condition
55479 if (!t3.moveNext$0()) {
55480 // goto after for
55481 $async$goto = 8;
55482 break;
55483 }
55484 t4 = t3.get$current(t3);
55485 t5 = t4.value;
55486 nodeForSpan = $async$self._async_evaluate$_expressionNode$1(t5);
55487 t4 = t4.key;
55488 $async$temp1 = named;
55489 $async$temp2 = t4;
55490 $async$goto = 9;
55491 return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55492 case 9:
55493 // returning from await.
55494 $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
55495 namedNodes.$indexSet(0, t4, nodeForSpan);
55496 // goto for condition
55497 $async$goto = 7;
55498 break;
55499 case 8:
55500 // after for
55501 restArgs = $arguments.rest;
55502 if (restArgs == null) {
55503 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null);
55504 // goto return
55505 $async$goto = 1;
55506 break;
55507 }
55508 $async$goto = 10;
55509 return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55510 case 10:
55511 // returning from await.
55512 rest = $async$result;
55513 restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
55514 if (rest instanceof A.SassMap) {
55515 $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
55516 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55517 for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
55518 t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
55519 namedNodes.addAll$1(0, t3);
55520 separator = B.ListSeparator_undecided_null;
55521 } else if (rest instanceof A.SassList) {
55522 t3 = rest._list$_contents;
55523 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>")));
55524 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
55525 separator = rest._separator;
55526 if (rest instanceof A.SassArgumentList) {
55527 rest._wereKeywordsAccessed = true;
55528 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
55529 }
55530 } else {
55531 positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
55532 positionalNodes.push(restNodeForSpan);
55533 separator = B.ListSeparator_undecided_null;
55534 }
55535 keywordRestArgs = $arguments.keywordRest;
55536 if (keywordRestArgs == null) {
55537 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
55538 // goto return
55539 $async$goto = 1;
55540 break;
55541 }
55542 $async$goto = 11;
55543 return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
55544 case 11:
55545 // returning from await.
55546 keywordRest = $async$result;
55547 keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
55548 if (keywordRest instanceof A.SassMap) {
55549 $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
55550 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
55551 for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
55552 t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
55553 namedNodes.addAll$1(0, t1);
55554 $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
55555 // goto return
55556 $async$goto = 1;
55557 break;
55558 } else
55559 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
55560 case 1:
55561 // return
55562 return A._asyncReturn($async$returnValue, $async$completer);
55563 }
55564 });
55565 return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
55566 },
55567 _async_evaluate$_evaluateMacroArguments$1(invocation) {
55568 return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
55569 },
55570 _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
55571 var $async$goto = 0,
55572 $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression),
55573 $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
55574 var $async$_async_evaluate$_evaluateMacroArguments$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 t1 = invocation.$arguments;
55582 restArgs_ = t1.rest;
55583 if (restArgs_ == null) {
55584 $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55585 // goto return
55586 $async$goto = 1;
55587 break;
55588 }
55589 t2 = t1.positional;
55590 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
55591 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
55592 $async$goto = 3;
55593 return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
55594 case 3:
55595 // returning from await.
55596 rest = $async$result;
55597 restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
55598 if (rest instanceof A.SassMap)
55599 $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
55600 else if (rest instanceof A.SassList) {
55601 t2 = rest._list$_contents;
55602 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>")));
55603 if (rest instanceof A.SassArgumentList) {
55604 rest._wereKeywordsAccessed = true;
55605 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
55606 }
55607 } else
55608 positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
55609 keywordRestArgs_ = t1.keywordRest;
55610 if (keywordRestArgs_ == null) {
55611 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55612 // goto return
55613 $async$goto = 1;
55614 break;
55615 }
55616 $async$goto = 4;
55617 return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
55618 case 4:
55619 // returning from await.
55620 keywordRest = $async$result;
55621 keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
55622 if (keywordRest instanceof A.SassMap) {
55623 $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
55624 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
55625 // goto return
55626 $async$goto = 1;
55627 break;
55628 } else
55629 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
55630 case 1:
55631 // return
55632 return A._asyncReturn($async$returnValue, $async$completer);
55633 }
55634 });
55635 return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
55636 },
55637 _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
55638 map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
55639 },
55640 _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
55641 return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
55642 },
55643 _async_evaluate$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
55644 return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0($arguments, positional, named));
55645 },
55646 visitSelectorExpression$1(node) {
55647 return this.visitSelectorExpression$body$_EvaluateVisitor(node);
55648 },
55649 visitSelectorExpression$body$_EvaluateVisitor(node) {
55650 var $async$goto = 0,
55651 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
55652 $async$returnValue, $async$self = this, t1;
55653 var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55654 if ($async$errorCode === 1)
55655 return A._asyncRethrow($async$result, $async$completer);
55656 while (true)
55657 switch ($async$goto) {
55658 case 0:
55659 // Function start
55660 t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
55661 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
55662 $async$returnValue = t1 == null ? B.C__SassNull : t1;
55663 // goto return
55664 $async$goto = 1;
55665 break;
55666 case 1:
55667 // return
55668 return A._asyncReturn($async$returnValue, $async$completer);
55669 }
55670 });
55671 return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
55672 },
55673 visitStringExpression$1(node) {
55674 return this.visitStringExpression$body$_EvaluateVisitor(node);
55675 },
55676 visitStringExpression$body$_EvaluateVisitor(node) {
55677 var $async$goto = 0,
55678 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
55679 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
55680 var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55681 if ($async$errorCode === 1)
55682 return A._asyncRethrow($async$result, $async$completer);
55683 while (true)
55684 switch ($async$goto) {
55685 case 0:
55686 // Function start
55687 $async$temp1 = A;
55688 $async$temp2 = J;
55689 $async$goto = 3;
55690 return A._asyncAwait(A.mapAsync(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure0($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
55691 case 3:
55692 // returning from await.
55693 $async$returnValue = new $async$temp1.SassString($async$temp2.join$0$ax($async$result), node.hasQuotes);
55694 // goto return
55695 $async$goto = 1;
55696 break;
55697 case 1:
55698 // return
55699 return A._asyncReturn($async$returnValue, $async$completer);
55700 }
55701 });
55702 return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
55703 },
55704 visitCssAtRule$1(node) {
55705 return this.visitCssAtRule$body$_EvaluateVisitor(node);
55706 },
55707 visitCssAtRule$body$_EvaluateVisitor(node) {
55708 var $async$goto = 0,
55709 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55710 $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
55711 var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55712 if ($async$errorCode === 1)
55713 return A._asyncRethrow($async$result, $async$completer);
55714 while (true)
55715 switch ($async$goto) {
55716 case 0:
55717 // Function start
55718 if ($async$self._async_evaluate$_declarationName != null)
55719 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
55720 if (node.isChildless) {
55721 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
55722 // goto return
55723 $async$goto = 1;
55724 break;
55725 }
55726 wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
55727 wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
55728 t1 = node.name;
55729 if (A.unvendor(t1.get$value(t1)) === "keyframes")
55730 $async$self._async_evaluate$_inKeyframes = true;
55731 else
55732 $async$self._async_evaluate$_inUnknownAtRule = true;
55733 $async$goto = 3;
55734 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);
55735 case 3:
55736 // returning from await.
55737 $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
55738 $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
55739 case 1:
55740 // return
55741 return A._asyncReturn($async$returnValue, $async$completer);
55742 }
55743 });
55744 return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
55745 },
55746 visitCssComment$1(node) {
55747 return this.visitCssComment$body$_EvaluateVisitor(node);
55748 },
55749 visitCssComment$body$_EvaluateVisitor(node) {
55750 var $async$goto = 0,
55751 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55752 $async$self = this;
55753 var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55754 if ($async$errorCode === 1)
55755 return A._asyncRethrow($async$result, $async$completer);
55756 while (true)
55757 switch ($async$goto) {
55758 case 0:
55759 // Function start
55760 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))
55761 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
55762 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
55763 // implicit return
55764 return A._asyncReturn(null, $async$completer);
55765 }
55766 });
55767 return A._asyncStartSync($async$visitCssComment$1, $async$completer);
55768 },
55769 visitCssDeclaration$1(node) {
55770 return this.visitCssDeclaration$body$_EvaluateVisitor(node);
55771 },
55772 visitCssDeclaration$body$_EvaluateVisitor(node) {
55773 var $async$goto = 0,
55774 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55775 $async$self = this, t1;
55776 var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55777 if ($async$errorCode === 1)
55778 return A._asyncRethrow($async$result, $async$completer);
55779 while (true)
55780 switch ($async$goto) {
55781 case 0:
55782 // Function start
55783 t1 = node.name;
55784 $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));
55785 // implicit return
55786 return A._asyncReturn(null, $async$completer);
55787 }
55788 });
55789 return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
55790 },
55791 visitCssImport$1(node) {
55792 return this.visitCssImport$body$_EvaluateVisitor(node);
55793 },
55794 visitCssImport$body$_EvaluateVisitor(node) {
55795 var $async$goto = 0,
55796 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55797 $async$self = this, t1, modifiableNode;
55798 var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55799 if ($async$errorCode === 1)
55800 return A._asyncRethrow($async$result, $async$completer);
55801 while (true)
55802 switch ($async$goto) {
55803 case 0:
55804 // Function start
55805 modifiableNode = A.ModifiableCssImport$(node.url, node.span, node.media, node.supports);
55806 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"))
55807 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
55808 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)) {
55809 $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
55810 $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
55811 } else {
55812 t1 = $async$self._async_evaluate$_outOfOrderImports;
55813 (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
55814 }
55815 // implicit return
55816 return A._asyncReturn(null, $async$completer);
55817 }
55818 });
55819 return A._asyncStartSync($async$visitCssImport$1, $async$completer);
55820 },
55821 visitCssKeyframeBlock$1(node) {
55822 return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
55823 },
55824 visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
55825 var $async$goto = 0,
55826 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55827 $async$self = this;
55828 var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55829 if ($async$errorCode === 1)
55830 return A._asyncRethrow($async$result, $async$completer);
55831 while (true)
55832 switch ($async$goto) {
55833 case 0:
55834 // Function start
55835 $async$goto = 2;
55836 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);
55837 case 2:
55838 // returning from await.
55839 // implicit return
55840 return A._asyncReturn(null, $async$completer);
55841 }
55842 });
55843 return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
55844 },
55845 visitCssMediaRule$1(node) {
55846 return this.visitCssMediaRule$body$_EvaluateVisitor(node);
55847 },
55848 visitCssMediaRule$body$_EvaluateVisitor(node) {
55849 var $async$goto = 0,
55850 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55851 $async$returnValue, $async$self = this, mergedQueries, t1;
55852 var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55853 if ($async$errorCode === 1)
55854 return A._asyncRethrow($async$result, $async$completer);
55855 while (true)
55856 switch ($async$goto) {
55857 case 0:
55858 // Function start
55859 if ($async$self._async_evaluate$_declarationName != null)
55860 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
55861 mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
55862 t1 = mergedQueries == null;
55863 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
55864 // goto return
55865 $async$goto = 1;
55866 break;
55867 }
55868 t1 = t1 ? node.queries : mergedQueries;
55869 $async$goto = 3;
55870 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);
55871 case 3:
55872 // returning from await.
55873 case 1:
55874 // return
55875 return A._asyncReturn($async$returnValue, $async$completer);
55876 }
55877 });
55878 return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
55879 },
55880 visitCssStyleRule$1(node) {
55881 return this.visitCssStyleRule$body$_EvaluateVisitor(node);
55882 },
55883 visitCssStyleRule$body$_EvaluateVisitor(node) {
55884 var $async$goto = 0,
55885 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55886 $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
55887 var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55888 if ($async$errorCode === 1)
55889 return A._asyncRethrow($async$result, $async$completer);
55890 while (true)
55891 switch ($async$goto) {
55892 case 0:
55893 // Function start
55894 if ($async$self._async_evaluate$_declarationName != null)
55895 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
55896 t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
55897 styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
55898 t2 = node.selector;
55899 t3 = t2.value;
55900 t4 = styleRule == null;
55901 t5 = t4 ? null : styleRule.originalSelector;
55902 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
55903 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);
55904 oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
55905 $async$self._async_evaluate$_atRootExcludingStyleRule = false;
55906 $async$goto = 2;
55907 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);
55908 case 2:
55909 // returning from await.
55910 $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
55911 if (t4) {
55912 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
55913 t1 = !t1.get$isEmpty(t1);
55914 } else
55915 t1 = false;
55916 if (t1) {
55917 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
55918 t1.get$last(t1).isGroupEnd = true;
55919 }
55920 // implicit return
55921 return A._asyncReturn(null, $async$completer);
55922 }
55923 });
55924 return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
55925 },
55926 visitCssStylesheet$1(node) {
55927 return this.visitCssStylesheet$body$_EvaluateVisitor(node);
55928 },
55929 visitCssStylesheet$body$_EvaluateVisitor(node) {
55930 var $async$goto = 0,
55931 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55932 $async$self = this, t1;
55933 var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55934 if ($async$errorCode === 1)
55935 return A._asyncRethrow($async$result, $async$completer);
55936 while (true)
55937 switch ($async$goto) {
55938 case 0:
55939 // Function start
55940 t1 = J.get$iterator$ax(node.get$children(node));
55941 case 2:
55942 // for condition
55943 if (!t1.moveNext$0()) {
55944 // goto after for
55945 $async$goto = 3;
55946 break;
55947 }
55948 $async$goto = 4;
55949 return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
55950 case 4:
55951 // returning from await.
55952 // goto for condition
55953 $async$goto = 2;
55954 break;
55955 case 3:
55956 // after for
55957 // implicit return
55958 return A._asyncReturn(null, $async$completer);
55959 }
55960 });
55961 return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
55962 },
55963 visitCssSupportsRule$1(node) {
55964 return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
55965 },
55966 visitCssSupportsRule$body$_EvaluateVisitor(node) {
55967 var $async$goto = 0,
55968 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
55969 $async$self = this;
55970 var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
55971 if ($async$errorCode === 1)
55972 return A._asyncRethrow($async$result, $async$completer);
55973 while (true)
55974 switch ($async$goto) {
55975 case 0:
55976 // Function start
55977 if ($async$self._async_evaluate$_declarationName != null)
55978 throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
55979 $async$goto = 2;
55980 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);
55981 case 2:
55982 // returning from await.
55983 // implicit return
55984 return A._asyncReturn(null, $async$completer);
55985 }
55986 });
55987 return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
55988 },
55989 _async_evaluate$_handleReturn$1$2(list, callback) {
55990 return this._handleReturn$body$_EvaluateVisitor(list, callback);
55991 },
55992 _async_evaluate$_handleReturn$2(list, callback) {
55993 return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
55994 },
55995 _handleReturn$body$_EvaluateVisitor(list, callback) {
55996 var $async$goto = 0,
55997 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
55998 $async$returnValue, t1, _i, result;
55999 var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56000 if ($async$errorCode === 1)
56001 return A._asyncRethrow($async$result, $async$completer);
56002 while (true)
56003 switch ($async$goto) {
56004 case 0:
56005 // Function start
56006 t1 = list.length, _i = 0;
56007 case 3:
56008 // for condition
56009 if (!(_i < list.length)) {
56010 // goto after for
56011 $async$goto = 5;
56012 break;
56013 }
56014 $async$goto = 6;
56015 return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
56016 case 6:
56017 // returning from await.
56018 result = $async$result;
56019 if (result != null) {
56020 $async$returnValue = result;
56021 // goto return
56022 $async$goto = 1;
56023 break;
56024 }
56025 case 4:
56026 // for update
56027 list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
56028 // goto for condition
56029 $async$goto = 3;
56030 break;
56031 case 5:
56032 // after for
56033 $async$returnValue = null;
56034 // goto return
56035 $async$goto = 1;
56036 break;
56037 case 1:
56038 // return
56039 return A._asyncReturn($async$returnValue, $async$completer);
56040 }
56041 });
56042 return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
56043 },
56044 _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
56045 return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
56046 },
56047 _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
56048 var $async$goto = 0,
56049 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56050 $async$returnValue, $async$self = this, result, oldEnvironment;
56051 var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56052 if ($async$errorCode === 1)
56053 return A._asyncRethrow($async$result, $async$completer);
56054 while (true)
56055 switch ($async$goto) {
56056 case 0:
56057 // Function start
56058 oldEnvironment = $async$self._async_evaluate$_environment;
56059 $async$self._async_evaluate$_environment = environment;
56060 $async$goto = 3;
56061 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
56062 case 3:
56063 // returning from await.
56064 result = $async$result;
56065 $async$self._async_evaluate$_environment = oldEnvironment;
56066 $async$returnValue = result;
56067 // goto return
56068 $async$goto = 1;
56069 break;
56070 case 1:
56071 // return
56072 return A._asyncReturn($async$returnValue, $async$completer);
56073 }
56074 });
56075 return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
56076 },
56077 _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
56078 return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
56079 },
56080 _async_evaluate$_interpolationToValue$1(interpolation) {
56081 return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
56082 },
56083 _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
56084 return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
56085 },
56086 _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
56087 var $async$goto = 0,
56088 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
56089 $async$returnValue, $async$self = this, result, t1;
56090 var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56091 if ($async$errorCode === 1)
56092 return A._asyncRethrow($async$result, $async$completer);
56093 while (true)
56094 switch ($async$goto) {
56095 case 0:
56096 // Function start
56097 $async$goto = 3;
56098 return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
56099 case 3:
56100 // returning from await.
56101 result = $async$result;
56102 t1 = trim ? A.trimAscii(result, true) : result;
56103 $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
56104 // goto return
56105 $async$goto = 1;
56106 break;
56107 case 1:
56108 // return
56109 return A._asyncReturn($async$returnValue, $async$completer);
56110 }
56111 });
56112 return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
56113 },
56114 _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
56115 return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
56116 },
56117 _async_evaluate$_performInterpolation$1(interpolation) {
56118 return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
56119 },
56120 _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
56121 var $async$goto = 0,
56122 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
56123 $async$returnValue, $async$self = this, $async$temp1;
56124 var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56125 if ($async$errorCode === 1)
56126 return A._asyncRethrow($async$result, $async$completer);
56127 while (true)
56128 switch ($async$goto) {
56129 case 0:
56130 // Function start
56131 $async$temp1 = J;
56132 $async$goto = 3;
56133 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);
56134 case 3:
56135 // returning from await.
56136 $async$returnValue = $async$temp1.join$0$ax($async$result);
56137 // goto return
56138 $async$goto = 1;
56139 break;
56140 case 1:
56141 // return
56142 return A._asyncReturn($async$returnValue, $async$completer);
56143 }
56144 });
56145 return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
56146 },
56147 _evaluateToCss$2$quote(expression, quote) {
56148 return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
56149 },
56150 _evaluateToCss$1(expression) {
56151 return this._evaluateToCss$2$quote(expression, true);
56152 },
56153 _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
56154 var $async$goto = 0,
56155 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
56156 $async$returnValue, $async$self = this;
56157 var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56158 if ($async$errorCode === 1)
56159 return A._asyncRethrow($async$result, $async$completer);
56160 while (true)
56161 switch ($async$goto) {
56162 case 0:
56163 // Function start
56164 $async$goto = 3;
56165 return A._asyncAwait(expression.accept$1($async$self), $async$_evaluateToCss$2$quote);
56166 case 3:
56167 // returning from await.
56168 $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
56169 // goto return
56170 $async$goto = 1;
56171 break;
56172 case 1:
56173 // return
56174 return A._asyncReturn($async$returnValue, $async$completer);
56175 }
56176 });
56177 return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
56178 },
56179 _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
56180 return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
56181 },
56182 _async_evaluate$_serialize$2(value, nodeWithSpan) {
56183 return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
56184 },
56185 _async_evaluate$_expressionNode$1(expression) {
56186 var t1;
56187 if (expression instanceof A.VariableExpression) {
56188 t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
56189 return t1 == null ? expression : t1;
56190 } else
56191 return expression;
56192 },
56193 _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
56194 return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
56195 },
56196 _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
56197 return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
56198 },
56199 _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
56200 return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
56201 },
56202 _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
56203 var $async$goto = 0,
56204 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56205 $async$returnValue, $async$self = this, t1, result;
56206 var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56207 if ($async$errorCode === 1)
56208 return A._asyncRethrow($async$result, $async$completer);
56209 while (true)
56210 switch ($async$goto) {
56211 case 0:
56212 // Function start
56213 $async$self._async_evaluate$_addChild$2$through(node, through);
56214 t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
56215 $async$self._async_evaluate$__parent = node;
56216 $async$goto = 3;
56217 return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
56218 case 3:
56219 // returning from await.
56220 result = $async$result;
56221 $async$self._async_evaluate$__parent = t1;
56222 $async$returnValue = result;
56223 // goto return
56224 $async$goto = 1;
56225 break;
56226 case 1:
56227 // return
56228 return A._asyncReturn($async$returnValue, $async$completer);
56229 }
56230 });
56231 return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
56232 },
56233 _async_evaluate$_addChild$2$through(node, through) {
56234 var grandparent, t1,
56235 $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
56236 if (through != null) {
56237 for (; through.call$1($parent); $parent = grandparent) {
56238 grandparent = $parent._parent;
56239 if (grandparent == null)
56240 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
56241 }
56242 if ($parent.get$hasFollowingSibling()) {
56243 t1 = $parent._parent;
56244 t1.toString;
56245 $parent = $parent.copyWithoutChildren$0();
56246 t1.addChild$1($parent);
56247 }
56248 }
56249 $parent.addChild$1(node);
56250 },
56251 _async_evaluate$_addChild$1(node) {
56252 return this._async_evaluate$_addChild$2$through(node, null);
56253 },
56254 _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
56255 return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
56256 },
56257 _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
56258 var $async$goto = 0,
56259 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56260 $async$returnValue, $async$self = this, result, oldRule;
56261 var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56262 if ($async$errorCode === 1)
56263 return A._asyncRethrow($async$result, $async$completer);
56264 while (true)
56265 switch ($async$goto) {
56266 case 0:
56267 // Function start
56268 oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
56269 $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
56270 $async$goto = 3;
56271 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
56272 case 3:
56273 // returning from await.
56274 result = $async$result;
56275 $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
56276 $async$returnValue = result;
56277 // goto return
56278 $async$goto = 1;
56279 break;
56280 case 1:
56281 // return
56282 return A._asyncReturn($async$returnValue, $async$completer);
56283 }
56284 });
56285 return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
56286 },
56287 _async_evaluate$_withMediaQueries$1$2(queries, callback, $T) {
56288 return this._withMediaQueries$body$_EvaluateVisitor(queries, callback, $T, $T);
56289 },
56290 _withMediaQueries$body$_EvaluateVisitor(queries, callback, $T, $async$type) {
56291 var $async$goto = 0,
56292 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56293 $async$returnValue, $async$self = this, result, oldMediaQueries;
56294 var $async$_async_evaluate$_withMediaQueries$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56295 if ($async$errorCode === 1)
56296 return A._asyncRethrow($async$result, $async$completer);
56297 while (true)
56298 switch ($async$goto) {
56299 case 0:
56300 // Function start
56301 oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
56302 $async$self._async_evaluate$_mediaQueries = queries;
56303 $async$goto = 3;
56304 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$2);
56305 case 3:
56306 // returning from await.
56307 result = $async$result;
56308 $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
56309 $async$returnValue = result;
56310 // goto return
56311 $async$goto = 1;
56312 break;
56313 case 1:
56314 // return
56315 return A._asyncReturn($async$returnValue, $async$completer);
56316 }
56317 });
56318 return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$2, $async$completer);
56319 },
56320 _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
56321 return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
56322 },
56323 _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
56324 var $async$goto = 0,
56325 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56326 $async$returnValue, $async$self = this, oldMember, result, t1;
56327 var $async$_async_evaluate$_withStackFrame$1$3 = 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$_stack;
56335 t1.push(new A.Tuple2($async$self._async_evaluate$_member, nodeWithSpan, type$.Tuple2_String_AstNode));
56336 oldMember = $async$self._async_evaluate$_member;
56337 $async$self._async_evaluate$_member = member;
56338 $async$goto = 3;
56339 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
56340 case 3:
56341 // returning from await.
56342 result = $async$result;
56343 $async$self._async_evaluate$_member = oldMember;
56344 t1.pop();
56345 $async$returnValue = result;
56346 // goto return
56347 $async$goto = 1;
56348 break;
56349 case 1:
56350 // return
56351 return A._asyncReturn($async$returnValue, $async$completer);
56352 }
56353 });
56354 return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
56355 },
56356 _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
56357 if (value instanceof A.SassNumber && value.asSlash != null)
56358 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);
56359 return value.withoutSlash$0();
56360 },
56361 _async_evaluate$_stackFrame$2(member, span) {
56362 return A.frameForSpan(span, member, A.NullableExtension_andThen(span.file.url, new A._EvaluateVisitor__stackFrame_closure0(this)));
56363 },
56364 _async_evaluate$_stackTrace$1(span) {
56365 var _this = this,
56366 t1 = _this._async_evaluate$_stack;
56367 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);
56368 if (span != null)
56369 t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
56370 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
56371 },
56372 _async_evaluate$_stackTrace$0() {
56373 return this._async_evaluate$_stackTrace$1(null);
56374 },
56375 _async_evaluate$_warn$3$deprecation(message, span, deprecation) {
56376 var _this = this;
56377 if (_this._async_evaluate$_quietDeps && _this._async_evaluate$_inDependency)
56378 return;
56379 if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
56380 return;
56381 _this._async_evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate$_stackTrace$1(span));
56382 },
56383 _async_evaluate$_warn$2(message, span) {
56384 return this._async_evaluate$_warn$3$deprecation(message, span, false);
56385 },
56386 _async_evaluate$_exception$2(message, span) {
56387 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2) : span;
56388 return new A.SassRuntimeException(this._async_evaluate$_stackTrace$1(span), message, t1);
56389 },
56390 _async_evaluate$_exception$1(message) {
56391 return this._async_evaluate$_exception$2(message, null);
56392 },
56393 _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
56394 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2);
56395 return new A.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
56396 },
56397 _async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback) {
56398 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
56399 try {
56400 t1 = callback.call$0();
56401 return t1;
56402 } catch (exception) {
56403 t1 = A.unwrapException(exception);
56404 if (t1 instanceof A.SassFormatException) {
56405 error = t1;
56406 stackTrace = A.getTraceFromException(exception);
56407 t1 = error;
56408 t2 = J.getInterceptor$z(t1);
56409 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
56410 span = nodeWithSpan.get$span(nodeWithSpan);
56411 t1 = span;
56412 t2 = span;
56413 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);
56414 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
56415 t1 = span;
56416 t1 = A.FileLocation$_(t1.file, t1._file$_start);
56417 t3 = error;
56418 t4 = J.getInterceptor$z(t3);
56419 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
56420 t3 = A.FileLocation$_(t3.file, t3._file$_start);
56421 t4 = span;
56422 t4 = A.FileLocation$_(t4.file, t4._file$_start);
56423 t5 = error;
56424 t6 = J.getInterceptor$z(t5);
56425 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
56426 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
56427 A.throwWithTrace(this._async_evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
56428 } else
56429 throw exception;
56430 }
56431 },
56432 _async_evaluate$_adjustParseError$2(nodeWithSpan, callback) {
56433 return this._async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
56434 },
56435 _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
56436 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
56437 try {
56438 t1 = callback.call$0();
56439 return t1;
56440 } catch (exception) {
56441 t1 = A.unwrapException(exception);
56442 if (t1 instanceof A.MultiSpanSassScriptException) {
56443 error = t1;
56444 stackTrace = A.getTraceFromException(exception);
56445 t1 = error.message;
56446 t2 = nodeWithSpan.get$span(nodeWithSpan);
56447 t3 = error.primaryLabel;
56448 t4 = error.secondarySpans;
56449 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);
56450 } else if (t1 instanceof A.SassScriptException) {
56451 error0 = t1;
56452 stackTrace0 = A.getTraceFromException(exception);
56453 A.throwWithTrace(this._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
56454 } else
56455 throw exception;
56456 }
56457 },
56458 _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
56459 return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
56460 },
56461 _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
56462 return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
56463 },
56464 _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
56465 var $async$goto = 0,
56466 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56467 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
56468 var $async$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56469 if ($async$errorCode === 1) {
56470 $async$currentError = $async$result;
56471 $async$goto = $async$handler;
56472 }
56473 while (true)
56474 switch ($async$goto) {
56475 case 0:
56476 // Function start
56477 $async$handler = 4;
56478 $async$goto = 7;
56479 return A._asyncAwait(callback.call$0(), $async$_addExceptionSpanAsync$1$2);
56480 case 7:
56481 // returning from await.
56482 t1 = $async$result;
56483 $async$returnValue = t1;
56484 // goto return
56485 $async$goto = 1;
56486 break;
56487 $async$handler = 2;
56488 // goto after finally
56489 $async$goto = 6;
56490 break;
56491 case 4:
56492 // catch
56493 $async$handler = 3;
56494 $async$exception = $async$currentError;
56495 t1 = A.unwrapException($async$exception);
56496 if (t1 instanceof A.MultiSpanSassScriptException) {
56497 error = t1;
56498 stackTrace = A.getTraceFromException($async$exception);
56499 t1 = error.message;
56500 t2 = nodeWithSpan.get$span(nodeWithSpan);
56501 t3 = error.primaryLabel;
56502 t4 = error.secondarySpans;
56503 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);
56504 } else if (t1 instanceof A.SassScriptException) {
56505 error0 = t1;
56506 stackTrace0 = A.getTraceFromException($async$exception);
56507 A.throwWithTrace($async$self._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
56508 } else
56509 throw $async$exception;
56510 // goto after finally
56511 $async$goto = 6;
56512 break;
56513 case 3:
56514 // uncaught
56515 // goto rethrow
56516 $async$goto = 2;
56517 break;
56518 case 6:
56519 // after finally
56520 case 1:
56521 // return
56522 return A._asyncReturn($async$returnValue, $async$completer);
56523 case 2:
56524 // rethrow
56525 return A._asyncRethrow($async$currentError, $async$completer);
56526 }
56527 });
56528 return A._asyncStartSync($async$_addExceptionSpanAsync$1$2, $async$completer);
56529 },
56530 _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
56531 return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
56532 },
56533 _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
56534 var $async$goto = 0,
56535 $async$completer = A._makeAsyncAwaitCompleter($async$type),
56536 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
56537 var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56538 if ($async$errorCode === 1) {
56539 $async$currentError = $async$result;
56540 $async$goto = $async$handler;
56541 }
56542 while (true)
56543 switch ($async$goto) {
56544 case 0:
56545 // Function start
56546 $async$handler = 4;
56547 $async$goto = 7;
56548 return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
56549 case 7:
56550 // returning from await.
56551 t1 = $async$result;
56552 $async$returnValue = t1;
56553 // goto return
56554 $async$goto = 1;
56555 break;
56556 $async$handler = 2;
56557 // goto after finally
56558 $async$goto = 6;
56559 break;
56560 case 4:
56561 // catch
56562 $async$handler = 3;
56563 $async$exception = $async$currentError;
56564 t1 = A.unwrapException($async$exception);
56565 if (type$.SassRuntimeException._is(t1)) {
56566 error = t1;
56567 stackTrace = A.getTraceFromException($async$exception);
56568 t1 = J.get$span$z(error);
56569 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"))
56570 throw $async$exception;
56571 t1 = error._span_exception$_message;
56572 t2 = nodeWithSpan.get$span(nodeWithSpan);
56573 A.throwWithTrace(new A.SassRuntimeException($async$self._async_evaluate$_stackTrace$0(), t1, t2), stackTrace);
56574 } else
56575 throw $async$exception;
56576 // goto after finally
56577 $async$goto = 6;
56578 break;
56579 case 3:
56580 // uncaught
56581 // goto rethrow
56582 $async$goto = 2;
56583 break;
56584 case 6:
56585 // after finally
56586 case 1:
56587 // return
56588 return A._asyncReturn($async$returnValue, $async$completer);
56589 case 2:
56590 // rethrow
56591 return A._asyncRethrow($async$currentError, $async$completer);
56592 }
56593 });
56594 return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
56595 }
56596 };
56597 A._EvaluateVisitor_closure9.prototype = {
56598 call$1($arguments) {
56599 var module, t2,
56600 t1 = J.getInterceptor$asx($arguments),
56601 variable = t1.$index($arguments, 0).assertString$1("name");
56602 t1 = t1.$index($arguments, 1).get$realNull();
56603 module = t1 == null ? null : t1.assertString$1("module");
56604 t1 = this.$this._async_evaluate$_environment;
56605 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
56606 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
56607 },
56608 $signature: 17
56609 };
56610 A._EvaluateVisitor_closure10.prototype = {
56611 call$1($arguments) {
56612 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
56613 t1 = this.$this._async_evaluate$_environment;
56614 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
56615 },
56616 $signature: 17
56617 };
56618 A._EvaluateVisitor_closure11.prototype = {
56619 call$1($arguments) {
56620 var module, t2, t3, t4,
56621 t1 = J.getInterceptor$asx($arguments),
56622 variable = t1.$index($arguments, 0).assertString$1("name");
56623 t1 = t1.$index($arguments, 1).get$realNull();
56624 module = t1 == null ? null : t1.assertString$1("module");
56625 t1 = this.$this;
56626 t2 = t1._async_evaluate$_environment;
56627 t3 = variable._string$_text;
56628 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
56629 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;
56630 },
56631 $signature: 17
56632 };
56633 A._EvaluateVisitor_closure12.prototype = {
56634 call$1($arguments) {
56635 var module, t2,
56636 t1 = J.getInterceptor$asx($arguments),
56637 variable = t1.$index($arguments, 0).assertString$1("name");
56638 t1 = t1.$index($arguments, 1).get$realNull();
56639 module = t1 == null ? null : t1.assertString$1("module");
56640 t1 = this.$this._async_evaluate$_environment;
56641 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
56642 return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
56643 },
56644 $signature: 17
56645 };
56646 A._EvaluateVisitor_closure13.prototype = {
56647 call$1($arguments) {
56648 var t1 = this.$this._async_evaluate$_environment;
56649 if (!t1._async_environment$_inMixin)
56650 throw A.wrapException(A.SassScriptException$(string$.conten));
56651 return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
56652 },
56653 $signature: 17
56654 };
56655 A._EvaluateVisitor_closure14.prototype = {
56656 call$1($arguments) {
56657 var t2, t3, t4,
56658 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
56659 module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
56660 if (module == null)
56661 throw A.wrapException('There is no module with namespace "' + t1 + '".');
56662 t1 = type$.Value;
56663 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
56664 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
56665 t4 = t3.get$current(t3);
56666 t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
56667 }
56668 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
56669 },
56670 $signature: 40
56671 };
56672 A._EvaluateVisitor_closure15.prototype = {
56673 call$1($arguments) {
56674 var t2, t3, t4,
56675 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
56676 module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
56677 if (module == null)
56678 throw A.wrapException('There is no module with namespace "' + t1 + '".');
56679 t1 = type$.Value;
56680 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
56681 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
56682 t4 = t3.get$current(t3);
56683 t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
56684 }
56685 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
56686 },
56687 $signature: 40
56688 };
56689 A._EvaluateVisitor_closure16.prototype = {
56690 call$1($arguments) {
56691 var module, callable, t2,
56692 t1 = J.getInterceptor$asx($arguments),
56693 $name = t1.$index($arguments, 0).assertString$1("name"),
56694 css = t1.$index($arguments, 1).get$isTruthy();
56695 t1 = t1.$index($arguments, 2).get$realNull();
56696 module = t1 == null ? null : t1.assertString$1("module");
56697 if (css && module != null)
56698 throw A.wrapException(string$.x24css_a);
56699 if (css)
56700 callable = new A.PlainCssCallable($name._string$_text);
56701 else {
56702 t1 = this.$this;
56703 t2 = t1._async_evaluate$_callableNode;
56704 t2.toString;
56705 callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure4(t1, $name, module));
56706 }
56707 if (callable != null)
56708 return new A.SassFunction(callable);
56709 throw A.wrapException("Function not found: " + $name.toString$0(0));
56710 },
56711 $signature: 213
56712 };
56713 A._EvaluateVisitor__closure4.prototype = {
56714 call$0() {
56715 var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
56716 t2 = this.module;
56717 t2 = t2 == null ? null : t2._string$_text;
56718 return this.$this._async_evaluate$_getFunction$2$namespace(t1, t2);
56719 },
56720 $signature: 105
56721 };
56722 A._EvaluateVisitor_closure17.prototype = {
56723 call$1($arguments) {
56724 return this.$call$body$_EvaluateVisitor_closure0($arguments);
56725 },
56726 $call$body$_EvaluateVisitor_closure0($arguments) {
56727 var $async$goto = 0,
56728 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
56729 $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
56730 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56731 if ($async$errorCode === 1)
56732 return A._asyncRethrow($async$result, $async$completer);
56733 while (true)
56734 switch ($async$goto) {
56735 case 0:
56736 // Function start
56737 t1 = J.getInterceptor$asx($arguments);
56738 $function = t1.$index($arguments, 0);
56739 args = type$.SassArgumentList._as(t1.$index($arguments, 1));
56740 t1 = $async$self.$this;
56741 t2 = t1._async_evaluate$_callableNode;
56742 t2.toString;
56743 t3 = A._setArrayType([], type$.JSArray_Expression);
56744 t4 = type$.String;
56745 t5 = type$.Expression;
56746 t6 = t2.get$span(t2);
56747 t7 = t2.get$span(t2);
56748 args._wereKeywordsAccessed = true;
56749 t8 = args._keywords;
56750 if (t8.get$isEmpty(t8))
56751 t2 = null;
56752 else {
56753 t9 = type$.Value;
56754 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
56755 for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
56756 t11 = t8.get$current(t8);
56757 t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
56758 }
56759 t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
56760 }
56761 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);
56762 $async$goto = $function instanceof A.SassString ? 3 : 4;
56763 break;
56764 case 3:
56765 // then
56766 t2 = string$.Passin + $function.toString$0(0) + "))";
56767 A.EvaluationContext_current().warn$2$deprecation(0, t2, true);
56768 callableNode = t1._async_evaluate$_callableNode;
56769 $async$goto = 5;
56770 return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
56771 case 5:
56772 // returning from await.
56773 $async$returnValue = $async$result;
56774 // goto return
56775 $async$goto = 1;
56776 break;
56777 case 4:
56778 // join
56779 t2 = $function.assertFunction$1("function");
56780 t3 = t1._async_evaluate$_callableNode;
56781 t3.toString;
56782 $async$goto = 6;
56783 return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
56784 case 6:
56785 // returning from await.
56786 $async$returnValue = $async$result;
56787 // goto return
56788 $async$goto = 1;
56789 break;
56790 case 1:
56791 // return
56792 return A._asyncReturn($async$returnValue, $async$completer);
56793 }
56794 });
56795 return A._asyncStartSync($async$call$1, $async$completer);
56796 },
56797 $signature: 170
56798 };
56799 A._EvaluateVisitor_closure18.prototype = {
56800 call$1($arguments) {
56801 return this.$call$body$_EvaluateVisitor_closure($arguments);
56802 },
56803 $call$body$_EvaluateVisitor_closure($arguments) {
56804 var $async$goto = 0,
56805 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
56806 $async$self = this, withMap, t2, values, configuration, t1, url;
56807 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56808 if ($async$errorCode === 1)
56809 return A._asyncRethrow($async$result, $async$completer);
56810 while (true)
56811 switch ($async$goto) {
56812 case 0:
56813 // Function start
56814 t1 = J.getInterceptor$asx($arguments);
56815 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
56816 t1 = t1.$index($arguments, 1).get$realNull();
56817 withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
56818 t1 = $async$self.$this;
56819 t2 = t1._async_evaluate$_callableNode;
56820 t2.toString;
56821 if (withMap != null) {
56822 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
56823 withMap.forEach$1(0, new A._EvaluateVisitor__closure2(values, t2.get$span(t2), t2));
56824 configuration = new A.ExplicitConfiguration(t2, values);
56825 } else
56826 configuration = B.Configuration_Map_empty;
56827 $async$goto = 2;
56828 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);
56829 case 2:
56830 // returning from await.
56831 t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
56832 // implicit return
56833 return A._asyncReturn(null, $async$completer);
56834 }
56835 });
56836 return A._asyncStartSync($async$call$1, $async$completer);
56837 },
56838 $signature: 430
56839 };
56840 A._EvaluateVisitor__closure2.prototype = {
56841 call$2(variable, value) {
56842 var t1 = variable.assertString$1("with key"),
56843 $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
56844 t1 = this.values;
56845 if (t1.containsKey$1($name))
56846 throw A.wrapException("The variable $" + $name + " was configured twice.");
56847 t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
56848 },
56849 $signature: 50
56850 };
56851 A._EvaluateVisitor__closure3.prototype = {
56852 call$1(module) {
56853 var t1 = this.$this;
56854 return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
56855 },
56856 $signature: 212
56857 };
56858 A._EvaluateVisitor_run_closure0.prototype = {
56859 call$0() {
56860 var $async$goto = 0,
56861 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
56862 $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
56863 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56864 if ($async$errorCode === 1)
56865 return A._asyncRethrow($async$result, $async$completer);
56866 while (true)
56867 switch ($async$goto) {
56868 case 0:
56869 // Function start
56870 t1 = $async$self.node;
56871 url = t1.span.file.url;
56872 if (url != null) {
56873 t2 = $async$self.$this;
56874 t2._async_evaluate$_activeModules.$indexSet(0, url, null);
56875 t2._async_evaluate$_loadedUrls.add$1(0, url);
56876 }
56877 t2 = $async$self.$this;
56878 $async$temp1 = A;
56879 $async$temp2 = t2;
56880 $async$goto = 3;
56881 return A._asyncAwait(t2._async_evaluate$_execute$2($async$self.importer, t1), $async$call$0);
56882 case 3:
56883 // returning from await.
56884 $async$returnValue = new $async$temp1.EvaluateResult($async$temp2._async_evaluate$_combineCss$1($async$result));
56885 // goto return
56886 $async$goto = 1;
56887 break;
56888 case 1:
56889 // return
56890 return A._asyncReturn($async$returnValue, $async$completer);
56891 }
56892 });
56893 return A._asyncStartSync($async$call$0, $async$completer);
56894 },
56895 $signature: 445
56896 };
56897 A._EvaluateVisitor__loadModule_closure1.prototype = {
56898 call$0() {
56899 return this.callback.call$1(this.builtInModule);
56900 },
56901 $signature: 0
56902 };
56903 A._EvaluateVisitor__loadModule_closure2.prototype = {
56904 call$0() {
56905 var $async$goto = 0,
56906 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
56907 $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;
56908 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
56909 if ($async$errorCode === 1) {
56910 $async$currentError = $async$result;
56911 $async$goto = $async$handler;
56912 }
56913 while (true)
56914 switch ($async$goto) {
56915 case 0:
56916 // Function start
56917 t1 = $async$self.$this;
56918 t2 = $async$self.nodeWithSpan;
56919 $async$goto = 2;
56920 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);
56921 case 2:
56922 // returning from await.
56923 result = $async$result;
56924 stylesheet = result.stylesheet;
56925 canonicalUrl = stylesheet.span.file.url;
56926 if (canonicalUrl != null && t1._async_evaluate$_activeModules.containsKey$1(canonicalUrl)) {
56927 message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
56928 t2 = A.NullableExtension_andThen(t1._async_evaluate$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure0(t1, message));
56929 throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1(message) : t2);
56930 }
56931 if (canonicalUrl != null)
56932 t1._async_evaluate$_activeModules.$indexSet(0, canonicalUrl, t2);
56933 oldInDependency = t1._async_evaluate$_inDependency;
56934 t1._async_evaluate$_inDependency = result.isDependency;
56935 module = null;
56936 $async$handler = 3;
56937 $async$goto = 6;
56938 return A._asyncAwait(t1._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
56939 case 6:
56940 // returning from await.
56941 module = $async$result;
56942 $async$next.push(5);
56943 // goto finally
56944 $async$goto = 4;
56945 break;
56946 case 3:
56947 // uncaught
56948 $async$next = [1];
56949 case 4:
56950 // finally
56951 $async$handler = 1;
56952 t1._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
56953 t1._async_evaluate$_inDependency = oldInDependency;
56954 // goto the next finally handler
56955 $async$goto = $async$next.pop();
56956 break;
56957 case 5:
56958 // after finally
56959 $async$handler = 8;
56960 $async$goto = 11;
56961 return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
56962 case 11:
56963 // returning from await.
56964 $async$handler = 1;
56965 // goto after finally
56966 $async$goto = 10;
56967 break;
56968 case 8:
56969 // catch
56970 $async$handler = 7;
56971 $async$exception = $async$currentError;
56972 t2 = A.unwrapException($async$exception);
56973 if (type$.SassRuntimeException._is(t2))
56974 throw $async$exception;
56975 else if (t2 instanceof A.MultiSpanSassException) {
56976 error = t2;
56977 stackTrace = A.getTraceFromException($async$exception);
56978 t2 = error._span_exception$_message;
56979 t3 = error;
56980 t4 = J.getInterceptor$z(t3);
56981 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
56982 t4 = error.primaryLabel;
56983 t5 = error.secondarySpans;
56984 t6 = error;
56985 t7 = J.getInterceptor$z(t6);
56986 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);
56987 } else if (t2 instanceof A.SassException) {
56988 error0 = t2;
56989 stackTrace0 = A.getTraceFromException($async$exception);
56990 t2 = error0;
56991 t3 = J.getInterceptor$z(t2);
56992 A.throwWithTrace(t1._async_evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
56993 } else if (t2 instanceof A.MultiSpanSassScriptException) {
56994 error1 = t2;
56995 stackTrace1 = A.getTraceFromException($async$exception);
56996 A.throwWithTrace(t1._async_evaluate$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
56997 } else if (t2 instanceof A.SassScriptException) {
56998 error2 = t2;
56999 stackTrace2 = A.getTraceFromException($async$exception);
57000 A.throwWithTrace(t1._async_evaluate$_exception$1(error2.message), stackTrace2);
57001 } else
57002 throw $async$exception;
57003 // goto after finally
57004 $async$goto = 10;
57005 break;
57006 case 7:
57007 // uncaught
57008 // goto rethrow
57009 $async$goto = 1;
57010 break;
57011 case 10:
57012 // after finally
57013 // implicit return
57014 return A._asyncReturn(null, $async$completer);
57015 case 1:
57016 // rethrow
57017 return A._asyncRethrow($async$currentError, $async$completer);
57018 }
57019 });
57020 return A._asyncStartSync($async$call$0, $async$completer);
57021 },
57022 $signature: 2
57023 };
57024 A._EvaluateVisitor__loadModule__closure0.prototype = {
57025 call$1(previousLoad) {
57026 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));
57027 },
57028 $signature: 91
57029 };
57030 A._EvaluateVisitor__execute_closure0.prototype = {
57031 call$0() {
57032 var $async$goto = 0,
57033 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57034 $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
57035 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57036 if ($async$errorCode === 1)
57037 return A._asyncRethrow($async$result, $async$completer);
57038 while (true)
57039 switch ($async$goto) {
57040 case 0:
57041 // Function start
57042 t1 = $async$self.$this;
57043 oldImporter = t1._async_evaluate$_importer;
57044 oldStylesheet = t1._async_evaluate$__stylesheet;
57045 oldRoot = t1._async_evaluate$__root;
57046 oldParent = t1._async_evaluate$__parent;
57047 oldEndOfImports = t1._async_evaluate$__endOfImports;
57048 oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
57049 oldExtensionStore = t1._async_evaluate$__extensionStore;
57050 t2 = t1._async_evaluate$_atRootExcludingStyleRule;
57051 oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
57052 oldMediaQueries = t1._async_evaluate$_mediaQueries;
57053 oldDeclarationName = t1._async_evaluate$_declarationName;
57054 oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
57055 oldInKeyframes = t1._async_evaluate$_inKeyframes;
57056 oldConfiguration = t1._async_evaluate$_configuration;
57057 t1._async_evaluate$_importer = $async$self.importer;
57058 t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
57059 t4 = t3.span;
57060 t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
57061 t1._async_evaluate$__endOfImports = 0;
57062 t1._async_evaluate$_outOfOrderImports = null;
57063 t1._async_evaluate$__extensionStore = $async$self.extensionStore;
57064 t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
57065 t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
57066 t6 = $async$self.configuration;
57067 if (t6 != null)
57068 t1._async_evaluate$_configuration = t6;
57069 $async$goto = 2;
57070 return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
57071 case 2:
57072 // returning from await.
57073 t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
57074 $async$self.css._value = t3;
57075 t1._async_evaluate$_importer = oldImporter;
57076 t1._async_evaluate$__stylesheet = oldStylesheet;
57077 t1._async_evaluate$__root = oldRoot;
57078 t1._async_evaluate$__parent = oldParent;
57079 t1._async_evaluate$__endOfImports = oldEndOfImports;
57080 t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
57081 t1._async_evaluate$__extensionStore = oldExtensionStore;
57082 t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
57083 t1._async_evaluate$_mediaQueries = oldMediaQueries;
57084 t1._async_evaluate$_declarationName = oldDeclarationName;
57085 t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
57086 t1._async_evaluate$_atRootExcludingStyleRule = t2;
57087 t1._async_evaluate$_inKeyframes = oldInKeyframes;
57088 t1._async_evaluate$_configuration = oldConfiguration;
57089 // implicit return
57090 return A._asyncReturn(null, $async$completer);
57091 }
57092 });
57093 return A._asyncStartSync($async$call$0, $async$completer);
57094 },
57095 $signature: 2
57096 };
57097 A._EvaluateVisitor__combineCss_closure2.prototype = {
57098 call$1(module) {
57099 return module.get$transitivelyContainsCss();
57100 },
57101 $signature: 134
57102 };
57103 A._EvaluateVisitor__combineCss_closure3.prototype = {
57104 call$1(target) {
57105 return !this.selectors.contains$1(0, target);
57106 },
57107 $signature: 16
57108 };
57109 A._EvaluateVisitor__combineCss_closure4.prototype = {
57110 call$1(module) {
57111 return module.cloneCss$0();
57112 },
57113 $signature: 453
57114 };
57115 A._EvaluateVisitor__extendModules_closure1.prototype = {
57116 call$1(target) {
57117 return !this.originalSelectors.contains$1(0, target);
57118 },
57119 $signature: 16
57120 };
57121 A._EvaluateVisitor__extendModules_closure2.prototype = {
57122 call$0() {
57123 return A._setArrayType([], type$.JSArray_ExtensionStore);
57124 },
57125 $signature: 206
57126 };
57127 A._EvaluateVisitor__topologicalModules_visitModule0.prototype = {
57128 call$1(module) {
57129 var t1, t2, t3, _i, upstream;
57130 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
57131 upstream = t1[_i];
57132 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
57133 this.call$1(upstream);
57134 }
57135 this.sorted.addFirst$1(module);
57136 },
57137 $signature: 212
57138 };
57139 A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
57140 call$0() {
57141 var t1 = A.SpanScanner$(this.resolved, null);
57142 return new A.AtRootQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
57143 },
57144 $signature: 102
57145 };
57146 A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
57147 call$0() {
57148 var $async$goto = 0,
57149 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57150 $async$self = this, t1, t2, t3, _i;
57151 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57152 if ($async$errorCode === 1)
57153 return A._asyncRethrow($async$result, $async$completer);
57154 while (true)
57155 switch ($async$goto) {
57156 case 0:
57157 // Function start
57158 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57159 case 2:
57160 // for condition
57161 if (!(_i < t2)) {
57162 // goto after for
57163 $async$goto = 4;
57164 break;
57165 }
57166 $async$goto = 5;
57167 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57168 case 5:
57169 // returning from await.
57170 case 3:
57171 // for update
57172 ++_i;
57173 // goto for condition
57174 $async$goto = 2;
57175 break;
57176 case 4:
57177 // after for
57178 // implicit return
57179 return A._asyncReturn(null, $async$completer);
57180 }
57181 });
57182 return A._asyncStartSync($async$call$0, $async$completer);
57183 },
57184 $signature: 2
57185 };
57186 A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
57187 call$0() {
57188 var $async$goto = 0,
57189 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
57190 $async$self = this, t1, t2, t3, _i;
57191 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57192 if ($async$errorCode === 1)
57193 return A._asyncRethrow($async$result, $async$completer);
57194 while (true)
57195 switch ($async$goto) {
57196 case 0:
57197 // Function start
57198 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57199 case 2:
57200 // for condition
57201 if (!(_i < t2)) {
57202 // goto after for
57203 $async$goto = 4;
57204 break;
57205 }
57206 $async$goto = 5;
57207 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57208 case 5:
57209 // returning from await.
57210 case 3:
57211 // for update
57212 ++_i;
57213 // goto for condition
57214 $async$goto = 2;
57215 break;
57216 case 4:
57217 // after for
57218 // implicit return
57219 return A._asyncReturn(null, $async$completer);
57220 }
57221 });
57222 return A._asyncStartSync($async$call$0, $async$completer);
57223 },
57224 $signature: 37
57225 };
57226 A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
57227 call$1(callback) {
57228 var $async$goto = 0,
57229 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57230 $async$self = this, t1, t2;
57231 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57232 if ($async$errorCode === 1)
57233 return A._asyncRethrow($async$result, $async$completer);
57234 while (true)
57235 switch ($async$goto) {
57236 case 0:
57237 // Function start
57238 t1 = $async$self.$this;
57239 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
57240 t1._async_evaluate$__parent = $async$self.newParent;
57241 $async$goto = 2;
57242 return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
57243 case 2:
57244 // returning from await.
57245 t1._async_evaluate$__parent = t2;
57246 // implicit return
57247 return A._asyncReturn(null, $async$completer);
57248 }
57249 });
57250 return A._asyncStartSync($async$call$1, $async$completer);
57251 },
57252 $signature: 31
57253 };
57254 A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
57255 call$1(callback) {
57256 var $async$goto = 0,
57257 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57258 $async$self = this, t1, oldAtRootExcludingStyleRule;
57259 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57260 if ($async$errorCode === 1)
57261 return A._asyncRethrow($async$result, $async$completer);
57262 while (true)
57263 switch ($async$goto) {
57264 case 0:
57265 // Function start
57266 t1 = $async$self.$this;
57267 oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
57268 t1._async_evaluate$_atRootExcludingStyleRule = true;
57269 $async$goto = 2;
57270 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57271 case 2:
57272 // returning from await.
57273 t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
57274 // implicit return
57275 return A._asyncReturn(null, $async$completer);
57276 }
57277 });
57278 return A._asyncStartSync($async$call$1, $async$completer);
57279 },
57280 $signature: 31
57281 };
57282 A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
57283 call$1(callback) {
57284 return this.$this._async_evaluate$_withMediaQueries$1$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
57285 },
57286 $signature: 31
57287 };
57288 A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
57289 call$0() {
57290 return this.innerScope.call$1(this.callback);
57291 },
57292 $signature: 2
57293 };
57294 A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
57295 call$1(callback) {
57296 var $async$goto = 0,
57297 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57298 $async$self = this, t1, wasInKeyframes;
57299 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57300 if ($async$errorCode === 1)
57301 return A._asyncRethrow($async$result, $async$completer);
57302 while (true)
57303 switch ($async$goto) {
57304 case 0:
57305 // Function start
57306 t1 = $async$self.$this;
57307 wasInKeyframes = t1._async_evaluate$_inKeyframes;
57308 t1._async_evaluate$_inKeyframes = false;
57309 $async$goto = 2;
57310 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57311 case 2:
57312 // returning from await.
57313 t1._async_evaluate$_inKeyframes = wasInKeyframes;
57314 // implicit return
57315 return A._asyncReturn(null, $async$completer);
57316 }
57317 });
57318 return A._asyncStartSync($async$call$1, $async$completer);
57319 },
57320 $signature: 31
57321 };
57322 A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
57323 call$1($parent) {
57324 return type$.CssAtRule._is($parent);
57325 },
57326 $signature: 204
57327 };
57328 A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
57329 call$1(callback) {
57330 var $async$goto = 0,
57331 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57332 $async$self = this, t1, wasInUnknownAtRule;
57333 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57334 if ($async$errorCode === 1)
57335 return A._asyncRethrow($async$result, $async$completer);
57336 while (true)
57337 switch ($async$goto) {
57338 case 0:
57339 // Function start
57340 t1 = $async$self.$this;
57341 wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
57342 t1._async_evaluate$_inUnknownAtRule = false;
57343 $async$goto = 2;
57344 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
57345 case 2:
57346 // returning from await.
57347 t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
57348 // implicit return
57349 return A._asyncReturn(null, $async$completer);
57350 }
57351 });
57352 return A._asyncStartSync($async$call$1, $async$completer);
57353 },
57354 $signature: 31
57355 };
57356 A._EvaluateVisitor_visitContentRule_closure0.prototype = {
57357 call$0() {
57358 var $async$goto = 0,
57359 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57360 $async$returnValue, $async$self = this, t1, t2, t3, _i;
57361 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57362 if ($async$errorCode === 1)
57363 return A._asyncRethrow($async$result, $async$completer);
57364 while (true)
57365 switch ($async$goto) {
57366 case 0:
57367 // Function start
57368 t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57369 case 3:
57370 // for condition
57371 if (!(_i < t2)) {
57372 // goto after for
57373 $async$goto = 5;
57374 break;
57375 }
57376 $async$goto = 6;
57377 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57378 case 6:
57379 // returning from await.
57380 case 4:
57381 // for update
57382 ++_i;
57383 // goto for condition
57384 $async$goto = 3;
57385 break;
57386 case 5:
57387 // after for
57388 $async$returnValue = null;
57389 // goto return
57390 $async$goto = 1;
57391 break;
57392 case 1:
57393 // return
57394 return A._asyncReturn($async$returnValue, $async$completer);
57395 }
57396 });
57397 return A._asyncStartSync($async$call$0, $async$completer);
57398 },
57399 $signature: 2
57400 };
57401 A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
57402 call$1(value) {
57403 return this.$call$body$_EvaluateVisitor_visitDeclaration_closure(value);
57404 },
57405 $call$body$_EvaluateVisitor_visitDeclaration_closure(value) {
57406 var $async$goto = 0,
57407 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value),
57408 $async$returnValue, $async$self = this, $async$temp1;
57409 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57410 if ($async$errorCode === 1)
57411 return A._asyncRethrow($async$result, $async$completer);
57412 while (true)
57413 switch ($async$goto) {
57414 case 0:
57415 // Function start
57416 $async$temp1 = A;
57417 $async$goto = 3;
57418 return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
57419 case 3:
57420 // returning from await.
57421 $async$returnValue = new $async$temp1.CssValue($async$result, value.get$span(value), type$.CssValue_Value);
57422 // goto return
57423 $async$goto = 1;
57424 break;
57425 case 1:
57426 // return
57427 return A._asyncReturn($async$returnValue, $async$completer);
57428 }
57429 });
57430 return A._asyncStartSync($async$call$1, $async$completer);
57431 },
57432 $signature: 470
57433 };
57434 A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
57435 call$0() {
57436 var $async$goto = 0,
57437 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57438 $async$self = this, t1, t2, t3, _i;
57439 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57440 if ($async$errorCode === 1)
57441 return A._asyncRethrow($async$result, $async$completer);
57442 while (true)
57443 switch ($async$goto) {
57444 case 0:
57445 // Function start
57446 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57447 case 2:
57448 // for condition
57449 if (!(_i < t2)) {
57450 // goto after for
57451 $async$goto = 4;
57452 break;
57453 }
57454 $async$goto = 5;
57455 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57456 case 5:
57457 // returning from await.
57458 case 3:
57459 // for update
57460 ++_i;
57461 // goto for condition
57462 $async$goto = 2;
57463 break;
57464 case 4:
57465 // after for
57466 // implicit return
57467 return A._asyncReturn(null, $async$completer);
57468 }
57469 });
57470 return A._asyncStartSync($async$call$0, $async$completer);
57471 },
57472 $signature: 2
57473 };
57474 A._EvaluateVisitor_visitEachRule_closure2.prototype = {
57475 call$1(value) {
57476 var t1 = this.$this,
57477 t2 = this.nodeWithSpan;
57478 return t1._async_evaluate$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate$_withoutSlash$2(value, t2), t2);
57479 },
57480 $signature: 52
57481 };
57482 A._EvaluateVisitor_visitEachRule_closure3.prototype = {
57483 call$1(value) {
57484 return this.$this._async_evaluate$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
57485 },
57486 $signature: 52
57487 };
57488 A._EvaluateVisitor_visitEachRule_closure4.prototype = {
57489 call$0() {
57490 var _this = this,
57491 t1 = _this.$this;
57492 return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
57493 },
57494 $signature: 67
57495 };
57496 A._EvaluateVisitor_visitEachRule__closure0.prototype = {
57497 call$1(element) {
57498 var t1;
57499 this.setVariables.call$1(element);
57500 t1 = this.$this;
57501 return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
57502 },
57503 $signature: 481
57504 };
57505 A._EvaluateVisitor_visitEachRule___closure0.prototype = {
57506 call$1(child) {
57507 return child.accept$1(this.$this);
57508 },
57509 $signature: 86
57510 };
57511 A._EvaluateVisitor_visitExtendRule_closure0.prototype = {
57512 call$0() {
57513 var t1 = this.targetText;
57514 return A.SelectorList_SelectorList$parse(A.trimAscii(t1.get$value(t1), true), false, true, this.$this._async_evaluate$_logger);
57515 },
57516 $signature: 46
57517 };
57518 A._EvaluateVisitor_visitAtRule_closure2.prototype = {
57519 call$1(value) {
57520 return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
57521 },
57522 $signature: 489
57523 };
57524 A._EvaluateVisitor_visitAtRule_closure3.prototype = {
57525 call$0() {
57526 var $async$goto = 0,
57527 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57528 $async$self = this, t2, t3, _i, t1, styleRule;
57529 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57530 if ($async$errorCode === 1)
57531 return A._asyncRethrow($async$result, $async$completer);
57532 while (true)
57533 switch ($async$goto) {
57534 case 0:
57535 // Function start
57536 t1 = $async$self.$this;
57537 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
57538 $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes ? 2 : 4;
57539 break;
57540 case 2:
57541 // then
57542 t2 = $async$self.children, t3 = t2.length, _i = 0;
57543 case 5:
57544 // for condition
57545 if (!(_i < t3)) {
57546 // goto after for
57547 $async$goto = 7;
57548 break;
57549 }
57550 $async$goto = 8;
57551 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
57552 case 8:
57553 // returning from await.
57554 case 6:
57555 // for update
57556 ++_i;
57557 // goto for condition
57558 $async$goto = 5;
57559 break;
57560 case 7:
57561 // after for
57562 // goto join
57563 $async$goto = 3;
57564 break;
57565 case 4:
57566 // else
57567 $async$goto = 9;
57568 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);
57569 case 9:
57570 // returning from await.
57571 case 3:
57572 // join
57573 // implicit return
57574 return A._asyncReturn(null, $async$completer);
57575 }
57576 });
57577 return A._asyncStartSync($async$call$0, $async$completer);
57578 },
57579 $signature: 2
57580 };
57581 A._EvaluateVisitor_visitAtRule__closure0.prototype = {
57582 call$0() {
57583 var $async$goto = 0,
57584 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57585 $async$self = this, t1, t2, t3, _i;
57586 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57587 if ($async$errorCode === 1)
57588 return A._asyncRethrow($async$result, $async$completer);
57589 while (true)
57590 switch ($async$goto) {
57591 case 0:
57592 // Function start
57593 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
57594 case 2:
57595 // for condition
57596 if (!(_i < t2)) {
57597 // goto after for
57598 $async$goto = 4;
57599 break;
57600 }
57601 $async$goto = 5;
57602 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
57603 case 5:
57604 // returning from await.
57605 case 3:
57606 // for update
57607 ++_i;
57608 // goto for condition
57609 $async$goto = 2;
57610 break;
57611 case 4:
57612 // after for
57613 // implicit return
57614 return A._asyncReturn(null, $async$completer);
57615 }
57616 });
57617 return A._asyncStartSync($async$call$0, $async$completer);
57618 },
57619 $signature: 2
57620 };
57621 A._EvaluateVisitor_visitAtRule_closure4.prototype = {
57622 call$1(node) {
57623 return type$.CssStyleRule._is(node);
57624 },
57625 $signature: 7
57626 };
57627 A._EvaluateVisitor_visitForRule_closure4.prototype = {
57628 call$0() {
57629 var $async$goto = 0,
57630 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
57631 $async$returnValue, $async$self = this;
57632 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57633 if ($async$errorCode === 1)
57634 return A._asyncRethrow($async$result, $async$completer);
57635 while (true)
57636 switch ($async$goto) {
57637 case 0:
57638 // Function start
57639 $async$goto = 3;
57640 return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
57641 case 3:
57642 // returning from await.
57643 $async$returnValue = $async$result.assertNumber$0();
57644 // goto return
57645 $async$goto = 1;
57646 break;
57647 case 1:
57648 // return
57649 return A._asyncReturn($async$returnValue, $async$completer);
57650 }
57651 });
57652 return A._asyncStartSync($async$call$0, $async$completer);
57653 },
57654 $signature: 198
57655 };
57656 A._EvaluateVisitor_visitForRule_closure5.prototype = {
57657 call$0() {
57658 var $async$goto = 0,
57659 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
57660 $async$returnValue, $async$self = this;
57661 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57662 if ($async$errorCode === 1)
57663 return A._asyncRethrow($async$result, $async$completer);
57664 while (true)
57665 switch ($async$goto) {
57666 case 0:
57667 // Function start
57668 $async$goto = 3;
57669 return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
57670 case 3:
57671 // returning from await.
57672 $async$returnValue = $async$result.assertNumber$0();
57673 // goto return
57674 $async$goto = 1;
57675 break;
57676 case 1:
57677 // return
57678 return A._asyncReturn($async$returnValue, $async$completer);
57679 }
57680 });
57681 return A._asyncStartSync($async$call$0, $async$completer);
57682 },
57683 $signature: 198
57684 };
57685 A._EvaluateVisitor_visitForRule_closure6.prototype = {
57686 call$0() {
57687 return this.fromNumber.assertInt$0();
57688 },
57689 $signature: 12
57690 };
57691 A._EvaluateVisitor_visitForRule_closure7.prototype = {
57692 call$0() {
57693 var t1 = this.fromNumber;
57694 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
57695 },
57696 $signature: 12
57697 };
57698 A._EvaluateVisitor_visitForRule_closure8.prototype = {
57699 call$0() {
57700 var $async$goto = 0,
57701 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
57702 $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
57703 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57704 if ($async$errorCode === 1)
57705 return A._asyncRethrow($async$result, $async$completer);
57706 while (true)
57707 switch ($async$goto) {
57708 case 0:
57709 // Function start
57710 t1 = $async$self.$this;
57711 t2 = $async$self.node;
57712 nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
57713 i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
57714 case 3:
57715 // for condition
57716 if (!(i !== t3.to)) {
57717 // goto after for
57718 $async$goto = 5;
57719 break;
57720 }
57721 t7 = t1._async_evaluate$_environment;
57722 t8 = t6.get$numeratorUnits(t6);
57723 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
57724 $async$goto = 6;
57725 return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
57726 case 6:
57727 // returning from await.
57728 result = $async$result;
57729 if (result != null) {
57730 $async$returnValue = result;
57731 // goto return
57732 $async$goto = 1;
57733 break;
57734 }
57735 case 4:
57736 // for update
57737 i += t4;
57738 // goto for condition
57739 $async$goto = 3;
57740 break;
57741 case 5:
57742 // after for
57743 $async$returnValue = null;
57744 // goto return
57745 $async$goto = 1;
57746 break;
57747 case 1:
57748 // return
57749 return A._asyncReturn($async$returnValue, $async$completer);
57750 }
57751 });
57752 return A._asyncStartSync($async$call$0, $async$completer);
57753 },
57754 $signature: 67
57755 };
57756 A._EvaluateVisitor_visitForRule__closure0.prototype = {
57757 call$1(child) {
57758 return child.accept$1(this.$this);
57759 },
57760 $signature: 86
57761 };
57762 A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
57763 call$1(module) {
57764 this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
57765 },
57766 $signature: 107
57767 };
57768 A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
57769 call$1(module) {
57770 this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
57771 },
57772 $signature: 107
57773 };
57774 A._EvaluateVisitor_visitIfRule_closure0.prototype = {
57775 call$0() {
57776 var t1 = this.$this;
57777 return t1._async_evaluate$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure0(t1));
57778 },
57779 $signature: 67
57780 };
57781 A._EvaluateVisitor_visitIfRule__closure0.prototype = {
57782 call$1(child) {
57783 return child.accept$1(this.$this);
57784 },
57785 $signature: 86
57786 };
57787 A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
57788 call$0() {
57789 var $async$goto = 0,
57790 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
57791 $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;
57792 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57793 if ($async$errorCode === 1)
57794 return A._asyncRethrow($async$result, $async$completer);
57795 while (true)
57796 switch ($async$goto) {
57797 case 0:
57798 // Function start
57799 t1 = $async$self.$this;
57800 t2 = $async$self.$import;
57801 $async$goto = 3;
57802 return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
57803 case 3:
57804 // returning from await.
57805 result = $async$result;
57806 stylesheet = result.stylesheet;
57807 url = stylesheet.span.file.url;
57808 if (url != null) {
57809 t3 = t1._async_evaluate$_activeModules;
57810 if (t3.containsKey$1(url)) {
57811 t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
57812 throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
57813 }
57814 t3.$indexSet(0, url, t2);
57815 }
57816 t2 = stylesheet._uses;
57817 t3 = type$.UnmodifiableListView_UseRule;
57818 t4 = new A.UnmodifiableListView(t2, t3);
57819 if (t4.get$length(t4) === 0) {
57820 t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
57821 t4 = t4.get$length(t4) === 0;
57822 } else
57823 t4 = false;
57824 $async$goto = t4 ? 4 : 5;
57825 break;
57826 case 4:
57827 // then
57828 oldImporter = t1._async_evaluate$_importer;
57829 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
57830 oldInDependency = t1._async_evaluate$_inDependency;
57831 t1._async_evaluate$_importer = result.importer;
57832 t1._async_evaluate$__stylesheet = stylesheet;
57833 t1._async_evaluate$_inDependency = result.isDependency;
57834 $async$goto = 6;
57835 return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
57836 case 6:
57837 // returning from await.
57838 t1._async_evaluate$_importer = oldImporter;
57839 t1._async_evaluate$__stylesheet = t2;
57840 t1._async_evaluate$_inDependency = oldInDependency;
57841 t1._async_evaluate$_activeModules.remove$1(0, url);
57842 // goto return
57843 $async$goto = 1;
57844 break;
57845 case 5:
57846 // join
57847 t2 = new A.UnmodifiableListView(t2, t3);
57848 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
57849 t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
57850 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
57851 } else
57852 loadsUserDefinedModules = true;
57853 children = A._Cell$();
57854 t2 = t1._async_evaluate$_environment;
57855 t3 = type$.String;
57856 t4 = type$.Module_AsyncCallable;
57857 t5 = type$.AstNode;
57858 t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
57859 t7 = t2._async_environment$_variables;
57860 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
57861 t8 = t2._async_environment$_variableNodes;
57862 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
57863 t9 = t2._async_environment$_functions;
57864 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
57865 t10 = t2._async_environment$_mixins;
57866 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
57867 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);
57868 $async$goto = 7;
57869 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);
57870 case 7:
57871 // returning from await.
57872 module = environment.toDummyModule$0();
57873 t1._async_evaluate$_environment.importForwards$1(module);
57874 $async$goto = loadsUserDefinedModules ? 8 : 9;
57875 break;
57876 case 8:
57877 // then
57878 $async$goto = module.transitivelyContainsCss ? 10 : 11;
57879 break;
57880 case 10:
57881 // then
57882 $async$goto = 12;
57883 return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
57884 case 12:
57885 // returning from await.
57886 case 11:
57887 // join
57888 visitor = new A._ImportedCssVisitor0(t1);
57889 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
57890 t2.get$current(t2).accept$1(visitor);
57891 case 9:
57892 // join
57893 t1._async_evaluate$_activeModules.remove$1(0, url);
57894 case 1:
57895 // return
57896 return A._asyncReturn($async$returnValue, $async$completer);
57897 }
57898 });
57899 return A._asyncStartSync($async$call$0, $async$completer);
57900 },
57901 $signature: 37
57902 };
57903 A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
57904 call$1(previousLoad) {
57905 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));
57906 },
57907 $signature: 91
57908 };
57909 A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
57910 call$1(rule) {
57911 return rule.url.get$scheme() !== "sass";
57912 },
57913 $signature: 194
57914 };
57915 A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
57916 call$1(rule) {
57917 return rule.url.get$scheme() !== "sass";
57918 },
57919 $signature: 186
57920 };
57921 A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
57922 call$0() {
57923 var $async$goto = 0,
57924 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
57925 $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
57926 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57927 if ($async$errorCode === 1)
57928 return A._asyncRethrow($async$result, $async$completer);
57929 while (true)
57930 switch ($async$goto) {
57931 case 0:
57932 // Function start
57933 t1 = $async$self.$this;
57934 oldImporter = t1._async_evaluate$_importer;
57935 t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
57936 t3 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
57937 t4 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
57938 t5 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
57939 oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
57940 oldConfiguration = t1._async_evaluate$_configuration;
57941 oldInDependency = t1._async_evaluate$_inDependency;
57942 t6 = $async$self.result;
57943 t1._async_evaluate$_importer = t6.importer;
57944 t7 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
57945 t8 = $async$self.loadsUserDefinedModules;
57946 if (t8) {
57947 t9 = A.ModifiableCssStylesheet$(t7.span);
57948 t1._async_evaluate$__root = t9;
57949 t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t9, "_root");
57950 t1._async_evaluate$__endOfImports = 0;
57951 t1._async_evaluate$_outOfOrderImports = null;
57952 }
57953 t1._async_evaluate$_inDependency = t6.isDependency;
57954 t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
57955 if (!t6.get$isEmpty(t6))
57956 t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
57957 $async$goto = 2;
57958 return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
57959 case 2:
57960 // returning from await.
57961 t6 = t8 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
57962 $async$self.children._value = t6;
57963 t1._async_evaluate$_importer = oldImporter;
57964 t1._async_evaluate$__stylesheet = t2;
57965 t1._async_evaluate$__root = t3;
57966 t1._async_evaluate$__parent = t4;
57967 t1._async_evaluate$__endOfImports = t5;
57968 t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
57969 t1._async_evaluate$_configuration = oldConfiguration;
57970 t1._async_evaluate$_inDependency = oldInDependency;
57971 // implicit return
57972 return A._asyncReturn(null, $async$completer);
57973 }
57974 });
57975 return A._asyncStartSync($async$call$0, $async$completer);
57976 },
57977 $signature: 2
57978 };
57979 A._EvaluateVisitor__visitStaticImport_closure0.prototype = {
57980 call$1(supports) {
57981 return this.$call$body$_EvaluateVisitor__visitStaticImport_closure(supports);
57982 },
57983 $call$body$_EvaluateVisitor__visitStaticImport_closure(supports) {
57984 var $async$goto = 0,
57985 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
57986 $async$returnValue, $async$self = this, t2, arg, t1, $async$temp1, $async$temp2;
57987 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
57988 if ($async$errorCode === 1)
57989 return A._asyncRethrow($async$result, $async$completer);
57990 while (true)
57991 switch ($async$goto) {
57992 case 0:
57993 // Function start
57994 t1 = $async$self.$this;
57995 $async$goto = supports instanceof A.SupportsDeclaration ? 3 : 5;
57996 break;
57997 case 3:
57998 // then
57999 $async$temp1 = A;
58000 $async$goto = 6;
58001 return A._asyncAwait(t1._evaluateToCss$1(supports.name), $async$call$1);
58002 case 6:
58003 // returning from await.
58004 t2 = $async$temp1.S($async$result) + ":";
58005 $async$temp1 = t2 + (supports.get$isCustomProperty() ? "" : " ");
58006 $async$temp2 = A;
58007 $async$goto = 7;
58008 return A._asyncAwait(t1._evaluateToCss$1(supports.value), $async$call$1);
58009 case 7:
58010 // returning from await.
58011 arg = $async$temp1 + $async$temp2.S($async$result);
58012 // goto join
58013 $async$goto = 4;
58014 break;
58015 case 5:
58016 // else
58017 $async$goto = 8;
58018 return A._asyncAwait(A.NullableExtension_andThen(supports, t1.get$_async_evaluate$_visitSupportsCondition()), $async$call$1);
58019 case 8:
58020 // returning from await.
58021 arg = $async$result;
58022 case 4:
58023 // join
58024 $async$returnValue = new A.CssValue("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String);
58025 // goto return
58026 $async$goto = 1;
58027 break;
58028 case 1:
58029 // return
58030 return A._asyncReturn($async$returnValue, $async$completer);
58031 }
58032 });
58033 return A._asyncStartSync($async$call$1, $async$completer);
58034 },
58035 $signature: 513
58036 };
58037 A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
58038 call$0() {
58039 var t1 = this.node;
58040 return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
58041 },
58042 $signature: 105
58043 };
58044 A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
58045 call$0() {
58046 return this.node.get$spanWithoutContent();
58047 },
58048 $signature: 29
58049 };
58050 A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
58051 call$1($content) {
58052 return new A.UserDefinedCallable($content, this.$this._async_evaluate$_environment.closure$0(), type$.UserDefinedCallable_AsyncEnvironment);
58053 },
58054 $signature: 514
58055 };
58056 A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
58057 call$0() {
58058 var $async$goto = 0,
58059 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58060 $async$self = this, t1;
58061 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58062 if ($async$errorCode === 1)
58063 return A._asyncRethrow($async$result, $async$completer);
58064 while (true)
58065 switch ($async$goto) {
58066 case 0:
58067 // Function start
58068 t1 = $async$self.$this;
58069 $async$goto = 2;
58070 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);
58071 case 2:
58072 // returning from await.
58073 // implicit return
58074 return A._asyncReturn(null, $async$completer);
58075 }
58076 });
58077 return A._asyncStartSync($async$call$0, $async$completer);
58078 },
58079 $signature: 2
58080 };
58081 A._EvaluateVisitor_visitIncludeRule__closure0.prototype = {
58082 call$0() {
58083 var $async$goto = 0,
58084 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58085 $async$self = this, t1;
58086 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58087 if ($async$errorCode === 1)
58088 return A._asyncRethrow($async$result, $async$completer);
58089 while (true)
58090 switch ($async$goto) {
58091 case 0:
58092 // Function start
58093 t1 = $async$self.$this;
58094 $async$goto = 2;
58095 return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure0(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
58096 case 2:
58097 // returning from await.
58098 // implicit return
58099 return A._asyncReturn(null, $async$completer);
58100 }
58101 });
58102 return A._asyncStartSync($async$call$0, $async$completer);
58103 },
58104 $signature: 37
58105 };
58106 A._EvaluateVisitor_visitIncludeRule___closure0.prototype = {
58107 call$0() {
58108 var $async$goto = 0,
58109 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
58110 $async$self = this, t1, t2, t3, t4, t5, _i;
58111 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58112 if ($async$errorCode === 1)
58113 return A._asyncRethrow($async$result, $async$completer);
58114 while (true)
58115 switch ($async$goto) {
58116 case 0:
58117 // Function start
58118 t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value, _i = 0;
58119 case 2:
58120 // for condition
58121 if (!(_i < t2)) {
58122 // goto after for
58123 $async$goto = 4;
58124 break;
58125 }
58126 $async$goto = 5;
58127 return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure0(t3, t1[_i]), t5), $async$call$0);
58128 case 5:
58129 // returning from await.
58130 case 3:
58131 // for update
58132 ++_i;
58133 // goto for condition
58134 $async$goto = 2;
58135 break;
58136 case 4:
58137 // after for
58138 // implicit return
58139 return A._asyncReturn(null, $async$completer);
58140 }
58141 });
58142 return A._asyncStartSync($async$call$0, $async$completer);
58143 },
58144 $signature: 37
58145 };
58146 A._EvaluateVisitor_visitIncludeRule____closure0.prototype = {
58147 call$0() {
58148 return this.statement.accept$1(this.$this);
58149 },
58150 $signature: 67
58151 };
58152 A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
58153 call$1(mediaQueries) {
58154 return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
58155 },
58156 $signature: 83
58157 };
58158 A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
58159 call$0() {
58160 var $async$goto = 0,
58161 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58162 $async$self = this, t1, t2;
58163 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58164 if ($async$errorCode === 1)
58165 return A._asyncRethrow($async$result, $async$completer);
58166 while (true)
58167 switch ($async$goto) {
58168 case 0:
58169 // Function start
58170 t1 = $async$self.$this;
58171 t2 = $async$self.mergedQueries;
58172 if (t2 == null)
58173 t2 = $async$self.queries;
58174 $async$goto = 2;
58175 return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
58176 case 2:
58177 // returning from await.
58178 // implicit return
58179 return A._asyncReturn(null, $async$completer);
58180 }
58181 });
58182 return A._asyncStartSync($async$call$0, $async$completer);
58183 },
58184 $signature: 2
58185 };
58186 A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
58187 call$0() {
58188 var $async$goto = 0,
58189 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58190 $async$self = this, t2, t3, _i, t1, styleRule;
58191 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58192 if ($async$errorCode === 1)
58193 return A._asyncRethrow($async$result, $async$completer);
58194 while (true)
58195 switch ($async$goto) {
58196 case 0:
58197 // Function start
58198 t1 = $async$self.$this;
58199 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
58200 $async$goto = styleRule == null ? 2 : 4;
58201 break;
58202 case 2:
58203 // then
58204 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
58205 case 5:
58206 // for condition
58207 if (!(_i < t3)) {
58208 // goto after for
58209 $async$goto = 7;
58210 break;
58211 }
58212 $async$goto = 8;
58213 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
58214 case 8:
58215 // returning from await.
58216 case 6:
58217 // for update
58218 ++_i;
58219 // goto for condition
58220 $async$goto = 5;
58221 break;
58222 case 7:
58223 // after for
58224 // goto join
58225 $async$goto = 3;
58226 break;
58227 case 4:
58228 // else
58229 $async$goto = 9;
58230 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);
58231 case 9:
58232 // returning from await.
58233 case 3:
58234 // join
58235 // implicit return
58236 return A._asyncReturn(null, $async$completer);
58237 }
58238 });
58239 return A._asyncStartSync($async$call$0, $async$completer);
58240 },
58241 $signature: 2
58242 };
58243 A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
58244 call$0() {
58245 var $async$goto = 0,
58246 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58247 $async$self = this, t1, t2, t3, _i;
58248 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58249 if ($async$errorCode === 1)
58250 return A._asyncRethrow($async$result, $async$completer);
58251 while (true)
58252 switch ($async$goto) {
58253 case 0:
58254 // Function start
58255 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58256 case 2:
58257 // for condition
58258 if (!(_i < t2)) {
58259 // goto after for
58260 $async$goto = 4;
58261 break;
58262 }
58263 $async$goto = 5;
58264 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58265 case 5:
58266 // returning from await.
58267 case 3:
58268 // for update
58269 ++_i;
58270 // goto for condition
58271 $async$goto = 2;
58272 break;
58273 case 4:
58274 // after for
58275 // implicit return
58276 return A._asyncReturn(null, $async$completer);
58277 }
58278 });
58279 return A._asyncStartSync($async$call$0, $async$completer);
58280 },
58281 $signature: 2
58282 };
58283 A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
58284 call$1(node) {
58285 var t1;
58286 if (!type$.CssStyleRule._is(node))
58287 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
58288 else
58289 t1 = true;
58290 return t1;
58291 },
58292 $signature: 7
58293 };
58294 A._EvaluateVisitor__visitMediaQueries_closure0.prototype = {
58295 call$0() {
58296 var t1 = A.SpanScanner$(this.resolved, null);
58297 return new A.MediaQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
58298 },
58299 $signature: 101
58300 };
58301 A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
58302 call$0() {
58303 var t1 = this.selectorText;
58304 return A.KeyframeSelectorParser$(t1.get$value(t1), this.$this._async_evaluate$_logger).parse$0();
58305 },
58306 $signature: 48
58307 };
58308 A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
58309 call$0() {
58310 var $async$goto = 0,
58311 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58312 $async$self = this, t1, t2, t3, _i;
58313 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58314 if ($async$errorCode === 1)
58315 return A._asyncRethrow($async$result, $async$completer);
58316 while (true)
58317 switch ($async$goto) {
58318 case 0:
58319 // Function start
58320 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58321 case 2:
58322 // for condition
58323 if (!(_i < t2)) {
58324 // goto after for
58325 $async$goto = 4;
58326 break;
58327 }
58328 $async$goto = 5;
58329 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58330 case 5:
58331 // returning from await.
58332 case 3:
58333 // for update
58334 ++_i;
58335 // goto for condition
58336 $async$goto = 2;
58337 break;
58338 case 4:
58339 // after for
58340 // implicit return
58341 return A._asyncReturn(null, $async$completer);
58342 }
58343 });
58344 return A._asyncStartSync($async$call$0, $async$completer);
58345 },
58346 $signature: 2
58347 };
58348 A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
58349 call$1(node) {
58350 return type$.CssStyleRule._is(node);
58351 },
58352 $signature: 7
58353 };
58354 A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
58355 call$0() {
58356 var _s11_ = "_stylesheet",
58357 t1 = this.selectorText,
58358 t2 = this.$this;
58359 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);
58360 },
58361 $signature: 46
58362 };
58363 A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
58364 call$0() {
58365 var t1 = this._box_0.parsedSelector,
58366 t2 = this.$this,
58367 t3 = t2._async_evaluate$_styleRuleIgnoringAtRoot;
58368 t3 = t3 == null ? null : t3.originalSelector;
58369 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate$_atRootExcludingStyleRule);
58370 },
58371 $signature: 46
58372 };
58373 A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
58374 call$0() {
58375 var $async$goto = 0,
58376 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58377 $async$self = this, t1;
58378 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58379 if ($async$errorCode === 1)
58380 return A._asyncRethrow($async$result, $async$completer);
58381 while (true)
58382 switch ($async$goto) {
58383 case 0:
58384 // Function start
58385 t1 = $async$self.$this;
58386 $async$goto = 2;
58387 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);
58388 case 2:
58389 // returning from await.
58390 // implicit return
58391 return A._asyncReturn(null, $async$completer);
58392 }
58393 });
58394 return A._asyncStartSync($async$call$0, $async$completer);
58395 },
58396 $signature: 2
58397 };
58398 A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
58399 call$0() {
58400 var $async$goto = 0,
58401 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58402 $async$self = this, t1, t2, t3, _i;
58403 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58404 if ($async$errorCode === 1)
58405 return A._asyncRethrow($async$result, $async$completer);
58406 while (true)
58407 switch ($async$goto) {
58408 case 0:
58409 // Function start
58410 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58411 case 2:
58412 // for condition
58413 if (!(_i < t2)) {
58414 // goto after for
58415 $async$goto = 4;
58416 break;
58417 }
58418 $async$goto = 5;
58419 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58420 case 5:
58421 // returning from await.
58422 case 3:
58423 // for update
58424 ++_i;
58425 // goto for condition
58426 $async$goto = 2;
58427 break;
58428 case 4:
58429 // after for
58430 // implicit return
58431 return A._asyncReturn(null, $async$completer);
58432 }
58433 });
58434 return A._asyncStartSync($async$call$0, $async$completer);
58435 },
58436 $signature: 2
58437 };
58438 A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
58439 call$1(node) {
58440 return type$.CssStyleRule._is(node);
58441 },
58442 $signature: 7
58443 };
58444 A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
58445 call$0() {
58446 var $async$goto = 0,
58447 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58448 $async$self = this, t2, t3, _i, t1, styleRule;
58449 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58450 if ($async$errorCode === 1)
58451 return A._asyncRethrow($async$result, $async$completer);
58452 while (true)
58453 switch ($async$goto) {
58454 case 0:
58455 // Function start
58456 t1 = $async$self.$this;
58457 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
58458 $async$goto = styleRule == null ? 2 : 4;
58459 break;
58460 case 2:
58461 // then
58462 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
58463 case 5:
58464 // for condition
58465 if (!(_i < t3)) {
58466 // goto after for
58467 $async$goto = 7;
58468 break;
58469 }
58470 $async$goto = 8;
58471 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
58472 case 8:
58473 // returning from await.
58474 case 6:
58475 // for update
58476 ++_i;
58477 // goto for condition
58478 $async$goto = 5;
58479 break;
58480 case 7:
58481 // after for
58482 // goto join
58483 $async$goto = 3;
58484 break;
58485 case 4:
58486 // else
58487 $async$goto = 9;
58488 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);
58489 case 9:
58490 // returning from await.
58491 case 3:
58492 // join
58493 // implicit return
58494 return A._asyncReturn(null, $async$completer);
58495 }
58496 });
58497 return A._asyncStartSync($async$call$0, $async$completer);
58498 },
58499 $signature: 2
58500 };
58501 A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
58502 call$0() {
58503 var $async$goto = 0,
58504 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
58505 $async$self = this, t1, t2, t3, _i;
58506 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58507 if ($async$errorCode === 1)
58508 return A._asyncRethrow($async$result, $async$completer);
58509 while (true)
58510 switch ($async$goto) {
58511 case 0:
58512 // Function start
58513 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
58514 case 2:
58515 // for condition
58516 if (!(_i < t2)) {
58517 // goto after for
58518 $async$goto = 4;
58519 break;
58520 }
58521 $async$goto = 5;
58522 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
58523 case 5:
58524 // returning from await.
58525 case 3:
58526 // for update
58527 ++_i;
58528 // goto for condition
58529 $async$goto = 2;
58530 break;
58531 case 4:
58532 // after for
58533 // implicit return
58534 return A._asyncReturn(null, $async$completer);
58535 }
58536 });
58537 return A._asyncStartSync($async$call$0, $async$completer);
58538 },
58539 $signature: 2
58540 };
58541 A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
58542 call$1(node) {
58543 return type$.CssStyleRule._is(node);
58544 },
58545 $signature: 7
58546 };
58547 A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
58548 call$0() {
58549 var t1 = this.override;
58550 this.$this._async_evaluate$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
58551 },
58552 $signature: 1
58553 };
58554 A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
58555 call$0() {
58556 var t1 = this.node;
58557 return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
58558 },
58559 $signature: 33
58560 };
58561 A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
58562 call$0() {
58563 var t1 = this.$this,
58564 t2 = this.node;
58565 t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
58566 },
58567 $signature: 1
58568 };
58569 A._EvaluateVisitor_visitUseRule_closure0.prototype = {
58570 call$1(module) {
58571 var t1 = this.node;
58572 this.$this._async_evaluate$_environment.addModule$3$namespace(module, t1, t1.namespace);
58573 },
58574 $signature: 107
58575 };
58576 A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
58577 call$0() {
58578 return this.node.expression.accept$1(this.$this);
58579 },
58580 $signature: 59
58581 };
58582 A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
58583 call$0() {
58584 var $async$goto = 0,
58585 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
58586 $async$returnValue, $async$self = this, t1, t2, t3, result;
58587 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58588 if ($async$errorCode === 1)
58589 return A._asyncRethrow($async$result, $async$completer);
58590 while (true)
58591 switch ($async$goto) {
58592 case 0:
58593 // Function start
58594 t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
58595 case 3:
58596 // for condition
58597 $async$goto = 5;
58598 return A._asyncAwait(t2.accept$1(t3), $async$call$0);
58599 case 5:
58600 // returning from await.
58601 if (!$async$result.get$isTruthy()) {
58602 // goto after for
58603 $async$goto = 4;
58604 break;
58605 }
58606 $async$goto = 6;
58607 return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
58608 case 6:
58609 // returning from await.
58610 result = $async$result;
58611 if (result != null) {
58612 $async$returnValue = result;
58613 // goto return
58614 $async$goto = 1;
58615 break;
58616 }
58617 // goto for condition
58618 $async$goto = 3;
58619 break;
58620 case 4:
58621 // after for
58622 $async$returnValue = null;
58623 // goto return
58624 $async$goto = 1;
58625 break;
58626 case 1:
58627 // return
58628 return A._asyncReturn($async$returnValue, $async$completer);
58629 }
58630 });
58631 return A._asyncStartSync($async$call$0, $async$completer);
58632 },
58633 $signature: 67
58634 };
58635 A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
58636 call$1(child) {
58637 return child.accept$1(this.$this);
58638 },
58639 $signature: 86
58640 };
58641 A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
58642 call$0() {
58643 var $async$goto = 0,
58644 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
58645 $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
58646 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58647 if ($async$errorCode === 1)
58648 return A._asyncRethrow($async$result, $async$completer);
58649 while (true)
58650 switch ($async$goto) {
58651 case 0:
58652 // Function start
58653 t1 = $async$self.node;
58654 t2 = $async$self.$this;
58655 $async$goto = 3;
58656 return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
58657 case 3:
58658 // returning from await.
58659 left = $async$result;
58660 t3 = t1.operator;
58661 case 4:
58662 // switch
58663 switch (t3) {
58664 case B.BinaryOperator_kjl:
58665 // goto case
58666 $async$goto = 6;
58667 break;
58668 case B.BinaryOperator_or_or_1:
58669 // goto case
58670 $async$goto = 7;
58671 break;
58672 case B.BinaryOperator_and_and_2:
58673 // goto case
58674 $async$goto = 8;
58675 break;
58676 case B.BinaryOperator_YlX:
58677 // goto case
58678 $async$goto = 9;
58679 break;
58680 case B.BinaryOperator_i5H:
58681 // goto case
58682 $async$goto = 10;
58683 break;
58684 case B.BinaryOperator_AcR:
58685 // goto case
58686 $async$goto = 11;
58687 break;
58688 case B.BinaryOperator_1da:
58689 // goto case
58690 $async$goto = 12;
58691 break;
58692 case B.BinaryOperator_8qt:
58693 // goto case
58694 $async$goto = 13;
58695 break;
58696 case B.BinaryOperator_33h:
58697 // goto case
58698 $async$goto = 14;
58699 break;
58700 case B.BinaryOperator_AcR0:
58701 // goto case
58702 $async$goto = 15;
58703 break;
58704 case B.BinaryOperator_iyO:
58705 // goto case
58706 $async$goto = 16;
58707 break;
58708 case B.BinaryOperator_O1M:
58709 // goto case
58710 $async$goto = 17;
58711 break;
58712 case B.BinaryOperator_RTB:
58713 // goto case
58714 $async$goto = 18;
58715 break;
58716 case B.BinaryOperator_2ad:
58717 // goto case
58718 $async$goto = 19;
58719 break;
58720 default:
58721 // goto default
58722 $async$goto = 20;
58723 break;
58724 }
58725 break;
58726 case 6:
58727 // case
58728 $async$goto = 21;
58729 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58730 case 21:
58731 // returning from await.
58732 right = $async$result;
58733 $async$returnValue = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
58734 // goto return
58735 $async$goto = 1;
58736 break;
58737 case 7:
58738 // case
58739 $async$goto = left.get$isTruthy() ? 22 : 24;
58740 break;
58741 case 22:
58742 // then
58743 $async$result = left;
58744 // goto join
58745 $async$goto = 23;
58746 break;
58747 case 24:
58748 // else
58749 $async$goto = 25;
58750 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58751 case 25:
58752 // returning from await.
58753 case 23:
58754 // join
58755 $async$returnValue = $async$result;
58756 // goto return
58757 $async$goto = 1;
58758 break;
58759 case 8:
58760 // case
58761 $async$goto = left.get$isTruthy() ? 26 : 28;
58762 break;
58763 case 26:
58764 // then
58765 $async$goto = 29;
58766 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58767 case 29:
58768 // returning from await.
58769 // goto join
58770 $async$goto = 27;
58771 break;
58772 case 28:
58773 // else
58774 $async$result = left;
58775 case 27:
58776 // join
58777 $async$returnValue = $async$result;
58778 // goto return
58779 $async$goto = 1;
58780 break;
58781 case 9:
58782 // case
58783 $async$temp1 = left;
58784 $async$goto = 30;
58785 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58786 case 30:
58787 // returning from await.
58788 $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
58789 // goto return
58790 $async$goto = 1;
58791 break;
58792 case 10:
58793 // case
58794 $async$temp1 = left;
58795 $async$goto = 31;
58796 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58797 case 31:
58798 // returning from await.
58799 $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
58800 // goto return
58801 $async$goto = 1;
58802 break;
58803 case 11:
58804 // case
58805 $async$temp1 = left;
58806 $async$goto = 32;
58807 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58808 case 32:
58809 // returning from await.
58810 $async$returnValue = $async$temp1.greaterThan$1($async$result);
58811 // goto return
58812 $async$goto = 1;
58813 break;
58814 case 12:
58815 // case
58816 $async$temp1 = left;
58817 $async$goto = 33;
58818 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58819 case 33:
58820 // returning from await.
58821 $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
58822 // goto return
58823 $async$goto = 1;
58824 break;
58825 case 13:
58826 // case
58827 $async$temp1 = left;
58828 $async$goto = 34;
58829 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58830 case 34:
58831 // returning from await.
58832 $async$returnValue = $async$temp1.lessThan$1($async$result);
58833 // goto return
58834 $async$goto = 1;
58835 break;
58836 case 14:
58837 // case
58838 $async$temp1 = left;
58839 $async$goto = 35;
58840 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58841 case 35:
58842 // returning from await.
58843 $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
58844 // goto return
58845 $async$goto = 1;
58846 break;
58847 case 15:
58848 // case
58849 $async$temp1 = left;
58850 $async$goto = 36;
58851 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58852 case 36:
58853 // returning from await.
58854 $async$returnValue = $async$temp1.plus$1($async$result);
58855 // goto return
58856 $async$goto = 1;
58857 break;
58858 case 16:
58859 // case
58860 $async$temp1 = left;
58861 $async$goto = 37;
58862 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58863 case 37:
58864 // returning from await.
58865 $async$returnValue = $async$temp1.minus$1($async$result);
58866 // goto return
58867 $async$goto = 1;
58868 break;
58869 case 17:
58870 // case
58871 $async$temp1 = left;
58872 $async$goto = 38;
58873 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58874 case 38:
58875 // returning from await.
58876 $async$returnValue = $async$temp1.times$1($async$result);
58877 // goto return
58878 $async$goto = 1;
58879 break;
58880 case 18:
58881 // case
58882 $async$goto = 39;
58883 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58884 case 39:
58885 // returning from await.
58886 right = $async$result;
58887 result = left.dividedBy$1(right);
58888 if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber) {
58889 $async$returnValue = type$.SassNumber._as(result).withSlash$2(left, right);
58890 // goto return
58891 $async$goto = 1;
58892 break;
58893 } else {
58894 if (left instanceof A.SassNumber && right instanceof A.SassNumber)
58895 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);
58896 $async$returnValue = result;
58897 // goto return
58898 $async$goto = 1;
58899 break;
58900 }
58901 case 19:
58902 // case
58903 $async$temp1 = left;
58904 $async$goto = 40;
58905 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
58906 case 40:
58907 // returning from await.
58908 $async$returnValue = $async$temp1.modulo$1($async$result);
58909 // goto return
58910 $async$goto = 1;
58911 break;
58912 case 20:
58913 // default
58914 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
58915 case 5:
58916 // after switch
58917 case 1:
58918 // return
58919 return A._asyncReturn($async$returnValue, $async$completer);
58920 }
58921 });
58922 return A._asyncStartSync($async$call$0, $async$completer);
58923 },
58924 $signature: 59
58925 };
58926 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0.prototype = {
58927 call$1(expression) {
58928 if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_RTB)
58929 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
58930 else if (expression instanceof A.ParenthesizedExpression)
58931 return expression.expression.toString$0(0);
58932 else
58933 return expression.toString$0(0);
58934 },
58935 $signature: 124
58936 };
58937 A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
58938 call$0() {
58939 var t1 = this.node;
58940 return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
58941 },
58942 $signature: 33
58943 };
58944 A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
58945 call$0() {
58946 var _this = this,
58947 t1 = _this.node.operator;
58948 switch (t1) {
58949 case B.UnaryOperator_j2w:
58950 return _this.operand.unaryPlus$0();
58951 case B.UnaryOperator_U4G:
58952 return _this.operand.unaryMinus$0();
58953 case B.UnaryOperator_zDx:
58954 return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
58955 case B.UnaryOperator_not_not:
58956 return _this.operand.unaryNot$0();
58957 default:
58958 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
58959 }
58960 },
58961 $signature: 35
58962 };
58963 A._EvaluateVisitor__visitCalculationValue_closure0.prototype = {
58964 call$0() {
58965 var $async$goto = 0,
58966 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
58967 $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
58968 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
58969 if ($async$errorCode === 1)
58970 return A._asyncRethrow($async$result, $async$completer);
58971 while (true)
58972 switch ($async$goto) {
58973 case 0:
58974 // Function start
58975 t1 = $async$self.$this;
58976 t2 = $async$self.node;
58977 t3 = $async$self.inMinMax;
58978 $async$temp1 = A;
58979 $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$1(t2.operator);
58980 $async$goto = 3;
58981 return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
58982 case 3:
58983 // returning from await.
58984 $async$temp3 = $async$result;
58985 $async$goto = 4;
58986 return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
58987 case 4:
58988 // returning from await.
58989 $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t3);
58990 // goto return
58991 $async$goto = 1;
58992 break;
58993 case 1:
58994 // return
58995 return A._asyncReturn($async$returnValue, $async$completer);
58996 }
58997 });
58998 return A._asyncStartSync($async$call$0, $async$completer);
58999 },
59000 $signature: 182
59001 };
59002 A._EvaluateVisitor_visitListExpression_closure0.prototype = {
59003 call$1(expression) {
59004 return expression.accept$1(this.$this);
59005 },
59006 $signature: 529
59007 };
59008 A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
59009 call$0() {
59010 var t1 = this.node;
59011 return this.$this._async_evaluate$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
59012 },
59013 $signature: 105
59014 };
59015 A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
59016 call$0() {
59017 var t1 = this.node;
59018 return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
59019 },
59020 $signature: 59
59021 };
59022 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
59023 call$0() {
59024 var t1 = this.node;
59025 return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
59026 },
59027 $signature: 59
59028 };
59029 A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
59030 call$0() {
59031 var _this = this,
59032 t1 = _this.$this,
59033 t2 = _this.callable,
59034 t3 = _this.V;
59035 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);
59036 },
59037 $signature() {
59038 return this.V._eval$1("Future<0>()");
59039 }
59040 };
59041 A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
59042 call$0() {
59043 var _this = this,
59044 t1 = _this.$this,
59045 t2 = _this.V;
59046 return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
59047 },
59048 $signature() {
59049 return this.V._eval$1("Future<0>()");
59050 }
59051 };
59052 A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
59053 call$0() {
59054 return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
59055 },
59056 $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
59057 var $async$goto = 0,
59058 $async$completer = A._makeAsyncAwaitCompleter($async$type),
59059 $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;
59060 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59061 if ($async$errorCode === 1)
59062 return A._asyncRethrow($async$result, $async$completer);
59063 while (true)
59064 switch ($async$goto) {
59065 case 0:
59066 // Function start
59067 t1 = $async$self.$this;
59068 t2 = $async$self.evaluated;
59069 t3 = t2.positional;
59070 t4 = t2.named;
59071 t5 = $async$self.callable.declaration.$arguments;
59072 t6 = $async$self.nodeWithSpan;
59073 t1._async_evaluate$_verifyArguments$4(t3.length, t4, t5, t6);
59074 declaredArguments = t5.$arguments;
59075 t7 = declaredArguments.length;
59076 minLength = Math.min(t3.length, t7);
59077 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
59078 t1._async_evaluate$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
59079 i = t3.length, t8 = t2.namedNodes;
59080 case 3:
59081 // for condition
59082 if (!(i < t7)) {
59083 // goto after for
59084 $async$goto = 5;
59085 break;
59086 }
59087 argument = declaredArguments[i];
59088 t9 = argument.name;
59089 value = t4.remove$1(0, t9);
59090 $async$goto = value == null ? 6 : 7;
59091 break;
59092 case 6:
59093 // then
59094 t10 = argument.defaultValue;
59095 $async$temp1 = t1;
59096 $async$goto = 8;
59097 return A._asyncAwait(t10.accept$1(t1), $async$call$0);
59098 case 8:
59099 // returning from await.
59100 value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t10));
59101 case 7:
59102 // join
59103 t10 = t1._async_evaluate$_environment;
59104 t11 = t8.$index(0, t9);
59105 if (t11 == null) {
59106 t11 = argument.defaultValue;
59107 t11.toString;
59108 t11 = t1._async_evaluate$_expressionNode$1(t11);
59109 }
59110 t10.setLocalVariable$3(t9, value, t11);
59111 case 4:
59112 // for update
59113 ++i;
59114 // goto for condition
59115 $async$goto = 3;
59116 break;
59117 case 5:
59118 // after for
59119 restArgument = t5.restArgument;
59120 if (restArgument != null) {
59121 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty5;
59122 t2 = t2.separator;
59123 argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : t2);
59124 t1._async_evaluate$_environment.setLocalVariable$3(restArgument, argumentList, t6);
59125 } else
59126 argumentList = null;
59127 $async$goto = 9;
59128 return A._asyncAwait($async$self.run.call$0(), $async$call$0);
59129 case 9:
59130 // returning from await.
59131 result = $async$result;
59132 if (argumentList == null) {
59133 $async$returnValue = result;
59134 // goto return
59135 $async$goto = 1;
59136 break;
59137 }
59138 if (t4.get$isEmpty(t4)) {
59139 $async$returnValue = result;
59140 // goto return
59141 $async$goto = 1;
59142 break;
59143 }
59144 if (argumentList._wereKeywordsAccessed) {
59145 $async$returnValue = result;
59146 // goto return
59147 $async$goto = 1;
59148 break;
59149 }
59150 t2 = t4.get$keys(t4);
59151 argumentWord = A.pluralize("argument", t2.get$length(t2), null);
59152 t4 = t4.get$keys(t4);
59153 argumentNames = A.toSentence(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
59154 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))));
59155 case 1:
59156 // return
59157 return A._asyncReturn($async$returnValue, $async$completer);
59158 }
59159 });
59160 return A._asyncStartSync($async$call$0, $async$completer);
59161 },
59162 $signature() {
59163 return this.V._eval$1("Future<0>()");
59164 }
59165 };
59166 A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
59167 call$1($name) {
59168 return "$" + $name;
59169 },
59170 $signature: 5
59171 };
59172 A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
59173 call$0() {
59174 var $async$goto = 0,
59175 $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
59176 $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
59177 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59178 if ($async$errorCode === 1)
59179 return A._asyncRethrow($async$result, $async$completer);
59180 while (true)
59181 switch ($async$goto) {
59182 case 0:
59183 // Function start
59184 t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
59185 case 3:
59186 // for condition
59187 if (!(_i < t3)) {
59188 // goto after for
59189 $async$goto = 5;
59190 break;
59191 }
59192 $async$goto = 6;
59193 return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
59194 case 6:
59195 // returning from await.
59196 $returnValue = $async$result;
59197 if ($returnValue instanceof A.Value) {
59198 $async$returnValue = $returnValue;
59199 // goto return
59200 $async$goto = 1;
59201 break;
59202 }
59203 case 4:
59204 // for update
59205 ++_i;
59206 // goto for condition
59207 $async$goto = 3;
59208 break;
59209 case 5:
59210 // after for
59211 throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
59212 case 1:
59213 // return
59214 return A._asyncReturn($async$returnValue, $async$completer);
59215 }
59216 });
59217 return A._asyncStartSync($async$call$0, $async$completer);
59218 },
59219 $signature: 59
59220 };
59221 A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
59222 call$0() {
59223 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
59224 },
59225 $signature: 0
59226 };
59227 A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
59228 call$1($name) {
59229 return "$" + $name;
59230 },
59231 $signature: 5
59232 };
59233 A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
59234 call$1(value) {
59235 return value;
59236 },
59237 $signature: 39
59238 };
59239 A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
59240 call$1(value) {
59241 return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
59242 },
59243 $signature: 39
59244 };
59245 A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
59246 call$2(key, value) {
59247 var _this = this,
59248 t1 = _this.restNodeForSpan;
59249 _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
59250 _this.namedNodes.$indexSet(0, key, t1);
59251 },
59252 $signature: 75
59253 };
59254 A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
59255 call$1(value) {
59256 return value;
59257 },
59258 $signature: 39
59259 };
59260 A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
59261 call$1(value) {
59262 var t1 = this.restArgs;
59263 return new A.ValueExpression(value, t1.get$span(t1));
59264 },
59265 $signature: 51
59266 };
59267 A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
59268 call$1(value) {
59269 var t1 = this.restArgs;
59270 return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
59271 },
59272 $signature: 51
59273 };
59274 A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
59275 call$2(key, value) {
59276 var _this = this,
59277 t1 = _this.restArgs;
59278 _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
59279 },
59280 $signature: 75
59281 };
59282 A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
59283 call$1(value) {
59284 var t1 = this.keywordRestArgs;
59285 return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
59286 },
59287 $signature: 51
59288 };
59289 A._EvaluateVisitor__addRestMap_closure0.prototype = {
59290 call$2(key, value) {
59291 var t2, _this = this,
59292 t1 = _this.$this;
59293 if (key instanceof A.SassString)
59294 _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
59295 else {
59296 t2 = _this.nodeWithSpan;
59297 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)));
59298 }
59299 },
59300 $signature: 50
59301 };
59302 A._EvaluateVisitor__verifyArguments_closure0.prototype = {
59303 call$0() {
59304 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
59305 },
59306 $signature: 0
59307 };
59308 A._EvaluateVisitor_visitStringExpression_closure0.prototype = {
59309 call$1(value) {
59310 var $async$goto = 0,
59311 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
59312 $async$returnValue, $async$self = this, t1, result;
59313 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59314 if ($async$errorCode === 1)
59315 return A._asyncRethrow($async$result, $async$completer);
59316 while (true)
59317 switch ($async$goto) {
59318 case 0:
59319 // Function start
59320 if (typeof value == "string") {
59321 $async$returnValue = value;
59322 // goto return
59323 $async$goto = 1;
59324 break;
59325 }
59326 type$.Expression._as(value);
59327 t1 = $async$self.$this;
59328 $async$goto = 3;
59329 return A._asyncAwait(value.accept$1(t1), $async$call$1);
59330 case 3:
59331 // returning from await.
59332 result = $async$result;
59333 $async$returnValue = result instanceof A.SassString ? result._string$_text : t1._async_evaluate$_serialize$3$quote(result, value, false);
59334 // goto return
59335 $async$goto = 1;
59336 break;
59337 case 1:
59338 // return
59339 return A._asyncReturn($async$returnValue, $async$completer);
59340 }
59341 });
59342 return A._asyncStartSync($async$call$1, $async$completer);
59343 },
59344 $signature: 81
59345 };
59346 A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
59347 call$0() {
59348 var $async$goto = 0,
59349 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59350 $async$self = this, t1, t2, t3;
59351 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59352 if ($async$errorCode === 1)
59353 return A._asyncRethrow($async$result, $async$completer);
59354 while (true)
59355 switch ($async$goto) {
59356 case 0:
59357 // Function start
59358 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59359 case 2:
59360 // for condition
59361 if (!t1.moveNext$0()) {
59362 // goto after for
59363 $async$goto = 3;
59364 break;
59365 }
59366 $async$goto = 4;
59367 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59368 case 4:
59369 // returning from await.
59370 // goto for condition
59371 $async$goto = 2;
59372 break;
59373 case 3:
59374 // after for
59375 // implicit return
59376 return A._asyncReturn(null, $async$completer);
59377 }
59378 });
59379 return A._asyncStartSync($async$call$0, $async$completer);
59380 },
59381 $signature: 2
59382 };
59383 A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
59384 call$1(node) {
59385 return type$.CssStyleRule._is(node);
59386 },
59387 $signature: 7
59388 };
59389 A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
59390 call$0() {
59391 var $async$goto = 0,
59392 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59393 $async$self = this, t1, t2, t3;
59394 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59395 if ($async$errorCode === 1)
59396 return A._asyncRethrow($async$result, $async$completer);
59397 while (true)
59398 switch ($async$goto) {
59399 case 0:
59400 // Function start
59401 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59402 case 2:
59403 // for condition
59404 if (!t1.moveNext$0()) {
59405 // goto after for
59406 $async$goto = 3;
59407 break;
59408 }
59409 $async$goto = 4;
59410 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59411 case 4:
59412 // returning from await.
59413 // goto for condition
59414 $async$goto = 2;
59415 break;
59416 case 3:
59417 // after for
59418 // implicit return
59419 return A._asyncReturn(null, $async$completer);
59420 }
59421 });
59422 return A._asyncStartSync($async$call$0, $async$completer);
59423 },
59424 $signature: 2
59425 };
59426 A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
59427 call$1(node) {
59428 return type$.CssStyleRule._is(node);
59429 },
59430 $signature: 7
59431 };
59432 A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
59433 call$1(mediaQueries) {
59434 return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
59435 },
59436 $signature: 83
59437 };
59438 A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
59439 call$0() {
59440 var $async$goto = 0,
59441 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59442 $async$self = this, t1, t2;
59443 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59444 if ($async$errorCode === 1)
59445 return A._asyncRethrow($async$result, $async$completer);
59446 while (true)
59447 switch ($async$goto) {
59448 case 0:
59449 // Function start
59450 t1 = $async$self.$this;
59451 t2 = $async$self.mergedQueries;
59452 if (t2 == null)
59453 t2 = $async$self.node.queries;
59454 $async$goto = 2;
59455 return A._asyncAwait(t1._async_evaluate$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure0(t1, $async$self.node), type$.Null), $async$call$0);
59456 case 2:
59457 // returning from await.
59458 // implicit return
59459 return A._asyncReturn(null, $async$completer);
59460 }
59461 });
59462 return A._asyncStartSync($async$call$0, $async$completer);
59463 },
59464 $signature: 2
59465 };
59466 A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
59467 call$0() {
59468 var $async$goto = 0,
59469 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59470 $async$self = this, t2, t3, t1, styleRule;
59471 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59472 if ($async$errorCode === 1)
59473 return A._asyncRethrow($async$result, $async$completer);
59474 while (true)
59475 switch ($async$goto) {
59476 case 0:
59477 // Function start
59478 t1 = $async$self.$this;
59479 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
59480 $async$goto = styleRule == null ? 2 : 4;
59481 break;
59482 case 2:
59483 // then
59484 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
59485 case 5:
59486 // for condition
59487 if (!t2.moveNext$0()) {
59488 // goto after for
59489 $async$goto = 6;
59490 break;
59491 }
59492 $async$goto = 7;
59493 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
59494 case 7:
59495 // returning from await.
59496 // goto for condition
59497 $async$goto = 5;
59498 break;
59499 case 6:
59500 // after for
59501 // goto join
59502 $async$goto = 3;
59503 break;
59504 case 4:
59505 // else
59506 $async$goto = 8;
59507 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);
59508 case 8:
59509 // returning from await.
59510 case 3:
59511 // join
59512 // implicit return
59513 return A._asyncReturn(null, $async$completer);
59514 }
59515 });
59516 return A._asyncStartSync($async$call$0, $async$completer);
59517 },
59518 $signature: 2
59519 };
59520 A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
59521 call$0() {
59522 var $async$goto = 0,
59523 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59524 $async$self = this, t1, t2, t3;
59525 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59526 if ($async$errorCode === 1)
59527 return A._asyncRethrow($async$result, $async$completer);
59528 while (true)
59529 switch ($async$goto) {
59530 case 0:
59531 // Function start
59532 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59533 case 2:
59534 // for condition
59535 if (!t1.moveNext$0()) {
59536 // goto after for
59537 $async$goto = 3;
59538 break;
59539 }
59540 $async$goto = 4;
59541 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59542 case 4:
59543 // returning from await.
59544 // goto for condition
59545 $async$goto = 2;
59546 break;
59547 case 3:
59548 // after for
59549 // implicit return
59550 return A._asyncReturn(null, $async$completer);
59551 }
59552 });
59553 return A._asyncStartSync($async$call$0, $async$completer);
59554 },
59555 $signature: 2
59556 };
59557 A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
59558 call$1(node) {
59559 var t1;
59560 if (!type$.CssStyleRule._is(node))
59561 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
59562 else
59563 t1 = true;
59564 return t1;
59565 },
59566 $signature: 7
59567 };
59568 A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
59569 call$0() {
59570 var $async$goto = 0,
59571 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59572 $async$self = this, t1;
59573 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59574 if ($async$errorCode === 1)
59575 return A._asyncRethrow($async$result, $async$completer);
59576 while (true)
59577 switch ($async$goto) {
59578 case 0:
59579 // Function start
59580 t1 = $async$self.$this;
59581 $async$goto = 2;
59582 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);
59583 case 2:
59584 // returning from await.
59585 // implicit return
59586 return A._asyncReturn(null, $async$completer);
59587 }
59588 });
59589 return A._asyncStartSync($async$call$0, $async$completer);
59590 },
59591 $signature: 2
59592 };
59593 A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
59594 call$0() {
59595 var $async$goto = 0,
59596 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59597 $async$self = this, t1, t2, t3;
59598 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59599 if ($async$errorCode === 1)
59600 return A._asyncRethrow($async$result, $async$completer);
59601 while (true)
59602 switch ($async$goto) {
59603 case 0:
59604 // Function start
59605 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59606 case 2:
59607 // for condition
59608 if (!t1.moveNext$0()) {
59609 // goto after for
59610 $async$goto = 3;
59611 break;
59612 }
59613 $async$goto = 4;
59614 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59615 case 4:
59616 // returning from await.
59617 // goto for condition
59618 $async$goto = 2;
59619 break;
59620 case 3:
59621 // after for
59622 // implicit return
59623 return A._asyncReturn(null, $async$completer);
59624 }
59625 });
59626 return A._asyncStartSync($async$call$0, $async$completer);
59627 },
59628 $signature: 2
59629 };
59630 A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
59631 call$1(node) {
59632 return type$.CssStyleRule._is(node);
59633 },
59634 $signature: 7
59635 };
59636 A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
59637 call$0() {
59638 var $async$goto = 0,
59639 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59640 $async$self = this, t2, t3, t1, styleRule;
59641 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59642 if ($async$errorCode === 1)
59643 return A._asyncRethrow($async$result, $async$completer);
59644 while (true)
59645 switch ($async$goto) {
59646 case 0:
59647 // Function start
59648 t1 = $async$self.$this;
59649 styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
59650 $async$goto = styleRule == null ? 2 : 4;
59651 break;
59652 case 2:
59653 // then
59654 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
59655 case 5:
59656 // for condition
59657 if (!t2.moveNext$0()) {
59658 // goto after for
59659 $async$goto = 6;
59660 break;
59661 }
59662 $async$goto = 7;
59663 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
59664 case 7:
59665 // returning from await.
59666 // goto for condition
59667 $async$goto = 5;
59668 break;
59669 case 6:
59670 // after for
59671 // goto join
59672 $async$goto = 3;
59673 break;
59674 case 4:
59675 // else
59676 $async$goto = 8;
59677 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);
59678 case 8:
59679 // returning from await.
59680 case 3:
59681 // join
59682 // implicit return
59683 return A._asyncReturn(null, $async$completer);
59684 }
59685 });
59686 return A._asyncStartSync($async$call$0, $async$completer);
59687 },
59688 $signature: 2
59689 };
59690 A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
59691 call$0() {
59692 var $async$goto = 0,
59693 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
59694 $async$self = this, t1, t2, t3;
59695 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59696 if ($async$errorCode === 1)
59697 return A._asyncRethrow($async$result, $async$completer);
59698 while (true)
59699 switch ($async$goto) {
59700 case 0:
59701 // Function start
59702 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
59703 case 2:
59704 // for condition
59705 if (!t1.moveNext$0()) {
59706 // goto after for
59707 $async$goto = 3;
59708 break;
59709 }
59710 $async$goto = 4;
59711 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
59712 case 4:
59713 // returning from await.
59714 // goto for condition
59715 $async$goto = 2;
59716 break;
59717 case 3:
59718 // after for
59719 // implicit return
59720 return A._asyncReturn(null, $async$completer);
59721 }
59722 });
59723 return A._asyncStartSync($async$call$0, $async$completer);
59724 },
59725 $signature: 2
59726 };
59727 A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
59728 call$1(node) {
59729 return type$.CssStyleRule._is(node);
59730 },
59731 $signature: 7
59732 };
59733 A._EvaluateVisitor__performInterpolation_closure0.prototype = {
59734 call$1(value) {
59735 var $async$goto = 0,
59736 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
59737 $async$returnValue, $async$self = this, t1, result, t2, t3;
59738 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
59739 if ($async$errorCode === 1)
59740 return A._asyncRethrow($async$result, $async$completer);
59741 while (true)
59742 switch ($async$goto) {
59743 case 0:
59744 // Function start
59745 if (typeof value == "string") {
59746 $async$returnValue = value;
59747 // goto return
59748 $async$goto = 1;
59749 break;
59750 }
59751 type$.Expression._as(value);
59752 t1 = $async$self.$this;
59753 $async$goto = 3;
59754 return A._asyncAwait(value.accept$1(t1), $async$call$1);
59755 case 3:
59756 // returning from await.
59757 result = $async$result;
59758 if ($async$self.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
59759 t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
59760 t3 = $.$get$namesByColor();
59761 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));
59762 }
59763 $async$returnValue = t1._async_evaluate$_serialize$3$quote(result, value, false);
59764 // goto return
59765 $async$goto = 1;
59766 break;
59767 case 1:
59768 // return
59769 return A._asyncReturn($async$returnValue, $async$completer);
59770 }
59771 });
59772 return A._asyncStartSync($async$call$1, $async$completer);
59773 },
59774 $signature: 81
59775 };
59776 A._EvaluateVisitor__serialize_closure0.prototype = {
59777 call$0() {
59778 return A.serializeValue(this.value, false, this.quote);
59779 },
59780 $signature: 30
59781 };
59782 A._EvaluateVisitor__expressionNode_closure0.prototype = {
59783 call$0() {
59784 var t1 = this.expression;
59785 return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
59786 },
59787 $signature: 173
59788 };
59789 A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
59790 call$1(number) {
59791 var asSlash = number.asSlash;
59792 if (asSlash != null)
59793 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
59794 else
59795 return A.serializeValue(number, true, true);
59796 },
59797 $signature: 169
59798 };
59799 A._EvaluateVisitor__stackFrame_closure0.prototype = {
59800 call$1(url) {
59801 var t1 = this.$this._async_evaluate$_importCache;
59802 t1 = t1 == null ? null : t1.humanize$1(url);
59803 return t1 == null ? url : t1;
59804 },
59805 $signature: 88
59806 };
59807 A._EvaluateVisitor__stackTrace_closure0.prototype = {
59808 call$1(tuple) {
59809 return this.$this._async_evaluate$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
59810 },
59811 $signature: 161
59812 };
59813 A._ImportedCssVisitor0.prototype = {
59814 visitCssAtRule$1(node) {
59815 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
59816 this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
59817 },
59818 visitCssComment$1(node) {
59819 return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
59820 },
59821 visitCssDeclaration$1(node) {
59822 },
59823 visitCssImport$1(node) {
59824 var t2,
59825 _s13_ = "_endOfImports",
59826 t1 = this._async_evaluate$_visitor;
59827 if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
59828 t1._async_evaluate$_addChild$1(node);
59829 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)) {
59830 t1._async_evaluate$_addChild$1(node);
59831 t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
59832 } else {
59833 t2 = t1._async_evaluate$_outOfOrderImports;
59834 (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
59835 }
59836 },
59837 visitCssKeyframeBlock$1(node) {
59838 },
59839 visitCssMediaRule$1(node) {
59840 var t1 = this._async_evaluate$_visitor,
59841 mediaQueries = t1._async_evaluate$_mediaQueries;
59842 t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
59843 },
59844 visitCssStyleRule$1(node) {
59845 return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
59846 },
59847 visitCssStylesheet$1(node) {
59848 var t1, t2;
59849 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
59850 t2._as(t1.__internal$_current).accept$1(this);
59851 },
59852 visitCssSupportsRule$1(node) {
59853 return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
59854 }
59855 };
59856 A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
59857 call$1(node) {
59858 return type$.CssStyleRule._is(node);
59859 },
59860 $signature: 7
59861 };
59862 A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
59863 call$1(node) {
59864 var t1;
59865 if (!type$.CssStyleRule._is(node))
59866 t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
59867 else
59868 t1 = true;
59869 return t1;
59870 },
59871 $signature: 7
59872 };
59873 A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
59874 call$1(node) {
59875 return type$.CssStyleRule._is(node);
59876 },
59877 $signature: 7
59878 };
59879 A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
59880 call$1(node) {
59881 return type$.CssStyleRule._is(node);
59882 },
59883 $signature: 7
59884 };
59885 A.EvaluateResult.prototype = {};
59886 A._EvaluationContext0.prototype = {
59887 get$currentCallableSpan() {
59888 var callableNode = this._async_evaluate$_visitor._async_evaluate$_callableNode;
59889 if (callableNode != null)
59890 return callableNode.get$span(callableNode);
59891 throw A.wrapException(A.StateError$(string$.No_Sasc));
59892 },
59893 warn$2$deprecation(_, message, deprecation) {
59894 var t1 = this._async_evaluate$_visitor,
59895 t2 = t1._async_evaluate$_importSpan;
59896 if (t2 == null) {
59897 t2 = t1._async_evaluate$_callableNode;
59898 t2 = t2 == null ? null : t2.get$span(t2);
59899 }
59900 t1._async_evaluate$_warn$3$deprecation(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
59901 },
59902 $isEvaluationContext: 1
59903 };
59904 A._ArgumentResults0.prototype = {};
59905 A._LoadedStylesheet0.prototype = {};
59906 A._CloneCssVisitor.prototype = {
59907 visitCssAtRule$1(node) {
59908 var t1 = node.isChildless,
59909 rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
59910 return t1 ? rule : this._visitChildren$2(rule, node);
59911 },
59912 visitCssComment$1(node) {
59913 return new A.ModifiableCssComment(node.text, node.span);
59914 },
59915 visitCssDeclaration$1(node) {
59916 return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
59917 },
59918 visitCssImport$1(node) {
59919 return A.ModifiableCssImport$(node.url, node.span, node.media, node.supports);
59920 },
59921 visitCssKeyframeBlock$1(node) {
59922 return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
59923 },
59924 visitCssMediaRule$1(node) {
59925 return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
59926 },
59927 visitCssStyleRule$1(node) {
59928 var newSelector = this._oldToNewSelectors.$index(0, node.selector);
59929 if (newSelector == null)
59930 throw A.wrapException(A.StateError$(string$.The_Ex));
59931 return this._visitChildren$2(A.ModifiableCssStyleRule$(newSelector, node.span, node.originalSelector), node);
59932 },
59933 visitCssStylesheet$1(node) {
59934 return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
59935 },
59936 visitCssSupportsRule$1(node) {
59937 return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
59938 },
59939 _visitChildren$1$2(newParent, oldParent) {
59940 var t1, t2, newChild;
59941 for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
59942 t2 = t1.get$current(t1);
59943 newChild = t2.accept$1(this);
59944 newChild.isGroupEnd = t2.get$isGroupEnd();
59945 newParent.addChild$1(newChild);
59946 }
59947 return newParent;
59948 },
59949 _visitChildren$2(newParent, oldParent) {
59950 return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
59951 }
59952 };
59953 A.Evaluator.prototype = {};
59954 A._EvaluateVisitor.prototype = {
59955 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
59956 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
59957 _s20_ = "$name, $module: null",
59958 _s9_ = "sass:meta",
59959 t1 = type$.JSArray_BuiltInCallable,
59960 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),
59961 metaMixins = A._setArrayType([A.BuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure8(_this), _s9_)], t1);
59962 t1 = type$.BuiltInCallable;
59963 t2 = A.List_List$of($.$get$global(), true, t1);
59964 B.JSArray_methods.addAll$1(t2, $.$get$local());
59965 B.JSArray_methods.addAll$1(t2, metaFunctions);
59966 metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
59967 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) {
59968 module = t1[_i];
59969 t3.$indexSet(0, module.url, module);
59970 }
59971 t1 = A._setArrayType([], type$.JSArray_Callable);
59972 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
59973 B.JSArray_methods.addAll$1(t1, metaFunctions);
59974 for (t2 = t1.length, t3 = _this._builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
59975 $function = t1[_i];
59976 t4 = J.get$name$x($function);
59977 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
59978 }
59979 },
59980 run$2(_, importer, node) {
59981 var t1 = type$.nullable_Object;
59982 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);
59983 },
59984 runExpression$2(importer, expression) {
59985 var t1 = type$.nullable_Object;
59986 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);
59987 },
59988 runStatement$2(importer, statement) {
59989 var t1 = type$.nullable_Object;
59990 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);
59991 },
59992 _assertInModule$1$2(value, $name) {
59993 if (value != null)
59994 return value;
59995 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
59996 },
59997 _assertInModule$2(value, $name) {
59998 return this._assertInModule$1$2(value, $name, type$.dynamic);
59999 },
60000 _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
60001 var t1, _this = this,
60002 oldImporter = _this._importer;
60003 _this._importer = importer;
60004 _this.__stylesheet = A.Stylesheet$(B.List_empty10, nodeWithSpan.get$span(nodeWithSpan));
60005 try {
60006 t1 = callback.call$0();
60007 return t1;
60008 } finally {
60009 _this._importer = oldImporter;
60010 _this.__stylesheet = null;
60011 }
60012 },
60013 _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
60014 return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
60015 },
60016 _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
60017 var t1, t2, _this = this,
60018 builtInModule = _this._builtInModules.$index(0, url);
60019 if (builtInModule != null) {
60020 if (configuration instanceof A.ExplicitConfiguration) {
60021 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
60022 t2 = configuration.nodeWithSpan;
60023 throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
60024 }
60025 _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(callback, builtInModule));
60026 return;
60027 }
60028 _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
60029 },
60030 _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
60031 return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
60032 },
60033 _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
60034 return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
60035 },
60036 _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
60037 var currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
60038 url = stylesheet.span.file.url,
60039 t1 = _this._modules,
60040 alreadyLoaded = t1.$index(0, url);
60041 if (alreadyLoaded != null) {
60042 t1 = configuration == null;
60043 currentConfiguration = t1 ? _this._configuration : configuration;
60044 if (currentConfiguration instanceof A.ExplicitConfiguration) {
60045 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
60046 t2 = _this._moduleNodes.$index(0, url);
60047 existingSpan = t2 == null ? null : J.get$span$z(t2);
60048 if (t1) {
60049 t1 = currentConfiguration.nodeWithSpan;
60050 configurationSpan = t1.get$span(t1);
60051 } else
60052 configurationSpan = null;
60053 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
60054 if (existingSpan != null)
60055 t1.$indexSet(0, existingSpan, "original load");
60056 if (configurationSpan != null)
60057 t1.$indexSet(0, configurationSpan, "configuration");
60058 throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
60059 }
60060 return alreadyLoaded;
60061 }
60062 environment = A.Environment$();
60063 css = A._Cell$();
60064 extensionStore = A.ExtensionStore$();
60065 _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css));
60066 module = environment.toModule$2(css._readLocal$0(), extensionStore);
60067 if (url != null) {
60068 t1.$indexSet(0, url, module);
60069 if (nodeWithSpan != null)
60070 _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
60071 }
60072 return module;
60073 },
60074 _execute$2(importer, stylesheet) {
60075 return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
60076 },
60077 _addOutOfOrderImports$0() {
60078 var t1, t2, _this = this, _s5_ = "_root",
60079 _s13_ = "_endOfImports",
60080 outOfOrderImports = _this._outOfOrderImports;
60081 if (outOfOrderImports == null)
60082 return _this._assertInModule$2(_this.__root, _s5_).children;
60083 t1 = _this._assertInModule$2(_this.__root, _s5_).children;
60084 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);
60085 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
60086 t2 = _this._assertInModule$2(_this.__root, _s5_).children;
60087 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
60088 return t1;
60089 },
60090 _combineCss$2$clone(root, clone) {
60091 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
60092 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
60093 selectors = root.get$extensionStore().get$simpleSelectors();
60094 unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
60095 if (unsatisfiedExtension != null)
60096 _this._throwForUnsatisfiedExtension$1(unsatisfiedExtension);
60097 return root.get$css(root);
60098 }
60099 sortedModules = _this._topologicalModules$1(root);
60100 if (clone) {
60101 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<Callable>>");
60102 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure1(), t1), true, t1._eval$1("ListIterable.E"));
60103 }
60104 _this._extendModules$1(sortedModules);
60105 t1 = type$.JSArray_CssNode;
60106 imports = A._setArrayType([], t1);
60107 css = A._setArrayType([], t1);
60108 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
60109 t3 = t2._as(t1.__internal$_current);
60110 t3 = t3.get$css(t3);
60111 statements = t3.get$children(t3);
60112 index = _this._indexAfterImports$1(statements);
60113 t3 = J.getInterceptor$ax(statements);
60114 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
60115 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
60116 }
60117 t1 = B.JSArray_methods.$add(imports, css);
60118 t2 = root.get$css(root);
60119 return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
60120 },
60121 _combineCss$1(root) {
60122 return this._combineCss$2$clone(root, false);
60123 },
60124 _extendModules$1(sortedModules) {
60125 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
60126 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
60127 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
60128 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
60129 t2 = t1.get$current(t1);
60130 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
60131 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
60132 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
60133 t3 = t2.get$extensionStore().get$addExtensions();
60134 if ($self != null)
60135 t3.call$1($self);
60136 t3 = t2.get$extensionStore();
60137 if (t3.get$isEmpty(t3))
60138 continue;
60139 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
60140 upstream = t3[_i];
60141 url = upstream.get$url(upstream);
60142 if (url == null)
60143 continue;
60144 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure0()), t2.get$extensionStore());
60145 }
60146 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
60147 }
60148 if (unsatisfiedExtensions._collection$_length !== 0)
60149 this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
60150 },
60151 _throwForUnsatisfiedExtension$1(extension) {
60152 throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
60153 },
60154 _topologicalModules$1(root) {
60155 var t1 = type$.Module_Callable,
60156 sorted = A.QueueList$(null, t1);
60157 new A._EvaluateVisitor__topologicalModules_visitModule(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
60158 return sorted;
60159 },
60160 _indexAfterImports$1(statements) {
60161 var t1, t2, t3, lastImport, i, statement;
60162 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
60163 statement = t1.$index(statements, i);
60164 if (t3._is(statement))
60165 lastImport = i;
60166 else if (!t2._is(statement))
60167 break;
60168 }
60169 return lastImport + 1;
60170 },
60171 visitStylesheet$1(node) {
60172 var t1, t2, _i;
60173 for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
60174 t1[_i].accept$1(this);
60175 return null;
60176 },
60177 visitAtRootRule$1(node) {
60178 var t1, grandparent, root, innerCopy, t2, outerCopy, copy, _this = this,
60179 _s8_ = "__parent",
60180 unparsedQuery = node.query,
60181 query = unparsedQuery != null ? _this._adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure(_this, _this._performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS,
60182 $parent = _this._assertInModule$2(_this.__parent, _s8_),
60183 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
60184 for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
60185 if (!query.excludes$1($parent))
60186 included.push($parent);
60187 grandparent = $parent._parent;
60188 if (grandparent == null)
60189 throw A.wrapException(A.StateError$(string$.CssNod));
60190 }
60191 root = _this._trimIncluded$1(included);
60192 if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
60193 _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node), node.hasDeclarations, type$.Null);
60194 return null;
60195 }
60196 if (included.length !== 0) {
60197 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
60198 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) {
60199 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
60200 copy.addChild$1(outerCopy);
60201 }
60202 root.addChild$1(outerCopy);
60203 } else
60204 innerCopy = root;
60205 _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure1(_this, node));
60206 return null;
60207 },
60208 _trimIncluded$1(nodes) {
60209 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
60210 _s22_ = " to be an ancestor of ";
60211 if (nodes.length === 0)
60212 return _this._assertInModule$2(_this.__root, _s5_);
60213 $parent = _this._assertInModule$2(_this.__parent, "__parent");
60214 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
60215 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
60216 grandparent = $parent._parent;
60217 if (grandparent == null)
60218 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
60219 }
60220 if (innermostContiguous == null)
60221 innermostContiguous = i;
60222 grandparent = $parent._parent;
60223 if (grandparent == null)
60224 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
60225 }
60226 if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
60227 return _this._assertInModule$2(_this.__root, _s5_);
60228 innermostContiguous.toString;
60229 root = nodes[innermostContiguous];
60230 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
60231 return root;
60232 },
60233 _scopeForAtRoot$4(node, newParent, query, included) {
60234 var _this = this,
60235 scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
60236 t1 = query._all || query._at_root_query$_rule;
60237 if (t1 !== query.include)
60238 scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
60239 if (_this._mediaQueries != null && query.excludesName$1("media"))
60240 scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
60241 if (_this._inKeyframes && query.excludesName$1("keyframes"))
60242 scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
60243 return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
60244 },
60245 visitContentBlock$1(node) {
60246 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
60247 },
60248 visitContentRule$1(node) {
60249 var $content = this._environment._content;
60250 if ($content == null)
60251 return null;
60252 this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
60253 return null;
60254 },
60255 visitDebugRule$1(node) {
60256 var value = node.expression.accept$1(this),
60257 t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
60258 this._evaluate$_logger.debug$2(0, t1, node.span);
60259 return null;
60260 },
60261 visitDeclaration$1(node) {
60262 var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
60263 if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
60264 throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
60265 t1 = node.name;
60266 $name = _this._interpolationToValue$2$warnForColor(t1, true);
60267 t2 = _this._declarationName;
60268 if (t2 != null)
60269 $name = new A.CssValue(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
60270 t2 = node.value;
60271 cssValue = A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure(_this));
60272 t3 = cssValue != null;
60273 if (t3)
60274 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
60275 else
60276 t4 = false;
60277 if (t4) {
60278 t3 = _this._assertInModule$2(_this.__parent, "__parent");
60279 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
60280 if (_this._sourceMap) {
60281 t2 = A.NullableExtension_andThen(t2, _this.get$_expressionNode());
60282 t2 = t2 == null ? _null : J.get$span$z(t2);
60283 } else
60284 t2 = _null;
60285 t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
60286 } else if (J.startsWith$1$s($name.value, "--") && t3)
60287 throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
60288 children = node.children;
60289 if (children != null) {
60290 oldDeclarationName = _this._declarationName;
60291 _this._declarationName = $name.value;
60292 _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure0(_this, children), node.hasDeclarations, type$.Null);
60293 _this._declarationName = oldDeclarationName;
60294 }
60295 return _null;
60296 },
60297 visitEachRule$1(node) {
60298 var _this = this,
60299 t1 = node.list,
60300 list = t1.accept$1(_this),
60301 nodeWithSpan = _this._expressionNode$1(t1),
60302 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure0(_this, node, nodeWithSpan);
60303 return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, setVariables, node), true, type$.nullable_Value);
60304 },
60305 _setMultipleVariables$3(variables, value, nodeWithSpan) {
60306 var i,
60307 list = value.get$asList(),
60308 t1 = variables.length,
60309 minLength = Math.min(t1, list.length);
60310 for (i = 0; i < minLength; ++i)
60311 this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
60312 for (i = minLength; i < t1; ++i)
60313 this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
60314 },
60315 visitErrorRule$1(node) {
60316 throw A.wrapException(this._evaluate$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
60317 },
60318 visitExtendRule$1(node) {
60319 var targetText, t1, t2, t3, _i, t4, _this = this,
60320 styleRule = _this._atRootExcludingStyleRule ? null : _this._styleRuleIgnoringAtRoot;
60321 if (styleRule == null || _this._declarationName != null)
60322 throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
60323 targetText = _this._interpolationToValue$2$warnForColor(node.selector, true);
60324 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) {
60325 t4 = t1[_i].components;
60326 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector))
60327 throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.span));
60328 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
60329 if (t4.length !== 1)
60330 throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
60331 _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, _this._mediaQueries);
60332 }
60333 return null;
60334 },
60335 visitAtRule$1(node) {
60336 var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
60337 if (_this._declarationName != null)
60338 throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
60339 $name = _this._interpolationToValue$1(node.name);
60340 value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
60341 children = node.children;
60342 if (children == null) {
60343 _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
60344 return null;
60345 }
60346 wasInKeyframes = _this._inKeyframes;
60347 wasInUnknownAtRule = _this._inUnknownAtRule;
60348 if (A.unvendor($name.value) === "keyframes")
60349 _this._inKeyframes = true;
60350 else
60351 _this._inUnknownAtRule = true;
60352 _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);
60353 _this._inUnknownAtRule = wasInUnknownAtRule;
60354 _this._inKeyframes = wasInKeyframes;
60355 return null;
60356 },
60357 visitForRule$1(node) {
60358 var _this = this, t1 = {},
60359 t2 = node.from,
60360 fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
60361 t3 = node.to,
60362 toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
60363 from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
60364 to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
60365 direction = from > to ? -1 : 1;
60366 if (from === (!node.isExclusive ? t1.to = to + direction : to))
60367 return null;
60368 return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
60369 },
60370 visitForwardRule$1(node) {
60371 var newConfiguration, t4, _i, variable, $name, _this = this,
60372 _s8_ = "@forward",
60373 oldConfiguration = _this._configuration,
60374 adjustedConfiguration = oldConfiguration.throughForward$1(node),
60375 t1 = node.configuration,
60376 t2 = t1.length,
60377 t3 = node.url;
60378 if (t2 !== 0) {
60379 newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
60380 _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
60381 t3 = type$.String;
60382 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
60383 for (_i = 0; _i < t2; ++_i) {
60384 variable = t1[_i];
60385 if (!variable.isGuarded)
60386 t4.add$1(0, variable.name);
60387 }
60388 _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
60389 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
60390 for (_i = 0; _i < t2; ++_i)
60391 t3.add$1(0, t1[_i].name);
60392 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) {
60393 $name = t2[_i];
60394 if (!t3.contains$1(0, $name))
60395 if (!t1.get$isEmpty(t1))
60396 t1.remove$1(0, $name);
60397 }
60398 _this._assertConfigurationIsEmpty$1(newConfiguration);
60399 } else {
60400 _this._configuration = adjustedConfiguration;
60401 _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
60402 _this._configuration = oldConfiguration;
60403 }
60404 return null;
60405 },
60406 _addForwardConfiguration$2(configuration, node) {
60407 var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
60408 t1 = configuration._values,
60409 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
60410 for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
60411 variable = t2[_i];
60412 if (variable.isGuarded) {
60413 t4 = variable.name;
60414 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
60415 if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
60416 newValues.$indexSet(0, t4, t5);
60417 continue;
60418 }
60419 }
60420 t4 = variable.expression;
60421 variableNodeWithSpan = this._expressionNode$1(t4);
60422 newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
60423 }
60424 if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
60425 return new A.ExplicitConfiguration(node, newValues);
60426 else
60427 return new A.Configuration(newValues);
60428 },
60429 _removeUsedConfiguration$3$except(upstream, downstream, except) {
60430 var t1, t2, t3, t4, _i, $name;
60431 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) {
60432 $name = t2[_i];
60433 if (except.contains$1(0, $name))
60434 continue;
60435 if (!t4.containsKey$1($name))
60436 if (!t1.get$isEmpty(t1))
60437 t1.remove$1(0, $name);
60438 }
60439 },
60440 _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
60441 var t1, entry;
60442 if (!(configuration instanceof A.ExplicitConfiguration))
60443 return;
60444 t1 = configuration._values;
60445 if (t1.get$isEmpty(t1))
60446 return;
60447 t1 = t1.get$entries(t1);
60448 entry = t1.get$first(t1);
60449 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
60450 throw A.wrapException(this._evaluate$_exception$2(t1, entry.value.configurationSpan));
60451 },
60452 _assertConfigurationIsEmpty$1(configuration) {
60453 return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
60454 },
60455 visitFunctionRule$1(node) {
60456 var t1 = this._environment,
60457 t2 = t1.closure$0(),
60458 t3 = t1._functions,
60459 index = t3.length - 1,
60460 t4 = node.name;
60461 t1._functionIndices.$indexSet(0, t4, index);
60462 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable(node, t2, type$.UserDefinedCallable_Environment));
60463 return null;
60464 },
60465 visitIfRule$1(node) {
60466 var t1, t2, _i, clauseToCheck, _box_0 = {};
60467 _box_0.clause = node.lastClause;
60468 for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
60469 clauseToCheck = t1[_i];
60470 if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
60471 _box_0.clause = clauseToCheck;
60472 break;
60473 }
60474 }
60475 t1 = _box_0.clause;
60476 if (t1 == null)
60477 return null;
60478 return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value);
60479 },
60480 visitImportRule$1(node) {
60481 var t1, t2, t3, _i, $import;
60482 for (t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0; _i < t2; ++_i) {
60483 $import = t1[_i];
60484 if ($import instanceof A.DynamicImport)
60485 this._visitDynamicImport$1($import);
60486 else
60487 this._visitStaticImport$1(t3._as($import));
60488 }
60489 return null;
60490 },
60491 _visitDynamicImport$1($import) {
60492 return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
60493 },
60494 _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
60495 var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this;
60496 baseUrl = baseUrl;
60497 try {
60498 _this._importSpan = span;
60499 importCache = _this._evaluate$_importCache;
60500 if (importCache != null) {
60501 if (baseUrl == null)
60502 baseUrl = _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span.file.url;
60503 tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
60504 if (tuple != null) {
60505 isDependency = _this._inDependency || tuple.item1 !== _this._importer;
60506 t1 = tuple.item1;
60507 t2 = tuple.item2;
60508 t3 = tuple.item3;
60509 t4 = _this._quietDeps && isDependency;
60510 stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
60511 if (stylesheet != null) {
60512 _this._loadedUrls.add$1(0, tuple.item2);
60513 t1 = tuple.item1;
60514 return new A._LoadedStylesheet(stylesheet, t1, isDependency);
60515 }
60516 }
60517 } else {
60518 result = _this._importLikeNode$2(url, forImport);
60519 if (result != null) {
60520 t1 = _this._loadedUrls;
60521 A.NullableExtension_andThen(result.stylesheet.span.file.url, t1.get$add(t1));
60522 return result;
60523 }
60524 }
60525 if (B.JSString_methods.startsWith$1(url, "package:") && true)
60526 throw A.wrapException(string$.x22packa);
60527 else
60528 throw A.wrapException("Can't find stylesheet to import.");
60529 } catch (exception) {
60530 t1 = A.unwrapException(exception);
60531 if (t1 instanceof A.SassException) {
60532 error = t1;
60533 stackTrace = A.getTraceFromException(exception);
60534 t1 = error;
60535 t2 = J.getInterceptor$z(t1);
60536 A.throwWithTrace(_this._evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
60537 } else {
60538 error0 = t1;
60539 stackTrace0 = A.getTraceFromException(exception);
60540 message = null;
60541 try {
60542 message = A._asString(J.get$message$x(error0));
60543 } catch (exception) {
60544 message0 = J.toString$0$(error0);
60545 message = message0;
60546 }
60547 A.throwWithTrace(_this._evaluate$_exception$1(message), stackTrace0);
60548 }
60549 } finally {
60550 _this._importSpan = null;
60551 }
60552 },
60553 _loadStylesheet$3$baseUrl(url, span, baseUrl) {
60554 return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
60555 },
60556 _loadStylesheet$3$forImport(url, span, forImport) {
60557 return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
60558 },
60559 _importLikeNode$2(originalUrl, forImport) {
60560 var result, isDependency, contents, url, _this = this,
60561 t1 = _this._nodeImporter;
60562 t1.toString;
60563 result = t1.loadRelative$3(originalUrl, _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span.file.url, forImport);
60564 isDependency = _this._inDependency;
60565 contents = result.get$item1();
60566 url = result.get$item2();
60567 t1 = url.startsWith$1(0, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS;
60568 return new A._LoadedStylesheet(A.Stylesheet_Stylesheet$parse(contents, t1, _this._quietDeps && isDependency ? $.$get$Logger_quiet() : _this._evaluate$_logger, url), null, isDependency);
60569 },
60570 _visitStaticImport$1($import) {
60571 var t1, _this = this,
60572 _s8_ = "__parent",
60573 _s5_ = "_root",
60574 _s13_ = "_endOfImports",
60575 url = _this._interpolationToValue$1($import.url),
60576 supports = A.NullableExtension_andThen($import.supports, new A._EvaluateVisitor__visitStaticImport_closure(_this)),
60577 node = A.ModifiableCssImport$(url, $import.span, A.NullableExtension_andThen($import.media, _this.get$_visitMediaQueries()), supports);
60578 if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
60579 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
60580 else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
60581 _this._assertInModule$2(_this.__root, _s5_).addChild$1(node);
60582 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
60583 } else {
60584 t1 = _this._outOfOrderImports;
60585 (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
60586 }
60587 },
60588 visitIncludeRule$1(node) {
60589 var nodeWithSpan, t1, _this = this,
60590 _s37_ = "Mixin doesn't accept a content block.",
60591 mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
60592 if (mixin == null)
60593 throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", node.span));
60594 nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure0(node));
60595 if (mixin instanceof A.BuiltInCallable) {
60596 if (node.content != null)
60597 throw A.wrapException(_this._evaluate$_exception$2(_s37_, node.span));
60598 _this._runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
60599 } else if (type$.UserDefinedCallable_Environment._is(mixin)) {
60600 t1 = node.content;
60601 if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
60602 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())));
60603 _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);
60604 } else
60605 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
60606 return null;
60607 },
60608 visitMixinRule$1(node) {
60609 var t1 = this._environment,
60610 t2 = t1.closure$0(),
60611 t3 = t1._mixins,
60612 index = t3.length - 1,
60613 t4 = node.name;
60614 t1._mixinIndices.$indexSet(0, t4, index);
60615 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable(node, t2, type$.UserDefinedCallable_Environment));
60616 return null;
60617 },
60618 visitLoudComment$1(node) {
60619 var t1, _this = this,
60620 _s8_ = "__parent",
60621 _s13_ = "_endOfImports";
60622 if (_this._inFunction)
60623 return null;
60624 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))
60625 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
60626 t1 = node.text;
60627 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(_this._performInterpolation$1(t1), t1.span));
60628 return null;
60629 },
60630 visitMediaRule$1(node) {
60631 var queries, mergedQueries, t1, _this = this;
60632 if (_this._declarationName != null)
60633 throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
60634 queries = _this._visitMediaQueries$1(node.query);
60635 mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
60636 t1 = mergedQueries == null;
60637 if (!t1 && J.get$isEmpty$asx(mergedQueries))
60638 return null;
60639 t1 = t1 ? queries : mergedQueries;
60640 _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);
60641 return null;
60642 },
60643 _visitMediaQueries$1(interpolation) {
60644 return this._adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure(this, this._performInterpolation$2$warnForColor(interpolation, true)));
60645 },
60646 _mergeMediaQueries$2(queries1, queries2) {
60647 var t1, t2, t3, t4, t5, result,
60648 queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
60649 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
60650 t4 = t1.get$current(t1);
60651 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
60652 result = t4.merge$1(t5.get$current(t5));
60653 if (result === B._SingletonCssMediaQueryMergeResult_empty)
60654 continue;
60655 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
60656 return null;
60657 queries.push(t3._as(result).query);
60658 }
60659 }
60660 return queries;
60661 },
60662 visitReturnRule$1(node) {
60663 var t1 = node.expression;
60664 return this._withoutSlash$2(t1.accept$1(this), t1);
60665 },
60666 visitSilentComment$1(node) {
60667 return null;
60668 },
60669 visitStyleRule$1(node) {
60670 var t2, selectorText, rule, oldAtRootExcludingStyleRule, _this = this,
60671 _s8_ = "__parent",
60672 t1 = {};
60673 if (_this._declarationName != null)
60674 throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
60675 t2 = node.selector;
60676 selectorText = _this._interpolationToValue$3$trim$warnForColor(t2, true, true);
60677 if (_this._inKeyframes) {
60678 _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);
60679 return null;
60680 }
60681 t1.parsedSelector = _this._adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure2(_this, selectorText));
60682 t1.parsedSelector = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure3(t1, _this));
60683 rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(t1.parsedSelector, t2.span, _this._mediaQueries), node.span, t1.parsedSelector);
60684 oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
60685 t1 = _this._atRootExcludingStyleRule = false;
60686 _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);
60687 _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
60688 if ((oldAtRootExcludingStyleRule ? null : _this._styleRuleIgnoringAtRoot) == null) {
60689 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
60690 t1 = !t1.get$isEmpty(t1);
60691 }
60692 if (t1) {
60693 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
60694 t1.get$last(t1).isGroupEnd = true;
60695 }
60696 return null;
60697 },
60698 visitSupportsRule$1(node) {
60699 var t1, _this = this;
60700 if (_this._declarationName != null)
60701 throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
60702 t1 = node.condition;
60703 _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);
60704 return null;
60705 },
60706 _visitSupportsCondition$1(condition) {
60707 var t1, t2, _this = this;
60708 if (condition instanceof A.SupportsOperation) {
60709 t1 = condition.operator;
60710 return _this._parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._parenthesize$2(condition.right, t1);
60711 } else if (condition instanceof A.SupportsNegation)
60712 return "not " + _this._parenthesize$1(condition.condition);
60713 else if (condition instanceof A.SupportsInterpolation) {
60714 t1 = condition.expression;
60715 return _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
60716 } else if (condition instanceof A.SupportsDeclaration) {
60717 t1 = condition.name;
60718 t1 = "(" + _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, true) + ":";
60719 t2 = condition.value;
60720 return t1 + (condition.get$isCustomProperty() ? "" : " ") + _this._evaluate$_serialize$3$quote(t2.accept$1(_this), t2, true) + ")";
60721 } else if (condition instanceof A.SupportsFunction)
60722 return _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
60723 else if (condition instanceof A.SupportsAnything)
60724 return "(" + _this._performInterpolation$1(condition.contents) + ")";
60725 else
60726 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
60727 },
60728 _parenthesize$2(condition, operator) {
60729 var t1;
60730 if (!(condition instanceof A.SupportsNegation))
60731 if (condition instanceof A.SupportsOperation)
60732 t1 = operator == null || operator !== condition.operator;
60733 else
60734 t1 = false;
60735 else
60736 t1 = true;
60737 if (t1)
60738 return "(" + this._visitSupportsCondition$1(condition) + ")";
60739 else
60740 return this._visitSupportsCondition$1(condition);
60741 },
60742 _parenthesize$1(condition) {
60743 return this._parenthesize$2(condition, null);
60744 },
60745 visitVariableDeclaration$1(node) {
60746 var t1, value, _this = this, _null = null;
60747 if (node.isGuarded) {
60748 if (node.namespace == null && _this._environment._variables.length === 1) {
60749 t1 = _this._configuration._values;
60750 t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
60751 if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
60752 _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(_this, node, t1));
60753 return _null;
60754 }
60755 }
60756 value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
60757 if (value != null && !value.$eq(0, B.C__SassNull))
60758 return _null;
60759 }
60760 if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
60761 t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
60762 _this._warn$3$deprecation(t1, node.span, true);
60763 }
60764 t1 = node.expression;
60765 _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
60766 return _null;
60767 },
60768 visitUseRule$1(node) {
60769 var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
60770 t1 = node.configuration,
60771 t2 = t1.length;
60772 if (t2 !== 0) {
60773 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
60774 for (_i = 0; _i < t2; ++_i) {
60775 variable = t1[_i];
60776 t3 = variable.expression;
60777 variableNodeWithSpan = _this._expressionNode$1(t3);
60778 values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
60779 }
60780 configuration = new A.ExplicitConfiguration(node, values);
60781 } else
60782 configuration = B.Configuration_Map_empty;
60783 _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
60784 _this._assertConfigurationIsEmpty$1(configuration);
60785 return null;
60786 },
60787 visitWarnRule$1(node) {
60788 var _this = this,
60789 value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
60790 t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression);
60791 _this._evaluate$_logger.warn$2$trace(0, t1, _this._evaluate$_stackTrace$1(node.span));
60792 return null;
60793 },
60794 visitWhileRule$1(node) {
60795 return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
60796 },
60797 visitBinaryOperationExpression$1(node) {
60798 return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(this, node));
60799 },
60800 visitValueExpression$1(node) {
60801 return node.value;
60802 },
60803 visitVariableExpression$1(node) {
60804 var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
60805 if (result != null)
60806 return result;
60807 throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
60808 },
60809 visitUnaryOperationExpression$1(node) {
60810 return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
60811 },
60812 visitBooleanExpression$1(node) {
60813 return node.value ? B.SassBoolean_true : B.SassBoolean_false;
60814 },
60815 visitIfExpression$1(node) {
60816 var condition, t2, ifTrue, ifFalse, result, _this = this,
60817 pair = _this._evaluateMacroArguments$1(node),
60818 positional = pair.item1,
60819 named = pair.item2,
60820 t1 = J.getInterceptor$asx(positional);
60821 _this._verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
60822 if (t1.get$length(positional) > 0)
60823 condition = t1.$index(positional, 0);
60824 else {
60825 t2 = named.$index(0, "condition");
60826 t2.toString;
60827 condition = t2;
60828 }
60829 if (t1.get$length(positional) > 1)
60830 ifTrue = t1.$index(positional, 1);
60831 else {
60832 t2 = named.$index(0, "if-true");
60833 t2.toString;
60834 ifTrue = t2;
60835 }
60836 if (t1.get$length(positional) > 2)
60837 ifFalse = t1.$index(positional, 2);
60838 else {
60839 t1 = named.$index(0, "if-false");
60840 t1.toString;
60841 ifFalse = t1;
60842 }
60843 result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
60844 return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
60845 },
60846 visitNullExpression$1(node) {
60847 return B.C__SassNull;
60848 },
60849 visitNumberExpression$1(node) {
60850 var t1 = node.value,
60851 t2 = node.unit;
60852 return t2 == null ? new A.UnitlessSassNumber(t1, null) : new A.SingleUnitSassNumber(t2, t1, null);
60853 },
60854 visitParenthesizedExpression$1(node) {
60855 return node.expression.accept$1(this);
60856 },
60857 visitCalculationExpression$1(node) {
60858 var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception,
60859 t1 = A._setArrayType([], type$.JSArray_Object);
60860 for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
60861 argument = t2[_i];
60862 t1.push(this._visitCalculationValue$2$inMinMax(argument, !t5 || t6));
60863 }
60864 $arguments = t1;
60865 try {
60866 switch (t4) {
60867 case "calc":
60868 t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
60869 return t1;
60870 case "min":
60871 t1 = A.SassCalculation_min($arguments);
60872 return t1;
60873 case "max":
60874 t1 = A.SassCalculation_max($arguments);
60875 return t1;
60876 case "clamp":
60877 t1 = J.$index$asx($arguments, 0);
60878 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
60879 t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
60880 return t1;
60881 default:
60882 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
60883 throw A.wrapException(t1);
60884 }
60885 } catch (exception) {
60886 t1 = A.unwrapException(exception);
60887 if (t1 instanceof A.SassScriptException) {
60888 error = t1;
60889 stackTrace = A.getTraceFromException(exception);
60890 this._verifyCompatibleNumbers$2($arguments, t2);
60891 A.throwWithTrace(this._evaluate$_exception$2(error.message, node.span), stackTrace);
60892 } else
60893 throw exception;
60894 }
60895 },
60896 _verifyCompatibleNumbers$2(args, nodesWithSpans) {
60897 var i, t1, arg, number1, j, number2;
60898 for (i = 0; t1 = args.length, i < t1; ++i) {
60899 arg = args[i];
60900 if (!(arg instanceof A.SassNumber))
60901 continue;
60902 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
60903 throw A.wrapException(this._evaluate$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
60904 }
60905 for (i = 0; i < t1 - 1; ++i) {
60906 number1 = args[i];
60907 if (!(number1 instanceof A.SassNumber))
60908 continue;
60909 for (j = i + 1; t1 = args.length, j < t1; ++j) {
60910 number2 = args[j];
60911 if (!(number2 instanceof A.SassNumber))
60912 continue;
60913 if (number1.hasPossiblyCompatibleUnits$1(number2))
60914 continue;
60915 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]))));
60916 }
60917 }
60918 },
60919 _visitCalculationValue$2$inMinMax(node, inMinMax) {
60920 var inner, result, t1, _this = this;
60921 if (node instanceof A.ParenthesizedExpression) {
60922 inner = node.expression;
60923 result = _this._visitCalculationValue$2$inMinMax(inner, inMinMax);
60924 if (inner instanceof A.FunctionExpression)
60925 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
60926 else
60927 t1 = false;
60928 return t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
60929 } else if (node instanceof A.StringExpression)
60930 return new A.CalculationInterpolation(_this._performInterpolation$1(node.text));
60931 else if (node instanceof A.BinaryOperationExpression)
60932 return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure(_this, node, inMinMax));
60933 else {
60934 result = node.accept$1(_this);
60935 if (result instanceof A.SassNumber || result instanceof A.SassCalculation)
60936 return result;
60937 if (result instanceof A.SassString && !result._hasQuotes)
60938 return result;
60939 throw A.wrapException(_this._evaluate$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
60940 }
60941 },
60942 _binaryOperatorToCalculationOperator$1(operator) {
60943 switch (operator) {
60944 case B.BinaryOperator_AcR0:
60945 return B.CalculationOperator_Iem;
60946 case B.BinaryOperator_iyO:
60947 return B.CalculationOperator_uti;
60948 case B.BinaryOperator_O1M:
60949 return B.CalculationOperator_Dih;
60950 case B.BinaryOperator_RTB:
60951 return B.CalculationOperator_jB6;
60952 default:
60953 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
60954 }
60955 },
60956 visitColorExpression$1(node) {
60957 return node.value;
60958 },
60959 visitListExpression$1(node) {
60960 var t1 = node.contents;
60961 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);
60962 },
60963 visitMapExpression$1(node) {
60964 var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
60965 t1 = type$.Value,
60966 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
60967 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
60968 for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
60969 pair = t2[_i];
60970 t4 = pair.item1;
60971 keyValue = t4.accept$1(this);
60972 valueValue = pair.item2.accept$1(this);
60973 if (map.$index(0, keyValue) != null) {
60974 t1 = keyNodes.$index(0, keyValue);
60975 oldValueSpan = t1 == null ? null : t1.get$span(t1);
60976 t1 = J.getInterceptor$z(t4);
60977 t2 = t1.get$span(t4);
60978 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
60979 if (oldValueSpan != null)
60980 t3.$indexSet(0, oldValueSpan, "first key");
60981 throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, this._evaluate$_stackTrace$1(t1.get$span(t4))));
60982 }
60983 map.$indexSet(0, keyValue, valueValue);
60984 keyNodes.$indexSet(0, keyValue, t4);
60985 }
60986 return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
60987 },
60988 visitFunctionExpression$1(node) {
60989 var oldInFunction, result, _this = this, t1 = {},
60990 $function = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
60991 t1.$function = $function;
60992 if ($function == null) {
60993 if (node.namespace != null)
60994 throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
60995 t1.$function = new A.PlainCssCallable(node.originalName);
60996 }
60997 oldInFunction = _this._inFunction;
60998 _this._inFunction = true;
60999 result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure0(t1, _this, node));
61000 _this._inFunction = oldInFunction;
61001 return result;
61002 },
61003 visitInterpolatedFunctionExpression$1(node) {
61004 var result, _this = this,
61005 t1 = _this._performInterpolation$1(node.name),
61006 oldInFunction = _this._inFunction;
61007 _this._inFunction = true;
61008 result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
61009 _this._inFunction = oldInFunction;
61010 return result;
61011 },
61012 _getFunction$2$namespace($name, namespace) {
61013 var local = this._environment.getFunction$2$namespace($name, namespace);
61014 if (local != null || namespace != null)
61015 return local;
61016 return this._builtInFunctions.$index(0, $name);
61017 },
61018 _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
61019 var evaluated = this._evaluateArguments$1($arguments),
61020 $name = callable.declaration.name;
61021 if ($name !== "@content")
61022 $name += "()";
61023 return this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(this, callable, evaluated, nodeWithSpan, run, $V));
61024 },
61025 _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
61026 var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
61027 if (callable instanceof A.BuiltInCallable)
61028 return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
61029 else if (type$.UserDefinedCallable_Environment._is(callable))
61030 return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
61031 else if (callable instanceof A.PlainCssCallable) {
61032 t1 = $arguments.named;
61033 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
61034 throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
61035 t1 = callable.name + "(";
61036 for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
61037 argument = t2[_i];
61038 if (first)
61039 first = false;
61040 else
61041 t1 += ", ";
61042 t1 += _this._evaluate$_serialize$3$quote(argument.accept$1(_this), argument, true);
61043 }
61044 restArg = $arguments.rest;
61045 if (restArg != null) {
61046 rest = restArg.accept$1(_this);
61047 if (!first)
61048 t1 += ", ";
61049 t1 += _this._evaluate$_serialize$2(rest, restArg);
61050 }
61051 t1 += A.Primitives_stringFromCharCode(41);
61052 return new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
61053 } else
61054 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
61055 },
61056 _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
61057 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,
61058 evaluated = _this._evaluateArguments$1($arguments),
61059 oldCallableNode = _this._callableNode;
61060 _this._callableNode = nodeWithSpan;
61061 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
61062 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
61063 overload = tuple.item1;
61064 callback = tuple.item2;
61065 _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(overload, evaluated, namedSet));
61066 declaredArguments = overload.$arguments;
61067 for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
61068 argument = declaredArguments[i];
61069 t2 = evaluated.positional;
61070 t3 = evaluated.named.remove$1(0, argument.name);
61071 if (t3 == null) {
61072 t3 = argument.defaultValue;
61073 t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
61074 }
61075 t2.push(t3);
61076 }
61077 if (overload.restArgument != null) {
61078 if (evaluated.positional.length > t1) {
61079 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
61080 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
61081 } else
61082 rest = B.List_empty5;
61083 t1 = evaluated.named;
61084 argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : evaluated.separator);
61085 evaluated.positional.push(argumentList);
61086 } else
61087 argumentList = null;
61088 result = null;
61089 try {
61090 result = callback.call$1(evaluated.positional);
61091 } catch (exception) {
61092 t1 = A.unwrapException(exception);
61093 if (type$.SassRuntimeException._is(t1))
61094 throw exception;
61095 else if (t1 instanceof A.MultiSpanSassScriptException) {
61096 error = t1;
61097 stackTrace = A.getTraceFromException(exception);
61098 t1 = error.message;
61099 t2 = nodeWithSpan.get$span(nodeWithSpan);
61100 t3 = error.primaryLabel;
61101 t4 = error.secondarySpans;
61102 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);
61103 } else if (t1 instanceof A.MultiSpanSassException) {
61104 error0 = t1;
61105 stackTrace0 = A.getTraceFromException(exception);
61106 t1 = error0._span_exception$_message;
61107 t2 = error0;
61108 t3 = J.getInterceptor$z(t2);
61109 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
61110 t3 = error0.primaryLabel;
61111 t4 = error0.secondarySpans;
61112 t5 = error0;
61113 t6 = J.getInterceptor$z(t5);
61114 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);
61115 } else {
61116 error1 = t1;
61117 stackTrace1 = A.getTraceFromException(exception);
61118 message = null;
61119 try {
61120 message = A._asString(J.get$message$x(error1));
61121 } catch (exception) {
61122 message0 = J.toString$0$(error1);
61123 message = message0;
61124 }
61125 A.throwWithTrace(_this._evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
61126 }
61127 }
61128 _this._callableNode = oldCallableNode;
61129 if (argumentList == null)
61130 return result;
61131 t1 = evaluated.named;
61132 if (t1.get$isEmpty(t1))
61133 return result;
61134 if (argumentList._wereKeywordsAccessed)
61135 return result;
61136 t1 = evaluated.named;
61137 t1 = t1.get$keys(t1);
61138 t1 = "No " + A.pluralize("argument", t1.get$length(t1), null) + " named ";
61139 t2 = evaluated.named;
61140 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))));
61141 },
61142 _evaluateArguments$1($arguments) {
61143 var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
61144 positional = A._setArrayType([], type$.JSArray_Value),
61145 positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
61146 for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
61147 expression = t1[_i];
61148 nodeForSpan = _this._expressionNode$1(expression);
61149 positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
61150 positionalNodes.push(nodeForSpan);
61151 }
61152 t1 = type$.String;
61153 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
61154 t2 = type$.AstNode;
61155 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61156 for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
61157 t4 = t3.get$current(t3);
61158 t5 = t4.value;
61159 nodeForSpan = _this._expressionNode$1(t5);
61160 t4 = t4.key;
61161 named.$indexSet(0, t4, _this._withoutSlash$2(t5.accept$1(_this), nodeForSpan));
61162 namedNodes.$indexSet(0, t4, nodeForSpan);
61163 }
61164 restArgs = $arguments.rest;
61165 if (restArgs == null)
61166 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null);
61167 rest = restArgs.accept$1(_this);
61168 restNodeForSpan = _this._expressionNode$1(restArgs);
61169 if (rest instanceof A.SassMap) {
61170 _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
61171 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61172 for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
61173 t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
61174 namedNodes.addAll$1(0, t3);
61175 separator = B.ListSeparator_undecided_null;
61176 } else if (rest instanceof A.SassList) {
61177 t3 = rest._list$_contents;
61178 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>")));
61179 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
61180 separator = rest._separator;
61181 if (rest instanceof A.SassArgumentList) {
61182 rest._wereKeywordsAccessed = true;
61183 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
61184 }
61185 } else {
61186 positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
61187 positionalNodes.push(restNodeForSpan);
61188 separator = B.ListSeparator_undecided_null;
61189 }
61190 keywordRestArgs = $arguments.keywordRest;
61191 if (keywordRestArgs == null)
61192 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
61193 keywordRest = keywordRestArgs.accept$1(_this);
61194 keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
61195 if (keywordRest instanceof A.SassMap) {
61196 _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
61197 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
61198 for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
61199 t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
61200 namedNodes.addAll$1(0, t1);
61201 return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
61202 } else
61203 throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
61204 },
61205 _evaluateMacroArguments$1(invocation) {
61206 var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
61207 t1 = invocation.$arguments,
61208 restArgs_ = t1.rest;
61209 if (restArgs_ == null)
61210 return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61211 t2 = t1.positional;
61212 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
61213 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
61214 rest = restArgs_.accept$1(_this);
61215 restNodeForSpan = _this._expressionNode$1(restArgs_);
61216 if (rest instanceof A.SassMap)
61217 _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
61218 else if (rest instanceof A.SassList) {
61219 t2 = rest._list$_contents;
61220 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>")));
61221 if (rest instanceof A.SassArgumentList) {
61222 rest._wereKeywordsAccessed = true;
61223 rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
61224 }
61225 } else
61226 positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
61227 keywordRestArgs_ = t1.keywordRest;
61228 if (keywordRestArgs_ == null)
61229 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61230 keywordRest = keywordRestArgs_.accept$1(_this);
61231 keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
61232 if (keywordRest instanceof A.SassMap) {
61233 _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
61234 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
61235 } else
61236 throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
61237 },
61238 _addRestMap$1$4(values, map, nodeWithSpan, convert) {
61239 map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
61240 },
61241 _addRestMap$4(values, map, nodeWithSpan, convert) {
61242 return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
61243 },
61244 _verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
61245 return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure($arguments, positional, named));
61246 },
61247 visitSelectorExpression$1(node) {
61248 var t1 = this._styleRuleIgnoringAtRoot;
61249 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
61250 return t1 == null ? B.C__SassNull : t1;
61251 },
61252 visitStringExpression$1(node) {
61253 var t1 = node.text.contents;
61254 return new A.SassString(new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0), node.hasQuotes);
61255 },
61256 visitCssAtRule$1(node) {
61257 var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
61258 if (_this._declarationName != null)
61259 throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
61260 if (node.isChildless) {
61261 _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
61262 return;
61263 }
61264 wasInKeyframes = _this._inKeyframes;
61265 wasInUnknownAtRule = _this._inUnknownAtRule;
61266 t1 = node.name;
61267 if (A.unvendor(t1.get$value(t1)) === "keyframes")
61268 _this._inKeyframes = true;
61269 else
61270 _this._inUnknownAtRule = true;
61271 _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);
61272 _this._inUnknownAtRule = wasInUnknownAtRule;
61273 _this._inKeyframes = wasInKeyframes;
61274 },
61275 visitCssComment$1(node) {
61276 var _this = this,
61277 _s8_ = "__parent",
61278 _s13_ = "_endOfImports";
61279 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))
61280 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
61281 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
61282 },
61283 visitCssDeclaration$1(node) {
61284 var t1 = node.name;
61285 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));
61286 },
61287 visitCssImport$1(node) {
61288 var t1, _this = this,
61289 _s8_ = "__parent",
61290 _s5_ = "_root",
61291 _s13_ = "_endOfImports",
61292 modifiableNode = A.ModifiableCssImport$(node.url, node.span, node.media, node.supports);
61293 if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
61294 _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
61295 else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
61296 _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
61297 _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
61298 } else {
61299 t1 = _this._outOfOrderImports;
61300 (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
61301 }
61302 },
61303 visitCssKeyframeBlock$1(node) {
61304 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);
61305 },
61306 visitCssMediaRule$1(node) {
61307 var mergedQueries, t1, _this = this;
61308 if (_this._declarationName != null)
61309 throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
61310 mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
61311 t1 = mergedQueries == null;
61312 if (!t1 && J.get$isEmpty$asx(mergedQueries))
61313 return;
61314 t1 = t1 ? node.queries : mergedQueries;
61315 _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);
61316 },
61317 visitCssStyleRule$1(node) {
61318 var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
61319 _s8_ = "__parent";
61320 if (_this._declarationName != null)
61321 throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
61322 t1 = _this._atRootExcludingStyleRule;
61323 styleRule = t1 ? null : _this._styleRuleIgnoringAtRoot;
61324 t2 = node.selector;
61325 t3 = t2.value;
61326 t4 = styleRule == null;
61327 t5 = t4 ? null : styleRule.originalSelector;
61328 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
61329 rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._mediaQueries), node.span, originalSelector);
61330 oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
61331 _this._atRootExcludingStyleRule = false;
61332 _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);
61333 _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
61334 if (t4) {
61335 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61336 t1 = !t1.get$isEmpty(t1);
61337 } else
61338 t1 = false;
61339 if (t1) {
61340 t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
61341 t1.get$last(t1).isGroupEnd = true;
61342 }
61343 },
61344 visitCssStylesheet$1(node) {
61345 var t1;
61346 for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
61347 t1.get$current(t1).accept$1(this);
61348 },
61349 visitCssSupportsRule$1(node) {
61350 var _this = this;
61351 if (_this._declarationName != null)
61352 throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
61353 _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);
61354 },
61355 _handleReturn$1$2(list, callback) {
61356 var t1, _i, result;
61357 for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
61358 result = callback.call$1(list[_i]);
61359 if (result != null)
61360 return result;
61361 }
61362 return null;
61363 },
61364 _handleReturn$2(list, callback) {
61365 return this._handleReturn$1$2(list, callback, type$.dynamic);
61366 },
61367 _withEnvironment$1$2(environment, callback) {
61368 var result,
61369 oldEnvironment = this._environment;
61370 this._environment = environment;
61371 result = callback.call$0();
61372 this._environment = oldEnvironment;
61373 return result;
61374 },
61375 _withEnvironment$2(environment, callback) {
61376 return this._withEnvironment$1$2(environment, callback, type$.dynamic);
61377 },
61378 _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
61379 var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
61380 t1 = trim ? A.trimAscii(result, true) : result;
61381 return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
61382 },
61383 _interpolationToValue$1(interpolation) {
61384 return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
61385 },
61386 _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
61387 return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
61388 },
61389 _performInterpolation$2$warnForColor(interpolation, warnForColor) {
61390 var t1 = interpolation.contents;
61391 return new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure(this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
61392 },
61393 _performInterpolation$1(interpolation) {
61394 return this._performInterpolation$2$warnForColor(interpolation, false);
61395 },
61396 _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
61397 return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
61398 },
61399 _evaluate$_serialize$2(value, nodeWithSpan) {
61400 return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
61401 },
61402 _expressionNode$1(expression) {
61403 var t1;
61404 if (expression instanceof A.VariableExpression) {
61405 t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
61406 return t1 == null ? expression : t1;
61407 } else
61408 return expression;
61409 },
61410 _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
61411 var t1, result, _this = this;
61412 _this._addChild$2$through(node, through);
61413 t1 = _this._assertInModule$2(_this.__parent, "__parent");
61414 _this.__parent = node;
61415 result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
61416 _this.__parent = t1;
61417 return result;
61418 },
61419 _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
61420 return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
61421 },
61422 _withParent$2$2(node, callback, $S, $T) {
61423 return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
61424 },
61425 _addChild$2$through(node, through) {
61426 var grandparent, t1,
61427 $parent = this._assertInModule$2(this.__parent, "__parent");
61428 if (through != null) {
61429 for (; through.call$1($parent); $parent = grandparent) {
61430 grandparent = $parent._parent;
61431 if (grandparent == null)
61432 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
61433 }
61434 if ($parent.get$hasFollowingSibling()) {
61435 t1 = $parent._parent;
61436 t1.toString;
61437 $parent = $parent.copyWithoutChildren$0();
61438 t1.addChild$1($parent);
61439 }
61440 }
61441 $parent.addChild$1(node);
61442 },
61443 _addChild$1(node) {
61444 return this._addChild$2$through(node, null);
61445 },
61446 _withStyleRule$1$2(rule, callback) {
61447 var result,
61448 oldRule = this._styleRuleIgnoringAtRoot;
61449 this._styleRuleIgnoringAtRoot = rule;
61450 result = callback.call$0();
61451 this._styleRuleIgnoringAtRoot = oldRule;
61452 return result;
61453 },
61454 _withStyleRule$2(rule, callback) {
61455 return this._withStyleRule$1$2(rule, callback, type$.dynamic);
61456 },
61457 _withMediaQueries$1$2(queries, callback) {
61458 var result,
61459 oldMediaQueries = this._mediaQueries;
61460 this._mediaQueries = queries;
61461 result = callback.call$0();
61462 this._mediaQueries = oldMediaQueries;
61463 return result;
61464 },
61465 _withMediaQueries$2(queries, callback) {
61466 return this._withMediaQueries$1$2(queries, callback, type$.dynamic);
61467 },
61468 _withStackFrame$1$3(member, nodeWithSpan, callback) {
61469 var oldMember, result, _this = this,
61470 t1 = _this._stack;
61471 t1.push(new A.Tuple2(_this._member, nodeWithSpan, type$.Tuple2_String_AstNode));
61472 oldMember = _this._member;
61473 _this._member = member;
61474 result = callback.call$0();
61475 _this._member = oldMember;
61476 t1.pop();
61477 return result;
61478 },
61479 _withStackFrame$3(member, nodeWithSpan, callback) {
61480 return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
61481 },
61482 _withoutSlash$2(value, nodeForSpan) {
61483 if (value instanceof A.SassNumber && value.asSlash != null)
61484 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);
61485 return value.withoutSlash$0();
61486 },
61487 _stackFrame$2(member, span) {
61488 return A.frameForSpan(span, member, A.NullableExtension_andThen(span.file.url, new A._EvaluateVisitor__stackFrame_closure(this)));
61489 },
61490 _evaluate$_stackTrace$1(span) {
61491 var _this = this,
61492 t1 = _this._stack;
61493 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);
61494 if (span != null)
61495 t1.push(_this._stackFrame$2(_this._member, span));
61496 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
61497 },
61498 _evaluate$_stackTrace$0() {
61499 return this._evaluate$_stackTrace$1(null);
61500 },
61501 _warn$3$deprecation(message, span, deprecation) {
61502 var _this = this;
61503 if (_this._quietDeps && _this._inDependency)
61504 return;
61505 if (!_this._warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
61506 return;
61507 _this._evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate$_stackTrace$1(span));
61508 },
61509 _warn$2(message, span) {
61510 return this._warn$3$deprecation(message, span, false);
61511 },
61512 _evaluate$_exception$2(message, span) {
61513 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._stack).item2) : span;
61514 return new A.SassRuntimeException(this._evaluate$_stackTrace$1(span), message, t1);
61515 },
61516 _evaluate$_exception$1(message) {
61517 return this._evaluate$_exception$2(message, null);
61518 },
61519 _multiSpanException$3(message, primaryLabel, secondaryLabels) {
61520 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._stack).item2);
61521 return new A.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
61522 },
61523 _adjustParseError$1$2(nodeWithSpan, callback) {
61524 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
61525 try {
61526 t1 = callback.call$0();
61527 return t1;
61528 } catch (exception) {
61529 t1 = A.unwrapException(exception);
61530 if (t1 instanceof A.SassFormatException) {
61531 error = t1;
61532 stackTrace = A.getTraceFromException(exception);
61533 t1 = error;
61534 t2 = J.getInterceptor$z(t1);
61535 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
61536 span = nodeWithSpan.get$span(nodeWithSpan);
61537 t1 = span;
61538 t2 = span;
61539 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);
61540 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
61541 t1 = span;
61542 t1 = A.FileLocation$_(t1.file, t1._file$_start);
61543 t3 = error;
61544 t4 = J.getInterceptor$z(t3);
61545 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
61546 t3 = A.FileLocation$_(t3.file, t3._file$_start);
61547 t4 = span;
61548 t4 = A.FileLocation$_(t4.file, t4._file$_start);
61549 t5 = error;
61550 t6 = J.getInterceptor$z(t5);
61551 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
61552 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
61553 A.throwWithTrace(this._evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
61554 } else
61555 throw exception;
61556 }
61557 },
61558 _adjustParseError$2(nodeWithSpan, callback) {
61559 return this._adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
61560 },
61561 _addExceptionSpan$1$2(nodeWithSpan, callback) {
61562 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
61563 try {
61564 t1 = callback.call$0();
61565 return t1;
61566 } catch (exception) {
61567 t1 = A.unwrapException(exception);
61568 if (t1 instanceof A.MultiSpanSassScriptException) {
61569 error = t1;
61570 stackTrace = A.getTraceFromException(exception);
61571 t1 = error.message;
61572 t2 = nodeWithSpan.get$span(nodeWithSpan);
61573 t3 = error.primaryLabel;
61574 t4 = error.secondarySpans;
61575 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);
61576 } else if (t1 instanceof A.SassScriptException) {
61577 error0 = t1;
61578 stackTrace0 = A.getTraceFromException(exception);
61579 A.throwWithTrace(this._evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
61580 } else
61581 throw exception;
61582 }
61583 },
61584 _addExceptionSpan$2(nodeWithSpan, callback) {
61585 return this._addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
61586 },
61587 _addErrorSpan$1$2(nodeWithSpan, callback) {
61588 var error, stackTrace, t1, exception, t2;
61589 try {
61590 t1 = callback.call$0();
61591 return t1;
61592 } catch (exception) {
61593 t1 = A.unwrapException(exception);
61594 if (type$.SassRuntimeException._is(t1)) {
61595 error = t1;
61596 stackTrace = A.getTraceFromException(exception);
61597 t1 = J.get$span$z(error);
61598 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"))
61599 throw exception;
61600 t1 = error._span_exception$_message;
61601 t2 = nodeWithSpan.get$span(nodeWithSpan);
61602 A.throwWithTrace(new A.SassRuntimeException(this._evaluate$_stackTrace$0(), t1, t2), stackTrace);
61603 } else
61604 throw exception;
61605 }
61606 },
61607 _addErrorSpan$2(nodeWithSpan, callback) {
61608 return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
61609 }
61610 };
61611 A._EvaluateVisitor_closure.prototype = {
61612 call$1($arguments) {
61613 var module, t2,
61614 t1 = J.getInterceptor$asx($arguments),
61615 variable = t1.$index($arguments, 0).assertString$1("name");
61616 t1 = t1.$index($arguments, 1).get$realNull();
61617 module = t1 == null ? null : t1.assertString$1("module");
61618 t1 = this.$this._environment;
61619 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
61620 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
61621 },
61622 $signature: 17
61623 };
61624 A._EvaluateVisitor_closure0.prototype = {
61625 call$1($arguments) {
61626 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
61627 t1 = this.$this._environment;
61628 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
61629 },
61630 $signature: 17
61631 };
61632 A._EvaluateVisitor_closure1.prototype = {
61633 call$1($arguments) {
61634 var module, t2, t3, t4,
61635 t1 = J.getInterceptor$asx($arguments),
61636 variable = t1.$index($arguments, 0).assertString$1("name");
61637 t1 = t1.$index($arguments, 1).get$realNull();
61638 module = t1 == null ? null : t1.assertString$1("module");
61639 t1 = this.$this;
61640 t2 = t1._environment;
61641 t3 = variable._string$_text;
61642 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
61643 return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
61644 },
61645 $signature: 17
61646 };
61647 A._EvaluateVisitor_closure2.prototype = {
61648 call$1($arguments) {
61649 var module, t2,
61650 t1 = J.getInterceptor$asx($arguments),
61651 variable = t1.$index($arguments, 0).assertString$1("name");
61652 t1 = t1.$index($arguments, 1).get$realNull();
61653 module = t1 == null ? null : t1.assertString$1("module");
61654 t1 = this.$this._environment;
61655 t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
61656 return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
61657 },
61658 $signature: 17
61659 };
61660 A._EvaluateVisitor_closure3.prototype = {
61661 call$1($arguments) {
61662 var t1 = this.$this._environment;
61663 if (!t1._inMixin)
61664 throw A.wrapException(A.SassScriptException$(string$.conten));
61665 return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
61666 },
61667 $signature: 17
61668 };
61669 A._EvaluateVisitor_closure4.prototype = {
61670 call$1($arguments) {
61671 var t2, t3, t4,
61672 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
61673 module = this.$this._environment._environment$_modules.$index(0, t1);
61674 if (module == null)
61675 throw A.wrapException('There is no module with namespace "' + t1 + '".');
61676 t1 = type$.Value;
61677 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
61678 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
61679 t4 = t3.get$current(t3);
61680 t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
61681 }
61682 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
61683 },
61684 $signature: 40
61685 };
61686 A._EvaluateVisitor_closure5.prototype = {
61687 call$1($arguments) {
61688 var t2, t3, t4,
61689 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
61690 module = this.$this._environment._environment$_modules.$index(0, t1);
61691 if (module == null)
61692 throw A.wrapException('There is no module with namespace "' + t1 + '".');
61693 t1 = type$.Value;
61694 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
61695 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
61696 t4 = t3.get$current(t3);
61697 t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
61698 }
61699 return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
61700 },
61701 $signature: 40
61702 };
61703 A._EvaluateVisitor_closure6.prototype = {
61704 call$1($arguments) {
61705 var module, callable, t2,
61706 t1 = J.getInterceptor$asx($arguments),
61707 $name = t1.$index($arguments, 0).assertString$1("name"),
61708 css = t1.$index($arguments, 1).get$isTruthy();
61709 t1 = t1.$index($arguments, 2).get$realNull();
61710 module = t1 == null ? null : t1.assertString$1("module");
61711 if (css && module != null)
61712 throw A.wrapException(string$.x24css_a);
61713 if (css)
61714 callable = new A.PlainCssCallable($name._string$_text);
61715 else {
61716 t1 = this.$this;
61717 t2 = t1._callableNode;
61718 t2.toString;
61719 callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
61720 }
61721 if (callable != null)
61722 return new A.SassFunction(callable);
61723 throw A.wrapException("Function not found: " + $name.toString$0(0));
61724 },
61725 $signature: 213
61726 };
61727 A._EvaluateVisitor__closure1.prototype = {
61728 call$0() {
61729 var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
61730 t2 = this.module;
61731 t2 = t2 == null ? null : t2._string$_text;
61732 return this.$this._getFunction$2$namespace(t1, t2);
61733 },
61734 $signature: 110
61735 };
61736 A._EvaluateVisitor_closure7.prototype = {
61737 call$1($arguments) {
61738 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
61739 t1 = J.getInterceptor$asx($arguments),
61740 $function = t1.$index($arguments, 0),
61741 args = type$.SassArgumentList._as(t1.$index($arguments, 1));
61742 t1 = this.$this;
61743 t2 = t1._callableNode;
61744 t2.toString;
61745 t3 = A._setArrayType([], type$.JSArray_Expression);
61746 t4 = type$.String;
61747 t5 = type$.Expression;
61748 t6 = t2.get$span(t2);
61749 t7 = t2.get$span(t2);
61750 args._wereKeywordsAccessed = true;
61751 t8 = args._keywords;
61752 if (t8.get$isEmpty(t8))
61753 t2 = null;
61754 else {
61755 t9 = type$.Value;
61756 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
61757 for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
61758 t11 = t8.get$current(t8);
61759 t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
61760 }
61761 t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
61762 }
61763 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);
61764 if ($function instanceof A.SassString) {
61765 t2 = string$.Passin + $function.toString$0(0) + "))";
61766 A.EvaluationContext_current().warn$2$deprecation(0, t2, true);
61767 callableNode = t1._callableNode;
61768 return t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode)));
61769 }
61770 callable = $function.assertFunction$1("function").callable;
61771 if (type$.Callable._is(callable)) {
61772 t2 = t1._callableNode;
61773 t2.toString;
61774 return t1._runFunctionCallable$3(invocation, callable, t2);
61775 } else
61776 throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as));
61777 },
61778 $signature: 4
61779 };
61780 A._EvaluateVisitor_closure8.prototype = {
61781 call$1($arguments) {
61782 var withMap, t2, values, configuration,
61783 t1 = J.getInterceptor$asx($arguments),
61784 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
61785 t1 = t1.$index($arguments, 1).get$realNull();
61786 withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
61787 t1 = this.$this;
61788 t2 = t1._callableNode;
61789 t2.toString;
61790 if (withMap != null) {
61791 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
61792 withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
61793 configuration = new A.ExplicitConfiguration(t2, values);
61794 } else
61795 configuration = B.Configuration_Map_empty;
61796 t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t2.get$span(t2).file.url, configuration, true);
61797 t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
61798 },
61799 $signature: 608
61800 };
61801 A._EvaluateVisitor__closure.prototype = {
61802 call$2(variable, value) {
61803 var t1 = variable.assertString$1("with key"),
61804 $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
61805 t1 = this.values;
61806 if (t1.containsKey$1($name))
61807 throw A.wrapException("The variable $" + $name + " was configured twice.");
61808 t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
61809 },
61810 $signature: 50
61811 };
61812 A._EvaluateVisitor__closure0.prototype = {
61813 call$1(module) {
61814 var t1 = this.$this;
61815 return t1._combineCss$2$clone(module, true).accept$1(t1);
61816 },
61817 $signature: 63
61818 };
61819 A._EvaluateVisitor_run_closure.prototype = {
61820 call$0() {
61821 var t2, _this = this,
61822 t1 = _this.node,
61823 url = t1.span.file.url;
61824 if (url != null) {
61825 t2 = _this.$this;
61826 t2._activeModules.$indexSet(0, url, null);
61827 t2._loadedUrls.add$1(0, url);
61828 }
61829 t2 = _this.$this;
61830 return new A.EvaluateResult(t2._combineCss$1(t2._execute$2(_this.importer, t1)));
61831 },
61832 $signature: 260
61833 };
61834 A._EvaluateVisitor_runExpression_closure.prototype = {
61835 call$0() {
61836 var t1 = this.$this,
61837 t2 = this.expression;
61838 return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
61839 },
61840 $signature: 35
61841 };
61842 A._EvaluateVisitor_runExpression__closure.prototype = {
61843 call$0() {
61844 return this.expression.accept$1(this.$this);
61845 },
61846 $signature: 35
61847 };
61848 A._EvaluateVisitor_runStatement_closure.prototype = {
61849 call$0() {
61850 var t1 = this.$this,
61851 t2 = this.statement;
61852 return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
61853 },
61854 $signature: 0
61855 };
61856 A._EvaluateVisitor_runStatement__closure.prototype = {
61857 call$0() {
61858 return this.statement.accept$1(this.$this);
61859 },
61860 $signature: 0
61861 };
61862 A._EvaluateVisitor__loadModule_closure.prototype = {
61863 call$0() {
61864 return this.callback.call$1(this.builtInModule);
61865 },
61866 $signature: 0
61867 };
61868 A._EvaluateVisitor__loadModule_closure0.prototype = {
61869 call$0() {
61870 var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, _this = this,
61871 t1 = _this.$this,
61872 t2 = _this.nodeWithSpan,
61873 result = t1._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
61874 stylesheet = result.stylesheet,
61875 canonicalUrl = stylesheet.span.file.url;
61876 if (canonicalUrl != null && t1._activeModules.containsKey$1(canonicalUrl)) {
61877 message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
61878 t2 = A.NullableExtension_andThen(t1._activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t1, message));
61879 throw A.wrapException(t2 == null ? t1._evaluate$_exception$1(message) : t2);
61880 }
61881 if (canonicalUrl != null)
61882 t1._activeModules.$indexSet(0, canonicalUrl, t2);
61883 oldInDependency = t1._inDependency;
61884 t1._inDependency = result.isDependency;
61885 module = null;
61886 try {
61887 module = t1._execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
61888 } finally {
61889 t1._activeModules.remove$1(0, canonicalUrl);
61890 t1._inDependency = oldInDependency;
61891 }
61892 try {
61893 _this.callback.call$1(module);
61894 } catch (exception) {
61895 t2 = A.unwrapException(exception);
61896 if (type$.SassRuntimeException._is(t2))
61897 throw exception;
61898 else if (t2 instanceof A.MultiSpanSassException) {
61899 error = t2;
61900 stackTrace = A.getTraceFromException(exception);
61901 t2 = error._span_exception$_message;
61902 t3 = error;
61903 t4 = J.getInterceptor$z(t3);
61904 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
61905 t4 = error.primaryLabel;
61906 t5 = error.secondarySpans;
61907 t6 = error;
61908 t7 = J.getInterceptor$z(t6);
61909 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);
61910 } else if (t2 instanceof A.SassException) {
61911 error0 = t2;
61912 stackTrace0 = A.getTraceFromException(exception);
61913 t2 = error0;
61914 t3 = J.getInterceptor$z(t2);
61915 A.throwWithTrace(t1._evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
61916 } else if (t2 instanceof A.MultiSpanSassScriptException) {
61917 error1 = t2;
61918 stackTrace1 = A.getTraceFromException(exception);
61919 A.throwWithTrace(t1._multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
61920 } else if (t2 instanceof A.SassScriptException) {
61921 error2 = t2;
61922 stackTrace2 = A.getTraceFromException(exception);
61923 A.throwWithTrace(t1._evaluate$_exception$1(error2.message), stackTrace2);
61924 } else
61925 throw exception;
61926 }
61927 },
61928 $signature: 1
61929 };
61930 A._EvaluateVisitor__loadModule__closure.prototype = {
61931 call$1(previousLoad) {
61932 return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
61933 },
61934 $signature: 91
61935 };
61936 A._EvaluateVisitor__execute_closure.prototype = {
61937 call$0() {
61938 var t3, t4, t5, t6, _this = this,
61939 t1 = _this.$this,
61940 oldImporter = t1._importer,
61941 oldStylesheet = t1.__stylesheet,
61942 oldRoot = t1.__root,
61943 oldParent = t1.__parent,
61944 oldEndOfImports = t1.__endOfImports,
61945 oldOutOfOrderImports = t1._outOfOrderImports,
61946 oldExtensionStore = t1.__extensionStore,
61947 t2 = t1._atRootExcludingStyleRule,
61948 oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
61949 oldMediaQueries = t1._mediaQueries,
61950 oldDeclarationName = t1._declarationName,
61951 oldInUnknownAtRule = t1._inUnknownAtRule,
61952 oldInKeyframes = t1._inKeyframes,
61953 oldConfiguration = t1._configuration;
61954 t1._importer = _this.importer;
61955 t3 = t1.__stylesheet = _this.stylesheet;
61956 t4 = t3.span;
61957 t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
61958 t1.__endOfImports = 0;
61959 t1._outOfOrderImports = null;
61960 t1.__extensionStore = _this.extensionStore;
61961 t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
61962 t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
61963 t6 = _this.configuration;
61964 if (t6 != null)
61965 t1._configuration = t6;
61966 t1.visitStylesheet$1(t3);
61967 t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
61968 _this.css._value = t3;
61969 t1._importer = oldImporter;
61970 t1.__stylesheet = oldStylesheet;
61971 t1.__root = oldRoot;
61972 t1.__parent = oldParent;
61973 t1.__endOfImports = oldEndOfImports;
61974 t1._outOfOrderImports = oldOutOfOrderImports;
61975 t1.__extensionStore = oldExtensionStore;
61976 t1._styleRuleIgnoringAtRoot = oldStyleRule;
61977 t1._mediaQueries = oldMediaQueries;
61978 t1._declarationName = oldDeclarationName;
61979 t1._inUnknownAtRule = oldInUnknownAtRule;
61980 t1._atRootExcludingStyleRule = t2;
61981 t1._inKeyframes = oldInKeyframes;
61982 t1._configuration = oldConfiguration;
61983 },
61984 $signature: 1
61985 };
61986 A._EvaluateVisitor__combineCss_closure.prototype = {
61987 call$1(module) {
61988 return module.get$transitivelyContainsCss();
61989 },
61990 $signature: 139
61991 };
61992 A._EvaluateVisitor__combineCss_closure0.prototype = {
61993 call$1(target) {
61994 return !this.selectors.contains$1(0, target);
61995 },
61996 $signature: 16
61997 };
61998 A._EvaluateVisitor__combineCss_closure1.prototype = {
61999 call$1(module) {
62000 return module.cloneCss$0();
62001 },
62002 $signature: 261
62003 };
62004 A._EvaluateVisitor__extendModules_closure.prototype = {
62005 call$1(target) {
62006 return !this.originalSelectors.contains$1(0, target);
62007 },
62008 $signature: 16
62009 };
62010 A._EvaluateVisitor__extendModules_closure0.prototype = {
62011 call$0() {
62012 return A._setArrayType([], type$.JSArray_ExtensionStore);
62013 },
62014 $signature: 206
62015 };
62016 A._EvaluateVisitor__topologicalModules_visitModule.prototype = {
62017 call$1(module) {
62018 var t1, t2, t3, _i, upstream;
62019 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
62020 upstream = t1[_i];
62021 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
62022 this.call$1(upstream);
62023 }
62024 this.sorted.addFirst$1(module);
62025 },
62026 $signature: 63
62027 };
62028 A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
62029 call$0() {
62030 var t1 = A.SpanScanner$(this.resolved, null);
62031 return new A.AtRootQueryParser(t1, this.$this._evaluate$_logger).parse$0();
62032 },
62033 $signature: 102
62034 };
62035 A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
62036 call$0() {
62037 var t1, t2, t3, _i;
62038 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62039 t1[_i].accept$1(t3);
62040 },
62041 $signature: 1
62042 };
62043 A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
62044 call$0() {
62045 var t1, t2, t3, _i;
62046 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62047 t1[_i].accept$1(t3);
62048 },
62049 $signature: 0
62050 };
62051 A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
62052 call$1(callback) {
62053 var t1 = this.$this,
62054 t2 = t1._assertInModule$2(t1.__parent, "__parent");
62055 t1.__parent = this.newParent;
62056 t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
62057 t1.__parent = t2;
62058 },
62059 $signature: 26
62060 };
62061 A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
62062 call$1(callback) {
62063 var t1 = this.$this,
62064 oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
62065 t1._atRootExcludingStyleRule = true;
62066 this.innerScope.call$1(callback);
62067 t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
62068 },
62069 $signature: 26
62070 };
62071 A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
62072 call$1(callback) {
62073 return this.$this._withMediaQueries$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
62074 },
62075 $signature: 26
62076 };
62077 A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
62078 call$0() {
62079 return this.innerScope.call$1(this.callback);
62080 },
62081 $signature: 1
62082 };
62083 A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
62084 call$1(callback) {
62085 var t1 = this.$this,
62086 wasInKeyframes = t1._inKeyframes;
62087 t1._inKeyframes = false;
62088 this.innerScope.call$1(callback);
62089 t1._inKeyframes = wasInKeyframes;
62090 },
62091 $signature: 26
62092 };
62093 A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
62094 call$1($parent) {
62095 return type$.CssAtRule._is($parent);
62096 },
62097 $signature: 204
62098 };
62099 A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
62100 call$1(callback) {
62101 var t1 = this.$this,
62102 wasInUnknownAtRule = t1._inUnknownAtRule;
62103 t1._inUnknownAtRule = false;
62104 this.innerScope.call$1(callback);
62105 t1._inUnknownAtRule = wasInUnknownAtRule;
62106 },
62107 $signature: 26
62108 };
62109 A._EvaluateVisitor_visitContentRule_closure.prototype = {
62110 call$0() {
62111 var t1, t2, t3, _i;
62112 for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62113 t1[_i].accept$1(t3);
62114 return null;
62115 },
62116 $signature: 1
62117 };
62118 A._EvaluateVisitor_visitDeclaration_closure.prototype = {
62119 call$1(value) {
62120 return new A.CssValue(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value);
62121 },
62122 $signature: 262
62123 };
62124 A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
62125 call$0() {
62126 var t1, t2, t3, _i;
62127 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62128 t1[_i].accept$1(t3);
62129 },
62130 $signature: 1
62131 };
62132 A._EvaluateVisitor_visitEachRule_closure.prototype = {
62133 call$1(value) {
62134 var t1 = this.$this,
62135 t2 = this.nodeWithSpan;
62136 return t1._environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._withoutSlash$2(value, t2), t2);
62137 },
62138 $signature: 52
62139 };
62140 A._EvaluateVisitor_visitEachRule_closure0.prototype = {
62141 call$1(value) {
62142 return this.$this._setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
62143 },
62144 $signature: 52
62145 };
62146 A._EvaluateVisitor_visitEachRule_closure1.prototype = {
62147 call$0() {
62148 var _this = this,
62149 t1 = _this.$this;
62150 return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
62151 },
62152 $signature: 33
62153 };
62154 A._EvaluateVisitor_visitEachRule__closure.prototype = {
62155 call$1(element) {
62156 var t1;
62157 this.setVariables.call$1(element);
62158 t1 = this.$this;
62159 return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
62160 },
62161 $signature: 263
62162 };
62163 A._EvaluateVisitor_visitEachRule___closure.prototype = {
62164 call$1(child) {
62165 return child.accept$1(this.$this);
62166 },
62167 $signature: 73
62168 };
62169 A._EvaluateVisitor_visitExtendRule_closure.prototype = {
62170 call$0() {
62171 return A.SelectorList_SelectorList$parse(A.trimAscii(this.targetText.value, true), false, true, this.$this._evaluate$_logger);
62172 },
62173 $signature: 46
62174 };
62175 A._EvaluateVisitor_visitAtRule_closure.prototype = {
62176 call$1(value) {
62177 return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
62178 },
62179 $signature: 265
62180 };
62181 A._EvaluateVisitor_visitAtRule_closure0.prototype = {
62182 call$0() {
62183 var t2, t3, _i,
62184 t1 = this.$this,
62185 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62186 if (styleRule == null || t1._inKeyframes)
62187 for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62188 t2[_i].accept$1(t1);
62189 else
62190 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);
62191 },
62192 $signature: 1
62193 };
62194 A._EvaluateVisitor_visitAtRule__closure.prototype = {
62195 call$0() {
62196 var t1, t2, t3, _i;
62197 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62198 t1[_i].accept$1(t3);
62199 },
62200 $signature: 1
62201 };
62202 A._EvaluateVisitor_visitAtRule_closure1.prototype = {
62203 call$1(node) {
62204 return type$.CssStyleRule._is(node);
62205 },
62206 $signature: 7
62207 };
62208 A._EvaluateVisitor_visitForRule_closure.prototype = {
62209 call$0() {
62210 return this.node.from.accept$1(this.$this).assertNumber$0();
62211 },
62212 $signature: 151
62213 };
62214 A._EvaluateVisitor_visitForRule_closure0.prototype = {
62215 call$0() {
62216 return this.node.to.accept$1(this.$this).assertNumber$0();
62217 },
62218 $signature: 151
62219 };
62220 A._EvaluateVisitor_visitForRule_closure1.prototype = {
62221 call$0() {
62222 return this.fromNumber.assertInt$0();
62223 },
62224 $signature: 12
62225 };
62226 A._EvaluateVisitor_visitForRule_closure2.prototype = {
62227 call$0() {
62228 var t1 = this.fromNumber;
62229 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
62230 },
62231 $signature: 12
62232 };
62233 A._EvaluateVisitor_visitForRule_closure3.prototype = {
62234 call$0() {
62235 var i, t3, t4, t5, t6, t7, t8, result, _this = this,
62236 t1 = _this.$this,
62237 t2 = _this.node,
62238 nodeWithSpan = t1._expressionNode$1(t2.from);
62239 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) {
62240 t7 = t1._environment;
62241 t8 = t6.get$numeratorUnits(t6);
62242 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
62243 result = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
62244 if (result != null)
62245 return result;
62246 }
62247 return null;
62248 },
62249 $signature: 33
62250 };
62251 A._EvaluateVisitor_visitForRule__closure.prototype = {
62252 call$1(child) {
62253 return child.accept$1(this.$this);
62254 },
62255 $signature: 73
62256 };
62257 A._EvaluateVisitor_visitForwardRule_closure.prototype = {
62258 call$1(module) {
62259 this.$this._environment.forwardModule$2(module, this.node);
62260 },
62261 $signature: 63
62262 };
62263 A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
62264 call$1(module) {
62265 this.$this._environment.forwardModule$2(module, this.node);
62266 },
62267 $signature: 63
62268 };
62269 A._EvaluateVisitor_visitIfRule_closure.prototype = {
62270 call$0() {
62271 var t1 = this.$this;
62272 return t1._handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure(t1));
62273 },
62274 $signature: 33
62275 };
62276 A._EvaluateVisitor_visitIfRule__closure.prototype = {
62277 call$1(child) {
62278 return child.accept$1(this.$this);
62279 },
62280 $signature: 73
62281 };
62282 A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
62283 call$0() {
62284 var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
62285 t1 = this.$this,
62286 t2 = this.$import,
62287 result = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true),
62288 stylesheet = result.stylesheet,
62289 url = stylesheet.span.file.url;
62290 if (url != null) {
62291 t3 = t1._activeModules;
62292 if (t3.containsKey$1(url)) {
62293 t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
62294 throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
62295 }
62296 t3.$indexSet(0, url, t2);
62297 }
62298 t2 = stylesheet._uses;
62299 t3 = type$.UnmodifiableListView_UseRule;
62300 t4 = new A.UnmodifiableListView(t2, t3);
62301 if (t4.get$length(t4) === 0) {
62302 t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
62303 t4 = t4.get$length(t4) === 0;
62304 } else
62305 t4 = false;
62306 if (t4) {
62307 oldImporter = t1._importer;
62308 t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
62309 oldInDependency = t1._inDependency;
62310 t1._importer = result.importer;
62311 t1.__stylesheet = stylesheet;
62312 t1._inDependency = result.isDependency;
62313 t1.visitStylesheet$1(stylesheet);
62314 t1._importer = oldImporter;
62315 t1.__stylesheet = t2;
62316 t1._inDependency = oldInDependency;
62317 t1._activeModules.remove$1(0, url);
62318 return;
62319 }
62320 t2 = new A.UnmodifiableListView(t2, t3);
62321 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
62322 t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
62323 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
62324 } else
62325 loadsUserDefinedModules = true;
62326 children = A._Cell$();
62327 t2 = t1._environment;
62328 t3 = type$.String;
62329 t4 = type$.Module_Callable;
62330 t5 = type$.AstNode;
62331 t6 = A._setArrayType([], type$.JSArray_Module_Callable);
62332 t7 = t2._variables;
62333 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
62334 t8 = t2._variableNodes;
62335 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
62336 t9 = t2._functions;
62337 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
62338 t10 = t2._mixins;
62339 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
62340 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);
62341 t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
62342 module = environment.toDummyModule$0();
62343 t1._environment.importForwards$1(module);
62344 if (loadsUserDefinedModules) {
62345 if (module.transitivelyContainsCss)
62346 t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
62347 visitor = new A._ImportedCssVisitor(t1);
62348 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
62349 t2.get$current(t2).accept$1(visitor);
62350 }
62351 t1._activeModules.remove$1(0, url);
62352 },
62353 $signature: 0
62354 };
62355 A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
62356 call$1(previousLoad) {
62357 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));
62358 },
62359 $signature: 91
62360 };
62361 A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
62362 call$1(rule) {
62363 return rule.url.get$scheme() !== "sass";
62364 },
62365 $signature: 194
62366 };
62367 A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
62368 call$1(rule) {
62369 return rule.url.get$scheme() !== "sass";
62370 },
62371 $signature: 186
62372 };
62373 A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
62374 call$0() {
62375 var t7, t8, t9, _this = this,
62376 t1 = _this.$this,
62377 oldImporter = t1._importer,
62378 t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
62379 t3 = t1._assertInModule$2(t1.__root, "_root"),
62380 t4 = t1._assertInModule$2(t1.__parent, "__parent"),
62381 t5 = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
62382 oldOutOfOrderImports = t1._outOfOrderImports,
62383 oldConfiguration = t1._configuration,
62384 oldInDependency = t1._inDependency,
62385 t6 = _this.result;
62386 t1._importer = t6.importer;
62387 t7 = t1.__stylesheet = _this.stylesheet;
62388 t8 = _this.loadsUserDefinedModules;
62389 if (t8) {
62390 t9 = A.ModifiableCssStylesheet$(t7.span);
62391 t1.__root = t9;
62392 t1.__parent = t1._assertInModule$2(t9, "_root");
62393 t1.__endOfImports = 0;
62394 t1._outOfOrderImports = null;
62395 }
62396 t1._inDependency = t6.isDependency;
62397 t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
62398 if (!t6.get$isEmpty(t6))
62399 t1._configuration = _this.environment.toImplicitConfiguration$0();
62400 t1.visitStylesheet$1(t7);
62401 t6 = t8 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
62402 _this.children._value = t6;
62403 t1._importer = oldImporter;
62404 t1.__stylesheet = t2;
62405 t1.__root = t3;
62406 t1.__parent = t4;
62407 t1.__endOfImports = t5;
62408 t1._outOfOrderImports = oldOutOfOrderImports;
62409 t1._configuration = oldConfiguration;
62410 t1._inDependency = oldInDependency;
62411 },
62412 $signature: 1
62413 };
62414 A._EvaluateVisitor__visitStaticImport_closure.prototype = {
62415 call$1(supports) {
62416 var t2, t3, arg,
62417 t1 = this.$this;
62418 if (supports instanceof A.SupportsDeclaration) {
62419 t2 = supports.name;
62420 t2 = t1._evaluate$_serialize$3$quote(t2.accept$1(t1), t2, true) + ":";
62421 t3 = supports.value;
62422 arg = t2 + (supports.get$isCustomProperty() ? "" : " ") + t1._evaluate$_serialize$3$quote(t3.accept$1(t1), t3, true);
62423 } else
62424 arg = A.NullableExtension_andThen(supports, t1.get$_visitSupportsCondition());
62425 return new A.CssValue("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String);
62426 },
62427 $signature: 267
62428 };
62429 A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
62430 call$0() {
62431 var t1 = this.node;
62432 return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
62433 },
62434 $signature: 110
62435 };
62436 A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
62437 call$0() {
62438 return this.node.get$spanWithoutContent();
62439 },
62440 $signature: 29
62441 };
62442 A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
62443 call$1($content) {
62444 return new A.UserDefinedCallable($content, this.$this._environment.closure$0(), type$.UserDefinedCallable_Environment);
62445 },
62446 $signature: 268
62447 };
62448 A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
62449 call$0() {
62450 var _this = this,
62451 t1 = _this.$this,
62452 t2 = t1._environment,
62453 oldContent = t2._content;
62454 t2._content = _this.contentCallable;
62455 new A._EvaluateVisitor_visitIncludeRule__closure(t1, _this.mixin, _this.nodeWithSpan).call$0();
62456 t2._content = oldContent;
62457 },
62458 $signature: 1
62459 };
62460 A._EvaluateVisitor_visitIncludeRule__closure.prototype = {
62461 call$0() {
62462 var t1 = this.$this,
62463 t2 = t1._environment,
62464 oldInMixin = t2._inMixin;
62465 t2._inMixin = true;
62466 new A._EvaluateVisitor_visitIncludeRule___closure(t1, this.mixin, this.nodeWithSpan).call$0();
62467 t2._inMixin = oldInMixin;
62468 },
62469 $signature: 0
62470 };
62471 A._EvaluateVisitor_visitIncludeRule___closure.prototype = {
62472 call$0() {
62473 var t1, t2, t3, t4, _i;
62474 for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
62475 t3._addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure(t3, t1[_i]));
62476 },
62477 $signature: 0
62478 };
62479 A._EvaluateVisitor_visitIncludeRule____closure.prototype = {
62480 call$0() {
62481 return this.statement.accept$1(this.$this);
62482 },
62483 $signature: 33
62484 };
62485 A._EvaluateVisitor_visitMediaRule_closure.prototype = {
62486 call$1(mediaQueries) {
62487 return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
62488 },
62489 $signature: 83
62490 };
62491 A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
62492 call$0() {
62493 var _this = this,
62494 t1 = _this.$this,
62495 t2 = _this.mergedQueries;
62496 if (t2 == null)
62497 t2 = _this.queries;
62498 t1._withMediaQueries$2(t2, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
62499 },
62500 $signature: 1
62501 };
62502 A._EvaluateVisitor_visitMediaRule__closure.prototype = {
62503 call$0() {
62504 var t2, t3, _i,
62505 t1 = this.$this,
62506 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62507 if (styleRule == null)
62508 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62509 t2[_i].accept$1(t1);
62510 else
62511 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);
62512 },
62513 $signature: 1
62514 };
62515 A._EvaluateVisitor_visitMediaRule___closure.prototype = {
62516 call$0() {
62517 var t1, t2, t3, _i;
62518 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62519 t1[_i].accept$1(t3);
62520 },
62521 $signature: 1
62522 };
62523 A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
62524 call$1(node) {
62525 var t1;
62526 if (!type$.CssStyleRule._is(node))
62527 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
62528 else
62529 t1 = true;
62530 return t1;
62531 },
62532 $signature: 7
62533 };
62534 A._EvaluateVisitor__visitMediaQueries_closure.prototype = {
62535 call$0() {
62536 var t1 = A.SpanScanner$(this.resolved, null);
62537 return new A.MediaQueryParser(t1, this.$this._evaluate$_logger).parse$0();
62538 },
62539 $signature: 101
62540 };
62541 A._EvaluateVisitor_visitStyleRule_closure.prototype = {
62542 call$0() {
62543 return A.KeyframeSelectorParser$(this.selectorText.value, this.$this._evaluate$_logger).parse$0();
62544 },
62545 $signature: 48
62546 };
62547 A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
62548 call$0() {
62549 var t1, t2, t3, _i;
62550 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62551 t1[_i].accept$1(t3);
62552 },
62553 $signature: 1
62554 };
62555 A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
62556 call$1(node) {
62557 return type$.CssStyleRule._is(node);
62558 },
62559 $signature: 7
62560 };
62561 A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
62562 call$0() {
62563 var _s11_ = "_stylesheet",
62564 t1 = this.$this;
62565 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);
62566 },
62567 $signature: 46
62568 };
62569 A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
62570 call$0() {
62571 var t1 = this._box_0.parsedSelector,
62572 t2 = this.$this,
62573 t3 = t2._styleRuleIgnoringAtRoot;
62574 t3 = t3 == null ? null : t3.originalSelector;
62575 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._atRootExcludingStyleRule);
62576 },
62577 $signature: 46
62578 };
62579 A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
62580 call$0() {
62581 var t1 = this.$this;
62582 t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
62583 },
62584 $signature: 1
62585 };
62586 A._EvaluateVisitor_visitStyleRule__closure.prototype = {
62587 call$0() {
62588 var t1, t2, t3, _i;
62589 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62590 t1[_i].accept$1(t3);
62591 },
62592 $signature: 1
62593 };
62594 A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
62595 call$1(node) {
62596 return type$.CssStyleRule._is(node);
62597 },
62598 $signature: 7
62599 };
62600 A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
62601 call$0() {
62602 var t2, t3, _i,
62603 t1 = this.$this,
62604 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
62605 if (styleRule == null)
62606 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
62607 t2[_i].accept$1(t1);
62608 else
62609 t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
62610 },
62611 $signature: 1
62612 };
62613 A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
62614 call$0() {
62615 var t1, t2, t3, _i;
62616 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
62617 t1[_i].accept$1(t3);
62618 },
62619 $signature: 1
62620 };
62621 A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
62622 call$1(node) {
62623 return type$.CssStyleRule._is(node);
62624 },
62625 $signature: 7
62626 };
62627 A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
62628 call$0() {
62629 var t1 = this.override;
62630 this.$this._environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
62631 },
62632 $signature: 1
62633 };
62634 A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
62635 call$0() {
62636 var t1 = this.node;
62637 return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
62638 },
62639 $signature: 33
62640 };
62641 A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
62642 call$0() {
62643 var t1 = this.$this,
62644 t2 = this.node;
62645 t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
62646 },
62647 $signature: 1
62648 };
62649 A._EvaluateVisitor_visitUseRule_closure.prototype = {
62650 call$1(module) {
62651 var t1 = this.node;
62652 this.$this._environment.addModule$3$namespace(module, t1, t1.namespace);
62653 },
62654 $signature: 63
62655 };
62656 A._EvaluateVisitor_visitWarnRule_closure.prototype = {
62657 call$0() {
62658 return this.node.expression.accept$1(this.$this);
62659 },
62660 $signature: 35
62661 };
62662 A._EvaluateVisitor_visitWhileRule_closure.prototype = {
62663 call$0() {
62664 var t1, t2, t3, result;
62665 for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
62666 result = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
62667 if (result != null)
62668 return result;
62669 }
62670 return null;
62671 },
62672 $signature: 33
62673 };
62674 A._EvaluateVisitor_visitWhileRule__closure.prototype = {
62675 call$1(child) {
62676 return child.accept$1(this.$this);
62677 },
62678 $signature: 73
62679 };
62680 A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
62681 call$0() {
62682 var right, result,
62683 t1 = this.node,
62684 t2 = this.$this,
62685 left = t1.left.accept$1(t2),
62686 t3 = t1.operator;
62687 switch (t3) {
62688 case B.BinaryOperator_kjl:
62689 right = t1.right.accept$1(t2);
62690 return new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
62691 case B.BinaryOperator_or_or_1:
62692 return left.get$isTruthy() ? left : t1.right.accept$1(t2);
62693 case B.BinaryOperator_and_and_2:
62694 return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
62695 case B.BinaryOperator_YlX:
62696 return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
62697 case B.BinaryOperator_i5H:
62698 return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
62699 case B.BinaryOperator_AcR:
62700 return left.greaterThan$1(t1.right.accept$1(t2));
62701 case B.BinaryOperator_1da:
62702 return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
62703 case B.BinaryOperator_8qt:
62704 return left.lessThan$1(t1.right.accept$1(t2));
62705 case B.BinaryOperator_33h:
62706 return left.lessThanOrEquals$1(t1.right.accept$1(t2));
62707 case B.BinaryOperator_AcR0:
62708 return left.plus$1(t1.right.accept$1(t2));
62709 case B.BinaryOperator_iyO:
62710 return left.minus$1(t1.right.accept$1(t2));
62711 case B.BinaryOperator_O1M:
62712 return left.times$1(t1.right.accept$1(t2));
62713 case B.BinaryOperator_RTB:
62714 right = t1.right.accept$1(t2);
62715 result = left.dividedBy$1(right);
62716 if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber)
62717 return type$.SassNumber._as(result).withSlash$2(left, right);
62718 else {
62719 if (left instanceof A.SassNumber && right instanceof A.SassNumber)
62720 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);
62721 return result;
62722 }
62723 case B.BinaryOperator_2ad:
62724 return left.modulo$1(t1.right.accept$1(t2));
62725 default:
62726 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
62727 }
62728 },
62729 $signature: 35
62730 };
62731 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation.prototype = {
62732 call$1(expression) {
62733 if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_RTB)
62734 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
62735 else if (expression instanceof A.ParenthesizedExpression)
62736 return expression.expression.toString$0(0);
62737 else
62738 return expression.toString$0(0);
62739 },
62740 $signature: 124
62741 };
62742 A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
62743 call$0() {
62744 var t1 = this.node;
62745 return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
62746 },
62747 $signature: 33
62748 };
62749 A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
62750 call$0() {
62751 var _this = this,
62752 t1 = _this.node.operator;
62753 switch (t1) {
62754 case B.UnaryOperator_j2w:
62755 return _this.operand.unaryPlus$0();
62756 case B.UnaryOperator_U4G:
62757 return _this.operand.unaryMinus$0();
62758 case B.UnaryOperator_zDx:
62759 return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
62760 case B.UnaryOperator_not_not:
62761 return _this.operand.unaryNot$0();
62762 default:
62763 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
62764 }
62765 },
62766 $signature: 35
62767 };
62768 A._EvaluateVisitor__visitCalculationValue_closure.prototype = {
62769 call$0() {
62770 var t1 = this.$this,
62771 t2 = this.node,
62772 t3 = this.inMinMax;
62773 return A.SassCalculation_operateInternal(t1._binaryOperatorToCalculationOperator$1(t2.operator), t1._visitCalculationValue$2$inMinMax(t2.left, t3), t1._visitCalculationValue$2$inMinMax(t2.right, t3), t3);
62774 },
62775 $signature: 85
62776 };
62777 A._EvaluateVisitor_visitListExpression_closure.prototype = {
62778 call$1(expression) {
62779 return expression.accept$1(this.$this);
62780 },
62781 $signature: 270
62782 };
62783 A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
62784 call$0() {
62785 var t1 = this.node;
62786 return this.$this._getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
62787 },
62788 $signature: 110
62789 };
62790 A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
62791 call$0() {
62792 var t1 = this.node;
62793 return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
62794 },
62795 $signature: 35
62796 };
62797 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
62798 call$0() {
62799 var t1 = this.node;
62800 return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
62801 },
62802 $signature: 35
62803 };
62804 A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
62805 call$0() {
62806 var _this = this,
62807 t1 = _this.$this,
62808 t2 = _this.callable;
62809 return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
62810 },
62811 $signature() {
62812 return this.V._eval$1("0()");
62813 }
62814 };
62815 A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
62816 call$0() {
62817 var _this = this,
62818 t1 = _this.$this,
62819 t2 = _this.V;
62820 return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
62821 },
62822 $signature() {
62823 return this.V._eval$1("0()");
62824 }
62825 };
62826 A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
62827 call$0() {
62828 var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, argumentWord, argumentNames, _this = this,
62829 t1 = _this.$this,
62830 t2 = _this.evaluated,
62831 t3 = t2.positional,
62832 t4 = t2.named,
62833 t5 = _this.callable.declaration.$arguments,
62834 t6 = _this.nodeWithSpan;
62835 t1._verifyArguments$4(t3.length, t4, t5, t6);
62836 declaredArguments = t5.$arguments;
62837 t7 = declaredArguments.length;
62838 minLength = Math.min(t3.length, t7);
62839 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
62840 t1._environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
62841 for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
62842 argument = declaredArguments[i];
62843 t9 = argument.name;
62844 value = t4.remove$1(0, t9);
62845 if (value == null) {
62846 t10 = argument.defaultValue;
62847 value = t1._withoutSlash$2(t10.accept$1(t1), t1._expressionNode$1(t10));
62848 }
62849 t10 = t1._environment;
62850 t11 = t8.$index(0, t9);
62851 if (t11 == null) {
62852 t11 = argument.defaultValue;
62853 t11.toString;
62854 t11 = t1._expressionNode$1(t11);
62855 }
62856 t10.setLocalVariable$3(t9, value, t11);
62857 }
62858 restArgument = t5.restArgument;
62859 if (restArgument != null) {
62860 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty5;
62861 t2 = t2.separator;
62862 argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null ? B.ListSeparator_kWM : t2);
62863 t1._environment.setLocalVariable$3(restArgument, argumentList, t6);
62864 } else
62865 argumentList = null;
62866 result = _this.run.call$0();
62867 if (argumentList == null)
62868 return result;
62869 if (t4.get$isEmpty(t4))
62870 return result;
62871 if (argumentList._wereKeywordsAccessed)
62872 return result;
62873 t2 = t4.get$keys(t4);
62874 argumentWord = A.pluralize("argument", t2.get$length(t2), null);
62875 t4 = t4.get$keys(t4);
62876 argumentNames = A.toSentence(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
62877 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))));
62878 },
62879 $signature() {
62880 return this.V._eval$1("0()");
62881 }
62882 };
62883 A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
62884 call$1($name) {
62885 return "$" + $name;
62886 },
62887 $signature: 5
62888 };
62889 A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
62890 call$0() {
62891 var t1, t2, t3, t4, _i, $returnValue;
62892 for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
62893 $returnValue = t2[_i].accept$1(t4);
62894 if ($returnValue instanceof A.Value)
62895 return $returnValue;
62896 }
62897 throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
62898 },
62899 $signature: 35
62900 };
62901 A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
62902 call$0() {
62903 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
62904 },
62905 $signature: 0
62906 };
62907 A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
62908 call$1($name) {
62909 return "$" + $name;
62910 },
62911 $signature: 5
62912 };
62913 A._EvaluateVisitor__evaluateArguments_closure.prototype = {
62914 call$1(value) {
62915 return value;
62916 },
62917 $signature: 39
62918 };
62919 A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
62920 call$1(value) {
62921 return this.$this._withoutSlash$2(value, this.restNodeForSpan);
62922 },
62923 $signature: 39
62924 };
62925 A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
62926 call$2(key, value) {
62927 var _this = this,
62928 t1 = _this.restNodeForSpan;
62929 _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
62930 _this.namedNodes.$indexSet(0, key, t1);
62931 },
62932 $signature: 75
62933 };
62934 A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
62935 call$1(value) {
62936 return value;
62937 },
62938 $signature: 39
62939 };
62940 A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
62941 call$1(value) {
62942 var t1 = this.restArgs;
62943 return new A.ValueExpression(value, t1.get$span(t1));
62944 },
62945 $signature: 51
62946 };
62947 A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
62948 call$1(value) {
62949 var t1 = this.restArgs;
62950 return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
62951 },
62952 $signature: 51
62953 };
62954 A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
62955 call$2(key, value) {
62956 var _this = this,
62957 t1 = _this.restArgs;
62958 _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
62959 },
62960 $signature: 75
62961 };
62962 A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
62963 call$1(value) {
62964 var t1 = this.keywordRestArgs;
62965 return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
62966 },
62967 $signature: 51
62968 };
62969 A._EvaluateVisitor__addRestMap_closure.prototype = {
62970 call$2(key, value) {
62971 var t2, _this = this,
62972 t1 = _this.$this;
62973 if (key instanceof A.SassString)
62974 _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
62975 else {
62976 t2 = _this.nodeWithSpan;
62977 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)));
62978 }
62979 },
62980 $signature: 50
62981 };
62982 A._EvaluateVisitor__verifyArguments_closure.prototype = {
62983 call$0() {
62984 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
62985 },
62986 $signature: 0
62987 };
62988 A._EvaluateVisitor_visitStringExpression_closure.prototype = {
62989 call$1(value) {
62990 var t1, result;
62991 if (typeof value == "string")
62992 return value;
62993 type$.Expression._as(value);
62994 t1 = this.$this;
62995 result = value.accept$1(t1);
62996 return result instanceof A.SassString ? result._string$_text : t1._evaluate$_serialize$3$quote(result, value, false);
62997 },
62998 $signature: 47
62999 };
63000 A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
63001 call$0() {
63002 var t1, t2, t3;
63003 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();)
63004 t2._as(t1.__internal$_current).accept$1(t3);
63005 },
63006 $signature: 1
63007 };
63008 A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
63009 call$1(node) {
63010 return type$.CssStyleRule._is(node);
63011 },
63012 $signature: 7
63013 };
63014 A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
63015 call$0() {
63016 var t1, t2, t3;
63017 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();)
63018 t2._as(t1.__internal$_current).accept$1(t3);
63019 },
63020 $signature: 1
63021 };
63022 A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
63023 call$1(node) {
63024 return type$.CssStyleRule._is(node);
63025 },
63026 $signature: 7
63027 };
63028 A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
63029 call$1(mediaQueries) {
63030 return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
63031 },
63032 $signature: 83
63033 };
63034 A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
63035 call$0() {
63036 var _this = this,
63037 t1 = _this.$this,
63038 t2 = _this.mergedQueries;
63039 if (t2 == null)
63040 t2 = _this.node.queries;
63041 t1._withMediaQueries$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
63042 },
63043 $signature: 1
63044 };
63045 A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
63046 call$0() {
63047 var t2, t3,
63048 t1 = this.$this,
63049 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
63050 if (styleRule == null)
63051 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
63052 t3._as(t2.__internal$_current).accept$1(t1);
63053 else
63054 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);
63055 },
63056 $signature: 1
63057 };
63058 A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
63059 call$0() {
63060 var t1, t2, t3;
63061 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();)
63062 t2._as(t1.__internal$_current).accept$1(t3);
63063 },
63064 $signature: 1
63065 };
63066 A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
63067 call$1(node) {
63068 var t1;
63069 if (!type$.CssStyleRule._is(node))
63070 t1 = this.mergedQueries != null && type$.CssMediaRule._is(node);
63071 else
63072 t1 = true;
63073 return t1;
63074 },
63075 $signature: 7
63076 };
63077 A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
63078 call$0() {
63079 var t1 = this.$this;
63080 t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
63081 },
63082 $signature: 1
63083 };
63084 A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
63085 call$0() {
63086 var t1, t2, t3;
63087 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();)
63088 t2._as(t1.__internal$_current).accept$1(t3);
63089 },
63090 $signature: 1
63091 };
63092 A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
63093 call$1(node) {
63094 return type$.CssStyleRule._is(node);
63095 },
63096 $signature: 7
63097 };
63098 A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
63099 call$0() {
63100 var t2, t3,
63101 t1 = this.$this,
63102 styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
63103 if (styleRule == null)
63104 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
63105 t3._as(t2.__internal$_current).accept$1(t1);
63106 else
63107 t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
63108 },
63109 $signature: 1
63110 };
63111 A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
63112 call$0() {
63113 var t1, t2, t3;
63114 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();)
63115 t2._as(t1.__internal$_current).accept$1(t3);
63116 },
63117 $signature: 1
63118 };
63119 A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
63120 call$1(node) {
63121 return type$.CssStyleRule._is(node);
63122 },
63123 $signature: 7
63124 };
63125 A._EvaluateVisitor__performInterpolation_closure.prototype = {
63126 call$1(value) {
63127 var t1, result, t2, t3;
63128 if (typeof value == "string")
63129 return value;
63130 type$.Expression._as(value);
63131 t1 = this.$this;
63132 result = value.accept$1(t1);
63133 if (this.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
63134 t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
63135 t3 = $.$get$namesByColor();
63136 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));
63137 }
63138 return t1._evaluate$_serialize$3$quote(result, value, false);
63139 },
63140 $signature: 47
63141 };
63142 A._EvaluateVisitor__serialize_closure.prototype = {
63143 call$0() {
63144 return A.serializeValue(this.value, false, this.quote);
63145 },
63146 $signature: 30
63147 };
63148 A._EvaluateVisitor__expressionNode_closure.prototype = {
63149 call$0() {
63150 var t1 = this.expression;
63151 return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
63152 },
63153 $signature: 173
63154 };
63155 A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
63156 call$1(number) {
63157 var asSlash = number.asSlash;
63158 if (asSlash != null)
63159 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
63160 else
63161 return A.serializeValue(number, true, true);
63162 },
63163 $signature: 169
63164 };
63165 A._EvaluateVisitor__stackFrame_closure.prototype = {
63166 call$1(url) {
63167 var t1 = this.$this._evaluate$_importCache;
63168 t1 = t1 == null ? null : t1.humanize$1(url);
63169 return t1 == null ? url : t1;
63170 },
63171 $signature: 88
63172 };
63173 A._EvaluateVisitor__stackTrace_closure.prototype = {
63174 call$1(tuple) {
63175 return this.$this._stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
63176 },
63177 $signature: 161
63178 };
63179 A._ImportedCssVisitor.prototype = {
63180 visitCssAtRule$1(node) {
63181 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
63182 this._visitor._addChild$2$through(node, t1);
63183 },
63184 visitCssComment$1(node) {
63185 return this._visitor._addChild$1(node);
63186 },
63187 visitCssDeclaration$1(node) {
63188 },
63189 visitCssImport$1(node) {
63190 var t2,
63191 _s13_ = "_endOfImports",
63192 t1 = this._visitor;
63193 if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
63194 t1._addChild$1(node);
63195 else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
63196 t1._addChild$1(node);
63197 t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
63198 } else {
63199 t2 = t1._outOfOrderImports;
63200 (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
63201 }
63202 },
63203 visitCssKeyframeBlock$1(node) {
63204 },
63205 visitCssMediaRule$1(node) {
63206 var t1 = this._visitor,
63207 mediaQueries = t1._mediaQueries;
63208 t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
63209 },
63210 visitCssStyleRule$1(node) {
63211 return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
63212 },
63213 visitCssStylesheet$1(node) {
63214 var t1, t2;
63215 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
63216 t2._as(t1.__internal$_current).accept$1(this);
63217 },
63218 visitCssSupportsRule$1(node) {
63219 return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
63220 }
63221 };
63222 A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
63223 call$1(node) {
63224 return type$.CssStyleRule._is(node);
63225 },
63226 $signature: 7
63227 };
63228 A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
63229 call$1(node) {
63230 var t1;
63231 if (!type$.CssStyleRule._is(node))
63232 t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
63233 else
63234 t1 = true;
63235 return t1;
63236 },
63237 $signature: 7
63238 };
63239 A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
63240 call$1(node) {
63241 return type$.CssStyleRule._is(node);
63242 },
63243 $signature: 7
63244 };
63245 A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
63246 call$1(node) {
63247 return type$.CssStyleRule._is(node);
63248 },
63249 $signature: 7
63250 };
63251 A._EvaluationContext.prototype = {
63252 get$currentCallableSpan() {
63253 var callableNode = this._visitor._callableNode;
63254 if (callableNode != null)
63255 return callableNode.get$span(callableNode);
63256 throw A.wrapException(A.StateError$(string$.No_Sasc));
63257 },
63258 warn$2$deprecation(_, message, deprecation) {
63259 var t1 = this._visitor,
63260 t2 = t1._importSpan;
63261 if (t2 == null) {
63262 t2 = t1._callableNode;
63263 t2 = t2 == null ? null : t2.get$span(t2);
63264 }
63265 if (t2 == null) {
63266 t2 = this._defaultWarnNodeWithSpan;
63267 t2 = t2.get$span(t2);
63268 }
63269 t1._warn$3$deprecation(message, t2, deprecation);
63270 },
63271 $isEvaluationContext: 1
63272 };
63273 A._ArgumentResults.prototype = {};
63274 A._LoadedStylesheet.prototype = {};
63275 A._FindDependenciesVisitor.prototype = {
63276 visitEachRule$1(node) {
63277 },
63278 visitForRule$1(node) {
63279 },
63280 visitIfRule$1(node) {
63281 },
63282 visitWhileRule$1(node) {
63283 },
63284 visitUseRule$1(node) {
63285 var t1 = node.url;
63286 if (t1.get$scheme() !== "sass")
63287 this._usesAndForwards.push(t1);
63288 },
63289 visitForwardRule$1(node) {
63290 var t1 = node.url;
63291 if (t1.get$scheme() !== "sass")
63292 this._usesAndForwards.push(t1);
63293 },
63294 visitImportRule$1(node) {
63295 var t1, t2, t3, _i, $import;
63296 for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
63297 $import = t1[_i];
63298 if ($import instanceof A.DynamicImport)
63299 t3.push(A.Uri_parse($import.urlString));
63300 }
63301 }
63302 };
63303 A.RecursiveStatementVisitor.prototype = {
63304 visitAtRootRule$1(node) {
63305 this.visitChildren$1(node.children);
63306 },
63307 visitAtRule$1(node) {
63308 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
63309 },
63310 visitContentBlock$1(node) {
63311 return null;
63312 },
63313 visitContentRule$1(node) {
63314 },
63315 visitDebugRule$1(node) {
63316 },
63317 visitDeclaration$1(node) {
63318 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
63319 },
63320 visitErrorRule$1(node) {
63321 },
63322 visitExtendRule$1(node) {
63323 },
63324 visitFunctionRule$1(node) {
63325 return null;
63326 },
63327 visitIncludeRule$1(node) {
63328 return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
63329 },
63330 visitLoudComment$1(node) {
63331 },
63332 visitMediaRule$1(node) {
63333 return this.visitChildren$1(node.children);
63334 },
63335 visitMixinRule$1(node) {
63336 return null;
63337 },
63338 visitReturnRule$1(node) {
63339 },
63340 visitSilentComment$1(node) {
63341 },
63342 visitStyleRule$1(node) {
63343 return this.visitChildren$1(node.children);
63344 },
63345 visitStylesheet$1(node) {
63346 return this.visitChildren$1(node.children);
63347 },
63348 visitSupportsRule$1(node) {
63349 return this.visitChildren$1(node.children);
63350 },
63351 visitVariableDeclaration$1(node) {
63352 },
63353 visitWarnRule$1(node) {
63354 },
63355 visitChildren$1(children) {
63356 var t1;
63357 for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
63358 t1.get$current(t1).accept$1(this);
63359 }
63360 };
63361 A.serialize_closure.prototype = {
63362 call$1(codeUnit) {
63363 return codeUnit > 127;
63364 },
63365 $signature: 56
63366 };
63367 A._SerializeVisitor.prototype = {
63368 visitCssStylesheet$1(node) {
63369 var t1, t2, t3, t4, previous, i, child, _this = this;
63370 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) {
63371 child = J.$index$asx(node.get$children(node), i);
63372 if (_this._isInvisible$1(child))
63373 continue;
63374 if (previous != null) {
63375 if (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous))
63376 t4.writeCharCode$1(59);
63377 if (t1)
63378 t4.write$1(0, "\n");
63379 if (previous.get$isGroupEnd())
63380 if (t1)
63381 t4.write$1(0, "\n");
63382 }
63383 child.accept$1(_this);
63384 previous = child;
63385 }
63386 if (previous != null)
63387 t1 = (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous)) && t1;
63388 else
63389 t1 = false;
63390 if (t1)
63391 t4.writeCharCode$1(59);
63392 },
63393 visitCssComment$1(node) {
63394 this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
63395 },
63396 visitCssAtRule$1(node) {
63397 var t1, _this = this;
63398 _this._writeIndentation$0();
63399 t1 = _this._serialize$_buffer;
63400 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
63401 if (!node.isChildless) {
63402 if (_this._style !== B.OutputStyle_compressed)
63403 t1.writeCharCode$1(32);
63404 _this._serialize$_visitChildren$1(node.children);
63405 }
63406 },
63407 visitCssMediaRule$1(node) {
63408 var t1, _this = this;
63409 _this._writeIndentation$0();
63410 t1 = _this._serialize$_buffer;
63411 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
63412 if (_this._style !== B.OutputStyle_compressed)
63413 t1.writeCharCode$1(32);
63414 _this._serialize$_visitChildren$1(node.children);
63415 },
63416 visitCssImport$1(node) {
63417 this._writeIndentation$0();
63418 this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
63419 },
63420 _writeImportUrl$1(url) {
63421 var urlContents, maybeQuote, _this = this;
63422 if (_this._style !== B.OutputStyle_compressed || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
63423 _this._serialize$_buffer.write$1(0, url);
63424 return;
63425 }
63426 urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
63427 maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
63428 if (maybeQuote === 39 || maybeQuote === 34)
63429 _this._serialize$_buffer.write$1(0, urlContents);
63430 else
63431 _this._visitQuotedString$1(urlContents);
63432 },
63433 visitCssKeyframeBlock$1(node) {
63434 var t1, _this = this;
63435 _this._writeIndentation$0();
63436 t1 = _this._serialize$_buffer;
63437 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
63438 if (_this._style !== B.OutputStyle_compressed)
63439 t1.writeCharCode$1(32);
63440 _this._serialize$_visitChildren$1(node.children);
63441 },
63442 _visitMediaQuery$1(query) {
63443 var t2, t3, _this = this,
63444 t1 = query.modifier;
63445 if (t1 != null) {
63446 t2 = _this._serialize$_buffer;
63447 t2.write$1(0, t1);
63448 t2.writeCharCode$1(32);
63449 }
63450 t1 = query.type;
63451 if (t1 != null) {
63452 t2 = _this._serialize$_buffer;
63453 t2.write$1(0, t1);
63454 if (query.features.length !== 0)
63455 t2.write$1(0, " and ");
63456 }
63457 t1 = query.features;
63458 t2 = _this._style === B.OutputStyle_compressed ? "and " : " and ";
63459 t3 = _this._serialize$_buffer;
63460 _this._writeBetween$3(t1, t2, t3.get$write(t3));
63461 },
63462 visitCssStyleRule$1(node) {
63463 var t1, _this = this;
63464 _this._writeIndentation$0();
63465 t1 = _this._serialize$_buffer;
63466 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
63467 if (_this._style !== B.OutputStyle_compressed)
63468 t1.writeCharCode$1(32);
63469 _this._serialize$_visitChildren$1(node.children);
63470 },
63471 visitCssSupportsRule$1(node) {
63472 var t1, _this = this;
63473 _this._writeIndentation$0();
63474 t1 = _this._serialize$_buffer;
63475 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
63476 if (_this._style !== B.OutputStyle_compressed)
63477 t1.writeCharCode$1(32);
63478 _this._serialize$_visitChildren$1(node.children);
63479 },
63480 visitCssDeclaration$1(node) {
63481 var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
63482 _this._writeIndentation$0();
63483 t1 = node.name;
63484 _this._serialize$_write$1(t1);
63485 t2 = _this._serialize$_buffer;
63486 t2.writeCharCode$1(58);
63487 if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
63488 t1 = node.value;
63489 t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
63490 } else {
63491 if (_this._style !== B.OutputStyle_compressed)
63492 t2.writeCharCode$1(32);
63493 try {
63494 t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
63495 } catch (exception) {
63496 t1 = A.unwrapException(exception);
63497 if (t1 instanceof A.MultiSpanSassScriptException) {
63498 error = t1;
63499 stackTrace = A.getTraceFromException(exception);
63500 t1 = error.message;
63501 t2 = node.value;
63502 t2 = t2.get$span(t2);
63503 A.throwWithTrace(new A.MultiSpanSassException(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
63504 } else if (t1 instanceof A.SassScriptException) {
63505 error0 = t1;
63506 stackTrace0 = A.getTraceFromException(exception);
63507 t1 = node.value;
63508 A.throwWithTrace(new A.SassException(error0.message, t1.get$span(t1)), stackTrace0);
63509 } else
63510 throw exception;
63511 }
63512 }
63513 },
63514 _writeFoldedValue$1(node) {
63515 var t2, next, t3,
63516 t1 = node.value,
63517 scanner = A.StringScanner$(type$.SassString._as(t1.get$value(t1))._string$_text, null, null);
63518 for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
63519 next = scanner.readChar$0();
63520 if (next !== 10) {
63521 t2.writeCharCode$1(next);
63522 continue;
63523 }
63524 t2.writeCharCode$1(32);
63525 while (true) {
63526 t3 = scanner.peekChar$0();
63527 if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
63528 break;
63529 scanner.readChar$0();
63530 }
63531 }
63532 },
63533 _writeReindentedValue$1(node) {
63534 var _this = this,
63535 t1 = node.value,
63536 value = type$.SassString._as(t1.get$value(t1))._string$_text,
63537 minimumIndentation = _this._minimumIndentation$1(value);
63538 if (minimumIndentation == null) {
63539 _this._serialize$_buffer.write$1(0, value);
63540 return;
63541 } else if (minimumIndentation === -1) {
63542 t1 = _this._serialize$_buffer;
63543 t1.write$1(0, A.trimAsciiRight(value, true));
63544 t1.writeCharCode$1(32);
63545 return;
63546 }
63547 t1 = node.name;
63548 t1 = t1.get$span(t1);
63549 t1 = A.FileLocation$_(t1.file, t1._file$_start);
63550 _this._writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
63551 },
63552 _minimumIndentation$1(text) {
63553 var character, t2, min, next, min0,
63554 scanner = A.LineScanner$(text),
63555 t1 = scanner.string.length;
63556 while (true) {
63557 if (scanner._string_scanner$_position !== t1) {
63558 character = scanner.super$StringScanner$readChar();
63559 scanner._adjustLineAndColumn$1(character);
63560 t2 = character !== 10;
63561 } else
63562 t2 = false;
63563 if (!t2)
63564 break;
63565 }
63566 if (scanner._string_scanner$_position === t1)
63567 return scanner.peekChar$1(-1) === 10 ? -1 : null;
63568 for (min = null; scanner._string_scanner$_position !== t1;) {
63569 for (; scanner._string_scanner$_position !== t1;) {
63570 next = scanner.peekChar$0();
63571 if (next !== 32 && next !== 9)
63572 break;
63573 scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
63574 }
63575 if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
63576 continue;
63577 min0 = scanner._line_scanner$_column;
63578 min = min == null ? min0 : Math.min(min, min0);
63579 while (true) {
63580 if (scanner._string_scanner$_position !== t1) {
63581 character = scanner.super$StringScanner$readChar();
63582 scanner._adjustLineAndColumn$1(character);
63583 t2 = character !== 10;
63584 } else
63585 t2 = false;
63586 if (!t2)
63587 break;
63588 }
63589 }
63590 return min == null ? -1 : min;
63591 },
63592 _writeWithIndent$2(text, minimumIndentation) {
63593 var t1, t2, t3, character, lineStart, newlines, end,
63594 scanner = A.LineScanner$(text);
63595 for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
63596 character = scanner.super$StringScanner$readChar();
63597 scanner._adjustLineAndColumn$1(character);
63598 if (character === 10)
63599 break;
63600 t3.writeCharCode$1(character);
63601 }
63602 for (; true;) {
63603 lineStart = scanner._string_scanner$_position;
63604 for (newlines = 1; true;) {
63605 if (scanner._string_scanner$_position === t2) {
63606 t3.writeCharCode$1(32);
63607 return;
63608 }
63609 character = scanner.super$StringScanner$readChar();
63610 scanner._adjustLineAndColumn$1(character);
63611 if (character === 32 || character === 9)
63612 continue;
63613 if (character !== 10)
63614 break;
63615 lineStart = scanner._string_scanner$_position;
63616 ++newlines;
63617 }
63618 this._writeTimes$2(10, newlines);
63619 this._writeIndentation$0();
63620 end = scanner._string_scanner$_position;
63621 t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
63622 for (; true;) {
63623 if (scanner._string_scanner$_position === t2)
63624 return;
63625 character = scanner.super$StringScanner$readChar();
63626 scanner._adjustLineAndColumn$1(character);
63627 if (character === 10)
63628 break;
63629 t3.writeCharCode$1(character);
63630 }
63631 }
63632 },
63633 _writeCalculationValue$1(value) {
63634 var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
63635 if (value instanceof A.Value)
63636 value.accept$1(_this);
63637 else if (value instanceof A.CalculationInterpolation)
63638 _this._serialize$_buffer.write$1(0, value.value);
63639 else if (value instanceof A.CalculationOperation) {
63640 left = value.left;
63641 if (!(left instanceof A.CalculationInterpolation))
63642 parenthesizeLeft = left instanceof A.CalculationOperation && left.operator.precedence < value.operator.precedence;
63643 else
63644 parenthesizeLeft = true;
63645 if (parenthesizeLeft)
63646 _this._serialize$_buffer.writeCharCode$1(40);
63647 _this._writeCalculationValue$1(left);
63648 if (parenthesizeLeft)
63649 _this._serialize$_buffer.writeCharCode$1(41);
63650 operatorWhitespace = _this._style !== B.OutputStyle_compressed || value.operator.precedence === 1;
63651 if (operatorWhitespace)
63652 _this._serialize$_buffer.writeCharCode$1(32);
63653 t1 = _this._serialize$_buffer;
63654 t2 = value.operator;
63655 t1.write$1(0, t2.operator);
63656 if (operatorWhitespace)
63657 t1.writeCharCode$1(32);
63658 right = value.right;
63659 if (!(right instanceof A.CalculationInterpolation))
63660 parenthesizeRight = right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(t2, right.operator);
63661 else
63662 parenthesizeRight = true;
63663 if (parenthesizeRight)
63664 t1.writeCharCode$1(40);
63665 _this._writeCalculationValue$1(right);
63666 if (parenthesizeRight)
63667 t1.writeCharCode$1(41);
63668 }
63669 },
63670 _parenthesizeCalculationRhs$2(outer, right) {
63671 if (outer === B.CalculationOperator_jB6)
63672 return true;
63673 if (outer === B.CalculationOperator_Iem)
63674 return false;
63675 return right === B.CalculationOperator_Iem || right === B.CalculationOperator_uti;
63676 },
63677 visitColor$1(value) {
63678 var $name, hexLength, t2, t3, _this = this, _null = null,
63679 t1 = _this._style === B.OutputStyle_compressed;
63680 if (t1 && Math.abs(value._alpha - 1) < $.$get$epsilon()) {
63681 $name = $.$get$namesByColor().$index(0, value);
63682 hexLength = _this._canUseShortHex$1(value) ? 4 : 7;
63683 if ($name != null && $name.length <= hexLength)
63684 _this._serialize$_buffer.write$1(0, $name);
63685 else {
63686 t1 = _this._serialize$_buffer;
63687 if (_this._canUseShortHex$1(value)) {
63688 t1.writeCharCode$1(35);
63689 t1.writeCharCode$1(A.hexCharFor(value.get$red(value) & 15));
63690 t1.writeCharCode$1(A.hexCharFor(value.get$green(value) & 15));
63691 t1.writeCharCode$1(A.hexCharFor(value.get$blue(value) & 15));
63692 } else {
63693 t1.writeCharCode$1(35);
63694 _this._writeHexComponent$1(value.get$red(value));
63695 _this._writeHexComponent$1(value.get$green(value));
63696 _this._writeHexComponent$1(value.get$blue(value));
63697 }
63698 }
63699 return;
63700 }
63701 t2 = value.originalSpan;
63702 t3 = t2 == null;
63703 if ((t3 ? _null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null)) != null) {
63704 t1 = t3 ? _null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null);
63705 _this._serialize$_buffer.write$1(0, t1);
63706 } else {
63707 t2 = $.$get$namesByColor();
63708 if (t2.containsKey$1(value) && !(Math.abs(value._alpha - 0) < $.$get$epsilon()))
63709 _this._serialize$_buffer.write$1(0, t2.$index(0, value));
63710 else {
63711 t2 = value._alpha;
63712 t3 = _this._serialize$_buffer;
63713 if (Math.abs(t2 - 1) < $.$get$epsilon()) {
63714 t3.writeCharCode$1(35);
63715 _this._writeHexComponent$1(value.get$red(value));
63716 _this._writeHexComponent$1(value.get$green(value));
63717 _this._writeHexComponent$1(value.get$blue(value));
63718 } else {
63719 t3.write$1(0, "rgba(" + value.get$red(value));
63720 t3.write$1(0, t1 ? "," : ", ");
63721 t3.write$1(0, value.get$green(value));
63722 t3.write$1(0, t1 ? "," : ", ");
63723 t3.write$1(0, value.get$blue(value));
63724 t3.write$1(0, t1 ? "," : ", ");
63725 _this._writeNumber$1(t2);
63726 t3.writeCharCode$1(41);
63727 }
63728 }
63729 }
63730 },
63731 _canUseShortHex$1(color) {
63732 var t1 = color.get$red(color);
63733 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
63734 t1 = color.get$green(color);
63735 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
63736 t1 = color.get$blue(color);
63737 t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
63738 } else
63739 t1 = false;
63740 } else
63741 t1 = false;
63742 return t1;
63743 },
63744 _writeHexComponent$1(color) {
63745 var t1 = this._serialize$_buffer;
63746 t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
63747 t1.writeCharCode$1(A.hexCharFor(color & 15));
63748 },
63749 visitList$1(value) {
63750 var t2, t3, singleton, t4, t5, _this = this,
63751 t1 = value._hasBrackets;
63752 if (t1)
63753 _this._serialize$_buffer.writeCharCode$1(91);
63754 else if (value._list$_contents.length === 0) {
63755 if (!_this._inspect)
63756 throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value."));
63757 _this._serialize$_buffer.write$1(0, "()");
63758 return;
63759 }
63760 t2 = _this._inspect;
63761 if (t2)
63762 if (value._list$_contents.length === 1) {
63763 t3 = value._separator;
63764 t3 = t3 === B.ListSeparator_kWM || t3 === B.ListSeparator_1gm;
63765 singleton = t3;
63766 } else
63767 singleton = false;
63768 else
63769 singleton = false;
63770 if (singleton && !t1)
63771 _this._serialize$_buffer.writeCharCode$1(40);
63772 t3 = value._list$_contents;
63773 t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
63774 t4 = value._separator;
63775 t5 = _this._separatorString$1(t4);
63776 _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
63777 if (singleton) {
63778 t2 = _this._serialize$_buffer;
63779 t2.write$1(0, t4.separator);
63780 if (!t1)
63781 t2.writeCharCode$1(41);
63782 }
63783 if (t1)
63784 _this._serialize$_buffer.writeCharCode$1(93);
63785 },
63786 _separatorString$1(separator) {
63787 switch (separator) {
63788 case B.ListSeparator_kWM:
63789 return this._style === B.OutputStyle_compressed ? "," : ", ";
63790 case B.ListSeparator_1gm:
63791 return this._style === B.OutputStyle_compressed ? "/" : " / ";
63792 case B.ListSeparator_woc:
63793 return " ";
63794 default:
63795 return "";
63796 }
63797 },
63798 _elementNeedsParens$2(separator, value) {
63799 var t1;
63800 if (value instanceof A.SassList) {
63801 if (value._list$_contents.length < 2)
63802 return false;
63803 if (value._hasBrackets)
63804 return false;
63805 switch (separator) {
63806 case B.ListSeparator_kWM:
63807 return value._separator === B.ListSeparator_kWM;
63808 case B.ListSeparator_1gm:
63809 t1 = value._separator;
63810 return t1 === B.ListSeparator_kWM || t1 === B.ListSeparator_1gm;
63811 default:
63812 return value._separator !== B.ListSeparator_undecided_null;
63813 }
63814 }
63815 return false;
63816 },
63817 visitMap$1(map) {
63818 var t1, t2, _this = this;
63819 if (!_this._inspect)
63820 throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value."));
63821 t1 = _this._serialize$_buffer;
63822 t1.writeCharCode$1(40);
63823 t2 = map._map$_contents;
63824 _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
63825 t1.writeCharCode$1(41);
63826 },
63827 _writeMapElement$1(value) {
63828 var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_kWM && !value._hasBrackets;
63829 if (needsParens)
63830 this._serialize$_buffer.writeCharCode$1(40);
63831 value.accept$1(this);
63832 if (needsParens)
63833 this._serialize$_buffer.writeCharCode$1(41);
63834 },
63835 visitNumber$1(value) {
63836 var _this = this,
63837 asSlash = value.asSlash;
63838 if (asSlash != null) {
63839 _this.visitNumber$1(asSlash.item1);
63840 _this._serialize$_buffer.writeCharCode$1(47);
63841 _this.visitNumber$1(asSlash.item2);
63842 return;
63843 }
63844 _this._writeNumber$1(value._number$_value);
63845 if (!_this._inspect) {
63846 if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
63847 throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value."));
63848 if (value.get$numeratorUnits(value).length !== 0)
63849 _this._serialize$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
63850 } else
63851 _this._serialize$_buffer.write$1(0, value.get$unitString());
63852 },
63853 _writeNumber$1(number) {
63854 var text, _this = this,
63855 integer = A.fuzzyIsInt(number) ? B.JSNumber_methods.round$0(number) : null;
63856 if (integer != null) {
63857 _this._serialize$_buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(integer)));
63858 return;
63859 }
63860 text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
63861 if (text.length < 12) {
63862 if (_this._style === B.OutputStyle_compressed && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
63863 text = B.JSString_methods.substring$1(text, 1);
63864 _this._serialize$_buffer.write$1(0, text);
63865 return;
63866 }
63867 _this._writeRounded$1(text);
63868 },
63869 _removeExponent$1(text) {
63870 var buffer, t3, additionalZeroes,
63871 t1 = B.JSString_methods._codeUnitAt$1(text, 0),
63872 negative = t1 === 45,
63873 exponent = A._Cell$(),
63874 t2 = text.length,
63875 i = 0;
63876 while (true) {
63877 if (!(i < t2)) {
63878 buffer = null;
63879 break;
63880 }
63881 c$0: {
63882 if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
63883 break c$0;
63884 buffer = new A.StringBuffer("");
63885 t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
63886 if (negative) {
63887 t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
63888 buffer._contents = t1;
63889 if (i > 3)
63890 buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
63891 } else if (i > 2)
63892 buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
63893 exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
63894 break;
63895 }
63896 ++i;
63897 }
63898 if (buffer == null)
63899 return text;
63900 if (exponent._readLocal$0() > 0) {
63901 t1 = exponent._readLocal$0();
63902 t2 = buffer._contents;
63903 t3 = negative ? 1 : 0;
63904 additionalZeroes = t1 - (t2.length - 1 - t3);
63905 for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
63906 t1 += A.Primitives_stringFromCharCode(48);
63907 buffer._contents = t1;
63908 }
63909 return t1.charCodeAt(0) == 0 ? t1 : t1;
63910 } else {
63911 t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
63912 t2 = exponent.__late_helper$_name;
63913 i = -1;
63914 while (true) {
63915 t3 = exponent._value;
63916 if (t3 === exponent)
63917 A.throwExpression(A.LateError$localNI(t2));
63918 if (!(i > t3))
63919 break;
63920 t1 += A.Primitives_stringFromCharCode(48);
63921 --i;
63922 }
63923 if (negative) {
63924 t2 = buffer._contents;
63925 t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
63926 } else
63927 t2 = buffer;
63928 t2 = t1 + A.S(t2);
63929 return t2.charCodeAt(0) == 0 ? t2 : t2;
63930 }
63931 },
63932 _writeRounded$1(text) {
63933 var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
63934 if (B.JSString_methods.endsWith$1(text, ".0")) {
63935 _this._serialize$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
63936 return;
63937 }
63938 t1 = text.length;
63939 digits = new Uint8Array(t1 + 1);
63940 negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
63941 textIndex = negative ? 1 : 0;
63942 for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
63943 if (textIndex === t1) {
63944 _this._serialize$_buffer.write$1(0, text);
63945 return;
63946 }
63947 textIndex0 = textIndex + 1;
63948 codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
63949 if (codeUnit === 46) {
63950 textIndex = textIndex0;
63951 break;
63952 }
63953 digitsIndex0 = digitsIndex + 1;
63954 digits[digitsIndex] = codeUnit - 48;
63955 }
63956 indexAfterPrecision = textIndex + 10;
63957 if (indexAfterPrecision >= t1) {
63958 _this._serialize$_buffer.write$1(0, text);
63959 return;
63960 }
63961 for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
63962 digitsIndex1 = digitsIndex0 + 1;
63963 textIndex0 = textIndex + 1;
63964 digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
63965 }
63966 if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
63967 for (; true; digitsIndex0 = digitsIndex1) {
63968 digitsIndex1 = digitsIndex0 - 1;
63969 newDigit = digits[digitsIndex1] + 1;
63970 digits[digitsIndex1] = newDigit;
63971 if (newDigit !== 10)
63972 break;
63973 }
63974 for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
63975 digits[digitsIndex0] = 0;
63976 while (true) {
63977 t1 = digitsIndex0 > digitsIndex;
63978 if (!(t1 && digits[digitsIndex0 - 1] === 0))
63979 break;
63980 --digitsIndex0;
63981 }
63982 if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
63983 _this._serialize$_buffer.writeCharCode$1(48);
63984 return;
63985 }
63986 if (negative)
63987 _this._serialize$_buffer.writeCharCode$1(45);
63988 if (digits[0] === 0)
63989 writtenIndex = _this._style === B.OutputStyle_compressed && digits[1] === 0 ? 2 : 1;
63990 else
63991 writtenIndex = 0;
63992 for (t2 = _this._serialize$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
63993 t2.writeCharCode$1(48 + digits[writtenIndex]);
63994 if (t1) {
63995 t2.writeCharCode$1(46);
63996 for (; writtenIndex < digitsIndex0; ++writtenIndex)
63997 t2.writeCharCode$1(48 + digits[writtenIndex]);
63998 }
63999 },
64000 _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
64001 var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
64002 buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
64003 if (forceDoubleQuote)
64004 buffer.writeCharCode$1(34);
64005 for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
64006 char = B.JSString_methods._codeUnitAt$1(string, i);
64007 switch (char) {
64008 case 39:
64009 if (forceDoubleQuote)
64010 buffer.writeCharCode$1(39);
64011 else {
64012 if (includesDoubleQuote) {
64013 _this._visitQuotedString$2$forceDoubleQuote(string, true);
64014 return;
64015 } else
64016 buffer.writeCharCode$1(39);
64017 includesSingleQuote = true;
64018 }
64019 break;
64020 case 34:
64021 if (forceDoubleQuote) {
64022 buffer.writeCharCode$1(92);
64023 buffer.writeCharCode$1(34);
64024 } else {
64025 if (includesSingleQuote) {
64026 _this._visitQuotedString$2$forceDoubleQuote(string, true);
64027 return;
64028 } else
64029 buffer.writeCharCode$1(34);
64030 includesDoubleQuote = true;
64031 }
64032 break;
64033 case 0:
64034 case 1:
64035 case 2:
64036 case 3:
64037 case 4:
64038 case 5:
64039 case 6:
64040 case 7:
64041 case 8:
64042 case 10:
64043 case 11:
64044 case 12:
64045 case 13:
64046 case 14:
64047 case 15:
64048 case 16:
64049 case 17:
64050 case 18:
64051 case 19:
64052 case 20:
64053 case 21:
64054 case 22:
64055 case 23:
64056 case 24:
64057 case 25:
64058 case 26:
64059 case 27:
64060 case 28:
64061 case 29:
64062 case 30:
64063 case 31:
64064 _this._writeEscape$4(buffer, char, string, i);
64065 break;
64066 case 92:
64067 buffer.writeCharCode$1(92);
64068 buffer.writeCharCode$1(92);
64069 break;
64070 default:
64071 newIndex = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
64072 if (newIndex != null) {
64073 i = newIndex;
64074 break;
64075 }
64076 buffer.writeCharCode$1(char);
64077 break;
64078 }
64079 }
64080 if (forceDoubleQuote)
64081 buffer.writeCharCode$1(34);
64082 else {
64083 quote = includesDoubleQuote ? 39 : 34;
64084 t1 = _this._serialize$_buffer;
64085 t1.writeCharCode$1(quote);
64086 t1.write$1(0, buffer);
64087 t1.writeCharCode$1(quote);
64088 }
64089 },
64090 _visitQuotedString$1(string) {
64091 return this._visitQuotedString$2$forceDoubleQuote(string, false);
64092 },
64093 _visitUnquotedString$1(string) {
64094 var t1, t2, afterNewline, i, char, newIndex;
64095 for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
64096 char = B.JSString_methods._codeUnitAt$1(string, i);
64097 switch (char) {
64098 case 10:
64099 t2.writeCharCode$1(32);
64100 afterNewline = true;
64101 break;
64102 case 32:
64103 if (!afterNewline)
64104 t2.writeCharCode$1(32);
64105 break;
64106 default:
64107 newIndex = this._tryPrivateUseCharacter$4(t2, char, string, i);
64108 if (newIndex != null) {
64109 i = newIndex;
64110 afterNewline = false;
64111 break;
64112 }
64113 t2.writeCharCode$1(char);
64114 afterNewline = false;
64115 break;
64116 }
64117 }
64118 },
64119 _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
64120 var t1;
64121 if (this._style === B.OutputStyle_compressed)
64122 return null;
64123 if (codeUnit >= 57344 && codeUnit <= 63743) {
64124 this._writeEscape$4(buffer, codeUnit, string, i);
64125 return i;
64126 }
64127 if (codeUnit >>> 7 === 439 && string.length > i + 1) {
64128 t1 = i + 1;
64129 this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
64130 return t1;
64131 }
64132 return null;
64133 },
64134 _writeEscape$4(buffer, character, string, i) {
64135 var t1, next;
64136 buffer.writeCharCode$1(92);
64137 buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
64138 t1 = i + 1;
64139 if (string.length === t1)
64140 return;
64141 next = B.JSString_methods._codeUnitAt$1(string, t1);
64142 if (A.isHex(next) || next === 32 || next === 9)
64143 buffer.writeCharCode$1(32);
64144 },
64145 visitComplexSelector$1(complex) {
64146 var t1, t2, t3, t4, lastComponent, _i, component, t5;
64147 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) {
64148 component = t1[_i];
64149 if (lastComponent != null)
64150 if (!(t4 && lastComponent instanceof A.Combinator))
64151 t5 = !(t4 && component instanceof A.Combinator);
64152 else
64153 t5 = false;
64154 else
64155 t5 = false;
64156 if (t5)
64157 t3.write$1(0, " ");
64158 if (component instanceof A.CompoundSelector)
64159 this.visitCompoundSelector$1(component);
64160 else
64161 t3.write$1(0, component);
64162 }
64163 },
64164 visitCompoundSelector$1(compound) {
64165 var t2, t3, _i,
64166 t1 = this._serialize$_buffer,
64167 start = t1.get$length(t1);
64168 for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
64169 t2[_i].accept$1(this);
64170 if (t1.get$length(t1) === start)
64171 t1.writeCharCode$1(42);
64172 },
64173 visitSelectorList$1(list) {
64174 var t1, t2, t3, first, t4, _this = this,
64175 complexes = list.components;
64176 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();) {
64177 t4 = t1.get$current(t1);
64178 if (first)
64179 first = false;
64180 else {
64181 t3.writeCharCode$1(44);
64182 if (t4.lineBreak) {
64183 if (t2)
64184 t3.write$1(0, "\n");
64185 } else if (t2)
64186 t3.writeCharCode$1(32);
64187 }
64188 _this.visitComplexSelector$1(t4);
64189 }
64190 },
64191 visitPseudoSelector$1(pseudo) {
64192 var t3, t4, t5,
64193 innerSelector = pseudo.selector,
64194 t1 = innerSelector == null,
64195 t2 = !t1;
64196 if (t2 && pseudo.name === "not" && innerSelector.get$isInvisible())
64197 return;
64198 t3 = this._serialize$_buffer;
64199 t3.writeCharCode$1(58);
64200 if (!pseudo.isSyntacticClass)
64201 t3.writeCharCode$1(58);
64202 t3.write$1(0, pseudo.name);
64203 t4 = pseudo.argument;
64204 t5 = t4 == null;
64205 if (t5 && t1)
64206 return;
64207 t3.writeCharCode$1(40);
64208 if (!t5) {
64209 t3.write$1(0, t4);
64210 if (t2)
64211 t3.writeCharCode$1(32);
64212 }
64213 if (t2)
64214 this.visitSelectorList$1(innerSelector);
64215 t3.writeCharCode$1(41);
64216 },
64217 _serialize$_write$1(value) {
64218 return this._serialize$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure(this, value));
64219 },
64220 _serialize$_visitChildren$1(children) {
64221 var _this = this, t1 = {},
64222 t2 = _this._serialize$_buffer;
64223 t2.writeCharCode$1(123);
64224 if (children.every$1(children, _this.get$_isInvisible())) {
64225 t2.writeCharCode$1(125);
64226 return;
64227 }
64228 _this._writeLineFeed$0();
64229 t1.previous_ = null;
64230 ++_this._indentation;
64231 new A._SerializeVisitor__visitChildren_closure(t1, _this, children).call$0();
64232 --_this._indentation;
64233 t1 = t1.previous_;
64234 t1.toString;
64235 if ((type$.CssParentNode._is(t1) ? t1.get$isChildless() : !type$.CssComment._is(t1)) && _this._style !== B.OutputStyle_compressed)
64236 t2.writeCharCode$1(59);
64237 _this._writeLineFeed$0();
64238 _this._writeIndentation$0();
64239 t2.writeCharCode$1(125);
64240 },
64241 _writeLineFeed$0() {
64242 if (this._style !== B.OutputStyle_compressed)
64243 this._serialize$_buffer.write$1(0, "\n");
64244 },
64245 _writeIndentation$0() {
64246 var _this = this;
64247 if (_this._style === B.OutputStyle_compressed)
64248 return;
64249 _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
64250 },
64251 _writeTimes$2(char, times) {
64252 var t1, i;
64253 for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
64254 t1.writeCharCode$1(char);
64255 },
64256 _writeBetween$1$3(iterable, text, callback) {
64257 var t1, t2, first, value;
64258 for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
64259 value = t1.get$current(t1);
64260 if (first)
64261 first = false;
64262 else
64263 t2.write$1(0, text);
64264 callback.call$1(value);
64265 }
64266 },
64267 _writeBetween$3(iterable, text, callback) {
64268 return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
64269 },
64270 _isInvisible$1(node) {
64271 if (this._inspect)
64272 return false;
64273 if (this._style === B.OutputStyle_compressed && type$.CssComment._is(node) && B.JSString_methods._codeUnitAt$1(node.text, 2) !== 33)
64274 return true;
64275 if (type$.CssParentNode._is(node)) {
64276 if (type$.CssAtRule._is(node))
64277 return false;
64278 if (type$.CssStyleRule._is(node) && node.selector.value.get$isInvisible())
64279 return true;
64280 return J.every$1$ax(node.get$children(node), this.get$_isInvisible());
64281 } else
64282 return false;
64283 }
64284 };
64285 A._SerializeVisitor_visitCssComment_closure.prototype = {
64286 call$0() {
64287 var t2, t3, minimumIndentation,
64288 t1 = this.$this;
64289 if (t1._style === B.OutputStyle_compressed && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
64290 return;
64291 t2 = this.node;
64292 t3 = t2.text;
64293 minimumIndentation = t1._minimumIndentation$1(t3);
64294 if (minimumIndentation == null) {
64295 t1._writeIndentation$0();
64296 t1._serialize$_buffer.write$1(0, t3);
64297 return;
64298 }
64299 t2 = t2.span;
64300 t2 = A.FileLocation$_(t2.file, t2._file$_start);
64301 minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
64302 t1._writeIndentation$0();
64303 t1._writeWithIndent$2(t3, minimumIndentation);
64304 },
64305 $signature: 1
64306 };
64307 A._SerializeVisitor_visitCssAtRule_closure.prototype = {
64308 call$0() {
64309 var t3, value,
64310 t1 = this.$this,
64311 t2 = t1._serialize$_buffer;
64312 t2.writeCharCode$1(64);
64313 t3 = this.node;
64314 t1._serialize$_write$1(t3.name);
64315 value = t3.value;
64316 if (value != null) {
64317 t2.writeCharCode$1(32);
64318 t1._serialize$_write$1(value);
64319 }
64320 },
64321 $signature: 1
64322 };
64323 A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
64324 call$0() {
64325 var t3, t4,
64326 t1 = this.$this,
64327 t2 = t1._serialize$_buffer;
64328 t2.write$1(0, "@media");
64329 t3 = t1._style === B.OutputStyle_compressed;
64330 if (t3) {
64331 t4 = B.JSArray_methods.get$first(this.node.queries);
64332 t4 = !(t4.modifier == null && t4.type == null);
64333 } else
64334 t4 = true;
64335 if (t4)
64336 t2.writeCharCode$1(32);
64337 t2 = t3 ? "," : ", ";
64338 t1._writeBetween$3(this.node.queries, t2, t1.get$_visitMediaQuery());
64339 },
64340 $signature: 1
64341 };
64342 A._SerializeVisitor_visitCssImport_closure.prototype = {
64343 call$0() {
64344 var t3, t4, t5, t6, supports, media,
64345 t1 = this.$this,
64346 t2 = t1._serialize$_buffer;
64347 t2.write$1(0, "@import");
64348 t3 = t1._style === B.OutputStyle_compressed;
64349 t4 = !t3;
64350 if (t4)
64351 t2.writeCharCode$1(32);
64352 t5 = this.node;
64353 t6 = t5.url;
64354 t2.forSpan$2(t6.get$span(t6), new A._SerializeVisitor_visitCssImport__closure(t1, t5));
64355 supports = t5.supports;
64356 if (supports != null) {
64357 if (t4)
64358 t2.writeCharCode$1(32);
64359 t1._serialize$_write$1(supports);
64360 }
64361 media = t5.media;
64362 if (media != null) {
64363 if (t4)
64364 t2.writeCharCode$1(32);
64365 t2 = t3 ? "," : ", ";
64366 t1._writeBetween$3(media, t2, t1.get$_visitMediaQuery());
64367 }
64368 },
64369 $signature: 1
64370 };
64371 A._SerializeVisitor_visitCssImport__closure.prototype = {
64372 call$0() {
64373 var t1 = this.node.url;
64374 return this.$this._writeImportUrl$1(t1.get$value(t1));
64375 },
64376 $signature: 0
64377 };
64378 A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
64379 call$0() {
64380 var t1 = this.$this,
64381 t2 = t1._style === B.OutputStyle_compressed ? "," : ", ",
64382 t3 = t1._serialize$_buffer;
64383 return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
64384 },
64385 $signature: 0
64386 };
64387 A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
64388 call$0() {
64389 return this.$this.visitSelectorList$1(this.node.selector.value);
64390 },
64391 $signature: 0
64392 };
64393 A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
64394 call$0() {
64395 var t1 = this.$this,
64396 t2 = t1._serialize$_buffer;
64397 t2.write$1(0, "@supports");
64398 if (!(t1._style === B.OutputStyle_compressed && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
64399 t2.writeCharCode$1(32);
64400 t1._serialize$_write$1(this.node.condition);
64401 },
64402 $signature: 1
64403 };
64404 A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
64405 call$0() {
64406 var t1 = this.$this,
64407 t2 = this.node;
64408 if (t1._style === B.OutputStyle_compressed)
64409 t1._writeFoldedValue$1(t2);
64410 else
64411 t1._writeReindentedValue$1(t2);
64412 },
64413 $signature: 1
64414 };
64415 A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
64416 call$0() {
64417 var t1 = this.node.value;
64418 return t1.get$value(t1).accept$1(this.$this);
64419 },
64420 $signature: 0
64421 };
64422 A._SerializeVisitor_visitList_closure.prototype = {
64423 call$1(element) {
64424 return !element.get$isBlank();
64425 },
64426 $signature: 62
64427 };
64428 A._SerializeVisitor_visitList_closure0.prototype = {
64429 call$1(element) {
64430 var t1 = this.$this,
64431 needsParens = t1._elementNeedsParens$2(this.value._separator, element);
64432 if (needsParens)
64433 t1._serialize$_buffer.writeCharCode$1(40);
64434 element.accept$1(t1);
64435 if (needsParens)
64436 t1._serialize$_buffer.writeCharCode$1(41);
64437 },
64438 $signature: 52
64439 };
64440 A._SerializeVisitor_visitList_closure1.prototype = {
64441 call$1(element) {
64442 element.accept$1(this.$this);
64443 },
64444 $signature: 52
64445 };
64446 A._SerializeVisitor_visitMap_closure.prototype = {
64447 call$1(entry) {
64448 var t1 = this.$this;
64449 t1._writeMapElement$1(entry.key);
64450 t1._serialize$_buffer.write$1(0, ": ");
64451 t1._writeMapElement$1(entry.value);
64452 },
64453 $signature: 274
64454 };
64455 A._SerializeVisitor_visitSelectorList_closure.prototype = {
64456 call$1(complex) {
64457 return !complex.get$isInvisible();
64458 },
64459 $signature: 19
64460 };
64461 A._SerializeVisitor__write_closure.prototype = {
64462 call$0() {
64463 var t1 = this.value;
64464 return this.$this._serialize$_buffer.write$1(0, t1.get$value(t1));
64465 },
64466 $signature: 0
64467 };
64468 A._SerializeVisitor__visitChildren_closure.prototype = {
64469 call$0() {
64470 var t1, t2, t3, t4, t5, t6, t7, i, child, previous, t8;
64471 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) {
64472 child = t2.elementAt$1(t1, i);
64473 if (t4._isInvisible$1(child))
64474 continue;
64475 previous = t3.previous_;
64476 if (previous != null) {
64477 if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
64478 t7.writeCharCode$1(59);
64479 t8 = t4._style !== B.OutputStyle_compressed;
64480 if (t8)
64481 t7.write$1(0, "\n");
64482 if (previous.get$isGroupEnd())
64483 if (t8)
64484 t7.write$1(0, "\n");
64485 }
64486 t3.previous_ = child;
64487 child.accept$1(t4);
64488 }
64489 },
64490 $signature: 0
64491 };
64492 A.OutputStyle.prototype = {
64493 toString$0(_) {
64494 return this._name;
64495 }
64496 };
64497 A.LineFeed.prototype = {
64498 toString$0(_) {
64499 return "lf";
64500 }
64501 };
64502 A.SerializeResult.prototype = {};
64503 A.StatementSearchVisitor.prototype = {
64504 visitAtRootRule$1(node) {
64505 return this.visitChildren$1(node.children);
64506 },
64507 visitAtRule$1(node) {
64508 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
64509 },
64510 visitContentBlock$1(node) {
64511 return this.visitChildren$1(node.children);
64512 },
64513 visitDebugRule$1(node) {
64514 return null;
64515 },
64516 visitDeclaration$1(node) {
64517 return A.NullableExtension_andThen(node.children, this.get$visitChildren());
64518 },
64519 visitEachRule$1(node) {
64520 return this.visitChildren$1(node.children);
64521 },
64522 visitErrorRule$1(node) {
64523 return null;
64524 },
64525 visitExtendRule$1(node) {
64526 return null;
64527 },
64528 visitForRule$1(node) {
64529 return this.visitChildren$1(node.children);
64530 },
64531 visitForwardRule$1(node) {
64532 return null;
64533 },
64534 visitFunctionRule$1(node) {
64535 return this.visitChildren$1(node.children);
64536 },
64537 visitIfRule$1(node) {
64538 var t1 = A._IterableExtension__search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
64539 return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
64540 },
64541 visitImportRule$1(node) {
64542 return null;
64543 },
64544 visitIncludeRule$1(node) {
64545 return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
64546 },
64547 visitLoudComment$1(node) {
64548 return null;
64549 },
64550 visitMediaRule$1(node) {
64551 return this.visitChildren$1(node.children);
64552 },
64553 visitMixinRule$1(node) {
64554 return this.visitChildren$1(node.children);
64555 },
64556 visitReturnRule$1(node) {
64557 return null;
64558 },
64559 visitSilentComment$1(node) {
64560 return null;
64561 },
64562 visitStyleRule$1(node) {
64563 return this.visitChildren$1(node.children);
64564 },
64565 visitStylesheet$1(node) {
64566 return this.visitChildren$1(node.children);
64567 },
64568 visitSupportsRule$1(node) {
64569 return this.visitChildren$1(node.children);
64570 },
64571 visitUseRule$1(node) {
64572 return null;
64573 },
64574 visitVariableDeclaration$1(node) {
64575 return null;
64576 },
64577 visitWarnRule$1(node) {
64578 return null;
64579 },
64580 visitWhileRule$1(node) {
64581 return this.visitChildren$1(node.children);
64582 },
64583 visitChildren$1(children) {
64584 return A._IterableExtension__search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
64585 }
64586 };
64587 A.StatementSearchVisitor_visitIfRule_closure.prototype = {
64588 call$1(clause) {
64589 return A._IterableExtension__search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
64590 },
64591 $signature() {
64592 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
64593 }
64594 };
64595 A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
64596 call$1(child) {
64597 return child.accept$1(this.$this);
64598 },
64599 $signature() {
64600 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
64601 }
64602 };
64603 A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
64604 call$1(lastClause) {
64605 return A._IterableExtension__search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
64606 },
64607 $signature() {
64608 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
64609 }
64610 };
64611 A.StatementSearchVisitor_visitIfRule__closure.prototype = {
64612 call$1(child) {
64613 return child.accept$1(this.$this);
64614 },
64615 $signature() {
64616 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
64617 }
64618 };
64619 A.StatementSearchVisitor_visitChildren_closure.prototype = {
64620 call$1(child) {
64621 return child.accept$1(this.$this);
64622 },
64623 $signature() {
64624 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
64625 }
64626 };
64627 A.Entry.prototype = {
64628 compareTo$1(_, other) {
64629 var t1, t2,
64630 res = this.target.compareTo$1(0, other.target);
64631 if (res !== 0)
64632 return res;
64633 t1 = this.source;
64634 t2 = other.source;
64635 res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
64636 if (res !== 0)
64637 return res;
64638 return t1.compareTo$1(0, t2);
64639 },
64640 $isComparable: 1
64641 };
64642 A.Mapping.prototype = {};
64643 A.SingleMapping.prototype = {
64644 toJson$1$includeSourceContents(includeSourceContents) {
64645 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,
64646 buff = new A.StringBuffer("");
64647 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) {
64648 entry = t1[_i];
64649 nextLine = entry.line;
64650 if (nextLine > line) {
64651 for (i = line; i < nextLine; ++i)
64652 buff._contents += ";";
64653 line = nextLine;
64654 column = 0;
64655 first = true;
64656 }
64657 for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
64658 t4 = t3.get$current(t3);
64659 if (!first)
64660 buff._contents += ",";
64661 column0 = t4.column;
64662 t5 = A.encodeVlq(column0 - column);
64663 t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
64664 buff._contents = t5;
64665 newUrlId = t4.sourceUrlId;
64666 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
64667 buff._contents = t5;
64668 srcLine0 = t4.sourceLine;
64669 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
64670 buff._contents = t5;
64671 srcColumn0 = t4.sourceColumn;
64672 t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
64673 buff._contents = t5;
64674 srcNameId0 = t4.sourceNameId;
64675 if (srcNameId0 == null) {
64676 srcUrlId = newUrlId;
64677 srcColumn = srcColumn0;
64678 srcLine = srcLine0;
64679 continue;
64680 }
64681 buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
64682 srcNameId = srcNameId0;
64683 srcUrlId = newUrlId;
64684 srcColumn = srcColumn0;
64685 srcLine = srcLine0;
64686 }
64687 }
64688 t1 = _this.sourceRoot;
64689 if (t1 == null)
64690 t1 = "";
64691 t2 = buff._contents;
64692 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);
64693 t1 = _this.targetUrl;
64694 if (t1 != null)
64695 result.$indexSet(0, "file", t1);
64696 if (includeSourceContents) {
64697 t1 = _this.files;
64698 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
64699 result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
64700 }
64701 _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
64702 return result;
64703 },
64704 toJson$0() {
64705 return this.toJson$1$includeSourceContents(false);
64706 },
64707 toString$0(_) {
64708 var _this = this,
64709 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) + "]";
64710 return t1.charCodeAt(0) == 0 ? t1 : t1;
64711 }
64712 };
64713 A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
64714 call$0() {
64715 var t1 = this.urls;
64716 return t1.get$length(t1);
64717 },
64718 $signature: 12
64719 };
64720 A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
64721 call$0() {
64722 return this.sourceEntry.source.file;
64723 },
64724 $signature: 275
64725 };
64726 A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
64727 call$1(i) {
64728 return this.files.$index(0, i);
64729 },
64730 $signature: 276
64731 };
64732 A.SingleMapping_toJson_closure.prototype = {
64733 call$1(file) {
64734 return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
64735 },
64736 $signature: 277
64737 };
64738 A.SingleMapping_toJson_closure0.prototype = {
64739 call$2($name, value) {
64740 this.result.$indexSet(0, $name, value);
64741 return value;
64742 },
64743 $signature: 250
64744 };
64745 A.TargetLineEntry.prototype = {
64746 toString$0(_) {
64747 return A.getRuntimeType(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
64748 }
64749 };
64750 A.TargetEntry.prototype = {
64751 toString$0(_) {
64752 var _this = this;
64753 return A.getRuntimeType(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
64754 }
64755 };
64756 A.SourceFile.prototype = {
64757 get$length(_) {
64758 return this._decodedChars.length;
64759 },
64760 get$lines() {
64761 return this._lineStarts.length;
64762 },
64763 SourceFile$decoded$2$url(decodedChars, url) {
64764 var t1, t2, t3, i, c, j;
64765 for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
64766 c = t1[i];
64767 if (c === 13) {
64768 j = i + 1;
64769 if (j >= t2 || t1[j] !== 10)
64770 c = 10;
64771 }
64772 if (c === 10)
64773 t3.push(i + 1);
64774 }
64775 },
64776 span$2(_, start, end) {
64777 return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
64778 },
64779 span$1($receiver, start) {
64780 return this.span$2($receiver, start, null);
64781 },
64782 getLine$1(offset) {
64783 var t1, _this = this;
64784 if (offset < 0)
64785 throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
64786 else if (offset > _this._decodedChars.length)
64787 throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(_this) + "."));
64788 t1 = _this._lineStarts;
64789 if (offset < B.JSArray_methods.get$first(t1))
64790 return -1;
64791 if (offset >= B.JSArray_methods.get$last(t1))
64792 return t1.length - 1;
64793 if (_this._isNearCachedLine$1(offset)) {
64794 t1 = _this._cachedLine;
64795 t1.toString;
64796 return t1;
64797 }
64798 return _this._cachedLine = _this._binarySearch$1(offset) - 1;
64799 },
64800 _isNearCachedLine$1(offset) {
64801 var t2, t3,
64802 t1 = this._cachedLine;
64803 if (t1 == null)
64804 return false;
64805 t2 = this._lineStarts;
64806 if (offset < t2[t1])
64807 return false;
64808 t3 = t2.length;
64809 if (t1 >= t3 - 1 || offset < t2[t1 + 1])
64810 return true;
64811 if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
64812 this._cachedLine = t1 + 1;
64813 return true;
64814 }
64815 return false;
64816 },
64817 _binarySearch$1(offset) {
64818 var min, half,
64819 t1 = this._lineStarts,
64820 max = t1.length - 1;
64821 for (min = 0; min < max;) {
64822 half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
64823 if (t1[half] > offset)
64824 max = half;
64825 else
64826 min = half + 1;
64827 }
64828 return max;
64829 },
64830 getColumn$1(offset) {
64831 var line, lineStart, _this = this;
64832 if (offset < 0)
64833 throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
64834 else if (offset > _this._decodedChars.length)
64835 throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(_this) + "."));
64836 line = _this.getLine$1(offset);
64837 lineStart = _this._lineStarts[line];
64838 if (lineStart > offset)
64839 throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
64840 return offset - lineStart;
64841 },
64842 getOffset$1(line) {
64843 var t1, t2, result, t3;
64844 if (line < 0)
64845 throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
64846 else {
64847 t1 = this._lineStarts;
64848 t2 = t1.length;
64849 if (line >= t2)
64850 throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
64851 }
64852 result = t1[line];
64853 if (result <= this._decodedChars.length) {
64854 t3 = line + 1;
64855 t1 = t3 < t2 && result >= t1[t3];
64856 } else
64857 t1 = true;
64858 if (t1)
64859 throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
64860 return result;
64861 }
64862 };
64863 A.FileLocation.prototype = {
64864 get$sourceUrl(_) {
64865 return this.file.url;
64866 },
64867 get$line() {
64868 return this.file.getLine$1(this.offset);
64869 },
64870 get$column() {
64871 return this.file.getColumn$1(this.offset);
64872 },
64873 pointSpan$0() {
64874 var t1 = this.offset;
64875 return A._FileSpan$(this.file, t1, t1);
64876 },
64877 get$offset() {
64878 return this.offset;
64879 }
64880 };
64881 A._FileSpan.prototype = {
64882 get$sourceUrl(_) {
64883 return this.file.url;
64884 },
64885 get$length(_) {
64886 return this._end - this._file$_start;
64887 },
64888 get$start(_) {
64889 return A.FileLocation$_(this.file, this._file$_start);
64890 },
64891 get$end(_) {
64892 return A.FileLocation$_(this.file, this._end);
64893 },
64894 get$text() {
64895 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
64896 },
64897 get$context(_) {
64898 var _this = this,
64899 t1 = _this.file,
64900 endOffset = _this._end,
64901 endLine = t1.getLine$1(endOffset);
64902 if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
64903 if (endOffset - _this._file$_start === 0)
64904 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);
64905 } else
64906 endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
64907 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
64908 },
64909 _FileSpan$3(file, _start, _end) {
64910 var t3,
64911 t1 = this._end,
64912 t2 = this._file$_start;
64913 if (t1 < t2)
64914 throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
64915 else {
64916 t3 = this.file;
64917 if (t1 > t3._decodedChars.length)
64918 throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_ + t3.get$length(t3) + "."));
64919 else if (t2 < 0)
64920 throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
64921 }
64922 },
64923 compareTo$1(_, other) {
64924 var result;
64925 if (!(other instanceof A._FileSpan))
64926 return this.super$SourceSpanMixin$compareTo(0, other);
64927 result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
64928 return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
64929 },
64930 $eq(_, other) {
64931 var _this = this;
64932 if (other == null)
64933 return false;
64934 if (!type$.FileSpan._is(other))
64935 return _this.super$SourceSpanMixin$$eq(0, other);
64936 return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
64937 },
64938 get$hashCode(_) {
64939 return A.SourceSpanMixin.prototype.get$hashCode.call(this, this);
64940 },
64941 expand$1(_, other) {
64942 var start, _this = this,
64943 t1 = _this.file;
64944 if (!J.$eq$(t1.url, other.file.url))
64945 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
64946 start = Math.min(_this._file$_start, other._file$_start);
64947 return A._FileSpan$(t1, start, Math.max(_this._end, other._end));
64948 },
64949 $isFileSpan: 1,
64950 $isSourceSpanWithContext: 1
64951 };
64952 A.Highlighter.prototype = {
64953 highlight$0() {
64954 var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
64955 t1 = _this._lines;
64956 _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
64957 t2 = _this._maxMultilineSpans;
64958 highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
64959 for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
64960 line = t1[i];
64961 if (i > 0) {
64962 lastLine = t1[i - 1];
64963 t5 = lastLine.url;
64964 t6 = line.url;
64965 if (!J.$eq$(t5, t6)) {
64966 _this._writeSidebar$1$end($._glyphs.get$upEnd());
64967 t3._contents += "\n";
64968 _this._writeFileStart$1(t6);
64969 } else if (lastLine.number + 1 !== line.number) {
64970 _this._writeSidebar$1$text("...");
64971 t3._contents += "\n";
64972 }
64973 }
64974 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();) {
64975 t10 = t7._as(t6.__internal$_current);
64976 t11 = t10.span;
64977 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()))) {
64978 index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
64979 if (index < 0)
64980 A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
64981 highlightsByColumn[index] = t10;
64982 }
64983 }
64984 _this._writeSidebar$1$line(t8);
64985 t3._contents += " ";
64986 _this._writeMultilineHighlights$2(line, highlightsByColumn);
64987 if (t2)
64988 t3._contents += " ";
64989 primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
64990 primary = primaryIdx === -1 ? _null : t5[primaryIdx];
64991 t6 = primary != null;
64992 if (t6) {
64993 t7 = primary.span;
64994 t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
64995 _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
64996 } else
64997 _this._writeText$1(t9);
64998 t3._contents += "\n";
64999 if (t6)
65000 _this._writeIndicator$3(line, primary, highlightsByColumn);
65001 for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
65002 highlight = t5[_i];
65003 if (highlight.isPrimary)
65004 continue;
65005 _this._writeIndicator$3(line, highlight, highlightsByColumn);
65006 }
65007 }
65008 _this._writeSidebar$1$end($._glyphs.get$upEnd());
65009 t1 = t3._contents;
65010 return t1.charCodeAt(0) == 0 ? t1 : t1;
65011 },
65012 _writeFileStart$1(url) {
65013 var _this = this,
65014 t1 = !_this._multipleFiles || url == null,
65015 t2 = $._glyphs;
65016 if (t1)
65017 _this._writeSidebar$1$end(t2.get$downEnd());
65018 else {
65019 _this._writeSidebar$1$end(t2.get$topLeftCorner());
65020 _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
65021 _this._highlighter$_buffer._contents += " " + $.$get$context().prettyUri$1(url);
65022 }
65023 _this._highlighter$_buffer._contents += "\n";
65024 },
65025 _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
65026 var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
65027 _box_0.openedOnThisLine = false;
65028 _box_0.openedOnThisLineColor = null;
65029 t1 = current == null;
65030 if (t1)
65031 currentColor = null;
65032 else
65033 currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
65034 for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
65035 highlight = highlightsByColumn[_i];
65036 t6 = highlight == null;
65037 if (t6)
65038 startLine = null;
65039 else {
65040 t7 = highlight.span;
65041 startLine = t7.get$start(t7).get$line();
65042 }
65043 if (t6)
65044 endLine = null;
65045 else {
65046 t7 = highlight.span;
65047 endLine = t7.get$end(t7).get$line();
65048 }
65049 if (t1 && highlight === current) {
65050 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
65051 foundCurrent = true;
65052 } else if (foundCurrent)
65053 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
65054 else if (t6)
65055 if (_box_0.openedOnThisLine)
65056 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
65057 else
65058 t5._contents += " ";
65059 else {
65060 t6 = highlight.isPrimary ? t4 : t3;
65061 _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
65062 }
65063 }
65064 },
65065 _writeMultilineHighlights$2(line, highlightsByColumn) {
65066 return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
65067 },
65068 _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
65069 var _this = this;
65070 _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
65071 _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
65072 _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
65073 },
65074 _writeIndicator$3(line, highlight, highlightsByColumn) {
65075 var t2, coversWholeLine, _this = this,
65076 color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
65077 t1 = highlight.span;
65078 if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
65079 _this._writeSidebar$0();
65080 t1 = _this._highlighter$_buffer;
65081 t1._contents += " ";
65082 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65083 if (highlightsByColumn.length !== 0)
65084 t1._contents += " ";
65085 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color);
65086 t1._contents += "\n";
65087 } else {
65088 t2 = line.number;
65089 if (t1.get$start(t1).get$line() === t2) {
65090 if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
65091 return;
65092 A.replaceFirstNull(highlightsByColumn, highlight);
65093 _this._writeSidebar$0();
65094 t1 = _this._highlighter$_buffer;
65095 t1._contents += " ";
65096 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65097 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
65098 t1._contents += "\n";
65099 } else if (t1.get$end(t1).get$line() === t2) {
65100 coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
65101 if (coversWholeLine && highlight.label == null) {
65102 A.replaceWithNull(highlightsByColumn, highlight);
65103 return;
65104 }
65105 _this._writeSidebar$0();
65106 t1 = _this._highlighter$_buffer;
65107 t1._contents += " ";
65108 _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
65109 _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color);
65110 t1._contents += "\n";
65111 A.replaceWithNull(highlightsByColumn, highlight);
65112 }
65113 }
65114 },
65115 _writeArrow$3$beginning(line, column, beginning) {
65116 var t2,
65117 t1 = beginning ? 0 : 1,
65118 tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
65119 t1 = this._highlighter$_buffer;
65120 t2 = t1._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
65121 t1._contents = t2 + "^";
65122 },
65123 _writeArrow$2(line, column) {
65124 return this._writeArrow$3$beginning(line, column, true);
65125 },
65126 _writeText$1(text) {
65127 var t1, t2, t3, t4;
65128 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();) {
65129 t4 = t3._as(t1.__internal$_current);
65130 if (t4 === 9)
65131 t2._contents += B.JSString_methods.$mul(" ", 4);
65132 else
65133 t2._contents += A.Primitives_stringFromCharCode(t4);
65134 }
65135 },
65136 _writeSidebar$3$end$line$text(end, line, text) {
65137 var t1 = {};
65138 t1.text = text;
65139 if (line != null)
65140 t1.text = B.JSInt_methods.toString$0(line + 1);
65141 this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
65142 },
65143 _writeSidebar$1$end(end) {
65144 return this._writeSidebar$3$end$line$text(end, null, null);
65145 },
65146 _writeSidebar$1$text(text) {
65147 return this._writeSidebar$3$end$line$text(null, null, text);
65148 },
65149 _writeSidebar$1$line(line) {
65150 return this._writeSidebar$3$end$line$text(null, line, null);
65151 },
65152 _writeSidebar$0() {
65153 return this._writeSidebar$3$end$line$text(null, null, null);
65154 },
65155 _countTabs$1(text) {
65156 var t1, t2, count;
65157 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();)
65158 if (t2._as(t1.__internal$_current) === 9)
65159 ++count;
65160 return count;
65161 },
65162 _isOnlyWhitespace$1(text) {
65163 var t1, t2, t3;
65164 for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
65165 t3 = t2._as(t1.__internal$_current);
65166 if (t3 !== 32 && t3 !== 9)
65167 return false;
65168 }
65169 return true;
65170 },
65171 _colorize$2$color(callback, color) {
65172 var t1 = this._primaryColor != null;
65173 if (t1 && color != null)
65174 this._highlighter$_buffer._contents += color;
65175 callback.call$0();
65176 if (t1 && color != null)
65177 this._highlighter$_buffer._contents += "\x1b[0m";
65178 }
65179 };
65180 A.Highlighter_closure.prototype = {
65181 call$0() {
65182 var t1 = this.color,
65183 t2 = J.getInterceptor$(t1);
65184 if (t2.$eq(t1, true))
65185 return "\x1b[31m";
65186 if (t2.$eq(t1, false))
65187 return null;
65188 return A._asStringQ(t1);
65189 },
65190 $signature: 42
65191 };
65192 A.Highlighter$__closure.prototype = {
65193 call$1(line) {
65194 var t1 = line.highlights;
65195 t1 = new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"));
65196 return t1.get$length(t1);
65197 },
65198 $signature: 278
65199 };
65200 A.Highlighter$___closure.prototype = {
65201 call$1(highlight) {
65202 var t1 = highlight.span;
65203 return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
65204 },
65205 $signature: 111
65206 };
65207 A.Highlighter$__closure0.prototype = {
65208 call$1(line) {
65209 return line.url;
65210 },
65211 $signature: 280
65212 };
65213 A.Highlighter__collateLines_closure.prototype = {
65214 call$1(highlight) {
65215 var t1 = highlight.span;
65216 return t1.get$sourceUrl(t1);
65217 },
65218 $signature: 281
65219 };
65220 A.Highlighter__collateLines_closure0.prototype = {
65221 call$2(highlight1, highlight2) {
65222 return highlight1.span.compareTo$1(0, highlight2.span);
65223 },
65224 $signature: 282
65225 };
65226 A.Highlighter__collateLines_closure1.prototype = {
65227 call$1(highlightsForFile) {
65228 var t1, t2, t3, t4, context, t5, linesBeforeSpan, url, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength,
65229 lines = A._setArrayType([], type$.JSArray__Line);
65230 for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
65231 t4 = t2.get$current(t2).span;
65232 context = t4.get$context(t4);
65233 t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
65234 t5.toString;
65235 t5 = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5));
65236 linesBeforeSpan = t5.get$length(t5);
65237 url = t4.get$sourceUrl(t4);
65238 lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
65239 for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
65240 line = t4[_i];
65241 if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
65242 lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
65243 ++lineNumber;
65244 }
65245 }
65246 activeHighlights = A._setArrayType([], t3);
65247 for (t2 = lines.length, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
65248 line = lines[_i];
65249 if (!!activeHighlights.fixed$length)
65250 A.throwExpression(A.UnsupportedError$("removeWhere"));
65251 B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
65252 oldHighlightLength = activeHighlights.length;
65253 for (t3 = t1.skip$1(highlightsForFile, highlightIndex), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
65254 t4 = t3.get$current(t3);
65255 t5 = t4.span;
65256 if (t5.get$start(t5).get$line() > line.number)
65257 break;
65258 if (!J.$eq$(t5.get$sourceUrl(t5), line.url))
65259 break;
65260 activeHighlights.push(t4);
65261 }
65262 highlightIndex += activeHighlights.length - oldHighlightLength;
65263 B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
65264 }
65265 return lines;
65266 },
65267 $signature: 283
65268 };
65269 A.Highlighter__collateLines__closure.prototype = {
65270 call$1(highlight) {
65271 var t1 = highlight.span,
65272 t2 = this.line;
65273 return !J.$eq$(t1.get$sourceUrl(t1), t2.url) || t1.get$end(t1).get$line() < t2.number;
65274 },
65275 $signature: 111
65276 };
65277 A.Highlighter_highlight_closure.prototype = {
65278 call$1(highlight) {
65279 return highlight.isPrimary;
65280 },
65281 $signature: 111
65282 };
65283 A.Highlighter__writeFileStart_closure.prototype = {
65284 call$0() {
65285 this.$this._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
65286 return null;
65287 },
65288 $signature: 0
65289 };
65290 A.Highlighter__writeMultilineHighlights_closure.prototype = {
65291 call$0() {
65292 var t1 = $._glyphs;
65293 t1 = this.startLine === this.line.number ? t1.get$topLeftCorner() : t1.get$bottomLeftCorner();
65294 this.$this._highlighter$_buffer._contents += t1;
65295 },
65296 $signature: 0
65297 };
65298 A.Highlighter__writeMultilineHighlights_closure0.prototype = {
65299 call$0() {
65300 var t1 = $._glyphs;
65301 t1 = this.highlight == null ? t1.get$horizontalLine() : t1.get$cross();
65302 this.$this._highlighter$_buffer._contents += t1;
65303 },
65304 $signature: 0
65305 };
65306 A.Highlighter__writeMultilineHighlights_closure1.prototype = {
65307 call$0() {
65308 this.$this._highlighter$_buffer._contents += $._glyphs.get$horizontalLine();
65309 return null;
65310 },
65311 $signature: 0
65312 };
65313 A.Highlighter__writeMultilineHighlights_closure2.prototype = {
65314 call$0() {
65315 var _this = this,
65316 t1 = _this._box_0,
65317 t2 = t1.openedOnThisLine,
65318 t3 = $._glyphs,
65319 vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
65320 if (_this.current != null)
65321 _this.$this._highlighter$_buffer._contents += vertical;
65322 else {
65323 t2 = _this.line;
65324 t3 = t2.number;
65325 if (_this.startLine === t3) {
65326 t2 = _this.$this;
65327 t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
65328 t1.openedOnThisLine = true;
65329 if (t1.openedOnThisLineColor == null)
65330 t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
65331 } else {
65332 if (_this.endLine === t3) {
65333 t3 = _this.highlight.span;
65334 t2 = t3.get$end(t3).get$column() === t2.text.length;
65335 } else
65336 t2 = false;
65337 t3 = _this.$this;
65338 if (t2) {
65339 t1 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
65340 t3._highlighter$_buffer._contents += t1;
65341 } else
65342 t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
65343 }
65344 }
65345 },
65346 $signature: 0
65347 };
65348 A.Highlighter__writeMultilineHighlights__closure.prototype = {
65349 call$0() {
65350 var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
65351 this.$this._highlighter$_buffer._contents += $._glyphs.glyphOrAscii$2(t1, "/");
65352 },
65353 $signature: 0
65354 };
65355 A.Highlighter__writeMultilineHighlights__closure0.prototype = {
65356 call$0() {
65357 this.$this._highlighter$_buffer._contents += this.vertical;
65358 },
65359 $signature: 0
65360 };
65361 A.Highlighter__writeHighlightedText_closure.prototype = {
65362 call$0() {
65363 var _this = this;
65364 return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
65365 },
65366 $signature: 0
65367 };
65368 A.Highlighter__writeIndicator_closure.prototype = {
65369 call$0() {
65370 var tabsBefore, tabsInside,
65371 t1 = this.$this,
65372 t2 = this.highlight,
65373 t3 = t2.span,
65374 t4 = t2.isPrimary ? "^" : $._glyphs.get$horizontalLineBold(),
65375 startColumn = t3.get$start(t3).get$column(),
65376 endColumn = t3.get$end(t3).get$column();
65377 t3 = this.line.text;
65378 tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t3, 0, startColumn));
65379 tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t3, startColumn, endColumn));
65380 startColumn += tabsBefore * 3;
65381 t1 = t1._highlighter$_buffer;
65382 t1._contents += B.JSString_methods.$mul(" ", startColumn);
65383 t4 = t1._contents += B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
65384 t2 = t2.label;
65385 if (t2 != null)
65386 t1._contents = t4 + (" " + t2);
65387 },
65388 $signature: 0
65389 };
65390 A.Highlighter__writeIndicator_closure0.prototype = {
65391 call$0() {
65392 var t1 = this.highlight.span;
65393 return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
65394 },
65395 $signature: 0
65396 };
65397 A.Highlighter__writeIndicator_closure1.prototype = {
65398 call$0() {
65399 var t2, _this = this,
65400 t1 = _this.$this;
65401 if (_this.coversWholeLine)
65402 t1._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
65403 else {
65404 t2 = _this.highlight.span;
65405 t1._writeArrow$3$beginning(_this.line, Math.max(t2.get$end(t2).get$column() - 1, 0), false);
65406 }
65407 t2 = _this.highlight.label;
65408 if (t2 != null)
65409 t1._highlighter$_buffer._contents += " " + t2;
65410 },
65411 $signature: 0
65412 };
65413 A.Highlighter__writeSidebar_closure.prototype = {
65414 call$0() {
65415 var t1 = this.$this,
65416 t2 = t1._highlighter$_buffer,
65417 t3 = this._box_0.text;
65418 if (t3 == null)
65419 t3 = "";
65420 t2._contents += B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
65421 t1 = this.end;
65422 t2._contents += t1 == null ? $._glyphs.get$verticalLine() : t1;
65423 },
65424 $signature: 0
65425 };
65426 A._Highlight.prototype = {
65427 toString$0(_) {
65428 var t1 = this.isPrimary ? "" + "primary " : "",
65429 t2 = this.span;
65430 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());
65431 t1 = this.label;
65432 t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
65433 return t1.charCodeAt(0) == 0 ? t1 : t1;
65434 }
65435 };
65436 A._Highlight_closure.prototype = {
65437 call$0() {
65438 var t2, t3, t4, t5,
65439 t1 = this.span;
65440 if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
65441 t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
65442 t3 = t1.get$end(t1).get$offset();
65443 t4 = t1.get$sourceUrl(t1);
65444 t5 = A.countCodeUnits(t1.get$text(), 10);
65445 t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
65446 }
65447 return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
65448 },
65449 $signature: 284
65450 };
65451 A._Line.prototype = {
65452 toString$0(_) {
65453 return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
65454 }
65455 };
65456 A.SourceLocation.prototype = {
65457 distance$1(other) {
65458 var t1 = this.sourceUrl;
65459 if (!J.$eq$(t1, other.get$sourceUrl(other)))
65460 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65461 return Math.abs(this.offset - other.get$offset());
65462 },
65463 compareTo$1(_, other) {
65464 var t1 = this.sourceUrl;
65465 if (!J.$eq$(t1, other.get$sourceUrl(other)))
65466 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65467 return this.offset - other.get$offset();
65468 },
65469 $eq(_, other) {
65470 if (other == null)
65471 return false;
65472 return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
65473 },
65474 get$hashCode(_) {
65475 var t1 = this.sourceUrl;
65476 t1 = t1 == null ? null : t1.get$hashCode(t1);
65477 if (t1 == null)
65478 t1 = 0;
65479 return t1 + this.offset;
65480 },
65481 toString$0(_) {
65482 var _this = this,
65483 t1 = "<" + A.getRuntimeType(_this).toString$0(0) + ": " + _this.offset + " ",
65484 source = _this.sourceUrl;
65485 return t1 + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
65486 },
65487 $isComparable: 1,
65488 get$sourceUrl(receiver) {
65489 return this.sourceUrl;
65490 },
65491 get$offset() {
65492 return this.offset;
65493 },
65494 get$line() {
65495 return this.line;
65496 },
65497 get$column() {
65498 return this.column;
65499 }
65500 };
65501 A.SourceLocationMixin.prototype = {
65502 distance$1(other) {
65503 var _this = this;
65504 if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
65505 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65506 return Math.abs(_this.offset - other.get$offset());
65507 },
65508 compareTo$1(_, other) {
65509 var _this = this;
65510 if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
65511 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
65512 return _this.offset - other.get$offset();
65513 },
65514 $eq(_, other) {
65515 if (other == null)
65516 return false;
65517 return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
65518 },
65519 get$hashCode(_) {
65520 var t1 = this.file.url;
65521 t1 = t1 == null ? null : t1.get$hashCode(t1);
65522 if (t1 == null)
65523 t1 = 0;
65524 return t1 + this.offset;
65525 },
65526 toString$0(_) {
65527 var t1 = this.offset,
65528 t2 = "<" + A.getRuntimeType(this).toString$0(0) + ": " + t1 + " ",
65529 t3 = this.file,
65530 source = t3.url;
65531 return t2 + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t1) + 1) + ":" + (t3.getColumn$1(t1) + 1)) + ">";
65532 },
65533 $isComparable: 1,
65534 $isSourceLocation: 1
65535 };
65536 A.SourceSpanBase.prototype = {
65537 SourceSpanBase$3(start, end, text) {
65538 var t3,
65539 t1 = this.end,
65540 t2 = this.start;
65541 if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
65542 throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
65543 else if (t1.get$offset() < t2.get$offset())
65544 throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
65545 else {
65546 t3 = this.text;
65547 if (t3.length !== t2.distance$1(t1))
65548 throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
65549 }
65550 },
65551 get$start(receiver) {
65552 return this.start;
65553 },
65554 get$end(receiver) {
65555 return this.end;
65556 },
65557 get$text() {
65558 return this.text;
65559 }
65560 };
65561 A.SourceSpanException.prototype = {
65562 get$message(_) {
65563 return this._span_exception$_message;
65564 },
65565 get$span(_) {
65566 return this._span;
65567 },
65568 toString$1$color(_, color) {
65569 var _this = this;
65570 _this.get$span(_this);
65571 return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
65572 },
65573 toString$0($receiver) {
65574 return this.toString$1$color($receiver, null);
65575 },
65576 $isException: 1
65577 };
65578 A.SourceSpanFormatException.prototype = {$isFormatException: 1,
65579 get$source() {
65580 return this.source;
65581 }
65582 };
65583 A.SourceSpanMixin.prototype = {
65584 get$sourceUrl(_) {
65585 var t1 = this.get$start(this);
65586 return t1.get$sourceUrl(t1);
65587 },
65588 get$length(_) {
65589 var _this = this;
65590 return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
65591 },
65592 compareTo$1(_, other) {
65593 var _this = this,
65594 result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
65595 return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
65596 },
65597 message$2$color(_, message, color) {
65598 var t2, highlight, _this = this,
65599 t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
65600 if (_this.get$sourceUrl(_this) != null) {
65601 t2 = _this.get$sourceUrl(_this);
65602 t2 = t1 + (" of " + $.$get$context().prettyUri$1(t2));
65603 t1 = t2;
65604 }
65605 t1 += ": " + message;
65606 highlight = _this.highlight$1$color(color);
65607 if (highlight.length !== 0)
65608 t1 = t1 + "\n" + highlight;
65609 return t1.charCodeAt(0) == 0 ? t1 : t1;
65610 },
65611 message$1($receiver, message) {
65612 return this.message$2$color($receiver, message, null);
65613 },
65614 highlight$1$color(color) {
65615 var _this = this;
65616 if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
65617 return "";
65618 return A.Highlighter$(_this, color).highlight$0();
65619 },
65620 $eq(_, other) {
65621 var _this = this;
65622 if (other == null)
65623 return false;
65624 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));
65625 },
65626 get$hashCode(_) {
65627 var t2, _this = this,
65628 t1 = _this.get$start(_this);
65629 t1 = t1.get$hashCode(t1);
65630 t2 = _this.get$end(_this);
65631 return t1 + 31 * t2.get$hashCode(t2);
65632 },
65633 toString$0(_) {
65634 var _this = this;
65635 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() + '">';
65636 },
65637 $isComparable: 1,
65638 $isSourceSpan: 1
65639 };
65640 A.SourceSpanWithContext.prototype = {
65641 get$context(_) {
65642 return this._context;
65643 }
65644 };
65645 A.Chain.prototype = {
65646 toTrace$0() {
65647 var t1 = this.traces;
65648 return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
65649 },
65650 toString$0(_) {
65651 var t1 = this.traces,
65652 t2 = A._arrayInstanceType(t1);
65653 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_____);
65654 },
65655 $isStackTrace: 1
65656 };
65657 A.Chain_Chain$parse_closure.prototype = {
65658 call$1(line) {
65659 return line.length !== 0;
65660 },
65661 $signature: 6
65662 };
65663 A.Chain_Chain$parse_closure0.prototype = {
65664 call$1(trace) {
65665 return A.Trace$parseVM(trace);
65666 },
65667 $signature: 144
65668 };
65669 A.Chain_Chain$parse_closure1.prototype = {
65670 call$1(trace) {
65671 return A.Trace$parseFriendly(trace);
65672 },
65673 $signature: 144
65674 };
65675 A.Chain_toTrace_closure.prototype = {
65676 call$1(trace) {
65677 return trace.get$frames();
65678 },
65679 $signature: 287
65680 };
65681 A.Chain_toString_closure0.prototype = {
65682 call$1(trace) {
65683 var t1 = trace.get$frames();
65684 return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
65685 },
65686 $signature: 288
65687 };
65688 A.Chain_toString__closure0.prototype = {
65689 call$1(frame) {
65690 return frame.get$location().length;
65691 },
65692 $signature: 145
65693 };
65694 A.Chain_toString_closure.prototype = {
65695 call$1(trace) {
65696 var t1 = trace.get$frames();
65697 return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
65698 },
65699 $signature: 290
65700 };
65701 A.Chain_toString__closure.prototype = {
65702 call$1(frame) {
65703 return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
65704 },
65705 $signature: 146
65706 };
65707 A.Frame.prototype = {
65708 get$isCore() {
65709 return this.uri.get$scheme() === "dart";
65710 },
65711 get$library() {
65712 var t1 = this.uri;
65713 if (t1.get$scheme() === "data")
65714 return "data:...";
65715 return $.$get$context().prettyUri$1(t1);
65716 },
65717 get$$package() {
65718 var t1 = this.uri;
65719 if (t1.get$scheme() !== "package")
65720 return null;
65721 return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
65722 },
65723 get$location() {
65724 var t2, _this = this,
65725 t1 = _this.line;
65726 if (t1 == null)
65727 return _this.get$library();
65728 t2 = _this.column;
65729 if (t2 == null)
65730 return _this.get$library() + " " + A.S(t1);
65731 return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
65732 },
65733 toString$0(_) {
65734 return this.get$location() + " in " + A.S(this.member);
65735 },
65736 get$uri() {
65737 return this.uri;
65738 },
65739 get$line() {
65740 return this.line;
65741 },
65742 get$column() {
65743 return this.column;
65744 },
65745 get$member() {
65746 return this.member;
65747 }
65748 };
65749 A.Frame_Frame$parseVM_closure.prototype = {
65750 call$0() {
65751 var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
65752 t1 = this.frame;
65753 if (t1 === "...")
65754 return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
65755 match = $.$get$_vmFrame().firstMatch$1(t1);
65756 if (match == null)
65757 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
65758 t1 = match._match;
65759 t2 = t1[1];
65760 t2.toString;
65761 t3 = $.$get$_asyncBody();
65762 t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
65763 member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
65764 t2 = t1[2];
65765 t3 = t2;
65766 t3.toString;
65767 if (B.JSString_methods.startsWith$1(t3, "<data:"))
65768 uri = A.Uri_Uri$dataFromString("", _null, _null);
65769 else {
65770 t2 = t2;
65771 t2.toString;
65772 uri = A.Uri_parse(t2);
65773 }
65774 lineAndColumn = t1[3].split(":");
65775 t1 = lineAndColumn.length;
65776 line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
65777 return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
65778 },
65779 $signature: 66
65780 };
65781 A.Frame_Frame$parseV8_closure.prototype = {
65782 call$0() {
65783 var t2, t3, _s4_ = "<fn>",
65784 t1 = this.frame,
65785 match = $.$get$_v8Frame().firstMatch$1(t1);
65786 if (match == null)
65787 return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
65788 t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1);
65789 t2 = match._match;
65790 t3 = t2[2];
65791 if (t3 != null) {
65792 t3 = t3;
65793 t3.toString;
65794 t2 = t2[1];
65795 t2.toString;
65796 t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
65797 t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
65798 return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
65799 } else {
65800 t2 = t2[3];
65801 t2.toString;
65802 return t1.call$2(t2, _s4_);
65803 }
65804 },
65805 $signature: 66
65806 };
65807 A.Frame_Frame$parseV8_closure_parseLocation.prototype = {
65808 call$2($location, member) {
65809 var t2, urlMatch, uri, line, columnMatch, _null = null,
65810 t1 = $.$get$_v8EvalLocation(),
65811 evalMatch = t1.firstMatch$1($location);
65812 for (; evalMatch != null; $location = t2) {
65813 t2 = evalMatch._match[1];
65814 t2.toString;
65815 evalMatch = t1.firstMatch$1(t2);
65816 }
65817 if ($location === "native")
65818 return new A.Frame(A.Uri_parse("native"), _null, _null, member);
65819 urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location);
65820 if (urlMatch == null)
65821 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
65822 t1 = urlMatch._match;
65823 t2 = t1[1];
65824 t2.toString;
65825 uri = A.Frame__uriOrPathToUri(t2);
65826 t2 = t1[2];
65827 t2.toString;
65828 line = A.int_parse(t2, _null);
65829 columnMatch = t1[3];
65830 return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
65831 },
65832 $signature: 293
65833 };
65834 A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
65835 call$0() {
65836 var t2, member, uri, line, _null = null,
65837 t1 = this.frame,
65838 match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
65839 if (match == null)
65840 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
65841 t1 = match._match;
65842 t2 = t1[1];
65843 t2.toString;
65844 member = A.stringReplaceAllUnchecked(t2, "/<", "");
65845 t2 = t1[2];
65846 t2.toString;
65847 uri = A.Frame__uriOrPathToUri(t2);
65848 t1 = t1[3];
65849 t1.toString;
65850 line = A.int_parse(t1, _null);
65851 return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
65852 },
65853 $signature: 66
65854 };
65855 A.Frame_Frame$parseFirefox_closure.prototype = {
65856 call$0() {
65857 var t2, t3, t4, uri, member, line, column, _null = null,
65858 t1 = this.frame,
65859 match = $.$get$_firefoxSafariFrame().firstMatch$1(t1);
65860 if (match == null)
65861 return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
65862 t2 = match._match;
65863 t3 = t2[3];
65864 t4 = t3;
65865 t4.toString;
65866 if (B.JSString_methods.contains$1(t4, " line "))
65867 return A.Frame_Frame$_parseFirefoxEval(t1);
65868 t1 = t3;
65869 t1.toString;
65870 uri = A.Frame__uriOrPathToUri(t1);
65871 member = t2[1];
65872 if (member != null) {
65873 t1 = t2[2];
65874 t1.toString;
65875 t1 = B.JSString_methods.allMatches$1("/", t1);
65876 member += B.JSArray_methods.join$0(A.List_List$filled(t1.get$length(t1), ".<fn>", false, type$.String));
65877 if (member === "")
65878 member = "<fn>";
65879 member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
65880 } else
65881 member = "<fn>";
65882 t1 = t2[4];
65883 if (t1 === "")
65884 line = _null;
65885 else {
65886 t1 = t1;
65887 t1.toString;
65888 line = A.int_parse(t1, _null);
65889 }
65890 t1 = t2[5];
65891 if (t1 == null || t1 === "")
65892 column = _null;
65893 else {
65894 t1 = t1;
65895 t1.toString;
65896 column = A.int_parse(t1, _null);
65897 }
65898 return new A.Frame(uri, line, column, member);
65899 },
65900 $signature: 66
65901 };
65902 A.Frame_Frame$parseFriendly_closure.prototype = {
65903 call$0() {
65904 var t2, uri, line, column, _null = null,
65905 t1 = this.frame,
65906 match = $.$get$_friendlyFrame().firstMatch$1(t1);
65907 if (match == null)
65908 throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
65909 t1 = match._match;
65910 t2 = t1[1];
65911 if (t2 === "data:...")
65912 uri = A.Uri_Uri$dataFromString("", _null, _null);
65913 else {
65914 t2 = t2;
65915 t2.toString;
65916 uri = A.Uri_parse(t2);
65917 }
65918 if (uri.get$scheme() === "") {
65919 t2 = $.$get$context();
65920 uri = t2.toUri$1(t2.absolute$7(t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null));
65921 }
65922 t2 = t1[2];
65923 if (t2 == null)
65924 line = _null;
65925 else {
65926 t2 = t2;
65927 t2.toString;
65928 line = A.int_parse(t2, _null);
65929 }
65930 t2 = t1[3];
65931 if (t2 == null)
65932 column = _null;
65933 else {
65934 t2 = t2;
65935 t2.toString;
65936 column = A.int_parse(t2, _null);
65937 }
65938 return new A.Frame(uri, line, column, t1[4]);
65939 },
65940 $signature: 66
65941 };
65942 A.LazyTrace.prototype = {
65943 get$_lazy_trace$_trace() {
65944 var result, _this = this,
65945 value = _this.__LazyTrace__trace;
65946 if (value === $) {
65947 result = _this._thunk.call$0();
65948 A._lateInitializeOnceCheck(_this.__LazyTrace__trace, "_trace");
65949 _this.__LazyTrace__trace = result;
65950 value = result;
65951 }
65952 return value;
65953 },
65954 get$frames() {
65955 return this.get$_lazy_trace$_trace().get$frames();
65956 },
65957 get$terse() {
65958 return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
65959 },
65960 toString$0(_) {
65961 return this.get$_lazy_trace$_trace().toString$0(0);
65962 },
65963 $isStackTrace: 1,
65964 $isTrace: 1
65965 };
65966 A.LazyTrace_terse_closure.prototype = {
65967 call$0() {
65968 return this.$this.get$_lazy_trace$_trace().get$terse();
65969 },
65970 $signature: 148
65971 };
65972 A.Trace.prototype = {
65973 get$terse() {
65974 return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
65975 },
65976 foldFrames$2$terse(predicate, terse) {
65977 var newFrames, t1, t2, t3, _box_0 = {};
65978 _box_0.predicate = predicate;
65979 _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
65980 newFrames = A._setArrayType([], type$.JSArray_Frame);
65981 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();) {
65982 t3 = t2._as(t1.__internal$_current);
65983 if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
65984 newFrames.push(t3);
65985 else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
65986 newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
65987 }
65988 t1 = type$.MappedListIterable_Frame_Frame;
65989 newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
65990 if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
65991 B.JSArray_methods.removeAt$1(newFrames, 0);
65992 return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
65993 },
65994 toString$0(_) {
65995 var t1 = this.frames,
65996 t2 = A._arrayInstanceType(t1);
65997 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);
65998 },
65999 $isStackTrace: 1,
66000 get$frames() {
66001 return this.frames;
66002 }
66003 };
66004 A.Trace_Trace$from_closure.prototype = {
66005 call$0() {
66006 return A.Trace_Trace$parse(this.trace.toString$0(0));
66007 },
66008 $signature: 148
66009 };
66010 A.Trace__parseVM_closure.prototype = {
66011 call$1(line) {
66012 return line.length !== 0;
66013 },
66014 $signature: 6
66015 };
66016 A.Trace__parseVM_closure0.prototype = {
66017 call$1(line) {
66018 return A.Frame_Frame$parseVM(line);
66019 },
66020 $signature: 64
66021 };
66022 A.Trace$parseV8_closure.prototype = {
66023 call$1(line) {
66024 return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
66025 },
66026 $signature: 6
66027 };
66028 A.Trace$parseV8_closure0.prototype = {
66029 call$1(line) {
66030 return A.Frame_Frame$parseV8(line);
66031 },
66032 $signature: 64
66033 };
66034 A.Trace$parseJSCore_closure.prototype = {
66035 call$1(line) {
66036 return line !== "\tat ";
66037 },
66038 $signature: 6
66039 };
66040 A.Trace$parseJSCore_closure0.prototype = {
66041 call$1(line) {
66042 return A.Frame_Frame$parseV8(line);
66043 },
66044 $signature: 64
66045 };
66046 A.Trace$parseFirefox_closure.prototype = {
66047 call$1(line) {
66048 return line.length !== 0 && line !== "[native code]";
66049 },
66050 $signature: 6
66051 };
66052 A.Trace$parseFirefox_closure0.prototype = {
66053 call$1(line) {
66054 return A.Frame_Frame$parseFirefox(line);
66055 },
66056 $signature: 64
66057 };
66058 A.Trace$parseFriendly_closure.prototype = {
66059 call$1(line) {
66060 return !B.JSString_methods.startsWith$1(line, "=====");
66061 },
66062 $signature: 6
66063 };
66064 A.Trace$parseFriendly_closure0.prototype = {
66065 call$1(line) {
66066 return A.Frame_Frame$parseFriendly(line);
66067 },
66068 $signature: 64
66069 };
66070 A.Trace_terse_closure.prototype = {
66071 call$1(_) {
66072 return false;
66073 },
66074 $signature: 150
66075 };
66076 A.Trace_foldFrames_closure.prototype = {
66077 call$1(frame) {
66078 var t1;
66079 if (this.oldPredicate.call$1(frame))
66080 return true;
66081 if (frame.get$isCore())
66082 return true;
66083 if (frame.get$$package() === "stack_trace")
66084 return true;
66085 t1 = frame.get$member();
66086 t1.toString;
66087 if (!B.JSString_methods.contains$1(t1, "<async>"))
66088 return false;
66089 return frame.get$line() == null;
66090 },
66091 $signature: 150
66092 };
66093 A.Trace_foldFrames_closure0.prototype = {
66094 call$1(frame) {
66095 var t1, t2;
66096 if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
66097 return frame;
66098 t1 = frame.get$library();
66099 t2 = $.$get$_terseRegExp();
66100 return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
66101 },
66102 $signature: 297
66103 };
66104 A.Trace_toString_closure0.prototype = {
66105 call$1(frame) {
66106 return frame.get$location().length;
66107 },
66108 $signature: 145
66109 };
66110 A.Trace_toString_closure.prototype = {
66111 call$1(frame) {
66112 if (frame instanceof A.UnparsedFrame)
66113 return frame.toString$0(0) + "\n";
66114 return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
66115 },
66116 $signature: 146
66117 };
66118 A.UnparsedFrame.prototype = {
66119 toString$0(_) {
66120 return this.member;
66121 },
66122 $isFrame: 1,
66123 get$uri() {
66124 return this.uri;
66125 },
66126 get$line() {
66127 return null;
66128 },
66129 get$column() {
66130 return null;
66131 },
66132 get$isCore() {
66133 return false;
66134 },
66135 get$library() {
66136 return "unparsed";
66137 },
66138 get$$package() {
66139 return null;
66140 },
66141 get$location() {
66142 return "unparsed";
66143 },
66144 get$member() {
66145 return this.member;
66146 }
66147 };
66148 A.TransformByHandlers_transformByHandlers_closure.prototype = {
66149 call$0() {
66150 var t2, subscription, t3, t4, _this = this, t1 = {};
66151 t1.valuesDone = false;
66152 t2 = _this.controller;
66153 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));
66154 t3 = _this._box_1;
66155 t3.subscription = subscription;
66156 t2.set$onPause(subscription.get$pause(subscription));
66157 t4 = t3.subscription;
66158 t2.set$onResume(t4.get$resume(t4));
66159 t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
66160 },
66161 $signature: 0
66162 };
66163 A.TransformByHandlers_transformByHandlers__closure.prototype = {
66164 call$1(value) {
66165 return this.handleData.call$2(value, this.controller);
66166 },
66167 $signature() {
66168 return this.S._eval$1("~(0)");
66169 }
66170 };
66171 A.TransformByHandlers_transformByHandlers__closure1.prototype = {
66172 call$2(error, stackTrace) {
66173 this.handleError.call$3(error, stackTrace, this.controller);
66174 },
66175 $signature: 68
66176 };
66177 A.TransformByHandlers_transformByHandlers__closure0.prototype = {
66178 call$0() {
66179 this._box_0.valuesDone = true;
66180 this.handleDone.call$1(this.controller);
66181 },
66182 $signature: 0
66183 };
66184 A.TransformByHandlers_transformByHandlers__closure2.prototype = {
66185 call$0() {
66186 var t1 = this._box_1,
66187 toCancel = t1.subscription;
66188 t1.subscription = null;
66189 if (!this._box_0.valuesDone)
66190 return toCancel.cancel$0();
66191 return null;
66192 },
66193 $signature: 298
66194 };
66195 A.RateLimit__debounceAggregate_closure.prototype = {
66196 call$2(value, sink) {
66197 var _this = this,
66198 t1 = _this._box_0,
66199 t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
66200 t3 = t1.timer;
66201 if (t3 != null)
66202 t3.cancel$0();
66203 t1.soFar = _this.collect.call$2(value, t1.soFar);
66204 t1.hasPending = true;
66205 if (t1.timer == null && _this.leading) {
66206 t1.emittedLatestAsLeading = true;
66207 t2.call$0();
66208 } else
66209 t1.emittedLatestAsLeading = false;
66210 t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
66211 },
66212 $signature() {
66213 return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
66214 }
66215 };
66216 A.RateLimit__debounceAggregate_closure_emit.prototype = {
66217 call$0() {
66218 var t1 = this._box_0;
66219 this.sink.add$1(0, this.S._as(t1.soFar));
66220 t1.soFar = null;
66221 t1.hasPending = false;
66222 },
66223 $signature: 0
66224 };
66225 A.RateLimit__debounceAggregate__closure.prototype = {
66226 call$0() {
66227 var t1 = this._box_0,
66228 t2 = t1.emittedLatestAsLeading;
66229 if (!t2)
66230 this.emit.call$0();
66231 if (t1.shouldClose)
66232 this.sink.close$0(0);
66233 t1.timer = null;
66234 },
66235 $signature: 0
66236 };
66237 A.RateLimit__debounceAggregate_closure0.prototype = {
66238 call$1(sink) {
66239 var t1 = this._box_0;
66240 if (t1.hasPending && this.trailing)
66241 t1.shouldClose = true;
66242 else {
66243 t1 = t1.timer;
66244 if (t1 != null)
66245 t1.cancel$0();
66246 sink.close$0(0);
66247 }
66248 },
66249 $signature() {
66250 return this.S._eval$1("~(EventSink<0>)");
66251 }
66252 };
66253 A.StringScannerException.prototype = {
66254 get$source() {
66255 return A._asString(this.source);
66256 }
66257 };
66258 A.LineScanner.prototype = {
66259 scanChar$1(character) {
66260 if (!this.super$StringScanner$scanChar(character))
66261 return false;
66262 this._adjustLineAndColumn$1(character);
66263 return true;
66264 },
66265 _adjustLineAndColumn$1(character) {
66266 var t1, _this = this;
66267 if (character !== 10)
66268 t1 = character === 13 && _this.peekChar$0() !== 10;
66269 else
66270 t1 = true;
66271 if (t1) {
66272 ++_this._line_scanner$_line;
66273 _this._line_scanner$_column = 0;
66274 } else
66275 ++_this._line_scanner$_column;
66276 },
66277 scan$1(pattern) {
66278 var t1, newlines, t2, _this = this;
66279 if (!_this.super$StringScanner$scan(pattern))
66280 return false;
66281 t1 = _this.get$lastMatch();
66282 newlines = _this._newlinesIn$1(t1.pattern);
66283 t1 = _this._line_scanner$_line;
66284 t2 = newlines.length;
66285 _this._line_scanner$_line = t1 + t2;
66286 if (t2 === 0) {
66287 t1 = _this._line_scanner$_column;
66288 t2 = _this.get$lastMatch();
66289 _this._line_scanner$_column = t1 + t2.pattern.length;
66290 } else {
66291 t1 = _this.get$lastMatch();
66292 _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
66293 }
66294 return true;
66295 },
66296 _newlinesIn$1(text) {
66297 var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
66298 newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
66299 if (this.peekChar$1(-1) === 13 && this.peekChar$0() === 10)
66300 B.JSArray_methods.removeLast$0(newlines);
66301 return newlines;
66302 }
66303 };
66304 A.SpanScanner.prototype = {
66305 set$state(state) {
66306 if (state._scanner !== this)
66307 throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
66308 this.set$position(state.position);
66309 },
66310 spanFrom$2(startState, endState) {
66311 var endPosition = endState == null ? this._string_scanner$_position : endState.position;
66312 return this._sourceFile.span$2(0, startState.position, endPosition);
66313 },
66314 spanFrom$1(startState) {
66315 return this.spanFrom$2(startState, null);
66316 },
66317 matches$1(pattern) {
66318 var t1, t2, _this = this;
66319 if (!_this.super$StringScanner$matches(pattern))
66320 return false;
66321 t1 = _this._string_scanner$_position;
66322 t2 = _this.get$lastMatch();
66323 _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
66324 return true;
66325 },
66326 error$3$length$position(_, message, $length, position) {
66327 var t2, match, _this = this,
66328 t1 = _this.string;
66329 A.validateErrorArgs(t1, null, position, $length);
66330 t2 = position == null && $length == null;
66331 match = t2 ? _this.get$lastMatch() : null;
66332 if (position == null)
66333 position = match == null ? _this._string_scanner$_position : match.start;
66334 if ($length == null)
66335 if (match == null)
66336 $length = 0;
66337 else {
66338 t2 = match.start;
66339 $length = t2 + match.pattern.length - t2;
66340 }
66341 throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
66342 },
66343 error$1($receiver, message) {
66344 return this.error$3$length$position($receiver, message, null, null);
66345 },
66346 error$2$position($receiver, message, position) {
66347 return this.error$3$length$position($receiver, message, null, position);
66348 },
66349 error$2$length($receiver, message, $length) {
66350 return this.error$3$length$position($receiver, message, $length, null);
66351 }
66352 };
66353 A._SpanScannerState.prototype = {};
66354 A.StringScanner.prototype = {
66355 set$position(position) {
66356 if (position < 0 || position > this.string.length)
66357 throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
66358 this._string_scanner$_position = position;
66359 this._lastMatch = null;
66360 },
66361 get$lastMatch() {
66362 var _this = this;
66363 if (_this._string_scanner$_position !== _this._lastMatchPosition)
66364 _this._lastMatch = null;
66365 return _this._lastMatch;
66366 },
66367 readChar$0() {
66368 var _this = this,
66369 t1 = _this._string_scanner$_position,
66370 t2 = _this.string;
66371 if (t1 === t2.length)
66372 _this.error$3$length$position(0, "expected more input.", 0, t1);
66373 return B.JSString_methods.codeUnitAt$1(t2, _this._string_scanner$_position++);
66374 },
66375 peekChar$1(offset) {
66376 var index;
66377 if (offset == null)
66378 offset = 0;
66379 index = this._string_scanner$_position + offset;
66380 if (index < 0 || index >= this.string.length)
66381 return null;
66382 return B.JSString_methods.codeUnitAt$1(this.string, index);
66383 },
66384 peekChar$0() {
66385 return this.peekChar$1(null);
66386 },
66387 scanChar$1(character) {
66388 var t1 = this._string_scanner$_position,
66389 t2 = this.string;
66390 if (t1 === t2.length)
66391 return false;
66392 if (B.JSString_methods.codeUnitAt$1(t2, t1) !== character)
66393 return false;
66394 this._string_scanner$_position = t1 + 1;
66395 return true;
66396 },
66397 expectChar$2$name(character, $name) {
66398 if (this.scanChar$1(character))
66399 return;
66400 if ($name == null)
66401 if (character === 92)
66402 $name = '"\\"';
66403 else
66404 $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
66405 this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
66406 },
66407 expectChar$1(character) {
66408 return this.expectChar$2$name(character, null);
66409 },
66410 scan$1(pattern) {
66411 var t1, _this = this,
66412 success = _this.matches$1(pattern);
66413 if (success) {
66414 t1 = _this._lastMatch;
66415 _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
66416 }
66417 return success;
66418 },
66419 expect$1(pattern) {
66420 var t1, $name;
66421 if (this.scan$1(pattern))
66422 return;
66423 t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
66424 $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
66425 this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
66426 },
66427 expectDone$0() {
66428 var t1 = this._string_scanner$_position;
66429 if (t1 === this.string.length)
66430 return;
66431 this.error$3$length$position(0, "expected no more input.", 0, t1);
66432 },
66433 matches$1(pattern) {
66434 var _this = this,
66435 t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
66436 _this._lastMatch = t1;
66437 _this._lastMatchPosition = _this._string_scanner$_position;
66438 return t1 != null;
66439 },
66440 substring$1(_, start) {
66441 var end = this._string_scanner$_position;
66442 return B.JSString_methods.substring$2(this.string, start, end);
66443 },
66444 error$3$length$position(_, message, $length, position) {
66445 var t1 = this.string;
66446 A.validateErrorArgs(t1, null, position, $length);
66447 throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, this.sourceUrl).span$2(0, position, position + $length), t1));
66448 }
66449 };
66450 A.AsciiGlyphSet.prototype = {
66451 glyphOrAscii$2(glyph, alternative) {
66452 return alternative;
66453 },
66454 get$horizontalLine() {
66455 return "-";
66456 },
66457 get$verticalLine() {
66458 return "|";
66459 },
66460 get$topLeftCorner() {
66461 return ",";
66462 },
66463 get$bottomLeftCorner() {
66464 return "'";
66465 },
66466 get$cross() {
66467 return "+";
66468 },
66469 get$upEnd() {
66470 return "'";
66471 },
66472 get$downEnd() {
66473 return ",";
66474 },
66475 get$horizontalLineBold() {
66476 return "=";
66477 }
66478 };
66479 A.UnicodeGlyphSet.prototype = {
66480 glyphOrAscii$2(glyph, alternative) {
66481 return glyph;
66482 },
66483 get$horizontalLine() {
66484 return "\u2500";
66485 },
66486 get$verticalLine() {
66487 return "\u2502";
66488 },
66489 get$topLeftCorner() {
66490 return "\u250c";
66491 },
66492 get$bottomLeftCorner() {
66493 return "\u2514";
66494 },
66495 get$cross() {
66496 return "\u253c";
66497 },
66498 get$upEnd() {
66499 return "\u2575";
66500 },
66501 get$downEnd() {
66502 return "\u2577";
66503 },
66504 get$horizontalLineBold() {
66505 return "\u2501";
66506 }
66507 };
66508 A.Tuple2.prototype = {
66509 toString$0(_) {
66510 return "[" + A.S(this.item1) + ", " + A.S(this.item2) + "]";
66511 },
66512 $eq(_, other) {
66513 if (other == null)
66514 return false;
66515 return other instanceof A.Tuple2 && J.$eq$(other.item1, this.item1) && J.$eq$(other.item2, this.item2);
66516 },
66517 get$hashCode(_) {
66518 var t1 = J.get$hashCode$(this.item1),
66519 t2 = J.get$hashCode$(this.item2);
66520 return A._finish(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2)));
66521 }
66522 };
66523 A.Tuple3.prototype = {
66524 toString$0(_) {
66525 return "[" + this.item1.toString$0(0) + ", " + this.item2.toString$0(0) + ", " + this.item3.toString$0(0) + "]";
66526 },
66527 $eq(_, other) {
66528 if (other == null)
66529 return false;
66530 return other instanceof A.Tuple3 && other.item1 === this.item1 && other.item2.$eq(0, this.item2) && other.item3.$eq(0, this.item3);
66531 },
66532 get$hashCode(_) {
66533 var t3,
66534 t1 = A.Primitives_objectHashCode(this.item1),
66535 t2 = this.item2;
66536 t2 = t2.get$hashCode(t2);
66537 t3 = this.item3;
66538 t3 = t3.get$hashCode(t3);
66539 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)));
66540 }
66541 };
66542 A.Tuple4.prototype = {
66543 toString$0(_) {
66544 var _this = this;
66545 return "[" + _this.item1.toString$0(0) + ", " + _this.item2 + ", " + _this.item3.toString$0(0) + ", " + A.S(_this.item4) + "]";
66546 },
66547 $eq(_, other) {
66548 var _this = this;
66549 if (other == null)
66550 return false;
66551 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);
66552 },
66553 get$hashCode(_) {
66554 var t2, t3, t4, _this = this,
66555 t1 = _this.item1;
66556 t1 = t1.get$hashCode(t1);
66557 t2 = B.JSBool_methods.get$hashCode(_this.item2);
66558 t3 = A.Primitives_objectHashCode(_this.item3);
66559 t4 = J.get$hashCode$(_this.item4);
66560 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)));
66561 }
66562 };
66563 A.WatchEvent.prototype = {
66564 toString$0(_) {
66565 return this.type.toString$0(0) + " " + this.path;
66566 }
66567 };
66568 A.ChangeType.prototype = {
66569 toString$0(_) {
66570 return this._watch_event$_name;
66571 }
66572 };
66573 A.SupportsAnything0.prototype = {
66574 toString$0(_) {
66575 return "(" + this.contents.toString$0(0) + ")";
66576 },
66577 $isAstNode0: 1,
66578 $isSupportsCondition0: 1,
66579 get$span(receiver) {
66580 return this.span;
66581 }
66582 };
66583 A.Argument0.prototype = {
66584 toString$0(_) {
66585 var t1 = this.defaultValue,
66586 t2 = this.name;
66587 return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
66588 },
66589 $isAstNode0: 1,
66590 get$span(receiver) {
66591 return this.span;
66592 }
66593 };
66594 A.ArgumentDeclaration0.prototype = {
66595 get$spanWithName() {
66596 var t3, t4,
66597 t1 = this.span,
66598 t2 = t1.file,
66599 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
66600 i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
66601 while (true) {
66602 if (i > 0) {
66603 t3 = B.JSString_methods.codeUnitAt$1(text, i);
66604 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
66605 } else
66606 t3 = false;
66607 if (!t3)
66608 break;
66609 --i;
66610 }
66611 t3 = B.JSString_methods.codeUnitAt$1(text, i);
66612 if (!(t3 === 95 || A.isAlphabetic1(t3) || t3 >= 128 || A.isDigit0(t3) || t3 === 45))
66613 return t1;
66614 --i;
66615 while (true) {
66616 if (i >= 0) {
66617 t3 = B.JSString_methods.codeUnitAt$1(text, i);
66618 if (t3 !== 95) {
66619 if (!(t3 >= 97 && t3 <= 122))
66620 t4 = t3 >= 65 && t3 <= 90;
66621 else
66622 t4 = true;
66623 t4 = t4 || t3 >= 128;
66624 } else
66625 t4 = true;
66626 if (!t4) {
66627 t4 = t3 >= 48 && t3 <= 57;
66628 t3 = t4 || t3 === 45;
66629 } else
66630 t3 = true;
66631 } else
66632 t3 = false;
66633 if (!t3)
66634 break;
66635 --i;
66636 }
66637 t3 = i + 1;
66638 t4 = B.JSString_methods.codeUnitAt$1(text, t3);
66639 if (!(t4 === 95 || A.isAlphabetic1(t4) || t4 >= 128))
66640 return t1;
66641 return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
66642 },
66643 verify$2(positional, names) {
66644 var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
66645 _s10_ = "invocation",
66646 _s8_ = "argument";
66647 for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
66648 argument = t1[i];
66649 if (i < positional) {
66650 t4 = argument.name;
66651 if (t3.containsKey$1(t4))
66652 throw A.wrapException(A.SassScriptException$0("Argument " + _this._argument_declaration$_originalArgumentName$1(t4) + string$.x20was_p));
66653 } else {
66654 t4 = argument.name;
66655 if (t3.containsKey$1(t4))
66656 ++namedUsed;
66657 else if (argument.defaultValue == null)
66658 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)));
66659 }
66660 }
66661 if (_this.restArgument != null)
66662 return;
66663 if (positional > t2) {
66664 t1 = "Only " + t2 + " ";
66665 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)));
66666 }
66667 if (namedUsed < t3.get$length(t3)) {
66668 t2 = type$.String;
66669 unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
66670 unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
66671 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)));
66672 }
66673 },
66674 _argument_declaration$_originalArgumentName$1($name) {
66675 var t1, text, t2, _i, argument, t3, t4, end, _null = null;
66676 if ($name === this.restArgument) {
66677 t1 = this.span;
66678 text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
66679 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, "."));
66680 }
66681 for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
66682 argument = t1[_i];
66683 if (argument.name === $name) {
66684 t1 = argument.defaultValue;
66685 t2 = argument.span;
66686 t3 = t2.file;
66687 t4 = t2._file$_start;
66688 t2 = t2._end;
66689 if (t1 == null) {
66690 t1 = t3._decodedChars;
66691 t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
66692 } else {
66693 t1 = t3._decodedChars;
66694 text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
66695 t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
66696 end = A._lastNonWhitespace0(t1, false);
66697 t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
66698 }
66699 return t1;
66700 }
66701 }
66702 throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
66703 },
66704 matches$2(positional, names) {
66705 var t1, t2, t3, namedUsed, i, argument;
66706 for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
66707 argument = t1[i];
66708 if (i < positional) {
66709 if (t3.containsKey$1(argument.name))
66710 return false;
66711 } else if (t3.containsKey$1(argument.name))
66712 ++namedUsed;
66713 else if (argument.defaultValue == null)
66714 return false;
66715 }
66716 if (this.restArgument != null)
66717 return true;
66718 if (positional > t2)
66719 return false;
66720 if (namedUsed < t3.get$length(t3))
66721 return false;
66722 return true;
66723 },
66724 toString$0(_) {
66725 var t2, t3, _i, arg, t4, t5,
66726 t1 = A._setArrayType([], type$.JSArray_String);
66727 for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i) {
66728 arg = t2[_i];
66729 t4 = arg.defaultValue;
66730 t5 = arg.name;
66731 t1.push(t4 == null ? t5 : t5 + ": " + t4.toString$0(0));
66732 }
66733 t2 = this.restArgument;
66734 if (t2 != null)
66735 t1.push(t2 + "...");
66736 return B.JSArray_methods.join$1(t1, ", ");
66737 },
66738 $isAstNode0: 1,
66739 get$span(receiver) {
66740 return this.span;
66741 }
66742 };
66743 A.ArgumentDeclaration_verify_closure1.prototype = {
66744 call$1(argument) {
66745 return argument.name;
66746 },
66747 $signature: 299
66748 };
66749 A.ArgumentDeclaration_verify_closure2.prototype = {
66750 call$1($name) {
66751 return "$" + $name;
66752 },
66753 $signature: 5
66754 };
66755 A.ArgumentInvocation0.prototype = {
66756 get$isEmpty(_) {
66757 var t1;
66758 if (this.positional.length === 0) {
66759 t1 = this.named;
66760 t1 = t1.get$isEmpty(t1) && this.rest == null;
66761 } else
66762 t1 = false;
66763 return t1;
66764 },
66765 toString$0(_) {
66766 var t2, t3, t4, _this = this,
66767 t1 = A.List_List$of(_this.positional, true, type$.Object);
66768 for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
66769 t4 = t3.get$current(t3);
66770 t1.push(t4 + ": " + A.S(t2.$index(0, t4)));
66771 }
66772 t2 = _this.rest;
66773 if (t2 != null)
66774 t1.push(t2.toString$0(0) + "...");
66775 t2 = _this.keywordRest;
66776 if (t2 != null)
66777 t1.push(t2.toString$0(0) + "...");
66778 return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
66779 },
66780 $isAstNode0: 1,
66781 get$span(receiver) {
66782 return this.span;
66783 }
66784 };
66785 A.argumentListClass_closure.prototype = {
66786 call$0() {
66787 var t1 = type$.JSClass,
66788 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
66789 A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
66790 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);
66791 return jsClass;
66792 },
66793 $signature: 25
66794 };
66795 A.argumentListClass__closure.prototype = {
66796 call$4($self, contents, keywords, separator) {
66797 var t3,
66798 t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
66799 t2 = type$.Value_2;
66800 t1 = J.cast$1$0$ax(t1, t2);
66801 t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
66802 return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
66803 },
66804 call$3($self, contents, keywords) {
66805 return this.call$4($self, contents, keywords, ",");
66806 },
66807 "call*": "call$4",
66808 $requiredArgCount: 3,
66809 $defaultValues() {
66810 return [","];
66811 },
66812 $signature: 301
66813 };
66814 A.argumentListClass__closure0.prototype = {
66815 call$1($self) {
66816 $self._argument_list$_wereKeywordsAccessed = true;
66817 return A.dartMapToImmutableMap($self._argument_list$_keywords);
66818 },
66819 $signature: 302
66820 };
66821 A.SassArgumentList0.prototype = {};
66822 A.JSArray1.prototype = {};
66823 A.AsyncImporter0.prototype = {};
66824 A.NodeToDartAsyncImporter.prototype = {
66825 canonicalize$1(_, url) {
66826 return this.canonicalize$body$NodeToDartAsyncImporter(0, url);
66827 },
66828 canonicalize$body$NodeToDartAsyncImporter(_, url) {
66829 var $async$goto = 0,
66830 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
66831 $async$returnValue, $async$self = this, t1, result;
66832 var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
66833 if ($async$errorCode === 1)
66834 return A._asyncRethrow($async$result, $async$completer);
66835 while (true)
66836 switch ($async$goto) {
66837 case 0:
66838 // Function start
66839 result = $async$self._async0$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
66840 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
66841 break;
66842 case 3:
66843 // then
66844 $async$goto = 5;
66845 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
66846 case 5:
66847 // returning from await.
66848 result = $async$result;
66849 case 4:
66850 // join
66851 if (result == null) {
66852 $async$returnValue = null;
66853 // goto return
66854 $async$goto = 1;
66855 break;
66856 }
66857 t1 = self.URL;
66858 if (result instanceof t1) {
66859 $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
66860 // goto return
66861 $async$goto = 1;
66862 break;
66863 }
66864 A.jsThrow(new self.Error(string$.The_ca));
66865 case 1:
66866 // return
66867 return A._asyncReturn($async$returnValue, $async$completer);
66868 }
66869 });
66870 return A._asyncStartSync($async$canonicalize$1, $async$completer);
66871 },
66872 load$1(_, url) {
66873 return this.load$body$NodeToDartAsyncImporter(0, url);
66874 },
66875 load$body$NodeToDartAsyncImporter(_, url) {
66876 var $async$goto = 0,
66877 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult),
66878 $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
66879 var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
66880 if ($async$errorCode === 1)
66881 return A._asyncRethrow($async$result, $async$completer);
66882 while (true)
66883 switch ($async$goto) {
66884 case 0:
66885 // Function start
66886 result = $async$self._load.call$1(new self.URL(url.toString$0(0)));
66887 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
66888 break;
66889 case 3:
66890 // then
66891 $async$goto = 5;
66892 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
66893 case 5:
66894 // returning from await.
66895 result = $async$result;
66896 case 4:
66897 // join
66898 if (result == null) {
66899 $async$returnValue = null;
66900 // goto return
66901 $async$goto = 1;
66902 break;
66903 }
66904 type$.NodeImporterResult._as(result);
66905 t1 = J.getInterceptor$x(result);
66906 contents = t1.get$contents(result);
66907 syntax = t1.get$syntax(result);
66908 if (contents == null || syntax == null)
66909 A.jsThrow(new self.Error(string$.The_lo));
66910 t2 = A.parseSyntax(syntax);
66911 $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
66912 // goto return
66913 $async$goto = 1;
66914 break;
66915 case 1:
66916 // return
66917 return A._asyncReturn($async$returnValue, $async$completer);
66918 }
66919 });
66920 return A._asyncStartSync($async$load$1, $async$completer);
66921 }
66922 };
66923 A.AsyncBuiltInCallable0.prototype = {
66924 callbackFor$2(positional, names) {
66925 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);
66926 },
66927 $isAsyncCallable0: 1,
66928 get$name(receiver) {
66929 return this.name;
66930 }
66931 };
66932 A.AsyncBuiltInCallable$mixin_closure0.prototype = {
66933 call$1($arguments) {
66934 return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
66935 },
66936 $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
66937 var $async$goto = 0,
66938 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
66939 $async$returnValue, $async$self = this;
66940 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
66941 if ($async$errorCode === 1)
66942 return A._asyncRethrow($async$result, $async$completer);
66943 while (true)
66944 switch ($async$goto) {
66945 case 0:
66946 // Function start
66947 $async$goto = 3;
66948 return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
66949 case 3:
66950 // returning from await.
66951 $async$returnValue = B.C__SassNull0;
66952 // goto return
66953 $async$goto = 1;
66954 break;
66955 case 1:
66956 // return
66957 return A._asyncReturn($async$returnValue, $async$completer);
66958 }
66959 });
66960 return A._asyncStartSync($async$call$1, $async$completer);
66961 },
66962 $signature: 93
66963 };
66964 A._compileStylesheet_closure2.prototype = {
66965 call$1(url) {
66966 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);
66967 },
66968 $signature: 5
66969 };
66970 A.AsyncEnvironment0.prototype = {
66971 closure$0() {
66972 var t4, t5, t6, _this = this,
66973 t1 = _this._async_environment0$_forwardedModules,
66974 t2 = _this._async_environment0$_nestedForwardedModules,
66975 t3 = _this._async_environment0$_variables;
66976 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
66977 t4 = _this._async_environment0$_variableNodes;
66978 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
66979 t5 = _this._async_environment0$_functions;
66980 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
66981 t6 = _this._async_environment0$_mixins;
66982 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
66983 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);
66984 },
66985 addModule$3$namespace(module, nodeWithSpan, namespace) {
66986 var t1, t2, span, _this = this;
66987 if (namespace == null) {
66988 _this._async_environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
66989 _this._async_environment0$_allModules.push(module);
66990 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment0$_variables))); t1.moveNext$0();) {
66991 t2 = t1.get$current(t1);
66992 if (module.get$variables().containsKey$1(t2))
66993 throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".'));
66994 }
66995 } else {
66996 t1 = _this._async_environment0$_modules;
66997 if (t1.containsKey$1(namespace)) {
66998 t1 = _this._async_environment0$_namespaceNodes.$index(0, namespace);
66999 span = t1 == null ? null : t1.span;
67000 t1 = string$.There_ + namespace + '".';
67001 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67002 if (span != null)
67003 t2.$indexSet(0, span, "original @use");
67004 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @use", t2));
67005 }
67006 t1.$indexSet(0, namespace, module);
67007 _this._async_environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
67008 _this._async_environment0$_allModules.push(module);
67009 }
67010 },
67011 forwardModule$2(module, rule) {
67012 var view, t1, t2, _this = this,
67013 forwardedModules = _this._async_environment0$_forwardedModules;
67014 if (forwardedModules == null)
67015 forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67016 view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
67017 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
67018 t2 = t1.get$current(t1);
67019 _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
67020 _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
67021 _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
67022 }
67023 _this._async_environment0$_allModules.push(module);
67024 forwardedModules.$indexSet(0, view, rule);
67025 },
67026 _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
67027 var larger, smaller, t1, t2, $name, span;
67028 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
67029 larger = oldMembers;
67030 smaller = newMembers;
67031 } else {
67032 larger = newMembers;
67033 smaller = oldMembers;
67034 }
67035 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
67036 $name = t1.get$current(t1);
67037 if (!larger.containsKey$1($name))
67038 continue;
67039 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
67040 continue;
67041 if (t2)
67042 $name = "$" + $name;
67043 t1 = this._async_environment0$_forwardedModules;
67044 if (t1 == null)
67045 span = null;
67046 else {
67047 t1 = t1.$index(0, oldModule);
67048 span = t1 == null ? null : J.get$span$z(t1);
67049 }
67050 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
67051 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67052 if (span != null)
67053 t2.$indexSet(0, span, "original @forward");
67054 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @forward", t2));
67055 }
67056 },
67057 importForwards$1(module) {
67058 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
67059 forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
67060 if (forwarded == null)
67061 return;
67062 forwardedModules = _this._async_environment0$_forwardedModules;
67063 if (forwardedModules != null) {
67064 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67065 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment0$_globalModules; t2.moveNext$0();) {
67066 t4 = t2.get$current(t2);
67067 t5 = t4.key;
67068 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
67069 t1.$indexSet(0, t5, t4.value);
67070 }
67071 forwarded = t1;
67072 } else
67073 forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
67074 t1 = forwarded.get$keys(forwarded);
67075 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
67076 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure2(), t2), t2._eval$1("Iterable.E"));
67077 t2 = forwarded.get$keys(forwarded);
67078 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
67079 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.AsyncEnvironment_importForwards_closure3(), t1), t1._eval$1("Iterable.E"));
67080 t1 = forwarded.get$keys(forwarded);
67081 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
67082 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.AsyncEnvironment_importForwards_closure4(), t2), t2._eval$1("Iterable.E"));
67083 t1 = _this._async_environment0$_variables;
67084 t2 = t1.length;
67085 if (t2 === 1) {
67086 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) {
67087 entry = t3[_i];
67088 module = entry.key;
67089 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
67090 if (shadowed != null) {
67091 t2.remove$1(0, module);
67092 t6 = shadowed.variables;
67093 if (t6.get$isEmpty(t6)) {
67094 t6 = shadowed.functions;
67095 if (t6.get$isEmpty(t6)) {
67096 t6 = shadowed.mixins;
67097 if (t6.get$isEmpty(t6)) {
67098 t6 = shadowed._shadowed_view0$_inner;
67099 t6 = t6.get$css(t6);
67100 t6 = J.get$isEmpty$asx(t6.get$children(t6));
67101 } else
67102 t6 = false;
67103 } else
67104 t6 = false;
67105 } else
67106 t6 = false;
67107 if (!t6)
67108 t2.$indexSet(0, shadowed, entry.value);
67109 }
67110 }
67111 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) {
67112 entry = t3[_i];
67113 module = entry.key;
67114 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
67115 if (shadowed != null) {
67116 forwardedModules.remove$1(0, module);
67117 t6 = shadowed.variables;
67118 if (t6.get$isEmpty(t6)) {
67119 t6 = shadowed.functions;
67120 if (t6.get$isEmpty(t6)) {
67121 t6 = shadowed.mixins;
67122 if (t6.get$isEmpty(t6)) {
67123 t6 = shadowed._shadowed_view0$_inner;
67124 t6 = t6.get$css(t6);
67125 t6 = J.get$isEmpty$asx(t6.get$children(t6));
67126 } else
67127 t6 = false;
67128 } else
67129 t6 = false;
67130 } else
67131 t6 = false;
67132 if (!t6)
67133 forwardedModules.$indexSet(0, shadowed, entry.value);
67134 }
67135 }
67136 t2.addAll$1(0, forwarded);
67137 forwardedModules.addAll$1(0, forwarded);
67138 } else {
67139 t3 = _this._async_environment0$_nestedForwardedModules;
67140 if (t3 == null) {
67141 _length = t2 - 1;
67142 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
67143 for (t2 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
67144 _list[_i] = A._setArrayType([], t2);
67145 _this._async_environment0$_nestedForwardedModules = _list;
67146 t2 = _list;
67147 } else
67148 t2 = t3;
67149 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
67150 }
67151 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();) {
67152 t6 = t3._as(t2._collection$_current);
67153 t4.remove$1(0, t6);
67154 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
67155 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
67156 }
67157 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();) {
67158 t5 = t2._as(t1._collection$_current);
67159 t3.remove$1(0, t5);
67160 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
67161 }
67162 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();) {
67163 t5 = t2._as(t1._collection$_current);
67164 t3.remove$1(0, t5);
67165 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
67166 }
67167 },
67168 getVariable$2$namespace($name, namespace) {
67169 var t1, index, _this = this;
67170 if (namespace != null)
67171 return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
67172 if (_this._async_environment0$_lastVariableName === $name) {
67173 t1 = _this._async_environment0$_lastVariableIndex;
67174 t1.toString;
67175 t1 = J.$index$asx(_this._async_environment0$_variables[t1], $name);
67176 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67177 }
67178 t1 = _this._async_environment0$_variableIndices;
67179 index = t1.$index(0, $name);
67180 if (index != null) {
67181 _this._async_environment0$_lastVariableName = $name;
67182 _this._async_environment0$_lastVariableIndex = index;
67183 t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
67184 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67185 }
67186 index = _this._async_environment0$_variableIndex$1($name);
67187 if (index == null)
67188 return _this._async_environment0$_getVariableFromGlobalModule$1($name);
67189 _this._async_environment0$_lastVariableName = $name;
67190 _this._async_environment0$_lastVariableIndex = index;
67191 t1.$indexSet(0, $name, index);
67192 t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
67193 return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
67194 },
67195 getVariable$1($name) {
67196 return this.getVariable$2$namespace($name, null);
67197 },
67198 _async_environment0$_getVariableFromGlobalModule$1($name) {
67199 return this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
67200 },
67201 getVariableNode$2$namespace($name, namespace) {
67202 var t1, index, _this = this;
67203 if (namespace != null)
67204 return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
67205 if (_this._async_environment0$_lastVariableName === $name) {
67206 t1 = _this._async_environment0$_lastVariableIndex;
67207 t1.toString;
67208 t1 = J.$index$asx(_this._async_environment0$_variableNodes[t1], $name);
67209 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67210 }
67211 t1 = _this._async_environment0$_variableIndices;
67212 index = t1.$index(0, $name);
67213 if (index != null) {
67214 _this._async_environment0$_lastVariableName = $name;
67215 _this._async_environment0$_lastVariableIndex = index;
67216 t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
67217 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67218 }
67219 index = _this._async_environment0$_variableIndex$1($name);
67220 if (index == null)
67221 return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
67222 _this._async_environment0$_lastVariableName = $name;
67223 _this._async_environment0$_lastVariableIndex = index;
67224 t1.$indexSet(0, $name, index);
67225 t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
67226 return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
67227 },
67228 _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
67229 var t1, t2, value;
67230 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();) {
67231 t1 = t2._currentIterator;
67232 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
67233 if (value != null)
67234 return value;
67235 }
67236 return null;
67237 },
67238 globalVariableExists$2$namespace($name, namespace) {
67239 if (namespace != null)
67240 return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
67241 if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
67242 return true;
67243 return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
67244 },
67245 globalVariableExists$1($name) {
67246 return this.globalVariableExists$2$namespace($name, null);
67247 },
67248 _async_environment0$_variableIndex$1($name) {
67249 var t1, i;
67250 for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
67251 if (t1[i].containsKey$1($name))
67252 return i;
67253 return null;
67254 },
67255 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
67256 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
67257 if (namespace != null) {
67258 _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
67259 return;
67260 }
67261 if (global || _this._async_environment0$_variables.length === 1) {
67262 _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
67263 t1 = _this._async_environment0$_variables;
67264 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
67265 moduleWithName = _this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name), type$.Module_AsyncCallable_2);
67266 if (moduleWithName != null) {
67267 moduleWithName.setVariable$3($name, value, nodeWithSpan);
67268 return;
67269 }
67270 }
67271 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
67272 J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
67273 return;
67274 }
67275 nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
67276 if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
67277 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();)
67278 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();) {
67279 t5 = t4._as(t3.__internal$_current);
67280 if (t5.get$variables().containsKey$1($name)) {
67281 t5.setVariable$3($name, value, nodeWithSpan);
67282 return;
67283 }
67284 }
67285 if (_this._async_environment0$_lastVariableName === $name) {
67286 t1 = _this._async_environment0$_lastVariableIndex;
67287 t1.toString;
67288 index = t1;
67289 } else
67290 index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
67291 if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
67292 index = _this._async_environment0$_variables.length - 1;
67293 _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
67294 }
67295 _this._async_environment0$_lastVariableName = $name;
67296 _this._async_environment0$_lastVariableIndex = index;
67297 J.$indexSet$ax(_this._async_environment0$_variables[index], $name, value);
67298 J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
67299 },
67300 setVariable$4$global($name, value, nodeWithSpan, global) {
67301 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
67302 },
67303 setLocalVariable$3($name, value, nodeWithSpan) {
67304 var index, _this = this,
67305 t1 = _this._async_environment0$_variables,
67306 t2 = t1.length;
67307 _this._async_environment0$_lastVariableName = $name;
67308 index = _this._async_environment0$_lastVariableIndex = t2 - 1;
67309 _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
67310 J.$indexSet$ax(t1[index], $name, value);
67311 J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
67312 },
67313 getFunction$2$namespace($name, namespace) {
67314 var t1, index, _this = this;
67315 if (namespace != null) {
67316 t1 = _this._async_environment0$_getModule$1(namespace);
67317 return t1.get$functions(t1).$index(0, $name);
67318 }
67319 t1 = _this._async_environment0$_functionIndices;
67320 index = t1.$index(0, $name);
67321 if (index != null) {
67322 t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
67323 return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
67324 }
67325 index = _this._async_environment0$_functionIndex$1($name);
67326 if (index == null)
67327 return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
67328 t1.$indexSet(0, $name, index);
67329 t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
67330 return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
67331 },
67332 _async_environment0$_getFunctionFromGlobalModule$1($name) {
67333 return this._async_environment0$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name), type$.AsyncCallable_2);
67334 },
67335 _async_environment0$_functionIndex$1($name) {
67336 var t1, i;
67337 for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
67338 if (t1[i].containsKey$1($name))
67339 return i;
67340 return null;
67341 },
67342 getMixin$2$namespace($name, namespace) {
67343 var t1, index, _this = this;
67344 if (namespace != null)
67345 return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
67346 t1 = _this._async_environment0$_mixinIndices;
67347 index = t1.$index(0, $name);
67348 if (index != null) {
67349 t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
67350 return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
67351 }
67352 index = _this._async_environment0$_mixinIndex$1($name);
67353 if (index == null)
67354 return _this._async_environment0$_getMixinFromGlobalModule$1($name);
67355 t1.$indexSet(0, $name, index);
67356 t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
67357 return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
67358 },
67359 _async_environment0$_getMixinFromGlobalModule$1($name) {
67360 return this._async_environment0$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name), type$.AsyncCallable_2);
67361 },
67362 _async_environment0$_mixinIndex$1($name) {
67363 var t1, i;
67364 for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
67365 if (t1[i].containsKey$1($name))
67366 return i;
67367 return null;
67368 },
67369 withContent$2($content, callback) {
67370 return this.withContent$body$AsyncEnvironment0($content, callback);
67371 },
67372 withContent$body$AsyncEnvironment0($content, callback) {
67373 var $async$goto = 0,
67374 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
67375 $async$self = this, oldContent;
67376 var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67377 if ($async$errorCode === 1)
67378 return A._asyncRethrow($async$result, $async$completer);
67379 while (true)
67380 switch ($async$goto) {
67381 case 0:
67382 // Function start
67383 oldContent = $async$self._async_environment0$_content;
67384 $async$self._async_environment0$_content = $content;
67385 $async$goto = 2;
67386 return A._asyncAwait(callback.call$0(), $async$withContent$2);
67387 case 2:
67388 // returning from await.
67389 $async$self._async_environment0$_content = oldContent;
67390 // implicit return
67391 return A._asyncReturn(null, $async$completer);
67392 }
67393 });
67394 return A._asyncStartSync($async$withContent$2, $async$completer);
67395 },
67396 asMixin$1(callback) {
67397 var $async$goto = 0,
67398 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
67399 $async$self = this, oldInMixin;
67400 var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67401 if ($async$errorCode === 1)
67402 return A._asyncRethrow($async$result, $async$completer);
67403 while (true)
67404 switch ($async$goto) {
67405 case 0:
67406 // Function start
67407 oldInMixin = $async$self._async_environment0$_inMixin;
67408 $async$self._async_environment0$_inMixin = true;
67409 $async$goto = 2;
67410 return A._asyncAwait(callback.call$0(), $async$asMixin$1);
67411 case 2:
67412 // returning from await.
67413 $async$self._async_environment0$_inMixin = oldInMixin;
67414 // implicit return
67415 return A._asyncReturn(null, $async$completer);
67416 }
67417 });
67418 return A._asyncStartSync($async$asMixin$1, $async$completer);
67419 },
67420 scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
67421 return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
67422 },
67423 scope$1$1(callback, $T) {
67424 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
67425 },
67426 scope$1$2$when(callback, when, $T) {
67427 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
67428 },
67429 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
67430 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
67431 },
67432 scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
67433 var $async$goto = 0,
67434 $async$completer = A._makeAsyncAwaitCompleter($async$type),
67435 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5;
67436 var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67437 if ($async$errorCode === 1) {
67438 $async$currentError = $async$result;
67439 $async$goto = $async$handler;
67440 }
67441 while (true)
67442 switch ($async$goto) {
67443 case 0:
67444 // Function start
67445 semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
67446 wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
67447 $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
67448 $async$goto = !when ? 3 : 4;
67449 break;
67450 case 3:
67451 // then
67452 $async$handler = 5;
67453 $async$goto = 8;
67454 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
67455 case 8:
67456 // returning from await.
67457 t1 = $async$result;
67458 $async$returnValue = t1;
67459 $async$next = [1];
67460 // goto finally
67461 $async$goto = 6;
67462 break;
67463 $async$next.push(7);
67464 // goto finally
67465 $async$goto = 6;
67466 break;
67467 case 5:
67468 // uncaught
67469 $async$next = [2];
67470 case 6:
67471 // finally
67472 $async$handler = 2;
67473 $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
67474 // goto the next finally handler
67475 $async$goto = $async$next.pop();
67476 break;
67477 case 7:
67478 // after finally
67479 case 4:
67480 // join
67481 t1 = $async$self._async_environment0$_variables;
67482 t2 = type$.String;
67483 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
67484 B.JSArray_methods.add$1($async$self._async_environment0$_variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
67485 t3 = $async$self._async_environment0$_functions;
67486 t4 = type$.AsyncCallable_2;
67487 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
67488 t5 = $async$self._async_environment0$_mixins;
67489 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
67490 t4 = $async$self._async_environment0$_nestedForwardedModules;
67491 if (t4 != null)
67492 t4.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
67493 $async$handler = 9;
67494 $async$goto = 12;
67495 return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
67496 case 12:
67497 // returning from await.
67498 t2 = $async$result;
67499 $async$returnValue = t2;
67500 $async$next = [1];
67501 // goto finally
67502 $async$goto = 10;
67503 break;
67504 $async$next.push(11);
67505 // goto finally
67506 $async$goto = 10;
67507 break;
67508 case 9:
67509 // uncaught
67510 $async$next = [2];
67511 case 10:
67512 // finally
67513 $async$handler = 2;
67514 $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
67515 $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
67516 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();) {
67517 $name = t1.get$current(t1);
67518 t2.remove$1(0, $name);
67519 }
67520 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();) {
67521 name0 = t1.get$current(t1);
67522 t2.remove$1(0, name0);
67523 }
67524 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();) {
67525 name1 = t1.get$current(t1);
67526 t2.remove$1(0, name1);
67527 }
67528 t1 = $async$self._async_environment0$_nestedForwardedModules;
67529 if (t1 != null)
67530 t1.pop();
67531 // goto the next finally handler
67532 $async$goto = $async$next.pop();
67533 break;
67534 case 11:
67535 // after finally
67536 case 1:
67537 // return
67538 return A._asyncReturn($async$returnValue, $async$completer);
67539 case 2:
67540 // rethrow
67541 return A._asyncRethrow($async$currentError, $async$completer);
67542 }
67543 });
67544 return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
67545 },
67546 toImplicitConfiguration$0() {
67547 var t1, t2, i, values, nodes, t3, t4, t5, t6,
67548 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
67549 for (t1 = this._async_environment0$_variables, t2 = this._async_environment0$_variableNodes, i = 0; i < t1.length; ++i) {
67550 values = t1[i];
67551 nodes = t2[i];
67552 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
67553 t4 = t3.get$current(t3);
67554 t5 = t4.key;
67555 t4 = t4.value;
67556 t6 = nodes.$index(0, t5);
67557 t6.toString;
67558 configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
67559 }
67560 }
67561 return new A.Configuration0(configuration);
67562 },
67563 toModule$2(css, extensionStore) {
67564 return A._EnvironmentModule__EnvironmentModule2(this, css, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
67565 },
67566 toDummyModule$0() {
67567 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()));
67568 },
67569 _async_environment0$_getModule$1(namespace) {
67570 var module = this._async_environment0$_modules.$index(0, namespace);
67571 if (module != null)
67572 return module;
67573 throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".'));
67574 },
67575 _async_environment0$_fromOneModule$1$3($name, type, callback, $T) {
67576 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
67577 nestedForwardedModules = this._async_environment0$_nestedForwardedModules;
67578 if (nestedForwardedModules != null)
67579 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();)
67580 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();) {
67581 value = callback.call$1(t4._as(t3.__internal$_current));
67582 if (value != null)
67583 return value;
67584 }
67585 for (t1 = this._async_environment0$_importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
67586 value = callback.call$1(t1.get$current(t1));
67587 if (value != null)
67588 return value;
67589 }
67590 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();) {
67591 t4 = t2.get$current(t2);
67592 valueInModule = callback.call$1(t4);
67593 if (valueInModule == null)
67594 continue;
67595 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
67596 if (identityFromModule.$eq(0, identity))
67597 continue;
67598 if (value != null) {
67599 spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
67600 t2 = "This " + type + string$.x20is_av;
67601 t3 = type + " use";
67602 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67603 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
67604 t5 = t1.get$current(t1);
67605 if (t5 != null)
67606 t4.$indexSet(0, t5, "includes " + type);
67607 }
67608 throw A.wrapException(A.MultiSpanSassScriptException$0(t2, t3, t4));
67609 }
67610 identity = identityFromModule;
67611 value = valueInModule;
67612 }
67613 return value;
67614 }
67615 };
67616 A.AsyncEnvironment_importForwards_closure2.prototype = {
67617 call$1(module) {
67618 var t1 = module.get$variables();
67619 return t1.get$keys(t1);
67620 },
67621 $signature: 108
67622 };
67623 A.AsyncEnvironment_importForwards_closure3.prototype = {
67624 call$1(module) {
67625 var t1 = module.get$functions(module);
67626 return t1.get$keys(t1);
67627 },
67628 $signature: 108
67629 };
67630 A.AsyncEnvironment_importForwards_closure4.prototype = {
67631 call$1(module) {
67632 var t1 = module.get$mixins();
67633 return t1.get$keys(t1);
67634 },
67635 $signature: 108
67636 };
67637 A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
67638 call$1(module) {
67639 return module.get$variables().$index(0, this.name);
67640 },
67641 $signature: 305
67642 };
67643 A.AsyncEnvironment_setVariable_closure2.prototype = {
67644 call$0() {
67645 var t1 = this.$this;
67646 t1._async_environment0$_lastVariableName = this.name;
67647 return t1._async_environment0$_lastVariableIndex = 0;
67648 },
67649 $signature: 12
67650 };
67651 A.AsyncEnvironment_setVariable_closure3.prototype = {
67652 call$1(module) {
67653 return module.get$variables().containsKey$1(this.name) ? module : null;
67654 },
67655 $signature: 306
67656 };
67657 A.AsyncEnvironment_setVariable_closure4.prototype = {
67658 call$0() {
67659 var t1 = this.$this,
67660 t2 = t1._async_environment0$_variableIndex$1(this.name);
67661 return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
67662 },
67663 $signature: 12
67664 };
67665 A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
67666 call$1(module) {
67667 return module.get$functions(module).$index(0, this.name);
67668 },
67669 $signature: 153
67670 };
67671 A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
67672 call$1(module) {
67673 return module.get$mixins().$index(0, this.name);
67674 },
67675 $signature: 153
67676 };
67677 A.AsyncEnvironment_toModule_closure0.prototype = {
67678 call$1(modules) {
67679 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
67680 },
67681 $signature: 154
67682 };
67683 A.AsyncEnvironment_toDummyModule_closure0.prototype = {
67684 call$1(modules) {
67685 return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
67686 },
67687 $signature: 154
67688 };
67689 A.AsyncEnvironment__fromOneModule_closure0.prototype = {
67690 call$1(entry) {
67691 return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure0(entry, this.T));
67692 },
67693 $signature: 309
67694 };
67695 A.AsyncEnvironment__fromOneModule__closure0.prototype = {
67696 call$1(_) {
67697 return J.get$span$z(this.entry.value);
67698 },
67699 $signature() {
67700 return this.T._eval$1("FileSpan(0)");
67701 }
67702 };
67703 A._EnvironmentModule2.prototype = {
67704 get$url(_) {
67705 var t1 = this.css;
67706 return t1.get$span(t1).file.url;
67707 },
67708 setVariable$3($name, value, nodeWithSpan) {
67709 var t1, t2,
67710 module = this._async_environment0$_modulesByVariable.$index(0, $name);
67711 if (module != null) {
67712 module.setVariable$3($name, value, nodeWithSpan);
67713 return;
67714 }
67715 t1 = this._async_environment0$_environment;
67716 t2 = t1._async_environment0$_variables;
67717 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
67718 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
67719 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
67720 J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
67721 return;
67722 },
67723 variableIdentity$1($name) {
67724 var module = this._async_environment0$_modulesByVariable.$index(0, $name);
67725 return module == null ? this : module.variableIdentity$1($name);
67726 },
67727 cloneCss$0() {
67728 var newCssAndExtensionStore, _this = this,
67729 t1 = _this.css;
67730 if (J.get$isEmpty$asx(t1.get$children(t1)))
67731 return _this;
67732 newCssAndExtensionStore = A.cloneCssStylesheet0(t1, _this.extensionStore);
67733 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);
67734 },
67735 toString$0(_) {
67736 var t1 = this.css;
67737 if (t1.get$span(t1).file.url == null)
67738 t1 = "<unknown url>";
67739 else {
67740 t1 = t1.get$span(t1);
67741 t1 = $.$get$context().prettyUri$1(t1.file.url);
67742 }
67743 return t1;
67744 },
67745 $isModule0: 1,
67746 get$upstream() {
67747 return this.upstream;
67748 },
67749 get$variables() {
67750 return this.variables;
67751 },
67752 get$variableNodes() {
67753 return this.variableNodes;
67754 },
67755 get$functions(receiver) {
67756 return this.functions;
67757 },
67758 get$mixins() {
67759 return this.mixins;
67760 },
67761 get$extensionStore() {
67762 return this.extensionStore;
67763 },
67764 get$css(receiver) {
67765 return this.css;
67766 },
67767 get$transitivelyContainsCss() {
67768 return this.transitivelyContainsCss;
67769 },
67770 get$transitivelyContainsExtensions() {
67771 return this.transitivelyContainsExtensions;
67772 }
67773 };
67774 A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
67775 call$1(module) {
67776 return module.get$variables();
67777 },
67778 $signature: 310
67779 };
67780 A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
67781 call$1(module) {
67782 return module.get$variableNodes();
67783 },
67784 $signature: 311
67785 };
67786 A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
67787 call$1(module) {
67788 return module.get$functions(module);
67789 },
67790 $signature: 155
67791 };
67792 A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
67793 call$1(module) {
67794 return module.get$mixins();
67795 },
67796 $signature: 155
67797 };
67798 A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
67799 call$1(module) {
67800 return module.get$transitivelyContainsCss();
67801 },
67802 $signature: 140
67803 };
67804 A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
67805 call$1(module) {
67806 return module.get$transitivelyContainsExtensions();
67807 },
67808 $signature: 140
67809 };
67810 A._EvaluateVisitor2.prototype = {
67811 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
67812 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
67813 _s20_ = "$name, $module: null",
67814 _s9_ = "sass:meta",
67815 t1 = type$.JSArray_AsyncBuiltInCallable_2,
67816 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),
67817 metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure38(_this), _s9_)], t1);
67818 t1 = type$.AsyncBuiltInCallable_2;
67819 t2 = A.List_List$of($.$get$global6(), true, t1);
67820 B.JSArray_methods.addAll$1(t2, $.$get$local0());
67821 B.JSArray_methods.addAll$1(t2, metaFunctions);
67822 metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
67823 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) {
67824 module = t1[_i];
67825 t3.$indexSet(0, module.url, module);
67826 }
67827 t1 = A._setArrayType([], type$.JSArray_AsyncCallable_2);
67828 B.JSArray_methods.addAll$1(t1, functions);
67829 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
67830 B.JSArray_methods.addAll$1(t1, metaFunctions);
67831 for (t2 = t1.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
67832 $function = t1[_i];
67833 t4 = J.get$name$x($function);
67834 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
67835 }
67836 },
67837 run$2(_, importer, node) {
67838 return this.run$body$_EvaluateVisitor0(0, importer, node);
67839 },
67840 run$body$_EvaluateVisitor0(_, importer, node) {
67841 var $async$goto = 0,
67842 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
67843 $async$returnValue, $async$self = this, t1;
67844 var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67845 if ($async$errorCode === 1)
67846 return A._asyncRethrow($async$result, $async$completer);
67847 while (true)
67848 switch ($async$goto) {
67849 case 0:
67850 // Function start
67851 t1 = type$.nullable_Object;
67852 $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);
67853 // goto return
67854 $async$goto = 1;
67855 break;
67856 case 1:
67857 // return
67858 return A._asyncReturn($async$returnValue, $async$completer);
67859 }
67860 });
67861 return A._asyncStartSync($async$run$2, $async$completer);
67862 },
67863 _async_evaluate0$_assertInModule$1$2(value, $name) {
67864 if (value != null)
67865 return value;
67866 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
67867 },
67868 _async_evaluate0$_assertInModule$2(value, $name) {
67869 return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
67870 },
67871 _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
67872 return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
67873 },
67874 _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
67875 return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
67876 },
67877 _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
67878 return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
67879 },
67880 _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
67881 var $async$goto = 0,
67882 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
67883 $async$returnValue, $async$self = this, t1, t2, builtInModule;
67884 var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67885 if ($async$errorCode === 1)
67886 return A._asyncRethrow($async$result, $async$completer);
67887 while (true)
67888 switch ($async$goto) {
67889 case 0:
67890 // Function start
67891 builtInModule = $async$self._async_evaluate0$_builtInModules.$index(0, url);
67892 $async$goto = builtInModule != null ? 3 : 4;
67893 break;
67894 case 3:
67895 // then
67896 if (configuration instanceof A.ExplicitConfiguration0) {
67897 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
67898 t2 = configuration.nodeWithSpan;
67899 throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
67900 }
67901 $async$goto = 5;
67902 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);
67903 case 5:
67904 // returning from await.
67905 // goto return
67906 $async$goto = 1;
67907 break;
67908 case 4:
67909 // join
67910 $async$goto = 6;
67911 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);
67912 case 6:
67913 // returning from await.
67914 case 1:
67915 // return
67916 return A._asyncReturn($async$returnValue, $async$completer);
67917 }
67918 });
67919 return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
67920 },
67921 _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
67922 return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
67923 },
67924 _async_evaluate0$_execute$2(importer, stylesheet) {
67925 return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
67926 },
67927 _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
67928 var $async$goto = 0,
67929 $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
67930 $async$returnValue, $async$self = this, currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
67931 var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
67932 if ($async$errorCode === 1)
67933 return A._asyncRethrow($async$result, $async$completer);
67934 while (true)
67935 switch ($async$goto) {
67936 case 0:
67937 // Function start
67938 url = stylesheet.span.file.url;
67939 t1 = $async$self._async_evaluate0$_modules;
67940 alreadyLoaded = t1.$index(0, url);
67941 if (alreadyLoaded != null) {
67942 t1 = configuration == null;
67943 currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
67944 if (currentConfiguration instanceof A.ExplicitConfiguration0) {
67945 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
67946 t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
67947 existingSpan = t2 == null ? null : J.get$span$z(t2);
67948 if (t1) {
67949 t1 = currentConfiguration.nodeWithSpan;
67950 configurationSpan = t1.get$span(t1);
67951 } else
67952 configurationSpan = null;
67953 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
67954 if (existingSpan != null)
67955 t1.$indexSet(0, existingSpan, "original load");
67956 if (configurationSpan != null)
67957 t1.$indexSet(0, configurationSpan, "configuration");
67958 throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
67959 }
67960 $async$returnValue = alreadyLoaded;
67961 // goto return
67962 $async$goto = 1;
67963 break;
67964 }
67965 environment = A.AsyncEnvironment$0();
67966 css = A._Cell$();
67967 extensionStore = A.ExtensionStore$0();
67968 $async$goto = 3;
67969 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);
67970 case 3:
67971 // returning from await.
67972 module = environment.toModule$2(css._readLocal$0(), extensionStore);
67973 if (url != null) {
67974 t1.$indexSet(0, url, module);
67975 if (nodeWithSpan != null)
67976 $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
67977 }
67978 $async$returnValue = module;
67979 // goto return
67980 $async$goto = 1;
67981 break;
67982 case 1:
67983 // return
67984 return A._asyncReturn($async$returnValue, $async$completer);
67985 }
67986 });
67987 return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
67988 },
67989 _async_evaluate0$_addOutOfOrderImports$0() {
67990 var t1, t2, _this = this, _s5_ = "_root",
67991 _s13_ = "_endOfImports",
67992 outOfOrderImports = _this._async_evaluate0$_outOfOrderImports;
67993 if (outOfOrderImports == null)
67994 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
67995 t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
67996 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);
67997 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
67998 t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
67999 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")));
68000 return t1;
68001 },
68002 _async_evaluate0$_combineCss$2$clone(root, clone) {
68003 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
68004 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure8())) {
68005 selectors = root.get$extensionStore().get$simpleSelectors();
68006 unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure9(selectors)));
68007 if (unsatisfiedExtension != null)
68008 _this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
68009 return root.get$css(root);
68010 }
68011 sortedModules = _this._async_evaluate0$_topologicalModules$1(root);
68012 if (clone) {
68013 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<AsyncCallable0>>");
68014 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure10(), t1), true, t1._eval$1("ListIterable.E"));
68015 }
68016 _this._async_evaluate0$_extendModules$1(sortedModules);
68017 t1 = type$.JSArray_CssNode_2;
68018 imports = A._setArrayType([], t1);
68019 css = A._setArrayType([], t1);
68020 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
68021 t3 = t2._as(t1.__internal$_current);
68022 t3 = t3.get$css(t3);
68023 statements = t3.get$children(t3);
68024 index = _this._async_evaluate0$_indexAfterImports$1(statements);
68025 t3 = J.getInterceptor$ax(statements);
68026 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
68027 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
68028 }
68029 t1 = B.JSArray_methods.$add(imports, css);
68030 t2 = root.get$css(root);
68031 return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
68032 },
68033 _async_evaluate0$_combineCss$1(root) {
68034 return this._async_evaluate0$_combineCss$2$clone(root, false);
68035 },
68036 _async_evaluate0$_extendModules$1(sortedModules) {
68037 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
68038 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
68039 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
68040 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
68041 t2 = t1.get$current(t1);
68042 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
68043 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
68044 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
68045 t3 = t2.get$extensionStore().get$addExtensions();
68046 if ($self != null)
68047 t3.call$1($self);
68048 t3 = t2.get$extensionStore();
68049 if (t3.get$isEmpty(t3))
68050 continue;
68051 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
68052 upstream = t3[_i];
68053 url = upstream.get$url(upstream);
68054 if (url == null)
68055 continue;
68056 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure6()), t2.get$extensionStore());
68057 }
68058 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
68059 }
68060 if (unsatisfiedExtensions._collection$_length !== 0)
68061 this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
68062 },
68063 _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
68064 throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
68065 },
68066 _async_evaluate0$_topologicalModules$1(root) {
68067 var t1 = type$.Module_AsyncCallable_2,
68068 sorted = A.QueueList$(null, t1);
68069 new A._EvaluateVisitor__topologicalModules_visitModule2(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
68070 return sorted;
68071 },
68072 _async_evaluate0$_indexAfterImports$1(statements) {
68073 var t1, t2, t3, lastImport, i, statement;
68074 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
68075 statement = t1.$index(statements, i);
68076 if (t3._is(statement))
68077 lastImport = i;
68078 else if (!t2._is(statement))
68079 break;
68080 }
68081 return lastImport + 1;
68082 },
68083 visitStylesheet$1(node) {
68084 return this.visitStylesheet$body$_EvaluateVisitor0(node);
68085 },
68086 visitStylesheet$body$_EvaluateVisitor0(node) {
68087 var $async$goto = 0,
68088 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68089 $async$returnValue, $async$self = this, t1, t2, _i;
68090 var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68091 if ($async$errorCode === 1)
68092 return A._asyncRethrow($async$result, $async$completer);
68093 while (true)
68094 switch ($async$goto) {
68095 case 0:
68096 // Function start
68097 t1 = node.children, t2 = t1.length, _i = 0;
68098 case 3:
68099 // for condition
68100 if (!(_i < t2)) {
68101 // goto after for
68102 $async$goto = 5;
68103 break;
68104 }
68105 $async$goto = 6;
68106 return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
68107 case 6:
68108 // returning from await.
68109 case 4:
68110 // for update
68111 ++_i;
68112 // goto for condition
68113 $async$goto = 3;
68114 break;
68115 case 5:
68116 // after for
68117 $async$returnValue = null;
68118 // goto return
68119 $async$goto = 1;
68120 break;
68121 case 1:
68122 // return
68123 return A._asyncReturn($async$returnValue, $async$completer);
68124 }
68125 });
68126 return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
68127 },
68128 visitAtRootRule$1(node) {
68129 return this.visitAtRootRule$body$_EvaluateVisitor0(node);
68130 },
68131 visitAtRootRule$body$_EvaluateVisitor0(node) {
68132 var $async$goto = 0,
68133 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68134 $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
68135 var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68136 if ($async$errorCode === 1)
68137 return A._asyncRethrow($async$result, $async$completer);
68138 while (true)
68139 switch ($async$goto) {
68140 case 0:
68141 // Function start
68142 unparsedQuery = node.query;
68143 $async$goto = unparsedQuery != null ? 3 : 5;
68144 break;
68145 case 3:
68146 // then
68147 $async$temp1 = unparsedQuery;
68148 $async$temp2 = A;
68149 $async$goto = 6;
68150 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
68151 case 6:
68152 // returning from await.
68153 $async$result = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure8($async$self, $async$result));
68154 // goto join
68155 $async$goto = 4;
68156 break;
68157 case 5:
68158 // else
68159 $async$result = B.AtRootQuery_UsS0;
68160 case 4:
68161 // join
68162 query = $async$result;
68163 $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
68164 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
68165 for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
68166 if (!query.excludes$1($parent))
68167 included.push($parent);
68168 grandparent = $parent._node1$_parent;
68169 if (grandparent == null)
68170 throw A.wrapException(A.StateError$(string$.CssNod));
68171 }
68172 root = $async$self._async_evaluate0$_trimIncluded$1(included);
68173 $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
68174 break;
68175 case 7:
68176 // then
68177 $async$goto = 9;
68178 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);
68179 case 9:
68180 // returning from await.
68181 $async$returnValue = null;
68182 // goto return
68183 $async$goto = 1;
68184 break;
68185 case 8:
68186 // join
68187 if (included.length !== 0) {
68188 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
68189 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) {
68190 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
68191 copy.addChild$1(outerCopy);
68192 }
68193 root.addChild$1(outerCopy);
68194 } else
68195 innerCopy = root;
68196 $async$goto = 10;
68197 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);
68198 case 10:
68199 // returning from await.
68200 $async$returnValue = null;
68201 // goto return
68202 $async$goto = 1;
68203 break;
68204 case 1:
68205 // return
68206 return A._asyncReturn($async$returnValue, $async$completer);
68207 }
68208 });
68209 return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
68210 },
68211 _async_evaluate0$_trimIncluded$1(nodes) {
68212 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
68213 _s22_ = " to be an ancestor of ";
68214 if (nodes.length === 0)
68215 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
68216 $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
68217 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
68218 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
68219 grandparent = $parent._node1$_parent;
68220 if (grandparent == null)
68221 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
68222 }
68223 if (innermostContiguous == null)
68224 innermostContiguous = i;
68225 grandparent = $parent._node1$_parent;
68226 if (grandparent == null)
68227 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
68228 }
68229 if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
68230 return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
68231 innermostContiguous.toString;
68232 root = nodes[innermostContiguous];
68233 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
68234 return root;
68235 },
68236 _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
68237 var _this = this,
68238 scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
68239 t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
68240 if (t1 !== query.include)
68241 scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
68242 if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
68243 scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
68244 if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
68245 scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
68246 return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
68247 },
68248 visitContentBlock$1(node) {
68249 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
68250 },
68251 visitContentRule$1(node) {
68252 return this.visitContentRule$body$_EvaluateVisitor0(node);
68253 },
68254 visitContentRule$body$_EvaluateVisitor0(node) {
68255 var $async$goto = 0,
68256 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68257 $async$returnValue, $async$self = this, $content;
68258 var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68259 if ($async$errorCode === 1)
68260 return A._asyncRethrow($async$result, $async$completer);
68261 while (true)
68262 switch ($async$goto) {
68263 case 0:
68264 // Function start
68265 $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
68266 if ($content == null) {
68267 $async$returnValue = null;
68268 // goto return
68269 $async$goto = 1;
68270 break;
68271 }
68272 $async$goto = 3;
68273 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);
68274 case 3:
68275 // returning from await.
68276 $async$returnValue = null;
68277 // goto return
68278 $async$goto = 1;
68279 break;
68280 case 1:
68281 // return
68282 return A._asyncReturn($async$returnValue, $async$completer);
68283 }
68284 });
68285 return A._asyncStartSync($async$visitContentRule$1, $async$completer);
68286 },
68287 visitDebugRule$1(node) {
68288 return this.visitDebugRule$body$_EvaluateVisitor0(node);
68289 },
68290 visitDebugRule$body$_EvaluateVisitor0(node) {
68291 var $async$goto = 0,
68292 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68293 $async$returnValue, $async$self = this, value, t1;
68294 var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68295 if ($async$errorCode === 1)
68296 return A._asyncRethrow($async$result, $async$completer);
68297 while (true)
68298 switch ($async$goto) {
68299 case 0:
68300 // Function start
68301 $async$goto = 3;
68302 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
68303 case 3:
68304 // returning from await.
68305 value = $async$result;
68306 t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
68307 $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
68308 $async$returnValue = null;
68309 // goto return
68310 $async$goto = 1;
68311 break;
68312 case 1:
68313 // return
68314 return A._asyncReturn($async$returnValue, $async$completer);
68315 }
68316 });
68317 return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
68318 },
68319 visitDeclaration$1(node) {
68320 return this.visitDeclaration$body$_EvaluateVisitor0(node);
68321 },
68322 visitDeclaration$body$_EvaluateVisitor0(node) {
68323 var $async$goto = 0,
68324 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68325 $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
68326 var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68327 if ($async$errorCode === 1)
68328 return A._asyncRethrow($async$result, $async$completer);
68329 while (true)
68330 switch ($async$goto) {
68331 case 0:
68332 // Function start
68333 if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
68334 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
68335 t1 = node.name;
68336 $async$goto = 3;
68337 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
68338 case 3:
68339 // returning from await.
68340 $name = $async$result;
68341 t2 = $async$self._async_evaluate0$_declarationName;
68342 if (t2 != null)
68343 $name = new A.CssValue0(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String_2);
68344 t2 = node.value;
68345 $async$goto = 4;
68346 return A._asyncAwait(A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure5($async$self)), $async$visitDeclaration$1);
68347 case 4:
68348 // returning from await.
68349 cssValue = $async$result;
68350 t3 = cssValue != null;
68351 if (t3)
68352 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
68353 else
68354 t4 = false;
68355 if (t4) {
68356 t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
68357 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
68358 if ($async$self._async_evaluate0$_sourceMap) {
68359 t2 = A.NullableExtension_andThen0(t2, $async$self.get$_async_evaluate0$_expressionNode());
68360 t2 = t2 == null ? null : J.get$span$z(t2);
68361 } else
68362 t2 = null;
68363 t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
68364 } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
68365 throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
68366 children = node.children;
68367 $async$goto = children != null ? 5 : 6;
68368 break;
68369 case 5:
68370 // then
68371 oldDeclarationName = $async$self._async_evaluate0$_declarationName;
68372 $async$self._async_evaluate0$_declarationName = $name.get$value($name);
68373 $async$goto = 7;
68374 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);
68375 case 7:
68376 // returning from await.
68377 $async$self._async_evaluate0$_declarationName = oldDeclarationName;
68378 case 6:
68379 // join
68380 $async$returnValue = null;
68381 // goto return
68382 $async$goto = 1;
68383 break;
68384 case 1:
68385 // return
68386 return A._asyncReturn($async$returnValue, $async$completer);
68387 }
68388 });
68389 return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
68390 },
68391 visitEachRule$1(node) {
68392 return this.visitEachRule$body$_EvaluateVisitor0(node);
68393 },
68394 visitEachRule$body$_EvaluateVisitor0(node) {
68395 var $async$goto = 0,
68396 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68397 $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
68398 var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68399 if ($async$errorCode === 1)
68400 return A._asyncRethrow($async$result, $async$completer);
68401 while (true)
68402 switch ($async$goto) {
68403 case 0:
68404 // Function start
68405 t1 = node.list;
68406 $async$goto = 3;
68407 return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
68408 case 3:
68409 // returning from await.
68410 list = $async$result;
68411 nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
68412 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure8($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure9($async$self, node, nodeWithSpan);
68413 $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);
68414 // goto return
68415 $async$goto = 1;
68416 break;
68417 case 1:
68418 // return
68419 return A._asyncReturn($async$returnValue, $async$completer);
68420 }
68421 });
68422 return A._asyncStartSync($async$visitEachRule$1, $async$completer);
68423 },
68424 _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
68425 var i,
68426 list = value.get$asList(),
68427 t1 = variables.length,
68428 minLength = Math.min(t1, list.length);
68429 for (i = 0; i < minLength; ++i)
68430 this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
68431 for (i = minLength; i < t1; ++i)
68432 this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
68433 },
68434 visitErrorRule$1(node) {
68435 return this.visitErrorRule$body$_EvaluateVisitor0(node);
68436 },
68437 visitErrorRule$body$_EvaluateVisitor0(node) {
68438 var $async$goto = 0,
68439 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
68440 $async$self = this, $async$temp1, $async$temp2;
68441 var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68442 if ($async$errorCode === 1)
68443 return A._asyncRethrow($async$result, $async$completer);
68444 while (true)
68445 switch ($async$goto) {
68446 case 0:
68447 // Function start
68448 $async$temp1 = A;
68449 $async$temp2 = J;
68450 $async$goto = 2;
68451 return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
68452 case 2:
68453 // returning from await.
68454 throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
68455 // implicit return
68456 return A._asyncReturn(null, $async$completer);
68457 }
68458 });
68459 return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
68460 },
68461 visitExtendRule$1(node) {
68462 return this.visitExtendRule$body$_EvaluateVisitor0(node);
68463 },
68464 visitExtendRule$body$_EvaluateVisitor0(node) {
68465 var $async$goto = 0,
68466 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68467 $async$returnValue, $async$self = this, targetText, t1, t2, t3, _i, t4, styleRule;
68468 var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68469 if ($async$errorCode === 1)
68470 return A._asyncRethrow($async$result, $async$completer);
68471 while (true)
68472 switch ($async$goto) {
68473 case 0:
68474 // Function start
68475 styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
68476 if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
68477 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
68478 $async$goto = 3;
68479 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
68480 case 3:
68481 // returning from await.
68482 targetText = $async$result;
68483 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) {
68484 t4 = t1[_i].components;
68485 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector0))
68486 throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.get$span(targetText)));
68487 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
68488 if (t4.length !== 1)
68489 throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
68490 $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);
68491 }
68492 $async$returnValue = null;
68493 // goto return
68494 $async$goto = 1;
68495 break;
68496 case 1:
68497 // return
68498 return A._asyncReturn($async$returnValue, $async$completer);
68499 }
68500 });
68501 return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
68502 },
68503 visitAtRule$1(node) {
68504 return this.visitAtRule$body$_EvaluateVisitor0(node);
68505 },
68506 visitAtRule$body$_EvaluateVisitor0(node) {
68507 var $async$goto = 0,
68508 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68509 $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
68510 var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68511 if ($async$errorCode === 1)
68512 return A._asyncRethrow($async$result, $async$completer);
68513 while (true)
68514 switch ($async$goto) {
68515 case 0:
68516 // Function start
68517 if ($async$self._async_evaluate0$_declarationName != null)
68518 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
68519 $async$goto = 3;
68520 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
68521 case 3:
68522 // returning from await.
68523 $name = $async$result;
68524 $async$goto = 4;
68525 return A._asyncAwait(A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self)), $async$visitAtRule$1);
68526 case 4:
68527 // returning from await.
68528 value = $async$result;
68529 children = node.children;
68530 if (children == null) {
68531 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
68532 $async$returnValue = null;
68533 // goto return
68534 $async$goto = 1;
68535 break;
68536 }
68537 wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
68538 wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
68539 if (A.unvendor0($name.get$value($name)) === "keyframes")
68540 $async$self._async_evaluate0$_inKeyframes = true;
68541 else
68542 $async$self._async_evaluate0$_inUnknownAtRule = true;
68543 $async$goto = 5;
68544 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);
68545 case 5:
68546 // returning from await.
68547 $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
68548 $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
68549 $async$returnValue = null;
68550 // goto return
68551 $async$goto = 1;
68552 break;
68553 case 1:
68554 // return
68555 return A._asyncReturn($async$returnValue, $async$completer);
68556 }
68557 });
68558 return A._asyncStartSync($async$visitAtRule$1, $async$completer);
68559 },
68560 visitForRule$1(node) {
68561 return this.visitForRule$body$_EvaluateVisitor0(node);
68562 },
68563 visitForRule$body$_EvaluateVisitor0(node) {
68564 var $async$goto = 0,
68565 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68566 $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
68567 var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68568 if ($async$errorCode === 1)
68569 return A._asyncRethrow($async$result, $async$completer);
68570 while (true)
68571 switch ($async$goto) {
68572 case 0:
68573 // Function start
68574 t1 = {};
68575 t2 = node.from;
68576 t3 = type$.SassNumber_2;
68577 $async$goto = 3;
68578 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
68579 case 3:
68580 // returning from await.
68581 fromNumber = $async$result;
68582 t4 = node.to;
68583 $async$goto = 4;
68584 return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
68585 case 4:
68586 // returning from await.
68587 toNumber = $async$result;
68588 from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
68589 to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
68590 direction = from > to ? -1 : 1;
68591 if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
68592 $async$returnValue = null;
68593 // goto return
68594 $async$goto = 1;
68595 break;
68596 }
68597 $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);
68598 // goto return
68599 $async$goto = 1;
68600 break;
68601 case 1:
68602 // return
68603 return A._asyncReturn($async$returnValue, $async$completer);
68604 }
68605 });
68606 return A._asyncStartSync($async$visitForRule$1, $async$completer);
68607 },
68608 visitForwardRule$1(node) {
68609 return this.visitForwardRule$body$_EvaluateVisitor0(node);
68610 },
68611 visitForwardRule$body$_EvaluateVisitor0(node) {
68612 var $async$goto = 0,
68613 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68614 $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
68615 var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68616 if ($async$errorCode === 1)
68617 return A._asyncRethrow($async$result, $async$completer);
68618 while (true)
68619 switch ($async$goto) {
68620 case 0:
68621 // Function start
68622 oldConfiguration = $async$self._async_evaluate0$_configuration;
68623 adjustedConfiguration = oldConfiguration.throughForward$1(node);
68624 t1 = node.configuration;
68625 t2 = t1.length;
68626 t3 = node.url;
68627 $async$goto = t2 !== 0 ? 3 : 5;
68628 break;
68629 case 3:
68630 // then
68631 $async$goto = 6;
68632 return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
68633 case 6:
68634 // returning from await.
68635 newConfiguration = $async$result;
68636 $async$goto = 7;
68637 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);
68638 case 7:
68639 // returning from await.
68640 t3 = type$.String;
68641 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
68642 for (_i = 0; _i < t2; ++_i) {
68643 variable = t1[_i];
68644 if (!variable.isGuarded)
68645 t4.add$1(0, variable.name);
68646 }
68647 $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
68648 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
68649 for (_i = 0; _i < t2; ++_i)
68650 t3.add$1(0, t1[_i].name);
68651 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) {
68652 $name = t2[_i];
68653 if (!t3.contains$1(0, $name))
68654 if (!t1.get$isEmpty(t1))
68655 t1.remove$1(0, $name);
68656 }
68657 $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
68658 // goto join
68659 $async$goto = 4;
68660 break;
68661 case 5:
68662 // else
68663 $async$self._async_evaluate0$_configuration = adjustedConfiguration;
68664 $async$goto = 8;
68665 return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
68666 case 8:
68667 // returning from await.
68668 $async$self._async_evaluate0$_configuration = oldConfiguration;
68669 case 4:
68670 // join
68671 $async$returnValue = null;
68672 // goto return
68673 $async$goto = 1;
68674 break;
68675 case 1:
68676 // return
68677 return A._asyncReturn($async$returnValue, $async$completer);
68678 }
68679 });
68680 return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
68681 },
68682 _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
68683 return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
68684 },
68685 _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
68686 var $async$goto = 0,
68687 $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
68688 $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
68689 var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68690 if ($async$errorCode === 1)
68691 return A._asyncRethrow($async$result, $async$completer);
68692 while (true)
68693 switch ($async$goto) {
68694 case 0:
68695 // Function start
68696 t1 = configuration._configuration$_values;
68697 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
68698 t2 = node.configuration, t3 = t2.length, _i = 0;
68699 case 3:
68700 // for condition
68701 if (!(_i < t3)) {
68702 // goto after for
68703 $async$goto = 5;
68704 break;
68705 }
68706 variable = t2[_i];
68707 if (variable.isGuarded) {
68708 t4 = variable.name;
68709 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
68710 if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
68711 newValues.$indexSet(0, t4, t5);
68712 // goto for update
68713 $async$goto = 4;
68714 break;
68715 }
68716 }
68717 t4 = variable.expression;
68718 variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t4);
68719 $async$temp1 = newValues;
68720 $async$temp2 = variable.name;
68721 $async$temp3 = A;
68722 $async$goto = 6;
68723 return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate0$_addForwardConfiguration$2);
68724 case 6:
68725 // returning from await.
68726 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
68727 case 4:
68728 // for update
68729 ++_i;
68730 // goto for condition
68731 $async$goto = 3;
68732 break;
68733 case 5:
68734 // after for
68735 if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
68736 $async$returnValue = new A.ExplicitConfiguration0(node, newValues);
68737 // goto return
68738 $async$goto = 1;
68739 break;
68740 } else {
68741 $async$returnValue = new A.Configuration0(newValues);
68742 // goto return
68743 $async$goto = 1;
68744 break;
68745 }
68746 case 1:
68747 // return
68748 return A._asyncReturn($async$returnValue, $async$completer);
68749 }
68750 });
68751 return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
68752 },
68753 _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
68754 var t1, t2, t3, t4, _i, $name;
68755 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) {
68756 $name = t2[_i];
68757 if (except.contains$1(0, $name))
68758 continue;
68759 if (!t4.containsKey$1($name))
68760 if (!t1.get$isEmpty(t1))
68761 t1.remove$1(0, $name);
68762 }
68763 },
68764 _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
68765 var t1, entry;
68766 if (!(configuration instanceof A.ExplicitConfiguration0))
68767 return;
68768 t1 = configuration._configuration$_values;
68769 if (t1.get$isEmpty(t1))
68770 return;
68771 t1 = t1.get$entries(t1);
68772 entry = t1.get$first(t1);
68773 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
68774 throw A.wrapException(this._async_evaluate0$_exception$2(t1, entry.value.configurationSpan));
68775 },
68776 _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
68777 return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
68778 },
68779 visitFunctionRule$1(node) {
68780 return this.visitFunctionRule$body$_EvaluateVisitor0(node);
68781 },
68782 visitFunctionRule$body$_EvaluateVisitor0(node) {
68783 var $async$goto = 0,
68784 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68785 $async$returnValue, $async$self = this, t1, t2, t3, index, t4;
68786 var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68787 if ($async$errorCode === 1)
68788 return A._asyncRethrow($async$result, $async$completer);
68789 while (true)
68790 switch ($async$goto) {
68791 case 0:
68792 // Function start
68793 t1 = $async$self._async_evaluate0$_environment;
68794 t2 = t1.closure$0();
68795 t3 = t1._async_environment0$_functions;
68796 index = t3.length - 1;
68797 t4 = node.name;
68798 t1._async_environment0$_functionIndices.$indexSet(0, t4, index);
68799 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable0(node, t2, type$.UserDefinedCallable_AsyncEnvironment_2));
68800 $async$returnValue = null;
68801 // goto return
68802 $async$goto = 1;
68803 break;
68804 case 1:
68805 // return
68806 return A._asyncReturn($async$returnValue, $async$completer);
68807 }
68808 });
68809 return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
68810 },
68811 visitIfRule$1(node) {
68812 return this.visitIfRule$body$_EvaluateVisitor0(node);
68813 },
68814 visitIfRule$body$_EvaluateVisitor0(node) {
68815 var $async$goto = 0,
68816 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68817 $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
68818 var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68819 if ($async$errorCode === 1)
68820 return A._asyncRethrow($async$result, $async$completer);
68821 while (true)
68822 switch ($async$goto) {
68823 case 0:
68824 // Function start
68825 _box_0 = {};
68826 _box_0.clause = node.lastClause;
68827 t1 = node.clauses, t2 = t1.length, _i = 0;
68828 case 3:
68829 // for condition
68830 if (!(_i < t2)) {
68831 // goto after for
68832 $async$goto = 5;
68833 break;
68834 }
68835 clauseToCheck = t1[_i];
68836 $async$goto = 6;
68837 return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
68838 case 6:
68839 // returning from await.
68840 if ($async$result.get$isTruthy()) {
68841 _box_0.clause = clauseToCheck;
68842 // goto after for
68843 $async$goto = 5;
68844 break;
68845 }
68846 case 4:
68847 // for update
68848 ++_i;
68849 // goto for condition
68850 $async$goto = 3;
68851 break;
68852 case 5:
68853 // after for
68854 t1 = _box_0.clause;
68855 if (t1 == null) {
68856 $async$returnValue = null;
68857 // goto return
68858 $async$goto = 1;
68859 break;
68860 }
68861 $async$goto = 7;
68862 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);
68863 case 7:
68864 // returning from await.
68865 $async$returnValue = $async$result;
68866 // goto return
68867 $async$goto = 1;
68868 break;
68869 case 1:
68870 // return
68871 return A._asyncReturn($async$returnValue, $async$completer);
68872 }
68873 });
68874 return A._asyncStartSync($async$visitIfRule$1, $async$completer);
68875 },
68876 visitImportRule$1(node) {
68877 return this.visitImportRule$body$_EvaluateVisitor0(node);
68878 },
68879 visitImportRule$body$_EvaluateVisitor0(node) {
68880 var $async$goto = 0,
68881 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
68882 $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
68883 var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68884 if ($async$errorCode === 1)
68885 return A._asyncRethrow($async$result, $async$completer);
68886 while (true)
68887 switch ($async$goto) {
68888 case 0:
68889 // Function start
68890 t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
68891 case 3:
68892 // for condition
68893 if (!(_i < t2)) {
68894 // goto after for
68895 $async$goto = 5;
68896 break;
68897 }
68898 $import = t1[_i];
68899 $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
68900 break;
68901 case 6:
68902 // then
68903 $async$goto = 9;
68904 return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
68905 case 9:
68906 // returning from await.
68907 // goto join
68908 $async$goto = 7;
68909 break;
68910 case 8:
68911 // else
68912 $async$goto = 10;
68913 return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
68914 case 10:
68915 // returning from await.
68916 case 7:
68917 // join
68918 case 4:
68919 // for update
68920 ++_i;
68921 // goto for condition
68922 $async$goto = 3;
68923 break;
68924 case 5:
68925 // after for
68926 $async$returnValue = null;
68927 // goto return
68928 $async$goto = 1;
68929 break;
68930 case 1:
68931 // return
68932 return A._asyncReturn($async$returnValue, $async$completer);
68933 }
68934 });
68935 return A._asyncStartSync($async$visitImportRule$1, $async$completer);
68936 },
68937 _async_evaluate0$_visitDynamicImport$1($import) {
68938 return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
68939 },
68940 _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
68941 return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
68942 },
68943 _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
68944 return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
68945 },
68946 _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
68947 return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
68948 },
68949 _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
68950 var $async$goto = 0,
68951 $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet_2),
68952 $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;
68953 var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
68954 if ($async$errorCode === 1) {
68955 $async$currentError = $async$result;
68956 $async$goto = $async$handler;
68957 }
68958 while (true)
68959 switch ($async$goto) {
68960 case 0:
68961 // Function start
68962 baseUrl = baseUrl;
68963 $async$handler = 4;
68964 $async$self._async_evaluate0$_importSpan = span;
68965 importCache = $async$self._async_evaluate0$_importCache;
68966 $async$goto = importCache != null ? 7 : 9;
68967 break;
68968 case 7:
68969 // then
68970 if (baseUrl == null)
68971 baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
68972 $async$goto = 10;
68973 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);
68974 case 10:
68975 // returning from await.
68976 tuple = $async$result;
68977 $async$goto = tuple != null ? 11 : 12;
68978 break;
68979 case 11:
68980 // then
68981 isDependency = $async$self._async_evaluate0$_inDependency || tuple.item1 !== $async$self._async_evaluate0$_importer;
68982 t1 = tuple.item1;
68983 t2 = tuple.item2;
68984 t3 = tuple.item3;
68985 t4 = $async$self._async_evaluate0$_quietDeps && isDependency;
68986 $async$goto = 13;
68987 return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
68988 case 13:
68989 // returning from await.
68990 stylesheet = $async$result;
68991 if (stylesheet != null) {
68992 $async$self._async_evaluate0$_loadedUrls.add$1(0, tuple.item2);
68993 t1 = tuple.item1;
68994 $async$returnValue = new A._LoadedStylesheet2(stylesheet, t1, isDependency);
68995 $async$next = [1];
68996 // goto finally
68997 $async$goto = 5;
68998 break;
68999 }
69000 case 12:
69001 // join
69002 // goto join
69003 $async$goto = 8;
69004 break;
69005 case 9:
69006 // else
69007 $async$goto = 14;
69008 return A._asyncAwait($async$self._async_evaluate0$_importLikeNode$2(url, forImport), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
69009 case 14:
69010 // returning from await.
69011 result = $async$result;
69012 if (result != null) {
69013 t1 = $async$self._async_evaluate0$_loadedUrls;
69014 A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
69015 $async$returnValue = result;
69016 $async$next = [1];
69017 // goto finally
69018 $async$goto = 5;
69019 break;
69020 }
69021 case 8:
69022 // join
69023 if (B.JSString_methods.startsWith$1(url, "package:") && true)
69024 throw A.wrapException(string$.x22packa);
69025 else
69026 throw A.wrapException("Can't find stylesheet to import.");
69027 $async$next.push(6);
69028 // goto finally
69029 $async$goto = 5;
69030 break;
69031 case 4:
69032 // catch
69033 $async$handler = 3;
69034 $async$exception = $async$currentError;
69035 t1 = A.unwrapException($async$exception);
69036 if (t1 instanceof A.SassException0) {
69037 error = t1;
69038 stackTrace = A.getTraceFromException($async$exception);
69039 t1 = error;
69040 t2 = J.getInterceptor$z(t1);
69041 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
69042 } else {
69043 error0 = t1;
69044 stackTrace0 = A.getTraceFromException($async$exception);
69045 message = null;
69046 try {
69047 message = A._asString(J.get$message$x(error0));
69048 } catch (exception) {
69049 message0 = J.toString$0$(error0);
69050 message = message0;
69051 }
69052 A.throwWithTrace0($async$self._async_evaluate0$_exception$1(message), stackTrace0);
69053 }
69054 $async$next.push(6);
69055 // goto finally
69056 $async$goto = 5;
69057 break;
69058 case 3:
69059 // uncaught
69060 $async$next = [2];
69061 case 5:
69062 // finally
69063 $async$handler = 2;
69064 $async$self._async_evaluate0$_importSpan = null;
69065 // goto the next finally handler
69066 $async$goto = $async$next.pop();
69067 break;
69068 case 6:
69069 // after finally
69070 case 1:
69071 // return
69072 return A._asyncReturn($async$returnValue, $async$completer);
69073 case 2:
69074 // rethrow
69075 return A._asyncRethrow($async$currentError, $async$completer);
69076 }
69077 });
69078 return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
69079 },
69080 _async_evaluate0$_importLikeNode$2(originalUrl, forImport) {
69081 return this._importLikeNode$body$_EvaluateVisitor0(originalUrl, forImport);
69082 },
69083 _importLikeNode$body$_EvaluateVisitor0(originalUrl, forImport) {
69084 var $async$goto = 0,
69085 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet_2),
69086 $async$returnValue, $async$self = this, result, isDependency, url, t2, t1;
69087 var $async$_async_evaluate0$_importLikeNode$2 = 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 = $async$self._async_evaluate0$_nodeImporter;
69095 t1.toString;
69096 result = t1.loadRelative$3(originalUrl, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url, forImport);
69097 $async$goto = result != null ? 3 : 5;
69098 break;
69099 case 3:
69100 // then
69101 isDependency = $async$self._async_evaluate0$_inDependency;
69102 // goto join
69103 $async$goto = 4;
69104 break;
69105 case 5:
69106 // else
69107 $async$goto = 6;
69108 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);
69109 case 6:
69110 // returning from await.
69111 result = $async$result;
69112 if (result == null) {
69113 $async$returnValue = null;
69114 // goto return
69115 $async$goto = 1;
69116 break;
69117 }
69118 isDependency = true;
69119 case 4:
69120 // join
69121 url = result.item2;
69122 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS0;
69123 t2 = $async$self._async_evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : $async$self._async_evaluate0$_logger;
69124 $async$returnValue = new A._LoadedStylesheet2(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
69125 // goto return
69126 $async$goto = 1;
69127 break;
69128 case 1:
69129 // return
69130 return A._asyncReturn($async$returnValue, $async$completer);
69131 }
69132 });
69133 return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$2, $async$completer);
69134 },
69135 _async_evaluate0$_visitStaticImport$1($import) {
69136 return this._visitStaticImport$body$_EvaluateVisitor0($import);
69137 },
69138 _visitStaticImport$body$_EvaluateVisitor0($import) {
69139 var $async$goto = 0,
69140 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
69141 $async$self = this, t1, url, supports, node, $async$temp1, $async$temp2, $async$temp3;
69142 var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69143 if ($async$errorCode === 1)
69144 return A._asyncRethrow($async$result, $async$completer);
69145 while (true)
69146 switch ($async$goto) {
69147 case 0:
69148 // Function start
69149 $async$goto = 2;
69150 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
69151 case 2:
69152 // returning from await.
69153 url = $async$result;
69154 $async$goto = 3;
69155 return A._asyncAwait(A.NullableExtension_andThen0($import.supports, new A._EvaluateVisitor__visitStaticImport_closure2($async$self)), $async$_async_evaluate0$_visitStaticImport$1);
69156 case 3:
69157 // returning from await.
69158 supports = $async$result;
69159 $async$temp1 = A;
69160 $async$temp2 = url;
69161 $async$temp3 = $import.span;
69162 $async$goto = 4;
69163 return A._asyncAwait(A.NullableExtension_andThen0($import.media, $async$self.get$_async_evaluate0$_visitMediaQueries()), $async$_async_evaluate0$_visitStaticImport$1);
69164 case 4:
69165 // returning from await.
69166 node = $async$temp1.ModifiableCssImport$0($async$temp2, $async$temp3, $async$result, supports);
69167 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"))
69168 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
69169 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)) {
69170 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
69171 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
69172 } else {
69173 t1 = $async$self._async_evaluate0$_outOfOrderImports;
69174 (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
69175 }
69176 // implicit return
69177 return A._asyncReturn(null, $async$completer);
69178 }
69179 });
69180 return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
69181 },
69182 visitIncludeRule$1(node) {
69183 return this.visitIncludeRule$body$_EvaluateVisitor0(node);
69184 },
69185 visitIncludeRule$body$_EvaluateVisitor0(node) {
69186 var $async$goto = 0,
69187 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69188 $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
69189 var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69190 if ($async$errorCode === 1)
69191 return A._asyncRethrow($async$result, $async$completer);
69192 while (true)
69193 switch ($async$goto) {
69194 case 0:
69195 // Function start
69196 mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure11($async$self, node));
69197 if (mixin == null)
69198 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", node.span));
69199 nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure12(node));
69200 $async$goto = type$.AsyncBuiltInCallable_2._is(mixin) ? 3 : 5;
69201 break;
69202 case 3:
69203 // then
69204 if (node.content != null)
69205 throw A.wrapException($async$self._async_evaluate0$_exception$2("Mixin doesn't accept a content block.", node.span));
69206 $async$goto = 6;
69207 return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
69208 case 6:
69209 // returning from await.
69210 // goto join
69211 $async$goto = 4;
69212 break;
69213 case 5:
69214 // else
69215 $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin) ? 7 : 9;
69216 break;
69217 case 7:
69218 // then
69219 t1 = node.content;
69220 if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
69221 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())));
69222 $async$goto = 10;
69223 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);
69224 case 10:
69225 // returning from await.
69226 // goto join
69227 $async$goto = 8;
69228 break;
69229 case 9:
69230 // else
69231 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
69232 case 8:
69233 // join
69234 case 4:
69235 // join
69236 $async$returnValue = null;
69237 // goto return
69238 $async$goto = 1;
69239 break;
69240 case 1:
69241 // return
69242 return A._asyncReturn($async$returnValue, $async$completer);
69243 }
69244 });
69245 return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
69246 },
69247 visitMixinRule$1(node) {
69248 return this.visitMixinRule$body$_EvaluateVisitor0(node);
69249 },
69250 visitMixinRule$body$_EvaluateVisitor0(node) {
69251 var $async$goto = 0,
69252 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69253 $async$returnValue, $async$self = this, t1, t2, t3, index, t4;
69254 var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69255 if ($async$errorCode === 1)
69256 return A._asyncRethrow($async$result, $async$completer);
69257 while (true)
69258 switch ($async$goto) {
69259 case 0:
69260 // Function start
69261 t1 = $async$self._async_evaluate0$_environment;
69262 t2 = t1.closure$0();
69263 t3 = t1._async_environment0$_mixins;
69264 index = t3.length - 1;
69265 t4 = node.name;
69266 t1._async_environment0$_mixinIndices.$indexSet(0, t4, index);
69267 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable0(node, t2, type$.UserDefinedCallable_AsyncEnvironment_2));
69268 $async$returnValue = null;
69269 // goto return
69270 $async$goto = 1;
69271 break;
69272 case 1:
69273 // return
69274 return A._asyncReturn($async$returnValue, $async$completer);
69275 }
69276 });
69277 return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
69278 },
69279 visitLoudComment$1(node) {
69280 return this.visitLoudComment$body$_EvaluateVisitor0(node);
69281 },
69282 visitLoudComment$body$_EvaluateVisitor0(node) {
69283 var $async$goto = 0,
69284 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69285 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
69286 var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69287 if ($async$errorCode === 1)
69288 return A._asyncRethrow($async$result, $async$completer);
69289 while (true)
69290 switch ($async$goto) {
69291 case 0:
69292 // Function start
69293 if ($async$self._async_evaluate0$_inFunction) {
69294 $async$returnValue = null;
69295 // goto return
69296 $async$goto = 1;
69297 break;
69298 }
69299 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))
69300 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
69301 t1 = node.text;
69302 $async$temp1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
69303 $async$temp2 = A;
69304 $async$goto = 3;
69305 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
69306 case 3:
69307 // returning from await.
69308 $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment0($async$result, t1.span));
69309 $async$returnValue = null;
69310 // goto return
69311 $async$goto = 1;
69312 break;
69313 case 1:
69314 // return
69315 return A._asyncReturn($async$returnValue, $async$completer);
69316 }
69317 });
69318 return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
69319 },
69320 visitMediaRule$1(node) {
69321 return this.visitMediaRule$body$_EvaluateVisitor0(node);
69322 },
69323 visitMediaRule$body$_EvaluateVisitor0(node) {
69324 var $async$goto = 0,
69325 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69326 $async$returnValue, $async$self = this, queries, mergedQueries, t1;
69327 var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69328 if ($async$errorCode === 1)
69329 return A._asyncRethrow($async$result, $async$completer);
69330 while (true)
69331 switch ($async$goto) {
69332 case 0:
69333 // Function start
69334 if ($async$self._async_evaluate0$_declarationName != null)
69335 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
69336 $async$goto = 3;
69337 return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
69338 case 3:
69339 // returning from await.
69340 queries = $async$result;
69341 mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
69342 t1 = mergedQueries == null;
69343 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
69344 $async$returnValue = null;
69345 // goto return
69346 $async$goto = 1;
69347 break;
69348 }
69349 t1 = t1 ? queries : mergedQueries;
69350 $async$goto = 4;
69351 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);
69352 case 4:
69353 // returning from await.
69354 $async$returnValue = null;
69355 // goto return
69356 $async$goto = 1;
69357 break;
69358 case 1:
69359 // return
69360 return A._asyncReturn($async$returnValue, $async$completer);
69361 }
69362 });
69363 return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
69364 },
69365 _async_evaluate0$_visitMediaQueries$1(interpolation) {
69366 return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
69367 },
69368 _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
69369 var $async$goto = 0,
69370 $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
69371 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
69372 var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69373 if ($async$errorCode === 1)
69374 return A._asyncRethrow($async$result, $async$completer);
69375 while (true)
69376 switch ($async$goto) {
69377 case 0:
69378 // Function start
69379 $async$temp1 = interpolation;
69380 $async$temp2 = A;
69381 $async$goto = 3;
69382 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
69383 case 3:
69384 // returning from await.
69385 $async$returnValue = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure2($async$self, $async$result));
69386 // goto return
69387 $async$goto = 1;
69388 break;
69389 case 1:
69390 // return
69391 return A._asyncReturn($async$returnValue, $async$completer);
69392 }
69393 });
69394 return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
69395 },
69396 _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
69397 var t1, t2, t3, t4, t5, result,
69398 queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
69399 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
69400 t4 = t1.get$current(t1);
69401 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
69402 result = t4.merge$1(t5.get$current(t5));
69403 if (result === B._SingletonCssMediaQueryMergeResult_empty0)
69404 continue;
69405 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
69406 return null;
69407 queries.push(t3._as(result).query);
69408 }
69409 }
69410 return queries;
69411 },
69412 visitReturnRule$1(node) {
69413 return this.visitReturnRule$body$_EvaluateVisitor0(node);
69414 },
69415 visitReturnRule$body$_EvaluateVisitor0(node) {
69416 var $async$goto = 0,
69417 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
69418 $async$returnValue, $async$self = this, t1;
69419 var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69420 if ($async$errorCode === 1)
69421 return A._asyncRethrow($async$result, $async$completer);
69422 while (true)
69423 switch ($async$goto) {
69424 case 0:
69425 // Function start
69426 t1 = node.expression;
69427 $async$goto = 3;
69428 return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
69429 case 3:
69430 // returning from await.
69431 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
69432 // goto return
69433 $async$goto = 1;
69434 break;
69435 case 1:
69436 // return
69437 return A._asyncReturn($async$returnValue, $async$completer);
69438 }
69439 });
69440 return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
69441 },
69442 visitSilentComment$1(node) {
69443 return this.visitSilentComment$body$_EvaluateVisitor0(node);
69444 },
69445 visitSilentComment$body$_EvaluateVisitor0(node) {
69446 var $async$goto = 0,
69447 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69448 $async$returnValue;
69449 var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69450 if ($async$errorCode === 1)
69451 return A._asyncRethrow($async$result, $async$completer);
69452 while (true)
69453 switch ($async$goto) {
69454 case 0:
69455 // Function start
69456 $async$returnValue = null;
69457 // goto return
69458 $async$goto = 1;
69459 break;
69460 case 1:
69461 // return
69462 return A._asyncReturn($async$returnValue, $async$completer);
69463 }
69464 });
69465 return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
69466 },
69467 visitStyleRule$1(node) {
69468 return this.visitStyleRule$body$_EvaluateVisitor0(node);
69469 },
69470 visitStyleRule$body$_EvaluateVisitor0(node) {
69471 var $async$goto = 0,
69472 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69473 $async$returnValue, $async$self = this, t2, selectorText, rule, oldAtRootExcludingStyleRule, t1;
69474 var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69475 if ($async$errorCode === 1)
69476 return A._asyncRethrow($async$result, $async$completer);
69477 while (true)
69478 switch ($async$goto) {
69479 case 0:
69480 // Function start
69481 t1 = {};
69482 if ($async$self._async_evaluate0$_declarationName != null)
69483 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
69484 t2 = node.selector;
69485 $async$goto = 3;
69486 return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$3$trim$warnForColor(t2, true, true), $async$visitStyleRule$1);
69487 case 3:
69488 // returning from await.
69489 selectorText = $async$result;
69490 $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
69491 break;
69492 case 4:
69493 // then
69494 $async$goto = 6;
69495 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);
69496 case 6:
69497 // returning from await.
69498 $async$returnValue = null;
69499 // goto return
69500 $async$goto = 1;
69501 break;
69502 case 5:
69503 // join
69504 t1.parsedSelector = $async$self._async_evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure23($async$self, selectorText));
69505 t1.parsedSelector = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure24(t1, $async$self));
69506 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);
69507 oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
69508 t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
69509 $async$goto = 7;
69510 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);
69511 case 7:
69512 // returning from await.
69513 $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
69514 if ((oldAtRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
69515 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
69516 t1 = !t1.get$isEmpty(t1);
69517 }
69518 if (t1) {
69519 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
69520 t1.get$last(t1).isGroupEnd = true;
69521 }
69522 $async$returnValue = null;
69523 // goto return
69524 $async$goto = 1;
69525 break;
69526 case 1:
69527 // return
69528 return A._asyncReturn($async$returnValue, $async$completer);
69529 }
69530 });
69531 return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
69532 },
69533 visitSupportsRule$1(node) {
69534 return this.visitSupportsRule$body$_EvaluateVisitor0(node);
69535 },
69536 visitSupportsRule$body$_EvaluateVisitor0(node) {
69537 var $async$goto = 0,
69538 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69539 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
69540 var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69541 if ($async$errorCode === 1)
69542 return A._asyncRethrow($async$result, $async$completer);
69543 while (true)
69544 switch ($async$goto) {
69545 case 0:
69546 // Function start
69547 if ($async$self._async_evaluate0$_declarationName != null)
69548 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
69549 t1 = node.condition;
69550 $async$temp1 = A;
69551 $async$temp2 = A;
69552 $async$goto = 4;
69553 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
69554 case 4:
69555 // returning from await.
69556 $async$goto = 3;
69557 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);
69558 case 3:
69559 // returning from await.
69560 $async$returnValue = null;
69561 // goto return
69562 $async$goto = 1;
69563 break;
69564 case 1:
69565 // return
69566 return A._asyncReturn($async$returnValue, $async$completer);
69567 }
69568 });
69569 return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
69570 },
69571 _async_evaluate0$_visitSupportsCondition$1(condition) {
69572 return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
69573 },
69574 _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
69575 var $async$goto = 0,
69576 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
69577 $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
69578 var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69579 if ($async$errorCode === 1)
69580 return A._asyncRethrow($async$result, $async$completer);
69581 while (true)
69582 switch ($async$goto) {
69583 case 0:
69584 // Function start
69585 $async$goto = condition instanceof A.SupportsOperation0 ? 3 : 5;
69586 break;
69587 case 3:
69588 // then
69589 t1 = condition.operator;
69590 $async$temp1 = A;
69591 $async$goto = 6;
69592 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
69593 case 6:
69594 // returning from await.
69595 $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
69596 $async$temp2 = A;
69597 $async$goto = 7;
69598 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
69599 case 7:
69600 // returning from await.
69601 $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
69602 // goto return
69603 $async$goto = 1;
69604 break;
69605 // goto join
69606 $async$goto = 4;
69607 break;
69608 case 5:
69609 // else
69610 $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 10;
69611 break;
69612 case 8:
69613 // then
69614 $async$temp1 = A;
69615 $async$goto = 11;
69616 return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
69617 case 11:
69618 // returning from await.
69619 $async$returnValue = "not " + $async$temp1.S($async$result);
69620 // goto return
69621 $async$goto = 1;
69622 break;
69623 // goto join
69624 $async$goto = 9;
69625 break;
69626 case 10:
69627 // else
69628 $async$goto = condition instanceof A.SupportsInterpolation0 ? 12 : 14;
69629 break;
69630 case 12:
69631 // then
69632 $async$goto = 15;
69633 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
69634 case 15:
69635 // returning from await.
69636 $async$returnValue = $async$result;
69637 // goto return
69638 $async$goto = 1;
69639 break;
69640 // goto join
69641 $async$goto = 13;
69642 break;
69643 case 14:
69644 // else
69645 $async$goto = condition instanceof A.SupportsDeclaration0 ? 16 : 18;
69646 break;
69647 case 16:
69648 // then
69649 $async$temp1 = A;
69650 $async$goto = 19;
69651 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
69652 case 19:
69653 // returning from await.
69654 t1 = "(" + $async$temp1.S($async$result) + ":";
69655 $async$temp1 = t1 + (condition.get$isCustomProperty() ? "" : " ");
69656 $async$temp2 = A;
69657 $async$goto = 20;
69658 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.value), $async$_async_evaluate0$_visitSupportsCondition$1);
69659 case 20:
69660 // returning from await.
69661 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
69662 // goto return
69663 $async$goto = 1;
69664 break;
69665 // goto join
69666 $async$goto = 17;
69667 break;
69668 case 18:
69669 // else
69670 $async$goto = condition instanceof A.SupportsFunction0 ? 21 : 23;
69671 break;
69672 case 21:
69673 // then
69674 $async$temp1 = A;
69675 $async$goto = 24;
69676 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
69677 case 24:
69678 // returning from await.
69679 $async$temp1 = $async$temp1.S($async$result) + "(";
69680 $async$temp2 = A;
69681 $async$goto = 25;
69682 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
69683 case 25:
69684 // returning from await.
69685 $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
69686 // goto return
69687 $async$goto = 1;
69688 break;
69689 // goto join
69690 $async$goto = 22;
69691 break;
69692 case 23:
69693 // else
69694 $async$goto = condition instanceof A.SupportsAnything0 ? 26 : 28;
69695 break;
69696 case 26:
69697 // then
69698 $async$temp1 = A;
69699 $async$goto = 29;
69700 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
69701 case 29:
69702 // returning from await.
69703 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
69704 // goto return
69705 $async$goto = 1;
69706 break;
69707 // goto join
69708 $async$goto = 27;
69709 break;
69710 case 28:
69711 // else
69712 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
69713 case 27:
69714 // join
69715 case 22:
69716 // join
69717 case 17:
69718 // join
69719 case 13:
69720 // join
69721 case 9:
69722 // join
69723 case 4:
69724 // join
69725 case 1:
69726 // return
69727 return A._asyncReturn($async$returnValue, $async$completer);
69728 }
69729 });
69730 return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
69731 },
69732 _async_evaluate0$_parenthesize$2(condition, operator) {
69733 return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
69734 },
69735 _async_evaluate0$_parenthesize$1(condition) {
69736 return this._async_evaluate0$_parenthesize$2(condition, null);
69737 },
69738 _parenthesize$body$_EvaluateVisitor0(condition, operator) {
69739 var $async$goto = 0,
69740 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
69741 $async$returnValue, $async$self = this, t1, $async$temp1;
69742 var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69743 if ($async$errorCode === 1)
69744 return A._asyncRethrow($async$result, $async$completer);
69745 while (true)
69746 switch ($async$goto) {
69747 case 0:
69748 // Function start
69749 if (!(condition instanceof A.SupportsNegation0))
69750 if (condition instanceof A.SupportsOperation0)
69751 t1 = operator == null || operator !== condition.operator;
69752 else
69753 t1 = false;
69754 else
69755 t1 = true;
69756 $async$goto = t1 ? 3 : 5;
69757 break;
69758 case 3:
69759 // then
69760 $async$temp1 = A;
69761 $async$goto = 6;
69762 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
69763 case 6:
69764 // returning from await.
69765 $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
69766 // goto return
69767 $async$goto = 1;
69768 break;
69769 // goto join
69770 $async$goto = 4;
69771 break;
69772 case 5:
69773 // else
69774 $async$goto = 7;
69775 return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
69776 case 7:
69777 // returning from await.
69778 $async$returnValue = $async$result;
69779 // goto return
69780 $async$goto = 1;
69781 break;
69782 case 4:
69783 // join
69784 case 1:
69785 // return
69786 return A._asyncReturn($async$returnValue, $async$completer);
69787 }
69788 });
69789 return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
69790 },
69791 visitVariableDeclaration$1(node) {
69792 return this.visitVariableDeclaration$body$_EvaluateVisitor0(node);
69793 },
69794 visitVariableDeclaration$body$_EvaluateVisitor0(node) {
69795 var $async$goto = 0,
69796 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69797 $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
69798 var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69799 if ($async$errorCode === 1)
69800 return A._asyncRethrow($async$result, $async$completer);
69801 while (true)
69802 switch ($async$goto) {
69803 case 0:
69804 // Function start
69805 if (node.isGuarded) {
69806 if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
69807 t1 = $async$self._async_evaluate0$_configuration._configuration$_values;
69808 t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
69809 if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
69810 $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8($async$self, node, t1));
69811 $async$returnValue = null;
69812 // goto return
69813 $async$goto = 1;
69814 break;
69815 }
69816 }
69817 value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
69818 if (value != null && !value.$eq(0, B.C__SassNull0)) {
69819 $async$returnValue = null;
69820 // goto return
69821 $async$goto = 1;
69822 break;
69823 }
69824 }
69825 if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
69826 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.";
69827 $async$self._async_evaluate0$_warn$3$deprecation(t1, node.span, true);
69828 }
69829 t1 = node.expression;
69830 $async$temp1 = node;
69831 $async$temp2 = A;
69832 $async$temp3 = node;
69833 $async$goto = 3;
69834 return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
69835 case 3:
69836 // returning from await.
69837 $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)));
69838 $async$returnValue = null;
69839 // goto return
69840 $async$goto = 1;
69841 break;
69842 case 1:
69843 // return
69844 return A._asyncReturn($async$returnValue, $async$completer);
69845 }
69846 });
69847 return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
69848 },
69849 visitUseRule$1(node) {
69850 return this.visitUseRule$body$_EvaluateVisitor0(node);
69851 },
69852 visitUseRule$body$_EvaluateVisitor0(node) {
69853 var $async$goto = 0,
69854 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69855 $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
69856 var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69857 if ($async$errorCode === 1)
69858 return A._asyncRethrow($async$result, $async$completer);
69859 while (true)
69860 switch ($async$goto) {
69861 case 0:
69862 // Function start
69863 t1 = node.configuration;
69864 t2 = t1.length;
69865 $async$goto = t2 !== 0 ? 3 : 5;
69866 break;
69867 case 3:
69868 // then
69869 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
69870 _i = 0;
69871 case 6:
69872 // for condition
69873 if (!(_i < t2)) {
69874 // goto after for
69875 $async$goto = 8;
69876 break;
69877 }
69878 variable = t1[_i];
69879 t3 = variable.expression;
69880 variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t3);
69881 $async$temp1 = values;
69882 $async$temp2 = variable.name;
69883 $async$temp3 = A;
69884 $async$goto = 9;
69885 return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
69886 case 9:
69887 // returning from await.
69888 $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
69889 case 7:
69890 // for update
69891 ++_i;
69892 // goto for condition
69893 $async$goto = 6;
69894 break;
69895 case 8:
69896 // after for
69897 configuration = new A.ExplicitConfiguration0(node, values);
69898 // goto join
69899 $async$goto = 4;
69900 break;
69901 case 5:
69902 // else
69903 configuration = B.Configuration_Map_empty0;
69904 case 4:
69905 // join
69906 $async$goto = 10;
69907 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);
69908 case 10:
69909 // returning from await.
69910 $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
69911 $async$returnValue = null;
69912 // goto return
69913 $async$goto = 1;
69914 break;
69915 case 1:
69916 // return
69917 return A._asyncReturn($async$returnValue, $async$completer);
69918 }
69919 });
69920 return A._asyncStartSync($async$visitUseRule$1, $async$completer);
69921 },
69922 visitWarnRule$1(node) {
69923 return this.visitWarnRule$body$_EvaluateVisitor0(node);
69924 },
69925 visitWarnRule$body$_EvaluateVisitor0(node) {
69926 var $async$goto = 0,
69927 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
69928 $async$returnValue, $async$self = this, value, t1;
69929 var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69930 if ($async$errorCode === 1)
69931 return A._asyncRethrow($async$result, $async$completer);
69932 while (true)
69933 switch ($async$goto) {
69934 case 0:
69935 // Function start
69936 $async$goto = 3;
69937 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);
69938 case 3:
69939 // returning from await.
69940 value = $async$result;
69941 t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
69942 $async$self._async_evaluate0$_logger.warn$2$trace(0, t1, $async$self._async_evaluate0$_stackTrace$1(node.span));
69943 $async$returnValue = null;
69944 // goto return
69945 $async$goto = 1;
69946 break;
69947 case 1:
69948 // return
69949 return A._asyncReturn($async$returnValue, $async$completer);
69950 }
69951 });
69952 return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
69953 },
69954 visitWhileRule$1(node) {
69955 return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
69956 },
69957 visitBinaryOperationExpression$1(node) {
69958 return this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(this, node), type$.Value_2);
69959 },
69960 visitValueExpression$1(node) {
69961 return this.visitValueExpression$body$_EvaluateVisitor0(node);
69962 },
69963 visitValueExpression$body$_EvaluateVisitor0(node) {
69964 var $async$goto = 0,
69965 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
69966 $async$returnValue;
69967 var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69968 if ($async$errorCode === 1)
69969 return A._asyncRethrow($async$result, $async$completer);
69970 while (true)
69971 switch ($async$goto) {
69972 case 0:
69973 // Function start
69974 $async$returnValue = node.value;
69975 // goto return
69976 $async$goto = 1;
69977 break;
69978 case 1:
69979 // return
69980 return A._asyncReturn($async$returnValue, $async$completer);
69981 }
69982 });
69983 return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
69984 },
69985 visitVariableExpression$1(node) {
69986 return this.visitVariableExpression$body$_EvaluateVisitor0(node);
69987 },
69988 visitVariableExpression$body$_EvaluateVisitor0(node) {
69989 var $async$goto = 0,
69990 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
69991 $async$returnValue, $async$self = this, result;
69992 var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
69993 if ($async$errorCode === 1)
69994 return A._asyncRethrow($async$result, $async$completer);
69995 while (true)
69996 switch ($async$goto) {
69997 case 0:
69998 // Function start
69999 result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
70000 if (result != null) {
70001 $async$returnValue = result;
70002 // goto return
70003 $async$goto = 1;
70004 break;
70005 }
70006 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
70007 case 1:
70008 // return
70009 return A._asyncReturn($async$returnValue, $async$completer);
70010 }
70011 });
70012 return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
70013 },
70014 visitUnaryOperationExpression$1(node) {
70015 return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(node);
70016 },
70017 visitUnaryOperationExpression$body$_EvaluateVisitor0(node) {
70018 var $async$goto = 0,
70019 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70020 $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
70021 var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70022 if ($async$errorCode === 1)
70023 return A._asyncRethrow($async$result, $async$completer);
70024 while (true)
70025 switch ($async$goto) {
70026 case 0:
70027 // Function start
70028 $async$temp1 = node;
70029 $async$temp2 = A;
70030 $async$temp3 = node;
70031 $async$goto = 3;
70032 return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
70033 case 3:
70034 // returning from await.
70035 $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
70036 // goto return
70037 $async$goto = 1;
70038 break;
70039 case 1:
70040 // return
70041 return A._asyncReturn($async$returnValue, $async$completer);
70042 }
70043 });
70044 return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
70045 },
70046 visitBooleanExpression$1(node) {
70047 return this.visitBooleanExpression$body$_EvaluateVisitor0(node);
70048 },
70049 visitBooleanExpression$body$_EvaluateVisitor0(node) {
70050 var $async$goto = 0,
70051 $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
70052 $async$returnValue;
70053 var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70054 if ($async$errorCode === 1)
70055 return A._asyncRethrow($async$result, $async$completer);
70056 while (true)
70057 switch ($async$goto) {
70058 case 0:
70059 // Function start
70060 $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
70061 // goto return
70062 $async$goto = 1;
70063 break;
70064 case 1:
70065 // return
70066 return A._asyncReturn($async$returnValue, $async$completer);
70067 }
70068 });
70069 return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
70070 },
70071 visitIfExpression$1(node) {
70072 return this.visitIfExpression$body$_EvaluateVisitor0(node);
70073 },
70074 visitIfExpression$body$_EvaluateVisitor0(node) {
70075 var $async$goto = 0,
70076 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70077 $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
70078 var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70079 if ($async$errorCode === 1)
70080 return A._asyncRethrow($async$result, $async$completer);
70081 while (true)
70082 switch ($async$goto) {
70083 case 0:
70084 // Function start
70085 $async$goto = 3;
70086 return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
70087 case 3:
70088 // returning from await.
70089 pair = $async$result;
70090 positional = pair.item1;
70091 named = pair.item2;
70092 t1 = J.getInterceptor$asx(positional);
70093 $async$self._async_evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
70094 if (t1.get$length(positional) > 0)
70095 condition = t1.$index(positional, 0);
70096 else {
70097 t2 = named.$index(0, "condition");
70098 t2.toString;
70099 condition = t2;
70100 }
70101 if (t1.get$length(positional) > 1)
70102 ifTrue = t1.$index(positional, 1);
70103 else {
70104 t2 = named.$index(0, "if-true");
70105 t2.toString;
70106 ifTrue = t2;
70107 }
70108 if (t1.get$length(positional) > 2)
70109 ifFalse = t1.$index(positional, 2);
70110 else {
70111 t1 = named.$index(0, "if-false");
70112 t1.toString;
70113 ifFalse = t1;
70114 }
70115 $async$goto = 4;
70116 return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
70117 case 4:
70118 // returning from await.
70119 result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
70120 $async$goto = 5;
70121 return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
70122 case 5:
70123 // returning from await.
70124 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
70125 // goto return
70126 $async$goto = 1;
70127 break;
70128 case 1:
70129 // return
70130 return A._asyncReturn($async$returnValue, $async$completer);
70131 }
70132 });
70133 return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
70134 },
70135 visitNullExpression$1(node) {
70136 return this.visitNullExpression$body$_EvaluateVisitor0(node);
70137 },
70138 visitNullExpression$body$_EvaluateVisitor0(node) {
70139 var $async$goto = 0,
70140 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70141 $async$returnValue;
70142 var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70143 if ($async$errorCode === 1)
70144 return A._asyncRethrow($async$result, $async$completer);
70145 while (true)
70146 switch ($async$goto) {
70147 case 0:
70148 // Function start
70149 $async$returnValue = B.C__SassNull0;
70150 // goto return
70151 $async$goto = 1;
70152 break;
70153 case 1:
70154 // return
70155 return A._asyncReturn($async$returnValue, $async$completer);
70156 }
70157 });
70158 return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
70159 },
70160 visitNumberExpression$1(node) {
70161 return this.visitNumberExpression$body$_EvaluateVisitor0(node);
70162 },
70163 visitNumberExpression$body$_EvaluateVisitor0(node) {
70164 var $async$goto = 0,
70165 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
70166 $async$returnValue, t1, t2;
70167 var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70168 if ($async$errorCode === 1)
70169 return A._asyncRethrow($async$result, $async$completer);
70170 while (true)
70171 switch ($async$goto) {
70172 case 0:
70173 // Function start
70174 t1 = node.value;
70175 t2 = node.unit;
70176 $async$returnValue = t2 == null ? new A.UnitlessSassNumber0(t1, null) : new A.SingleUnitSassNumber0(t2, t1, null);
70177 // goto return
70178 $async$goto = 1;
70179 break;
70180 case 1:
70181 // return
70182 return A._asyncReturn($async$returnValue, $async$completer);
70183 }
70184 });
70185 return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
70186 },
70187 visitParenthesizedExpression$1(node) {
70188 return node.expression.accept$1(this);
70189 },
70190 visitCalculationExpression$1(node) {
70191 return this.visitCalculationExpression$body$_EvaluateVisitor0(node);
70192 },
70193 visitCalculationExpression$body$_EvaluateVisitor0(node) {
70194 var $async$goto = 0,
70195 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70196 $async$returnValue, $async$next = [], $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
70197 var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70198 if ($async$errorCode === 1)
70199 return A._asyncRethrow($async$result, $async$completer);
70200 while (true)
70201 $async$outer:
70202 switch ($async$goto) {
70203 case 0:
70204 // Function start
70205 t1 = A._setArrayType([], type$.JSArray_Object);
70206 t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
70207 case 3:
70208 // for condition
70209 if (!(_i < t3)) {
70210 // goto after for
70211 $async$goto = 5;
70212 break;
70213 }
70214 argument = t2[_i];
70215 $async$temp1 = t1;
70216 $async$goto = 6;
70217 return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
70218 case 6:
70219 // returning from await.
70220 $async$temp1.push($async$result);
70221 case 4:
70222 // for update
70223 ++_i;
70224 // goto for condition
70225 $async$goto = 3;
70226 break;
70227 case 5:
70228 // after for
70229 $arguments = t1;
70230 try {
70231 switch (t4) {
70232 case "calc":
70233 t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
70234 $async$returnValue = t1;
70235 // goto return
70236 $async$goto = 1;
70237 break $async$outer;
70238 case "min":
70239 t1 = A.SassCalculation_min0($arguments);
70240 $async$returnValue = t1;
70241 // goto return
70242 $async$goto = 1;
70243 break $async$outer;
70244 case "max":
70245 t1 = A.SassCalculation_max0($arguments);
70246 $async$returnValue = t1;
70247 // goto return
70248 $async$goto = 1;
70249 break $async$outer;
70250 case "clamp":
70251 t1 = J.$index$asx($arguments, 0);
70252 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
70253 t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
70254 $async$returnValue = t1;
70255 // goto return
70256 $async$goto = 1;
70257 break $async$outer;
70258 default:
70259 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
70260 throw A.wrapException(t1);
70261 }
70262 } catch (exception) {
70263 t1 = A.unwrapException(exception);
70264 if (t1 instanceof A.SassScriptException0) {
70265 error = t1;
70266 stackTrace = A.getTraceFromException(exception);
70267 $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
70268 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), stackTrace);
70269 } else
70270 throw exception;
70271 }
70272 case 1:
70273 // return
70274 return A._asyncReturn($async$returnValue, $async$completer);
70275 }
70276 });
70277 return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
70278 },
70279 _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
70280 var i, t1, arg, number1, j, number2;
70281 for (i = 0; t1 = args.length, i < t1; ++i) {
70282 arg = args[i];
70283 if (!(arg instanceof A.SassNumber0))
70284 continue;
70285 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
70286 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])));
70287 }
70288 for (i = 0; i < t1 - 1; ++i) {
70289 number1 = args[i];
70290 if (!(number1 instanceof A.SassNumber0))
70291 continue;
70292 for (j = i + 1; t1 = args.length, j < t1; ++j) {
70293 number2 = args[j];
70294 if (!(number2 instanceof A.SassNumber0))
70295 continue;
70296 if (number1.hasPossiblyCompatibleUnits$1(number2))
70297 continue;
70298 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]))));
70299 }
70300 }
70301 },
70302 _async_evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
70303 return this._visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax);
70304 },
70305 _visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax) {
70306 var $async$goto = 0,
70307 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
70308 $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
70309 var $async$_async_evaluate0$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70310 if ($async$errorCode === 1)
70311 return A._asyncRethrow($async$result, $async$completer);
70312 while (true)
70313 switch ($async$goto) {
70314 case 0:
70315 // Function start
70316 $async$goto = node instanceof A.ParenthesizedExpression0 ? 3 : 5;
70317 break;
70318 case 3:
70319 // then
70320 inner = node.expression;
70321 $async$goto = 6;
70322 return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70323 case 6:
70324 // returning from await.
70325 result = $async$result;
70326 if (inner instanceof A.FunctionExpression0)
70327 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
70328 else
70329 t1 = false;
70330 $async$returnValue = t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
70331 // goto return
70332 $async$goto = 1;
70333 break;
70334 // goto join
70335 $async$goto = 4;
70336 break;
70337 case 5:
70338 // else
70339 $async$goto = node instanceof A.StringExpression0 ? 7 : 9;
70340 break;
70341 case 7:
70342 // then
70343 $async$temp1 = A;
70344 $async$goto = 10;
70345 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.text), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70346 case 10:
70347 // returning from await.
70348 $async$returnValue = new $async$temp1.CalculationInterpolation0($async$result);
70349 // goto return
70350 $async$goto = 1;
70351 break;
70352 // goto join
70353 $async$goto = 8;
70354 break;
70355 case 9:
70356 // else
70357 $async$goto = node instanceof A.BinaryOperationExpression0 ? 11 : 13;
70358 break;
70359 case 11:
70360 // then
70361 $async$goto = 14;
70362 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);
70363 case 14:
70364 // returning from await.
70365 $async$returnValue = $async$result;
70366 // goto return
70367 $async$goto = 1;
70368 break;
70369 // goto join
70370 $async$goto = 12;
70371 break;
70372 case 13:
70373 // else
70374 $async$goto = 15;
70375 return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
70376 case 15:
70377 // returning from await.
70378 result = $async$result;
70379 if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0) {
70380 $async$returnValue = result;
70381 // goto return
70382 $async$goto = 1;
70383 break;
70384 }
70385 if (result instanceof A.SassString0 && !result._string0$_hasQuotes) {
70386 $async$returnValue = result;
70387 // goto return
70388 $async$goto = 1;
70389 break;
70390 }
70391 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)));
70392 case 12:
70393 // join
70394 case 8:
70395 // join
70396 case 4:
70397 // join
70398 case 1:
70399 // return
70400 return A._asyncReturn($async$returnValue, $async$completer);
70401 }
70402 });
70403 return A._asyncStartSync($async$_async_evaluate0$_visitCalculationValue$2$inMinMax, $async$completer);
70404 },
70405 _async_evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
70406 switch (operator) {
70407 case B.BinaryOperator_AcR2:
70408 return B.CalculationOperator_Iem0;
70409 case B.BinaryOperator_iyO0:
70410 return B.CalculationOperator_uti0;
70411 case B.BinaryOperator_O1M0:
70412 return B.CalculationOperator_Dih0;
70413 case B.BinaryOperator_RTB0:
70414 return B.CalculationOperator_jB60;
70415 default:
70416 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
70417 }
70418 },
70419 visitColorExpression$1(node) {
70420 return this.visitColorExpression$body$_EvaluateVisitor0(node);
70421 },
70422 visitColorExpression$body$_EvaluateVisitor0(node) {
70423 var $async$goto = 0,
70424 $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
70425 $async$returnValue;
70426 var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70427 if ($async$errorCode === 1)
70428 return A._asyncRethrow($async$result, $async$completer);
70429 while (true)
70430 switch ($async$goto) {
70431 case 0:
70432 // Function start
70433 $async$returnValue = node.value;
70434 // goto return
70435 $async$goto = 1;
70436 break;
70437 case 1:
70438 // return
70439 return A._asyncReturn($async$returnValue, $async$completer);
70440 }
70441 });
70442 return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
70443 },
70444 visitListExpression$1(node) {
70445 return this.visitListExpression$body$_EvaluateVisitor0(node);
70446 },
70447 visitListExpression$body$_EvaluateVisitor0(node) {
70448 var $async$goto = 0,
70449 $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
70450 $async$returnValue, $async$self = this, $async$temp1;
70451 var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70452 if ($async$errorCode === 1)
70453 return A._asyncRethrow($async$result, $async$completer);
70454 while (true)
70455 switch ($async$goto) {
70456 case 0:
70457 // Function start
70458 $async$temp1 = A;
70459 $async$goto = 3;
70460 return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
70461 case 3:
70462 // returning from await.
70463 $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
70464 // goto return
70465 $async$goto = 1;
70466 break;
70467 case 1:
70468 // return
70469 return A._asyncReturn($async$returnValue, $async$completer);
70470 }
70471 });
70472 return A._asyncStartSync($async$visitListExpression$1, $async$completer);
70473 },
70474 visitMapExpression$1(node) {
70475 return this.visitMapExpression$body$_EvaluateVisitor0(node);
70476 },
70477 visitMapExpression$body$_EvaluateVisitor0(node) {
70478 var $async$goto = 0,
70479 $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
70480 $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
70481 var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70482 if ($async$errorCode === 1)
70483 return A._asyncRethrow($async$result, $async$completer);
70484 while (true)
70485 switch ($async$goto) {
70486 case 0:
70487 // Function start
70488 t1 = type$.Value_2;
70489 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
70490 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
70491 t2 = node.pairs, t3 = t2.length, _i = 0;
70492 case 3:
70493 // for condition
70494 if (!(_i < t3)) {
70495 // goto after for
70496 $async$goto = 5;
70497 break;
70498 }
70499 pair = t2[_i];
70500 t4 = pair.item1;
70501 $async$goto = 6;
70502 return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
70503 case 6:
70504 // returning from await.
70505 keyValue = $async$result;
70506 $async$goto = 7;
70507 return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
70508 case 7:
70509 // returning from await.
70510 valueValue = $async$result;
70511 if (map.$index(0, keyValue) != null) {
70512 t1 = keyNodes.$index(0, keyValue);
70513 oldValueSpan = t1 == null ? null : t1.get$span(t1);
70514 t1 = J.getInterceptor$z(t4);
70515 t2 = t1.get$span(t4);
70516 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
70517 if (oldValueSpan != null)
70518 t3.$indexSet(0, oldValueSpan, "first key");
70519 throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate0$_stackTrace$1(t1.get$span(t4))));
70520 }
70521 map.$indexSet(0, keyValue, valueValue);
70522 keyNodes.$indexSet(0, keyValue, t4);
70523 case 4:
70524 // for update
70525 ++_i;
70526 // goto for condition
70527 $async$goto = 3;
70528 break;
70529 case 5:
70530 // after for
70531 $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
70532 // goto return
70533 $async$goto = 1;
70534 break;
70535 case 1:
70536 // return
70537 return A._asyncReturn($async$returnValue, $async$completer);
70538 }
70539 });
70540 return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
70541 },
70542 visitFunctionExpression$1(node) {
70543 return this.visitFunctionExpression$body$_EvaluateVisitor0(node);
70544 },
70545 visitFunctionExpression$body$_EvaluateVisitor0(node) {
70546 var $async$goto = 0,
70547 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70548 $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
70549 var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70550 if ($async$errorCode === 1)
70551 return A._asyncRethrow($async$result, $async$completer);
70552 while (true)
70553 switch ($async$goto) {
70554 case 0:
70555 // Function start
70556 t1 = {};
70557 $function = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5($async$self, node));
70558 t1.$function = $function;
70559 if ($function == null) {
70560 if (node.namespace != null)
70561 throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
70562 t1.$function = new A.PlainCssCallable0(node.originalName);
70563 }
70564 oldInFunction = $async$self._async_evaluate0$_inFunction;
70565 $async$self._async_evaluate0$_inFunction = true;
70566 $async$goto = 3;
70567 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);
70568 case 3:
70569 // returning from await.
70570 result = $async$result;
70571 $async$self._async_evaluate0$_inFunction = oldInFunction;
70572 $async$returnValue = result;
70573 // goto return
70574 $async$goto = 1;
70575 break;
70576 case 1:
70577 // return
70578 return A._asyncReturn($async$returnValue, $async$completer);
70579 }
70580 });
70581 return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
70582 },
70583 visitInterpolatedFunctionExpression$1(node) {
70584 return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node);
70585 },
70586 visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node) {
70587 var $async$goto = 0,
70588 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70589 $async$returnValue, $async$self = this, result, t1, oldInFunction;
70590 var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70591 if ($async$errorCode === 1)
70592 return A._asyncRethrow($async$result, $async$completer);
70593 while (true)
70594 switch ($async$goto) {
70595 case 0:
70596 // Function start
70597 $async$goto = 3;
70598 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
70599 case 3:
70600 // returning from await.
70601 t1 = $async$result;
70602 oldInFunction = $async$self._async_evaluate0$_inFunction;
70603 $async$self._async_evaluate0$_inFunction = true;
70604 $async$goto = 4;
70605 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);
70606 case 4:
70607 // returning from await.
70608 result = $async$result;
70609 $async$self._async_evaluate0$_inFunction = oldInFunction;
70610 $async$returnValue = result;
70611 // goto return
70612 $async$goto = 1;
70613 break;
70614 case 1:
70615 // return
70616 return A._asyncReturn($async$returnValue, $async$completer);
70617 }
70618 });
70619 return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
70620 },
70621 _async_evaluate0$_getFunction$2$namespace($name, namespace) {
70622 var local = this._async_evaluate0$_environment.getFunction$2$namespace($name, namespace);
70623 if (local != null || namespace != null)
70624 return local;
70625 return this._async_evaluate0$_builtInFunctions.$index(0, $name);
70626 },
70627 _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
70628 return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
70629 },
70630 _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
70631 var $async$goto = 0,
70632 $async$completer = A._makeAsyncAwaitCompleter($async$type),
70633 $async$returnValue, $async$self = this, evaluated, $name;
70634 var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70635 if ($async$errorCode === 1)
70636 return A._asyncRethrow($async$result, $async$completer);
70637 while (true)
70638 switch ($async$goto) {
70639 case 0:
70640 // Function start
70641 $async$goto = 3;
70642 return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
70643 case 3:
70644 // returning from await.
70645 evaluated = $async$result;
70646 $name = callable.declaration.name;
70647 if ($name !== "@content")
70648 $name += "()";
70649 $async$goto = 4;
70650 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);
70651 case 4:
70652 // returning from await.
70653 $async$returnValue = $async$result;
70654 // goto return
70655 $async$goto = 1;
70656 break;
70657 case 1:
70658 // return
70659 return A._asyncReturn($async$returnValue, $async$completer);
70660 }
70661 });
70662 return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
70663 },
70664 _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
70665 return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
70666 },
70667 _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
70668 var $async$goto = 0,
70669 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70670 $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
70671 var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70672 if ($async$errorCode === 1)
70673 return A._asyncRethrow($async$result, $async$completer);
70674 while (true)
70675 switch ($async$goto) {
70676 case 0:
70677 // Function start
70678 $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
70679 break;
70680 case 3:
70681 // then
70682 $async$goto = 6;
70683 return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
70684 case 6:
70685 // returning from await.
70686 $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
70687 // goto return
70688 $async$goto = 1;
70689 break;
70690 // goto join
70691 $async$goto = 4;
70692 break;
70693 case 5:
70694 // else
70695 $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
70696 break;
70697 case 7:
70698 // then
70699 $async$goto = 10;
70700 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);
70701 case 10:
70702 // returning from await.
70703 $async$returnValue = $async$result;
70704 // goto return
70705 $async$goto = 1;
70706 break;
70707 // goto join
70708 $async$goto = 8;
70709 break;
70710 case 9:
70711 // else
70712 $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
70713 break;
70714 case 11:
70715 // then
70716 t1 = $arguments.named;
70717 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
70718 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
70719 t1 = callable.name + "(";
70720 t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
70721 case 14:
70722 // for condition
70723 if (!(_i < t3)) {
70724 // goto after for
70725 $async$goto = 16;
70726 break;
70727 }
70728 argument = t2[_i];
70729 if (first)
70730 first = false;
70731 else
70732 t1 += ", ";
70733 $async$temp1 = A;
70734 $async$goto = 17;
70735 return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
70736 case 17:
70737 // returning from await.
70738 t1 += $async$temp1.S($async$result);
70739 case 15:
70740 // for update
70741 ++_i;
70742 // goto for condition
70743 $async$goto = 14;
70744 break;
70745 case 16:
70746 // after for
70747 restArg = $arguments.rest;
70748 $async$goto = restArg != null ? 18 : 19;
70749 break;
70750 case 18:
70751 // then
70752 $async$goto = 20;
70753 return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
70754 case 20:
70755 // returning from await.
70756 rest = $async$result;
70757 if (!first)
70758 t1 += ", ";
70759 t1 += $async$self._async_evaluate0$_serialize$2(rest, restArg);
70760 case 19:
70761 // join
70762 t1 += A.Primitives_stringFromCharCode(41);
70763 $async$returnValue = new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
70764 // goto return
70765 $async$goto = 1;
70766 break;
70767 // goto join
70768 $async$goto = 12;
70769 break;
70770 case 13:
70771 // else
70772 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
70773 case 12:
70774 // join
70775 case 8:
70776 // join
70777 case 4:
70778 // join
70779 case 1:
70780 // return
70781 return A._asyncReturn($async$returnValue, $async$completer);
70782 }
70783 });
70784 return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
70785 },
70786 _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
70787 return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
70788 },
70789 _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
70790 var $async$goto = 0,
70791 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
70792 $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;
70793 var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70794 if ($async$errorCode === 1) {
70795 $async$currentError = $async$result;
70796 $async$goto = $async$handler;
70797 }
70798 while (true)
70799 switch ($async$goto) {
70800 case 0:
70801 // Function start
70802 $async$goto = 3;
70803 return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
70804 case 3:
70805 // returning from await.
70806 evaluated = $async$result;
70807 oldCallableNode = $async$self._async_evaluate0$_callableNode;
70808 $async$self._async_evaluate0$_callableNode = nodeWithSpan;
70809 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
70810 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
70811 overload = tuple.item1;
70812 callback = tuple.item2;
70813 $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(overload, evaluated, namedSet));
70814 declaredArguments = overload.$arguments;
70815 i = evaluated.positional.length, t1 = declaredArguments.length;
70816 case 4:
70817 // for condition
70818 if (!(i < t1)) {
70819 // goto after for
70820 $async$goto = 6;
70821 break;
70822 }
70823 argument = declaredArguments[i];
70824 t2 = evaluated.positional;
70825 t3 = evaluated.named.remove$1(0, argument.name);
70826 $async$goto = t3 == null ? 7 : 8;
70827 break;
70828 case 7:
70829 // then
70830 t3 = argument.defaultValue;
70831 $async$goto = 9;
70832 return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate0$_runBuiltInCallable$3);
70833 case 9:
70834 // returning from await.
70835 t3 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t3);
70836 case 8:
70837 // join
70838 t2.push(t3);
70839 case 5:
70840 // for update
70841 ++i;
70842 // goto for condition
70843 $async$goto = 4;
70844 break;
70845 case 6:
70846 // after for
70847 if (overload.restArgument != null) {
70848 if (evaluated.positional.length > t1) {
70849 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
70850 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
70851 } else
70852 rest = B.List_empty15;
70853 t1 = evaluated.named;
70854 argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : evaluated.separator);
70855 evaluated.positional.push(argumentList);
70856 } else
70857 argumentList = null;
70858 result = null;
70859 $async$handler = 11;
70860 $async$goto = 14;
70861 return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate0$_runBuiltInCallable$3);
70862 case 14:
70863 // returning from await.
70864 result = $async$result;
70865 $async$handler = 2;
70866 // goto after finally
70867 $async$goto = 13;
70868 break;
70869 case 11:
70870 // catch
70871 $async$handler = 10;
70872 $async$exception = $async$currentError;
70873 t1 = A.unwrapException($async$exception);
70874 if (type$.SassRuntimeException_2._is(t1))
70875 throw $async$exception;
70876 else if (t1 instanceof A.MultiSpanSassScriptException0) {
70877 error = t1;
70878 stackTrace = A.getTraceFromException($async$exception);
70879 t1 = error.message;
70880 t2 = nodeWithSpan.get$span(nodeWithSpan);
70881 t3 = error.primaryLabel;
70882 t4 = error.secondarySpans;
70883 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);
70884 } else if (t1 instanceof A.MultiSpanSassException0) {
70885 error0 = t1;
70886 stackTrace0 = A.getTraceFromException($async$exception);
70887 t1 = error0._span_exception$_message;
70888 t2 = error0;
70889 t3 = J.getInterceptor$z(t2);
70890 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
70891 t3 = error0.primaryLabel;
70892 t4 = error0.secondarySpans;
70893 t5 = error0;
70894 t6 = J.getInterceptor$z(t5);
70895 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);
70896 } else {
70897 error1 = t1;
70898 stackTrace1 = A.getTraceFromException($async$exception);
70899 message = null;
70900 try {
70901 message = A._asString(J.get$message$x(error1));
70902 } catch (exception) {
70903 message0 = J.toString$0$(error1);
70904 message = message0;
70905 }
70906 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
70907 }
70908 // goto after finally
70909 $async$goto = 13;
70910 break;
70911 case 10:
70912 // uncaught
70913 // goto rethrow
70914 $async$goto = 2;
70915 break;
70916 case 13:
70917 // after finally
70918 $async$self._async_evaluate0$_callableNode = oldCallableNode;
70919 if (argumentList == null) {
70920 $async$returnValue = result;
70921 // goto return
70922 $async$goto = 1;
70923 break;
70924 }
70925 t1 = evaluated.named;
70926 if (t1.get$isEmpty(t1)) {
70927 $async$returnValue = result;
70928 // goto return
70929 $async$goto = 1;
70930 break;
70931 }
70932 if (argumentList._argument_list$_wereKeywordsAccessed) {
70933 $async$returnValue = result;
70934 // goto return
70935 $async$goto = 1;
70936 break;
70937 }
70938 t1 = evaluated.named;
70939 t1 = t1.get$keys(t1);
70940 t1 = "No " + A.pluralize0("argument", t1.get$length(t1), null) + " named ";
70941 t2 = evaluated.named;
70942 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))));
70943 case 1:
70944 // return
70945 return A._asyncReturn($async$returnValue, $async$completer);
70946 case 2:
70947 // rethrow
70948 return A._asyncRethrow($async$currentError, $async$completer);
70949 }
70950 });
70951 return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
70952 },
70953 _async_evaluate0$_evaluateArguments$1($arguments) {
70954 return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
70955 },
70956 _evaluateArguments$body$_EvaluateVisitor0($arguments) {
70957 var $async$goto = 0,
70958 $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults_2),
70959 $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;
70960 var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
70961 if ($async$errorCode === 1)
70962 return A._asyncRethrow($async$result, $async$completer);
70963 while (true)
70964 switch ($async$goto) {
70965 case 0:
70966 // Function start
70967 positional = A._setArrayType([], type$.JSArray_Value_2);
70968 positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
70969 t1 = $arguments.positional, t2 = t1.length, _i = 0;
70970 case 3:
70971 // for condition
70972 if (!(_i < t2)) {
70973 // goto after for
70974 $async$goto = 5;
70975 break;
70976 }
70977 expression = t1[_i];
70978 nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
70979 $async$temp1 = positional;
70980 $async$goto = 6;
70981 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
70982 case 6:
70983 // returning from await.
70984 $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
70985 positionalNodes.push(nodeForSpan);
70986 case 4:
70987 // for update
70988 ++_i;
70989 // goto for condition
70990 $async$goto = 3;
70991 break;
70992 case 5:
70993 // after for
70994 t1 = type$.String;
70995 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
70996 t2 = type$.AstNode_2;
70997 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
70998 t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
70999 case 7:
71000 // for condition
71001 if (!t3.moveNext$0()) {
71002 // goto after for
71003 $async$goto = 8;
71004 break;
71005 }
71006 t4 = t3.get$current(t3);
71007 t5 = t4.value;
71008 nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
71009 t4 = t4.key;
71010 $async$temp1 = named;
71011 $async$temp2 = t4;
71012 $async$goto = 9;
71013 return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71014 case 9:
71015 // returning from await.
71016 $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
71017 namedNodes.$indexSet(0, t4, nodeForSpan);
71018 // goto for condition
71019 $async$goto = 7;
71020 break;
71021 case 8:
71022 // after for
71023 restArgs = $arguments.rest;
71024 if (restArgs == null) {
71025 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null0);
71026 // goto return
71027 $async$goto = 1;
71028 break;
71029 }
71030 $async$goto = 10;
71031 return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71032 case 10:
71033 // returning from await.
71034 rest = $async$result;
71035 restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
71036 if (rest instanceof A.SassMap0) {
71037 $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
71038 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71039 for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
71040 t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
71041 namedNodes.addAll$1(0, t3);
71042 separator = B.ListSeparator_undecided_null0;
71043 } else if (rest instanceof A.SassList0) {
71044 t3 = rest._list1$_contents;
71045 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>")));
71046 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
71047 separator = rest._list1$_separator;
71048 if (rest instanceof A.SassArgumentList0) {
71049 rest._argument_list$_wereKeywordsAccessed = true;
71050 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
71051 }
71052 } else {
71053 positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
71054 positionalNodes.push(restNodeForSpan);
71055 separator = B.ListSeparator_undecided_null0;
71056 }
71057 keywordRestArgs = $arguments.keywordRest;
71058 if (keywordRestArgs == null) {
71059 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
71060 // goto return
71061 $async$goto = 1;
71062 break;
71063 }
71064 $async$goto = 11;
71065 return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
71066 case 11:
71067 // returning from await.
71068 keywordRest = $async$result;
71069 keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
71070 if (keywordRest instanceof A.SassMap0) {
71071 $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
71072 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
71073 for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
71074 t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
71075 namedNodes.addAll$1(0, t1);
71076 $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
71077 // goto return
71078 $async$goto = 1;
71079 break;
71080 } else
71081 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
71082 case 1:
71083 // return
71084 return A._asyncReturn($async$returnValue, $async$completer);
71085 }
71086 });
71087 return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
71088 },
71089 _async_evaluate0$_evaluateMacroArguments$1(invocation) {
71090 return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
71091 },
71092 _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
71093 var $async$goto = 0,
71094 $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression_2),
71095 $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
71096 var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71097 if ($async$errorCode === 1)
71098 return A._asyncRethrow($async$result, $async$completer);
71099 while (true)
71100 switch ($async$goto) {
71101 case 0:
71102 // Function start
71103 t1 = invocation.$arguments;
71104 restArgs_ = t1.rest;
71105 if (restArgs_ == null) {
71106 $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71107 // goto return
71108 $async$goto = 1;
71109 break;
71110 }
71111 t2 = t1.positional;
71112 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
71113 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
71114 $async$goto = 3;
71115 return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
71116 case 3:
71117 // returning from await.
71118 rest = $async$result;
71119 restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
71120 if (rest instanceof A.SassMap0)
71121 $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
71122 else if (rest instanceof A.SassList0) {
71123 t2 = rest._list1$_contents;
71124 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>")));
71125 if (rest instanceof A.SassArgumentList0) {
71126 rest._argument_list$_wereKeywordsAccessed = true;
71127 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
71128 }
71129 } else
71130 positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
71131 keywordRestArgs_ = t1.keywordRest;
71132 if (keywordRestArgs_ == null) {
71133 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71134 // goto return
71135 $async$goto = 1;
71136 break;
71137 }
71138 $async$goto = 4;
71139 return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
71140 case 4:
71141 // returning from await.
71142 keywordRest = $async$result;
71143 keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
71144 if (keywordRest instanceof A.SassMap0) {
71145 $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
71146 $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
71147 // goto return
71148 $async$goto = 1;
71149 break;
71150 } else
71151 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
71152 case 1:
71153 // return
71154 return A._asyncReturn($async$returnValue, $async$completer);
71155 }
71156 });
71157 return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
71158 },
71159 _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
71160 map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
71161 },
71162 _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
71163 return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
71164 },
71165 _async_evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
71166 return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2($arguments, positional, named));
71167 },
71168 visitSelectorExpression$1(node) {
71169 return this.visitSelectorExpression$body$_EvaluateVisitor0(node);
71170 },
71171 visitSelectorExpression$body$_EvaluateVisitor0(node) {
71172 var $async$goto = 0,
71173 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
71174 $async$returnValue, $async$self = this, t1;
71175 var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71176 if ($async$errorCode === 1)
71177 return A._asyncRethrow($async$result, $async$completer);
71178 while (true)
71179 switch ($async$goto) {
71180 case 0:
71181 // Function start
71182 t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
71183 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
71184 $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
71185 // goto return
71186 $async$goto = 1;
71187 break;
71188 case 1:
71189 // return
71190 return A._asyncReturn($async$returnValue, $async$completer);
71191 }
71192 });
71193 return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
71194 },
71195 visitStringExpression$1(node) {
71196 return this.visitStringExpression$body$_EvaluateVisitor0(node);
71197 },
71198 visitStringExpression$body$_EvaluateVisitor0(node) {
71199 var $async$goto = 0,
71200 $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
71201 $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
71202 var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71203 if ($async$errorCode === 1)
71204 return A._asyncRethrow($async$result, $async$completer);
71205 while (true)
71206 switch ($async$goto) {
71207 case 0:
71208 // Function start
71209 $async$temp1 = A;
71210 $async$temp2 = J;
71211 $async$goto = 3;
71212 return A._asyncAwait(A.mapAsync0(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure2($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
71213 case 3:
71214 // returning from await.
71215 $async$returnValue = new $async$temp1.SassString0($async$temp2.join$0$ax($async$result), node.hasQuotes);
71216 // goto return
71217 $async$goto = 1;
71218 break;
71219 case 1:
71220 // return
71221 return A._asyncReturn($async$returnValue, $async$completer);
71222 }
71223 });
71224 return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
71225 },
71226 visitCssAtRule$1(node) {
71227 return this.visitCssAtRule$body$_EvaluateVisitor0(node);
71228 },
71229 visitCssAtRule$body$_EvaluateVisitor0(node) {
71230 var $async$goto = 0,
71231 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71232 $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
71233 var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71234 if ($async$errorCode === 1)
71235 return A._asyncRethrow($async$result, $async$completer);
71236 while (true)
71237 switch ($async$goto) {
71238 case 0:
71239 // Function start
71240 if ($async$self._async_evaluate0$_declarationName != null)
71241 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
71242 if (node.isChildless) {
71243 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
71244 // goto return
71245 $async$goto = 1;
71246 break;
71247 }
71248 wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
71249 wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
71250 t1 = node.name;
71251 if (A.unvendor0(t1.get$value(t1)) === "keyframes")
71252 $async$self._async_evaluate0$_inKeyframes = true;
71253 else
71254 $async$self._async_evaluate0$_inUnknownAtRule = true;
71255 $async$goto = 3;
71256 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);
71257 case 3:
71258 // returning from await.
71259 $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
71260 $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
71261 case 1:
71262 // return
71263 return A._asyncReturn($async$returnValue, $async$completer);
71264 }
71265 });
71266 return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
71267 },
71268 visitCssComment$1(node) {
71269 return this.visitCssComment$body$_EvaluateVisitor0(node);
71270 },
71271 visitCssComment$body$_EvaluateVisitor0(node) {
71272 var $async$goto = 0,
71273 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71274 $async$self = this;
71275 var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71276 if ($async$errorCode === 1)
71277 return A._asyncRethrow($async$result, $async$completer);
71278 while (true)
71279 switch ($async$goto) {
71280 case 0:
71281 // Function start
71282 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))
71283 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
71284 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
71285 // implicit return
71286 return A._asyncReturn(null, $async$completer);
71287 }
71288 });
71289 return A._asyncStartSync($async$visitCssComment$1, $async$completer);
71290 },
71291 visitCssDeclaration$1(node) {
71292 return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
71293 },
71294 visitCssDeclaration$body$_EvaluateVisitor0(node) {
71295 var $async$goto = 0,
71296 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71297 $async$self = this, t1;
71298 var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71299 if ($async$errorCode === 1)
71300 return A._asyncRethrow($async$result, $async$completer);
71301 while (true)
71302 switch ($async$goto) {
71303 case 0:
71304 // Function start
71305 t1 = node.name;
71306 $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));
71307 // implicit return
71308 return A._asyncReturn(null, $async$completer);
71309 }
71310 });
71311 return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
71312 },
71313 visitCssImport$1(node) {
71314 return this.visitCssImport$body$_EvaluateVisitor0(node);
71315 },
71316 visitCssImport$body$_EvaluateVisitor0(node) {
71317 var $async$goto = 0,
71318 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71319 $async$self = this, t1, modifiableNode;
71320 var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71321 if ($async$errorCode === 1)
71322 return A._asyncRethrow($async$result, $async$completer);
71323 while (true)
71324 switch ($async$goto) {
71325 case 0:
71326 // Function start
71327 modifiableNode = A.ModifiableCssImport$0(node.url, node.span, node.media, node.supports);
71328 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"))
71329 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
71330 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)) {
71331 $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
71332 $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
71333 } else {
71334 t1 = $async$self._async_evaluate0$_outOfOrderImports;
71335 (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
71336 }
71337 // implicit return
71338 return A._asyncReturn(null, $async$completer);
71339 }
71340 });
71341 return A._asyncStartSync($async$visitCssImport$1, $async$completer);
71342 },
71343 visitCssKeyframeBlock$1(node) {
71344 return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
71345 },
71346 visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
71347 var $async$goto = 0,
71348 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71349 $async$self = this;
71350 var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71351 if ($async$errorCode === 1)
71352 return A._asyncRethrow($async$result, $async$completer);
71353 while (true)
71354 switch ($async$goto) {
71355 case 0:
71356 // Function start
71357 $async$goto = 2;
71358 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);
71359 case 2:
71360 // returning from await.
71361 // implicit return
71362 return A._asyncReturn(null, $async$completer);
71363 }
71364 });
71365 return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
71366 },
71367 visitCssMediaRule$1(node) {
71368 return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
71369 },
71370 visitCssMediaRule$body$_EvaluateVisitor0(node) {
71371 var $async$goto = 0,
71372 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71373 $async$returnValue, $async$self = this, mergedQueries, t1;
71374 var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71375 if ($async$errorCode === 1)
71376 return A._asyncRethrow($async$result, $async$completer);
71377 while (true)
71378 switch ($async$goto) {
71379 case 0:
71380 // Function start
71381 if ($async$self._async_evaluate0$_declarationName != null)
71382 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
71383 mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
71384 t1 = mergedQueries == null;
71385 if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
71386 // goto return
71387 $async$goto = 1;
71388 break;
71389 }
71390 t1 = t1 ? node.queries : mergedQueries;
71391 $async$goto = 3;
71392 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);
71393 case 3:
71394 // returning from await.
71395 case 1:
71396 // return
71397 return A._asyncReturn($async$returnValue, $async$completer);
71398 }
71399 });
71400 return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
71401 },
71402 visitCssStyleRule$1(node) {
71403 return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
71404 },
71405 visitCssStyleRule$body$_EvaluateVisitor0(node) {
71406 var $async$goto = 0,
71407 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71408 $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
71409 var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71410 if ($async$errorCode === 1)
71411 return A._asyncRethrow($async$result, $async$completer);
71412 while (true)
71413 switch ($async$goto) {
71414 case 0:
71415 // Function start
71416 if ($async$self._async_evaluate0$_declarationName != null)
71417 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
71418 t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
71419 styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
71420 t2 = node.selector;
71421 t3 = t2.value;
71422 t4 = styleRule == null;
71423 t5 = t4 ? null : styleRule.originalSelector;
71424 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
71425 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);
71426 oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
71427 $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
71428 $async$goto = 2;
71429 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);
71430 case 2:
71431 // returning from await.
71432 $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
71433 if (t4) {
71434 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
71435 t1 = !t1.get$isEmpty(t1);
71436 } else
71437 t1 = false;
71438 if (t1) {
71439 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
71440 t1.get$last(t1).isGroupEnd = true;
71441 }
71442 // implicit return
71443 return A._asyncReturn(null, $async$completer);
71444 }
71445 });
71446 return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
71447 },
71448 visitCssStylesheet$1(node) {
71449 return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
71450 },
71451 visitCssStylesheet$body$_EvaluateVisitor0(node) {
71452 var $async$goto = 0,
71453 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71454 $async$self = this, t1;
71455 var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71456 if ($async$errorCode === 1)
71457 return A._asyncRethrow($async$result, $async$completer);
71458 while (true)
71459 switch ($async$goto) {
71460 case 0:
71461 // Function start
71462 t1 = J.get$iterator$ax(node.get$children(node));
71463 case 2:
71464 // for condition
71465 if (!t1.moveNext$0()) {
71466 // goto after for
71467 $async$goto = 3;
71468 break;
71469 }
71470 $async$goto = 4;
71471 return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
71472 case 4:
71473 // returning from await.
71474 // goto for condition
71475 $async$goto = 2;
71476 break;
71477 case 3:
71478 // after for
71479 // implicit return
71480 return A._asyncReturn(null, $async$completer);
71481 }
71482 });
71483 return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
71484 },
71485 visitCssSupportsRule$1(node) {
71486 return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
71487 },
71488 visitCssSupportsRule$body$_EvaluateVisitor0(node) {
71489 var $async$goto = 0,
71490 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
71491 $async$self = this;
71492 var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71493 if ($async$errorCode === 1)
71494 return A._asyncRethrow($async$result, $async$completer);
71495 while (true)
71496 switch ($async$goto) {
71497 case 0:
71498 // Function start
71499 if ($async$self._async_evaluate0$_declarationName != null)
71500 throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
71501 $async$goto = 2;
71502 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);
71503 case 2:
71504 // returning from await.
71505 // implicit return
71506 return A._asyncReturn(null, $async$completer);
71507 }
71508 });
71509 return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
71510 },
71511 _async_evaluate0$_handleReturn$1$2(list, callback) {
71512 return this._handleReturn$body$_EvaluateVisitor0(list, callback);
71513 },
71514 _async_evaluate0$_handleReturn$2(list, callback) {
71515 return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
71516 },
71517 _handleReturn$body$_EvaluateVisitor0(list, callback) {
71518 var $async$goto = 0,
71519 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
71520 $async$returnValue, t1, _i, result;
71521 var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71522 if ($async$errorCode === 1)
71523 return A._asyncRethrow($async$result, $async$completer);
71524 while (true)
71525 switch ($async$goto) {
71526 case 0:
71527 // Function start
71528 t1 = list.length, _i = 0;
71529 case 3:
71530 // for condition
71531 if (!(_i < list.length)) {
71532 // goto after for
71533 $async$goto = 5;
71534 break;
71535 }
71536 $async$goto = 6;
71537 return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
71538 case 6:
71539 // returning from await.
71540 result = $async$result;
71541 if (result != null) {
71542 $async$returnValue = result;
71543 // goto return
71544 $async$goto = 1;
71545 break;
71546 }
71547 case 4:
71548 // for update
71549 list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
71550 // goto for condition
71551 $async$goto = 3;
71552 break;
71553 case 5:
71554 // after for
71555 $async$returnValue = null;
71556 // goto return
71557 $async$goto = 1;
71558 break;
71559 case 1:
71560 // return
71561 return A._asyncReturn($async$returnValue, $async$completer);
71562 }
71563 });
71564 return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
71565 },
71566 _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
71567 return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
71568 },
71569 _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
71570 var $async$goto = 0,
71571 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71572 $async$returnValue, $async$self = this, result, oldEnvironment;
71573 var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71574 if ($async$errorCode === 1)
71575 return A._asyncRethrow($async$result, $async$completer);
71576 while (true)
71577 switch ($async$goto) {
71578 case 0:
71579 // Function start
71580 oldEnvironment = $async$self._async_evaluate0$_environment;
71581 $async$self._async_evaluate0$_environment = environment;
71582 $async$goto = 3;
71583 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
71584 case 3:
71585 // returning from await.
71586 result = $async$result;
71587 $async$self._async_evaluate0$_environment = oldEnvironment;
71588 $async$returnValue = result;
71589 // goto return
71590 $async$goto = 1;
71591 break;
71592 case 1:
71593 // return
71594 return A._asyncReturn($async$returnValue, $async$completer);
71595 }
71596 });
71597 return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
71598 },
71599 _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
71600 return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
71601 },
71602 _async_evaluate0$_interpolationToValue$1(interpolation) {
71603 return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
71604 },
71605 _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
71606 return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
71607 },
71608 _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
71609 var $async$goto = 0,
71610 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
71611 $async$returnValue, $async$self = this, result, t1;
71612 var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71613 if ($async$errorCode === 1)
71614 return A._asyncRethrow($async$result, $async$completer);
71615 while (true)
71616 switch ($async$goto) {
71617 case 0:
71618 // Function start
71619 $async$goto = 3;
71620 return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
71621 case 3:
71622 // returning from await.
71623 result = $async$result;
71624 t1 = trim ? A.trimAscii0(result, true) : result;
71625 $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
71626 // goto return
71627 $async$goto = 1;
71628 break;
71629 case 1:
71630 // return
71631 return A._asyncReturn($async$returnValue, $async$completer);
71632 }
71633 });
71634 return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
71635 },
71636 _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
71637 return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
71638 },
71639 _async_evaluate0$_performInterpolation$1(interpolation) {
71640 return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
71641 },
71642 _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
71643 var $async$goto = 0,
71644 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
71645 $async$returnValue, $async$self = this, $async$temp1;
71646 var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71647 if ($async$errorCode === 1)
71648 return A._asyncRethrow($async$result, $async$completer);
71649 while (true)
71650 switch ($async$goto) {
71651 case 0:
71652 // Function start
71653 $async$temp1 = J;
71654 $async$goto = 3;
71655 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);
71656 case 3:
71657 // returning from await.
71658 $async$returnValue = $async$temp1.join$0$ax($async$result);
71659 // goto return
71660 $async$goto = 1;
71661 break;
71662 case 1:
71663 // return
71664 return A._asyncReturn($async$returnValue, $async$completer);
71665 }
71666 });
71667 return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
71668 },
71669 _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
71670 return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
71671 },
71672 _async_evaluate0$_evaluateToCss$1(expression) {
71673 return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
71674 },
71675 _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
71676 var $async$goto = 0,
71677 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
71678 $async$returnValue, $async$self = this;
71679 var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71680 if ($async$errorCode === 1)
71681 return A._asyncRethrow($async$result, $async$completer);
71682 while (true)
71683 switch ($async$goto) {
71684 case 0:
71685 // Function start
71686 $async$goto = 3;
71687 return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateToCss$2$quote);
71688 case 3:
71689 // returning from await.
71690 $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
71691 // goto return
71692 $async$goto = 1;
71693 break;
71694 case 1:
71695 // return
71696 return A._asyncReturn($async$returnValue, $async$completer);
71697 }
71698 });
71699 return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
71700 },
71701 _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
71702 return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
71703 },
71704 _async_evaluate0$_serialize$2(value, nodeWithSpan) {
71705 return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
71706 },
71707 _async_evaluate0$_expressionNode$1(expression) {
71708 var t1;
71709 if (expression instanceof A.VariableExpression0) {
71710 t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
71711 return t1 == null ? expression : t1;
71712 } else
71713 return expression;
71714 },
71715 _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
71716 return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
71717 },
71718 _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
71719 return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
71720 },
71721 _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
71722 return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
71723 },
71724 _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
71725 var $async$goto = 0,
71726 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71727 $async$returnValue, $async$self = this, t1, result;
71728 var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71729 if ($async$errorCode === 1)
71730 return A._asyncRethrow($async$result, $async$completer);
71731 while (true)
71732 switch ($async$goto) {
71733 case 0:
71734 // Function start
71735 $async$self._async_evaluate0$_addChild$2$through(node, through);
71736 t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
71737 $async$self._async_evaluate0$__parent = node;
71738 $async$goto = 3;
71739 return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
71740 case 3:
71741 // returning from await.
71742 result = $async$result;
71743 $async$self._async_evaluate0$__parent = t1;
71744 $async$returnValue = result;
71745 // goto return
71746 $async$goto = 1;
71747 break;
71748 case 1:
71749 // return
71750 return A._asyncReturn($async$returnValue, $async$completer);
71751 }
71752 });
71753 return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
71754 },
71755 _async_evaluate0$_addChild$2$through(node, through) {
71756 var grandparent, t1,
71757 $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
71758 if (through != null) {
71759 for (; through.call$1($parent); $parent = grandparent) {
71760 grandparent = $parent._node1$_parent;
71761 if (grandparent == null)
71762 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
71763 }
71764 if ($parent.get$hasFollowingSibling()) {
71765 t1 = $parent._node1$_parent;
71766 t1.toString;
71767 $parent = $parent.copyWithoutChildren$0();
71768 t1.addChild$1($parent);
71769 }
71770 }
71771 $parent.addChild$1(node);
71772 },
71773 _async_evaluate0$_addChild$1(node) {
71774 return this._async_evaluate0$_addChild$2$through(node, null);
71775 },
71776 _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
71777 return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
71778 },
71779 _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
71780 var $async$goto = 0,
71781 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71782 $async$returnValue, $async$self = this, result, oldRule;
71783 var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71784 if ($async$errorCode === 1)
71785 return A._asyncRethrow($async$result, $async$completer);
71786 while (true)
71787 switch ($async$goto) {
71788 case 0:
71789 // Function start
71790 oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
71791 $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
71792 $async$goto = 3;
71793 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
71794 case 3:
71795 // returning from await.
71796 result = $async$result;
71797 $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
71798 $async$returnValue = result;
71799 // goto return
71800 $async$goto = 1;
71801 break;
71802 case 1:
71803 // return
71804 return A._asyncReturn($async$returnValue, $async$completer);
71805 }
71806 });
71807 return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
71808 },
71809 _async_evaluate0$_withMediaQueries$1$2(queries, callback, $T) {
71810 return this._withMediaQueries$body$_EvaluateVisitor0(queries, callback, $T, $T);
71811 },
71812 _withMediaQueries$body$_EvaluateVisitor0(queries, callback, $T, $async$type) {
71813 var $async$goto = 0,
71814 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71815 $async$returnValue, $async$self = this, result, oldMediaQueries;
71816 var $async$_async_evaluate0$_withMediaQueries$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71817 if ($async$errorCode === 1)
71818 return A._asyncRethrow($async$result, $async$completer);
71819 while (true)
71820 switch ($async$goto) {
71821 case 0:
71822 // Function start
71823 oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
71824 $async$self._async_evaluate0$_mediaQueries = queries;
71825 $async$goto = 3;
71826 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$2);
71827 case 3:
71828 // returning from await.
71829 result = $async$result;
71830 $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
71831 $async$returnValue = result;
71832 // goto return
71833 $async$goto = 1;
71834 break;
71835 case 1:
71836 // return
71837 return A._asyncReturn($async$returnValue, $async$completer);
71838 }
71839 });
71840 return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$2, $async$completer);
71841 },
71842 _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
71843 return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
71844 },
71845 _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
71846 var $async$goto = 0,
71847 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71848 $async$returnValue, $async$self = this, oldMember, result, t1;
71849 var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71850 if ($async$errorCode === 1)
71851 return A._asyncRethrow($async$result, $async$completer);
71852 while (true)
71853 switch ($async$goto) {
71854 case 0:
71855 // Function start
71856 t1 = $async$self._async_evaluate0$_stack;
71857 t1.push(new A.Tuple2($async$self._async_evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
71858 oldMember = $async$self._async_evaluate0$_member;
71859 $async$self._async_evaluate0$_member = member;
71860 $async$goto = 3;
71861 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
71862 case 3:
71863 // returning from await.
71864 result = $async$result;
71865 $async$self._async_evaluate0$_member = oldMember;
71866 t1.pop();
71867 $async$returnValue = result;
71868 // goto return
71869 $async$goto = 1;
71870 break;
71871 case 1:
71872 // return
71873 return A._asyncReturn($async$returnValue, $async$completer);
71874 }
71875 });
71876 return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
71877 },
71878 _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
71879 if (value instanceof A.SassNumber0 && value.asSlash != null)
71880 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);
71881 return value.withoutSlash$0();
71882 },
71883 _async_evaluate0$_stackFrame$2(member, span) {
71884 return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.file.url, new A._EvaluateVisitor__stackFrame_closure2(this)));
71885 },
71886 _async_evaluate0$_stackTrace$1(span) {
71887 var _this = this,
71888 t1 = _this._async_evaluate0$_stack;
71889 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);
71890 if (span != null)
71891 t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
71892 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
71893 },
71894 _async_evaluate0$_stackTrace$0() {
71895 return this._async_evaluate0$_stackTrace$1(null);
71896 },
71897 _async_evaluate0$_warn$3$deprecation(message, span, deprecation) {
71898 var _this = this;
71899 if (_this._async_evaluate0$_quietDeps && _this._async_evaluate0$_inDependency)
71900 return;
71901 if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
71902 return;
71903 _this._async_evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate0$_stackTrace$1(span));
71904 },
71905 _async_evaluate0$_warn$2(message, span) {
71906 return this._async_evaluate0$_warn$3$deprecation(message, span, false);
71907 },
71908 _async_evaluate0$_exception$2(message, span) {
71909 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2) : span;
71910 return new A.SassRuntimeException0(this._async_evaluate0$_stackTrace$1(span), message, t1);
71911 },
71912 _async_evaluate0$_exception$1(message) {
71913 return this._async_evaluate0$_exception$2(message, null);
71914 },
71915 _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
71916 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2);
71917 return new A.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
71918 },
71919 _async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
71920 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
71921 try {
71922 t1 = callback.call$0();
71923 return t1;
71924 } catch (exception) {
71925 t1 = A.unwrapException(exception);
71926 if (t1 instanceof A.SassFormatException0) {
71927 error = t1;
71928 stackTrace = A.getTraceFromException(exception);
71929 t1 = error;
71930 t2 = J.getInterceptor$z(t1);
71931 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
71932 span = nodeWithSpan.get$span(nodeWithSpan);
71933 t1 = span;
71934 t2 = span;
71935 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);
71936 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
71937 t1 = span;
71938 t1 = A.FileLocation$_(t1.file, t1._file$_start);
71939 t3 = error;
71940 t4 = J.getInterceptor$z(t3);
71941 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
71942 t3 = A.FileLocation$_(t3.file, t3._file$_start);
71943 t4 = span;
71944 t4 = A.FileLocation$_(t4.file, t4._file$_start);
71945 t5 = error;
71946 t6 = J.getInterceptor$z(t5);
71947 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
71948 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
71949 A.throwWithTrace0(this._async_evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
71950 } else
71951 throw exception;
71952 }
71953 },
71954 _async_evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
71955 return this._async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
71956 },
71957 _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
71958 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
71959 try {
71960 t1 = callback.call$0();
71961 return t1;
71962 } catch (exception) {
71963 t1 = A.unwrapException(exception);
71964 if (t1 instanceof A.MultiSpanSassScriptException0) {
71965 error = t1;
71966 stackTrace = A.getTraceFromException(exception);
71967 t1 = error.message;
71968 t2 = nodeWithSpan.get$span(nodeWithSpan);
71969 t3 = error.primaryLabel;
71970 t4 = error.secondarySpans;
71971 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);
71972 } else if (t1 instanceof A.SassScriptException0) {
71973 error0 = t1;
71974 stackTrace0 = A.getTraceFromException(exception);
71975 A.throwWithTrace0(this._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
71976 } else
71977 throw exception;
71978 }
71979 },
71980 _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
71981 return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
71982 },
71983 _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
71984 return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
71985 },
71986 _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
71987 var $async$goto = 0,
71988 $async$completer = A._makeAsyncAwaitCompleter($async$type),
71989 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
71990 var $async$_async_evaluate0$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
71991 if ($async$errorCode === 1) {
71992 $async$currentError = $async$result;
71993 $async$goto = $async$handler;
71994 }
71995 while (true)
71996 switch ($async$goto) {
71997 case 0:
71998 // Function start
71999 $async$handler = 4;
72000 $async$goto = 7;
72001 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addExceptionSpanAsync$1$2);
72002 case 7:
72003 // returning from await.
72004 t1 = $async$result;
72005 $async$returnValue = t1;
72006 // goto return
72007 $async$goto = 1;
72008 break;
72009 $async$handler = 2;
72010 // goto after finally
72011 $async$goto = 6;
72012 break;
72013 case 4:
72014 // catch
72015 $async$handler = 3;
72016 $async$exception = $async$currentError;
72017 t1 = A.unwrapException($async$exception);
72018 if (t1 instanceof A.MultiSpanSassScriptException0) {
72019 error = t1;
72020 stackTrace = A.getTraceFromException($async$exception);
72021 t1 = error.message;
72022 t2 = nodeWithSpan.get$span(nodeWithSpan);
72023 t3 = error.primaryLabel;
72024 t4 = error.secondarySpans;
72025 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);
72026 } else if (t1 instanceof A.SassScriptException0) {
72027 error0 = t1;
72028 stackTrace0 = A.getTraceFromException($async$exception);
72029 A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
72030 } else
72031 throw $async$exception;
72032 // goto after finally
72033 $async$goto = 6;
72034 break;
72035 case 3:
72036 // uncaught
72037 // goto rethrow
72038 $async$goto = 2;
72039 break;
72040 case 6:
72041 // after finally
72042 case 1:
72043 // return
72044 return A._asyncReturn($async$returnValue, $async$completer);
72045 case 2:
72046 // rethrow
72047 return A._asyncRethrow($async$currentError, $async$completer);
72048 }
72049 });
72050 return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$2, $async$completer);
72051 },
72052 _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
72053 return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
72054 },
72055 _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
72056 var $async$goto = 0,
72057 $async$completer = A._makeAsyncAwaitCompleter($async$type),
72058 $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
72059 var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72060 if ($async$errorCode === 1) {
72061 $async$currentError = $async$result;
72062 $async$goto = $async$handler;
72063 }
72064 while (true)
72065 switch ($async$goto) {
72066 case 0:
72067 // Function start
72068 $async$handler = 4;
72069 $async$goto = 7;
72070 return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
72071 case 7:
72072 // returning from await.
72073 t1 = $async$result;
72074 $async$returnValue = t1;
72075 // goto return
72076 $async$goto = 1;
72077 break;
72078 $async$handler = 2;
72079 // goto after finally
72080 $async$goto = 6;
72081 break;
72082 case 4:
72083 // catch
72084 $async$handler = 3;
72085 $async$exception = $async$currentError;
72086 t1 = A.unwrapException($async$exception);
72087 if (type$.SassRuntimeException_2._is(t1)) {
72088 error = t1;
72089 stackTrace = A.getTraceFromException($async$exception);
72090 t1 = J.get$span$z(error);
72091 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"))
72092 throw $async$exception;
72093 t1 = error._span_exception$_message;
72094 t2 = nodeWithSpan.get$span(nodeWithSpan);
72095 A.throwWithTrace0(new A.SassRuntimeException0($async$self._async_evaluate0$_stackTrace$0(), t1, t2), stackTrace);
72096 } else
72097 throw $async$exception;
72098 // goto after finally
72099 $async$goto = 6;
72100 break;
72101 case 3:
72102 // uncaught
72103 // goto rethrow
72104 $async$goto = 2;
72105 break;
72106 case 6:
72107 // after finally
72108 case 1:
72109 // return
72110 return A._asyncReturn($async$returnValue, $async$completer);
72111 case 2:
72112 // rethrow
72113 return A._asyncRethrow($async$currentError, $async$completer);
72114 }
72115 });
72116 return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
72117 }
72118 };
72119 A._EvaluateVisitor_closure29.prototype = {
72120 call$1($arguments) {
72121 var module, t2,
72122 t1 = J.getInterceptor$asx($arguments),
72123 variable = t1.$index($arguments, 0).assertString$1("name");
72124 t1 = t1.$index($arguments, 1).get$realNull();
72125 module = t1 == null ? null : t1.assertString$1("module");
72126 t1 = this.$this._async_evaluate0$_environment;
72127 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
72128 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
72129 },
72130 $signature: 18
72131 };
72132 A._EvaluateVisitor_closure30.prototype = {
72133 call$1($arguments) {
72134 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
72135 t1 = this.$this._async_evaluate0$_environment;
72136 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72137 },
72138 $signature: 18
72139 };
72140 A._EvaluateVisitor_closure31.prototype = {
72141 call$1($arguments) {
72142 var module, t2, t3, t4,
72143 t1 = J.getInterceptor$asx($arguments),
72144 variable = t1.$index($arguments, 0).assertString$1("name");
72145 t1 = t1.$index($arguments, 1).get$realNull();
72146 module = t1 == null ? null : t1.assertString$1("module");
72147 t1 = this.$this;
72148 t2 = t1._async_evaluate0$_environment;
72149 t3 = variable._string0$_text;
72150 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
72151 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;
72152 },
72153 $signature: 18
72154 };
72155 A._EvaluateVisitor_closure32.prototype = {
72156 call$1($arguments) {
72157 var module, t2,
72158 t1 = J.getInterceptor$asx($arguments),
72159 variable = t1.$index($arguments, 0).assertString$1("name");
72160 t1 = t1.$index($arguments, 1).get$realNull();
72161 module = t1 == null ? null : t1.assertString$1("module");
72162 t1 = this.$this._async_evaluate0$_environment;
72163 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
72164 return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72165 },
72166 $signature: 18
72167 };
72168 A._EvaluateVisitor_closure33.prototype = {
72169 call$1($arguments) {
72170 var t1 = this.$this._async_evaluate0$_environment;
72171 if (!t1._async_environment0$_inMixin)
72172 throw A.wrapException(A.SassScriptException$0(string$.conten));
72173 return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
72174 },
72175 $signature: 18
72176 };
72177 A._EvaluateVisitor_closure34.prototype = {
72178 call$1($arguments) {
72179 var t2, t3, t4,
72180 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
72181 module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
72182 if (module == null)
72183 throw A.wrapException('There is no module with namespace "' + t1 + '".');
72184 t1 = type$.Value_2;
72185 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
72186 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
72187 t4 = t3.get$current(t3);
72188 t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
72189 }
72190 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
72191 },
72192 $signature: 34
72193 };
72194 A._EvaluateVisitor_closure35.prototype = {
72195 call$1($arguments) {
72196 var t2, t3, t4,
72197 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
72198 module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
72199 if (module == null)
72200 throw A.wrapException('There is no module with namespace "' + t1 + '".');
72201 t1 = type$.Value_2;
72202 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
72203 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
72204 t4 = t3.get$current(t3);
72205 t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
72206 }
72207 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
72208 },
72209 $signature: 34
72210 };
72211 A._EvaluateVisitor_closure36.prototype = {
72212 call$1($arguments) {
72213 var module, callable, t2,
72214 t1 = J.getInterceptor$asx($arguments),
72215 $name = t1.$index($arguments, 0).assertString$1("name"),
72216 css = t1.$index($arguments, 1).get$isTruthy();
72217 t1 = t1.$index($arguments, 2).get$realNull();
72218 module = t1 == null ? null : t1.assertString$1("module");
72219 if (css && module != null)
72220 throw A.wrapException(string$.x24css_a);
72221 if (css)
72222 callable = new A.PlainCssCallable0($name._string0$_text);
72223 else {
72224 t1 = this.$this;
72225 t2 = t1._async_evaluate0$_callableNode;
72226 t2.toString;
72227 callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
72228 }
72229 if (callable != null)
72230 return new A.SassFunction0(callable);
72231 throw A.wrapException("Function not found: " + $name.toString$0(0));
72232 },
72233 $signature: 160
72234 };
72235 A._EvaluateVisitor__closure10.prototype = {
72236 call$0() {
72237 var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
72238 t2 = this.module;
72239 t2 = t2 == null ? null : t2._string0$_text;
72240 return this.$this._async_evaluate0$_getFunction$2$namespace(t1, t2);
72241 },
72242 $signature: 137
72243 };
72244 A._EvaluateVisitor_closure37.prototype = {
72245 call$1($arguments) {
72246 return this.$call$body$_EvaluateVisitor_closure2($arguments);
72247 },
72248 $call$body$_EvaluateVisitor_closure2($arguments) {
72249 var $async$goto = 0,
72250 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
72251 $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
72252 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72253 if ($async$errorCode === 1)
72254 return A._asyncRethrow($async$result, $async$completer);
72255 while (true)
72256 switch ($async$goto) {
72257 case 0:
72258 // Function start
72259 t1 = J.getInterceptor$asx($arguments);
72260 $function = t1.$index($arguments, 0);
72261 args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
72262 t1 = $async$self.$this;
72263 t2 = t1._async_evaluate0$_callableNode;
72264 t2.toString;
72265 t3 = A._setArrayType([], type$.JSArray_Expression_2);
72266 t4 = type$.String;
72267 t5 = type$.Expression_2;
72268 t6 = t2.get$span(t2);
72269 t7 = t2.get$span(t2);
72270 args._argument_list$_wereKeywordsAccessed = true;
72271 t8 = args._argument_list$_keywords;
72272 if (t8.get$isEmpty(t8))
72273 t2 = null;
72274 else {
72275 t9 = type$.Value_2;
72276 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
72277 for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
72278 t11 = t8.get$current(t8);
72279 t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
72280 }
72281 t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
72282 }
72283 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);
72284 $async$goto = $function instanceof A.SassString0 ? 3 : 4;
72285 break;
72286 case 3:
72287 // then
72288 t2 = string$.Passin + $function.toString$0(0) + "))";
72289 A.EvaluationContext_current0().warn$2$deprecation(0, t2, true);
72290 callableNode = t1._async_evaluate0$_callableNode;
72291 $async$goto = 5;
72292 return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
72293 case 5:
72294 // returning from await.
72295 $async$returnValue = $async$result;
72296 // goto return
72297 $async$goto = 1;
72298 break;
72299 case 4:
72300 // join
72301 t2 = $function.assertFunction$1("function");
72302 t3 = t1._async_evaluate0$_callableNode;
72303 t3.toString;
72304 $async$goto = 6;
72305 return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
72306 case 6:
72307 // returning from await.
72308 $async$returnValue = $async$result;
72309 // goto return
72310 $async$goto = 1;
72311 break;
72312 case 1:
72313 // return
72314 return A._asyncReturn($async$returnValue, $async$completer);
72315 }
72316 });
72317 return A._asyncStartSync($async$call$1, $async$completer);
72318 },
72319 $signature: 93
72320 };
72321 A._EvaluateVisitor_closure38.prototype = {
72322 call$1($arguments) {
72323 return this.$call$body$_EvaluateVisitor_closure1($arguments);
72324 },
72325 $call$body$_EvaluateVisitor_closure1($arguments) {
72326 var $async$goto = 0,
72327 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72328 $async$self = this, withMap, t2, values, configuration, t1, url;
72329 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72330 if ($async$errorCode === 1)
72331 return A._asyncRethrow($async$result, $async$completer);
72332 while (true)
72333 switch ($async$goto) {
72334 case 0:
72335 // Function start
72336 t1 = J.getInterceptor$asx($arguments);
72337 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
72338 t1 = t1.$index($arguments, 1).get$realNull();
72339 withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
72340 t1 = $async$self.$this;
72341 t2 = t1._async_evaluate0$_callableNode;
72342 t2.toString;
72343 if (withMap != null) {
72344 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
72345 withMap.forEach$1(0, new A._EvaluateVisitor__closure8(values, t2.get$span(t2), t2));
72346 configuration = new A.ExplicitConfiguration0(t2, values);
72347 } else
72348 configuration = B.Configuration_Map_empty0;
72349 $async$goto = 2;
72350 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);
72351 case 2:
72352 // returning from await.
72353 t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
72354 // implicit return
72355 return A._asyncReturn(null, $async$completer);
72356 }
72357 });
72358 return A._asyncStartSync($async$call$1, $async$completer);
72359 },
72360 $signature: 321
72361 };
72362 A._EvaluateVisitor__closure8.prototype = {
72363 call$2(variable, value) {
72364 var t1 = variable.assertString$1("with key"),
72365 $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
72366 t1 = this.values;
72367 if (t1.containsKey$1($name))
72368 throw A.wrapException("The variable $" + $name + " was configured twice.");
72369 t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
72370 },
72371 $signature: 53
72372 };
72373 A._EvaluateVisitor__closure9.prototype = {
72374 call$1(module) {
72375 var t1 = this.$this;
72376 return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
72377 },
72378 $signature: 163
72379 };
72380 A._EvaluateVisitor_run_closure2.prototype = {
72381 call$0() {
72382 var $async$goto = 0,
72383 $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
72384 $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
72385 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72386 if ($async$errorCode === 1)
72387 return A._asyncRethrow($async$result, $async$completer);
72388 while (true)
72389 switch ($async$goto) {
72390 case 0:
72391 // Function start
72392 t1 = $async$self.node;
72393 url = t1.span.file.url;
72394 if (url != null) {
72395 t2 = $async$self.$this;
72396 t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
72397 if (!(t2._async_evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
72398 t2._async_evaluate0$_loadedUrls.add$1(0, url);
72399 }
72400 t2 = $async$self.$this;
72401 $async$temp1 = A;
72402 $async$temp2 = t2;
72403 $async$goto = 3;
72404 return A._asyncAwait(t2._async_evaluate0$_execute$2($async$self.importer, t1), $async$call$0);
72405 case 3:
72406 // returning from await.
72407 $async$returnValue = new $async$temp1.EvaluateResult0($async$temp2._async_evaluate0$_combineCss$1($async$result), t2._async_evaluate0$_loadedUrls);
72408 // goto return
72409 $async$goto = 1;
72410 break;
72411 case 1:
72412 // return
72413 return A._asyncReturn($async$returnValue, $async$completer);
72414 }
72415 });
72416 return A._asyncStartSync($async$call$0, $async$completer);
72417 },
72418 $signature: 324
72419 };
72420 A._EvaluateVisitor__loadModule_closure5.prototype = {
72421 call$0() {
72422 return this.callback.call$1(this.builtInModule);
72423 },
72424 $signature: 0
72425 };
72426 A._EvaluateVisitor__loadModule_closure6.prototype = {
72427 call$0() {
72428 var $async$goto = 0,
72429 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72430 $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;
72431 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72432 if ($async$errorCode === 1) {
72433 $async$currentError = $async$result;
72434 $async$goto = $async$handler;
72435 }
72436 while (true)
72437 switch ($async$goto) {
72438 case 0:
72439 // Function start
72440 t1 = $async$self.$this;
72441 t2 = $async$self.nodeWithSpan;
72442 $async$goto = 2;
72443 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);
72444 case 2:
72445 // returning from await.
72446 result = $async$result;
72447 stylesheet = result.stylesheet;
72448 canonicalUrl = stylesheet.span.file.url;
72449 if (canonicalUrl != null && t1._async_evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
72450 message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
72451 t2 = A.NullableExtension_andThen0(t1._async_evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure2(t1, message));
72452 throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1(message) : t2);
72453 }
72454 if (canonicalUrl != null)
72455 t1._async_evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
72456 oldInDependency = t1._async_evaluate0$_inDependency;
72457 t1._async_evaluate0$_inDependency = result.isDependency;
72458 module = null;
72459 $async$handler = 3;
72460 $async$goto = 6;
72461 return A._asyncAwait(t1._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
72462 case 6:
72463 // returning from await.
72464 module = $async$result;
72465 $async$next.push(5);
72466 // goto finally
72467 $async$goto = 4;
72468 break;
72469 case 3:
72470 // uncaught
72471 $async$next = [1];
72472 case 4:
72473 // finally
72474 $async$handler = 1;
72475 t1._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
72476 t1._async_evaluate0$_inDependency = oldInDependency;
72477 // goto the next finally handler
72478 $async$goto = $async$next.pop();
72479 break;
72480 case 5:
72481 // after finally
72482 $async$handler = 8;
72483 $async$goto = 11;
72484 return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
72485 case 11:
72486 // returning from await.
72487 $async$handler = 1;
72488 // goto after finally
72489 $async$goto = 10;
72490 break;
72491 case 8:
72492 // catch
72493 $async$handler = 7;
72494 $async$exception = $async$currentError;
72495 t2 = A.unwrapException($async$exception);
72496 if (type$.SassRuntimeException_2._is(t2))
72497 throw $async$exception;
72498 else if (t2 instanceof A.MultiSpanSassException0) {
72499 error = t2;
72500 stackTrace = A.getTraceFromException($async$exception);
72501 t2 = error._span_exception$_message;
72502 t3 = error;
72503 t4 = J.getInterceptor$z(t3);
72504 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
72505 t4 = error.primaryLabel;
72506 t5 = error.secondarySpans;
72507 t6 = error;
72508 t7 = J.getInterceptor$z(t6);
72509 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);
72510 } else if (t2 instanceof A.SassException0) {
72511 error0 = t2;
72512 stackTrace0 = A.getTraceFromException($async$exception);
72513 t2 = error0;
72514 t3 = J.getInterceptor$z(t2);
72515 A.throwWithTrace0(t1._async_evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
72516 } else if (t2 instanceof A.MultiSpanSassScriptException0) {
72517 error1 = t2;
72518 stackTrace1 = A.getTraceFromException($async$exception);
72519 A.throwWithTrace0(t1._async_evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
72520 } else if (t2 instanceof A.SassScriptException0) {
72521 error2 = t2;
72522 stackTrace2 = A.getTraceFromException($async$exception);
72523 A.throwWithTrace0(t1._async_evaluate0$_exception$1(error2.message), stackTrace2);
72524 } else
72525 throw $async$exception;
72526 // goto after finally
72527 $async$goto = 10;
72528 break;
72529 case 7:
72530 // uncaught
72531 // goto rethrow
72532 $async$goto = 1;
72533 break;
72534 case 10:
72535 // after finally
72536 // implicit return
72537 return A._asyncReturn(null, $async$completer);
72538 case 1:
72539 // rethrow
72540 return A._asyncRethrow($async$currentError, $async$completer);
72541 }
72542 });
72543 return A._asyncStartSync($async$call$0, $async$completer);
72544 },
72545 $signature: 2
72546 };
72547 A._EvaluateVisitor__loadModule__closure2.prototype = {
72548 call$1(previousLoad) {
72549 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));
72550 },
72551 $signature: 84
72552 };
72553 A._EvaluateVisitor__execute_closure2.prototype = {
72554 call$0() {
72555 var $async$goto = 0,
72556 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72557 $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
72558 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72559 if ($async$errorCode === 1)
72560 return A._asyncRethrow($async$result, $async$completer);
72561 while (true)
72562 switch ($async$goto) {
72563 case 0:
72564 // Function start
72565 t1 = $async$self.$this;
72566 oldImporter = t1._async_evaluate0$_importer;
72567 oldStylesheet = t1._async_evaluate0$__stylesheet;
72568 oldRoot = t1._async_evaluate0$__root;
72569 oldParent = t1._async_evaluate0$__parent;
72570 oldEndOfImports = t1._async_evaluate0$__endOfImports;
72571 oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
72572 oldExtensionStore = t1._async_evaluate0$__extensionStore;
72573 t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
72574 oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
72575 oldMediaQueries = t1._async_evaluate0$_mediaQueries;
72576 oldDeclarationName = t1._async_evaluate0$_declarationName;
72577 oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
72578 oldInKeyframes = t1._async_evaluate0$_inKeyframes;
72579 oldConfiguration = t1._async_evaluate0$_configuration;
72580 t1._async_evaluate0$_importer = $async$self.importer;
72581 t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
72582 t4 = t3.span;
72583 t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
72584 t1._async_evaluate0$__endOfImports = 0;
72585 t1._async_evaluate0$_outOfOrderImports = null;
72586 t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
72587 t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
72588 t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
72589 t6 = $async$self.configuration;
72590 if (t6 != null)
72591 t1._async_evaluate0$_configuration = t6;
72592 $async$goto = 2;
72593 return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
72594 case 2:
72595 // returning from await.
72596 t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
72597 $async$self.css._value = t3;
72598 t1._async_evaluate0$_importer = oldImporter;
72599 t1._async_evaluate0$__stylesheet = oldStylesheet;
72600 t1._async_evaluate0$__root = oldRoot;
72601 t1._async_evaluate0$__parent = oldParent;
72602 t1._async_evaluate0$__endOfImports = oldEndOfImports;
72603 t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
72604 t1._async_evaluate0$__extensionStore = oldExtensionStore;
72605 t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
72606 t1._async_evaluate0$_mediaQueries = oldMediaQueries;
72607 t1._async_evaluate0$_declarationName = oldDeclarationName;
72608 t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
72609 t1._async_evaluate0$_atRootExcludingStyleRule = t2;
72610 t1._async_evaluate0$_inKeyframes = oldInKeyframes;
72611 t1._async_evaluate0$_configuration = oldConfiguration;
72612 // implicit return
72613 return A._asyncReturn(null, $async$completer);
72614 }
72615 });
72616 return A._asyncStartSync($async$call$0, $async$completer);
72617 },
72618 $signature: 2
72619 };
72620 A._EvaluateVisitor__combineCss_closure8.prototype = {
72621 call$1(module) {
72622 return module.get$transitivelyContainsCss();
72623 },
72624 $signature: 140
72625 };
72626 A._EvaluateVisitor__combineCss_closure9.prototype = {
72627 call$1(target) {
72628 return !this.selectors.contains$1(0, target);
72629 },
72630 $signature: 15
72631 };
72632 A._EvaluateVisitor__combineCss_closure10.prototype = {
72633 call$1(module) {
72634 return module.cloneCss$0();
72635 },
72636 $signature: 327
72637 };
72638 A._EvaluateVisitor__extendModules_closure5.prototype = {
72639 call$1(target) {
72640 return !this.originalSelectors.contains$1(0, target);
72641 },
72642 $signature: 15
72643 };
72644 A._EvaluateVisitor__extendModules_closure6.prototype = {
72645 call$0() {
72646 return A._setArrayType([], type$.JSArray_ExtensionStore_2);
72647 },
72648 $signature: 166
72649 };
72650 A._EvaluateVisitor__topologicalModules_visitModule2.prototype = {
72651 call$1(module) {
72652 var t1, t2, t3, _i, upstream;
72653 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
72654 upstream = t1[_i];
72655 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
72656 this.call$1(upstream);
72657 }
72658 this.sorted.addFirst$1(module);
72659 },
72660 $signature: 163
72661 };
72662 A._EvaluateVisitor_visitAtRootRule_closure8.prototype = {
72663 call$0() {
72664 var t1 = A.SpanScanner$(this.resolved, null);
72665 return new A.AtRootQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
72666 },
72667 $signature: 136
72668 };
72669 A._EvaluateVisitor_visitAtRootRule_closure9.prototype = {
72670 call$0() {
72671 var $async$goto = 0,
72672 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72673 $async$self = this, t1, t2, t3, _i;
72674 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72675 if ($async$errorCode === 1)
72676 return A._asyncRethrow($async$result, $async$completer);
72677 while (true)
72678 switch ($async$goto) {
72679 case 0:
72680 // Function start
72681 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
72682 case 2:
72683 // for condition
72684 if (!(_i < t2)) {
72685 // goto after for
72686 $async$goto = 4;
72687 break;
72688 }
72689 $async$goto = 5;
72690 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
72691 case 5:
72692 // returning from await.
72693 case 3:
72694 // for update
72695 ++_i;
72696 // goto for condition
72697 $async$goto = 2;
72698 break;
72699 case 4:
72700 // after for
72701 // implicit return
72702 return A._asyncReturn(null, $async$completer);
72703 }
72704 });
72705 return A._asyncStartSync($async$call$0, $async$completer);
72706 },
72707 $signature: 2
72708 };
72709 A._EvaluateVisitor_visitAtRootRule_closure10.prototype = {
72710 call$0() {
72711 var $async$goto = 0,
72712 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
72713 $async$self = this, t1, t2, t3, _i;
72714 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72715 if ($async$errorCode === 1)
72716 return A._asyncRethrow($async$result, $async$completer);
72717 while (true)
72718 switch ($async$goto) {
72719 case 0:
72720 // Function start
72721 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
72722 case 2:
72723 // for condition
72724 if (!(_i < t2)) {
72725 // goto after for
72726 $async$goto = 4;
72727 break;
72728 }
72729 $async$goto = 5;
72730 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
72731 case 5:
72732 // returning from await.
72733 case 3:
72734 // for update
72735 ++_i;
72736 // goto for condition
72737 $async$goto = 2;
72738 break;
72739 case 4:
72740 // after for
72741 // implicit return
72742 return A._asyncReturn(null, $async$completer);
72743 }
72744 });
72745 return A._asyncStartSync($async$call$0, $async$completer);
72746 },
72747 $signature: 37
72748 };
72749 A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
72750 call$1(callback) {
72751 var $async$goto = 0,
72752 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72753 $async$self = this, t1, t2;
72754 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72755 if ($async$errorCode === 1)
72756 return A._asyncRethrow($async$result, $async$completer);
72757 while (true)
72758 switch ($async$goto) {
72759 case 0:
72760 // Function start
72761 t1 = $async$self.$this;
72762 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
72763 t1._async_evaluate0$__parent = $async$self.newParent;
72764 $async$goto = 2;
72765 return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
72766 case 2:
72767 // returning from await.
72768 t1._async_evaluate0$__parent = t2;
72769 // implicit return
72770 return A._asyncReturn(null, $async$completer);
72771 }
72772 });
72773 return A._asyncStartSync($async$call$1, $async$completer);
72774 },
72775 $signature: 31
72776 };
72777 A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
72778 call$1(callback) {
72779 var $async$goto = 0,
72780 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72781 $async$self = this, t1, oldAtRootExcludingStyleRule;
72782 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72783 if ($async$errorCode === 1)
72784 return A._asyncRethrow($async$result, $async$completer);
72785 while (true)
72786 switch ($async$goto) {
72787 case 0:
72788 // Function start
72789 t1 = $async$self.$this;
72790 oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
72791 t1._async_evaluate0$_atRootExcludingStyleRule = true;
72792 $async$goto = 2;
72793 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
72794 case 2:
72795 // returning from await.
72796 t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
72797 // implicit return
72798 return A._asyncReturn(null, $async$completer);
72799 }
72800 });
72801 return A._asyncStartSync($async$call$1, $async$completer);
72802 },
72803 $signature: 31
72804 };
72805 A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
72806 call$1(callback) {
72807 return this.$this._async_evaluate0$_withMediaQueries$1$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
72808 },
72809 $signature: 31
72810 };
72811 A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
72812 call$0() {
72813 return this.innerScope.call$1(this.callback);
72814 },
72815 $signature: 2
72816 };
72817 A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
72818 call$1(callback) {
72819 var $async$goto = 0,
72820 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72821 $async$self = this, t1, wasInKeyframes;
72822 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72823 if ($async$errorCode === 1)
72824 return A._asyncRethrow($async$result, $async$completer);
72825 while (true)
72826 switch ($async$goto) {
72827 case 0:
72828 // Function start
72829 t1 = $async$self.$this;
72830 wasInKeyframes = t1._async_evaluate0$_inKeyframes;
72831 t1._async_evaluate0$_inKeyframes = false;
72832 $async$goto = 2;
72833 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
72834 case 2:
72835 // returning from await.
72836 t1._async_evaluate0$_inKeyframes = wasInKeyframes;
72837 // implicit return
72838 return A._asyncReturn(null, $async$completer);
72839 }
72840 });
72841 return A._asyncStartSync($async$call$1, $async$completer);
72842 },
72843 $signature: 31
72844 };
72845 A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
72846 call$1($parent) {
72847 return type$.CssAtRule_2._is($parent);
72848 },
72849 $signature: 168
72850 };
72851 A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
72852 call$1(callback) {
72853 var $async$goto = 0,
72854 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72855 $async$self = this, t1, wasInUnknownAtRule;
72856 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72857 if ($async$errorCode === 1)
72858 return A._asyncRethrow($async$result, $async$completer);
72859 while (true)
72860 switch ($async$goto) {
72861 case 0:
72862 // Function start
72863 t1 = $async$self.$this;
72864 wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
72865 t1._async_evaluate0$_inUnknownAtRule = false;
72866 $async$goto = 2;
72867 return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
72868 case 2:
72869 // returning from await.
72870 t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
72871 // implicit return
72872 return A._asyncReturn(null, $async$completer);
72873 }
72874 });
72875 return A._asyncStartSync($async$call$1, $async$completer);
72876 },
72877 $signature: 31
72878 };
72879 A._EvaluateVisitor_visitContentRule_closure2.prototype = {
72880 call$0() {
72881 var $async$goto = 0,
72882 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72883 $async$returnValue, $async$self = this, t1, t2, t3, _i;
72884 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72885 if ($async$errorCode === 1)
72886 return A._asyncRethrow($async$result, $async$completer);
72887 while (true)
72888 switch ($async$goto) {
72889 case 0:
72890 // Function start
72891 t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
72892 case 3:
72893 // for condition
72894 if (!(_i < t2)) {
72895 // goto after for
72896 $async$goto = 5;
72897 break;
72898 }
72899 $async$goto = 6;
72900 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
72901 case 6:
72902 // returning from await.
72903 case 4:
72904 // for update
72905 ++_i;
72906 // goto for condition
72907 $async$goto = 3;
72908 break;
72909 case 5:
72910 // after for
72911 $async$returnValue = null;
72912 // goto return
72913 $async$goto = 1;
72914 break;
72915 case 1:
72916 // return
72917 return A._asyncReturn($async$returnValue, $async$completer);
72918 }
72919 });
72920 return A._asyncStartSync($async$call$0, $async$completer);
72921 },
72922 $signature: 2
72923 };
72924 A._EvaluateVisitor_visitDeclaration_closure5.prototype = {
72925 call$1(value) {
72926 return this.$call$body$_EvaluateVisitor_visitDeclaration_closure0(value);
72927 },
72928 $call$body$_EvaluateVisitor_visitDeclaration_closure0(value) {
72929 var $async$goto = 0,
72930 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value_2),
72931 $async$returnValue, $async$self = this, $async$temp1;
72932 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72933 if ($async$errorCode === 1)
72934 return A._asyncRethrow($async$result, $async$completer);
72935 while (true)
72936 switch ($async$goto) {
72937 case 0:
72938 // Function start
72939 $async$temp1 = A;
72940 $async$goto = 3;
72941 return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
72942 case 3:
72943 // returning from await.
72944 $async$returnValue = new $async$temp1.CssValue0($async$result, value.get$span(value), type$.CssValue_Value_2);
72945 // goto return
72946 $async$goto = 1;
72947 break;
72948 case 1:
72949 // return
72950 return A._asyncReturn($async$returnValue, $async$completer);
72951 }
72952 });
72953 return A._asyncStartSync($async$call$1, $async$completer);
72954 },
72955 $signature: 331
72956 };
72957 A._EvaluateVisitor_visitDeclaration_closure6.prototype = {
72958 call$0() {
72959 var $async$goto = 0,
72960 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
72961 $async$self = this, t1, t2, t3, _i;
72962 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
72963 if ($async$errorCode === 1)
72964 return A._asyncRethrow($async$result, $async$completer);
72965 while (true)
72966 switch ($async$goto) {
72967 case 0:
72968 // Function start
72969 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
72970 case 2:
72971 // for condition
72972 if (!(_i < t2)) {
72973 // goto after for
72974 $async$goto = 4;
72975 break;
72976 }
72977 $async$goto = 5;
72978 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
72979 case 5:
72980 // returning from await.
72981 case 3:
72982 // for update
72983 ++_i;
72984 // goto for condition
72985 $async$goto = 2;
72986 break;
72987 case 4:
72988 // after for
72989 // implicit return
72990 return A._asyncReturn(null, $async$completer);
72991 }
72992 });
72993 return A._asyncStartSync($async$call$0, $async$completer);
72994 },
72995 $signature: 2
72996 };
72997 A._EvaluateVisitor_visitEachRule_closure8.prototype = {
72998 call$1(value) {
72999 var t1 = this.$this,
73000 t2 = this.nodeWithSpan;
73001 return t1._async_evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
73002 },
73003 $signature: 55
73004 };
73005 A._EvaluateVisitor_visitEachRule_closure9.prototype = {
73006 call$1(value) {
73007 return this.$this._async_evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
73008 },
73009 $signature: 55
73010 };
73011 A._EvaluateVisitor_visitEachRule_closure10.prototype = {
73012 call$0() {
73013 var _this = this,
73014 t1 = _this.$this;
73015 return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
73016 },
73017 $signature: 70
73018 };
73019 A._EvaluateVisitor_visitEachRule__closure2.prototype = {
73020 call$1(element) {
73021 var t1;
73022 this.setVariables.call$1(element);
73023 t1 = this.$this;
73024 return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
73025 },
73026 $signature: 334
73027 };
73028 A._EvaluateVisitor_visitEachRule___closure2.prototype = {
73029 call$1(child) {
73030 return child.accept$1(this.$this);
73031 },
73032 $signature: 99
73033 };
73034 A._EvaluateVisitor_visitExtendRule_closure2.prototype = {
73035 call$0() {
73036 var t1 = this.targetText;
73037 return A.SelectorList_SelectorList$parse0(A.trimAscii0(t1.get$value(t1), true), false, true, this.$this._async_evaluate0$_logger);
73038 },
73039 $signature: 49
73040 };
73041 A._EvaluateVisitor_visitAtRule_closure8.prototype = {
73042 call$1(value) {
73043 return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
73044 },
73045 $signature: 337
73046 };
73047 A._EvaluateVisitor_visitAtRule_closure9.prototype = {
73048 call$0() {
73049 var $async$goto = 0,
73050 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73051 $async$self = this, t2, t3, _i, t1, styleRule;
73052 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73053 if ($async$errorCode === 1)
73054 return A._asyncRethrow($async$result, $async$completer);
73055 while (true)
73056 switch ($async$goto) {
73057 case 0:
73058 // Function start
73059 t1 = $async$self.$this;
73060 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
73061 $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes ? 2 : 4;
73062 break;
73063 case 2:
73064 // then
73065 t2 = $async$self.children, t3 = t2.length, _i = 0;
73066 case 5:
73067 // for condition
73068 if (!(_i < t3)) {
73069 // goto after for
73070 $async$goto = 7;
73071 break;
73072 }
73073 $async$goto = 8;
73074 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
73075 case 8:
73076 // returning from await.
73077 case 6:
73078 // for update
73079 ++_i;
73080 // goto for condition
73081 $async$goto = 5;
73082 break;
73083 case 7:
73084 // after for
73085 // goto join
73086 $async$goto = 3;
73087 break;
73088 case 4:
73089 // else
73090 $async$goto = 9;
73091 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);
73092 case 9:
73093 // returning from await.
73094 case 3:
73095 // join
73096 // implicit return
73097 return A._asyncReturn(null, $async$completer);
73098 }
73099 });
73100 return A._asyncStartSync($async$call$0, $async$completer);
73101 },
73102 $signature: 2
73103 };
73104 A._EvaluateVisitor_visitAtRule__closure2.prototype = {
73105 call$0() {
73106 var $async$goto = 0,
73107 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73108 $async$self = this, t1, t2, t3, _i;
73109 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73110 if ($async$errorCode === 1)
73111 return A._asyncRethrow($async$result, $async$completer);
73112 while (true)
73113 switch ($async$goto) {
73114 case 0:
73115 // Function start
73116 t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73117 case 2:
73118 // for condition
73119 if (!(_i < t2)) {
73120 // goto after for
73121 $async$goto = 4;
73122 break;
73123 }
73124 $async$goto = 5;
73125 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73126 case 5:
73127 // returning from await.
73128 case 3:
73129 // for update
73130 ++_i;
73131 // goto for condition
73132 $async$goto = 2;
73133 break;
73134 case 4:
73135 // after for
73136 // implicit return
73137 return A._asyncReturn(null, $async$completer);
73138 }
73139 });
73140 return A._asyncStartSync($async$call$0, $async$completer);
73141 },
73142 $signature: 2
73143 };
73144 A._EvaluateVisitor_visitAtRule_closure10.prototype = {
73145 call$1(node) {
73146 return type$.CssStyleRule_2._is(node);
73147 },
73148 $signature: 8
73149 };
73150 A._EvaluateVisitor_visitForRule_closure14.prototype = {
73151 call$0() {
73152 var $async$goto = 0,
73153 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
73154 $async$returnValue, $async$self = this;
73155 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73156 if ($async$errorCode === 1)
73157 return A._asyncRethrow($async$result, $async$completer);
73158 while (true)
73159 switch ($async$goto) {
73160 case 0:
73161 // Function start
73162 $async$goto = 3;
73163 return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
73164 case 3:
73165 // returning from await.
73166 $async$returnValue = $async$result.assertNumber$0();
73167 // goto return
73168 $async$goto = 1;
73169 break;
73170 case 1:
73171 // return
73172 return A._asyncReturn($async$returnValue, $async$completer);
73173 }
73174 });
73175 return A._asyncStartSync($async$call$0, $async$completer);
73176 },
73177 $signature: 174
73178 };
73179 A._EvaluateVisitor_visitForRule_closure15.prototype = {
73180 call$0() {
73181 var $async$goto = 0,
73182 $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
73183 $async$returnValue, $async$self = this;
73184 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73185 if ($async$errorCode === 1)
73186 return A._asyncRethrow($async$result, $async$completer);
73187 while (true)
73188 switch ($async$goto) {
73189 case 0:
73190 // Function start
73191 $async$goto = 3;
73192 return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
73193 case 3:
73194 // returning from await.
73195 $async$returnValue = $async$result.assertNumber$0();
73196 // goto return
73197 $async$goto = 1;
73198 break;
73199 case 1:
73200 // return
73201 return A._asyncReturn($async$returnValue, $async$completer);
73202 }
73203 });
73204 return A._asyncStartSync($async$call$0, $async$completer);
73205 },
73206 $signature: 174
73207 };
73208 A._EvaluateVisitor_visitForRule_closure16.prototype = {
73209 call$0() {
73210 return this.fromNumber.assertInt$0();
73211 },
73212 $signature: 12
73213 };
73214 A._EvaluateVisitor_visitForRule_closure17.prototype = {
73215 call$0() {
73216 var t1 = this.fromNumber;
73217 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
73218 },
73219 $signature: 12
73220 };
73221 A._EvaluateVisitor_visitForRule_closure18.prototype = {
73222 call$0() {
73223 var $async$goto = 0,
73224 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
73225 $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
73226 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73227 if ($async$errorCode === 1)
73228 return A._asyncRethrow($async$result, $async$completer);
73229 while (true)
73230 switch ($async$goto) {
73231 case 0:
73232 // Function start
73233 t1 = $async$self.$this;
73234 t2 = $async$self.node;
73235 nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
73236 i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
73237 case 3:
73238 // for condition
73239 if (!(i !== t3.to)) {
73240 // goto after for
73241 $async$goto = 5;
73242 break;
73243 }
73244 t7 = t1._async_evaluate0$_environment;
73245 t8 = t6.get$numeratorUnits(t6);
73246 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
73247 $async$goto = 6;
73248 return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
73249 case 6:
73250 // returning from await.
73251 result = $async$result;
73252 if (result != null) {
73253 $async$returnValue = result;
73254 // goto return
73255 $async$goto = 1;
73256 break;
73257 }
73258 case 4:
73259 // for update
73260 i += t4;
73261 // goto for condition
73262 $async$goto = 3;
73263 break;
73264 case 5:
73265 // after for
73266 $async$returnValue = null;
73267 // goto return
73268 $async$goto = 1;
73269 break;
73270 case 1:
73271 // return
73272 return A._asyncReturn($async$returnValue, $async$completer);
73273 }
73274 });
73275 return A._asyncStartSync($async$call$0, $async$completer);
73276 },
73277 $signature: 70
73278 };
73279 A._EvaluateVisitor_visitForRule__closure2.prototype = {
73280 call$1(child) {
73281 return child.accept$1(this.$this);
73282 },
73283 $signature: 99
73284 };
73285 A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
73286 call$1(module) {
73287 this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
73288 },
73289 $signature: 133
73290 };
73291 A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
73292 call$1(module) {
73293 this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
73294 },
73295 $signature: 133
73296 };
73297 A._EvaluateVisitor_visitIfRule_closure2.prototype = {
73298 call$0() {
73299 var t1 = this.$this;
73300 return t1._async_evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure2(t1));
73301 },
73302 $signature: 70
73303 };
73304 A._EvaluateVisitor_visitIfRule__closure2.prototype = {
73305 call$1(child) {
73306 return child.accept$1(this.$this);
73307 },
73308 $signature: 99
73309 };
73310 A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
73311 call$0() {
73312 var $async$goto = 0,
73313 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73314 $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;
73315 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73316 if ($async$errorCode === 1)
73317 return A._asyncRethrow($async$result, $async$completer);
73318 while (true)
73319 switch ($async$goto) {
73320 case 0:
73321 // Function start
73322 t1 = $async$self.$this;
73323 t2 = $async$self.$import;
73324 $async$goto = 3;
73325 return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
73326 case 3:
73327 // returning from await.
73328 result = $async$result;
73329 stylesheet = result.stylesheet;
73330 url = stylesheet.span.file.url;
73331 if (url != null) {
73332 t3 = t1._async_evaluate0$_activeModules;
73333 if (t3.containsKey$1(url)) {
73334 t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
73335 throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
73336 }
73337 t3.$indexSet(0, url, t2);
73338 }
73339 t2 = stylesheet._stylesheet1$_uses;
73340 t3 = type$.UnmodifiableListView_UseRule_2;
73341 t4 = new A.UnmodifiableListView(t2, t3);
73342 if (t4.get$length(t4) === 0) {
73343 t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73344 t4 = t4.get$length(t4) === 0;
73345 } else
73346 t4 = false;
73347 $async$goto = t4 ? 4 : 5;
73348 break;
73349 case 4:
73350 // then
73351 oldImporter = t1._async_evaluate0$_importer;
73352 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
73353 oldInDependency = t1._async_evaluate0$_inDependency;
73354 t1._async_evaluate0$_importer = result.importer;
73355 t1._async_evaluate0$__stylesheet = stylesheet;
73356 t1._async_evaluate0$_inDependency = result.isDependency;
73357 $async$goto = 6;
73358 return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
73359 case 6:
73360 // returning from await.
73361 t1._async_evaluate0$_importer = oldImporter;
73362 t1._async_evaluate0$__stylesheet = t2;
73363 t1._async_evaluate0$_inDependency = oldInDependency;
73364 t1._async_evaluate0$_activeModules.remove$1(0, url);
73365 // goto return
73366 $async$goto = 1;
73367 break;
73368 case 5:
73369 // join
73370 t2 = new A.UnmodifiableListView(t2, t3);
73371 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
73372 t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73373 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
73374 } else
73375 loadsUserDefinedModules = true;
73376 children = A._Cell$();
73377 t2 = t1._async_evaluate0$_environment;
73378 t3 = type$.String;
73379 t4 = type$.Module_AsyncCallable_2;
73380 t5 = type$.AstNode_2;
73381 t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
73382 t7 = t2._async_environment0$_variables;
73383 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
73384 t8 = t2._async_environment0$_variableNodes;
73385 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
73386 t9 = t2._async_environment0$_functions;
73387 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
73388 t10 = t2._async_environment0$_mixins;
73389 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
73390 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);
73391 $async$goto = 7;
73392 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);
73393 case 7:
73394 // returning from await.
73395 module = environment.toDummyModule$0();
73396 t1._async_evaluate0$_environment.importForwards$1(module);
73397 $async$goto = loadsUserDefinedModules ? 8 : 9;
73398 break;
73399 case 8:
73400 // then
73401 $async$goto = module.transitivelyContainsCss ? 10 : 11;
73402 break;
73403 case 10:
73404 // then
73405 $async$goto = 12;
73406 return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
73407 case 12:
73408 // returning from await.
73409 case 11:
73410 // join
73411 visitor = new A._ImportedCssVisitor2(t1);
73412 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
73413 t2.get$current(t2).accept$1(visitor);
73414 case 9:
73415 // join
73416 t1._async_evaluate0$_activeModules.remove$1(0, url);
73417 case 1:
73418 // return
73419 return A._asyncReturn($async$returnValue, $async$completer);
73420 }
73421 });
73422 return A._asyncStartSync($async$call$0, $async$completer);
73423 },
73424 $signature: 37
73425 };
73426 A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
73427 call$1(previousLoad) {
73428 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));
73429 },
73430 $signature: 84
73431 };
73432 A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
73433 call$1(rule) {
73434 return rule.url.get$scheme() !== "sass";
73435 },
73436 $signature: 176
73437 };
73438 A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
73439 call$1(rule) {
73440 return rule.url.get$scheme() !== "sass";
73441 },
73442 $signature: 177
73443 };
73444 A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
73445 call$0() {
73446 var $async$goto = 0,
73447 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73448 $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
73449 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73450 if ($async$errorCode === 1)
73451 return A._asyncRethrow($async$result, $async$completer);
73452 while (true)
73453 switch ($async$goto) {
73454 case 0:
73455 // Function start
73456 t1 = $async$self.$this;
73457 oldImporter = t1._async_evaluate0$_importer;
73458 t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
73459 t3 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
73460 t4 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
73461 t5 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
73462 oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
73463 oldConfiguration = t1._async_evaluate0$_configuration;
73464 oldInDependency = t1._async_evaluate0$_inDependency;
73465 t6 = $async$self.result;
73466 t1._async_evaluate0$_importer = t6.importer;
73467 t7 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
73468 t8 = $async$self.loadsUserDefinedModules;
73469 if (t8) {
73470 t9 = A.ModifiableCssStylesheet$0(t7.span);
73471 t1._async_evaluate0$__root = t9;
73472 t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t9, "_root");
73473 t1._async_evaluate0$__endOfImports = 0;
73474 t1._async_evaluate0$_outOfOrderImports = null;
73475 }
73476 t1._async_evaluate0$_inDependency = t6.isDependency;
73477 t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
73478 if (!t6.get$isEmpty(t6))
73479 t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
73480 $async$goto = 2;
73481 return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
73482 case 2:
73483 // returning from await.
73484 t6 = t8 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
73485 $async$self.children._value = t6;
73486 t1._async_evaluate0$_importer = oldImporter;
73487 t1._async_evaluate0$__stylesheet = t2;
73488 t1._async_evaluate0$__root = t3;
73489 t1._async_evaluate0$__parent = t4;
73490 t1._async_evaluate0$__endOfImports = t5;
73491 t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
73492 t1._async_evaluate0$_configuration = oldConfiguration;
73493 t1._async_evaluate0$_inDependency = oldInDependency;
73494 // implicit return
73495 return A._asyncReturn(null, $async$completer);
73496 }
73497 });
73498 return A._asyncStartSync($async$call$0, $async$completer);
73499 },
73500 $signature: 2
73501 };
73502 A._EvaluateVisitor__visitStaticImport_closure2.prototype = {
73503 call$1(supports) {
73504 return this.$call$body$_EvaluateVisitor__visitStaticImport_closure0(supports);
73505 },
73506 $call$body$_EvaluateVisitor__visitStaticImport_closure0(supports) {
73507 var $async$goto = 0,
73508 $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
73509 $async$returnValue, $async$self = this, t2, arg, t1, $async$temp1, $async$temp2;
73510 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73511 if ($async$errorCode === 1)
73512 return A._asyncRethrow($async$result, $async$completer);
73513 while (true)
73514 switch ($async$goto) {
73515 case 0:
73516 // Function start
73517 t1 = $async$self.$this;
73518 $async$goto = supports instanceof A.SupportsDeclaration0 ? 3 : 5;
73519 break;
73520 case 3:
73521 // then
73522 $async$temp1 = A;
73523 $async$goto = 6;
73524 return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(supports.name), $async$call$1);
73525 case 6:
73526 // returning from await.
73527 t2 = $async$temp1.S($async$result) + ":";
73528 $async$temp1 = t2 + (supports.get$isCustomProperty() ? "" : " ");
73529 $async$temp2 = A;
73530 $async$goto = 7;
73531 return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(supports.value), $async$call$1);
73532 case 7:
73533 // returning from await.
73534 arg = $async$temp1 + $async$temp2.S($async$result);
73535 // goto join
73536 $async$goto = 4;
73537 break;
73538 case 5:
73539 // else
73540 $async$goto = 8;
73541 return A._asyncAwait(A.NullableExtension_andThen0(supports, t1.get$_async_evaluate0$_visitSupportsCondition()), $async$call$1);
73542 case 8:
73543 // returning from await.
73544 arg = $async$result;
73545 case 4:
73546 // join
73547 $async$returnValue = new A.CssValue0("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String_2);
73548 // goto return
73549 $async$goto = 1;
73550 break;
73551 case 1:
73552 // return
73553 return A._asyncReturn($async$returnValue, $async$completer);
73554 }
73555 });
73556 return A._asyncStartSync($async$call$1, $async$completer);
73557 },
73558 $signature: 343
73559 };
73560 A._EvaluateVisitor_visitIncludeRule_closure11.prototype = {
73561 call$0() {
73562 var t1 = this.node;
73563 return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
73564 },
73565 $signature: 137
73566 };
73567 A._EvaluateVisitor_visitIncludeRule_closure12.prototype = {
73568 call$0() {
73569 return this.node.get$spanWithoutContent();
73570 },
73571 $signature: 29
73572 };
73573 A._EvaluateVisitor_visitIncludeRule_closure14.prototype = {
73574 call$1($content) {
73575 return new A.UserDefinedCallable0($content, this.$this._async_evaluate0$_environment.closure$0(), type$.UserDefinedCallable_AsyncEnvironment_2);
73576 },
73577 $signature: 344
73578 };
73579 A._EvaluateVisitor_visitIncludeRule_closure13.prototype = {
73580 call$0() {
73581 var $async$goto = 0,
73582 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73583 $async$self = this, t1;
73584 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73585 if ($async$errorCode === 1)
73586 return A._asyncRethrow($async$result, $async$completer);
73587 while (true)
73588 switch ($async$goto) {
73589 case 0:
73590 // Function start
73591 t1 = $async$self.$this;
73592 $async$goto = 2;
73593 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);
73594 case 2:
73595 // returning from await.
73596 // implicit return
73597 return A._asyncReturn(null, $async$completer);
73598 }
73599 });
73600 return A._asyncStartSync($async$call$0, $async$completer);
73601 },
73602 $signature: 2
73603 };
73604 A._EvaluateVisitor_visitIncludeRule__closure2.prototype = {
73605 call$0() {
73606 var $async$goto = 0,
73607 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73608 $async$self = this, t1;
73609 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73610 if ($async$errorCode === 1)
73611 return A._asyncRethrow($async$result, $async$completer);
73612 while (true)
73613 switch ($async$goto) {
73614 case 0:
73615 // Function start
73616 t1 = $async$self.$this;
73617 $async$goto = 2;
73618 return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure2(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
73619 case 2:
73620 // returning from await.
73621 // implicit return
73622 return A._asyncReturn(null, $async$completer);
73623 }
73624 });
73625 return A._asyncStartSync($async$call$0, $async$completer);
73626 },
73627 $signature: 37
73628 };
73629 A._EvaluateVisitor_visitIncludeRule___closure2.prototype = {
73630 call$0() {
73631 var $async$goto = 0,
73632 $async$completer = A._makeAsyncAwaitCompleter(type$.void),
73633 $async$self = this, t1, t2, t3, t4, t5, _i;
73634 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73635 if ($async$errorCode === 1)
73636 return A._asyncRethrow($async$result, $async$completer);
73637 while (true)
73638 switch ($async$goto) {
73639 case 0:
73640 // Function start
73641 t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value_2, _i = 0;
73642 case 2:
73643 // for condition
73644 if (!(_i < t2)) {
73645 // goto after for
73646 $async$goto = 4;
73647 break;
73648 }
73649 $async$goto = 5;
73650 return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure2(t3, t1[_i]), t5), $async$call$0);
73651 case 5:
73652 // returning from await.
73653 case 3:
73654 // for update
73655 ++_i;
73656 // goto for condition
73657 $async$goto = 2;
73658 break;
73659 case 4:
73660 // after for
73661 // implicit return
73662 return A._asyncReturn(null, $async$completer);
73663 }
73664 });
73665 return A._asyncStartSync($async$call$0, $async$completer);
73666 },
73667 $signature: 37
73668 };
73669 A._EvaluateVisitor_visitIncludeRule____closure2.prototype = {
73670 call$0() {
73671 return this.statement.accept$1(this.$this);
73672 },
73673 $signature: 70
73674 };
73675 A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
73676 call$1(mediaQueries) {
73677 return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
73678 },
73679 $signature: 76
73680 };
73681 A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
73682 call$0() {
73683 var $async$goto = 0,
73684 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73685 $async$self = this, t1, t2;
73686 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73687 if ($async$errorCode === 1)
73688 return A._asyncRethrow($async$result, $async$completer);
73689 while (true)
73690 switch ($async$goto) {
73691 case 0:
73692 // Function start
73693 t1 = $async$self.$this;
73694 t2 = $async$self.mergedQueries;
73695 if (t2 == null)
73696 t2 = $async$self.queries;
73697 $async$goto = 2;
73698 return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
73699 case 2:
73700 // returning from await.
73701 // implicit return
73702 return A._asyncReturn(null, $async$completer);
73703 }
73704 });
73705 return A._asyncStartSync($async$call$0, $async$completer);
73706 },
73707 $signature: 2
73708 };
73709 A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
73710 call$0() {
73711 var $async$goto = 0,
73712 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73713 $async$self = this, t2, t3, _i, t1, styleRule;
73714 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73715 if ($async$errorCode === 1)
73716 return A._asyncRethrow($async$result, $async$completer);
73717 while (true)
73718 switch ($async$goto) {
73719 case 0:
73720 // Function start
73721 t1 = $async$self.$this;
73722 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
73723 $async$goto = styleRule == null ? 2 : 4;
73724 break;
73725 case 2:
73726 // then
73727 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
73728 case 5:
73729 // for condition
73730 if (!(_i < t3)) {
73731 // goto after for
73732 $async$goto = 7;
73733 break;
73734 }
73735 $async$goto = 8;
73736 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
73737 case 8:
73738 // returning from await.
73739 case 6:
73740 // for update
73741 ++_i;
73742 // goto for condition
73743 $async$goto = 5;
73744 break;
73745 case 7:
73746 // after for
73747 // goto join
73748 $async$goto = 3;
73749 break;
73750 case 4:
73751 // else
73752 $async$goto = 9;
73753 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);
73754 case 9:
73755 // returning from await.
73756 case 3:
73757 // join
73758 // implicit return
73759 return A._asyncReturn(null, $async$completer);
73760 }
73761 });
73762 return A._asyncStartSync($async$call$0, $async$completer);
73763 },
73764 $signature: 2
73765 };
73766 A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
73767 call$0() {
73768 var $async$goto = 0,
73769 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73770 $async$self = this, t1, t2, t3, _i;
73771 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73772 if ($async$errorCode === 1)
73773 return A._asyncRethrow($async$result, $async$completer);
73774 while (true)
73775 switch ($async$goto) {
73776 case 0:
73777 // Function start
73778 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73779 case 2:
73780 // for condition
73781 if (!(_i < t2)) {
73782 // goto after for
73783 $async$goto = 4;
73784 break;
73785 }
73786 $async$goto = 5;
73787 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73788 case 5:
73789 // returning from await.
73790 case 3:
73791 // for update
73792 ++_i;
73793 // goto for condition
73794 $async$goto = 2;
73795 break;
73796 case 4:
73797 // after for
73798 // implicit return
73799 return A._asyncReturn(null, $async$completer);
73800 }
73801 });
73802 return A._asyncStartSync($async$call$0, $async$completer);
73803 },
73804 $signature: 2
73805 };
73806 A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
73807 call$1(node) {
73808 var t1;
73809 if (!type$.CssStyleRule_2._is(node))
73810 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
73811 else
73812 t1 = true;
73813 return t1;
73814 },
73815 $signature: 8
73816 };
73817 A._EvaluateVisitor__visitMediaQueries_closure2.prototype = {
73818 call$0() {
73819 var t1 = A.SpanScanner$(this.resolved, null);
73820 return new A.MediaQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
73821 },
73822 $signature: 132
73823 };
73824 A._EvaluateVisitor_visitStyleRule_closure20.prototype = {
73825 call$0() {
73826 var t1 = this.selectorText;
73827 return A.KeyframeSelectorParser$0(t1.get$value(t1), this.$this._async_evaluate0$_logger).parse$0();
73828 },
73829 $signature: 48
73830 };
73831 A._EvaluateVisitor_visitStyleRule_closure21.prototype = {
73832 call$0() {
73833 var $async$goto = 0,
73834 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73835 $async$self = this, t1, t2, t3, _i;
73836 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73837 if ($async$errorCode === 1)
73838 return A._asyncRethrow($async$result, $async$completer);
73839 while (true)
73840 switch ($async$goto) {
73841 case 0:
73842 // Function start
73843 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73844 case 2:
73845 // for condition
73846 if (!(_i < t2)) {
73847 // goto after for
73848 $async$goto = 4;
73849 break;
73850 }
73851 $async$goto = 5;
73852 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73853 case 5:
73854 // returning from await.
73855 case 3:
73856 // for update
73857 ++_i;
73858 // goto for condition
73859 $async$goto = 2;
73860 break;
73861 case 4:
73862 // after for
73863 // implicit return
73864 return A._asyncReturn(null, $async$completer);
73865 }
73866 });
73867 return A._asyncStartSync($async$call$0, $async$completer);
73868 },
73869 $signature: 2
73870 };
73871 A._EvaluateVisitor_visitStyleRule_closure22.prototype = {
73872 call$1(node) {
73873 return type$.CssStyleRule_2._is(node);
73874 },
73875 $signature: 8
73876 };
73877 A._EvaluateVisitor_visitStyleRule_closure23.prototype = {
73878 call$0() {
73879 var _s11_ = "_stylesheet",
73880 t1 = this.selectorText,
73881 t2 = this.$this;
73882 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);
73883 },
73884 $signature: 49
73885 };
73886 A._EvaluateVisitor_visitStyleRule_closure24.prototype = {
73887 call$0() {
73888 var t1 = this._box_0.parsedSelector,
73889 t2 = this.$this,
73890 t3 = t2._async_evaluate0$_styleRuleIgnoringAtRoot;
73891 t3 = t3 == null ? null : t3.originalSelector;
73892 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate0$_atRootExcludingStyleRule);
73893 },
73894 $signature: 49
73895 };
73896 A._EvaluateVisitor_visitStyleRule_closure25.prototype = {
73897 call$0() {
73898 var $async$goto = 0,
73899 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73900 $async$self = this, t1;
73901 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73902 if ($async$errorCode === 1)
73903 return A._asyncRethrow($async$result, $async$completer);
73904 while (true)
73905 switch ($async$goto) {
73906 case 0:
73907 // Function start
73908 t1 = $async$self.$this;
73909 $async$goto = 2;
73910 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);
73911 case 2:
73912 // returning from await.
73913 // implicit return
73914 return A._asyncReturn(null, $async$completer);
73915 }
73916 });
73917 return A._asyncStartSync($async$call$0, $async$completer);
73918 },
73919 $signature: 2
73920 };
73921 A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
73922 call$0() {
73923 var $async$goto = 0,
73924 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73925 $async$self = this, t1, t2, t3, _i;
73926 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73927 if ($async$errorCode === 1)
73928 return A._asyncRethrow($async$result, $async$completer);
73929 while (true)
73930 switch ($async$goto) {
73931 case 0:
73932 // Function start
73933 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
73934 case 2:
73935 // for condition
73936 if (!(_i < t2)) {
73937 // goto after for
73938 $async$goto = 4;
73939 break;
73940 }
73941 $async$goto = 5;
73942 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
73943 case 5:
73944 // returning from await.
73945 case 3:
73946 // for update
73947 ++_i;
73948 // goto for condition
73949 $async$goto = 2;
73950 break;
73951 case 4:
73952 // after for
73953 // implicit return
73954 return A._asyncReturn(null, $async$completer);
73955 }
73956 });
73957 return A._asyncStartSync($async$call$0, $async$completer);
73958 },
73959 $signature: 2
73960 };
73961 A._EvaluateVisitor_visitStyleRule_closure26.prototype = {
73962 call$1(node) {
73963 return type$.CssStyleRule_2._is(node);
73964 },
73965 $signature: 8
73966 };
73967 A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
73968 call$0() {
73969 var $async$goto = 0,
73970 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
73971 $async$self = this, t2, t3, _i, t1, styleRule;
73972 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
73973 if ($async$errorCode === 1)
73974 return A._asyncRethrow($async$result, $async$completer);
73975 while (true)
73976 switch ($async$goto) {
73977 case 0:
73978 // Function start
73979 t1 = $async$self.$this;
73980 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
73981 $async$goto = styleRule == null ? 2 : 4;
73982 break;
73983 case 2:
73984 // then
73985 t2 = $async$self.node.children, t3 = t2.length, _i = 0;
73986 case 5:
73987 // for condition
73988 if (!(_i < t3)) {
73989 // goto after for
73990 $async$goto = 7;
73991 break;
73992 }
73993 $async$goto = 8;
73994 return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
73995 case 8:
73996 // returning from await.
73997 case 6:
73998 // for update
73999 ++_i;
74000 // goto for condition
74001 $async$goto = 5;
74002 break;
74003 case 7:
74004 // after for
74005 // goto join
74006 $async$goto = 3;
74007 break;
74008 case 4:
74009 // else
74010 $async$goto = 9;
74011 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);
74012 case 9:
74013 // returning from await.
74014 case 3:
74015 // join
74016 // implicit return
74017 return A._asyncReturn(null, $async$completer);
74018 }
74019 });
74020 return A._asyncStartSync($async$call$0, $async$completer);
74021 },
74022 $signature: 2
74023 };
74024 A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
74025 call$0() {
74026 var $async$goto = 0,
74027 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74028 $async$self = this, t1, t2, t3, _i;
74029 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74030 if ($async$errorCode === 1)
74031 return A._asyncRethrow($async$result, $async$completer);
74032 while (true)
74033 switch ($async$goto) {
74034 case 0:
74035 // Function start
74036 t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
74037 case 2:
74038 // for condition
74039 if (!(_i < t2)) {
74040 // goto after for
74041 $async$goto = 4;
74042 break;
74043 }
74044 $async$goto = 5;
74045 return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
74046 case 5:
74047 // returning from await.
74048 case 3:
74049 // for update
74050 ++_i;
74051 // goto for condition
74052 $async$goto = 2;
74053 break;
74054 case 4:
74055 // after for
74056 // implicit return
74057 return A._asyncReturn(null, $async$completer);
74058 }
74059 });
74060 return A._asyncStartSync($async$call$0, $async$completer);
74061 },
74062 $signature: 2
74063 };
74064 A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
74065 call$1(node) {
74066 return type$.CssStyleRule_2._is(node);
74067 },
74068 $signature: 8
74069 };
74070 A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
74071 call$0() {
74072 var t1 = this.override;
74073 this.$this._async_evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
74074 },
74075 $signature: 1
74076 };
74077 A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
74078 call$0() {
74079 var t1 = this.node;
74080 return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
74081 },
74082 $signature: 38
74083 };
74084 A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
74085 call$0() {
74086 var t1 = this.$this,
74087 t2 = this.node;
74088 t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
74089 },
74090 $signature: 1
74091 };
74092 A._EvaluateVisitor_visitUseRule_closure2.prototype = {
74093 call$1(module) {
74094 var t1 = this.node;
74095 this.$this._async_evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
74096 },
74097 $signature: 133
74098 };
74099 A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
74100 call$0() {
74101 return this.node.expression.accept$1(this.$this);
74102 },
74103 $signature: 61
74104 };
74105 A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
74106 call$0() {
74107 var $async$goto = 0,
74108 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
74109 $async$returnValue, $async$self = this, t1, t2, t3, result;
74110 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74111 if ($async$errorCode === 1)
74112 return A._asyncRethrow($async$result, $async$completer);
74113 while (true)
74114 switch ($async$goto) {
74115 case 0:
74116 // Function start
74117 t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
74118 case 3:
74119 // for condition
74120 $async$goto = 5;
74121 return A._asyncAwait(t2.accept$1(t3), $async$call$0);
74122 case 5:
74123 // returning from await.
74124 if (!$async$result.get$isTruthy()) {
74125 // goto after for
74126 $async$goto = 4;
74127 break;
74128 }
74129 $async$goto = 6;
74130 return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
74131 case 6:
74132 // returning from await.
74133 result = $async$result;
74134 if (result != null) {
74135 $async$returnValue = result;
74136 // goto return
74137 $async$goto = 1;
74138 break;
74139 }
74140 // goto for condition
74141 $async$goto = 3;
74142 break;
74143 case 4:
74144 // after for
74145 $async$returnValue = null;
74146 // goto return
74147 $async$goto = 1;
74148 break;
74149 case 1:
74150 // return
74151 return A._asyncReturn($async$returnValue, $async$completer);
74152 }
74153 });
74154 return A._asyncStartSync($async$call$0, $async$completer);
74155 },
74156 $signature: 70
74157 };
74158 A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
74159 call$1(child) {
74160 return child.accept$1(this.$this);
74161 },
74162 $signature: 99
74163 };
74164 A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
74165 call$0() {
74166 var $async$goto = 0,
74167 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
74168 $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
74169 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74170 if ($async$errorCode === 1)
74171 return A._asyncRethrow($async$result, $async$completer);
74172 while (true)
74173 switch ($async$goto) {
74174 case 0:
74175 // Function start
74176 t1 = $async$self.node;
74177 t2 = $async$self.$this;
74178 $async$goto = 3;
74179 return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
74180 case 3:
74181 // returning from await.
74182 left = $async$result;
74183 t3 = t1.operator;
74184 case 4:
74185 // switch
74186 switch (t3) {
74187 case B.BinaryOperator_kjl0:
74188 // goto case
74189 $async$goto = 6;
74190 break;
74191 case B.BinaryOperator_or_or_10:
74192 // goto case
74193 $async$goto = 7;
74194 break;
74195 case B.BinaryOperator_and_and_20:
74196 // goto case
74197 $async$goto = 8;
74198 break;
74199 case B.BinaryOperator_YlX0:
74200 // goto case
74201 $async$goto = 9;
74202 break;
74203 case B.BinaryOperator_i5H0:
74204 // goto case
74205 $async$goto = 10;
74206 break;
74207 case B.BinaryOperator_AcR1:
74208 // goto case
74209 $async$goto = 11;
74210 break;
74211 case B.BinaryOperator_1da0:
74212 // goto case
74213 $async$goto = 12;
74214 break;
74215 case B.BinaryOperator_8qt0:
74216 // goto case
74217 $async$goto = 13;
74218 break;
74219 case B.BinaryOperator_33h0:
74220 // goto case
74221 $async$goto = 14;
74222 break;
74223 case B.BinaryOperator_AcR2:
74224 // goto case
74225 $async$goto = 15;
74226 break;
74227 case B.BinaryOperator_iyO0:
74228 // goto case
74229 $async$goto = 16;
74230 break;
74231 case B.BinaryOperator_O1M0:
74232 // goto case
74233 $async$goto = 17;
74234 break;
74235 case B.BinaryOperator_RTB0:
74236 // goto case
74237 $async$goto = 18;
74238 break;
74239 case B.BinaryOperator_2ad0:
74240 // goto case
74241 $async$goto = 19;
74242 break;
74243 default:
74244 // goto default
74245 $async$goto = 20;
74246 break;
74247 }
74248 break;
74249 case 6:
74250 // case
74251 $async$goto = 21;
74252 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74253 case 21:
74254 // returning from await.
74255 right = $async$result;
74256 $async$returnValue = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
74257 // goto return
74258 $async$goto = 1;
74259 break;
74260 case 7:
74261 // case
74262 $async$goto = left.get$isTruthy() ? 22 : 24;
74263 break;
74264 case 22:
74265 // then
74266 $async$result = left;
74267 // goto join
74268 $async$goto = 23;
74269 break;
74270 case 24:
74271 // else
74272 $async$goto = 25;
74273 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74274 case 25:
74275 // returning from await.
74276 case 23:
74277 // join
74278 $async$returnValue = $async$result;
74279 // goto return
74280 $async$goto = 1;
74281 break;
74282 case 8:
74283 // case
74284 $async$goto = left.get$isTruthy() ? 26 : 28;
74285 break;
74286 case 26:
74287 // then
74288 $async$goto = 29;
74289 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74290 case 29:
74291 // returning from await.
74292 // goto join
74293 $async$goto = 27;
74294 break;
74295 case 28:
74296 // else
74297 $async$result = left;
74298 case 27:
74299 // join
74300 $async$returnValue = $async$result;
74301 // goto return
74302 $async$goto = 1;
74303 break;
74304 case 9:
74305 // case
74306 $async$temp1 = left;
74307 $async$goto = 30;
74308 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74309 case 30:
74310 // returning from await.
74311 $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
74312 // goto return
74313 $async$goto = 1;
74314 break;
74315 case 10:
74316 // case
74317 $async$temp1 = left;
74318 $async$goto = 31;
74319 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74320 case 31:
74321 // returning from await.
74322 $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
74323 // goto return
74324 $async$goto = 1;
74325 break;
74326 case 11:
74327 // case
74328 $async$temp1 = left;
74329 $async$goto = 32;
74330 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74331 case 32:
74332 // returning from await.
74333 $async$returnValue = $async$temp1.greaterThan$1($async$result);
74334 // goto return
74335 $async$goto = 1;
74336 break;
74337 case 12:
74338 // case
74339 $async$temp1 = left;
74340 $async$goto = 33;
74341 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74342 case 33:
74343 // returning from await.
74344 $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
74345 // goto return
74346 $async$goto = 1;
74347 break;
74348 case 13:
74349 // case
74350 $async$temp1 = left;
74351 $async$goto = 34;
74352 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74353 case 34:
74354 // returning from await.
74355 $async$returnValue = $async$temp1.lessThan$1($async$result);
74356 // goto return
74357 $async$goto = 1;
74358 break;
74359 case 14:
74360 // case
74361 $async$temp1 = left;
74362 $async$goto = 35;
74363 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74364 case 35:
74365 // returning from await.
74366 $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
74367 // goto return
74368 $async$goto = 1;
74369 break;
74370 case 15:
74371 // case
74372 $async$temp1 = left;
74373 $async$goto = 36;
74374 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74375 case 36:
74376 // returning from await.
74377 $async$returnValue = $async$temp1.plus$1($async$result);
74378 // goto return
74379 $async$goto = 1;
74380 break;
74381 case 16:
74382 // case
74383 $async$temp1 = left;
74384 $async$goto = 37;
74385 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74386 case 37:
74387 // returning from await.
74388 $async$returnValue = $async$temp1.minus$1($async$result);
74389 // goto return
74390 $async$goto = 1;
74391 break;
74392 case 17:
74393 // case
74394 $async$temp1 = left;
74395 $async$goto = 38;
74396 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74397 case 38:
74398 // returning from await.
74399 $async$returnValue = $async$temp1.times$1($async$result);
74400 // goto return
74401 $async$goto = 1;
74402 break;
74403 case 18:
74404 // case
74405 $async$goto = 39;
74406 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74407 case 39:
74408 // returning from await.
74409 right = $async$result;
74410 result = left.dividedBy$1(right);
74411 if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
74412 $async$returnValue = type$.SassNumber_2._as(result).withSlash$2(left, right);
74413 // goto return
74414 $async$goto = 1;
74415 break;
74416 } else {
74417 if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
74418 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);
74419 $async$returnValue = result;
74420 // goto return
74421 $async$goto = 1;
74422 break;
74423 }
74424 case 19:
74425 // case
74426 $async$temp1 = left;
74427 $async$goto = 40;
74428 return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
74429 case 40:
74430 // returning from await.
74431 $async$returnValue = $async$temp1.modulo$1($async$result);
74432 // goto return
74433 $async$goto = 1;
74434 break;
74435 case 20:
74436 // default
74437 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
74438 case 5:
74439 // after switch
74440 case 1:
74441 // return
74442 return A._asyncReturn($async$returnValue, $async$completer);
74443 }
74444 });
74445 return A._asyncStartSync($async$call$0, $async$completer);
74446 },
74447 $signature: 61
74448 };
74449 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2.prototype = {
74450 call$1(expression) {
74451 if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_RTB0)
74452 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
74453 else if (expression instanceof A.ParenthesizedExpression0)
74454 return expression.expression.toString$0(0);
74455 else
74456 return expression.toString$0(0);
74457 },
74458 $signature: 130
74459 };
74460 A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
74461 call$0() {
74462 var t1 = this.node;
74463 return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
74464 },
74465 $signature: 38
74466 };
74467 A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
74468 call$0() {
74469 var _this = this,
74470 t1 = _this.node.operator;
74471 switch (t1) {
74472 case B.UnaryOperator_j2w0:
74473 return _this.operand.unaryPlus$0();
74474 case B.UnaryOperator_U4G0:
74475 return _this.operand.unaryMinus$0();
74476 case B.UnaryOperator_zDx0:
74477 return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
74478 case B.UnaryOperator_not_not0:
74479 return _this.operand.unaryNot$0();
74480 default:
74481 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
74482 }
74483 },
74484 $signature: 45
74485 };
74486 A._EvaluateVisitor__visitCalculationValue_closure2.prototype = {
74487 call$0() {
74488 var $async$goto = 0,
74489 $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
74490 $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
74491 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74492 if ($async$errorCode === 1)
74493 return A._asyncRethrow($async$result, $async$completer);
74494 while (true)
74495 switch ($async$goto) {
74496 case 0:
74497 // Function start
74498 t1 = $async$self.$this;
74499 t2 = $async$self.node;
74500 t3 = $async$self.inMinMax;
74501 $async$temp1 = A;
74502 $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator);
74503 $async$goto = 3;
74504 return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
74505 case 3:
74506 // returning from await.
74507 $async$temp3 = $async$result;
74508 $async$goto = 4;
74509 return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
74510 case 4:
74511 // returning from await.
74512 $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t3);
74513 // goto return
74514 $async$goto = 1;
74515 break;
74516 case 1:
74517 // return
74518 return A._asyncReturn($async$returnValue, $async$completer);
74519 }
74520 });
74521 return A._asyncStartSync($async$call$0, $async$completer);
74522 },
74523 $signature: 182
74524 };
74525 A._EvaluateVisitor_visitListExpression_closure2.prototype = {
74526 call$1(expression) {
74527 return expression.accept$1(this.$this);
74528 },
74529 $signature: 351
74530 };
74531 A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
74532 call$0() {
74533 var t1 = this.node;
74534 return this.$this._async_evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
74535 },
74536 $signature: 137
74537 };
74538 A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
74539 call$0() {
74540 var t1 = this.node;
74541 return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
74542 },
74543 $signature: 61
74544 };
74545 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
74546 call$0() {
74547 var t1 = this.node;
74548 return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
74549 },
74550 $signature: 61
74551 };
74552 A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
74553 call$0() {
74554 var _this = this,
74555 t1 = _this.$this,
74556 t2 = _this.callable,
74557 t3 = _this.V;
74558 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);
74559 },
74560 $signature() {
74561 return this.V._eval$1("Future<0>()");
74562 }
74563 };
74564 A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
74565 call$0() {
74566 var _this = this,
74567 t1 = _this.$this,
74568 t2 = _this.V;
74569 return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
74570 },
74571 $signature() {
74572 return this.V._eval$1("Future<0>()");
74573 }
74574 };
74575 A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
74576 call$0() {
74577 return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
74578 },
74579 $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
74580 var $async$goto = 0,
74581 $async$completer = A._makeAsyncAwaitCompleter($async$type),
74582 $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;
74583 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74584 if ($async$errorCode === 1)
74585 return A._asyncRethrow($async$result, $async$completer);
74586 while (true)
74587 switch ($async$goto) {
74588 case 0:
74589 // Function start
74590 t1 = $async$self.$this;
74591 t2 = $async$self.evaluated;
74592 t3 = t2.positional;
74593 t4 = t2.named;
74594 t5 = $async$self.callable.declaration.$arguments;
74595 t6 = $async$self.nodeWithSpan;
74596 t1._async_evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
74597 declaredArguments = t5.$arguments;
74598 t7 = declaredArguments.length;
74599 minLength = Math.min(t3.length, t7);
74600 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
74601 t1._async_evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
74602 i = t3.length, t8 = t2.namedNodes;
74603 case 3:
74604 // for condition
74605 if (!(i < t7)) {
74606 // goto after for
74607 $async$goto = 5;
74608 break;
74609 }
74610 argument = declaredArguments[i];
74611 t9 = argument.name;
74612 value = t4.remove$1(0, t9);
74613 $async$goto = value == null ? 6 : 7;
74614 break;
74615 case 6:
74616 // then
74617 t10 = argument.defaultValue;
74618 $async$temp1 = t1;
74619 $async$goto = 8;
74620 return A._asyncAwait(t10.accept$1(t1), $async$call$0);
74621 case 8:
74622 // returning from await.
74623 value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t10));
74624 case 7:
74625 // join
74626 t10 = t1._async_evaluate0$_environment;
74627 t11 = t8.$index(0, t9);
74628 if (t11 == null) {
74629 t11 = argument.defaultValue;
74630 t11.toString;
74631 t11 = t1._async_evaluate0$_expressionNode$1(t11);
74632 }
74633 t10.setLocalVariable$3(t9, value, t11);
74634 case 4:
74635 // for update
74636 ++i;
74637 // goto for condition
74638 $async$goto = 3;
74639 break;
74640 case 5:
74641 // after for
74642 restArgument = t5.restArgument;
74643 if (restArgument != null) {
74644 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty15;
74645 t2 = t2.separator;
74646 argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : t2);
74647 t1._async_evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
74648 } else
74649 argumentList = null;
74650 $async$goto = 9;
74651 return A._asyncAwait($async$self.run.call$0(), $async$call$0);
74652 case 9:
74653 // returning from await.
74654 result = $async$result;
74655 if (argumentList == null) {
74656 $async$returnValue = result;
74657 // goto return
74658 $async$goto = 1;
74659 break;
74660 }
74661 if (t4.get$isEmpty(t4)) {
74662 $async$returnValue = result;
74663 // goto return
74664 $async$goto = 1;
74665 break;
74666 }
74667 if (argumentList._argument_list$_wereKeywordsAccessed) {
74668 $async$returnValue = result;
74669 // goto return
74670 $async$goto = 1;
74671 break;
74672 }
74673 t2 = t4.get$keys(t4);
74674 argumentWord = A.pluralize0("argument", t2.get$length(t2), null);
74675 t4 = t4.get$keys(t4);
74676 argumentNames = A.toSentence0(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure2(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
74677 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))));
74678 case 1:
74679 // return
74680 return A._asyncReturn($async$returnValue, $async$completer);
74681 }
74682 });
74683 return A._asyncStartSync($async$call$0, $async$completer);
74684 },
74685 $signature() {
74686 return this.V._eval$1("Future<0>()");
74687 }
74688 };
74689 A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
74690 call$1($name) {
74691 return "$" + $name;
74692 },
74693 $signature: 5
74694 };
74695 A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
74696 call$0() {
74697 var $async$goto = 0,
74698 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
74699 $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
74700 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74701 if ($async$errorCode === 1)
74702 return A._asyncRethrow($async$result, $async$completer);
74703 while (true)
74704 switch ($async$goto) {
74705 case 0:
74706 // Function start
74707 t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
74708 case 3:
74709 // for condition
74710 if (!(_i < t3)) {
74711 // goto after for
74712 $async$goto = 5;
74713 break;
74714 }
74715 $async$goto = 6;
74716 return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
74717 case 6:
74718 // returning from await.
74719 $returnValue = $async$result;
74720 if ($returnValue instanceof A.Value0) {
74721 $async$returnValue = $returnValue;
74722 // goto return
74723 $async$goto = 1;
74724 break;
74725 }
74726 case 4:
74727 // for update
74728 ++_i;
74729 // goto for condition
74730 $async$goto = 3;
74731 break;
74732 case 5:
74733 // after for
74734 throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
74735 case 1:
74736 // return
74737 return A._asyncReturn($async$returnValue, $async$completer);
74738 }
74739 });
74740 return A._asyncStartSync($async$call$0, $async$completer);
74741 },
74742 $signature: 61
74743 };
74744 A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
74745 call$0() {
74746 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
74747 },
74748 $signature: 0
74749 };
74750 A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
74751 call$1($name) {
74752 return "$" + $name;
74753 },
74754 $signature: 5
74755 };
74756 A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
74757 call$1(value) {
74758 return value;
74759 },
74760 $signature: 36
74761 };
74762 A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
74763 call$1(value) {
74764 return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
74765 },
74766 $signature: 36
74767 };
74768 A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
74769 call$2(key, value) {
74770 var _this = this,
74771 t1 = _this.restNodeForSpan;
74772 _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
74773 _this.namedNodes.$indexSet(0, key, t1);
74774 },
74775 $signature: 89
74776 };
74777 A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
74778 call$1(value) {
74779 return value;
74780 },
74781 $signature: 36
74782 };
74783 A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
74784 call$1(value) {
74785 var t1 = this.restArgs;
74786 return new A.ValueExpression0(value, t1.get$span(t1));
74787 },
74788 $signature: 58
74789 };
74790 A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
74791 call$1(value) {
74792 var t1 = this.restArgs;
74793 return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
74794 },
74795 $signature: 58
74796 };
74797 A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
74798 call$2(key, value) {
74799 var _this = this,
74800 t1 = _this.restArgs;
74801 _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
74802 },
74803 $signature: 89
74804 };
74805 A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
74806 call$1(value) {
74807 var t1 = this.keywordRestArgs;
74808 return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
74809 },
74810 $signature: 58
74811 };
74812 A._EvaluateVisitor__addRestMap_closure2.prototype = {
74813 call$2(key, value) {
74814 var t2, _this = this,
74815 t1 = _this.$this;
74816 if (key instanceof A.SassString0)
74817 _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
74818 else {
74819 t2 = _this.nodeWithSpan;
74820 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)));
74821 }
74822 },
74823 $signature: 53
74824 };
74825 A._EvaluateVisitor__verifyArguments_closure2.prototype = {
74826 call$0() {
74827 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
74828 },
74829 $signature: 0
74830 };
74831 A._EvaluateVisitor_visitStringExpression_closure2.prototype = {
74832 call$1(value) {
74833 var $async$goto = 0,
74834 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
74835 $async$returnValue, $async$self = this, t1, result;
74836 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74837 if ($async$errorCode === 1)
74838 return A._asyncRethrow($async$result, $async$completer);
74839 while (true)
74840 switch ($async$goto) {
74841 case 0:
74842 // Function start
74843 if (typeof value == "string") {
74844 $async$returnValue = value;
74845 // goto return
74846 $async$goto = 1;
74847 break;
74848 }
74849 type$.Expression_2._as(value);
74850 t1 = $async$self.$this;
74851 $async$goto = 3;
74852 return A._asyncAwait(value.accept$1(t1), $async$call$1);
74853 case 3:
74854 // returning from await.
74855 result = $async$result;
74856 $async$returnValue = result instanceof A.SassString0 ? result._string0$_text : t1._async_evaluate0$_serialize$3$quote(result, value, false);
74857 // goto return
74858 $async$goto = 1;
74859 break;
74860 case 1:
74861 // return
74862 return A._asyncReturn($async$returnValue, $async$completer);
74863 }
74864 });
74865 return A._asyncStartSync($async$call$1, $async$completer);
74866 },
74867 $signature: 81
74868 };
74869 A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
74870 call$0() {
74871 var $async$goto = 0,
74872 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74873 $async$self = this, t1, t2, t3;
74874 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74875 if ($async$errorCode === 1)
74876 return A._asyncRethrow($async$result, $async$completer);
74877 while (true)
74878 switch ($async$goto) {
74879 case 0:
74880 // Function start
74881 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
74882 case 2:
74883 // for condition
74884 if (!t1.moveNext$0()) {
74885 // goto after for
74886 $async$goto = 3;
74887 break;
74888 }
74889 $async$goto = 4;
74890 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
74891 case 4:
74892 // returning from await.
74893 // goto for condition
74894 $async$goto = 2;
74895 break;
74896 case 3:
74897 // after for
74898 // implicit return
74899 return A._asyncReturn(null, $async$completer);
74900 }
74901 });
74902 return A._asyncStartSync($async$call$0, $async$completer);
74903 },
74904 $signature: 2
74905 };
74906 A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
74907 call$1(node) {
74908 return type$.CssStyleRule_2._is(node);
74909 },
74910 $signature: 8
74911 };
74912 A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
74913 call$0() {
74914 var $async$goto = 0,
74915 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74916 $async$self = this, t1, t2, t3;
74917 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74918 if ($async$errorCode === 1)
74919 return A._asyncRethrow($async$result, $async$completer);
74920 while (true)
74921 switch ($async$goto) {
74922 case 0:
74923 // Function start
74924 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
74925 case 2:
74926 // for condition
74927 if (!t1.moveNext$0()) {
74928 // goto after for
74929 $async$goto = 3;
74930 break;
74931 }
74932 $async$goto = 4;
74933 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
74934 case 4:
74935 // returning from await.
74936 // goto for condition
74937 $async$goto = 2;
74938 break;
74939 case 3:
74940 // after for
74941 // implicit return
74942 return A._asyncReturn(null, $async$completer);
74943 }
74944 });
74945 return A._asyncStartSync($async$call$0, $async$completer);
74946 },
74947 $signature: 2
74948 };
74949 A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
74950 call$1(node) {
74951 return type$.CssStyleRule_2._is(node);
74952 },
74953 $signature: 8
74954 };
74955 A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
74956 call$1(mediaQueries) {
74957 return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
74958 },
74959 $signature: 76
74960 };
74961 A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
74962 call$0() {
74963 var $async$goto = 0,
74964 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74965 $async$self = this, t1, t2;
74966 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74967 if ($async$errorCode === 1)
74968 return A._asyncRethrow($async$result, $async$completer);
74969 while (true)
74970 switch ($async$goto) {
74971 case 0:
74972 // Function start
74973 t1 = $async$self.$this;
74974 t2 = $async$self.mergedQueries;
74975 if (t2 == null)
74976 t2 = $async$self.node.queries;
74977 $async$goto = 2;
74978 return A._asyncAwait(t1._async_evaluate0$_withMediaQueries$1$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure2(t1, $async$self.node), type$.Null), $async$call$0);
74979 case 2:
74980 // returning from await.
74981 // implicit return
74982 return A._asyncReturn(null, $async$completer);
74983 }
74984 });
74985 return A._asyncStartSync($async$call$0, $async$completer);
74986 },
74987 $signature: 2
74988 };
74989 A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
74990 call$0() {
74991 var $async$goto = 0,
74992 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
74993 $async$self = this, t2, t3, t1, styleRule;
74994 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
74995 if ($async$errorCode === 1)
74996 return A._asyncRethrow($async$result, $async$completer);
74997 while (true)
74998 switch ($async$goto) {
74999 case 0:
75000 // Function start
75001 t1 = $async$self.$this;
75002 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
75003 $async$goto = styleRule == null ? 2 : 4;
75004 break;
75005 case 2:
75006 // then
75007 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
75008 case 5:
75009 // for condition
75010 if (!t2.moveNext$0()) {
75011 // goto after for
75012 $async$goto = 6;
75013 break;
75014 }
75015 $async$goto = 7;
75016 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
75017 case 7:
75018 // returning from await.
75019 // goto for condition
75020 $async$goto = 5;
75021 break;
75022 case 6:
75023 // after for
75024 // goto join
75025 $async$goto = 3;
75026 break;
75027 case 4:
75028 // else
75029 $async$goto = 8;
75030 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);
75031 case 8:
75032 // returning from await.
75033 case 3:
75034 // join
75035 // implicit return
75036 return A._asyncReturn(null, $async$completer);
75037 }
75038 });
75039 return A._asyncStartSync($async$call$0, $async$completer);
75040 },
75041 $signature: 2
75042 };
75043 A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
75044 call$0() {
75045 var $async$goto = 0,
75046 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75047 $async$self = this, t1, t2, t3;
75048 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75049 if ($async$errorCode === 1)
75050 return A._asyncRethrow($async$result, $async$completer);
75051 while (true)
75052 switch ($async$goto) {
75053 case 0:
75054 // Function start
75055 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75056 case 2:
75057 // for condition
75058 if (!t1.moveNext$0()) {
75059 // goto after for
75060 $async$goto = 3;
75061 break;
75062 }
75063 $async$goto = 4;
75064 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75065 case 4:
75066 // returning from await.
75067 // goto for condition
75068 $async$goto = 2;
75069 break;
75070 case 3:
75071 // after for
75072 // implicit return
75073 return A._asyncReturn(null, $async$completer);
75074 }
75075 });
75076 return A._asyncStartSync($async$call$0, $async$completer);
75077 },
75078 $signature: 2
75079 };
75080 A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
75081 call$1(node) {
75082 var t1;
75083 if (!type$.CssStyleRule_2._is(node))
75084 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
75085 else
75086 t1 = true;
75087 return t1;
75088 },
75089 $signature: 8
75090 };
75091 A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
75092 call$0() {
75093 var $async$goto = 0,
75094 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75095 $async$self = this, t1;
75096 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75097 if ($async$errorCode === 1)
75098 return A._asyncRethrow($async$result, $async$completer);
75099 while (true)
75100 switch ($async$goto) {
75101 case 0:
75102 // Function start
75103 t1 = $async$self.$this;
75104 $async$goto = 2;
75105 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);
75106 case 2:
75107 // returning from await.
75108 // implicit return
75109 return A._asyncReturn(null, $async$completer);
75110 }
75111 });
75112 return A._asyncStartSync($async$call$0, $async$completer);
75113 },
75114 $signature: 2
75115 };
75116 A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
75117 call$0() {
75118 var $async$goto = 0,
75119 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75120 $async$self = this, t1, t2, t3;
75121 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75122 if ($async$errorCode === 1)
75123 return A._asyncRethrow($async$result, $async$completer);
75124 while (true)
75125 switch ($async$goto) {
75126 case 0:
75127 // Function start
75128 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75129 case 2:
75130 // for condition
75131 if (!t1.moveNext$0()) {
75132 // goto after for
75133 $async$goto = 3;
75134 break;
75135 }
75136 $async$goto = 4;
75137 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75138 case 4:
75139 // returning from await.
75140 // goto for condition
75141 $async$goto = 2;
75142 break;
75143 case 3:
75144 // after for
75145 // implicit return
75146 return A._asyncReturn(null, $async$completer);
75147 }
75148 });
75149 return A._asyncStartSync($async$call$0, $async$completer);
75150 },
75151 $signature: 2
75152 };
75153 A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
75154 call$1(node) {
75155 return type$.CssStyleRule_2._is(node);
75156 },
75157 $signature: 8
75158 };
75159 A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
75160 call$0() {
75161 var $async$goto = 0,
75162 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75163 $async$self = this, t2, t3, t1, styleRule;
75164 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75165 if ($async$errorCode === 1)
75166 return A._asyncRethrow($async$result, $async$completer);
75167 while (true)
75168 switch ($async$goto) {
75169 case 0:
75170 // Function start
75171 t1 = $async$self.$this;
75172 styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
75173 $async$goto = styleRule == null ? 2 : 4;
75174 break;
75175 case 2:
75176 // then
75177 t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
75178 case 5:
75179 // for condition
75180 if (!t2.moveNext$0()) {
75181 // goto after for
75182 $async$goto = 6;
75183 break;
75184 }
75185 $async$goto = 7;
75186 return A._asyncAwait(t3._as(t2.__internal$_current).accept$1(t1), $async$call$0);
75187 case 7:
75188 // returning from await.
75189 // goto for condition
75190 $async$goto = 5;
75191 break;
75192 case 6:
75193 // after for
75194 // goto join
75195 $async$goto = 3;
75196 break;
75197 case 4:
75198 // else
75199 $async$goto = 8;
75200 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);
75201 case 8:
75202 // returning from await.
75203 case 3:
75204 // join
75205 // implicit return
75206 return A._asyncReturn(null, $async$completer);
75207 }
75208 });
75209 return A._asyncStartSync($async$call$0, $async$completer);
75210 },
75211 $signature: 2
75212 };
75213 A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
75214 call$0() {
75215 var $async$goto = 0,
75216 $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
75217 $async$self = this, t1, t2, t3;
75218 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75219 if ($async$errorCode === 1)
75220 return A._asyncRethrow($async$result, $async$completer);
75221 while (true)
75222 switch ($async$goto) {
75223 case 0:
75224 // Function start
75225 t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1, t3 = $async$self.$this;
75226 case 2:
75227 // for condition
75228 if (!t1.moveNext$0()) {
75229 // goto after for
75230 $async$goto = 3;
75231 break;
75232 }
75233 $async$goto = 4;
75234 return A._asyncAwait(t2._as(t1.__internal$_current).accept$1(t3), $async$call$0);
75235 case 4:
75236 // returning from await.
75237 // goto for condition
75238 $async$goto = 2;
75239 break;
75240 case 3:
75241 // after for
75242 // implicit return
75243 return A._asyncReturn(null, $async$completer);
75244 }
75245 });
75246 return A._asyncStartSync($async$call$0, $async$completer);
75247 },
75248 $signature: 2
75249 };
75250 A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
75251 call$1(node) {
75252 return type$.CssStyleRule_2._is(node);
75253 },
75254 $signature: 8
75255 };
75256 A._EvaluateVisitor__performInterpolation_closure2.prototype = {
75257 call$1(value) {
75258 var $async$goto = 0,
75259 $async$completer = A._makeAsyncAwaitCompleter(type$.String),
75260 $async$returnValue, $async$self = this, t1, result, t2, t3;
75261 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75262 if ($async$errorCode === 1)
75263 return A._asyncRethrow($async$result, $async$completer);
75264 while (true)
75265 switch ($async$goto) {
75266 case 0:
75267 // Function start
75268 if (typeof value == "string") {
75269 $async$returnValue = value;
75270 // goto return
75271 $async$goto = 1;
75272 break;
75273 }
75274 type$.Expression_2._as(value);
75275 t1 = $async$self.$this;
75276 $async$goto = 3;
75277 return A._asyncAwait(value.accept$1(t1), $async$call$1);
75278 case 3:
75279 // returning from await.
75280 result = $async$result;
75281 if ($async$self.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
75282 t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
75283 t3 = $.$get$namesByColor0();
75284 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));
75285 }
75286 $async$returnValue = t1._async_evaluate0$_serialize$3$quote(result, value, false);
75287 // goto return
75288 $async$goto = 1;
75289 break;
75290 case 1:
75291 // return
75292 return A._asyncReturn($async$returnValue, $async$completer);
75293 }
75294 });
75295 return A._asyncStartSync($async$call$1, $async$completer);
75296 },
75297 $signature: 81
75298 };
75299 A._EvaluateVisitor__serialize_closure2.prototype = {
75300 call$0() {
75301 return A.serializeValue0(this.value, false, this.quote);
75302 },
75303 $signature: 30
75304 };
75305 A._EvaluateVisitor__expressionNode_closure2.prototype = {
75306 call$0() {
75307 var t1 = this.expression;
75308 return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
75309 },
75310 $signature: 187
75311 };
75312 A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
75313 call$1(number) {
75314 var asSlash = number.asSlash;
75315 if (asSlash != null)
75316 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
75317 else
75318 return A.serializeValue0(number, true, true);
75319 },
75320 $signature: 188
75321 };
75322 A._EvaluateVisitor__stackFrame_closure2.prototype = {
75323 call$1(url) {
75324 var t1 = this.$this._async_evaluate0$_importCache;
75325 t1 = t1 == null ? null : t1.humanize$1(url);
75326 return t1 == null ? url : t1;
75327 },
75328 $signature: 88
75329 };
75330 A._EvaluateVisitor__stackTrace_closure2.prototype = {
75331 call$1(tuple) {
75332 return this.$this._async_evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
75333 },
75334 $signature: 189
75335 };
75336 A._ImportedCssVisitor2.prototype = {
75337 visitCssAtRule$1(node) {
75338 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
75339 this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
75340 },
75341 visitCssComment$1(node) {
75342 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
75343 },
75344 visitCssDeclaration$1(node) {
75345 },
75346 visitCssImport$1(node) {
75347 var t2,
75348 _s13_ = "_endOfImports",
75349 t1 = this._async_evaluate0$_visitor;
75350 if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
75351 t1._async_evaluate0$_addChild$1(node);
75352 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)) {
75353 t1._async_evaluate0$_addChild$1(node);
75354 t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
75355 } else {
75356 t2 = t1._async_evaluate0$_outOfOrderImports;
75357 (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
75358 }
75359 },
75360 visitCssKeyframeBlock$1(node) {
75361 },
75362 visitCssMediaRule$1(node) {
75363 var t1 = this._async_evaluate0$_visitor,
75364 mediaQueries = t1._async_evaluate0$_mediaQueries;
75365 t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
75366 },
75367 visitCssStyleRule$1(node) {
75368 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
75369 },
75370 visitCssStylesheet$1(node) {
75371 var t1, t2;
75372 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
75373 t2._as(t1.__internal$_current).accept$1(this);
75374 },
75375 visitCssSupportsRule$1(node) {
75376 return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
75377 }
75378 };
75379 A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
75380 call$1(node) {
75381 return type$.CssStyleRule_2._is(node);
75382 },
75383 $signature: 8
75384 };
75385 A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
75386 call$1(node) {
75387 var t1;
75388 if (!type$.CssStyleRule_2._is(node))
75389 t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
75390 else
75391 t1 = true;
75392 return t1;
75393 },
75394 $signature: 8
75395 };
75396 A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
75397 call$1(node) {
75398 return type$.CssStyleRule_2._is(node);
75399 },
75400 $signature: 8
75401 };
75402 A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
75403 call$1(node) {
75404 return type$.CssStyleRule_2._is(node);
75405 },
75406 $signature: 8
75407 };
75408 A.EvaluateResult0.prototype = {};
75409 A._EvaluationContext2.prototype = {
75410 get$currentCallableSpan() {
75411 var callableNode = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
75412 if (callableNode != null)
75413 return callableNode.get$span(callableNode);
75414 throw A.wrapException(A.StateError$(string$.No_Sasc));
75415 },
75416 warn$2$deprecation(_, message, deprecation) {
75417 var t1 = this._async_evaluate0$_visitor,
75418 t2 = t1._async_evaluate0$_importSpan;
75419 if (t2 == null) {
75420 t2 = t1._async_evaluate0$_callableNode;
75421 t2 = t2 == null ? null : t2.get$span(t2);
75422 }
75423 t1._async_evaluate0$_warn$3$deprecation(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
75424 },
75425 $isEvaluationContext0: 1
75426 };
75427 A._ArgumentResults2.prototype = {};
75428 A._LoadedStylesheet2.prototype = {};
75429 A.NodeToDartAsyncFileImporter.prototype = {
75430 canonicalize$1(_, url) {
75431 return this.canonicalize$body$NodeToDartAsyncFileImporter(0, url);
75432 },
75433 canonicalize$body$NodeToDartAsyncFileImporter(_, url) {
75434 var $async$goto = 0,
75435 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
75436 $async$returnValue, $async$self = this, result, t1, resultUrl;
75437 var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75438 if ($async$errorCode === 1)
75439 return A._asyncRethrow($async$result, $async$completer);
75440 while (true)
75441 switch ($async$goto) {
75442 case 0:
75443 // Function start
75444 if (url.get$scheme() === "file") {
75445 $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, url);
75446 // goto return
75447 $async$goto = 1;
75448 break;
75449 }
75450 result = $async$self._findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
75451 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
75452 break;
75453 case 3:
75454 // then
75455 $async$goto = 5;
75456 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
75457 case 5:
75458 // returning from await.
75459 result = $async$result;
75460 case 4:
75461 // join
75462 if (result == null) {
75463 $async$returnValue = null;
75464 // goto return
75465 $async$goto = 1;
75466 break;
75467 }
75468 t1 = self.URL;
75469 if (!(result instanceof t1))
75470 A.jsThrow(new self.Error(string$.The_fie));
75471 resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
75472 if (resultUrl.get$scheme() !== "file")
75473 A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
75474 $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, resultUrl);
75475 // goto return
75476 $async$goto = 1;
75477 break;
75478 case 1:
75479 // return
75480 return A._asyncReturn($async$returnValue, $async$completer);
75481 }
75482 });
75483 return A._asyncStartSync($async$canonicalize$1, $async$completer);
75484 },
75485 load$1(_, url) {
75486 return $.$get$_filesystemImporter().load$1(0, url);
75487 }
75488 };
75489 A.AsyncImportCache0.prototype = {
75490 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
75491 return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
75492 },
75493 canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
75494 var $async$goto = 0,
75495 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
75496 $async$returnValue, $async$self = this, t1, relativeResult;
75497 var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75498 if ($async$errorCode === 1)
75499 return A._asyncRethrow($async$result, $async$completer);
75500 while (true)
75501 switch ($async$goto) {
75502 case 0:
75503 // Function start
75504 $async$goto = baseImporter != null ? 3 : 4;
75505 break;
75506 case 3:
75507 // then
75508 t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2;
75509 $async$goto = 5;
75510 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);
75511 case 5:
75512 // returning from await.
75513 relativeResult = $async$result;
75514 if (relativeResult != null) {
75515 $async$returnValue = relativeResult;
75516 // goto return
75517 $async$goto = 1;
75518 break;
75519 }
75520 case 4:
75521 // join
75522 t1 = type$.Tuple2_Uri_bool;
75523 $async$goto = 6;
75524 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);
75525 case 6:
75526 // returning from await.
75527 $async$returnValue = $async$result;
75528 // goto return
75529 $async$goto = 1;
75530 break;
75531 case 1:
75532 // return
75533 return A._asyncReturn($async$returnValue, $async$completer);
75534 }
75535 });
75536 return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
75537 },
75538 _async_import_cache0$_canonicalize$3(importer, url, forImport) {
75539 return this._canonicalize$body$AsyncImportCache0(importer, url, forImport);
75540 },
75541 _canonicalize$body$AsyncImportCache0(importer, url, forImport) {
75542 var $async$goto = 0,
75543 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
75544 $async$returnValue, $async$self = this, t1, result;
75545 var $async$_async_import_cache0$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75546 if ($async$errorCode === 1)
75547 return A._asyncRethrow($async$result, $async$completer);
75548 while (true)
75549 switch ($async$goto) {
75550 case 0:
75551 // Function start
75552 if (forImport) {
75553 t1 = type$.nullable_Object;
75554 t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
75555 } else
75556 t1 = importer.canonicalize$1(0, url);
75557 $async$goto = 3;
75558 return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$3);
75559 case 3:
75560 // returning from await.
75561 result = $async$result;
75562 if ((result == null ? null : result.get$scheme()) === "")
75563 $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);
75564 $async$returnValue = result;
75565 // goto return
75566 $async$goto = 1;
75567 break;
75568 case 1:
75569 // return
75570 return A._asyncReturn($async$returnValue, $async$completer);
75571 }
75572 });
75573 return A._asyncStartSync($async$_async_import_cache0$_canonicalize$3, $async$completer);
75574 },
75575 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
75576 return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet);
75577 },
75578 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
75579 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
75580 },
75581 importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet) {
75582 var $async$goto = 0,
75583 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
75584 $async$returnValue, $async$self = this;
75585 var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75586 if ($async$errorCode === 1)
75587 return A._asyncRethrow($async$result, $async$completer);
75588 while (true)
75589 switch ($async$goto) {
75590 case 0:
75591 // Function start
75592 $async$goto = 3;
75593 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);
75594 case 3:
75595 // returning from await.
75596 $async$returnValue = $async$result;
75597 // goto return
75598 $async$goto = 1;
75599 break;
75600 case 1:
75601 // return
75602 return A._asyncReturn($async$returnValue, $async$completer);
75603 }
75604 });
75605 return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
75606 },
75607 humanize$1(canonicalUrl) {
75608 var t2, url,
75609 t1 = this._async_import_cache0$_canonicalizeCache;
75610 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri_2);
75611 t2 = t1.$ti;
75612 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());
75613 if (url == null)
75614 return canonicalUrl;
75615 t1 = $.$get$url();
75616 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
75617 },
75618 sourceMapUrl$1(_, canonicalUrl) {
75619 var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
75620 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
75621 return t1 == null ? canonicalUrl : t1;
75622 }
75623 };
75624 A.AsyncImportCache_canonicalize_closure1.prototype = {
75625 call$0() {
75626 var $async$goto = 0,
75627 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
75628 $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
75629 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75630 if ($async$errorCode === 1)
75631 return A._asyncRethrow($async$result, $async$completer);
75632 while (true)
75633 switch ($async$goto) {
75634 case 0:
75635 // Function start
75636 t1 = $async$self.baseUrl;
75637 resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
75638 if (resolvedUrl == null)
75639 resolvedUrl = $async$self.url;
75640 t1 = $async$self.baseImporter;
75641 $async$goto = 3;
75642 return A._asyncAwait($async$self.$this._async_import_cache0$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
75643 case 3:
75644 // returning from await.
75645 canonicalUrl = $async$result;
75646 if (canonicalUrl != null) {
75647 $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri_2);
75648 // goto return
75649 $async$goto = 1;
75650 break;
75651 }
75652 case 1:
75653 // return
75654 return A._asyncReturn($async$returnValue, $async$completer);
75655 }
75656 });
75657 return A._asyncStartSync($async$call$0, $async$completer);
75658 },
75659 $signature: 190
75660 };
75661 A.AsyncImportCache_canonicalize_closure2.prototype = {
75662 call$0() {
75663 var $async$goto = 0,
75664 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
75665 $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
75666 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75667 if ($async$errorCode === 1)
75668 return A._asyncRethrow($async$result, $async$completer);
75669 while (true)
75670 switch ($async$goto) {
75671 case 0:
75672 // Function start
75673 t1 = $async$self.$this, t2 = t1._async_import_cache0$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
75674 case 3:
75675 // for condition
75676 if (!(_i < t2.length)) {
75677 // goto after for
75678 $async$goto = 5;
75679 break;
75680 }
75681 importer = t2[_i];
75682 $async$goto = 6;
75683 return A._asyncAwait(t1._async_import_cache0$_canonicalize$3(importer, t4, t5), $async$call$0);
75684 case 6:
75685 // returning from await.
75686 canonicalUrl = $async$result;
75687 if (canonicalUrl != null) {
75688 $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri_2);
75689 // goto return
75690 $async$goto = 1;
75691 break;
75692 }
75693 case 4:
75694 // for update
75695 t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
75696 // goto for condition
75697 $async$goto = 3;
75698 break;
75699 case 5:
75700 // after for
75701 $async$returnValue = null;
75702 // goto return
75703 $async$goto = 1;
75704 break;
75705 case 1:
75706 // return
75707 return A._asyncReturn($async$returnValue, $async$completer);
75708 }
75709 });
75710 return A._asyncStartSync($async$call$0, $async$completer);
75711 },
75712 $signature: 190
75713 };
75714 A.AsyncImportCache__canonicalize_closure0.prototype = {
75715 call$0() {
75716 return this.importer.canonicalize$1(0, this.url);
75717 },
75718 $signature: 172
75719 };
75720 A.AsyncImportCache_importCanonical_closure0.prototype = {
75721 call$0() {
75722 var $async$goto = 0,
75723 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
75724 $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
75725 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
75726 if ($async$errorCode === 1)
75727 return A._asyncRethrow($async$result, $async$completer);
75728 while (true)
75729 switch ($async$goto) {
75730 case 0:
75731 // Function start
75732 t1 = $async$self.canonicalUrl;
75733 $async$goto = 3;
75734 return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
75735 case 3:
75736 // returning from await.
75737 result = $async$result;
75738 if (result == null) {
75739 $async$returnValue = null;
75740 // goto return
75741 $async$goto = 1;
75742 break;
75743 }
75744 t2 = $async$self.$this;
75745 t2._async_import_cache0$_resultsCache.$indexSet(0, t1, result);
75746 t3 = result.contents;
75747 t4 = result.syntax;
75748 t1 = $async$self.originalUrl.resolveUri$1(t1);
75749 $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t4, $async$self.quiet ? $.$get$Logger_quiet0() : t2._async_import_cache0$_logger, t1);
75750 // goto return
75751 $async$goto = 1;
75752 break;
75753 case 1:
75754 // return
75755 return A._asyncReturn($async$returnValue, $async$completer);
75756 }
75757 });
75758 return A._asyncStartSync($async$call$0, $async$completer);
75759 },
75760 $signature: 359
75761 };
75762 A.AsyncImportCache_humanize_closure2.prototype = {
75763 call$1(tuple) {
75764 return tuple.item2.$eq(0, this.canonicalUrl);
75765 },
75766 $signature: 360
75767 };
75768 A.AsyncImportCache_humanize_closure3.prototype = {
75769 call$1(tuple) {
75770 return tuple.item3;
75771 },
75772 $signature: 361
75773 };
75774 A.AsyncImportCache_humanize_closure4.prototype = {
75775 call$1(url) {
75776 return url.get$path(url).length;
75777 },
75778 $signature: 74
75779 };
75780 A.AtRootQueryParser0.prototype = {
75781 parse$0() {
75782 return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
75783 }
75784 };
75785 A.AtRootQueryParser_parse_closure0.prototype = {
75786 call$0() {
75787 var include, atRules,
75788 t1 = this.$this,
75789 t2 = t1.scanner;
75790 t2.expectChar$1(40);
75791 t1.whitespace$0();
75792 include = t1.scanIdentifier$1("with");
75793 if (!include)
75794 t1.expectIdentifier$2$name("without", '"with" or "without"');
75795 t1.whitespace$0();
75796 t2.expectChar$1(58);
75797 t1.whitespace$0();
75798 atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
75799 do {
75800 atRules.add$1(0, t1.identifier$0().toLowerCase());
75801 t1.whitespace$0();
75802 } while (t1.lookingAtIdentifier$0());
75803 t2.expectChar$1(41);
75804 t2.expectDone$0();
75805 return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
75806 },
75807 $signature: 136
75808 };
75809 A.AtRootQuery0.prototype = {
75810 excludes$1(node) {
75811 var t1, _this = this;
75812 if (_this._at_root_query0$_all)
75813 return !_this.include;
75814 if (type$.CssStyleRule_2._is(node))
75815 return _this._at_root_query0$_rule !== _this.include;
75816 if (type$.CssMediaRule_2._is(node))
75817 return _this.excludesName$1("media");
75818 if (type$.CssSupportsRule_2._is(node))
75819 return _this.excludesName$1("supports");
75820 if (type$.CssAtRule_2._is(node)) {
75821 t1 = node.name;
75822 return _this.excludesName$1(t1.get$value(t1).toLowerCase());
75823 }
75824 return false;
75825 },
75826 excludesName$1($name) {
75827 var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
75828 return t1 !== this.include;
75829 }
75830 };
75831 A.AtRootRule0.prototype = {
75832 accept$1$1(visitor) {
75833 return visitor.visitAtRootRule$1(this);
75834 },
75835 accept$1(visitor) {
75836 return this.accept$1$1(visitor, type$.dynamic);
75837 },
75838 toString$0(_) {
75839 var buffer = new A.StringBuffer("@at-root "),
75840 t1 = this.query;
75841 if (t1 != null)
75842 buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
75843 t1 = this.children;
75844 return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
75845 },
75846 get$span(receiver) {
75847 return this.span;
75848 }
75849 };
75850 A.ModifiableCssAtRule0.prototype = {
75851 accept$1$1(visitor) {
75852 return visitor.visitCssAtRule$1(this);
75853 },
75854 accept$1(visitor) {
75855 return this.accept$1$1(visitor, type$.dynamic);
75856 },
75857 copyWithoutChildren$0() {
75858 var _this = this;
75859 return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
75860 },
75861 addChild$1(child) {
75862 this.super$ModifiableCssParentNode$addChild0(child);
75863 },
75864 $isCssAtRule0: 1,
75865 get$isChildless() {
75866 return this.isChildless;
75867 },
75868 get$span(receiver) {
75869 return this.span;
75870 }
75871 };
75872 A.AtRule0.prototype = {
75873 accept$1$1(visitor) {
75874 return visitor.visitAtRule$1(this);
75875 },
75876 accept$1(visitor) {
75877 return this.accept$1$1(visitor, type$.dynamic);
75878 },
75879 toString$0(_) {
75880 var children,
75881 t1 = "@" + this.name.toString$0(0),
75882 buffer = new A.StringBuffer(t1),
75883 t2 = this.value;
75884 if (t2 != null)
75885 buffer._contents = t1 + (" " + t2.toString$0(0));
75886 children = this.children;
75887 return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
75888 },
75889 get$span(receiver) {
75890 return this.span;
75891 }
75892 };
75893 A.AttributeSelector0.prototype = {
75894 accept$1$1(visitor) {
75895 var value, t2, _this = this,
75896 t1 = visitor._serialize0$_buffer;
75897 t1.writeCharCode$1(91);
75898 t1.write$1(0, _this.name);
75899 value = _this.value;
75900 if (value != null) {
75901 t1.write$1(0, _this.op);
75902 if (A.Parser_isIdentifier0(value) && !B.JSString_methods.startsWith$1(value, "--")) {
75903 t1.write$1(0, value);
75904 t2 = _this.modifier;
75905 if (t2 != null)
75906 t1.writeCharCode$1(32);
75907 } else {
75908 visitor._serialize0$_visitQuotedString$1(value);
75909 t2 = _this.modifier;
75910 if (t2 != null)
75911 if (visitor._serialize0$_style !== B.OutputStyle_compressed0)
75912 t1.writeCharCode$1(32);
75913 }
75914 if (t2 != null)
75915 t1.write$1(0, t2);
75916 }
75917 t1.writeCharCode$1(93);
75918 return null;
75919 },
75920 accept$1(visitor) {
75921 return this.accept$1$1(visitor, type$.dynamic);
75922 },
75923 $eq(_, other) {
75924 var _this = this;
75925 if (other == null)
75926 return false;
75927 return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
75928 },
75929 get$hashCode(_) {
75930 var _this = this,
75931 t1 = _this.name;
75932 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;
75933 }
75934 };
75935 A.AttributeOperator0.prototype = {
75936 toString$0(_) {
75937 return this._attribute0$_text;
75938 }
75939 };
75940 A.BinaryOperationExpression0.prototype = {
75941 get$span(_) {
75942 var right,
75943 left = this.left;
75944 for (; left instanceof A.BinaryOperationExpression0;)
75945 left = left.left;
75946 right = this.right;
75947 for (; right instanceof A.BinaryOperationExpression0;)
75948 right = right.right;
75949 return left.get$span(left).expand$1(0, right.get$span(right));
75950 },
75951 accept$1$1(visitor) {
75952 return visitor.visitBinaryOperationExpression$1(this);
75953 },
75954 accept$1(visitor) {
75955 return this.accept$1$1(visitor, type$.dynamic);
75956 },
75957 toString$0(_) {
75958 var t2, right, rightNeedsParens, _this = this,
75959 left = _this.left,
75960 leftNeedsParens = left instanceof A.BinaryOperationExpression0 && left.operator.precedence < _this.operator.precedence,
75961 t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
75962 t1 += left.toString$0(0);
75963 if (leftNeedsParens)
75964 t1 += A.Primitives_stringFromCharCode(41);
75965 t2 = _this.operator;
75966 t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
75967 right = _this.right;
75968 rightNeedsParens = right instanceof A.BinaryOperationExpression0 && right.operator.precedence <= t2.precedence;
75969 if (rightNeedsParens)
75970 t1 += A.Primitives_stringFromCharCode(40);
75971 t1 += right.toString$0(0);
75972 if (rightNeedsParens)
75973 t1 += A.Primitives_stringFromCharCode(41);
75974 return t1.charCodeAt(0) == 0 ? t1 : t1;
75975 },
75976 $isExpression0: 1,
75977 $isAstNode0: 1
75978 };
75979 A.BinaryOperator0.prototype = {
75980 toString$0(_) {
75981 return this.name;
75982 }
75983 };
75984 A.BooleanExpression0.prototype = {
75985 accept$1$1(visitor) {
75986 return visitor.visitBooleanExpression$1(this);
75987 },
75988 accept$1(visitor) {
75989 return this.accept$1$1(visitor, type$.dynamic);
75990 },
75991 toString$0(_) {
75992 return String(this.value);
75993 },
75994 $isExpression0: 1,
75995 $isAstNode0: 1,
75996 get$span(receiver) {
75997 return this.span;
75998 }
75999 };
76000 A.legacyBooleanClass_closure.prototype = {
76001 call$0() {
76002 var t1 = type$.JSClass,
76003 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
76004 J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
76005 jsClass.TRUE = B.SassBoolean_true0;
76006 jsClass.FALSE = B.SassBoolean_false0;
76007 A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
76008 return jsClass;
76009 },
76010 $signature: 25
76011 };
76012 A.legacyBooleanClass__closure.prototype = {
76013 call$2(_, __) {
76014 throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
76015 },
76016 call$1(_) {
76017 return this.call$2(_, null);
76018 },
76019 "call*": "call$2",
76020 $requiredArgCount: 1,
76021 $defaultValues() {
76022 return [null];
76023 },
76024 $signature: 191
76025 };
76026 A.legacyBooleanClass__closure0.prototype = {
76027 call$1($self) {
76028 return $self === B.SassBoolean_true0;
76029 },
76030 $signature: 104
76031 };
76032 A.booleanClass_closure.prototype = {
76033 call$0() {
76034 var t1 = type$.JSClass,
76035 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
76036 A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
76037 return jsClass;
76038 },
76039 $signature: 25
76040 };
76041 A.booleanClass__closure.prototype = {
76042 call$2($self, _) {
76043 A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
76044 },
76045 call$1($self) {
76046 return this.call$2($self, null);
76047 },
76048 "call*": "call$2",
76049 $requiredArgCount: 1,
76050 $defaultValues() {
76051 return [null];
76052 },
76053 $signature: 363
76054 };
76055 A.SassBoolean0.prototype = {
76056 get$isTruthy() {
76057 return this.value;
76058 },
76059 accept$1$1(visitor) {
76060 return visitor._serialize0$_buffer.write$1(0, String(this.value));
76061 },
76062 accept$1(visitor) {
76063 return this.accept$1$1(visitor, type$.dynamic);
76064 },
76065 assertBoolean$1($name) {
76066 return this;
76067 },
76068 unaryNot$0() {
76069 return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
76070 }
76071 };
76072 A.BuiltInCallable0.prototype = {
76073 callbackFor$2(positional, names) {
76074 var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
76075 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) {
76076 overload = t1[_i];
76077 t3 = overload.item1;
76078 if (t3.matches$2(positional, names))
76079 return overload;
76080 mismatchDistance = t3.$arguments.length - positional;
76081 if (minMismatchDistance != null) {
76082 t3 = Math.abs(mismatchDistance);
76083 t4 = Math.abs(minMismatchDistance);
76084 if (t3 > t4)
76085 continue;
76086 if (t3 === t4 && mismatchDistance < 0)
76087 continue;
76088 }
76089 minMismatchDistance = mismatchDistance;
76090 fuzzyMatch = overload;
76091 }
76092 if (fuzzyMatch != null)
76093 return fuzzyMatch;
76094 throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
76095 },
76096 withName$1($name) {
76097 return new A.BuiltInCallable0($name, this._built_in$_overloads);
76098 },
76099 $isAsyncCallable0: 1,
76100 $isAsyncBuiltInCallable0: 1,
76101 $isCallable0: 1,
76102 get$name(receiver) {
76103 return this.name;
76104 }
76105 };
76106 A.BuiltInCallable$mixin_closure0.prototype = {
76107 call$1($arguments) {
76108 this.callback.call$1($arguments);
76109 return B.C__SassNull0;
76110 },
76111 $signature: 3
76112 };
76113 A.BuiltInModule0.prototype = {
76114 get$upstream() {
76115 return B.List_empty13;
76116 },
76117 get$variableNodes() {
76118 return B.Map_empty7;
76119 },
76120 get$extensionStore() {
76121 return B.C_EmptyExtensionStore0;
76122 },
76123 get$css(_) {
76124 return new A.CssStylesheet0(B.List_empty11, A.SourceFile$decoded(B.List_empty1, this.url).span$2(0, 0, 0));
76125 },
76126 get$transitivelyContainsCss() {
76127 return false;
76128 },
76129 get$transitivelyContainsExtensions() {
76130 return false;
76131 },
76132 setVariable$3($name, value, nodeWithSpan) {
76133 if (!this.variables.containsKey$1($name))
76134 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
76135 throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable."));
76136 },
76137 variableIdentity$1($name) {
76138 return this;
76139 },
76140 cloneCss$0() {
76141 return this;
76142 },
76143 $isModule0: 1,
76144 get$url(receiver) {
76145 return this.url;
76146 },
76147 get$functions(receiver) {
76148 return this.functions;
76149 },
76150 get$mixins() {
76151 return this.mixins;
76152 },
76153 get$variables() {
76154 return this.variables;
76155 }
76156 };
76157 A.CalculationExpression0.prototype = {
76158 accept$1$1(visitor) {
76159 return visitor.visitCalculationExpression$1(this);
76160 },
76161 accept$1(visitor) {
76162 return this.accept$1$1(visitor, type$.dynamic);
76163 },
76164 toString$0(_) {
76165 return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
76166 },
76167 $isExpression0: 1,
76168 $isAstNode0: 1,
76169 get$span(receiver) {
76170 return this.span;
76171 }
76172 };
76173 A.CalculationExpression__verifyArguments_closure0.prototype = {
76174 call$1(arg) {
76175 A.CalculationExpression__verify0(arg);
76176 return arg;
76177 },
76178 $signature: 365
76179 };
76180 A.SassCalculation0.prototype = {
76181 get$isSpecialNumber() {
76182 return true;
76183 },
76184 accept$1$1(visitor) {
76185 var t2,
76186 t1 = visitor._serialize0$_buffer;
76187 t1.write$1(0, this.name);
76188 t1.writeCharCode$1(40);
76189 t2 = visitor._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ";
76190 visitor._serialize0$_writeBetween$3(this.$arguments, t2, visitor.get$_serialize0$_writeCalculationValue());
76191 t1.writeCharCode$1(41);
76192 return null;
76193 },
76194 accept$1(visitor) {
76195 return this.accept$1$1(visitor, type$.dynamic);
76196 },
76197 assertCalculation$1($name) {
76198 return this;
76199 },
76200 plus$1(other) {
76201 if (other instanceof A.SassString0)
76202 return this.super$Value$plus0(other);
76203 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
76204 },
76205 minus$1(other) {
76206 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
76207 },
76208 unaryPlus$0() {
76209 return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".'));
76210 },
76211 unaryMinus$0() {
76212 return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".'));
76213 },
76214 $eq(_, other) {
76215 if (other == null)
76216 return false;
76217 return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
76218 },
76219 get$hashCode(_) {
76220 return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
76221 }
76222 };
76223 A.SassCalculation__verifyLength_closure0.prototype = {
76224 call$1(arg) {
76225 return arg instanceof A.SassString0 || arg instanceof A.CalculationInterpolation0;
76226 },
76227 $signature: 104
76228 };
76229 A.CalculationOperation0.prototype = {
76230 $eq(_, other) {
76231 if (other == null)
76232 return false;
76233 return other instanceof A.CalculationOperation0 && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
76234 },
76235 get$hashCode(_) {
76236 return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
76237 },
76238 toString$0(_) {
76239 var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
76240 return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
76241 }
76242 };
76243 A.CalculationOperator0.prototype = {
76244 toString$0(_) {
76245 return this.name;
76246 }
76247 };
76248 A.CalculationInterpolation0.prototype = {
76249 $eq(_, other) {
76250 if (other == null)
76251 return false;
76252 return other instanceof A.CalculationInterpolation0 && this.value === other.value;
76253 },
76254 get$hashCode(_) {
76255 return B.JSString_methods.get$hashCode(this.value);
76256 },
76257 toString$0(_) {
76258 return this.value;
76259 }
76260 };
76261 A.CallableDeclaration0.prototype = {
76262 get$span(receiver) {
76263 return this.span;
76264 }
76265 };
76266 A.Chokidar0.prototype = {};
76267 A.ChokidarOptions0.prototype = {};
76268 A.ChokidarWatcher0.prototype = {};
76269 A.ClassSelector0.prototype = {
76270 $eq(_, other) {
76271 if (other == null)
76272 return false;
76273 return other instanceof A.ClassSelector0 && other.name === this.name;
76274 },
76275 accept$1$1(visitor) {
76276 var t1 = visitor._serialize0$_buffer;
76277 t1.writeCharCode$1(46);
76278 t1.write$1(0, this.name);
76279 return null;
76280 },
76281 accept$1(visitor) {
76282 return this.accept$1$1(visitor, type$.dynamic);
76283 },
76284 addSuffix$1(suffix) {
76285 return new A.ClassSelector0(this.name + suffix);
76286 },
76287 get$hashCode(_) {
76288 return B.JSString_methods.get$hashCode(this.name);
76289 }
76290 };
76291 A._CloneCssVisitor0.prototype = {
76292 visitCssAtRule$1(node) {
76293 var t1 = node.isChildless,
76294 rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
76295 return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
76296 },
76297 visitCssComment$1(node) {
76298 return new A.ModifiableCssComment0(node.text, node.span);
76299 },
76300 visitCssDeclaration$1(node) {
76301 return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
76302 },
76303 visitCssImport$1(node) {
76304 return A.ModifiableCssImport$0(node.url, node.span, node.media, node.supports);
76305 },
76306 visitCssKeyframeBlock$1(node) {
76307 return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
76308 },
76309 visitCssMediaRule$1(node) {
76310 return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
76311 },
76312 visitCssStyleRule$1(node) {
76313 var newSelector = this._clone_css$_oldToNewSelectors.$index(0, node.selector);
76314 if (newSelector == null)
76315 throw A.wrapException(A.StateError$(string$.The_Ex));
76316 return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(newSelector, node.span, node.originalSelector), node);
76317 },
76318 visitCssStylesheet$1(node) {
76319 return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
76320 },
76321 visitCssSupportsRule$1(node) {
76322 return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
76323 },
76324 _clone_css$_visitChildren$1$2(newParent, oldParent) {
76325 var t1, t2, newChild;
76326 for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
76327 t2 = t1.get$current(t1);
76328 newChild = t2.accept$1(this);
76329 newChild.isGroupEnd = t2.get$isGroupEnd();
76330 newParent.addChild$1(newChild);
76331 }
76332 return newParent;
76333 },
76334 _clone_css$_visitChildren$2(newParent, oldParent) {
76335 return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
76336 }
76337 };
76338 A.ColorExpression0.prototype = {
76339 accept$1$1(visitor) {
76340 return visitor.visitColorExpression$1(this);
76341 },
76342 accept$1(visitor) {
76343 return this.accept$1$1(visitor, type$.dynamic);
76344 },
76345 toString$0(_) {
76346 return A.serializeValue0(this.value, true, true);
76347 },
76348 $isExpression0: 1,
76349 $isAstNode0: 1,
76350 get$span(receiver) {
76351 return this.span;
76352 }
76353 };
76354 A.global_closure30.prototype = {
76355 call$1($arguments) {
76356 return A._rgb0("rgb", $arguments);
76357 },
76358 $signature: 3
76359 };
76360 A.global_closure31.prototype = {
76361 call$1($arguments) {
76362 return A._rgb0("rgb", $arguments);
76363 },
76364 $signature: 3
76365 };
76366 A.global_closure32.prototype = {
76367 call$1($arguments) {
76368 return A._rgbTwoArg0("rgb", $arguments);
76369 },
76370 $signature: 3
76371 };
76372 A.global_closure33.prototype = {
76373 call$1($arguments) {
76374 var parsed = A._parseChannels0("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
76375 return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgb", type$.List_Value_2._as(parsed));
76376 },
76377 $signature: 3
76378 };
76379 A.global_closure34.prototype = {
76380 call$1($arguments) {
76381 return A._rgb0("rgba", $arguments);
76382 },
76383 $signature: 3
76384 };
76385 A.global_closure35.prototype = {
76386 call$1($arguments) {
76387 return A._rgb0("rgba", $arguments);
76388 },
76389 $signature: 3
76390 };
76391 A.global_closure36.prototype = {
76392 call$1($arguments) {
76393 return A._rgbTwoArg0("rgba", $arguments);
76394 },
76395 $signature: 3
76396 };
76397 A.global_closure37.prototype = {
76398 call$1($arguments) {
76399 var parsed = A._parseChannels0("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
76400 return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgba", type$.List_Value_2._as(parsed));
76401 },
76402 $signature: 3
76403 };
76404 A.global_closure38.prototype = {
76405 call$1($arguments) {
76406 var color, t2,
76407 t1 = J.getInterceptor$asx($arguments),
76408 weight = t1.$index($arguments, 1).assertNumber$1("weight");
76409 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76410 if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
76411 throw A.wrapException(string$.Only_oa);
76412 return A._functionString0("invert", t1.take$1($arguments, 1));
76413 }
76414 color = t1.$index($arguments, 0).assertColor$1("color");
76415 t1 = color.get$red(color);
76416 t2 = color.get$green(color);
76417 return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
76418 },
76419 $signature: 3
76420 };
76421 A.global_closure39.prototype = {
76422 call$1($arguments) {
76423 return A._hsl0("hsl", $arguments);
76424 },
76425 $signature: 3
76426 };
76427 A.global_closure40.prototype = {
76428 call$1($arguments) {
76429 return A._hsl0("hsl", $arguments);
76430 },
76431 $signature: 3
76432 };
76433 A.global_closure41.prototype = {
76434 call$1($arguments) {
76435 var t1 = J.getInterceptor$asx($arguments);
76436 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
76437 return A._functionString0("hsl", $arguments);
76438 else
76439 throw A.wrapException(A.SassScriptException$0("Missing argument $lightness."));
76440 },
76441 $signature: 14
76442 };
76443 A.global_closure42.prototype = {
76444 call$1($arguments) {
76445 var parsed = A._parseChannels0("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
76446 return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsl", type$.List_Value_2._as(parsed));
76447 },
76448 $signature: 3
76449 };
76450 A.global_closure43.prototype = {
76451 call$1($arguments) {
76452 return A._hsl0("hsla", $arguments);
76453 },
76454 $signature: 3
76455 };
76456 A.global_closure44.prototype = {
76457 call$1($arguments) {
76458 return A._hsl0("hsla", $arguments);
76459 },
76460 $signature: 3
76461 };
76462 A.global_closure45.prototype = {
76463 call$1($arguments) {
76464 var t1 = J.getInterceptor$asx($arguments);
76465 if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
76466 return A._functionString0("hsla", $arguments);
76467 else
76468 throw A.wrapException(A.SassScriptException$0("Missing argument $lightness."));
76469 },
76470 $signature: 14
76471 };
76472 A.global_closure46.prototype = {
76473 call$1($arguments) {
76474 var parsed = A._parseChannels0("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
76475 return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsla", type$.List_Value_2._as(parsed));
76476 },
76477 $signature: 3
76478 };
76479 A.global_closure47.prototype = {
76480 call$1($arguments) {
76481 var t1 = J.getInterceptor$asx($arguments);
76482 if (t1.$index($arguments, 0) instanceof A.SassNumber0)
76483 return A._functionString0("grayscale", $arguments);
76484 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
76485 },
76486 $signature: 3
76487 };
76488 A.global_closure48.prototype = {
76489 call$1($arguments) {
76490 var t1 = J.getInterceptor$asx($arguments),
76491 color = t1.$index($arguments, 0).assertColor$1("color"),
76492 degrees = t1.$index($arguments, 1).assertNumber$1("degrees");
76493 A._checkAngle0(degrees, null);
76494 return color.changeHsl$1$hue(color.get$hue(color) + degrees._number1$_value);
76495 },
76496 $signature: 24
76497 };
76498 A.global_closure49.prototype = {
76499 call$1($arguments) {
76500 var t1 = J.getInterceptor$asx($arguments),
76501 color = t1.$index($arguments, 0).assertColor$1("color"),
76502 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76503 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
76504 },
76505 $signature: 24
76506 };
76507 A.global_closure50.prototype = {
76508 call$1($arguments) {
76509 var t1 = J.getInterceptor$asx($arguments),
76510 color = t1.$index($arguments, 0).assertColor$1("color"),
76511 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76512 return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
76513 },
76514 $signature: 24
76515 };
76516 A.global_closure51.prototype = {
76517 call$1($arguments) {
76518 return new A.SassString0("saturate(" + A.serializeValue0(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
76519 },
76520 $signature: 14
76521 };
76522 A.global_closure52.prototype = {
76523 call$1($arguments) {
76524 var t1 = J.getInterceptor$asx($arguments),
76525 color = t1.$index($arguments, 0).assertColor$1("color"),
76526 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76527 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
76528 },
76529 $signature: 24
76530 };
76531 A.global_closure53.prototype = {
76532 call$1($arguments) {
76533 var t1 = J.getInterceptor$asx($arguments),
76534 color = t1.$index($arguments, 0).assertColor$1("color"),
76535 amount = t1.$index($arguments, 1).assertNumber$1("amount");
76536 return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
76537 },
76538 $signature: 24
76539 };
76540 A.global_closure54.prototype = {
76541 call$1($arguments) {
76542 var color,
76543 argument = J.$index$asx($arguments, 0);
76544 if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0()))
76545 return A._functionString0("alpha", $arguments);
76546 color = argument.assertColor$1("color");
76547 return new A.UnitlessSassNumber0(color._color0$_alpha, null);
76548 },
76549 $signature: 3
76550 };
76551 A.global_closure55.prototype = {
76552 call$1($arguments) {
76553 var t1,
76554 argList = J.$index$asx($arguments, 0).get$asList();
76555 if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
76556 return A._functionString0("alpha", $arguments);
76557 t1 = argList.length;
76558 if (t1 === 0)
76559 throw A.wrapException(A.SassScriptException$0("Missing argument $color."));
76560 else
76561 throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed."));
76562 },
76563 $signature: 14
76564 };
76565 A.global__closure0.prototype = {
76566 call$1(argument) {
76567 return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
76568 },
76569 $signature: 44
76570 };
76571 A.global_closure56.prototype = {
76572 call$1($arguments) {
76573 var color,
76574 t1 = J.getInterceptor$asx($arguments);
76575 if (t1.$index($arguments, 0) instanceof A.SassNumber0)
76576 return A._functionString0("opacity", $arguments);
76577 color = t1.$index($arguments, 0).assertColor$1("color");
76578 return new A.UnitlessSassNumber0(color._color0$_alpha, null);
76579 },
76580 $signature: 3
76581 };
76582 A.module_closure8.prototype = {
76583 call$1($arguments) {
76584 var result, color, t2,
76585 t1 = J.getInterceptor$asx($arguments),
76586 weight = t1.$index($arguments, 1).assertNumber$1("weight");
76587 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76588 if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
76589 throw A.wrapException(string$.Only_oa);
76590 result = A._functionString0("invert", t1.take$1($arguments, 1));
76591 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_ci + result.toString$0(0);
76592 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76593 return result;
76594 }
76595 color = t1.$index($arguments, 0).assertColor$1("color");
76596 t1 = color.get$red(color);
76597 t2 = color.get$green(color);
76598 return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
76599 },
76600 $signature: 3
76601 };
76602 A.module_closure9.prototype = {
76603 call$1($arguments) {
76604 var result,
76605 t1 = J.getInterceptor$asx($arguments);
76606 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76607 result = A._functionString0("grayscale", t1.take$1($arguments, 1));
76608 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_cg + result.toString$0(0);
76609 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76610 return result;
76611 }
76612 return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
76613 },
76614 $signature: 3
76615 };
76616 A.module_closure10.prototype = {
76617 call$1($arguments) {
76618 return A._hwb0($arguments);
76619 },
76620 $signature: 3
76621 };
76622 A.module_closure11.prototype = {
76623 call$1($arguments) {
76624 var parsed = A._parseChannels0("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
76625 if (parsed instanceof A.SassString0)
76626 throw A.wrapException(A.SassScriptException$0('Expected numeric channels, got "' + parsed.toString$0(0) + '".'));
76627 else
76628 return A._hwb0(type$.List_Value_2._as(parsed));
76629 },
76630 $signature: 3
76631 };
76632 A.module_closure12.prototype = {
76633 call$1($arguments) {
76634 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76635 t1 = t1.get$whiteness(t1);
76636 return new A.SingleUnitSassNumber0("%", t1, null);
76637 },
76638 $signature: 10
76639 };
76640 A.module_closure13.prototype = {
76641 call$1($arguments) {
76642 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76643 t1 = t1.get$blackness(t1);
76644 return new A.SingleUnitSassNumber0("%", t1, null);
76645 },
76646 $signature: 10
76647 };
76648 A.module_closure14.prototype = {
76649 call$1($arguments) {
76650 var result, t1, color,
76651 argument = J.$index$asx($arguments, 0);
76652 if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0())) {
76653 result = A._functionString0("alpha", $arguments);
76654 t1 = string$.Using_c + result.toString$0(0);
76655 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76656 return result;
76657 }
76658 color = argument.assertColor$1("color");
76659 return new A.UnitlessSassNumber0(color._color0$_alpha, null);
76660 },
76661 $signature: 3
76662 };
76663 A.module_closure15.prototype = {
76664 call$1($arguments) {
76665 var result,
76666 t1 = J.getInterceptor$asx($arguments);
76667 if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure0())) {
76668 result = A._functionString0("alpha", $arguments);
76669 t1 = string$.Using_c + result.toString$0(0);
76670 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76671 return result;
76672 }
76673 throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed."));
76674 },
76675 $signature: 14
76676 };
76677 A.module__closure0.prototype = {
76678 call$1(argument) {
76679 return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
76680 },
76681 $signature: 44
76682 };
76683 A.module_closure16.prototype = {
76684 call$1($arguments) {
76685 var result, color,
76686 t1 = J.getInterceptor$asx($arguments);
76687 if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
76688 result = A._functionString0("opacity", $arguments);
76689 t1 = "Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x20to_co + result.toString$0(0);
76690 A.EvaluationContext_current0().warn$2$deprecation(0, t1, true);
76691 return result;
76692 }
76693 color = t1.$index($arguments, 0).assertColor$1("color");
76694 return new A.UnitlessSassNumber0(color._color0$_alpha, null);
76695 },
76696 $signature: 3
76697 };
76698 A._red_closure0.prototype = {
76699 call$1($arguments) {
76700 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76701 t1 = t1.get$red(t1);
76702 return new A.UnitlessSassNumber0(t1, null);
76703 },
76704 $signature: 10
76705 };
76706 A._green_closure0.prototype = {
76707 call$1($arguments) {
76708 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76709 t1 = t1.get$green(t1);
76710 return new A.UnitlessSassNumber0(t1, null);
76711 },
76712 $signature: 10
76713 };
76714 A._blue_closure0.prototype = {
76715 call$1($arguments) {
76716 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76717 t1 = t1.get$blue(t1);
76718 return new A.UnitlessSassNumber0(t1, null);
76719 },
76720 $signature: 10
76721 };
76722 A._mix_closure0.prototype = {
76723 call$1($arguments) {
76724 var t1 = J.getInterceptor$asx($arguments);
76725 return A._mixColors0(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
76726 },
76727 $signature: 24
76728 };
76729 A._hue_closure0.prototype = {
76730 call$1($arguments) {
76731 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76732 t1 = t1.get$hue(t1);
76733 return new A.SingleUnitSassNumber0("deg", t1, null);
76734 },
76735 $signature: 10
76736 };
76737 A._saturation_closure0.prototype = {
76738 call$1($arguments) {
76739 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76740 t1 = t1.get$saturation(t1);
76741 return new A.SingleUnitSassNumber0("%", t1, null);
76742 },
76743 $signature: 10
76744 };
76745 A._lightness_closure0.prototype = {
76746 call$1($arguments) {
76747 var t1 = J.get$first$ax($arguments).assertColor$1("color");
76748 t1 = t1.get$lightness(t1);
76749 return new A.SingleUnitSassNumber0("%", t1, null);
76750 },
76751 $signature: 10
76752 };
76753 A._complement_closure0.prototype = {
76754 call$1($arguments) {
76755 var color = J.$index$asx($arguments, 0).assertColor$1("color");
76756 return color.changeHsl$1$hue(color.get$hue(color) + 180);
76757 },
76758 $signature: 24
76759 };
76760 A._adjust_closure0.prototype = {
76761 call$1($arguments) {
76762 return A._updateComponents0($arguments, true, false, false);
76763 },
76764 $signature: 24
76765 };
76766 A._scale_closure0.prototype = {
76767 call$1($arguments) {
76768 return A._updateComponents0($arguments, false, false, true);
76769 },
76770 $signature: 24
76771 };
76772 A._change_closure0.prototype = {
76773 call$1($arguments) {
76774 return A._updateComponents0($arguments, false, true, false);
76775 },
76776 $signature: 24
76777 };
76778 A._ieHexStr_closure0.prototype = {
76779 call$1($arguments) {
76780 var color = J.$index$asx($arguments, 0).assertColor$1("color"),
76781 t1 = new A._ieHexStr_closure_hexString0();
76782 return new A.SassString0("#" + A.S(t1.call$1(A.fuzzyRound0(color._color0$_alpha * 255))) + A.S(t1.call$1(color.get$red(color))) + A.S(t1.call$1(color.get$green(color))) + A.S(t1.call$1(color.get$blue(color))), false);
76783 },
76784 $signature: 14
76785 };
76786 A._ieHexStr_closure_hexString0.prototype = {
76787 call$1(component) {
76788 return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
76789 },
76790 $signature: 159
76791 };
76792 A._updateComponents_getParam0.prototype = {
76793 call$4$assertPercent$checkPercent($name, max, assertPercent, checkPercent) {
76794 var t2,
76795 t1 = this.keywords.remove$1(0, $name),
76796 number = t1 == null ? null : t1.assertNumber$1($name);
76797 if (number == null)
76798 return null;
76799 t1 = this.scale;
76800 t2 = !t1;
76801 if (t2 && checkPercent)
76802 A._checkPercent0(number, $name);
76803 if (!t2 || assertPercent)
76804 number.assertUnit$2("%", $name);
76805 if (t1)
76806 max = 100;
76807 return number.valueInRange$3(this.change ? 0 : -max, max, $name);
76808 },
76809 call$2($name, max) {
76810 return this.call$4$assertPercent$checkPercent($name, max, false, false);
76811 },
76812 call$3$checkPercent($name, max, checkPercent) {
76813 return this.call$4$assertPercent$checkPercent($name, max, false, checkPercent);
76814 },
76815 call$3$assertPercent($name, max, assertPercent) {
76816 return this.call$4$assertPercent$checkPercent($name, max, assertPercent, false);
76817 },
76818 $signature: 167
76819 };
76820 A._updateComponents_closure0.prototype = {
76821 call$1($name) {
76822 return "$" + $name;
76823 },
76824 $signature: 5
76825 };
76826 A._updateComponents_updateValue0.prototype = {
76827 call$3(current, param, max) {
76828 var t1;
76829 if (param == null)
76830 return current;
76831 if (this.change)
76832 return param;
76833 if (this.adjust)
76834 return B.JSNumber_methods.clamp$2(current + param, 0, max);
76835 t1 = param > 0 ? max - current : current;
76836 return current + t1 * (param / 100);
76837 },
76838 $signature: 175
76839 };
76840 A._updateComponents_updateRgb0.prototype = {
76841 call$2(current, param) {
76842 return A.fuzzyRound0(this.updateValue.call$3(current, param, 255));
76843 },
76844 $signature: 179
76845 };
76846 A._functionString_closure0.prototype = {
76847 call$1(argument) {
76848 return A.serializeValue0(argument, false, true);
76849 },
76850 $signature: 197
76851 };
76852 A._removedColorFunction_closure0.prototype = {
76853 call$1($arguments) {
76854 var t1 = this.name,
76855 t2 = J.getInterceptor$asx($arguments),
76856 t3 = "The function " + t1 + string$.x28__isn + A.S(t2.$index($arguments, 0)) + ", $" + this.argument + ": ";
76857 throw A.wrapException(A.SassScriptException$0(t3 + (this.negative ? "-" : "") + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Morx3a + t1));
76858 },
76859 $signature: 371
76860 };
76861 A._rgb_closure0.prototype = {
76862 call$1(alpha) {
76863 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
76864 },
76865 $signature: 122
76866 };
76867 A._hsl_closure0.prototype = {
76868 call$1(alpha) {
76869 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
76870 },
76871 $signature: 122
76872 };
76873 A._removeUnits_closure1.prototype = {
76874 call$1(unit) {
76875 return " * 1" + unit;
76876 },
76877 $signature: 5
76878 };
76879 A._removeUnits_closure2.prototype = {
76880 call$1(unit) {
76881 return " / 1" + unit;
76882 },
76883 $signature: 5
76884 };
76885 A._hwb_closure0.prototype = {
76886 call$1(alpha) {
76887 return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
76888 },
76889 $signature: 122
76890 };
76891 A._parseChannels_closure0.prototype = {
76892 call$1(value) {
76893 return value.get$isVar();
76894 },
76895 $signature: 44
76896 };
76897 A._NodeSassColor.prototype = {};
76898 A.legacyColorClass_closure.prototype = {
76899 call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
76900 var red, t1, t2, t3, t4;
76901 if (dartValue != null) {
76902 J.set$dartValue$x(thisArg, dartValue);
76903 return;
76904 }
76905 if (green == null || blue == null) {
76906 A._asInt(redOrArgb);
76907 alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
76908 red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
76909 green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
76910 blue = B.JSInt_methods.$mod(redOrArgb, 256);
76911 } else {
76912 redOrArgb.toString;
76913 red = redOrArgb;
76914 }
76915 t1 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(red, 0, 255));
76916 t2 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(green, 0, 255));
76917 t3 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(blue, 0, 255));
76918 t4 = alpha == null ? null : B.JSNumber_methods.clamp$2(alpha, 0, 1);
76919 J.set$dartValue$x(thisArg, A.SassColor$rgb0(t1, t2, t3, t4 == null ? 1 : t4, null));
76920 },
76921 call$2(thisArg, redOrArgb) {
76922 return this.call$6(thisArg, redOrArgb, null, null, null, null);
76923 },
76924 call$3(thisArg, redOrArgb, green) {
76925 return this.call$6(thisArg, redOrArgb, green, null, null, null);
76926 },
76927 call$4(thisArg, redOrArgb, green, blue) {
76928 return this.call$6(thisArg, redOrArgb, green, blue, null, null);
76929 },
76930 call$5(thisArg, redOrArgb, green, blue, alpha) {
76931 return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
76932 },
76933 "call*": "call$6",
76934 $requiredArgCount: 2,
76935 $defaultValues() {
76936 return [null, null, null, null];
76937 },
76938 $signature: 373
76939 };
76940 A.legacyColorClass_closure0.prototype = {
76941 call$1(thisArg) {
76942 return J.get$red$x(J.get$dartValue$x(thisArg));
76943 },
76944 $signature: 120
76945 };
76946 A.legacyColorClass_closure1.prototype = {
76947 call$1(thisArg) {
76948 return J.get$green$x(J.get$dartValue$x(thisArg));
76949 },
76950 $signature: 120
76951 };
76952 A.legacyColorClass_closure2.prototype = {
76953 call$1(thisArg) {
76954 return J.get$blue$x(J.get$dartValue$x(thisArg));
76955 },
76956 $signature: 120
76957 };
76958 A.legacyColorClass_closure3.prototype = {
76959 call$1(thisArg) {
76960 return J.get$dartValue$x(thisArg)._color0$_alpha;
76961 },
76962 $signature: 375
76963 };
76964 A.legacyColorClass_closure4.prototype = {
76965 call$2(thisArg, value) {
76966 var t1 = J.getInterceptor$x(thisArg);
76967 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$red(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
76968 },
76969 $signature: 72
76970 };
76971 A.legacyColorClass_closure5.prototype = {
76972 call$2(thisArg, value) {
76973 var t1 = J.getInterceptor$x(thisArg);
76974 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$green(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
76975 },
76976 $signature: 72
76977 };
76978 A.legacyColorClass_closure6.prototype = {
76979 call$2(thisArg, value) {
76980 var t1 = J.getInterceptor$x(thisArg);
76981 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$blue(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 255))));
76982 },
76983 $signature: 72
76984 };
76985 A.legacyColorClass_closure7.prototype = {
76986 call$2(thisArg, value) {
76987 var t1 = J.getInterceptor$x(thisArg);
76988 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$alpha(B.JSNumber_methods.clamp$2(value, 0, 1)));
76989 },
76990 $signature: 72
76991 };
76992 A.colorClass_closure.prototype = {
76993 call$0() {
76994 var t1 = type$.JSClass,
76995 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure()));
76996 J.get$$prototype$x(jsClass).change = A.allowInteropCaptureThisNamed("change", new A.colorClass__closure0());
76997 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));
76998 A.JSClassExtension_injectSuperclass(t1._as(A.SassColor$rgb0(0, 0, 0, null, null).constructor), jsClass);
76999 return jsClass;
77000 },
77001 $signature: 25
77002 };
77003 A.colorClass__closure.prototype = {
77004 call$2($self, color) {
77005 var t2, t3, t4,
77006 t1 = J.getInterceptor$x(color);
77007 if (t1.get$red(color) != null) {
77008 t2 = t1.get$red(color);
77009 t2.toString;
77010 t2 = A.fuzzyRound0(t2);
77011 t3 = t1.get$green(color);
77012 t3.toString;
77013 t3 = A.fuzzyRound0(t3);
77014 t4 = t1.get$blue(color);
77015 t4.toString;
77016 return A.SassColor$rgb0(t2, t3, A.fuzzyRound0(t4), t1.get$alpha(color), null);
77017 } else if (t1.get$saturation(color) != null) {
77018 t2 = t1.get$hue(color);
77019 t2.toString;
77020 t3 = t1.get$saturation(color);
77021 t3.toString;
77022 t4 = t1.get$lightness(color);
77023 t4.toString;
77024 return A.SassColor$hsl0(t2, t3, t4, t1.get$alpha(color));
77025 } else {
77026 t2 = t1.get$hue(color);
77027 t2.toString;
77028 t3 = t1.get$whiteness(color);
77029 t3.toString;
77030 t4 = t1.get$blackness(color);
77031 t4.toString;
77032 return A.SassColor_SassColor$hwb0(t2, t3, t4, t1.get$alpha(color));
77033 }
77034 },
77035 $signature: 377
77036 };
77037 A.colorClass__closure0.prototype = {
77038 call$2($self, options) {
77039 var t2, t3, t4,
77040 t1 = J.getInterceptor$x(options);
77041 if (t1.get$whiteness(options) != null || t1.get$blackness(options) != null) {
77042 t2 = t1.get$hue(options);
77043 if (t2 == null)
77044 t2 = $self.get$hue($self);
77045 t3 = t1.get$whiteness(options);
77046 if (t3 == null)
77047 t3 = $self.get$whiteness($self);
77048 t4 = t1.get$blackness(options);
77049 if (t4 == null)
77050 t4 = $self.get$blackness($self);
77051 t1 = t1.get$alpha(options);
77052 return $self.changeHwb$4$alpha$blackness$hue$whiteness(t1 == null ? $self._color0$_alpha : t1, t4, t2, t3);
77053 } else if (t1.get$hue(options) != null || t1.get$saturation(options) != null || t1.get$lightness(options) != null) {
77054 t2 = t1.get$hue(options);
77055 if (t2 == null)
77056 t2 = $self.get$hue($self);
77057 t3 = t1.get$saturation(options);
77058 if (t3 == null)
77059 t3 = $self.get$saturation($self);
77060 t4 = t1.get$lightness(options);
77061 if (t4 == null)
77062 t4 = $self.get$lightness($self);
77063 t1 = t1.get$alpha(options);
77064 return $self.changeHsl$4$alpha$hue$lightness$saturation(t1 == null ? $self._color0$_alpha : t1, t2, t4, t3);
77065 } else if (t1.get$red(options) != null || t1.get$green(options) != null || t1.get$blue(options) != null) {
77066 t2 = A.NullableExtension_andThen0(t1.get$red(options), A.number2__fuzzyRound$closure());
77067 if (t2 == null)
77068 t2 = $self.get$red($self);
77069 t3 = A.NullableExtension_andThen0(t1.get$green(options), A.number2__fuzzyRound$closure());
77070 if (t3 == null)
77071 t3 = $self.get$green($self);
77072 t4 = A.NullableExtension_andThen0(t1.get$blue(options), A.number2__fuzzyRound$closure());
77073 if (t4 == null)
77074 t4 = $self.get$blue($self);
77075 t1 = t1.get$alpha(options);
77076 return $self.changeRgb$4$alpha$blue$green$red(t1 == null ? $self._color0$_alpha : t1, t4, t3, t2);
77077 } else {
77078 t1 = t1.get$alpha(options);
77079 return $self.changeAlpha$1(t1 == null ? $self._color0$_alpha : t1);
77080 }
77081 },
77082 $signature: 378
77083 };
77084 A.colorClass__closure1.prototype = {
77085 call$1($self) {
77086 return $self.get$red($self);
77087 },
77088 $signature: 119
77089 };
77090 A.colorClass__closure2.prototype = {
77091 call$1($self) {
77092 return $self.get$green($self);
77093 },
77094 $signature: 119
77095 };
77096 A.colorClass__closure3.prototype = {
77097 call$1($self) {
77098 return $self.get$blue($self);
77099 },
77100 $signature: 119
77101 };
77102 A.colorClass__closure4.prototype = {
77103 call$1($self) {
77104 return $self.get$hue($self);
77105 },
77106 $signature: 57
77107 };
77108 A.colorClass__closure5.prototype = {
77109 call$1($self) {
77110 return $self.get$saturation($self);
77111 },
77112 $signature: 57
77113 };
77114 A.colorClass__closure6.prototype = {
77115 call$1($self) {
77116 return $self.get$lightness($self);
77117 },
77118 $signature: 57
77119 };
77120 A.colorClass__closure7.prototype = {
77121 call$1($self) {
77122 return $self.get$whiteness($self);
77123 },
77124 $signature: 57
77125 };
77126 A.colorClass__closure8.prototype = {
77127 call$1($self) {
77128 return $self.get$blackness($self);
77129 },
77130 $signature: 57
77131 };
77132 A.colorClass__closure9.prototype = {
77133 call$1($self) {
77134 return $self._color0$_alpha;
77135 },
77136 $signature: 57
77137 };
77138 A._Channels.prototype = {};
77139 A.SassColor0.prototype = {
77140 get$red(_) {
77141 var t1;
77142 if (this._color0$_red == null)
77143 this._color0$_hslToRgb$0();
77144 t1 = this._color0$_red;
77145 t1.toString;
77146 return t1;
77147 },
77148 get$green(_) {
77149 var t1;
77150 if (this._color0$_green == null)
77151 this._color0$_hslToRgb$0();
77152 t1 = this._color0$_green;
77153 t1.toString;
77154 return t1;
77155 },
77156 get$blue(_) {
77157 var t1;
77158 if (this._color0$_blue == null)
77159 this._color0$_hslToRgb$0();
77160 t1 = this._color0$_blue;
77161 t1.toString;
77162 return t1;
77163 },
77164 get$hue(_) {
77165 var t1;
77166 if (this._color0$_hue == null)
77167 this._color0$_rgbToHsl$0();
77168 t1 = this._color0$_hue;
77169 t1.toString;
77170 return t1;
77171 },
77172 get$saturation(_) {
77173 var t1;
77174 if (this._color0$_saturation == null)
77175 this._color0$_rgbToHsl$0();
77176 t1 = this._color0$_saturation;
77177 t1.toString;
77178 return t1;
77179 },
77180 get$lightness(_) {
77181 var t1;
77182 if (this._color0$_lightness == null)
77183 this._color0$_rgbToHsl$0();
77184 t1 = this._color0$_lightness;
77185 t1.toString;
77186 return t1;
77187 },
77188 get$whiteness(_) {
77189 var _this = this;
77190 return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
77191 },
77192 get$blackness(_) {
77193 var _this = this;
77194 return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
77195 },
77196 accept$1$1(visitor) {
77197 return visitor.visitColor$1(this);
77198 },
77199 accept$1(visitor) {
77200 return this.accept$1$1(visitor, type$.dynamic);
77201 },
77202 assertColor$1($name) {
77203 return this;
77204 },
77205 changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
77206 var _this = this,
77207 t1 = red == null ? _this.get$red(_this) : red,
77208 t2 = green == null ? _this.get$green(_this) : green,
77209 t3 = blue == null ? _this.get$blue(_this) : blue;
77210 return A.SassColor$rgb0(t1, t2, t3, alpha == null ? _this._color0$_alpha : alpha, null);
77211 },
77212 changeRgb$3$blue$green$red(blue, green, red) {
77213 return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
77214 },
77215 changeRgb$1$alpha(alpha) {
77216 return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
77217 },
77218 changeRgb$1$blue(blue) {
77219 return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
77220 },
77221 changeRgb$1$green(green) {
77222 return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
77223 },
77224 changeRgb$1$red(red) {
77225 return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
77226 },
77227 changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
77228 var _this = this,
77229 t1 = hue == null ? _this.get$hue(_this) : hue,
77230 t2 = saturation == null ? _this.get$saturation(_this) : saturation,
77231 t3 = lightness == null ? _this.get$lightness(_this) : lightness;
77232 return A.SassColor$hsl0(t1, t2, t3, alpha == null ? _this._color0$_alpha : alpha);
77233 },
77234 changeHsl$1$saturation(saturation) {
77235 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
77236 },
77237 changeHsl$1$lightness(lightness) {
77238 return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
77239 },
77240 changeHsl$1$hue(hue) {
77241 return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
77242 },
77243 changeHwb$4$alpha$blackness$hue$whiteness(alpha, blackness, hue, whiteness) {
77244 var t1 = hue == null ? this.get$hue(this) : hue;
77245 return A.SassColor_SassColor$hwb0(t1, whiteness, blackness, alpha);
77246 },
77247 changeAlpha$1(alpha) {
77248 var _this = this;
77249 return new A.SassColor0(_this._color0$_red, _this._color0$_green, _this._color0$_blue, _this._color0$_hue, _this._color0$_saturation, _this._color0$_lightness, A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), null);
77250 },
77251 plus$1(other) {
77252 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77253 return this.super$Value$plus0(other);
77254 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
77255 },
77256 minus$1(other) {
77257 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77258 return this.super$Value$minus0(other);
77259 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
77260 },
77261 dividedBy$1(other) {
77262 if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
77263 return this.super$Value$dividedBy0(other);
77264 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".'));
77265 },
77266 $eq(_, other) {
77267 var _this = this;
77268 if (other == null)
77269 return false;
77270 return other instanceof A.SassColor0 && other.get$red(other) === _this.get$red(_this) && other.get$green(other) === _this.get$green(_this) && other.get$blue(other) === _this.get$blue(_this) && other._color0$_alpha === _this._color0$_alpha;
77271 },
77272 get$hashCode(_) {
77273 var _this = this;
77274 return B.JSInt_methods.get$hashCode(_this.get$red(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$green(_this)) ^ B.JSInt_methods.get$hashCode(_this.get$blue(_this)) ^ B.JSNumber_methods.get$hashCode(_this._color0$_alpha);
77275 },
77276 _color0$_rgbToHsl$0() {
77277 var t2, lightness, _this = this,
77278 scaledRed = _this.get$red(_this) / 255,
77279 scaledGreen = _this.get$green(_this) / 255,
77280 scaledBlue = _this.get$blue(_this) / 255,
77281 max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
77282 min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
77283 delta = max - min,
77284 t1 = max === min;
77285 if (t1)
77286 _this._color0$_hue = 0;
77287 else if (max === scaledRed)
77288 _this._color0$_hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
77289 else if (max === scaledGreen)
77290 _this._color0$_hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
77291 else if (max === scaledBlue)
77292 _this._color0$_hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
77293 t2 = max + min;
77294 lightness = 50 * t2;
77295 _this._color0$_lightness = lightness;
77296 if (t1)
77297 _this._color0$_saturation = 0;
77298 else {
77299 t1 = 100 * delta;
77300 if (lightness < 50)
77301 _this._color0$_saturation = t1 / t2;
77302 else
77303 _this._color0$_saturation = t1 / (2 - max - min);
77304 }
77305 },
77306 _color0$_hslToRgb$0() {
77307 var _this = this,
77308 scaledHue = _this.get$hue(_this) / 360,
77309 scaledSaturation = _this.get$saturation(_this) / 100,
77310 scaledLightness = _this.get$lightness(_this) / 100,
77311 m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
77312 m1 = scaledLightness * 2 - m2;
77313 _this._color0$_red = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue + 0.3333333333333333) * 255);
77314 _this._color0$_green = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue) * 255);
77315 _this._color0$_blue = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue - 0.3333333333333333) * 255);
77316 }
77317 };
77318 A.SassColor_SassColor$hwb_toRgb0.prototype = {
77319 call$1(hue) {
77320 return A.fuzzyRound0((A.SassColor__hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
77321 },
77322 $signature: 43
77323 };
77324 A.ModifiableCssComment0.prototype = {
77325 accept$1$1(visitor) {
77326 return visitor.visitCssComment$1(this);
77327 },
77328 accept$1(visitor) {
77329 return this.accept$1$1(visitor, type$.dynamic);
77330 },
77331 $isCssComment0: 1,
77332 get$span(receiver) {
77333 return this.span;
77334 }
77335 };
77336 A.compileAsync_closure.prototype = {
77337 call$0() {
77338 var $async$goto = 0,
77339 $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
77340 $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t1, t2, t3, t4, $async$temp1;
77341 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77342 if ($async$errorCode === 1)
77343 return A._asyncRethrow($async$result, $async$completer);
77344 while (true)
77345 switch ($async$goto) {
77346 case 0:
77347 // Function start
77348 t1 = $async$self.options;
77349 t2 = t1 == null;
77350 t3 = t2 ? null : J.get$loadPaths$x(t1);
77351 t4 = t2 ? null : J.get$quietDeps$x(t1);
77352 if (t4 == null)
77353 t4 = false;
77354 t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
77355 t6 = t2 ? null : J.get$verbose$x(t1);
77356 if (t6 == null)
77357 t6 = false;
77358 t7 = t2 ? null : J.get$sourceMap$x(t1);
77359 if (t7 == null)
77360 t7 = false;
77361 t8 = t2 ? null : J.get$logger$x(t1);
77362 t8 = new A.NodeToDartLogger(t8, new A.StderrLogger0($async$self.color), $async$self.ascii);
77363 if (t2)
77364 t9 = null;
77365 else {
77366 t9 = J.get$importers$x(t1);
77367 t9 = t9 == null ? null : J.map$1$1$ax(t9, new A.compileAsync__closure(), type$.AsyncImporter);
77368 }
77369 t1 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
77370 $async$temp1 = A;
77371 $async$goto = 3;
77372 return A._asyncAwait(A.compileAsync0($async$self.path, true, t1, A.AsyncImportCache$(t9, t3, t8, null), null, null, t8, null, t4, t7, t5, null, true, t6), $async$call$0);
77373 case 3:
77374 // returning from await.
77375 $async$returnValue = $async$temp1._convertResult($async$result);
77376 // goto return
77377 $async$goto = 1;
77378 break;
77379 case 1:
77380 // return
77381 return A._asyncReturn($async$returnValue, $async$completer);
77382 }
77383 });
77384 return A._asyncStartSync($async$call$0, $async$completer);
77385 },
77386 $signature: 203
77387 };
77388 A.compileAsync__closure.prototype = {
77389 call$1(importer) {
77390 return A._parseAsyncImporter(importer);
77391 },
77392 $signature: 231
77393 };
77394 A.compileStringAsync_closure.prototype = {
77395 call$0() {
77396 var $async$goto = 0,
77397 $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
77398 $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t1, t2, t3, t4, t5, t6, $async$temp1;
77399 var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77400 if ($async$errorCode === 1)
77401 return A._asyncRethrow($async$result, $async$completer);
77402 while (true)
77403 switch ($async$goto) {
77404 case 0:
77405 // Function start
77406 t1 = $async$self.options;
77407 t2 = t1 == null;
77408 t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
77409 t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils1__jsToDartUrl$closure());
77410 t5 = t2 ? null : J.get$loadPaths$x(t1);
77411 t6 = t2 ? null : J.get$quietDeps$x(t1);
77412 if (t6 == null)
77413 t6 = false;
77414 t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
77415 t8 = t2 ? null : J.get$verbose$x(t1);
77416 if (t8 == null)
77417 t8 = false;
77418 t9 = t2 ? null : J.get$sourceMap$x(t1);
77419 if (t9 == null)
77420 t9 = false;
77421 t10 = t2 ? null : J.get$logger$x(t1);
77422 t10 = new A.NodeToDartLogger(t10, new A.StderrLogger0($async$self.color), $async$self.ascii);
77423 if (t2)
77424 t11 = null;
77425 else {
77426 t11 = J.get$importers$x(t1);
77427 t11 = t11 == null ? null : J.map$1$1$ax(t11, new A.compileStringAsync__closure(), type$.AsyncImporter);
77428 }
77429 t12 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
77430 if (t12 == null)
77431 t12 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter() : null;
77432 t1 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
77433 $async$temp1 = A;
77434 $async$goto = 3;
77435 return A._asyncAwait(A.compileStringAsync0($async$self.text, true, t1, A.AsyncImportCache$(t11, t5, t10, null), t12, null, null, t10, null, t6, t9, t7, t3, t4, true, t8), $async$call$0);
77436 case 3:
77437 // returning from await.
77438 $async$returnValue = $async$temp1._convertResult($async$result);
77439 // goto return
77440 $async$goto = 1;
77441 break;
77442 case 1:
77443 // return
77444 return A._asyncReturn($async$returnValue, $async$completer);
77445 }
77446 });
77447 return A._asyncStartSync($async$call$0, $async$completer);
77448 },
77449 $signature: 203
77450 };
77451 A.compileStringAsync__closure.prototype = {
77452 call$1(importer) {
77453 return A._parseAsyncImporter(importer);
77454 },
77455 $signature: 231
77456 };
77457 A.compileStringAsync__closure0.prototype = {
77458 call$1(importer) {
77459 return A._parseAsyncImporter(importer);
77460 },
77461 $signature: 383
77462 };
77463 A._wrapAsyncSassExceptions_closure.prototype = {
77464 call$1(error) {
77465 return error instanceof A.SassException0 ? A.throwNodeException(error, this.ascii, this.color, null) : A.jsThrow(type$.Object._as(error));
77466 },
77467 $signature: 384
77468 };
77469 A._parseFunctions_closure0.prototype = {
77470 call$2(signature, callback) {
77471 var error, stackTrace, exception, t2, t3, t4, t1 = {};
77472 t1.tuple = null;
77473 try {
77474 t1.tuple = A.ScssParser$0(signature, null, null).parseSignature$0();
77475 } catch (exception) {
77476 t2 = A.unwrapException(exception);
77477 if (t2 instanceof A.SassFormatException0) {
77478 error = t2;
77479 stackTrace = A.getTraceFromException(exception);
77480 t2 = error;
77481 t3 = J.getInterceptor$z(t2);
77482 A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace);
77483 } else
77484 throw exception;
77485 }
77486 t2 = this.result;
77487 t3 = t1.tuple;
77488 t4 = t3.item1;
77489 t3 = t3.item2;
77490 if (!this.asynch)
77491 t2.push(A.BuiltInCallable$parsed(t4, t3, new A._parseFunctions__closure2(t1, callback)));
77492 else
77493 t2.push(new A.AsyncBuiltInCallable0(t4, t3, new A._parseFunctions__closure3(t1, callback)));
77494 },
77495 $signature: 117
77496 };
77497 A._parseFunctions__closure2.prototype = {
77498 call$1($arguments) {
77499 var t1, t2,
77500 _s42_ = string$.Invali,
77501 result = type$.Function._as(this.callback).call$1(A.toJSArray($arguments));
77502 if (result instanceof A.Value0)
77503 return result;
77504 t1 = result != null && result instanceof self.Promise;
77505 t2 = this._box_0.tuple;
77506 if (t1)
77507 throw A.wrapException(_s42_ + A.S(t2.item1) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
77508 else
77509 throw A.wrapException(_s42_ + A.S(t2.item1) + '": ' + A.S(result) + " is not a sass.Value.");
77510 },
77511 $signature: 3
77512 };
77513 A._parseFunctions__closure3.prototype = {
77514 call$1($arguments) {
77515 return this.$call$body$_parseFunctions__closure0($arguments);
77516 },
77517 $call$body$_parseFunctions__closure0($arguments) {
77518 var $async$goto = 0,
77519 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
77520 $async$returnValue, $async$self = this, result;
77521 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
77522 if ($async$errorCode === 1)
77523 return A._asyncRethrow($async$result, $async$completer);
77524 while (true)
77525 switch ($async$goto) {
77526 case 0:
77527 // Function start
77528 result = type$.Function._as($async$self.callback).call$1(A.toJSArray($arguments));
77529 $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
77530 break;
77531 case 3:
77532 // then
77533 $async$goto = 5;
77534 return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.Object), $async$call$1);
77535 case 5:
77536 // returning from await.
77537 result = $async$result;
77538 case 4:
77539 // join
77540 if (result instanceof A.Value0) {
77541 $async$returnValue = result;
77542 // goto return
77543 $async$goto = 1;
77544 break;
77545 }
77546 throw A.wrapException(string$.Invali + A.S($async$self._box_0.tuple.item1) + '": ' + A.S(result) + " is not a sass.Value.");
77547 case 1:
77548 // return
77549 return A._asyncReturn($async$returnValue, $async$completer);
77550 }
77551 });
77552 return A._asyncStartSync($async$call$1, $async$completer);
77553 },
77554 $signature: 93
77555 };
77556 A._compileStylesheet_closure1.prototype = {
77557 call$1(url) {
77558 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);
77559 },
77560 $signature: 5
77561 };
77562 A.CompileOptions.prototype = {};
77563 A.CompileStringOptions.prototype = {};
77564 A.NodeCompileResult.prototype = {};
77565 A.CompileResult0.prototype = {};
77566 A.ComplexSassNumber0.prototype = {
77567 get$numeratorUnits(_) {
77568 return this._complex1$_numeratorUnits;
77569 },
77570 get$denominatorUnits(_) {
77571 return this._complex1$_denominatorUnits;
77572 },
77573 get$hasUnits() {
77574 return true;
77575 },
77576 hasUnit$1(unit) {
77577 return false;
77578 },
77579 compatibleWithUnit$1(unit) {
77580 return false;
77581 },
77582 hasPossiblyCompatibleUnits$1(other) {
77583 throw A.wrapException(A.UnimplementedError$(string$.Comple));
77584 },
77585 withValue$1(value) {
77586 return new A.ComplexSassNumber0(this._complex1$_numeratorUnits, this._complex1$_denominatorUnits, value, null);
77587 },
77588 withSlash$2(numerator, denominator) {
77589 return new A.ComplexSassNumber0(this._complex1$_numeratorUnits, this._complex1$_denominatorUnits, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
77590 }
77591 };
77592 A.ComplexSelector0.prototype = {
77593 get$minSpecificity() {
77594 if (this._complex0$_minSpecificity == null)
77595 this._complex0$_computeSpecificity$0();
77596 var t1 = this._complex0$_minSpecificity;
77597 t1.toString;
77598 return t1;
77599 },
77600 get$maxSpecificity() {
77601 if (this._complex0$_maxSpecificity == null)
77602 this._complex0$_computeSpecificity$0();
77603 var t1 = this._complex0$_maxSpecificity;
77604 t1.toString;
77605 return t1;
77606 },
77607 get$isInvisible() {
77608 var result, _this = this,
77609 value = _this._complex0$__ComplexSelector_isInvisible;
77610 if (value === $) {
77611 result = B.JSArray_methods.any$1(_this.components, new A.ComplexSelector_isInvisible_closure0());
77612 A._lateInitializeOnceCheck(_this._complex0$__ComplexSelector_isInvisible, "isInvisible");
77613 _this._complex0$__ComplexSelector_isInvisible = result;
77614 value = result;
77615 }
77616 return value;
77617 },
77618 accept$1$1(visitor) {
77619 return visitor.visitComplexSelector$1(this);
77620 },
77621 accept$1(visitor) {
77622 return this.accept$1$1(visitor, type$.dynamic);
77623 },
77624 _complex0$_computeSpecificity$0() {
77625 var t1, t2, minSpecificity, maxSpecificity, _i, component, t3;
77626 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
77627 component = t1[_i];
77628 if (component instanceof A.CompoundSelector0) {
77629 if (component._compound0$_minSpecificity == null)
77630 component._compound0$_computeSpecificity$0();
77631 t3 = component._compound0$_minSpecificity;
77632 t3.toString;
77633 minSpecificity += t3;
77634 if (component._compound0$_maxSpecificity == null)
77635 component._compound0$_computeSpecificity$0();
77636 t3 = component._compound0$_maxSpecificity;
77637 t3.toString;
77638 maxSpecificity += t3;
77639 }
77640 }
77641 this._complex0$_minSpecificity = minSpecificity;
77642 this._complex0$_maxSpecificity = maxSpecificity;
77643 },
77644 get$hashCode(_) {
77645 return B.C_ListEquality0.hash$1(this.components);
77646 },
77647 $eq(_, other) {
77648 if (other == null)
77649 return false;
77650 return other instanceof A.ComplexSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
77651 }
77652 };
77653 A.ComplexSelector_isInvisible_closure0.prototype = {
77654 call$1(component) {
77655 return component instanceof A.CompoundSelector0 && component.get$isInvisible();
77656 },
77657 $signature: 116
77658 };
77659 A.Combinator0.prototype = {
77660 toString$0(_) {
77661 return this._complex0$_text;
77662 },
77663 $isComplexSelectorComponent0: 1
77664 };
77665 A.CompoundSelector0.prototype = {
77666 get$isInvisible() {
77667 return B.JSArray_methods.any$1(this.components, new A.CompoundSelector_isInvisible_closure0());
77668 },
77669 accept$1$1(visitor) {
77670 return visitor.visitCompoundSelector$1(this);
77671 },
77672 accept$1(visitor) {
77673 return this.accept$1$1(visitor, type$.dynamic);
77674 },
77675 _compound0$_computeSpecificity$0() {
77676 var t1, t2, minSpecificity, maxSpecificity, _i, simple;
77677 for (t1 = this.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
77678 simple = t1[_i];
77679 minSpecificity += simple.get$minSpecificity();
77680 maxSpecificity += simple.get$maxSpecificity();
77681 }
77682 this._compound0$_minSpecificity = minSpecificity;
77683 this._compound0$_maxSpecificity = maxSpecificity;
77684 },
77685 get$hashCode(_) {
77686 return B.C_ListEquality0.hash$1(this.components);
77687 },
77688 $eq(_, other) {
77689 if (other == null)
77690 return false;
77691 return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
77692 },
77693 $isComplexSelectorComponent0: 1
77694 };
77695 A.CompoundSelector_isInvisible_closure0.prototype = {
77696 call$1(component) {
77697 return component.get$isInvisible();
77698 },
77699 $signature: 15
77700 };
77701 A.Configuration0.prototype = {
77702 throughForward$1($forward) {
77703 var prefix, shownVariables, hiddenVariables, t1,
77704 newValues = this._configuration$_values;
77705 if (newValues.get$isEmpty(newValues))
77706 return B.Configuration_Map_empty0;
77707 prefix = $forward.prefix;
77708 if (prefix != null)
77709 newValues = new A.UnprefixedMapView0(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue_2);
77710 shownVariables = $forward.shownVariables;
77711 hiddenVariables = $forward.hiddenVariables;
77712 if (shownVariables != null)
77713 newValues = new A.LimitedMapView0(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
77714 else {
77715 if (hiddenVariables != null) {
77716 t1 = hiddenVariables._base;
77717 t1 = t1.get$isNotEmpty(t1);
77718 } else
77719 t1 = false;
77720 if (t1)
77721 newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
77722 }
77723 return this._configuration$_withValues$1(newValues);
77724 },
77725 _configuration$_withValues$1(values) {
77726 return new A.Configuration0(values);
77727 },
77728 toString$0(_) {
77729 var t1 = this._configuration$_values;
77730 return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure0(), type$.String).join$1(0, ", ") + ")";
77731 }
77732 };
77733 A.Configuration_toString_closure0.prototype = {
77734 call$1(entry) {
77735 return "$" + A.S(entry.key) + ": " + A.S(entry.value);
77736 },
77737 $signature: 387
77738 };
77739 A.ExplicitConfiguration0.prototype = {
77740 _configuration$_withValues$1(values) {
77741 return new A.ExplicitConfiguration0(this.nodeWithSpan, values);
77742 }
77743 };
77744 A.ConfiguredValue0.prototype = {
77745 toString$0(_) {
77746 return A.serializeValue0(this.value, true, true);
77747 }
77748 };
77749 A.ConfiguredVariable0.prototype = {
77750 toString$0(_) {
77751 var t1 = "$" + this.name + ": " + this.expression.toString$0(0);
77752 return t1 + (this.isGuarded ? " !default" : "");
77753 },
77754 $isAstNode0: 1,
77755 get$span(receiver) {
77756 return this.span;
77757 }
77758 };
77759 A.ContentBlock0.prototype = {
77760 accept$1$1(visitor) {
77761 return visitor.visitContentBlock$1(this);
77762 },
77763 accept$1(visitor) {
77764 return this.accept$1$1(visitor, type$.dynamic);
77765 },
77766 toString$0(_) {
77767 var t2,
77768 t1 = this.$arguments;
77769 t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
77770 t2 = this.children;
77771 return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
77772 }
77773 };
77774 A.ContentRule0.prototype = {
77775 accept$1$1(visitor) {
77776 return visitor.visitContentRule$1(this);
77777 },
77778 accept$1(visitor) {
77779 return this.accept$1$1(visitor, type$.dynamic);
77780 },
77781 toString$0(_) {
77782 var t1 = this.$arguments;
77783 return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
77784 },
77785 $isAstNode0: 1,
77786 $isStatement0: 1,
77787 get$span(receiver) {
77788 return this.span;
77789 }
77790 };
77791 A._disallowedFunctionNames_closure0.prototype = {
77792 call$1($function) {
77793 return $function.name;
77794 },
77795 $signature: 388
77796 };
77797 A.CssParser0.prototype = {
77798 get$plainCss() {
77799 return true;
77800 },
77801 silentComment$0() {
77802 var t1 = this.scanner,
77803 t2 = t1._string_scanner$_position;
77804 this.super$Parser$silentComment0();
77805 this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
77806 },
77807 atRule$2$root(child, root) {
77808 var $name, urlStart, next, url, urlSpan, queries, t2, t3, t4, t5, _this = this,
77809 t1 = _this.scanner,
77810 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
77811 t1.expectChar$1(64);
77812 $name = _this.interpolatedIdentifier$0();
77813 _this.whitespace$0();
77814 switch ($name.get$asPlain()) {
77815 case "at-root":
77816 case "content":
77817 case "debug":
77818 case "each":
77819 case "error":
77820 case "extend":
77821 case "for":
77822 case "function":
77823 case "if":
77824 case "include":
77825 case "mixin":
77826 case "return":
77827 case "warn":
77828 case "while":
77829 _this.almostAnyValue$0();
77830 _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
77831 break;
77832 case "import":
77833 urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
77834 next = t1.peekChar$0();
77835 url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression0(_this.interpolatedString$0().asInterpolation$1$static(true), false);
77836 urlSpan = t1.spanFrom$1(urlStart);
77837 _this.whitespace$0();
77838 queries = _this.tryImportQueries$0();
77839 _this.expectStatementSeparator$1("@import rule");
77840 t2 = A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), urlSpan);
77841 t3 = t1.spanFrom$1(urlStart);
77842 t4 = queries == null;
77843 t5 = t4 ? null : queries.item1;
77844 t2 = A._setArrayType([new A.StaticImport0(t2, t5, t4 ? null : queries.item2, t3)], type$.JSArray_Import_2);
77845 t1 = t1.spanFrom$1(start);
77846 return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
77847 case "media":
77848 return _this.mediaRule$1(start);
77849 case "-moz-document":
77850 return _this.mozDocumentRule$2(start, $name);
77851 case "supports":
77852 return _this.supportsRule$1(start);
77853 default:
77854 return _this.unknownAtRule$2(start, $name);
77855 }
77856 },
77857 identifierLike$0() {
77858 var t2, $arguments, t3, t4, _this = this,
77859 t1 = _this.scanner,
77860 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
77861 identifier = _this.interpolatedIdentifier$0(),
77862 plain = identifier.get$asPlain(),
77863 specialFunction = _this.trySpecialFunction$2(plain.toLowerCase(), start);
77864 if (specialFunction != null)
77865 return specialFunction;
77866 t2 = t1._string_scanner$_position;
77867 if (!t1.scanChar$1(40))
77868 return new A.StringExpression0(identifier, false);
77869 $arguments = A._setArrayType([], type$.JSArray_Expression_2);
77870 if (!t1.scanChar$1(41)) {
77871 do {
77872 _this.whitespace$0();
77873 $arguments.push(_this.expression$1$singleEquals(true));
77874 _this.whitespace$0();
77875 } while (t1.scanChar$1(44));
77876 t1.expectChar$1(41);
77877 }
77878 if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
77879 _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
77880 t3 = A.Interpolation$0(A._setArrayType([new A.StringExpression0(identifier, false)], type$.JSArray_Object), identifier.span);
77881 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
77882 t4 = type$.Expression_2;
77883 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));
77884 },
77885 namespacedExpression$2(namespace, start) {
77886 var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
77887 this.error$2(0, string$.Modulen, expression.get$span(expression));
77888 }
77889 };
77890 A.DebugRule0.prototype = {
77891 accept$1$1(visitor) {
77892 return visitor.visitDebugRule$1(this);
77893 },
77894 accept$1(visitor) {
77895 return this.accept$1$1(visitor, type$.dynamic);
77896 },
77897 toString$0(_) {
77898 return "@debug " + this.expression.toString$0(0) + ";";
77899 },
77900 $isAstNode0: 1,
77901 $isStatement0: 1,
77902 get$span(receiver) {
77903 return this.span;
77904 }
77905 };
77906 A.ModifiableCssDeclaration0.prototype = {
77907 accept$1$1(visitor) {
77908 return visitor.visitCssDeclaration$1(this);
77909 },
77910 accept$1(visitor) {
77911 return this.accept$1$1(visitor, type$.dynamic);
77912 },
77913 toString$0(_) {
77914 return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
77915 },
77916 get$span(receiver) {
77917 return this.span;
77918 }
77919 };
77920 A.Declaration0.prototype = {
77921 accept$1$1(visitor) {
77922 return visitor.visitDeclaration$1(this);
77923 },
77924 accept$1(visitor) {
77925 return this.accept$1$1(visitor, type$.dynamic);
77926 },
77927 get$span(receiver) {
77928 return this.span;
77929 }
77930 };
77931 A.SupportsDeclaration0.prototype = {
77932 get$isCustomProperty() {
77933 var $name = this.name;
77934 return $name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
77935 },
77936 toString$0(_) {
77937 return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
77938 },
77939 $isAstNode0: 1,
77940 $isSupportsCondition0: 1,
77941 get$span(receiver) {
77942 return this.span;
77943 }
77944 };
77945 A.DynamicImport0.prototype = {
77946 toString$0(_) {
77947 return A.StringExpression_quoteText0(this.urlString);
77948 },
77949 $isImport0: 1,
77950 $isAstNode0: 1,
77951 get$span(receiver) {
77952 return this.span;
77953 }
77954 };
77955 A.EachRule0.prototype = {
77956 accept$1$1(visitor) {
77957 return visitor.visitEachRule$1(this);
77958 },
77959 accept$1(visitor) {
77960 return this.accept$1$1(visitor, type$.dynamic);
77961 },
77962 toString$0(_) {
77963 var t1 = this.variables,
77964 t2 = this.children;
77965 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, " ") + "}";
77966 },
77967 get$span(receiver) {
77968 return this.span;
77969 }
77970 };
77971 A.EachRule_toString_closure0.prototype = {
77972 call$1(variable) {
77973 return "$" + variable;
77974 },
77975 $signature: 5
77976 };
77977 A.EmptyExtensionStore0.prototype = {
77978 get$isEmpty(_) {
77979 return true;
77980 },
77981 get$simpleSelectors() {
77982 return B.C_EmptyUnmodifiableSet0;
77983 },
77984 extensionsWhereTarget$1(callback) {
77985 return B.List_empty12;
77986 },
77987 addSelector$3(selector, span, mediaContext) {
77988 throw A.wrapException(A.UnsupportedError$(string$.addSel));
77989 },
77990 addExtension$4(extender, target, extend, mediaContext) {
77991 throw A.wrapException(A.UnsupportedError$(string$.addExt_));
77992 },
77993 addExtensions$1(extenders) {
77994 throw A.wrapException(A.UnsupportedError$(string$.addExts));
77995 },
77996 clone$0() {
77997 return B.Tuple2_EmptyExtensionStore_Map_empty0;
77998 },
77999 $isExtensionStore0: 1
78000 };
78001 A.Environment0.prototype = {
78002 closure$0() {
78003 var t4, t5, t6, _this = this,
78004 t1 = _this._environment0$_forwardedModules,
78005 t2 = _this._environment0$_nestedForwardedModules,
78006 t3 = _this._environment0$_variables;
78007 t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
78008 t4 = _this._environment0$_variableNodes;
78009 t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
78010 t5 = _this._environment0$_functions;
78011 t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
78012 t6 = _this._environment0$_mixins;
78013 t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
78014 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);
78015 },
78016 addModule$3$namespace(module, nodeWithSpan, namespace) {
78017 var t1, t2, span, _this = this;
78018 if (namespace == null) {
78019 _this._environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
78020 _this._environment0$_allModules.push(module);
78021 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._environment0$_variables))); t1.moveNext$0();) {
78022 t2 = t1.get$current(t1);
78023 if (module.get$variables().containsKey$1(t2))
78024 throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".'));
78025 }
78026 } else {
78027 t1 = _this._environment0$_modules;
78028 if (t1.containsKey$1(namespace)) {
78029 t1 = _this._environment0$_namespaceNodes.$index(0, namespace);
78030 span = t1 == null ? null : t1.span;
78031 t1 = string$.There_ + namespace + '".';
78032 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78033 if (span != null)
78034 t2.$indexSet(0, span, "original @use");
78035 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @use", t2));
78036 }
78037 t1.$indexSet(0, namespace, module);
78038 _this._environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
78039 _this._environment0$_allModules.push(module);
78040 }
78041 },
78042 forwardModule$2(module, rule) {
78043 var view, t1, t2, _this = this,
78044 forwardedModules = _this._environment0$_forwardedModules;
78045 if (forwardedModules == null)
78046 forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78047 view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
78048 for (t1 = forwardedModules.get$keys(forwardedModules), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
78049 t2 = t1.get$current(t1);
78050 _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
78051 _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
78052 _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
78053 }
78054 _this._environment0$_allModules.push(module);
78055 forwardedModules.$indexSet(0, view, rule);
78056 },
78057 _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
78058 var larger, smaller, t1, t2, $name, span;
78059 if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
78060 larger = oldMembers;
78061 smaller = newMembers;
78062 } else {
78063 larger = newMembers;
78064 smaller = oldMembers;
78065 }
78066 for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
78067 $name = t1.get$current(t1);
78068 if (!larger.containsKey$1($name))
78069 continue;
78070 if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
78071 continue;
78072 if (t2)
78073 $name = "$" + $name;
78074 t1 = this._environment0$_forwardedModules;
78075 if (t1 == null)
78076 span = null;
78077 else {
78078 t1 = t1.$index(0, oldModule);
78079 span = t1 == null ? null : J.get$span$z(t1);
78080 }
78081 t1 = "Two forwarded modules both define a " + type + " named " + $name + ".";
78082 t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78083 if (span != null)
78084 t2.$indexSet(0, span, "original @forward");
78085 throw A.wrapException(A.MultiSpanSassScriptException$0(t1, "new @forward", t2));
78086 }
78087 },
78088 importForwards$1(module) {
78089 var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
78090 forwarded = module._environment0$_environment._environment0$_forwardedModules;
78091 if (forwarded == null)
78092 return;
78093 forwardedModules = _this._environment0$_forwardedModules;
78094 if (forwardedModules != null) {
78095 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78096 for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._environment0$_globalModules; t2.moveNext$0();) {
78097 t4 = t2.get$current(t2);
78098 t5 = t4.key;
78099 if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
78100 t1.$indexSet(0, t5, t4.value);
78101 }
78102 forwarded = t1;
78103 } else
78104 forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
78105 t1 = forwarded.get$keys(forwarded);
78106 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
78107 forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure2(), t2), t2._eval$1("Iterable.E"));
78108 t2 = forwarded.get$keys(forwarded);
78109 t1 = A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,String>");
78110 forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t2, new A.Environment_importForwards_closure3(), t1), t1._eval$1("Iterable.E"));
78111 t1 = forwarded.get$keys(forwarded);
78112 t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,String>");
78113 forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.Environment_importForwards_closure4(), t2), t2._eval$1("Iterable.E"));
78114 t1 = _this._environment0$_variables;
78115 t2 = t1.length;
78116 if (t2 === 1) {
78117 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) {
78118 entry = t3[_i];
78119 module = entry.key;
78120 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
78121 if (shadowed != null) {
78122 t2.remove$1(0, module);
78123 t6 = shadowed.variables;
78124 if (t6.get$isEmpty(t6)) {
78125 t6 = shadowed.functions;
78126 if (t6.get$isEmpty(t6)) {
78127 t6 = shadowed.mixins;
78128 if (t6.get$isEmpty(t6)) {
78129 t6 = shadowed._shadowed_view0$_inner;
78130 t6 = t6.get$css(t6);
78131 t6 = J.get$isEmpty$asx(t6.get$children(t6));
78132 } else
78133 t6 = false;
78134 } else
78135 t6 = false;
78136 } else
78137 t6 = false;
78138 if (!t6)
78139 t2.$indexSet(0, shadowed, entry.value);
78140 }
78141 }
78142 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) {
78143 entry = t3[_i];
78144 module = entry.key;
78145 shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
78146 if (shadowed != null) {
78147 forwardedModules.remove$1(0, module);
78148 t6 = shadowed.variables;
78149 if (t6.get$isEmpty(t6)) {
78150 t6 = shadowed.functions;
78151 if (t6.get$isEmpty(t6)) {
78152 t6 = shadowed.mixins;
78153 if (t6.get$isEmpty(t6)) {
78154 t6 = shadowed._shadowed_view0$_inner;
78155 t6 = t6.get$css(t6);
78156 t6 = J.get$isEmpty$asx(t6.get$children(t6));
78157 } else
78158 t6 = false;
78159 } else
78160 t6 = false;
78161 } else
78162 t6 = false;
78163 if (!t6)
78164 forwardedModules.$indexSet(0, shadowed, entry.value);
78165 }
78166 }
78167 t2.addAll$1(0, forwarded);
78168 forwardedModules.addAll$1(0, forwarded);
78169 } else {
78170 t3 = _this._environment0$_nestedForwardedModules;
78171 if (t3 == null) {
78172 _length = t2 - 1;
78173 _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
78174 for (t2 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
78175 _list[_i] = A._setArrayType([], t2);
78176 _this._environment0$_nestedForwardedModules = _list;
78177 t2 = _list;
78178 } else
78179 t2 = t3;
78180 B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t2), forwarded.get$keys(forwarded));
78181 }
78182 for (t2 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = A._instanceType(t2)._precomputed1, t4 = _this._environment0$_variableIndices, t5 = _this._environment0$_variableNodes; t2.moveNext$0();) {
78183 t6 = t3._as(t2._collection$_current);
78184 t4.remove$1(0, t6);
78185 J.remove$1$z(B.JSArray_methods.get$last(t1), t6);
78186 J.remove$1$z(B.JSArray_methods.get$last(t5), t6);
78187 }
78188 for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._environment0$_functionIndices, t4 = _this._environment0$_functions; t1.moveNext$0();) {
78189 t5 = t2._as(t1._collection$_current);
78190 t3.remove$1(0, t5);
78191 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
78192 }
78193 for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = A._instanceType(t1)._precomputed1, t3 = _this._environment0$_mixinIndices, t4 = _this._environment0$_mixins; t1.moveNext$0();) {
78194 t5 = t2._as(t1._collection$_current);
78195 t3.remove$1(0, t5);
78196 J.remove$1$z(B.JSArray_methods.get$last(t4), t5);
78197 }
78198 },
78199 getVariable$2$namespace($name, namespace) {
78200 var t1, index, _this = this;
78201 if (namespace != null)
78202 return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
78203 if (_this._environment0$_lastVariableName === $name) {
78204 t1 = _this._environment0$_lastVariableIndex;
78205 t1.toString;
78206 t1 = J.$index$asx(_this._environment0$_variables[t1], $name);
78207 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78208 }
78209 t1 = _this._environment0$_variableIndices;
78210 index = t1.$index(0, $name);
78211 if (index != null) {
78212 _this._environment0$_lastVariableName = $name;
78213 _this._environment0$_lastVariableIndex = index;
78214 t1 = J.$index$asx(_this._environment0$_variables[index], $name);
78215 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78216 }
78217 index = _this._environment0$_variableIndex$1($name);
78218 if (index == null)
78219 return _this._environment0$_getVariableFromGlobalModule$1($name);
78220 _this._environment0$_lastVariableName = $name;
78221 _this._environment0$_lastVariableIndex = index;
78222 t1.$indexSet(0, $name, index);
78223 t1 = J.$index$asx(_this._environment0$_variables[index], $name);
78224 return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
78225 },
78226 getVariable$1($name) {
78227 return this.getVariable$2$namespace($name, null);
78228 },
78229 _environment0$_getVariableFromGlobalModule$1($name) {
78230 return this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
78231 },
78232 getVariableNode$2$namespace($name, namespace) {
78233 var t1, index, _this = this;
78234 if (namespace != null)
78235 return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
78236 if (_this._environment0$_lastVariableName === $name) {
78237 t1 = _this._environment0$_lastVariableIndex;
78238 t1.toString;
78239 t1 = J.$index$asx(_this._environment0$_variableNodes[t1], $name);
78240 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78241 }
78242 t1 = _this._environment0$_variableIndices;
78243 index = t1.$index(0, $name);
78244 if (index != null) {
78245 _this._environment0$_lastVariableName = $name;
78246 _this._environment0$_lastVariableIndex = index;
78247 t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
78248 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78249 }
78250 index = _this._environment0$_variableIndex$1($name);
78251 if (index == null)
78252 return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
78253 _this._environment0$_lastVariableName = $name;
78254 _this._environment0$_lastVariableIndex = index;
78255 t1.$indexSet(0, $name, index);
78256 t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
78257 return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
78258 },
78259 _environment0$_getVariableNodeFromGlobalModule$1($name) {
78260 var t1, t2, value;
78261 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();) {
78262 t1 = t2._currentIterator;
78263 value = t1.get$current(t1).get$variableNodes().$index(0, $name);
78264 if (value != null)
78265 return value;
78266 }
78267 return null;
78268 },
78269 globalVariableExists$2$namespace($name, namespace) {
78270 if (namespace != null)
78271 return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
78272 if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
78273 return true;
78274 return this._environment0$_getVariableFromGlobalModule$1($name) != null;
78275 },
78276 globalVariableExists$1($name) {
78277 return this.globalVariableExists$2$namespace($name, null);
78278 },
78279 _environment0$_variableIndex$1($name) {
78280 var t1, i;
78281 for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
78282 if (t1[i].containsKey$1($name))
78283 return i;
78284 return null;
78285 },
78286 setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
78287 var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
78288 if (namespace != null) {
78289 _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
78290 return;
78291 }
78292 if (global || _this._environment0$_variables.length === 1) {
78293 _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
78294 t1 = _this._environment0$_variables;
78295 if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
78296 moduleWithName = _this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure3($name), type$.Module_Callable_2);
78297 if (moduleWithName != null) {
78298 moduleWithName.setVariable$3($name, value, nodeWithSpan);
78299 return;
78300 }
78301 }
78302 J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
78303 J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
78304 return;
78305 }
78306 nestedForwardedModules = _this._environment0$_nestedForwardedModules;
78307 if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
78308 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();)
78309 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();) {
78310 t5 = t4._as(t3.__internal$_current);
78311 if (t5.get$variables().containsKey$1($name)) {
78312 t5.setVariable$3($name, value, nodeWithSpan);
78313 return;
78314 }
78315 }
78316 if (_this._environment0$_lastVariableName === $name) {
78317 t1 = _this._environment0$_lastVariableIndex;
78318 t1.toString;
78319 index = t1;
78320 } else
78321 index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
78322 if (!_this._environment0$_inSemiGlobalScope && index === 0) {
78323 index = _this._environment0$_variables.length - 1;
78324 _this._environment0$_variableIndices.$indexSet(0, $name, index);
78325 }
78326 _this._environment0$_lastVariableName = $name;
78327 _this._environment0$_lastVariableIndex = index;
78328 J.$indexSet$ax(_this._environment0$_variables[index], $name, value);
78329 J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
78330 },
78331 setVariable$4$global($name, value, nodeWithSpan, global) {
78332 return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
78333 },
78334 setLocalVariable$3($name, value, nodeWithSpan) {
78335 var index, _this = this,
78336 t1 = _this._environment0$_variables,
78337 t2 = t1.length;
78338 _this._environment0$_lastVariableName = $name;
78339 index = _this._environment0$_lastVariableIndex = t2 - 1;
78340 _this._environment0$_variableIndices.$indexSet(0, $name, index);
78341 J.$indexSet$ax(t1[index], $name, value);
78342 J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
78343 },
78344 getFunction$2$namespace($name, namespace) {
78345 var t1, index, _this = this;
78346 if (namespace != null) {
78347 t1 = _this._environment0$_getModule$1(namespace);
78348 return t1.get$functions(t1).$index(0, $name);
78349 }
78350 t1 = _this._environment0$_functionIndices;
78351 index = t1.$index(0, $name);
78352 if (index != null) {
78353 t1 = J.$index$asx(_this._environment0$_functions[index], $name);
78354 return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
78355 }
78356 index = _this._environment0$_functionIndex$1($name);
78357 if (index == null)
78358 return _this._environment0$_getFunctionFromGlobalModule$1($name);
78359 t1.$indexSet(0, $name, index);
78360 t1 = J.$index$asx(_this._environment0$_functions[index], $name);
78361 return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
78362 },
78363 _environment0$_getFunctionFromGlobalModule$1($name) {
78364 return this._environment0$_fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name), type$.Callable_2);
78365 },
78366 _environment0$_functionIndex$1($name) {
78367 var t1, i;
78368 for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
78369 if (t1[i].containsKey$1($name))
78370 return i;
78371 return null;
78372 },
78373 getMixin$2$namespace($name, namespace) {
78374 var t1, index, _this = this;
78375 if (namespace != null)
78376 return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
78377 t1 = _this._environment0$_mixinIndices;
78378 index = t1.$index(0, $name);
78379 if (index != null) {
78380 t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
78381 return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
78382 }
78383 index = _this._environment0$_mixinIndex$1($name);
78384 if (index == null)
78385 return _this._environment0$_getMixinFromGlobalModule$1($name);
78386 t1.$indexSet(0, $name, index);
78387 t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
78388 return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
78389 },
78390 _environment0$_getMixinFromGlobalModule$1($name) {
78391 return this._environment0$_fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name), type$.Callable_2);
78392 },
78393 _environment0$_mixinIndex$1($name) {
78394 var t1, i;
78395 for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
78396 if (t1[i].containsKey$1($name))
78397 return i;
78398 return null;
78399 },
78400 scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
78401 var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, _this = this;
78402 semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
78403 wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
78404 _this._environment0$_inSemiGlobalScope = semiGlobal;
78405 if (!when)
78406 try {
78407 t1 = callback.call$0();
78408 return t1;
78409 } finally {
78410 _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
78411 }
78412 t1 = _this._environment0$_variables;
78413 t2 = type$.String;
78414 B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
78415 B.JSArray_methods.add$1(_this._environment0$_variableNodes, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
78416 t3 = _this._environment0$_functions;
78417 t4 = type$.Callable_2;
78418 B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
78419 t5 = _this._environment0$_mixins;
78420 B.JSArray_methods.add$1(t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4));
78421 t4 = _this._environment0$_nestedForwardedModules;
78422 if (t4 != null)
78423 t4.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
78424 try {
78425 t2 = callback.call$0();
78426 return t2;
78427 } finally {
78428 _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
78429 _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
78430 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
78431 $name = t1.get$current(t1);
78432 t2.remove$1(0, $name);
78433 }
78434 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t3))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
78435 name0 = t1.get$current(t1);
78436 t2.remove$1(0, name0);
78437 }
78438 for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t5))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
78439 name1 = t1.get$current(t1);
78440 t2.remove$1(0, name1);
78441 }
78442 t1 = _this._environment0$_nestedForwardedModules;
78443 if (t1 != null)
78444 t1.pop();
78445 }
78446 },
78447 scope$1$1(callback, $T) {
78448 return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
78449 },
78450 scope$1$2$when(callback, when, $T) {
78451 return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
78452 },
78453 scope$1$2$semiGlobal(callback, semiGlobal, $T) {
78454 return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
78455 },
78456 toImplicitConfiguration$0() {
78457 var t1, t2, i, values, nodes, t3, t4, t5, t6,
78458 configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
78459 for (t1 = this._environment0$_variables, t2 = this._environment0$_variableNodes, i = 0; i < t1.length; ++i) {
78460 values = t1[i];
78461 nodes = t2[i];
78462 for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
78463 t4 = t3.get$current(t3);
78464 t5 = t4.key;
78465 t4 = t4.value;
78466 t6 = nodes.$index(0, t5);
78467 t6.toString;
78468 configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
78469 }
78470 }
78471 return new A.Configuration0(configuration);
78472 },
78473 toModule$2(css, extensionStore) {
78474 return A._EnvironmentModule__EnvironmentModule1(this, css, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
78475 },
78476 toDummyModule$0() {
78477 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()));
78478 },
78479 _environment0$_getModule$1(namespace) {
78480 var module = this._environment0$_modules.$index(0, namespace);
78481 if (module != null)
78482 return module;
78483 throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".'));
78484 },
78485 _environment0$_fromOneModule$1$3($name, type, callback, $T) {
78486 var t1, t2, t3, t4, value, identity, valueInModule, identityFromModule, spans, t5,
78487 nestedForwardedModules = this._environment0$_nestedForwardedModules;
78488 if (nestedForwardedModules != null)
78489 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();)
78490 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();) {
78491 value = callback.call$1(t4._as(t3.__internal$_current));
78492 if (value != null)
78493 return value;
78494 }
78495 for (t1 = this._environment0$_importedModules, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
78496 value = callback.call$1(t1.get$current(t1));
78497 if (value != null)
78498 return value;
78499 }
78500 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();) {
78501 t4 = t2.get$current(t2);
78502 valueInModule = callback.call$1(t4);
78503 if (valueInModule == null)
78504 continue;
78505 identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
78506 if (identityFromModule.$eq(0, identity))
78507 continue;
78508 if (value != null) {
78509 spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
78510 t2 = "This " + type + string$.x20is_av;
78511 t3 = type + " use";
78512 t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78513 for (t1 = spans.get$iterator(spans); t1.moveNext$0();) {
78514 t5 = t1.get$current(t1);
78515 if (t5 != null)
78516 t4.$indexSet(0, t5, "includes " + type);
78517 }
78518 throw A.wrapException(A.MultiSpanSassScriptException$0(t2, t3, t4));
78519 }
78520 identity = identityFromModule;
78521 value = valueInModule;
78522 }
78523 return value;
78524 }
78525 };
78526 A.Environment_importForwards_closure2.prototype = {
78527 call$1(module) {
78528 var t1 = module.get$variables();
78529 return t1.get$keys(t1);
78530 },
78531 $signature: 115
78532 };
78533 A.Environment_importForwards_closure3.prototype = {
78534 call$1(module) {
78535 var t1 = module.get$functions(module);
78536 return t1.get$keys(t1);
78537 },
78538 $signature: 115
78539 };
78540 A.Environment_importForwards_closure4.prototype = {
78541 call$1(module) {
78542 var t1 = module.get$mixins();
78543 return t1.get$keys(t1);
78544 },
78545 $signature: 115
78546 };
78547 A.Environment__getVariableFromGlobalModule_closure0.prototype = {
78548 call$1(module) {
78549 return module.get$variables().$index(0, this.name);
78550 },
78551 $signature: 391
78552 };
78553 A.Environment_setVariable_closure2.prototype = {
78554 call$0() {
78555 var t1 = this.$this;
78556 t1._environment0$_lastVariableName = this.name;
78557 return t1._environment0$_lastVariableIndex = 0;
78558 },
78559 $signature: 12
78560 };
78561 A.Environment_setVariable_closure3.prototype = {
78562 call$1(module) {
78563 return module.get$variables().containsKey$1(this.name) ? module : null;
78564 },
78565 $signature: 392
78566 };
78567 A.Environment_setVariable_closure4.prototype = {
78568 call$0() {
78569 var t1 = this.$this,
78570 t2 = t1._environment0$_variableIndex$1(this.name);
78571 return t2 == null ? t1._environment0$_variables.length - 1 : t2;
78572 },
78573 $signature: 12
78574 };
78575 A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
78576 call$1(module) {
78577 return module.get$functions(module).$index(0, this.name);
78578 },
78579 $signature: 209
78580 };
78581 A.Environment__getMixinFromGlobalModule_closure0.prototype = {
78582 call$1(module) {
78583 return module.get$mixins().$index(0, this.name);
78584 },
78585 $signature: 209
78586 };
78587 A.Environment_toModule_closure0.prototype = {
78588 call$1(modules) {
78589 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
78590 },
78591 $signature: 210
78592 };
78593 A.Environment_toDummyModule_closure0.prototype = {
78594 call$1(modules) {
78595 return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
78596 },
78597 $signature: 210
78598 };
78599 A.Environment__fromOneModule_closure0.prototype = {
78600 call$1(entry) {
78601 return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure0(entry, this.T));
78602 },
78603 $signature: 395
78604 };
78605 A.Environment__fromOneModule__closure0.prototype = {
78606 call$1(_) {
78607 return J.get$span$z(this.entry.value);
78608 },
78609 $signature() {
78610 return this.T._eval$1("FileSpan(0)");
78611 }
78612 };
78613 A._EnvironmentModule1.prototype = {
78614 get$url(_) {
78615 var t1 = this.css;
78616 return t1.get$span(t1).file.url;
78617 },
78618 setVariable$3($name, value, nodeWithSpan) {
78619 var t1, t2,
78620 module = this._environment0$_modulesByVariable.$index(0, $name);
78621 if (module != null) {
78622 module.setVariable$3($name, value, nodeWithSpan);
78623 return;
78624 }
78625 t1 = this._environment0$_environment;
78626 t2 = t1._environment0$_variables;
78627 if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
78628 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
78629 J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
78630 J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
78631 return;
78632 },
78633 variableIdentity$1($name) {
78634 var module = this._environment0$_modulesByVariable.$index(0, $name);
78635 return module == null ? this : module.variableIdentity$1($name);
78636 },
78637 cloneCss$0() {
78638 var newCssAndExtensionStore, _this = this,
78639 t1 = _this.css;
78640 if (J.get$isEmpty$asx(t1.get$children(t1)))
78641 return _this;
78642 newCssAndExtensionStore = A.cloneCssStylesheet0(t1, _this.extensionStore);
78643 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);
78644 },
78645 toString$0(_) {
78646 var t1 = this.css;
78647 if (t1.get$span(t1).file.url == null)
78648 t1 = "<unknown url>";
78649 else {
78650 t1 = t1.get$span(t1);
78651 t1 = $.$get$context().prettyUri$1(t1.file.url);
78652 }
78653 return t1;
78654 },
78655 $isModule0: 1,
78656 get$upstream() {
78657 return this.upstream;
78658 },
78659 get$variables() {
78660 return this.variables;
78661 },
78662 get$variableNodes() {
78663 return this.variableNodes;
78664 },
78665 get$functions(receiver) {
78666 return this.functions;
78667 },
78668 get$mixins() {
78669 return this.mixins;
78670 },
78671 get$extensionStore() {
78672 return this.extensionStore;
78673 },
78674 get$css(receiver) {
78675 return this.css;
78676 },
78677 get$transitivelyContainsCss() {
78678 return this.transitivelyContainsCss;
78679 },
78680 get$transitivelyContainsExtensions() {
78681 return this.transitivelyContainsExtensions;
78682 }
78683 };
78684 A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
78685 call$1(module) {
78686 return module.get$variables();
78687 },
78688 $signature: 396
78689 };
78690 A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
78691 call$1(module) {
78692 return module.get$variableNodes();
78693 },
78694 $signature: 397
78695 };
78696 A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
78697 call$1(module) {
78698 return module.get$functions(module);
78699 },
78700 $signature: 211
78701 };
78702 A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
78703 call$1(module) {
78704 return module.get$mixins();
78705 },
78706 $signature: 211
78707 };
78708 A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
78709 call$1(module) {
78710 return module.get$transitivelyContainsCss();
78711 },
78712 $signature: 114
78713 };
78714 A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
78715 call$1(module) {
78716 return module.get$transitivelyContainsExtensions();
78717 },
78718 $signature: 114
78719 };
78720 A.ErrorRule0.prototype = {
78721 accept$1$1(visitor) {
78722 return visitor.visitErrorRule$1(this);
78723 },
78724 accept$1(visitor) {
78725 return this.accept$1$1(visitor, type$.dynamic);
78726 },
78727 toString$0(_) {
78728 return "@error " + this.expression.toString$0(0) + ";";
78729 },
78730 $isAstNode0: 1,
78731 $isStatement0: 1,
78732 get$span(receiver) {
78733 return this.span;
78734 }
78735 };
78736 A._EvaluateVisitor1.prototype = {
78737 _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
78738 var t2, metaModule, t3, _i, module, $function, t4, _this = this,
78739 _s20_ = "$name, $module: null",
78740 _s9_ = "sass:meta",
78741 t1 = type$.JSArray_BuiltInCallable_2,
78742 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),
78743 metaMixins = A._setArrayType([A.BuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure28(_this), _s9_)], t1);
78744 t1 = type$.BuiltInCallable_2;
78745 t2 = A.List_List$of($.$get$global6(), true, t1);
78746 B.JSArray_methods.addAll$1(t2, $.$get$local0());
78747 B.JSArray_methods.addAll$1(t2, metaFunctions);
78748 metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
78749 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) {
78750 module = t1[_i];
78751 t3.$indexSet(0, module.url, module);
78752 }
78753 t1 = A._setArrayType([], type$.JSArray_Callable_2);
78754 B.JSArray_methods.addAll$1(t1, functions);
78755 B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
78756 B.JSArray_methods.addAll$1(t1, metaFunctions);
78757 for (t2 = t1.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
78758 $function = t1[_i];
78759 t4 = J.get$name$x($function);
78760 t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
78761 }
78762 },
78763 run$2(_, importer, node) {
78764 var t1 = type$.nullable_Object;
78765 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);
78766 },
78767 _evaluate0$_assertInModule$1$2(value, $name) {
78768 if (value != null)
78769 return value;
78770 throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
78771 },
78772 _evaluate0$_assertInModule$2(value, $name) {
78773 return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
78774 },
78775 _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
78776 var t1, t2, _this = this,
78777 builtInModule = _this._evaluate0$_builtInModules.$index(0, url);
78778 if (builtInModule != null) {
78779 if (configuration instanceof A.ExplicitConfiguration0) {
78780 t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
78781 t2 = configuration.nodeWithSpan;
78782 throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
78783 }
78784 _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(callback, builtInModule));
78785 return;
78786 }
78787 _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
78788 },
78789 _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
78790 return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
78791 },
78792 _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
78793 return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
78794 },
78795 _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
78796 var currentConfiguration, message, t2, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
78797 url = stylesheet.span.file.url,
78798 t1 = _this._evaluate0$_modules,
78799 alreadyLoaded = t1.$index(0, url);
78800 if (alreadyLoaded != null) {
78801 t1 = configuration == null;
78802 currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
78803 if (currentConfiguration instanceof A.ExplicitConfiguration0) {
78804 message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
78805 t2 = _this._evaluate0$_moduleNodes.$index(0, url);
78806 existingSpan = t2 == null ? null : J.get$span$z(t2);
78807 if (t1) {
78808 t1 = currentConfiguration.nodeWithSpan;
78809 configurationSpan = t1.get$span(t1);
78810 } else
78811 configurationSpan = null;
78812 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
78813 if (existingSpan != null)
78814 t1.$indexSet(0, existingSpan, "original load");
78815 if (configurationSpan != null)
78816 t1.$indexSet(0, configurationSpan, "configuration");
78817 throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
78818 }
78819 return alreadyLoaded;
78820 }
78821 environment = A.Environment$0();
78822 css = A._Cell$();
78823 extensionStore = A.ExtensionStore$0();
78824 _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css));
78825 module = environment.toModule$2(css._readLocal$0(), extensionStore);
78826 if (url != null) {
78827 t1.$indexSet(0, url, module);
78828 if (nodeWithSpan != null)
78829 _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
78830 }
78831 return module;
78832 },
78833 _evaluate0$_execute$2(importer, stylesheet) {
78834 return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
78835 },
78836 _evaluate0$_addOutOfOrderImports$0() {
78837 var t1, t2, _this = this, _s5_ = "_root",
78838 _s13_ = "_endOfImports",
78839 outOfOrderImports = _this._evaluate0$_outOfOrderImports;
78840 if (outOfOrderImports == null)
78841 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
78842 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
78843 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);
78844 B.JSArray_methods.addAll$1(t1, outOfOrderImports);
78845 t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
78846 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
78847 return t1;
78848 },
78849 _evaluate0$_combineCss$2$clone(root, clone) {
78850 var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
78851 if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
78852 selectors = root.get$extensionStore().get$simpleSelectors();
78853 unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
78854 if (unsatisfiedExtension != null)
78855 _this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
78856 return root.get$css(root);
78857 }
78858 sortedModules = _this._evaluate0$_topologicalModules$1(root);
78859 if (clone) {
78860 t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<Callable0>>");
78861 sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure7(), t1), true, t1._eval$1("ListIterable.E"));
78862 }
78863 _this._evaluate0$_extendModules$1(sortedModules);
78864 t1 = type$.JSArray_CssNode_2;
78865 imports = A._setArrayType([], t1);
78866 css = A._setArrayType([], t1);
78867 for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
78868 t3 = t2._as(t1.__internal$_current);
78869 t3 = t3.get$css(t3);
78870 statements = t3.get$children(t3);
78871 index = _this._evaluate0$_indexAfterImports$1(statements);
78872 t3 = J.getInterceptor$ax(statements);
78873 B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
78874 B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
78875 }
78876 t1 = B.JSArray_methods.$add(imports, css);
78877 t2 = root.get$css(root);
78878 return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
78879 },
78880 _evaluate0$_combineCss$1(root) {
78881 return this._evaluate0$_combineCss$2$clone(root, false);
78882 },
78883 _evaluate0$_extendModules$1(sortedModules) {
78884 var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
78885 downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
78886 unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
78887 for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
78888 t2 = t1.get$current(t1);
78889 originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
78890 unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
78891 $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
78892 t3 = t2.get$extensionStore().get$addExtensions();
78893 if ($self != null)
78894 t3.call$1($self);
78895 t3 = t2.get$extensionStore();
78896 if (t3.get$isEmpty(t3))
78897 continue;
78898 for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
78899 upstream = t3[_i];
78900 url = upstream.get$url(upstream);
78901 if (url == null)
78902 continue;
78903 J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure4()), t2.get$extensionStore());
78904 }
78905 unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
78906 }
78907 if (unsatisfiedExtensions._collection$_length !== 0)
78908 this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
78909 },
78910 _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
78911 throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
78912 },
78913 _evaluate0$_topologicalModules$1(root) {
78914 var t1 = type$.Module_Callable_2,
78915 sorted = A.QueueList$(null, t1);
78916 new A._EvaluateVisitor__topologicalModules_visitModule1(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
78917 return sorted;
78918 },
78919 _evaluate0$_indexAfterImports$1(statements) {
78920 var t1, t2, t3, lastImport, i, statement;
78921 for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
78922 statement = t1.$index(statements, i);
78923 if (t3._is(statement))
78924 lastImport = i;
78925 else if (!t2._is(statement))
78926 break;
78927 }
78928 return lastImport + 1;
78929 },
78930 visitStylesheet$1(node) {
78931 var t1, t2, _i;
78932 for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
78933 t1[_i].accept$1(this);
78934 return null;
78935 },
78936 visitAtRootRule$1(node) {
78937 var t1, grandparent, root, innerCopy, t2, outerCopy, copy, _this = this,
78938 _s8_ = "__parent",
78939 unparsedQuery = node.query,
78940 query = unparsedQuery != null ? _this._evaluate0$_adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure5(_this, _this._evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS0,
78941 $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
78942 included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
78943 for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
78944 if (!query.excludes$1($parent))
78945 included.push($parent);
78946 grandparent = $parent._node1$_parent;
78947 if (grandparent == null)
78948 throw A.wrapException(A.StateError$(string$.CssNod));
78949 }
78950 root = _this._evaluate0$_trimIncluded$1(included);
78951 if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
78952 _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure6(_this, node), node.hasDeclarations, type$.Null);
78953 return null;
78954 }
78955 if (included.length !== 0) {
78956 innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
78957 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) {
78958 copy = t2._as(t1.__internal$_current).copyWithoutChildren$0();
78959 copy.addChild$1(outerCopy);
78960 }
78961 root.addChild$1(outerCopy);
78962 } else
78963 innerCopy = root;
78964 _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure7(_this, node));
78965 return null;
78966 },
78967 _evaluate0$_trimIncluded$1(nodes) {
78968 var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
78969 _s22_ = " to be an ancestor of ";
78970 if (nodes.length === 0)
78971 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
78972 $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
78973 for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
78974 for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
78975 grandparent = $parent._node1$_parent;
78976 if (grandparent == null)
78977 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
78978 }
78979 if (innermostContiguous == null)
78980 innermostContiguous = i;
78981 grandparent = $parent._node1$_parent;
78982 if (grandparent == null)
78983 throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
78984 }
78985 if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
78986 return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
78987 innermostContiguous.toString;
78988 root = nodes[innermostContiguous];
78989 B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
78990 return root;
78991 },
78992 _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
78993 var _this = this,
78994 scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
78995 t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
78996 if (t1 !== query.include)
78997 scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
78998 if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
78999 scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
79000 if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
79001 scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
79002 return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
79003 },
79004 visitContentBlock$1(node) {
79005 return A.throwExpression(A.UnsupportedError$(string$.Evalua));
79006 },
79007 visitContentRule$1(node) {
79008 var $content = this._evaluate0$_environment._environment0$_content;
79009 if ($content == null)
79010 return null;
79011 this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
79012 return null;
79013 },
79014 visitDebugRule$1(node) {
79015 var value = node.expression.accept$1(this),
79016 t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
79017 this._evaluate0$_logger.debug$2(0, t1, node.span);
79018 return null;
79019 },
79020 visitDeclaration$1(node) {
79021 var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
79022 if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
79023 throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
79024 t1 = node.name;
79025 $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
79026 t2 = _this._evaluate0$_declarationName;
79027 if (t2 != null)
79028 $name = new A.CssValue0(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
79029 t2 = node.value;
79030 cssValue = A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure3(_this));
79031 t3 = cssValue != null;
79032 if (t3)
79033 t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
79034 else
79035 t4 = false;
79036 if (t4) {
79037 t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
79038 t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
79039 if (_this._evaluate0$_sourceMap) {
79040 t2 = A.NullableExtension_andThen0(t2, _this.get$_evaluate0$_expressionNode());
79041 t2 = t2 == null ? _null : J.get$span$z(t2);
79042 } else
79043 t2 = _null;
79044 t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
79045 } else if (J.startsWith$1$s($name.value, "--") && t3)
79046 throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
79047 children = node.children;
79048 if (children != null) {
79049 oldDeclarationName = _this._evaluate0$_declarationName;
79050 _this._evaluate0$_declarationName = $name.value;
79051 _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure4(_this, children), node.hasDeclarations, type$.Null);
79052 _this._evaluate0$_declarationName = oldDeclarationName;
79053 }
79054 return _null;
79055 },
79056 visitEachRule$1(node) {
79057 var _this = this,
79058 t1 = node.list,
79059 list = t1.accept$1(_this),
79060 nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
79061 setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure5(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure6(_this, node, nodeWithSpan);
79062 return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, setVariables, node), true, type$.nullable_Value_2);
79063 },
79064 _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
79065 var i,
79066 list = value.get$asList(),
79067 t1 = variables.length,
79068 minLength = Math.min(t1, list.length);
79069 for (i = 0; i < minLength; ++i)
79070 this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
79071 for (i = minLength; i < t1; ++i)
79072 this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
79073 },
79074 visitErrorRule$1(node) {
79075 throw A.wrapException(this._evaluate0$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
79076 },
79077 visitExtendRule$1(node) {
79078 var targetText, t1, t2, t3, _i, t4, _this = this,
79079 styleRule = _this._evaluate0$_atRootExcludingStyleRule ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
79080 if (styleRule == null || _this._evaluate0$_declarationName != null)
79081 throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
79082 targetText = _this._evaluate0$_interpolationToValue$2$warnForColor(node.selector, true);
79083 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) {
79084 t4 = t1[_i].components;
79085 if (t4.length !== 1 || !(B.JSArray_methods.get$first(t4) instanceof A.CompoundSelector0))
79086 throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.span));
79087 t4 = t3._as(B.JSArray_methods.get$first(t4)).components;
79088 if (t4.length !== 1)
79089 throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
79090 _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(styleRule.selector, B.JSArray_methods.get$first(t4), node, _this._evaluate0$_mediaQueries);
79091 }
79092 return null;
79093 },
79094 visitAtRule$1(node) {
79095 var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
79096 if (_this._evaluate0$_declarationName != null)
79097 throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
79098 $name = _this._evaluate0$_interpolationToValue$1(node.name);
79099 value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
79100 children = node.children;
79101 if (children == null) {
79102 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
79103 return null;
79104 }
79105 wasInKeyframes = _this._evaluate0$_inKeyframes;
79106 wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
79107 if (A.unvendor0($name.value) === "keyframes")
79108 _this._evaluate0$_inKeyframes = true;
79109 else
79110 _this._evaluate0$_inUnknownAtRule = true;
79111 _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);
79112 _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
79113 _this._evaluate0$_inKeyframes = wasInKeyframes;
79114 return null;
79115 },
79116 visitForRule$1(node) {
79117 var _this = this, t1 = {},
79118 t2 = node.from,
79119 fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
79120 t3 = node.to,
79121 toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
79122 from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
79123 to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
79124 direction = from > to ? -1 : 1;
79125 if (from === (!node.isExclusive ? t1.to = to + direction : to))
79126 return null;
79127 return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
79128 },
79129 visitForwardRule$1(node) {
79130 var newConfiguration, t4, _i, variable, $name, _this = this,
79131 _s8_ = "@forward",
79132 oldConfiguration = _this._evaluate0$_configuration,
79133 adjustedConfiguration = oldConfiguration.throughForward$1(node),
79134 t1 = node.configuration,
79135 t2 = t1.length,
79136 t3 = node.url;
79137 if (t2 !== 0) {
79138 newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
79139 _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
79140 t3 = type$.String;
79141 t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
79142 for (_i = 0; _i < t2; ++_i) {
79143 variable = t1[_i];
79144 if (!variable.isGuarded)
79145 t4.add$1(0, variable.name);
79146 }
79147 _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
79148 t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
79149 for (_i = 0; _i < t2; ++_i)
79150 t3.add$1(0, t1[_i].name);
79151 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) {
79152 $name = t2[_i];
79153 if (!t3.contains$1(0, $name))
79154 if (!t1.get$isEmpty(t1))
79155 t1.remove$1(0, $name);
79156 }
79157 _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
79158 } else {
79159 _this._evaluate0$_configuration = adjustedConfiguration;
79160 _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
79161 _this._evaluate0$_configuration = oldConfiguration;
79162 }
79163 return null;
79164 },
79165 _evaluate0$_addForwardConfiguration$2(configuration, node) {
79166 var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
79167 t1 = configuration._configuration$_values,
79168 newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
79169 for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
79170 variable = t2[_i];
79171 if (variable.isGuarded) {
79172 t4 = variable.name;
79173 t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
79174 if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
79175 newValues.$indexSet(0, t4, t5);
79176 continue;
79177 }
79178 }
79179 t4 = variable.expression;
79180 variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
79181 newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
79182 }
79183 if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
79184 return new A.ExplicitConfiguration0(node, newValues);
79185 else
79186 return new A.Configuration0(newValues);
79187 },
79188 _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
79189 var t1, t2, t3, t4, _i, $name;
79190 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) {
79191 $name = t2[_i];
79192 if (except.contains$1(0, $name))
79193 continue;
79194 if (!t4.containsKey$1($name))
79195 if (!t1.get$isEmpty(t1))
79196 t1.remove$1(0, $name);
79197 }
79198 },
79199 _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
79200 var t1, entry;
79201 if (!(configuration instanceof A.ExplicitConfiguration0))
79202 return;
79203 t1 = configuration._configuration$_values;
79204 if (t1.get$isEmpty(t1))
79205 return;
79206 t1 = t1.get$entries(t1);
79207 entry = t1.get$first(t1);
79208 t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
79209 throw A.wrapException(this._evaluate0$_exception$2(t1, entry.value.configurationSpan));
79210 },
79211 _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
79212 return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
79213 },
79214 visitFunctionRule$1(node) {
79215 var t1 = this._evaluate0$_environment,
79216 t2 = t1.closure$0(),
79217 t3 = t1._environment0$_functions,
79218 index = t3.length - 1,
79219 t4 = node.name;
79220 t1._environment0$_functionIndices.$indexSet(0, t4, index);
79221 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable0(node, t2, type$.UserDefinedCallable_Environment_2));
79222 return null;
79223 },
79224 visitIfRule$1(node) {
79225 var t1, t2, _i, clauseToCheck, _box_0 = {};
79226 _box_0.clause = node.lastClause;
79227 for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
79228 clauseToCheck = t1[_i];
79229 if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
79230 _box_0.clause = clauseToCheck;
79231 break;
79232 }
79233 }
79234 t1 = _box_0.clause;
79235 if (t1 == null)
79236 return null;
79237 return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure1(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value_2);
79238 },
79239 visitImportRule$1(node) {
79240 var t1, t2, t3, _i, $import;
79241 for (t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0; _i < t2; ++_i) {
79242 $import = t1[_i];
79243 if ($import instanceof A.DynamicImport0)
79244 this._evaluate0$_visitDynamicImport$1($import);
79245 else
79246 this._evaluate0$_visitStaticImport$1(t3._as($import));
79247 }
79248 return null;
79249 },
79250 _evaluate0$_visitDynamicImport$1($import) {
79251 return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
79252 },
79253 _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
79254 var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this;
79255 baseUrl = baseUrl;
79256 try {
79257 _this._evaluate0$_importSpan = span;
79258 importCache = _this._evaluate0$_importCache;
79259 if (importCache != null) {
79260 if (baseUrl == null)
79261 baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").span.file.url;
79262 tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
79263 if (tuple != null) {
79264 isDependency = _this._evaluate0$_inDependency || tuple.item1 !== _this._evaluate0$_importer;
79265 t1 = tuple.item1;
79266 t2 = tuple.item2;
79267 t3 = tuple.item3;
79268 t4 = _this._evaluate0$_quietDeps && isDependency;
79269 stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
79270 if (stylesheet != null) {
79271 _this._evaluate0$_loadedUrls.add$1(0, tuple.item2);
79272 t1 = tuple.item1;
79273 return new A._LoadedStylesheet1(stylesheet, t1, isDependency);
79274 }
79275 }
79276 } else {
79277 result = _this._evaluate0$_importLikeNode$2(url, forImport);
79278 if (result != null) {
79279 t1 = _this._evaluate0$_loadedUrls;
79280 A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
79281 return result;
79282 }
79283 }
79284 if (B.JSString_methods.startsWith$1(url, "package:") && true)
79285 throw A.wrapException(string$.x22packa);
79286 else
79287 throw A.wrapException("Can't find stylesheet to import.");
79288 } catch (exception) {
79289 t1 = A.unwrapException(exception);
79290 if (t1 instanceof A.SassException0) {
79291 error = t1;
79292 stackTrace = A.getTraceFromException(exception);
79293 t1 = error;
79294 t2 = J.getInterceptor$z(t1);
79295 A.throwWithTrace0(_this._evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
79296 } else {
79297 error0 = t1;
79298 stackTrace0 = A.getTraceFromException(exception);
79299 message = null;
79300 try {
79301 message = A._asString(J.get$message$x(error0));
79302 } catch (exception) {
79303 message0 = J.toString$0$(error0);
79304 message = message0;
79305 }
79306 A.throwWithTrace0(_this._evaluate0$_exception$1(message), stackTrace0);
79307 }
79308 } finally {
79309 _this._evaluate0$_importSpan = null;
79310 }
79311 },
79312 _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
79313 return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
79314 },
79315 _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
79316 return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
79317 },
79318 _evaluate0$_importLikeNode$2(originalUrl, forImport) {
79319 var result, isDependency, url, t2, _this = this,
79320 _s11_ = "_stylesheet",
79321 t1 = _this._evaluate0$_nodeImporter;
79322 t1.toString;
79323 result = t1.loadRelative$3(originalUrl, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url, forImport);
79324 if (result != null)
79325 isDependency = _this._evaluate0$_inDependency;
79326 else {
79327 result = t1.load$3(0, originalUrl, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url, forImport);
79328 if (result == null)
79329 return null;
79330 isDependency = true;
79331 }
79332 url = result.item2;
79333 t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS0;
79334 t2 = _this._evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : _this._evaluate0$_logger;
79335 return new A._LoadedStylesheet1(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
79336 },
79337 _evaluate0$_visitStaticImport$1($import) {
79338 var t1, _this = this,
79339 _s8_ = "__parent",
79340 _s5_ = "_root",
79341 _s13_ = "_endOfImports",
79342 url = _this._evaluate0$_interpolationToValue$1($import.url),
79343 supports = A.NullableExtension_andThen0($import.supports, new A._EvaluateVisitor__visitStaticImport_closure1(_this)),
79344 node = A.ModifiableCssImport$0(url, $import.span, A.NullableExtension_andThen0($import.media, _this.get$_evaluate0$_visitMediaQueries()), supports);
79345 if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
79346 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
79347 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)) {
79348 _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(node);
79349 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
79350 } else {
79351 t1 = _this._evaluate0$_outOfOrderImports;
79352 (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
79353 }
79354 },
79355 visitIncludeRule$1(node) {
79356 var nodeWithSpan, t1, _this = this,
79357 _s37_ = "Mixin doesn't accept a content block.",
79358 mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure7(_this, node));
79359 if (mixin == null)
79360 throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", node.span));
79361 nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure8(node));
79362 if (mixin instanceof A.BuiltInCallable0) {
79363 if (node.content != null)
79364 throw A.wrapException(_this._evaluate0$_exception$2(_s37_, node.span));
79365 _this._evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
79366 } else if (type$.UserDefinedCallable_Environment_2._is(mixin)) {
79367 t1 = node.content;
79368 if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
79369 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())));
79370 _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);
79371 } else
79372 throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
79373 return null;
79374 },
79375 visitMixinRule$1(node) {
79376 var t1 = this._evaluate0$_environment,
79377 t2 = t1.closure$0(),
79378 t3 = t1._environment0$_mixins,
79379 index = t3.length - 1,
79380 t4 = node.name;
79381 t1._environment0$_mixinIndices.$indexSet(0, t4, index);
79382 J.$indexSet$ax(t3[index], t4, new A.UserDefinedCallable0(node, t2, type$.UserDefinedCallable_Environment_2));
79383 return null;
79384 },
79385 visitLoudComment$1(node) {
79386 var t1, _this = this,
79387 _s8_ = "__parent",
79388 _s13_ = "_endOfImports";
79389 if (_this._evaluate0$_inFunction)
79390 return null;
79391 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))
79392 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
79393 t1 = node.text;
79394 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(_this._evaluate0$_performInterpolation$1(t1), t1.span));
79395 return null;
79396 },
79397 visitMediaRule$1(node) {
79398 var queries, mergedQueries, t1, _this = this;
79399 if (_this._evaluate0$_declarationName != null)
79400 throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
79401 queries = _this._evaluate0$_visitMediaQueries$1(node.query);
79402 mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
79403 t1 = mergedQueries == null;
79404 if (!t1 && J.get$isEmpty$asx(mergedQueries))
79405 return null;
79406 t1 = t1 ? queries : mergedQueries;
79407 _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);
79408 return null;
79409 },
79410 _evaluate0$_visitMediaQueries$1(interpolation) {
79411 return this._evaluate0$_adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure1(this, this._evaluate0$_performInterpolation$2$warnForColor(interpolation, true)));
79412 },
79413 _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
79414 var t1, t2, t3, t4, t5, result,
79415 queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
79416 for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
79417 t4 = t1.get$current(t1);
79418 for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
79419 result = t4.merge$1(t5.get$current(t5));
79420 if (result === B._SingletonCssMediaQueryMergeResult_empty0)
79421 continue;
79422 if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
79423 return null;
79424 queries.push(t3._as(result).query);
79425 }
79426 }
79427 return queries;
79428 },
79429 visitReturnRule$1(node) {
79430 var t1 = node.expression;
79431 return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
79432 },
79433 visitSilentComment$1(node) {
79434 return null;
79435 },
79436 visitStyleRule$1(node) {
79437 var t2, selectorText, rule, oldAtRootExcludingStyleRule, _this = this,
79438 _s8_ = "__parent",
79439 t1 = {};
79440 if (_this._evaluate0$_declarationName != null)
79441 throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
79442 t2 = node.selector;
79443 selectorText = _this._evaluate0$_interpolationToValue$3$trim$warnForColor(t2, true, true);
79444 if (_this._evaluate0$_inKeyframes) {
79445 _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);
79446 return null;
79447 }
79448 t1.parsedSelector = _this._evaluate0$_adjustParseError$2(t2, new A._EvaluateVisitor_visitStyleRule_closure16(_this, selectorText));
79449 t1.parsedSelector = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitStyleRule_closure17(t1, _this));
79450 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);
79451 oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
79452 t1 = _this._evaluate0$_atRootExcludingStyleRule = false;
79453 _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);
79454 _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
79455 if ((oldAtRootExcludingStyleRule ? null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
79456 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
79457 t1 = !t1.get$isEmpty(t1);
79458 }
79459 if (t1) {
79460 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
79461 t1.get$last(t1).isGroupEnd = true;
79462 }
79463 return null;
79464 },
79465 visitSupportsRule$1(node) {
79466 var t1, _this = this;
79467 if (_this._evaluate0$_declarationName != null)
79468 throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
79469 t1 = node.condition;
79470 _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);
79471 return null;
79472 },
79473 _evaluate0$_visitSupportsCondition$1(condition) {
79474 var t1, t2, _this = this;
79475 if (condition instanceof A.SupportsOperation0) {
79476 t1 = condition.operator;
79477 return _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
79478 } else if (condition instanceof A.SupportsNegation0)
79479 return "not " + _this._evaluate0$_parenthesize$1(condition.condition);
79480 else if (condition instanceof A.SupportsInterpolation0) {
79481 t1 = condition.expression;
79482 return _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
79483 } else if (condition instanceof A.SupportsDeclaration0) {
79484 t1 = condition.name;
79485 t1 = "(" + _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, true) + ":";
79486 t2 = condition.value;
79487 return t1 + (condition.get$isCustomProperty() ? "" : " ") + _this._evaluate0$_serialize$3$quote(t2.accept$1(_this), t2, true) + ")";
79488 } else if (condition instanceof A.SupportsFunction0)
79489 return _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
79490 else if (condition instanceof A.SupportsAnything0)
79491 return "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
79492 else
79493 throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
79494 },
79495 _evaluate0$_parenthesize$2(condition, operator) {
79496 var t1;
79497 if (!(condition instanceof A.SupportsNegation0))
79498 if (condition instanceof A.SupportsOperation0)
79499 t1 = operator == null || operator !== condition.operator;
79500 else
79501 t1 = false;
79502 else
79503 t1 = true;
79504 if (t1)
79505 return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
79506 else
79507 return this._evaluate0$_visitSupportsCondition$1(condition);
79508 },
79509 _evaluate0$_parenthesize$1(condition) {
79510 return this._evaluate0$_parenthesize$2(condition, null);
79511 },
79512 visitVariableDeclaration$1(node) {
79513 var t1, value, _this = this, _null = null;
79514 if (node.isGuarded) {
79515 if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
79516 t1 = _this._evaluate0$_configuration._configuration$_values;
79517 t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
79518 if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
79519 _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(_this, node, t1));
79520 return _null;
79521 }
79522 }
79523 value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
79524 if (value != null && !value.$eq(0, B.C__SassNull0))
79525 return _null;
79526 }
79527 if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
79528 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.";
79529 _this._evaluate0$_warn$3$deprecation(t1, node.span, true);
79530 }
79531 t1 = node.expression;
79532 _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
79533 return _null;
79534 },
79535 visitUseRule$1(node) {
79536 var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
79537 t1 = node.configuration,
79538 t2 = t1.length;
79539 if (t2 !== 0) {
79540 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
79541 for (_i = 0; _i < t2; ++_i) {
79542 variable = t1[_i];
79543 t3 = variable.expression;
79544 variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
79545 values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
79546 }
79547 configuration = new A.ExplicitConfiguration0(node, values);
79548 } else
79549 configuration = B.Configuration_Map_empty0;
79550 _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
79551 _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
79552 return null;
79553 },
79554 visitWarnRule$1(node) {
79555 var _this = this,
79556 value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
79557 t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression);
79558 _this._evaluate0$_logger.warn$2$trace(0, t1, _this._evaluate0$_stackTrace$1(node.span));
79559 return null;
79560 },
79561 visitWhileRule$1(node) {
79562 return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
79563 },
79564 visitBinaryOperationExpression$1(node) {
79565 return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(this, node));
79566 },
79567 visitValueExpression$1(node) {
79568 return node.value;
79569 },
79570 visitVariableExpression$1(node) {
79571 var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
79572 if (result != null)
79573 return result;
79574 throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
79575 },
79576 visitUnaryOperationExpression$1(node) {
79577 return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
79578 },
79579 visitBooleanExpression$1(node) {
79580 return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
79581 },
79582 visitIfExpression$1(node) {
79583 var condition, t2, ifTrue, ifFalse, result, _this = this,
79584 pair = _this._evaluate0$_evaluateMacroArguments$1(node),
79585 positional = pair.item1,
79586 named = pair.item2,
79587 t1 = J.getInterceptor$asx(positional);
79588 _this._evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
79589 if (t1.get$length(positional) > 0)
79590 condition = t1.$index(positional, 0);
79591 else {
79592 t2 = named.$index(0, "condition");
79593 t2.toString;
79594 condition = t2;
79595 }
79596 if (t1.get$length(positional) > 1)
79597 ifTrue = t1.$index(positional, 1);
79598 else {
79599 t2 = named.$index(0, "if-true");
79600 t2.toString;
79601 ifTrue = t2;
79602 }
79603 if (t1.get$length(positional) > 2)
79604 ifFalse = t1.$index(positional, 2);
79605 else {
79606 t1 = named.$index(0, "if-false");
79607 t1.toString;
79608 ifFalse = t1;
79609 }
79610 result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
79611 return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
79612 },
79613 visitNullExpression$1(node) {
79614 return B.C__SassNull0;
79615 },
79616 visitNumberExpression$1(node) {
79617 var t1 = node.value,
79618 t2 = node.unit;
79619 return t2 == null ? new A.UnitlessSassNumber0(t1, null) : new A.SingleUnitSassNumber0(t2, t1, null);
79620 },
79621 visitParenthesizedExpression$1(node) {
79622 return node.expression.accept$1(this);
79623 },
79624 visitCalculationExpression$1(node) {
79625 var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception,
79626 t1 = A._setArrayType([], type$.JSArray_Object);
79627 for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
79628 argument = t2[_i];
79629 t1.push(this._evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6));
79630 }
79631 $arguments = t1;
79632 try {
79633 switch (t4) {
79634 case "calc":
79635 t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
79636 return t1;
79637 case "min":
79638 t1 = A.SassCalculation_min0($arguments);
79639 return t1;
79640 case "max":
79641 t1 = A.SassCalculation_max0($arguments);
79642 return t1;
79643 case "clamp":
79644 t1 = J.$index$asx($arguments, 0);
79645 t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
79646 t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
79647 return t1;
79648 default:
79649 t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
79650 throw A.wrapException(t1);
79651 }
79652 } catch (exception) {
79653 t1 = A.unwrapException(exception);
79654 if (t1 instanceof A.SassScriptException0) {
79655 error = t1;
79656 stackTrace = A.getTraceFromException(exception);
79657 this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
79658 A.throwWithTrace0(this._evaluate0$_exception$2(error.message, node.span), stackTrace);
79659 } else
79660 throw exception;
79661 }
79662 },
79663 _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
79664 var i, t1, arg, number1, j, number2;
79665 for (i = 0; t1 = args.length, i < t1; ++i) {
79666 arg = args[i];
79667 if (!(arg instanceof A.SassNumber0))
79668 continue;
79669 if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
79670 throw A.wrapException(this._evaluate0$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
79671 }
79672 for (i = 0; i < t1 - 1; ++i) {
79673 number1 = args[i];
79674 if (!(number1 instanceof A.SassNumber0))
79675 continue;
79676 for (j = i + 1; t1 = args.length, j < t1; ++j) {
79677 number2 = args[j];
79678 if (!(number2 instanceof A.SassNumber0))
79679 continue;
79680 if (number1.hasPossiblyCompatibleUnits$1(number2))
79681 continue;
79682 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]))));
79683 }
79684 }
79685 },
79686 _evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
79687 var inner, result, t1, _this = this;
79688 if (node instanceof A.ParenthesizedExpression0) {
79689 inner = node.expression;
79690 result = _this._evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax);
79691 if (inner instanceof A.FunctionExpression0)
79692 t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
79693 else
79694 t1 = false;
79695 return t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
79696 } else if (node instanceof A.StringExpression0)
79697 return new A.CalculationInterpolation0(_this._evaluate0$_performInterpolation$1(node.text));
79698 else if (node instanceof A.BinaryOperationExpression0)
79699 return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure1(_this, node, inMinMax));
79700 else {
79701 result = node.accept$1(_this);
79702 if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0)
79703 return result;
79704 if (result instanceof A.SassString0 && !result._string0$_hasQuotes)
79705 return result;
79706 throw A.wrapException(_this._evaluate0$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
79707 }
79708 },
79709 _evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
79710 switch (operator) {
79711 case B.BinaryOperator_AcR2:
79712 return B.CalculationOperator_Iem0;
79713 case B.BinaryOperator_iyO0:
79714 return B.CalculationOperator_uti0;
79715 case B.BinaryOperator_O1M0:
79716 return B.CalculationOperator_Dih0;
79717 case B.BinaryOperator_RTB0:
79718 return B.CalculationOperator_jB60;
79719 default:
79720 throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
79721 }
79722 },
79723 visitColorExpression$1(node) {
79724 return node.value;
79725 },
79726 visitListExpression$1(node) {
79727 var t1 = node.contents;
79728 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);
79729 },
79730 visitMapExpression$1(node) {
79731 var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
79732 t1 = type$.Value_2,
79733 map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
79734 keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
79735 for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
79736 pair = t2[_i];
79737 t4 = pair.item1;
79738 keyValue = t4.accept$1(this);
79739 valueValue = pair.item2.accept$1(this);
79740 if (map.$index(0, keyValue) != null) {
79741 t1 = keyNodes.$index(0, keyValue);
79742 oldValueSpan = t1 == null ? null : t1.get$span(t1);
79743 t1 = J.getInterceptor$z(t4);
79744 t2 = t1.get$span(t4);
79745 t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
79746 if (oldValueSpan != null)
79747 t3.$indexSet(0, oldValueSpan, "first key");
79748 throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, this._evaluate0$_stackTrace$1(t1.get$span(t4))));
79749 }
79750 map.$indexSet(0, keyValue, valueValue);
79751 keyNodes.$indexSet(0, keyValue, t4);
79752 }
79753 return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
79754 },
79755 visitFunctionExpression$1(node) {
79756 var oldInFunction, result, _this = this, t1 = {},
79757 $function = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure3(_this, node));
79758 t1.$function = $function;
79759 if ($function == null) {
79760 if (node.namespace != null)
79761 throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
79762 t1.$function = new A.PlainCssCallable0(node.originalName);
79763 }
79764 oldInFunction = _this._evaluate0$_inFunction;
79765 _this._evaluate0$_inFunction = true;
79766 result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure4(t1, _this, node));
79767 _this._evaluate0$_inFunction = oldInFunction;
79768 return result;
79769 },
79770 visitInterpolatedFunctionExpression$1(node) {
79771 var result, _this = this,
79772 t1 = _this._evaluate0$_performInterpolation$1(node.name),
79773 oldInFunction = _this._evaluate0$_inFunction;
79774 _this._evaluate0$_inFunction = true;
79775 result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
79776 _this._evaluate0$_inFunction = oldInFunction;
79777 return result;
79778 },
79779 _evaluate0$_getFunction$2$namespace($name, namespace) {
79780 var local = this._evaluate0$_environment.getFunction$2$namespace($name, namespace);
79781 if (local != null || namespace != null)
79782 return local;
79783 return this._evaluate0$_builtInFunctions.$index(0, $name);
79784 },
79785 _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
79786 var evaluated = this._evaluate0$_evaluateArguments$1($arguments),
79787 $name = callable.declaration.name;
79788 if ($name !== "@content")
79789 $name += "()";
79790 return this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(this, callable, evaluated, nodeWithSpan, run, $V));
79791 },
79792 _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
79793 var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
79794 if (callable instanceof A.BuiltInCallable0)
79795 return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
79796 else if (type$.UserDefinedCallable_Environment_2._is(callable))
79797 return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
79798 else if (callable instanceof A.PlainCssCallable0) {
79799 t1 = $arguments.named;
79800 if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
79801 throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
79802 t1 = callable.name + "(";
79803 for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
79804 argument = t2[_i];
79805 if (first)
79806 first = false;
79807 else
79808 t1 += ", ";
79809 t1 += _this._evaluate0$_serialize$3$quote(argument.accept$1(_this), argument, true);
79810 }
79811 restArg = $arguments.rest;
79812 if (restArg != null) {
79813 rest = restArg.accept$1(_this);
79814 if (!first)
79815 t1 += ", ";
79816 t1 += _this._evaluate0$_serialize$2(rest, restArg);
79817 }
79818 t1 += A.Primitives_stringFromCharCode(41);
79819 return new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
79820 } else
79821 throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
79822 },
79823 _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
79824 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,
79825 evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
79826 oldCallableNode = _this._evaluate0$_callableNode;
79827 _this._evaluate0$_callableNode = nodeWithSpan;
79828 namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
79829 tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
79830 overload = tuple.item1;
79831 callback = tuple.item2;
79832 _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(overload, evaluated, namedSet));
79833 declaredArguments = overload.$arguments;
79834 for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
79835 argument = declaredArguments[i];
79836 t2 = evaluated.positional;
79837 t3 = evaluated.named.remove$1(0, argument.name);
79838 if (t3 == null) {
79839 t3 = argument.defaultValue;
79840 t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
79841 }
79842 t2.push(t3);
79843 }
79844 if (overload.restArgument != null) {
79845 if (evaluated.positional.length > t1) {
79846 rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
79847 B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
79848 } else
79849 rest = B.List_empty15;
79850 t1 = evaluated.named;
79851 argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : evaluated.separator);
79852 evaluated.positional.push(argumentList);
79853 } else
79854 argumentList = null;
79855 result = null;
79856 try {
79857 result = callback.call$1(evaluated.positional);
79858 } catch (exception) {
79859 t1 = A.unwrapException(exception);
79860 if (type$.SassRuntimeException_2._is(t1))
79861 throw exception;
79862 else if (t1 instanceof A.MultiSpanSassScriptException0) {
79863 error = t1;
79864 stackTrace = A.getTraceFromException(exception);
79865 t1 = error.message;
79866 t2 = nodeWithSpan.get$span(nodeWithSpan);
79867 t3 = error.primaryLabel;
79868 t4 = error.secondarySpans;
79869 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);
79870 } else if (t1 instanceof A.MultiSpanSassException0) {
79871 error0 = t1;
79872 stackTrace0 = A.getTraceFromException(exception);
79873 t1 = error0._span_exception$_message;
79874 t2 = error0;
79875 t3 = J.getInterceptor$z(t2);
79876 t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
79877 t3 = error0.primaryLabel;
79878 t4 = error0.secondarySpans;
79879 t5 = error0;
79880 t6 = J.getInterceptor$z(t5);
79881 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);
79882 } else {
79883 error1 = t1;
79884 stackTrace1 = A.getTraceFromException(exception);
79885 message = null;
79886 try {
79887 message = A._asString(J.get$message$x(error1));
79888 } catch (exception) {
79889 message0 = J.toString$0$(error1);
79890 message = message0;
79891 }
79892 A.throwWithTrace0(_this._evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
79893 }
79894 }
79895 _this._evaluate0$_callableNode = oldCallableNode;
79896 if (argumentList == null)
79897 return result;
79898 t1 = evaluated.named;
79899 if (t1.get$isEmpty(t1))
79900 return result;
79901 if (argumentList._argument_list$_wereKeywordsAccessed)
79902 return result;
79903 t1 = evaluated.named;
79904 t1 = t1.get$keys(t1);
79905 t1 = "No " + A.pluralize0("argument", t1.get$length(t1), null) + " named ";
79906 t2 = evaluated.named;
79907 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))));
79908 },
79909 _evaluate0$_evaluateArguments$1($arguments) {
79910 var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
79911 positional = A._setArrayType([], type$.JSArray_Value_2),
79912 positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
79913 for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
79914 expression = t1[_i];
79915 nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
79916 positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
79917 positionalNodes.push(nodeForSpan);
79918 }
79919 t1 = type$.String;
79920 named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
79921 t2 = type$.AstNode_2;
79922 namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
79923 for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
79924 t4 = t3.get$current(t3);
79925 t5 = t4.value;
79926 nodeForSpan = _this._evaluate0$_expressionNode$1(t5);
79927 t4 = t4.key;
79928 named.$indexSet(0, t4, _this._evaluate0$_withoutSlash$2(t5.accept$1(_this), nodeForSpan));
79929 namedNodes.$indexSet(0, t4, nodeForSpan);
79930 }
79931 restArgs = $arguments.rest;
79932 if (restArgs == null)
79933 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null0);
79934 rest = restArgs.accept$1(_this);
79935 restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
79936 if (rest instanceof A.SassMap0) {
79937 _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
79938 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
79939 for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
79940 t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
79941 namedNodes.addAll$1(0, t3);
79942 separator = B.ListSeparator_undecided_null0;
79943 } else if (rest instanceof A.SassList0) {
79944 t3 = rest._list1$_contents;
79945 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>")));
79946 B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
79947 separator = rest._list1$_separator;
79948 if (rest instanceof A.SassArgumentList0) {
79949 rest._argument_list$_wereKeywordsAccessed = true;
79950 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
79951 }
79952 } else {
79953 positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
79954 positionalNodes.push(restNodeForSpan);
79955 separator = B.ListSeparator_undecided_null0;
79956 }
79957 keywordRestArgs = $arguments.keywordRest;
79958 if (keywordRestArgs == null)
79959 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
79960 keywordRest = keywordRestArgs.accept$1(_this);
79961 keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
79962 if (keywordRest instanceof A.SassMap0) {
79963 _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
79964 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
79965 for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
79966 t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
79967 namedNodes.addAll$1(0, t1);
79968 return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
79969 } else
79970 throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
79971 },
79972 _evaluate0$_evaluateMacroArguments$1(invocation) {
79973 var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
79974 t1 = invocation.$arguments,
79975 restArgs_ = t1.rest;
79976 if (restArgs_ == null)
79977 return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
79978 t2 = t1.positional;
79979 positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
79980 named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
79981 rest = restArgs_.accept$1(_this);
79982 restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
79983 if (rest instanceof A.SassMap0)
79984 _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
79985 else if (rest instanceof A.SassList0) {
79986 t2 = rest._list1$_contents;
79987 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>")));
79988 if (rest instanceof A.SassArgumentList0) {
79989 rest._argument_list$_wereKeywordsAccessed = true;
79990 rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
79991 }
79992 } else
79993 positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
79994 keywordRestArgs_ = t1.keywordRest;
79995 if (keywordRestArgs_ == null)
79996 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
79997 keywordRest = keywordRestArgs_.accept$1(_this);
79998 keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
79999 if (keywordRest instanceof A.SassMap0) {
80000 _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
80001 return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
80002 } else
80003 throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
80004 },
80005 _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
80006 map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
80007 },
80008 _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
80009 return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
80010 },
80011 _evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
80012 return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1($arguments, positional, named));
80013 },
80014 visitSelectorExpression$1(node) {
80015 var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
80016 t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
80017 return t1 == null ? B.C__SassNull0 : t1;
80018 },
80019 visitStringExpression$1(node) {
80020 var t1 = node.text.contents;
80021 return new A.SassString0(new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure1(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0), node.hasQuotes);
80022 },
80023 visitCssAtRule$1(node) {
80024 var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
80025 if (_this._evaluate0$_declarationName != null)
80026 throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
80027 if (node.isChildless) {
80028 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
80029 return;
80030 }
80031 wasInKeyframes = _this._evaluate0$_inKeyframes;
80032 wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
80033 t1 = node.name;
80034 if (A.unvendor0(t1.get$value(t1)) === "keyframes")
80035 _this._evaluate0$_inKeyframes = true;
80036 else
80037 _this._evaluate0$_inUnknownAtRule = true;
80038 _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);
80039 _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
80040 _this._evaluate0$_inKeyframes = wasInKeyframes;
80041 },
80042 visitCssComment$1(node) {
80043 var _this = this,
80044 _s8_ = "__parent",
80045 _s13_ = "_endOfImports";
80046 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))
80047 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
80048 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
80049 },
80050 visitCssDeclaration$1(node) {
80051 var t1 = node.name;
80052 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));
80053 },
80054 visitCssImport$1(node) {
80055 var t1, _this = this,
80056 _s8_ = "__parent",
80057 _s5_ = "_root",
80058 _s13_ = "_endOfImports",
80059 modifiableNode = A.ModifiableCssImport$0(node.url, node.span, node.media, node.supports);
80060 if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
80061 _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
80062 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)) {
80063 _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
80064 _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
80065 } else {
80066 t1 = _this._evaluate0$_outOfOrderImports;
80067 (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
80068 }
80069 },
80070 visitCssKeyframeBlock$1(node) {
80071 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);
80072 },
80073 visitCssMediaRule$1(node) {
80074 var mergedQueries, t1, _this = this;
80075 if (_this._evaluate0$_declarationName != null)
80076 throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
80077 mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
80078 t1 = mergedQueries == null;
80079 if (!t1 && J.get$isEmpty$asx(mergedQueries))
80080 return;
80081 t1 = t1 ? node.queries : mergedQueries;
80082 _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);
80083 },
80084 visitCssStyleRule$1(node) {
80085 var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
80086 _s8_ = "__parent";
80087 if (_this._evaluate0$_declarationName != null)
80088 throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
80089 t1 = _this._evaluate0$_atRootExcludingStyleRule;
80090 styleRule = t1 ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
80091 t2 = node.selector;
80092 t3 = t2.value;
80093 t4 = styleRule == null;
80094 t5 = t4 ? null : styleRule.originalSelector;
80095 originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
80096 rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._evaluate0$_mediaQueries), node.span, originalSelector);
80097 oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
80098 _this._evaluate0$_atRootExcludingStyleRule = false;
80099 _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);
80100 _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
80101 if (t4) {
80102 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80103 t1 = !t1.get$isEmpty(t1);
80104 } else
80105 t1 = false;
80106 if (t1) {
80107 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
80108 t1.get$last(t1).isGroupEnd = true;
80109 }
80110 },
80111 visitCssStylesheet$1(node) {
80112 var t1;
80113 for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
80114 t1.get$current(t1).accept$1(this);
80115 },
80116 visitCssSupportsRule$1(node) {
80117 var _this = this;
80118 if (_this._evaluate0$_declarationName != null)
80119 throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
80120 _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);
80121 },
80122 _evaluate0$_handleReturn$1$2(list, callback) {
80123 var t1, _i, result;
80124 for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
80125 result = callback.call$1(list[_i]);
80126 if (result != null)
80127 return result;
80128 }
80129 return null;
80130 },
80131 _evaluate0$_handleReturn$2(list, callback) {
80132 return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
80133 },
80134 _evaluate0$_withEnvironment$1$2(environment, callback) {
80135 var result,
80136 oldEnvironment = this._evaluate0$_environment;
80137 this._evaluate0$_environment = environment;
80138 result = callback.call$0();
80139 this._evaluate0$_environment = oldEnvironment;
80140 return result;
80141 },
80142 _evaluate0$_withEnvironment$2(environment, callback) {
80143 return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
80144 },
80145 _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
80146 var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
80147 t1 = trim ? A.trimAscii0(result, true) : result;
80148 return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
80149 },
80150 _evaluate0$_interpolationToValue$1(interpolation) {
80151 return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
80152 },
80153 _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
80154 return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
80155 },
80156 _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
80157 var t1 = interpolation.contents;
80158 return new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure1(this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
80159 },
80160 _evaluate0$_performInterpolation$1(interpolation) {
80161 return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
80162 },
80163 _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
80164 return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
80165 },
80166 _evaluate0$_serialize$2(value, nodeWithSpan) {
80167 return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
80168 },
80169 _evaluate0$_expressionNode$1(expression) {
80170 var t1;
80171 if (expression instanceof A.VariableExpression0) {
80172 t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
80173 return t1 == null ? expression : t1;
80174 } else
80175 return expression;
80176 },
80177 _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
80178 var t1, result, _this = this;
80179 _this._evaluate0$_addChild$2$through(node, through);
80180 t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
80181 _this._evaluate0$__parent = node;
80182 result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
80183 _this._evaluate0$__parent = t1;
80184 return result;
80185 },
80186 _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
80187 return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
80188 },
80189 _evaluate0$_withParent$2$2(node, callback, $S, $T) {
80190 return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
80191 },
80192 _evaluate0$_addChild$2$through(node, through) {
80193 var grandparent, t1,
80194 $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
80195 if (through != null) {
80196 for (; through.call$1($parent); $parent = grandparent) {
80197 grandparent = $parent._node1$_parent;
80198 if (grandparent == null)
80199 throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
80200 }
80201 if ($parent.get$hasFollowingSibling()) {
80202 t1 = $parent._node1$_parent;
80203 t1.toString;
80204 $parent = $parent.copyWithoutChildren$0();
80205 t1.addChild$1($parent);
80206 }
80207 }
80208 $parent.addChild$1(node);
80209 },
80210 _evaluate0$_addChild$1(node) {
80211 return this._evaluate0$_addChild$2$through(node, null);
80212 },
80213 _evaluate0$_withStyleRule$1$2(rule, callback) {
80214 var result,
80215 oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
80216 this._evaluate0$_styleRuleIgnoringAtRoot = rule;
80217 result = callback.call$0();
80218 this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
80219 return result;
80220 },
80221 _evaluate0$_withStyleRule$2(rule, callback) {
80222 return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
80223 },
80224 _evaluate0$_withMediaQueries$1$2(queries, callback) {
80225 var result,
80226 oldMediaQueries = this._evaluate0$_mediaQueries;
80227 this._evaluate0$_mediaQueries = queries;
80228 result = callback.call$0();
80229 this._evaluate0$_mediaQueries = oldMediaQueries;
80230 return result;
80231 },
80232 _evaluate0$_withMediaQueries$2(queries, callback) {
80233 return this._evaluate0$_withMediaQueries$1$2(queries, callback, type$.dynamic);
80234 },
80235 _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
80236 var oldMember, result, _this = this,
80237 t1 = _this._evaluate0$_stack;
80238 t1.push(new A.Tuple2(_this._evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
80239 oldMember = _this._evaluate0$_member;
80240 _this._evaluate0$_member = member;
80241 result = callback.call$0();
80242 _this._evaluate0$_member = oldMember;
80243 t1.pop();
80244 return result;
80245 },
80246 _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
80247 return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
80248 },
80249 _evaluate0$_withoutSlash$2(value, nodeForSpan) {
80250 if (value instanceof A.SassNumber0 && value.asSlash != null)
80251 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);
80252 return value.withoutSlash$0();
80253 },
80254 _evaluate0$_stackFrame$2(member, span) {
80255 return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.file.url, new A._EvaluateVisitor__stackFrame_closure1(this)));
80256 },
80257 _evaluate0$_stackTrace$1(span) {
80258 var _this = this,
80259 t1 = _this._evaluate0$_stack;
80260 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);
80261 if (span != null)
80262 t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
80263 return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
80264 },
80265 _evaluate0$_stackTrace$0() {
80266 return this._evaluate0$_stackTrace$1(null);
80267 },
80268 _evaluate0$_warn$3$deprecation(message, span, deprecation) {
80269 var _this = this;
80270 if (_this._evaluate0$_quietDeps && _this._evaluate0$_inDependency)
80271 return;
80272 if (!_this._evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
80273 return;
80274 _this._evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate0$_stackTrace$1(span));
80275 },
80276 _evaluate0$_warn$2(message, span) {
80277 return this._evaluate0$_warn$3$deprecation(message, span, false);
80278 },
80279 _evaluate0$_exception$2(message, span) {
80280 var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2) : span;
80281 return new A.SassRuntimeException0(this._evaluate0$_stackTrace$1(span), message, t1);
80282 },
80283 _evaluate0$_exception$1(message) {
80284 return this._evaluate0$_exception$2(message, null);
80285 },
80286 _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
80287 var t1 = J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2);
80288 return new A.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
80289 },
80290 _evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
80291 var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
80292 try {
80293 t1 = callback.call$0();
80294 return t1;
80295 } catch (exception) {
80296 t1 = A.unwrapException(exception);
80297 if (t1 instanceof A.SassFormatException0) {
80298 error = t1;
80299 stackTrace = A.getTraceFromException(exception);
80300 t1 = error;
80301 t2 = J.getInterceptor$z(t1);
80302 errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(t2, t1).file._decodedChars, 0, _null), 0, _null);
80303 span = nodeWithSpan.get$span(nodeWithSpan);
80304 t1 = span;
80305 t2 = span;
80306 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);
80307 t2 = A.SourceFile$fromString(syntheticFile, span.file.url);
80308 t1 = span;
80309 t1 = A.FileLocation$_(t1.file, t1._file$_start);
80310 t3 = error;
80311 t4 = J.getInterceptor$z(t3);
80312 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
80313 t3 = A.FileLocation$_(t3.file, t3._file$_start);
80314 t4 = span;
80315 t4 = A.FileLocation$_(t4.file, t4._file$_start);
80316 t5 = error;
80317 t6 = J.getInterceptor$z(t5);
80318 t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
80319 syntheticSpan = t2.span$2(0, t1.offset + t3.offset, t4.offset + A.FileLocation$_(t5.file, t5._end).offset);
80320 A.throwWithTrace0(this._evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
80321 } else
80322 throw exception;
80323 }
80324 },
80325 _evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
80326 return this._evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
80327 },
80328 _evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
80329 var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
80330 try {
80331 t1 = callback.call$0();
80332 return t1;
80333 } catch (exception) {
80334 t1 = A.unwrapException(exception);
80335 if (t1 instanceof A.MultiSpanSassScriptException0) {
80336 error = t1;
80337 stackTrace = A.getTraceFromException(exception);
80338 t1 = error.message;
80339 t2 = nodeWithSpan.get$span(nodeWithSpan);
80340 t3 = error.primaryLabel;
80341 t4 = error.secondarySpans;
80342 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);
80343 } else if (t1 instanceof A.SassScriptException0) {
80344 error0 = t1;
80345 stackTrace0 = A.getTraceFromException(exception);
80346 A.throwWithTrace0(this._evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
80347 } else
80348 throw exception;
80349 }
80350 },
80351 _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
80352 return this._evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
80353 },
80354 _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
80355 var error, stackTrace, t1, exception, t2;
80356 try {
80357 t1 = callback.call$0();
80358 return t1;
80359 } catch (exception) {
80360 t1 = A.unwrapException(exception);
80361 if (type$.SassRuntimeException_2._is(t1)) {
80362 error = t1;
80363 stackTrace = A.getTraceFromException(exception);
80364 t1 = J.get$span$z(error);
80365 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"))
80366 throw exception;
80367 t1 = error._span_exception$_message;
80368 t2 = nodeWithSpan.get$span(nodeWithSpan);
80369 A.throwWithTrace0(new A.SassRuntimeException0(this._evaluate0$_stackTrace$0(), t1, t2), stackTrace);
80370 } else
80371 throw exception;
80372 }
80373 },
80374 _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
80375 return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
80376 }
80377 };
80378 A._EvaluateVisitor_closure19.prototype = {
80379 call$1($arguments) {
80380 var module, t2,
80381 t1 = J.getInterceptor$asx($arguments),
80382 variable = t1.$index($arguments, 0).assertString$1("name");
80383 t1 = t1.$index($arguments, 1).get$realNull();
80384 module = t1 == null ? null : t1.assertString$1("module");
80385 t1 = this.$this._evaluate0$_environment;
80386 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
80387 return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
80388 },
80389 $signature: 18
80390 };
80391 A._EvaluateVisitor_closure20.prototype = {
80392 call$1($arguments) {
80393 var variable = J.$index$asx($arguments, 0).assertString$1("name"),
80394 t1 = this.$this._evaluate0$_environment;
80395 return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
80396 },
80397 $signature: 18
80398 };
80399 A._EvaluateVisitor_closure21.prototype = {
80400 call$1($arguments) {
80401 var module, t2, t3, t4,
80402 t1 = J.getInterceptor$asx($arguments),
80403 variable = t1.$index($arguments, 0).assertString$1("name");
80404 t1 = t1.$index($arguments, 1).get$realNull();
80405 module = t1 == null ? null : t1.assertString$1("module");
80406 t1 = this.$this;
80407 t2 = t1._evaluate0$_environment;
80408 t3 = variable._string0$_text;
80409 t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
80410 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;
80411 },
80412 $signature: 18
80413 };
80414 A._EvaluateVisitor_closure22.prototype = {
80415 call$1($arguments) {
80416 var module, t2,
80417 t1 = J.getInterceptor$asx($arguments),
80418 variable = t1.$index($arguments, 0).assertString$1("name");
80419 t1 = t1.$index($arguments, 1).get$realNull();
80420 module = t1 == null ? null : t1.assertString$1("module");
80421 t1 = this.$this._evaluate0$_environment;
80422 t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
80423 return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
80424 },
80425 $signature: 18
80426 };
80427 A._EvaluateVisitor_closure23.prototype = {
80428 call$1($arguments) {
80429 var t1 = this.$this._evaluate0$_environment;
80430 if (!t1._environment0$_inMixin)
80431 throw A.wrapException(A.SassScriptException$0(string$.conten));
80432 return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
80433 },
80434 $signature: 18
80435 };
80436 A._EvaluateVisitor_closure24.prototype = {
80437 call$1($arguments) {
80438 var t2, t3, t4,
80439 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
80440 module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
80441 if (module == null)
80442 throw A.wrapException('There is no module with namespace "' + t1 + '".');
80443 t1 = type$.Value_2;
80444 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
80445 for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
80446 t4 = t3.get$current(t3);
80447 t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
80448 }
80449 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
80450 },
80451 $signature: 34
80452 };
80453 A._EvaluateVisitor_closure25.prototype = {
80454 call$1($arguments) {
80455 var t2, t3, t4,
80456 t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
80457 module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
80458 if (module == null)
80459 throw A.wrapException('There is no module with namespace "' + t1 + '".');
80460 t1 = type$.Value_2;
80461 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
80462 for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
80463 t4 = t3.get$current(t3);
80464 t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
80465 }
80466 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
80467 },
80468 $signature: 34
80469 };
80470 A._EvaluateVisitor_closure26.prototype = {
80471 call$1($arguments) {
80472 var module, callable, t2,
80473 t1 = J.getInterceptor$asx($arguments),
80474 $name = t1.$index($arguments, 0).assertString$1("name"),
80475 css = t1.$index($arguments, 1).get$isTruthy();
80476 t1 = t1.$index($arguments, 2).get$realNull();
80477 module = t1 == null ? null : t1.assertString$1("module");
80478 if (css && module != null)
80479 throw A.wrapException(string$.x24css_a);
80480 if (css)
80481 callable = new A.PlainCssCallable0($name._string0$_text);
80482 else {
80483 t1 = this.$this;
80484 t2 = t1._evaluate0$_callableNode;
80485 t2.toString;
80486 callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure7(t1, $name, module));
80487 }
80488 if (callable != null)
80489 return new A.SassFunction0(callable);
80490 throw A.wrapException("Function not found: " + $name.toString$0(0));
80491 },
80492 $signature: 160
80493 };
80494 A._EvaluateVisitor__closure7.prototype = {
80495 call$0() {
80496 var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
80497 t2 = this.module;
80498 t2 = t2 == null ? null : t2._string0$_text;
80499 return this.$this._evaluate0$_getFunction$2$namespace(t1, t2);
80500 },
80501 $signature: 112
80502 };
80503 A._EvaluateVisitor_closure27.prototype = {
80504 call$1($arguments) {
80505 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
80506 t1 = J.getInterceptor$asx($arguments),
80507 $function = t1.$index($arguments, 0),
80508 args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
80509 t1 = this.$this;
80510 t2 = t1._evaluate0$_callableNode;
80511 t2.toString;
80512 t3 = A._setArrayType([], type$.JSArray_Expression_2);
80513 t4 = type$.String;
80514 t5 = type$.Expression_2;
80515 t6 = t2.get$span(t2);
80516 t7 = t2.get$span(t2);
80517 args._argument_list$_wereKeywordsAccessed = true;
80518 t8 = args._argument_list$_keywords;
80519 if (t8.get$isEmpty(t8))
80520 t2 = null;
80521 else {
80522 t9 = type$.Value_2;
80523 t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
80524 for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
80525 t11 = t8.get$current(t8);
80526 t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
80527 }
80528 t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
80529 }
80530 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);
80531 if ($function instanceof A.SassString0) {
80532 t2 = string$.Passin + $function.toString$0(0) + "))";
80533 A.EvaluationContext_current0().warn$2$deprecation(0, t2, true);
80534 callableNode = t1._evaluate0$_callableNode;
80535 return t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode)));
80536 }
80537 callable = $function.assertFunction$1("function").callable;
80538 if (type$.Callable_2._is(callable)) {
80539 t2 = t1._evaluate0$_callableNode;
80540 t2.toString;
80541 return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
80542 } else
80543 throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as));
80544 },
80545 $signature: 3
80546 };
80547 A._EvaluateVisitor_closure28.prototype = {
80548 call$1($arguments) {
80549 var withMap, t2, values, configuration,
80550 t1 = J.getInterceptor$asx($arguments),
80551 url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
80552 t1 = t1.$index($arguments, 1).get$realNull();
80553 withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
80554 t1 = this.$this;
80555 t2 = t1._evaluate0$_callableNode;
80556 t2.toString;
80557 if (withMap != null) {
80558 values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
80559 withMap.forEach$1(0, new A._EvaluateVisitor__closure5(values, t2.get$span(t2), t2));
80560 configuration = new A.ExplicitConfiguration0(t2, values);
80561 } else
80562 configuration = B.Configuration_Map_empty0;
80563 t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure6(t1), t2.get$span(t2).file.url, configuration, true);
80564 t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
80565 },
80566 $signature: 403
80567 };
80568 A._EvaluateVisitor__closure5.prototype = {
80569 call$2(variable, value) {
80570 var t1 = variable.assertString$1("with key"),
80571 $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
80572 t1 = this.values;
80573 if (t1.containsKey$1($name))
80574 throw A.wrapException("The variable $" + $name + " was configured twice.");
80575 t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
80576 },
80577 $signature: 53
80578 };
80579 A._EvaluateVisitor__closure6.prototype = {
80580 call$1(module) {
80581 var t1 = this.$this;
80582 return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
80583 },
80584 $signature: 60
80585 };
80586 A._EvaluateVisitor_run_closure1.prototype = {
80587 call$0() {
80588 var t2, _this = this,
80589 t1 = _this.node,
80590 url = t1.span.file.url;
80591 if (url != null) {
80592 t2 = _this.$this;
80593 t2._evaluate0$_activeModules.$indexSet(0, url, null);
80594 if (!(t2._evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
80595 t2._evaluate0$_loadedUrls.add$1(0, url);
80596 }
80597 t2 = _this.$this;
80598 return new A.EvaluateResult0(t2._evaluate0$_combineCss$1(t2._evaluate0$_execute$2(_this.importer, t1)), t2._evaluate0$_loadedUrls);
80599 },
80600 $signature: 609
80601 };
80602 A._EvaluateVisitor__loadModule_closure3.prototype = {
80603 call$0() {
80604 return this.callback.call$1(this.builtInModule);
80605 },
80606 $signature: 0
80607 };
80608 A._EvaluateVisitor__loadModule_closure4.prototype = {
80609 call$0() {
80610 var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, _this = this,
80611 t1 = _this.$this,
80612 t2 = _this.nodeWithSpan,
80613 result = t1._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
80614 stylesheet = result.stylesheet,
80615 canonicalUrl = stylesheet.span.file.url;
80616 if (canonicalUrl != null && t1._evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
80617 message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
80618 t2 = A.NullableExtension_andThen0(t1._evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t1, message));
80619 throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1(message) : t2);
80620 }
80621 if (canonicalUrl != null)
80622 t1._evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
80623 oldInDependency = t1._evaluate0$_inDependency;
80624 t1._evaluate0$_inDependency = result.isDependency;
80625 module = null;
80626 try {
80627 module = t1._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
80628 } finally {
80629 t1._evaluate0$_activeModules.remove$1(0, canonicalUrl);
80630 t1._evaluate0$_inDependency = oldInDependency;
80631 }
80632 try {
80633 _this.callback.call$1(module);
80634 } catch (exception) {
80635 t2 = A.unwrapException(exception);
80636 if (type$.SassRuntimeException_2._is(t2))
80637 throw exception;
80638 else if (t2 instanceof A.MultiSpanSassException0) {
80639 error = t2;
80640 stackTrace = A.getTraceFromException(exception);
80641 t2 = error._span_exception$_message;
80642 t3 = error;
80643 t4 = J.getInterceptor$z(t3);
80644 t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
80645 t4 = error.primaryLabel;
80646 t5 = error.secondarySpans;
80647 t6 = error;
80648 t7 = J.getInterceptor$z(t6);
80649 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);
80650 } else if (t2 instanceof A.SassException0) {
80651 error0 = t2;
80652 stackTrace0 = A.getTraceFromException(exception);
80653 t2 = error0;
80654 t3 = J.getInterceptor$z(t2);
80655 A.throwWithTrace0(t1._evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
80656 } else if (t2 instanceof A.MultiSpanSassScriptException0) {
80657 error1 = t2;
80658 stackTrace1 = A.getTraceFromException(exception);
80659 A.throwWithTrace0(t1._evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
80660 } else if (t2 instanceof A.SassScriptException0) {
80661 error2 = t2;
80662 stackTrace2 = A.getTraceFromException(exception);
80663 A.throwWithTrace0(t1._evaluate0$_exception$1(error2.message), stackTrace2);
80664 } else
80665 throw exception;
80666 }
80667 },
80668 $signature: 1
80669 };
80670 A._EvaluateVisitor__loadModule__closure1.prototype = {
80671 call$1(previousLoad) {
80672 return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
80673 },
80674 $signature: 84
80675 };
80676 A._EvaluateVisitor__execute_closure1.prototype = {
80677 call$0() {
80678 var t3, t4, t5, t6, _this = this,
80679 t1 = _this.$this,
80680 oldImporter = t1._evaluate0$_importer,
80681 oldStylesheet = t1._evaluate0$__stylesheet,
80682 oldRoot = t1._evaluate0$__root,
80683 oldParent = t1._evaluate0$__parent,
80684 oldEndOfImports = t1._evaluate0$__endOfImports,
80685 oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
80686 oldExtensionStore = t1._evaluate0$__extensionStore,
80687 t2 = t1._evaluate0$_atRootExcludingStyleRule,
80688 oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
80689 oldMediaQueries = t1._evaluate0$_mediaQueries,
80690 oldDeclarationName = t1._evaluate0$_declarationName,
80691 oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
80692 oldInKeyframes = t1._evaluate0$_inKeyframes,
80693 oldConfiguration = t1._evaluate0$_configuration;
80694 t1._evaluate0$_importer = _this.importer;
80695 t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
80696 t4 = t3.span;
80697 t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
80698 t1._evaluate0$__endOfImports = 0;
80699 t1._evaluate0$_outOfOrderImports = null;
80700 t1._evaluate0$__extensionStore = _this.extensionStore;
80701 t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
80702 t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
80703 t6 = _this.configuration;
80704 if (t6 != null)
80705 t1._evaluate0$_configuration = t6;
80706 t1.visitStylesheet$1(t3);
80707 t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
80708 _this.css._value = t3;
80709 t1._evaluate0$_importer = oldImporter;
80710 t1._evaluate0$__stylesheet = oldStylesheet;
80711 t1._evaluate0$__root = oldRoot;
80712 t1._evaluate0$__parent = oldParent;
80713 t1._evaluate0$__endOfImports = oldEndOfImports;
80714 t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
80715 t1._evaluate0$__extensionStore = oldExtensionStore;
80716 t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
80717 t1._evaluate0$_mediaQueries = oldMediaQueries;
80718 t1._evaluate0$_declarationName = oldDeclarationName;
80719 t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
80720 t1._evaluate0$_atRootExcludingStyleRule = t2;
80721 t1._evaluate0$_inKeyframes = oldInKeyframes;
80722 t1._evaluate0$_configuration = oldConfiguration;
80723 },
80724 $signature: 1
80725 };
80726 A._EvaluateVisitor__combineCss_closure5.prototype = {
80727 call$1(module) {
80728 return module.get$transitivelyContainsCss();
80729 },
80730 $signature: 114
80731 };
80732 A._EvaluateVisitor__combineCss_closure6.prototype = {
80733 call$1(target) {
80734 return !this.selectors.contains$1(0, target);
80735 },
80736 $signature: 15
80737 };
80738 A._EvaluateVisitor__combineCss_closure7.prototype = {
80739 call$1(module) {
80740 return module.cloneCss$0();
80741 },
80742 $signature: 406
80743 };
80744 A._EvaluateVisitor__extendModules_closure3.prototype = {
80745 call$1(target) {
80746 return !this.originalSelectors.contains$1(0, target);
80747 },
80748 $signature: 15
80749 };
80750 A._EvaluateVisitor__extendModules_closure4.prototype = {
80751 call$0() {
80752 return A._setArrayType([], type$.JSArray_ExtensionStore_2);
80753 },
80754 $signature: 166
80755 };
80756 A._EvaluateVisitor__topologicalModules_visitModule1.prototype = {
80757 call$1(module) {
80758 var t1, t2, t3, _i, upstream;
80759 for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
80760 upstream = t1[_i];
80761 if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
80762 this.call$1(upstream);
80763 }
80764 this.sorted.addFirst$1(module);
80765 },
80766 $signature: 60
80767 };
80768 A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
80769 call$0() {
80770 var t1 = A.SpanScanner$(this.resolved, null);
80771 return new A.AtRootQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
80772 },
80773 $signature: 136
80774 };
80775 A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
80776 call$0() {
80777 var t1, t2, t3, _i;
80778 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
80779 t1[_i].accept$1(t3);
80780 },
80781 $signature: 1
80782 };
80783 A._EvaluateVisitor_visitAtRootRule_closure7.prototype = {
80784 call$0() {
80785 var t1, t2, t3, _i;
80786 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
80787 t1[_i].accept$1(t3);
80788 },
80789 $signature: 0
80790 };
80791 A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
80792 call$1(callback) {
80793 var t1 = this.$this,
80794 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
80795 t1._evaluate0$__parent = this.newParent;
80796 t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
80797 t1._evaluate0$__parent = t2;
80798 },
80799 $signature: 26
80800 };
80801 A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
80802 call$1(callback) {
80803 var t1 = this.$this,
80804 oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
80805 t1._evaluate0$_atRootExcludingStyleRule = true;
80806 this.innerScope.call$1(callback);
80807 t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
80808 },
80809 $signature: 26
80810 };
80811 A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
80812 call$1(callback) {
80813 return this.$this._evaluate0$_withMediaQueries$2(null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
80814 },
80815 $signature: 26
80816 };
80817 A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
80818 call$0() {
80819 return this.innerScope.call$1(this.callback);
80820 },
80821 $signature: 1
80822 };
80823 A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
80824 call$1(callback) {
80825 var t1 = this.$this,
80826 wasInKeyframes = t1._evaluate0$_inKeyframes;
80827 t1._evaluate0$_inKeyframes = false;
80828 this.innerScope.call$1(callback);
80829 t1._evaluate0$_inKeyframes = wasInKeyframes;
80830 },
80831 $signature: 26
80832 };
80833 A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
80834 call$1($parent) {
80835 return type$.CssAtRule_2._is($parent);
80836 },
80837 $signature: 168
80838 };
80839 A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
80840 call$1(callback) {
80841 var t1 = this.$this,
80842 wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
80843 t1._evaluate0$_inUnknownAtRule = false;
80844 this.innerScope.call$1(callback);
80845 t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
80846 },
80847 $signature: 26
80848 };
80849 A._EvaluateVisitor_visitContentRule_closure1.prototype = {
80850 call$0() {
80851 var t1, t2, t3, _i;
80852 for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
80853 t1[_i].accept$1(t3);
80854 return null;
80855 },
80856 $signature: 1
80857 };
80858 A._EvaluateVisitor_visitDeclaration_closure3.prototype = {
80859 call$1(value) {
80860 return new A.CssValue0(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value_2);
80861 },
80862 $signature: 407
80863 };
80864 A._EvaluateVisitor_visitDeclaration_closure4.prototype = {
80865 call$0() {
80866 var t1, t2, t3, _i;
80867 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
80868 t1[_i].accept$1(t3);
80869 },
80870 $signature: 1
80871 };
80872 A._EvaluateVisitor_visitEachRule_closure5.prototype = {
80873 call$1(value) {
80874 var t1 = this.$this,
80875 t2 = this.nodeWithSpan;
80876 return t1._evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._evaluate0$_withoutSlash$2(value, t2), t2);
80877 },
80878 $signature: 55
80879 };
80880 A._EvaluateVisitor_visitEachRule_closure6.prototype = {
80881 call$1(value) {
80882 return this.$this._evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
80883 },
80884 $signature: 55
80885 };
80886 A._EvaluateVisitor_visitEachRule_closure7.prototype = {
80887 call$0() {
80888 var _this = this,
80889 t1 = _this.$this;
80890 return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
80891 },
80892 $signature: 38
80893 };
80894 A._EvaluateVisitor_visitEachRule__closure1.prototype = {
80895 call$1(element) {
80896 var t1;
80897 this.setVariables.call$1(element);
80898 t1 = this.$this;
80899 return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
80900 },
80901 $signature: 215
80902 };
80903 A._EvaluateVisitor_visitEachRule___closure1.prototype = {
80904 call$1(child) {
80905 return child.accept$1(this.$this);
80906 },
80907 $signature: 94
80908 };
80909 A._EvaluateVisitor_visitExtendRule_closure1.prototype = {
80910 call$0() {
80911 return A.SelectorList_SelectorList$parse0(A.trimAscii0(this.targetText.value, true), false, true, this.$this._evaluate0$_logger);
80912 },
80913 $signature: 49
80914 };
80915 A._EvaluateVisitor_visitAtRule_closure5.prototype = {
80916 call$1(value) {
80917 return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
80918 },
80919 $signature: 410
80920 };
80921 A._EvaluateVisitor_visitAtRule_closure6.prototype = {
80922 call$0() {
80923 var t2, t3, _i,
80924 t1 = this.$this,
80925 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
80926 if (styleRule == null || t1._evaluate0$_inKeyframes)
80927 for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
80928 t2[_i].accept$1(t1);
80929 else
80930 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);
80931 },
80932 $signature: 1
80933 };
80934 A._EvaluateVisitor_visitAtRule__closure1.prototype = {
80935 call$0() {
80936 var t1, t2, t3, _i;
80937 for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
80938 t1[_i].accept$1(t3);
80939 },
80940 $signature: 1
80941 };
80942 A._EvaluateVisitor_visitAtRule_closure7.prototype = {
80943 call$1(node) {
80944 return type$.CssStyleRule_2._is(node);
80945 },
80946 $signature: 8
80947 };
80948 A._EvaluateVisitor_visitForRule_closure9.prototype = {
80949 call$0() {
80950 return this.node.from.accept$1(this.$this).assertNumber$0();
80951 },
80952 $signature: 217
80953 };
80954 A._EvaluateVisitor_visitForRule_closure10.prototype = {
80955 call$0() {
80956 return this.node.to.accept$1(this.$this).assertNumber$0();
80957 },
80958 $signature: 217
80959 };
80960 A._EvaluateVisitor_visitForRule_closure11.prototype = {
80961 call$0() {
80962 return this.fromNumber.assertInt$0();
80963 },
80964 $signature: 12
80965 };
80966 A._EvaluateVisitor_visitForRule_closure12.prototype = {
80967 call$0() {
80968 var t1 = this.fromNumber;
80969 return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
80970 },
80971 $signature: 12
80972 };
80973 A._EvaluateVisitor_visitForRule_closure13.prototype = {
80974 call$0() {
80975 var i, t3, t4, t5, t6, t7, t8, result, _this = this,
80976 t1 = _this.$this,
80977 t2 = _this.node,
80978 nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
80979 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) {
80980 t7 = t1._evaluate0$_environment;
80981 t8 = t6.get$numeratorUnits(t6);
80982 t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
80983 result = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
80984 if (result != null)
80985 return result;
80986 }
80987 return null;
80988 },
80989 $signature: 38
80990 };
80991 A._EvaluateVisitor_visitForRule__closure1.prototype = {
80992 call$1(child) {
80993 return child.accept$1(this.$this);
80994 },
80995 $signature: 94
80996 };
80997 A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
80998 call$1(module) {
80999 this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
81000 },
81001 $signature: 60
81002 };
81003 A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
81004 call$1(module) {
81005 this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
81006 },
81007 $signature: 60
81008 };
81009 A._EvaluateVisitor_visitIfRule_closure1.prototype = {
81010 call$0() {
81011 var t1 = this.$this;
81012 return t1._evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure1(t1));
81013 },
81014 $signature: 38
81015 };
81016 A._EvaluateVisitor_visitIfRule__closure1.prototype = {
81017 call$1(child) {
81018 return child.accept$1(this.$this);
81019 },
81020 $signature: 94
81021 };
81022 A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
81023 call$0() {
81024 var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
81025 t1 = this.$this,
81026 t2 = this.$import,
81027 result = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true),
81028 stylesheet = result.stylesheet,
81029 url = stylesheet.span.file.url;
81030 if (url != null) {
81031 t3 = t1._evaluate0$_activeModules;
81032 if (t3.containsKey$1(url)) {
81033 t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
81034 throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
81035 }
81036 t3.$indexSet(0, url, t2);
81037 }
81038 t2 = stylesheet._stylesheet1$_uses;
81039 t3 = type$.UnmodifiableListView_UseRule_2;
81040 t4 = new A.UnmodifiableListView(t2, t3);
81041 if (t4.get$length(t4) === 0) {
81042 t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81043 t4 = t4.get$length(t4) === 0;
81044 } else
81045 t4 = false;
81046 if (t4) {
81047 oldImporter = t1._evaluate0$_importer;
81048 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
81049 oldInDependency = t1._evaluate0$_inDependency;
81050 t1._evaluate0$_importer = result.importer;
81051 t1._evaluate0$__stylesheet = stylesheet;
81052 t1._evaluate0$_inDependency = result.isDependency;
81053 t1.visitStylesheet$1(stylesheet);
81054 t1._evaluate0$_importer = oldImporter;
81055 t1._evaluate0$__stylesheet = t2;
81056 t1._evaluate0$_inDependency = oldInDependency;
81057 t1._evaluate0$_activeModules.remove$1(0, url);
81058 return;
81059 }
81060 t2 = new A.UnmodifiableListView(t2, t3);
81061 if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
81062 t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81063 loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
81064 } else
81065 loadsUserDefinedModules = true;
81066 children = A._Cell$();
81067 t2 = t1._evaluate0$_environment;
81068 t3 = type$.String;
81069 t4 = type$.Module_Callable_2;
81070 t5 = type$.AstNode_2;
81071 t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
81072 t7 = t2._environment0$_variables;
81073 t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
81074 t8 = t2._environment0$_variableNodes;
81075 t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
81076 t9 = t2._environment0$_functions;
81077 t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
81078 t10 = t2._environment0$_mixins;
81079 t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
81080 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);
81081 t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
81082 module = environment.toDummyModule$0();
81083 t1._evaluate0$_environment.importForwards$1(module);
81084 if (loadsUserDefinedModules) {
81085 if (module.transitivelyContainsCss)
81086 t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
81087 visitor = new A._ImportedCssVisitor1(t1);
81088 for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
81089 t2.get$current(t2).accept$1(visitor);
81090 }
81091 t1._evaluate0$_activeModules.remove$1(0, url);
81092 },
81093 $signature: 0
81094 };
81095 A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
81096 call$1(previousLoad) {
81097 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));
81098 },
81099 $signature: 84
81100 };
81101 A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
81102 call$1(rule) {
81103 return rule.url.get$scheme() !== "sass";
81104 },
81105 $signature: 176
81106 };
81107 A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
81108 call$1(rule) {
81109 return rule.url.get$scheme() !== "sass";
81110 },
81111 $signature: 177
81112 };
81113 A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
81114 call$0() {
81115 var t7, t8, t9, _this = this,
81116 t1 = _this.$this,
81117 oldImporter = t1._evaluate0$_importer,
81118 t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
81119 t3 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
81120 t4 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
81121 t5 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
81122 oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
81123 oldConfiguration = t1._evaluate0$_configuration,
81124 oldInDependency = t1._evaluate0$_inDependency,
81125 t6 = _this.result;
81126 t1._evaluate0$_importer = t6.importer;
81127 t7 = t1._evaluate0$__stylesheet = _this.stylesheet;
81128 t8 = _this.loadsUserDefinedModules;
81129 if (t8) {
81130 t9 = A.ModifiableCssStylesheet$0(t7.span);
81131 t1._evaluate0$__root = t9;
81132 t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t9, "_root");
81133 t1._evaluate0$__endOfImports = 0;
81134 t1._evaluate0$_outOfOrderImports = null;
81135 }
81136 t1._evaluate0$_inDependency = t6.isDependency;
81137 t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
81138 if (!t6.get$isEmpty(t6))
81139 t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
81140 t1.visitStylesheet$1(t7);
81141 t6 = t8 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
81142 _this.children._value = t6;
81143 t1._evaluate0$_importer = oldImporter;
81144 t1._evaluate0$__stylesheet = t2;
81145 t1._evaluate0$__root = t3;
81146 t1._evaluate0$__parent = t4;
81147 t1._evaluate0$__endOfImports = t5;
81148 t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
81149 t1._evaluate0$_configuration = oldConfiguration;
81150 t1._evaluate0$_inDependency = oldInDependency;
81151 },
81152 $signature: 1
81153 };
81154 A._EvaluateVisitor__visitStaticImport_closure1.prototype = {
81155 call$1(supports) {
81156 var t2, t3, arg,
81157 t1 = this.$this;
81158 if (supports instanceof A.SupportsDeclaration0) {
81159 t2 = supports.name;
81160 t2 = t1._evaluate0$_serialize$3$quote(t2.accept$1(t1), t2, true) + ":";
81161 t3 = supports.value;
81162 arg = t2 + (supports.get$isCustomProperty() ? "" : " ") + t1._evaluate0$_serialize$3$quote(t3.accept$1(t1), t3, true);
81163 } else
81164 arg = A.NullableExtension_andThen0(supports, t1.get$_evaluate0$_visitSupportsCondition());
81165 return new A.CssValue0("supports(" + A.S(arg) + ")", supports.get$span(supports), type$.CssValue_String_2);
81166 },
81167 $signature: 412
81168 };
81169 A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
81170 call$0() {
81171 var t1 = this.node;
81172 return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
81173 },
81174 $signature: 112
81175 };
81176 A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
81177 call$0() {
81178 return this.node.get$spanWithoutContent();
81179 },
81180 $signature: 29
81181 };
81182 A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
81183 call$1($content) {
81184 return new A.UserDefinedCallable0($content, this.$this._evaluate0$_environment.closure$0(), type$.UserDefinedCallable_Environment_2);
81185 },
81186 $signature: 413
81187 };
81188 A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
81189 call$0() {
81190 var _this = this,
81191 t1 = _this.$this,
81192 t2 = t1._evaluate0$_environment,
81193 oldContent = t2._environment0$_content;
81194 t2._environment0$_content = _this.contentCallable;
81195 new A._EvaluateVisitor_visitIncludeRule__closure1(t1, _this.mixin, _this.nodeWithSpan).call$0();
81196 t2._environment0$_content = oldContent;
81197 },
81198 $signature: 1
81199 };
81200 A._EvaluateVisitor_visitIncludeRule__closure1.prototype = {
81201 call$0() {
81202 var t1 = this.$this,
81203 t2 = t1._evaluate0$_environment,
81204 oldInMixin = t2._environment0$_inMixin;
81205 t2._environment0$_inMixin = true;
81206 new A._EvaluateVisitor_visitIncludeRule___closure1(t1, this.mixin, this.nodeWithSpan).call$0();
81207 t2._environment0$_inMixin = oldInMixin;
81208 },
81209 $signature: 0
81210 };
81211 A._EvaluateVisitor_visitIncludeRule___closure1.prototype = {
81212 call$0() {
81213 var t1, t2, t3, t4, _i;
81214 for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
81215 t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure1(t3, t1[_i]));
81216 },
81217 $signature: 0
81218 };
81219 A._EvaluateVisitor_visitIncludeRule____closure1.prototype = {
81220 call$0() {
81221 return this.statement.accept$1(this.$this);
81222 },
81223 $signature: 38
81224 };
81225 A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
81226 call$1(mediaQueries) {
81227 return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
81228 },
81229 $signature: 76
81230 };
81231 A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
81232 call$0() {
81233 var _this = this,
81234 t1 = _this.$this,
81235 t2 = _this.mergedQueries;
81236 if (t2 == null)
81237 t2 = _this.queries;
81238 t1._evaluate0$_withMediaQueries$2(t2, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
81239 },
81240 $signature: 1
81241 };
81242 A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
81243 call$0() {
81244 var t2, t3, _i,
81245 t1 = this.$this,
81246 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81247 if (styleRule == null)
81248 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
81249 t2[_i].accept$1(t1);
81250 else
81251 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);
81252 },
81253 $signature: 1
81254 };
81255 A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
81256 call$0() {
81257 var t1, t2, t3, _i;
81258 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81259 t1[_i].accept$1(t3);
81260 },
81261 $signature: 1
81262 };
81263 A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
81264 call$1(node) {
81265 var t1;
81266 if (!type$.CssStyleRule_2._is(node))
81267 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
81268 else
81269 t1 = true;
81270 return t1;
81271 },
81272 $signature: 8
81273 };
81274 A._EvaluateVisitor__visitMediaQueries_closure1.prototype = {
81275 call$0() {
81276 var t1 = A.SpanScanner$(this.resolved, null);
81277 return new A.MediaQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
81278 },
81279 $signature: 132
81280 };
81281 A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
81282 call$0() {
81283 return A.KeyframeSelectorParser$0(this.selectorText.value, this.$this._evaluate0$_logger).parse$0();
81284 },
81285 $signature: 48
81286 };
81287 A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
81288 call$0() {
81289 var t1, t2, t3, _i;
81290 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81291 t1[_i].accept$1(t3);
81292 },
81293 $signature: 1
81294 };
81295 A._EvaluateVisitor_visitStyleRule_closure15.prototype = {
81296 call$1(node) {
81297 return type$.CssStyleRule_2._is(node);
81298 },
81299 $signature: 8
81300 };
81301 A._EvaluateVisitor_visitStyleRule_closure16.prototype = {
81302 call$0() {
81303 var _s11_ = "_stylesheet",
81304 t1 = this.$this;
81305 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);
81306 },
81307 $signature: 49
81308 };
81309 A._EvaluateVisitor_visitStyleRule_closure17.prototype = {
81310 call$0() {
81311 var t1 = this._box_0.parsedSelector,
81312 t2 = this.$this,
81313 t3 = t2._evaluate0$_styleRuleIgnoringAtRoot;
81314 t3 = t3 == null ? null : t3.originalSelector;
81315 return t1.resolveParentSelectors$2$implicitParent(t3, !t2._evaluate0$_atRootExcludingStyleRule);
81316 },
81317 $signature: 49
81318 };
81319 A._EvaluateVisitor_visitStyleRule_closure18.prototype = {
81320 call$0() {
81321 var t1 = this.$this;
81322 t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
81323 },
81324 $signature: 1
81325 };
81326 A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
81327 call$0() {
81328 var t1, t2, t3, _i;
81329 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81330 t1[_i].accept$1(t3);
81331 },
81332 $signature: 1
81333 };
81334 A._EvaluateVisitor_visitStyleRule_closure19.prototype = {
81335 call$1(node) {
81336 return type$.CssStyleRule_2._is(node);
81337 },
81338 $signature: 8
81339 };
81340 A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
81341 call$0() {
81342 var t2, t3, _i,
81343 t1 = this.$this,
81344 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81345 if (styleRule == null)
81346 for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
81347 t2[_i].accept$1(t1);
81348 else
81349 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);
81350 },
81351 $signature: 1
81352 };
81353 A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
81354 call$0() {
81355 var t1, t2, t3, _i;
81356 for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
81357 t1[_i].accept$1(t3);
81358 },
81359 $signature: 1
81360 };
81361 A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
81362 call$1(node) {
81363 return type$.CssStyleRule_2._is(node);
81364 },
81365 $signature: 8
81366 };
81367 A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
81368 call$0() {
81369 var t1 = this.override;
81370 this.$this._evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
81371 },
81372 $signature: 1
81373 };
81374 A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
81375 call$0() {
81376 var t1 = this.node;
81377 return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
81378 },
81379 $signature: 38
81380 };
81381 A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
81382 call$0() {
81383 var t1 = this.$this,
81384 t2 = this.node;
81385 t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
81386 },
81387 $signature: 1
81388 };
81389 A._EvaluateVisitor_visitUseRule_closure1.prototype = {
81390 call$1(module) {
81391 var t1 = this.node;
81392 this.$this._evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
81393 },
81394 $signature: 60
81395 };
81396 A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
81397 call$0() {
81398 return this.node.expression.accept$1(this.$this);
81399 },
81400 $signature: 45
81401 };
81402 A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
81403 call$0() {
81404 var t1, t2, t3, result;
81405 for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
81406 result = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
81407 if (result != null)
81408 return result;
81409 }
81410 return null;
81411 },
81412 $signature: 38
81413 };
81414 A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
81415 call$1(child) {
81416 return child.accept$1(this.$this);
81417 },
81418 $signature: 94
81419 };
81420 A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
81421 call$0() {
81422 var right, result,
81423 t1 = this.node,
81424 t2 = this.$this,
81425 left = t1.left.accept$1(t2),
81426 t3 = t1.operator;
81427 switch (t3) {
81428 case B.BinaryOperator_kjl0:
81429 right = t1.right.accept$1(t2);
81430 return new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
81431 case B.BinaryOperator_or_or_10:
81432 return left.get$isTruthy() ? left : t1.right.accept$1(t2);
81433 case B.BinaryOperator_and_and_20:
81434 return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
81435 case B.BinaryOperator_YlX0:
81436 return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
81437 case B.BinaryOperator_i5H0:
81438 return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
81439 case B.BinaryOperator_AcR1:
81440 return left.greaterThan$1(t1.right.accept$1(t2));
81441 case B.BinaryOperator_1da0:
81442 return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
81443 case B.BinaryOperator_8qt0:
81444 return left.lessThan$1(t1.right.accept$1(t2));
81445 case B.BinaryOperator_33h0:
81446 return left.lessThanOrEquals$1(t1.right.accept$1(t2));
81447 case B.BinaryOperator_AcR2:
81448 return left.plus$1(t1.right.accept$1(t2));
81449 case B.BinaryOperator_iyO0:
81450 return left.minus$1(t1.right.accept$1(t2));
81451 case B.BinaryOperator_O1M0:
81452 return left.times$1(t1.right.accept$1(t2));
81453 case B.BinaryOperator_RTB0:
81454 right = t1.right.accept$1(t2);
81455 result = left.dividedBy$1(right);
81456 if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
81457 return type$.SassNumber_2._as(result).withSlash$2(left, right);
81458 else {
81459 if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
81460 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);
81461 return result;
81462 }
81463 case B.BinaryOperator_2ad0:
81464 return left.modulo$1(t1.right.accept$1(t2));
81465 default:
81466 throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
81467 }
81468 },
81469 $signature: 45
81470 };
81471 A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1.prototype = {
81472 call$1(expression) {
81473 if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_RTB0)
81474 return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
81475 else if (expression instanceof A.ParenthesizedExpression0)
81476 return expression.expression.toString$0(0);
81477 else
81478 return expression.toString$0(0);
81479 },
81480 $signature: 130
81481 };
81482 A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
81483 call$0() {
81484 var t1 = this.node;
81485 return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
81486 },
81487 $signature: 38
81488 };
81489 A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
81490 call$0() {
81491 var _this = this,
81492 t1 = _this.node.operator;
81493 switch (t1) {
81494 case B.UnaryOperator_j2w0:
81495 return _this.operand.unaryPlus$0();
81496 case B.UnaryOperator_U4G0:
81497 return _this.operand.unaryMinus$0();
81498 case B.UnaryOperator_zDx0:
81499 return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
81500 case B.UnaryOperator_not_not0:
81501 return _this.operand.unaryNot$0();
81502 default:
81503 throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
81504 }
81505 },
81506 $signature: 45
81507 };
81508 A._EvaluateVisitor__visitCalculationValue_closure1.prototype = {
81509 call$0() {
81510 var t1 = this.$this,
81511 t2 = this.node,
81512 t3 = this.inMinMax;
81513 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);
81514 },
81515 $signature: 85
81516 };
81517 A._EvaluateVisitor_visitListExpression_closure1.prototype = {
81518 call$1(expression) {
81519 return expression.accept$1(this.$this);
81520 },
81521 $signature: 414
81522 };
81523 A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
81524 call$0() {
81525 var t1 = this.node;
81526 return this.$this._evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
81527 },
81528 $signature: 112
81529 };
81530 A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
81531 call$0() {
81532 var t1 = this.node;
81533 return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
81534 },
81535 $signature: 45
81536 };
81537 A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
81538 call$0() {
81539 var t1 = this.node;
81540 return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
81541 },
81542 $signature: 45
81543 };
81544 A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
81545 call$0() {
81546 var _this = this,
81547 t1 = _this.$this,
81548 t2 = _this.callable;
81549 return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
81550 },
81551 $signature() {
81552 return this.V._eval$1("0()");
81553 }
81554 };
81555 A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
81556 call$0() {
81557 var _this = this,
81558 t1 = _this.$this,
81559 t2 = _this.V;
81560 return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
81561 },
81562 $signature() {
81563 return this.V._eval$1("0()");
81564 }
81565 };
81566 A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
81567 call$0() {
81568 var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, argumentWord, argumentNames, _this = this,
81569 t1 = _this.$this,
81570 t2 = _this.evaluated,
81571 t3 = t2.positional,
81572 t4 = t2.named,
81573 t5 = _this.callable.declaration.$arguments,
81574 t6 = _this.nodeWithSpan;
81575 t1._evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
81576 declaredArguments = t5.$arguments;
81577 t7 = declaredArguments.length;
81578 minLength = Math.min(t3.length, t7);
81579 for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
81580 t1._evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
81581 for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
81582 argument = declaredArguments[i];
81583 t9 = argument.name;
81584 value = t4.remove$1(0, t9);
81585 if (value == null) {
81586 t10 = argument.defaultValue;
81587 value = t1._evaluate0$_withoutSlash$2(t10.accept$1(t1), t1._evaluate0$_expressionNode$1(t10));
81588 }
81589 t10 = t1._evaluate0$_environment;
81590 t11 = t8.$index(0, t9);
81591 if (t11 == null) {
81592 t11 = argument.defaultValue;
81593 t11.toString;
81594 t11 = t1._evaluate0$_expressionNode$1(t11);
81595 }
81596 t10.setLocalVariable$3(t9, value, t11);
81597 }
81598 restArgument = t5.restArgument;
81599 if (restArgument != null) {
81600 rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty15;
81601 t2 = t2.separator;
81602 argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null0 ? B.ListSeparator_kWM0 : t2);
81603 t1._evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
81604 } else
81605 argumentList = null;
81606 result = _this.run.call$0();
81607 if (argumentList == null)
81608 return result;
81609 if (t4.get$isEmpty(t4))
81610 return result;
81611 if (argumentList._argument_list$_wereKeywordsAccessed)
81612 return result;
81613 t2 = t4.get$keys(t4);
81614 argumentWord = A.pluralize0("argument", t2.get$length(t2), null);
81615 t4 = t4.get$keys(t4);
81616 argumentNames = A.toSentence0(A.MappedIterable_MappedIterable(t4, new A._EvaluateVisitor__runUserDefinedCallable____closure1(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Object), "or");
81617 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))));
81618 },
81619 $signature() {
81620 return this.V._eval$1("0()");
81621 }
81622 };
81623 A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
81624 call$1($name) {
81625 return "$" + $name;
81626 },
81627 $signature: 5
81628 };
81629 A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
81630 call$0() {
81631 var t1, t2, t3, t4, _i, $returnValue;
81632 for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
81633 $returnValue = t2[_i].accept$1(t4);
81634 if ($returnValue instanceof A.Value0)
81635 return $returnValue;
81636 }
81637 throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
81638 },
81639 $signature: 45
81640 };
81641 A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
81642 call$0() {
81643 return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
81644 },
81645 $signature: 0
81646 };
81647 A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
81648 call$1($name) {
81649 return "$" + $name;
81650 },
81651 $signature: 5
81652 };
81653 A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
81654 call$1(value) {
81655 return value;
81656 },
81657 $signature: 36
81658 };
81659 A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
81660 call$1(value) {
81661 return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
81662 },
81663 $signature: 36
81664 };
81665 A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
81666 call$2(key, value) {
81667 var _this = this,
81668 t1 = _this.restNodeForSpan;
81669 _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
81670 _this.namedNodes.$indexSet(0, key, t1);
81671 },
81672 $signature: 89
81673 };
81674 A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
81675 call$1(value) {
81676 return value;
81677 },
81678 $signature: 36
81679 };
81680 A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
81681 call$1(value) {
81682 var t1 = this.restArgs;
81683 return new A.ValueExpression0(value, t1.get$span(t1));
81684 },
81685 $signature: 58
81686 };
81687 A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
81688 call$1(value) {
81689 var t1 = this.restArgs;
81690 return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
81691 },
81692 $signature: 58
81693 };
81694 A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
81695 call$2(key, value) {
81696 var _this = this,
81697 t1 = _this.restArgs;
81698 _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
81699 },
81700 $signature: 89
81701 };
81702 A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
81703 call$1(value) {
81704 var t1 = this.keywordRestArgs;
81705 return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
81706 },
81707 $signature: 58
81708 };
81709 A._EvaluateVisitor__addRestMap_closure1.prototype = {
81710 call$2(key, value) {
81711 var t2, _this = this,
81712 t1 = _this.$this;
81713 if (key instanceof A.SassString0)
81714 _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
81715 else {
81716 t2 = _this.nodeWithSpan;
81717 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)));
81718 }
81719 },
81720 $signature: 53
81721 };
81722 A._EvaluateVisitor__verifyArguments_closure1.prototype = {
81723 call$0() {
81724 return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
81725 },
81726 $signature: 0
81727 };
81728 A._EvaluateVisitor_visitStringExpression_closure1.prototype = {
81729 call$1(value) {
81730 var t1, result;
81731 if (typeof value == "string")
81732 return value;
81733 type$.Expression_2._as(value);
81734 t1 = this.$this;
81735 result = value.accept$1(t1);
81736 return result instanceof A.SassString0 ? result._string0$_text : t1._evaluate0$_serialize$3$quote(result, value, false);
81737 },
81738 $signature: 47
81739 };
81740 A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
81741 call$0() {
81742 var t1, t2, t3;
81743 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();)
81744 t2._as(t1.__internal$_current).accept$1(t3);
81745 },
81746 $signature: 1
81747 };
81748 A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
81749 call$1(node) {
81750 return type$.CssStyleRule_2._is(node);
81751 },
81752 $signature: 8
81753 };
81754 A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
81755 call$0() {
81756 var t1, t2, t3;
81757 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();)
81758 t2._as(t1.__internal$_current).accept$1(t3);
81759 },
81760 $signature: 1
81761 };
81762 A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
81763 call$1(node) {
81764 return type$.CssStyleRule_2._is(node);
81765 },
81766 $signature: 8
81767 };
81768 A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
81769 call$1(mediaQueries) {
81770 return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
81771 },
81772 $signature: 76
81773 };
81774 A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
81775 call$0() {
81776 var _this = this,
81777 t1 = _this.$this,
81778 t2 = _this.mergedQueries;
81779 if (t2 == null)
81780 t2 = _this.node.queries;
81781 t1._evaluate0$_withMediaQueries$2(t2, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
81782 },
81783 $signature: 1
81784 };
81785 A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
81786 call$0() {
81787 var t2, t3,
81788 t1 = this.$this,
81789 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81790 if (styleRule == null)
81791 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
81792 t3._as(t2.__internal$_current).accept$1(t1);
81793 else
81794 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);
81795 },
81796 $signature: 1
81797 };
81798 A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
81799 call$0() {
81800 var t1, t2, t3;
81801 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();)
81802 t2._as(t1.__internal$_current).accept$1(t3);
81803 },
81804 $signature: 1
81805 };
81806 A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
81807 call$1(node) {
81808 var t1;
81809 if (!type$.CssStyleRule_2._is(node))
81810 t1 = this.mergedQueries != null && type$.CssMediaRule_2._is(node);
81811 else
81812 t1 = true;
81813 return t1;
81814 },
81815 $signature: 8
81816 };
81817 A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
81818 call$0() {
81819 var t1 = this.$this;
81820 t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
81821 },
81822 $signature: 1
81823 };
81824 A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
81825 call$0() {
81826 var t1, t2, t3;
81827 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();)
81828 t2._as(t1.__internal$_current).accept$1(t3);
81829 },
81830 $signature: 1
81831 };
81832 A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
81833 call$1(node) {
81834 return type$.CssStyleRule_2._is(node);
81835 },
81836 $signature: 8
81837 };
81838 A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
81839 call$0() {
81840 var t2, t3,
81841 t1 = this.$this,
81842 styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
81843 if (styleRule == null)
81844 for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();)
81845 t3._as(t2.__internal$_current).accept$1(t1);
81846 else
81847 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);
81848 },
81849 $signature: 1
81850 };
81851 A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
81852 call$0() {
81853 var t1, t2, t3;
81854 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();)
81855 t2._as(t1.__internal$_current).accept$1(t3);
81856 },
81857 $signature: 1
81858 };
81859 A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
81860 call$1(node) {
81861 return type$.CssStyleRule_2._is(node);
81862 },
81863 $signature: 8
81864 };
81865 A._EvaluateVisitor__performInterpolation_closure1.prototype = {
81866 call$1(value) {
81867 var t1, result, t2, t3;
81868 if (typeof value == "string")
81869 return value;
81870 type$.Expression_2._as(value);
81871 t1 = this.$this;
81872 result = value.accept$1(t1);
81873 if (this.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
81874 t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
81875 t3 = $.$get$namesByColor0();
81876 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));
81877 }
81878 return t1._evaluate0$_serialize$3$quote(result, value, false);
81879 },
81880 $signature: 47
81881 };
81882 A._EvaluateVisitor__serialize_closure1.prototype = {
81883 call$0() {
81884 return A.serializeValue0(this.value, false, this.quote);
81885 },
81886 $signature: 30
81887 };
81888 A._EvaluateVisitor__expressionNode_closure1.prototype = {
81889 call$0() {
81890 var t1 = this.expression;
81891 return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
81892 },
81893 $signature: 187
81894 };
81895 A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
81896 call$1(number) {
81897 var asSlash = number.asSlash;
81898 if (asSlash != null)
81899 return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
81900 else
81901 return A.serializeValue0(number, true, true);
81902 },
81903 $signature: 188
81904 };
81905 A._EvaluateVisitor__stackFrame_closure1.prototype = {
81906 call$1(url) {
81907 var t1 = this.$this._evaluate0$_importCache;
81908 t1 = t1 == null ? null : t1.humanize$1(url);
81909 return t1 == null ? url : t1;
81910 },
81911 $signature: 88
81912 };
81913 A._EvaluateVisitor__stackTrace_closure1.prototype = {
81914 call$1(tuple) {
81915 return this.$this._evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
81916 },
81917 $signature: 189
81918 };
81919 A._ImportedCssVisitor1.prototype = {
81920 visitCssAtRule$1(node) {
81921 var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
81922 this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
81923 },
81924 visitCssComment$1(node) {
81925 return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
81926 },
81927 visitCssDeclaration$1(node) {
81928 },
81929 visitCssImport$1(node) {
81930 var t2,
81931 _s13_ = "_endOfImports",
81932 t1 = this._evaluate0$_visitor;
81933 if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
81934 t1._evaluate0$_addChild$1(node);
81935 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)) {
81936 t1._evaluate0$_addChild$1(node);
81937 t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
81938 } else {
81939 t2 = t1._evaluate0$_outOfOrderImports;
81940 (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
81941 }
81942 },
81943 visitCssKeyframeBlock$1(node) {
81944 },
81945 visitCssMediaRule$1(node) {
81946 var t1 = this._evaluate0$_visitor,
81947 mediaQueries = t1._evaluate0$_mediaQueries;
81948 t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
81949 },
81950 visitCssStyleRule$1(node) {
81951 return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
81952 },
81953 visitCssStylesheet$1(node) {
81954 var t1, t2;
81955 for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();)
81956 t2._as(t1.__internal$_current).accept$1(this);
81957 },
81958 visitCssSupportsRule$1(node) {
81959 return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
81960 }
81961 };
81962 A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
81963 call$1(node) {
81964 return type$.CssStyleRule_2._is(node);
81965 },
81966 $signature: 8
81967 };
81968 A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
81969 call$1(node) {
81970 var t1;
81971 if (!type$.CssStyleRule_2._is(node))
81972 t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
81973 else
81974 t1 = true;
81975 return t1;
81976 },
81977 $signature: 8
81978 };
81979 A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
81980 call$1(node) {
81981 return type$.CssStyleRule_2._is(node);
81982 },
81983 $signature: 8
81984 };
81985 A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
81986 call$1(node) {
81987 return type$.CssStyleRule_2._is(node);
81988 },
81989 $signature: 8
81990 };
81991 A._EvaluationContext1.prototype = {
81992 get$currentCallableSpan() {
81993 var callableNode = this._evaluate0$_visitor._evaluate0$_callableNode;
81994 if (callableNode != null)
81995 return callableNode.get$span(callableNode);
81996 throw A.wrapException(A.StateError$(string$.No_Sasc));
81997 },
81998 warn$2$deprecation(_, message, deprecation) {
81999 var t1 = this._evaluate0$_visitor,
82000 t2 = t1._evaluate0$_importSpan;
82001 if (t2 == null) {
82002 t2 = t1._evaluate0$_callableNode;
82003 t2 = t2 == null ? null : t2.get$span(t2);
82004 }
82005 t1._evaluate0$_warn$3$deprecation(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
82006 },
82007 $isEvaluationContext0: 1
82008 };
82009 A._ArgumentResults1.prototype = {};
82010 A._LoadedStylesheet1.prototype = {};
82011 A._NodeException.prototype = {};
82012 A.exceptionClass_closure.prototype = {
82013 call$0() {
82014 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());
82015 A.defineGetter(jsClass, "name", null, "sass.Exception");
82016 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));
82017 return jsClass;
82018 },
82019 $signature: 25
82020 };
82021 A.exceptionClass__closure.prototype = {
82022 call$1(exception) {
82023 return J.get$_dartException$x(exception)._span_exception$_message;
82024 },
82025 $signature: 218
82026 };
82027 A.exceptionClass__closure0.prototype = {
82028 call$1(exception) {
82029 return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
82030 },
82031 $signature: 218
82032 };
82033 A.exceptionClass__closure1.prototype = {
82034 call$1(exception) {
82035 var t1 = J.get$_dartException$x(exception),
82036 t2 = J.getInterceptor$z(t1);
82037 return A.SourceSpanException.prototype.get$span.call(t2, t1);
82038 },
82039 $signature: 416
82040 };
82041 A.SassException0.prototype = {
82042 get$trace(_) {
82043 return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
82044 },
82045 get$span(_) {
82046 return A.SourceSpanException.prototype.get$span.call(this, this);
82047 },
82048 toString$1$color(_, color) {
82049 var t2, _i, frame, t3, _this = this,
82050 buffer = new A.StringBuffer(""),
82051 t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
82052 buffer._contents = t1;
82053 buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
82054 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
82055 frame = t1[_i];
82056 if (J.get$length$asx(frame) === 0)
82057 continue;
82058 t3 = buffer._contents += "\n";
82059 buffer._contents = t3 + (" " + A.S(frame));
82060 }
82061 t1 = buffer._contents;
82062 return t1.charCodeAt(0) == 0 ? t1 : t1;
82063 },
82064 toString$0($receiver) {
82065 return this.toString$1$color($receiver, null);
82066 }
82067 };
82068 A.MultiSpanSassException0.prototype = {
82069 toString$1$color(_, color) {
82070 var t1, t2, _i, frame, _this = this,
82071 useColor = color === true && true,
82072 buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
82073 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));
82074 for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
82075 frame = t1[_i];
82076 if (J.get$length$asx(frame) === 0)
82077 continue;
82078 buffer._contents += "\n";
82079 buffer._contents += " " + A.S(frame);
82080 }
82081 t1 = buffer._contents;
82082 return t1.charCodeAt(0) == 0 ? t1 : t1;
82083 },
82084 toString$0($receiver) {
82085 return this.toString$1$color($receiver, null);
82086 }
82087 };
82088 A.SassRuntimeException0.prototype = {
82089 get$trace(receiver) {
82090 return this.trace;
82091 }
82092 };
82093 A.MultiSpanSassRuntimeException0.prototype = {$isSassRuntimeException0: 1,
82094 get$trace(receiver) {
82095 return this.trace;
82096 }
82097 };
82098 A.SassFormatException0.prototype = {
82099 get$source() {
82100 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(A.SourceSpanException.prototype.get$span.call(this, this).file._decodedChars, 0, null), 0, null);
82101 },
82102 $isFormatException: 1,
82103 $isSourceSpanFormatException: 1
82104 };
82105 A.SassScriptException0.prototype = {
82106 toString$0(_) {
82107 return this.message + string$.x0a_BUG_;
82108 },
82109 get$message(receiver) {
82110 return this.message;
82111 }
82112 };
82113 A.MultiSpanSassScriptException0.prototype = {};
82114 A.Exports.prototype = {};
82115 A.LoggerNamespace.prototype = {};
82116 A.ExtendRule0.prototype = {
82117 accept$1$1(visitor) {
82118 return visitor.visitExtendRule$1(this);
82119 },
82120 accept$1(visitor) {
82121 return this.accept$1$1(visitor, type$.dynamic);
82122 },
82123 toString$0(_) {
82124 return "@extend " + this.selector.toString$0(0);
82125 },
82126 $isAstNode0: 1,
82127 $isStatement0: 1,
82128 get$span(receiver) {
82129 return this.span;
82130 }
82131 };
82132 A.Extension0.prototype = {
82133 toString$0(_) {
82134 var t1 = this.extender.toString$0(0) + " {@extend " + this.target.toString$0(0);
82135 return t1 + (this.isOptional ? " !optional" : "") + "}";
82136 }
82137 };
82138 A.Extender0.prototype = {
82139 assertCompatibleMediaContext$1(mediaContext) {
82140 var expectedMediaContext,
82141 extension = this._extension$_extension;
82142 if (extension == null)
82143 return;
82144 expectedMediaContext = extension.mediaContext;
82145 if (expectedMediaContext == null)
82146 return;
82147 if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
82148 return;
82149 throw A.wrapException(A.SassException$0(string$.You_ma, extension.span));
82150 },
82151 toString$0(_) {
82152 return A.serializeSelector0(this.selector, true);
82153 }
82154 };
82155 A.ExtensionStore0.prototype = {
82156 get$isEmpty(_) {
82157 var t1 = this._extension_store$_extensions;
82158 return t1.get$isEmpty(t1);
82159 },
82160 get$simpleSelectors() {
82161 return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
82162 },
82163 extensionsWhereTarget$1($async$callback) {
82164 var $async$self = this;
82165 return A._makeSyncStarIterable(function() {
82166 var callback = $async$callback;
82167 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
82168 return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
82169 if ($async$errorCode === 1) {
82170 $async$currentError = $async$result;
82171 $async$goto = $async$handler;
82172 }
82173 while (true)
82174 switch ($async$goto) {
82175 case 0:
82176 // Function start
82177 t1 = $async$self._extension_store$_extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
82178 case 2:
82179 // for condition
82180 if (!t1.moveNext$0()) {
82181 // goto after for
82182 $async$goto = 3;
82183 break;
82184 }
82185 t2 = t1.get$current(t1);
82186 if (!callback.call$1(t2.key)) {
82187 // goto for condition
82188 $async$goto = 2;
82189 break;
82190 }
82191 t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
82192 case 4:
82193 // for condition
82194 if (!t2.moveNext$0()) {
82195 // goto after for
82196 $async$goto = 5;
82197 break;
82198 }
82199 t3 = t2.get$current(t2);
82200 $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
82201 break;
82202 case 6:
82203 // then
82204 t3 = t3.unmerge$0();
82205 $async$goto = 9;
82206 return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
82207 case 9:
82208 // after yield
82209 // goto join
82210 $async$goto = 7;
82211 break;
82212 case 8:
82213 // else
82214 $async$goto = !t3.isOptional ? 10 : 11;
82215 break;
82216 case 10:
82217 // then
82218 $async$goto = 12;
82219 return t3;
82220 case 12:
82221 // after yield
82222 case 11:
82223 // join
82224 case 7:
82225 // join
82226 // goto for condition
82227 $async$goto = 4;
82228 break;
82229 case 5:
82230 // after for
82231 // goto for condition
82232 $async$goto = 2;
82233 break;
82234 case 3:
82235 // after for
82236 // implicit return
82237 return A._IterationMarker_endOfIteration();
82238 case 1:
82239 // rethrow
82240 return A._IterationMarker_uncaughtError($async$currentError);
82241 }
82242 };
82243 }, type$.Extension_2);
82244 },
82245 addSelector$3(selector, selectorSpan, mediaContext) {
82246 var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
82247 selector = selector;
82248 originalSelector = selector;
82249 if (!originalSelector.get$isInvisible())
82250 for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._extension_store$_originals, _i = 0; _i < t2; ++_i)
82251 t3.add$1(0, t1[_i]);
82252 t1 = _this._extension_store$_extensions;
82253 if (t1.get$isNotEmpty(t1))
82254 try {
82255 selector = _this._extension_store$_extendList$4(originalSelector, selectorSpan, t1, mediaContext);
82256 } catch (exception) {
82257 t1 = A.unwrapException(exception);
82258 if (t1 instanceof A.SassException0) {
82259 error = t1;
82260 stackTrace = A.getTraceFromException(exception);
82261 t1 = error;
82262 t2 = J.getInterceptor$z(t1);
82263 t3 = error;
82264 t4 = J.getInterceptor$z(t3);
82265 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);
82266 } else
82267 throw exception;
82268 }
82269 modifiableSelector = new A.ModifiableCssValue0(selector, selectorSpan, type$.ModifiableCssValue_SelectorList_2);
82270 if (mediaContext != null)
82271 _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
82272 _this._extension_store$_registerSelector$2(selector, modifiableSelector);
82273 return modifiableSelector;
82274 },
82275 _extension_store$_registerSelector$2(list, selector) {
82276 var t1, t2, t3, _i, t4, t5, _i0, component, t6, t7, _i1, simple, selectorInPseudo;
82277 for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, _i = 0; _i < t2; ++_i)
82278 for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0) {
82279 component = t4[_i0];
82280 if (!(component instanceof A.CompoundSelector0))
82281 continue;
82282 for (t6 = component.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
82283 simple = t6[_i1];
82284 J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()), selector);
82285 if (!(simple instanceof A.PseudoSelector0))
82286 continue;
82287 selectorInPseudo = simple.selector;
82288 if (selectorInPseudo != null)
82289 this._extension_store$_registerSelector$2(selectorInPseudo, selector);
82290 }
82291 }
82292 },
82293 addExtension$4(extender, target, extend, mediaContext) {
82294 var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
82295 selectors = _this._extension_store$_selectors.$index(0, target),
82296 t1 = _this._extension_store$_extensionsByExtender,
82297 existingExtensions = t1.$index(0, target),
82298 sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
82299 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) {
82300 complex = t2[_i];
82301 if (complex._complex0$_maxSpecificity == null)
82302 complex._complex0$_computeSpecificity$0();
82303 complex._complex0$_maxSpecificity.toString;
82304 t12 = new A.Extender0(complex, false, t6);
82305 extension = t12._extension$_extension = new A.Extension0(t12, target, mediaContext, t8, t7);
82306 existingExtension = sources.$index(0, complex);
82307 if (existingExtension != null) {
82308 sources.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, extension));
82309 continue;
82310 }
82311 sources.$indexSet(0, complex, extension);
82312 for (t12 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
82313 t13 = t12.get$current(t12);
82314 J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure3()), extension);
82315 t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure4(complex));
82316 }
82317 if (!t4 || t9) {
82318 if (newExtensions == null)
82319 newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
82320 newExtensions.$indexSet(0, complex, extension);
82321 }
82322 }
82323 if (newExtensions == null)
82324 return;
82325 t1 = type$.SimpleSelector_2;
82326 newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
82327 if (t9) {
82328 additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
82329 if (additionalExtensions != null)
82330 A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
82331 }
82332 if (!t4)
82333 _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
82334 },
82335 _extension_store$_simpleSelectors$1(complex) {
82336 return this._simpleSelectors$body$ExtensionStore0(complex);
82337 },
82338 _simpleSelectors$body$ExtensionStore0($async$complex) {
82339 var $async$self = this;
82340 return A._makeSyncStarIterable(function() {
82341 var complex = $async$complex;
82342 var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, component, t3, t4, _i0, simple, selector, t5, t6, _i1;
82343 return function $async$_extension_store$_simpleSelectors$1($async$errorCode, $async$result) {
82344 if ($async$errorCode === 1) {
82345 $async$currentError = $async$result;
82346 $async$goto = $async$handler;
82347 }
82348 while (true)
82349 switch ($async$goto) {
82350 case 0:
82351 // Function start
82352 t1 = complex.components, t2 = t1.length, _i = 0;
82353 case 2:
82354 // for condition
82355 if (!(_i < t2)) {
82356 // goto after for
82357 $async$goto = 4;
82358 break;
82359 }
82360 component = t1[_i];
82361 $async$goto = component instanceof A.CompoundSelector0 ? 5 : 6;
82362 break;
82363 case 5:
82364 // then
82365 t3 = component.components, t4 = t3.length, _i0 = 0;
82366 case 7:
82367 // for condition
82368 if (!(_i0 < t4)) {
82369 // goto after for
82370 $async$goto = 9;
82371 break;
82372 }
82373 simple = t3[_i0];
82374 $async$goto = 10;
82375 return simple;
82376 case 10:
82377 // after yield
82378 if (!(simple instanceof A.PseudoSelector0)) {
82379 // goto for update
82380 $async$goto = 8;
82381 break;
82382 }
82383 selector = simple.selector;
82384 if (selector == null) {
82385 // goto for update
82386 $async$goto = 8;
82387 break;
82388 }
82389 t5 = selector.components, t6 = t5.length, _i1 = 0;
82390 case 11:
82391 // for condition
82392 if (!(_i1 < t6)) {
82393 // goto after for
82394 $async$goto = 13;
82395 break;
82396 }
82397 $async$goto = 14;
82398 return A._IterationMarker_yieldStar($async$self._extension_store$_simpleSelectors$1(t5[_i1]));
82399 case 14:
82400 // after yield
82401 case 12:
82402 // for update
82403 ++_i1;
82404 // goto for condition
82405 $async$goto = 11;
82406 break;
82407 case 13:
82408 // after for
82409 case 8:
82410 // for update
82411 ++_i0;
82412 // goto for condition
82413 $async$goto = 7;
82414 break;
82415 case 9:
82416 // after for
82417 case 6:
82418 // join
82419 case 3:
82420 // for update
82421 ++_i;
82422 // goto for condition
82423 $async$goto = 2;
82424 break;
82425 case 4:
82426 // after for
82427 // implicit return
82428 return A._IterationMarker_endOfIteration();
82429 case 1:
82430 // rethrow
82431 return A._IterationMarker_uncaughtError($async$currentError);
82432 }
82433 };
82434 }, type$.SimpleSelector_2);
82435 },
82436 _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
82437 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;
82438 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) {
82439 extension = t1[_i];
82440 t7 = t6.$index(0, extension.target);
82441 t7.toString;
82442 selectors = null;
82443 try {
82444 selectors = this._extension_store$_extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
82445 if (selectors == null)
82446 continue;
82447 } catch (exception) {
82448 t8 = A.unwrapException(exception);
82449 if (t8 instanceof A.SassException0) {
82450 error = t8;
82451 stackTrace = A.getTraceFromException(exception);
82452 t8 = error;
82453 t9 = J.getInterceptor$z(t8);
82454 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);
82455 } else
82456 throw exception;
82457 }
82458 t8 = J.get$first$ax(selectors);
82459 t9 = extension.extender;
82460 containsExtension = B.C_ListEquality.equals$2(0, t8.components, t9.selector.components);
82461 for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
82462 complex = t8[_i0];
82463 if (containsExtension && first) {
82464 first = false;
82465 continue;
82466 }
82467 t10 = extension;
82468 t11 = t10.extender;
82469 t12 = t10.target;
82470 t13 = t10.span;
82471 t14 = t10.mediaContext;
82472 t10 = t10.isOptional;
82473 if (complex._complex0$_maxSpecificity == null)
82474 complex._complex0$_computeSpecificity$0();
82475 complex._complex0$_maxSpecificity.toString;
82476 t11 = new A.Extender0(complex, false, t11.span);
82477 withExtender = t11._extension$_extension = new A.Extension0(t11, t12, t14, t10, t13);
82478 existingExtension = t7.$index(0, complex);
82479 if (existingExtension != null)
82480 t7.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, withExtender));
82481 else {
82482 t7.$indexSet(0, complex, withExtender);
82483 for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1) {
82484 component = t10[_i1];
82485 if (component instanceof A.CompoundSelector0)
82486 for (t12 = component.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
82487 J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
82488 }
82489 if (newExtensions.containsKey$1(extension.target)) {
82490 if (additionalExtensions == null)
82491 additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
82492 additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, complex, withExtender);
82493 }
82494 }
82495 }
82496 if (!containsExtension)
82497 t7.remove$1(0, extension.extender);
82498 }
82499 return additionalExtensions;
82500 },
82501 _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
82502 var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
82503 for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
82504 selector = t1.get$current(t1);
82505 oldValue = selector.value;
82506 try {
82507 selector.value = this._extension_store$_extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
82508 } catch (exception) {
82509 t3 = A.unwrapException(exception);
82510 if (t3 instanceof A.SassException0) {
82511 error = t3;
82512 stackTrace = A.getTraceFromException(exception);
82513 t3 = error;
82514 t4 = J.getInterceptor$z(t3);
82515 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);
82516 } else
82517 throw exception;
82518 }
82519 if (oldValue === selector.value)
82520 continue;
82521 this._extension_store$_registerSelector$2(selector.value, selector);
82522 }
82523 },
82524 addExtensions$1(extensionStores) {
82525 var t1, t2, t3, _box_0 = {};
82526 _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
82527 for (t1 = J.get$iterator$ax(extensionStores), t2 = this._extension_store$_sourceSpecificity; t1.moveNext$0();) {
82528 t3 = t1.get$current(t1);
82529 if (t3.get$isEmpty(t3))
82530 continue;
82531 t2.addAll$1(0, t3.get$_extension_store$_sourceSpecificity());
82532 t3.get$_extension_store$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure1(_box_0, this));
82533 }
82534 A.NullableExtension_andThen0(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure2(_box_0, this));
82535 },
82536 _extension_store$_extendList$4(list, listSpan, extensions, mediaQueryContext) {
82537 var t1, t2, t3, extended, i, complex, result, t4;
82538 for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
82539 complex = t1[i];
82540 result = this._extension_store$_extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
82541 if (result == null) {
82542 if (extended != null)
82543 extended.push(complex);
82544 } else {
82545 if (extended == null)
82546 if (i === 0)
82547 extended = A._setArrayType([], t3);
82548 else {
82549 t4 = B.JSArray_methods.sublist$2(t1, 0, i);
82550 extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
82551 }
82552 B.JSArray_methods.addAll$1(extended, result);
82553 }
82554 }
82555 if (extended == null)
82556 return list;
82557 t1 = this._extension_store$_originals;
82558 return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)));
82559 },
82560 _extension_store$_extendList$3(list, listSpan, extensions) {
82561 return this._extension_store$_extendList$4(list, listSpan, extensions, null);
82562 },
82563 _extension_store$_extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
82564 var t1, t2, t3, t4, t5, extendedNotExpanded, i, component, extended, result, t6, t7, t8, _null = null,
82565 _s28_ = "components may not be empty.",
82566 _box_0 = {},
82567 isOriginal = this._extension_store$_originals.contains$1(0, complex);
82568 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) {
82569 component = t1[i];
82570 if (component instanceof A.CompoundSelector0) {
82571 extended = this._extension_store$_extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
82572 if (extended == null) {
82573 if (extendedNotExpanded != null) {
82574 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
82575 result.fixed$length = Array;
82576 result.immutable$list = Array;
82577 t6 = result;
82578 if (t6.length === 0)
82579 A.throwExpression(A.ArgumentError$(_s28_, _null));
82580 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector0(t6, false)], t3));
82581 }
82582 } else {
82583 if (extendedNotExpanded == null) {
82584 t6 = A._arrayInstanceType(t1);
82585 t7 = t6._eval$1("SubListIterable<1>");
82586 t8 = new A.SubListIterable(t1, 0, i, t7);
82587 t8.SubListIterable$3(t1, 0, i, t6._precomputed1);
82588 t7 = t7._eval$1("MappedListIterable<ListIterable.E,List<ComplexSelector0>>");
82589 extendedNotExpanded = A.List_List$of(new A.MappedListIterable(t8, new A.ExtensionStore__extendComplex_closure1(complex), t7), true, t7._eval$1("ListIterable.E"));
82590 }
82591 B.JSArray_methods.add$1(extendedNotExpanded, extended);
82592 }
82593 } else if (extendedNotExpanded != null) {
82594 result = A.List_List$from(A._setArrayType([component], t4), false, t5);
82595 result.fixed$length = Array;
82596 result.immutable$list = Array;
82597 t6 = result;
82598 if (t6.length === 0)
82599 A.throwExpression(A.ArgumentError$(_s28_, _null));
82600 B.JSArray_methods.add$1(extendedNotExpanded, A._setArrayType([new A.ComplexSelector0(t6, false)], t3));
82601 }
82602 }
82603 if (extendedNotExpanded == null)
82604 return _null;
82605 _box_0.first = true;
82606 t1 = type$.ComplexSelector_2;
82607 t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure2(_box_0, this, complex), t1);
82608 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
82609 },
82610 _extension_store$_extendCompound$5$inOriginal(compound, compoundSpan, extensions, mediaQueryContext, inOriginal) {
82611 var t2, t3, t4, t5, t6, t7, t8, t9, t10, options, i, simple, extended, result, t11, t12, isOriginal, _this = this, _null = null,
82612 _s28_ = "components may not be empty.",
82613 _box_1 = {},
82614 t1 = _this._extension_store$_mode,
82615 targetsUsed = t1 === B.ExtendMode_normal0 || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
82616 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) {
82617 simple = t2[i];
82618 extended = _this._extension_store$_extendSimple$5(simple, compoundSpan, extensions, mediaQueryContext, targetsUsed);
82619 if (extended == null) {
82620 if (options != null) {
82621 result = A.List_List$from(A._setArrayType([simple], t10), false, t8);
82622 result.fixed$length = Array;
82623 result.immutable$list = Array;
82624 t11 = result;
82625 if (t11.length === 0)
82626 A.throwExpression(A.ArgumentError$(_s28_, _null));
82627 result = A.List_List$from(A._setArrayType([new A.CompoundSelector0(t11)], t6), false, t7);
82628 result.fixed$length = Array;
82629 result.immutable$list = Array;
82630 t11 = result;
82631 if (t11.length === 0)
82632 A.throwExpression(A.ArgumentError$(_s28_, _null));
82633 t9.$index(0, simple);
82634 options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t11, false), true, compoundSpan)], t5));
82635 }
82636 } else {
82637 if (options == null) {
82638 options = A._setArrayType([], t4);
82639 if (i !== 0) {
82640 t11 = A._arrayInstanceType(t2);
82641 t12 = new A.SubListIterable(t2, 0, i, t11._eval$1("SubListIterable<1>"));
82642 t12.SubListIterable$3(t2, 0, i, t11._precomputed1);
82643 result = A.List_List$from(t12, false, t8);
82644 result.fixed$length = Array;
82645 result.immutable$list = Array;
82646 t12 = result;
82647 compound = new A.CompoundSelector0(t12);
82648 if (t12.length === 0)
82649 A.throwExpression(A.ArgumentError$(_s28_, _null));
82650 result = A.List_List$from(A._setArrayType([compound], t6), false, t7);
82651 result.fixed$length = Array;
82652 result.immutable$list = Array;
82653 t11 = result;
82654 if (t11.length === 0)
82655 A.throwExpression(A.ArgumentError$(_s28_, _null));
82656 _this._extension_store$_sourceSpecificityFor$1(compound);
82657 options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t11, false), true, compoundSpan)], t5));
82658 }
82659 }
82660 B.JSArray_methods.addAll$1(options, extended);
82661 }
82662 }
82663 if (options == null)
82664 return _null;
82665 if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
82666 return _null;
82667 if (options.length === 1)
82668 return J.map$1$1$ax(B.JSArray_methods.get$first(options), new A.ExtensionStore__extendCompound_closure4(mediaQueryContext), type$.ComplexSelector_2).toList$0(0);
82669 t1 = _box_1.first = t1 !== B.ExtendMode_replace0;
82670 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);
82671 t3 = t2.$ti._eval$1("ExpandIterable<Iterable.E,ComplexSelector0>");
82672 result = A.List_List$of(new A.ExpandIterable(t2, new A.ExtensionStore__extendCompound_closure6(), t3), true, t3._eval$1("Iterable.E"));
82673 isOriginal = new A.ExtensionStore__extendCompound_closure7();
82674 return _this._extension_store$_trim$2(result, inOriginal && t1 ? new A.ExtensionStore__extendCompound_closure8(B.JSArray_methods.get$first(result)) : isOriginal);
82675 },
82676 _extension_store$_extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
82677 var extended,
82678 t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed, simpleSpan);
82679 if (simple instanceof A.PseudoSelector0 && simple.selector != null) {
82680 extended = this._extension_store$_extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
82681 if (extended != null)
82682 return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure1(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender0>>"));
82683 }
82684 return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
82685 },
82686 _extension_store$_extenderForSimple$2(simple, span) {
82687 var t1 = A.ComplexSelector$0(A._setArrayType([A.CompoundSelector$0(A._setArrayType([simple], type$.JSArray_SimpleSelector_2))], type$.JSArray_ComplexSelectorComponent_2), false);
82688 this._extension_store$_sourceSpecificity.$index(0, simple);
82689 return new A.Extender0(t1, true, span);
82690 },
82691 _extension_store$_extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
82692 var extended, complexes, t1, result,
82693 selector = pseudo.selector;
82694 if (selector == null)
82695 throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
82696 extended = this._extension_store$_extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
82697 if (extended === selector)
82698 return null;
82699 complexes = extended.components;
82700 t1 = pseudo.normalizedName === "not";
82701 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()))
82702 complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
82703 complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
82704 if (t1 && selector.components.length === 1) {
82705 t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
82706 result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
82707 return result.length === 0 ? null : result;
82708 } else
82709 return A._setArrayType([A.PseudoSelector$0(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$0(complexes))], type$.JSArray_PseudoSelector_2);
82710 },
82711 _extension_store$_trim$2(selectors, isOriginal) {
82712 var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, component;
82713 if (selectors.length > 100)
82714 return selectors;
82715 result = A.QueueList$(null, type$.ComplexSelector_2);
82716 $label0$0:
82717 for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
82718 _box_0 = {};
82719 complex1 = selectors[i];
82720 if (isOriginal.call$1(complex1)) {
82721 for (j = 0; j < numOriginals; ++j)
82722 if (J.$eq$(result.$index(0, j), complex1)) {
82723 A.rotateSlice0(result, 0, j + 1);
82724 continue $label0$0;
82725 }
82726 ++numOriginals;
82727 result.addFirst$1(complex1);
82728 continue $label0$0;
82729 }
82730 _box_0.maxSpecificity = 0;
82731 for (t3 = complex1.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
82732 component = t3[_i];
82733 if (component instanceof A.CompoundSelector0)
82734 _box_0.maxSpecificity = Math.max(_box_0.maxSpecificity, this._extension_store$_sourceSpecificityFor$1(component));
82735 }
82736 if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
82737 continue $label0$0;
82738 t3 = new A.SubListIterable(selectors, 0, i, t1);
82739 t3.SubListIterable$3(selectors, 0, i, t2);
82740 if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
82741 continue $label0$0;
82742 result.addFirst$1(complex1);
82743 }
82744 return result;
82745 },
82746 _extension_store$_sourceSpecificityFor$1(compound) {
82747 var t1, t2, t3, specificity, _i, t4;
82748 for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
82749 t4 = t3.$index(0, t1[_i]);
82750 specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
82751 }
82752 return specificity;
82753 },
82754 clone$0() {
82755 var t3, t4, _this = this,
82756 t1 = type$.SimpleSelector_2,
82757 newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList_2),
82758 t2 = type$.ModifiableCssValue_SelectorList_2,
82759 newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery_2),
82760 oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList_2, t2);
82761 _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
82762 t2 = type$.Extension_2;
82763 t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
82764 t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
82765 t1 = A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6(t1, type$.int);
82766 t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
82767 t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
82768 t4.addAll$1(0, _this._extension_store$_originals);
82769 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);
82770 },
82771 get$_extension_store$_extensions() {
82772 return this._extension_store$_extensions;
82773 },
82774 get$_extension_store$_sourceSpecificity() {
82775 return this._extension_store$_sourceSpecificity;
82776 }
82777 };
82778 A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
82779 call$1(extension) {
82780 return !extension.isOptional;
82781 },
82782 $signature: 417
82783 };
82784 A.ExtensionStore__registerSelector_closure0.prototype = {
82785 call$0() {
82786 return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2);
82787 },
82788 $signature: 418
82789 };
82790 A.ExtensionStore_addExtension_closure2.prototype = {
82791 call$0() {
82792 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
82793 },
82794 $signature: 143
82795 };
82796 A.ExtensionStore_addExtension_closure3.prototype = {
82797 call$0() {
82798 return A._setArrayType([], type$.JSArray_Extension_2);
82799 },
82800 $signature: 220
82801 };
82802 A.ExtensionStore_addExtension_closure4.prototype = {
82803 call$0() {
82804 return this.complex.get$maxSpecificity();
82805 },
82806 $signature: 12
82807 };
82808 A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
82809 call$0() {
82810 return A._setArrayType([], type$.JSArray_Extension_2);
82811 },
82812 $signature: 220
82813 };
82814 A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
82815 call$0() {
82816 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
82817 },
82818 $signature: 143
82819 };
82820 A.ExtensionStore_addExtensions_closure1.prototype = {
82821 call$2(target, newSources) {
82822 var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
82823 if (target instanceof A.PlaceholderSelector0) {
82824 first = B.JSString_methods._codeUnitAt$1(target.name, 0);
82825 t1 = first === 45 || first === 95;
82826 } else
82827 t1 = false;
82828 if (t1)
82829 return;
82830 t1 = _this.$this;
82831 extensionsForTarget = t1._extension_store$_extensionsByExtender.$index(0, target);
82832 t2 = extensionsForTarget == null;
82833 if (!t2) {
82834 t3 = _this._box_0;
82835 t4 = t3.extensionsToExtend;
82836 B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension_2) : t4, extensionsForTarget);
82837 }
82838 selectorsForTarget = t1._extension_store$_selectors.$index(0, target);
82839 t3 = selectorsForTarget != null;
82840 if (t3) {
82841 t4 = _this._box_0;
82842 t5 = t4.selectorsToExtend;
82843 (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2) : t5).addAll$1(0, selectorsForTarget);
82844 }
82845 t1 = t1._extension_store$_extensions;
82846 existingSources = t1.$index(0, target);
82847 if (existingSources == null) {
82848 t4 = type$.ComplexSelector_2;
82849 t5 = type$.Extension_2;
82850 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
82851 if (!t2 || t3) {
82852 t1 = _this._box_0;
82853 t2 = t1.newExtensions;
82854 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
82855 t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
82856 }
82857 } else
82858 newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure4(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
82859 },
82860 $signature: 421
82861 };
82862 A.ExtensionStore_addExtensions__closure4.prototype = {
82863 call$2(extender, extension) {
82864 var t2, _this = this,
82865 t1 = _this.existingSources;
82866 if (t1.containsKey$1(extender)) {
82867 t2 = t1.$index(0, extender);
82868 t2.toString;
82869 extension = A.MergedExtension_merge0(t2, extension);
82870 t1.$indexSet(0, extender, extension);
82871 } else
82872 t1.$indexSet(0, extender, extension);
82873 if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
82874 t1 = _this._box_0;
82875 t2 = t1.newExtensions;
82876 t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
82877 J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure0()), extender, extension);
82878 }
82879 },
82880 $signature: 422
82881 };
82882 A.ExtensionStore_addExtensions___closure0.prototype = {
82883 call$0() {
82884 return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
82885 },
82886 $signature: 143
82887 };
82888 A.ExtensionStore_addExtensions_closure2.prototype = {
82889 call$1(newExtensions) {
82890 var t1 = this._box_0,
82891 t2 = this.$this;
82892 A.NullableExtension_andThen0(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure2(t2, newExtensions));
82893 A.NullableExtension_andThen0(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure3(t2, newExtensions));
82894 },
82895 $signature: 423
82896 };
82897 A.ExtensionStore_addExtensions__closure2.prototype = {
82898 call$1(extensionsToExtend) {
82899 return this.$this._extension_store$_extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
82900 },
82901 $signature: 424
82902 };
82903 A.ExtensionStore_addExtensions__closure3.prototype = {
82904 call$1(selectorsToExtend) {
82905 return this.$this._extension_store$_extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
82906 },
82907 $signature: 425
82908 };
82909 A.ExtensionStore__extendComplex_closure1.prototype = {
82910 call$1(component) {
82911 return A._setArrayType([A.ComplexSelector$0(A._setArrayType([component], type$.JSArray_ComplexSelectorComponent_2), this.complex.lineBreak)], type$.JSArray_ComplexSelector_2);
82912 },
82913 $signature: 426
82914 };
82915 A.ExtensionStore__extendComplex_closure2.prototype = {
82916 call$1(path) {
82917 var t1 = A.weave0(J.map$1$1$ax(path, new A.ExtensionStore__extendComplex__closure1(), type$.List_ComplexSelectorComponent_2).toList$0(0));
82918 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>"));
82919 },
82920 $signature: 427
82921 };
82922 A.ExtensionStore__extendComplex__closure1.prototype = {
82923 call$1(complex) {
82924 return complex.components;
82925 },
82926 $signature: 428
82927 };
82928 A.ExtensionStore__extendComplex__closure2.prototype = {
82929 call$1(components) {
82930 var _this = this,
82931 t1 = _this.complex,
82932 outputComplex = A.ComplexSelector$0(components, t1.lineBreak || J.any$1$ax(_this.path, new A.ExtensionStore__extendComplex___closure0())),
82933 t2 = _this._box_0;
82934 if (t2.first && _this.$this._extension_store$_originals.contains$1(0, t1))
82935 _this.$this._extension_store$_originals.add$1(0, outputComplex);
82936 t2.first = false;
82937 return outputComplex;
82938 },
82939 $signature: 95
82940 };
82941 A.ExtensionStore__extendComplex___closure0.prototype = {
82942 call$1(inputComplex) {
82943 return inputComplex.lineBreak;
82944 },
82945 $signature: 20
82946 };
82947 A.ExtensionStore__extendCompound_closure4.prototype = {
82948 call$1(extender) {
82949 extender.assertCompatibleMediaContext$1(this.mediaQueryContext);
82950 return extender.selector;
82951 },
82952 $signature: 431
82953 };
82954 A.ExtensionStore__extendCompound_closure5.prototype = {
82955 call$1(path) {
82956 var complexes, toUnify, t2, t3, originals, t4, _box_0 = {},
82957 t1 = this._box_1;
82958 if (t1.first) {
82959 t1.first = false;
82960 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);
82961 } else {
82962 toUnify = A.QueueList$(null, type$.List_ComplexSelectorComponent_2);
82963 for (t1 = J.get$iterator$ax(path), t2 = type$.CompoundSelector_2, t3 = type$.JSArray_SimpleSelector_2, originals = null; t1.moveNext$0();) {
82964 t4 = t1.get$current(t1);
82965 if (t4.isOriginal) {
82966 if (originals == null)
82967 originals = A._setArrayType([], t3);
82968 B.JSArray_methods.addAll$1(originals, t2._as(B.JSArray_methods.get$last(t4.selector.components)).components);
82969 } else
82970 toUnify._queue_list$_add$1(t4.selector.components);
82971 }
82972 if (originals != null)
82973 toUnify.addFirst$1(A._setArrayType([A.CompoundSelector$0(originals)], type$.JSArray_ComplexSelectorComponent_2));
82974 complexes = A.unifyComplex0(toUnify);
82975 if (complexes == null)
82976 return null;
82977 }
82978 _box_0.lineBreak = false;
82979 for (t1 = J.get$iterator$ax(path), t2 = this.mediaQueryContext; t1.moveNext$0();) {
82980 t3 = t1.get$current(t1);
82981 t3.assertCompatibleMediaContext$1(t2);
82982 _box_0.lineBreak = _box_0.lineBreak || t3.selector.lineBreak;
82983 }
82984 t1 = J.map$1$1$ax(complexes, new A.ExtensionStore__extendCompound__closure2(_box_0), type$.ComplexSelector_2);
82985 return A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E"));
82986 },
82987 $signature: 432
82988 };
82989 A.ExtensionStore__extendCompound__closure1.prototype = {
82990 call$1(extender) {
82991 return type$.CompoundSelector_2._as(B.JSArray_methods.get$last(extender.selector.components)).components;
82992 },
82993 $signature: 433
82994 };
82995 A.ExtensionStore__extendCompound__closure2.prototype = {
82996 call$1(components) {
82997 return A.ComplexSelector$0(components, this._box_0.lineBreak);
82998 },
82999 $signature: 95
83000 };
83001 A.ExtensionStore__extendCompound_closure6.prototype = {
83002 call$1(l) {
83003 return l;
83004 },
83005 $signature: 434
83006 };
83007 A.ExtensionStore__extendCompound_closure7.prototype = {
83008 call$1(_) {
83009 return false;
83010 },
83011 $signature: 20
83012 };
83013 A.ExtensionStore__extendCompound_closure8.prototype = {
83014 call$1(complex) {
83015 var t1 = B.C_ListEquality.equals$2(0, complex.components, this.original.components);
83016 return t1;
83017 },
83018 $signature: 20
83019 };
83020 A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
83021 call$1(simple) {
83022 var t1, t2, _this = this,
83023 extensionsForSimple = _this.extensions.$index(0, simple);
83024 if (extensionsForSimple == null)
83025 return null;
83026 t1 = _this.targetsUsed;
83027 if (t1 != null)
83028 t1.add$1(0, simple);
83029 t1 = A._setArrayType([], type$.JSArray_Extender_2);
83030 t2 = _this.$this;
83031 if (t2._extension_store$_mode !== B.ExtendMode_replace0)
83032 t1.push(t2._extension_store$_extenderForSimple$2(simple, _this.simpleSpan));
83033 for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
83034 t1.push(t2.get$current(t2).extender);
83035 return t1;
83036 },
83037 $signature: 435
83038 };
83039 A.ExtensionStore__extendSimple_closure1.prototype = {
83040 call$1(pseudo) {
83041 var t1 = this.withoutPseudo.call$1(pseudo);
83042 return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender_2) : t1;
83043 },
83044 $signature: 436
83045 };
83046 A.ExtensionStore__extendSimple_closure2.prototype = {
83047 call$1(result) {
83048 return A._setArrayType([result], type$.JSArray_List_Extender_2);
83049 },
83050 $signature: 437
83051 };
83052 A.ExtensionStore__extendPseudo_closure4.prototype = {
83053 call$1(complex) {
83054 return complex.components.length > 1;
83055 },
83056 $signature: 20
83057 };
83058 A.ExtensionStore__extendPseudo_closure5.prototype = {
83059 call$1(complex) {
83060 return complex.components.length === 1;
83061 },
83062 $signature: 20
83063 };
83064 A.ExtensionStore__extendPseudo_closure6.prototype = {
83065 call$1(complex) {
83066 return complex.components.length <= 1;
83067 },
83068 $signature: 20
83069 };
83070 A.ExtensionStore__extendPseudo_closure7.prototype = {
83071 call$1(complex) {
83072 var innerPseudo, innerSelector,
83073 t1 = complex.components;
83074 if (t1.length !== 1)
83075 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83076 if (!(B.JSArray_methods.get$first(t1) instanceof A.CompoundSelector0))
83077 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83078 t1 = type$.CompoundSelector_2._as(B.JSArray_methods.get$first(t1)).components;
83079 if (t1.length !== 1)
83080 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83081 if (!(B.JSArray_methods.get$first(t1) instanceof A.PseudoSelector0))
83082 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83083 innerPseudo = type$.PseudoSelector_2._as(B.JSArray_methods.get$first(t1));
83084 innerSelector = innerPseudo.selector;
83085 if (innerSelector == null)
83086 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83087 t1 = this.pseudo;
83088 switch (t1.normalizedName) {
83089 case "not":
83090 t1 = innerPseudo.normalizedName;
83091 if (t1 !== "is" && t1 !== "matches")
83092 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83093 return innerSelector.components;
83094 case "is":
83095 case "matches":
83096 case "any":
83097 case "current":
83098 case "nth-child":
83099 case "nth-last-child":
83100 if (innerPseudo.name !== t1.name)
83101 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83102 if (innerPseudo.argument != t1.argument)
83103 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83104 return innerSelector.components;
83105 case "has":
83106 case "host":
83107 case "host-context":
83108 case "slotted":
83109 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
83110 default:
83111 return A._setArrayType([], type$.JSArray_ComplexSelector_2);
83112 }
83113 },
83114 $signature: 438
83115 };
83116 A.ExtensionStore__extendPseudo_closure8.prototype = {
83117 call$1(complex) {
83118 var t1 = this.pseudo;
83119 return A.PseudoSelector$0(t1.name, t1.argument, !t1.isClass, A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2)));
83120 },
83121 $signature: 439
83122 };
83123 A.ExtensionStore__trim_closure1.prototype = {
83124 call$1(complex2) {
83125 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector0(complex2.components, this.complex1.components);
83126 },
83127 $signature: 20
83128 };
83129 A.ExtensionStore__trim_closure2.prototype = {
83130 call$1(complex2) {
83131 return complex2.get$minSpecificity() >= this._box_0.maxSpecificity && A.complexIsSuperselector0(complex2.components, this.complex1.components);
83132 },
83133 $signature: 20
83134 };
83135 A.ExtensionStore_clone_closure0.prototype = {
83136 call$2(simple, selectors) {
83137 var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
83138 t1 = type$.ModifiableCssValue_SelectorList_2,
83139 newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
83140 _this.newSelectors.$indexSet(0, simple, newSelectorSet);
83141 for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._extension_store$_mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
83142 t6 = t2.get$current(t2);
83143 newSelector = new A.ModifiableCssValue0(t6.value, t6.span, t1);
83144 newSelectorSet.add$1(0, newSelector);
83145 t3.$indexSet(0, t6, newSelector);
83146 mediaContext = t4.$index(0, t6);
83147 if (mediaContext != null)
83148 t5.$indexSet(0, newSelector, mediaContext);
83149 }
83150 },
83151 $signature: 440
83152 };
83153 A.FiberClass.prototype = {};
83154 A.Fiber.prototype = {};
83155 A.NodeToDartFileImporter.prototype = {
83156 canonicalize$1(_, url) {
83157 var result, t1, resultUrl;
83158 if (url.get$scheme() === "file")
83159 return $.$get$_filesystemImporter0().canonicalize$1(0, url);
83160 result = this._file0$_findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
83161 if (result == null)
83162 return null;
83163 t1 = self.Promise;
83164 if (result instanceof t1)
83165 A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
83166 else {
83167 t1 = self.URL;
83168 if (!(result instanceof t1))
83169 A.jsThrow(new self.Error(string$.The_fie));
83170 }
83171 resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
83172 if (resultUrl.get$scheme() !== "file")
83173 A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
83174 return $.$get$_filesystemImporter0().canonicalize$1(0, resultUrl);
83175 },
83176 load$1(_, url) {
83177 return $.$get$_filesystemImporter0().load$1(0, url);
83178 }
83179 };
83180 A.FilesystemImporter0.prototype = {
83181 canonicalize$1(_, url) {
83182 if (url.get$scheme() !== "file" && url.get$scheme() !== "")
83183 return null;
83184 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());
83185 },
83186 load$1(_, url) {
83187 var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
83188 return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
83189 },
83190 toString$0(_) {
83191 return this._filesystem$_loadPath;
83192 }
83193 };
83194 A.FilesystemImporter_canonicalize_closure0.prototype = {
83195 call$1(resolved) {
83196 var t1, t2, t0, _null = null;
83197 if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
83198 t1 = $.$get$context();
83199 t2 = A._realCasePath0(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
83200 t0 = t2;
83201 t2 = t1;
83202 t1 = t0;
83203 } else {
83204 t1 = $.$get$context();
83205 t2 = t1.canonicalize$1(0, resolved);
83206 t0 = t2;
83207 t2 = t1;
83208 t1 = t0;
83209 }
83210 return t2.toUri$1(t1);
83211 },
83212 $signature: 178
83213 };
83214 A.ForRule0.prototype = {
83215 accept$1$1(visitor) {
83216 return visitor.visitForRule$1(this);
83217 },
83218 accept$1(visitor) {
83219 return this.accept$1$1(visitor, type$.dynamic);
83220 },
83221 toString$0(_) {
83222 var _this = this,
83223 t1 = "@for $" + _this.variable + " from " + _this.from.toString$0(0) + " ",
83224 t2 = _this.children;
83225 return t1 + (_this.isExclusive ? "to" : "through") + " " + _this.to.toString$0(0) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
83226 },
83227 get$span(receiver) {
83228 return this.span;
83229 }
83230 };
83231 A.ForwardRule0.prototype = {
83232 accept$1$1(visitor) {
83233 return visitor.visitForwardRule$1(this);
83234 },
83235 accept$1(visitor) {
83236 return this.accept$1$1(visitor, type$.dynamic);
83237 },
83238 toString$0(_) {
83239 var t2, prefix, _this = this,
83240 t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
83241 shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
83242 hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
83243 if (shownMixinsAndFunctions != null) {
83244 t1 += " show ";
83245 t2 = _this.shownVariables;
83246 t2.toString;
83247 t2 = t1 + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
83248 t1 = t2;
83249 } else {
83250 if (hiddenMixinsAndFunctions != null) {
83251 t2 = hiddenMixinsAndFunctions._base;
83252 t2 = t2.get$isNotEmpty(t2);
83253 } else
83254 t2 = false;
83255 if (t2) {
83256 t1 += " hide ";
83257 t2 = _this.hiddenVariables;
83258 t2.toString;
83259 t2 = t1 + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
83260 t1 = t2;
83261 }
83262 }
83263 prefix = _this.prefix;
83264 if (prefix != null)
83265 t1 += " as " + prefix + "*";
83266 t2 = _this.configuration;
83267 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
83268 return t1.charCodeAt(0) == 0 ? t1 : t1;
83269 },
83270 _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
83271 var t2,
83272 t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
83273 for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
83274 t1.push("$" + t2.get$current(t2));
83275 return B.JSArray_methods.join$1(t1, ", ");
83276 },
83277 $isAstNode0: 1,
83278 $isStatement0: 1,
83279 get$span(receiver) {
83280 return this.span;
83281 }
83282 };
83283 A.ForwardedModuleView0.prototype = {
83284 get$url(_) {
83285 var t1 = this._forwarded_view0$_inner;
83286 return t1.get$url(t1);
83287 },
83288 get$upstream() {
83289 return this._forwarded_view0$_inner.get$upstream();
83290 },
83291 get$extensionStore() {
83292 return this._forwarded_view0$_inner.get$extensionStore();
83293 },
83294 get$css(_) {
83295 var t1 = this._forwarded_view0$_inner;
83296 return t1.get$css(t1);
83297 },
83298 get$transitivelyContainsCss() {
83299 return this._forwarded_view0$_inner.get$transitivelyContainsCss();
83300 },
83301 get$transitivelyContainsExtensions() {
83302 return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
83303 },
83304 setVariable$3($name, value, nodeWithSpan) {
83305 var prefix,
83306 _s19_ = "Undefined variable.",
83307 t1 = this._forwarded_view0$_rule,
83308 shownVariables = t1.shownVariables,
83309 hiddenVariables = t1.hiddenVariables;
83310 if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
83311 throw A.wrapException(A.SassScriptException$0(_s19_));
83312 else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
83313 throw A.wrapException(A.SassScriptException$0(_s19_));
83314 prefix = t1.prefix;
83315 if (prefix != null) {
83316 if (!B.JSString_methods.startsWith$1($name, prefix))
83317 throw A.wrapException(A.SassScriptException$0(_s19_));
83318 $name = B.JSString_methods.substring$1($name, prefix.length);
83319 }
83320 return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
83321 },
83322 variableIdentity$1($name) {
83323 var prefix = this._forwarded_view0$_rule.prefix;
83324 if (prefix != null)
83325 $name = B.JSString_methods.substring$1($name, prefix.length);
83326 return this._forwarded_view0$_inner.variableIdentity$1($name);
83327 },
83328 $eq(_, other) {
83329 if (other == null)
83330 return false;
83331 return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
83332 },
83333 get$hashCode(_) {
83334 var t1 = this._forwarded_view0$_inner;
83335 return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
83336 },
83337 cloneCss$0() {
83338 return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
83339 },
83340 toString$0(_) {
83341 return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
83342 },
83343 $isModule0: 1,
83344 get$variables() {
83345 return this.variables;
83346 },
83347 get$variableNodes() {
83348 return this.variableNodes;
83349 },
83350 get$functions(receiver) {
83351 return this.functions;
83352 },
83353 get$mixins() {
83354 return this.mixins;
83355 }
83356 };
83357 A.FunctionExpression0.prototype = {
83358 accept$1$1(visitor) {
83359 return visitor.visitFunctionExpression$1(this);
83360 },
83361 accept$1(visitor) {
83362 return this.accept$1$1(visitor, type$.dynamic);
83363 },
83364 toString$0(_) {
83365 var t1 = this.namespace;
83366 t1 = t1 != null ? "" + (t1 + ".") : "";
83367 t1 += this.originalName + this.$arguments.toString$0(0);
83368 return t1.charCodeAt(0) == 0 ? t1 : t1;
83369 },
83370 $isExpression0: 1,
83371 $isAstNode0: 1,
83372 get$span(receiver) {
83373 return this.span;
83374 }
83375 };
83376 A.JSFunction0.prototype = {};
83377 A.SupportsFunction0.prototype = {
83378 toString$0(_) {
83379 return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
83380 },
83381 $isAstNode0: 1,
83382 $isSupportsCondition0: 1,
83383 get$span(receiver) {
83384 return this.span;
83385 }
83386 };
83387 A.functionClass_closure.prototype = {
83388 call$0() {
83389 var t1 = type$.JSClass,
83390 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
83391 A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
83392 return jsClass;
83393 },
83394 $signature: 25
83395 };
83396 A.functionClass__closure.prototype = {
83397 call$3($self, signature, callback) {
83398 var paren = B.JSString_methods.indexOf$1(signature, "(");
83399 if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
83400 A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
83401 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));
83402 },
83403 "call*": "call$3",
83404 $requiredArgCount: 3,
83405 $signature: 441
83406 };
83407 A.functionClass__closure0.prototype = {
83408 call$1(_) {
83409 return B.C__SassNull0;
83410 },
83411 $signature: 3
83412 };
83413 A.SassFunction0.prototype = {
83414 accept$1$1(visitor) {
83415 var t1, t2;
83416 if (!visitor._serialize0$_inspect)
83417 A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value."));
83418 t1 = visitor._serialize0$_buffer;
83419 t1.write$1(0, "get-function(");
83420 t2 = this.callable;
83421 visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
83422 t1.writeCharCode$1(41);
83423 return null;
83424 },
83425 accept$1(visitor) {
83426 return this.accept$1$1(visitor, type$.dynamic);
83427 },
83428 assertFunction$1($name) {
83429 return this;
83430 },
83431 $eq(_, other) {
83432 if (other == null)
83433 return false;
83434 return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
83435 },
83436 get$hashCode(_) {
83437 var t1 = this.callable;
83438 return t1.get$hashCode(t1);
83439 }
83440 };
83441 A.FunctionRule0.prototype = {
83442 accept$1$1(visitor) {
83443 return visitor.visitFunctionRule$1(this);
83444 },
83445 accept$1(visitor) {
83446 return this.accept$1$1(visitor, type$.dynamic);
83447 },
83448 toString$0(_) {
83449 var t1 = this.children;
83450 return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
83451 }
83452 };
83453 A.unifyComplex_closure0.prototype = {
83454 call$1(complex) {
83455 var t1 = J.getInterceptor$asx(complex);
83456 return t1.sublist$2(complex, 0, t1.get$length(complex) - 1);
83457 },
83458 $signature: 131
83459 };
83460 A._weaveParents_closure6.prototype = {
83461 call$2(group1, group2) {
83462 var unified, t1, _null = null;
83463 if (B.C_ListEquality.equals$2(0, group1, group2))
83464 return group1;
83465 if (!(J.get$first$ax(group1) instanceof A.CompoundSelector0) || !(J.get$first$ax(group2) instanceof A.CompoundSelector0))
83466 return _null;
83467 if (A.complexIsParentSuperselector0(group1, group2))
83468 return group2;
83469 if (A.complexIsParentSuperselector0(group2, group1))
83470 return group1;
83471 if (!A._mustUnify0(group1, group2))
83472 return _null;
83473 unified = A.unifyComplex0(A._setArrayType([group1, group2], type$.JSArray_List_ComplexSelectorComponent_2));
83474 if (unified == null)
83475 return _null;
83476 t1 = J.getInterceptor$asx(unified);
83477 if (t1.get$length(unified) > 1)
83478 return _null;
83479 return t1.get$first(unified);
83480 },
83481 $signature: 443
83482 };
83483 A._weaveParents_closure7.prototype = {
83484 call$1(sequence) {
83485 return A.complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
83486 },
83487 $signature: 444
83488 };
83489 A._weaveParents_closure8.prototype = {
83490 call$1(chunk) {
83491 return J.expand$1$1$ax(chunk, new A._weaveParents__closure4(), type$.ComplexSelectorComponent_2);
83492 },
83493 $signature: 224
83494 };
83495 A._weaveParents__closure4.prototype = {
83496 call$1(group) {
83497 return group;
83498 },
83499 $signature: 131
83500 };
83501 A._weaveParents_closure9.prototype = {
83502 call$1(sequence) {
83503 return sequence.get$length(sequence) === 0;
83504 },
83505 $signature: 156
83506 };
83507 A._weaveParents_closure10.prototype = {
83508 call$1(chunk) {
83509 return J.expand$1$1$ax(chunk, new A._weaveParents__closure3(), type$.ComplexSelectorComponent_2);
83510 },
83511 $signature: 224
83512 };
83513 A._weaveParents__closure3.prototype = {
83514 call$1(group) {
83515 return group;
83516 },
83517 $signature: 131
83518 };
83519 A._weaveParents_closure11.prototype = {
83520 call$1(choice) {
83521 return J.get$isNotEmpty$asx(choice);
83522 },
83523 $signature: 446
83524 };
83525 A._weaveParents_closure12.prototype = {
83526 call$1(path) {
83527 var t1 = J.expand$1$1$ax(path, new A._weaveParents__closure2(), type$.ComplexSelectorComponent_2);
83528 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
83529 },
83530 $signature: 447
83531 };
83532 A._weaveParents__closure2.prototype = {
83533 call$1(group) {
83534 return group;
83535 },
83536 $signature: 448
83537 };
83538 A._mustUnify_closure0.prototype = {
83539 call$1(component) {
83540 return component instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(component.components, new A._mustUnify__closure0(this.uniqueSelectors));
83541 },
83542 $signature: 116
83543 };
83544 A._mustUnify__closure0.prototype = {
83545 call$1(simple) {
83546 var t1;
83547 if (!(simple instanceof A.IDSelector0))
83548 t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
83549 else
83550 t1 = true;
83551 return t1 && this.uniqueSelectors.contains$1(0, simple);
83552 },
83553 $signature: 15
83554 };
83555 A.paths_closure0.prototype = {
83556 call$2(paths, choice) {
83557 var t1 = this.T;
83558 t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
83559 return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
83560 },
83561 $signature() {
83562 return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
83563 }
83564 };
83565 A.paths__closure0.prototype = {
83566 call$1(option) {
83567 var t1 = this.T;
83568 return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
83569 },
83570 $signature() {
83571 return this.T._eval$1("Iterable<List<0>>(0)");
83572 }
83573 };
83574 A.paths___closure0.prototype = {
83575 call$1(path) {
83576 var t1 = A.List_List$of(path, true, this.T);
83577 t1.push(this.option);
83578 return t1;
83579 },
83580 $signature() {
83581 return this.T._eval$1("List<0>(List<0>)");
83582 }
83583 };
83584 A._hasRoot_closure0.prototype = {
83585 call$1(simple) {
83586 return simple instanceof A.PseudoSelector0 && simple.isClass && simple.normalizedName === "root";
83587 },
83588 $signature: 15
83589 };
83590 A.listIsSuperselector_closure0.prototype = {
83591 call$1(complex1) {
83592 return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
83593 },
83594 $signature: 20
83595 };
83596 A.listIsSuperselector__closure0.prototype = {
83597 call$1(complex2) {
83598 return A.complexIsSuperselector0(complex2.components, this.complex1.components);
83599 },
83600 $signature: 20
83601 };
83602 A._simpleIsSuperselectorOfCompound_closure0.prototype = {
83603 call$1(theirSimple) {
83604 var selector,
83605 t1 = this.simple;
83606 if (t1.$eq(0, theirSimple))
83607 return true;
83608 if (!(theirSimple instanceof A.PseudoSelector0))
83609 return false;
83610 selector = theirSimple.selector;
83611 if (selector == null)
83612 return false;
83613 if (!$._subselectorPseudos0.contains$1(0, theirSimple.normalizedName))
83614 return false;
83615 return B.JSArray_methods.every$1(selector.components, new A._simpleIsSuperselectorOfCompound__closure0(t1));
83616 },
83617 $signature: 15
83618 };
83619 A._simpleIsSuperselectorOfCompound__closure0.prototype = {
83620 call$1(complex) {
83621 var t1 = complex.components;
83622 if (t1.length !== 1)
83623 return false;
83624 return B.JSArray_methods.contains$1(type$.CompoundSelector_2._as(B.JSArray_methods.get$single(t1)).components, this.simple);
83625 },
83626 $signature: 20
83627 };
83628 A._selectorPseudoIsSuperselector_closure6.prototype = {
83629 call$1(selector2) {
83630 return A.listIsSuperselector0(this.selector1.components, selector2.components);
83631 },
83632 $signature: 78
83633 };
83634 A._selectorPseudoIsSuperselector_closure7.prototype = {
83635 call$1(complex1) {
83636 var t1 = complex1.components,
83637 t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2),
83638 t3 = this.parents;
83639 if (t3 != null)
83640 B.JSArray_methods.addAll$1(t2, t3);
83641 t2.push(this.compound2);
83642 return A.complexIsSuperselector0(t1, t2);
83643 },
83644 $signature: 20
83645 };
83646 A._selectorPseudoIsSuperselector_closure8.prototype = {
83647 call$1(selector2) {
83648 return A.listIsSuperselector0(this.selector1.components, selector2.components);
83649 },
83650 $signature: 78
83651 };
83652 A._selectorPseudoIsSuperselector_closure9.prototype = {
83653 call$1(selector2) {
83654 return A.listIsSuperselector0(this.selector1.components, selector2.components);
83655 },
83656 $signature: 78
83657 };
83658 A._selectorPseudoIsSuperselector_closure10.prototype = {
83659 call$1(complex) {
83660 return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
83661 },
83662 $signature: 20
83663 };
83664 A._selectorPseudoIsSuperselector__closure0.prototype = {
83665 call$1(simple2) {
83666 var compound1, selector2, _this = this;
83667 if (simple2 instanceof A.TypeSelector0) {
83668 compound1 = B.JSArray_methods.get$last(_this.complex.components);
83669 return compound1 instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
83670 } else if (simple2 instanceof A.IDSelector0) {
83671 compound1 = B.JSArray_methods.get$last(_this.complex.components);
83672 return compound1 instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(compound1.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
83673 } else if (simple2 instanceof A.PseudoSelector0 && simple2.name === _this.pseudo1.name) {
83674 selector2 = simple2.selector;
83675 if (selector2 == null)
83676 return false;
83677 return A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
83678 } else
83679 return false;
83680 },
83681 $signature: 15
83682 };
83683 A._selectorPseudoIsSuperselector___closure1.prototype = {
83684 call$1(simple1) {
83685 var t1;
83686 if (simple1 instanceof A.TypeSelector0) {
83687 t1 = this.simple2.name.$eq(0, simple1.name);
83688 t1 = !t1;
83689 } else
83690 t1 = false;
83691 return t1;
83692 },
83693 $signature: 15
83694 };
83695 A._selectorPseudoIsSuperselector___closure2.prototype = {
83696 call$1(simple1) {
83697 var t1;
83698 if (simple1 instanceof A.IDSelector0) {
83699 t1 = simple1.name;
83700 t1 = this.simple2.name !== t1;
83701 } else
83702 t1 = false;
83703 return t1;
83704 },
83705 $signature: 15
83706 };
83707 A._selectorPseudoIsSuperselector_closure11.prototype = {
83708 call$1(selector2) {
83709 var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
83710 return t1;
83711 },
83712 $signature: 78
83713 };
83714 A._selectorPseudoIsSuperselector_closure12.prototype = {
83715 call$1(pseudo2) {
83716 var t1, selector2;
83717 if (!(pseudo2 instanceof A.PseudoSelector0))
83718 return false;
83719 t1 = this.pseudo1;
83720 if (pseudo2.name !== t1.name)
83721 return false;
83722 if (pseudo2.argument != t1.argument)
83723 return false;
83724 selector2 = pseudo2.selector;
83725 if (selector2 == null)
83726 return false;
83727 return A.listIsSuperselector0(this.selector1.components, selector2.components);
83728 },
83729 $signature: 15
83730 };
83731 A._selectorPseudoArgs_closure1.prototype = {
83732 call$1(pseudo) {
83733 return pseudo.isClass === this.isClass && pseudo.name === this.name;
83734 },
83735 $signature: 450
83736 };
83737 A._selectorPseudoArgs_closure2.prototype = {
83738 call$1(pseudo) {
83739 return pseudo.selector;
83740 },
83741 $signature: 451
83742 };
83743 A.globalFunctions_closure0.prototype = {
83744 call$1($arguments) {
83745 var t1 = J.getInterceptor$asx($arguments);
83746 return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
83747 },
83748 $signature: 3
83749 };
83750 A.IDSelector0.prototype = {
83751 get$minSpecificity() {
83752 return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$minSpecificity.call(this), 2));
83753 },
83754 accept$1$1(visitor) {
83755 var t1 = visitor._serialize0$_buffer;
83756 t1.writeCharCode$1(35);
83757 t1.write$1(0, this.name);
83758 return null;
83759 },
83760 accept$1(visitor) {
83761 return this.accept$1$1(visitor, type$.dynamic);
83762 },
83763 addSuffix$1(suffix) {
83764 return new A.IDSelector0(this.name + suffix);
83765 },
83766 unify$1(compound) {
83767 if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
83768 return null;
83769 return this.super$SimpleSelector$unify0(compound);
83770 },
83771 $eq(_, other) {
83772 if (other == null)
83773 return false;
83774 return other instanceof A.IDSelector0 && other.name === this.name;
83775 },
83776 get$hashCode(_) {
83777 return B.JSString_methods.get$hashCode(this.name);
83778 }
83779 };
83780 A.IDSelector_unify_closure0.prototype = {
83781 call$1(simple) {
83782 var t1;
83783 if (simple instanceof A.IDSelector0) {
83784 t1 = simple.name;
83785 t1 = this.$this.name !== t1;
83786 } else
83787 t1 = false;
83788 return t1;
83789 },
83790 $signature: 15
83791 };
83792 A.IfExpression0.prototype = {
83793 accept$1$1(visitor) {
83794 return visitor.visitIfExpression$1(this);
83795 },
83796 accept$1(visitor) {
83797 return this.accept$1$1(visitor, type$.dynamic);
83798 },
83799 toString$0(_) {
83800 return "if" + this.$arguments.toString$0(0);
83801 },
83802 $isExpression0: 1,
83803 $isAstNode0: 1,
83804 get$span(receiver) {
83805 return this.span;
83806 }
83807 };
83808 A.IfRule0.prototype = {
83809 accept$1$1(visitor) {
83810 return visitor.visitIfRule$1(this);
83811 },
83812 accept$1(visitor) {
83813 return this.accept$1$1(visitor, type$.dynamic);
83814 },
83815 toString$0(_) {
83816 var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
83817 lastClause = this.lastClause;
83818 return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
83819 },
83820 $isAstNode0: 1,
83821 $isStatement0: 1,
83822 get$span(receiver) {
83823 return this.span;
83824 }
83825 };
83826 A.IfRule_toString_closure0.prototype = {
83827 call$2(index, clause) {
83828 return "@" + (index === 0 ? "if" : "else if") + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
83829 },
83830 $signature: 452
83831 };
83832 A.IfRuleClause0.prototype = {};
83833 A.IfRuleClause$__closure0.prototype = {
83834 call$1(child) {
83835 var t1;
83836 if (!(child instanceof A.VariableDeclaration0))
83837 if (!(child instanceof A.FunctionRule0))
83838 if (!(child instanceof A.MixinRule0))
83839 t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
83840 else
83841 t1 = true;
83842 else
83843 t1 = true;
83844 else
83845 t1 = true;
83846 return t1;
83847 },
83848 $signature: 226
83849 };
83850 A.IfRuleClause$___closure0.prototype = {
83851 call$1($import) {
83852 return $import instanceof A.DynamicImport0;
83853 },
83854 $signature: 227
83855 };
83856 A.IfClause0.prototype = {
83857 toString$0(_) {
83858 return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
83859 }
83860 };
83861 A.ElseClause0.prototype = {
83862 toString$0(_) {
83863 return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
83864 }
83865 };
83866 A.ImmutableList.prototype = {};
83867 A.ImmutableMap.prototype = {};
83868 A.immutableMapToDartMap_closure.prototype = {
83869 call$3(value, key, _) {
83870 this.dartMap.$indexSet(0, key, value);
83871 },
83872 "call*": "call$3",
83873 $requiredArgCount: 3,
83874 $signature: 455
83875 };
83876 A.NodeImporter.prototype = {
83877 loadRelative$3(url, previous, forImport) {
83878 var t1, t2, _null = null;
83879 if ($.$get$url().style.rootLength$1(url) > 0) {
83880 if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
83881 return _null;
83882 return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
83883 }
83884 if ((previous == null ? _null : previous.get$scheme()) !== "file")
83885 return _null;
83886 t1 = $.$get$context();
83887 t2 = t1.style;
83888 return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
83889 },
83890 load$3(_, url, previous, forImport) {
83891 var t1, t2, t3, t4, t5, _i, importer, context, value, _this = this,
83892 previousString = _this._previousToString$1(previous);
83893 for (t1 = _this._implementation$_importers, t2 = t1.length, t3 = _this._implementation$_options, t4 = type$.RenderContextOptions, t5 = type$.JSArray_Object, _i = 0; _i < t2; ++_i) {
83894 importer = t1[_i];
83895 context = {options: t4._as(t3), fromImport: forImport};
83896 J.set$context$x(J.get$options$x(context), context);
83897 value = J.apply$2$x(importer, context, A._setArrayType([url, previousString], t5));
83898 if (value != null)
83899 return _this._handleImportResult$4(url, previous, value, forImport);
83900 }
83901 return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
83902 },
83903 loadAsync$3(url, previous, forImport) {
83904 return this.loadAsync$body$NodeImporter(url, previous, forImport);
83905 },
83906 loadAsync$body$NodeImporter(url, previous, forImport) {
83907 var $async$goto = 0,
83908 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple2_String_String),
83909 $async$returnValue, $async$self = this, t1, t2, _i, value, previousString;
83910 var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
83911 if ($async$errorCode === 1)
83912 return A._asyncRethrow($async$result, $async$completer);
83913 while (true)
83914 switch ($async$goto) {
83915 case 0:
83916 // Function start
83917 previousString = $async$self._previousToString$1(previous);
83918 t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
83919 case 3:
83920 // for condition
83921 if (!(_i < t2)) {
83922 // goto after for
83923 $async$goto = 5;
83924 break;
83925 }
83926 $async$goto = 6;
83927 return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
83928 case 6:
83929 // returning from await.
83930 value = $async$result;
83931 if (value != null) {
83932 $async$returnValue = $async$self._handleImportResult$4(url, previous, value, forImport);
83933 // goto return
83934 $async$goto = 1;
83935 break;
83936 }
83937 case 4:
83938 // for update
83939 ++_i;
83940 // goto for condition
83941 $async$goto = 3;
83942 break;
83943 case 5:
83944 // after for
83945 $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
83946 // goto return
83947 $async$goto = 1;
83948 break;
83949 case 1:
83950 // return
83951 return A._asyncReturn($async$returnValue, $async$completer);
83952 }
83953 });
83954 return A._asyncStartSync($async$loadAsync$3, $async$completer);
83955 },
83956 _previousToString$1(previous) {
83957 if (previous == null)
83958 return "stdin";
83959 if (previous.get$scheme() === "file")
83960 return $.$get$context().style.pathFromUri$1(A._parseUri(previous));
83961 return previous.toString$0(0);
83962 },
83963 _resolveLoadPathFromUrl$2(url, forImport) {
83964 return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
83965 },
83966 _resolveLoadPath$2(path, forImport) {
83967 var t2, t3, t4, t5, _i, parts, result, _null = null,
83968 t1 = $.$get$context(),
83969 cwdResult = this._tryPath$2(t1.absolute$7(path, _null, _null, _null, _null, _null, _null), forImport);
83970 if (cwdResult != null)
83971 return cwdResult;
83972 for (t2 = this._includePaths, t3 = t2.length, t4 = type$.JSArray_nullable_String, t5 = type$.WhereTypeIterable_String, _i = 0; _i < t3; ++_i) {
83973 parts = A._setArrayType([t2[_i], path, null, null, null, null, null, null], t4);
83974 A._validateArgList("join", parts);
83975 result = this._tryPath$2(t1.absolute$7(t1.joinAll$1(new A.WhereTypeIterable(parts, t5)), _null, _null, _null, _null, _null, _null), forImport);
83976 if (result != null)
83977 return result;
83978 }
83979 return _null;
83980 },
83981 _tryPath$2(path, forImport) {
83982 var t1;
83983 if (forImport) {
83984 t1 = type$.nullable_Object;
83985 t1 = A.runZoned(new A.NodeImporter__tryPath_closure(path), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_String);
83986 } else
83987 t1 = A.resolveImportPath0(path);
83988 return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
83989 },
83990 _handleImportResult$4(url, previous, value, forImport) {
83991 var t1, file, contents, resolved;
83992 if (value instanceof self.Error)
83993 throw A.wrapException(value);
83994 if (!type$.NodeImporterResult_2._is(value))
83995 return null;
83996 t1 = J.getInterceptor$x(value);
83997 file = t1.get$file(value);
83998 contents = t1.get$contents(value);
83999 if (file == null) {
84000 t1 = contents == null ? "" : contents;
84001 return new A.Tuple2(t1, url, type$.Tuple2_String_String);
84002 } else if (contents != null)
84003 return new A.Tuple2(contents, $.$get$context().toUri$1(file).toString$0(0), type$.Tuple2_String_String);
84004 else {
84005 resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
84006 if (resolved == null)
84007 resolved = this._resolveLoadPath$2(file, forImport);
84008 if (resolved != null)
84009 return resolved;
84010 throw A.wrapException("Can't find stylesheet to import.");
84011 }
84012 },
84013 _callImporterAsync$4(importer, url, previousString, forImport) {
84014 return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
84015 },
84016 _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
84017 var $async$goto = 0,
84018 $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
84019 $async$returnValue, $async$self = this, t1, result;
84020 var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
84021 if ($async$errorCode === 1)
84022 return A._asyncRethrow($async$result, $async$completer);
84023 while (true)
84024 switch ($async$goto) {
84025 case 0:
84026 // Function start
84027 t1 = new A._Future($.Zone__current, type$._Future_Object);
84028 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));
84029 $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
84030 break;
84031 case 3:
84032 // then
84033 $async$goto = 5;
84034 return A._asyncAwait(t1, $async$_callImporterAsync$4);
84035 case 5:
84036 // returning from await.
84037 $async$returnValue = $async$result;
84038 // goto return
84039 $async$goto = 1;
84040 break;
84041 case 4:
84042 // join
84043 $async$returnValue = result;
84044 // goto return
84045 $async$goto = 1;
84046 break;
84047 case 1:
84048 // return
84049 return A._asyncReturn($async$returnValue, $async$completer);
84050 }
84051 });
84052 return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
84053 },
84054 _renderContext$1(fromImport) {
84055 var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
84056 J.set$context$x(J.get$options$x(context), context);
84057 return context;
84058 }
84059 };
84060 A.NodeImporter__tryPath_closure.prototype = {
84061 call$0() {
84062 return A.resolveImportPath0(this.path);
84063 },
84064 $signature: 42
84065 };
84066 A.NodeImporter__tryPath_closure0.prototype = {
84067 call$1(resolved) {
84068 return new A.Tuple2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0), type$.Tuple2_String_String);
84069 },
84070 $signature: 456
84071 };
84072 A.ModifiableCssImport0.prototype = {
84073 accept$1$1(visitor) {
84074 return visitor.visitCssImport$1(this);
84075 },
84076 accept$1(visitor) {
84077 return this.accept$1$1(visitor, type$.dynamic);
84078 },
84079 $isCssImport0: 1,
84080 get$span(receiver) {
84081 return this.span;
84082 }
84083 };
84084 A.ImportCache0.prototype = {
84085 canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
84086 var relativeResult, _this = this;
84087 if (baseImporter != null) {
84088 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));
84089 if (relativeResult != null)
84090 return relativeResult;
84091 }
84092 return _this._import_cache$_canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure2(_this, url, forImport));
84093 },
84094 _import_cache$_canonicalize$3(importer, url, forImport) {
84095 var t1, result;
84096 if (forImport) {
84097 t1 = type$.nullable_Object;
84098 result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
84099 } else
84100 result = importer.canonicalize$1(0, url);
84101 if ((result == null ? null : result.get$scheme()) === "")
84102 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);
84103 return result;
84104 },
84105 importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
84106 return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl, quiet));
84107 },
84108 importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
84109 return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
84110 },
84111 humanize$1(canonicalUrl) {
84112 var t2, url,
84113 t1 = this._import_cache$_canonicalizeCache;
84114 t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri_2);
84115 t2 = t1.$ti;
84116 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());
84117 if (url == null)
84118 return canonicalUrl;
84119 t1 = $.$get$url();
84120 return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
84121 },
84122 sourceMapUrl$1(_, canonicalUrl) {
84123 var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
84124 t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
84125 return t1 == null ? canonicalUrl : t1;
84126 }
84127 };
84128 A.ImportCache_canonicalize_closure1.prototype = {
84129 call$0() {
84130 var canonicalUrl, _this = this,
84131 t1 = _this.baseUrl,
84132 resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
84133 if (resolvedUrl == null)
84134 resolvedUrl = _this.url;
84135 t1 = _this.baseImporter;
84136 canonicalUrl = _this.$this._import_cache$_canonicalize$3(t1, resolvedUrl, _this.forImport);
84137 if (canonicalUrl != null)
84138 return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri_2);
84139 },
84140 $signature: 228
84141 };
84142 A.ImportCache_canonicalize_closure2.prototype = {
84143 call$0() {
84144 var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
84145 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) {
84146 importer = t2[_i];
84147 canonicalUrl = t1._import_cache$_canonicalize$3(importer, t4, t5);
84148 if (canonicalUrl != null)
84149 return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri_2);
84150 }
84151 return null;
84152 },
84153 $signature: 228
84154 };
84155 A.ImportCache__canonicalize_closure0.prototype = {
84156 call$0() {
84157 return this.importer.canonicalize$1(0, this.url);
84158 },
84159 $signature: 185
84160 };
84161 A.ImportCache_importCanonical_closure0.prototype = {
84162 call$0() {
84163 var t2, t3, t4, _this = this,
84164 t1 = _this.canonicalUrl,
84165 result = _this.importer.load$1(0, t1);
84166 if (result == null)
84167 return null;
84168 t2 = _this.$this;
84169 t2._import_cache$_resultsCache.$indexSet(0, t1, result);
84170 t3 = result.contents;
84171 t4 = result.syntax;
84172 t1 = _this.originalUrl.resolveUri$1(t1);
84173 return A.Stylesheet_Stylesheet$parse0(t3, t4, _this.quiet ? $.$get$Logger_quiet0() : t2._import_cache$_logger, t1);
84174 },
84175 $signature: 458
84176 };
84177 A.ImportCache_humanize_closure2.prototype = {
84178 call$1(tuple) {
84179 return tuple.item2.$eq(0, this.canonicalUrl);
84180 },
84181 $signature: 459
84182 };
84183 A.ImportCache_humanize_closure3.prototype = {
84184 call$1(tuple) {
84185 return tuple.item3;
84186 },
84187 $signature: 460
84188 };
84189 A.ImportCache_humanize_closure4.prototype = {
84190 call$1(url) {
84191 return url.get$path(url).length;
84192 },
84193 $signature: 74
84194 };
84195 A.ImportRule0.prototype = {
84196 accept$1$1(visitor) {
84197 return visitor.visitImportRule$1(this);
84198 },
84199 accept$1(visitor) {
84200 return this.accept$1$1(visitor, type$.dynamic);
84201 },
84202 toString$0(_) {
84203 return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
84204 },
84205 $isAstNode0: 1,
84206 $isStatement0: 1,
84207 get$span(receiver) {
84208 return this.span;
84209 }
84210 };
84211 A.NodeImporter0.prototype = {};
84212 A.CanonicalizeOptions.prototype = {};
84213 A.NodeImporterResult0.prototype = {};
84214 A.Importer0.prototype = {};
84215 A.NodeImporterResult1.prototype = {};
84216 A.IncludeRule0.prototype = {
84217 get$spanWithoutContent() {
84218 var t2, t3,
84219 t1 = this.span;
84220 if (!(this.content == null)) {
84221 t2 = t1.file;
84222 t3 = this.$arguments.span;
84223 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)));
84224 t1 = t3;
84225 }
84226 return t1;
84227 },
84228 accept$1$1(visitor) {
84229 return visitor.visitIncludeRule$1(this);
84230 },
84231 accept$1(visitor) {
84232 return this.accept$1$1(visitor, type$.dynamic);
84233 },
84234 toString$0(_) {
84235 var t2, _this = this,
84236 t1 = _this.namespace;
84237 t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
84238 t1 += _this.name;
84239 t2 = _this.$arguments;
84240 if (!t2.get$isEmpty(t2))
84241 t1 += "(" + t2.toString$0(0) + ")";
84242 t2 = _this.content;
84243 t1 += t2 == null ? ";" : " " + t2.toString$0(0);
84244 return t1.charCodeAt(0) == 0 ? t1 : t1;
84245 },
84246 $isAstNode0: 1,
84247 $isStatement0: 1,
84248 get$span(receiver) {
84249 return this.span;
84250 }
84251 };
84252 A.InterpolatedFunctionExpression0.prototype = {
84253 accept$1$1(visitor) {
84254 return visitor.visitInterpolatedFunctionExpression$1(this);
84255 },
84256 accept$1(visitor) {
84257 return this.accept$1$1(visitor, type$.dynamic);
84258 },
84259 toString$0(_) {
84260 return this.name.toString$0(0) + this.$arguments.toString$0(0);
84261 },
84262 $isExpression0: 1,
84263 $isAstNode0: 1,
84264 get$span(receiver) {
84265 return this.span;
84266 }
84267 };
84268 A.Interpolation0.prototype = {
84269 get$asPlain() {
84270 var first,
84271 t1 = this.contents,
84272 t2 = t1.length;
84273 if (t2 === 0)
84274 return "";
84275 if (t2 > 1)
84276 return null;
84277 first = B.JSArray_methods.get$first(t1);
84278 return typeof first == "string" ? first : null;
84279 },
84280 get$initialPlain() {
84281 var first = B.JSArray_methods.get$first(this.contents);
84282 return typeof first == "string" ? first : "";
84283 },
84284 Interpolation$20(contents, span) {
84285 var t1, t2, t3, i, t4, t5,
84286 _s8_ = "contents";
84287 for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression_2, i = 0; i < t2; ++i) {
84288 t4 = t1[i];
84289 t5 = typeof t4 == "string";
84290 if (!t5 && !t3._is(t4))
84291 throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
84292 if (i !== 0 && typeof t1[i - 1] == "string" && t5)
84293 throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
84294 }
84295 },
84296 toString$0(_) {
84297 var t1 = this.contents;
84298 return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
84299 },
84300 $isAstNode0: 1,
84301 get$span(receiver) {
84302 return this.span;
84303 }
84304 };
84305 A.Interpolation_toString_closure0.prototype = {
84306 call$1(value) {
84307 return typeof value == "string" ? value : "#{" + A.S(value) + "}";
84308 },
84309 $signature: 47
84310 };
84311 A.SupportsInterpolation0.prototype = {
84312 toString$0(_) {
84313 return "#{" + this.expression.toString$0(0) + "}";
84314 },
84315 $isAstNode0: 1,
84316 $isSupportsCondition0: 1,
84317 get$span(receiver) {
84318 return this.span;
84319 }
84320 };
84321 A.InterpolationBuffer0.prototype = {
84322 writeCharCode$1(character) {
84323 this._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(character);
84324 return null;
84325 },
84326 add$1(_, expression) {
84327 this._interpolation_buffer0$_flushText$0();
84328 this._interpolation_buffer0$_contents.push(expression);
84329 },
84330 addInterpolation$1(interpolation) {
84331 var first, t1, _this = this,
84332 toAdd = interpolation.contents;
84333 if (toAdd.length === 0)
84334 return;
84335 first = B.JSArray_methods.get$first(toAdd);
84336 if (typeof first == "string") {
84337 _this._interpolation_buffer0$_text._contents += first;
84338 toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
84339 }
84340 _this._interpolation_buffer0$_flushText$0();
84341 t1 = _this._interpolation_buffer0$_contents;
84342 B.JSArray_methods.addAll$1(t1, toAdd);
84343 if (typeof B.JSArray_methods.get$last(t1) == "string")
84344 _this._interpolation_buffer0$_text._contents += A.S(t1.pop());
84345 },
84346 _interpolation_buffer0$_flushText$0() {
84347 var t1 = this._interpolation_buffer0$_text,
84348 t2 = t1._contents;
84349 if (t2.length === 0)
84350 return;
84351 this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
84352 t1._contents = "";
84353 },
84354 interpolation$1(span) {
84355 var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
84356 t2 = this._interpolation_buffer0$_text._contents;
84357 if (t2.length !== 0)
84358 t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
84359 return A.Interpolation$0(t1, span);
84360 },
84361 toString$0(_) {
84362 var t1, t2, _i, t3, element;
84363 for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
84364 element = t1[_i];
84365 t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
84366 }
84367 t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
84368 return t1.charCodeAt(0) == 0 ? t1 : t1;
84369 }
84370 };
84371 A._realCasePath_helper0.prototype = {
84372 call$1(path) {
84373 var dirname = $.$get$context().dirname$1(path);
84374 if (dirname === path)
84375 return path;
84376 return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
84377 },
84378 $signature: 5
84379 };
84380 A._realCasePath_helper_closure0.prototype = {
84381 call$0() {
84382 var matches, t2, exception,
84383 realDirname = this.helper.call$1(this.dirname),
84384 t1 = this.path,
84385 basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
84386 try {
84387 matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
84388 t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
84389 return t2;
84390 } catch (exception) {
84391 if (A.unwrapException(exception) instanceof A.FileSystemException0)
84392 return t1;
84393 else
84394 throw exception;
84395 }
84396 },
84397 $signature: 30
84398 };
84399 A._realCasePath_helper__closure0.prototype = {
84400 call$1(realPath) {
84401 return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
84402 },
84403 $signature: 6
84404 };
84405 A.ModifiableCssKeyframeBlock0.prototype = {
84406 accept$1$1(visitor) {
84407 return visitor.visitCssKeyframeBlock$1(this);
84408 },
84409 accept$1(visitor) {
84410 return this.accept$1$1(visitor, type$.dynamic);
84411 },
84412 copyWithoutChildren$0() {
84413 return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
84414 },
84415 get$span(receiver) {
84416 return this.span;
84417 }
84418 };
84419 A.KeyframeSelectorParser0.prototype = {
84420 parse$0() {
84421 return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
84422 },
84423 _keyframe_selector$_percentage$0() {
84424 var t3, next,
84425 t1 = this.scanner,
84426 t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
84427 second = t1.peekChar$0();
84428 if (!A.isDigit0(second) && second !== 46)
84429 t1.error$1(0, "Expected number.");
84430 while (true) {
84431 t3 = t1.peekChar$0();
84432 if (!(t3 != null && t3 >= 48 && t3 <= 57))
84433 break;
84434 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84435 }
84436 if (t1.peekChar$0() === 46) {
84437 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84438 while (true) {
84439 t3 = t1.peekChar$0();
84440 if (!(t3 != null && t3 >= 48 && t3 <= 57))
84441 break;
84442 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84443 }
84444 }
84445 if (this.scanIdentChar$1(101)) {
84446 t2 += A.Primitives_stringFromCharCode(101);
84447 next = t1.peekChar$0();
84448 if (next === 43 || next === 45)
84449 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84450 if (!A.isDigit0(t1.peekChar$0()))
84451 t1.error$1(0, "Expected digit.");
84452 while (true) {
84453 t3 = t1.peekChar$0();
84454 if (!(t3 != null && t3 >= 48 && t3 <= 57))
84455 break;
84456 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
84457 }
84458 }
84459 t1.expectChar$1(37);
84460 t2 += A.Primitives_stringFromCharCode(37);
84461 return t2.charCodeAt(0) == 0 ? t2 : t2;
84462 }
84463 };
84464 A.KeyframeSelectorParser_parse_closure0.prototype = {
84465 call$0() {
84466 var selectors = A._setArrayType([], type$.JSArray_String),
84467 t1 = this.$this,
84468 t2 = t1.scanner;
84469 do {
84470 t1.whitespace$0();
84471 if (t1.lookingAtIdentifier$0())
84472 if (t1.scanIdentifier$1("from"))
84473 selectors.push("from");
84474 else {
84475 t1.expectIdentifier$2$name("to", '"to" or "from"');
84476 selectors.push("to");
84477 }
84478 else
84479 selectors.push(t1._keyframe_selector$_percentage$0());
84480 t1.whitespace$0();
84481 } while (t2.scanChar$1(44));
84482 t2.expectDone$0();
84483 return selectors;
84484 },
84485 $signature: 48
84486 };
84487 A.render_closure.prototype = {
84488 call$0() {
84489 var error, exception;
84490 try {
84491 this.callback.call$2(null, A.renderSync(this.options));
84492 } catch (exception) {
84493 error = A.unwrapException(exception);
84494 this.callback.call$2(error, null);
84495 }
84496 return null;
84497 },
84498 $signature: 1
84499 };
84500 A.render_closure0.prototype = {
84501 call$1(result) {
84502 this.callback.call$2(null, result);
84503 },
84504 $signature: 461
84505 };
84506 A.render_closure1.prototype = {
84507 call$2(error, stackTrace) {
84508 var t2, t3, _null = null,
84509 t1 = this.callback;
84510 if (error instanceof A.SassException0)
84511 t1.call$2(A._wrapException(error, stackTrace), _null);
84512 else {
84513 t2 = J.toString$0$(error);
84514 t3 = A.getTrace0(error);
84515 t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
84516 }
84517 },
84518 $signature: 68
84519 };
84520 A._parseFunctions_closure.prototype = {
84521 call$2(signature, callback) {
84522 var error, stackTrace, exception, t1, t2, context, fiber, _this = this, tuple = null;
84523 try {
84524 tuple = A.ScssParser$0(signature, null, null).parseSignature$1$requireParens(false);
84525 } catch (exception) {
84526 t1 = A.unwrapException(exception);
84527 if (t1 instanceof A.SassFormatException0) {
84528 error = t1;
84529 stackTrace = A.getTraceFromException(exception);
84530 t1 = error;
84531 t2 = J.getInterceptor$z(t1);
84532 A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
84533 } else
84534 throw exception;
84535 }
84536 t1 = _this.options;
84537 context = {options: A._contextOptions(t1, _this.start)};
84538 J.set$context$x(J.get$options$x(context), context);
84539 fiber = J.get$fiber$x(t1);
84540 if (fiber != null)
84541 _this.result.push(A.BuiltInCallable$parsed(tuple.item1, tuple.item2, new A._parseFunctions__closure(fiber, callback, context)));
84542 else {
84543 t1 = _this.result;
84544 if (!_this.asynch)
84545 t1.push(A.BuiltInCallable$parsed(tuple.item1, tuple.item2, new A._parseFunctions__closure0(callback, context)));
84546 else
84547 t1.push(new A.AsyncBuiltInCallable0(tuple.item1, tuple.item2, new A._parseFunctions__closure1(callback, context)));
84548 }
84549 },
84550 $signature: 117
84551 };
84552 A._parseFunctions__closure.prototype = {
84553 call$1($arguments) {
84554 var result,
84555 t1 = this.fiber,
84556 currentFiber = J.get$current$x(t1),
84557 t2 = type$.Object;
84558 t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value1__wrapValue$closure(), t2), true, t2);
84559 t2.push(A.allowInterop(new A._parseFunctions___closure0(currentFiber)));
84560 result = J.apply$2$x(type$.JSFunction._as(this.callback), this.context, t2);
84561 return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure1(t1), null, type$.nullable_Object) : result);
84562 },
84563 $signature: 3
84564 };
84565 A._parseFunctions___closure0.prototype = {
84566 call$1(result) {
84567 A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
84568 },
84569 call$0() {
84570 return this.call$1(null);
84571 },
84572 "call*": "call$1",
84573 $requiredArgCount: 0,
84574 $defaultValues() {
84575 return [null];
84576 },
84577 $signature: 87
84578 };
84579 A._parseFunctions____closure.prototype = {
84580 call$0() {
84581 return J.run$1$x(this.currentFiber, this.result);
84582 },
84583 $signature: 0
84584 };
84585 A._parseFunctions___closure1.prototype = {
84586 call$0() {
84587 return J.yield$0$x(this.fiber);
84588 },
84589 $signature: 85
84590 };
84591 A._parseFunctions__closure0.prototype = {
84592 call$1($arguments) {
84593 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)));
84594 },
84595 $signature: 3
84596 };
84597 A._parseFunctions__closure1.prototype = {
84598 call$1($arguments) {
84599 return this.$call$body$_parseFunctions__closure($arguments);
84600 },
84601 $call$body$_parseFunctions__closure($arguments) {
84602 var $async$goto = 0,
84603 $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
84604 $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
84605 var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
84606 if ($async$errorCode === 1)
84607 return A._asyncRethrow($async$result, $async$completer);
84608 while (true)
84609 switch ($async$goto) {
84610 case 0:
84611 // Function start
84612 t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
84613 t2 = type$.Object;
84614 t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value1__wrapValue$closure(), t2), true, t2);
84615 t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
84616 result = J.apply$2$x(type$.JSFunction._as($async$self.callback), $async$self.context, t2);
84617 $async$temp1 = A;
84618 $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
84619 break;
84620 case 3:
84621 // then
84622 $async$goto = 6;
84623 return A._asyncAwait(t1, $async$call$1);
84624 case 6:
84625 // returning from await.
84626 // goto join
84627 $async$goto = 4;
84628 break;
84629 case 5:
84630 // else
84631 $async$result = result;
84632 case 4:
84633 // join
84634 $async$returnValue = $async$temp1.unwrapValue($async$result);
84635 // goto return
84636 $async$goto = 1;
84637 break;
84638 case 1:
84639 // return
84640 return A._asyncReturn($async$returnValue, $async$completer);
84641 }
84642 });
84643 return A._asyncStartSync($async$call$1, $async$completer);
84644 },
84645 $signature: 93
84646 };
84647 A._parseFunctions___closure.prototype = {
84648 call$1(result) {
84649 return this.completer.complete$1(result);
84650 },
84651 call$0() {
84652 return this.call$1(null);
84653 },
84654 "call*": "call$1",
84655 $requiredArgCount: 0,
84656 $defaultValues() {
84657 return [null];
84658 },
84659 $signature: 225
84660 };
84661 A._parseImporter_closure.prototype = {
84662 call$1(importer) {
84663 return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this.fiber, importer)));
84664 },
84665 $signature: 462
84666 };
84667 A._parseImporter__closure.prototype = {
84668 call$4(thisArg, url, previous, _) {
84669 var t1 = this.fiber,
84670 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));
84671 if (A._asBool($.$get$_isUndefined().call$1(result)))
84672 return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
84673 return result;
84674 },
84675 call$3(thisArg, url, previous) {
84676 return this.call$4(thisArg, url, previous, null);
84677 },
84678 "call*": "call$4",
84679 $requiredArgCount: 3,
84680 $defaultValues() {
84681 return [null];
84682 },
84683 $signature: 463
84684 };
84685 A._parseImporter___closure.prototype = {
84686 call$1(result) {
84687 A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
84688 },
84689 $signature: 464
84690 };
84691 A._parseImporter____closure.prototype = {
84692 call$0() {
84693 return J.run$1$x(this.currentFiber, this.result);
84694 },
84695 $signature: 0
84696 };
84697 A._parseImporter___closure0.prototype = {
84698 call$0() {
84699 return J.yield$0$x(this.fiber);
84700 },
84701 $signature: 85
84702 };
84703 A.LimitedMapView0.prototype = {
84704 get$keys(_) {
84705 return this._limited_map_view0$_keys;
84706 },
84707 get$length(_) {
84708 return this._limited_map_view0$_keys._collection$_length;
84709 },
84710 get$isEmpty(_) {
84711 return this._limited_map_view0$_keys._collection$_length === 0;
84712 },
84713 get$isNotEmpty(_) {
84714 return this._limited_map_view0$_keys._collection$_length !== 0;
84715 },
84716 $index(_, key) {
84717 return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
84718 },
84719 containsKey$1(key) {
84720 return this._limited_map_view0$_keys.contains$1(0, key);
84721 },
84722 remove$1(_, key) {
84723 return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
84724 }
84725 };
84726 A.ListExpression0.prototype = {
84727 accept$1$1(visitor) {
84728 return visitor.visitListExpression$1(this);
84729 },
84730 accept$1(visitor) {
84731 return this.accept$1$1(visitor, type$.dynamic);
84732 },
84733 toString$0(_) {
84734 var _this = this,
84735 t1 = _this.hasBrackets,
84736 t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
84737 t3 = _this.contents,
84738 t4 = _this.separator === B.ListSeparator_kWM0 ? ", " : " ";
84739 t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
84740 t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
84741 return t1.charCodeAt(0) == 0 ? t1 : t1;
84742 },
84743 _list3$_elementNeedsParens$1(expression) {
84744 var t1, t2;
84745 if (expression instanceof A.ListExpression0) {
84746 if (expression.contents.length < 2)
84747 return false;
84748 if (expression.hasBrackets)
84749 return false;
84750 t1 = this.separator;
84751 t2 = t1 === B.ListSeparator_kWM0;
84752 return t2 ? t2 : t1 !== B.ListSeparator_undecided_null0;
84753 }
84754 if (this.separator !== B.ListSeparator_woc0)
84755 return false;
84756 if (expression instanceof A.UnaryOperationExpression0) {
84757 t1 = expression.operator;
84758 return t1 === B.UnaryOperator_j2w0 || t1 === B.UnaryOperator_U4G0;
84759 }
84760 return false;
84761 },
84762 $isExpression0: 1,
84763 $isAstNode0: 1,
84764 get$span(receiver) {
84765 return this.span;
84766 }
84767 };
84768 A.ListExpression_toString_closure0.prototype = {
84769 call$1(element) {
84770 return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
84771 },
84772 $signature: 130
84773 };
84774 A._length_closure2.prototype = {
84775 call$1($arguments) {
84776 var t1 = J.$index$asx($arguments, 0).get$asList().length;
84777 return new A.UnitlessSassNumber0(t1, null);
84778 },
84779 $signature: 10
84780 };
84781 A._nth_closure0.prototype = {
84782 call$1($arguments) {
84783 var t1 = J.getInterceptor$asx($arguments),
84784 list = t1.$index($arguments, 0),
84785 index = t1.$index($arguments, 1);
84786 return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
84787 },
84788 $signature: 3
84789 };
84790 A._setNth_closure0.prototype = {
84791 call$1($arguments) {
84792 var t1 = J.getInterceptor$asx($arguments),
84793 list = t1.$index($arguments, 0),
84794 index = t1.$index($arguments, 1),
84795 value = t1.$index($arguments, 2),
84796 t2 = list.get$asList(),
84797 newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
84798 newList[list.sassIndexToListIndex$2(index, "n")] = value;
84799 return t1.$index($arguments, 0).withListContents$1(newList);
84800 },
84801 $signature: 22
84802 };
84803 A._join_closure0.prototype = {
84804 call$1($arguments) {
84805 var separator, bracketed,
84806 t1 = J.getInterceptor$asx($arguments),
84807 list1 = t1.$index($arguments, 0),
84808 list2 = t1.$index($arguments, 1),
84809 separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
84810 bracketedParam = t1.$index($arguments, 3);
84811 t1 = separatorParam._string0$_text;
84812 if (t1 === "auto")
84813 if (list1.get$separator(list1) !== B.ListSeparator_undecided_null0)
84814 separator = list1.get$separator(list1);
84815 else
84816 separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null0 ? list2.get$separator(list2) : B.ListSeparator_woc0;
84817 else if (t1 === "space")
84818 separator = B.ListSeparator_woc0;
84819 else if (t1 === "comma")
84820 separator = B.ListSeparator_kWM0;
84821 else {
84822 if (t1 !== "slash")
84823 throw A.wrapException(A.SassScriptException$0(string$.x24separ));
84824 separator = B.ListSeparator_1gm0;
84825 }
84826 bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
84827 t1 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
84828 B.JSArray_methods.addAll$1(t1, list2.get$asList());
84829 return A.SassList$0(t1, separator, bracketed);
84830 },
84831 $signature: 22
84832 };
84833 A._append_closure2.prototype = {
84834 call$1($arguments) {
84835 var separator,
84836 t1 = J.getInterceptor$asx($arguments),
84837 list = t1.$index($arguments, 0),
84838 value = t1.$index($arguments, 1);
84839 t1 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
84840 if (t1 === "auto")
84841 separator = list.get$separator(list) === B.ListSeparator_undecided_null0 ? B.ListSeparator_woc0 : list.get$separator(list);
84842 else if (t1 === "space")
84843 separator = B.ListSeparator_woc0;
84844 else if (t1 === "comma")
84845 separator = B.ListSeparator_kWM0;
84846 else {
84847 if (t1 !== "slash")
84848 throw A.wrapException(A.SassScriptException$0(string$.x24separ));
84849 separator = B.ListSeparator_1gm0;
84850 }
84851 t1 = A.List_List$of(list.get$asList(), true, type$.Value_2);
84852 t1.push(value);
84853 return list.withListContents$2$separator(t1, separator);
84854 },
84855 $signature: 22
84856 };
84857 A._zip_closure0.prototype = {
84858 call$1($arguments) {
84859 var results, result, _box_0 = {},
84860 t1 = J.$index$asx($arguments, 0).get$asList(),
84861 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
84862 lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
84863 if (lists.length === 0)
84864 return B.SassList_yfz0;
84865 _box_0.i = 0;
84866 results = A._setArrayType([], type$.JSArray_SassList_2);
84867 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));) {
84868 result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
84869 result.fixed$length = Array;
84870 result.immutable$list = Array;
84871 results.push(new A.SassList0(result, B.ListSeparator_woc0, false));
84872 ++_box_0.i;
84873 }
84874 return A.SassList$0(results, B.ListSeparator_kWM0, false);
84875 },
84876 $signature: 22
84877 };
84878 A._zip__closure2.prototype = {
84879 call$1(list) {
84880 return list.get$asList();
84881 },
84882 $signature: 466
84883 };
84884 A._zip__closure3.prototype = {
84885 call$1(list) {
84886 return this._box_0.i !== J.get$length$asx(list);
84887 },
84888 $signature: 467
84889 };
84890 A._zip__closure4.prototype = {
84891 call$1(list) {
84892 return J.$index$asx(list, this._box_0.i);
84893 },
84894 $signature: 3
84895 };
84896 A._index_closure2.prototype = {
84897 call$1($arguments) {
84898 var t1 = J.getInterceptor$asx($arguments),
84899 index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
84900 if (index === -1)
84901 t1 = B.C__SassNull0;
84902 else
84903 t1 = new A.UnitlessSassNumber0(index + 1, null);
84904 return t1;
84905 },
84906 $signature: 3
84907 };
84908 A._separator_closure0.prototype = {
84909 call$1($arguments) {
84910 switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
84911 case B.ListSeparator_kWM0:
84912 return new A.SassString0("comma", false);
84913 case B.ListSeparator_1gm0:
84914 return new A.SassString0("slash", false);
84915 default:
84916 return new A.SassString0("space", false);
84917 }
84918 },
84919 $signature: 14
84920 };
84921 A._isBracketed_closure0.prototype = {
84922 call$1($arguments) {
84923 return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
84924 },
84925 $signature: 18
84926 };
84927 A._slash_closure0.prototype = {
84928 call$1($arguments) {
84929 var list = J.$index$asx($arguments, 0).get$asList();
84930 if (list.length < 2)
84931 throw A.wrapException(A.SassScriptException$0("At least two elements are required."));
84932 return A.SassList$0(list, B.ListSeparator_1gm0, false);
84933 },
84934 $signature: 22
84935 };
84936 A.SelectorList0.prototype = {
84937 get$isInvisible() {
84938 return B.JSArray_methods.every$1(this.components, new A.SelectorList_isInvisible_closure0());
84939 },
84940 get$asSassList() {
84941 var t1 = this.components;
84942 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);
84943 },
84944 accept$1$1(visitor) {
84945 return visitor.visitSelectorList$1(this);
84946 },
84947 accept$1(visitor) {
84948 return this.accept$1$1(visitor, type$.dynamic);
84949 },
84950 unify$1(other) {
84951 var t1 = this.components,
84952 t2 = A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector0>"),
84953 contents = A.List_List$of(new A.ExpandIterable(t1, new A.SelectorList_unify_closure0(other), t2), true, t2._eval$1("Iterable.E"));
84954 return contents.length === 0 ? null : A.SelectorList$0(contents);
84955 },
84956 resolveParentSelectors$2$implicitParent($parent, implicitParent) {
84957 var t1, _this = this;
84958 if ($parent == null) {
84959 if (!B.JSArray_methods.any$1(_this.components, _this.get$_list2$_complexContainsParentSelector()))
84960 return _this;
84961 throw A.wrapException(A.SassScriptException$0(string$.Top_le));
84962 }
84963 t1 = _this.components;
84964 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));
84965 },
84966 resolveParentSelectors$1($parent) {
84967 return this.resolveParentSelectors$2$implicitParent($parent, true);
84968 },
84969 _list2$_complexContainsParentSelector$1(complex) {
84970 return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure0());
84971 },
84972 _list2$_resolveParentSelectorsCompound$2(compound, $parent) {
84973 var resolvedMembers0, parentSelector, t1,
84974 resolvedMembers = compound.components,
84975 containsSelectorPseudo = B.JSArray_methods.any$1(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure2());
84976 if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(resolvedMembers) instanceof A.ParentSelector0))
84977 return null;
84978 resolvedMembers0 = containsSelectorPseudo ? new A.MappedListIterable(resolvedMembers, new A.SelectorList__resolveParentSelectorsCompound_closure3($parent), A._arrayInstanceType(resolvedMembers)._eval$1("MappedListIterable<1,SimpleSelector0>")) : resolvedMembers;
84979 parentSelector = B.JSArray_methods.get$first(resolvedMembers);
84980 if (parentSelector instanceof A.ParentSelector0) {
84981 if (resolvedMembers.length === 1 && parentSelector.suffix == null)
84982 return $parent.components;
84983 } else
84984 return A._setArrayType([A.ComplexSelector$0(A._setArrayType([A.CompoundSelector$0(resolvedMembers0)], type$.JSArray_ComplexSelectorComponent_2), false)], type$.JSArray_ComplexSelector_2);
84985 t1 = $parent.components;
84986 return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure4(compound, resolvedMembers0), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
84987 },
84988 get$hashCode(_) {
84989 return B.C_ListEquality0.hash$1(this.components);
84990 },
84991 $eq(_, other) {
84992 if (other == null)
84993 return false;
84994 return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
84995 }
84996 };
84997 A.SelectorList_isInvisible_closure0.prototype = {
84998 call$1(complex) {
84999 return complex.get$isInvisible();
85000 },
85001 $signature: 20
85002 };
85003 A.SelectorList_asSassList_closure0.prototype = {
85004 call$1(complex) {
85005 var t1 = complex.components;
85006 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);
85007 },
85008 $signature: 468
85009 };
85010 A.SelectorList_asSassList__closure0.prototype = {
85011 call$1(component) {
85012 return new A.SassString0(component.toString$0(0), false);
85013 },
85014 $signature: 469
85015 };
85016 A.SelectorList_unify_closure0.prototype = {
85017 call$1(complex1) {
85018 var t1 = this.other.components;
85019 return new A.ExpandIterable(t1, new A.SelectorList_unify__closure0(complex1), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,ComplexSelector0>"));
85020 },
85021 $signature: 113
85022 };
85023 A.SelectorList_unify__closure0.prototype = {
85024 call$1(complex2) {
85025 var unified = A.unifyComplex0(A._setArrayType([this.complex1.components, complex2.components], type$.JSArray_List_ComplexSelectorComponent_2));
85026 if (unified == null)
85027 return B.List_empty14;
85028 return J.map$1$1$ax(unified, new A.SelectorList_unify___closure0(), type$.ComplexSelector_2);
85029 },
85030 $signature: 113
85031 };
85032 A.SelectorList_unify___closure0.prototype = {
85033 call$1(complex) {
85034 return A.ComplexSelector$0(complex, false);
85035 },
85036 $signature: 95
85037 };
85038 A.SelectorList_resolveParentSelectors_closure0.prototype = {
85039 call$1(complex) {
85040 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 = {},
85041 t1 = _this.$this;
85042 if (!t1._list2$_complexContainsParentSelector$1(complex)) {
85043 if (!_this.implicitParent)
85044 return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
85045 t1 = _this.parent.components;
85046 return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85047 }
85048 t2 = type$.JSArray_List_ComplexSelectorComponent_2;
85049 newComplexes = A._setArrayType([A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2)], t2);
85050 t3 = type$.JSArray_bool;
85051 _box_0.lineBreaks = A._setArrayType([false], t3);
85052 for (t4 = complex.components, t5 = t4.length, t6 = type$.ComplexSelectorComponent_2, t7 = _this.parent, _i = 0; _i < t5; ++_i) {
85053 component = t4[_i];
85054 if (component instanceof A.CompoundSelector0) {
85055 resolved = t1._list2$_resolveParentSelectorsCompound$2(component, t7);
85056 if (resolved == null) {
85057 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
85058 newComplexes[_i0].push(component);
85059 continue;
85060 }
85061 previousLineBreaks = _box_0.lineBreaks;
85062 newComplexes0 = A._setArrayType([], t2);
85063 _box_0.lineBreaks = A._setArrayType([], t3);
85064 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) {
85065 newComplex = newComplexes[_i0];
85066 i0 = i + 1;
85067 lineBreak = previousLineBreaks[i];
85068 for (t10 = t9.get$iterator(resolved), t11 = !lineBreak; t10.moveNext$0();) {
85069 t12 = t10.get$current(t10);
85070 t13 = A.List_List$of(newComplex, true, t6);
85071 B.JSArray_methods.addAll$1(t13, t12.components);
85072 newComplexes0.push(t13);
85073 t13 = _box_0.lineBreaks;
85074 t13.push(!t11 || t12.lineBreak);
85075 }
85076 }
85077 newComplexes = newComplexes0;
85078 } else
85079 for (t8 = newComplexes.length, _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t8 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0)
85080 newComplexes[_i0].push(component);
85081 }
85082 _box_0.i = 0;
85083 return new A.MappedListIterable(newComplexes, new A.SelectorList_resolveParentSelectors__closure2(_box_0), A._arrayInstanceType(newComplexes)._eval$1("MappedListIterable<1,ComplexSelector0>"));
85084 },
85085 $signature: 113
85086 };
85087 A.SelectorList_resolveParentSelectors__closure1.prototype = {
85088 call$1(parentComplex) {
85089 var t1 = A.List_List$of(parentComplex.components, true, type$.ComplexSelectorComponent_2),
85090 t2 = this.complex;
85091 B.JSArray_methods.addAll$1(t1, t2.components);
85092 return A.ComplexSelector$0(t1, t2.lineBreak || parentComplex.lineBreak);
85093 },
85094 $signature: 100
85095 };
85096 A.SelectorList_resolveParentSelectors__closure2.prototype = {
85097 call$1(newComplex) {
85098 var t1 = this._box_0;
85099 return A.ComplexSelector$0(newComplex, t1.lineBreaks[t1.i++]);
85100 },
85101 $signature: 95
85102 };
85103 A.SelectorList__complexContainsParentSelector_closure0.prototype = {
85104 call$1(component) {
85105 return component instanceof A.CompoundSelector0 && B.JSArray_methods.any$1(component.components, new A.SelectorList__complexContainsParentSelector__closure0());
85106 },
85107 $signature: 116
85108 };
85109 A.SelectorList__complexContainsParentSelector__closure0.prototype = {
85110 call$1(simple) {
85111 var selector;
85112 if (simple instanceof A.ParentSelector0)
85113 return true;
85114 if (!(simple instanceof A.PseudoSelector0))
85115 return false;
85116 selector = simple.selector;
85117 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
85118 },
85119 $signature: 15
85120 };
85121 A.SelectorList__resolveParentSelectorsCompound_closure2.prototype = {
85122 call$1(simple) {
85123 var selector;
85124 if (!(simple instanceof A.PseudoSelector0))
85125 return false;
85126 selector = simple.selector;
85127 return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
85128 },
85129 $signature: 15
85130 };
85131 A.SelectorList__resolveParentSelectorsCompound_closure3.prototype = {
85132 call$1(simple) {
85133 var selector, t1, t2, t3;
85134 if (!(simple instanceof A.PseudoSelector0))
85135 return simple;
85136 selector = simple.selector;
85137 if (selector == null)
85138 return simple;
85139 if (!B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector()))
85140 return simple;
85141 t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
85142 t2 = simple.name;
85143 t3 = simple.isClass;
85144 return A.PseudoSelector$0(t2, simple.argument, !t3, t1);
85145 },
85146 $signature: 472
85147 };
85148 A.SelectorList__resolveParentSelectorsCompound_closure4.prototype = {
85149 call$1(complex) {
85150 var suffix, t2, t3, t4, t5, last,
85151 t1 = complex.components,
85152 lastComponent = B.JSArray_methods.get$last(t1);
85153 if (!(lastComponent instanceof A.CompoundSelector0))
85154 throw A.wrapException(A.SassScriptException$0('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.'));
85155 suffix = type$.ParentSelector_2._as(B.JSArray_methods.get$first(this.compound.components)).suffix;
85156 t2 = type$.SimpleSelector_2;
85157 t3 = this.resolvedMembers;
85158 t4 = lastComponent.components;
85159 t5 = J.getInterceptor$ax(t3);
85160 if (suffix != null) {
85161 t2 = A.List_List$of(A.SubListIterable$(t4, 0, A.checkNotNullable(t4.length - 1, "count", type$.int), A._arrayInstanceType(t4)._precomputed1), true, t2);
85162 t2.push(B.JSArray_methods.get$last(t4).addSuffix$1(suffix));
85163 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
85164 last = A.CompoundSelector$0(t2);
85165 } else {
85166 t2 = A.List_List$of(t4, true, t2);
85167 B.JSArray_methods.addAll$1(t2, t5.skip$1(t3, 1));
85168 last = A.CompoundSelector$0(t2);
85169 }
85170 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);
85171 t1.push(last);
85172 return A.ComplexSelector$0(t1, complex.lineBreak);
85173 },
85174 $signature: 100
85175 };
85176 A._NodeSassList.prototype = {};
85177 A.legacyListClass_closure.prototype = {
85178 call$4(thisArg, $length, commaSeparator, dartValue) {
85179 var t1;
85180 if (dartValue == null) {
85181 $length.toString;
85182 t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
85183 t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_kWM0 : B.ListSeparator_woc0, false);
85184 } else
85185 t1 = dartValue;
85186 J.set$dartValue$x(thisArg, t1);
85187 },
85188 call$2(thisArg, $length) {
85189 return this.call$4(thisArg, $length, null, null);
85190 },
85191 call$3(thisArg, $length, commaSeparator) {
85192 return this.call$4(thisArg, $length, commaSeparator, null);
85193 },
85194 "call*": "call$4",
85195 $requiredArgCount: 2,
85196 $defaultValues() {
85197 return [null, null];
85198 },
85199 $signature: 473
85200 };
85201 A.legacyListClass__closure.prototype = {
85202 call$1(_) {
85203 return B.C__SassNull0;
85204 },
85205 $signature: 232
85206 };
85207 A.legacyListClass_closure0.prototype = {
85208 call$2(thisArg, index) {
85209 return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
85210 },
85211 $signature: 475
85212 };
85213 A.legacyListClass_closure1.prototype = {
85214 call$3(thisArg, index, value) {
85215 var t1 = J.getInterceptor$x(thisArg),
85216 t2 = t1.get$dartValue(thisArg)._list1$_contents,
85217 mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
85218 mutable[index] = A.unwrapValue(value);
85219 t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
85220 },
85221 "call*": "call$3",
85222 $requiredArgCount: 3,
85223 $signature: 476
85224 };
85225 A.legacyListClass_closure2.prototype = {
85226 call$1(thisArg) {
85227 return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_kWM0;
85228 },
85229 $signature: 477
85230 };
85231 A.legacyListClass_closure3.prototype = {
85232 call$2(thisArg, isComma) {
85233 var t1 = J.getInterceptor$x(thisArg),
85234 t2 = t1.get$dartValue(thisArg)._list1$_contents,
85235 t3 = isComma ? B.ListSeparator_kWM0 : B.ListSeparator_woc0;
85236 t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
85237 },
85238 $signature: 478
85239 };
85240 A.legacyListClass_closure4.prototype = {
85241 call$1(thisArg) {
85242 return J.get$dartValue$x(thisArg)._list1$_contents.length;
85243 },
85244 $signature: 479
85245 };
85246 A.listClass_closure.prototype = {
85247 call$0() {
85248 var t1 = type$.JSClass,
85249 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
85250 J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
85251 A.JSClassExtension_injectSuperclass(t1._as(B.SassList_0.constructor), jsClass);
85252 return jsClass;
85253 },
85254 $signature: 25
85255 };
85256 A.listClass__closure.prototype = {
85257 call$3($self, contentsOrOptions, options) {
85258 var contents, t1, t2;
85259 if (self.immutable.isList(contentsOrOptions))
85260 contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
85261 else if (type$.List_dynamic._is(contentsOrOptions))
85262 contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
85263 else {
85264 contents = A._setArrayType([], type$.JSArray_Value_2);
85265 type$.nullable__ConstructorOptions._as(contentsOrOptions);
85266 options = contentsOrOptions;
85267 }
85268 t1 = options == null;
85269 if (!t1) {
85270 t2 = J.get$separator$x(options);
85271 t2 = A._asBool($.$get$_isUndefined().call$1(t2));
85272 } else
85273 t2 = true;
85274 t2 = t2 ? B.ListSeparator_kWM0 : A.jsToDartSeparator(J.get$separator$x(options));
85275 t1 = t1 ? null : J.get$brackets$x(options);
85276 return A.SassList$0(contents, t2, t1 == null ? false : t1);
85277 },
85278 call$1($self) {
85279 return this.call$3($self, null, null);
85280 },
85281 call$2($self, contentsOrOptions) {
85282 return this.call$3($self, contentsOrOptions, null);
85283 },
85284 "call*": "call$3",
85285 $requiredArgCount: 1,
85286 $defaultValues() {
85287 return [null, null];
85288 },
85289 $signature: 480
85290 };
85291 A.listClass__closure0.prototype = {
85292 call$2($self, indexFloat) {
85293 var index = B.JSNumber_methods.floor$0(indexFloat);
85294 if (index < 0)
85295 index = $self.get$asList().length + index;
85296 if (index < 0 || index >= $self.get$asList().length)
85297 return self.undefined;
85298 return $self.get$asList()[index];
85299 },
85300 $signature: 233
85301 };
85302 A._ConstructorOptions.prototype = {};
85303 A.SassList0.prototype = {
85304 get$separator(_) {
85305 return this._list1$_separator;
85306 },
85307 get$hasBrackets() {
85308 return this._list1$_hasBrackets;
85309 },
85310 get$isBlank() {
85311 return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
85312 },
85313 get$asList() {
85314 return this._list1$_contents;
85315 },
85316 get$lengthAsList() {
85317 return this._list1$_contents.length;
85318 },
85319 SassList$3$brackets0(contents, _separator, brackets) {
85320 if (this._list1$_separator === B.ListSeparator_undecided_null0 && this._list1$_contents.length > 1)
85321 throw A.wrapException(A.ArgumentError$(string$.A_list, null));
85322 },
85323 accept$1$1(visitor) {
85324 return visitor.visitList$1(this);
85325 },
85326 accept$1(visitor) {
85327 return this.accept$1$1(visitor, type$.dynamic);
85328 },
85329 assertMap$1($name) {
85330 return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
85331 },
85332 tryMap$0() {
85333 return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
85334 },
85335 $eq(_, other) {
85336 var t1, _this = this;
85337 if (other == null)
85338 return false;
85339 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)))
85340 t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
85341 else
85342 t1 = true;
85343 return t1;
85344 },
85345 get$hashCode(_) {
85346 return B.C_ListEquality0.hash$1(this._list1$_contents);
85347 }
85348 };
85349 A.SassList_isBlank_closure0.prototype = {
85350 call$1(element) {
85351 return element.get$isBlank();
85352 },
85353 $signature: 44
85354 };
85355 A.ListSeparator0.prototype = {
85356 toString$0(_) {
85357 return this._list1$_name;
85358 }
85359 };
85360 A.NodeLogger.prototype = {};
85361 A.WarnOptions.prototype = {};
85362 A.DebugOptions.prototype = {};
85363 A._QuietLogger0.prototype = {
85364 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
85365 },
85366 warn$2$span($receiver, message, span) {
85367 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
85368 },
85369 warn$3$deprecation$span($receiver, message, deprecation, span) {
85370 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
85371 }
85372 };
85373 A.LoudComment0.prototype = {
85374 get$span(_) {
85375 return this.text.span;
85376 },
85377 accept$1$1(visitor) {
85378 return visitor.visitLoudComment$1(this);
85379 },
85380 accept$1(visitor) {
85381 return this.accept$1$1(visitor, type$.dynamic);
85382 },
85383 toString$0(_) {
85384 return this.text.toString$0(0);
85385 },
85386 $isAstNode0: 1,
85387 $isStatement0: 1
85388 };
85389 A.MapExpression0.prototype = {
85390 accept$1$1(visitor) {
85391 return visitor.visitMapExpression$1(this);
85392 },
85393 accept$1(visitor) {
85394 return this.accept$1$1(visitor, type$.dynamic);
85395 },
85396 toString$0(_) {
85397 var t1 = this.pairs;
85398 return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
85399 },
85400 $isExpression0: 1,
85401 $isAstNode0: 1,
85402 get$span(receiver) {
85403 return this.span;
85404 }
85405 };
85406 A.MapExpression_toString_closure0.prototype = {
85407 call$1(pair) {
85408 return A.S(pair.item1) + ": " + A.S(pair.item2);
85409 },
85410 $signature: 482
85411 };
85412 A._get_closure0.prototype = {
85413 call$1($arguments) {
85414 var t3, value,
85415 t1 = J.getInterceptor$asx($arguments),
85416 map = t1.$index($arguments, 0).assertMap$1("map"),
85417 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
85418 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
85419 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) {
85420 value = map._map0$_contents.$index(0, t3._as(t1.__internal$_current));
85421 if (!(value instanceof A.SassMap0))
85422 return B.C__SassNull0;
85423 }
85424 t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
85425 return t1 == null ? B.C__SassNull0 : t1;
85426 },
85427 $signature: 3
85428 };
85429 A._set_closure1.prototype = {
85430 call$1($arguments) {
85431 var t1 = J.getInterceptor$asx($arguments);
85432 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);
85433 },
85434 $signature: 3
85435 };
85436 A._set__closure2.prototype = {
85437 call$1(_) {
85438 return J.$index$asx(this.$arguments, 2);
85439 },
85440 $signature: 36
85441 };
85442 A._set_closure2.prototype = {
85443 call$1($arguments) {
85444 var t1 = J.getInterceptor$asx($arguments),
85445 map = t1.$index($arguments, 0).assertMap$1("map"),
85446 args = t1.$index($arguments, 1).get$asList();
85447 t1 = args.length;
85448 if (t1 === 0)
85449 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key."));
85450 else if (t1 === 1)
85451 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value."));
85452 return A._modify0(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure1(args), true);
85453 },
85454 $signature: 3
85455 };
85456 A._set__closure1.prototype = {
85457 call$1(_) {
85458 return B.JSArray_methods.get$last(this.args);
85459 },
85460 $signature: 36
85461 };
85462 A._merge_closure1.prototype = {
85463 call$1($arguments) {
85464 var t2, t3, t4,
85465 t1 = J.getInterceptor$asx($arguments),
85466 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
85467 map2 = t1.$index($arguments, 1).assertMap$1("map2");
85468 t1 = type$.Value_2;
85469 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
85470 for (t3 = map1._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85471 t4 = t3.get$current(t3);
85472 t2.$indexSet(0, t4.key, t4.value);
85473 }
85474 for (t3 = map2._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85475 t4 = t3.get$current(t3);
85476 t2.$indexSet(0, t4.key, t4.value);
85477 }
85478 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
85479 },
85480 $signature: 34
85481 };
85482 A._merge_closure2.prototype = {
85483 call$1($arguments) {
85484 var map2,
85485 t1 = J.getInterceptor$asx($arguments),
85486 map1 = t1.$index($arguments, 0).assertMap$1("map1"),
85487 args = t1.$index($arguments, 1).get$asList();
85488 t1 = args.length;
85489 if (t1 === 0)
85490 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key."));
85491 else if (t1 === 1)
85492 throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map."));
85493 map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
85494 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);
85495 },
85496 $signature: 3
85497 };
85498 A._merge__closure0.prototype = {
85499 call$1(oldValue) {
85500 var t1, t2, t3, t4,
85501 nestedMap = oldValue.tryMap$0();
85502 if (nestedMap == null)
85503 return this.map2;
85504 t1 = type$.Value_2;
85505 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
85506 for (t3 = nestedMap._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85507 t4 = t3.get$current(t3);
85508 t2.$indexSet(0, t4.key, t4.value);
85509 }
85510 for (t3 = this.map2._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
85511 t4 = t3.get$current(t3);
85512 t2.$indexSet(0, t4.key, t4.value);
85513 }
85514 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
85515 },
85516 $signature: 483
85517 };
85518 A._deepMerge_closure0.prototype = {
85519 call$1($arguments) {
85520 var t1 = J.getInterceptor$asx($arguments);
85521 return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
85522 },
85523 $signature: 34
85524 };
85525 A._deepRemove_closure0.prototype = {
85526 call$1($arguments) {
85527 var t1 = J.getInterceptor$asx($arguments),
85528 map = t1.$index($arguments, 0).assertMap$1("map"),
85529 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
85530 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
85531 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);
85532 },
85533 $signature: 3
85534 };
85535 A._deepRemove__closure0.prototype = {
85536 call$1(value) {
85537 var t1, t2,
85538 nestedMap = value.tryMap$0();
85539 if (nestedMap != null && nestedMap._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
85540 t1 = type$.Value_2;
85541 t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
85542 t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
85543 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
85544 }
85545 return value;
85546 },
85547 $signature: 36
85548 };
85549 A._remove_closure1.prototype = {
85550 call$1($arguments) {
85551 return J.$index$asx($arguments, 0).assertMap$1("map");
85552 },
85553 $signature: 34
85554 };
85555 A._remove_closure2.prototype = {
85556 call$1($arguments) {
85557 var mutableMap, t3, _i,
85558 t1 = J.getInterceptor$asx($arguments),
85559 map = t1.$index($arguments, 0).assertMap$1("map"),
85560 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
85561 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
85562 t1 = type$.Value_2;
85563 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
85564 for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
85565 mutableMap.remove$1(0, t2[_i]);
85566 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
85567 },
85568 $signature: 34
85569 };
85570 A._keys_closure0.prototype = {
85571 call$1($arguments) {
85572 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
85573 return A.SassList$0(t1.get$keys(t1), B.ListSeparator_kWM0, false);
85574 },
85575 $signature: 22
85576 };
85577 A._values_closure0.prototype = {
85578 call$1($arguments) {
85579 var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
85580 return A.SassList$0(t1.get$values(t1), B.ListSeparator_kWM0, false);
85581 },
85582 $signature: 22
85583 };
85584 A._hasKey_closure0.prototype = {
85585 call$1($arguments) {
85586 var t3, value,
85587 t1 = J.getInterceptor$asx($arguments),
85588 map = t1.$index($arguments, 0).assertMap$1("map"),
85589 t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
85590 B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
85591 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) {
85592 value = map._map0$_contents.$index(0, t3._as(t1.__internal$_current));
85593 if (!(value instanceof A.SassMap0))
85594 return B.SassBoolean_false0;
85595 }
85596 return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
85597 },
85598 $signature: 18
85599 };
85600 A._modify__modifyNestedMap0.prototype = {
85601 call$1(map) {
85602 var nestedMap, _this = this,
85603 t1 = type$.Value_2,
85604 mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
85605 t2 = _this.keyIterator,
85606 key = t2.get$current(t2);
85607 if (!t2.moveNext$0()) {
85608 t2 = mutableMap.$index(0, key);
85609 if (t2 == null)
85610 t2 = B.C__SassNull0;
85611 mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
85612 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
85613 }
85614 t2 = mutableMap.$index(0, key);
85615 nestedMap = t2 == null ? null : t2.tryMap$0();
85616 t2 = nestedMap == null;
85617 if (t2 && !_this.addNesting)
85618 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
85619 mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
85620 return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
85621 },
85622 $signature: 484
85623 };
85624 A._deepMergeImpl__ensureMutable0.prototype = {
85625 call$0() {
85626 var t2,
85627 t1 = this._box_0;
85628 if (t1.mutable)
85629 return;
85630 t1.mutable = true;
85631 t2 = type$.Value_2;
85632 t1.result = A.LinkedHashMap_LinkedHashMap$of(t1.result, t2, t2);
85633 },
85634 $signature: 0
85635 };
85636 A._deepMergeImpl_closure0.prototype = {
85637 call$2(key, value) {
85638 var resultMap, valueMap, merged,
85639 t1 = this._box_0,
85640 resultValue = t1.result.$index(0, key);
85641 if (resultValue == null) {
85642 this._ensureMutable.call$0();
85643 t1.result.$indexSet(0, key, value);
85644 } else {
85645 resultMap = resultValue.tryMap$0();
85646 valueMap = value.tryMap$0();
85647 if (resultMap != null && valueMap != null) {
85648 merged = A._deepMergeImpl0(valueMap, resultMap);
85649 if (merged === resultMap)
85650 return;
85651 this._ensureMutable.call$0();
85652 t1.result.$indexSet(0, key, merged);
85653 }
85654 }
85655 },
85656 $signature: 53
85657 };
85658 A._NodeSassMap.prototype = {};
85659 A.legacyMapClass_closure.prototype = {
85660 call$3(thisArg, $length, dartValue) {
85661 var t1, t2, t3, map;
85662 if (dartValue == null) {
85663 $length.toString;
85664 t1 = type$.Value_2;
85665 t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
85666 t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
85667 map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
85668 A.MapBase__fillMapWithIterables(map, t2, t3);
85669 t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
85670 } else
85671 t1 = dartValue;
85672 J.set$dartValue$x(thisArg, t1);
85673 },
85674 call$2(thisArg, $length) {
85675 return this.call$3(thisArg, $length, null);
85676 },
85677 "call*": "call$3",
85678 $requiredArgCount: 2,
85679 $defaultValues() {
85680 return [null];
85681 },
85682 $signature: 485
85683 };
85684 A.legacyMapClass__closure.prototype = {
85685 call$1(i) {
85686 return new A.UnitlessSassNumber0(i, null);
85687 },
85688 $signature: 486
85689 };
85690 A.legacyMapClass__closure0.prototype = {
85691 call$1(_) {
85692 return B.C__SassNull0;
85693 },
85694 $signature: 232
85695 };
85696 A.legacyMapClass_closure0.prototype = {
85697 call$2(thisArg, index) {
85698 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
85699 return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
85700 },
85701 $signature: 234
85702 };
85703 A.legacyMapClass_closure1.prototype = {
85704 call$2(thisArg, index) {
85705 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
85706 return A.wrapValue(t1.get$values(t1).elementAt$1(0, index));
85707 },
85708 $signature: 234
85709 };
85710 A.legacyMapClass_closure2.prototype = {
85711 call$1(thisArg) {
85712 var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
85713 return t1.get$length(t1);
85714 },
85715 $signature: 488
85716 };
85717 A.legacyMapClass_closure3.prototype = {
85718 call$3(thisArg, index, key) {
85719 var newKey, t2, newMap, t3, i, t4, t5,
85720 t1 = J.getInterceptor$x(thisArg);
85721 A.RangeError_checkValidIndex(index, t1.get$dartValue(thisArg)._map0$_contents, "index");
85722 newKey = A.unwrapValue(key);
85723 t2 = type$.Value_2;
85724 newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
85725 for (t3 = t1.get$dartValue(thisArg)._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
85726 t4 = t3.get$current(t3);
85727 if (i === index)
85728 newMap.$indexSet(0, newKey, t4.value);
85729 else {
85730 t5 = t4.key;
85731 if (newKey.$eq(0, t5))
85732 throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
85733 newMap.$indexSet(0, t5, t4.value);
85734 }
85735 ++i;
85736 }
85737 t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
85738 },
85739 "call*": "call$3",
85740 $requiredArgCount: 3,
85741 $signature: 235
85742 };
85743 A.legacyMapClass_closure4.prototype = {
85744 call$3(thisArg, index, value) {
85745 var t3, t4, t5,
85746 t1 = J.getInterceptor$x(thisArg),
85747 t2 = t1.get$dartValue(thisArg)._map0$_contents,
85748 key = J.elementAt$1$ax(t2.get$keys(t2), index);
85749 t2 = type$.Value_2;
85750 t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
85751 for (t4 = t1.get$dartValue(thisArg)._map0$_contents, t4 = t4.get$entries(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
85752 t5 = t4.get$current(t4);
85753 t3.$indexSet(0, t5.key, t5.value);
85754 }
85755 t3.$indexSet(0, key, A.unwrapValue(value));
85756 t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
85757 },
85758 "call*": "call$3",
85759 $requiredArgCount: 3,
85760 $signature: 235
85761 };
85762 A.mapClass_closure.prototype = {
85763 call$0() {
85764 var t1 = type$.JSClass,
85765 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
85766 t2 = J.getInterceptor$x(jsClass);
85767 A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
85768 t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
85769 A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
85770 return jsClass;
85771 },
85772 $signature: 25
85773 };
85774 A.mapClass__closure.prototype = {
85775 call$2($self, contents) {
85776 var t1;
85777 if (contents == null)
85778 t1 = B.SassMap_Map_empty0;
85779 else {
85780 t1 = type$.Value_2;
85781 t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
85782 }
85783 return t1;
85784 },
85785 call$1($self) {
85786 return this.call$2($self, null);
85787 },
85788 "call*": "call$2",
85789 $requiredArgCount: 1,
85790 $defaultValues() {
85791 return [null];
85792 },
85793 $signature: 490
85794 };
85795 A.mapClass__closure0.prototype = {
85796 call$1($self) {
85797 return A.dartMapToImmutableMap($self._map0$_contents);
85798 },
85799 $signature: 491
85800 };
85801 A.mapClass__closure1.prototype = {
85802 call$2($self, indexOrKey) {
85803 var index, t1, entry;
85804 if (typeof indexOrKey == "number") {
85805 index = B.JSNumber_methods.floor$0(indexOrKey);
85806 if (index < 0) {
85807 t1 = $self._map0$_contents;
85808 index = t1.get$length(t1) + index;
85809 }
85810 if (index >= 0) {
85811 t1 = $self._map0$_contents;
85812 t1 = index >= t1.get$length(t1);
85813 } else
85814 t1 = true;
85815 if (t1)
85816 return self.undefined;
85817 t1 = $self._map0$_contents;
85818 entry = t1.get$entries(t1).elementAt$1(0, index);
85819 return A.SassList$0(A._setArrayType([entry.key, entry.value], type$.JSArray_Value_2), B.ListSeparator_woc0, false);
85820 } else {
85821 t1 = $self._map0$_contents.$index(0, indexOrKey);
85822 return t1 == null ? self.undefined : t1;
85823 }
85824 },
85825 $signature: 492
85826 };
85827 A.SassMap0.prototype = {
85828 get$separator(_) {
85829 var t1 = this._map0$_contents;
85830 return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null0 : B.ListSeparator_kWM0;
85831 },
85832 get$asList() {
85833 var result = A._setArrayType([], type$.JSArray_Value_2);
85834 this._map0$_contents.forEach$1(0, new A.SassMap_asList_closure0(result));
85835 return result;
85836 },
85837 get$lengthAsList() {
85838 var t1 = this._map0$_contents;
85839 return t1.get$length(t1);
85840 },
85841 accept$1$1(visitor) {
85842 return visitor.visitMap$1(this);
85843 },
85844 accept$1(visitor) {
85845 return this.accept$1$1(visitor, type$.dynamic);
85846 },
85847 assertMap$1($name) {
85848 return this;
85849 },
85850 tryMap$0() {
85851 return this;
85852 },
85853 $eq(_, other) {
85854 var t1;
85855 if (other == null)
85856 return false;
85857 if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
85858 t1 = this._map0$_contents;
85859 t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
85860 } else
85861 t1 = true;
85862 return t1;
85863 },
85864 get$hashCode(_) {
85865 var t1 = this._map0$_contents;
85866 return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty15) : B.C_MapEquality.hash$1(t1);
85867 }
85868 };
85869 A.SassMap_asList_closure0.prototype = {
85870 call$2(key, value) {
85871 this.result.push(A.SassList$0(A._setArrayType([key, value], type$.JSArray_Value_2), B.ListSeparator_woc0, false));
85872 },
85873 $signature: 53
85874 };
85875 A._ceil_closure0.prototype = {
85876 call$1(value) {
85877 return B.JSNumber_methods.ceil$0(value);
85878 },
85879 $signature: 43
85880 };
85881 A._clamp_closure0.prototype = {
85882 call$1($arguments) {
85883 var t1 = J.getInterceptor$asx($arguments),
85884 min = t1.$index($arguments, 0).assertNumber$1("min"),
85885 number = t1.$index($arguments, 1).assertNumber$1("number"),
85886 max = t1.$index($arguments, 2).assertNumber$1("max");
85887 number.convertValueToMatch$3(min, "number", "min");
85888 max.convertValueToMatch$3(min, "max", "min");
85889 if (min.greaterThanOrEquals$1(max).value)
85890 return min;
85891 if (min.greaterThanOrEquals$1(number).value)
85892 return min;
85893 if (number.greaterThanOrEquals$1(max).value)
85894 return max;
85895 return number;
85896 },
85897 $signature: 10
85898 };
85899 A._floor_closure0.prototype = {
85900 call$1(value) {
85901 return B.JSNumber_methods.floor$0(value);
85902 },
85903 $signature: 43
85904 };
85905 A._max_closure0.prototype = {
85906 call$1($arguments) {
85907 var t1, t2, max, _i, number;
85908 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) {
85909 number = t1[_i].assertNumber$0();
85910 if (max == null || max.lessThan$1(number).value)
85911 max = number;
85912 }
85913 if (max != null)
85914 return max;
85915 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
85916 },
85917 $signature: 10
85918 };
85919 A._min_closure0.prototype = {
85920 call$1($arguments) {
85921 var t1, t2, min, _i, number;
85922 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) {
85923 number = t1[_i].assertNumber$0();
85924 if (min == null || min.greaterThan$1(number).value)
85925 min = number;
85926 }
85927 if (min != null)
85928 return min;
85929 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
85930 },
85931 $signature: 10
85932 };
85933 A._abs_closure0.prototype = {
85934 call$1(value) {
85935 return Math.abs(value);
85936 },
85937 $signature: 77
85938 };
85939 A._hypot_closure0.prototype = {
85940 call$1($arguments) {
85941 var subtotal, i, i0, t3, t4,
85942 t1 = J.$index$asx($arguments, 0).get$asList(),
85943 t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
85944 numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
85945 t1 = numbers.length;
85946 if (t1 === 0)
85947 throw A.wrapException(A.SassScriptException$0("At least one argument must be passed."));
85948 for (subtotal = 0, i = 0; i < t1; i = i0) {
85949 i0 = i + 1;
85950 subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
85951 }
85952 t1 = Math.sqrt(subtotal);
85953 t2 = numbers[0];
85954 t3 = J.getInterceptor$x(t2);
85955 t4 = t3.get$numeratorUnits(t2);
85956 return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t2), t4);
85957 },
85958 $signature: 10
85959 };
85960 A._hypot__closure0.prototype = {
85961 call$1(argument) {
85962 return argument.assertNumber$0();
85963 },
85964 $signature: 493
85965 };
85966 A._log_closure0.prototype = {
85967 call$1($arguments) {
85968 var numberValue, base, baseValue, t2,
85969 _s18_ = " to have no units.",
85970 t1 = J.getInterceptor$asx($arguments),
85971 number = t1.$index($arguments, 0).assertNumber$1("number");
85972 if (number.get$hasUnits())
85973 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_));
85974 numberValue = A._fuzzyRoundIfZero0(number._number1$_value);
85975 if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull0)) {
85976 t1 = Math.log(numberValue);
85977 return new A.UnitlessSassNumber0(t1, null);
85978 }
85979 base = t1.$index($arguments, 1).assertNumber$1("base");
85980 if (base.get$hasUnits())
85981 throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_));
85982 t1 = base._number1$_value;
85983 baseValue = Math.abs(t1 - 1) < $.$get$epsilon0() ? A.fuzzyRound0(t1) : A._fuzzyRoundIfZero0(t1);
85984 t1 = Math.log(numberValue);
85985 t2 = Math.log(baseValue);
85986 return new A.UnitlessSassNumber0(t1 / t2, null);
85987 },
85988 $signature: 10
85989 };
85990 A._pow_closure0.prototype = {
85991 call$1($arguments) {
85992 var baseValue, exponentValue, t2, intExponent, t3,
85993 _s18_ = " to have no units.",
85994 _null = null,
85995 t1 = J.getInterceptor$asx($arguments),
85996 base = t1.$index($arguments, 0).assertNumber$1("base"),
85997 exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
85998 if (base.get$hasUnits())
85999 throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_));
86000 else if (exponent.get$hasUnits())
86001 throw A.wrapException(A.SassScriptException$0("$exponent: Expected " + exponent.toString$0(0) + _s18_));
86002 baseValue = A._fuzzyRoundIfZero0(base._number1$_value);
86003 exponentValue = A._fuzzyRoundIfZero0(exponent._number1$_value);
86004 t1 = $.$get$epsilon0();
86005 if (Math.abs(Math.abs(baseValue) - 1) < t1)
86006 t2 = exponentValue == 1 / 0 || exponentValue == -1 / 0;
86007 else
86008 t2 = false;
86009 if (t2)
86010 return new A.UnitlessSassNumber0(0 / 0, _null);
86011 else {
86012 t2 = Math.abs(baseValue - 0);
86013 if (t2 < t1) {
86014 if (isFinite(exponentValue)) {
86015 intExponent = A.fuzzyIsInt0(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
86016 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
86017 exponentValue = A.fuzzyRound0(exponentValue);
86018 }
86019 } else {
86020 if (isFinite(baseValue))
86021 t3 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue) && A.fuzzyIsInt0(exponentValue);
86022 else
86023 t3 = false;
86024 if (t3)
86025 exponentValue = A.fuzzyRound0(exponentValue);
86026 else {
86027 if (baseValue == 1 / 0 || baseValue == -1 / 0)
86028 t1 = baseValue < 0 && !(t2 < t1) && isFinite(exponentValue);
86029 else
86030 t1 = false;
86031 if (t1) {
86032 intExponent = A.fuzzyIsInt0(exponentValue) ? B.JSNumber_methods.round$0(exponentValue) : _null;
86033 if (intExponent != null && B.JSInt_methods.$mod(intExponent, 2) === 1)
86034 exponentValue = A.fuzzyRound0(exponentValue);
86035 }
86036 }
86037 }
86038 }
86039 t1 = Math.pow(baseValue, exponentValue);
86040 return new A.UnitlessSassNumber0(t1, _null);
86041 },
86042 $signature: 10
86043 };
86044 A._sqrt_closure0.prototype = {
86045 call$1($arguments) {
86046 var t1,
86047 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86048 if (number.get$hasUnits())
86049 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86050 t1 = Math.sqrt(A._fuzzyRoundIfZero0(number._number1$_value));
86051 return new A.UnitlessSassNumber0(t1, null);
86052 },
86053 $signature: 10
86054 };
86055 A._acos_closure0.prototype = {
86056 call$1($arguments) {
86057 var numberValue,
86058 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86059 if (number.get$hasUnits())
86060 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86061 numberValue = number._number1$_value;
86062 if (Math.abs(Math.abs(numberValue) - 1) < $.$get$epsilon0())
86063 numberValue = A.fuzzyRound0(numberValue);
86064 return A.SassNumber_SassNumber$withUnits0(Math.acos(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86065 },
86066 $signature: 10
86067 };
86068 A._asin_closure0.prototype = {
86069 call$1($arguments) {
86070 var t1, numberValue,
86071 number = J.$index$asx($arguments, 0).assertNumber$1("number");
86072 if (number.get$hasUnits())
86073 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86074 t1 = number._number1$_value;
86075 numberValue = Math.abs(Math.abs(t1) - 1) < $.$get$epsilon0() ? A.fuzzyRound0(t1) : A._fuzzyRoundIfZero0(t1);
86076 return A.SassNumber_SassNumber$withUnits0(Math.asin(numberValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86077 },
86078 $signature: 10
86079 };
86080 A._atan_closure0.prototype = {
86081 call$1($arguments) {
86082 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
86083 if (number.get$hasUnits())
86084 throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units."));
86085 return A.SassNumber_SassNumber$withUnits0(Math.atan(A._fuzzyRoundIfZero0(number._number1$_value)) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86086 },
86087 $signature: 10
86088 };
86089 A._atan2_closure0.prototype = {
86090 call$1($arguments) {
86091 var t1 = J.getInterceptor$asx($arguments),
86092 y = t1.$index($arguments, 0).assertNumber$1("y"),
86093 xValue = A._fuzzyRoundIfZero0(t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y"));
86094 return A.SassNumber_SassNumber$withUnits0(Math.atan2(A._fuzzyRoundIfZero0(y._number1$_value), xValue) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
86095 },
86096 $signature: 10
86097 };
86098 A._cos_closure0.prototype = {
86099 call$1($arguments) {
86100 var t1 = Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"));
86101 return new A.UnitlessSassNumber0(t1, null);
86102 },
86103 $signature: 10
86104 };
86105 A._sin_closure0.prototype = {
86106 call$1($arguments) {
86107 var t1 = Math.sin(A._fuzzyRoundIfZero0(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")));
86108 return new A.UnitlessSassNumber0(t1, null);
86109 },
86110 $signature: 10
86111 };
86112 A._tan_closure0.prototype = {
86113 call$1($arguments) {
86114 var value = J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number"),
86115 t1 = B.JSNumber_methods.$mod(value - 1.5707963267948966, 6.283185307179586),
86116 t2 = $.$get$epsilon0();
86117 if (Math.abs(t1 - 0) < t2)
86118 return new A.UnitlessSassNumber0(1 / 0, null);
86119 else if (Math.abs(B.JSNumber_methods.$mod(value + 1.5707963267948966, 6.283185307179586) - 0) < t2)
86120 return new A.UnitlessSassNumber0(-1 / 0, null);
86121 else {
86122 t1 = Math.tan(A._fuzzyRoundIfZero0(value));
86123 return new A.UnitlessSassNumber0(t1, null);
86124 }
86125 },
86126 $signature: 10
86127 };
86128 A._compatible_closure0.prototype = {
86129 call$1($arguments) {
86130 var t1 = J.getInterceptor$asx($arguments);
86131 return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
86132 },
86133 $signature: 18
86134 };
86135 A._isUnitless_closure0.prototype = {
86136 call$1($arguments) {
86137 return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
86138 },
86139 $signature: 18
86140 };
86141 A._unit_closure0.prototype = {
86142 call$1($arguments) {
86143 return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
86144 },
86145 $signature: 14
86146 };
86147 A._percentage_closure0.prototype = {
86148 call$1($arguments) {
86149 var number = J.$index$asx($arguments, 0).assertNumber$1("number");
86150 number.assertNoUnits$1("number");
86151 return new A.SingleUnitSassNumber0("%", number._number1$_value * 100, null);
86152 },
86153 $signature: 10
86154 };
86155 A._randomFunction_closure0.prototype = {
86156 call$1($arguments) {
86157 var limit,
86158 t1 = J.getInterceptor$asx($arguments);
86159 if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull0)) {
86160 t1 = $.$get$_random2().nextDouble$0();
86161 return new A.UnitlessSassNumber0(t1, null);
86162 }
86163 limit = t1.$index($arguments, 0).assertNumber$1("limit").assertInt$1("limit");
86164 if (limit < 1)
86165 throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit + "."));
86166 t1 = $.$get$_random2().nextInt$1(limit);
86167 return new A.UnitlessSassNumber0(t1 + 1, null);
86168 },
86169 $signature: 10
86170 };
86171 A._div_closure0.prototype = {
86172 call$1($arguments) {
86173 var t1 = J.getInterceptor$asx($arguments),
86174 number1 = t1.$index($arguments, 0),
86175 number2 = t1.$index($arguments, 1);
86176 if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
86177 A.EvaluationContext_current0().warn$2$deprecation(0, string$.math_d, false);
86178 return number1.dividedBy$1(number2);
86179 },
86180 $signature: 3
86181 };
86182 A._numberFunction_closure0.prototype = {
86183 call$1($arguments) {
86184 var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
86185 t1 = this.transform.call$1(number._number1$_value),
86186 t2 = number.get$numeratorUnits(number);
86187 return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
86188 },
86189 $signature: 10
86190 };
86191 A.CssMediaQuery0.prototype = {
86192 merge$1(other) {
86193 var t8, negativeFeatures, features, type, modifier, fewerFeatures, fewerFeatures0, moreFeatures, _this = this, _null = null, _s3_ = "all",
86194 t1 = _this.modifier,
86195 ourModifier = t1 == null ? _null : t1.toLowerCase(),
86196 t2 = _this.type,
86197 t3 = t2 == null,
86198 ourType = t3 ? _null : t2.toLowerCase(),
86199 t4 = other.modifier,
86200 theirModifier = t4 == null ? _null : t4.toLowerCase(),
86201 t5 = other.type,
86202 t6 = t5 == null,
86203 theirType = t6 ? _null : t5.toLowerCase(),
86204 t7 = ourType == null;
86205 if (t7 && theirType == null) {
86206 t1 = type$.String;
86207 t2 = A.List_List$of(_this.features, true, t1);
86208 B.JSArray_methods.addAll$1(t2, other.features);
86209 return new A.MediaQuerySuccessfulMergeResult0(new A.CssMediaQuery0(_null, _null, A.List_List$unmodifiable(t2, t1)));
86210 }
86211 t8 = ourModifier === "not";
86212 if (t8 !== (theirModifier === "not")) {
86213 if (ourType == theirType) {
86214 negativeFeatures = t8 ? _this.features : other.features;
86215 if (B.JSArray_methods.every$1(negativeFeatures, B.JSArray_methods.get$contains(t8 ? other.features : _this.features)))
86216 return B._SingletonCssMediaQueryMergeResult_empty0;
86217 else
86218 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86219 } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
86220 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86221 if (t8) {
86222 features = other.features;
86223 type = theirType;
86224 modifier = theirModifier;
86225 } else {
86226 features = _this.features;
86227 type = ourType;
86228 modifier = ourModifier;
86229 }
86230 } else if (t8) {
86231 if (ourType != theirType)
86232 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86233 fewerFeatures = _this.features;
86234 fewerFeatures0 = other.features;
86235 t3 = fewerFeatures.length > fewerFeatures0.length;
86236 moreFeatures = t3 ? fewerFeatures : fewerFeatures0;
86237 if (t3)
86238 fewerFeatures = fewerFeatures0;
86239 if (!B.JSArray_methods.every$1(fewerFeatures, B.JSArray_methods.get$contains(moreFeatures)))
86240 return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
86241 features = moreFeatures;
86242 type = ourType;
86243 modifier = ourModifier;
86244 } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
86245 type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
86246 t3 = A.List_List$of(_this.features, true, type$.String);
86247 B.JSArray_methods.addAll$1(t3, other.features);
86248 features = t3;
86249 modifier = theirModifier;
86250 } else {
86251 if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
86252 t3 = A.List_List$of(_this.features, true, type$.String);
86253 B.JSArray_methods.addAll$1(t3, other.features);
86254 features = t3;
86255 modifier = ourModifier;
86256 } else {
86257 if (ourType != theirType)
86258 return B._SingletonCssMediaQueryMergeResult_empty0;
86259 else {
86260 modifier = ourModifier == null ? theirModifier : ourModifier;
86261 t3 = A.List_List$of(_this.features, true, type$.String);
86262 B.JSArray_methods.addAll$1(t3, other.features);
86263 }
86264 features = t3;
86265 }
86266 type = ourType;
86267 }
86268 t2 = type == ourType ? t2 : t5;
86269 t1 = modifier == ourModifier ? t1 : t4;
86270 t3 = A.List_List$unmodifiable(features, type$.String);
86271 return new A.MediaQuerySuccessfulMergeResult0(new A.CssMediaQuery0(t1, t2, t3));
86272 },
86273 $eq(_, other) {
86274 if (other == null)
86275 return false;
86276 return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.features, this.features);
86277 },
86278 get$hashCode(_) {
86279 return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.features);
86280 },
86281 toString$0(_) {
86282 var t2, _this = this,
86283 t1 = _this.modifier;
86284 t1 = t1 != null ? "" + (t1 + " ") : "";
86285 t2 = _this.type;
86286 if (t2 != null) {
86287 t1 += t2;
86288 if (_this.features.length !== 0)
86289 t1 += " and ";
86290 }
86291 t1 += B.JSArray_methods.join$1(_this.features, " and ");
86292 return t1.charCodeAt(0) == 0 ? t1 : t1;
86293 }
86294 };
86295 A._SingletonCssMediaQueryMergeResult0.prototype = {
86296 toString$0(_) {
86297 return this._media_query1$_name;
86298 }
86299 };
86300 A.MediaQuerySuccessfulMergeResult0.prototype = {};
86301 A.MediaQueryParser0.prototype = {
86302 parse$0() {
86303 return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
86304 },
86305 _media_query0$_mediaQuery$0() {
86306 var identifier1, identifier2, type, modifier, features, _this = this, _null = null,
86307 t1 = _this.scanner;
86308 if (t1.peekChar$0() !== 40) {
86309 identifier1 = _this.identifier$0();
86310 _this.whitespace$0();
86311 if (!_this.lookingAtIdentifier$0())
86312 return new A.CssMediaQuery0(_null, identifier1, B.List_empty);
86313 identifier2 = _this.identifier$0();
86314 _this.whitespace$0();
86315 if (A.equalsIgnoreCase0(identifier2, "and")) {
86316 type = identifier1;
86317 modifier = _null;
86318 } else {
86319 if (_this.scanIdentifier$1("and"))
86320 _this.whitespace$0();
86321 else
86322 return new A.CssMediaQuery0(identifier1, identifier2, B.List_empty);
86323 type = identifier2;
86324 modifier = identifier1;
86325 }
86326 } else {
86327 type = _null;
86328 modifier = type;
86329 }
86330 features = A._setArrayType([], type$.JSArray_String);
86331 do {
86332 _this.whitespace$0();
86333 t1.expectChar$1(40);
86334 features.push("(" + _this.declarationValue$0() + ")");
86335 t1.expectChar$1(41);
86336 _this.whitespace$0();
86337 } while (_this.scanIdentifier$1("and"));
86338 if (type == null)
86339 return new A.CssMediaQuery0(_null, _null, A.List_List$unmodifiable(features, type$.String));
86340 else {
86341 t1 = A.List_List$unmodifiable(features, type$.String);
86342 return new A.CssMediaQuery0(modifier, type, t1);
86343 }
86344 }
86345 };
86346 A.MediaQueryParser_parse_closure0.prototype = {
86347 call$0() {
86348 var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
86349 t1 = this.$this,
86350 t2 = t1.scanner;
86351 do {
86352 t1.whitespace$0();
86353 queries.push(t1._media_query0$_mediaQuery$0());
86354 } while (t2.scanChar$1(44));
86355 t2.expectDone$0();
86356 return queries;
86357 },
86358 $signature: 132
86359 };
86360 A.ModifiableCssMediaRule0.prototype = {
86361 accept$1$1(visitor) {
86362 return visitor.visitCssMediaRule$1(this);
86363 },
86364 accept$1(visitor) {
86365 return this.accept$1$1(visitor, type$.dynamic);
86366 },
86367 copyWithoutChildren$0() {
86368 return A.ModifiableCssMediaRule$0(this.queries, this.span);
86369 },
86370 $isCssMediaRule0: 1,
86371 get$span(receiver) {
86372 return this.span;
86373 }
86374 };
86375 A.MediaRule0.prototype = {
86376 accept$1$1(visitor) {
86377 return visitor.visitMediaRule$1(this);
86378 },
86379 accept$1(visitor) {
86380 return this.accept$1$1(visitor, type$.dynamic);
86381 },
86382 toString$0(_) {
86383 var t1 = this.children;
86384 return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
86385 },
86386 get$span(receiver) {
86387 return this.span;
86388 }
86389 };
86390 A.MergedExtension0.prototype = {
86391 unmerge$0() {
86392 var $async$self = this;
86393 return A._makeSyncStarIterable(function() {
86394 var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
86395 return function $async$unmerge$0($async$errorCode, $async$result) {
86396 if ($async$errorCode === 1) {
86397 $async$currentError = $async$result;
86398 $async$goto = $async$handler;
86399 }
86400 while (true)
86401 switch ($async$goto) {
86402 case 0:
86403 // Function start
86404 left = $async$self.left;
86405 $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
86406 break;
86407 case 2:
86408 // then
86409 $async$goto = 5;
86410 return A._IterationMarker_yieldStar(left.unmerge$0());
86411 case 5:
86412 // after yield
86413 // goto join
86414 $async$goto = 3;
86415 break;
86416 case 4:
86417 // else
86418 $async$goto = 6;
86419 return left;
86420 case 6:
86421 // after yield
86422 case 3:
86423 // join
86424 right = $async$self.right;
86425 $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
86426 break;
86427 case 7:
86428 // then
86429 $async$goto = 10;
86430 return A._IterationMarker_yieldStar(right.unmerge$0());
86431 case 10:
86432 // after yield
86433 // goto join
86434 $async$goto = 8;
86435 break;
86436 case 9:
86437 // else
86438 $async$goto = 11;
86439 return right;
86440 case 11:
86441 // after yield
86442 case 8:
86443 // join
86444 // implicit return
86445 return A._IterationMarker_endOfIteration();
86446 case 1:
86447 // rethrow
86448 return A._IterationMarker_uncaughtError($async$currentError);
86449 }
86450 };
86451 }, type$.Extension_2);
86452 }
86453 };
86454 A.MergedMapView0.prototype = {
86455 get$keys(_) {
86456 var t1 = this._merged_map_view$_mapsByKey;
86457 return t1.get$keys(t1);
86458 },
86459 get$length(_) {
86460 var t1 = this._merged_map_view$_mapsByKey;
86461 return t1.get$length(t1);
86462 },
86463 get$isEmpty(_) {
86464 var t1 = this._merged_map_view$_mapsByKey;
86465 return t1.get$isEmpty(t1);
86466 },
86467 get$isNotEmpty(_) {
86468 var t1 = this._merged_map_view$_mapsByKey;
86469 return t1.get$isNotEmpty(t1);
86470 },
86471 MergedMapView$10(maps, $K, $V) {
86472 var t1, t2, t3, _i, map, t4, t5;
86473 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) {
86474 map = maps[_i];
86475 if (t3._is(map))
86476 for (t4 = map._merged_map_view$_mapsByKey, t4 = t4.get$values(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
86477 t5 = t4.get$current(t4);
86478 A.setAll0(t2, t5.get$keys(t5), t5);
86479 }
86480 else
86481 A.setAll0(t2, map.get$keys(map), map);
86482 }
86483 },
86484 $index(_, key) {
86485 var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
86486 return t1 == null ? null : t1.$index(0, key);
86487 },
86488 $indexSet(_, key, value) {
86489 var child = this._merged_map_view$_mapsByKey.$index(0, key);
86490 if (child == null)
86491 throw A.wrapException(A.UnsupportedError$(string$.New_en));
86492 child.$indexSet(0, key, value);
86493 },
86494 remove$1(_, key) {
86495 throw A.wrapException(A.UnsupportedError$(string$.Entrie));
86496 },
86497 containsKey$1(key) {
86498 return this._merged_map_view$_mapsByKey.containsKey$1(key);
86499 }
86500 };
86501 A.global_closure57.prototype = {
86502 call$1($arguments) {
86503 return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
86504 },
86505 $signature: 18
86506 };
86507 A.global_closure58.prototype = {
86508 call$1($arguments) {
86509 return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
86510 },
86511 $signature: 14
86512 };
86513 A.global_closure59.prototype = {
86514 call$1($arguments) {
86515 var value = J.$index$asx($arguments, 0);
86516 if (value instanceof A.SassArgumentList0)
86517 return new A.SassString0("arglist", false);
86518 if (value instanceof A.SassBoolean0)
86519 return new A.SassString0("bool", false);
86520 if (value instanceof A.SassColor0)
86521 return new A.SassString0("color", false);
86522 if (value instanceof A.SassList0)
86523 return new A.SassString0("list", false);
86524 if (value instanceof A.SassMap0)
86525 return new A.SassString0("map", false);
86526 if (value.$eq(0, B.C__SassNull0))
86527 return new A.SassString0("null", false);
86528 if (value instanceof A.SassNumber0)
86529 return new A.SassString0("number", false);
86530 if (value instanceof A.SassFunction0)
86531 return new A.SassString0("function", false);
86532 if (value instanceof A.SassCalculation0)
86533 return new A.SassString0("calculation", false);
86534 return new A.SassString0("string", false);
86535 },
86536 $signature: 14
86537 };
86538 A.global_closure60.prototype = {
86539 call$1($arguments) {
86540 var t1, t2, t3, t4,
86541 argumentList = J.$index$asx($arguments, 0);
86542 if (argumentList instanceof A.SassArgumentList0) {
86543 t1 = type$.Value_2;
86544 t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
86545 for (argumentList._argument_list$_wereKeywordsAccessed = true, t3 = argumentList._argument_list$_keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
86546 t4 = t3.get$current(t3);
86547 t2.$indexSet(0, new A.SassString0(t4.key, false), t4.value);
86548 }
86549 return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
86550 } else
86551 throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
86552 },
86553 $signature: 34
86554 };
86555 A.local_closure1.prototype = {
86556 call$1($arguments) {
86557 return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
86558 },
86559 $signature: 14
86560 };
86561 A.local_closure2.prototype = {
86562 call$1($arguments) {
86563 var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
86564 return A.SassList$0(new A.MappedListIterable(t1, new A.local__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_kWM0, false);
86565 },
86566 $signature: 22
86567 };
86568 A.local__closure0.prototype = {
86569 call$1(argument) {
86570 if (argument instanceof A.Value0)
86571 return argument;
86572 return new A.SassString0(J.toString$0$(argument), false);
86573 },
86574 $signature: 494
86575 };
86576 A.MixinRule0.prototype = {
86577 get$hasContent() {
86578 var result, _this = this,
86579 value = _this._mixin_rule$__MixinRule_hasContent;
86580 if (value === $) {
86581 result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
86582 A._lateInitializeOnceCheck(_this._mixin_rule$__MixinRule_hasContent, "hasContent");
86583 _this._mixin_rule$__MixinRule_hasContent = result;
86584 value = result;
86585 }
86586 return value;
86587 },
86588 accept$1$1(visitor) {
86589 return visitor.visitMixinRule$1(this);
86590 },
86591 accept$1(visitor) {
86592 return this.accept$1$1(visitor, type$.dynamic);
86593 },
86594 toString$0(_) {
86595 var t1 = "@mixin " + this.name,
86596 t2 = this.$arguments;
86597 if (!(t2.$arguments.length === 0 && t2.restArgument == null))
86598 t1 += "(" + t2.toString$0(0) + ")";
86599 t2 = this.children;
86600 t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
86601 return t2.charCodeAt(0) == 0 ? t2 : t2;
86602 }
86603 };
86604 A._HasContentVisitor0.prototype = {
86605 visitContentRule$1(_) {
86606 return true;
86607 }
86608 };
86609 A.ExtendMode0.prototype = {
86610 toString$0(_) {
86611 return this.name;
86612 }
86613 };
86614 A.SupportsNegation0.prototype = {
86615 toString$0(_) {
86616 var t1 = this.condition;
86617 if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
86618 return "not (" + t1.toString$0(0) + ")";
86619 else
86620 return "not " + t1.toString$0(0);
86621 },
86622 $isAstNode0: 1,
86623 $isSupportsCondition0: 1,
86624 get$span(receiver) {
86625 return this.span;
86626 }
86627 };
86628 A.NoOpImporter.prototype = {
86629 canonicalize$1(_, url) {
86630 return null;
86631 },
86632 load$1(_, url) {
86633 return null;
86634 },
86635 toString$0(_) {
86636 return "(unknown)";
86637 }
86638 };
86639 A.NoSourceMapBuffer0.prototype = {
86640 get$length(_) {
86641 return this._no_source_map_buffer0$_buffer._contents.length;
86642 },
86643 forSpan$1$2(span, callback) {
86644 return callback.call$0();
86645 },
86646 forSpan$2(span, callback) {
86647 return this.forSpan$1$2(span, callback, type$.dynamic);
86648 },
86649 write$1(_, object) {
86650 this._no_source_map_buffer0$_buffer._contents += A.S(object);
86651 return null;
86652 },
86653 writeCharCode$1(charCode) {
86654 this._no_source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
86655 return null;
86656 },
86657 toString$0(_) {
86658 var t1 = this._no_source_map_buffer0$_buffer._contents;
86659 return t1.charCodeAt(0) == 0 ? t1 : t1;
86660 },
86661 buildSourceMap$1$prefix(prefix) {
86662 return A.throwExpression(A.UnsupportedError$(string$.NoSour));
86663 }
86664 };
86665 A.AstNode0.prototype = {};
86666 A._FakeAstNode0.prototype = {
86667 get$span(_) {
86668 return this._node2$_callback.call$0();
86669 },
86670 $isAstNode0: 1
86671 };
86672 A.CssNode0.prototype = {
86673 toString$0(_) {
86674 return A.serialize0(this, true, null, true, null, false, null, true).css;
86675 }
86676 };
86677 A.CssParentNode0.prototype = {};
86678 A.FileSystemException0.prototype = {
86679 toString$0(_) {
86680 var t1 = $.$get$context();
86681 return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
86682 },
86683 get$message(receiver) {
86684 return this.message;
86685 }
86686 };
86687 A.Stderr0.prototype = {
86688 writeln$1(object) {
86689 J.write$1$x(this._node0$_stderr, (object == null ? "" : object) + "\n");
86690 },
86691 writeln$0() {
86692 return this.writeln$1(null);
86693 }
86694 };
86695 A._readFile_closure0.prototype = {
86696 call$0() {
86697 return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
86698 },
86699 $signature: 79
86700 };
86701 A.fileExists_closure0.prototype = {
86702 call$0() {
86703 var error, systemError, exception,
86704 t1 = this.path;
86705 if (!J.existsSync$1$x(A.fs(), t1))
86706 return false;
86707 try {
86708 t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
86709 return t1;
86710 } catch (exception) {
86711 error = A.unwrapException(exception);
86712 systemError = type$.JsSystemError._as(error);
86713 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
86714 return false;
86715 throw exception;
86716 }
86717 },
86718 $signature: 28
86719 };
86720 A.dirExists_closure0.prototype = {
86721 call$0() {
86722 var error, systemError, exception,
86723 t1 = this.path;
86724 if (!J.existsSync$1$x(A.fs(), t1))
86725 return false;
86726 try {
86727 t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
86728 return t1;
86729 } catch (exception) {
86730 error = A.unwrapException(exception);
86731 systemError = type$.JsSystemError._as(error);
86732 if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
86733 return false;
86734 throw exception;
86735 }
86736 },
86737 $signature: 28
86738 };
86739 A.listDir_closure0.prototype = {
86740 call$0() {
86741 var t1 = this.path;
86742 if (!this.recursive)
86743 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());
86744 else
86745 return new A.listDir_closure_list0().call$1(t1);
86746 },
86747 $signature: 199
86748 };
86749 A.listDir__closure1.prototype = {
86750 call$1(child) {
86751 return A.join(this.path, A._asString(child), null);
86752 },
86753 $signature: 92
86754 };
86755 A.listDir__closure2.prototype = {
86756 call$1(child) {
86757 return !A.dirExists0(child);
86758 },
86759 $signature: 6
86760 };
86761 A.listDir_closure_list0.prototype = {
86762 call$1($parent) {
86763 return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
86764 },
86765 $signature: 201
86766 };
86767 A.listDir__list_closure0.prototype = {
86768 call$1(child) {
86769 var path = A.join(this.parent, A._asString(child), null);
86770 return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
86771 },
86772 $signature: 205
86773 };
86774 A.ModifiableCssNode0.prototype = {
86775 get$hasFollowingSibling() {
86776 var siblings, t1, i, t2,
86777 $parent = this._node1$_parent;
86778 if ($parent == null)
86779 return false;
86780 siblings = $parent.children;
86781 t1 = this._node1$_indexInParent;
86782 t1.toString;
86783 i = t1 + 1;
86784 t1 = siblings._collection$_source;
86785 t2 = J.getInterceptor$asx(t1);
86786 for (; i < t2.get$length(t1); ++i)
86787 if (!this._node1$_isInvisible$1(t2.elementAt$1(t1, i)))
86788 return true;
86789 return false;
86790 },
86791 _node1$_isInvisible$1(node) {
86792 if (type$.CssParentNode_2._is(node)) {
86793 if (type$.CssAtRule_2._is(node))
86794 return false;
86795 if (type$.CssStyleRule_2._is(node) && node.selector.value.get$isInvisible())
86796 return true;
86797 return J.every$1$ax(node.get$children(node), this.get$_node1$_isInvisible());
86798 } else
86799 return false;
86800 },
86801 get$isGroupEnd() {
86802 return this.isGroupEnd;
86803 }
86804 };
86805 A.ModifiableCssParentNode0.prototype = {
86806 get$isChildless() {
86807 return false;
86808 },
86809 addChild$1(child) {
86810 var t1;
86811 child._node1$_parent = this;
86812 t1 = this._node1$_children;
86813 child._node1$_indexInParent = t1.length;
86814 t1.push(child);
86815 },
86816 $isCssParentNode0: 1,
86817 get$children(receiver) {
86818 return this.children;
86819 }
86820 };
86821 A.main_closure0.prototype = {
86822 call$2(_, __) {
86823 },
86824 $signature: 495
86825 };
86826 A.main_closure1.prototype = {
86827 call$2(_, __) {
86828 },
86829 $signature: 496
86830 };
86831 A.NodeToDartLogger.prototype = {
86832 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
86833 var t1 = this._node,
86834 warn = t1 == null ? null : J.get$warn$x(t1);
86835 if (warn == null)
86836 this._withAscii$1(new A.NodeToDartLogger_warn_closure(this, message, span, trace, deprecation));
86837 else {
86838 t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
86839 warn.call$2(message, {deprecation: deprecation, span: t1, stack: J.toString$0$(trace)});
86840 }
86841 },
86842 warn$1($receiver, message) {
86843 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
86844 },
86845 warn$2$span($receiver, message, span) {
86846 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
86847 },
86848 warn$2$deprecation($receiver, message, deprecation) {
86849 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
86850 },
86851 warn$3$deprecation$span($receiver, message, deprecation, span) {
86852 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
86853 },
86854 warn$2$trace($receiver, message, trace) {
86855 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
86856 },
86857 debug$2(_, message, span) {
86858 var t1 = this._node,
86859 debug = t1 == null ? null : J.get$debug$x(t1);
86860 if (debug == null)
86861 this._withAscii$1(new A.NodeToDartLogger_debug_closure(this, message, span));
86862 else
86863 debug.call$2(message, {span: span});
86864 },
86865 _withAscii$1$1(callback) {
86866 var t1,
86867 wasAscii = $._glyphs === B.C_AsciiGlyphSet;
86868 $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
86869 try {
86870 t1 = callback.call$0();
86871 return t1;
86872 } finally {
86873 $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
86874 }
86875 },
86876 _withAscii$1(callback) {
86877 return this._withAscii$1$1(callback, type$.dynamic);
86878 }
86879 };
86880 A.NodeToDartLogger_warn_closure.prototype = {
86881 call$0() {
86882 var _this = this;
86883 _this.$this._fallback.warn$4$deprecation$span$trace(0, _this.message, _this.deprecation, _this.span, _this.trace);
86884 },
86885 $signature: 1
86886 };
86887 A.NodeToDartLogger_debug_closure.prototype = {
86888 call$0() {
86889 return this.$this._fallback.debug$2(0, this.message, this.span);
86890 },
86891 $signature: 0
86892 };
86893 A.NullExpression0.prototype = {
86894 accept$1$1(visitor) {
86895 return visitor.visitNullExpression$1(this);
86896 },
86897 accept$1(visitor) {
86898 return this.accept$1$1(visitor, type$.dynamic);
86899 },
86900 toString$0(_) {
86901 return "null";
86902 },
86903 $isExpression0: 1,
86904 $isAstNode0: 1,
86905 get$span(receiver) {
86906 return this.span;
86907 }
86908 };
86909 A.legacyNullClass_closure.prototype = {
86910 call$0() {
86911 var t1 = type$.JSClass,
86912 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
86913 jsClass.NULL = B.C__SassNull0;
86914 A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
86915 return jsClass;
86916 },
86917 $signature: 25
86918 };
86919 A.legacyNullClass__closure.prototype = {
86920 call$2(_, __) {
86921 throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
86922 },
86923 call$1(_) {
86924 return this.call$2(_, null);
86925 },
86926 "call*": "call$2",
86927 $requiredArgCount: 1,
86928 $defaultValues() {
86929 return [null];
86930 },
86931 $signature: 191
86932 };
86933 A._SassNull0.prototype = {
86934 get$isTruthy() {
86935 return false;
86936 },
86937 get$isBlank() {
86938 return true;
86939 },
86940 get$realNull() {
86941 return null;
86942 },
86943 accept$1$1(visitor) {
86944 if (visitor._serialize0$_inspect)
86945 visitor._serialize0$_buffer.write$1(0, "null");
86946 return null;
86947 },
86948 accept$1(visitor) {
86949 return this.accept$1$1(visitor, type$.dynamic);
86950 },
86951 unaryNot$0() {
86952 return B.SassBoolean_true0;
86953 }
86954 };
86955 A.NumberExpression0.prototype = {
86956 accept$1$1(visitor) {
86957 return visitor.visitNumberExpression$1(this);
86958 },
86959 accept$1(visitor) {
86960 return this.accept$1$1(visitor, type$.dynamic);
86961 },
86962 toString$0(_) {
86963 var t1 = A.S(this.value),
86964 t2 = this.unit;
86965 return t1 + (t2 == null ? "" : t2);
86966 },
86967 $isExpression0: 1,
86968 $isAstNode0: 1,
86969 get$span(receiver) {
86970 return this.span;
86971 }
86972 };
86973 A._NodeSassNumber.prototype = {};
86974 A.legacyNumberClass_closure.prototype = {
86975 call$4(thisArg, value, unit, dartValue) {
86976 var t1;
86977 if (dartValue == null) {
86978 value.toString;
86979 t1 = A._parseNumber(value, unit);
86980 } else
86981 t1 = dartValue;
86982 J.set$dartValue$x(thisArg, t1);
86983 },
86984 call$2(thisArg, value) {
86985 return this.call$4(thisArg, value, null, null);
86986 },
86987 call$3(thisArg, value, unit) {
86988 return this.call$4(thisArg, value, unit, null);
86989 },
86990 "call*": "call$4",
86991 $requiredArgCount: 2,
86992 $defaultValues() {
86993 return [null, null];
86994 },
86995 $signature: 497
86996 };
86997 A.legacyNumberClass_closure0.prototype = {
86998 call$1(thisArg) {
86999 return J.get$dartValue$x(thisArg)._number1$_value;
87000 },
87001 $signature: 498
87002 };
87003 A.legacyNumberClass_closure1.prototype = {
87004 call$2(thisArg, value) {
87005 var t1 = J.getInterceptor$x(thisArg),
87006 t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
87007 t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
87008 },
87009 $signature: 499
87010 };
87011 A.legacyNumberClass_closure2.prototype = {
87012 call$1(thisArg) {
87013 var t1 = J.getInterceptor$x(thisArg),
87014 t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*");
87015 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)), "*");
87016 },
87017 $signature: 500
87018 };
87019 A.legacyNumberClass_closure3.prototype = {
87020 call$2(thisArg, unit) {
87021 var t1 = J.getInterceptor$x(thisArg);
87022 t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
87023 },
87024 $signature: 501
87025 };
87026 A._parseNumber_closure.prototype = {
87027 call$1(unit) {
87028 return unit.length === 0;
87029 },
87030 $signature: 6
87031 };
87032 A._parseNumber_closure0.prototype = {
87033 call$1(unit) {
87034 return unit.length === 0;
87035 },
87036 $signature: 6
87037 };
87038 A.numberClass_closure.prototype = {
87039 call$0() {
87040 var t1 = type$.JSClass,
87041 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
87042 t2 = type$.String,
87043 t3 = type$.Function;
87044 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));
87045 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));
87046 A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(new A.UnitlessSassNumber0(0, null).constructor))).constructor), jsClass);
87047 return jsClass;
87048 },
87049 $signature: 25
87050 };
87051 A.numberClass__closure.prototype = {
87052 call$3($self, value, unitOrOptions) {
87053 var t1, t2, _null = null;
87054 if (typeof unitOrOptions == "string")
87055 return new A.SingleUnitSassNumber0(unitOrOptions, value, _null);
87056 type$.nullable__ConstructorOptions_2._as(unitOrOptions);
87057 t1 = unitOrOptions == null;
87058 if (t1)
87059 t2 = _null;
87060 else {
87061 t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
87062 t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
87063 }
87064 if (t1)
87065 t1 = _null;
87066 else {
87067 t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
87068 t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
87069 }
87070 return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
87071 },
87072 call$2($self, value) {
87073 return this.call$3($self, value, null);
87074 },
87075 "call*": "call$3",
87076 $requiredArgCount: 2,
87077 $defaultValues() {
87078 return [null];
87079 },
87080 $signature: 502
87081 };
87082 A.numberClass__closure0.prototype = {
87083 call$1($self) {
87084 return $self._number1$_value;
87085 },
87086 $signature: 503
87087 };
87088 A.numberClass__closure1.prototype = {
87089 call$1($self) {
87090 return A.fuzzyIsInt0($self._number1$_value);
87091 },
87092 $signature: 236
87093 };
87094 A.numberClass__closure2.prototype = {
87095 call$1($self) {
87096 var t1 = $self._number1$_value;
87097 return A.fuzzyIsInt0(t1) ? B.JSNumber_methods.round$0(t1) : null;
87098 },
87099 $signature: 505
87100 };
87101 A.numberClass__closure3.prototype = {
87102 call$1($self) {
87103 return new self.immutable.List($self.get$numeratorUnits($self));
87104 },
87105 $signature: 237
87106 };
87107 A.numberClass__closure4.prototype = {
87108 call$1($self) {
87109 return new self.immutable.List($self.get$denominatorUnits($self));
87110 },
87111 $signature: 237
87112 };
87113 A.numberClass__closure5.prototype = {
87114 call$1($self) {
87115 return $self.get$hasUnits();
87116 },
87117 $signature: 236
87118 };
87119 A.numberClass__closure6.prototype = {
87120 call$2($self, $name) {
87121 return $self.assertInt$1($name);
87122 },
87123 call$1($self) {
87124 return this.call$2($self, null);
87125 },
87126 "call*": "call$2",
87127 $requiredArgCount: 1,
87128 $defaultValues() {
87129 return [null];
87130 },
87131 $signature: 507
87132 };
87133 A.numberClass__closure7.prototype = {
87134 call$4($self, min, max, $name) {
87135 return $self.valueInRange$3(min, max, $name);
87136 },
87137 call$3($self, min, max) {
87138 return this.call$4($self, min, max, null);
87139 },
87140 "call*": "call$4",
87141 $requiredArgCount: 3,
87142 $defaultValues() {
87143 return [null];
87144 },
87145 $signature: 508
87146 };
87147 A.numberClass__closure8.prototype = {
87148 call$2($self, $name) {
87149 return $self.assertNoUnits$1($name);
87150 },
87151 call$1($self) {
87152 return this.call$2($self, null);
87153 },
87154 "call*": "call$2",
87155 $requiredArgCount: 1,
87156 $defaultValues() {
87157 return [null];
87158 },
87159 $signature: 509
87160 };
87161 A.numberClass__closure9.prototype = {
87162 call$3($self, unit, $name) {
87163 return $self.assertUnit$2(unit, $name);
87164 },
87165 call$2($self, unit) {
87166 return this.call$3($self, unit, null);
87167 },
87168 "call*": "call$3",
87169 $requiredArgCount: 2,
87170 $defaultValues() {
87171 return [null];
87172 },
87173 $signature: 510
87174 };
87175 A.numberClass__closure10.prototype = {
87176 call$2($self, unit) {
87177 return $self.hasUnit$1(unit);
87178 },
87179 $signature: 238
87180 };
87181 A.numberClass__closure11.prototype = {
87182 call$2($self, unit) {
87183 return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
87184 },
87185 $signature: 238
87186 };
87187 A.numberClass__closure12.prototype = {
87188 call$4($self, numeratorUnits, denominatorUnits, $name) {
87189 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87190 t2 = type$.String;
87191 t1 = J.cast$1$0$ax(t1, t2);
87192 t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
87193 return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
87194 },
87195 call$3($self, numeratorUnits, denominatorUnits) {
87196 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87197 },
87198 "call*": "call$4",
87199 $requiredArgCount: 3,
87200 $defaultValues() {
87201 return [null];
87202 },
87203 $signature: 239
87204 };
87205 A.numberClass__closure13.prototype = {
87206 call$4($self, other, $name, otherName) {
87207 return $self.convertToMatch$3(other, $name, otherName);
87208 },
87209 call$2($self, other) {
87210 return this.call$4($self, other, null, null);
87211 },
87212 call$3($self, other, $name) {
87213 return this.call$4($self, other, $name, null);
87214 },
87215 "call*": "call$4",
87216 $requiredArgCount: 2,
87217 $defaultValues() {
87218 return [null, null];
87219 },
87220 $signature: 240
87221 };
87222 A.numberClass__closure14.prototype = {
87223 call$4($self, numeratorUnits, denominatorUnits, $name) {
87224 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87225 t2 = type$.String;
87226 t1 = J.cast$1$0$ax(t1, t2);
87227 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);
87228 },
87229 call$3($self, numeratorUnits, denominatorUnits) {
87230 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87231 },
87232 "call*": "call$4",
87233 $requiredArgCount: 3,
87234 $defaultValues() {
87235 return [null];
87236 },
87237 $signature: 241
87238 };
87239 A.numberClass__closure15.prototype = {
87240 call$4($self, other, $name, otherName) {
87241 return $self.convertValueToMatch$3(other, $name, otherName);
87242 },
87243 call$2($self, other) {
87244 return this.call$4($self, other, null, null);
87245 },
87246 call$3($self, other, $name) {
87247 return this.call$4($self, other, $name, null);
87248 },
87249 "call*": "call$4",
87250 $requiredArgCount: 2,
87251 $defaultValues() {
87252 return [null, null];
87253 },
87254 $signature: 242
87255 };
87256 A.numberClass__closure16.prototype = {
87257 call$4($self, numeratorUnits, denominatorUnits, $name) {
87258 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87259 t2 = type$.String;
87260 t1 = J.cast$1$0$ax(t1, t2);
87261 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);
87262 },
87263 call$3($self, numeratorUnits, denominatorUnits) {
87264 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87265 },
87266 "call*": "call$4",
87267 $requiredArgCount: 3,
87268 $defaultValues() {
87269 return [null];
87270 },
87271 $signature: 239
87272 };
87273 A.numberClass__closure17.prototype = {
87274 call$4($self, other, $name, otherName) {
87275 return $self.coerceToMatch$3(other, $name, otherName);
87276 },
87277 call$2($self, other) {
87278 return this.call$4($self, other, null, null);
87279 },
87280 call$3($self, other, $name) {
87281 return this.call$4($self, other, $name, null);
87282 },
87283 "call*": "call$4",
87284 $requiredArgCount: 2,
87285 $defaultValues() {
87286 return [null, null];
87287 },
87288 $signature: 240
87289 };
87290 A.numberClass__closure18.prototype = {
87291 call$4($self, numeratorUnits, denominatorUnits, $name) {
87292 var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
87293 t2 = type$.String;
87294 t1 = J.cast$1$0$ax(t1, t2);
87295 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);
87296 },
87297 call$3($self, numeratorUnits, denominatorUnits) {
87298 return this.call$4($self, numeratorUnits, denominatorUnits, null);
87299 },
87300 "call*": "call$4",
87301 $requiredArgCount: 3,
87302 $defaultValues() {
87303 return [null];
87304 },
87305 $signature: 241
87306 };
87307 A.numberClass__closure19.prototype = {
87308 call$4($self, other, $name, otherName) {
87309 return $self.coerceValueToMatch$3(other, $name, otherName);
87310 },
87311 call$2($self, other) {
87312 return this.call$4($self, other, null, null);
87313 },
87314 call$3($self, other, $name) {
87315 return this.call$4($self, other, $name, null);
87316 },
87317 "call*": "call$4",
87318 $requiredArgCount: 2,
87319 $defaultValues() {
87320 return [null, null];
87321 },
87322 $signature: 242
87323 };
87324 A._ConstructorOptions0.prototype = {};
87325 A.SassNumber0.prototype = {
87326 get$unitString() {
87327 var _this = this;
87328 return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
87329 },
87330 accept$1$1(visitor) {
87331 return visitor.visitNumber$1(this);
87332 },
87333 accept$1(visitor) {
87334 return this.accept$1$1(visitor, type$.dynamic);
87335 },
87336 withoutSlash$0() {
87337 var _this = this;
87338 return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
87339 },
87340 assertNumber$1($name) {
87341 return this;
87342 },
87343 assertNumber$0() {
87344 return this.assertNumber$1(null);
87345 },
87346 assertInt$1($name) {
87347 var t1 = this._number1$_value,
87348 integer = A.fuzzyIsInt0(t1) ? B.JSNumber_methods.round$0(t1) : null;
87349 if (integer != null)
87350 return integer;
87351 throw A.wrapException(this._number1$_exception$2(this.toString$0(0) + " is not an int.", $name));
87352 },
87353 assertInt$0() {
87354 return this.assertInt$1(null);
87355 },
87356 valueInRange$3(min, max, $name) {
87357 var _this = this,
87358 result = A.fuzzyCheckRange0(_this._number1$_value, min, max);
87359 if (result != null)
87360 return result;
87361 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));
87362 },
87363 hasCompatibleUnits$1(other) {
87364 var _this = this;
87365 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
87366 return false;
87367 if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
87368 return false;
87369 return _this.isComparableTo$1(other);
87370 },
87371 assertUnit$2(unit, $name) {
87372 if (this.hasUnit$1(unit))
87373 return;
87374 throw A.wrapException(this._number1$_exception$2("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
87375 },
87376 assertNoUnits$1($name) {
87377 if (!this.get$hasUnits())
87378 return;
87379 throw A.wrapException(this._number1$_exception$2("Expected " + this.toString$0(0) + " to have no units.", $name));
87380 },
87381 convertToMatch$3(other, $name, otherName) {
87382 var t1 = this.convertValueToMatch$3(other, $name, otherName),
87383 t2 = other.get$numeratorUnits(other);
87384 return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
87385 },
87386 convertValueToMatch$3(other, $name, otherName) {
87387 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
87388 },
87389 coerce$3(newNumerators, newDenominators, $name) {
87390 return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
87391 },
87392 coerce$2(newNumerators, newDenominators) {
87393 return this.coerce$3(newNumerators, newDenominators, null);
87394 },
87395 coerceValue$3(newNumerators, newDenominators, $name) {
87396 return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
87397 },
87398 coerceValueToUnit$2(unit, $name) {
87399 var t1 = type$.JSArray_String;
87400 return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
87401 },
87402 coerceToMatch$3(other, $name, otherName) {
87403 var t1 = this.coerceValueToMatch$3(other, $name, otherName),
87404 t2 = other.get$numeratorUnits(other);
87405 return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
87406 },
87407 coerceValueToMatch$3(other, $name, otherName) {
87408 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
87409 },
87410 coerceValueToMatch$1(other) {
87411 return this.coerceValueToMatch$3(other, null, null);
87412 },
87413 _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
87414 var t1, otherHasUnits, t2, _compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
87415 if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
87416 return _this._number1$_value;
87417 t1 = J.getInterceptor$asx(newNumerators);
87418 otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
87419 if (coerceUnitless)
87420 t2 = !_this.get$hasUnits() || !otherHasUnits;
87421 else
87422 t2 = false;
87423 if (t2)
87424 return _this._number1$_value;
87425 _compatibilityException = new A.SassNumber__coerceOrConvertValue__compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
87426 _box_0.value = _this._number1$_value;
87427 t2 = _this.get$numeratorUnits(_this);
87428 oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
87429 for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
87430 A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(_compatibilityException));
87431 t1 = _this.get$denominatorUnits(_this);
87432 oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
87433 for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
87434 A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(_compatibilityException));
87435 if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
87436 throw A.wrapException(_compatibilityException.call$0());
87437 return _box_0.value;
87438 },
87439 _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
87440 return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
87441 },
87442 isComparableTo$1(other) {
87443 var exception;
87444 if (!this.get$hasUnits() || !other.get$hasUnits())
87445 return true;
87446 try {
87447 this.greaterThan$1(other);
87448 return true;
87449 } catch (exception) {
87450 if (A.unwrapException(exception) instanceof A.SassScriptException0)
87451 return false;
87452 else
87453 throw exception;
87454 }
87455 },
87456 greaterThan$1(other) {
87457 if (other instanceof A.SassNumber0)
87458 return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87459 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
87460 },
87461 greaterThanOrEquals$1(other) {
87462 if (other instanceof A.SassNumber0)
87463 return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87464 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
87465 },
87466 lessThan$1(other) {
87467 if (other instanceof A.SassNumber0)
87468 return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87469 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
87470 },
87471 lessThanOrEquals$1(other) {
87472 if (other instanceof A.SassNumber0)
87473 return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
87474 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
87475 },
87476 modulo$1(other) {
87477 var _this = this;
87478 if (other instanceof A.SassNumber0)
87479 return _this.withValue$1(_this._number1$_coerceUnits$2(other, _this.get$moduloLikeSass()));
87480 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " % " + other.toString$0(0) + '".'));
87481 },
87482 moduloLikeSass$2(num1, num2) {
87483 var result;
87484 if (num2 > 0)
87485 return B.JSNumber_methods.$mod(num1, num2);
87486 if (num2 === 0)
87487 return 0 / 0;
87488 result = B.JSNumber_methods.$mod(num1, num2);
87489 return result === 0 ? 0 : result + num2;
87490 },
87491 plus$1(other) {
87492 var _this = this;
87493 if (other instanceof A.SassNumber0)
87494 return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
87495 if (!(other instanceof A.SassColor0))
87496 return _this.super$Value$plus0(other);
87497 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".'));
87498 },
87499 minus$1(other) {
87500 var _this = this;
87501 if (other instanceof A.SassNumber0)
87502 return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
87503 if (!(other instanceof A.SassColor0))
87504 return _this.super$Value$minus0(other);
87505 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".'));
87506 },
87507 times$1(other) {
87508 var _this = this;
87509 if (other instanceof A.SassNumber0) {
87510 if (!other.get$hasUnits())
87511 return _this.withValue$1(_this._number1$_value * other._number1$_value);
87512 return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
87513 }
87514 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".'));
87515 },
87516 dividedBy$1(other) {
87517 var _this = this;
87518 if (other instanceof A.SassNumber0) {
87519 if (!other.get$hasUnits())
87520 return _this.withValue$1(_this._number1$_value / other._number1$_value);
87521 return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
87522 }
87523 return _this.super$Value$dividedBy0(other);
87524 },
87525 unaryPlus$0() {
87526 return this;
87527 },
87528 _number1$_coerceUnits$1$2(other, operation) {
87529 var t1, exception;
87530 try {
87531 t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
87532 return t1;
87533 } catch (exception) {
87534 if (A.unwrapException(exception) instanceof A.SassScriptException0) {
87535 this.coerceValueToMatch$1(other);
87536 throw exception;
87537 } else
87538 throw exception;
87539 }
87540 },
87541 _number1$_coerceUnits$2(other, operation) {
87542 return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
87543 },
87544 multiplyUnits$3(value, otherNumerators, otherDenominators) {
87545 var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
87546 _box_0.value = value;
87547 if (_this.get$numeratorUnits(_this).length === 0) {
87548 if (otherDenominators.length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
87549 return A.SassNumber_SassNumber$withUnits0(value, _this.get$denominatorUnits(_this), otherNumerators);
87550 else if (_this.get$denominatorUnits(_this).length === 0)
87551 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, otherNumerators);
87552 } else if (otherNumerators.length === 0)
87553 if (otherDenominators.length === 0)
87554 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
87555 else if (_this.get$denominatorUnits(_this).length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
87556 return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
87557 newNumerators = A._setArrayType([], type$.JSArray_String);
87558 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
87559 for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
87560 numerator = t1[_i];
87561 A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
87562 }
87563 t1 = _this.get$denominatorUnits(_this);
87564 mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
87565 for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
87566 numerator = otherNumerators[_i];
87567 A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
87568 }
87569 t1 = _box_0.value;
87570 B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
87571 return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
87572 },
87573 _number1$_areAnyConvertible$2(units1, units2) {
87574 return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
87575 },
87576 _number1$_unitString$2(numerators, denominators) {
87577 var t2,
87578 t1 = J.getInterceptor$asx(numerators);
87579 if (t1.get$isEmpty(numerators)) {
87580 t1 = J.getInterceptor$asx(denominators);
87581 if (t1.get$isEmpty(denominators))
87582 return "no units";
87583 if (t1.get$length(denominators) === 1)
87584 return J.$add$ansx(t1.get$single(denominators), "^-1");
87585 return "(" + t1.join$1(denominators, "*") + ")^-1";
87586 }
87587 t2 = J.getInterceptor$asx(denominators);
87588 if (t2.get$isEmpty(denominators))
87589 return t1.join$1(numerators, "*");
87590 return t1.join$1(numerators, "*") + "/" + t2.join$1(denominators, "*");
87591 },
87592 $eq(_, other) {
87593 var _this = this;
87594 if (other == null)
87595 return false;
87596 if (other instanceof A.SassNumber0) {
87597 if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
87598 return false;
87599 if (!_this.get$hasUnits())
87600 return Math.abs(_this._number1$_value - other._number1$_value) < $.$get$epsilon0();
87601 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))))
87602 return false;
87603 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();
87604 } else
87605 return false;
87606 },
87607 get$hashCode(_) {
87608 var _this = this,
87609 t1 = _this.hashCache;
87610 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;
87611 },
87612 _number1$_canonicalizeUnitList$1(units) {
87613 var type,
87614 t1 = units.length;
87615 if (t1 === 0)
87616 return units;
87617 if (t1 === 1) {
87618 type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
87619 if (type == null)
87620 t1 = units;
87621 else {
87622 t1 = B.Map_U8AHF.$index(0, type);
87623 t1.toString;
87624 t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
87625 }
87626 return t1;
87627 }
87628 t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
87629 t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
87630 B.JSArray_methods.sort$0(t1);
87631 return t1;
87632 },
87633 _number1$_canonicalMultiplier$1(units) {
87634 return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
87635 },
87636 canonicalMultiplierForUnit$1(unit) {
87637 var t1,
87638 innerMap = B.Map_K2BWj.$index(0, unit);
87639 if (innerMap == null)
87640 t1 = 1;
87641 else {
87642 t1 = innerMap.get$values(innerMap);
87643 t1 = 1 / t1.get$first(t1);
87644 }
87645 return t1;
87646 },
87647 _number1$_exception$2(message, $name) {
87648 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
87649 }
87650 };
87651 A.SassNumber__coerceOrConvertValue__compatibilityException0.prototype = {
87652 call$0() {
87653 var t2, t3, message, t4, type, unit, _this = this,
87654 t1 = _this.other;
87655 if (t1 != null) {
87656 t2 = _this.$this;
87657 t3 = t2.toString$0(0) + " and";
87658 message = new A.StringBuffer(t3);
87659 t4 = _this.otherName;
87660 if (t4 != null)
87661 t3 = message._contents = t3 + (" $" + t4 + ":");
87662 t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
87663 message._contents = t1;
87664 if (!t2.get$hasUnits() || !_this.otherHasUnits)
87665 message._contents = t1 + " (one has units and the other doesn't)";
87666 t1 = message.toString$0(0) + ".";
87667 t2 = _this.name;
87668 return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
87669 } else if (!_this.otherHasUnits) {
87670 t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
87671 t2 = _this.name;
87672 return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
87673 } else {
87674 t1 = _this.newNumerators;
87675 t2 = J.getInterceptor$asx(t1);
87676 if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
87677 type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
87678 if (type != null) {
87679 t1 = "Expected " + _this.$this.toString$0(0) + " to have ";
87680 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 (";
87681 t2 = B.Map_U8AHF.$index(0, type);
87682 t2.toString;
87683 t2 = t1 + B.JSArray_methods.join$1(t2, ", ") + ").";
87684 t1 = _this.name;
87685 return new A.SassScriptException0(t1 == null ? t2 : "$" + t1 + ": " + t2);
87686 }
87687 }
87688 t3 = _this.newDenominators;
87689 unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
87690 t2 = _this.$this;
87691 t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
87692 t1 = _this.name;
87693 return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
87694 }
87695 },
87696 $signature: 516
87697 };
87698 A.SassNumber__coerceOrConvertValue_closure3.prototype = {
87699 call$1(oldNumerator) {
87700 var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
87701 if (factor == null)
87702 return false;
87703 this._box_0.value *= factor;
87704 return true;
87705 },
87706 $signature: 6
87707 };
87708 A.SassNumber__coerceOrConvertValue_closure4.prototype = {
87709 call$0() {
87710 return A.throwExpression(this._compatibilityException.call$0());
87711 },
87712 $signature: 0
87713 };
87714 A.SassNumber__coerceOrConvertValue_closure5.prototype = {
87715 call$1(oldDenominator) {
87716 var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
87717 if (factor == null)
87718 return false;
87719 this._box_0.value /= factor;
87720 return true;
87721 },
87722 $signature: 6
87723 };
87724 A.SassNumber__coerceOrConvertValue_closure6.prototype = {
87725 call$0() {
87726 return A.throwExpression(this._compatibilityException.call$0());
87727 },
87728 $signature: 0
87729 };
87730 A.SassNumber_plus_closure0.prototype = {
87731 call$2(num1, num2) {
87732 return num1 + num2;
87733 },
87734 $signature: 54
87735 };
87736 A.SassNumber_minus_closure0.prototype = {
87737 call$2(num1, num2) {
87738 return num1 - num2;
87739 },
87740 $signature: 54
87741 };
87742 A.SassNumber_multiplyUnits_closure3.prototype = {
87743 call$1(denominator) {
87744 var factor = A.conversionFactor0(this.numerator, denominator);
87745 if (factor == null)
87746 return false;
87747 this._box_0.value /= factor;
87748 return true;
87749 },
87750 $signature: 6
87751 };
87752 A.SassNumber_multiplyUnits_closure4.prototype = {
87753 call$0() {
87754 return this.newNumerators.push(this.numerator);
87755 },
87756 $signature: 0
87757 };
87758 A.SassNumber_multiplyUnits_closure5.prototype = {
87759 call$1(denominator) {
87760 var factor = A.conversionFactor0(this.numerator, denominator);
87761 if (factor == null)
87762 return false;
87763 this._box_0.value /= factor;
87764 return true;
87765 },
87766 $signature: 6
87767 };
87768 A.SassNumber_multiplyUnits_closure6.prototype = {
87769 call$0() {
87770 return this.newNumerators.push(this.numerator);
87771 },
87772 $signature: 0
87773 };
87774 A.SassNumber__areAnyConvertible_closure0.prototype = {
87775 call$1(unit1) {
87776 var innerMap = B.Map_K2BWj.$index(0, unit1);
87777 if (innerMap == null)
87778 return B.JSArray_methods.contains$1(this.units2, unit1);
87779 return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
87780 },
87781 $signature: 6
87782 };
87783 A.SassNumber__canonicalizeUnitList_closure0.prototype = {
87784 call$1(unit) {
87785 var t1,
87786 type = $.$get$_typesByUnit0().$index(0, unit);
87787 if (type == null)
87788 t1 = unit;
87789 else {
87790 t1 = B.Map_U8AHF.$index(0, type);
87791 t1.toString;
87792 t1 = B.JSArray_methods.get$first(t1);
87793 }
87794 return t1;
87795 },
87796 $signature: 5
87797 };
87798 A.SassNumber__canonicalMultiplier_closure0.prototype = {
87799 call$2(multiplier, unit) {
87800 return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
87801 },
87802 $signature: 221
87803 };
87804 A.SupportsOperation0.prototype = {
87805 toString$0(_) {
87806 var _this = this;
87807 return _this._operation0$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation0$_parenthesize$1(_this.right);
87808 },
87809 _operation0$_parenthesize$1(condition) {
87810 var t1;
87811 if (!(condition instanceof A.SupportsNegation0))
87812 t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
87813 else
87814 t1 = true;
87815 return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
87816 },
87817 $isAstNode0: 1,
87818 $isSupportsCondition0: 1,
87819 get$span(receiver) {
87820 return this.span;
87821 }
87822 };
87823 A.ParentSelector0.prototype = {
87824 accept$1$1(visitor) {
87825 var t2,
87826 t1 = visitor._serialize0$_buffer;
87827 t1.writeCharCode$1(38);
87828 t2 = this.suffix;
87829 if (t2 != null)
87830 t1.write$1(0, t2);
87831 return null;
87832 },
87833 accept$1(visitor) {
87834 return this.accept$1$1(visitor, type$.dynamic);
87835 },
87836 unify$1(compound) {
87837 return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
87838 }
87839 };
87840 A.ParentStatement0.prototype = {$isAstNode0: 1, $isStatement0: 1};
87841 A.ParentStatement_closure0.prototype = {
87842 call$1(child) {
87843 var t1;
87844 if (!(child instanceof A.VariableDeclaration0))
87845 if (!(child instanceof A.FunctionRule0))
87846 if (!(child instanceof A.MixinRule0))
87847 t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
87848 else
87849 t1 = true;
87850 else
87851 t1 = true;
87852 else
87853 t1 = true;
87854 return t1;
87855 },
87856 $signature: 226
87857 };
87858 A.ParentStatement__closure0.prototype = {
87859 call$1($import) {
87860 return $import instanceof A.DynamicImport0;
87861 },
87862 $signature: 227
87863 };
87864 A.ParenthesizedExpression0.prototype = {
87865 accept$1$1(visitor) {
87866 return visitor.visitParenthesizedExpression$1(this);
87867 },
87868 accept$1(visitor) {
87869 return this.accept$1$1(visitor, type$.dynamic);
87870 },
87871 toString$0(_) {
87872 return "(" + this.expression.toString$0(0) + ")";
87873 },
87874 $isExpression0: 1,
87875 $isAstNode0: 1,
87876 get$span(receiver) {
87877 return this.span;
87878 }
87879 };
87880 A.Parser1.prototype = {
87881 _parser0$_parseIdentifier$0() {
87882 return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
87883 },
87884 whitespace$0() {
87885 do
87886 this.whitespaceWithoutComments$0();
87887 while (this.scanComment$0());
87888 },
87889 whitespaceWithoutComments$0() {
87890 var t3,
87891 t1 = this.scanner,
87892 t2 = t1.string.length;
87893 while (true) {
87894 if (t1._string_scanner$_position !== t2) {
87895 t3 = t1.peekChar$0();
87896 t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
87897 } else
87898 t3 = false;
87899 if (!t3)
87900 break;
87901 t1.readChar$0();
87902 }
87903 },
87904 spaces$0() {
87905 var t3,
87906 t1 = this.scanner,
87907 t2 = t1.string.length;
87908 while (true) {
87909 if (t1._string_scanner$_position !== t2) {
87910 t3 = t1.peekChar$0();
87911 t3 = t3 === 32 || t3 === 9;
87912 } else
87913 t3 = false;
87914 if (!t3)
87915 break;
87916 t1.readChar$0();
87917 }
87918 },
87919 scanComment$0() {
87920 var next,
87921 t1 = this.scanner;
87922 if (t1.peekChar$0() !== 47)
87923 return false;
87924 next = t1.peekChar$1(1);
87925 if (next === 47) {
87926 this.silentComment$0();
87927 return true;
87928 } else if (next === 42) {
87929 this.loudComment$0();
87930 return true;
87931 } else
87932 return false;
87933 },
87934 silentComment$0() {
87935 var t2, t3,
87936 t1 = this.scanner;
87937 t1.expect$1("//");
87938 t2 = t1.string.length;
87939 while (true) {
87940 if (t1._string_scanner$_position !== t2) {
87941 t3 = t1.peekChar$0();
87942 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
87943 } else
87944 t3 = false;
87945 if (!t3)
87946 break;
87947 t1.readChar$0();
87948 }
87949 },
87950 loudComment$0() {
87951 var next,
87952 t1 = this.scanner;
87953 t1.expect$1("/*");
87954 for (; true;) {
87955 if (t1.readChar$0() !== 42)
87956 continue;
87957 do
87958 next = t1.readChar$0();
87959 while (next === 42);
87960 if (next === 47)
87961 break;
87962 }
87963 },
87964 identifier$2$normalize$unit(normalize, unit) {
87965 var t2, first, _this = this,
87966 _s20_ = "Expected identifier.",
87967 text = new A.StringBuffer(""),
87968 t1 = _this.scanner;
87969 if (t1.scanChar$1(45)) {
87970 t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
87971 if (t1.scanChar$1(45)) {
87972 text._contents = t2 + A.Primitives_stringFromCharCode(45);
87973 _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
87974 t1 = text._contents;
87975 return t1.charCodeAt(0) == 0 ? t1 : t1;
87976 }
87977 } else
87978 t2 = "";
87979 first = t1.peekChar$0();
87980 if (first == null)
87981 t1.error$1(0, _s20_);
87982 else if (normalize && first === 95) {
87983 t1.readChar$0();
87984 text._contents = t2 + A.Primitives_stringFromCharCode(45);
87985 } else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
87986 text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
87987 else if (first === 92)
87988 text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
87989 else
87990 t1.error$1(0, _s20_);
87991 _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
87992 t1 = text._contents;
87993 return t1.charCodeAt(0) == 0 ? t1 : t1;
87994 },
87995 identifier$0() {
87996 return this.identifier$2$normalize$unit(false, false);
87997 },
87998 identifier$1$normalize(normalize) {
87999 return this.identifier$2$normalize$unit(normalize, false);
88000 },
88001 identifier$1$unit(unit) {
88002 return this.identifier$2$normalize$unit(false, unit);
88003 },
88004 _parser0$_identifierBody$3$normalize$unit(text, normalize, unit) {
88005 var t1, next, second, t2;
88006 for (t1 = this.scanner; true;) {
88007 next = t1.peekChar$0();
88008 if (next == null)
88009 break;
88010 else if (unit && next === 45) {
88011 second = t1.peekChar$1(1);
88012 if (second != null)
88013 if (second !== 46)
88014 t2 = second >= 48 && second <= 57;
88015 else
88016 t2 = true;
88017 else
88018 t2 = false;
88019 if (t2)
88020 break;
88021 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88022 } else if (normalize && next === 95) {
88023 t1.readChar$0();
88024 text._contents += A.Primitives_stringFromCharCode(45);
88025 } else {
88026 if (next !== 95) {
88027 if (!(next >= 97 && next <= 122))
88028 t2 = next >= 65 && next <= 90;
88029 else
88030 t2 = true;
88031 t2 = t2 || next >= 128;
88032 } else
88033 t2 = true;
88034 if (!t2) {
88035 t2 = next >= 48 && next <= 57;
88036 t2 = t2 || next === 45;
88037 } else
88038 t2 = true;
88039 if (t2)
88040 text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88041 else if (next === 92)
88042 text._contents += A.S(this.escape$0());
88043 else
88044 break;
88045 }
88046 }
88047 },
88048 _parser0$_identifierBody$1(text) {
88049 return this._parser0$_identifierBody$3$normalize$unit(text, false, false);
88050 },
88051 string$0() {
88052 var buffer, next, t2,
88053 t1 = this.scanner,
88054 quote = t1.readChar$0();
88055 if (quote !== 39 && quote !== 34)
88056 t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
88057 buffer = new A.StringBuffer("");
88058 for (; true;) {
88059 next = t1.peekChar$0();
88060 if (next === quote) {
88061 t1.readChar$0();
88062 break;
88063 } else if (next == null || next === 10 || next === 13 || next === 12)
88064 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
88065 else if (next === 92) {
88066 t2 = t1.peekChar$1(1);
88067 if (t2 === 10 || t2 === 13 || t2 === 12) {
88068 t1.readChar$0();
88069 t1.readChar$0();
88070 } else
88071 buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
88072 } else
88073 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88074 }
88075 t1 = buffer._contents;
88076 return t1.charCodeAt(0) == 0 ? t1 : t1;
88077 },
88078 naturalNumber$0() {
88079 var number, t2,
88080 t1 = this.scanner,
88081 first = t1.readChar$0();
88082 if (!A.isDigit0(first))
88083 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
88084 number = first - 48;
88085 while (true) {
88086 t2 = t1.peekChar$0();
88087 if (!(t2 != null && t2 >= 48 && t2 <= 57))
88088 break;
88089 number = number * 10 + (t1.readChar$0() - 48);
88090 }
88091 return number;
88092 },
88093 declarationValue$1$allowEmpty(allowEmpty) {
88094 var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
88095 buffer = new A.StringBuffer(""),
88096 brackets = A._setArrayType([], type$.JSArray_int);
88097 $label0$1:
88098 for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
88099 next = t1.peekChar$0();
88100 switch (next) {
88101 case 92:
88102 buffer._contents += A.S(_this.escape$1$identifierStart(true));
88103 wroteNewline = false;
88104 break;
88105 case 34:
88106 case 39:
88107 start = t1._string_scanner$_position;
88108 t2.call$0();
88109 end = t1._string_scanner$_position;
88110 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
88111 wroteNewline = false;
88112 break;
88113 case 47:
88114 if (t1.peekChar$1(1) === 42) {
88115 t3 = _this.get$loudComment();
88116 start = t1._string_scanner$_position;
88117 t3.call$0();
88118 end = t1._string_scanner$_position;
88119 buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
88120 } else
88121 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88122 wroteNewline = false;
88123 break;
88124 case 32:
88125 case 9:
88126 if (!wroteNewline) {
88127 t3 = t1.peekChar$1(1);
88128 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
88129 } else
88130 t3 = true;
88131 if (t3)
88132 buffer._contents += A.Primitives_stringFromCharCode(32);
88133 t1.readChar$0();
88134 break;
88135 case 10:
88136 case 13:
88137 case 12:
88138 t3 = t1.peekChar$1(-1);
88139 if (!(t3 === 10 || t3 === 13 || t3 === 12))
88140 buffer._contents += "\n";
88141 t1.readChar$0();
88142 wroteNewline = true;
88143 break;
88144 case 40:
88145 case 123:
88146 case 91:
88147 next.toString;
88148 buffer._contents += A.Primitives_stringFromCharCode(next);
88149 brackets.push(A.opposite0(t1.readChar$0()));
88150 wroteNewline = false;
88151 break;
88152 case 41:
88153 case 125:
88154 case 93:
88155 if (brackets.length === 0)
88156 break $label0$1;
88157 next.toString;
88158 buffer._contents += A.Primitives_stringFromCharCode(next);
88159 t1.expectChar$1(brackets.pop());
88160 wroteNewline = false;
88161 break;
88162 case 59:
88163 if (brackets.length === 0)
88164 break $label0$1;
88165 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88166 break;
88167 case 117:
88168 case 85:
88169 url = _this.tryUrl$0();
88170 if (url != null)
88171 buffer._contents += url;
88172 else
88173 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88174 wroteNewline = false;
88175 break;
88176 default:
88177 if (next == null)
88178 break $label0$1;
88179 if (_this.lookingAtIdentifier$0())
88180 buffer._contents += _this.identifier$0();
88181 else
88182 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88183 wroteNewline = false;
88184 break;
88185 }
88186 }
88187 if (brackets.length !== 0)
88188 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
88189 if (!allowEmpty && buffer._contents.length === 0)
88190 t1.error$1(0, "Expected token.");
88191 t1 = buffer._contents;
88192 return t1.charCodeAt(0) == 0 ? t1 : t1;
88193 },
88194 declarationValue$0() {
88195 return this.declarationValue$1$allowEmpty(false);
88196 },
88197 tryUrl$0() {
88198 var buffer, next, t2, _this = this,
88199 t1 = _this.scanner,
88200 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
88201 if (!_this.scanIdentifier$1("url"))
88202 return null;
88203 if (!t1.scanChar$1(40)) {
88204 t1.set$state(start);
88205 return null;
88206 }
88207 _this.whitespace$0();
88208 buffer = new A.StringBuffer("");
88209 buffer._contents = "" + "url(";
88210 for (; true;) {
88211 next = t1.peekChar$0();
88212 if (next == null)
88213 break;
88214 else if (next === 92)
88215 buffer._contents += A.S(_this.escape$0());
88216 else {
88217 if (next !== 37)
88218 if (next !== 38)
88219 if (next !== 35)
88220 t2 = next >= 42 && next <= 126 || next >= 128;
88221 else
88222 t2 = true;
88223 else
88224 t2 = true;
88225 else
88226 t2 = true;
88227 if (t2)
88228 buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88229 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
88230 _this.whitespace$0();
88231 if (t1.peekChar$0() !== 41)
88232 break;
88233 } else if (next === 41) {
88234 t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
88235 return t2.charCodeAt(0) == 0 ? t2 : t2;
88236 } else
88237 break;
88238 }
88239 }
88240 t1.set$state(start);
88241 return null;
88242 },
88243 variableName$0() {
88244 this.scanner.expectChar$1(36);
88245 return this.identifier$1$normalize(true);
88246 },
88247 escape$1$identifierStart(identifierStart) {
88248 var value, first, i, next, t2, exception,
88249 _s25_ = "Expected escape sequence.",
88250 t1 = this.scanner,
88251 start = t1._string_scanner$_position;
88252 t1.expectChar$1(92);
88253 value = 0;
88254 first = t1.peekChar$0();
88255 if (first == null)
88256 t1.error$1(0, _s25_);
88257 else if (first === 10 || first === 13 || first === 12)
88258 t1.error$1(0, _s25_);
88259 else if (A.isHex0(first)) {
88260 for (i = 0; i < 6; ++i) {
88261 next = t1.peekChar$0();
88262 if (next == null || !A.isHex0(next))
88263 break;
88264 value *= 16;
88265 value += A.asHex0(t1.readChar$0());
88266 }
88267 this.scanCharIf$1(A.character0__isWhitespace$closure());
88268 } else
88269 value = t1.readChar$0();
88270 if (identifierStart) {
88271 t2 = value;
88272 t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128;
88273 } else {
88274 t2 = value;
88275 t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128 || A.isDigit0(t2) || t2 === 45;
88276 }
88277 if (t2)
88278 try {
88279 t2 = A.Primitives_stringFromCharCode(value);
88280 return t2;
88281 } catch (exception) {
88282 if (type$.RangeError._is(A.unwrapException(exception)))
88283 t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
88284 else
88285 throw exception;
88286 }
88287 else {
88288 if (!(value <= 31))
88289 if (!J.$eq$(value, 127))
88290 t1 = identifierStart && A.isDigit0(value);
88291 else
88292 t1 = true;
88293 else
88294 t1 = true;
88295 if (t1) {
88296 t1 = "" + A.Primitives_stringFromCharCode(92);
88297 if (value > 15)
88298 t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
88299 t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
88300 return t1.charCodeAt(0) == 0 ? t1 : t1;
88301 } else
88302 return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
88303 }
88304 },
88305 escape$0() {
88306 return this.escape$1$identifierStart(false);
88307 },
88308 scanCharIf$1(condition) {
88309 var t1 = this.scanner;
88310 if (!condition.call$1(t1.peekChar$0()))
88311 return false;
88312 t1.readChar$0();
88313 return true;
88314 },
88315 scanIdentChar$2$caseSensitive(char, caseSensitive) {
88316 var t3,
88317 t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
88318 t2 = this.scanner,
88319 next = t2.peekChar$0();
88320 if (next != null && t1.call$1(next)) {
88321 t2.readChar$0();
88322 return true;
88323 } else if (next === 92) {
88324 t3 = t2._string_scanner$_position;
88325 if (t1.call$1(A.consumeEscapedCharacter0(t2)))
88326 return true;
88327 t2.set$state(new A._SpanScannerState(t2, t3));
88328 }
88329 return false;
88330 },
88331 scanIdentChar$1(char) {
88332 return this.scanIdentChar$2$caseSensitive(char, false);
88333 },
88334 expectIdentChar$1(letter) {
88335 var t1;
88336 if (this.scanIdentChar$2$caseSensitive(letter, false))
88337 return;
88338 t1 = this.scanner;
88339 t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
88340 },
88341 lookingAtIdentifier$1($forward) {
88342 var t1, first, second;
88343 if ($forward == null)
88344 $forward = 0;
88345 t1 = this.scanner;
88346 first = t1.peekChar$1($forward);
88347 if (first == null)
88348 return false;
88349 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
88350 return true;
88351 if (first !== 45)
88352 return false;
88353 second = t1.peekChar$1($forward + 1);
88354 if (second == null)
88355 return false;
88356 return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
88357 },
88358 lookingAtIdentifier$0() {
88359 return this.lookingAtIdentifier$1(null);
88360 },
88361 lookingAtIdentifierBody$0() {
88362 var t1,
88363 next = this.scanner.peekChar$0();
88364 if (next != null)
88365 t1 = next === 95 || A.isAlphabetic1(next) || next >= 128 || A.isDigit0(next) || next === 45 || next === 92;
88366 else
88367 t1 = false;
88368 return t1;
88369 },
88370 scanIdentifier$2$caseSensitive(text, caseSensitive) {
88371 var t1, start, t2, t3, _this = this;
88372 if (!_this.lookingAtIdentifier$0())
88373 return false;
88374 t1 = _this.scanner;
88375 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
88376 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
88377 if (_this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), caseSensitive))
88378 continue;
88379 if (start._scanner !== t1)
88380 A.throwExpression(A.ArgumentError$(string$.The_gi, null));
88381 t2 = start.position;
88382 if (t2 < 0 || t2 > t1.string.length)
88383 A.throwExpression(A.ArgumentError$("Invalid position " + t2, null));
88384 t1._string_scanner$_position = t2;
88385 t1._lastMatch = null;
88386 return false;
88387 }
88388 if (!_this.lookingAtIdentifierBody$0())
88389 return true;
88390 t1.set$state(start);
88391 return false;
88392 },
88393 scanIdentifier$1(text) {
88394 return this.scanIdentifier$2$caseSensitive(text, false);
88395 },
88396 expectIdentifier$2$name(text, $name) {
88397 var t1, start, t2, t3;
88398 if ($name == null)
88399 $name = '"' + text + '"';
88400 t1 = this.scanner;
88401 start = t1._string_scanner$_position;
88402 for (t2 = new A.CodeUnits(text), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
88403 if (this.scanIdentChar$2$caseSensitive(t3._as(t2.__internal$_current), false))
88404 continue;
88405 t1.error$2$position(0, "Expected " + $name + ".", start);
88406 }
88407 if (!this.lookingAtIdentifierBody$0())
88408 return;
88409 t1.error$2$position(0, "Expected " + $name, start);
88410 },
88411 expectIdentifier$1(text) {
88412 return this.expectIdentifier$2$name(text, null);
88413 },
88414 rawText$1(consumer) {
88415 var t1 = this.scanner,
88416 start = t1._string_scanner$_position;
88417 consumer.call$0();
88418 return t1.substring$1(0, start);
88419 },
88420 error$3(_, message, span, trace) {
88421 var exception = new A.StringScannerException(this.scanner.string, message, span);
88422 if (trace == null)
88423 throw A.wrapException(exception);
88424 else
88425 A.throwWithTrace0(exception, trace);
88426 },
88427 error$2($receiver, message, span) {
88428 return this.error$3($receiver, message, span, null);
88429 },
88430 withErrorMessage$1$2(message, callback) {
88431 var error, stackTrace, t1, exception;
88432 try {
88433 t1 = callback.call$0();
88434 return t1;
88435 } catch (exception) {
88436 t1 = A.unwrapException(exception);
88437 if (type$.SourceSpanFormatException._is(t1)) {
88438 error = t1;
88439 stackTrace = A.getTraceFromException(exception);
88440 t1 = J.get$span$z(error);
88441 A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
88442 } else
88443 throw exception;
88444 }
88445 },
88446 withErrorMessage$2(message, callback) {
88447 return this.withErrorMessage$1$2(message, callback, type$.dynamic);
88448 },
88449 wrapSpanFormatException$1$1(callback) {
88450 var error, stackTrace, span, startPosition, t1, exception;
88451 try {
88452 t1 = callback.call$0();
88453 return t1;
88454 } catch (exception) {
88455 t1 = A.unwrapException(exception);
88456 if (type$.SourceSpanFormatException._is(t1)) {
88457 error = t1;
88458 stackTrace = A.getTraceFromException(exception);
88459 span = J.get$span$z(error);
88460 if (A.startsWithIgnoreCase0(error._span_exception$_message, "expected")) {
88461 t1 = span;
88462 t1 = t1._end - t1._file$_start === 0;
88463 } else
88464 t1 = false;
88465 if (t1) {
88466 t1 = span;
88467 startPosition = this._parser0$_firstNewlineBefore$1(A.FileLocation$_(t1.file, t1._file$_start).offset);
88468 t1 = span;
88469 if (!J.$eq$(startPosition, A.FileLocation$_(t1.file, t1._file$_start).offset))
88470 span = span.file.span$2(0, startPosition, startPosition);
88471 }
88472 A.throwWithTrace0(new A.SassFormatException0(error._span_exception$_message, span), stackTrace);
88473 } else
88474 throw exception;
88475 }
88476 },
88477 wrapSpanFormatException$1(callback) {
88478 return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
88479 },
88480 _parser0$_firstNewlineBefore$1(position) {
88481 var t1, lastNewline, codeUnit,
88482 index = position - 1;
88483 for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
88484 codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
88485 if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
88486 return lastNewline == null ? position : lastNewline;
88487 if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
88488 lastNewline = index;
88489 --index;
88490 }
88491 return position;
88492 }
88493 };
88494 A.Parser__parseIdentifier_closure0.prototype = {
88495 call$0() {
88496 var t1 = this.$this,
88497 result = t1.identifier$0();
88498 t1.scanner.expectDone$0();
88499 return result;
88500 },
88501 $signature: 30
88502 };
88503 A.Parser_scanIdentChar_matches0.prototype = {
88504 call$1(actual) {
88505 var t1 = this.char;
88506 return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
88507 },
88508 $signature: 56
88509 };
88510 A.PlaceholderSelector0.prototype = {
88511 get$isInvisible() {
88512 return true;
88513 },
88514 accept$1$1(visitor) {
88515 var t1 = visitor._serialize0$_buffer;
88516 t1.writeCharCode$1(37);
88517 t1.write$1(0, this.name);
88518 return null;
88519 },
88520 accept$1(visitor) {
88521 return this.accept$1$1(visitor, type$.dynamic);
88522 },
88523 addSuffix$1(suffix) {
88524 return new A.PlaceholderSelector0(this.name + suffix);
88525 },
88526 $eq(_, other) {
88527 if (other == null)
88528 return false;
88529 return other instanceof A.PlaceholderSelector0 && other.name === this.name;
88530 },
88531 get$hashCode(_) {
88532 return B.JSString_methods.get$hashCode(this.name);
88533 }
88534 };
88535 A.PlainCssCallable0.prototype = {
88536 $eq(_, other) {
88537 if (other == null)
88538 return false;
88539 return other instanceof A.PlainCssCallable0 && this.name === other.name;
88540 },
88541 get$hashCode(_) {
88542 return B.JSString_methods.get$hashCode(this.name);
88543 },
88544 $isAsyncCallable0: 1,
88545 $isCallable0: 1,
88546 get$name(receiver) {
88547 return this.name;
88548 }
88549 };
88550 A.PrefixedMapView0.prototype = {
88551 get$keys(_) {
88552 return new A._PrefixedKeys0(this);
88553 },
88554 get$length(_) {
88555 var t1 = this._prefixed_map_view0$_map;
88556 return t1.get$length(t1);
88557 },
88558 get$isEmpty(_) {
88559 var t1 = this._prefixed_map_view0$_map;
88560 return t1.get$isEmpty(t1);
88561 },
88562 get$isNotEmpty(_) {
88563 var t1 = this._prefixed_map_view0$_map;
88564 return t1.get$isNotEmpty(t1);
88565 },
88566 $index(_, key) {
88567 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;
88568 },
88569 containsKey$1(key) {
88570 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));
88571 }
88572 };
88573 A._PrefixedKeys0.prototype = {
88574 get$length(_) {
88575 var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
88576 return t1.get$length(t1);
88577 },
88578 get$iterator(_) {
88579 var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
88580 t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
88581 return t1.get$iterator(t1);
88582 },
88583 contains$1(_, key) {
88584 return this._prefixed_map_view0$_view.containsKey$1(key);
88585 }
88586 };
88587 A._PrefixedKeys_iterator_closure0.prototype = {
88588 call$1(key) {
88589 return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
88590 },
88591 $signature: 5
88592 };
88593 A.PseudoSelector0.prototype = {
88594 get$isHostContext() {
88595 return this.isClass && this.name === "host-context" && this.selector != null;
88596 },
88597 get$minSpecificity() {
88598 if (this._pseudo0$_minSpecificity == null)
88599 this._pseudo0$_computeSpecificity$0();
88600 var t1 = this._pseudo0$_minSpecificity;
88601 t1.toString;
88602 return t1;
88603 },
88604 get$maxSpecificity() {
88605 if (this._pseudo0$_maxSpecificity == null)
88606 this._pseudo0$_computeSpecificity$0();
88607 var t1 = this._pseudo0$_maxSpecificity;
88608 t1.toString;
88609 return t1;
88610 },
88611 get$isInvisible() {
88612 var selector = this.selector;
88613 if (selector == null)
88614 return false;
88615 return this.name !== "not" && selector.get$isInvisible();
88616 },
88617 addSuffix$1(suffix) {
88618 var _this = this;
88619 if (_this.argument != null || _this.selector != null)
88620 _this.super$SimpleSelector$addSuffix0(suffix);
88621 return A.PseudoSelector$0(_this.name + suffix, null, !_this.isClass, null);
88622 },
88623 unify$1(compound) {
88624 var other, result, t2, addedThis, _i, simple, _this = this,
88625 t1 = _this.name;
88626 if (t1 === "host" || t1 === "host-context") {
88627 if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
88628 return null;
88629 } else if (compound.length === 1) {
88630 other = B.JSArray_methods.get$first(compound);
88631 if (!(other instanceof A.UniversalSelector0))
88632 if (other instanceof A.PseudoSelector0)
88633 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
88634 else
88635 t1 = false;
88636 else
88637 t1 = true;
88638 if (t1)
88639 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
88640 }
88641 if (B.JSArray_methods.contains$1(compound, _this))
88642 return compound;
88643 result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
88644 for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
88645 simple = compound[_i];
88646 if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
88647 if (t2)
88648 return null;
88649 result.push(_this);
88650 addedThis = true;
88651 }
88652 result.push(simple);
88653 }
88654 if (!addedThis)
88655 result.push(_this);
88656 return result;
88657 },
88658 _pseudo0$_computeSpecificity$0() {
88659 var selector, t1, t2, minSpecificity, maxSpecificity, _i, complex, t3, _this = this;
88660 if (!_this.isClass) {
88661 _this._pseudo0$_maxSpecificity = _this._pseudo0$_minSpecificity = 1;
88662 return;
88663 }
88664 selector = _this.selector;
88665 if (selector == null) {
88666 _this._pseudo0$_minSpecificity = A.SimpleSelector0.prototype.get$minSpecificity.call(_this);
88667 _this._pseudo0$_maxSpecificity = A.SimpleSelector0.prototype.get$maxSpecificity.call(_this);
88668 return;
88669 }
88670 if (_this.name === "not") {
88671 for (t1 = selector.components, t2 = t1.length, minSpecificity = 0, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
88672 complex = t1[_i];
88673 if (complex._complex0$_minSpecificity == null)
88674 complex._complex0$_computeSpecificity$0();
88675 t3 = complex._complex0$_minSpecificity;
88676 t3.toString;
88677 minSpecificity = Math.max(minSpecificity, t3);
88678 if (complex._complex0$_maxSpecificity == null)
88679 complex._complex0$_computeSpecificity$0();
88680 t3 = complex._complex0$_maxSpecificity;
88681 t3.toString;
88682 maxSpecificity = Math.max(maxSpecificity, t3);
88683 }
88684 _this._pseudo0$_minSpecificity = minSpecificity;
88685 _this._pseudo0$_maxSpecificity = maxSpecificity;
88686 } else {
88687 minSpecificity = A._asInt(Math.pow(A.SimpleSelector0.prototype.get$minSpecificity.call(_this), 3));
88688 for (t1 = selector.components, t2 = t1.length, maxSpecificity = 0, _i = 0; _i < t2; ++_i) {
88689 complex = t1[_i];
88690 if (complex._complex0$_minSpecificity == null)
88691 complex._complex0$_computeSpecificity$0();
88692 t3 = complex._complex0$_minSpecificity;
88693 t3.toString;
88694 minSpecificity = Math.min(minSpecificity, t3);
88695 if (complex._complex0$_maxSpecificity == null)
88696 complex._complex0$_computeSpecificity$0();
88697 t3 = complex._complex0$_maxSpecificity;
88698 t3.toString;
88699 maxSpecificity = Math.max(maxSpecificity, t3);
88700 }
88701 _this._pseudo0$_minSpecificity = minSpecificity;
88702 _this._pseudo0$_maxSpecificity = maxSpecificity;
88703 }
88704 },
88705 accept$1$1(visitor) {
88706 return visitor.visitPseudoSelector$1(this);
88707 },
88708 accept$1(visitor) {
88709 return this.accept$1$1(visitor, type$.dynamic);
88710 },
88711 $eq(_, other) {
88712 var _this = this;
88713 if (other == null)
88714 return false;
88715 return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
88716 },
88717 get$hashCode(_) {
88718 var _this = this,
88719 t1 = B.JSString_methods.get$hashCode(_this.name),
88720 t2 = !_this.isClass ? 519018 : 218159;
88721 return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
88722 }
88723 };
88724 A.PseudoSelector_unify_closure0.prototype = {
88725 call$1(simple) {
88726 var t1;
88727 if (simple instanceof A.PseudoSelector0)
88728 t1 = simple.isClass && simple.name === "host" || simple.selector != null;
88729 else
88730 t1 = false;
88731 return t1;
88732 },
88733 $signature: 15
88734 };
88735 A.PublicMemberMapView0.prototype = {
88736 get$keys(_) {
88737 var t1 = this._public_member_map_view0$_inner;
88738 return J.where$1$ax(t1.get$keys(t1), A.utils0__isPublic$closure());
88739 },
88740 containsKey$1(key) {
88741 return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
88742 },
88743 $index(_, key) {
88744 if (typeof key == "string" && A.isPublic0(key))
88745 return this._public_member_map_view0$_inner.$index(0, key);
88746 return null;
88747 }
88748 };
88749 A.QualifiedName0.prototype = {
88750 $eq(_, other) {
88751 if (other == null)
88752 return false;
88753 return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
88754 },
88755 get$hashCode(_) {
88756 return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
88757 },
88758 toString$0(_) {
88759 var t1 = this.namespace,
88760 t2 = this.name;
88761 return t1 == null ? t2 : t1 + "|" + t2;
88762 }
88763 };
88764 A.JSClass0.prototype = {};
88765 A.JSClassExtension_setCustomInspect_closure.prototype = {
88766 call$3($self, _, __) {
88767 return this.inspect.call$1($self);
88768 },
88769 "call*": "call$3",
88770 $requiredArgCount: 3,
88771 $signature: 517
88772 };
88773 A.JSClassExtension_get_defineMethod_closure.prototype = {
88774 call$2($name, body) {
88775 J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
88776 return null;
88777 },
88778 $signature: 243
88779 };
88780 A.JSClassExtension_get_defineGetter_closure.prototype = {
88781 call$2($name, body) {
88782 A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
88783 return null;
88784 },
88785 $signature: 243
88786 };
88787 A.RenderContext0.prototype = {};
88788 A.RenderContextOptions0.prototype = {};
88789 A.RenderContextResult0.prototype = {};
88790 A.RenderContextResultStats0.prototype = {};
88791 A.RenderOptions.prototype = {};
88792 A.RenderResult.prototype = {};
88793 A.RenderResultStats.prototype = {};
88794 A.ImporterResult0.prototype = {
88795 get$sourceMapUrl(_) {
88796 var t1 = this._result$_sourceMapUrl;
88797 return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
88798 }
88799 };
88800 A.ReturnRule0.prototype = {
88801 accept$1$1(visitor) {
88802 return visitor.visitReturnRule$1(this);
88803 },
88804 accept$1(visitor) {
88805 return this.accept$1$1(visitor, type$.dynamic);
88806 },
88807 toString$0(_) {
88808 return "@return " + this.expression.toString$0(0) + ";";
88809 },
88810 $isAstNode0: 1,
88811 $isStatement0: 1,
88812 get$span(receiver) {
88813 return this.span;
88814 }
88815 };
88816 A.main_printError.prototype = {
88817 call$2(error, stackTrace) {
88818 var t1 = this._box_0;
88819 if (t1.printedError)
88820 $.$get$stderr().writeln$0();
88821 t1.printedError = true;
88822 t1 = $.$get$stderr();
88823 t1.writeln$1(error);
88824 if (stackTrace != null) {
88825 t1.writeln$0();
88826 t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
88827 }
88828 },
88829 $signature: 519
88830 };
88831 A.main_closure.prototype = {
88832 call$0() {
88833 var t1, exception;
88834 try {
88835 t1 = this.destination;
88836 if (t1 != null && !this._box_0.options.get$emitErrorCss())
88837 A.deleteFile(t1);
88838 } catch (exception) {
88839 if (!(A.unwrapException(exception) instanceof A.FileSystemException))
88840 throw exception;
88841 }
88842 },
88843 $signature: 1
88844 };
88845 A.SassParser0.prototype = {
88846 get$currentIndentation() {
88847 return this._sass0$_currentIndentation;
88848 },
88849 get$indented() {
88850 return true;
88851 },
88852 styleRuleSelector$0() {
88853 var t4,
88854 t1 = this.scanner,
88855 t2 = t1._string_scanner$_position,
88856 t3 = new A.StringBuffer(""),
88857 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
88858 do {
88859 buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
88860 t4 = t3._contents += A.Primitives_stringFromCharCode(10);
88861 } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character0__isNewline$closure()));
88862 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
88863 },
88864 expectStatementSeparator$1($name) {
88865 var _this = this;
88866 if (!_this.atEndOfStatement$0())
88867 _this._sass0$_expectNewline$0();
88868 if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
88869 return;
88870 _this.scanner.error$2$position(0, "Nothing may be indented " + ($name == null ? "here" : "beneath a " + $name) + ".", _this._sass0$_nextIndentationEnd.position);
88871 },
88872 expectStatementSeparator$0() {
88873 return this.expectStatementSeparator$1(null);
88874 },
88875 atEndOfStatement$0() {
88876 var next = this.scanner.peekChar$0();
88877 return next == null || next === 10 || next === 13 || next === 12;
88878 },
88879 lookingAtChildren$0() {
88880 return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
88881 },
88882 importArgument$0() {
88883 var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
88884 t1 = _this.scanner;
88885 switch (t1.peekChar$0()) {
88886 case 117:
88887 case 85:
88888 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
88889 if (_this.scanIdentifier$1("url"))
88890 if (t1.scanChar$1(40)) {
88891 t1.set$state(start);
88892 return _this.super$StylesheetParser$importArgument0();
88893 } else
88894 t1.set$state(start);
88895 break;
88896 case 39:
88897 case 34:
88898 return _this.super$StylesheetParser$importArgument0();
88899 }
88900 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
88901 next = t1.peekChar$0();
88902 while (true) {
88903 if (next != null)
88904 if (next !== 44)
88905 if (next !== 59)
88906 t2 = !(next === 10 || next === 13 || next === 12);
88907 else
88908 t2 = false;
88909 else
88910 t2 = false;
88911 else
88912 t2 = false;
88913 if (!t2)
88914 break;
88915 t1.readChar$0();
88916 next = t1.peekChar$0();
88917 }
88918 url = t1.substring$1(0, start.position);
88919 span = t1.spanFrom$1(start);
88920 if (_this.isPlainImportUrl$1(url))
88921 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);
88922 else
88923 try {
88924 t1 = _this.parseImportUrl$1(url);
88925 return new A.DynamicImport0(t1, span);
88926 } catch (exception) {
88927 t1 = A.unwrapException(exception);
88928 if (type$.FormatException._is(t1)) {
88929 innerError = t1;
88930 stackTrace = A.getTraceFromException(exception);
88931 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
88932 } else
88933 throw exception;
88934 }
88935 },
88936 scanElse$1(ifIndentation) {
88937 var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
88938 if (_this._sass0$_peekIndentation$0() !== ifIndentation)
88939 return false;
88940 t1 = _this.scanner;
88941 t2 = t1._string_scanner$_position;
88942 startIndentation = _this._sass0$_currentIndentation;
88943 startNextIndentation = _this._sass0$_nextIndentation;
88944 startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
88945 _this._sass0$_readIndentation$0();
88946 if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
88947 return true;
88948 t1.set$state(new A._SpanScannerState(t1, t2));
88949 _this._sass0$_currentIndentation = startIndentation;
88950 _this._sass0$_nextIndentation = startNextIndentation;
88951 _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
88952 return false;
88953 },
88954 children$1(_, child) {
88955 var children = A._setArrayType([], type$.JSArray_Statement_2);
88956 this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
88957 return children;
88958 },
88959 statements$1(statement) {
88960 var statements, t2, child,
88961 t1 = this.scanner,
88962 first = t1.peekChar$0();
88963 if (first === 9 || first === 32)
88964 t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
88965 statements = A._setArrayType([], type$.JSArray_Statement_2);
88966 for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
88967 child = this._sass0$_child$1(statement);
88968 if (child != null)
88969 statements.push(child);
88970 this._sass0$_readIndentation$0();
88971 }
88972 return statements;
88973 },
88974 _sass0$_child$1(child) {
88975 var _this = this,
88976 t1 = _this.scanner;
88977 switch (t1.peekChar$0()) {
88978 case 13:
88979 case 10:
88980 case 12:
88981 return null;
88982 case 36:
88983 return _this.variableDeclarationWithoutNamespace$0();
88984 case 47:
88985 switch (t1.peekChar$1(1)) {
88986 case 47:
88987 return _this._sass0$_silentComment$0();
88988 case 42:
88989 return _this._sass0$_loudComment$0();
88990 default:
88991 return child.call$0();
88992 }
88993 default:
88994 return child.call$0();
88995 }
88996 },
88997 _sass0$_silentComment$0() {
88998 var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
88999 t1 = _this.scanner,
89000 t2 = t1._string_scanner$_position;
89001 t1.expect$1("//");
89002 buffer = new A.StringBuffer("");
89003 parentIndentation = _this._sass0$_currentIndentation;
89004 t3 = t1.string.length;
89005 t4 = 1 + parentIndentation;
89006 t5 = 2 + parentIndentation;
89007 $label0$0:
89008 do {
89009 commentPrefix = t1.scanChar$1(47) ? "///" : "//";
89010 for (i = commentPrefix.length; true;) {
89011 t6 = buffer._contents += commentPrefix;
89012 for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
89013 t6 += A.Primitives_stringFromCharCode(32);
89014 buffer._contents = t6;
89015 }
89016 while (true) {
89017 if (t1._string_scanner$_position !== t3) {
89018 t7 = t1.peekChar$0();
89019 t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
89020 } else
89021 t7 = false;
89022 if (!t7)
89023 break;
89024 t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
89025 buffer._contents = t6;
89026 }
89027 buffer._contents = t6 + "\n";
89028 if (_this._sass0$_peekIndentation$0() < parentIndentation)
89029 break $label0$0;
89030 if (_this._sass0$_peekIndentation$0() === parentIndentation) {
89031 if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
89032 _this._sass0$_readIndentation$0();
89033 break;
89034 }
89035 _this._sass0$_readIndentation$0();
89036 }
89037 } while (t1.scan$1("//"));
89038 t3 = buffer._contents;
89039 return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
89040 },
89041 _sass0$_loudComment$0() {
89042 var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
89043 t1 = _this.scanner,
89044 t2 = t1._string_scanner$_position;
89045 t1.expect$1("/*");
89046 t3 = new A.StringBuffer("");
89047 t4 = A._setArrayType([], type$.JSArray_Object);
89048 buffer = new A.InterpolationBuffer0(t3, t4);
89049 t3._contents = "" + "/*";
89050 parentIndentation = _this._sass0$_currentIndentation;
89051 for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
89052 if (first) {
89053 beginningOfComment = t1._string_scanner$_position;
89054 _this.spaces$0();
89055 t7 = t1.peekChar$0();
89056 if (t7 === 10 || t7 === 13 || t7 === 12) {
89057 _this._sass0$_readIndentation$0();
89058 t7 = t3._contents += A.Primitives_stringFromCharCode(32);
89059 } else {
89060 end = t1._string_scanner$_position;
89061 t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
89062 }
89063 } else {
89064 t7 = t3._contents += "\n";
89065 t7 += " * ";
89066 t3._contents = t7;
89067 }
89068 for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
89069 t7 += A.Primitives_stringFromCharCode(32);
89070 t3._contents = t7;
89071 }
89072 $label0$1:
89073 for (; t1._string_scanner$_position !== t6;)
89074 switch (t1.peekChar$0()) {
89075 case 10:
89076 case 13:
89077 case 12:
89078 break $label0$1;
89079 case 35:
89080 if (t1.peekChar$1(1) === 123) {
89081 t7 = _this.singleInterpolation$0();
89082 buffer._interpolation_buffer0$_flushText$0();
89083 t4.push(t7);
89084 } else
89085 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89086 break;
89087 default:
89088 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89089 break;
89090 }
89091 if (_this._sass0$_peekIndentation$0() <= parentIndentation)
89092 break;
89093 for (; _this._sass0$_lookingAtDoubleNewline$0();) {
89094 _this._sass0$_expectNewline$0();
89095 t7 = t3._contents += "\n";
89096 t3._contents = t7 + " *";
89097 }
89098 _this._sass0$_readIndentation$0();
89099 }
89100 t4 = t3._contents;
89101 if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
89102 t3._contents += " */";
89103 return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
89104 },
89105 whitespaceWithoutComments$0() {
89106 var t1, t2, next;
89107 for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
89108 next = t1.peekChar$0();
89109 if (next !== 9 && next !== 32)
89110 break;
89111 t1.readChar$0();
89112 }
89113 },
89114 loudComment$0() {
89115 var next,
89116 t1 = this.scanner;
89117 t1.expect$1("/*");
89118 for (; true;) {
89119 next = t1.readChar$0();
89120 if (next === 10 || next === 13 || next === 12)
89121 t1.error$1(0, "expected */.");
89122 if (next !== 42)
89123 continue;
89124 do
89125 next = t1.readChar$0();
89126 while (next === 42);
89127 if (next === 47)
89128 break;
89129 }
89130 },
89131 _sass0$_expectNewline$0() {
89132 var t1 = this.scanner;
89133 switch (t1.peekChar$0()) {
89134 case 59:
89135 t1.error$1(0, string$.semico);
89136 break;
89137 case 13:
89138 t1.readChar$0();
89139 if (t1.peekChar$0() === 10)
89140 t1.readChar$0();
89141 return;
89142 case 10:
89143 case 12:
89144 t1.readChar$0();
89145 return;
89146 default:
89147 t1.error$1(0, "expected newline.");
89148 }
89149 },
89150 _sass0$_lookingAtDoubleNewline$0() {
89151 var nextChar,
89152 t1 = this.scanner;
89153 switch (t1.peekChar$0()) {
89154 case 13:
89155 nextChar = t1.peekChar$1(1);
89156 if (nextChar === 10) {
89157 t1 = t1.peekChar$1(2);
89158 return t1 === 10 || t1 === 13 || t1 === 12;
89159 }
89160 return nextChar === 13 || nextChar === 12;
89161 case 10:
89162 case 12:
89163 t1 = t1.peekChar$1(1);
89164 return t1 === 10 || t1 === 13 || t1 === 12;
89165 default:
89166 return false;
89167 }
89168 },
89169 _sass0$_whileIndentedLower$1(body) {
89170 var t1, t2, childIndentation, indentation, t3, t4, t5, _this = this,
89171 parentIndentation = _this._sass0$_currentIndentation;
89172 for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
89173 indentation = _this._sass0$_readIndentation$0();
89174 if (childIndentation == null)
89175 childIndentation = indentation;
89176 if (childIndentation !== indentation) {
89177 t3 = "Inconsistent indentation, expected " + childIndentation + " spaces.";
89178 t4 = t1._string_scanner$_position;
89179 t5 = t2.getColumn$1(t4);
89180 t1.error$3$length$position(0, t3, t2.getColumn$1(t1._string_scanner$_position), t4 - t5);
89181 }
89182 body.call$0();
89183 }
89184 },
89185 _sass0$_readIndentation$0() {
89186 var t1, _this = this,
89187 currentIndentation = _this._sass0$_nextIndentation;
89188 if (currentIndentation == null)
89189 currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
89190 _this._sass0$_currentIndentation = currentIndentation;
89191 t1 = _this._sass0$_nextIndentationEnd;
89192 t1.toString;
89193 _this.scanner.set$state(t1);
89194 _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
89195 return currentIndentation;
89196 },
89197 _sass0$_peekIndentation$0() {
89198 var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
89199 cached = _this._sass0$_nextIndentation;
89200 if (cached != null)
89201 return cached;
89202 t1 = _this.scanner;
89203 t2 = t1._string_scanner$_position;
89204 t3 = t1.string.length;
89205 if (t2 === t3) {
89206 _this._sass0$_nextIndentation = 0;
89207 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
89208 return 0;
89209 }
89210 start = new A._SpanScannerState(t1, t2);
89211 if (!_this.scanCharIf$1(A.character0__isNewline$closure()))
89212 t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
89213 containsTab = A._Cell$();
89214 containsSpace = A._Cell$();
89215 nextIndentation = A._Cell$();
89216 t2 = nextIndentation.__late_helper$_name;
89217 do {
89218 containsSpace._value = containsTab._value = false;
89219 nextIndentation._value = 0;
89220 for (; true;) {
89221 next = t1.peekChar$0();
89222 if (next === 32)
89223 containsSpace._value = true;
89224 else if (next === 9)
89225 containsTab._value = true;
89226 else
89227 break;
89228 t4 = nextIndentation._value;
89229 if (t4 === nextIndentation)
89230 A.throwExpression(A.LateError$localNI(t2));
89231 nextIndentation._value = t4 + 1;
89232 t1.readChar$0();
89233 }
89234 t4 = t1._string_scanner$_position;
89235 if (t4 === t3) {
89236 _this._sass0$_nextIndentation = 0;
89237 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t4);
89238 t1.set$state(start);
89239 return 0;
89240 }
89241 } while (_this.scanCharIf$1(A.character0__isNewline$closure()));
89242 t2 = containsTab._readLocal$0();
89243 t3 = containsSpace._readLocal$0();
89244 if (t2) {
89245 if (t3) {
89246 t2 = t1._string_scanner$_position;
89247 t3 = t1._sourceFile;
89248 t4 = t3.getColumn$1(t2);
89249 t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89250 } else if (_this._sass0$_spaces === true) {
89251 t2 = t1._string_scanner$_position;
89252 t3 = t1._sourceFile;
89253 t4 = t3.getColumn$1(t2);
89254 t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89255 }
89256 } else if (t3 && _this._sass0$_spaces === false) {
89257 t2 = t1._string_scanner$_position;
89258 t3 = t1._sourceFile;
89259 t4 = t3.getColumn$1(t2);
89260 t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
89261 }
89262 _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
89263 if (nextIndentation._readLocal$0() > 0)
89264 if (_this._sass0$_spaces == null)
89265 _this._sass0$_spaces = containsSpace._readLocal$0();
89266 _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
89267 t1.set$state(start);
89268 return nextIndentation._readLocal$0();
89269 }
89270 };
89271 A.SassParser_children_closure0.prototype = {
89272 call$0() {
89273 var parsedChild = this.$this._sass0$_child$1(this.child);
89274 if (parsedChild != null)
89275 this.children.push(parsedChild);
89276 },
89277 $signature: 0
89278 };
89279 A._Exports.prototype = {};
89280 A._wrapMain_closure.prototype = {
89281 call$1(_) {
89282 return A._translateReturnValue(this.main.call$0());
89283 },
89284 $signature: 98
89285 };
89286 A._wrapMain_closure0.prototype = {
89287 call$1(args) {
89288 return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
89289 },
89290 $signature: 98
89291 };
89292 A.ScssParser0.prototype = {
89293 get$indented() {
89294 return false;
89295 },
89296 get$currentIndentation() {
89297 return 0;
89298 },
89299 styleRuleSelector$0() {
89300 return this.almostAnyValue$0();
89301 },
89302 expectStatementSeparator$1($name) {
89303 var t1, next;
89304 this.whitespaceWithoutComments$0();
89305 t1 = this.scanner;
89306 if (t1._string_scanner$_position === t1.string.length)
89307 return;
89308 next = t1.peekChar$0();
89309 if (next === 59 || next === 125)
89310 return;
89311 t1.expectChar$1(59);
89312 },
89313 expectStatementSeparator$0() {
89314 return this.expectStatementSeparator$1(null);
89315 },
89316 atEndOfStatement$0() {
89317 var next = this.scanner.peekChar$0();
89318 return next == null || next === 59 || next === 125 || next === 123;
89319 },
89320 lookingAtChildren$0() {
89321 return this.scanner.peekChar$0() === 123;
89322 },
89323 scanElse$1(ifIndentation) {
89324 var t3, _this = this,
89325 t1 = _this.scanner,
89326 t2 = t1._string_scanner$_position;
89327 _this.whitespace$0();
89328 t3 = t1._string_scanner$_position;
89329 if (t1.scanChar$1(64)) {
89330 if (_this.scanIdentifier$2$caseSensitive("else", true))
89331 return true;
89332 if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
89333 _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
89334 t1.set$position(t1._string_scanner$_position - 2);
89335 return true;
89336 }
89337 }
89338 t1.set$state(new A._SpanScannerState(t1, t2));
89339 return false;
89340 },
89341 children$1(_, child) {
89342 var children, _this = this,
89343 t1 = _this.scanner;
89344 t1.expectChar$1(123);
89345 _this.whitespaceWithoutComments$0();
89346 children = A._setArrayType([], type$.JSArray_Statement_2);
89347 for (; true;)
89348 switch (t1.peekChar$0()) {
89349 case 36:
89350 children.push(_this.variableDeclarationWithoutNamespace$0());
89351 break;
89352 case 47:
89353 switch (t1.peekChar$1(1)) {
89354 case 47:
89355 children.push(_this._scss0$_silentComment$0());
89356 _this.whitespaceWithoutComments$0();
89357 break;
89358 case 42:
89359 children.push(_this._scss0$_loudComment$0());
89360 _this.whitespaceWithoutComments$0();
89361 break;
89362 default:
89363 children.push(child.call$0());
89364 break;
89365 }
89366 break;
89367 case 59:
89368 t1.readChar$0();
89369 _this.whitespaceWithoutComments$0();
89370 break;
89371 case 125:
89372 t1.expectChar$1(125);
89373 return children;
89374 default:
89375 children.push(child.call$0());
89376 break;
89377 }
89378 },
89379 statements$1(statement) {
89380 var t1, t2, child, _this = this,
89381 statements = A._setArrayType([], type$.JSArray_Statement_2);
89382 _this.whitespaceWithoutComments$0();
89383 for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
89384 switch (t1.peekChar$0()) {
89385 case 36:
89386 statements.push(_this.variableDeclarationWithoutNamespace$0());
89387 break;
89388 case 47:
89389 switch (t1.peekChar$1(1)) {
89390 case 47:
89391 statements.push(_this._scss0$_silentComment$0());
89392 _this.whitespaceWithoutComments$0();
89393 break;
89394 case 42:
89395 statements.push(_this._scss0$_loudComment$0());
89396 _this.whitespaceWithoutComments$0();
89397 break;
89398 default:
89399 child = statement.call$0();
89400 if (child != null)
89401 statements.push(child);
89402 break;
89403 }
89404 break;
89405 case 59:
89406 t1.readChar$0();
89407 _this.whitespaceWithoutComments$0();
89408 break;
89409 default:
89410 child = statement.call$0();
89411 if (child != null)
89412 statements.push(child);
89413 break;
89414 }
89415 return statements;
89416 },
89417 _scss0$_silentComment$0() {
89418 var t2, t3, _this = this,
89419 t1 = _this.scanner,
89420 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89421 t1.expect$1("//");
89422 t2 = t1.string.length;
89423 do {
89424 while (true) {
89425 if (t1._string_scanner$_position !== t2) {
89426 t3 = t1.readChar$0();
89427 t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
89428 } else
89429 t3 = false;
89430 if (!t3)
89431 break;
89432 }
89433 if (t1._string_scanner$_position === t2)
89434 break;
89435 _this.whitespaceWithoutComments$0();
89436 } while (t1.scan$1("//"));
89437 if (_this.get$plainCss())
89438 _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
89439 return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
89440 },
89441 _scss0$_loudComment$0() {
89442 var t3, t4, buffer, t5, endPosition, t6, result,
89443 t1 = this.scanner,
89444 t2 = t1._string_scanner$_position;
89445 t1.expect$1("/*");
89446 t3 = new A.StringBuffer("");
89447 t4 = A._setArrayType([], type$.JSArray_Object);
89448 buffer = new A.InterpolationBuffer0(t3, t4);
89449 t3._contents = "" + "/*";
89450 for (; true;)
89451 switch (t1.peekChar$0()) {
89452 case 35:
89453 if (t1.peekChar$1(1) === 123) {
89454 t5 = this.singleInterpolation$0();
89455 buffer._interpolation_buffer0$_flushText$0();
89456 t4.push(t5);
89457 } else
89458 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89459 break;
89460 case 42:
89461 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89462 if (t1.peekChar$0() !== 47)
89463 break;
89464 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89465 endPosition = t1._string_scanner$_position;
89466 t5 = t1._sourceFile;
89467 t6 = new A._SpanScannerState(t1, t2).position;
89468 t1 = new A._FileSpan(t5, t6, endPosition);
89469 t1._FileSpan$3(t5, t6, endPosition);
89470 t6 = type$.Object;
89471 t5 = A.List_List$of(t4, true, t6);
89472 t2 = t3._contents;
89473 if (t2.length !== 0)
89474 t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
89475 result = A.List_List$from(t5, false, t6);
89476 result.fixed$length = Array;
89477 result.immutable$list = Array;
89478 t2 = new A.Interpolation0(result, t1);
89479 t2.Interpolation$20(t5, t1);
89480 return new A.LoudComment0(t2);
89481 case 13:
89482 t1.readChar$0();
89483 if (t1.peekChar$0() !== 10)
89484 t3._contents += A.Primitives_stringFromCharCode(10);
89485 break;
89486 case 12:
89487 t1.readChar$0();
89488 t3._contents += A.Primitives_stringFromCharCode(10);
89489 break;
89490 default:
89491 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
89492 break;
89493 }
89494 }
89495 };
89496 A.Selector0.prototype = {
89497 get$isInvisible() {
89498 return false;
89499 },
89500 toString$0(_) {
89501 var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
89502 this.accept$1(visitor);
89503 return visitor._serialize0$_buffer.toString$0(0);
89504 }
89505 };
89506 A.SelectorExpression0.prototype = {
89507 accept$1$1(visitor) {
89508 return visitor.visitSelectorExpression$1(this);
89509 },
89510 accept$1(visitor) {
89511 return this.accept$1$1(visitor, type$.dynamic);
89512 },
89513 toString$0(_) {
89514 return "&";
89515 },
89516 $isExpression0: 1,
89517 $isAstNode0: 1,
89518 get$span(receiver) {
89519 return this.span;
89520 }
89521 };
89522 A._nest_closure0.prototype = {
89523 call$1($arguments) {
89524 var t1 = {},
89525 selectors = J.$index$asx($arguments, 0).get$asList();
89526 if (selectors.length === 0)
89527 throw A.wrapException(A.SassScriptException$0(string$.x24selec));
89528 t1.first = true;
89529 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();
89530 },
89531 $signature: 22
89532 };
89533 A._nest__closure1.prototype = {
89534 call$1(selector) {
89535 var t1 = this._box_0,
89536 result = selector.assertSelector$1$allowParent(!t1.first);
89537 t1.first = false;
89538 return result;
89539 },
89540 $signature: 244
89541 };
89542 A._nest__closure2.prototype = {
89543 call$2($parent, child) {
89544 return child.resolveParentSelectors$1($parent);
89545 },
89546 $signature: 245
89547 };
89548 A._append_closure1.prototype = {
89549 call$1($arguments) {
89550 var selectors = J.$index$asx($arguments, 0).get$asList();
89551 if (selectors.length === 0)
89552 throw A.wrapException(A.SassScriptException$0(string$.x24selec));
89553 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();
89554 },
89555 $signature: 22
89556 };
89557 A._append__closure1.prototype = {
89558 call$1(selector) {
89559 return selector.assertSelector$0();
89560 },
89561 $signature: 244
89562 };
89563 A._append__closure2.prototype = {
89564 call$2($parent, child) {
89565 var t1 = child.components;
89566 return A.SelectorList$0(new A.MappedListIterable(t1, new A._append___closure0($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"))).resolveParentSelectors$1($parent);
89567 },
89568 $signature: 245
89569 };
89570 A._append___closure0.prototype = {
89571 call$1(complex) {
89572 var newCompound, t2,
89573 t1 = complex.components,
89574 compound = B.JSArray_methods.get$first(t1);
89575 if (compound instanceof A.CompoundSelector0) {
89576 newCompound = A._prependParent0(compound);
89577 if (newCompound == null)
89578 throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
89579 t2 = A._setArrayType([newCompound], type$.JSArray_ComplexSelectorComponent_2);
89580 B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
89581 return A.ComplexSelector$0(t2, false);
89582 } else
89583 throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + "."));
89584 },
89585 $signature: 100
89586 };
89587 A._extend_closure0.prototype = {
89588 call$1($arguments) {
89589 var t1 = J.getInterceptor$asx($arguments),
89590 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
89591 target = t1.$index($arguments, 1).assertSelector$1$name("extendee");
89592 return A.ExtensionStore__extendOrReplace0(selector, t1.$index($arguments, 2).assertSelector$1$name("extender"), target, B.ExtendMode_allTargets0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
89593 },
89594 $signature: 22
89595 };
89596 A._replace_closure0.prototype = {
89597 call$1($arguments) {
89598 var t1 = J.getInterceptor$asx($arguments),
89599 selector = t1.$index($arguments, 0).assertSelector$1$name("selector"),
89600 target = t1.$index($arguments, 1).assertSelector$1$name("original");
89601 return A.ExtensionStore__extendOrReplace0(selector, t1.$index($arguments, 2).assertSelector$1$name("replacement"), target, B.ExtendMode_replace0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
89602 },
89603 $signature: 22
89604 };
89605 A._unify_closure0.prototype = {
89606 call$1($arguments) {
89607 var t1 = J.getInterceptor$asx($arguments),
89608 result = t1.$index($arguments, 0).assertSelector$1$name("selector1").unify$1(t1.$index($arguments, 1).assertSelector$1$name("selector2"));
89609 return result == null ? B.C__SassNull0 : result.get$asSassList();
89610 },
89611 $signature: 3
89612 };
89613 A._isSuperselector_closure0.prototype = {
89614 call$1($arguments) {
89615 var t1 = J.getInterceptor$asx($arguments),
89616 selector1 = t1.$index($arguments, 0).assertSelector$1$name("super"),
89617 selector2 = t1.$index($arguments, 1).assertSelector$1$name("sub");
89618 return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
89619 },
89620 $signature: 18
89621 };
89622 A._simpleSelectors_closure0.prototype = {
89623 call$1($arguments) {
89624 var t1 = J.$index$asx($arguments, 0).assertCompoundSelector$1$name("selector").components;
89625 return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_kWM0, false);
89626 },
89627 $signature: 22
89628 };
89629 A._simpleSelectors__closure0.prototype = {
89630 call$1(simple) {
89631 return new A.SassString0(A.serializeSelector0(simple, true), false);
89632 },
89633 $signature: 522
89634 };
89635 A._parse_closure0.prototype = {
89636 call$1($arguments) {
89637 return J.$index$asx($arguments, 0).assertSelector$1$name("selector").get$asSassList();
89638 },
89639 $signature: 22
89640 };
89641 A.SelectorParser0.prototype = {
89642 parse$0() {
89643 return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
89644 },
89645 parseCompoundSelector$0() {
89646 return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
89647 },
89648 _selector$_selectorList$0() {
89649 var t3, t4, lineBreak, _this = this,
89650 t1 = _this.scanner,
89651 t2 = t1._sourceFile,
89652 previousLine = t2.getLine$1(t1._string_scanner$_position),
89653 components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
89654 _this.whitespace$0();
89655 for (t3 = t1.string.length; t1.scanChar$1(44);) {
89656 _this.whitespace$0();
89657 if (t1.peekChar$0() === 44)
89658 continue;
89659 t4 = t1._string_scanner$_position;
89660 if (t4 === t3)
89661 break;
89662 lineBreak = t2.getLine$1(t4) !== previousLine;
89663 if (lineBreak)
89664 previousLine = t2.getLine$1(t1._string_scanner$_position);
89665 components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
89666 }
89667 return A.SelectorList$0(components);
89668 },
89669 _selector$_complexSelector$1$lineBreak(lineBreak) {
89670 var t1, next, _this = this,
89671 _s58_ = string$.x22x26__ma,
89672 components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
89673 $label0$1:
89674 for (t1 = _this.scanner; true;) {
89675 _this.whitespace$0();
89676 next = t1.peekChar$0();
89677 switch (next) {
89678 case 43:
89679 t1.readChar$0();
89680 components.push(B.Combinator_uzg0);
89681 break;
89682 case 62:
89683 t1.readChar$0();
89684 components.push(B.Combinator_sgq0);
89685 break;
89686 case 126:
89687 t1.readChar$0();
89688 components.push(B.Combinator_CzM0);
89689 break;
89690 case 91:
89691 case 46:
89692 case 35:
89693 case 37:
89694 case 58:
89695 case 38:
89696 case 42:
89697 case 124:
89698 components.push(_this._selector$_compoundSelector$0());
89699 if (t1.peekChar$0() === 38)
89700 t1.error$1(0, _s58_);
89701 break;
89702 default:
89703 if (next == null || !_this.lookingAtIdentifier$0())
89704 break $label0$1;
89705 components.push(_this._selector$_compoundSelector$0());
89706 if (t1.peekChar$0() === 38)
89707 t1.error$1(0, _s58_);
89708 break;
89709 }
89710 }
89711 if (components.length === 0)
89712 t1.error$1(0, "expected selector.");
89713 return A.ComplexSelector$0(components, lineBreak);
89714 },
89715 _selector$_complexSelector$0() {
89716 return this._selector$_complexSelector$1$lineBreak(false);
89717 },
89718 _selector$_compoundSelector$0() {
89719 var t2,
89720 components = A._setArrayType([this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2),
89721 t1 = this.scanner;
89722 while (true) {
89723 t2 = t1.peekChar$0();
89724 if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
89725 break;
89726 components.push(this._selector$_simpleSelector$1$allowParent(false));
89727 }
89728 return A.CompoundSelector$0(components);
89729 },
89730 _selector$_simpleSelector$1$allowParent(allowParent) {
89731 var $name, text, t2, suffix, _this = this,
89732 t1 = _this.scanner,
89733 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
89734 if (allowParent == null)
89735 allowParent = _this._selector$_allowParent;
89736 switch (t1.peekChar$0()) {
89737 case 91:
89738 return _this._selector$_attributeSelector$0();
89739 case 46:
89740 t1.expectChar$1(46);
89741 return new A.ClassSelector0(_this.identifier$0());
89742 case 35:
89743 t1.expectChar$1(35);
89744 return new A.IDSelector0(_this.identifier$0());
89745 case 37:
89746 t1.expectChar$1(37);
89747 $name = _this.identifier$0();
89748 if (!_this._selector$_allowPlaceholder)
89749 _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
89750 return new A.PlaceholderSelector0($name);
89751 case 58:
89752 return _this._selector$_pseudoSelector$0();
89753 case 38:
89754 t1.expectChar$1(38);
89755 if (_this.lookingAtIdentifierBody$0()) {
89756 text = new A.StringBuffer("");
89757 _this._parser0$_identifierBody$1(text);
89758 if (text._contents.length === 0)
89759 t1.error$1(0, "Expected identifier body.");
89760 t2 = text._contents;
89761 suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
89762 } else
89763 suffix = null;
89764 if (!allowParent)
89765 _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
89766 return new A.ParentSelector0(suffix);
89767 default:
89768 return _this._selector$_typeOrUniversalSelector$0();
89769 }
89770 },
89771 _selector$_simpleSelector$0() {
89772 return this._selector$_simpleSelector$1$allowParent(null);
89773 },
89774 _selector$_attributeSelector$0() {
89775 var $name, operator, next, value, modifier, _this = this, _null = null,
89776 t1 = _this.scanner;
89777 t1.expectChar$1(91);
89778 _this.whitespace$0();
89779 $name = _this._selector$_attributeName$0();
89780 _this.whitespace$0();
89781 if (t1.scanChar$1(93))
89782 return new A.AttributeSelector0($name, _null, _null, _null);
89783 operator = _this._selector$_attributeOperator$0();
89784 _this.whitespace$0();
89785 next = t1.peekChar$0();
89786 value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
89787 _this.whitespace$0();
89788 next = t1.peekChar$0();
89789 modifier = next != null && A.isAlphabetic1(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
89790 t1.expectChar$1(93);
89791 return new A.AttributeSelector0($name, operator, value, modifier);
89792 },
89793 _selector$_attributeName$0() {
89794 var nameOrNamespace, _this = this,
89795 t1 = _this.scanner;
89796 if (t1.scanChar$1(42)) {
89797 t1.expectChar$1(124);
89798 return new A.QualifiedName0(_this.identifier$0(), "*");
89799 }
89800 if (t1.scanChar$1(124))
89801 return new A.QualifiedName0(_this.identifier$0(), "");
89802 nameOrNamespace = _this.identifier$0();
89803 if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
89804 return new A.QualifiedName0(nameOrNamespace, null);
89805 t1.readChar$0();
89806 return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
89807 },
89808 _selector$_attributeOperator$0() {
89809 var t1 = this.scanner,
89810 t2 = t1._string_scanner$_position;
89811 switch (t1.readChar$0()) {
89812 case 61:
89813 return B.AttributeOperator_sEs0;
89814 case 126:
89815 t1.expectChar$1(61);
89816 return B.AttributeOperator_fz10;
89817 case 124:
89818 t1.expectChar$1(61);
89819 return B.AttributeOperator_AuK0;
89820 case 94:
89821 t1.expectChar$1(61);
89822 return B.AttributeOperator_4L50;
89823 case 36:
89824 t1.expectChar$1(61);
89825 return B.AttributeOperator_mOX0;
89826 case 42:
89827 t1.expectChar$1(61);
89828 return B.AttributeOperator_gqZ0;
89829 default:
89830 t1.error$2$position(0, 'Expected "]".', t2);
89831 }
89832 },
89833 _selector$_pseudoSelector$0() {
89834 var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
89835 t1 = _this.scanner;
89836 t1.expectChar$1(58);
89837 element = t1.scanChar$1(58);
89838 $name = _this.identifier$0();
89839 if (!t1.scanChar$1(40))
89840 return A.PseudoSelector$0($name, _null, element, _null);
89841 _this.whitespace$0();
89842 unvendored = A.unvendor0($name);
89843 if (element)
89844 if ($._selectorPseudoElements0.contains$1(0, unvendored)) {
89845 selector = _this._selector$_selectorList$0();
89846 argument = _null;
89847 } else {
89848 argument = _this.declarationValue$1$allowEmpty(true);
89849 selector = _null;
89850 }
89851 else if ($._selectorPseudoClasses0.contains$1(0, unvendored)) {
89852 selector = _this._selector$_selectorList$0();
89853 argument = _null;
89854 } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
89855 argument = _this._selector$_aNPlusB$0();
89856 _this.whitespace$0();
89857 t2 = t1.peekChar$1(-1);
89858 if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
89859 _this.expectIdentifier$1("of");
89860 argument += " of";
89861 _this.whitespace$0();
89862 selector = _this._selector$_selectorList$0();
89863 } else
89864 selector = _null;
89865 } else {
89866 argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
89867 selector = _null;
89868 }
89869 t1.expectChar$1(41);
89870 return A.PseudoSelector$0($name, argument, element, selector);
89871 },
89872 _selector$_aNPlusB$0() {
89873 var t2, first, t3, next, last, _this = this,
89874 t1 = _this.scanner;
89875 switch (t1.peekChar$0()) {
89876 case 101:
89877 case 69:
89878 _this.expectIdentifier$1("even");
89879 return "even";
89880 case 111:
89881 case 79:
89882 _this.expectIdentifier$1("odd");
89883 return "odd";
89884 case 43:
89885 case 45:
89886 t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
89887 break;
89888 default:
89889 t2 = "";
89890 }
89891 first = t1.peekChar$0();
89892 if (first != null && A.isDigit0(first)) {
89893 while (true) {
89894 t3 = t1.peekChar$0();
89895 if (!(t3 != null && t3 >= 48 && t3 <= 57))
89896 break;
89897 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
89898 }
89899 _this.whitespace$0();
89900 if (!_this.scanIdentChar$1(110))
89901 return t2.charCodeAt(0) == 0 ? t2 : t2;
89902 } else
89903 _this.expectIdentChar$1(110);
89904 t2 += A.Primitives_stringFromCharCode(110);
89905 _this.whitespace$0();
89906 next = t1.peekChar$0();
89907 if (next !== 43 && next !== 45)
89908 return t2.charCodeAt(0) == 0 ? t2 : t2;
89909 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
89910 _this.whitespace$0();
89911 last = t1.peekChar$0();
89912 if (last == null || !A.isDigit0(last))
89913 t1.error$1(0, "Expected a number.");
89914 while (true) {
89915 t3 = t1.peekChar$0();
89916 if (!(t3 != null && t3 >= 48 && t3 <= 57))
89917 break;
89918 t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
89919 }
89920 return t2.charCodeAt(0) == 0 ? t2 : t2;
89921 },
89922 _selector$_typeOrUniversalSelector$0() {
89923 var nameOrNamespace, _this = this,
89924 t1 = _this.scanner,
89925 first = t1.peekChar$0();
89926 if (first === 42) {
89927 t1.readChar$0();
89928 if (!t1.scanChar$1(124))
89929 return new A.UniversalSelector0(null);
89930 if (t1.scanChar$1(42))
89931 return new A.UniversalSelector0("*");
89932 else
89933 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), "*"));
89934 } else if (first === 124) {
89935 t1.readChar$0();
89936 if (t1.scanChar$1(42))
89937 return new A.UniversalSelector0("");
89938 else
89939 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), ""));
89940 }
89941 nameOrNamespace = _this.identifier$0();
89942 if (!t1.scanChar$1(124))
89943 return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null));
89944 else if (t1.scanChar$1(42))
89945 return new A.UniversalSelector0(nameOrNamespace);
89946 else
89947 return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace));
89948 }
89949 };
89950 A.SelectorParser_parse_closure0.prototype = {
89951 call$0() {
89952 var t1 = this.$this,
89953 selector = t1._selector$_selectorList$0();
89954 t1 = t1.scanner;
89955 if (t1._string_scanner$_position !== t1.string.length)
89956 t1.error$1(0, "expected selector.");
89957 return selector;
89958 },
89959 $signature: 49
89960 };
89961 A.SelectorParser_parseCompoundSelector_closure0.prototype = {
89962 call$0() {
89963 var t1 = this.$this,
89964 compound = t1._selector$_compoundSelector$0();
89965 t1 = t1.scanner;
89966 if (t1._string_scanner$_position !== t1.string.length)
89967 t1.error$1(0, "expected selector.");
89968 return compound;
89969 },
89970 $signature: 523
89971 };
89972 A.serialize_closure0.prototype = {
89973 call$1(codeUnit) {
89974 return codeUnit > 127;
89975 },
89976 $signature: 56
89977 };
89978 A._SerializeVisitor0.prototype = {
89979 visitCssStylesheet$1(node) {
89980 var t1, t2, t3, t4, t5, previous, i, child, _this = this;
89981 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) {
89982 child = J.$index$asx(node.get$children(node), i);
89983 if (_this._serialize0$_isInvisible$1(child))
89984 continue;
89985 if (previous != null) {
89986 if (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous))
89987 t4.writeCharCode$1(59);
89988 if (t1)
89989 t4.write$1(0, t5);
89990 if (previous.get$isGroupEnd())
89991 if (t1)
89992 t4.write$1(0, t5);
89993 }
89994 child.accept$1(_this);
89995 previous = child;
89996 }
89997 if (previous != null)
89998 t1 = (t3._is(previous) ? previous.get$isChildless() : !t2._is(previous)) && t1;
89999 else
90000 t1 = false;
90001 if (t1)
90002 t4.writeCharCode$1(59);
90003 },
90004 visitCssComment$1(node) {
90005 this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
90006 },
90007 visitCssAtRule$1(node) {
90008 var t1, _this = this;
90009 _this._serialize0$_writeIndentation$0();
90010 t1 = _this._serialize0$_buffer;
90011 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
90012 if (!node.isChildless) {
90013 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90014 t1.writeCharCode$1(32);
90015 _this._serialize0$_visitChildren$1(node.children);
90016 }
90017 },
90018 visitCssMediaRule$1(node) {
90019 var t1, _this = this;
90020 _this._serialize0$_writeIndentation$0();
90021 t1 = _this._serialize0$_buffer;
90022 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
90023 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90024 t1.writeCharCode$1(32);
90025 _this._serialize0$_visitChildren$1(node.children);
90026 },
90027 visitCssImport$1(node) {
90028 this._serialize0$_writeIndentation$0();
90029 this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
90030 },
90031 _serialize0$_writeImportUrl$1(url) {
90032 var urlContents, maybeQuote, _this = this;
90033 if (_this._serialize0$_style !== B.OutputStyle_compressed0 || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
90034 _this._serialize0$_buffer.write$1(0, url);
90035 return;
90036 }
90037 urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
90038 maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
90039 if (maybeQuote === 39 || maybeQuote === 34)
90040 _this._serialize0$_buffer.write$1(0, urlContents);
90041 else
90042 _this._serialize0$_visitQuotedString$1(urlContents);
90043 },
90044 visitCssKeyframeBlock$1(node) {
90045 var t1, _this = this;
90046 _this._serialize0$_writeIndentation$0();
90047 t1 = _this._serialize0$_buffer;
90048 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
90049 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90050 t1.writeCharCode$1(32);
90051 _this._serialize0$_visitChildren$1(node.children);
90052 },
90053 _serialize0$_visitMediaQuery$1(query) {
90054 var t2, t3, _this = this,
90055 t1 = query.modifier;
90056 if (t1 != null) {
90057 t2 = _this._serialize0$_buffer;
90058 t2.write$1(0, t1);
90059 t2.writeCharCode$1(32);
90060 }
90061 t1 = query.type;
90062 if (t1 != null) {
90063 t2 = _this._serialize0$_buffer;
90064 t2.write$1(0, t1);
90065 if (query.features.length !== 0)
90066 t2.write$1(0, " and ");
90067 }
90068 t1 = query.features;
90069 t2 = _this._serialize0$_style === B.OutputStyle_compressed0 ? "and " : " and ";
90070 t3 = _this._serialize0$_buffer;
90071 _this._serialize0$_writeBetween$3(t1, t2, t3.get$write(t3));
90072 },
90073 visitCssStyleRule$1(node) {
90074 var t1, _this = this;
90075 _this._serialize0$_writeIndentation$0();
90076 t1 = _this._serialize0$_buffer;
90077 t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
90078 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90079 t1.writeCharCode$1(32);
90080 _this._serialize0$_visitChildren$1(node.children);
90081 },
90082 visitCssSupportsRule$1(node) {
90083 var t1, _this = this;
90084 _this._serialize0$_writeIndentation$0();
90085 t1 = _this._serialize0$_buffer;
90086 t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
90087 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90088 t1.writeCharCode$1(32);
90089 _this._serialize0$_visitChildren$1(node.children);
90090 },
90091 visitCssDeclaration$1(node) {
90092 var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
90093 _this._serialize0$_writeIndentation$0();
90094 t1 = node.name;
90095 _this._serialize0$_write$1(t1);
90096 t2 = _this._serialize0$_buffer;
90097 t2.writeCharCode$1(58);
90098 if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
90099 t1 = node.value;
90100 t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
90101 } else {
90102 if (_this._serialize0$_style !== B.OutputStyle_compressed0)
90103 t2.writeCharCode$1(32);
90104 try {
90105 t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
90106 } catch (exception) {
90107 t1 = A.unwrapException(exception);
90108 if (t1 instanceof A.MultiSpanSassScriptException0) {
90109 error = t1;
90110 stackTrace = A.getTraceFromException(exception);
90111 t1 = error.message;
90112 t2 = node.value;
90113 t2 = t2.get$span(t2);
90114 A.throwWithTrace0(new A.MultiSpanSassException0(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
90115 } else if (t1 instanceof A.SassScriptException0) {
90116 error0 = t1;
90117 stackTrace0 = A.getTraceFromException(exception);
90118 t1 = node.value;
90119 A.throwWithTrace0(new A.SassException0(error0.message, t1.get$span(t1)), stackTrace0);
90120 } else
90121 throw exception;
90122 }
90123 }
90124 },
90125 _serialize0$_writeFoldedValue$1(node) {
90126 var t2, next, t3,
90127 t1 = node.value,
90128 scanner = A.StringScanner$(type$.SassString_2._as(t1.get$value(t1))._string0$_text, null, null);
90129 for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
90130 next = scanner.readChar$0();
90131 if (next !== 10) {
90132 t2.writeCharCode$1(next);
90133 continue;
90134 }
90135 t2.writeCharCode$1(32);
90136 while (true) {
90137 t3 = scanner.peekChar$0();
90138 if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
90139 break;
90140 scanner.readChar$0();
90141 }
90142 }
90143 },
90144 _serialize0$_writeReindentedValue$1(node) {
90145 var _this = this,
90146 t1 = node.value,
90147 value = type$.SassString_2._as(t1.get$value(t1))._string0$_text,
90148 minimumIndentation = _this._serialize0$_minimumIndentation$1(value);
90149 if (minimumIndentation == null) {
90150 _this._serialize0$_buffer.write$1(0, value);
90151 return;
90152 } else if (minimumIndentation === -1) {
90153 t1 = _this._serialize0$_buffer;
90154 t1.write$1(0, A.trimAsciiRight0(value, true));
90155 t1.writeCharCode$1(32);
90156 return;
90157 }
90158 t1 = node.name;
90159 t1 = t1.get$span(t1);
90160 t1 = A.FileLocation$_(t1.file, t1._file$_start);
90161 _this._serialize0$_writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
90162 },
90163 _serialize0$_minimumIndentation$1(text) {
90164 var character, t2, min, next, min0,
90165 scanner = A.LineScanner$(text),
90166 t1 = scanner.string.length;
90167 while (true) {
90168 if (scanner._string_scanner$_position !== t1) {
90169 character = scanner.super$StringScanner$readChar();
90170 scanner._adjustLineAndColumn$1(character);
90171 t2 = character !== 10;
90172 } else
90173 t2 = false;
90174 if (!t2)
90175 break;
90176 }
90177 if (scanner._string_scanner$_position === t1)
90178 return scanner.peekChar$1(-1) === 10 ? -1 : null;
90179 for (min = null; scanner._string_scanner$_position !== t1;) {
90180 for (; scanner._string_scanner$_position !== t1;) {
90181 next = scanner.peekChar$0();
90182 if (next !== 32 && next !== 9)
90183 break;
90184 scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
90185 }
90186 if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
90187 continue;
90188 min0 = scanner._line_scanner$_column;
90189 min = min == null ? min0 : Math.min(min, min0);
90190 while (true) {
90191 if (scanner._string_scanner$_position !== t1) {
90192 character = scanner.super$StringScanner$readChar();
90193 scanner._adjustLineAndColumn$1(character);
90194 t2 = character !== 10;
90195 } else
90196 t2 = false;
90197 if (!t2)
90198 break;
90199 }
90200 }
90201 return min == null ? -1 : min;
90202 },
90203 _serialize0$_writeWithIndent$2(text, minimumIndentation) {
90204 var t1, t2, t3, character, lineStart, newlines, end,
90205 scanner = A.LineScanner$(text);
90206 for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
90207 character = scanner.super$StringScanner$readChar();
90208 scanner._adjustLineAndColumn$1(character);
90209 if (character === 10)
90210 break;
90211 t3.writeCharCode$1(character);
90212 }
90213 for (; true;) {
90214 lineStart = scanner._string_scanner$_position;
90215 for (newlines = 1; true;) {
90216 if (scanner._string_scanner$_position === t2) {
90217 t3.writeCharCode$1(32);
90218 return;
90219 }
90220 character = scanner.super$StringScanner$readChar();
90221 scanner._adjustLineAndColumn$1(character);
90222 if (character === 32 || character === 9)
90223 continue;
90224 if (character !== 10)
90225 break;
90226 lineStart = scanner._string_scanner$_position;
90227 ++newlines;
90228 }
90229 this._serialize0$_writeTimes$2(10, newlines);
90230 this._serialize0$_writeIndentation$0();
90231 end = scanner._string_scanner$_position;
90232 t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
90233 for (; true;) {
90234 if (scanner._string_scanner$_position === t2)
90235 return;
90236 character = scanner.super$StringScanner$readChar();
90237 scanner._adjustLineAndColumn$1(character);
90238 if (character === 10)
90239 break;
90240 t3.writeCharCode$1(character);
90241 }
90242 }
90243 },
90244 _serialize0$_writeCalculationValue$1(value) {
90245 var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
90246 if (value instanceof A.Value0)
90247 value.accept$1(_this);
90248 else if (value instanceof A.CalculationInterpolation0)
90249 _this._serialize0$_buffer.write$1(0, value.value);
90250 else if (value instanceof A.CalculationOperation0) {
90251 left = value.left;
90252 if (!(left instanceof A.CalculationInterpolation0))
90253 parenthesizeLeft = left instanceof A.CalculationOperation0 && left.operator.precedence < value.operator.precedence;
90254 else
90255 parenthesizeLeft = true;
90256 if (parenthesizeLeft)
90257 _this._serialize0$_buffer.writeCharCode$1(40);
90258 _this._serialize0$_writeCalculationValue$1(left);
90259 if (parenthesizeLeft)
90260 _this._serialize0$_buffer.writeCharCode$1(41);
90261 operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_compressed0 || value.operator.precedence === 1;
90262 if (operatorWhitespace)
90263 _this._serialize0$_buffer.writeCharCode$1(32);
90264 t1 = _this._serialize0$_buffer;
90265 t2 = value.operator;
90266 t1.write$1(0, t2.operator);
90267 if (operatorWhitespace)
90268 t1.writeCharCode$1(32);
90269 right = value.right;
90270 if (!(right instanceof A.CalculationInterpolation0))
90271 parenthesizeRight = right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(t2, right.operator);
90272 else
90273 parenthesizeRight = true;
90274 if (parenthesizeRight)
90275 t1.writeCharCode$1(40);
90276 _this._serialize0$_writeCalculationValue$1(right);
90277 if (parenthesizeRight)
90278 t1.writeCharCode$1(41);
90279 }
90280 },
90281 _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
90282 if (outer === B.CalculationOperator_jB60)
90283 return true;
90284 if (outer === B.CalculationOperator_Iem0)
90285 return false;
90286 return right === B.CalculationOperator_Iem0 || right === B.CalculationOperator_uti0;
90287 },
90288 visitColor$1(value) {
90289 var $name, hexLength, t2, t3, _this = this, _null = null,
90290 t1 = _this._serialize0$_style === B.OutputStyle_compressed0;
90291 if (t1 && Math.abs(value._color0$_alpha - 1) < $.$get$epsilon0()) {
90292 $name = $.$get$namesByColor0().$index(0, value);
90293 hexLength = _this._serialize0$_canUseShortHex$1(value) ? 4 : 7;
90294 if ($name != null && $name.length <= hexLength)
90295 _this._serialize0$_buffer.write$1(0, $name);
90296 else {
90297 t1 = _this._serialize0$_buffer;
90298 if (_this._serialize0$_canUseShortHex$1(value)) {
90299 t1.writeCharCode$1(35);
90300 t1.writeCharCode$1(A.hexCharFor0(value.get$red(value) & 15));
90301 t1.writeCharCode$1(A.hexCharFor0(value.get$green(value) & 15));
90302 t1.writeCharCode$1(A.hexCharFor0(value.get$blue(value) & 15));
90303 } else {
90304 t1.writeCharCode$1(35);
90305 _this._serialize0$_writeHexComponent$1(value.get$red(value));
90306 _this._serialize0$_writeHexComponent$1(value.get$green(value));
90307 _this._serialize0$_writeHexComponent$1(value.get$blue(value));
90308 }
90309 }
90310 return;
90311 }
90312 t2 = value.originalSpan;
90313 t3 = t2 == null;
90314 if ((t3 ? _null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null)) != null) {
90315 t1 = t3 ? _null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null);
90316 _this._serialize0$_buffer.write$1(0, t1);
90317 } else {
90318 t2 = $.$get$namesByColor0();
90319 if (t2.containsKey$1(value) && !(Math.abs(value._color0$_alpha - 0) < $.$get$epsilon0()))
90320 _this._serialize0$_buffer.write$1(0, t2.$index(0, value));
90321 else {
90322 t2 = value._color0$_alpha;
90323 t3 = _this._serialize0$_buffer;
90324 if (Math.abs(t2 - 1) < $.$get$epsilon0()) {
90325 t3.writeCharCode$1(35);
90326 _this._serialize0$_writeHexComponent$1(value.get$red(value));
90327 _this._serialize0$_writeHexComponent$1(value.get$green(value));
90328 _this._serialize0$_writeHexComponent$1(value.get$blue(value));
90329 } else {
90330 t3.write$1(0, "rgba(" + value.get$red(value));
90331 t3.write$1(0, t1 ? "," : ", ");
90332 t3.write$1(0, value.get$green(value));
90333 t3.write$1(0, t1 ? "," : ", ");
90334 t3.write$1(0, value.get$blue(value));
90335 t3.write$1(0, t1 ? "," : ", ");
90336 _this._serialize0$_writeNumber$1(t2);
90337 t3.writeCharCode$1(41);
90338 }
90339 }
90340 }
90341 },
90342 _serialize0$_canUseShortHex$1(color) {
90343 var t1 = color.get$red(color);
90344 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
90345 t1 = color.get$green(color);
90346 if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
90347 t1 = color.get$blue(color);
90348 t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
90349 } else
90350 t1 = false;
90351 } else
90352 t1 = false;
90353 return t1;
90354 },
90355 _serialize0$_writeHexComponent$1(color) {
90356 var t1 = this._serialize0$_buffer;
90357 t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
90358 t1.writeCharCode$1(A.hexCharFor0(color & 15));
90359 },
90360 visitList$1(value) {
90361 var t2, t3, singleton, t4, t5, _this = this,
90362 t1 = value._list1$_hasBrackets;
90363 if (t1)
90364 _this._serialize0$_buffer.writeCharCode$1(91);
90365 else if (value._list1$_contents.length === 0) {
90366 if (!_this._serialize0$_inspect)
90367 throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value."));
90368 _this._serialize0$_buffer.write$1(0, "()");
90369 return;
90370 }
90371 t2 = _this._serialize0$_inspect;
90372 if (t2)
90373 if (value._list1$_contents.length === 1) {
90374 t3 = value._list1$_separator;
90375 t3 = t3 === B.ListSeparator_kWM0 || t3 === B.ListSeparator_1gm0;
90376 singleton = t3;
90377 } else
90378 singleton = false;
90379 else
90380 singleton = false;
90381 if (singleton && !t1)
90382 _this._serialize0$_buffer.writeCharCode$1(40);
90383 t3 = value._list1$_contents;
90384 t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
90385 t4 = value._list1$_separator;
90386 t5 = _this._serialize0$_separatorString$1(t4);
90387 _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
90388 if (singleton) {
90389 t2 = _this._serialize0$_buffer;
90390 t2.write$1(0, t4.separator);
90391 if (!t1)
90392 t2.writeCharCode$1(41);
90393 }
90394 if (t1)
90395 _this._serialize0$_buffer.writeCharCode$1(93);
90396 },
90397 _serialize0$_separatorString$1(separator) {
90398 switch (separator) {
90399 case B.ListSeparator_kWM0:
90400 return this._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ";
90401 case B.ListSeparator_1gm0:
90402 return this._serialize0$_style === B.OutputStyle_compressed0 ? "/" : " / ";
90403 case B.ListSeparator_woc0:
90404 return " ";
90405 default:
90406 return "";
90407 }
90408 },
90409 _serialize0$_elementNeedsParens$2(separator, value) {
90410 var t1;
90411 if (value instanceof A.SassList0) {
90412 if (value._list1$_contents.length < 2)
90413 return false;
90414 if (value._list1$_hasBrackets)
90415 return false;
90416 switch (separator) {
90417 case B.ListSeparator_kWM0:
90418 return value._list1$_separator === B.ListSeparator_kWM0;
90419 case B.ListSeparator_1gm0:
90420 t1 = value._list1$_separator;
90421 return t1 === B.ListSeparator_kWM0 || t1 === B.ListSeparator_1gm0;
90422 default:
90423 return value._list1$_separator !== B.ListSeparator_undecided_null0;
90424 }
90425 }
90426 return false;
90427 },
90428 visitMap$1(map) {
90429 var t1, t2, _this = this;
90430 if (!_this._serialize0$_inspect)
90431 throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value."));
90432 t1 = _this._serialize0$_buffer;
90433 t1.writeCharCode$1(40);
90434 t2 = map._map0$_contents;
90435 _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
90436 t1.writeCharCode$1(41);
90437 },
90438 _serialize0$_writeMapElement$1(value) {
90439 var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_kWM0 && !value._list1$_hasBrackets;
90440 if (needsParens)
90441 this._serialize0$_buffer.writeCharCode$1(40);
90442 value.accept$1(this);
90443 if (needsParens)
90444 this._serialize0$_buffer.writeCharCode$1(41);
90445 },
90446 visitNumber$1(value) {
90447 var _this = this,
90448 asSlash = value.asSlash;
90449 if (asSlash != null) {
90450 _this.visitNumber$1(asSlash.item1);
90451 _this._serialize0$_buffer.writeCharCode$1(47);
90452 _this.visitNumber$1(asSlash.item2);
90453 return;
90454 }
90455 _this._serialize0$_writeNumber$1(value._number1$_value);
90456 if (!_this._serialize0$_inspect) {
90457 if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
90458 throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value."));
90459 if (value.get$numeratorUnits(value).length !== 0)
90460 _this._serialize0$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
90461 } else
90462 _this._serialize0$_buffer.write$1(0, value.get$unitString());
90463 },
90464 _serialize0$_writeNumber$1(number) {
90465 var text, _this = this,
90466 integer = A.fuzzyIsInt0(number) ? B.JSNumber_methods.round$0(number) : null;
90467 if (integer != null) {
90468 _this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(integer)));
90469 return;
90470 }
90471 text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
90472 if (text.length < 12) {
90473 if (_this._serialize0$_style === B.OutputStyle_compressed0 && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
90474 text = B.JSString_methods.substring$1(text, 1);
90475 _this._serialize0$_buffer.write$1(0, text);
90476 return;
90477 }
90478 _this._serialize0$_writeRounded$1(text);
90479 },
90480 _serialize0$_removeExponent$1(text) {
90481 var buffer, t3, additionalZeroes,
90482 t1 = B.JSString_methods._codeUnitAt$1(text, 0),
90483 negative = t1 === 45,
90484 exponent = A._Cell$(),
90485 t2 = text.length,
90486 i = 0;
90487 while (true) {
90488 if (!(i < t2)) {
90489 buffer = null;
90490 break;
90491 }
90492 c$0: {
90493 if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
90494 break c$0;
90495 buffer = new A.StringBuffer("");
90496 t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
90497 if (negative) {
90498 t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
90499 buffer._contents = t1;
90500 if (i > 3)
90501 buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
90502 } else if (i > 2)
90503 buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
90504 exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
90505 break;
90506 }
90507 ++i;
90508 }
90509 if (buffer == null)
90510 return text;
90511 if (exponent._readLocal$0() > 0) {
90512 t1 = exponent._readLocal$0();
90513 t2 = buffer._contents;
90514 t3 = negative ? 1 : 0;
90515 additionalZeroes = t1 - (t2.length - 1 - t3);
90516 for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
90517 t1 += A.Primitives_stringFromCharCode(48);
90518 buffer._contents = t1;
90519 }
90520 return t1.charCodeAt(0) == 0 ? t1 : t1;
90521 } else {
90522 t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
90523 t2 = exponent.__late_helper$_name;
90524 i = -1;
90525 while (true) {
90526 t3 = exponent._value;
90527 if (t3 === exponent)
90528 A.throwExpression(A.LateError$localNI(t2));
90529 if (!(i > t3))
90530 break;
90531 t1 += A.Primitives_stringFromCharCode(48);
90532 --i;
90533 }
90534 if (negative) {
90535 t2 = buffer._contents;
90536 t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
90537 } else
90538 t2 = buffer;
90539 t2 = t1 + A.S(t2);
90540 return t2.charCodeAt(0) == 0 ? t2 : t2;
90541 }
90542 },
90543 _serialize0$_writeRounded$1(text) {
90544 var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
90545 if (B.JSString_methods.endsWith$1(text, ".0")) {
90546 _this._serialize0$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
90547 return;
90548 }
90549 t1 = text.length;
90550 digits = new Uint8Array(t1 + 1);
90551 negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
90552 textIndex = negative ? 1 : 0;
90553 for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
90554 if (textIndex === t1) {
90555 _this._serialize0$_buffer.write$1(0, text);
90556 return;
90557 }
90558 textIndex0 = textIndex + 1;
90559 codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
90560 if (codeUnit === 46) {
90561 textIndex = textIndex0;
90562 break;
90563 }
90564 digitsIndex0 = digitsIndex + 1;
90565 digits[digitsIndex] = codeUnit - 48;
90566 }
90567 indexAfterPrecision = textIndex + 10;
90568 if (indexAfterPrecision >= t1) {
90569 _this._serialize0$_buffer.write$1(0, text);
90570 return;
90571 }
90572 for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
90573 digitsIndex1 = digitsIndex0 + 1;
90574 textIndex0 = textIndex + 1;
90575 digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
90576 }
90577 if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
90578 for (; true; digitsIndex0 = digitsIndex1) {
90579 digitsIndex1 = digitsIndex0 - 1;
90580 newDigit = digits[digitsIndex1] + 1;
90581 digits[digitsIndex1] = newDigit;
90582 if (newDigit !== 10)
90583 break;
90584 }
90585 for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
90586 digits[digitsIndex0] = 0;
90587 while (true) {
90588 t1 = digitsIndex0 > digitsIndex;
90589 if (!(t1 && digits[digitsIndex0 - 1] === 0))
90590 break;
90591 --digitsIndex0;
90592 }
90593 if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
90594 _this._serialize0$_buffer.writeCharCode$1(48);
90595 return;
90596 }
90597 if (negative)
90598 _this._serialize0$_buffer.writeCharCode$1(45);
90599 if (digits[0] === 0)
90600 writtenIndex = _this._serialize0$_style === B.OutputStyle_compressed0 && digits[1] === 0 ? 2 : 1;
90601 else
90602 writtenIndex = 0;
90603 for (t2 = _this._serialize0$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
90604 t2.writeCharCode$1(48 + digits[writtenIndex]);
90605 if (t1) {
90606 t2.writeCharCode$1(46);
90607 for (; writtenIndex < digitsIndex0; ++writtenIndex)
90608 t2.writeCharCode$1(48 + digits[writtenIndex]);
90609 }
90610 },
90611 _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
90612 var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
90613 buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
90614 if (forceDoubleQuote)
90615 buffer.writeCharCode$1(34);
90616 for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
90617 char = B.JSString_methods._codeUnitAt$1(string, i);
90618 switch (char) {
90619 case 39:
90620 if (forceDoubleQuote)
90621 buffer.writeCharCode$1(39);
90622 else {
90623 if (includesDoubleQuote) {
90624 _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
90625 return;
90626 } else
90627 buffer.writeCharCode$1(39);
90628 includesSingleQuote = true;
90629 }
90630 break;
90631 case 34:
90632 if (forceDoubleQuote) {
90633 buffer.writeCharCode$1(92);
90634 buffer.writeCharCode$1(34);
90635 } else {
90636 if (includesSingleQuote) {
90637 _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
90638 return;
90639 } else
90640 buffer.writeCharCode$1(34);
90641 includesDoubleQuote = true;
90642 }
90643 break;
90644 case 0:
90645 case 1:
90646 case 2:
90647 case 3:
90648 case 4:
90649 case 5:
90650 case 6:
90651 case 7:
90652 case 8:
90653 case 10:
90654 case 11:
90655 case 12:
90656 case 13:
90657 case 14:
90658 case 15:
90659 case 16:
90660 case 17:
90661 case 18:
90662 case 19:
90663 case 20:
90664 case 21:
90665 case 22:
90666 case 23:
90667 case 24:
90668 case 25:
90669 case 26:
90670 case 27:
90671 case 28:
90672 case 29:
90673 case 30:
90674 case 31:
90675 _this._serialize0$_writeEscape$4(buffer, char, string, i);
90676 break;
90677 case 92:
90678 buffer.writeCharCode$1(92);
90679 buffer.writeCharCode$1(92);
90680 break;
90681 default:
90682 newIndex = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
90683 if (newIndex != null) {
90684 i = newIndex;
90685 break;
90686 }
90687 buffer.writeCharCode$1(char);
90688 break;
90689 }
90690 }
90691 if (forceDoubleQuote)
90692 buffer.writeCharCode$1(34);
90693 else {
90694 quote = includesDoubleQuote ? 39 : 34;
90695 t1 = _this._serialize0$_buffer;
90696 t1.writeCharCode$1(quote);
90697 t1.write$1(0, buffer);
90698 t1.writeCharCode$1(quote);
90699 }
90700 },
90701 _serialize0$_visitQuotedString$1(string) {
90702 return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
90703 },
90704 _serialize0$_visitUnquotedString$1(string) {
90705 var t1, t2, afterNewline, i, char, newIndex;
90706 for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
90707 char = B.JSString_methods._codeUnitAt$1(string, i);
90708 switch (char) {
90709 case 10:
90710 t2.writeCharCode$1(32);
90711 afterNewline = true;
90712 break;
90713 case 32:
90714 if (!afterNewline)
90715 t2.writeCharCode$1(32);
90716 break;
90717 default:
90718 newIndex = this._serialize0$_tryPrivateUseCharacter$4(t2, char, string, i);
90719 if (newIndex != null) {
90720 i = newIndex;
90721 afterNewline = false;
90722 break;
90723 }
90724 t2.writeCharCode$1(char);
90725 afterNewline = false;
90726 break;
90727 }
90728 }
90729 },
90730 _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
90731 var t1;
90732 if (this._serialize0$_style === B.OutputStyle_compressed0)
90733 return null;
90734 if (codeUnit >= 57344 && codeUnit <= 63743) {
90735 this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
90736 return i;
90737 }
90738 if (codeUnit >>> 7 === 439 && string.length > i + 1) {
90739 t1 = i + 1;
90740 this._serialize0$_writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
90741 return t1;
90742 }
90743 return null;
90744 },
90745 _serialize0$_writeEscape$4(buffer, character, string, i) {
90746 var t1, next;
90747 buffer.writeCharCode$1(92);
90748 buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
90749 t1 = i + 1;
90750 if (string.length === t1)
90751 return;
90752 next = B.JSString_methods._codeUnitAt$1(string, t1);
90753 if (A.isHex0(next) || next === 32 || next === 9)
90754 buffer.writeCharCode$1(32);
90755 },
90756 visitComplexSelector$1(complex) {
90757 var t1, t2, t3, t4, lastComponent, _i, component, t5;
90758 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) {
90759 component = t1[_i];
90760 if (lastComponent != null)
90761 if (!(t4 && lastComponent instanceof A.Combinator0))
90762 t5 = !(t4 && component instanceof A.Combinator0);
90763 else
90764 t5 = false;
90765 else
90766 t5 = false;
90767 if (t5)
90768 t3.write$1(0, " ");
90769 if (component instanceof A.CompoundSelector0)
90770 this.visitCompoundSelector$1(component);
90771 else
90772 t3.write$1(0, component);
90773 }
90774 },
90775 visitCompoundSelector$1(compound) {
90776 var t2, t3, _i,
90777 t1 = this._serialize0$_buffer,
90778 start = t1.get$length(t1);
90779 for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
90780 t2[_i].accept$1(this);
90781 if (t1.get$length(t1) === start)
90782 t1.writeCharCode$1(42);
90783 },
90784 visitSelectorList$1(list) {
90785 var t1, t2, t3, t4, first, t5, _this = this,
90786 complexes = list.components;
90787 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();) {
90788 t5 = t1.get$current(t1);
90789 if (first)
90790 first = false;
90791 else {
90792 t3.writeCharCode$1(44);
90793 if (t5.lineBreak) {
90794 if (t2)
90795 t3.write$1(0, t4);
90796 } else if (t2)
90797 t3.writeCharCode$1(32);
90798 }
90799 _this.visitComplexSelector$1(t5);
90800 }
90801 },
90802 visitPseudoSelector$1(pseudo) {
90803 var t3, t4, t5,
90804 innerSelector = pseudo.selector,
90805 t1 = innerSelector == null,
90806 t2 = !t1;
90807 if (t2 && pseudo.name === "not" && innerSelector.get$isInvisible())
90808 return;
90809 t3 = this._serialize0$_buffer;
90810 t3.writeCharCode$1(58);
90811 if (!pseudo.isSyntacticClass)
90812 t3.writeCharCode$1(58);
90813 t3.write$1(0, pseudo.name);
90814 t4 = pseudo.argument;
90815 t5 = t4 == null;
90816 if (t5 && t1)
90817 return;
90818 t3.writeCharCode$1(40);
90819 if (!t5) {
90820 t3.write$1(0, t4);
90821 if (t2)
90822 t3.writeCharCode$1(32);
90823 }
90824 if (t2)
90825 this.visitSelectorList$1(innerSelector);
90826 t3.writeCharCode$1(41);
90827 },
90828 _serialize0$_write$1(value) {
90829 return this._serialize0$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure0(this, value));
90830 },
90831 _serialize0$_visitChildren$1(children) {
90832 var _this = this, t1 = {},
90833 t2 = _this._serialize0$_buffer;
90834 t2.writeCharCode$1(123);
90835 if (children.every$1(children, _this.get$_serialize0$_isInvisible())) {
90836 t2.writeCharCode$1(125);
90837 return;
90838 }
90839 _this._serialize0$_writeLineFeed$0();
90840 t1.previous_ = null;
90841 ++_this._serialize0$_indentation;
90842 new A._SerializeVisitor__visitChildren_closure0(t1, _this, children).call$0();
90843 --_this._serialize0$_indentation;
90844 t1 = t1.previous_;
90845 t1.toString;
90846 if ((type$.CssParentNode_2._is(t1) ? t1.get$isChildless() : !type$.CssComment_2._is(t1)) && _this._serialize0$_style !== B.OutputStyle_compressed0)
90847 t2.writeCharCode$1(59);
90848 _this._serialize0$_writeLineFeed$0();
90849 _this._serialize0$_writeIndentation$0();
90850 t2.writeCharCode$1(125);
90851 },
90852 _serialize0$_writeLineFeed$0() {
90853 if (this._serialize0$_style !== B.OutputStyle_compressed0)
90854 this._serialize0$_buffer.write$1(0, this._lineFeed.text);
90855 },
90856 _serialize0$_writeIndentation$0() {
90857 var _this = this;
90858 if (_this._serialize0$_style === B.OutputStyle_compressed0)
90859 return;
90860 _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
90861 },
90862 _serialize0$_writeTimes$2(char, times) {
90863 var t1, i;
90864 for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
90865 t1.writeCharCode$1(char);
90866 },
90867 _serialize0$_writeBetween$1$3(iterable, text, callback) {
90868 var t1, t2, first, value;
90869 for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
90870 value = t1.get$current(t1);
90871 if (first)
90872 first = false;
90873 else
90874 t2.write$1(0, text);
90875 callback.call$1(value);
90876 }
90877 },
90878 _serialize0$_writeBetween$3(iterable, text, callback) {
90879 return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
90880 },
90881 _serialize0$_isInvisible$1(node) {
90882 if (this._serialize0$_inspect)
90883 return false;
90884 if (this._serialize0$_style === B.OutputStyle_compressed0 && type$.CssComment_2._is(node) && B.JSString_methods._codeUnitAt$1(node.text, 2) !== 33)
90885 return true;
90886 if (type$.CssParentNode_2._is(node)) {
90887 if (type$.CssAtRule_2._is(node))
90888 return false;
90889 if (type$.CssStyleRule_2._is(node) && node.selector.value.get$isInvisible())
90890 return true;
90891 return J.every$1$ax(node.get$children(node), this.get$_serialize0$_isInvisible());
90892 } else
90893 return false;
90894 }
90895 };
90896 A._SerializeVisitor_visitCssComment_closure0.prototype = {
90897 call$0() {
90898 var t2, t3, minimumIndentation,
90899 t1 = this.$this;
90900 if (t1._serialize0$_style === B.OutputStyle_compressed0 && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
90901 return;
90902 t2 = this.node;
90903 t3 = t2.text;
90904 minimumIndentation = t1._serialize0$_minimumIndentation$1(t3);
90905 if (minimumIndentation == null) {
90906 t1._serialize0$_writeIndentation$0();
90907 t1._serialize0$_buffer.write$1(0, t3);
90908 return;
90909 }
90910 t2 = t2.span;
90911 t2 = A.FileLocation$_(t2.file, t2._file$_start);
90912 minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
90913 t1._serialize0$_writeIndentation$0();
90914 t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
90915 },
90916 $signature: 1
90917 };
90918 A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
90919 call$0() {
90920 var t3, value,
90921 t1 = this.$this,
90922 t2 = t1._serialize0$_buffer;
90923 t2.writeCharCode$1(64);
90924 t3 = this.node;
90925 t1._serialize0$_write$1(t3.name);
90926 value = t3.value;
90927 if (value != null) {
90928 t2.writeCharCode$1(32);
90929 t1._serialize0$_write$1(value);
90930 }
90931 },
90932 $signature: 1
90933 };
90934 A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
90935 call$0() {
90936 var t3, t4,
90937 t1 = this.$this,
90938 t2 = t1._serialize0$_buffer;
90939 t2.write$1(0, "@media");
90940 t3 = t1._serialize0$_style === B.OutputStyle_compressed0;
90941 if (t3) {
90942 t4 = B.JSArray_methods.get$first(this.node.queries);
90943 t4 = !(t4.modifier == null && t4.type == null);
90944 } else
90945 t4 = true;
90946 if (t4)
90947 t2.writeCharCode$1(32);
90948 t2 = t3 ? "," : ", ";
90949 t1._serialize0$_writeBetween$3(this.node.queries, t2, t1.get$_serialize0$_visitMediaQuery());
90950 },
90951 $signature: 1
90952 };
90953 A._SerializeVisitor_visitCssImport_closure0.prototype = {
90954 call$0() {
90955 var t3, t4, t5, t6, supports, media,
90956 t1 = this.$this,
90957 t2 = t1._serialize0$_buffer;
90958 t2.write$1(0, "@import");
90959 t3 = t1._serialize0$_style === B.OutputStyle_compressed0;
90960 t4 = !t3;
90961 if (t4)
90962 t2.writeCharCode$1(32);
90963 t5 = this.node;
90964 t6 = t5.url;
90965 t2.forSpan$2(t6.get$span(t6), new A._SerializeVisitor_visitCssImport__closure0(t1, t5));
90966 supports = t5.supports;
90967 if (supports != null) {
90968 if (t4)
90969 t2.writeCharCode$1(32);
90970 t1._serialize0$_write$1(supports);
90971 }
90972 media = t5.media;
90973 if (media != null) {
90974 if (t4)
90975 t2.writeCharCode$1(32);
90976 t2 = t3 ? "," : ", ";
90977 t1._serialize0$_writeBetween$3(media, t2, t1.get$_serialize0$_visitMediaQuery());
90978 }
90979 },
90980 $signature: 1
90981 };
90982 A._SerializeVisitor_visitCssImport__closure0.prototype = {
90983 call$0() {
90984 var t1 = this.node.url;
90985 return this.$this._serialize0$_writeImportUrl$1(t1.get$value(t1));
90986 },
90987 $signature: 0
90988 };
90989 A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
90990 call$0() {
90991 var t1 = this.$this,
90992 t2 = t1._serialize0$_style === B.OutputStyle_compressed0 ? "," : ", ",
90993 t3 = t1._serialize0$_buffer;
90994 return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
90995 },
90996 $signature: 0
90997 };
90998 A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
90999 call$0() {
91000 return this.$this.visitSelectorList$1(this.node.selector.value);
91001 },
91002 $signature: 0
91003 };
91004 A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
91005 call$0() {
91006 var t1 = this.$this,
91007 t2 = t1._serialize0$_buffer;
91008 t2.write$1(0, "@supports");
91009 if (!(t1._serialize0$_style === B.OutputStyle_compressed0 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
91010 t2.writeCharCode$1(32);
91011 t1._serialize0$_write$1(this.node.condition);
91012 },
91013 $signature: 1
91014 };
91015 A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
91016 call$0() {
91017 var t1 = this.$this,
91018 t2 = this.node;
91019 if (t1._serialize0$_style === B.OutputStyle_compressed0)
91020 t1._serialize0$_writeFoldedValue$1(t2);
91021 else
91022 t1._serialize0$_writeReindentedValue$1(t2);
91023 },
91024 $signature: 1
91025 };
91026 A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
91027 call$0() {
91028 var t1 = this.node.value;
91029 return t1.get$value(t1).accept$1(this.$this);
91030 },
91031 $signature: 0
91032 };
91033 A._SerializeVisitor_visitList_closure2.prototype = {
91034 call$1(element) {
91035 return !element.get$isBlank();
91036 },
91037 $signature: 44
91038 };
91039 A._SerializeVisitor_visitList_closure3.prototype = {
91040 call$1(element) {
91041 var t1 = this.$this,
91042 needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
91043 if (needsParens)
91044 t1._serialize0$_buffer.writeCharCode$1(40);
91045 element.accept$1(t1);
91046 if (needsParens)
91047 t1._serialize0$_buffer.writeCharCode$1(41);
91048 },
91049 $signature: 55
91050 };
91051 A._SerializeVisitor_visitList_closure4.prototype = {
91052 call$1(element) {
91053 element.accept$1(this.$this);
91054 },
91055 $signature: 55
91056 };
91057 A._SerializeVisitor_visitMap_closure0.prototype = {
91058 call$1(entry) {
91059 var t1 = this.$this;
91060 t1._serialize0$_writeMapElement$1(entry.key);
91061 t1._serialize0$_buffer.write$1(0, ": ");
91062 t1._serialize0$_writeMapElement$1(entry.value);
91063 },
91064 $signature: 525
91065 };
91066 A._SerializeVisitor_visitSelectorList_closure0.prototype = {
91067 call$1(complex) {
91068 return !complex.get$isInvisible();
91069 },
91070 $signature: 20
91071 };
91072 A._SerializeVisitor__write_closure0.prototype = {
91073 call$0() {
91074 var t1 = this.value;
91075 return this.$this._serialize0$_buffer.write$1(0, t1.get$value(t1));
91076 },
91077 $signature: 0
91078 };
91079 A._SerializeVisitor__visitChildren_closure0.prototype = {
91080 call$0() {
91081 var t1, t2, t3, t4, t5, t6, t7, t8, i, child, previous, t9;
91082 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) {
91083 child = t2.elementAt$1(t1, i);
91084 if (t4._serialize0$_isInvisible$1(child))
91085 continue;
91086 previous = t3.previous_;
91087 if (previous != null) {
91088 if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
91089 t7.writeCharCode$1(59);
91090 t9 = t4._serialize0$_style !== B.OutputStyle_compressed0;
91091 if (t9)
91092 t7.write$1(0, t8);
91093 if (previous.get$isGroupEnd())
91094 if (t9)
91095 t7.write$1(0, t8);
91096 }
91097 t3.previous_ = child;
91098 child.accept$1(t4);
91099 }
91100 },
91101 $signature: 0
91102 };
91103 A.OutputStyle0.prototype = {
91104 toString$0(_) {
91105 return this._serialize0$_name;
91106 }
91107 };
91108 A.LineFeed0.prototype = {
91109 toString$0(_) {
91110 return this.name;
91111 }
91112 };
91113 A.SerializeResult0.prototype = {};
91114 A.ShadowedModuleView0.prototype = {
91115 get$url(_) {
91116 var t1 = this._shadowed_view0$_inner;
91117 return t1.get$url(t1);
91118 },
91119 get$upstream() {
91120 return this._shadowed_view0$_inner.get$upstream();
91121 },
91122 get$extensionStore() {
91123 return this._shadowed_view0$_inner.get$extensionStore();
91124 },
91125 get$css(_) {
91126 var t1 = this._shadowed_view0$_inner;
91127 return t1.get$css(t1);
91128 },
91129 get$transitivelyContainsCss() {
91130 return this._shadowed_view0$_inner.get$transitivelyContainsCss();
91131 },
91132 get$transitivelyContainsExtensions() {
91133 return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
91134 },
91135 setVariable$3($name, value, nodeWithSpan) {
91136 if (!this.variables.containsKey$1($name))
91137 throw A.wrapException(A.SassScriptException$0("Undefined variable."));
91138 else
91139 return this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
91140 },
91141 variableIdentity$1($name) {
91142 return this._shadowed_view0$_inner.variableIdentity$1($name);
91143 },
91144 $eq(_, other) {
91145 var t1, t2, _this = this;
91146 if (other == null)
91147 return false;
91148 if (other instanceof A.ShadowedModuleView0)
91149 if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
91150 t1 = _this.variables;
91151 t1 = t1.get$keys(t1);
91152 t2 = other.variables;
91153 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
91154 t1 = _this.functions;
91155 t1 = t1.get$keys(t1);
91156 t2 = other.functions;
91157 if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
91158 t1 = _this.mixins;
91159 t1 = t1.get$keys(t1);
91160 t2 = other.mixins;
91161 t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
91162 t1 = t2;
91163 } else
91164 t1 = false;
91165 } else
91166 t1 = false;
91167 } else
91168 t1 = false;
91169 else
91170 t1 = false;
91171 return t1;
91172 },
91173 get$hashCode(_) {
91174 var t1 = this._shadowed_view0$_inner;
91175 return t1.get$hashCode(t1);
91176 },
91177 cloneCss$0() {
91178 var _this = this;
91179 return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
91180 },
91181 toString$0(_) {
91182 return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
91183 },
91184 $isModule0: 1,
91185 get$variables() {
91186 return this.variables;
91187 },
91188 get$variableNodes() {
91189 return this.variableNodes;
91190 },
91191 get$functions(receiver) {
91192 return this.functions;
91193 },
91194 get$mixins() {
91195 return this.mixins;
91196 }
91197 };
91198 A.SilentComment0.prototype = {
91199 accept$1$1(visitor) {
91200 return visitor.visitSilentComment$1(this);
91201 },
91202 accept$1(visitor) {
91203 return this.accept$1$1(visitor, type$.dynamic);
91204 },
91205 toString$0(_) {
91206 return this.text;
91207 },
91208 $isAstNode0: 1,
91209 $isStatement0: 1,
91210 get$span(receiver) {
91211 return this.span;
91212 }
91213 };
91214 A.SimpleSelector0.prototype = {
91215 get$minSpecificity() {
91216 return 1000;
91217 },
91218 get$maxSpecificity() {
91219 return this.get$minSpecificity();
91220 },
91221 addSuffix$1(suffix) {
91222 return A.throwExpression(A.SassScriptException$0('Invalid parent selector "' + this.toString$0(0) + '"'));
91223 },
91224 unify$1(compound) {
91225 var other, t1, result, addedThis, _i, simple, _this = this;
91226 if (compound.length === 1) {
91227 other = B.JSArray_methods.get$first(compound);
91228 if (!(other instanceof A.UniversalSelector0))
91229 if (other instanceof A.PseudoSelector0)
91230 t1 = other.isClass && other.name === "host" || other.get$isHostContext();
91231 else
91232 t1 = false;
91233 else
91234 t1 = true;
91235 if (t1)
91236 return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
91237 }
91238 if (B.JSArray_methods.contains$1(compound, _this))
91239 return compound;
91240 result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
91241 for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
91242 simple = compound[_i];
91243 if (!addedThis && simple instanceof A.PseudoSelector0) {
91244 result.push(_this);
91245 addedThis = true;
91246 }
91247 result.push(simple);
91248 }
91249 if (!addedThis)
91250 result.push(_this);
91251 return result;
91252 }
91253 };
91254 A.SingleUnitSassNumber0.prototype = {
91255 get$numeratorUnits(_) {
91256 return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
91257 },
91258 get$denominatorUnits(_) {
91259 return B.List_empty;
91260 },
91261 get$hasUnits() {
91262 return true;
91263 },
91264 withValue$1(value) {
91265 return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
91266 },
91267 withSlash$2(numerator, denominator) {
91268 return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
91269 },
91270 hasUnit$1(unit) {
91271 return unit === this._single_unit$_unit;
91272 },
91273 hasCompatibleUnits$1(other) {
91274 return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
91275 },
91276 hasPossiblyCompatibleUnits$1(other) {
91277 var t1, knownCompatibilities, otherUnit;
91278 if (!(other instanceof A.SingleUnitSassNumber0))
91279 return false;
91280 t1 = $.$get$_knownCompatibilitiesByUnit0();
91281 knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
91282 if (knownCompatibilities == null)
91283 return true;
91284 otherUnit = other._single_unit$_unit.toLowerCase();
91285 return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
91286 },
91287 compatibleWithUnit$1(unit) {
91288 return A.conversionFactor0(this._single_unit$_unit, unit) != null;
91289 },
91290 coerceToMatch$3(other, $name, otherName) {
91291 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
91292 return t1 == null ? this.super$SassNumber$coerceToMatch(other, $name, otherName) : t1;
91293 },
91294 coerceValueToMatch$3(other, $name, otherName) {
91295 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
91296 return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
91297 },
91298 coerceValueToMatch$1(other) {
91299 return this.coerceValueToMatch$3(other, null, null);
91300 },
91301 convertToMatch$3(other, $name, otherName) {
91302 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
91303 return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
91304 },
91305 convertValueToMatch$3(other, $name, otherName) {
91306 var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
91307 return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
91308 },
91309 coerce$3(newNumerators, newDenominators, $name) {
91310 var t1 = J.getInterceptor$asx(newNumerators);
91311 t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
91312 return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
91313 },
91314 coerce$2(newNumerators, newDenominators) {
91315 return this.coerce$3(newNumerators, newDenominators, null);
91316 },
91317 coerceValue$3(newNumerators, newDenominators, $name) {
91318 var t1 = J.getInterceptor$asx(newNumerators);
91319 t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
91320 return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
91321 },
91322 coerceValueToUnit$2(unit, $name) {
91323 var t1 = this._single_unit$_coerceValueToUnit$1(unit);
91324 return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
91325 },
91326 _single_unit$_coerceToUnit$1(unit) {
91327 var t1 = this._single_unit$_unit;
91328 if (t1 === unit)
91329 return this;
91330 return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
91331 },
91332 _single_unit$_coerceValueToUnit$1(unit) {
91333 return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
91334 },
91335 multiplyUnits$3(value, otherNumerators, otherDenominators) {
91336 var mutableOtherDenominators, t1 = {};
91337 t1.value = value;
91338 t1.newNumerators = otherNumerators;
91339 mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
91340 A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
91341 return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
91342 },
91343 unaryMinus$0() {
91344 return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
91345 },
91346 $eq(_, other) {
91347 var factor;
91348 if (other == null)
91349 return false;
91350 if (other instanceof A.SingleUnitSassNumber0) {
91351 factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
91352 return factor != null && Math.abs(this._number1$_value * factor - other._number1$_value) < $.$get$epsilon0();
91353 } else
91354 return false;
91355 },
91356 get$hashCode(_) {
91357 var _this = this,
91358 t1 = _this.hashCache;
91359 return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
91360 }
91361 };
91362 A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
91363 call$1(factor) {
91364 return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
91365 },
91366 $signature: 526
91367 };
91368 A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
91369 call$1(factor) {
91370 return this.$this._number1$_value * factor;
91371 },
91372 $signature: 77
91373 };
91374 A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
91375 call$1(denominator) {
91376 var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
91377 if (factor == null)
91378 return false;
91379 this._box_0.value *= factor;
91380 return true;
91381 },
91382 $signature: 6
91383 };
91384 A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
91385 call$0() {
91386 var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
91387 t2 = this._box_0;
91388 B.JSArray_methods.addAll$1(t1, t2.newNumerators);
91389 t2.newNumerators = t1;
91390 },
91391 $signature: 0
91392 };
91393 A.SourceMapBuffer0.prototype = {
91394 get$_source_map_buffer0$_targetLocation() {
91395 var t1 = this._source_map_buffer0$_buffer._contents,
91396 t2 = this._source_map_buffer0$_line;
91397 return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
91398 },
91399 get$length(_) {
91400 return this._source_map_buffer0$_buffer._contents.length;
91401 },
91402 forSpan$1$2(span, callback) {
91403 var t1, _this = this,
91404 wasInSpan = _this._source_map_buffer0$_inSpan;
91405 _this._source_map_buffer0$_inSpan = true;
91406 _this._source_map_buffer0$_addEntry$2(A.FileLocation$_(span.file, span._file$_start), _this.get$_source_map_buffer0$_targetLocation());
91407 try {
91408 t1 = callback.call$0();
91409 return t1;
91410 } finally {
91411 _this._source_map_buffer0$_inSpan = wasInSpan;
91412 }
91413 },
91414 forSpan$2(span, callback) {
91415 return this.forSpan$1$2(span, callback, type$.dynamic);
91416 },
91417 _source_map_buffer0$_addEntry$2(source, target) {
91418 var entry, t2,
91419 t1 = this._source_map_buffer0$_entries;
91420 if (t1.length !== 0) {
91421 entry = B.JSArray_methods.get$last(t1);
91422 t2 = entry.source;
91423 if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
91424 return;
91425 if (entry.target.offset === target.offset)
91426 return;
91427 }
91428 t1.push(new A.Entry(source, target, null));
91429 },
91430 write$1(_, object) {
91431 var t1, i,
91432 string = J.toString$0$(object);
91433 this._source_map_buffer0$_buffer._contents += string;
91434 for (t1 = string.length, i = 0; i < t1; ++i)
91435 if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
91436 this._source_map_buffer0$_writeLine$0();
91437 else
91438 ++this._source_map_buffer0$_column;
91439 },
91440 writeCharCode$1(charCode) {
91441 this._source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
91442 if (charCode === 10)
91443 this._source_map_buffer0$_writeLine$0();
91444 else
91445 ++this._source_map_buffer0$_column;
91446 },
91447 _source_map_buffer0$_writeLine$0() {
91448 var _this = this,
91449 t1 = _this._source_map_buffer0$_entries;
91450 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)
91451 t1.pop();
91452 ++_this._source_map_buffer0$_line;
91453 _this._source_map_buffer0$_column = 0;
91454 if (_this._source_map_buffer0$_inSpan)
91455 t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
91456 },
91457 toString$0(_) {
91458 var t1 = this._source_map_buffer0$_buffer._contents;
91459 return t1.charCodeAt(0) == 0 ? t1 : t1;
91460 },
91461 buildSourceMap$1$prefix(prefix) {
91462 var i, t2, prefixColumn, _box_0 = {},
91463 t1 = prefix.length;
91464 if (t1 === 0)
91465 return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
91466 _box_0.prefixColumn = _box_0.prefixLines = 0;
91467 for (i = 0, t2 = 0; i < t1; ++i)
91468 if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
91469 ++_box_0.prefixLines;
91470 _box_0.prefixColumn = 0;
91471 t2 = 0;
91472 } else {
91473 prefixColumn = t2 + 1;
91474 _box_0.prefixColumn = prefixColumn;
91475 t2 = prefixColumn;
91476 }
91477 t2 = this._source_map_buffer0$_entries;
91478 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>")));
91479 }
91480 };
91481 A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
91482 call$1(entry) {
91483 var t1 = entry.source,
91484 t2 = entry.target,
91485 t3 = t2.line,
91486 t4 = this._box_0,
91487 t5 = t4.prefixLines;
91488 t4 = t3 === 0 ? t4.prefixColumn : 0;
91489 return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
91490 },
91491 $signature: 229
91492 };
91493 A.updateSourceSpanPrototype_closure.prototype = {
91494 call$1(span) {
91495 return A.FileLocation$_(span.file, span._file$_start);
91496 },
91497 $signature: 246
91498 };
91499 A.updateSourceSpanPrototype_closure0.prototype = {
91500 call$1(span) {
91501 return A.FileLocation$_(span.file, span._end);
91502 },
91503 $signature: 246
91504 };
91505 A.updateSourceSpanPrototype_closure1.prototype = {
91506 call$1(span) {
91507 return A.NullableExtension_andThen0(span.file.url, A.utils1__dartToJSUrl$closure());
91508 },
91509 $signature: 528
91510 };
91511 A.updateSourceSpanPrototype_closure2.prototype = {
91512 call$1(span) {
91513 return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
91514 },
91515 $signature: 247
91516 };
91517 A.updateSourceSpanPrototype_closure3.prototype = {
91518 call$1(span) {
91519 return span.get$context(span);
91520 },
91521 $signature: 247
91522 };
91523 A.updateSourceSpanPrototype_closure4.prototype = {
91524 call$1($location) {
91525 return $location.get$line();
91526 },
91527 $signature: 248
91528 };
91529 A.updateSourceSpanPrototype_closure5.prototype = {
91530 call$1($location) {
91531 return $location.get$column();
91532 },
91533 $signature: 248
91534 };
91535 A.StatementSearchVisitor0.prototype = {
91536 visitAtRootRule$1(node) {
91537 return this.visitChildren$1(node.children);
91538 },
91539 visitAtRule$1(node) {
91540 return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
91541 },
91542 visitContentBlock$1(node) {
91543 return this.visitChildren$1(node.children);
91544 },
91545 visitDebugRule$1(node) {
91546 return null;
91547 },
91548 visitDeclaration$1(node) {
91549 return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
91550 },
91551 visitEachRule$1(node) {
91552 return this.visitChildren$1(node.children);
91553 },
91554 visitErrorRule$1(node) {
91555 return null;
91556 },
91557 visitExtendRule$1(node) {
91558 return null;
91559 },
91560 visitForRule$1(node) {
91561 return this.visitChildren$1(node.children);
91562 },
91563 visitForwardRule$1(node) {
91564 return null;
91565 },
91566 visitFunctionRule$1(node) {
91567 return this.visitChildren$1(node.children);
91568 },
91569 visitIfRule$1(node) {
91570 var t1 = A._IterableExtension__search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
91571 return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
91572 },
91573 visitImportRule$1(node) {
91574 return null;
91575 },
91576 visitIncludeRule$1(node) {
91577 return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock());
91578 },
91579 visitLoudComment$1(node) {
91580 return null;
91581 },
91582 visitMediaRule$1(node) {
91583 return this.visitChildren$1(node.children);
91584 },
91585 visitMixinRule$1(node) {
91586 return this.visitChildren$1(node.children);
91587 },
91588 visitReturnRule$1(node) {
91589 return null;
91590 },
91591 visitSilentComment$1(node) {
91592 return null;
91593 },
91594 visitStyleRule$1(node) {
91595 return this.visitChildren$1(node.children);
91596 },
91597 visitStylesheet$1(node) {
91598 return this.visitChildren$1(node.children);
91599 },
91600 visitSupportsRule$1(node) {
91601 return this.visitChildren$1(node.children);
91602 },
91603 visitUseRule$1(node) {
91604 return null;
91605 },
91606 visitVariableDeclaration$1(node) {
91607 return null;
91608 },
91609 visitWarnRule$1(node) {
91610 return null;
91611 },
91612 visitWhileRule$1(node) {
91613 return this.visitChildren$1(node.children);
91614 },
91615 visitChildren$1(children) {
91616 return A._IterableExtension__search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
91617 }
91618 };
91619 A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
91620 call$1(clause) {
91621 return A._IterableExtension__search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
91622 },
91623 $signature() {
91624 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
91625 }
91626 };
91627 A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
91628 call$1(child) {
91629 return child.accept$1(this.$this);
91630 },
91631 $signature() {
91632 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
91633 }
91634 };
91635 A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
91636 call$1(lastClause) {
91637 return A._IterableExtension__search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
91638 },
91639 $signature() {
91640 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
91641 }
91642 };
91643 A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
91644 call$1(child) {
91645 return child.accept$1(this.$this);
91646 },
91647 $signature() {
91648 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
91649 }
91650 };
91651 A.StatementSearchVisitor_visitChildren_closure0.prototype = {
91652 call$1(child) {
91653 return child.accept$1(this.$this);
91654 },
91655 $signature() {
91656 return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
91657 }
91658 };
91659 A.StaticImport0.prototype = {
91660 toString$0(_) {
91661 var t1 = this.url.toString$0(0),
91662 t2 = this.supports;
91663 if (t2 != null)
91664 t1 += " supports(" + t2.toString$0(0) + ")";
91665 t2 = this.media;
91666 if (t2 != null)
91667 t1 += " " + t2.toString$0(0);
91668 t1 += A.Primitives_stringFromCharCode(59);
91669 return t1.charCodeAt(0) == 0 ? t1 : t1;
91670 },
91671 $isImport0: 1,
91672 $isAstNode0: 1,
91673 get$span(receiver) {
91674 return this.span;
91675 }
91676 };
91677 A.StderrLogger0.prototype = {
91678 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
91679 var t2, t3, t4,
91680 t1 = this.color;
91681 if (t1) {
91682 t2 = $.$get$stderr0();
91683 t3 = t2._node0$_stderr;
91684 t4 = J.getInterceptor$x(t3);
91685 t4.write$1(t3, "\x1b[33m\x1b[1m");
91686 if (deprecation)
91687 t4.write$1(t3, "Deprecation ");
91688 t4.write$1(t3, "Warning\x1b[0m");
91689 } else {
91690 if (deprecation)
91691 J.write$1$x($.$get$stderr0()._node0$_stderr, "DEPRECATION ");
91692 t2 = $.$get$stderr0();
91693 J.write$1$x(t2._node0$_stderr, "WARNING");
91694 }
91695 if (span == null)
91696 t2.writeln$1(": " + message);
91697 else if (trace != null)
91698 t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
91699 else
91700 t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
91701 if (trace != null)
91702 t2.writeln$1(A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
91703 t2.writeln$0();
91704 },
91705 warn$1($receiver, message) {
91706 return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
91707 },
91708 warn$2$span($receiver, message, span) {
91709 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
91710 },
91711 warn$2$deprecation($receiver, message, deprecation) {
91712 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
91713 },
91714 warn$3$deprecation$span($receiver, message, deprecation, span) {
91715 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
91716 },
91717 warn$2$trace($receiver, message, trace) {
91718 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
91719 },
91720 debug$2(_, message, span) {
91721 var url, t3, t4,
91722 t1 = span.file,
91723 t2 = span._file$_start;
91724 if (A.FileLocation$_(t1, t2).file.url == null)
91725 url = "-";
91726 else {
91727 t3 = A.FileLocation$_(t1, t2);
91728 url = $.$get$context().prettyUri$1(t3.file.url);
91729 }
91730 t3 = $.$get$stderr0();
91731 t4 = url + ":";
91732 t2 = A.FileLocation$_(t1, t2);
91733 t2 = t4 + (t2.file.getLine$1(t2.offset) + 1) + " ";
91734 t4 = t3._node0$_stderr;
91735 t1 = J.getInterceptor$x(t4);
91736 t1.write$1(t4, t2);
91737 t1.write$1(t4, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
91738 t3.writeln$1(": " + message);
91739 }
91740 };
91741 A.StringExpression0.prototype = {
91742 get$span(_) {
91743 return this.text.span;
91744 },
91745 accept$1$1(visitor) {
91746 return visitor.visitStringExpression$1(this);
91747 },
91748 accept$1(visitor) {
91749 return this.accept$1$1(visitor, type$.dynamic);
91750 },
91751 asInterpolation$1$static($static) {
91752 var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
91753 if (!this.hasQuotes)
91754 return this.text;
91755 t1 = this.text;
91756 t2 = t1.contents;
91757 quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
91758 t3 = new A.StringBuffer("");
91759 t4 = A._setArrayType([], type$.JSArray_Object);
91760 buffer = new A.InterpolationBuffer0(t3, t4);
91761 t3._contents = "" + A.Primitives_stringFromCharCode(quote);
91762 for (t5 = t2.length, t6 = type$.Expression_2, _i = 0; _i < t5; ++_i) {
91763 value = t2[_i];
91764 if (t6._is(value)) {
91765 buffer._interpolation_buffer0$_flushText$0();
91766 t4.push(value);
91767 } else if (typeof value == "string")
91768 A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
91769 }
91770 t3._contents += A.Primitives_stringFromCharCode(quote);
91771 return buffer.interpolation$1(t1.span);
91772 },
91773 asInterpolation$0() {
91774 return this.asInterpolation$1$static(false);
91775 },
91776 toString$0(_) {
91777 return this.asInterpolation$0().toString$0(0);
91778 },
91779 $isExpression0: 1,
91780 $isAstNode0: 1
91781 };
91782 A._unquote_closure0.prototype = {
91783 call$1($arguments) {
91784 var string = J.$index$asx($arguments, 0).assertString$1("string");
91785 if (!string._string0$_hasQuotes)
91786 return string;
91787 return new A.SassString0(string._string0$_text, false);
91788 },
91789 $signature: 14
91790 };
91791 A._quote_closure0.prototype = {
91792 call$1($arguments) {
91793 var string = J.$index$asx($arguments, 0).assertString$1("string");
91794 if (string._string0$_hasQuotes)
91795 return string;
91796 return new A.SassString0(string._string0$_text, true);
91797 },
91798 $signature: 14
91799 };
91800 A._length_closure1.prototype = {
91801 call$1($arguments) {
91802 var t1 = J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength();
91803 return new A.UnitlessSassNumber0(t1, null);
91804 },
91805 $signature: 10
91806 };
91807 A._insert_closure0.prototype = {
91808 call$1($arguments) {
91809 var indexInt, codeUnitIndex, _s5_ = "index",
91810 t1 = J.getInterceptor$asx($arguments),
91811 string = t1.$index($arguments, 0).assertString$1("string"),
91812 insert = t1.$index($arguments, 1).assertString$1("insert"),
91813 index = t1.$index($arguments, 2).assertNumber$1(_s5_);
91814 index.assertNoUnits$1(_s5_);
91815 indexInt = index.assertInt$1(_s5_);
91816 if (indexInt < 0)
91817 indexInt = string.get$_string0$_sassLength() + indexInt + 2;
91818 t1 = string._string0$_text;
91819 codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
91820 return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
91821 },
91822 $signature: 14
91823 };
91824 A._index_closure1.prototype = {
91825 call$1($arguments) {
91826 var codepointIndex,
91827 t1 = J.getInterceptor$asx($arguments),
91828 t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
91829 codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
91830 if (codeUnitIndex === -1)
91831 return B.C__SassNull0;
91832 codepointIndex = A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex);
91833 return new A.UnitlessSassNumber0(codepointIndex + 1, null);
91834 },
91835 $signature: 3
91836 };
91837 A._slice_closure0.prototype = {
91838 call$1($arguments) {
91839 var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
91840 _s8_ = "start-at",
91841 t1 = J.getInterceptor$asx($arguments),
91842 string = t1.$index($arguments, 0).assertString$1("string"),
91843 start = t1.$index($arguments, 1).assertNumber$1(_s8_),
91844 end = t1.$index($arguments, 2).assertNumber$1("end-at");
91845 start.assertNoUnits$1(_s8_);
91846 end.assertNoUnits$1("end-at");
91847 lengthInCodepoints = string.get$_string0$_sassLength();
91848 endInt = end.assertInt$0();
91849 if (endInt === 0)
91850 return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
91851 startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
91852 endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
91853 if (endCodepoint === lengthInCodepoints)
91854 --endCodepoint;
91855 if (endCodepoint < startCodepoint)
91856 return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
91857 t1 = string._string0$_text;
91858 return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
91859 },
91860 $signature: 14
91861 };
91862 A._toUpperCase_closure0.prototype = {
91863 call$1($arguments) {
91864 var t1, t2, i, t3, t4,
91865 string = J.$index$asx($arguments, 0).assertString$1("string");
91866 for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
91867 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
91868 t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
91869 }
91870 return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
91871 },
91872 $signature: 14
91873 };
91874 A._toLowerCase_closure0.prototype = {
91875 call$1($arguments) {
91876 var t1, t2, i, t3, t4,
91877 string = J.$index$asx($arguments, 0).assertString$1("string");
91878 for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
91879 t4 = B.JSString_methods._codeUnitAt$1(t1, i);
91880 t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
91881 }
91882 return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
91883 },
91884 $signature: 14
91885 };
91886 A._uniqueId_closure0.prototype = {
91887 call$1($arguments) {
91888 var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
91889 $._previousUniqueId0 = t1;
91890 if (t1 > Math.pow(36, 6))
91891 $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
91892 return new A.SassString0("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId0(), 36), 6, "0"), false);
91893 },
91894 $signature: 14
91895 };
91896 A._NodeSassString.prototype = {};
91897 A.legacyStringClass_closure.prototype = {
91898 call$3(thisArg, value, dartValue) {
91899 var t1;
91900 if (dartValue == null) {
91901 value.toString;
91902 t1 = new A.SassString0(value, false);
91903 } else
91904 t1 = dartValue;
91905 J.set$dartValue$x(thisArg, t1);
91906 },
91907 call$2(thisArg, value) {
91908 return this.call$3(thisArg, value, null);
91909 },
91910 "call*": "call$3",
91911 $requiredArgCount: 2,
91912 $defaultValues() {
91913 return [null];
91914 },
91915 $signature: 531
91916 };
91917 A.legacyStringClass_closure0.prototype = {
91918 call$1(thisArg) {
91919 return J.get$dartValue$x(thisArg)._string0$_text;
91920 },
91921 $signature: 532
91922 };
91923 A.legacyStringClass_closure1.prototype = {
91924 call$2(thisArg, value) {
91925 J.set$dartValue$x(thisArg, new A.SassString0(value, false));
91926 },
91927 $signature: 533
91928 };
91929 A.stringClass_closure.prototype = {
91930 call$0() {
91931 var t2,
91932 t1 = type$.JSClass,
91933 jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
91934 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));
91935 J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
91936 t2 = $.$get$_emptyQuoted0();
91937 A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
91938 return jsClass;
91939 },
91940 $signature: 25
91941 };
91942 A.stringClass__closure.prototype = {
91943 call$3($self, textOrOptions, options) {
91944 var t1;
91945 if (typeof textOrOptions == "string") {
91946 t1 = options == null ? null : J.get$quotes$x(options);
91947 t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
91948 } else {
91949 type$.nullable__ConstructorOptions_3._as(textOrOptions);
91950 t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
91951 t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
91952 }
91953 return t1;
91954 },
91955 call$1($self) {
91956 return this.call$3($self, null, null);
91957 },
91958 call$2($self, textOrOptions) {
91959 return this.call$3($self, textOrOptions, null);
91960 },
91961 "call*": "call$3",
91962 $requiredArgCount: 1,
91963 $defaultValues() {
91964 return [null, null];
91965 },
91966 $signature: 534
91967 };
91968 A.stringClass__closure0.prototype = {
91969 call$1($self) {
91970 return $self._string0$_text;
91971 },
91972 $signature: 535
91973 };
91974 A.stringClass__closure1.prototype = {
91975 call$1($self) {
91976 return $self._string0$_hasQuotes;
91977 },
91978 $signature: 536
91979 };
91980 A.stringClass__closure2.prototype = {
91981 call$1($self) {
91982 return $self.get$_string0$_sassLength();
91983 },
91984 $signature: 537
91985 };
91986 A.stringClass__closure3.prototype = {
91987 call$3($self, sassIndex, $name) {
91988 var t1 = $self._string0$_text,
91989 index = sassIndex.assertNumber$1($name).assertInt$1($name);
91990 if (index === 0)
91991 A.throwExpression($self._string0$_exception$2("String index may not be 0.", $name));
91992 if (Math.abs(index) > $self.get$_string0$_sassLength())
91993 A.throwExpression($self._string0$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
91994 return A.codepointIndexToCodeUnitIndex0(t1, index < 0 ? $self.get$_string0$_sassLength() + index : index - 1);
91995 },
91996 call$2($self, sassIndex) {
91997 return this.call$3($self, sassIndex, null);
91998 },
91999 "call*": "call$3",
92000 $requiredArgCount: 2,
92001 $defaultValues() {
92002 return [null];
92003 },
92004 $signature: 538
92005 };
92006 A._ConstructorOptions1.prototype = {};
92007 A.SassString0.prototype = {
92008 get$_string0$_sassLength() {
92009 var t1, result, _this = this,
92010 value = _this._string0$__SassString__sassLength;
92011 if (value === $) {
92012 t1 = new A.Runes(_this._string0$_text);
92013 result = t1.get$length(t1);
92014 A._lateInitializeOnceCheck(_this._string0$__SassString__sassLength, "_sassLength");
92015 _this._string0$__SassString__sassLength = result;
92016 value = result;
92017 }
92018 return value;
92019 },
92020 get$isSpecialNumber() {
92021 var t1, t2;
92022 if (this._string0$_hasQuotes)
92023 return false;
92024 t1 = this._string0$_text;
92025 if (t1.length < 6)
92026 return false;
92027 t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
92028 if (t2 === 99) {
92029 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
92030 if (t2 === 108) {
92031 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
92032 return false;
92033 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
92034 return false;
92035 if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
92036 return false;
92037 return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
92038 } else if (t2 === 97) {
92039 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
92040 return false;
92041 if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
92042 return false;
92043 return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
92044 } else
92045 return false;
92046 } else if (t2 === 118) {
92047 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
92048 return false;
92049 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
92050 return false;
92051 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92052 } else if (t2 === 101) {
92053 if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
92054 return false;
92055 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
92056 return false;
92057 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92058 } else if (t2 === 109) {
92059 t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
92060 if (t2 === 97) {
92061 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
92062 return false;
92063 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92064 } else if (t2 === 105) {
92065 if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
92066 return false;
92067 return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
92068 } else
92069 return false;
92070 } else
92071 return false;
92072 },
92073 get$isVar() {
92074 if (this._string0$_hasQuotes)
92075 return false;
92076 var t1 = this._string0$_text;
92077 if (t1.length < 8)
92078 return false;
92079 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;
92080 },
92081 get$isBlank() {
92082 return !this._string0$_hasQuotes && this._string0$_text.length === 0;
92083 },
92084 accept$1$1(visitor) {
92085 var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
92086 t2 = this._string0$_text;
92087 if (t1)
92088 visitor._serialize0$_visitQuotedString$1(t2);
92089 else
92090 visitor._serialize0$_visitUnquotedString$1(t2);
92091 return null;
92092 },
92093 accept$1(visitor) {
92094 return this.accept$1$1(visitor, type$.dynamic);
92095 },
92096 assertString$1($name) {
92097 return this;
92098 },
92099 plus$1(other) {
92100 var t1 = this._string0$_text,
92101 t2 = this._string0$_hasQuotes;
92102 if (other instanceof A.SassString0)
92103 return new A.SassString0(t1 + other._string0$_text, t2);
92104 else
92105 return new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
92106 },
92107 $eq(_, other) {
92108 if (other == null)
92109 return false;
92110 return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
92111 },
92112 get$hashCode(_) {
92113 var t1 = this._string0$_hashCache;
92114 return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
92115 },
92116 _string0$_exception$2(message, $name) {
92117 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
92118 }
92119 };
92120 A.ModifiableCssStyleRule0.prototype = {
92121 accept$1$1(visitor) {
92122 return visitor.visitCssStyleRule$1(this);
92123 },
92124 accept$1(visitor) {
92125 return this.accept$1$1(visitor, type$.dynamic);
92126 },
92127 copyWithoutChildren$0() {
92128 return A.ModifiableCssStyleRule$0(this.selector, this.span, this.originalSelector);
92129 },
92130 $isCssStyleRule0: 1,
92131 get$span(receiver) {
92132 return this.span;
92133 }
92134 };
92135 A.StyleRule0.prototype = {
92136 accept$1$1(visitor) {
92137 return visitor.visitStyleRule$1(this);
92138 },
92139 accept$1(visitor) {
92140 return this.accept$1$1(visitor, type$.dynamic);
92141 },
92142 toString$0(_) {
92143 var t1 = this.children;
92144 return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
92145 },
92146 get$span(receiver) {
92147 return this.span;
92148 }
92149 };
92150 A.CssStylesheet0.prototype = {
92151 get$isGroupEnd() {
92152 return false;
92153 },
92154 get$isChildless() {
92155 return false;
92156 },
92157 accept$1$1(visitor) {
92158 return visitor.visitCssStylesheet$1(this);
92159 },
92160 accept$1(visitor) {
92161 return this.accept$1$1(visitor, type$.dynamic);
92162 },
92163 get$children(receiver) {
92164 return this.children;
92165 },
92166 get$span(receiver) {
92167 return this.span;
92168 }
92169 };
92170 A.ModifiableCssStylesheet0.prototype = {
92171 accept$1$1(visitor) {
92172 return visitor.visitCssStylesheet$1(this);
92173 },
92174 accept$1(visitor) {
92175 return this.accept$1$1(visitor, type$.dynamic);
92176 },
92177 copyWithoutChildren$0() {
92178 return A.ModifiableCssStylesheet$0(this.span);
92179 },
92180 $isCssStylesheet0: 1,
92181 get$span(receiver) {
92182 return this.span;
92183 }
92184 };
92185 A.StylesheetParser0.prototype = {
92186 parse$0() {
92187 return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
92188 },
92189 parseArgumentDeclaration$0() {
92190 return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure0(this), type$.ArgumentDeclaration_2);
92191 },
92192 _stylesheet0$_parseSingleProduction$1$1(production, $T) {
92193 return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
92194 },
92195 parseSignature$1$requireParens(requireParens) {
92196 return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
92197 },
92198 parseSignature$0() {
92199 return this.parseSignature$1$requireParens(true);
92200 },
92201 _stylesheet0$_statement$1$root(root) {
92202 var t2, _this = this,
92203 t1 = _this.scanner;
92204 switch (t1.peekChar$0()) {
92205 case 64:
92206 return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
92207 case 43:
92208 if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
92209 return _this._stylesheet0$_styleRule$0();
92210 _this._stylesheet0$_isUseAllowed = false;
92211 t2 = t1._string_scanner$_position;
92212 t1.readChar$0();
92213 return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
92214 case 61:
92215 if (!_this.get$indented())
92216 return _this._stylesheet0$_styleRule$0();
92217 _this._stylesheet0$_isUseAllowed = false;
92218 t2 = t1._string_scanner$_position;
92219 t1.readChar$0();
92220 _this.whitespace$0();
92221 return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
92222 case 125:
92223 t1.error$2$length(0, 'unmatched "}".', 1);
92224 break;
92225 default:
92226 return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
92227 }
92228 },
92229 _stylesheet0$_statement$0() {
92230 return this._stylesheet0$_statement$1$root(false);
92231 },
92232 variableDeclarationWithoutNamespace$2(namespace, start_) {
92233 var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
92234 precedingComment = _this.lastSilentComment;
92235 _this.lastSilentComment = null;
92236 if (start_ == null) {
92237 t1 = _this.scanner;
92238 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92239 } else
92240 start = start_;
92241 $name = _this.variableName$0();
92242 t1 = namespace != null;
92243 if (t1)
92244 _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
92245 if (_this.get$plainCss())
92246 _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
92247 _this.whitespace$0();
92248 t2 = _this.scanner;
92249 t2.expectChar$1(58);
92250 _this.whitespace$0();
92251 value = _this.expression$0();
92252 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
92253 for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
92254 flag = _this.identifier$0();
92255 if (flag === "default")
92256 guarded = true;
92257 else if (flag === "global") {
92258 if (t1) {
92259 endPosition = t2._string_scanner$_position;
92260 t4 = t2._sourceFile;
92261 t5 = flagStart.position;
92262 t6 = new A._FileSpan(t4, t5, endPosition);
92263 t6._FileSpan$3(t4, t5, endPosition);
92264 A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
92265 }
92266 global = true;
92267 } else {
92268 endPosition = t2._string_scanner$_position;
92269 t4 = t2._sourceFile;
92270 t5 = flagStart.position;
92271 t6 = new A._FileSpan(t4, t5, endPosition);
92272 t6._FileSpan$3(t4, t5, endPosition);
92273 A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
92274 }
92275 _this.whitespace$0();
92276 flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
92277 }
92278 _this.expectStatementSeparator$1("variable declaration");
92279 declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
92280 if (global)
92281 _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
92282 return declaration;
92283 },
92284 variableDeclarationWithoutNamespace$0() {
92285 return this.variableDeclarationWithoutNamespace$2(null, null);
92286 },
92287 _stylesheet0$_variableDeclarationOrStyleRule$0() {
92288 var t1, t2, variableOrInterpolation, t3, _this = this;
92289 if (_this.get$plainCss())
92290 return _this._stylesheet0$_styleRule$0();
92291 if (_this.get$indented() && _this.scanner.scanChar$1(92))
92292 return _this._stylesheet0$_styleRule$0();
92293 if (!_this.lookingAtIdentifier$0())
92294 return _this._stylesheet0$_styleRule$0();
92295 t1 = _this.scanner;
92296 t2 = t1._string_scanner$_position;
92297 variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
92298 if (variableOrInterpolation instanceof A.VariableDeclaration0)
92299 return variableOrInterpolation;
92300 else {
92301 t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
92302 t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
92303 return _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
92304 }
92305 },
92306 _stylesheet0$_declarationOrStyleRule$0() {
92307 var t1, t2, declarationOrBuffer, _this = this;
92308 if (_this.get$plainCss() && _this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inUnknownAtRule)
92309 return _this._stylesheet0$_propertyOrVariableDeclaration$0();
92310 if (_this.get$indented() && _this.scanner.scanChar$1(92))
92311 return _this._stylesheet0$_styleRule$0();
92312 t1 = _this.scanner;
92313 t2 = t1._string_scanner$_position;
92314 declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
92315 return type$.Statement_2._is(declarationOrBuffer) ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
92316 },
92317 _stylesheet0$_declarationOrBuffer$0() {
92318 var midBuffer, couldBeSelector, beforeDeclaration, additional, t4, startsWithPunctuation, variableOrInterpolation, t5, $name, postColonWhitespace, value, exception, _this = this, t1 = {},
92319 t2 = _this.scanner,
92320 start = new A._SpanScannerState(t2, t2._string_scanner$_position),
92321 t3 = type$.JSArray_Object,
92322 nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], t3)),
92323 first = t2.peekChar$0();
92324 if (first !== 58)
92325 if (first !== 42)
92326 if (first !== 46)
92327 t4 = first === 35 && t2.peekChar$1(1) !== 123;
92328 else
92329 t4 = true;
92330 else
92331 t4 = true;
92332 else
92333 t4 = true;
92334 if (t4) {
92335 t4 = t2.readChar$0();
92336 nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(t4);
92337 t4 = _this.rawText$1(_this.get$whitespace());
92338 nameBuffer._interpolation_buffer0$_text._contents += t4;
92339 startsWithPunctuation = true;
92340 } else
92341 startsWithPunctuation = false;
92342 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
92343 return nameBuffer;
92344 variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
92345 if (variableOrInterpolation instanceof A.VariableDeclaration0)
92346 return variableOrInterpolation;
92347 else
92348 nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
92349 _this._stylesheet0$_isUseAllowed = false;
92350 if (t2.matches$1("/*")) {
92351 t4 = _this.rawText$1(_this.get$loudComment());
92352 nameBuffer._interpolation_buffer0$_text._contents += t4;
92353 }
92354 midBuffer = new A.StringBuffer("");
92355 t4 = _this.get$whitespace();
92356 midBuffer._contents += _this.rawText$1(t4);
92357 t5 = t2._string_scanner$_position;
92358 if (!t2.scanChar$1(58)) {
92359 if (midBuffer._contents.length !== 0)
92360 nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(32);
92361 return nameBuffer;
92362 }
92363 midBuffer._contents += A.Primitives_stringFromCharCode(58);
92364 $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t5)));
92365 if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
92366 t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
92367 _this.expectStatementSeparator$1("custom property");
92368 return A.Declaration$0($name, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
92369 }
92370 if (t2.scanChar$1(58)) {
92371 t1 = nameBuffer;
92372 t2 = t1._interpolation_buffer0$_text;
92373 t3 = t2._contents += A.S(midBuffer);
92374 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
92375 return t1;
92376 } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
92377 t1 = nameBuffer;
92378 t1._interpolation_buffer0$_text._contents += A.S(midBuffer);
92379 return t1;
92380 }
92381 postColonWhitespace = _this.rawText$1(t4);
92382 if (_this.lookingAtChildren$0())
92383 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure1($name));
92384 midBuffer._contents += postColonWhitespace;
92385 couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
92386 beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
92387 t4 = t1.value = null;
92388 try {
92389 if (_this.lookingAtChildren$0()) {
92390 t3 = A._setArrayType([], t3);
92391 t4 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
92392 t5 = t4.offset;
92393 value = new A.StringExpression0(A.Interpolation$0(t3, A._FileSpan$(t4.file, t5, t5)), true);
92394 } else
92395 value = _this.expression$0();
92396 t3 = t1.value = value;
92397 if (_this.lookingAtChildren$0()) {
92398 if (couldBeSelector)
92399 _this.expectStatementSeparator$0();
92400 } else if (!_this.atEndOfStatement$0())
92401 _this.expectStatementSeparator$0();
92402 } catch (exception) {
92403 if (type$.FormatException._is(A.unwrapException(exception))) {
92404 if (!couldBeSelector)
92405 throw exception;
92406 t2.set$state(beforeDeclaration);
92407 additional = _this.almostAnyValue$0();
92408 if (!_this.get$indented() && t2.peekChar$0() === 59)
92409 throw exception;
92410 nameBuffer._interpolation_buffer0$_text._contents += A.S(midBuffer);
92411 nameBuffer.addInterpolation$1(additional);
92412 return nameBuffer;
92413 } else
92414 throw exception;
92415 }
92416 if (_this.lookingAtChildren$0())
92417 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure2(t1, $name));
92418 else {
92419 _this.expectStatementSeparator$0();
92420 return A.Declaration$0($name, t3, t2.spanFrom$1(start));
92421 }
92422 },
92423 _stylesheet0$_variableDeclarationOrInterpolation$0() {
92424 var t1, start, identifier, t2, buffer, _this = this;
92425 if (!_this.lookingAtIdentifier$0())
92426 return _this.interpolatedIdentifier$0();
92427 t1 = _this.scanner;
92428 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92429 identifier = _this.identifier$0();
92430 if (t1.matches$1(".$")) {
92431 t1.readChar$0();
92432 return _this.variableDeclarationWithoutNamespace$2(identifier, start);
92433 } else {
92434 t2 = new A.StringBuffer("");
92435 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
92436 t2._contents = "" + identifier;
92437 if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
92438 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
92439 return buffer.interpolation$1(t1.spanFrom$1(start));
92440 }
92441 },
92442 _stylesheet0$_styleRule$2(buffer, start_) {
92443 var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
92444 _this._stylesheet0$_isUseAllowed = false;
92445 if (start_ == null) {
92446 t2 = _this.scanner;
92447 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
92448 } else
92449 start = start_;
92450 interpolation = t1.interpolation = _this.styleRuleSelector$0();
92451 if (buffer != null) {
92452 buffer.addInterpolation$1(interpolation);
92453 t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
92454 } else
92455 t2 = interpolation;
92456 if (t2.contents.length === 0)
92457 _this.scanner.error$1(0, 'expected "}".');
92458 wasInStyleRule = _this._stylesheet0$_inStyleRule;
92459 _this._stylesheet0$_inStyleRule = true;
92460 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
92461 },
92462 _stylesheet0$_styleRule$0() {
92463 return this._stylesheet0$_styleRule$2(null, null);
92464 },
92465 _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
92466 var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
92467 _s48_ = string$.Nested,
92468 t1 = {},
92469 t2 = _this.scanner,
92470 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
92471 t1.name = null;
92472 first = t2.peekChar$0();
92473 if (first !== 58)
92474 if (first !== 42)
92475 if (first !== 46)
92476 t3 = first === 35 && t2.peekChar$1(1) !== 123;
92477 else
92478 t3 = true;
92479 else
92480 t3 = true;
92481 else
92482 t3 = true;
92483 if (t3) {
92484 t3 = new A.StringBuffer("");
92485 nameBuffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
92486 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
92487 t3._contents += _this.rawText$1(_this.get$whitespace());
92488 nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
92489 t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
92490 } else if (!_this.get$plainCss()) {
92491 variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
92492 if (variableOrInterpolation instanceof A.VariableDeclaration0)
92493 return variableOrInterpolation;
92494 else {
92495 type$.Interpolation_2._as(variableOrInterpolation);
92496 t1.name = variableOrInterpolation;
92497 }
92498 t3 = variableOrInterpolation;
92499 } else {
92500 $name = _this.interpolatedIdentifier$0();
92501 t1.name = $name;
92502 t3 = $name;
92503 }
92504 _this.whitespace$0();
92505 t2.expectChar$1(58);
92506 if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
92507 t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
92508 _this.expectStatementSeparator$1("custom property");
92509 return A.Declaration$0(t3, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
92510 }
92511 _this.whitespace$0();
92512 if (_this.lookingAtChildren$0()) {
92513 if (_this.get$plainCss())
92514 t2.error$1(0, _s48_);
92515 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure1(t1));
92516 }
92517 value = _this.expression$0();
92518 if (_this.lookingAtChildren$0()) {
92519 if (_this.get$plainCss())
92520 t2.error$1(0, _s48_);
92521 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure2(t1, value));
92522 } else {
92523 _this.expectStatementSeparator$0();
92524 return A.Declaration$0(t3, value, t2.spanFrom$1(start));
92525 }
92526 },
92527 _stylesheet0$_propertyOrVariableDeclaration$0() {
92528 return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(true);
92529 },
92530 _stylesheet0$_declarationChild$0() {
92531 if (this.scanner.peekChar$0() === 64)
92532 return this._stylesheet0$_declarationAtRule$0();
92533 return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
92534 },
92535 atRule$2$root(child, root) {
92536 var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
92537 _s9_ = "@use rule",
92538 t1 = _this.scanner,
92539 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92540 t1.expectChar$2$name(64, "@-rule");
92541 $name = _this.interpolatedIdentifier$0();
92542 _this.whitespace$0();
92543 wasUseAllowed = _this._stylesheet0$_isUseAllowed;
92544 _this._stylesheet0$_isUseAllowed = false;
92545 switch ($name.get$asPlain()) {
92546 case "at-root":
92547 return _this._stylesheet0$_atRootRule$1(start);
92548 case "content":
92549 return _this._stylesheet0$_contentRule$1(start);
92550 case "debug":
92551 return _this._stylesheet0$_debugRule$1(start);
92552 case "each":
92553 return _this._stylesheet0$_eachRule$2(start, child);
92554 case "else":
92555 return _this._stylesheet0$_disallowedAtRule$1(start);
92556 case "error":
92557 return _this._stylesheet0$_errorRule$1(start);
92558 case "extend":
92559 if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
92560 _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
92561 value = _this.almostAnyValue$0();
92562 optional = t1.scanChar$1(33);
92563 if (optional)
92564 _this.expectIdentifier$1("optional");
92565 _this.expectStatementSeparator$1("@extend rule");
92566 return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
92567 case "for":
92568 return _this._stylesheet0$_forRule$2(start, child);
92569 case "forward":
92570 _this._stylesheet0$_isUseAllowed = wasUseAllowed;
92571 if (!root)
92572 _this._stylesheet0$_disallowedAtRule$1(start);
92573 return _this._stylesheet0$_forwardRule$1(start);
92574 case "function":
92575 return _this._stylesheet0$_functionRule$1(start);
92576 case "if":
92577 return _this._stylesheet0$_ifRule$2(start, child);
92578 case "import":
92579 return _this._stylesheet0$_importRule$1(start);
92580 case "include":
92581 return _this._stylesheet0$_includeRule$1(start);
92582 case "media":
92583 return _this.mediaRule$1(start);
92584 case "mixin":
92585 return _this._stylesheet0$_mixinRule$1(start);
92586 case "-moz-document":
92587 return _this.mozDocumentRule$2(start, $name);
92588 case "return":
92589 return _this._stylesheet0$_disallowedAtRule$1(start);
92590 case "supports":
92591 return _this.supportsRule$1(start);
92592 case "use":
92593 _this._stylesheet0$_isUseAllowed = wasUseAllowed;
92594 if (!root)
92595 _this._stylesheet0$_disallowedAtRule$1(start);
92596 url = _this._stylesheet0$_urlString$0();
92597 _this.whitespace$0();
92598 namespace = _this._stylesheet0$_useNamespace$2(url, start);
92599 _this.whitespace$0();
92600 configuration = _this._stylesheet0$_configuration$0();
92601 _this.expectStatementSeparator$1(_s9_);
92602 span = t1.spanFrom$1(start);
92603 if (!_this._stylesheet0$_isUseAllowed)
92604 _this.error$2(0, string$.x40use_r, span);
92605 _this.expectStatementSeparator$1(_s9_);
92606 t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
92607 t1.UseRule$4$configuration0(url, namespace, span, configuration);
92608 return t1;
92609 case "warn":
92610 return _this._stylesheet0$_warnRule$1(start);
92611 case "while":
92612 return _this._stylesheet0$_whileRule$2(start, child);
92613 default:
92614 return _this.unknownAtRule$2(start, $name);
92615 }
92616 },
92617 _stylesheet0$_declarationAtRule$0() {
92618 var _this = this,
92619 t1 = _this.scanner,
92620 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92621 switch (_this._stylesheet0$_plainAtRuleName$0()) {
92622 case "content":
92623 return _this._stylesheet0$_contentRule$1(start);
92624 case "debug":
92625 return _this._stylesheet0$_debugRule$1(start);
92626 case "each":
92627 return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
92628 case "else":
92629 return _this._stylesheet0$_disallowedAtRule$1(start);
92630 case "error":
92631 return _this._stylesheet0$_errorRule$1(start);
92632 case "for":
92633 return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
92634 case "if":
92635 return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
92636 case "include":
92637 return _this._stylesheet0$_includeRule$1(start);
92638 case "warn":
92639 return _this._stylesheet0$_warnRule$1(start);
92640 case "while":
92641 return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
92642 default:
92643 return _this._stylesheet0$_disallowedAtRule$1(start);
92644 }
92645 },
92646 _stylesheet0$_functionChild$0() {
92647 var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, value, _this = this,
92648 t1 = _this.scanner;
92649 if (t1.peekChar$0() !== 64) {
92650 t2 = t1._string_scanner$_position;
92651 state = new A._SpanScannerState(t1, t2);
92652 try {
92653 namespace = _this.identifier$0();
92654 t1.expectChar$1(46);
92655 t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
92656 return t2;
92657 } catch (exception) {
92658 t2 = A.unwrapException(exception);
92659 t3 = type$.SourceSpanFormatException;
92660 if (t3._is(t2)) {
92661 variableDeclarationError = t2;
92662 stackTrace = A.getTraceFromException(exception);
92663 t1.set$state(state);
92664 statement = null;
92665 try {
92666 statement = _this._stylesheet0$_declarationOrStyleRule$0();
92667 } catch (exception) {
92668 if (t3._is(A.unwrapException(exception)))
92669 throw A.wrapException(variableDeclarationError);
92670 else
92671 throw exception;
92672 }
92673 _this.error$3(0, "@function rules may not contain " + (statement instanceof A.StyleRule0 ? "style rules" : "declarations") + ".", J.get$span$z(statement), stackTrace);
92674 } else
92675 throw exception;
92676 }
92677 }
92678 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
92679 switch (_this._stylesheet0$_plainAtRuleName$0()) {
92680 case "debug":
92681 return _this._stylesheet0$_debugRule$1(start);
92682 case "each":
92683 return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
92684 case "else":
92685 return _this._stylesheet0$_disallowedAtRule$1(start);
92686 case "error":
92687 return _this._stylesheet0$_errorRule$1(start);
92688 case "for":
92689 return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
92690 case "if":
92691 return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
92692 case "return":
92693 value = _this.expression$0();
92694 _this.expectStatementSeparator$1("@return rule");
92695 return new A.ReturnRule0(value, t1.spanFrom$1(start));
92696 case "warn":
92697 return _this._stylesheet0$_warnRule$1(start);
92698 case "while":
92699 return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
92700 default:
92701 return _this._stylesheet0$_disallowedAtRule$1(start);
92702 }
92703 },
92704 _stylesheet0$_plainAtRuleName$0() {
92705 this.scanner.expectChar$2$name(64, "@-rule");
92706 var $name = this.identifier$0();
92707 this.whitespace$0();
92708 return $name;
92709 },
92710 _stylesheet0$_atRootRule$1(start) {
92711 var query, _this = this,
92712 t1 = _this.scanner;
92713 if (t1.peekChar$0() === 40) {
92714 query = _this._stylesheet0$_atRootQuery$0();
92715 _this.whitespace$0();
92716 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(query));
92717 } else if (_this.lookingAtChildren$0())
92718 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
92719 else
92720 return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
92721 },
92722 _stylesheet0$_atRootQuery$0() {
92723 var interpolation, t2, t3, t4, buffer, t5, _this = this,
92724 t1 = _this.scanner;
92725 if (t1.peekChar$0() === 35) {
92726 interpolation = _this.singleInterpolation$0();
92727 return A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
92728 }
92729 t2 = t1._string_scanner$_position;
92730 t3 = new A.StringBuffer("");
92731 t4 = A._setArrayType([], type$.JSArray_Object);
92732 buffer = new A.InterpolationBuffer0(t3, t4);
92733 t1.expectChar$1(40);
92734 t3._contents += A.Primitives_stringFromCharCode(40);
92735 _this.whitespace$0();
92736 t5 = _this.expression$0();
92737 buffer._interpolation_buffer0$_flushText$0();
92738 t4.push(t5);
92739 if (t1.scanChar$1(58)) {
92740 _this.whitespace$0();
92741 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
92742 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
92743 t5 = _this.expression$0();
92744 buffer._interpolation_buffer0$_flushText$0();
92745 t4.push(t5);
92746 }
92747 t1.expectChar$1(41);
92748 _this.whitespace$0();
92749 t3._contents += A.Primitives_stringFromCharCode(41);
92750 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
92751 },
92752 _stylesheet0$_contentRule$1(start) {
92753 var t1, $arguments, t2, t3, _this = this;
92754 if (!_this._stylesheet0$_inMixin)
92755 _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
92756 _this.whitespace$0();
92757 t1 = _this.scanner;
92758 if (t1.peekChar$0() === 40)
92759 $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
92760 else {
92761 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
92762 t3 = t2.offset;
92763 $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
92764 }
92765 _this.expectStatementSeparator$1("@content rule");
92766 return new A.ContentRule0($arguments, t1.spanFrom$1(start));
92767 },
92768 _stylesheet0$_debugRule$1(start) {
92769 var value = this.expression$0();
92770 this.expectStatementSeparator$1("@debug rule");
92771 return new A.DebugRule0(value, this.scanner.spanFrom$1(start));
92772 },
92773 _stylesheet0$_eachRule$2(start, child) {
92774 var variables, t1, _this = this,
92775 wasInControlDirective = _this._stylesheet0$_inControlDirective;
92776 _this._stylesheet0$_inControlDirective = true;
92777 variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
92778 _this.whitespace$0();
92779 for (t1 = _this.scanner; t1.scanChar$1(44);) {
92780 _this.whitespace$0();
92781 t1.expectChar$1(36);
92782 variables.push(_this.identifier$1$normalize(true));
92783 _this.whitespace$0();
92784 }
92785 _this.expectIdentifier$1("in");
92786 _this.whitespace$0();
92787 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this.expression$0()));
92788 },
92789 _stylesheet0$_errorRule$1(start) {
92790 var value = this.expression$0();
92791 this.expectStatementSeparator$1("@error rule");
92792 return new A.ErrorRule0(value, this.scanner.spanFrom$1(start));
92793 },
92794 _stylesheet0$_functionRule$1(start) {
92795 var $name, $arguments, _this = this,
92796 precedingComment = _this.lastSilentComment;
92797 _this.lastSilentComment = null;
92798 $name = _this.identifier$1$normalize(true);
92799 _this.whitespace$0();
92800 $arguments = _this._stylesheet0$_argumentDeclaration$0();
92801 if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
92802 _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
92803 else if (_this._stylesheet0$_inControlDirective)
92804 _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
92805 switch (A.unvendor0($name)) {
92806 case "calc":
92807 case "element":
92808 case "expression":
92809 case "url":
92810 case "and":
92811 case "or":
92812 case "not":
92813 case "clamp":
92814 _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
92815 break;
92816 }
92817 _this.whitespace$0();
92818 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, $arguments, precedingComment));
92819 },
92820 _stylesheet0$_forRule$2(start, child) {
92821 var variable, from, _this = this, t1 = {},
92822 wasInControlDirective = _this._stylesheet0$_inControlDirective;
92823 _this._stylesheet0$_inControlDirective = true;
92824 variable = _this.variableName$0();
92825 _this.whitespace$0();
92826 _this.expectIdentifier$1("from");
92827 _this.whitespace$0();
92828 t1.exclusive = null;
92829 from = _this.expression$1$until(new A.StylesheetParser__forRule_closure1(t1, _this));
92830 if (t1.exclusive == null)
92831 _this.scanner.error$1(0, 'Expected "to" or "through".');
92832 _this.whitespace$0();
92833 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this.expression$0()));
92834 },
92835 _stylesheet0$_forwardRule$1(start) {
92836 var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
92837 url = _this._stylesheet0$_urlString$0();
92838 _this.whitespace$0();
92839 if (_this.scanIdentifier$1("as")) {
92840 _this.whitespace$0();
92841 prefix = _this.identifier$1$normalize(true);
92842 _this.scanner.expectChar$1(42);
92843 _this.whitespace$0();
92844 } else
92845 prefix = _null;
92846 if (_this.scanIdentifier$1("show")) {
92847 members = _this._stylesheet0$_memberList$0();
92848 shownMixinsAndFunctions = members.item1;
92849 shownVariables = members.item2;
92850 hiddenVariables = _null;
92851 hiddenMixinsAndFunctions = hiddenVariables;
92852 } else {
92853 if (_this.scanIdentifier$1("hide")) {
92854 members = _this._stylesheet0$_memberList$0();
92855 hiddenMixinsAndFunctions = members.item1;
92856 hiddenVariables = members.item2;
92857 } else {
92858 hiddenVariables = _null;
92859 hiddenMixinsAndFunctions = hiddenVariables;
92860 }
92861 shownVariables = _null;
92862 shownMixinsAndFunctions = shownVariables;
92863 }
92864 configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
92865 _this.expectStatementSeparator$1("@forward rule");
92866 span = _this.scanner.spanFrom$1(start);
92867 if (!_this._stylesheet0$_isUseAllowed)
92868 _this.error$2(0, string$.x40forwa, span);
92869 if (shownMixinsAndFunctions != null) {
92870 shownVariables.toString;
92871 t1 = type$.String;
92872 t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
92873 t3 = type$.UnmodifiableSetView_String;
92874 t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
92875 t4 = configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
92876 return new A.ForwardRule0(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
92877 } else if (hiddenMixinsAndFunctions != null) {
92878 hiddenVariables.toString;
92879 t1 = type$.String;
92880 t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
92881 t3 = type$.UnmodifiableSetView_String;
92882 t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
92883 t4 = configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
92884 return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
92885 } else
92886 return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty16 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
92887 },
92888 _stylesheet0$_memberList$0() {
92889 var _this = this,
92890 t1 = type$.String,
92891 identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
92892 variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
92893 t1 = _this.scanner;
92894 do {
92895 _this.whitespace$0();
92896 _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
92897 _this.whitespace$0();
92898 } while (t1.scanChar$1(44));
92899 return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
92900 },
92901 _stylesheet0$_ifRule$2(start, child) {
92902 var condition, children, clauses, lastClause, span, _this = this,
92903 ifIndentation = _this.get$currentIndentation(),
92904 wasInControlDirective = _this._stylesheet0$_inControlDirective;
92905 _this._stylesheet0$_inControlDirective = true;
92906 condition = _this.expression$0();
92907 children = _this.children$1(0, child);
92908 _this.whitespaceWithoutComments$0();
92909 clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
92910 while (true) {
92911 if (!_this.scanElse$1(ifIndentation)) {
92912 lastClause = null;
92913 break;
92914 }
92915 _this.whitespace$0();
92916 if (_this.scanIdentifier$1("if")) {
92917 _this.whitespace$0();
92918 clauses.push(A.IfClause$0(_this.expression$0(), _this.children$1(0, child)));
92919 } else {
92920 lastClause = A.ElseClause$0(_this.children$1(0, child));
92921 break;
92922 }
92923 }
92924 _this._stylesheet0$_inControlDirective = wasInControlDirective;
92925 span = _this.scanner.spanFrom$1(start);
92926 _this.whitespaceWithoutComments$0();
92927 return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
92928 },
92929 _stylesheet0$_importRule$1(start) {
92930 var argument, _this = this,
92931 imports = A._setArrayType([], type$.JSArray_Import_2),
92932 t1 = _this.scanner;
92933 do {
92934 _this.whitespace$0();
92935 argument = _this.importArgument$0();
92936 if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && argument instanceof A.DynamicImport0)
92937 _this._stylesheet0$_disallowedAtRule$1(start);
92938 imports.push(argument);
92939 _this.whitespace$0();
92940 } while (t1.scanChar$1(44));
92941 _this.expectStatementSeparator$1("@import rule");
92942 t1 = t1.spanFrom$1(start);
92943 return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
92944 },
92945 importArgument$0() {
92946 var url, urlSpan, innerError, stackTrace, queries, t2, t3, t4, exception, _this = this, _null = null,
92947 t1 = _this.scanner,
92948 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
92949 next = t1.peekChar$0();
92950 if (next === 117 || next === 85) {
92951 url = _this.dynamicUrl$0();
92952 _this.whitespace$0();
92953 queries = _this.tryImportQueries$0();
92954 t2 = A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start));
92955 t1 = t1.spanFrom$1(start);
92956 t3 = queries == null;
92957 t4 = t3 ? _null : queries.item1;
92958 return new A.StaticImport0(t2, t4, t3 ? _null : queries.item2, t1);
92959 }
92960 url = _this.string$0();
92961 urlSpan = t1.spanFrom$1(start);
92962 _this.whitespace$0();
92963 queries = _this.tryImportQueries$0();
92964 if (_this.isPlainImportUrl$1(url) || queries != null) {
92965 t2 = urlSpan;
92966 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);
92967 t1 = t1.spanFrom$1(start);
92968 t3 = queries == null;
92969 t4 = t3 ? _null : queries.item1;
92970 return new A.StaticImport0(t2, t4, t3 ? _null : queries.item2, t1);
92971 } else
92972 try {
92973 t1 = _this.parseImportUrl$1(url);
92974 return new A.DynamicImport0(t1, urlSpan);
92975 } catch (exception) {
92976 t1 = A.unwrapException(exception);
92977 if (type$.FormatException._is(t1)) {
92978 innerError = t1;
92979 stackTrace = A.getTraceFromException(exception);
92980 _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
92981 } else
92982 throw exception;
92983 }
92984 },
92985 parseImportUrl$1(url) {
92986 var t1 = $.$get$windows();
92987 if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
92988 return t1.toUri$1(url).toString$0(0);
92989 A.Uri_parse(url);
92990 return url;
92991 },
92992 isPlainImportUrl$1(url) {
92993 var first;
92994 if (url.length < 5)
92995 return false;
92996 if (B.JSString_methods.endsWith$1(url, ".css"))
92997 return true;
92998 first = B.JSString_methods._codeUnitAt$1(url, 0);
92999 if (first === 47)
93000 return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
93001 if (first !== 104)
93002 return false;
93003 return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
93004 },
93005 tryImportQueries$0() {
93006 var t1, start, supports, identifier, t2, $arguments, $name, media, _this = this, _null = null;
93007 if (_this.scanIdentifier$1("supports")) {
93008 t1 = _this.scanner;
93009 t1.expectChar$1(40);
93010 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93011 if (_this.scanIdentifier$1("not")) {
93012 _this.whitespace$0();
93013 supports = new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(start));
93014 } else if (t1.peekChar$0() === 40)
93015 supports = _this._stylesheet0$_supportsCondition$0();
93016 else {
93017 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
93018 identifier = _this.interpolatedIdentifier$0();
93019 t2 = identifier.get$asPlain();
93020 if ((t2 == null ? _null : t2.toLowerCase()) === "not")
93021 _this.error$2(0, '"not" is not a valid identifier here.', identifier.span);
93022 if (t1.scanChar$1(40)) {
93023 $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
93024 t1.expectChar$1(41);
93025 supports = new A.SupportsFunction0(identifier, $arguments, t1.spanFrom$1(start));
93026 } else {
93027 t1.set$state(start);
93028 supports = _null;
93029 }
93030 } else
93031 supports = _null;
93032 if (supports == null) {
93033 $name = _this.expression$0();
93034 t1.expectChar$1(58);
93035 supports = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
93036 }
93037 }
93038 t1.expectChar$1(41);
93039 _this.whitespace$0();
93040 } else
93041 supports = _null;
93042 media = _this._stylesheet0$_lookingAtInterpolatedIdentifier$0() || _this.scanner.peekChar$0() === 40 ? _this._stylesheet0$_mediaQueryList$0() : _null;
93043 if (supports == null && media == null)
93044 return _null;
93045 return new A.Tuple2(supports, media, type$.Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation_2);
93046 },
93047 _stylesheet0$_includeRule$1(start) {
93048 var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
93049 $name = _this.identifier$0(),
93050 t1 = _this.scanner;
93051 if (t1.scanChar$1(46)) {
93052 name0 = _this._stylesheet0$_publicIdentifier$0();
93053 namespace = $name;
93054 $name = name0;
93055 } else {
93056 $name = A.stringReplaceAllUnchecked($name, "_", "-");
93057 namespace = _null;
93058 }
93059 _this.whitespace$0();
93060 if (t1.peekChar$0() === 40)
93061 $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
93062 else {
93063 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93064 t3 = t2.offset;
93065 $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
93066 }
93067 _this.whitespace$0();
93068 if (_this.scanIdentifier$1("using")) {
93069 _this.whitespace$0();
93070 contentArguments = _this._stylesheet0$_argumentDeclaration$0();
93071 _this.whitespace$0();
93072 } else
93073 contentArguments = _null;
93074 t2 = contentArguments == null;
93075 if (!t2 || _this.lookingAtChildren$0()) {
93076 if (t2) {
93077 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93078 t3 = t2.offset;
93079 contentArguments_ = new A.ArgumentDeclaration0(B.List_empty18, _null, A._FileSpan$(t2.file, t3, t3));
93080 } else
93081 contentArguments_ = contentArguments;
93082 wasInContentBlock = _this._stylesheet0$_inContentBlock;
93083 _this._stylesheet0$_inContentBlock = true;
93084 $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentArguments_));
93085 _this._stylesheet0$_inContentBlock = wasInContentBlock;
93086 } else {
93087 _this.expectStatementSeparator$0();
93088 $content = _null;
93089 }
93090 t1 = t1.spanFrom$2(start, start);
93091 t2 = $content == null ? $arguments : $content;
93092 return new A.IncludeRule0(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
93093 },
93094 mediaRule$1(start) {
93095 return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()));
93096 },
93097 _stylesheet0$_mixinRule$1(start) {
93098 var $name, t1, $arguments, t2, t3, _this = this,
93099 precedingComment = _this.lastSilentComment;
93100 _this.lastSilentComment = null;
93101 $name = _this.identifier$1$normalize(true);
93102 _this.whitespace$0();
93103 t1 = _this.scanner;
93104 if (t1.peekChar$0() === 40)
93105 $arguments = _this._stylesheet0$_argumentDeclaration$0();
93106 else {
93107 t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
93108 t3 = t2.offset;
93109 $arguments = new A.ArgumentDeclaration0(B.List_empty18, null, A._FileSpan$(t2.file, t3, t3));
93110 }
93111 if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
93112 _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
93113 else if (_this._stylesheet0$_inControlDirective)
93114 _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
93115 _this.whitespace$0();
93116 _this._stylesheet0$_inMixin = true;
93117 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, $arguments, precedingComment));
93118 },
93119 mozDocumentRule$2(start, $name) {
93120 var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
93121 t1 = _this.scanner,
93122 t2 = t1._string_scanner$_position,
93123 t3 = new A.StringBuffer(""),
93124 t4 = A._setArrayType([], type$.JSArray_Object),
93125 buffer = new A.InterpolationBuffer0(t3, t4);
93126 _box_0.needsDeprecationWarning = false;
93127 for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
93128 if (t1.peekChar$0() === 35) {
93129 t7 = _this.singleInterpolation$0();
93130 buffer._interpolation_buffer0$_flushText$0();
93131 t4.push(t7);
93132 _box_0.needsDeprecationWarning = true;
93133 } else {
93134 t7 = t1._string_scanner$_position;
93135 identifier = _this.identifier$0();
93136 switch (identifier) {
93137 case "url":
93138 case "url-prefix":
93139 case "domain":
93140 contents = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
93141 if (contents != null)
93142 buffer.addInterpolation$1(contents);
93143 else {
93144 t1.expectChar$1(40);
93145 _this.whitespace$0();
93146 argument = _this.interpolatedString$0();
93147 t1.expectChar$1(41);
93148 t7 = t3._contents += identifier;
93149 t3._contents = t7 + A.Primitives_stringFromCharCode(40);
93150 buffer.addInterpolation$1(argument.asInterpolation$0());
93151 t3._contents += A.Primitives_stringFromCharCode(41);
93152 }
93153 t7 = t3._contents;
93154 trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
93155 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("")'))
93156 _box_0.needsDeprecationWarning = true;
93157 break;
93158 case "regexp":
93159 t3._contents += "regexp(";
93160 t1.expectChar$1(40);
93161 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
93162 t1.expectChar$1(41);
93163 t3._contents += A.Primitives_stringFromCharCode(41);
93164 _box_0.needsDeprecationWarning = true;
93165 break;
93166 default:
93167 endPosition = t1._string_scanner$_position;
93168 t8 = t1._sourceFile;
93169 t9 = new A._FileSpan(t8, t7, endPosition);
93170 t9._FileSpan$3(t8, t7, endPosition);
93171 A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
93172 }
93173 }
93174 _this.whitespace$0();
93175 if (!t1.scanChar$1(44))
93176 break;
93177 t3._contents += A.Primitives_stringFromCharCode(44);
93178 start0 = t1._string_scanner$_position;
93179 t5.call$0();
93180 end = t1._string_scanner$_position;
93181 t3._contents += B.JSString_methods.substring$2(t6, start0, end);
93182 }
93183 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)))));
93184 },
93185 supportsRule$1(start) {
93186 var _this = this,
93187 condition = _this._stylesheet0$_supportsCondition$0();
93188 _this.whitespace$0();
93189 return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
93190 },
93191 _stylesheet0$_useNamespace$2(url, start) {
93192 var namespace, basename, dot, t1, exception, _this = this;
93193 if (_this.scanIdentifier$1("as")) {
93194 _this.whitespace$0();
93195 return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
93196 }
93197 basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
93198 dot = B.JSString_methods.indexOf$1(basename, ".");
93199 t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
93200 namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
93201 try {
93202 t1 = A.SpanScanner$(namespace, null);
93203 t1 = new A.Parser1(t1, _this.logger)._parser0$_parseIdentifier$0();
93204 return t1;
93205 } catch (exception) {
93206 if (A.unwrapException(exception) instanceof A.SassFormatException0)
93207 _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
93208 else
93209 throw exception;
93210 }
93211 },
93212 _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
93213 var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
93214 if (!_this.scanIdentifier$1("with"))
93215 return null;
93216 variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
93217 configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
93218 _this.whitespace$0();
93219 t1 = _this.scanner;
93220 t1.expectChar$1(40);
93221 for (t2 = t1.string; true;) {
93222 _this.whitespace$0();
93223 t3 = t1._string_scanner$_position;
93224 t1.expectChar$1(36);
93225 $name = _this.identifier$1$normalize(true);
93226 _this.whitespace$0();
93227 t1.expectChar$1(58);
93228 _this.whitespace$0();
93229 expression = _this._stylesheet0$_expressionUntilComma$0();
93230 t4 = t1._string_scanner$_position;
93231 if (allowGuarded && t1.scanChar$1(33))
93232 if (_this.identifier$0() === "default") {
93233 _this.whitespace$0();
93234 guarded = true;
93235 } else {
93236 endPosition = t1._string_scanner$_position;
93237 t5 = t1._sourceFile;
93238 t6 = new A._FileSpan(t5, t4, endPosition);
93239 t6._FileSpan$3(t5, t4, endPosition);
93240 A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
93241 guarded = false;
93242 }
93243 else
93244 guarded = false;
93245 endPosition = t1._string_scanner$_position;
93246 t4 = t1._sourceFile;
93247 span = new A._FileSpan(t4, t3, endPosition);
93248 span._FileSpan$3(t4, t3, endPosition);
93249 if (variableNames.contains$1(0, $name))
93250 A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
93251 variableNames.add$1(0, $name);
93252 configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
93253 if (!t1.scanChar$1(44))
93254 break;
93255 _this.whitespace$0();
93256 if (!_this._stylesheet0$_lookingAtExpression$0())
93257 break;
93258 }
93259 t1.expectChar$1(41);
93260 return configuration;
93261 },
93262 _stylesheet0$_configuration$0() {
93263 return this._stylesheet0$_configuration$1$allowGuarded(false);
93264 },
93265 _stylesheet0$_warnRule$1(start) {
93266 var value = this.expression$0();
93267 this.expectStatementSeparator$1("@warn rule");
93268 return new A.WarnRule0(value, this.scanner.spanFrom$1(start));
93269 },
93270 _stylesheet0$_whileRule$2(start, child) {
93271 var _this = this,
93272 wasInControlDirective = _this._stylesheet0$_inControlDirective;
93273 _this._stylesheet0$_inControlDirective = true;
93274 return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this.expression$0()));
93275 },
93276 unknownAtRule$2(start, $name) {
93277 var t2, t3, rule, _this = this, t1 = {},
93278 wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
93279 _this._stylesheet0$_inUnknownAtRule = true;
93280 t1.value = null;
93281 t2 = _this.scanner;
93282 t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
93283 if (_this.lookingAtChildren$0())
93284 rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
93285 else {
93286 _this.expectStatementSeparator$0();
93287 rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
93288 }
93289 _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
93290 return rule;
93291 },
93292 _stylesheet0$_disallowedAtRule$1(start) {
93293 this.almostAnyValue$0();
93294 this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
93295 },
93296 _stylesheet0$_argumentDeclaration$0() {
93297 var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
93298 t1 = _this.scanner,
93299 t2 = t1._string_scanner$_position;
93300 t1.expectChar$1(40);
93301 _this.whitespace$0();
93302 $arguments = A._setArrayType([], type$.JSArray_Argument_2);
93303 named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
93304 t3 = t1.string;
93305 while (true) {
93306 if (!(t1.peekChar$0() === 36)) {
93307 restArgument = null;
93308 break;
93309 }
93310 t4 = t1._string_scanner$_position;
93311 t1.expectChar$1(36);
93312 $name = _this.identifier$1$normalize(true);
93313 _this.whitespace$0();
93314 if (t1.scanChar$1(58)) {
93315 _this.whitespace$0();
93316 defaultValue = _this._stylesheet0$_expressionUntilComma$0();
93317 } else {
93318 if (t1.scanChar$1(46)) {
93319 t1.expectChar$1(46);
93320 t1.expectChar$1(46);
93321 _this.whitespace$0();
93322 restArgument = $name;
93323 break;
93324 }
93325 defaultValue = null;
93326 }
93327 endPosition = t1._string_scanner$_position;
93328 t5 = t1._sourceFile;
93329 t6 = new A._FileSpan(t5, t4, endPosition);
93330 t6._FileSpan$3(t5, t4, endPosition);
93331 $arguments.push(new A.Argument0($name, defaultValue, t6));
93332 if (!named.add$1(0, $name))
93333 A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
93334 if (!t1.scanChar$1(44)) {
93335 restArgument = null;
93336 break;
93337 }
93338 _this.whitespace$0();
93339 }
93340 t1.expectChar$1(41);
93341 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
93342 return new A.ArgumentDeclaration0(A.List_List$unmodifiable($arguments, type$.Argument_2), restArgument, t1);
93343 },
93344 _stylesheet0$_argumentInvocation$1$mixin(mixin) {
93345 var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, _this = this,
93346 t1 = _this.scanner,
93347 t2 = t1._string_scanner$_position;
93348 t1.expectChar$1(40);
93349 _this.whitespace$0();
93350 positional = A._setArrayType([], type$.JSArray_Expression_2);
93351 t3 = type$.String;
93352 t4 = type$.Expression_2;
93353 named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
93354 t5 = !mixin;
93355 t6 = t1.string;
93356 rest = null;
93357 while (true) {
93358 if (!_this._stylesheet0$_lookingAtExpression$0()) {
93359 keywordRest = null;
93360 break;
93361 }
93362 expression = _this._stylesheet0$_expressionUntilComma$1$singleEquals(t5);
93363 _this.whitespace$0();
93364 if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
93365 _this.whitespace$0();
93366 t7 = expression.name;
93367 if (named.containsKey$1(t7))
93368 A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
93369 named.$indexSet(0, t7, _this._stylesheet0$_expressionUntilComma$1$singleEquals(t5));
93370 } else if (t1.scanChar$1(46)) {
93371 t1.expectChar$1(46);
93372 t1.expectChar$1(46);
93373 if (rest != null) {
93374 _this.whitespace$0();
93375 keywordRest = expression;
93376 break;
93377 }
93378 rest = expression;
93379 } else if (named.get$isNotEmpty(named))
93380 A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
93381 else
93382 positional.push(expression);
93383 _this.whitespace$0();
93384 if (!t1.scanChar$1(44)) {
93385 keywordRest = null;
93386 break;
93387 }
93388 _this.whitespace$0();
93389 }
93390 t1.expectChar$1(41);
93391 t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
93392 return new A.ArgumentInvocation0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
93393 },
93394 _stylesheet0$_argumentInvocation$0() {
93395 return this._stylesheet0$_argumentInvocation$1$mixin(false);
93396 },
93397 expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
93398 var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
93399 _s20_ = "Expected expression.",
93400 _box_0 = {},
93401 t1 = until != null;
93402 if (t1 && until.call$0())
93403 _this.scanner.error$1(0, _s20_);
93404 if (bracketList) {
93405 t2 = _this.scanner;
93406 beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
93407 t2.expectChar$1(91);
93408 _this.whitespace$0();
93409 if (t2.scanChar$1(93)) {
93410 t1 = A._setArrayType([], type$.JSArray_Expression_2);
93411 t2 = t2.spanFrom$1(beforeBracket);
93412 return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null0, true, t2);
93413 }
93414 } else
93415 beforeBracket = null;
93416 t2 = _this.scanner;
93417 start = new A._SpanScannerState(t2, t2._string_scanner$_position);
93418 wasInParentheses = _this._stylesheet0$_inParentheses;
93419 _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
93420 _box_0.allowSlash = true;
93421 _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
93422 resetState = new A.StylesheetParser_expression_resetState0(_box_0, _this, start);
93423 resolveOneOperation = new A.StylesheetParser_expression_resolveOneOperation0(_box_0, _this);
93424 resolveOperations = new A.StylesheetParser_expression_resolveOperations0(_box_0, resolveOneOperation);
93425 addSingleExpression = new A.StylesheetParser_expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
93426 addOperator = new A.StylesheetParser_expression_addOperator0(_box_0, _this, resolveOneOperation);
93427 resolveSpaceExpressions = new A.StylesheetParser_expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
93428 $label0$0:
93429 for (t3 = type$.JSArray_Expression_2; true;) {
93430 _this.whitespace$0();
93431 if (t1 && until.call$0())
93432 break $label0$0;
93433 first = t2.peekChar$0();
93434 switch (first) {
93435 case 40:
93436 addSingleExpression.call$1(_this._stylesheet0$_parentheses$0());
93437 break;
93438 case 91:
93439 addSingleExpression.call$1(_this.expression$1$bracketList(true));
93440 break;
93441 case 36:
93442 addSingleExpression.call$1(_this._stylesheet0$_variable$0());
93443 break;
93444 case 38:
93445 addSingleExpression.call$1(_this._stylesheet0$_selector$0());
93446 break;
93447 case 39:
93448 case 34:
93449 addSingleExpression.call$1(_this.interpolatedString$0());
93450 break;
93451 case 35:
93452 addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
93453 break;
93454 case 61:
93455 t2.readChar$0();
93456 if (singleEquals && t2.peekChar$0() !== 61)
93457 addOperator.call$1(B.BinaryOperator_kjl0);
93458 else {
93459 t2.expectChar$1(61);
93460 addOperator.call$1(B.BinaryOperator_YlX0);
93461 }
93462 break;
93463 case 33:
93464 next = t2.peekChar$1(1);
93465 if (next === 61) {
93466 t2.readChar$0();
93467 t2.readChar$0();
93468 addOperator.call$1(B.BinaryOperator_i5H0);
93469 } else {
93470 if (next != null)
93471 if ((next | 32) >>> 0 !== 105)
93472 t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
93473 else
93474 t4 = true;
93475 else
93476 t4 = true;
93477 if (t4)
93478 addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
93479 else
93480 break $label0$0;
93481 }
93482 break;
93483 case 60:
93484 t2.readChar$0();
93485 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_33h0 : B.BinaryOperator_8qt0);
93486 break;
93487 case 62:
93488 t2.readChar$0();
93489 addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_1da0 : B.BinaryOperator_AcR1);
93490 break;
93491 case 42:
93492 t2.readChar$0();
93493 addOperator.call$1(B.BinaryOperator_O1M0);
93494 break;
93495 case 43:
93496 if (_box_0.singleExpression_ == null)
93497 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
93498 else {
93499 t2.readChar$0();
93500 addOperator.call$1(B.BinaryOperator_AcR2);
93501 }
93502 break;
93503 case 45:
93504 next = t2.peekChar$1(1);
93505 if (next != null && next >= 48 && next <= 57 || next === 46)
93506 if (_box_0.singleExpression_ != null) {
93507 t4 = t2.peekChar$1(-1);
93508 t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
93509 } else
93510 t4 = true;
93511 else
93512 t4 = false;
93513 if (t4)
93514 addSingleExpression.call$1(_this._stylesheet0$_number$0());
93515 else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
93516 addSingleExpression.call$1(_this.identifierLike$0());
93517 else if (_box_0.singleExpression_ == null)
93518 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
93519 else {
93520 t2.readChar$0();
93521 addOperator.call$1(B.BinaryOperator_iyO0);
93522 }
93523 break;
93524 case 47:
93525 if (_box_0.singleExpression_ == null)
93526 addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
93527 else {
93528 t2.readChar$0();
93529 addOperator.call$1(B.BinaryOperator_RTB0);
93530 }
93531 break;
93532 case 37:
93533 t2.readChar$0();
93534 addOperator.call$1(B.BinaryOperator_2ad0);
93535 break;
93536 case 48:
93537 case 49:
93538 case 50:
93539 case 51:
93540 case 52:
93541 case 53:
93542 case 54:
93543 case 55:
93544 case 56:
93545 case 57:
93546 addSingleExpression.call$1(_this._stylesheet0$_number$0());
93547 break;
93548 case 46:
93549 if (t2.peekChar$1(1) === 46)
93550 break $label0$0;
93551 addSingleExpression.call$1(_this._stylesheet0$_number$0());
93552 break;
93553 case 97:
93554 if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
93555 addOperator.call$1(B.BinaryOperator_and_and_20);
93556 else
93557 addSingleExpression.call$1(_this.identifierLike$0());
93558 break;
93559 case 111:
93560 if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
93561 addOperator.call$1(B.BinaryOperator_or_or_10);
93562 else
93563 addSingleExpression.call$1(_this.identifierLike$0());
93564 break;
93565 case 117:
93566 case 85:
93567 if (t2.peekChar$1(1) === 43)
93568 addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
93569 else
93570 addSingleExpression.call$1(_this.identifierLike$0());
93571 break;
93572 case 98:
93573 case 99:
93574 case 100:
93575 case 101:
93576 case 102:
93577 case 103:
93578 case 104:
93579 case 105:
93580 case 106:
93581 case 107:
93582 case 108:
93583 case 109:
93584 case 110:
93585 case 112:
93586 case 113:
93587 case 114:
93588 case 115:
93589 case 116:
93590 case 118:
93591 case 119:
93592 case 120:
93593 case 121:
93594 case 122:
93595 case 65:
93596 case 66:
93597 case 67:
93598 case 68:
93599 case 69:
93600 case 70:
93601 case 71:
93602 case 72:
93603 case 73:
93604 case 74:
93605 case 75:
93606 case 76:
93607 case 77:
93608 case 78:
93609 case 79:
93610 case 80:
93611 case 81:
93612 case 82:
93613 case 83:
93614 case 84:
93615 case 86:
93616 case 87:
93617 case 88:
93618 case 89:
93619 case 90:
93620 case 95:
93621 case 92:
93622 addSingleExpression.call$1(_this.identifierLike$0());
93623 break;
93624 case 44:
93625 if (_this._stylesheet0$_inParentheses) {
93626 _this._stylesheet0$_inParentheses = false;
93627 if (_box_0.allowSlash) {
93628 resetState.call$0();
93629 break;
93630 }
93631 }
93632 commaExpressions = _box_0.commaExpressions_;
93633 if (commaExpressions == null)
93634 commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
93635 if (_box_0.singleExpression_ == null)
93636 t2.error$1(0, _s20_);
93637 resolveSpaceExpressions.call$0();
93638 t4 = _box_0.singleExpression_;
93639 t4.toString;
93640 commaExpressions.push(t4);
93641 t2.readChar$0();
93642 _box_0.allowSlash = true;
93643 _box_0.singleExpression_ = null;
93644 break;
93645 default:
93646 if (first != null && first >= 128) {
93647 addSingleExpression.call$1(_this.identifierLike$0());
93648 break;
93649 } else
93650 break $label0$0;
93651 }
93652 }
93653 if (bracketList)
93654 t2.expectChar$1(93);
93655 commaExpressions = _box_0.commaExpressions_;
93656 spaceExpressions = _box_0.spaceExpressions_;
93657 if (commaExpressions != null) {
93658 resolveSpaceExpressions.call$0();
93659 _this._stylesheet0$_inParentheses = wasInParentheses;
93660 singleExpression = _box_0.singleExpression_;
93661 if (singleExpression != null)
93662 commaExpressions.push(singleExpression);
93663 t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
93664 return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_kWM0, bracketList, t1);
93665 } else if (bracketList && spaceExpressions != null) {
93666 resolveOperations.call$0();
93667 t1 = _box_0.singleExpression_;
93668 t1.toString;
93669 spaceExpressions.push(t1);
93670 beforeBracket.toString;
93671 t2 = t2.spanFrom$1(beforeBracket);
93672 return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_woc0, true, t2);
93673 } else {
93674 resolveSpaceExpressions.call$0();
93675 if (bracketList) {
93676 t1 = _box_0.singleExpression_;
93677 t1.toString;
93678 t3 = A._setArrayType([t1], t3);
93679 beforeBracket.toString;
93680 t2 = t2.spanFrom$1(beforeBracket);
93681 _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t3, type$.Expression_2), B.ListSeparator_undecided_null0, true, t2);
93682 }
93683 t1 = _box_0.singleExpression_;
93684 t1.toString;
93685 return t1;
93686 }
93687 },
93688 expression$2$singleEquals$until(singleEquals, until) {
93689 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, until);
93690 },
93691 expression$1$bracketList(bracketList) {
93692 return this.expression$3$bracketList$singleEquals$until(bracketList, false, null);
93693 },
93694 expression$0() {
93695 return this.expression$3$bracketList$singleEquals$until(false, false, null);
93696 },
93697 expression$1$singleEquals(singleEquals) {
93698 return this.expression$3$bracketList$singleEquals$until(false, singleEquals, null);
93699 },
93700 expression$1$until(until) {
93701 return this.expression$3$bracketList$singleEquals$until(false, false, until);
93702 },
93703 _stylesheet0$_expressionUntilComma$1$singleEquals(singleEquals) {
93704 return this.expression$2$singleEquals$until(singleEquals, new A.StylesheetParser__expressionUntilComma_closure0(this));
93705 },
93706 _stylesheet0$_expressionUntilComma$0() {
93707 return this._stylesheet0$_expressionUntilComma$1$singleEquals(false);
93708 },
93709 _stylesheet0$_isSlashOperand$1(expression) {
93710 var t1;
93711 if (!(expression instanceof A.NumberExpression0))
93712 if (!(expression instanceof A.CalculationExpression0))
93713 t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
93714 else
93715 t1 = true;
93716 else
93717 t1 = true;
93718 return t1;
93719 },
93720 _stylesheet0$_singleExpression$0() {
93721 var next, _this = this,
93722 t1 = _this.scanner,
93723 first = t1.peekChar$0();
93724 switch (first) {
93725 case 40:
93726 return _this._stylesheet0$_parentheses$0();
93727 case 47:
93728 return _this._stylesheet0$_unaryOperation$0();
93729 case 46:
93730 return _this._stylesheet0$_number$0();
93731 case 91:
93732 return _this.expression$1$bracketList(true);
93733 case 36:
93734 return _this._stylesheet0$_variable$0();
93735 case 38:
93736 return _this._stylesheet0$_selector$0();
93737 case 39:
93738 case 34:
93739 return _this.interpolatedString$0();
93740 case 35:
93741 return _this._stylesheet0$_hashExpression$0();
93742 case 43:
93743 next = t1.peekChar$1(1);
93744 return A.isDigit0(next) || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
93745 case 45:
93746 return _this._stylesheet0$_minusExpression$0();
93747 case 33:
93748 return _this._stylesheet0$_importantExpression$0();
93749 case 117:
93750 case 85:
93751 if (t1.peekChar$1(1) === 43)
93752 return _this._stylesheet0$_unicodeRange$0();
93753 else
93754 return _this.identifierLike$0();
93755 case 48:
93756 case 49:
93757 case 50:
93758 case 51:
93759 case 52:
93760 case 53:
93761 case 54:
93762 case 55:
93763 case 56:
93764 case 57:
93765 return _this._stylesheet0$_number$0();
93766 case 97:
93767 case 98:
93768 case 99:
93769 case 100:
93770 case 101:
93771 case 102:
93772 case 103:
93773 case 104:
93774 case 105:
93775 case 106:
93776 case 107:
93777 case 108:
93778 case 109:
93779 case 110:
93780 case 111:
93781 case 112:
93782 case 113:
93783 case 114:
93784 case 115:
93785 case 116:
93786 case 118:
93787 case 119:
93788 case 120:
93789 case 121:
93790 case 122:
93791 case 65:
93792 case 66:
93793 case 67:
93794 case 68:
93795 case 69:
93796 case 70:
93797 case 71:
93798 case 72:
93799 case 73:
93800 case 74:
93801 case 75:
93802 case 76:
93803 case 77:
93804 case 78:
93805 case 79:
93806 case 80:
93807 case 81:
93808 case 82:
93809 case 83:
93810 case 84:
93811 case 86:
93812 case 87:
93813 case 88:
93814 case 89:
93815 case 90:
93816 case 95:
93817 case 92:
93818 return _this.identifierLike$0();
93819 default:
93820 if (first != null && first >= 128)
93821 return _this.identifierLike$0();
93822 t1.error$1(0, "Expected expression.");
93823 }
93824 },
93825 _stylesheet0$_parentheses$0() {
93826 var wasInParentheses, start, first, expressions, t1, t2, _this = this;
93827 if (_this.get$plainCss())
93828 _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
93829 wasInParentheses = _this._stylesheet0$_inParentheses;
93830 _this._stylesheet0$_inParentheses = true;
93831 try {
93832 t1 = _this.scanner;
93833 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93834 t1.expectChar$1(40);
93835 _this.whitespace$0();
93836 if (!_this._stylesheet0$_lookingAtExpression$0()) {
93837 t1.expectChar$1(41);
93838 t2 = A._setArrayType([], type$.JSArray_Expression_2);
93839 t1 = t1.spanFrom$1(start);
93840 t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
93841 return new A.ListExpression0(t2, B.ListSeparator_undecided_null0, false, t1);
93842 }
93843 first = _this._stylesheet0$_expressionUntilComma$0();
93844 if (t1.scanChar$1(58)) {
93845 _this.whitespace$0();
93846 t1 = _this._stylesheet0$_map$2(first, start);
93847 return t1;
93848 }
93849 if (!t1.scanChar$1(44)) {
93850 t1.expectChar$1(41);
93851 t1 = t1.spanFrom$1(start);
93852 return new A.ParenthesizedExpression0(first, t1);
93853 }
93854 _this.whitespace$0();
93855 expressions = A._setArrayType([first], type$.JSArray_Expression_2);
93856 for (; true;) {
93857 if (!_this._stylesheet0$_lookingAtExpression$0())
93858 break;
93859 J.add$1$ax(expressions, _this._stylesheet0$_expressionUntilComma$0());
93860 if (!t1.scanChar$1(44))
93861 break;
93862 _this.whitespace$0();
93863 }
93864 t1.expectChar$1(41);
93865 t1 = t1.spanFrom$1(start);
93866 t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
93867 return new A.ListExpression0(t2, B.ListSeparator_kWM0, false, t1);
93868 } finally {
93869 _this._stylesheet0$_inParentheses = wasInParentheses;
93870 }
93871 },
93872 _stylesheet0$_map$2(first, start) {
93873 var t2, key, _this = this,
93874 t1 = type$.Tuple2_Expression_Expression_2,
93875 pairs = A._setArrayType([new A.Tuple2(first, _this._stylesheet0$_expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression_2);
93876 for (t2 = _this.scanner; t2.scanChar$1(44);) {
93877 _this.whitespace$0();
93878 if (!_this._stylesheet0$_lookingAtExpression$0())
93879 break;
93880 key = _this._stylesheet0$_expressionUntilComma$0();
93881 t2.expectChar$1(58);
93882 _this.whitespace$0();
93883 pairs.push(new A.Tuple2(key, _this._stylesheet0$_expressionUntilComma$0(), t1));
93884 }
93885 t2.expectChar$1(41);
93886 t2 = t2.spanFrom$1(start);
93887 return new A.MapExpression0(A.List_List$unmodifiable(pairs, t1), t2);
93888 },
93889 _stylesheet0$_hashExpression$0() {
93890 var start, first, t2, identifier, buffer, _this = this,
93891 t1 = _this.scanner;
93892 if (t1.peekChar$1(1) === 123)
93893 return _this.identifierLike$0();
93894 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
93895 t1.expectChar$1(35);
93896 first = t1.peekChar$0();
93897 if (first != null && A.isDigit0(first)) {
93898 t1 = _this._stylesheet0$_hexColorContents$1(start);
93899 t2 = t1.originalSpan;
93900 t2.toString;
93901 return new A.ColorExpression0(t1, t2);
93902 }
93903 t2 = t1._string_scanner$_position;
93904 identifier = _this.interpolatedIdentifier$0();
93905 if (_this._stylesheet0$_isHexColor$1(identifier)) {
93906 t1.set$state(new A._SpanScannerState(t1, t2));
93907 t1 = _this._stylesheet0$_hexColorContents$1(start);
93908 t2 = t1.originalSpan;
93909 t2.toString;
93910 return new A.ColorExpression0(t1, t2);
93911 }
93912 t2 = new A.StringBuffer("");
93913 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
93914 t2._contents = "" + A.Primitives_stringFromCharCode(35);
93915 buffer.addInterpolation$1(identifier);
93916 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
93917 },
93918 _stylesheet0$_hexColorContents$1(start) {
93919 var red, green, blue, alpha, digit4, t2, t3, _this = this,
93920 digit1 = _this._stylesheet0$_hexDigit$0(),
93921 digit2 = _this._stylesheet0$_hexDigit$0(),
93922 digit3 = _this._stylesheet0$_hexDigit$0(),
93923 t1 = _this.scanner;
93924 if (!A.isHex0(t1.peekChar$0())) {
93925 red = (digit1 << 4 >>> 0) + digit1;
93926 green = (digit2 << 4 >>> 0) + digit2;
93927 blue = (digit3 << 4 >>> 0) + digit3;
93928 alpha = 1;
93929 } else {
93930 digit4 = _this._stylesheet0$_hexDigit$0();
93931 t2 = digit1 << 4 >>> 0;
93932 t3 = digit3 << 4 >>> 0;
93933 if (!A.isHex0(t1.peekChar$0())) {
93934 red = t2 + digit1;
93935 green = (digit2 << 4 >>> 0) + digit2;
93936 blue = t3 + digit3;
93937 alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
93938 } else {
93939 red = t2 + digit2;
93940 green = t3 + digit4;
93941 blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
93942 alpha = A.isHex0(t1.peekChar$0()) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : 1;
93943 }
93944 }
93945 return A.SassColor$rgb0(red, green, blue, alpha, t1.spanFrom$1(start));
93946 },
93947 _stylesheet0$_isHexColor$1(interpolation) {
93948 var t1,
93949 plain = interpolation.get$asPlain();
93950 if (plain == null)
93951 return false;
93952 t1 = plain.length;
93953 if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
93954 return false;
93955 t1 = new A.CodeUnits(plain);
93956 return t1.every$1(t1, A.character0__isHex$closure());
93957 },
93958 _stylesheet0$_hexDigit$0() {
93959 var t1 = this.scanner,
93960 char = t1.peekChar$0();
93961 if (char == null || !A.isHex0(char))
93962 t1.error$1(0, "Expected hex digit.");
93963 return A.asHex0(t1.readChar$0());
93964 },
93965 _stylesheet0$_minusExpression$0() {
93966 var _this = this,
93967 next = _this.scanner.peekChar$1(1);
93968 if (A.isDigit0(next) || next === 46)
93969 return _this._stylesheet0$_number$0();
93970 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
93971 return _this.identifierLike$0();
93972 return _this._stylesheet0$_unaryOperation$0();
93973 },
93974 _stylesheet0$_importantExpression$0() {
93975 var t1 = this.scanner,
93976 t2 = t1._string_scanner$_position;
93977 t1.readChar$0();
93978 this.whitespace$0();
93979 this.expectIdentifier$1("important");
93980 t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
93981 return new A.StringExpression0(A.Interpolation$0(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
93982 },
93983 _stylesheet0$_unaryOperation$0() {
93984 var _this = this,
93985 t1 = _this.scanner,
93986 t2 = t1._string_scanner$_position,
93987 operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
93988 if (operator == null)
93989 t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
93990 else if (_this.get$plainCss() && operator !== B.UnaryOperator_zDx0)
93991 t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
93992 _this.whitespace$0();
93993 return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
93994 },
93995 _stylesheet0$_unaryOperatorFor$1(character) {
93996 switch (character) {
93997 case 43:
93998 return B.UnaryOperator_j2w0;
93999 case 45:
94000 return B.UnaryOperator_U4G0;
94001 case 47:
94002 return B.UnaryOperator_zDx0;
94003 default:
94004 return null;
94005 }
94006 },
94007 _stylesheet0$_number$0() {
94008 var number, t4, unit, t5, _this = this,
94009 t1 = _this.scanner,
94010 t2 = t1._string_scanner$_position,
94011 first = t1.peekChar$0(),
94012 t3 = first === 45,
94013 sign = t3 ? -1 : 1;
94014 if (first === 43 || t3)
94015 t1.readChar$0();
94016 number = t1.peekChar$0() === 46 ? 0 : _this.naturalNumber$0();
94017 t3 = _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
94018 t4 = _this._stylesheet0$_tryExponent$0();
94019 if (t1.scanChar$1(37))
94020 unit = "%";
94021 else {
94022 if (_this.lookingAtIdentifier$0())
94023 t5 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
94024 else
94025 t5 = false;
94026 unit = t5 ? _this.identifier$1$unit(true) : null;
94027 }
94028 return new A.NumberExpression0(sign * ((number + t3) * t4), unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94029 },
94030 _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
94031 var t2,
94032 t1 = this.scanner,
94033 start = t1._string_scanner$_position;
94034 if (t1.peekChar$0() !== 46)
94035 return 0;
94036 if (!A.isDigit0(t1.peekChar$1(1))) {
94037 if (allowTrailingDot)
94038 return 0;
94039 t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
94040 }
94041 t1.readChar$0();
94042 while (true) {
94043 t2 = t1.peekChar$0();
94044 if (!(t2 != null && t2 >= 48 && t2 <= 57))
94045 break;
94046 t1.readChar$0();
94047 }
94048 return A.double_parse(t1.substring$1(0, start));
94049 },
94050 _stylesheet0$_tryExponent$0() {
94051 var next, t2, exponentSign, exponent,
94052 t1 = this.scanner,
94053 first = t1.peekChar$0();
94054 if (first !== 101 && first !== 69)
94055 return 1;
94056 next = t1.peekChar$1(1);
94057 if (!A.isDigit0(next) && next !== 45 && next !== 43)
94058 return 1;
94059 t1.readChar$0();
94060 t2 = next === 45;
94061 exponentSign = t2 ? -1 : 1;
94062 if (next === 43 || t2)
94063 t1.readChar$0();
94064 if (!A.isDigit0(t1.peekChar$0()))
94065 t1.error$1(0, "Expected digit.");
94066 exponent = 0;
94067 while (true) {
94068 t2 = t1.peekChar$0();
94069 if (!(t2 != null && t2 >= 48 && t2 <= 57))
94070 break;
94071 exponent = exponent * 10 + (t1.readChar$0() - 48);
94072 }
94073 return Math.pow(10, exponentSign * exponent);
94074 },
94075 _stylesheet0$_unicodeRange$0() {
94076 var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
94077 _s26_ = "Expected at most 6 digits.",
94078 t1 = _this.scanner,
94079 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94080 _this.expectIdentChar$1(117);
94081 t1.expectChar$1(43);
94082 for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
94083 ++firstRangeLength;
94084 for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
94085 ++firstRangeLength;
94086 if (firstRangeLength === 0)
94087 t1.error$1(0, 'Expected hex digit or "?".');
94088 else if (firstRangeLength > 6)
94089 _this.error$2(0, _s26_, t1.spanFrom$1(start));
94090 else if (hasQuestionMark) {
94091 t2 = t1.substring$1(0, start.position);
94092 t1 = t1.spanFrom$1(start);
94093 return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
94094 }
94095 if (t1.scanChar$1(45)) {
94096 t2 = t1._string_scanner$_position;
94097 for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
94098 ++secondRangeLength;
94099 if (secondRangeLength === 0)
94100 t1.error$1(0, "Expected hex digit.");
94101 else if (secondRangeLength > 6)
94102 _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94103 }
94104 if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
94105 t1.error$1(0, "Expected end of identifier.");
94106 t2 = t1.substring$1(0, start.position);
94107 t1 = t1.spanFrom$1(start);
94108 return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
94109 },
94110 _stylesheet0$_variable$0() {
94111 var _this = this,
94112 t1 = _this.scanner,
94113 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
94114 $name = _this.variableName$0();
94115 if (_this.get$plainCss())
94116 _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
94117 return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
94118 },
94119 _stylesheet0$_selector$0() {
94120 var t1, start, _this = this;
94121 if (_this.get$plainCss())
94122 _this.scanner.error$2$length(0, string$.The_pa, 1);
94123 t1 = _this.scanner;
94124 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94125 t1.expectChar$1(38);
94126 if (t1.scanChar$1(38)) {
94127 _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
94128 t1.set$position(t1._string_scanner$_position - 1);
94129 }
94130 return new A.SelectorExpression0(t1.spanFrom$1(start));
94131 },
94132 interpolatedString$0() {
94133 var t3, t4, buffer, next, second, t5,
94134 t1 = this.scanner,
94135 t2 = t1._string_scanner$_position,
94136 quote = t1.readChar$0();
94137 if (quote !== 39 && quote !== 34)
94138 t1.error$2$position(0, "Expected string.", t2);
94139 t3 = new A.StringBuffer("");
94140 t4 = A._setArrayType([], type$.JSArray_Object);
94141 buffer = new A.InterpolationBuffer0(t3, t4);
94142 for (; true;) {
94143 next = t1.peekChar$0();
94144 if (next === quote) {
94145 t1.readChar$0();
94146 break;
94147 } else if (next == null || next === 10 || next === 13 || next === 12)
94148 t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
94149 else if (next === 92) {
94150 second = t1.peekChar$1(1);
94151 if (second === 10 || second === 13 || second === 12) {
94152 t1.readChar$0();
94153 t1.readChar$0();
94154 if (second === 13)
94155 t1.scanChar$1(10);
94156 } else
94157 t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
94158 } else if (next === 35)
94159 if (t1.peekChar$1(1) === 123) {
94160 t5 = this.singleInterpolation$0();
94161 buffer._interpolation_buffer0$_flushText$0();
94162 t4.push(t5);
94163 } else
94164 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94165 else
94166 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94167 }
94168 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
94169 },
94170 identifierLike$0() {
94171 var invocation, lower, color, specialFunction, _this = this,
94172 t1 = _this.scanner,
94173 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
94174 identifier = _this.interpolatedIdentifier$0(),
94175 plain = identifier.get$asPlain(),
94176 t2 = plain == null,
94177 t3 = !t2;
94178 if (t3) {
94179 if (plain === "if" && t1.peekChar$0() === 40) {
94180 invocation = _this._stylesheet0$_argumentInvocation$0();
94181 return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
94182 } else if (plain === "not") {
94183 _this.whitespace$0();
94184 return new A.UnaryOperationExpression0(B.UnaryOperator_not_not0, _this._stylesheet0$_singleExpression$0(), identifier.span);
94185 }
94186 lower = plain.toLowerCase();
94187 if (t1.peekChar$0() !== 40) {
94188 switch (plain) {
94189 case "false":
94190 return new A.BooleanExpression0(false, identifier.span);
94191 case "null":
94192 return new A.NullExpression0(identifier.span);
94193 case "true":
94194 return new A.BooleanExpression0(true, identifier.span);
94195 }
94196 color = $.$get$colorsByName0().$index(0, lower);
94197 if (color != null) {
94198 color = A.SassColor$rgb0(color.get$red(color), color.get$green(color), color.get$blue(color), color._color0$_alpha, identifier.span);
94199 t1 = color.originalSpan;
94200 t1.toString;
94201 return new A.ColorExpression0(color, t1);
94202 }
94203 }
94204 specialFunction = _this.trySpecialFunction$2(lower, start);
94205 if (specialFunction != null)
94206 return specialFunction;
94207 }
94208 switch (t1.peekChar$0()) {
94209 case 46:
94210 if (t1.peekChar$1(1) === 46)
94211 return new A.StringExpression0(identifier, false);
94212 t1.readChar$0();
94213 if (t3)
94214 return _this.namespacedExpression$2(plain, start);
94215 _this.error$2(0, string$.Interpn, identifier.span);
94216 break;
94217 case 40:
94218 if (t2)
94219 return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94220 else
94221 return new A.FunctionExpression0(null, plain, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94222 default:
94223 return new A.StringExpression0(identifier, false);
94224 }
94225 },
94226 namespacedExpression$2(namespace, start) {
94227 var $name, _this = this,
94228 t1 = _this.scanner;
94229 if (t1.peekChar$0() === 36) {
94230 $name = _this.variableName$0();
94231 _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
94232 return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
94233 }
94234 return new A.FunctionExpression0(namespace, _this._stylesheet0$_publicIdentifier$0(), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94235 },
94236 trySpecialFunction$2($name, start) {
94237 var t2, buffer, t3, next, _this = this, _null = null,
94238 t1 = _this.scanner,
94239 calculation = t1.peekChar$0() === 40 ? _this._stylesheet0$_tryCalculation$2($name, start) : _null;
94240 if (calculation != null)
94241 return calculation;
94242 switch (A.unvendor0($name)) {
94243 case "calc":
94244 case "element":
94245 case "expression":
94246 if (!t1.scanChar$1(40))
94247 return _null;
94248 t2 = new A.StringBuffer("");
94249 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
94250 t3 = "" + $name;
94251 t2._contents = t3;
94252 t2._contents = t3 + A.Primitives_stringFromCharCode(40);
94253 break;
94254 case "progid":
94255 if (!t1.scanChar$1(58))
94256 return _null;
94257 t2 = new A.StringBuffer("");
94258 buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
94259 t3 = "" + $name;
94260 t2._contents = t3;
94261 t2._contents = t3 + A.Primitives_stringFromCharCode(58);
94262 next = t1.peekChar$0();
94263 while (true) {
94264 if (next != null) {
94265 if (!(next >= 97 && next <= 122))
94266 t3 = next >= 65 && next <= 90;
94267 else
94268 t3 = true;
94269 t3 = t3 || next === 46;
94270 } else
94271 t3 = false;
94272 if (!t3)
94273 break;
94274 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94275 next = t1.peekChar$0();
94276 }
94277 t1.expectChar$1(40);
94278 t2._contents += A.Primitives_stringFromCharCode(40);
94279 break;
94280 case "url":
94281 return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
94282 default:
94283 return _null;
94284 }
94285 buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
94286 t1.expectChar$1(41);
94287 buffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(41);
94288 return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
94289 },
94290 _stylesheet0$_tryCalculation$2($name, start) {
94291 var beforeArguments, $arguments, t1, exception, t2, _this = this;
94292 switch ($name) {
94293 case "calc":
94294 $arguments = _this._stylesheet0$_calculationArguments$1(1);
94295 t1 = _this.scanner.spanFrom$1(start);
94296 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
94297 case "min":
94298 case "max":
94299 t1 = _this.scanner;
94300 beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
94301 $arguments = null;
94302 try {
94303 $arguments = _this._stylesheet0$_calculationArguments$0();
94304 } catch (exception) {
94305 if (type$.FormatException._is(A.unwrapException(exception))) {
94306 t1.set$state(beforeArguments);
94307 return null;
94308 } else
94309 throw exception;
94310 }
94311 t2 = $arguments;
94312 t1 = t1.spanFrom$1(start);
94313 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0(t2), t1);
94314 case "clamp":
94315 $arguments = _this._stylesheet0$_calculationArguments$1(3);
94316 t1 = _this.scanner.spanFrom$1(start);
94317 return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
94318 default:
94319 return null;
94320 }
94321 },
94322 _stylesheet0$_calculationArguments$1(maxArgs) {
94323 var interpolation, $arguments, t2, _this = this,
94324 t1 = _this.scanner;
94325 t1.expectChar$1(40);
94326 interpolation = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
94327 if (interpolation != null) {
94328 t1.expectChar$1(41);
94329 return A._setArrayType([interpolation], type$.JSArray_Expression_2);
94330 }
94331 _this.whitespace$0();
94332 $arguments = A._setArrayType([_this._stylesheet0$_calculationSum$0()], type$.JSArray_Expression_2);
94333 t2 = maxArgs != null;
94334 while (true) {
94335 if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
94336 break;
94337 _this.whitespace$0();
94338 $arguments.push(_this._stylesheet0$_calculationSum$0());
94339 }
94340 t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
94341 return $arguments;
94342 },
94343 _stylesheet0$_calculationArguments$0() {
94344 return this._stylesheet0$_calculationArguments$1(null);
94345 },
94346 _stylesheet0$_calculationSum$0() {
94347 var t1, next, t2, t3, _this = this,
94348 sum = _this._stylesheet0$_calculationProduct$0();
94349 for (t1 = _this.scanner; true;) {
94350 next = t1.peekChar$0();
94351 t2 = next === 43;
94352 if (t2 || next === 45) {
94353 t3 = t1.peekChar$1(-1);
94354 if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
94355 t3 = t1.peekChar$1(1);
94356 t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
94357 } else
94358 t3 = true;
94359 if (t3)
94360 t1.error$1(0, string$.x22x2b__an);
94361 t1.readChar$0();
94362 _this.whitespace$0();
94363 t2 = t2 ? B.BinaryOperator_AcR2 : B.BinaryOperator_iyO0;
94364 sum = new A.BinaryOperationExpression0(t2, sum, _this._stylesheet0$_calculationProduct$0(), false);
94365 } else
94366 return sum;
94367 }
94368 },
94369 _stylesheet0$_calculationProduct$0() {
94370 var t1, next, t2, _this = this,
94371 product = _this._stylesheet0$_calculationValue$0();
94372 for (t1 = _this.scanner; true;) {
94373 _this.whitespace$0();
94374 next = t1.peekChar$0();
94375 t2 = next === 42;
94376 if (t2 || next === 47) {
94377 t1.readChar$0();
94378 _this.whitespace$0();
94379 t2 = t2 ? B.BinaryOperator_O1M0 : B.BinaryOperator_RTB0;
94380 product = new A.BinaryOperationExpression0(t2, product, _this._stylesheet0$_calculationValue$0(), false);
94381 } else
94382 return product;
94383 }
94384 },
94385 _stylesheet0$_calculationValue$0() {
94386 var t2, value, start, ident, lowerCase, calculation, _this = this,
94387 t1 = _this.scanner,
94388 next = t1.peekChar$0();
94389 if (next === 43 || next === 45 || next === 46 || A.isDigit0(next))
94390 return _this._stylesheet0$_number$0();
94391 else if (next === 36)
94392 return _this._stylesheet0$_variable$0();
94393 else if (next === 40) {
94394 t2 = t1._string_scanner$_position;
94395 t1.readChar$0();
94396 value = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
94397 if (value == null) {
94398 _this.whitespace$0();
94399 value = _this._stylesheet0$_calculationSum$0();
94400 }
94401 _this.whitespace$0();
94402 t1.expectChar$1(41);
94403 return new A.ParenthesizedExpression0(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94404 } else if (!_this.lookingAtIdentifier$0())
94405 t1.error$1(0, string$.Expectn);
94406 else {
94407 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94408 ident = _this.identifier$0();
94409 if (t1.scanChar$1(46))
94410 return _this.namespacedExpression$2(ident, start);
94411 if (t1.peekChar$0() !== 40)
94412 t1.error$1(0, 'Expected "(" or ".".');
94413 lowerCase = ident.toLowerCase();
94414 calculation = _this._stylesheet0$_tryCalculation$2(lowerCase, start);
94415 if (calculation != null)
94416 return calculation;
94417 else if (lowerCase === "if")
94418 return new A.IfExpression0(_this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94419 else
94420 return new A.FunctionExpression0(null, ident, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
94421 }
94422 },
94423 _stylesheet0$_containsCalculationInterpolation$0() {
94424 var t2, parens, next, target, t3, _null = null,
94425 _s64_ = string$.The_gi,
94426 _s17_ = "Invalid position ",
94427 brackets = A._setArrayType([], type$.JSArray_int),
94428 t1 = this.scanner,
94429 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94430 for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
94431 next = t1.peekChar$0();
94432 switch (next) {
94433 case 92:
94434 target = 1;
94435 break;
94436 case 47:
94437 target = 2;
94438 break;
94439 case 39:
94440 case 34:
94441 target = 3;
94442 break;
94443 case 35:
94444 target = 4;
94445 break;
94446 case 40:
94447 target = 5;
94448 break;
94449 case 123:
94450 case 91:
94451 target = 6;
94452 break;
94453 case 41:
94454 target = 7;
94455 break;
94456 case 125:
94457 case 93:
94458 target = 8;
94459 break;
94460 default:
94461 target = 9;
94462 break;
94463 }
94464 c$0:
94465 for (; true;)
94466 switch (target) {
94467 case 1:
94468 t1.readChar$0();
94469 t1.readChar$0();
94470 break c$0;
94471 case 2:
94472 if (!this.scanComment$0())
94473 t1.readChar$0();
94474 break c$0;
94475 case 3:
94476 this.interpolatedString$0();
94477 break c$0;
94478 case 4:
94479 if (parens === 0 && t1.peekChar$1(1) === 123) {
94480 if (start._scanner !== t1)
94481 A.throwExpression(A.ArgumentError$(_s64_, _null));
94482 t3 = start.position;
94483 if (t3 < 0 || t3 > t2)
94484 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
94485 t1._string_scanner$_position = t3;
94486 t1._lastMatch = null;
94487 return true;
94488 }
94489 t1.readChar$0();
94490 break c$0;
94491 case 5:
94492 ++parens;
94493 target = 6;
94494 continue c$0;
94495 case 6:
94496 next.toString;
94497 brackets.push(A.opposite0(next));
94498 t1.readChar$0();
94499 break c$0;
94500 case 7:
94501 --parens;
94502 target = 8;
94503 continue c$0;
94504 case 8:
94505 if (brackets.length === 0 || brackets.pop() !== next) {
94506 if (start._scanner !== t1)
94507 A.throwExpression(A.ArgumentError$(_s64_, _null));
94508 t3 = start.position;
94509 if (t3 < 0 || t3 > t2)
94510 A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
94511 t1._string_scanner$_position = t3;
94512 t1._lastMatch = null;
94513 return false;
94514 }
94515 t1.readChar$0();
94516 break c$0;
94517 case 9:
94518 t1.readChar$0();
94519 break c$0;
94520 }
94521 }
94522 t1.set$state(start);
94523 return false;
94524 },
94525 _stylesheet0$_tryUrlContents$2$name(start, $name) {
94526 var t3, t4, buffer, t5, next, endPosition, result, _this = this,
94527 t1 = _this.scanner,
94528 t2 = t1._string_scanner$_position;
94529 if (!t1.scanChar$1(40))
94530 return null;
94531 _this.whitespaceWithoutComments$0();
94532 t3 = new A.StringBuffer("");
94533 t4 = A._setArrayType([], type$.JSArray_Object);
94534 buffer = new A.InterpolationBuffer0(t3, t4);
94535 t5 = "" + ($name == null ? "url" : $name);
94536 t3._contents = t5;
94537 t3._contents = t5 + A.Primitives_stringFromCharCode(40);
94538 for (; true;) {
94539 next = t1.peekChar$0();
94540 if (next == null)
94541 break;
94542 else if (next === 92)
94543 t3._contents += A.S(_this.escape$0());
94544 else {
94545 if (next !== 33)
94546 if (next !== 37)
94547 if (next !== 38)
94548 t5 = next >= 42 && next <= 126 || next >= 128;
94549 else
94550 t5 = true;
94551 else
94552 t5 = true;
94553 else
94554 t5 = true;
94555 if (t5)
94556 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94557 else if (next === 35)
94558 if (t1.peekChar$1(1) === 123) {
94559 t5 = _this.singleInterpolation$0();
94560 buffer._interpolation_buffer0$_flushText$0();
94561 t4.push(t5);
94562 } else
94563 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94564 else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
94565 _this.whitespaceWithoutComments$0();
94566 if (t1.peekChar$0() !== 41)
94567 break;
94568 } else if (next === 41) {
94569 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94570 endPosition = t1._string_scanner$_position;
94571 t2 = t1._sourceFile;
94572 t5 = start.position;
94573 t1 = new A._FileSpan(t2, t5, endPosition);
94574 t1._FileSpan$3(t2, t5, endPosition);
94575 t5 = type$.Object;
94576 t2 = A.List_List$of(t4, true, t5);
94577 t4 = t3._contents;
94578 if (t4.length !== 0)
94579 t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
94580 result = A.List_List$from(t2, false, t5);
94581 result.fixed$length = Array;
94582 result.immutable$list = Array;
94583 t3 = new A.Interpolation0(result, t1);
94584 t3.Interpolation$20(t2, t1);
94585 return t3;
94586 } else
94587 break;
94588 }
94589 }
94590 t1.set$state(new A._SpanScannerState(t1, t2));
94591 return null;
94592 },
94593 _stylesheet0$_tryUrlContents$1(start) {
94594 return this._stylesheet0$_tryUrlContents$2$name(start, null);
94595 },
94596 dynamicUrl$0() {
94597 var contents, _this = this,
94598 t1 = _this.scanner,
94599 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
94600 _this.expectIdentifier$1("url");
94601 contents = _this._stylesheet0$_tryUrlContents$1(start);
94602 if (contents != null)
94603 return new A.StringExpression0(contents, false);
94604 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));
94605 },
94606 almostAnyValue$1$omitComments(omitComments) {
94607 var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
94608 t1 = _this.scanner,
94609 t2 = t1._string_scanner$_position,
94610 t3 = new A.StringBuffer(""),
94611 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
94612 $label0$1:
94613 for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
94614 next = t1.peekChar$0();
94615 switch (next) {
94616 case 92:
94617 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94618 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94619 break;
94620 case 34:
94621 case 39:
94622 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
94623 break;
94624 case 47:
94625 commentStart = t1._string_scanner$_position;
94626 if (_this.scanComment$0()) {
94627 if (t6) {
94628 end = t1._string_scanner$_position;
94629 t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
94630 }
94631 } else
94632 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94633 break;
94634 case 35:
94635 if (t1.peekChar$1(1) === 123)
94636 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
94637 else
94638 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94639 break;
94640 case 13:
94641 case 10:
94642 case 12:
94643 if (_this.get$indented())
94644 break $label0$1;
94645 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94646 break;
94647 case 33:
94648 case 59:
94649 case 123:
94650 case 125:
94651 break $label0$1;
94652 case 117:
94653 case 85:
94654 t7 = t1._string_scanner$_position;
94655 if (!_this.scanIdentifier$1("url")) {
94656 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94657 break;
94658 }
94659 contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t7));
94660 if (contents == null) {
94661 if (t7 < 0 || t7 > t5)
94662 A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
94663 t1._string_scanner$_position = t7;
94664 t1._lastMatch = null;
94665 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94666 } else
94667 buffer.addInterpolation$1(contents);
94668 break;
94669 default:
94670 if (next == null)
94671 break $label0$1;
94672 if (_this.lookingAtIdentifier$0())
94673 t3._contents += _this.identifier$0();
94674 else
94675 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94676 break;
94677 }
94678 }
94679 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94680 },
94681 almostAnyValue$0() {
94682 return this.almostAnyValue$1$omitComments(false);
94683 },
94684 _stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
94685 var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
94686 t1 = _this.scanner,
94687 t2 = t1._string_scanner$_position,
94688 t3 = new A.StringBuffer(""),
94689 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object)),
94690 brackets = A._setArrayType([], type$.JSArray_int);
94691 $label0$1:
94692 for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
94693 next = t1.peekChar$0();
94694 switch (next) {
94695 case 92:
94696 t3._contents += A.S(_this.escape$1$identifierStart(true));
94697 wroteNewline = false;
94698 break;
94699 case 34:
94700 case 39:
94701 buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
94702 wroteNewline = false;
94703 break;
94704 case 47:
94705 if (t1.peekChar$1(1) === 42) {
94706 t8 = _this.get$loudComment();
94707 start = t1._string_scanner$_position;
94708 t8.call$0();
94709 end = t1._string_scanner$_position;
94710 t3._contents += B.JSString_methods.substring$2(t4, start, end);
94711 } else
94712 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94713 wroteNewline = false;
94714 break;
94715 case 35:
94716 if (t1.peekChar$1(1) === 123)
94717 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
94718 else
94719 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94720 wroteNewline = false;
94721 break;
94722 case 32:
94723 case 9:
94724 if (!wroteNewline) {
94725 t8 = t1.peekChar$1(1);
94726 t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
94727 } else
94728 t8 = true;
94729 if (t8)
94730 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94731 else
94732 t1.readChar$0();
94733 break;
94734 case 10:
94735 case 13:
94736 case 12:
94737 if (_this.get$indented())
94738 break $label0$1;
94739 t8 = t1.peekChar$1(-1);
94740 if (!(t8 === 10 || t8 === 13 || t8 === 12))
94741 t3._contents += "\n";
94742 t1.readChar$0();
94743 wroteNewline = true;
94744 break;
94745 case 40:
94746 case 123:
94747 case 91:
94748 next.toString;
94749 t3._contents += A.Primitives_stringFromCharCode(next);
94750 brackets.push(A.opposite0(t1.readChar$0()));
94751 wroteNewline = false;
94752 break;
94753 case 41:
94754 case 125:
94755 case 93:
94756 if (brackets.length === 0)
94757 break $label0$1;
94758 next.toString;
94759 t3._contents += A.Primitives_stringFromCharCode(next);
94760 t1.expectChar$1(brackets.pop());
94761 wroteNewline = false;
94762 break;
94763 case 59:
94764 if (t7 && brackets.length === 0)
94765 break $label0$1;
94766 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94767 wroteNewline = false;
94768 break;
94769 case 58:
94770 if (t6 && brackets.length === 0)
94771 break $label0$1;
94772 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94773 wroteNewline = false;
94774 break;
94775 case 117:
94776 case 85:
94777 t8 = t1._string_scanner$_position;
94778 if (!_this.scanIdentifier$1("url")) {
94779 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94780 wroteNewline = false;
94781 break;
94782 }
94783 contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t8));
94784 if (contents == null) {
94785 if (t8 < 0 || t8 > t5)
94786 A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
94787 t1._string_scanner$_position = t8;
94788 t1._lastMatch = null;
94789 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94790 } else
94791 buffer.addInterpolation$1(contents);
94792 wroteNewline = false;
94793 break;
94794 default:
94795 if (next == null)
94796 break $label0$1;
94797 if (_this.lookingAtIdentifier$0())
94798 t3._contents += _this.identifier$0();
94799 else
94800 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94801 wroteNewline = false;
94802 break;
94803 }
94804 }
94805 if (brackets.length !== 0)
94806 t1.expectChar$1(B.JSArray_methods.get$last(brackets));
94807 if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
94808 t1.error$1(0, "Expected token.");
94809 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94810 },
94811 _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
94812 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
94813 },
94814 _stylesheet0$_interpolatedDeclarationValue$0() {
94815 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
94816 },
94817 _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
94818 return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
94819 },
94820 interpolatedIdentifier$0() {
94821 var first, _this = this,
94822 _s20_ = "Expected identifier.",
94823 t1 = _this.scanner,
94824 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
94825 t2 = new A.StringBuffer(""),
94826 t3 = A._setArrayType([], type$.JSArray_Object),
94827 buffer = new A.InterpolationBuffer0(t2, t3);
94828 if (t1.scanChar$1(45)) {
94829 t2._contents += A.Primitives_stringFromCharCode(45);
94830 if (t1.scanChar$1(45)) {
94831 t2._contents += A.Primitives_stringFromCharCode(45);
94832 _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
94833 return buffer.interpolation$1(t1.spanFrom$1(start));
94834 }
94835 }
94836 first = t1.peekChar$0();
94837 if (first == null)
94838 t1.error$1(0, _s20_);
94839 else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
94840 t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94841 else if (first === 92)
94842 t2._contents += A.S(_this.escape$1$identifierStart(true));
94843 else if (first === 35 && t1.peekChar$1(1) === 123) {
94844 t2 = _this.singleInterpolation$0();
94845 buffer._interpolation_buffer0$_flushText$0();
94846 t3.push(t2);
94847 } else
94848 t1.error$1(0, _s20_);
94849 _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
94850 return buffer.interpolation$1(t1.spanFrom$1(start));
94851 },
94852 _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
94853 var t1, t2, t3, next, t4;
94854 for (t1 = buffer._interpolation_buffer0$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer0$_text; true;) {
94855 next = t2.peekChar$0();
94856 if (next == null)
94857 break;
94858 else {
94859 if (next !== 95)
94860 if (next !== 45) {
94861 if (!(next >= 97 && next <= 122))
94862 t4 = next >= 65 && next <= 90;
94863 else
94864 t4 = true;
94865 if (!t4)
94866 t4 = next >= 48 && next <= 57;
94867 else
94868 t4 = true;
94869 t4 = t4 || next >= 128;
94870 } else
94871 t4 = true;
94872 else
94873 t4 = true;
94874 if (t4)
94875 t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
94876 else if (next === 92)
94877 t3._contents += A.S(this.escape$0());
94878 else if (next === 35 && t2.peekChar$1(1) === 123) {
94879 t4 = this.singleInterpolation$0();
94880 buffer._interpolation_buffer0$_flushText$0();
94881 t1.push(t4);
94882 } else
94883 break;
94884 }
94885 }
94886 },
94887 singleInterpolation$0() {
94888 var contents, _this = this,
94889 t1 = _this.scanner,
94890 t2 = t1._string_scanner$_position;
94891 t1.expect$1("#{");
94892 _this.whitespace$0();
94893 contents = _this.expression$0();
94894 t1.expectChar$1(125);
94895 if (_this.get$plainCss())
94896 _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94897 return contents;
94898 },
94899 _stylesheet0$_mediaQueryList$0() {
94900 var t4,
94901 t1 = this.scanner,
94902 t2 = t1._string_scanner$_position,
94903 t3 = new A.StringBuffer(""),
94904 buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
94905 for (; true;) {
94906 this.whitespace$0();
94907 this._stylesheet0$_mediaQuery$1(buffer);
94908 if (!t1.scanChar$1(44))
94909 break;
94910 t4 = t3._contents += A.Primitives_stringFromCharCode(44);
94911 t3._contents = t4 + A.Primitives_stringFromCharCode(32);
94912 }
94913 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
94914 },
94915 _stylesheet0$_mediaQuery$1(buffer) {
94916 var t1, identifier, _this = this;
94917 if (_this.scanner.peekChar$0() !== 40) {
94918 buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
94919 _this.whitespace$0();
94920 if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
94921 return;
94922 t1 = buffer._interpolation_buffer0$_text;
94923 t1._contents += A.Primitives_stringFromCharCode(32);
94924 identifier = _this.interpolatedIdentifier$0();
94925 _this.whitespace$0();
94926 if (A.equalsIgnoreCase0(identifier.get$asPlain(), "and"))
94927 t1._contents += " and ";
94928 else {
94929 buffer.addInterpolation$1(identifier);
94930 if (_this.scanIdentifier$1("and")) {
94931 _this.whitespace$0();
94932 t1._contents += " and ";
94933 } else
94934 return;
94935 }
94936 }
94937 for (t1 = buffer._interpolation_buffer0$_text; true;) {
94938 _this.whitespace$0();
94939 buffer.addInterpolation$1(_this._stylesheet0$_mediaFeature$0());
94940 _this.whitespace$0();
94941 if (!_this.scanIdentifier$1("and"))
94942 break;
94943 t1._contents += " and ";
94944 }
94945 },
94946 _stylesheet0$_mediaFeature$0() {
94947 var interpolation, t2, t3, t4, buffer, t5, next, t6, _this = this,
94948 t1 = _this.scanner;
94949 if (t1.peekChar$0() === 35) {
94950 interpolation = _this.singleInterpolation$0();
94951 return A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
94952 }
94953 t2 = t1._string_scanner$_position;
94954 t3 = new A.StringBuffer("");
94955 t4 = A._setArrayType([], type$.JSArray_Object);
94956 buffer = new A.InterpolationBuffer0(t3, t4);
94957 t1.expectChar$1(40);
94958 t3._contents += A.Primitives_stringFromCharCode(40);
94959 _this.whitespace$0();
94960 t5 = _this._stylesheet0$_expressionUntilComparison$0();
94961 buffer._interpolation_buffer0$_flushText$0();
94962 t4.push(t5);
94963 if (t1.scanChar$1(58)) {
94964 _this.whitespace$0();
94965 t5 = t3._contents += A.Primitives_stringFromCharCode(58);
94966 t3._contents = t5 + A.Primitives_stringFromCharCode(32);
94967 t5 = _this.expression$0();
94968 buffer._interpolation_buffer0$_flushText$0();
94969 t4.push(t5);
94970 } else {
94971 next = t1.peekChar$0();
94972 t5 = next !== 60;
94973 if (!t5 || next === 62 || next === 61) {
94974 t3._contents += A.Primitives_stringFromCharCode(32);
94975 t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
94976 if ((!t5 || next === 62) && t1.scanChar$1(61))
94977 t3._contents += A.Primitives_stringFromCharCode(61);
94978 t3._contents += A.Primitives_stringFromCharCode(32);
94979 _this.whitespace$0();
94980 t6 = _this._stylesheet0$_expressionUntilComparison$0();
94981 buffer._interpolation_buffer0$_flushText$0();
94982 t4.push(t6);
94983 if (!t5 || next === 62) {
94984 next.toString;
94985 t5 = t1.scanChar$1(next);
94986 } else
94987 t5 = false;
94988 if (t5) {
94989 t5 = t3._contents += A.Primitives_stringFromCharCode(32);
94990 t3._contents = t5 + A.Primitives_stringFromCharCode(next);
94991 if (t1.scanChar$1(61))
94992 t3._contents += A.Primitives_stringFromCharCode(61);
94993 t3._contents += A.Primitives_stringFromCharCode(32);
94994 _this.whitespace$0();
94995 t5 = _this._stylesheet0$_expressionUntilComparison$0();
94996 buffer._interpolation_buffer0$_flushText$0();
94997 t4.push(t5);
94998 }
94999 }
95000 }
95001 t1.expectChar$1(41);
95002 _this.whitespace$0();
95003 t3._contents += A.Primitives_stringFromCharCode(41);
95004 return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95005 },
95006 _stylesheet0$_expressionUntilComparison$0() {
95007 return this.expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure0(this));
95008 },
95009 _stylesheet0$_supportsCondition$0() {
95010 var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
95011 t1 = _this.scanner,
95012 t2 = t1._string_scanner$_position;
95013 if (_this.scanIdentifier$1("not")) {
95014 _this.whitespace$0();
95015 return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
95016 }
95017 condition = _this._stylesheet0$_supportsConditionInParens$0();
95018 _this.whitespace$0();
95019 for (operator = null; _this.lookingAtIdentifier$0();) {
95020 if (operator != null)
95021 _this.expectIdentifier$1(operator);
95022 else if (_this.scanIdentifier$1("or"))
95023 operator = "or";
95024 else {
95025 _this.expectIdentifier$1("and");
95026 operator = "and";
95027 }
95028 _this.whitespace$0();
95029 right = _this._stylesheet0$_supportsConditionInParens$0();
95030 endPosition = t1._string_scanner$_position;
95031 t3 = t1._sourceFile;
95032 t4 = new A._FileSpan(t3, t2, endPosition);
95033 t4._FileSpan$3(t3, t2, endPosition);
95034 condition = new A.SupportsOperation0(condition, right, operator, t4);
95035 lowerOperator = operator.toLowerCase();
95036 if (lowerOperator !== "and" && lowerOperator !== "or")
95037 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
95038 _this.whitespace$0();
95039 }
95040 return condition;
95041 },
95042 _stylesheet0$_supportsConditionInParens$0() {
95043 var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
95044 t1 = _this.scanner,
95045 start = new A._SpanScannerState(t1, t1._string_scanner$_position);
95046 if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
95047 identifier0 = _this.interpolatedIdentifier$0();
95048 t2 = identifier0.get$asPlain();
95049 if ((t2 == null ? null : t2.toLowerCase()) === "not")
95050 _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
95051 if (t1.scanChar$1(40)) {
95052 $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
95053 t1.expectChar$1(41);
95054 return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
95055 } else {
95056 t2 = identifier0.contents;
95057 if (t2.length !== 1 || !type$.Expression_2._is(B.JSArray_methods.get$first(t2)))
95058 _this.error$2(0, "Expected @supports condition.", identifier0.span);
95059 else
95060 return new A.SupportsInterpolation0(type$.Expression_2._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
95061 }
95062 }
95063 t1.expectChar$1(40);
95064 _this.whitespace$0();
95065 if (_this.scanIdentifier$1("not")) {
95066 _this.whitespace$0();
95067 condition = _this._stylesheet0$_supportsConditionInParens$0();
95068 t1.expectChar$1(41);
95069 return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
95070 } else if (t1.peekChar$0() === 40) {
95071 condition = _this._stylesheet0$_supportsCondition$0();
95072 t1.expectChar$1(41);
95073 return condition;
95074 }
95075 $name = null;
95076 nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
95077 wasInParentheses = _this._stylesheet0$_inParentheses;
95078 try {
95079 $name = _this.expression$0();
95080 t1.expectChar$1(58);
95081 } catch (exception) {
95082 if (type$.FormatException._is(A.unwrapException(exception))) {
95083 t1.set$state(nameStart);
95084 _this._stylesheet0$_inParentheses = wasInParentheses;
95085 identifier = _this.interpolatedIdentifier$0();
95086 operation = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
95087 if (operation != null) {
95088 t1.expectChar$1(41);
95089 return operation;
95090 }
95091 t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
95092 t2.addInterpolation$1(identifier);
95093 t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
95094 contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
95095 if (t1.peekChar$0() === 58)
95096 throw exception;
95097 t1.expectChar$1(41);
95098 return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
95099 } else
95100 throw exception;
95101 }
95102 declaration = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
95103 t1.expectChar$1(41);
95104 return declaration;
95105 },
95106 _stylesheet0$_supportsDeclarationValue$2($name, start) {
95107 var value, _this = this;
95108 if ($name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
95109 value = new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false);
95110 else {
95111 _this.whitespace$0();
95112 value = _this.expression$0();
95113 }
95114 return new A.SupportsDeclaration0($name, value, _this.scanner.spanFrom$1(start));
95115 },
95116 _stylesheet0$_trySupportsOperation$2(interpolation, start) {
95117 var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
95118 t1 = interpolation.contents;
95119 if (t1.length !== 1)
95120 return _null;
95121 expression = B.JSArray_methods.get$first(t1);
95122 if (!type$.Expression_2._is(expression))
95123 return _null;
95124 t1 = _this.scanner;
95125 beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
95126 _this.whitespace$0();
95127 for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
95128 if (operator != null)
95129 _this.expectIdentifier$1(operator);
95130 else if (_this.scanIdentifier$1("and"))
95131 operator = "and";
95132 else {
95133 if (!_this.scanIdentifier$1("or")) {
95134 if (beforeWhitespace._scanner !== t1)
95135 A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
95136 t2 = beforeWhitespace.position;
95137 if (t2 < 0 || t2 > t1.string.length)
95138 A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
95139 t1._string_scanner$_position = t2;
95140 return t1._lastMatch = null;
95141 }
95142 operator = "or";
95143 }
95144 _this.whitespace$0();
95145 right = _this._stylesheet0$_supportsConditionInParens$0();
95146 t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
95147 endPosition = t1._string_scanner$_position;
95148 t5 = t1._sourceFile;
95149 t6 = new A._FileSpan(t5, t2, endPosition);
95150 t6._FileSpan$3(t5, t2, endPosition);
95151 operation = new A.SupportsOperation0(t4, right, operator, t6);
95152 lowerOperator = operator.toLowerCase();
95153 if (lowerOperator !== "and" && lowerOperator !== "or")
95154 A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
95155 _this.whitespace$0();
95156 }
95157 return operation;
95158 },
95159 _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
95160 var second,
95161 t1 = this.scanner,
95162 first = t1.peekChar$0();
95163 if (first == null)
95164 return false;
95165 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
95166 return true;
95167 if (first === 35)
95168 return t1.peekChar$1(1) === 123;
95169 if (first !== 45)
95170 return false;
95171 second = t1.peekChar$1(1);
95172 if (second == null)
95173 return false;
95174 if (second === 35)
95175 return t1.peekChar$1(2) === 123;
95176 return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
95177 },
95178 _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
95179 var t1 = this.scanner,
95180 first = t1.peekChar$0();
95181 if (first == null)
95182 return false;
95183 if (first === 95 || A.isAlphabetic1(first) || first >= 128 || A.isDigit0(first) || first === 45 || first === 92)
95184 return true;
95185 return first === 35 && t1.peekChar$1(1) === 123;
95186 },
95187 _stylesheet0$_lookingAtExpression$0() {
95188 var next,
95189 t1 = this.scanner,
95190 character = t1.peekChar$0();
95191 if (character == null)
95192 return false;
95193 if (character === 46)
95194 return t1.peekChar$1(1) !== 46;
95195 if (character === 33) {
95196 next = t1.peekChar$1(1);
95197 if (next != null)
95198 if ((next | 32) >>> 0 !== 105)
95199 t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
95200 else
95201 t1 = true;
95202 else
95203 t1 = true;
95204 return t1;
95205 }
95206 if (character !== 40)
95207 if (character !== 47)
95208 if (character !== 91)
95209 if (character !== 39)
95210 if (character !== 34)
95211 if (character !== 35)
95212 if (character !== 43)
95213 if (character !== 45)
95214 if (character !== 92)
95215 if (character !== 36)
95216 if (character !== 38)
95217 t1 = character === 95 || A.isAlphabetic1(character) || character >= 128 || A.isDigit0(character);
95218 else
95219 t1 = true;
95220 else
95221 t1 = true;
95222 else
95223 t1 = true;
95224 else
95225 t1 = true;
95226 else
95227 t1 = true;
95228 else
95229 t1 = true;
95230 else
95231 t1 = true;
95232 else
95233 t1 = true;
95234 else
95235 t1 = true;
95236 else
95237 t1 = true;
95238 else
95239 t1 = true;
95240 return t1;
95241 },
95242 _stylesheet0$_withChildren$1$3(child, start, create) {
95243 var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
95244 this.whitespaceWithoutComments$0();
95245 return result;
95246 },
95247 _stylesheet0$_withChildren$3(child, start, create) {
95248 return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
95249 },
95250 _stylesheet0$_urlString$0() {
95251 var innerError, stackTrace, t2, exception,
95252 t1 = this.scanner,
95253 start = new A._SpanScannerState(t1, t1._string_scanner$_position),
95254 url = this.string$0();
95255 try {
95256 t2 = A.Uri_parse(url);
95257 return t2;
95258 } catch (exception) {
95259 t2 = A.unwrapException(exception);
95260 if (type$.FormatException._is(t2)) {
95261 innerError = t2;
95262 stackTrace = A.getTraceFromException(exception);
95263 this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
95264 } else
95265 throw exception;
95266 }
95267 },
95268 _stylesheet0$_publicIdentifier$0() {
95269 var _this = this,
95270 t1 = _this.scanner,
95271 t2 = t1._string_scanner$_position,
95272 result = _this.identifier$1$normalize(true);
95273 _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
95274 return result;
95275 },
95276 _stylesheet0$_assertPublic$2(identifier, span) {
95277 var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
95278 if (!(first === 45 || first === 95))
95279 return;
95280 this.error$2(0, string$.Privat, span.call$0());
95281 },
95282 get$plainCss() {
95283 return false;
95284 }
95285 };
95286 A.StylesheetParser_parse_closure0.prototype = {
95287 call$0() {
95288 var statements, t4,
95289 t1 = this.$this,
95290 t2 = t1.scanner,
95291 t3 = t2._string_scanner$_position;
95292 t2.scanChar$1(65279);
95293 statements = t1.statements$1(new A.StylesheetParser_parse__closure1(t1));
95294 t2.expectDone$0();
95295 t4 = t1._stylesheet0$_globalVariables;
95296 t4 = t4.get$values(t4);
95297 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));
95298 return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
95299 },
95300 $signature: 541
95301 };
95302 A.StylesheetParser_parse__closure1.prototype = {
95303 call$0() {
95304 var t1 = this.$this;
95305 if (t1.scanner.scan$1("@charset")) {
95306 t1.whitespace$0();
95307 t1.string$0();
95308 return null;
95309 }
95310 return t1._stylesheet0$_statement$1$root(true);
95311 },
95312 $signature: 542
95313 };
95314 A.StylesheetParser_parse__closure2.prototype = {
95315 call$1(declaration) {
95316 var t1 = declaration.name,
95317 t2 = declaration.expression;
95318 return A.VariableDeclaration$0(t1, new A.NullExpression0(t2.get$span(t2)), declaration.span, null, false, true, null);
95319 },
95320 $signature: 543
95321 };
95322 A.StylesheetParser_parseArgumentDeclaration_closure0.prototype = {
95323 call$0() {
95324 var $arguments,
95325 t1 = this.$this,
95326 t2 = t1.scanner;
95327 t2.expectChar$2$name(64, "@-rule");
95328 t1.identifier$0();
95329 t1.whitespace$0();
95330 t1.identifier$0();
95331 $arguments = t1._stylesheet0$_argumentDeclaration$0();
95332 t1.whitespace$0();
95333 t2.expectChar$1(123);
95334 return $arguments;
95335 },
95336 $signature: 544
95337 };
95338 A.StylesheetParser__parseSingleProduction_closure0.prototype = {
95339 call$0() {
95340 var result = this.production.call$0();
95341 this.$this.scanner.expectDone$0();
95342 return result;
95343 },
95344 $signature() {
95345 return this.T._eval$1("0()");
95346 }
95347 };
95348 A.StylesheetParser_parseSignature_closure.prototype = {
95349 call$0() {
95350 var $arguments, t2, t3,
95351 t1 = this.$this,
95352 $name = t1.identifier$0();
95353 t1.whitespace$0();
95354 if (this.requireParens || t1.scanner.peekChar$0() === 40)
95355 $arguments = t1._stylesheet0$_argumentDeclaration$0();
95356 else {
95357 t2 = t1.scanner;
95358 t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
95359 t3 = t2.offset;
95360 $arguments = new A.ArgumentDeclaration0(B.List_empty18, null, A._FileSpan$(t2.file, t3, t3));
95361 }
95362 t1.scanner.expectDone$0();
95363 return new A.Tuple2($name, $arguments, type$.Tuple2_String_ArgumentDeclaration);
95364 },
95365 $signature: 545
95366 };
95367 A.StylesheetParser__statement_closure0.prototype = {
95368 call$0() {
95369 return this.$this._stylesheet0$_statement$0();
95370 },
95371 $signature: 126
95372 };
95373 A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
95374 call$0() {
95375 return this.$this.scanner.spanFrom$1(this.start);
95376 },
95377 $signature: 29
95378 };
95379 A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
95380 call$0() {
95381 return this.declaration;
95382 },
95383 $signature: 546
95384 };
95385 A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
95386 call$2(children, span) {
95387 return A.Declaration$nested0(this.name, children, span, null);
95388 },
95389 $signature: 71
95390 };
95391 A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
95392 call$2(children, span) {
95393 return A.Declaration$nested0(this.name, children, span, this._box_0.value);
95394 },
95395 $signature: 71
95396 };
95397 A.StylesheetParser__styleRule_closure0.prototype = {
95398 call$2(children, span) {
95399 var _this = this,
95400 t1 = _this.$this;
95401 if (t1.get$indented() && children.length === 0)
95402 t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
95403 t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
95404 return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
95405 },
95406 $signature: 548
95407 };
95408 A.StylesheetParser__propertyOrVariableDeclaration_closure1.prototype = {
95409 call$2(children, span) {
95410 return A.Declaration$nested0(this._box_0.name, children, span, null);
95411 },
95412 $signature: 71
95413 };
95414 A.StylesheetParser__propertyOrVariableDeclaration_closure2.prototype = {
95415 call$2(children, span) {
95416 return A.Declaration$nested0(this._box_0.name, children, span, this.value);
95417 },
95418 $signature: 71
95419 };
95420 A.StylesheetParser__atRootRule_closure1.prototype = {
95421 call$2(children, span) {
95422 return A.AtRootRule$0(children, span, this.query);
95423 },
95424 $signature: 251
95425 };
95426 A.StylesheetParser__atRootRule_closure2.prototype = {
95427 call$2(children, span) {
95428 return A.AtRootRule$0(children, span, null);
95429 },
95430 $signature: 251
95431 };
95432 A.StylesheetParser__eachRule_closure0.prototype = {
95433 call$2(children, span) {
95434 var _this = this;
95435 _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
95436 return A.EachRule$0(_this.variables, _this.list, children, span);
95437 },
95438 $signature: 550
95439 };
95440 A.StylesheetParser__functionRule_closure0.prototype = {
95441 call$2(children, span) {
95442 return A.FunctionRule$0(this.name, this.$arguments, children, span, this.precedingComment);
95443 },
95444 $signature: 551
95445 };
95446 A.StylesheetParser__forRule_closure1.prototype = {
95447 call$0() {
95448 var t1 = this.$this;
95449 if (!t1.lookingAtIdentifier$0())
95450 return false;
95451 if (t1.scanIdentifier$1("to"))
95452 return this._box_0.exclusive = true;
95453 else if (t1.scanIdentifier$1("through")) {
95454 this._box_0.exclusive = false;
95455 return true;
95456 } else
95457 return false;
95458 },
95459 $signature: 28
95460 };
95461 A.StylesheetParser__forRule_closure2.prototype = {
95462 call$2(children, span) {
95463 var t1, _this = this;
95464 _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
95465 t1 = _this._box_0.exclusive;
95466 t1.toString;
95467 return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
95468 },
95469 $signature: 552
95470 };
95471 A.StylesheetParser__memberList_closure0.prototype = {
95472 call$0() {
95473 var t1 = this.$this;
95474 if (t1.scanner.peekChar$0() === 36)
95475 this.variables.add$1(0, t1.variableName$0());
95476 else
95477 this.identifiers.add$1(0, t1.identifier$1$normalize(true));
95478 },
95479 $signature: 1
95480 };
95481 A.StylesheetParser__includeRule_closure0.prototype = {
95482 call$2(children, span) {
95483 return A.ContentBlock$0(this.contentArguments_, children, span);
95484 },
95485 $signature: 553
95486 };
95487 A.StylesheetParser_mediaRule_closure0.prototype = {
95488 call$2(children, span) {
95489 return A.MediaRule$0(this.query, children, span);
95490 },
95491 $signature: 554
95492 };
95493 A.StylesheetParser__mixinRule_closure0.prototype = {
95494 call$2(children, span) {
95495 var _this = this;
95496 _this.$this._stylesheet0$_inMixin = false;
95497 return A.MixinRule$0(_this.name, _this.$arguments, children, span, _this.precedingComment);
95498 },
95499 $signature: 555
95500 };
95501 A.StylesheetParser_mozDocumentRule_closure0.prototype = {
95502 call$2(children, span) {
95503 var _this = this;
95504 if (_this._box_0.needsDeprecationWarning)
95505 _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
95506 return A.AtRule$0(_this.name, span, children, _this.value);
95507 },
95508 $signature: 252
95509 };
95510 A.StylesheetParser_supportsRule_closure0.prototype = {
95511 call$2(children, span) {
95512 return A.SupportsRule$0(this.condition, children, span);
95513 },
95514 $signature: 557
95515 };
95516 A.StylesheetParser__whileRule_closure0.prototype = {
95517 call$2(children, span) {
95518 this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
95519 return A.WhileRule$0(this.condition, children, span);
95520 },
95521 $signature: 558
95522 };
95523 A.StylesheetParser_unknownAtRule_closure0.prototype = {
95524 call$2(children, span) {
95525 return A.AtRule$0(this.name, span, children, this._box_0.value);
95526 },
95527 $signature: 252
95528 };
95529 A.StylesheetParser_expression_resetState0.prototype = {
95530 call$0() {
95531 var t2,
95532 t1 = this._box_0;
95533 t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
95534 t2 = this.$this;
95535 t2.scanner.set$state(this.start);
95536 t1.allowSlash = true;
95537 t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
95538 },
95539 $signature: 0
95540 };
95541 A.StylesheetParser_expression_resolveOneOperation0.prototype = {
95542 call$0() {
95543 var t2, t3,
95544 t1 = this._box_0,
95545 operator = t1.operators_.pop(),
95546 left = t1.operands_.pop(),
95547 right = t1.singleExpression_;
95548 if (right == null) {
95549 t2 = this.$this.scanner;
95550 t3 = operator.operator.length;
95551 t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
95552 }
95553 if (t1.allowSlash) {
95554 t2 = this.$this;
95555 t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_RTB0 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
95556 } else
95557 t2 = false;
95558 if (t2)
95559 t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_RTB0, left, right, true);
95560 else {
95561 t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
95562 t1.allowSlash = false;
95563 }
95564 },
95565 $signature: 0
95566 };
95567 A.StylesheetParser_expression_resolveOperations0.prototype = {
95568 call$0() {
95569 var t1,
95570 operators = this._box_0.operators_;
95571 if (operators == null)
95572 return;
95573 for (t1 = this.resolveOneOperation; operators.length !== 0;)
95574 t1.call$0();
95575 },
95576 $signature: 0
95577 };
95578 A.StylesheetParser_expression_addSingleExpression0.prototype = {
95579 call$1(expression) {
95580 var t2, spaceExpressions, _this = this,
95581 t1 = _this._box_0;
95582 if (t1.singleExpression_ != null) {
95583 t2 = _this.$this;
95584 if (t2._stylesheet0$_inParentheses) {
95585 t2._stylesheet0$_inParentheses = false;
95586 if (t1.allowSlash) {
95587 _this.resetState.call$0();
95588 return;
95589 }
95590 }
95591 spaceExpressions = t1.spaceExpressions_;
95592 if (spaceExpressions == null)
95593 spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
95594 _this.resolveOperations.call$0();
95595 t2 = t1.singleExpression_;
95596 t2.toString;
95597 spaceExpressions.push(t2);
95598 t1.allowSlash = true;
95599 }
95600 t1.singleExpression_ = expression;
95601 },
95602 $signature: 559
95603 };
95604 A.StylesheetParser_expression_addOperator0.prototype = {
95605 call$1(operator) {
95606 var t2, t3, operators, operands, t4, singleExpression,
95607 t1 = this.$this;
95608 if (t1.get$plainCss() && operator !== B.BinaryOperator_RTB0 && operator !== B.BinaryOperator_kjl0) {
95609 t2 = t1.scanner;
95610 t3 = operator.operator.length;
95611 t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
95612 }
95613 t2 = this._box_0;
95614 t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_RTB0;
95615 operators = t2.operators_;
95616 if (operators == null)
95617 operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
95618 operands = t2.operands_;
95619 if (operands == null)
95620 operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
95621 t3 = this.resolveOneOperation;
95622 t4 = operator.precedence;
95623 while (true) {
95624 if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
95625 break;
95626 t3.call$0();
95627 }
95628 operators.push(operator);
95629 singleExpression = t2.singleExpression_;
95630 if (singleExpression == null) {
95631 t3 = t1.scanner;
95632 t4 = operator.operator.length;
95633 t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
95634 }
95635 operands.push(singleExpression);
95636 t1.whitespace$0();
95637 t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
95638 },
95639 $signature: 560
95640 };
95641 A.StylesheetParser_expression_resolveSpaceExpressions0.prototype = {
95642 call$0() {
95643 var t1, spaceExpressions, singleExpression, t2;
95644 this.resolveOperations.call$0();
95645 t1 = this._box_0;
95646 spaceExpressions = t1.spaceExpressions_;
95647 if (spaceExpressions != null) {
95648 singleExpression = t1.singleExpression_;
95649 if (singleExpression == null)
95650 this.$this.scanner.error$1(0, "Expected expression.");
95651 spaceExpressions.push(singleExpression);
95652 t2 = B.JSArray_methods.get$first(spaceExpressions);
95653 t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
95654 t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_woc0, false, t2);
95655 t1.spaceExpressions_ = null;
95656 }
95657 },
95658 $signature: 0
95659 };
95660 A.StylesheetParser__expressionUntilComma_closure0.prototype = {
95661 call$0() {
95662 return this.$this.scanner.peekChar$0() === 44;
95663 },
95664 $signature: 28
95665 };
95666 A.StylesheetParser__unicodeRange_closure1.prototype = {
95667 call$1(char) {
95668 return char != null && A.isHex0(char);
95669 },
95670 $signature: 32
95671 };
95672 A.StylesheetParser__unicodeRange_closure2.prototype = {
95673 call$1(char) {
95674 return char != null && A.isHex0(char);
95675 },
95676 $signature: 32
95677 };
95678 A.StylesheetParser_namespacedExpression_closure0.prototype = {
95679 call$0() {
95680 return this.$this.scanner.spanFrom$1(this.start);
95681 },
95682 $signature: 29
95683 };
95684 A.StylesheetParser_trySpecialFunction_closure0.prototype = {
95685 call$1(contents) {
95686 return new A.StringExpression0(contents, false);
95687 },
95688 $signature: 561
95689 };
95690 A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
95691 call$0() {
95692 var t1 = this.$this.scanner,
95693 next = t1.peekChar$0();
95694 if (next === 61)
95695 return t1.peekChar$1(1) !== 61;
95696 return next === 60 || next === 62;
95697 },
95698 $signature: 28
95699 };
95700 A.StylesheetParser__publicIdentifier_closure0.prototype = {
95701 call$0() {
95702 return this.$this.scanner.spanFrom$1(this.start);
95703 },
95704 $signature: 29
95705 };
95706 A.Stylesheet0.prototype = {
95707 Stylesheet$internal$3$plainCss0(children, span, plainCss) {
95708 var t1, t2, t3, t4, _i, child;
95709 for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
95710 child = t1[_i];
95711 if (child instanceof A.UseRule0)
95712 t4.push(child);
95713 else if (child instanceof A.ForwardRule0)
95714 t3.push(child);
95715 else if (!(child instanceof A.SilentComment0) && !(child instanceof A.LoudComment0) && !(child instanceof A.VariableDeclaration0))
95716 break;
95717 }
95718 },
95719 accept$1$1(visitor) {
95720 return visitor.visitStylesheet$1(this);
95721 },
95722 accept$1(visitor) {
95723 return this.accept$1$1(visitor, type$.dynamic);
95724 },
95725 toString$0(_) {
95726 var t1 = this.children;
95727 return (t1 && B.JSArray_methods).join$1(t1, " ");
95728 },
95729 get$span(receiver) {
95730 return this.span;
95731 }
95732 };
95733 A.ModifiableCssSupportsRule0.prototype = {
95734 accept$1$1(visitor) {
95735 return visitor.visitCssSupportsRule$1(this);
95736 },
95737 accept$1(visitor) {
95738 return this.accept$1$1(visitor, type$.dynamic);
95739 },
95740 copyWithoutChildren$0() {
95741 return A.ModifiableCssSupportsRule$0(this.condition, this.span);
95742 },
95743 $isCssSupportsRule0: 1,
95744 get$span(receiver) {
95745 return this.span;
95746 }
95747 };
95748 A.SupportsRule0.prototype = {
95749 accept$1$1(visitor) {
95750 return visitor.visitSupportsRule$1(this);
95751 },
95752 accept$1(visitor) {
95753 return this.accept$1$1(visitor, type$.dynamic);
95754 },
95755 toString$0(_) {
95756 var t1 = this.children;
95757 return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
95758 },
95759 get$span(receiver) {
95760 return this.span;
95761 }
95762 };
95763 A.NodeToDartImporter.prototype = {
95764 canonicalize$1(_, url) {
95765 var t1,
95766 result = this._sync$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
95767 if (result == null)
95768 return null;
95769 t1 = self.URL;
95770 if (result instanceof t1)
95771 return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
95772 t1 = self.Promise;
95773 if (result instanceof t1)
95774 A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
95775 else
95776 A.jsThrow(new self.Error(string$.The_ca));
95777 },
95778 load$1(_, url) {
95779 var t1, contents, syntax, t2,
95780 result = this._sync$_load.call$1(new self.URL(url.toString$0(0)));
95781 if (result == null)
95782 return null;
95783 t1 = self.Promise;
95784 if (result instanceof t1)
95785 A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
95786 type$.NodeImporterResult._as(result);
95787 t1 = J.getInterceptor$x(result);
95788 contents = t1.get$contents(result);
95789 syntax = t1.get$syntax(result);
95790 if (contents == null || syntax == null)
95791 A.jsThrow(new self.Error(string$.The_lo));
95792 t2 = A.parseSyntax(syntax);
95793 return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
95794 }
95795 };
95796 A.Syntax0.prototype = {
95797 toString$0(_) {
95798 return this._syntax0$_name;
95799 }
95800 };
95801 A.TerseLogger0.prototype = {
95802 warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
95803 var firstParagraph, t1, t2, count;
95804 if (deprecation) {
95805 firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
95806 t1 = this._terse$_warningCounts;
95807 t2 = t1.$index(0, firstParagraph);
95808 count = (t2 == null ? 0 : t2) + 1;
95809 t1.$indexSet(0, firstParagraph, count);
95810 if (count > 5)
95811 return;
95812 }
95813 this._terse$_inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
95814 },
95815 warn$2$span($receiver, message, span) {
95816 return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
95817 },
95818 warn$2$deprecation($receiver, message, deprecation) {
95819 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
95820 },
95821 warn$3$deprecation$span($receiver, message, deprecation, span) {
95822 return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
95823 },
95824 warn$2$trace($receiver, message, trace) {
95825 return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
95826 },
95827 debug$2(_, message, span) {
95828 return this._terse$_inner.debug$2(0, message, span);
95829 },
95830 summarize$1$node(node) {
95831 var t2, total,
95832 t1 = this._terse$_warningCounts;
95833 t1 = t1.get$values(t1);
95834 t2 = A._instanceType(t1);
95835 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>")));
95836 if (total > 0) {
95837 t1 = "" + total + string$.x20repet;
95838 this._terse$_inner.warn$1(0, t1 + (node ? "" : string$.x0aRun_i));
95839 }
95840 }
95841 };
95842 A.TerseLogger_summarize_closure1.prototype = {
95843 call$1(count) {
95844 return count > 5;
95845 },
95846 $signature: 56
95847 };
95848 A.TerseLogger_summarize_closure2.prototype = {
95849 call$1(count) {
95850 return count - 5;
95851 },
95852 $signature: 230
95853 };
95854 A.TypeSelector0.prototype = {
95855 get$minSpecificity() {
95856 return 1;
95857 },
95858 accept$1$1(visitor) {
95859 visitor._serialize0$_buffer.write$1(0, this.name);
95860 return null;
95861 },
95862 accept$1(visitor) {
95863 return this.accept$1$1(visitor, type$.dynamic);
95864 },
95865 addSuffix$1(suffix) {
95866 var t1 = this.name;
95867 return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace));
95868 },
95869 unify$1(compound) {
95870 var unified, t1;
95871 if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector0 || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector0) {
95872 unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
95873 if (unified == null)
95874 return null;
95875 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
95876 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
95877 return t1;
95878 } else {
95879 t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
95880 B.JSArray_methods.addAll$1(t1, compound);
95881 return t1;
95882 }
95883 },
95884 $eq(_, other) {
95885 if (other == null)
95886 return false;
95887 return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
95888 },
95889 get$hashCode(_) {
95890 var t1 = this.name;
95891 return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
95892 }
95893 };
95894 A.Types.prototype = {};
95895 A.UnaryOperationExpression0.prototype = {
95896 accept$1$1(visitor) {
95897 return visitor.visitUnaryOperationExpression$1(this);
95898 },
95899 accept$1(visitor) {
95900 return this.accept$1$1(visitor, type$.dynamic);
95901 },
95902 toString$0(_) {
95903 var t1 = this.operator,
95904 t2 = t1.operator;
95905 t1 = t1 === B.UnaryOperator_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
95906 t1 += this.operand.toString$0(0);
95907 return t1.charCodeAt(0) == 0 ? t1 : t1;
95908 },
95909 $isExpression0: 1,
95910 $isAstNode0: 1,
95911 get$span(receiver) {
95912 return this.span;
95913 }
95914 };
95915 A.UnaryOperator0.prototype = {
95916 toString$0(_) {
95917 return this.name;
95918 }
95919 };
95920 A.UnitlessSassNumber0.prototype = {
95921 get$numeratorUnits(_) {
95922 return B.List_empty;
95923 },
95924 get$denominatorUnits(_) {
95925 return B.List_empty;
95926 },
95927 get$hasUnits() {
95928 return false;
95929 },
95930 withValue$1(value) {
95931 return new A.UnitlessSassNumber0(value, null);
95932 },
95933 withSlash$2(numerator, denominator) {
95934 return new A.UnitlessSassNumber0(this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
95935 },
95936 hasUnit$1(unit) {
95937 return false;
95938 },
95939 hasCompatibleUnits$1(other) {
95940 return other instanceof A.UnitlessSassNumber0;
95941 },
95942 hasPossiblyCompatibleUnits$1(other) {
95943 return other instanceof A.UnitlessSassNumber0;
95944 },
95945 compatibleWithUnit$1(unit) {
95946 return true;
95947 },
95948 coerceToMatch$3(other, $name, otherName) {
95949 return other.withValue$1(this._number1$_value);
95950 },
95951 coerceValueToMatch$3(other, $name, otherName) {
95952 return this._number1$_value;
95953 },
95954 coerceValueToMatch$1(other) {
95955 return this.coerceValueToMatch$3(other, null, null);
95956 },
95957 convertToMatch$3(other, $name, otherName) {
95958 return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
95959 },
95960 convertValueToMatch$3(other, $name, otherName) {
95961 return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
95962 },
95963 coerce$3(newNumerators, newDenominators, $name) {
95964 return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
95965 },
95966 coerce$2(newNumerators, newDenominators) {
95967 return this.coerce$3(newNumerators, newDenominators, null);
95968 },
95969 coerceValue$3(newNumerators, newDenominators, $name) {
95970 return this._number1$_value;
95971 },
95972 coerceValueToUnit$2(unit, $name) {
95973 return this._number1$_value;
95974 },
95975 greaterThan$1(other) {
95976 var t1, t2;
95977 if (other instanceof A.SassNumber0) {
95978 t1 = this._number1$_value;
95979 t2 = other._number1$_value;
95980 return t1 > t2 && !(Math.abs(t1 - t2) < $.$get$epsilon0()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
95981 }
95982 return this.super$SassNumber$greaterThan0(other);
95983 },
95984 greaterThanOrEquals$1(other) {
95985 var t1, t2;
95986 if (other instanceof A.SassNumber0) {
95987 t1 = this._number1$_value;
95988 t2 = other._number1$_value;
95989 return t1 > t2 || Math.abs(t1 - t2) < $.$get$epsilon0() ? B.SassBoolean_true0 : B.SassBoolean_false0;
95990 }
95991 return this.super$SassNumber$greaterThanOrEquals0(other);
95992 },
95993 lessThan$1(other) {
95994 var t1, t2;
95995 if (other instanceof A.SassNumber0) {
95996 t1 = this._number1$_value;
95997 t2 = other._number1$_value;
95998 return t1 < t2 && !(Math.abs(t1 - t2) < $.$get$epsilon0()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
95999 }
96000 return this.super$SassNumber$lessThan0(other);
96001 },
96002 lessThanOrEquals$1(other) {
96003 var t1, t2;
96004 if (other instanceof A.SassNumber0) {
96005 t1 = this._number1$_value;
96006 t2 = other._number1$_value;
96007 return t1 < t2 || Math.abs(t1 - t2) < $.$get$epsilon0() ? B.SassBoolean_true0 : B.SassBoolean_false0;
96008 }
96009 return this.super$SassNumber$lessThanOrEquals0(other);
96010 },
96011 modulo$1(other) {
96012 if (other instanceof A.SassNumber0)
96013 return other.withValue$1(this.moduloLikeSass$2(this._number1$_value, other._number1$_value));
96014 return this.super$SassNumber$modulo0(other);
96015 },
96016 plus$1(other) {
96017 if (other instanceof A.SassNumber0)
96018 return other.withValue$1(this._number1$_value + other._number1$_value);
96019 return this.super$SassNumber$plus0(other);
96020 },
96021 minus$1(other) {
96022 if (other instanceof A.SassNumber0)
96023 return other.withValue$1(this._number1$_value - other._number1$_value);
96024 return this.super$SassNumber$minus0(other);
96025 },
96026 times$1(other) {
96027 if (other instanceof A.SassNumber0)
96028 return other.withValue$1(this._number1$_value * other._number1$_value);
96029 return this.super$SassNumber$times0(other);
96030 },
96031 dividedBy$1(other) {
96032 var t1, t2;
96033 if (other instanceof A.SassNumber0) {
96034 t1 = this._number1$_value / other._number1$_value;
96035 if (other.get$hasUnits()) {
96036 t2 = other.get$denominatorUnits(other);
96037 t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
96038 t1 = t2;
96039 } else
96040 t1 = new A.UnitlessSassNumber0(t1, null);
96041 return t1;
96042 }
96043 return this.super$SassNumber$dividedBy0(other);
96044 },
96045 unaryMinus$0() {
96046 return new A.UnitlessSassNumber0(-this._number1$_value, null);
96047 },
96048 $eq(_, other) {
96049 if (other == null)
96050 return false;
96051 return other instanceof A.UnitlessSassNumber0 && Math.abs(this._number1$_value - other._number1$_value) < $.$get$epsilon0();
96052 },
96053 get$hashCode(_) {
96054 var t1 = this.hashCache;
96055 return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
96056 }
96057 };
96058 A.UniversalSelector0.prototype = {
96059 get$minSpecificity() {
96060 return 0;
96061 },
96062 accept$1$1(visitor) {
96063 var t2,
96064 t1 = this.namespace;
96065 if (t1 != null) {
96066 t2 = visitor._serialize0$_buffer;
96067 t2.write$1(0, t1);
96068 t2.writeCharCode$1(124);
96069 }
96070 visitor._serialize0$_buffer.writeCharCode$1(42);
96071 return null;
96072 },
96073 accept$1(visitor) {
96074 return this.accept$1$1(visitor, type$.dynamic);
96075 },
96076 unify$1(compound) {
96077 var unified, t1, _this = this,
96078 first = B.JSArray_methods.get$first(compound);
96079 if (first instanceof A.UniversalSelector0 || first instanceof A.TypeSelector0) {
96080 unified = A.unifyUniversalAndElement0(_this, first);
96081 if (unified == null)
96082 return null;
96083 t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
96084 B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
96085 return t1;
96086 } else {
96087 if (compound.length === 1)
96088 if (first instanceof A.PseudoSelector0)
96089 t1 = first.isClass && first.name === "host" || first.get$isHostContext();
96090 else
96091 t1 = false;
96092 else
96093 t1 = false;
96094 if (t1)
96095 return null;
96096 }
96097 t1 = _this.namespace;
96098 if (t1 != null && t1 !== "*") {
96099 t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
96100 B.JSArray_methods.addAll$1(t1, compound);
96101 return t1;
96102 }
96103 if (compound.length !== 0)
96104 return compound;
96105 return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
96106 },
96107 $eq(_, other) {
96108 if (other == null)
96109 return false;
96110 return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
96111 },
96112 get$hashCode(_) {
96113 return J.get$hashCode$(this.namespace);
96114 }
96115 };
96116 A.UnprefixedMapView0.prototype = {
96117 get$keys(_) {
96118 return new A._UnprefixedKeys0(this);
96119 },
96120 $index(_, key) {
96121 return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
96122 },
96123 containsKey$1(key) {
96124 return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
96125 },
96126 remove$1(_, key) {
96127 return typeof key == "string" ? this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key) : null;
96128 }
96129 };
96130 A._UnprefixedKeys0.prototype = {
96131 get$iterator(_) {
96132 var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
96133 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);
96134 return t1.get$iterator(t1);
96135 },
96136 contains$1(_, key) {
96137 return this._unprefixed_map_view0$_view.containsKey$1(key);
96138 }
96139 };
96140 A._UnprefixedKeys_iterator_closure1.prototype = {
96141 call$1(key) {
96142 return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
96143 },
96144 $signature: 6
96145 };
96146 A._UnprefixedKeys_iterator_closure2.prototype = {
96147 call$1(key) {
96148 return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
96149 },
96150 $signature: 5
96151 };
96152 A.JSUrl0.prototype = {};
96153 A.UseRule0.prototype = {
96154 UseRule$4$configuration0(url, namespace, span, configuration) {
96155 var t1, t2, _i, variable;
96156 for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
96157 variable = t1[_i];
96158 if (variable.isGuarded)
96159 throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
96160 }
96161 },
96162 accept$1$1(visitor) {
96163 return visitor.visitUseRule$1(this);
96164 },
96165 accept$1(visitor) {
96166 return this.accept$1$1(visitor, type$.dynamic);
96167 },
96168 toString$0(_) {
96169 var t1 = this.url,
96170 t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
96171 basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
96172 dot = B.JSString_methods.indexOf$1(basename, ".");
96173 t1 = this.namespace;
96174 if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
96175 t1 = t2 + (" as " + (t1 == null ? "*" : t1));
96176 else
96177 t1 = t2;
96178 t2 = this.configuration;
96179 t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
96180 return t1.charCodeAt(0) == 0 ? t1 : t1;
96181 },
96182 $isAstNode0: 1,
96183 $isStatement0: 1,
96184 get$span(receiver) {
96185 return this.span;
96186 }
96187 };
96188 A.UserDefinedCallable0.prototype = {
96189 get$name(_) {
96190 return this.declaration.name;
96191 },
96192 $isAsyncCallable0: 1,
96193 $isCallable0: 1
96194 };
96195 A.resolveImportPath_closure1.prototype = {
96196 call$0() {
96197 return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
96198 },
96199 $signature: 42
96200 };
96201 A.resolveImportPath_closure2.prototype = {
96202 call$0() {
96203 return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
96204 },
96205 $signature: 42
96206 };
96207 A._tryPathAsDirectory_closure0.prototype = {
96208 call$0() {
96209 return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
96210 },
96211 $signature: 42
96212 };
96213 A._exactlyOne_closure0.prototype = {
96214 call$1(path) {
96215 var t1 = $.$get$context();
96216 return " " + t1.prettyUri$1(t1.toUri$1(path));
96217 },
96218 $signature: 5
96219 };
96220 A._PropertyDescriptor0.prototype = {};
96221 A.futureToPromise_closure0.prototype = {
96222 call$2(resolve, reject) {
96223 this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
96224 },
96225 $signature: 562
96226 };
96227 A.futureToPromise__closure0.prototype = {
96228 call$1(result) {
96229 return this.resolve.call$1(result);
96230 },
96231 $signature: 27
96232 };
96233 A.futureToPromise__closure1.prototype = {
96234 call$2(error, stackTrace) {
96235 A.attachTrace0(error, stackTrace);
96236 this.reject.call$1(error);
96237 },
96238 $signature: 68
96239 };
96240 A.objectToMap_closure.prototype = {
96241 call$2(key, value) {
96242 this.map.$indexSet(0, key, value);
96243 return value;
96244 },
96245 $signature: 117
96246 };
96247 A.indent_closure0.prototype = {
96248 call$1(line) {
96249 return B.JSString_methods.$mul(" ", this.indentation) + line;
96250 },
96251 $signature: 5
96252 };
96253 A.flattenVertically_closure1.prototype = {
96254 call$1(inner) {
96255 return A.QueueList_QueueList$from(inner, this.T);
96256 },
96257 $signature() {
96258 return this.T._eval$1("QueueList<0>(Iterable<0>)");
96259 }
96260 };
96261 A.flattenVertically_closure2.prototype = {
96262 call$1(queue) {
96263 this.result.push(queue.removeFirst$0());
96264 return queue.get$length(queue) === 0;
96265 },
96266 $signature() {
96267 return this.T._eval$1("bool(QueueList<0>)");
96268 }
96269 };
96270 A.longestCommonSubsequence_closure0.prototype = {
96271 call$2(element1, element2) {
96272 return J.$eq$(element1, element2) ? element1 : null;
96273 },
96274 $signature() {
96275 return this.T._eval$1("0?(0,0)");
96276 }
96277 };
96278 A.longestCommonSubsequence_backtrack0.prototype = {
96279 call$2(i, j) {
96280 var selection, t1, _this = this;
96281 if (i === -1 || j === -1)
96282 return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
96283 selection = _this.selections[i][j];
96284 if (selection != null) {
96285 t1 = _this.call$2(i - 1, j - 1);
96286 J.add$1$ax(t1, selection);
96287 return t1;
96288 }
96289 t1 = _this.lengths;
96290 return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
96291 },
96292 $signature() {
96293 return this.T._eval$1("List<0>(int,int)");
96294 }
96295 };
96296 A.mapAddAll2_closure0.prototype = {
96297 call$2(key, inner) {
96298 var t1 = this.destination,
96299 innerDestination = t1.$index(0, key);
96300 if (innerDestination != null)
96301 innerDestination.addAll$1(0, inner);
96302 else
96303 t1.$indexSet(0, key, inner);
96304 },
96305 $signature() {
96306 return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
96307 }
96308 };
96309 A.CssValue0.prototype = {
96310 toString$0(_) {
96311 return J.toString$0$(this.value);
96312 },
96313 $isAstNode0: 1,
96314 get$value(receiver) {
96315 return this.value;
96316 },
96317 get$span(receiver) {
96318 return this.span;
96319 }
96320 };
96321 A.ValueExpression0.prototype = {
96322 accept$1$1(visitor) {
96323 return visitor.visitValueExpression$1(this);
96324 },
96325 accept$1(visitor) {
96326 return this.accept$1$1(visitor, type$.dynamic);
96327 },
96328 toString$0(_) {
96329 return A.serializeValue0(this.value, true, true);
96330 },
96331 $isExpression0: 1,
96332 $isAstNode0: 1,
96333 get$span(receiver) {
96334 return this.span;
96335 }
96336 };
96337 A.ModifiableCssValue0.prototype = {
96338 toString$0(_) {
96339 return A.serializeSelector0(this.value, true);
96340 },
96341 $isAstNode0: 1,
96342 $isCssValue0: 1,
96343 get$value(receiver) {
96344 return this.value;
96345 },
96346 get$span(receiver) {
96347 return this.span;
96348 }
96349 };
96350 A.valueClass_closure.prototype = {
96351 call$0() {
96352 var t2,
96353 t1 = type$.JSClass,
96354 jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
96355 A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
96356 t1 = type$.String;
96357 t2 = type$.Function;
96358 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));
96359 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));
96360 return jsClass;
96361 },
96362 $signature: 25
96363 };
96364 A.valueClass__closure.prototype = {
96365 call$1($self) {
96366 return J.toString$0$($self);
96367 },
96368 $signature: 47
96369 };
96370 A.valueClass__closure0.prototype = {
96371 call$1($self) {
96372 return new self.immutable.List($self.get$asList());
96373 },
96374 $signature: 563
96375 };
96376 A.valueClass__closure1.prototype = {
96377 call$1($self) {
96378 return $self.get$hasBrackets();
96379 },
96380 $signature: 44
96381 };
96382 A.valueClass__closure2.prototype = {
96383 call$1($self) {
96384 return $self.get$isTruthy();
96385 },
96386 $signature: 44
96387 };
96388 A.valueClass__closure3.prototype = {
96389 call$1($self) {
96390 return $self.get$realNull();
96391 },
96392 $signature: 215
96393 };
96394 A.valueClass__closure4.prototype = {
96395 call$1($self) {
96396 return $self.get$separator($self).separator;
96397 },
96398 $signature: 564
96399 };
96400 A.valueClass__closure5.prototype = {
96401 call$3($self, sassIndex, $name) {
96402 return $self.sassIndexToListIndex$2(sassIndex, $name);
96403 },
96404 call$2($self, sassIndex) {
96405 return this.call$3($self, sassIndex, null);
96406 },
96407 "call*": "call$3",
96408 $requiredArgCount: 2,
96409 $defaultValues() {
96410 return [null];
96411 },
96412 $signature: 565
96413 };
96414 A.valueClass__closure6.prototype = {
96415 call$2($self, index) {
96416 return index < 1 && index >= -1 ? $self : self.undefined;
96417 },
96418 $signature: 233
96419 };
96420 A.valueClass__closure7.prototype = {
96421 call$2($self, $name) {
96422 return $self.assertBoolean$1($name);
96423 },
96424 call$1($self) {
96425 return this.call$2($self, null);
96426 },
96427 "call*": "call$2",
96428 $requiredArgCount: 1,
96429 $defaultValues() {
96430 return [null];
96431 },
96432 $signature: 566
96433 };
96434 A.valueClass__closure8.prototype = {
96435 call$2($self, $name) {
96436 return $self.assertColor$1($name);
96437 },
96438 call$1($self) {
96439 return this.call$2($self, null);
96440 },
96441 "call*": "call$2",
96442 $requiredArgCount: 1,
96443 $defaultValues() {
96444 return [null];
96445 },
96446 $signature: 567
96447 };
96448 A.valueClass__closure9.prototype = {
96449 call$2($self, $name) {
96450 return $self.assertFunction$1($name);
96451 },
96452 call$1($self) {
96453 return this.call$2($self, null);
96454 },
96455 "call*": "call$2",
96456 $requiredArgCount: 1,
96457 $defaultValues() {
96458 return [null];
96459 },
96460 $signature: 568
96461 };
96462 A.valueClass__closure10.prototype = {
96463 call$2($self, $name) {
96464 return $self.assertMap$1($name);
96465 },
96466 call$1($self) {
96467 return this.call$2($self, null);
96468 },
96469 "call*": "call$2",
96470 $requiredArgCount: 1,
96471 $defaultValues() {
96472 return [null];
96473 },
96474 $signature: 569
96475 };
96476 A.valueClass__closure11.prototype = {
96477 call$2($self, $name) {
96478 return $self.assertNumber$1($name);
96479 },
96480 call$1($self) {
96481 return this.call$2($self, null);
96482 },
96483 "call*": "call$2",
96484 $requiredArgCount: 1,
96485 $defaultValues() {
96486 return [null];
96487 },
96488 $signature: 570
96489 };
96490 A.valueClass__closure12.prototype = {
96491 call$2($self, $name) {
96492 return $self.assertString$1($name);
96493 },
96494 call$1($self) {
96495 return this.call$2($self, null);
96496 },
96497 "call*": "call$2",
96498 $requiredArgCount: 1,
96499 $defaultValues() {
96500 return [null];
96501 },
96502 $signature: 571
96503 };
96504 A.valueClass__closure13.prototype = {
96505 call$1($self) {
96506 return $self.tryMap$0();
96507 },
96508 $signature: 572
96509 };
96510 A.valueClass__closure14.prototype = {
96511 call$2($self, other) {
96512 return $self.$eq(0, other);
96513 },
96514 $signature: 573
96515 };
96516 A.valueClass__closure15.prototype = {
96517 call$2($self, _) {
96518 return $self.get$hashCode($self);
96519 },
96520 call$1($self) {
96521 return this.call$2($self, null);
96522 },
96523 "call*": "call$2",
96524 $requiredArgCount: 1,
96525 $defaultValues() {
96526 return [null];
96527 },
96528 $signature: 574
96529 };
96530 A.valueClass__closure16.prototype = {
96531 call$1($self) {
96532 return A.serializeValue0($self, true, true);
96533 },
96534 $signature: 197
96535 };
96536 A.Value0.prototype = {
96537 get$isTruthy() {
96538 return true;
96539 },
96540 get$separator(_) {
96541 return B.ListSeparator_undecided_null0;
96542 },
96543 get$hasBrackets() {
96544 return false;
96545 },
96546 get$asList() {
96547 return A._setArrayType([this], type$.JSArray_Value_2);
96548 },
96549 get$lengthAsList() {
96550 return 1;
96551 },
96552 get$isBlank() {
96553 return false;
96554 },
96555 get$isSpecialNumber() {
96556 return false;
96557 },
96558 get$isVar() {
96559 return false;
96560 },
96561 get$realNull() {
96562 return this;
96563 },
96564 sassIndexToListIndex$2(sassIndex, $name) {
96565 var _this = this,
96566 index = sassIndex.assertNumber$1($name).assertInt$1($name);
96567 if (index === 0)
96568 throw A.wrapException(_this._value0$_exception$2("List index may not be 0.", $name));
96569 if (Math.abs(index) > _this.get$lengthAsList())
96570 throw A.wrapException(_this._value0$_exception$2("Invalid index " + sassIndex.toString$0(0) + " for a list with " + _this.get$lengthAsList() + " elements.", $name));
96571 return index < 0 ? _this.get$lengthAsList() + index : index - 1;
96572 },
96573 assertBoolean$1($name) {
96574 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a boolean.", $name));
96575 },
96576 assertCalculation$1($name) {
96577 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a calculation.", $name));
96578 },
96579 assertColor$1($name) {
96580 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a color.", $name));
96581 },
96582 assertFunction$1($name) {
96583 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a function reference.", $name));
96584 },
96585 assertMap$1($name) {
96586 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a map.", $name));
96587 },
96588 tryMap$0() {
96589 return null;
96590 },
96591 assertNumber$1($name) {
96592 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a number.", $name));
96593 },
96594 assertNumber$0() {
96595 return this.assertNumber$1(null);
96596 },
96597 assertString$1($name) {
96598 return A.throwExpression(this._value0$_exception$2(this.toString$0(0) + " is not a string.", $name));
96599 },
96600 assertSelector$2$allowParent$name(allowParent, $name) {
96601 var error, stackTrace, t1, exception,
96602 string = this._value0$_selectorString$1($name);
96603 try {
96604 t1 = A.SelectorList_SelectorList$parse0(string, allowParent, true, null);
96605 return t1;
96606 } catch (exception) {
96607 t1 = A.unwrapException(exception);
96608 if (t1 instanceof A.SassFormatException0) {
96609 error = t1;
96610 stackTrace = A.getTraceFromException(exception);
96611 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
96612 A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
96613 } else
96614 throw exception;
96615 }
96616 },
96617 assertSelector$1$name($name) {
96618 return this.assertSelector$2$allowParent$name(false, $name);
96619 },
96620 assertSelector$0() {
96621 return this.assertSelector$2$allowParent$name(false, null);
96622 },
96623 assertSelector$1$allowParent(allowParent) {
96624 return this.assertSelector$2$allowParent$name(allowParent, null);
96625 },
96626 assertCompoundSelector$1$name($name) {
96627 var error, stackTrace, t1, exception,
96628 allowParent = false,
96629 string = this._value0$_selectorString$1($name);
96630 try {
96631 t1 = A.SelectorParser$0(string, allowParent, true, null, null).parseCompoundSelector$0();
96632 return t1;
96633 } catch (exception) {
96634 t1 = A.unwrapException(exception);
96635 if (t1 instanceof A.SassFormatException0) {
96636 error = t1;
96637 stackTrace = A.getTraceFromException(exception);
96638 t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
96639 t1 = "$" + $name + ": " + t1;
96640 A.throwWithTrace0(new A.SassScriptException0(t1), stackTrace);
96641 } else
96642 throw exception;
96643 }
96644 },
96645 _value0$_selectorString$1($name) {
96646 var string = this._value0$_selectorStringOrNull$0();
96647 if (string != null)
96648 return string;
96649 throw A.wrapException(this._value0$_exception$2(this.toString$0(0) + string$.x20is_no, $name));
96650 },
96651 _value0$_selectorStringOrNull$0() {
96652 var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
96653 if (_this instanceof A.SassString0)
96654 return _this._string0$_text;
96655 if (!(_this instanceof A.SassList0))
96656 return _null;
96657 t1 = _this._list1$_contents;
96658 t2 = t1.length;
96659 if (t2 === 0)
96660 return _null;
96661 result = A._setArrayType([], type$.JSArray_String);
96662 t3 = _this._list1$_separator;
96663 switch (t3) {
96664 case B.ListSeparator_kWM0:
96665 for (_i = 0; _i < t2; ++_i) {
96666 complex = t1[_i];
96667 if (complex instanceof A.SassString0)
96668 result.push(complex._string0$_text);
96669 else if (complex instanceof A.SassList0 && complex._list1$_separator === B.ListSeparator_woc0) {
96670 string = complex._value0$_selectorStringOrNull$0();
96671 if (string == null)
96672 return _null;
96673 result.push(string);
96674 } else
96675 return _null;
96676 }
96677 break;
96678 case B.ListSeparator_1gm0:
96679 return _null;
96680 default:
96681 for (_i = 0; _i < t2; ++_i) {
96682 compound = t1[_i];
96683 if (compound instanceof A.SassString0)
96684 result.push(compound._string0$_text);
96685 else
96686 return _null;
96687 }
96688 break;
96689 }
96690 return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_kWM0 ? ", " : " ");
96691 },
96692 withListContents$2$separator(contents, separator) {
96693 var t1 = separator == null ? this.get$separator(this) : separator,
96694 t2 = this.get$hasBrackets();
96695 return A.SassList$0(contents, t1, t2);
96696 },
96697 withListContents$1(contents) {
96698 return this.withListContents$2$separator(contents, null);
96699 },
96700 greaterThan$1(other) {
96701 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".'));
96702 },
96703 greaterThanOrEquals$1(other) {
96704 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".'));
96705 },
96706 lessThan$1(other) {
96707 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".'));
96708 },
96709 lessThanOrEquals$1(other) {
96710 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".'));
96711 },
96712 times$1(other) {
96713 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".'));
96714 },
96715 modulo$1(other) {
96716 return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".'));
96717 },
96718 plus$1(other) {
96719 if (other instanceof A.SassString0)
96720 return new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
96721 else if (other instanceof A.SassCalculation0)
96722 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".'));
96723 else
96724 return new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
96725 },
96726 minus$1(other) {
96727 if (other instanceof A.SassCalculation0)
96728 throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".'));
96729 else
96730 return new A.SassString0(A.serializeValue0(this, false, true) + "-" + A.serializeValue0(other, false, true), false);
96731 },
96732 dividedBy$1(other) {
96733 return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
96734 },
96735 unaryPlus$0() {
96736 return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
96737 },
96738 unaryMinus$0() {
96739 return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
96740 },
96741 unaryNot$0() {
96742 return B.SassBoolean_false0;
96743 },
96744 withoutSlash$0() {
96745 return this;
96746 },
96747 toString$0(_) {
96748 return A.serializeValue0(this, true, true);
96749 },
96750 _value0$_exception$2(message, $name) {
96751 return new A.SassScriptException0($name == null ? message : "$" + $name + ": " + message);
96752 }
96753 };
96754 A.VariableExpression0.prototype = {
96755 accept$1$1(visitor) {
96756 return visitor.visitVariableExpression$1(this);
96757 },
96758 accept$1(visitor) {
96759 return this.accept$1$1(visitor, type$.dynamic);
96760 },
96761 toString$0(_) {
96762 var t1 = this.namespace,
96763 t2 = this.name;
96764 return t1 == null ? "$" + t2 : t1 + ".$" + t2;
96765 },
96766 $isExpression0: 1,
96767 $isAstNode0: 1,
96768 get$span(receiver) {
96769 return this.span;
96770 }
96771 };
96772 A.VariableDeclaration0.prototype = {
96773 accept$1$1(visitor) {
96774 return visitor.visitVariableDeclaration$1(this);
96775 },
96776 accept$1(visitor) {
96777 return this.accept$1$1(visitor, type$.dynamic);
96778 },
96779 toString$0(_) {
96780 var t1 = this.namespace;
96781 t1 = t1 != null ? "$" + (t1 + ".") : "$";
96782 t1 += this.name + ": " + this.expression.toString$0(0) + ";";
96783 return t1.charCodeAt(0) == 0 ? t1 : t1;
96784 },
96785 $isAstNode0: 1,
96786 $isStatement0: 1,
96787 get$span(receiver) {
96788 return this.span;
96789 }
96790 };
96791 A.WarnRule0.prototype = {
96792 accept$1$1(visitor) {
96793 return visitor.visitWarnRule$1(this);
96794 },
96795 accept$1(visitor) {
96796 return this.accept$1$1(visitor, type$.dynamic);
96797 },
96798 toString$0(_) {
96799 return "@warn " + this.expression.toString$0(0) + ";";
96800 },
96801 $isAstNode0: 1,
96802 $isStatement0: 1,
96803 get$span(receiver) {
96804 return this.span;
96805 }
96806 };
96807 A.WhileRule0.prototype = {
96808 accept$1$1(visitor) {
96809 return visitor.visitWhileRule$1(this);
96810 },
96811 accept$1(visitor) {
96812 return this.accept$1$1(visitor, type$.dynamic);
96813 },
96814 toString$0(_) {
96815 var t1 = this.children;
96816 return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
96817 },
96818 get$span(receiver) {
96819 return this.span;
96820 }
96821 };
96822 (function aliases() {
96823 var _ = J.JavaScriptObject.prototype;
96824 _.super$JavaScriptObject$toString = _.toString$0;
96825 _ = A.JsLinkedHashMap.prototype;
96826 _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
96827 _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
96828 _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
96829 _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
96830 _ = A._BufferingStreamSubscription.prototype;
96831 _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
96832 _.super$_BufferingStreamSubscription$_addError = _._addError$2;
96833 _ = A.ListMixin.prototype;
96834 _.super$ListMixin$setRange = _.setRange$4;
96835 _ = A.Iterable.prototype;
96836 _.super$Iterable$where = _.where$1;
96837 _.super$Iterable$skipWhile = _.skipWhile$1;
96838 _ = A.ModifiableCssParentNode.prototype;
96839 _.super$ModifiableCssParentNode$addChild = _.addChild$1;
96840 _ = A.SimpleSelector.prototype;
96841 _.super$SimpleSelector$addSuffix = _.addSuffix$1;
96842 _.super$SimpleSelector$unify = _.unify$1;
96843 _ = A.Parser.prototype;
96844 _.super$Parser$silentComment = _.silentComment$0;
96845 _ = A.StylesheetParser.prototype;
96846 _.super$StylesheetParser$importArgument = _.importArgument$0;
96847 _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
96848 _ = A.Value.prototype;
96849 _.super$Value$assertMap = _.assertMap$1;
96850 _.super$Value$plus = _.plus$1;
96851 _.super$Value$minus = _.minus$1;
96852 _.super$Value$dividedBy = _.dividedBy$1;
96853 _ = A.SassNumber.prototype;
96854 _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
96855 _.super$SassNumber$coerce = _.coerce$3;
96856 _.super$SassNumber$coerceValue = _.coerceValue$3;
96857 _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
96858 _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
96859 _.super$SassNumber$greaterThan = _.greaterThan$1;
96860 _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
96861 _.super$SassNumber$lessThan = _.lessThan$1;
96862 _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
96863 _.super$SassNumber$modulo = _.modulo$1;
96864 _.super$SassNumber$plus = _.plus$1;
96865 _.super$SassNumber$minus = _.minus$1;
96866 _.super$SassNumber$times = _.times$1;
96867 _.super$SassNumber$dividedBy = _.dividedBy$1;
96868 _ = A.SourceSpanMixin.prototype;
96869 _.super$SourceSpanMixin$compareTo = _.compareTo$1;
96870 _.super$SourceSpanMixin$$eq = _.$eq;
96871 _ = A.StringScanner.prototype;
96872 _.super$StringScanner$readChar = _.readChar$0;
96873 _.super$StringScanner$scanChar = _.scanChar$1;
96874 _.super$StringScanner$scan = _.scan$1;
96875 _.super$StringScanner$matches = _.matches$1;
96876 _ = A.ModifiableCssParentNode0.prototype;
96877 _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
96878 _ = A.SassNumber0.prototype;
96879 _.super$SassNumber$convertToMatch = _.convertToMatch$3;
96880 _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
96881 _.super$SassNumber$coerce0 = _.coerce$3;
96882 _.super$SassNumber$coerceValue0 = _.coerceValue$3;
96883 _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
96884 _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
96885 _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
96886 _.super$SassNumber$greaterThan0 = _.greaterThan$1;
96887 _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
96888 _.super$SassNumber$lessThan0 = _.lessThan$1;
96889 _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
96890 _.super$SassNumber$modulo0 = _.modulo$1;
96891 _.super$SassNumber$plus0 = _.plus$1;
96892 _.super$SassNumber$minus0 = _.minus$1;
96893 _.super$SassNumber$times0 = _.times$1;
96894 _.super$SassNumber$dividedBy0 = _.dividedBy$1;
96895 _ = A.Parser1.prototype;
96896 _.super$Parser$silentComment0 = _.silentComment$0;
96897 _ = A.SimpleSelector0.prototype;
96898 _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
96899 _.super$SimpleSelector$unify0 = _.unify$1;
96900 _ = A.StylesheetParser0.prototype;
96901 _.super$StylesheetParser$importArgument0 = _.importArgument$0;
96902 _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
96903 _ = A.Value0.prototype;
96904 _.super$Value$assertMap0 = _.assertMap$1;
96905 _.super$Value$plus0 = _.plus$1;
96906 _.super$Value$minus0 = _.minus$1;
96907 _.super$Value$dividedBy0 = _.dividedBy$1;
96908 })();
96909 (function installTearOffs() {
96910 var _static_2 = hunkHelpers._static_2,
96911 _instance_1_i = hunkHelpers._instance_1i,
96912 _instance_1_u = hunkHelpers._instance_1u,
96913 _static_1 = hunkHelpers._static_1,
96914 _static_0 = hunkHelpers._static_0,
96915 _static = hunkHelpers.installStaticTearOff,
96916 _instance = hunkHelpers.installInstanceTearOff,
96917 _instance_2_u = hunkHelpers._instance_2u,
96918 _instance_0_i = hunkHelpers._instance_0i,
96919 _instance_0_u = hunkHelpers._instance_0u;
96920 _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 253);
96921 _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 11);
96922 _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 11);
96923 _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 11);
96924 _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 11);
96925 _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 11);
96926 _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 121);
96927 _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 121);
96928 _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 121);
96929 _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
96930 _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 123);
96931 _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 69);
96932 _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
96933 _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 577, 0);
96934 _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
96935 return A._rootRun($self, $parent, zone, f, type$.dynamic);
96936 }], 578, 1);
96937 _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
96938 return A._rootRunUnary($self, $parent, zone, f, arg, type$.dynamic, type$.dynamic);
96939 }], 579, 1);
96940 _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
96941 return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, type$.dynamic, type$.dynamic, type$.dynamic);
96942 }], 580, 1);
96943 _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
96944 return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
96945 }], 581, 0);
96946 _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
96947 return A._rootRegisterUnaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic);
96948 }], 582, 0);
96949 _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
96950 return A._rootRegisterBinaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic, type$.dynamic);
96951 }], 583, 0);
96952 _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 584, 0);
96953 _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 585, 0);
96954 _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 586, 0);
96955 _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 587, 0);
96956 _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 588, 0);
96957 _static_1(A, "async___printToZone$closure", "_printToZone", 106);
96958 _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 589, 0);
96959 _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
96960 return [null];
96961 }, ["call$1", "call$0"], ["complete$1", "complete$0"], 225, 0, 0);
96962 _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 69);
96963 var _;
96964 _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 27);
96965 _instance(_, "get$addError", 0, 1, function() {
96966 return [null];
96967 }, ["call$2", "call$1"], ["addError$2", "addError$1"], 222, 0, 0);
96968 _instance_0_i(_, "get$close", "close$0", 527);
96969 _instance_1_u(_, "get$_async$_add", "_async$_add$1", 27);
96970 _instance_2_u(_, "get$_addError", "_addError$2", 69);
96971 _instance_0_u(_, "get$_close", "_close$0", 0);
96972 _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
96973 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
96974 _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 549, 0, 0);
96975 _instance_0_i(_, "get$resume", "resume$0", 0);
96976 _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
96977 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
96978 _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 27);
96979 _instance_2_u(_, "get$_onError", "_onError$2", 69);
96980 _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
96981 _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
96982 _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
96983 _instance_1_u(_, "get$_handleData", "_handleData$1", 27);
96984 _instance_2_u(_, "get$_handleError", "_handleError$2", 593);
96985 _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
96986 _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 255);
96987 _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 256);
96988 _static_2(A, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 253);
96989 _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 11);
96990 _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 11);
96991 _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 216, 0, 0);
96992 _instance_1_i(_, "get$contains", "contains$1", 11);
96993 _instance_1_i(_, "get$add", "add$1", 11);
96994 _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 216, 0, 0);
96995 _instance_1_u(A.MapMixin.prototype, "get$containsKey", "containsKey$1", 11);
96996 _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 11);
96997 _instance_1_i(A._UnmodifiableSet.prototype, "get$contains", "contains$1", 11);
96998 _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 98);
96999 _static_1(A, "core__identityHashCode$closure", "identityHashCode", 256);
97000 _static_2(A, "core__identical$closure", "identical", 255);
97001 _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 5);
97002 _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 11);
97003 _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 27);
97004 _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
97005 return A.max(a, b, type$.num);
97006 }], 592, 1);
97007 _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 27);
97008 _instance(_, "get$setError", 0, 1, function() {
97009 return [null];
97010 }, ["call$2", "call$1"], ["setError$2", "setError$1"], 222, 0, 0);
97011 _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
97012 _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
97013 _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
97014 _instance_0_u(_, "get$_onCancel", "_onCancel$0", 279);
97015 _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
97016 _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 11);
97017 _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 11);
97018 _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 11);
97019 _instance_1_u(A.ModifiableCssNode.prototype, "get$_node$_isInvisible", "_node$_isInvisible$1", 7);
97020 _instance_1_u(A.SelectorList.prototype, "get$_complexContainsParentSelector", "_complexContainsParentSelector$1", 19);
97021 _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 158);
97022 _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 158);
97023 _static_1(A, "functions___isUnique$closure", "_isUnique", 16);
97024 _static_1(A, "color___opacify$closure", "_opacify", 23);
97025 _static_1(A, "color___transparentize$closure", "_transparentize", 23);
97026 _instance_0_u(_ = A.Parser.prototype, "get$whitespace", "whitespace$0", 0);
97027 _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
97028 _instance_0_u(_, "get$string", "string$0", 30);
97029 _instance_0_u(A.SassParser.prototype, "get$loudComment", "loudComment$0", 0);
97030 _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 350, 0, 0);
97031 _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 118);
97032 _instance_0_u(_, "get$_functionChild", "_functionChild$0", 118);
97033 _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);
97034 _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97035 _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97036 _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 27);
97037 _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97038 _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 11);
97039 _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 27);
97040 _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 11);
97041 _static_1(A, "utils__isPublic$closure", "isPublic", 6);
97042 _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 171);
97043 _instance_2_u(A.SassNumber.prototype, "get$moduloLikeSass", "moduloLikeSass$2", 54);
97044 _instance_1_u(_ = A._EvaluateVisitor0.prototype, "get$_async_evaluate$_visitMediaQueries", "_async_evaluate$_visitMediaQueries$1", 411);
97045 _instance_1_u(_, "get$_async_evaluate$_visitSupportsCondition", "_async_evaluate$_visitSupportsCondition$1", 415);
97046 _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 219);
97047 _instance_1_u(_ = A._EvaluateVisitor.prototype, "get$_visitMediaQueries", "_visitMediaQueries$1", 590);
97048 _instance_1_u(_, "get$_visitSupportsCondition", "_visitSupportsCondition$1", 591);
97049 _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 219);
97050 _instance_1_u(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 271);
97051 _instance_1_u(_, "get$visitChildren", "visitChildren$1", 272);
97052 _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 273);
97053 _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 103);
97054 _instance_1_u(_, "get$_isInvisible", "_isInvisible$1", 7);
97055 _instance_1_u(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
97056 _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
97057 _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
97058 return {color: null};
97059 }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 285, 0, 0);
97060 _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
97061 return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
97062 }], 594, 0);
97063 _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
97064 return A._collect($event, soFar, type$.dynamic);
97065 }], 595, 0);
97066 _instance_1_u(_ = A._EvaluateVisitor2.prototype, "get$_async_evaluate0$_visitMediaQueries", "_async_evaluate0$_visitMediaQueries$1", 314);
97067 _instance_1_u(_, "get$_async_evaluate0$_visitSupportsCondition", "_async_evaluate0$_visitSupportsCondition$1", 315);
97068 _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 157);
97069 _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 171);
97070 _static_1(A, "color1___opacify$closure", "_opacify0", 24);
97071 _static_1(A, "color1___transparentize$closure", "_transparentize0", 24);
97072 _static(A, "compile__compile$closure", 1, function() {
97073 return [null];
97074 }, ["call$2", "call$1"], ["compile0", function(path) {
97075 return A.compile0(path, null);
97076 }], 596, 0);
97077 _static(A, "compile__compileString$closure", 1, function() {
97078 return [null];
97079 }, ["call$2", "call$1"], ["compileString0", function(text) {
97080 return A.compileString0(text, null);
97081 }], 597, 0);
97082 _static(A, "compile__compileAsync$closure", 1, function() {
97083 return [null];
97084 }, ["call$2", "call$1"], ["compileAsync1", function(path) {
97085 return A.compileAsync1(path, null);
97086 }], 598, 0);
97087 _static(A, "compile__compileStringAsync$closure", 1, function() {
97088 return [null];
97089 }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
97090 return A.compileStringAsync1(text, null);
97091 }], 599, 0);
97092 _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 600);
97093 _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 207);
97094 _instance_1_u(_ = A._EvaluateVisitor1.prototype, "get$_evaluate0$_visitMediaQueries", "_evaluate0$_visitMediaQueries$1", 400);
97095 _instance_1_u(_, "get$_evaluate0$_visitSupportsCondition", "_evaluate0$_visitSupportsCondition$1", 401);
97096 _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 157);
97097 _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 207);
97098 _static_1(A, "functions0___isUnique$closure", "_isUnique0", 15);
97099 _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 601);
97100 _static_2(A, "legacy__render$closure", "render", 602);
97101 _static_1(A, "legacy__renderSync$closure", "renderSync", 603);
97102 _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97103 _instance_1_u(A.SelectorList0.prototype, "get$_list2$_complexContainsParentSelector", "_list2$_complexContainsParentSelector$1", 20);
97104 _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97105 _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 27);
97106 _instance_1_u(A.ModifiableCssNode0.prototype, "get$_node1$_isInvisible", "_node1$_isInvisible$1", 8);
97107 _instance_2_u(A.SassNumber0.prototype, "get$moduloLikeSass", "moduloLikeSass$2", 54);
97108 _instance_0_u(_ = A.Parser1.prototype, "get$whitespace", "whitespace$0", 0);
97109 _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
97110 _instance_0_u(_, "get$string", "string$0", 30);
97111 _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97112 _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97113 _static_1(A, "sass__main$closure", "main0", 604);
97114 _instance_0_u(A.SassParser0.prototype, "get$loudComment", "loudComment$0", 0);
97115 _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 524);
97116 _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 103);
97117 _instance_1_u(_, "get$_serialize0$_isInvisible", "_serialize0$_isInvisible$1", 8);
97118 _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 27);
97119 _instance_1_u(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
97120 _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
97121 _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 539, 0, 0);
97122 _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 126);
97123 _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 126);
97124 _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
97125 _static_1(A, "utils1__jsToDartUrl$closure", "jsToDartUrl", 605);
97126 _static_1(A, "utils1__dartToJSUrl$closure", "dartToJSUrl", 606);
97127 _static_1(A, "utils0__isPublic$closure", "isPublic0", 6);
97128 _static(A, "path__absolute$closure", 1, function() {
97129 return [null, null, null, null, null, null];
97130 }, ["call$7", "call$1", "call$2", "call$3", "call$4", "call$6", "call$5"], ["absolute", function(part1) {
97131 return A.absolute(part1, null, null, null, null, null, null);
97132 }, function(part1, part2) {
97133 return A.absolute(part1, part2, null, null, null, null, null);
97134 }, function(part1, part2, part3) {
97135 return A.absolute(part1, part2, part3, null, null, null, null);
97136 }, function(part1, part2, part3, part4) {
97137 return A.absolute(part1, part2, part3, part4, null, null, null);
97138 }, function(part1, part2, part3, part4, part5, part6) {
97139 return A.absolute(part1, part2, part3, part4, part5, part6, null);
97140 }, function(part1, part2, part3, part4, part5) {
97141 return A.absolute(part1, part2, part3, part4, part5, null, null);
97142 }], 607, 0);
97143 _static_1(A, "path__prettyUri$closure", "prettyUri", 92);
97144 _static_1(A, "character__isWhitespace$closure", "isWhitespace", 32);
97145 _static_1(A, "character__isNewline$closure", "isNewline", 32);
97146 _static_1(A, "character__isHex$closure", "isHex", 32);
97147 _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 41);
97148 _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 41);
97149 _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 41);
97150 _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 41);
97151 _static_1(A, "number0__fuzzyRound$closure", "fuzzyRound", 43);
97152 _static_1(A, "character0__isWhitespace$closure", "isWhitespace0", 32);
97153 _static_1(A, "character0__isNewline$closure", "isNewline0", 32);
97154 _static_1(A, "character0__isHex$closure", "isHex0", 32);
97155 _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 41);
97156 _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 41);
97157 _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 41);
97158 _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 41);
97159 _static_1(A, "number2__fuzzyRound$closure", "fuzzyRound0", 43);
97160 _static_1(A, "value1__wrapValue$closure", "wrapValue", 405);
97161 })();
97162 (function inheritance() {
97163 var _mixin = hunkHelpers.mixin,
97164 _inherit = hunkHelpers.inherit,
97165 _inheritMany = hunkHelpers.inheritMany;
97166 _inherit(A.Object, null);
97167 _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapMixin, A.Error, A._ListBase_Object_ListMixin, A.SentinelValue, A.ListIterator, A.Iterator, A.ExpandIterator, A.EmptyIterator, A.FollowedByIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A.MapView, A.ConstantMap, A.JSInvocationMirror, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A.ExceptionAndStackTrace, A._StackTrace, A._Required, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A._AsyncAwaitCompleter, A._IterationMarker, A._SyncStarIterator, A.AsyncError, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A.Stream, A.StreamTransformerBase, A._StreamController, A._SyncStreamControllerDispatch, A._AsyncStreamControllerDispatch, A._BufferingStreamSubscription, A._AddStreamState, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._StreamIterator, A._ZoneFunction, A._RunNullaryZoneFunction, A._RunUnaryZoneFunction, A._RunBinaryZoneFunction, A._RegisterNullaryZoneFunction, A._RegisterUnaryZoneFunction, A._RegisterBinaryZoneFunction, A._ZoneSpecification, A._ZoneDelegate, A._Zone, A._HashMapKeyIterator, A.__SetBase_Object_SetMixin, A._LinkedHashSetCell, A._LinkedHashSetIterator, A.ListMixin, A._MapBaseValueIterator, A._UnmodifiableMapMixin, A._ListQueueIterator, A.SetMixin, A._UnmodifiableSetMixin, A.Codec, A._Base64Encoder, A.ChunkedConversionSink, A._JsonStringifier, A.StringConversionSinkMixin, A._Utf8Encoder, A._Utf8Decoder, A.DateTime, A.Duration, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.Expando, A.MapEntry, A.Null, A._StringStackTrace, A.RuneIterator, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A._JSRandom, A.ArgParser, A.ArgResults, A.Option, A.OptionType, A.Parser0, A._Usage, A.ErrorResult, A.ValueResult, A.StreamCompleter, A.StreamGroup, A._StreamGroupState, A.StreamQueue, A._NextRequest, A.Repl, A.ReplAdapter, A.DefaultEquality, A.IterableEquality, A.ListEquality, A._MapEntry, A.MapEquality, A._QueueList_Object_ListMixin, A._DelegatingIterableBase, A.UnmodifiableSetMixin, A.Context, A._PathDirection, A._PathRelation, A.Style, A.ParsedPath, A.PathException, A.CssMediaQuery, A._SingletonCssMediaQueryMergeResult, A.MediaQuerySuccessfulMergeResult, A.AstNode, A.ModifiableCssValue, A.CssValue, A._FakeAstNode, A.Argument, A.ArgumentDeclaration, A.ArgumentInvocation, A.AtRootQuery, A.ConfiguredVariable, A.BinaryOperationExpression, A.BinaryOperator, A.BooleanExpression, A.CalculationExpression, A.ColorExpression, A.FunctionExpression, A.IfExpression, A.InterpolatedFunctionExpression, A.ListExpression, A.MapExpression, A.NullExpression, A.NumberExpression, A.ParenthesizedExpression, A.SelectorExpression, A.StringExpression, A.UnaryOperationExpression, A.UnaryOperator, A.ValueExpression, A.VariableExpression, A.DynamicImport, A.StaticImport, A.Interpolation, A.ParentStatement, A.ContentRule, A.DebugRule, A.ErrorRule, A.ExtendRule, A.ForwardRule, A.IfRule, A.IfRuleClause, A.ImportRule, A.IncludeRule, A.LoudComment, A.StatementSearchVisitor, A.ReturnRule, A.SilentComment, A.UseRule, A.VariableDeclaration, A.WarnRule, A.SupportsAnything, A.SupportsDeclaration, A.SupportsFunction, A.SupportsInterpolation, A.SupportsNegation, A.SupportsOperation, A.Selector, A.AttributeOperator, A.Combinator, A.QualifiedName, A.AsyncEnvironment, A._EnvironmentModule0, A.AsyncImportCache, A.AsyncBuiltInCallable, A.BuiltInCallable, A.PlainCssCallable, A.UserDefinedCallable, A.CompileResult, A.Configuration, A.ConfiguredValue, A.Environment, A._EnvironmentModule, A.SourceSpanException, A.SassScriptException, A.ExecutableOptions, A.UsageException, A._Watcher, A.EmptyExtensionStore, A.Extension, A.Extender, A.ExtensionStore, A.ExtendMode, A.ImportCache, A.AsyncImporter, A.ImporterResult, A.InterpolationBuffer, A.FileSystemException, A.Stderr, A._QuietLogger, A.StderrLogger, A.TerseLogger, A.TrackingLogger, A.BuiltInModule, A.ForwardedModuleView, A.ShadowedModuleView, A.Parser, A.StylesheetGraph, A.StylesheetNode, A.Syntax, A.MultiDirWatcher, A.NoSourceMapBuffer, A.SourceMapBuffer, A.Value, A.CalculationOperation, A.CalculationOperator, A.CalculationInterpolation, A.ListSeparator, A._EvaluateVisitor0, A._ImportedCssVisitor0, A.EvaluateResult, A._EvaluationContext0, A._ArgumentResults0, A._LoadedStylesheet0, A._CloneCssVisitor, A.Evaluator, A._EvaluateVisitor, A._ImportedCssVisitor, A._EvaluationContext, A._ArgumentResults, A._LoadedStylesheet, A.RecursiveStatementVisitor, A._SerializeVisitor, A.OutputStyle, A.LineFeed, A.SerializeResult, A.Entry, A.Mapping, A.TargetLineEntry, A.TargetEntry, A.SourceFile, A.SourceLocationMixin, A.SourceSpanMixin, A.Highlighter, A._Highlight, A._Line, A.SourceLocation, A.Chain, A.Frame, A.LazyTrace, A.Trace, A.UnparsedFrame, A.StringScanner, A._SpanScannerState, A.AsciiGlyphSet, A.UnicodeGlyphSet, A.Tuple2, A.Tuple3, A.Tuple4, A.WatchEvent, A.ChangeType, A.SupportsAnything0, A.Argument0, A.ArgumentDeclaration0, A.ArgumentInvocation0, A.Value0, A.AsyncImporter0, A.AsyncBuiltInCallable0, A.AsyncEnvironment0, A._EnvironmentModule2, A._EvaluateVisitor2, A._ImportedCssVisitor2, A.EvaluateResult0, A._EvaluationContext2, A._ArgumentResults2, A._LoadedStylesheet2, A.AsyncImportCache0, A.Parser1, A.AtRootQuery0, A.ParentStatement0, A.AstNode0, A.Selector0, A.AttributeOperator0, A.BinaryOperationExpression0, A.BinaryOperator0, A.BooleanExpression0, A.BuiltInCallable0, A.BuiltInModule0, A.CalculationExpression0, A.CalculationOperation0, A.CalculationOperator0, A.CalculationInterpolation0, A._CloneCssVisitor0, A.ColorExpression0, A.CompileResult0, A.Combinator0, A.Configuration0, A.ConfiguredValue0, A.ConfiguredVariable0, A.ContentRule0, A.DebugRule0, A.SupportsDeclaration0, A.DynamicImport0, A.EmptyExtensionStore0, A.Environment0, A._EnvironmentModule1, A.ErrorRule0, A._EvaluateVisitor1, A._ImportedCssVisitor1, A._EvaluationContext1, A._ArgumentResults1, A._LoadedStylesheet1, A.SassScriptException0, A.ExtendRule0, A.Extension0, A.Extender0, A.ExtensionStore0, A.ForwardRule0, A.ForwardedModuleView0, A.FunctionExpression0, A.SupportsFunction0, A.IfExpression0, A.IfRule0, A.IfRuleClause0, A.NodeImporter, A.ImportCache0, A.ImportRule0, A.IncludeRule0, A.InterpolatedFunctionExpression0, A.Interpolation0, A.SupportsInterpolation0, A.InterpolationBuffer0, A.ListExpression0, A.ListSeparator0, A._QuietLogger0, A.LoudComment0, A.MapExpression0, A.CssMediaQuery0, A._SingletonCssMediaQueryMergeResult0, A.MediaQuerySuccessfulMergeResult0, A.StatementSearchVisitor0, A.ExtendMode0, A.SupportsNegation0, A.NoSourceMapBuffer0, A._FakeAstNode0, A.FileSystemException0, A.Stderr0, A.NodeToDartLogger, A.NullExpression0, A.NumberExpression0, A.SupportsOperation0, A.ParenthesizedExpression0, A.PlainCssCallable0, A.QualifiedName0, A.ImporterResult0, A.ReturnRule0, A.SelectorExpression0, A._SerializeVisitor0, A.OutputStyle0, A.LineFeed0, A.SerializeResult0, A.ShadowedModuleView0, A.SilentComment0, A.SourceMapBuffer0, A.StaticImport0, A.StderrLogger0, A.StringExpression0, A.Syntax0, A.TerseLogger0, A.UnaryOperationExpression0, A.UnaryOperator0, A.UseRule0, A.UserDefinedCallable0, A.CssValue0, A.ValueExpression0, A.ModifiableCssValue0, A.VariableExpression0, A.VariableDeclaration0, A.WarnRule0]);
97168 _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSArray, J.JSNumber, J.JSString, A.NativeTypedData]);
97169 _inheritMany(J.JavaScriptObject, [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]);
97170 _inherit(J.JSUnmodifiableArray, J.JSArray);
97171 _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
97172 _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]);
97173 _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
97174 _inherit(A._EfficientLengthCastIterable, A.CastIterable);
97175 _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
97176 _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_parseIPv6Address_error, A._Uri__makePath_closure, A._createTables_setChars, A._createTables_setRange, A._convertDataTree__convert, A.ArgParser__addOption_closure, A._Usage__writeOption_closure, A._Usage__buildAllowedList_closure, A.StreamGroup__onListen_closure, A.StreamGroup__onCancel_closure, A.StreamQueue__ensureListening_closure, A.alwaysValid_closure, A.ReplAdapter_runAsync__closure, A.MapKeySet_difference_closure, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.futureToPromise__closure, A.Context_joinAll_closure, A.Context_split_closure, A._validateArgList_closure, A.ParsedPath__splitExtension_closure, A.PathMap__create_closure0, A.PathMap__create_closure1, A.WindowsStyle_absolutePathToUri_closure, A.ArgumentDeclaration_verify_closure, A.ArgumentDeclaration_verify_closure0, A.CalculationExpression__verifyArguments_closure, A.ListExpression_toString_closure, A.MapExpression_toString_closure, A.Interpolation_toString_closure, A.EachRule_toString_closure, A.IfRuleClause$__closure, A.IfRuleClause$___closure, A.ParentStatement_closure, A.ParentStatement__closure, A.ComplexSelector_isInvisible_closure, A.CompoundSelector_isInvisible_closure, A.IDSelector_unify_closure, A.SelectorList_isInvisible_closure, A.SelectorList_asSassList_closure, A.SelectorList_asSassList__closure, A.SelectorList_unify_closure, A.SelectorList_unify__closure, A.SelectorList_unify___closure, A.SelectorList_resolveParentSelectors_closure, A.SelectorList_resolveParentSelectors__closure, A.SelectorList_resolveParentSelectors__closure0, A.SelectorList__complexContainsParentSelector_closure, A.SelectorList__complexContainsParentSelector__closure, A.SelectorList__resolveParentSelectorsCompound_closure, A.SelectorList__resolveParentSelectorsCompound_closure0, A.SelectorList__resolveParentSelectorsCompound_closure1, A.PseudoSelector_unify_closure, A._compileStylesheet_closure0, A.AsyncEnvironment_importForwards_closure, A.AsyncEnvironment_importForwards_closure0, A.AsyncEnvironment_importForwards_closure1, A.AsyncEnvironment__getVariableFromGlobalModule_closure, A.AsyncEnvironment_setVariable_closure0, A.AsyncEnvironment__getFunctionFromGlobalModule_closure, A.AsyncEnvironment__getMixinFromGlobalModule_closure, A.AsyncEnvironment_toModule_closure, A.AsyncEnvironment_toDummyModule_closure, A.AsyncEnvironment__fromOneModule_closure, A.AsyncEnvironment__fromOneModule__closure, A._EnvironmentModule__EnvironmentModule_closure5, A._EnvironmentModule__EnvironmentModule_closure6, A._EnvironmentModule__EnvironmentModule_closure7, A._EnvironmentModule__EnvironmentModule_closure8, A._EnvironmentModule__EnvironmentModule_closure9, A._EnvironmentModule__EnvironmentModule_closure10, A.AsyncImportCache_humanize_closure, A.AsyncImportCache_humanize_closure0, A.AsyncImportCache_humanize_closure1, A.AsyncBuiltInCallable$mixin_closure, A.BuiltInCallable$mixin_closure, A._compileStylesheet_closure, A.Configuration_toString_closure, A.Environment_importForwards_closure, A.Environment_importForwards_closure0, A.Environment_importForwards_closure1, A.Environment__getVariableFromGlobalModule_closure, A.Environment_setVariable_closure0, A.Environment__getFunctionFromGlobalModule_closure, A.Environment__getMixinFromGlobalModule_closure, A.Environment_toModule_closure, A.Environment_toDummyModule_closure, A.Environment__fromOneModule_closure, A.Environment__fromOneModule__closure, A._EnvironmentModule__EnvironmentModule_closure, A._EnvironmentModule__EnvironmentModule_closure0, A._EnvironmentModule__EnvironmentModule_closure1, A._EnvironmentModule__EnvironmentModule_closure2, A._EnvironmentModule__EnvironmentModule_closure3, A._EnvironmentModule__EnvironmentModule_closure4, A._writeSourceMap_closure, A.ExecutableOptions_emitErrorCss_closure, A.watch_closure, A._Watcher__debounceEvents_closure, A.ExtensionStore_extensionsWhereTarget_closure, A.ExtensionStore_addExtensions_closure0, A.ExtensionStore_addExtensions__closure, A.ExtensionStore_addExtensions__closure0, A.ExtensionStore__extendComplex_closure, A.ExtensionStore__extendComplex_closure0, A.ExtensionStore__extendComplex__closure, A.ExtensionStore__extendComplex__closure0, A.ExtensionStore__extendComplex___closure, A.ExtensionStore__extendCompound_closure, A.ExtensionStore__extendCompound_closure0, A.ExtensionStore__extendCompound__closure, A.ExtensionStore__extendCompound__closure0, A.ExtensionStore__extendCompound_closure1, A.ExtensionStore__extendCompound_closure2, A.ExtensionStore__extendCompound_closure3, A.ExtensionStore__extendSimple_withoutPseudo, A.ExtensionStore__extendSimple_closure, A.ExtensionStore__extendSimple_closure0, A.ExtensionStore__extendPseudo_closure, A.ExtensionStore__extendPseudo_closure0, A.ExtensionStore__extendPseudo_closure1, A.ExtensionStore__extendPseudo_closure2, A.ExtensionStore__extendPseudo_closure3, A.ExtensionStore__trim_closure, A.ExtensionStore__trim_closure0, A.unifyComplex_closure, A._weaveParents_closure0, A._weaveParents_closure1, A._weaveParents__closure1, A._weaveParents_closure2, A._weaveParents_closure3, A._weaveParents__closure0, A._weaveParents_closure4, A._weaveParents_closure5, A._weaveParents__closure, A._mustUnify_closure, A._mustUnify__closure, A.paths__closure, A.paths___closure, A._hasRoot_closure, A.listIsSuperselector_closure, A.listIsSuperselector__closure, A._simpleIsSuperselectorOfCompound_closure, A._simpleIsSuperselectorOfCompound__closure, A._selectorPseudoIsSuperselector_closure, A._selectorPseudoIsSuperselector_closure0, A._selectorPseudoIsSuperselector_closure1, A._selectorPseudoIsSuperselector_closure2, A._selectorPseudoIsSuperselector_closure3, A._selectorPseudoIsSuperselector__closure, A._selectorPseudoIsSuperselector___closure, A._selectorPseudoIsSuperselector___closure0, A._selectorPseudoIsSuperselector_closure4, A._selectorPseudoIsSuperselector_closure5, A._selectorPseudoArgs_closure, A._selectorPseudoArgs_closure0, A.globalFunctions_closure, A.global_closure, A.global_closure0, A.global_closure1, A.global_closure2, A.global_closure3, A.global_closure4, A.global_closure5, A.global_closure6, A.global_closure7, A.global_closure8, A.global_closure9, A.global_closure10, A.global_closure11, A.global_closure12, A.global_closure13, A.global_closure14, A.global_closure15, A.global_closure16, A.global_closure17, A.global_closure18, A.global_closure19, A.global_closure20, A.global_closure21, A.global_closure22, A.global_closure23, A.global_closure24, A.global__closure, A.global_closure25, A.module_closure, A.module_closure0, A.module_closure1, A.module_closure2, A.module_closure3, A.module_closure4, A.module_closure5, A.module_closure6, A.module__closure, A.module_closure7, A._red_closure, A._green_closure, A._blue_closure, A._mix_closure, A._hue_closure, A._saturation_closure, A._lightness_closure, A._complement_closure, A._adjust_closure, A._scale_closure, A._change_closure, A._ieHexStr_closure, A._ieHexStr_closure_hexString, A._updateComponents_getParam, A._updateComponents_closure, A._updateComponents_updateValue, A._functionString_closure, A._removedColorFunction_closure, A._rgb_closure, A._hsl_closure, A._removeUnits_closure, A._removeUnits_closure0, A._hwb_closure, A._parseChannels_closure, A._length_closure0, A._nth_closure, A._setNth_closure, A._join_closure, A._append_closure0, A._zip_closure, A._zip__closure, A._zip__closure0, A._zip__closure1, A._index_closure0, A._separator_closure, A._isBracketed_closure, A._slash_closure, A._get_closure, A._set_closure, A._set__closure0, A._set_closure0, A._set__closure, A._merge_closure, A._merge_closure0, A._merge__closure, A._deepMerge_closure, A._deepRemove_closure, A._deepRemove__closure, A._remove_closure, A._remove_closure0, A._keys_closure, A._values_closure, A._hasKey_closure, A._modify__modifyNestedMap, A._ceil_closure, A._clamp_closure, A._floor_closure, A._max_closure, A._min_closure, A._abs_closure, A._hypot_closure, A._hypot__closure, A._log_closure, A._pow_closure, A._sqrt_closure, A._acos_closure, A._asin_closure, A._atan_closure, A._atan2_closure, A._cos_closure, A._sin_closure, A._tan_closure, A._compatible_closure, A._isUnitless_closure, A._unit_closure, A._percentage_closure, A._randomFunction_closure, A._div_closure, A._numberFunction_closure, A.global_closure26, A.global_closure27, A.global_closure28, A.global_closure29, A.local_closure, A.local_closure0, A.local__closure, A._nest_closure, A._nest__closure, A._append_closure, A._append__closure, A._append___closure, A._extend_closure, A._replace_closure, A._unify_closure, A._isSuperselector_closure, A._simpleSelectors_closure, A._simpleSelectors__closure, A._parse_closure, A._unquote_closure, A._quote_closure, A._length_closure, A._insert_closure, A._index_closure, A._slice_closure, A._toUpperCase_closure, A._toLowerCase_closure, A._uniqueId_closure, A.ImportCache_humanize_closure, A.ImportCache_humanize_closure0, A.ImportCache_humanize_closure1, A.FilesystemImporter_canonicalize_closure, A._exactlyOne_closure, A._realCasePath_helper, A._realCasePath_helper__closure, A.readStdin_closure, A.readStdin_closure0, A.readStdin_closure1, A.readStdin_closure2, A.listDir__closure, A.listDir__closure0, A.listDir_closure_list, A.listDir__list_closure, A.watchDir_closure, A.watchDir_closure0, A.watchDir_closure1, A.watchDir_closure2, A.TerseLogger_summarize_closure, A.TerseLogger_summarize_closure0, A._disallowedFunctionNames_closure, A.Parser_scanIdentChar_matches, A.StylesheetParser_parse__closure0, A.StylesheetParser_expression_addSingleExpression, A.StylesheetParser_expression_addOperator, A.StylesheetParser__unicodeRange_closure, A.StylesheetParser__unicodeRange_closure0, A.StylesheetParser_trySpecialFunction_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime, A._PrefixedKeys_iterator_closure, A.SourceMapBuffer_buildSourceMap_closure, A._UnprefixedKeys_iterator_closure, A._UnprefixedKeys_iterator_closure0, A.indent_closure, A.flattenVertically_closure, A.flattenVertically_closure0, A.SassCalculation__verifyLength_closure, A.SassColor_SassColor$hwb_toRgb, A.SassList_isBlank_closure, A.SassNumber__coerceOrConvertValue_closure, A.SassNumber__coerceOrConvertValue_closure1, A.SassNumber_multiplyUnits_closure, A.SassNumber_multiplyUnits_closure1, A.SassNumber__areAnyConvertible_closure, A.SassNumber__canonicalizeUnitList_closure, A.SingleUnitSassNumber__coerceToUnit_closure, A.SingleUnitSassNumber__coerceValueToUnit_closure, A.SingleUnitSassNumber_multiplyUnits_closure, A._EvaluateVisitor_closure9, A._EvaluateVisitor_closure10, A._EvaluateVisitor_closure11, A._EvaluateVisitor_closure12, A._EvaluateVisitor_closure13, A._EvaluateVisitor_closure14, A._EvaluateVisitor_closure15, A._EvaluateVisitor_closure16, A._EvaluateVisitor_closure17, A._EvaluateVisitor_closure18, A._EvaluateVisitor__closure3, A._EvaluateVisitor__loadModule__closure0, A._EvaluateVisitor__combineCss_closure2, A._EvaluateVisitor__combineCss_closure3, A._EvaluateVisitor__combineCss_closure4, A._EvaluateVisitor__extendModules_closure1, A._EvaluateVisitor__topologicalModules_visitModule0, A._EvaluateVisitor__scopeForAtRoot_closure5, A._EvaluateVisitor__scopeForAtRoot_closure6, A._EvaluateVisitor__scopeForAtRoot_closure7, A._EvaluateVisitor__scopeForAtRoot_closure8, A._EvaluateVisitor__scopeForAtRoot_closure9, A._EvaluateVisitor__scopeForAtRoot_closure10, A._EvaluateVisitor_visitDeclaration_closure1, A._EvaluateVisitor_visitEachRule_closure2, A._EvaluateVisitor_visitEachRule_closure3, A._EvaluateVisitor_visitEachRule__closure0, A._EvaluateVisitor_visitEachRule___closure0, A._EvaluateVisitor_visitAtRule_closure2, A._EvaluateVisitor_visitAtRule_closure4, A._EvaluateVisitor_visitForRule__closure0, A._EvaluateVisitor_visitForwardRule_closure1, A._EvaluateVisitor_visitForwardRule_closure2, A._EvaluateVisitor_visitIfRule__closure0, A._EvaluateVisitor__visitDynamicImport__closure3, A._EvaluateVisitor__visitDynamicImport__closure4, A._EvaluateVisitor__visitDynamicImport__closure5, A._EvaluateVisitor__visitStaticImport_closure0, A._EvaluateVisitor_visitIncludeRule_closure6, A._EvaluateVisitor_visitMediaRule_closure2, A._EvaluateVisitor_visitMediaRule_closure4, A._EvaluateVisitor_visitStyleRule_closure8, A._EvaluateVisitor_visitStyleRule_closure12, A._EvaluateVisitor_visitSupportsRule_closure2, A._EvaluateVisitor_visitUseRule_closure0, A._EvaluateVisitor_visitWhileRule__closure0, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0, A._EvaluateVisitor_visitListExpression_closure0, A._EvaluateVisitor__runUserDefinedCallable____closure0, A._EvaluateVisitor__runBuiltInCallable_closure2, A._EvaluateVisitor__evaluateArguments_closure3, A._EvaluateVisitor__evaluateArguments_closure4, A._EvaluateVisitor__evaluateArguments_closure6, A._EvaluateVisitor__evaluateMacroArguments_closure3, A._EvaluateVisitor__evaluateMacroArguments_closure4, A._EvaluateVisitor__evaluateMacroArguments_closure6, A._EvaluateVisitor_visitStringExpression_closure0, A._EvaluateVisitor_visitCssAtRule_closure2, A._EvaluateVisitor_visitCssKeyframeBlock_closure2, A._EvaluateVisitor_visitCssMediaRule_closure2, A._EvaluateVisitor_visitCssMediaRule_closure4, A._EvaluateVisitor_visitCssStyleRule_closure2, A._EvaluateVisitor_visitCssSupportsRule_closure2, A._EvaluateVisitor__performInterpolation_closure0, A._EvaluateVisitor__withoutSlash_recommendation0, A._EvaluateVisitor__stackFrame_closure0, A._EvaluateVisitor__stackTrace_closure0, A._ImportedCssVisitor_visitCssAtRule_closure0, A._ImportedCssVisitor_visitCssMediaRule_closure0, A._ImportedCssVisitor_visitCssStyleRule_closure0, A._ImportedCssVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor_closure, A._EvaluateVisitor_closure0, A._EvaluateVisitor_closure1, A._EvaluateVisitor_closure2, A._EvaluateVisitor_closure3, A._EvaluateVisitor_closure4, A._EvaluateVisitor_closure5, A._EvaluateVisitor_closure6, A._EvaluateVisitor_closure7, A._EvaluateVisitor_closure8, A._EvaluateVisitor__closure0, A._EvaluateVisitor__loadModule__closure, A._EvaluateVisitor__combineCss_closure, A._EvaluateVisitor__combineCss_closure0, A._EvaluateVisitor__combineCss_closure1, A._EvaluateVisitor__extendModules_closure, A._EvaluateVisitor__topologicalModules_visitModule, A._EvaluateVisitor__scopeForAtRoot_closure, A._EvaluateVisitor__scopeForAtRoot_closure0, A._EvaluateVisitor__scopeForAtRoot_closure1, A._EvaluateVisitor__scopeForAtRoot_closure2, A._EvaluateVisitor__scopeForAtRoot_closure3, A._EvaluateVisitor__scopeForAtRoot_closure4, A._EvaluateVisitor_visitDeclaration_closure, A._EvaluateVisitor_visitEachRule_closure, A._EvaluateVisitor_visitEachRule_closure0, A._EvaluateVisitor_visitEachRule__closure, A._EvaluateVisitor_visitEachRule___closure, A._EvaluateVisitor_visitAtRule_closure, A._EvaluateVisitor_visitAtRule_closure1, A._EvaluateVisitor_visitForRule__closure, A._EvaluateVisitor_visitForwardRule_closure, A._EvaluateVisitor_visitForwardRule_closure0, A._EvaluateVisitor_visitIfRule__closure, A._EvaluateVisitor__visitDynamicImport__closure, A._EvaluateVisitor__visitDynamicImport__closure0, A._EvaluateVisitor__visitDynamicImport__closure1, A._EvaluateVisitor__visitStaticImport_closure, A._EvaluateVisitor_visitIncludeRule_closure2, A._EvaluateVisitor_visitMediaRule_closure, A._EvaluateVisitor_visitMediaRule_closure1, A._EvaluateVisitor_visitStyleRule_closure1, A._EvaluateVisitor_visitStyleRule_closure5, A._EvaluateVisitor_visitSupportsRule_closure0, A._EvaluateVisitor_visitUseRule_closure, A._EvaluateVisitor_visitWhileRule__closure, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation, A._EvaluateVisitor_visitListExpression_closure, A._EvaluateVisitor__runUserDefinedCallable____closure, A._EvaluateVisitor__runBuiltInCallable_closure0, A._EvaluateVisitor__evaluateArguments_closure, A._EvaluateVisitor__evaluateArguments_closure0, A._EvaluateVisitor__evaluateArguments_closure2, A._EvaluateVisitor__evaluateMacroArguments_closure, A._EvaluateVisitor__evaluateMacroArguments_closure0, A._EvaluateVisitor__evaluateMacroArguments_closure2, A._EvaluateVisitor_visitStringExpression_closure, A._EvaluateVisitor_visitCssAtRule_closure0, A._EvaluateVisitor_visitCssKeyframeBlock_closure0, A._EvaluateVisitor_visitCssMediaRule_closure, A._EvaluateVisitor_visitCssMediaRule_closure1, A._EvaluateVisitor_visitCssStyleRule_closure0, A._EvaluateVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor__performInterpolation_closure, A._EvaluateVisitor__withoutSlash_recommendation, A._EvaluateVisitor__stackFrame_closure, A._EvaluateVisitor__stackTrace_closure, A._ImportedCssVisitor_visitCssAtRule_closure, A._ImportedCssVisitor_visitCssMediaRule_closure, A._ImportedCssVisitor_visitCssStyleRule_closure, A._ImportedCssVisitor_visitCssSupportsRule_closure, A.serialize_closure, A._SerializeVisitor_visitList_closure, A._SerializeVisitor_visitList_closure0, A._SerializeVisitor_visitList_closure1, A._SerializeVisitor_visitMap_closure, A._SerializeVisitor_visitSelectorList_closure, A.StatementSearchVisitor_visitIfRule_closure, A.StatementSearchVisitor_visitIfRule__closure0, A.StatementSearchVisitor_visitIfRule_closure0, A.StatementSearchVisitor_visitIfRule__closure, A.StatementSearchVisitor_visitChildren_closure, A.SingleMapping_SingleMapping$fromEntries_closure1, A.SingleMapping_toJson_closure, A.Highlighter$__closure, A.Highlighter$___closure, A.Highlighter$__closure0, A.Highlighter__collateLines_closure, A.Highlighter__collateLines_closure1, A.Highlighter__collateLines__closure, A.Highlighter_highlight_closure, A.Chain_Chain$parse_closure, A.Chain_Chain$parse_closure0, A.Chain_Chain$parse_closure1, A.Chain_toTrace_closure, A.Chain_toString_closure0, A.Chain_toString__closure0, A.Chain_toString_closure, A.Chain_toString__closure, A.Trace__parseVM_closure, A.Trace__parseVM_closure0, A.Trace$parseV8_closure, A.Trace$parseV8_closure0, A.Trace$parseJSCore_closure, A.Trace$parseJSCore_closure0, A.Trace$parseFirefox_closure, A.Trace$parseFirefox_closure0, A.Trace$parseFriendly_closure, A.Trace$parseFriendly_closure0, A.Trace_terse_closure, A.Trace_foldFrames_closure, A.Trace_foldFrames_closure0, A.Trace_toString_closure0, A.Trace_toString_closure, A.TransformByHandlers_transformByHandlers__closure, A.RateLimit__debounceAggregate_closure0, A.ArgumentDeclaration_verify_closure1, A.ArgumentDeclaration_verify_closure2, A.argumentListClass__closure, A.argumentListClass__closure0, A.AsyncBuiltInCallable$mixin_closure0, A._compileStylesheet_closure2, A.AsyncEnvironment_importForwards_closure2, A.AsyncEnvironment_importForwards_closure3, A.AsyncEnvironment_importForwards_closure4, A.AsyncEnvironment__getVariableFromGlobalModule_closure0, A.AsyncEnvironment_setVariable_closure3, A.AsyncEnvironment__getFunctionFromGlobalModule_closure0, A.AsyncEnvironment__getMixinFromGlobalModule_closure0, A.AsyncEnvironment_toModule_closure0, A.AsyncEnvironment_toDummyModule_closure0, A.AsyncEnvironment__fromOneModule_closure0, A.AsyncEnvironment__fromOneModule__closure0, A._EnvironmentModule__EnvironmentModule_closure17, A._EnvironmentModule__EnvironmentModule_closure18, A._EnvironmentModule__EnvironmentModule_closure19, A._EnvironmentModule__EnvironmentModule_closure20, A._EnvironmentModule__EnvironmentModule_closure21, A._EnvironmentModule__EnvironmentModule_closure22, A._EvaluateVisitor_closure29, A._EvaluateVisitor_closure30, A._EvaluateVisitor_closure31, A._EvaluateVisitor_closure32, A._EvaluateVisitor_closure33, A._EvaluateVisitor_closure34, A._EvaluateVisitor_closure35, A._EvaluateVisitor_closure36, A._EvaluateVisitor_closure37, A._EvaluateVisitor_closure38, A._EvaluateVisitor__closure9, A._EvaluateVisitor__loadModule__closure2, A._EvaluateVisitor__combineCss_closure8, A._EvaluateVisitor__combineCss_closure9, A._EvaluateVisitor__combineCss_closure10, A._EvaluateVisitor__extendModules_closure5, A._EvaluateVisitor__topologicalModules_visitModule2, A._EvaluateVisitor__scopeForAtRoot_closure17, A._EvaluateVisitor__scopeForAtRoot_closure18, A._EvaluateVisitor__scopeForAtRoot_closure19, A._EvaluateVisitor__scopeForAtRoot_closure20, A._EvaluateVisitor__scopeForAtRoot_closure21, A._EvaluateVisitor__scopeForAtRoot_closure22, A._EvaluateVisitor_visitDeclaration_closure5, A._EvaluateVisitor_visitEachRule_closure8, A._EvaluateVisitor_visitEachRule_closure9, A._EvaluateVisitor_visitEachRule__closure2, A._EvaluateVisitor_visitEachRule___closure2, A._EvaluateVisitor_visitAtRule_closure8, A._EvaluateVisitor_visitAtRule_closure10, A._EvaluateVisitor_visitForRule__closure2, A._EvaluateVisitor_visitForwardRule_closure5, A._EvaluateVisitor_visitForwardRule_closure6, A._EvaluateVisitor_visitIfRule__closure2, A._EvaluateVisitor__visitDynamicImport__closure11, A._EvaluateVisitor__visitDynamicImport__closure12, A._EvaluateVisitor__visitDynamicImport__closure13, A._EvaluateVisitor__visitStaticImport_closure2, A._EvaluateVisitor_visitIncludeRule_closure14, A._EvaluateVisitor_visitMediaRule_closure8, A._EvaluateVisitor_visitMediaRule_closure10, A._EvaluateVisitor_visitStyleRule_closure22, A._EvaluateVisitor_visitStyleRule_closure26, A._EvaluateVisitor_visitSupportsRule_closure6, A._EvaluateVisitor_visitUseRule_closure2, A._EvaluateVisitor_visitWhileRule__closure2, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2, A._EvaluateVisitor_visitListExpression_closure2, A._EvaluateVisitor__runUserDefinedCallable____closure2, A._EvaluateVisitor__runBuiltInCallable_closure6, A._EvaluateVisitor__evaluateArguments_closure11, A._EvaluateVisitor__evaluateArguments_closure12, A._EvaluateVisitor__evaluateArguments_closure14, A._EvaluateVisitor__evaluateMacroArguments_closure11, A._EvaluateVisitor__evaluateMacroArguments_closure12, A._EvaluateVisitor__evaluateMacroArguments_closure14, A._EvaluateVisitor_visitStringExpression_closure2, A._EvaluateVisitor_visitCssAtRule_closure6, A._EvaluateVisitor_visitCssKeyframeBlock_closure6, A._EvaluateVisitor_visitCssMediaRule_closure8, A._EvaluateVisitor_visitCssMediaRule_closure10, A._EvaluateVisitor_visitCssStyleRule_closure6, A._EvaluateVisitor_visitCssSupportsRule_closure6, A._EvaluateVisitor__performInterpolation_closure2, A._EvaluateVisitor__withoutSlash_recommendation2, A._EvaluateVisitor__stackFrame_closure2, A._EvaluateVisitor__stackTrace_closure2, A._ImportedCssVisitor_visitCssAtRule_closure2, A._ImportedCssVisitor_visitCssMediaRule_closure2, A._ImportedCssVisitor_visitCssStyleRule_closure2, A._ImportedCssVisitor_visitCssSupportsRule_closure2, A.AsyncImportCache_humanize_closure2, A.AsyncImportCache_humanize_closure3, A.AsyncImportCache_humanize_closure4, A.legacyBooleanClass__closure, A.legacyBooleanClass__closure0, A.booleanClass__closure, A.BuiltInCallable$mixin_closure0, A.CalculationExpression__verifyArguments_closure0, A.SassCalculation__verifyLength_closure0, A.global_closure30, A.global_closure31, A.global_closure32, A.global_closure33, A.global_closure34, A.global_closure35, A.global_closure36, A.global_closure37, A.global_closure38, A.global_closure39, A.global_closure40, A.global_closure41, A.global_closure42, A.global_closure43, A.global_closure44, A.global_closure45, A.global_closure46, A.global_closure47, A.global_closure48, A.global_closure49, A.global_closure50, A.global_closure51, A.global_closure52, A.global_closure53, A.global_closure54, A.global_closure55, A.global__closure0, A.global_closure56, A.module_closure8, A.module_closure9, A.module_closure10, A.module_closure11, A.module_closure12, A.module_closure13, A.module_closure14, A.module_closure15, A.module__closure0, A.module_closure16, A._red_closure0, A._green_closure0, A._blue_closure0, A._mix_closure0, A._hue_closure0, A._saturation_closure0, A._lightness_closure0, A._complement_closure0, A._adjust_closure0, A._scale_closure0, A._change_closure0, A._ieHexStr_closure0, A._ieHexStr_closure_hexString0, A._updateComponents_getParam0, A._updateComponents_closure0, A._updateComponents_updateValue0, A._functionString_closure0, A._removedColorFunction_closure0, A._rgb_closure0, A._hsl_closure0, A._removeUnits_closure1, A._removeUnits_closure2, A._hwb_closure0, A._parseChannels_closure0, A.legacyColorClass_closure, A.legacyColorClass_closure0, A.legacyColorClass_closure1, A.legacyColorClass_closure2, A.legacyColorClass_closure3, A.colorClass__closure1, A.colorClass__closure2, A.colorClass__closure3, A.colorClass__closure4, A.colorClass__closure5, A.colorClass__closure6, A.colorClass__closure7, A.colorClass__closure8, A.colorClass__closure9, A.SassColor_SassColor$hwb_toRgb0, A.compileAsync__closure, A.compileStringAsync__closure, A.compileStringAsync__closure0, A._wrapAsyncSassExceptions_closure, A._parseFunctions__closure2, A._parseFunctions__closure3, A._compileStylesheet_closure1, A.ComplexSelector_isInvisible_closure0, A.CompoundSelector_isInvisible_closure0, A.Configuration_toString_closure0, A._disallowedFunctionNames_closure0, A.EachRule_toString_closure0, A.Environment_importForwards_closure2, A.Environment_importForwards_closure3, A.Environment_importForwards_closure4, A.Environment__getVariableFromGlobalModule_closure0, A.Environment_setVariable_closure3, A.Environment__getFunctionFromGlobalModule_closure0, A.Environment__getMixinFromGlobalModule_closure0, A.Environment_toModule_closure0, A.Environment_toDummyModule_closure0, A.Environment__fromOneModule_closure0, A.Environment__fromOneModule__closure0, A._EnvironmentModule__EnvironmentModule_closure11, A._EnvironmentModule__EnvironmentModule_closure12, A._EnvironmentModule__EnvironmentModule_closure13, A._EnvironmentModule__EnvironmentModule_closure14, A._EnvironmentModule__EnvironmentModule_closure15, A._EnvironmentModule__EnvironmentModule_closure16, A._EvaluateVisitor_closure19, A._EvaluateVisitor_closure20, A._EvaluateVisitor_closure21, A._EvaluateVisitor_closure22, A._EvaluateVisitor_closure23, A._EvaluateVisitor_closure24, A._EvaluateVisitor_closure25, A._EvaluateVisitor_closure26, A._EvaluateVisitor_closure27, A._EvaluateVisitor_closure28, A._EvaluateVisitor__closure6, A._EvaluateVisitor__loadModule__closure1, A._EvaluateVisitor__combineCss_closure5, A._EvaluateVisitor__combineCss_closure6, A._EvaluateVisitor__combineCss_closure7, A._EvaluateVisitor__extendModules_closure3, A._EvaluateVisitor__topologicalModules_visitModule1, A._EvaluateVisitor__scopeForAtRoot_closure11, A._EvaluateVisitor__scopeForAtRoot_closure12, A._EvaluateVisitor__scopeForAtRoot_closure13, A._EvaluateVisitor__scopeForAtRoot_closure14, A._EvaluateVisitor__scopeForAtRoot_closure15, A._EvaluateVisitor__scopeForAtRoot_closure16, A._EvaluateVisitor_visitDeclaration_closure3, A._EvaluateVisitor_visitEachRule_closure5, A._EvaluateVisitor_visitEachRule_closure6, A._EvaluateVisitor_visitEachRule__closure1, A._EvaluateVisitor_visitEachRule___closure1, A._EvaluateVisitor_visitAtRule_closure5, A._EvaluateVisitor_visitAtRule_closure7, A._EvaluateVisitor_visitForRule__closure1, A._EvaluateVisitor_visitForwardRule_closure3, A._EvaluateVisitor_visitForwardRule_closure4, A._EvaluateVisitor_visitIfRule__closure1, A._EvaluateVisitor__visitDynamicImport__closure7, A._EvaluateVisitor__visitDynamicImport__closure8, A._EvaluateVisitor__visitDynamicImport__closure9, A._EvaluateVisitor__visitStaticImport_closure1, A._EvaluateVisitor_visitIncludeRule_closure10, A._EvaluateVisitor_visitMediaRule_closure5, A._EvaluateVisitor_visitMediaRule_closure7, A._EvaluateVisitor_visitStyleRule_closure15, A._EvaluateVisitor_visitStyleRule_closure19, A._EvaluateVisitor_visitSupportsRule_closure4, A._EvaluateVisitor_visitUseRule_closure1, A._EvaluateVisitor_visitWhileRule__closure1, A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1, A._EvaluateVisitor_visitListExpression_closure1, A._EvaluateVisitor__runUserDefinedCallable____closure1, A._EvaluateVisitor__runBuiltInCallable_closure4, A._EvaluateVisitor__evaluateArguments_closure7, A._EvaluateVisitor__evaluateArguments_closure8, A._EvaluateVisitor__evaluateArguments_closure10, A._EvaluateVisitor__evaluateMacroArguments_closure7, A._EvaluateVisitor__evaluateMacroArguments_closure8, A._EvaluateVisitor__evaluateMacroArguments_closure10, A._EvaluateVisitor_visitStringExpression_closure1, A._EvaluateVisitor_visitCssAtRule_closure4, A._EvaluateVisitor_visitCssKeyframeBlock_closure4, A._EvaluateVisitor_visitCssMediaRule_closure5, A._EvaluateVisitor_visitCssMediaRule_closure7, A._EvaluateVisitor_visitCssStyleRule_closure4, A._EvaluateVisitor_visitCssSupportsRule_closure4, A._EvaluateVisitor__performInterpolation_closure1, A._EvaluateVisitor__withoutSlash_recommendation1, A._EvaluateVisitor__stackFrame_closure1, A._EvaluateVisitor__stackTrace_closure1, A._ImportedCssVisitor_visitCssAtRule_closure1, A._ImportedCssVisitor_visitCssMediaRule_closure1, A._ImportedCssVisitor_visitCssStyleRule_closure1, A._ImportedCssVisitor_visitCssSupportsRule_closure1, A.exceptionClass__closure, A.exceptionClass__closure0, A.exceptionClass__closure1, A.ExtensionStore_extensionsWhereTarget_closure0, A.ExtensionStore_addExtensions_closure2, A.ExtensionStore_addExtensions__closure2, A.ExtensionStore_addExtensions__closure3, A.ExtensionStore__extendComplex_closure1, A.ExtensionStore__extendComplex_closure2, A.ExtensionStore__extendComplex__closure1, A.ExtensionStore__extendComplex__closure2, A.ExtensionStore__extendComplex___closure0, A.ExtensionStore__extendCompound_closure4, A.ExtensionStore__extendCompound_closure5, A.ExtensionStore__extendCompound__closure1, A.ExtensionStore__extendCompound__closure2, A.ExtensionStore__extendCompound_closure6, A.ExtensionStore__extendCompound_closure7, A.ExtensionStore__extendCompound_closure8, A.ExtensionStore__extendSimple_withoutPseudo0, A.ExtensionStore__extendSimple_closure1, A.ExtensionStore__extendSimple_closure2, A.ExtensionStore__extendPseudo_closure4, A.ExtensionStore__extendPseudo_closure5, A.ExtensionStore__extendPseudo_closure6, A.ExtensionStore__extendPseudo_closure7, A.ExtensionStore__extendPseudo_closure8, A.ExtensionStore__trim_closure1, A.ExtensionStore__trim_closure2, A.FilesystemImporter_canonicalize_closure0, A.functionClass__closure, A.functionClass__closure0, A.unifyComplex_closure0, A._weaveParents_closure7, A._weaveParents_closure8, A._weaveParents__closure4, A._weaveParents_closure9, A._weaveParents_closure10, A._weaveParents__closure3, A._weaveParents_closure11, A._weaveParents_closure12, A._weaveParents__closure2, A._mustUnify_closure0, A._mustUnify__closure0, A.paths__closure0, A.paths___closure0, A._hasRoot_closure0, A.listIsSuperselector_closure0, A.listIsSuperselector__closure0, A._simpleIsSuperselectorOfCompound_closure0, A._simpleIsSuperselectorOfCompound__closure0, A._selectorPseudoIsSuperselector_closure6, A._selectorPseudoIsSuperselector_closure7, A._selectorPseudoIsSuperselector_closure8, A._selectorPseudoIsSuperselector_closure9, A._selectorPseudoIsSuperselector_closure10, A._selectorPseudoIsSuperselector__closure0, A._selectorPseudoIsSuperselector___closure1, A._selectorPseudoIsSuperselector___closure2, A._selectorPseudoIsSuperselector_closure11, A._selectorPseudoIsSuperselector_closure12, A._selectorPseudoArgs_closure1, A._selectorPseudoArgs_closure2, A.globalFunctions_closure0, A.IDSelector_unify_closure0, A.IfRuleClause$__closure0, A.IfRuleClause$___closure0, A.immutableMapToDartMap_closure, A.NodeImporter__tryPath_closure0, A.ImportCache_humanize_closure2, A.ImportCache_humanize_closure3, A.ImportCache_humanize_closure4, A.Interpolation_toString_closure0, A._realCasePath_helper0, A._realCasePath_helper__closure0, A.render_closure0, A._parseFunctions__closure, A._parseFunctions___closure0, A._parseFunctions__closure0, A._parseFunctions__closure1, A._parseFunctions___closure, A._parseImporter_closure, A._parseImporter__closure, A._parseImporter___closure, A.ListExpression_toString_closure0, A._length_closure2, A._nth_closure0, A._setNth_closure0, A._join_closure0, A._append_closure2, A._zip_closure0, A._zip__closure2, A._zip__closure3, A._zip__closure4, A._index_closure2, A._separator_closure0, A._isBracketed_closure0, A._slash_closure0, A.SelectorList_isInvisible_closure0, A.SelectorList_asSassList_closure0, A.SelectorList_asSassList__closure0, A.SelectorList_unify_closure0, A.SelectorList_unify__closure0, A.SelectorList_unify___closure0, A.SelectorList_resolveParentSelectors_closure0, A.SelectorList_resolveParentSelectors__closure1, A.SelectorList_resolveParentSelectors__closure2, A.SelectorList__complexContainsParentSelector_closure0, A.SelectorList__complexContainsParentSelector__closure0, A.SelectorList__resolveParentSelectorsCompound_closure2, A.SelectorList__resolveParentSelectorsCompound_closure3, A.SelectorList__resolveParentSelectorsCompound_closure4, A.legacyListClass_closure, A.legacyListClass__closure, A.legacyListClass_closure1, A.legacyListClass_closure2, A.legacyListClass_closure4, A.listClass__closure, A.SassList_isBlank_closure0, A.MapExpression_toString_closure0, A._get_closure0, A._set_closure1, A._set__closure2, A._set_closure2, A._set__closure1, A._merge_closure1, A._merge_closure2, A._merge__closure0, A._deepMerge_closure0, A._deepRemove_closure0, A._deepRemove__closure0, A._remove_closure1, A._remove_closure2, A._keys_closure0, A._values_closure0, A._hasKey_closure0, A._modify__modifyNestedMap0, A.legacyMapClass_closure, A.legacyMapClass__closure, A.legacyMapClass__closure0, A.legacyMapClass_closure2, A.legacyMapClass_closure3, A.legacyMapClass_closure4, A.mapClass__closure, A.mapClass__closure0, A._ceil_closure0, A._clamp_closure0, A._floor_closure0, A._max_closure0, A._min_closure0, A._abs_closure0, A._hypot_closure0, A._hypot__closure0, A._log_closure0, A._pow_closure0, A._sqrt_closure0, A._acos_closure0, A._asin_closure0, A._atan_closure0, A._atan2_closure0, A._cos_closure0, A._sin_closure0, A._tan_closure0, A._compatible_closure0, A._isUnitless_closure0, A._unit_closure0, A._percentage_closure0, A._randomFunction_closure0, A._div_closure0, A._numberFunction_closure0, A.global_closure57, A.global_closure58, A.global_closure59, A.global_closure60, A.local_closure1, A.local_closure2, A.local__closure0, A.listDir__closure1, A.listDir__closure2, A.listDir_closure_list0, A.listDir__list_closure0, A.legacyNullClass__closure, A.legacyNumberClass_closure, A.legacyNumberClass_closure0, A.legacyNumberClass_closure2, A._parseNumber_closure, A._parseNumber_closure0, A.numberClass__closure, A.numberClass__closure0, A.numberClass__closure1, A.numberClass__closure2, A.numberClass__closure3, A.numberClass__closure4, A.numberClass__closure5, A.numberClass__closure6, A.numberClass__closure7, A.numberClass__closure8, A.numberClass__closure9, A.numberClass__closure12, A.numberClass__closure13, A.numberClass__closure14, A.numberClass__closure15, A.numberClass__closure16, A.numberClass__closure17, A.numberClass__closure18, A.numberClass__closure19, A.SassNumber__coerceOrConvertValue_closure3, A.SassNumber__coerceOrConvertValue_closure5, A.SassNumber_multiplyUnits_closure3, A.SassNumber_multiplyUnits_closure5, A.SassNumber__areAnyConvertible_closure0, A.SassNumber__canonicalizeUnitList_closure0, A.ParentStatement_closure0, A.ParentStatement__closure0, A.Parser_scanIdentChar_matches0, A._PrefixedKeys_iterator_closure0, A.PseudoSelector_unify_closure0, A.JSClassExtension_setCustomInspect_closure, A._wrapMain_closure, A._wrapMain_closure0, A._nest_closure0, A._nest__closure1, A._append_closure1, A._append__closure1, A._append___closure0, A._extend_closure0, A._replace_closure0, A._unify_closure0, A._isSuperselector_closure0, A._simpleSelectors_closure0, A._simpleSelectors__closure0, A._parse_closure0, A.serialize_closure0, A._SerializeVisitor_visitList_closure2, A._SerializeVisitor_visitList_closure3, A._SerializeVisitor_visitList_closure4, A._SerializeVisitor_visitMap_closure0, A._SerializeVisitor_visitSelectorList_closure0, A.SingleUnitSassNumber__coerceToUnit_closure0, A.SingleUnitSassNumber__coerceValueToUnit_closure0, A.SingleUnitSassNumber_multiplyUnits_closure1, A.SourceMapBuffer_buildSourceMap_closure0, A.updateSourceSpanPrototype_closure, A.updateSourceSpanPrototype_closure0, A.updateSourceSpanPrototype_closure1, A.updateSourceSpanPrototype_closure2, A.updateSourceSpanPrototype_closure3, A.updateSourceSpanPrototype_closure4, A.updateSourceSpanPrototype_closure5, A.StatementSearchVisitor_visitIfRule_closure1, A.StatementSearchVisitor_visitIfRule__closure2, A.StatementSearchVisitor_visitIfRule_closure2, A.StatementSearchVisitor_visitIfRule__closure1, A.StatementSearchVisitor_visitChildren_closure0, A._unquote_closure0, A._quote_closure0, A._length_closure1, A._insert_closure0, A._index_closure1, A._slice_closure0, A._toUpperCase_closure0, A._toLowerCase_closure0, A._uniqueId_closure0, A.legacyStringClass_closure, A.legacyStringClass_closure0, A.stringClass__closure, A.stringClass__closure0, A.stringClass__closure1, A.stringClass__closure2, A.stringClass__closure3, A.StylesheetParser_parse__closure2, A.StylesheetParser_expression_addSingleExpression0, A.StylesheetParser_expression_addOperator0, A.StylesheetParser__unicodeRange_closure1, A.StylesheetParser__unicodeRange_closure2, A.StylesheetParser_trySpecialFunction_closure0, A.TerseLogger_summarize_closure1, A.TerseLogger_summarize_closure2, A._UnprefixedKeys_iterator_closure1, A._UnprefixedKeys_iterator_closure2, A._exactlyOne_closure0, A.futureToPromise__closure0, A.indent_closure0, A.flattenVertically_closure1, A.flattenVertically_closure2, A.valueClass__closure, A.valueClass__closure0, A.valueClass__closure1, A.valueClass__closure2, A.valueClass__closure3, A.valueClass__closure4, A.valueClass__closure5, A.valueClass__closure7, A.valueClass__closure8, A.valueClass__closure9, A.valueClass__closure10, A.valueClass__closure11, A.valueClass__closure12, A.valueClass__closure13, A.valueClass__closure15, A.valueClass__closure16]);
97177 _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_parseHex, A._createTables_build, A.Parser_parse_closure, A.StreamQueue__ensureListening_closure1, A.futureToPromise_closure, A.PathMap__create_closure, A.IfRule_toString_closure, A.ExtensionStore_addExtensions_closure, A.ExtensionStore_addExtensions__closure1, A.ExtensionStore_clone_closure, A._weaveParents_closure, A.paths_closure, A._updateComponents_updateRgb, A._deepMergeImpl_closure, A._nest__closure0, A._append__closure0, A.StylesheetParser__declarationOrBuffer_closure, A.StylesheetParser__declarationOrBuffer_closure0, A.StylesheetParser__styleRule_closure, A.StylesheetParser__propertyOrVariableDeclaration_closure, A.StylesheetParser__propertyOrVariableDeclaration_closure0, A.StylesheetParser__atRootRule_closure, A.StylesheetParser__atRootRule_closure0, A.StylesheetParser__eachRule_closure, A.StylesheetParser__functionRule_closure, A.StylesheetParser__forRule_closure0, A.StylesheetParser__includeRule_closure, A.StylesheetParser_mediaRule_closure, A.StylesheetParser__mixinRule_closure, A.StylesheetParser_mozDocumentRule_closure, A.StylesheetParser_supportsRule_closure, A.StylesheetParser__whileRule_closure, A.StylesheetParser_unknownAtRule_closure, A.StylesheetGraph__recanonicalizeImportsForNode_closure, A.longestCommonSubsequence_closure, A.longestCommonSubsequence_backtrack, A.mapAddAll2_closure, A.SassMap_asList_closure, A.SassNumber_plus_closure, A.SassNumber_minus_closure, A.SassNumber__canonicalMultiplier_closure, A._EvaluateVisitor__closure2, A._EvaluateVisitor__evaluateArguments_closure5, A._EvaluateVisitor__evaluateMacroArguments_closure5, A._EvaluateVisitor__addRestMap_closure0, A._EvaluateVisitor__closure, A._EvaluateVisitor__evaluateArguments_closure1, A._EvaluateVisitor__evaluateMacroArguments_closure1, A._EvaluateVisitor__addRestMap_closure, A.SingleMapping_toJson_closure0, A.Highlighter__collateLines_closure0, A.Frame_Frame$parseV8_closure_parseLocation, A.TransformByHandlers_transformByHandlers__closure1, A.RateLimit__debounceAggregate_closure, A._EvaluateVisitor__closure8, A._EvaluateVisitor__evaluateArguments_closure13, A._EvaluateVisitor__evaluateMacroArguments_closure13, A._EvaluateVisitor__addRestMap_closure2, A._updateComponents_updateRgb0, A.legacyColorClass_closure4, A.legacyColorClass_closure5, A.legacyColorClass_closure6, A.legacyColorClass_closure7, A.colorClass__closure, A.colorClass__closure0, A._parseFunctions_closure0, A._EvaluateVisitor__closure5, A._EvaluateVisitor__evaluateArguments_closure9, A._EvaluateVisitor__evaluateMacroArguments_closure9, A._EvaluateVisitor__addRestMap_closure1, A.ExtensionStore_addExtensions_closure1, A.ExtensionStore_addExtensions__closure4, A.ExtensionStore_clone_closure0, A._weaveParents_closure6, A.paths_closure0, A.IfRule_toString_closure0, A.render_closure1, A._parseFunctions_closure, A.legacyListClass_closure0, A.legacyListClass_closure3, A.listClass__closure0, A._deepMergeImpl_closure0, A.legacyMapClass_closure0, A.legacyMapClass_closure1, A.mapClass__closure1, A.SassMap_asList_closure0, A.main_closure0, A.main_closure1, A.legacyNumberClass_closure1, A.legacyNumberClass_closure3, A.numberClass__closure10, A.numberClass__closure11, A.SassNumber_plus_closure0, A.SassNumber_minus_closure0, A.SassNumber__canonicalMultiplier_closure0, A.JSClassExtension_get_defineMethod_closure, A.JSClassExtension_get_defineGetter_closure, A.main_printError, A._nest__closure2, A._append__closure2, A.legacyStringClass_closure1, A.StylesheetParser__declarationOrBuffer_closure1, A.StylesheetParser__declarationOrBuffer_closure2, A.StylesheetParser__styleRule_closure0, A.StylesheetParser__propertyOrVariableDeclaration_closure1, A.StylesheetParser__propertyOrVariableDeclaration_closure2, A.StylesheetParser__atRootRule_closure1, A.StylesheetParser__atRootRule_closure2, A.StylesheetParser__eachRule_closure0, A.StylesheetParser__functionRule_closure0, A.StylesheetParser__forRule_closure2, A.StylesheetParser__includeRule_closure0, A.StylesheetParser_mediaRule_closure0, A.StylesheetParser__mixinRule_closure0, A.StylesheetParser_mozDocumentRule_closure0, A.StylesheetParser_supportsRule_closure0, A.StylesheetParser__whileRule_closure0, A.StylesheetParser_unknownAtRule_closure0, A.futureToPromise_closure0, A.futureToPromise__closure1, A.objectToMap_closure, A.longestCommonSubsequence_closure0, A.longestCommonSubsequence_backtrack0, A.mapAddAll2_closure0, A.valueClass__closure6, A.valueClass__closure14]);
97178 _inherit(A.CastList, A._CastListBase);
97179 _inherit(A.MapBase, A.MapMixin);
97180 _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A.MergedMapView, A.MergedMapView0]);
97181 _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]);
97182 _inherit(A.ListBase, A._ListBase_Object_ListMixin);
97183 _inherit(A.UnmodifiableListBase, A.ListBase);
97184 _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
97185 _inheritMany(A.Closure0Args, [A.nullFuture_closure, A._AsyncRun__scheduleImmediateJsOverride_internalCallback, A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, A._TimerImpl_internalCallback, A._TimerImpl$periodic_closure, A._Future__addListener_closure, A._Future__prependListeners_closure, A._Future__chainForeignFuture_closure1, A._Future__asyncCompleteWithValue_closure, A._Future__chainFuture_closure, A._Future__asyncCompleteError_closure, A._Future__propagateToListeners_handleWhenCompleteCallback, A._Future__propagateToListeners_handleValueCallback, A._Future__propagateToListeners_handleError, A.Stream_length_closure0, A._StreamController__subscribe_closure, A._StreamController__recordCancel_complete, A._AddStreamState_cancel_closure, A._BufferingStreamSubscription__sendError_sendError, A._BufferingStreamSubscription__sendDone_sendDone, A._PendingEvents_schedule_closure, A._CustomZone_bindCallback_closure, A._CustomZone_bindCallbackGuarded_closure, A._rootHandleError_closure, A._RootZone_bindCallback_closure, A._RootZone_bindCallbackGuarded_closure, A.Utf8Decoder__decoder_closure, A.Utf8Decoder__decoderNonfatal_closure, A.Parser__setOption_closure, A.StreamGroup_add_closure, A.StreamGroup_add_closure0, A.StreamGroup__listenToStream_closure, A.StreamQueue__ensureListening_closure0, A.ReplAdapter_runAsync_closure, A.ParsedPath__splitExtension_closure0, A.AsyncEnvironment_setVariable_closure, A.AsyncEnvironment_setVariable_closure1, A.AsyncImportCache_canonicalize_closure, A.AsyncImportCache_canonicalize_closure0, A.AsyncImportCache__canonicalize_closure, A.AsyncImportCache_importCanonical_closure, A.Environment_setVariable_closure, A.Environment_setVariable_closure1, A.ExecutableOptions__parser_closure, A.ExecutableOptions_interactive_closure, A.ExtensionStore__registerSelector_closure, A.ExtensionStore_addExtension_closure, A.ExtensionStore_addExtension_closure0, A.ExtensionStore_addExtension_closure1, A.ExtensionStore__extendExistingExtensions_closure, A.ExtensionStore__extendExistingExtensions_closure0, A.ExtensionStore_addExtensions___closure, A._deepMergeImpl__ensureMutable, A.ImportCache_canonicalize_closure, A.ImportCache_canonicalize_closure0, A.ImportCache__canonicalize_closure, A.ImportCache_importCanonical_closure, A.resolveImportPath_closure, A.resolveImportPath_closure0, A._tryPathAsDirectory_closure, A._realCasePath_helper_closure, A._readFile_closure, A.writeFile_closure, A.deleteFile_closure, A.fileExists_closure, A.dirExists_closure, A.ensureDir_closure, A.listDir_closure, A.modificationTime_closure, A.watchDir_closure3, A.watchDir__closure, A.AtRootQueryParser_parse_closure, A.KeyframeSelectorParser_parse_closure, A.MediaQueryParser_parse_closure, A.Parser__parseIdentifier_closure, A.SassParser_children_closure, A.SelectorParser_parse_closure, A.SelectorParser_parseCompoundSelector_closure, A.StylesheetParser_parse_closure, A.StylesheetParser_parse__closure, A.StylesheetParser_parseArgumentDeclaration_closure, A.StylesheetParser_parseVariableDeclaration_closure, A.StylesheetParser_parseUseRule_closure, A.StylesheetParser__parseSingleProduction_closure, A.StylesheetParser__statement_closure, A.StylesheetParser_variableDeclarationWithoutNamespace_closure, A.StylesheetParser_variableDeclarationWithoutNamespace_closure0, A.StylesheetParser__forRule_closure, A.StylesheetParser__memberList_closure, A.StylesheetParser_expression_resetState, A.StylesheetParser_expression_resolveOneOperation, A.StylesheetParser_expression_resolveOperations, A.StylesheetParser_expression_resolveSpaceExpressions, A.StylesheetParser__expressionUntilComma_closure, A.StylesheetParser_namespacedExpression_closure, A.StylesheetParser__expressionUntilComparison_closure, A.StylesheetParser__publicIdentifier_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure, A.StylesheetGraph__add_closure, A.StylesheetGraph_addCanonical_closure, A.StylesheetGraph_reload_closure, A.StylesheetGraph__nodeFor_closure, A.StylesheetGraph__nodeFor_closure0, A.SassNumber__coerceOrConvertValue__compatibilityException, A.SassNumber__coerceOrConvertValue_closure0, A.SassNumber__coerceOrConvertValue_closure2, A.SassNumber_multiplyUnits_closure0, A.SassNumber_multiplyUnits_closure2, A.SingleUnitSassNumber_multiplyUnits_closure0, A._EvaluateVisitor__closure4, A._EvaluateVisitor_run_closure0, A._EvaluateVisitor__loadModule_closure1, A._EvaluateVisitor__loadModule_closure2, A._EvaluateVisitor__execute_closure0, A._EvaluateVisitor__extendModules_closure2, A._EvaluateVisitor_visitAtRootRule_closure2, A._EvaluateVisitor_visitAtRootRule_closure3, A._EvaluateVisitor_visitAtRootRule_closure4, A._EvaluateVisitor__scopeForAtRoot__closure0, A._EvaluateVisitor_visitContentRule_closure0, A._EvaluateVisitor_visitDeclaration_closure2, A._EvaluateVisitor_visitEachRule_closure4, A._EvaluateVisitor_visitExtendRule_closure0, A._EvaluateVisitor_visitAtRule_closure3, A._EvaluateVisitor_visitAtRule__closure0, A._EvaluateVisitor_visitForRule_closure4, A._EvaluateVisitor_visitForRule_closure5, A._EvaluateVisitor_visitForRule_closure6, A._EvaluateVisitor_visitForRule_closure7, A._EvaluateVisitor_visitForRule_closure8, A._EvaluateVisitor_visitIfRule_closure0, A._EvaluateVisitor__visitDynamicImport_closure0, A._EvaluateVisitor__visitDynamicImport__closure6, A._EvaluateVisitor_visitIncludeRule_closure3, A._EvaluateVisitor_visitIncludeRule_closure4, A._EvaluateVisitor_visitIncludeRule_closure5, A._EvaluateVisitor_visitIncludeRule__closure0, A._EvaluateVisitor_visitIncludeRule___closure0, A._EvaluateVisitor_visitIncludeRule____closure0, A._EvaluateVisitor_visitMediaRule_closure3, A._EvaluateVisitor_visitMediaRule__closure0, A._EvaluateVisitor_visitMediaRule___closure0, A._EvaluateVisitor__visitMediaQueries_closure0, A._EvaluateVisitor_visitStyleRule_closure6, A._EvaluateVisitor_visitStyleRule_closure7, A._EvaluateVisitor_visitStyleRule_closure9, A._EvaluateVisitor_visitStyleRule_closure10, A._EvaluateVisitor_visitStyleRule_closure11, A._EvaluateVisitor_visitStyleRule__closure0, A._EvaluateVisitor_visitSupportsRule_closure1, A._EvaluateVisitor_visitSupportsRule__closure0, A._EvaluateVisitor_visitVariableDeclaration_closure2, A._EvaluateVisitor_visitVariableDeclaration_closure3, A._EvaluateVisitor_visitVariableDeclaration_closure4, A._EvaluateVisitor_visitWarnRule_closure0, A._EvaluateVisitor_visitWhileRule_closure0, A._EvaluateVisitor_visitBinaryOperationExpression_closure0, A._EvaluateVisitor_visitVariableExpression_closure0, A._EvaluateVisitor_visitUnaryOperationExpression_closure0, A._EvaluateVisitor__visitCalculationValue_closure0, A._EvaluateVisitor_visitFunctionExpression_closure1, A._EvaluateVisitor_visitFunctionExpression_closure2, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0, A._EvaluateVisitor__runUserDefinedCallable_closure0, A._EvaluateVisitor__runUserDefinedCallable__closure0, A._EvaluateVisitor__runUserDefinedCallable___closure0, A._EvaluateVisitor__runFunctionCallable_closure0, A._EvaluateVisitor__runBuiltInCallable_closure1, A._EvaluateVisitor__verifyArguments_closure0, A._EvaluateVisitor_visitCssAtRule_closure1, A._EvaluateVisitor_visitCssKeyframeBlock_closure1, A._EvaluateVisitor_visitCssMediaRule_closure3, A._EvaluateVisitor_visitCssMediaRule__closure0, A._EvaluateVisitor_visitCssMediaRule___closure0, A._EvaluateVisitor_visitCssStyleRule_closure1, A._EvaluateVisitor_visitCssStyleRule__closure0, A._EvaluateVisitor_visitCssSupportsRule_closure1, A._EvaluateVisitor_visitCssSupportsRule__closure0, A._EvaluateVisitor__serialize_closure0, A._EvaluateVisitor__expressionNode_closure0, A._EvaluateVisitor__closure1, A._EvaluateVisitor_run_closure, A._EvaluateVisitor_runExpression_closure, A._EvaluateVisitor_runExpression__closure, A._EvaluateVisitor_runStatement_closure, A._EvaluateVisitor_runStatement__closure, A._EvaluateVisitor__loadModule_closure, A._EvaluateVisitor__loadModule_closure0, A._EvaluateVisitor__execute_closure, A._EvaluateVisitor__extendModules_closure0, A._EvaluateVisitor_visitAtRootRule_closure, A._EvaluateVisitor_visitAtRootRule_closure0, A._EvaluateVisitor_visitAtRootRule_closure1, A._EvaluateVisitor__scopeForAtRoot__closure, A._EvaluateVisitor_visitContentRule_closure, A._EvaluateVisitor_visitDeclaration_closure0, A._EvaluateVisitor_visitEachRule_closure1, A._EvaluateVisitor_visitExtendRule_closure, A._EvaluateVisitor_visitAtRule_closure0, A._EvaluateVisitor_visitAtRule__closure, A._EvaluateVisitor_visitForRule_closure, A._EvaluateVisitor_visitForRule_closure0, A._EvaluateVisitor_visitForRule_closure1, A._EvaluateVisitor_visitForRule_closure2, A._EvaluateVisitor_visitForRule_closure3, A._EvaluateVisitor_visitIfRule_closure, A._EvaluateVisitor__visitDynamicImport_closure, A._EvaluateVisitor__visitDynamicImport__closure2, A._EvaluateVisitor_visitIncludeRule_closure, A._EvaluateVisitor_visitIncludeRule_closure0, A._EvaluateVisitor_visitIncludeRule_closure1, A._EvaluateVisitor_visitIncludeRule__closure, A._EvaluateVisitor_visitIncludeRule___closure, A._EvaluateVisitor_visitIncludeRule____closure, A._EvaluateVisitor_visitMediaRule_closure0, A._EvaluateVisitor_visitMediaRule__closure, A._EvaluateVisitor_visitMediaRule___closure, A._EvaluateVisitor__visitMediaQueries_closure, A._EvaluateVisitor_visitStyleRule_closure, A._EvaluateVisitor_visitStyleRule_closure0, A._EvaluateVisitor_visitStyleRule_closure2, A._EvaluateVisitor_visitStyleRule_closure3, A._EvaluateVisitor_visitStyleRule_closure4, A._EvaluateVisitor_visitStyleRule__closure, A._EvaluateVisitor_visitSupportsRule_closure, A._EvaluateVisitor_visitSupportsRule__closure, A._EvaluateVisitor_visitVariableDeclaration_closure, A._EvaluateVisitor_visitVariableDeclaration_closure0, A._EvaluateVisitor_visitVariableDeclaration_closure1, A._EvaluateVisitor_visitWarnRule_closure, A._EvaluateVisitor_visitWhileRule_closure, A._EvaluateVisitor_visitBinaryOperationExpression_closure, A._EvaluateVisitor_visitVariableExpression_closure, A._EvaluateVisitor_visitUnaryOperationExpression_closure, A._EvaluateVisitor__visitCalculationValue_closure, A._EvaluateVisitor_visitFunctionExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure0, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure, A._EvaluateVisitor__runUserDefinedCallable_closure, A._EvaluateVisitor__runUserDefinedCallable__closure, A._EvaluateVisitor__runUserDefinedCallable___closure, A._EvaluateVisitor__runFunctionCallable_closure, A._EvaluateVisitor__runBuiltInCallable_closure, A._EvaluateVisitor__verifyArguments_closure, A._EvaluateVisitor_visitCssAtRule_closure, A._EvaluateVisitor_visitCssKeyframeBlock_closure, A._EvaluateVisitor_visitCssMediaRule_closure0, A._EvaluateVisitor_visitCssMediaRule__closure, A._EvaluateVisitor_visitCssMediaRule___closure, A._EvaluateVisitor_visitCssStyleRule_closure, A._EvaluateVisitor_visitCssStyleRule__closure, A._EvaluateVisitor_visitCssSupportsRule_closure, A._EvaluateVisitor_visitCssSupportsRule__closure, A._EvaluateVisitor__serialize_closure, A._EvaluateVisitor__expressionNode_closure, A._SerializeVisitor_visitCssComment_closure, A._SerializeVisitor_visitCssAtRule_closure, A._SerializeVisitor_visitCssMediaRule_closure, A._SerializeVisitor_visitCssImport_closure, A._SerializeVisitor_visitCssImport__closure, A._SerializeVisitor_visitCssKeyframeBlock_closure, A._SerializeVisitor_visitCssStyleRule_closure, A._SerializeVisitor_visitCssSupportsRule_closure, A._SerializeVisitor_visitCssDeclaration_closure, A._SerializeVisitor_visitCssDeclaration_closure0, A._SerializeVisitor__write_closure, A._SerializeVisitor__visitChildren_closure, A.SingleMapping_SingleMapping$fromEntries_closure, A.SingleMapping_SingleMapping$fromEntries_closure0, A.Highlighter_closure, A.Highlighter__writeFileStart_closure, A.Highlighter__writeMultilineHighlights_closure, A.Highlighter__writeMultilineHighlights_closure0, A.Highlighter__writeMultilineHighlights_closure1, A.Highlighter__writeMultilineHighlights_closure2, A.Highlighter__writeMultilineHighlights__closure, A.Highlighter__writeMultilineHighlights__closure0, A.Highlighter__writeHighlightedText_closure, A.Highlighter__writeIndicator_closure, A.Highlighter__writeIndicator_closure0, A.Highlighter__writeIndicator_closure1, A.Highlighter__writeSidebar_closure, A._Highlight_closure, A.Frame_Frame$parseVM_closure, A.Frame_Frame$parseV8_closure, A.Frame_Frame$_parseFirefoxEval_closure, A.Frame_Frame$parseFirefox_closure, A.Frame_Frame$parseFriendly_closure, A.LazyTrace_terse_closure, A.Trace_Trace$from_closure, A.TransformByHandlers_transformByHandlers_closure, A.TransformByHandlers_transformByHandlers__closure0, A.TransformByHandlers_transformByHandlers__closure2, A.RateLimit__debounceAggregate_closure_emit, A.RateLimit__debounceAggregate__closure, A.argumentListClass_closure, A.AsyncEnvironment_setVariable_closure2, A.AsyncEnvironment_setVariable_closure4, A._EvaluateVisitor__closure10, A._EvaluateVisitor_run_closure2, A._EvaluateVisitor__loadModule_closure5, A._EvaluateVisitor__loadModule_closure6, A._EvaluateVisitor__execute_closure2, A._EvaluateVisitor__extendModules_closure6, A._EvaluateVisitor_visitAtRootRule_closure8, A._EvaluateVisitor_visitAtRootRule_closure9, A._EvaluateVisitor_visitAtRootRule_closure10, A._EvaluateVisitor__scopeForAtRoot__closure2, A._EvaluateVisitor_visitContentRule_closure2, A._EvaluateVisitor_visitDeclaration_closure6, A._EvaluateVisitor_visitEachRule_closure10, A._EvaluateVisitor_visitExtendRule_closure2, A._EvaluateVisitor_visitAtRule_closure9, A._EvaluateVisitor_visitAtRule__closure2, A._EvaluateVisitor_visitForRule_closure14, A._EvaluateVisitor_visitForRule_closure15, A._EvaluateVisitor_visitForRule_closure16, A._EvaluateVisitor_visitForRule_closure17, A._EvaluateVisitor_visitForRule_closure18, A._EvaluateVisitor_visitIfRule_closure2, A._EvaluateVisitor__visitDynamicImport_closure2, A._EvaluateVisitor__visitDynamicImport__closure14, A._EvaluateVisitor_visitIncludeRule_closure11, A._EvaluateVisitor_visitIncludeRule_closure12, A._EvaluateVisitor_visitIncludeRule_closure13, A._EvaluateVisitor_visitIncludeRule__closure2, A._EvaluateVisitor_visitIncludeRule___closure2, A._EvaluateVisitor_visitIncludeRule____closure2, A._EvaluateVisitor_visitMediaRule_closure9, A._EvaluateVisitor_visitMediaRule__closure2, A._EvaluateVisitor_visitMediaRule___closure2, A._EvaluateVisitor__visitMediaQueries_closure2, A._EvaluateVisitor_visitStyleRule_closure20, A._EvaluateVisitor_visitStyleRule_closure21, A._EvaluateVisitor_visitStyleRule_closure23, A._EvaluateVisitor_visitStyleRule_closure24, A._EvaluateVisitor_visitStyleRule_closure25, A._EvaluateVisitor_visitStyleRule__closure2, A._EvaluateVisitor_visitSupportsRule_closure5, A._EvaluateVisitor_visitSupportsRule__closure2, A._EvaluateVisitor_visitVariableDeclaration_closure8, A._EvaluateVisitor_visitVariableDeclaration_closure9, A._EvaluateVisitor_visitVariableDeclaration_closure10, A._EvaluateVisitor_visitWarnRule_closure2, A._EvaluateVisitor_visitWhileRule_closure2, A._EvaluateVisitor_visitBinaryOperationExpression_closure2, A._EvaluateVisitor_visitVariableExpression_closure2, A._EvaluateVisitor_visitUnaryOperationExpression_closure2, A._EvaluateVisitor__visitCalculationValue_closure2, A._EvaluateVisitor_visitFunctionExpression_closure5, A._EvaluateVisitor_visitFunctionExpression_closure6, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2, A._EvaluateVisitor__runUserDefinedCallable_closure2, A._EvaluateVisitor__runUserDefinedCallable__closure2, A._EvaluateVisitor__runUserDefinedCallable___closure2, A._EvaluateVisitor__runFunctionCallable_closure2, A._EvaluateVisitor__runBuiltInCallable_closure5, A._EvaluateVisitor__verifyArguments_closure2, A._EvaluateVisitor_visitCssAtRule_closure5, A._EvaluateVisitor_visitCssKeyframeBlock_closure5, A._EvaluateVisitor_visitCssMediaRule_closure9, A._EvaluateVisitor_visitCssMediaRule__closure2, A._EvaluateVisitor_visitCssMediaRule___closure2, A._EvaluateVisitor_visitCssStyleRule_closure5, A._EvaluateVisitor_visitCssStyleRule__closure2, A._EvaluateVisitor_visitCssSupportsRule_closure5, A._EvaluateVisitor_visitCssSupportsRule__closure2, A._EvaluateVisitor__serialize_closure2, A._EvaluateVisitor__expressionNode_closure2, A.AsyncImportCache_canonicalize_closure1, A.AsyncImportCache_canonicalize_closure2, A.AsyncImportCache__canonicalize_closure0, A.AsyncImportCache_importCanonical_closure0, A.AtRootQueryParser_parse_closure0, A.legacyBooleanClass_closure, A.booleanClass_closure, A.colorClass_closure, A.compileAsync_closure, A.compileStringAsync_closure, A.Environment_setVariable_closure2, A.Environment_setVariable_closure4, A._EvaluateVisitor__closure7, A._EvaluateVisitor_run_closure1, A._EvaluateVisitor__loadModule_closure3, A._EvaluateVisitor__loadModule_closure4, A._EvaluateVisitor__execute_closure1, A._EvaluateVisitor__extendModules_closure4, A._EvaluateVisitor_visitAtRootRule_closure5, A._EvaluateVisitor_visitAtRootRule_closure6, A._EvaluateVisitor_visitAtRootRule_closure7, A._EvaluateVisitor__scopeForAtRoot__closure1, A._EvaluateVisitor_visitContentRule_closure1, A._EvaluateVisitor_visitDeclaration_closure4, A._EvaluateVisitor_visitEachRule_closure7, A._EvaluateVisitor_visitExtendRule_closure1, A._EvaluateVisitor_visitAtRule_closure6, A._EvaluateVisitor_visitAtRule__closure1, A._EvaluateVisitor_visitForRule_closure9, A._EvaluateVisitor_visitForRule_closure10, A._EvaluateVisitor_visitForRule_closure11, A._EvaluateVisitor_visitForRule_closure12, A._EvaluateVisitor_visitForRule_closure13, A._EvaluateVisitor_visitIfRule_closure1, A._EvaluateVisitor__visitDynamicImport_closure1, A._EvaluateVisitor__visitDynamicImport__closure10, A._EvaluateVisitor_visitIncludeRule_closure7, A._EvaluateVisitor_visitIncludeRule_closure8, A._EvaluateVisitor_visitIncludeRule_closure9, A._EvaluateVisitor_visitIncludeRule__closure1, A._EvaluateVisitor_visitIncludeRule___closure1, A._EvaluateVisitor_visitIncludeRule____closure1, A._EvaluateVisitor_visitMediaRule_closure6, A._EvaluateVisitor_visitMediaRule__closure1, A._EvaluateVisitor_visitMediaRule___closure1, A._EvaluateVisitor__visitMediaQueries_closure1, A._EvaluateVisitor_visitStyleRule_closure13, A._EvaluateVisitor_visitStyleRule_closure14, A._EvaluateVisitor_visitStyleRule_closure16, A._EvaluateVisitor_visitStyleRule_closure17, A._EvaluateVisitor_visitStyleRule_closure18, A._EvaluateVisitor_visitStyleRule__closure1, A._EvaluateVisitor_visitSupportsRule_closure3, A._EvaluateVisitor_visitSupportsRule__closure1, A._EvaluateVisitor_visitVariableDeclaration_closure5, A._EvaluateVisitor_visitVariableDeclaration_closure6, A._EvaluateVisitor_visitVariableDeclaration_closure7, A._EvaluateVisitor_visitWarnRule_closure1, A._EvaluateVisitor_visitWhileRule_closure1, A._EvaluateVisitor_visitBinaryOperationExpression_closure1, A._EvaluateVisitor_visitVariableExpression_closure1, A._EvaluateVisitor_visitUnaryOperationExpression_closure1, A._EvaluateVisitor__visitCalculationValue_closure1, A._EvaluateVisitor_visitFunctionExpression_closure3, A._EvaluateVisitor_visitFunctionExpression_closure4, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1, A._EvaluateVisitor__runUserDefinedCallable_closure1, A._EvaluateVisitor__runUserDefinedCallable__closure1, A._EvaluateVisitor__runUserDefinedCallable___closure1, A._EvaluateVisitor__runFunctionCallable_closure1, A._EvaluateVisitor__runBuiltInCallable_closure3, A._EvaluateVisitor__verifyArguments_closure1, A._EvaluateVisitor_visitCssAtRule_closure3, A._EvaluateVisitor_visitCssKeyframeBlock_closure3, A._EvaluateVisitor_visitCssMediaRule_closure6, A._EvaluateVisitor_visitCssMediaRule__closure1, A._EvaluateVisitor_visitCssMediaRule___closure1, A._EvaluateVisitor_visitCssStyleRule_closure3, A._EvaluateVisitor_visitCssStyleRule__closure1, A._EvaluateVisitor_visitCssSupportsRule_closure3, A._EvaluateVisitor_visitCssSupportsRule__closure1, A._EvaluateVisitor__serialize_closure1, A._EvaluateVisitor__expressionNode_closure1, A.exceptionClass_closure, A.ExtensionStore__registerSelector_closure0, A.ExtensionStore_addExtension_closure2, A.ExtensionStore_addExtension_closure3, A.ExtensionStore_addExtension_closure4, A.ExtensionStore__extendExistingExtensions_closure1, A.ExtensionStore__extendExistingExtensions_closure2, A.ExtensionStore_addExtensions___closure0, A.functionClass_closure, A.NodeImporter__tryPath_closure, A.ImportCache_canonicalize_closure1, A.ImportCache_canonicalize_closure2, A.ImportCache__canonicalize_closure0, A.ImportCache_importCanonical_closure0, A._realCasePath_helper_closure0, A.KeyframeSelectorParser_parse_closure0, A.render_closure, A._parseFunctions____closure, A._parseFunctions___closure1, A._parseImporter____closure, A._parseImporter___closure0, A.listClass_closure, A._deepMergeImpl__ensureMutable0, A.mapClass_closure, A.MediaQueryParser_parse_closure0, A._readFile_closure0, A.fileExists_closure0, A.dirExists_closure0, A.listDir_closure0, A.NodeToDartLogger_warn_closure, A.NodeToDartLogger_debug_closure, A.legacyNullClass_closure, A.numberClass_closure, A.SassNumber__coerceOrConvertValue__compatibilityException0, A.SassNumber__coerceOrConvertValue_closure4, A.SassNumber__coerceOrConvertValue_closure6, A.SassNumber_multiplyUnits_closure4, A.SassNumber_multiplyUnits_closure6, A.Parser__parseIdentifier_closure0, A.main_closure, A.SassParser_children_closure0, A.SelectorParser_parse_closure0, A.SelectorParser_parseCompoundSelector_closure0, A._SerializeVisitor_visitCssComment_closure0, A._SerializeVisitor_visitCssAtRule_closure0, A._SerializeVisitor_visitCssMediaRule_closure0, A._SerializeVisitor_visitCssImport_closure0, A._SerializeVisitor_visitCssImport__closure0, A._SerializeVisitor_visitCssKeyframeBlock_closure0, A._SerializeVisitor_visitCssStyleRule_closure0, A._SerializeVisitor_visitCssSupportsRule_closure0, A._SerializeVisitor_visitCssDeclaration_closure1, A._SerializeVisitor_visitCssDeclaration_closure2, A._SerializeVisitor__write_closure0, A._SerializeVisitor__visitChildren_closure0, A.SingleUnitSassNumber_multiplyUnits_closure2, A.stringClass_closure, A.StylesheetParser_parse_closure0, A.StylesheetParser_parse__closure1, A.StylesheetParser_parseArgumentDeclaration_closure0, A.StylesheetParser__parseSingleProduction_closure0, A.StylesheetParser_parseSignature_closure, A.StylesheetParser__statement_closure0, A.StylesheetParser_variableDeclarationWithoutNamespace_closure1, A.StylesheetParser_variableDeclarationWithoutNamespace_closure2, A.StylesheetParser__forRule_closure1, A.StylesheetParser__memberList_closure0, A.StylesheetParser_expression_resetState0, A.StylesheetParser_expression_resolveOneOperation0, A.StylesheetParser_expression_resolveOperations0, A.StylesheetParser_expression_resolveSpaceExpressions0, A.StylesheetParser__expressionUntilComma_closure0, A.StylesheetParser_namespacedExpression_closure0, A.StylesheetParser__expressionUntilComparison_closure0, A.StylesheetParser__publicIdentifier_closure0, A.resolveImportPath_closure1, A.resolveImportPath_closure2, A._tryPathAsDirectory_closure0, A.valueClass_closure]);
97186 _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
97187 _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._GeneratorIterable]);
97188 _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
97189 _inheritMany(A.Iterator, [A.MappedIterator, A.WhereIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator]);
97190 _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
97191 _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
97192 _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
97193 _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
97194 _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
97195 _inherit(A.ConstantMapView, A.UnmodifiableMapView);
97196 _inherit(A.ConstantStringMap, A.ConstantMap);
97197 _inherit(A.Instantiation1, A.Instantiation);
97198 _inherit(A.NullError, A.TypeError);
97199 _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
97200 _inheritMany(A.IterableBase, [A._AllMatchesIterable, A._SyncStarIterable, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
97201 _inherit(A.NativeTypedArray, A.NativeTypedData);
97202 _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
97203 _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
97204 _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
97205 _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
97206 _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
97207 _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
97208 _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
97209 _inherit(A._TypeError, A._Error);
97210 _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
97211 _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
97212 _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
97213 _inherit(A._ControllerStream, A._StreamImpl);
97214 _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
97215 _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
97216 _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
97217 _inherit(A._StreamImplEvents, A._PendingEvents);
97218 _inherit(A._ExpandStream, A._ForwardingStream);
97219 _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
97220 _inherit(A._IdentityHashMap, A._HashMap);
97221 _inheritMany(A.JsLinkedHashMap, [A._LinkedIdentityHashMap, A._LinkedCustomHashMap]);
97222 _inherit(A._SetBase, A.__SetBase_Object_SetMixin);
97223 _inheritMany(A._SetBase, [A._LinkedHashSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin]);
97224 _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
97225 _inherit(A._UnmodifiableSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin);
97226 _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
97227 _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
97228 _inherit(A.Converter, A.StreamTransformerBase);
97229 _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.Utf8Encoder, A.Utf8Decoder]);
97230 _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
97231 _inherit(A.ByteConversionSink, A.ChunkedConversionSink);
97232 _inheritMany(A.ByteConversionSink, [A.ByteConversionSinkBase, A._Utf8StringSinkAdapter]);
97233 _inherit(A._Base64EncoderSink, A.ByteConversionSinkBase);
97234 _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
97235 _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
97236 _inherit(A._JsonStringStringifier, A._JsonStringifier);
97237 _inherit(A.StringConversionSinkBase, A.StringConversionSinkMixin);
97238 _inherit(A._StringSinkConversionSink, A.StringConversionSinkBase);
97239 _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
97240 _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
97241 _inherit(A._DataUri, A._Uri);
97242 _inherit(A.ArgParserException, A.FormatException);
97243 _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
97244 _inherit(A.QueueList, A._QueueList_Object_ListMixin);
97245 _inherit(A._CastQueueList, A.QueueList);
97246 _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
97247 _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
97248 _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
97249 _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
97250 _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
97251 _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
97252 _inherit(A.InternalStyle, A.Style);
97253 _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
97254 _inherit(A.CssNode, A.AstNode);
97255 _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
97256 _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
97257 _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
97258 _inherit(A.CssStylesheet, A.CssParentNode);
97259 _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]);
97260 _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
97261 _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
97262 _inherit(A._HasContentVisitor, A.StatementSearchVisitor);
97263 _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
97264 _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
97265 _inherit(A.ExplicitConfiguration, A.Configuration);
97266 _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.SassException0]);
97267 _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
97268 _inherit(A.MultiSpanSassRuntimeException, A.MultiSpanSassException);
97269 _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
97270 _inherit(A.MergedExtension, A.Extension);
97271 _inherit(A.Importer, A.AsyncImporter);
97272 _inherit(A.FilesystemImporter, A.Importer);
97273 _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
97274 _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
97275 _inherit(A.CssParser, A.ScssParser);
97276 _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
97277 _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A._SassNull, A.SassNumber, A.SassString]);
97278 _inherit(A.SassArgumentList, A.SassList);
97279 _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
97280 _inherit(A._FindDependenciesVisitor, A.RecursiveStatementVisitor);
97281 _inherit(A.SingleMapping, A.Mapping);
97282 _inherit(A.FileLocation, A.SourceLocationMixin);
97283 _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
97284 _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
97285 _inherit(A.StringScannerException, A.SourceSpanFormatException);
97286 _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
97287 _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A._SassNull0, A.SassString0]);
97288 _inherit(A.SassArgumentList0, A.SassList0);
97289 _inheritMany(A.AsyncImporter0, [A.NodeToDartAsyncImporter, A.NodeToDartAsyncFileImporter, A.Importer0]);
97290 _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
97291 _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]);
97292 _inherit(A.CssNode0, A.AstNode0);
97293 _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
97294 _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
97295 _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
97296 _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
97297 _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
97298 _inherit(A.CompileStringOptions, A.CompileOptions);
97299 _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
97300 _inherit(A.ExplicitConfiguration0, A.Configuration0);
97301 _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
97302 _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
97303 _inherit(A.CssParser0, A.ScssParser0);
97304 _inherit(A._NodeException, A.JsError);
97305 _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
97306 _inherit(A.MultiSpanSassRuntimeException0, A.MultiSpanSassException0);
97307 _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
97308 _inheritMany(A.Importer0, [A.NodeToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter, A.NodeToDartImporter]);
97309 _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
97310 _inherit(A.MergedExtension0, A.Extension0);
97311 _inherit(A._HasContentVisitor0, A.StatementSearchVisitor0);
97312 _inherit(A.CssStylesheet0, A.CssParentNode0);
97313 _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
97314 _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListMixin);
97315 _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListMixin);
97316 _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
97317 _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListMixin);
97318 _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
97319 _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
97320 _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
97321 _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
97322 _mixin(A._ListBase_Object_ListMixin, A.ListMixin);
97323 _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
97324 _mixin(A.__SetBase_Object_SetMixin, A.SetMixin);
97325 _mixin(A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
97326 _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
97327 _mixin(A._QueueList_Object_ListMixin, A.ListMixin);
97328 _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
97329 _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
97330 })();
97331 var init = {
97332 typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
97333 mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"},
97334 mangledNames: {},
97335 types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "String(String)", "bool(String)", "bool(CssNode)", "bool(CssNode0)", "SassNumber(List<Value>)", "SassNumber0(List<Value0>)", "bool(Object?)", "int()", "SassString(List<Value>)", "SassString0(List<Value0>)", "bool(SimpleSelector0)", "bool(SimpleSelector)", "SassBoolean(List<Value>)", "SassBoolean0(List<Value0>)", "bool(ComplexSelector)", "bool(ComplexSelector0)", "SassList(List<Value>)", "SassList0(List<Value0>)", "SassColor(List<Value>)", "SassColor0(List<Value0>)", "JSClass0()", "Null(~())", "~(Object?)", "bool()", "FileSpan()", "String()", "Future<Null>(Future<~>())", "bool(int?)", "Value?()", "SassMap0(List<Value0>)", "Value()", "Value0(Value0)", "Future<~>()", "Value0?()", "Value(Value)", "SassMap(List<Value>)", "bool(num,num)", "String?()", "int(num)", "bool(Value0)", "Value0()", "SelectorList()", "String(Object)", "List<String>()", "SelectorList0()", "~(Value,Value)", "ValueExpression(Value)", "~(Value)", "~(Value0,Value0)", "num(num,num)", "~(Value0)", "bool(int)", "num(SassColor0)", "ValueExpression0(Value0)", "Future<Value>()", "~(Module0<Callable0>)", "Future<Value0>()", "bool(Value)", "~(Module<Callable>)", "Frame(String)", "Null(@)", "Frame()", "Future<Value?>()", "Null(Object,StackTrace)", "~(Object,StackTrace)", "Future<Value0?>()", "Declaration0(List<Statement0>,FileSpan)", "Null(_NodeSassColor,num)", "Value?(Statement)", "int(Uri)", "~(String,Value)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "num(num)", "bool(SelectorList0)", "@()", "Tuple3<Importer,Uri,Uri>?()", "Future<String>(Object?)", "Stylesheet?()", "List<CssMediaQuery>?(List<CssMediaQuery>)", "SassRuntimeException0(AstNode0)", "Object()", "Future<Value?>(Statement)", "Null([Object?])", "Uri(Uri)", "~(String,Value0)", "ComplexSelector(List<ComplexSelectorComponent>)", "SassRuntimeException(AstNode)", "String(@)", "Future<Value0>(List<Value0>)", "Value0?(Statement0)", "ComplexSelector0(List<ComplexSelectorComponent0>)", "Declaration(List<Statement>,FileSpan)", "bool(SelectorList)", "@(@)", "Future<Value0?>(Statement0)", "ComplexSelector0(ComplexSelector0)", "List<CssMediaQuery>()", "AtRootQuery()", "~(Object)", "bool(Object)", "AsyncCallable?()", "~(String)", "Null(Module<AsyncCallable>)", "Iterable<String>(Module0<AsyncCallable0>)", "num(Value)", "Callable?()", "bool(_Highlight)", "Callable0?()", "Iterable<ComplexSelector0>(ComplexSelector0)", "bool(Module0<Callable0>)", "Iterable<String>(Module0<Callable0>)", "bool(ComplexSelectorComponent0)", "~(String,Object?)", "Statement()", "int(SassColor0)", "int(_NodeSassColor)", "~(~())", "num(Value0)", "~(@)", "String(Expression)", "bool(ComplexSelectorComponent)", "Statement0()", "Iterable<ComplexSelector>(ComplexSelector)", "ComplexSelector(ComplexSelector)", "Iterable<String>(Module<AsyncCallable>)", "String(Expression0)", "List<ComplexSelectorComponent0>(List<ComplexSelectorComponent0>)", "List<CssMediaQuery0>()", "Null(Module0<AsyncCallable0>)", "bool(Module<AsyncCallable>)", "Iterable<String>(Module<Callable>)", "AtRootQuery0()", "AsyncCallable0?()", "bool(@)", "bool(Module<Callable>)", "bool(Module0<AsyncCallable0>)", "Map<ComplexSelector,Extension>()", "List<ComplexSelectorComponent>(List<ComplexSelectorComponent>)", "Map<ComplexSelector0,Extension0>()", "Trace(String)", "int(Frame)", "String(Frame)", "Iterable<ComplexSelectorComponent>(List<List<ComplexSelectorComponent>>)", "Trace()", "List<Extension>()", "bool(Frame)", "SassNumber()", "VariableDeclaration()", "AsyncCallable0?(Module0<AsyncCallable0>)", "MapKeySet<Module0<AsyncCallable0>>(Map<Module0<AsyncCallable0>,AstNode0>)", "Map<String,AsyncCallable0>(Module0<AsyncCallable0>)", "bool(Queue<Object?>)", "AstNode0(AstNode0)", "~(Iterable<ExtensionStore>)", "String(int)", "SassFunction0(List<Value0>)", "Frame(Tuple2<String,AstNode>)", "Map<String,Callable>(Module<Callable>)", "~(Module0<AsyncCallable0>)", "MapKeySet<Module<Callable>>(Map<Module<Callable>,AstNode>)", "Callable?(Module<Callable>)", "List<ExtensionStore0>()", "num?(String,num{assertPercent:bool,checkPercent:bool})", "bool(ModifiableCssParentNode0)", "String(SassNumber)", "Future<Value>(List<Value>)", "Object(Object)", "Uri?/()", "AstNode?()", "Future<SassNumber0>()", "num(num,num?,num)", "bool(UseRule0)", "bool(ForwardRule0)", "Uri(String)", "int(int,num?)", "MapKeySet<Module<AsyncCallable>>(Map<Module<AsyncCallable>,AstNode>)", "AsyncCallable?(Module<AsyncCallable>)", "Future<Object>()", "SelectorList(Value)", "SelectorList(SelectorList,SelectorList)", "Uri?()", "bool(ForwardRule)", "AstNode0?()", "String(SassNumber0)", "Frame(Tuple2<String,AstNode0>)", "Future<Tuple3<AsyncImporter0,Uri,Uri>?>()", "0&(@[@])", "bool(Import)", "bool(Statement)", "bool(UseRule)", "bool(String?)", "~(Uint8List,String,int)", "String(Value0)", "Future<SassNumber>()", "Iterable<String>()", "~(Object?,Object?)", "Iterable<String>(String)", "~(@,@)", "Future<NodeCompileResult>()", "bool(ModifiableCssParentNode)", "Iterable<String>(@)", "List<ExtensionStore>()", "~(Iterable<ExtensionStore0>)", "DateTime()", "Callable0?(Module0<Callable0>)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode0>)", "Map<String,Callable0>(Module0<Callable0>)", "~(Module<AsyncCallable>)", "SassFunction(List<Value>)", "Future<Tuple3<AsyncImporter,Uri,Uri>?>()", "Value0?(Value0)", "Set<0^>()<Object?>", "SassNumber0()", "String(_NodeException)", "AstNode(AstNode)", "List<Extension0>()", "num(num,String)", "~(Object[StackTrace?])", "~(String[~])", "Iterable<ComplexSelectorComponent0>(List<List<ComplexSelectorComponent0>>)", "~([Object?])", "bool(Statement0)", "bool(Import0)", "Tuple3<Importer0,Uri,Uri>?()", "Entry(Entry)", "int(int)", "AsyncImporter0(Object?)", "Value0(int)", "@(Value0,num)", "Object(_NodeSassMap,int)", "Null(_NodeSassMap,int,Object)", "bool(SassNumber0)", "ImmutableList(SassNumber0)", "bool(SassNumber0,String)", "SassNumber0(SassNumber0,Object,Object[String?])", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "num(SassNumber0,Object,Object[String?])", "num(SassNumber0,SassNumber0[String?,String?])", "~(String,Function)", "SelectorList0(Value0)", "SelectorList0(SelectorList0,SelectorList0)", "FileLocation(FileSpan)", "String(FileSpan)", "int(SourceLocation)", "AtRule(List<Statement>,FileSpan)", "~(String,@)", "AtRootRule0(List<Statement0>,FileSpan)", "AtRule0(List<Statement0>,FileSpan)", "int(@,@)", "AtRootRule(List<Statement>,FileSpan)", "bool(Object?,Object?)", "int(Object?)", "Map<String,AsyncCallable>(Module<AsyncCallable>)", "SupportsRule(List<Statement>,FileSpan)", "Module<AsyncCallable>?(Module<AsyncCallable>)", "EvaluateResult()", "Module<Callable>(Module<Callable>)", "CssValue<Value>(Expression)", "Value?(Value)", "@(@,String)", "CssValue<String>(Interpolation)", "String(Value)", "CssValue<String>(SupportsCondition)", "UserDefinedCallable<Environment>(ContentBlock)", "0&(List<Value>)", "Value(Expression)", "~(ContentBlock)", "~(List<Statement>)", "~(CssMediaQuery)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "Future<@>?()", "Uri?(_Line)", "Uri?(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(List<_Highlight>)", "SourceSpanWithContext()", "String(String{color:@})", "FileSpan?(MapEntry<Module<AsyncCallable>,AstNode>)", "List<Frame>(Trace)", "int(Trace)", "List<Value>(Value)", "String(Trace)", "bool(List<Value>)", "Map<String,Value>(Module<AsyncCallable>)", "Frame(String,String)", "Map<String,AstNode>(Module<AsyncCallable>)", "Null(@,StackTrace)", "SassMap(Value)", "Frame(Frame)", "Future<~>?()", "String(Argument0)", "SassMap(SassMap)", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap(SassArgumentList0)", "Null(Function,Function)", "Set<ModifiableCssValue<SelectorList>>()", "Value0?(Module0<AsyncCallable0>)", "Module0<AsyncCallable0>?(Module0<AsyncCallable0>)", "String(String?)", "_Future<@>(@)", "FileSpan?(MapEntry<Module0<AsyncCallable0>,AstNode0>)", "Map<String,Value0>(Module0<AsyncCallable0>)", "Map<String,AstNode0>(Module0<AsyncCallable0>)", "SassNumber(Value)", "Value(Object)", "Future<List<CssMediaQuery0>>(Interpolation0)", "Future<String>(SupportsCondition0)", "Future<Stylesheet?>()", "bool(Tuple3<AsyncImporter,Uri,Uri>)", "SassString(SimpleSelector)", "Uri(Tuple3<AsyncImporter,Uri,Uri>)", "bool(String?,String?)", "Future<~>(List<Value0>)", "int(String?)", "bool(Tuple3<Importer,Uri,Uri>)", "Future<EvaluateResult0>()", "Uri(Tuple3<Importer,Uri,Uri>)", "Null(@,@)", "Module0<AsyncCallable0>(Module0<AsyncCallable0>)", "String(MapEntry<String,ConfiguredValue>)", "String(Argument)", "Value?(Module<Callable>)", "Future<CssValue0<Value0>>(Expression0)", "Module<Callable>?(Module<Callable>)", "Expression(Expression)", "Future<Value0?>(Value0)", "~(int,@)", "FileSpan?(MapEntry<Module<Callable>,AstNode>)", "Future<CssValue0<String>>(Interpolation0)", "Map<String,Value>(Module<Callable>)", "Map<String,AstNode>(Module<Callable>)", "String(Tuple2<Expression,Expression>)", "~(Symbol0,@)", "ArgParser()", "Future<CssValue0<String>>(SupportsCondition0)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "String(int,IfClause)", "String(BuiltInCallable)", "Future<~>(String)", "List<WatchEvent>(List<WatchEvent>)", "CompoundSelector()", "Statement({root:bool})", "Future<Value0>(Expression0)", "~(String,int)", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "Stylesheet()", "Statement?()", "VariableDeclaration(VariableDeclaration)", "ArgumentDeclaration()", "bool(Extension)", "Future<Stylesheet0?>()", "bool(Tuple3<AsyncImporter0,Uri,Uri>)", "Uri(Tuple3<AsyncImporter0,Uri,Uri>)", "UseRule()", "0&(Object[Object?])", "~(String[@])", "Expression0(Expression0)", "int(int,int)", "StyleRule(List<Statement>,FileSpan)", "@(String)", "EachRule(List<Statement>,FileSpan)", "FunctionRule(List<Statement>,FileSpan)", "0&(List<Value0>)", "ForRule(List<Statement>,FileSpan)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "ContentBlock(List<Statement>,FileSpan)", "num(_NodeSassColor)", "MediaRule(List<Statement>,FileSpan)", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "MixinRule(List<Statement>,FileSpan)", "~(SimpleSelector,Map<ComplexSelector,Extension>)", "~(ComplexSelector,Extension)", "WhileRule(List<Statement>,FileSpan)", "AsyncImporter0(NodeImporter0)", "0&(@)", "~(Expression)", "~(BinaryOperator)", "String(MapEntry<String,ConfiguredValue0>)", "String(BuiltInCallable0)", "Null(Map<SimpleSelector,Map<ComplexSelector,Extension>>)", "StringExpression(Interpolation)", "Value0?(Module0<Callable0>)", "Module0<Callable0>?(Module0<Callable0>)", "DateTime(StylesheetNode)", "~(Uri,StylesheetNode?)", "FileSpan?(MapEntry<Module0<Callable0>,AstNode0>)", "Map<String,Value0>(Module0<Callable0>)", "Map<String,AstNode0>(Module0<Callable0>)", "Map<SimpleSelector,Map<ComplexSelector,Extension>>?(List<Extension>)", "~(Set<ModifiableCssValue<SelectorList>>)", "List<CssMediaQuery0>(Interpolation0)", "String(SupportsCondition0)", "List<ComplexSelector>(ComplexSelectorComponent)", "~(List<Value0>)", "SassScriptException()", "Object(Value0)", "Module0<Callable0>(Module0<Callable0>)", "CssValue0<Value0>(Expression0)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "SingleUnitSassNumber(num)", "CssValue0<String>(Interpolation0)", "Future<List<CssMediaQuery>>(Interpolation)", "CssValue0<String>(SupportsCondition0)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "Future<String>(SupportsCondition)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableCssValue0<SelectorList0>>()", "List<ComplexSelectorComponent>(ComplexSelector)", "ComplexSelector(Extender)", "~(SimpleSelector0,Map<ComplexSelector0,Extension0>)", "~(ComplexSelector0,Extension0)", "Null(Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>)", "Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>?(List<Extension0>)", "~(Set<ModifiableCssValue0<SelectorList0>>)", "List<ComplexSelector0>(ComplexSelectorComponent0)", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "List<ComplexSelectorComponent0>(ComplexSelector0)", "List<ComplexSelector>?(List<Extender>)", "Future<~>(List<Value>)", "ComplexSelector0(Extender0)", "List<ComplexSelector0>?(List<Extender0>)", "List<SimpleSelector0>(Extender0)", "List<ComplexSelector0>(List<ComplexSelector0>)", "List<Extender0>?(SimpleSelector0)", "List<Extender0>(PseudoSelector0)", "List<List<Extender0>>(List<Extender0>)", "List<ComplexSelector0>(ComplexSelector0)", "PseudoSelector0(ComplexSelector0)", "~(SimpleSelector0,Set<ModifiableCssValue0<SelectorList0>>)", "SassFunction0(Object,String,Value0(List<Value0>))", "List<SimpleSelector>(Extender)", "List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)", "bool(Queue<List<ComplexSelectorComponent0>>)", "Future<EvaluateResult>()", "bool(List<Iterable<ComplexSelectorComponent0>>)", "List<ComplexSelectorComponent0>(List<Iterable<ComplexSelectorComponent0>>)", "Iterable<ComplexSelectorComponent0>(Iterable<ComplexSelectorComponent0>)", "List<ComplexSelector>(List<ComplexSelector>)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "Module<AsyncCallable>(Module<AsyncCallable>)", "List<Extender>?(SimpleSelector)", "~(Object?,Object,Object?)", "Tuple2<String,String>(String)", "List<Extender>(PseudoSelector)", "Stylesheet0?()", "bool(Tuple3<Importer0,Uri,Uri>)", "Uri(Tuple3<Importer0,Uri,Uri>)", "Null(RenderResult)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "List<List<Extender>>(List<Extender>)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "SassString0(ComplexSelectorComponent0)", "Future<CssValue<Value>>(Expression)", "List<ComplexSelector>(ComplexSelector)", "SimpleSelector0(SimpleSelector0)", "Null(_NodeSassList,int?[bool?,SassList0?])", "PseudoSelector(ComplexSelector)", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassList0(Object[Object?,_ConstructorOptions?])", "Future<Value?>(Value)", "String(Tuple2<Expression0,Expression0>)", "SassMap0(Value0)", "SassMap0(SassMap0)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "~(SimpleSelector,Set<ModifiableCssValue<SelectorList>>)", "int(_NodeSassMap)", "Future<CssValue<String>>(Interpolation)", "SassMap0(Object[ImmutableMap?])", "ImmutableMap(SassMap0)", "@(SassMap0,Object)", "SassNumber0(Value0)", "Value0(Object)", "~(String,WarnOptions)", "~(String,DebugOptions)", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "num(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassNumber0(Object,num[Object?])", "num(SassNumber0)", "Uint8List(@,@)", "int?(SassNumber0)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "int(SassNumber0[String?])", "num(SassNumber0,num,num[String?])", "~(SassNumber0[String?])", "~(SassNumber0,String[String?])", "bool(Queue<List<ComplexSelectorComponent>>)", "SassList(ComplexSelector)", "Future<CssValue<String>>(SupportsCondition)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "SassString(ComplexSelectorComponent)", "SassScriptException0()", "String(Object,@,@)", "bool(List<Iterable<ComplexSelectorComponent>>)", "~(String,StackTrace?)", "List<ComplexSelectorComponent>(List<Iterable<ComplexSelectorComponent>>)", "Iterable<ComplexSelectorComponent>(Iterable<ComplexSelectorComponent>)", "SassString0(SimpleSelector0)", "CompoundSelector0()", "~(CssMediaQuery0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(num)", "Future<@>()", "JSUrl0?(FileSpan)", "Future<Value>(Expression)", "bool(PseudoSelector)", "Null(_NodeSassString,String?[SassString0?])", "String(_NodeSassString)", "Null(_NodeSassString,String)", "SassString0(Object[Object?,_ConstructorOptions1?])", "String(SassString0)", "bool(SassString0)", "int(SassString0)", "int(SassString0,Value0[String?])", "Statement0({root:bool})", "SelectorList?(PseudoSelector)", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "Tuple2<String,ArgumentDeclaration0>()", "VariableDeclaration0()", "Object?(Object?)", "StyleRule0(List<Statement0>,FileSpan)", "~([Future<~>?])", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "SimpleSelector(SimpleSelector)", "SupportsRule0(List<Statement0>,FileSpan)", "WhileRule0(List<Statement0>,FileSpan)", "~(Expression0)", "~(BinaryOperator0)", "StringExpression0(Interpolation0)", "Null(~(Object?),~(Object?))", "ImmutableList(Value0)", "String?(Value0)", "int(Value0,Value0[String?])", "SassBoolean0(Value0[String?])", "SassColor0(Value0[String?])", "SassFunction0(Value0[String?])", "SassMap0(Value0[String?])", "SassNumber0(Value0[String?])", "SassString0(Value0[String?])", "SassMap0?(Value0)", "bool(Value0,Object?)", "int(Value0[Object?])", "~(String,Option)", "Value?(Module<AsyncCallable>)", "~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)", "0^(Zone?,ZoneDelegate?,Zone,0^())<Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)<Object?Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)<Object?Object?Object?>", "0^()(Zone,ZoneDelegate,Zone,0^())<Object?>", "0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))<Object?Object?>", "0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))<Object?Object?Object?>", "AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)", "~(Zone?,ZoneDelegate?,Zone,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))", "~(Zone,ZoneDelegate,Zone,String)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map<Object?,Object?>?)", "List<CssMediaQuery>(Interpolation)", "String(SupportsCondition)", "0^(0^,0^)<num>", "~(@,StackTrace)", "~(Object,StackTrace,EventSink<0^>)<Object?>", "List<0^>(0^,List<0^>?)<Object?>", "NodeCompileResult(String[CompileOptions?])", "NodeCompileResult(String[CompileStringOptions?])", "Promise(String[CompileOptions?])", "Promise(String[CompileStringOptions?])", "Importer0(Object?)", "List<Object?>(Object?)", "~(RenderOptions,~(Object?,RenderResult?))", "RenderResult(RenderOptions)", "Future<~>(List<String>)", "Uri(JSUrl0)", "JSUrl0(Uri)", "String(String[String?,String?,String?,String?,String?,String?])", "~(List<Value>)", "EvaluateResult0()"],
97336 interceptorsByTag: null,
97337 leafTags: null,
97338 arrayRti: Symbol("$ti")
97339 };
97340 A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"JavaScriptObject","UnknownJavaScriptObject":"JavaScriptObject","JavaScriptFunction":"JavaScriptObject","Stdin":"JavaScriptObject","Stdout":"JavaScriptObject","ReadlineModule":"JavaScriptObject","ReadlineOptions":"JavaScriptObject","ReadlineInterface":"JavaScriptObject","BufferModule":"JavaScriptObject","BufferConstants":"JavaScriptObject","Buffer":"JavaScriptObject","ConsoleModule":"JavaScriptObject","Console":"JavaScriptObject","EventEmitter":"JavaScriptObject","FS":"JavaScriptObject","FSConstants":"JavaScriptObject","FSWatcher":"JavaScriptObject","ReadStream":"JavaScriptObject","ReadStreamOptions":"JavaScriptObject","WriteStream":"JavaScriptObject","WriteStreamOptions":"JavaScriptObject","FileOptions":"JavaScriptObject","StatOptions":"JavaScriptObject","MkdirOptions":"JavaScriptObject","RmdirOptions":"JavaScriptObject","WatchOptions":"JavaScriptObject","WatchFileOptions":"JavaScriptObject","Stats":"JavaScriptObject","Promise":"JavaScriptObject","Date":"JavaScriptObject","JsError":"JavaScriptObject","Atomics":"JavaScriptObject","Modules":"JavaScriptObject","Module1":"JavaScriptObject","Net":"JavaScriptObject","Socket":"JavaScriptObject","NetAddress":"JavaScriptObject","NetServer":"JavaScriptObject","NodeJsError":"JavaScriptObject","JsAssertionError":"JavaScriptObject","JsRangeError":"JavaScriptObject","JsReferenceError":"JavaScriptObject","JsSyntaxError":"JavaScriptObject","JsTypeError":"JavaScriptObject","JsSystemError":"JavaScriptObject","Process":"JavaScriptObject","CPUUsage":"JavaScriptObject","Release":"JavaScriptObject","StreamModule":"JavaScriptObject","Readable":"JavaScriptObject","Writable":"JavaScriptObject","Duplex":"JavaScriptObject","Transform":"JavaScriptObject","WritableOptions":"JavaScriptObject","ReadableOptions":"JavaScriptObject","Immediate":"JavaScriptObject","Timeout":"JavaScriptObject","TTY":"JavaScriptObject","TTYReadStream":"JavaScriptObject","TTYWriteStream":"JavaScriptObject","Util":"JavaScriptObject","JSArray0":"JavaScriptObject","Chokidar":"JavaScriptObject","ChokidarOptions":"JavaScriptObject","ChokidarWatcher":"JavaScriptObject","JSFunction":"JavaScriptObject","NodeImporterResult":"JavaScriptObject","RenderContext":"JavaScriptObject","RenderContextOptions":"JavaScriptObject","RenderContextResult":"JavaScriptObject","RenderContextResultStats":"JavaScriptObject","JSClass":"JavaScriptObject","JSUrl":"JavaScriptObject","_PropertyDescriptor":"JavaScriptObject","JSArray1":"JavaScriptObject","Chokidar0":"JavaScriptObject","ChokidarOptions0":"JavaScriptObject","ChokidarWatcher0":"JavaScriptObject","_NodeSassColor":"JavaScriptObject","_Channels":"JavaScriptObject","CompileOptions":"JavaScriptObject","CompileStringOptions":"JavaScriptObject","NodeCompileResult":"JavaScriptObject","_NodeException":"JavaScriptObject","Exports":"JavaScriptObject","LoggerNamespace":"JavaScriptObject","Fiber":"JavaScriptObject","FiberClass":"JavaScriptObject","JSFunction0":"JavaScriptObject","ImmutableList":"JavaScriptObject","ImmutableMap":"JavaScriptObject","NodeImporter0":"JavaScriptObject","CanonicalizeOptions":"JavaScriptObject","NodeImporterResult0":"JavaScriptObject","NodeImporterResult1":"JavaScriptObject","_NodeSassList":"JavaScriptObject","_ConstructorOptions":"JavaScriptObject","WarnOptions":"JavaScriptObject","DebugOptions":"JavaScriptObject","NodeLogger":"JavaScriptObject","_NodeSassMap":"JavaScriptObject","_NodeSassNumber":"JavaScriptObject","_ConstructorOptions0":"JavaScriptObject","JSClass0":"JavaScriptObject","RenderContext0":"JavaScriptObject","RenderContextOptions0":"JavaScriptObject","RenderContextResult0":"JavaScriptObject","RenderContextResultStats0":"JavaScriptObject","RenderOptions":"JavaScriptObject","RenderResult":"JavaScriptObject","RenderResultStats":"JavaScriptObject","_Exports":"JavaScriptObject","_NodeSassString":"JavaScriptObject","_ConstructorOptions1":"JavaScriptObject","Types":"JavaScriptObject","JSUrl0":"JavaScriptObject","_PropertyDescriptor0":"JavaScriptObject","JSBool":{"bool":[]},"JSNull":{"Null":[]},"JavaScriptObject":{"Promise":[],"JsSystemError":[],"_NodeSassColor":[],"_Channels":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"_NodeException":[],"Fiber":[],"JSFunction0":[],"ImmutableList":[],"ImmutableMap":[],"NodeImporter0":[],"NodeImporterResult0":[],"NodeImporterResult1":[],"_NodeSassList":[],"_ConstructorOptions":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_NodeSassNumber":[],"_ConstructorOptions0":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"_NodeSassString":[],"_ConstructorOptions1":[],"JSUrl0":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"]},"_CastIterableBase":{"Iterable":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListMixin.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.K":"3","MapMixin.V":"4"},"LateError":{"Error":[]},"CodeUnits":{"ListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListIterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"FollowedByIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthFollowedByIterable":{"FollowedByIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"UnmodifiableListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"Instantiation":{"Function":[]},"Instantiation1":{"Function":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"]},"NativeTypedArrayOfDouble":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"NativeTypedArrayOfInt":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"NativeFloat32List":{"NativeTypedArrayOfDouble":[],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"ListMixin.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"ListMixin.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"_AsyncCompleter":{"_Completer":["1"]},"_SyncCompleter":{"_Completer":["1"]},"_StreamController":{"EventSink":["1"]},"_AsyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_SyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_BufferingStreamSubscription.T":"2"},"_ExpandStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"Zone":[]},"_RootZone":{"Zone":[]},"Queue":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"_HashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedIdentityHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedIdentityHashSet":{"_LinkedHashSet":["1"],"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"UnmodifiableMapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_UnmodifiableSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"AsciiCodec":{"Codec":["String","List<int>"]},"_UnicodeSubsetEncoder":{"Converter":["String","List<int>"]},"AsciiEncoder":{"Converter":["String","List<int>"]},"Base64Codec":{"Codec":["List<int>","String"]},"Base64Encoder":{"Converter":["List<int>","String"]},"Encoding":{"Codec":["String","List<int>"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"]},"JsonEncoder":{"Converter":["Object?","String"]},"Utf8Codec":{"Codec":["String","List<int>"]},"Utf8Encoder":{"Converter":["String","List<int>"]},"Utf8Decoder":{"Converter":["List<int>","String"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"RangeError":[],"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_GeneratorIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_StringStackTrace":{"StackTrace":[]},"Runes":{"Iterable":["int"],"Iterable.E":"int"},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"ArgParserException":{"FormatException":[],"Exception":[]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_CompleterStream":{"Stream":["1"],"Stream.T":"1"},"_NextRequest":{"_EventRequest":["1"]},"EmptyUnmodifiableSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"QueueList":{"ListMixin":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListMixin":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","QueueList.E":"2"},"UnmodifiableSetView":{"DelegatingSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapKeySet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_DelegatingIterableBase":{"Iterable":["1"]},"DelegatingSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"PathException":{"Exception":[]},"PathMap":{"Map":["String?","1"]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"ModifiableCssAtRule":{"ModifiableCssParentNode":[],"CssAtRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssComment":{"ModifiableCssNode":[],"CssComment":[],"CssNode":[],"AstNode":[]},"ModifiableCssDeclaration":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssImport":{"ModifiableCssNode":[],"CssImport":[],"CssNode":[],"AstNode":[]},"ModifiableCssKeyframeBlock":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssMediaRule":{"ModifiableCssParentNode":[],"CssMediaRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssNode":{"CssNode":[],"AstNode":[]},"ModifiableCssParentNode":{"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStyleRule":{"ModifiableCssParentNode":[],"CssStyleRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStylesheet":{"ModifiableCssParentNode":[],"CssStylesheet":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssSupportsRule":{"ModifiableCssParentNode":[],"CssSupportsRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssValue":{"CssValue":["1"],"AstNode":[]},"CssNode":{"AstNode":[]},"CssParentNode":{"CssNode":[],"AstNode":[]},"CssStylesheet":{"CssParentNode":[],"CssNode":[],"AstNode":[]},"CssValue":{"AstNode":[]},"_FakeAstNode":{"AstNode":[]},"Argument":{"AstNode":[]},"ArgumentDeclaration":{"AstNode":[]},"ArgumentInvocation":{"AstNode":[]},"ConfiguredVariable":{"AstNode":[]},"BinaryOperationExpression":{"Expression":[],"AstNode":[]},"BooleanExpression":{"Expression":[],"AstNode":[]},"CalculationExpression":{"Expression":[],"AstNode":[]},"ColorExpression":{"Expression":[],"AstNode":[]},"FunctionExpression":{"Expression":[],"AstNode":[]},"IfExpression":{"Expression":[],"AstNode":[]},"InterpolatedFunctionExpression":{"Expression":[],"AstNode":[]},"ListExpression":{"Expression":[],"AstNode":[]},"MapExpression":{"Expression":[],"AstNode":[]},"NullExpression":{"Expression":[],"AstNode":[]},"NumberExpression":{"Expression":[],"AstNode":[]},"ParenthesizedExpression":{"Expression":[],"AstNode":[]},"SelectorExpression":{"Expression":[],"AstNode":[]},"StringExpression":{"Expression":[],"AstNode":[]},"UnaryOperationExpression":{"Expression":[],"AstNode":[]},"ValueExpression":{"Expression":[],"AstNode":[]},"VariableExpression":{"Expression":[],"AstNode":[]},"DynamicImport":{"Import":[],"AstNode":[]},"StaticImport":{"Import":[],"AstNode":[]},"Interpolation":{"AstNode":[]},"AtRootRule":{"Statement":[],"AstNode":[]},"AtRule":{"Statement":[],"AstNode":[]},"CallableDeclaration":{"Statement":[],"AstNode":[]},"ContentBlock":{"Statement":[],"AstNode":[]},"ContentRule":{"Statement":[],"AstNode":[]},"DebugRule":{"Statement":[],"AstNode":[]},"Declaration":{"Statement":[],"AstNode":[]},"EachRule":{"Statement":[],"AstNode":[]},"ErrorRule":{"Statement":[],"AstNode":[]},"ExtendRule":{"Statement":[],"AstNode":[]},"ForRule":{"Statement":[],"AstNode":[]},"ForwardRule":{"Statement":[],"AstNode":[]},"FunctionRule":{"Statement":[],"AstNode":[]},"IfRule":{"Statement":[],"AstNode":[]},"ImportRule":{"Statement":[],"AstNode":[]},"IncludeRule":{"Statement":[],"AstNode":[]},"LoudComment":{"Statement":[],"AstNode":[]},"MediaRule":{"Statement":[],"AstNode":[]},"MixinRule":{"Statement":[],"AstNode":[]},"_HasContentVisitor":{"StatementSearchVisitor":["bool"],"StatementSearchVisitor.T":"bool"},"ParentStatement":{"Statement":[],"AstNode":[]},"ReturnRule":{"Statement":[],"AstNode":[]},"SilentComment":{"Statement":[],"AstNode":[]},"StyleRule":{"Statement":[],"AstNode":[]},"Stylesheet":{"Statement":[],"AstNode":[]},"SupportsRule":{"Statement":[],"AstNode":[]},"UseRule":{"Statement":[],"AstNode":[]},"VariableDeclaration":{"Statement":[],"AstNode":[]},"WarnRule":{"Statement":[],"AstNode":[]},"WhileRule":{"Statement":[],"AstNode":[]},"SupportsAnything":{"SupportsCondition":[],"AstNode":[]},"SupportsDeclaration":{"SupportsCondition":[],"AstNode":[]},"SupportsFunction":{"SupportsCondition":[],"AstNode":[]},"SupportsInterpolation":{"SupportsCondition":[],"AstNode":[]},"SupportsNegation":{"SupportsCondition":[],"AstNode":[]},"SupportsOperation":{"SupportsCondition":[],"AstNode":[]},"AttributeSelector":{"SimpleSelector":[]},"ClassSelector":{"SimpleSelector":[]},"Combinator":{"ComplexSelectorComponent":[]},"CompoundSelector":{"ComplexSelectorComponent":[]},"IDSelector":{"SimpleSelector":[]},"ParentSelector":{"SimpleSelector":[]},"PlaceholderSelector":{"SimpleSelector":[]},"PseudoSelector":{"SimpleSelector":[]},"TypeSelector":{"SimpleSelector":[]},"UniversalSelector":{"SimpleSelector":[]},"_EnvironmentModule0":{"Module":["AsyncCallable"]},"AsyncBuiltInCallable":{"AsyncCallable":[]},"BuiltInCallable":{"Callable":[],"AsyncBuiltInCallable":[],"AsyncCallable":[]},"PlainCssCallable":{"Callable":[],"AsyncCallable":[]},"UserDefinedCallable":{"Callable":[],"AsyncCallable":[]},"ExplicitConfiguration":{"Configuration":[]},"_EnvironmentModule":{"Module":["Callable"]},"SassRuntimeException":{"Exception":[]},"SassException":{"Exception":[]},"MultiSpanSassException":{"Exception":[]},"MultiSpanSassRuntimeException":{"SassRuntimeException":[],"Exception":[]},"SassFormatException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"UsageException":{"Exception":[]},"EmptyExtensionStore":{"ExtensionStore":[]},"MergedExtension":{"Extension":[]},"Importer":{"AsyncImporter":[]},"FilesystemImporter":{"Importer":[],"AsyncImporter":[]},"BuiltInModule":{"Module":["1"]},"ForwardedModuleView":{"Module":["1"]},"ShadowedModuleView":{"Module":["1"]},"LimitedMapView":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MergedMapView":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"PrefixedMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_PrefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"PublicMemberMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"UnprefixedMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_UnprefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"SassArgumentList":{"SassList":[],"Value":[]},"SassBoolean":{"Value":[]},"SassCalculation":{"Value":[]},"SassColor":{"Value":[]},"SassFunction":{"Value":[]},"SassList":{"Value":[]},"SassMap":{"Value":[]},"_SassNull":{"Value":[]},"SassNumber":{"Value":[]},"ComplexSassNumber":{"SassNumber":[],"Value":[]},"SingleUnitSassNumber":{"SassNumber":[],"Value":[]},"UnitlessSassNumber":{"SassNumber":[],"Value":[]},"SassString":{"Value":[]},"_EvaluationContext0":{"EvaluationContext":[]},"_EvaluationContext":{"EvaluationContext":[]},"Entry":{"Comparable":["Entry"]},"FileLocation":{"SourceLocation":[],"Comparable":["SourceLocation"]},"FileSpan":{"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"_FileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceLocation":{"Comparable":["SourceLocation"]},"SourceLocationMixin":{"SourceLocation":[],"Comparable":["SourceLocation"]},"SourceSpan":{"Comparable":["SourceSpan"]},"SourceSpanBase":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanException":{"Exception":[]},"SourceSpanFormatException":{"FormatException":[],"Exception":[]},"SourceSpanMixin":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanWithContext":{"SourceSpan":[],"Comparable":["SourceSpan"]},"Chain":{"StackTrace":[]},"LazyTrace":{"Trace":[],"StackTrace":[]},"Trace":{"StackTrace":[]},"UnparsedFrame":{"Frame":[]},"StringScannerException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"SupportsAnything0":{"SupportsCondition0":[],"AstNode0":[]},"Argument0":{"AstNode0":[]},"ArgumentDeclaration0":{"AstNode0":[]},"ArgumentInvocation0":{"AstNode0":[]},"SassArgumentList0":{"SassList0":[],"Value0":[]},"NodeToDartAsyncImporter":{"AsyncImporter0":[]},"AsyncBuiltInCallable0":{"AsyncCallable0":[]},"_EnvironmentModule2":{"Module0":["AsyncCallable0"]},"_EvaluationContext2":{"EvaluationContext0":[]},"NodeToDartAsyncFileImporter":{"AsyncImporter0":[]},"AtRootRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssAtRule0":{"ModifiableCssParentNode0":[],"CssAtRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"AtRule0":{"Statement0":[],"AstNode0":[]},"AttributeSelector0":{"SimpleSelector0":[]},"BinaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"BooleanExpression0":{"Expression0":[],"AstNode0":[]},"SassBoolean0":{"Value0":[]},"BuiltInCallable0":{"Callable0":[],"AsyncBuiltInCallable0":[],"AsyncCallable0":[]},"BuiltInModule0":{"Module0":["1"]},"CalculationExpression0":{"Expression0":[],"AstNode0":[]},"SassCalculation0":{"Value0":[]},"CallableDeclaration0":{"Statement0":[],"AstNode0":[]},"ClassSelector0":{"SimpleSelector0":[]},"ColorExpression0":{"Expression0":[],"AstNode0":[]},"SassColor0":{"Value0":[]},"ModifiableCssComment0":{"ModifiableCssNode0":[],"CssComment0":[],"CssNode0":[],"AstNode0":[]},"ComplexSassNumber0":{"SassNumber0":[],"Value0":[]},"Combinator0":{"ComplexSelectorComponent0":[]},"CompoundSelector0":{"ComplexSelectorComponent0":[]},"ExplicitConfiguration0":{"Configuration0":[]},"ConfiguredVariable0":{"AstNode0":[]},"ContentBlock0":{"Statement0":[],"AstNode0":[]},"ContentRule0":{"Statement0":[],"AstNode0":[]},"DebugRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssDeclaration0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"Declaration0":{"Statement0":[],"AstNode0":[]},"SupportsDeclaration0":{"SupportsCondition0":[],"AstNode0":[]},"DynamicImport0":{"Import0":[],"AstNode0":[]},"EachRule0":{"Statement0":[],"AstNode0":[]},"EmptyExtensionStore0":{"ExtensionStore0":[]},"_EnvironmentModule1":{"Module0":["Callable0"]},"ErrorRule0":{"Statement0":[],"AstNode0":[]},"_EvaluationContext1":{"EvaluationContext0":[]},"SassRuntimeException0":{"Exception":[]},"SassException0":{"Exception":[]},"MultiSpanSassException0":{"Exception":[]},"MultiSpanSassRuntimeException0":{"SassRuntimeException0":[],"Exception":[]},"SassFormatException0":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"ExtendRule0":{"Statement0":[],"AstNode0":[]},"NodeToDartFileImporter":{"Importer0":[],"AsyncImporter0":[]},"FilesystemImporter0":{"Importer0":[],"AsyncImporter0":[]},"ForRule0":{"Statement0":[],"AstNode0":[]},"ForwardRule0":{"Statement0":[],"AstNode0":[]},"ForwardedModuleView0":{"Module0":["1"]},"FunctionExpression0":{"Expression0":[],"AstNode0":[]},"SupportsFunction0":{"SupportsCondition0":[],"AstNode0":[]},"SassFunction0":{"Value0":[]},"FunctionRule0":{"Statement0":[],"AstNode0":[]},"IDSelector0":{"SimpleSelector0":[]},"IfExpression0":{"Expression0":[],"AstNode0":[]},"IfRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssImport0":{"ModifiableCssNode0":[],"CssImport0":[],"CssNode0":[],"AstNode0":[]},"ImportRule0":{"Statement0":[],"AstNode0":[]},"Importer0":{"AsyncImporter0":[]},"IncludeRule0":{"Statement0":[],"AstNode0":[]},"InterpolatedFunctionExpression0":{"Expression0":[],"AstNode0":[]},"Interpolation0":{"AstNode0":[]},"SupportsInterpolation0":{"SupportsCondition0":[],"AstNode0":[]},"ModifiableCssKeyframeBlock0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"LimitedMapView0":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"ListExpression0":{"Expression0":[],"AstNode0":[]},"SassList0":{"Value0":[]},"LoudComment0":{"Statement0":[],"AstNode0":[]},"MapExpression0":{"Expression0":[],"AstNode0":[]},"SassMap0":{"Value0":[]},"ModifiableCssMediaRule0":{"ModifiableCssParentNode0":[],"CssMediaRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"MediaRule0":{"Statement0":[],"AstNode0":[]},"MergedExtension0":{"Extension0":[]},"MergedMapView0":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MixinRule0":{"Statement0":[],"AstNode0":[]},"_HasContentVisitor0":{"StatementSearchVisitor0":["bool"],"StatementSearchVisitor0.T":"bool"},"SupportsNegation0":{"SupportsCondition0":[],"AstNode0":[]},"NoOpImporter":{"Importer0":[],"AsyncImporter0":[]},"_FakeAstNode0":{"AstNode0":[]},"CssNode0":{"AstNode0":[]},"CssParentNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssParentNode0":{"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"NullExpression0":{"Expression0":[],"AstNode0":[]},"_SassNull0":{"Value0":[]},"NumberExpression0":{"Expression0":[],"AstNode0":[]},"SassNumber0":{"Value0":[]},"SupportsOperation0":{"SupportsCondition0":[],"AstNode0":[]},"ParentSelector0":{"SimpleSelector0":[]},"ParentStatement0":{"Statement0":[],"AstNode0":[]},"ParenthesizedExpression0":{"Expression0":[],"AstNode0":[]},"PlaceholderSelector0":{"SimpleSelector0":[]},"PlainCssCallable0":{"Callable0":[],"AsyncCallable0":[]},"PrefixedMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_PrefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"PseudoSelector0":{"SimpleSelector0":[]},"PublicMemberMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"ReturnRule0":{"Statement0":[],"AstNode0":[]},"SelectorExpression0":{"Expression0":[],"AstNode0":[]},"ShadowedModuleView0":{"Module0":["1"]},"SilentComment0":{"Statement0":[],"AstNode0":[]},"SingleUnitSassNumber0":{"SassNumber0":[],"Value0":[]},"StaticImport0":{"Import0":[],"AstNode0":[]},"StringExpression0":{"Expression0":[],"AstNode0":[]},"SassString0":{"Value0":[]},"ModifiableCssStyleRule0":{"ModifiableCssParentNode0":[],"CssStyleRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"StyleRule0":{"Statement0":[],"AstNode0":[]},"CssStylesheet0":{"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"ModifiableCssStylesheet0":{"ModifiableCssParentNode0":[],"CssStylesheet0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"Stylesheet0":{"Statement0":[],"AstNode0":[]},"ModifiableCssSupportsRule0":{"ModifiableCssParentNode0":[],"CssSupportsRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"SupportsRule0":{"Statement0":[],"AstNode0":[]},"NodeToDartImporter":{"Importer0":[],"AsyncImporter0":[]},"TypeSelector0":{"SimpleSelector0":[]},"UnaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"UnitlessSassNumber0":{"SassNumber0":[],"Value0":[]},"UniversalSelector0":{"SimpleSelector0":[]},"UnprefixedMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_UnprefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"UseRule0":{"Statement0":[],"AstNode0":[]},"UserDefinedCallable0":{"Callable0":[],"AsyncCallable0":[]},"CssValue0":{"AstNode0":[]},"ValueExpression0":{"Expression0":[],"AstNode0":[]},"ModifiableCssValue0":{"CssValue0":["1"],"AstNode0":[]},"VariableExpression0":{"Expression0":[],"AstNode0":[]},"VariableDeclaration0":{"Statement0":[],"AstNode0":[]},"WarnRule0":{"Statement0":[],"AstNode0":[]},"WhileRule0":{"Statement0":[],"AstNode0":[]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Expression":{"AstNode":[]},"Import":{"AstNode":[]},"Statement":{"AstNode":[]},"SupportsCondition":{"AstNode":[]},"Callable":{"AsyncCallable":[]},"Callable0":{"AsyncCallable0":[]},"Expression0":{"AstNode0":[]},"Import0":{"AstNode0":[]},"Statement0":{"AstNode0":[]},"SupportsCondition0":{"AstNode0":[]}}'));
97341 A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"ArrayIterator":1,"ListIterator":1,"MappedIterator":2,"WhereIterator":1,"ExpandIterator":2,"TakeIterator":1,"SkipIterator":1,"SkipWhileIterator":1,"EmptyIterator":1,"FollowedByIterator":1,"FixedLengthListMixin":1,"UnmodifiableListMixin":1,"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"LinkedHashMapKeyIterator":1,"NativeTypedArray":1,"EventSink":1,"_SyncStarIterator":1,"StreamTransformerBase":2,"_SyncStreamControllerDispatch":1,"_AsyncStreamControllerDispatch":1,"_AddStreamState":1,"_StreamControllerAddStreamState":1,"_DelayedEvent":1,"_DelayedData":1,"_PendingEvents":1,"_StreamImplEvents":1,"_StreamIterator":1,"_ZoneFunction":1,"Queue":1,"_HashMapKeyIterator":1,"_LinkedHashSetIterator":1,"IterableBase":1,"ListBase":1,"MapBase":2,"UnmodifiableMapBase":2,"_MapBaseValueIterator":2,"_UnmodifiableMapMixin":2,"MapView":2,"_ListQueueIterator":1,"_UnmodifiableSetMixin":1,"_ListBase_Object_ListMixin":1,"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":2,"__SetBase_Object_SetMixin":1,"__UnmodifiableSet__SetBase__UnmodifiableSetMixin":1,"ChunkedConversionSink":1,"_StringSinkConversionSink":1,"Expando":1,"Iterator":1,"_EventRequest":1,"_EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin":1,"DefaultEquality":1,"IterableEquality":1,"ListEquality":1,"MapEquality":2,"_QueueList_Object_ListMixin":1,"UnmodifiableSetMixin":1,"_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin":1,"_DelegatingIterableBase":1,"_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin":1,"ParentStatement":1,"ParentStatement0":1}'));
97342 var string$ = {
97343 x0a_BUG_: "\n\nBUG: This should include a source span!",
97344 x0a_More: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
97345 x0aRun_i: "\nRun in verbose mode to see all warnings.",
97346 x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
97347 x20in_in: " in interpolation here.\nIt may end up represented as ",
97348 x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
97349 x20is_av: " is available from multiple global modules.",
97350 x20is_no: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
97351 x20must_: " must not be greater than the number of characters in the file, ",
97352 x20repet: " repetitive deprecation warnings omitted.",
97353 x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
97354 x20was_a: ' was already loaded, so it can\'t be configured using "with".',
97355 x20was_n: " was not declared with !default in the @used module.",
97356 x20was_p: " was passed both by position and by name.",
97357 x21globa: "!global isn't allowed for variables in other modules.",
97358 x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
97359 x22x26__ma: '"&" may only used at the beginning of a compound selector.',
97360 x22x29__If: "\").\nIf you really want to use the color value here, use '",
97361 x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
97362 x22packa: '"package:" URLs aren\'t supported on this platform.',
97363 x24css_a: "$css and $module may not both be passed at once.",
97364 x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
97365 x24selec: "$selectors: At least one selector must be passed.",
97366 x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
97367 x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
97368 x29x0a_Morx20: ")\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
97369 x29x0a_Morx3a: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
97370 x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: $",
97371 x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
97372 x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
97373 x2c_whici: ", which is currently (incorrectly) converted to ",
97374 x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
97375 x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.\n",
97376 x3d_____: "===== asynchronous gap ===========================\n",
97377 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.",
97378 x40conte: "@content is only allowed within mixin declarations.",
97379 x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
97380 x40exten: "@extend may only be used within style rules.",
97381 x40forwa: "@forward rules must be written before any other rules.",
97382 x40funct: "@function if($condition, $if-true, $if-false) {",
97383 x40use_r: "@use rules must be written before any other rules.",
97384 A_list: "A list with more than one element must have an explicit separator.",
97385 ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
97386 An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
97387 An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
97388 As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
97389 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.",
97390 At_rul: "At-rules may not be used within nested declarations.",
97391 Cannotff: "Cannot extract a file path from a URI with a fragment component",
97392 Cannotfq: "Cannot extract a file path from a URI with a query component",
97393 Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
97394 Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
97395 Could_: 'Could not find an option with short name "-',
97396 CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
97397 Declarm: "Declarations may only be used within style rules.",
97398 Declarwa: 'Declarations whose names begin with "--" may not be nested.',
97399 Declarwu: 'Declarations whose names begin with "--" must have StringExpression values (was `',
97400 Either: "Either options.data or options.file must be set.",
97401 Entrie: "Entries may not be removed from MergedMapView.",
97402 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",
97403 Evalua: "Evaluation handles @include and its content block together.",
97404 Expand: "Expandos are not allowed on strings, numbers, booleans or null",
97405 Expectn: "Expected number, variable, function, or calculation.",
97406 Expectv: "Expected variable, mixin, or function name",
97407 Functi: "Functions may not be declared in control directives.",
97408 HSL_pa: "HSL parameters may not be passed along with HWB parameters.",
97409 If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
97410 In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
97411 Indent: "Indenting at the beginning of the document is illegal.",
97412 Interpn: "Interpolation isn't allowed in namespaces.",
97413 Interpp: "Interpolation isn't allowed in plain CSS.",
97414 Invali: 'Invalid return value for custom function "',
97415 It_s_n: "It's not clear which file to import. Found:\n",
97416 May_on: "May only contains Strings or Expressions.",
97417 Media_: "Media rules may not be used within nested declarations.",
97418 Mixinsb: "Mixins may not be declared in control directives.",
97419 Mixinscf: "Mixins may not contain function declarations.",
97420 Mixinscm: "Mixins may not contain mixin declarations.",
97421 Modulel: "Module loop: this module is already being loaded.",
97422 Modulen: "Module namespaces aren't allowed in plain CSS.",
97423 Nested: "Nested declarations aren't allowed in plain CSS.",
97424 New_en: "New entries may not be added to MergedMapView.",
97425 No_Sasc: "No Sass callable is currently being evaluated.",
97426 No_Sass: "No Sass stylesheet is currently being evaluated.",
97427 NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
97428 Only_2: "Only 2 slash-separated elements allowed, but ",
97429 Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
97430 Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
97431 Other_: "Other modules' members can't be defined with !global.",
97432 Passin: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
97433 Placeh: "Placeholder selectors aren't allowed here.",
97434 Plain_: "Plain CSS functions don't support keyword arguments.",
97435 Positi: "Positional arguments must come before keyword arguments.",
97436 Privat: "Private members can't be accessed from outside their modules.",
97437 RGB_pa: "RGB parameters may not be passed along with ",
97438 Sass_v: "Sass variables aren't allowed in plain CSS.",
97439 Silent: "Silent comments aren't allowed in plain CSS.",
97440 Soon__: "Soon, it will instead be correctly converted to ",
97441 Style_: "Style rules may not be used within nested declarations.",
97442 Suppor: "Supports rules may not be used within nested declarations.",
97443 The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
97444 The_ca: "The canonicalize() method must return a URL.",
97445 The_fie: "The findFileUrl() method must return a URL.",
97446 The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
97447 The_gi: "The given LineScannerState was not returned by this LineScanner.",
97448 The_lo: "The load() function must return an object with contents and syntax fields.",
97449 The_pa: "The parent selector isn't allowed in plain CSS.",
97450 The_sa: "The same variable may only be configured once.",
97451 The_ta: 'The target selector was not found.\nUse "@extend ',
97452 There_: "There's already a module with namespace \"",
97453 This_d: 'This declaration has no argument named "$',
97454 This_f: "This function isn't allowed in plain CSS.",
97455 This_ma: 'This module and the new module both define a variable named "$',
97456 This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
97457 This_s: "This selector doesn't have any properties and won't be rendered.",
97458 This_v: "This variable was not declared with !default in the @used module.",
97459 Top_le: 'Top-level selectors may not contain the parent selector "&".',
97460 Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
97461 Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
97462 Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
97463 Variab_: "Variable keyword argument map must have string keys.\n",
97464 Variabs: "Variable keyword arguments must be a map (was ",
97465 You_ma: "You may not @extend selectors across media queries.",
97466 You_pr: "You probably don't mean to use the color value ",
97467 x60_inst: "` instead.\nSee http://bit.ly/ExtendCompound for details.\n",
97468 addExt_: "addExtension() can't be called for a const ExtensionStore.",
97469 addExts: "addExtensions() can't be called for a const ExtensionStore.",
97470 addSel: "addSelector() can't be called for a const ExtensionStore.",
97471 compou: "compound selectors may no longer be extended.\nConsider `@extend ",
97472 conten: "content-exists() may only be called within a mixin.",
97473 math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
97474 must_b: "must be a UniversalSelector or a TypeSelector",
97475 parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
97476 semico: "semicolons aren't allowed in the indented syntax.",
97477 throug: "through() must return false for at least one parent of "
97478 };
97479 var type$ = (function rtii() {
97480 var findType = A.findType;
97481 return {
97482 $env_1_1_String: findType("@<String>"),
97483 ArgParser: findType("ArgParser"),
97484 Argument: findType("Argument"),
97485 ArgumentDeclaration: findType("ArgumentDeclaration"),
97486 ArgumentDeclaration_2: findType("ArgumentDeclaration0"),
97487 Argument_2: findType("Argument0"),
97488 AstNode: findType("AstNode"),
97489 AstNode_2: findType("AstNode0"),
97490 AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
97491 AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
97492 AsyncCallable: findType("AsyncCallable"),
97493 AsyncCallable_2: findType("AsyncCallable0"),
97494 AsyncImporter: findType("AsyncImporter0"),
97495 BuiltInCallable: findType("BuiltInCallable"),
97496 BuiltInCallable_2: findType("BuiltInCallable0"),
97497 BuiltInModule_AsyncBuiltInCallable: findType("BuiltInModule<AsyncBuiltInCallable>"),
97498 BuiltInModule_AsyncBuiltInCallable_2: findType("BuiltInModule0<AsyncBuiltInCallable0>"),
97499 BuiltInModule_BuiltInCallable: findType("BuiltInModule<BuiltInCallable>"),
97500 BuiltInModule_BuiltInCallable_2: findType("BuiltInModule0<BuiltInCallable0>"),
97501 Callable: findType("Callable"),
97502 Callable_2: findType("Callable0"),
97503 ChangeType: findType("ChangeType"),
97504 Combinator: findType("Combinator"),
97505 Combinator_2: findType("Combinator0"),
97506 Comparable_dynamic: findType("Comparable<@>"),
97507 Comparable_nullable_Object: findType("Comparable<Object?>"),
97508 CompileResult: findType("CompileResult"),
97509 CompileResult_2: findType("CompileResult0"),
97510 ComplexSelector: findType("ComplexSelector"),
97511 ComplexSelectorComponent: findType("ComplexSelectorComponent"),
97512 ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
97513 ComplexSelector_2: findType("ComplexSelector0"),
97514 CompoundSelector: findType("CompoundSelector"),
97515 CompoundSelector_2: findType("CompoundSelector0"),
97516 Configuration: findType("Configuration"),
97517 Configuration_2: findType("Configuration0"),
97518 ConfiguredValue: findType("ConfiguredValue"),
97519 ConfiguredValue_2: findType("ConfiguredValue0"),
97520 ConfiguredVariable: findType("ConfiguredVariable"),
97521 ConfiguredVariable_2: findType("ConfiguredVariable0"),
97522 ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
97523 ConstantStringMap_String_Null: findType("ConstantStringMap<String,Null>"),
97524 ConstantStringMap_String_num: findType("ConstantStringMap<String,num>"),
97525 CssAtRule: findType("CssAtRule"),
97526 CssAtRule_2: findType("CssAtRule0"),
97527 CssComment: findType("CssComment"),
97528 CssComment_2: findType("CssComment0"),
97529 CssImport: findType("CssImport"),
97530 CssImport_2: findType("CssImport0"),
97531 CssMediaQuery: findType("CssMediaQuery"),
97532 CssMediaQuery_2: findType("CssMediaQuery0"),
97533 CssMediaRule: findType("CssMediaRule"),
97534 CssMediaRule_2: findType("CssMediaRule0"),
97535 CssParentNode: findType("CssParentNode"),
97536 CssParentNode_2: findType("CssParentNode0"),
97537 CssStyleRule: findType("CssStyleRule"),
97538 CssStyleRule_2: findType("CssStyleRule0"),
97539 CssStylesheet: findType("CssStylesheet"),
97540 CssStylesheet_2: findType("CssStylesheet0"),
97541 CssSupportsRule: findType("CssSupportsRule"),
97542 CssSupportsRule_2: findType("CssSupportsRule0"),
97543 CssValue_List_String: findType("CssValue<List<String>>"),
97544 CssValue_List_String_2: findType("CssValue0<List<String>>"),
97545 CssValue_SelectorList: findType("CssValue<SelectorList>"),
97546 CssValue_SelectorList_2: findType("CssValue0<SelectorList0>"),
97547 CssValue_String: findType("CssValue<String>"),
97548 CssValue_String_2: findType("CssValue0<String>"),
97549 CssValue_Value: findType("CssValue<Value>"),
97550 CssValue_Value_2: findType("CssValue0<Value0>"),
97551 DateTime: findType("DateTime"),
97552 EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
97553 Error: findType("Error"),
97554 EvaluateResult: findType("EvaluateResult"),
97555 EvaluateResult_2: findType("EvaluateResult0"),
97556 EvaluationContext: findType("EvaluationContext"),
97557 EvaluationContext_2: findType("EvaluationContext0"),
97558 Exception: findType("Exception"),
97559 Expression: findType("Expression"),
97560 Expression_2: findType("Expression0"),
97561 Extender: findType("Extender"),
97562 Extender_2: findType("Extender0"),
97563 Extension: findType("Extension"),
97564 Extension_2: findType("Extension0"),
97565 FileSpan: findType("FileSpan"),
97566 FormatException: findType("FormatException"),
97567 Frame: findType("Frame"),
97568 Function: findType("Function"),
97569 FutureOr_EvaluateResult: findType("EvaluateResult/"),
97570 FutureOr_EvaluateResult_2: findType("EvaluateResult0/"),
97571 FutureOr_nullable_Uri: findType("Uri?/"),
97572 Future_dynamic: findType("Future<@>"),
97573 Future_void: findType("Future<~>"),
97574 IfClause: findType("IfClause"),
97575 IfClause_2: findType("IfClause0"),
97576 ImmutableList: findType("ImmutableList"),
97577 ImmutableMap: findType("ImmutableMap"),
97578 Import: findType("Import"),
97579 Import_2: findType("Import0"),
97580 Importer: findType("Importer0"),
97581 ImporterResult: findType("ImporterResult"),
97582 ImporterResult_2: findType("ImporterResult0"),
97583 InternalStyle: findType("InternalStyle"),
97584 Interpolation: findType("Interpolation"),
97585 InterpolationBuffer: findType("InterpolationBuffer"),
97586 InterpolationBuffer_2: findType("InterpolationBuffer0"),
97587 Interpolation_2: findType("Interpolation0"),
97588 Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
97589 Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
97590 Iterable_dynamic: findType("Iterable<@>"),
97591 JSArray_Argument: findType("JSArray<Argument>"),
97592 JSArray_Argument_2: findType("JSArray<Argument0>"),
97593 JSArray_AstNode: findType("JSArray<AstNode>"),
97594 JSArray_AstNode_2: findType("JSArray<AstNode0>"),
97595 JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
97596 JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
97597 JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
97598 JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
97599 JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
97600 JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
97601 JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
97602 JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
97603 JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
97604 JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
97605 JSArray_Callable: findType("JSArray<Callable>"),
97606 JSArray_Callable_2: findType("JSArray<Callable0>"),
97607 JSArray_Combinator: findType("JSArray<Combinator>"),
97608 JSArray_Combinator_2: findType("JSArray<Combinator0>"),
97609 JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
97610 JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
97611 JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
97612 JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
97613 JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
97614 JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
97615 JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
97616 JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
97617 JSArray_CssNode: findType("JSArray<CssNode>"),
97618 JSArray_CssNode_2: findType("JSArray<CssNode0>"),
97619 JSArray_Entry: findType("JSArray<Entry>"),
97620 JSArray_Expression: findType("JSArray<Expression>"),
97621 JSArray_Expression_2: findType("JSArray<Expression0>"),
97622 JSArray_Extender: findType("JSArray<Extender>"),
97623 JSArray_Extender_2: findType("JSArray<Extender0>"),
97624 JSArray_Extension: findType("JSArray<Extension>"),
97625 JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
97626 JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
97627 JSArray_Extension_2: findType("JSArray<Extension0>"),
97628 JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
97629 JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
97630 JSArray_Frame: findType("JSArray<Frame>"),
97631 JSArray_IfClause: findType("JSArray<IfClause>"),
97632 JSArray_IfClause_2: findType("JSArray<IfClause0>"),
97633 JSArray_Import: findType("JSArray<Import>"),
97634 JSArray_Import_2: findType("JSArray<Import0>"),
97635 JSArray_Importer: findType("JSArray<Importer0>"),
97636 JSArray_Importer_2: findType("JSArray<Importer>"),
97637 JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
97638 JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
97639 JSArray_JSFunction: findType("JSArray<JSFunction0>"),
97640 JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
97641 JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
97642 JSArray_List_Extender: findType("JSArray<List<Extender>>"),
97643 JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
97644 JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
97645 JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
97646 JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
97647 JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
97648 JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
97649 JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
97650 JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable>>"),
97651 JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable0>>"),
97652 JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
97653 JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
97654 JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
97655 JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
97656 JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
97657 JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
97658 JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
97659 JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
97660 JSArray_Module_AsyncCallable: findType("JSArray<Module<AsyncCallable>>"),
97661 JSArray_Module_AsyncCallable_2: findType("JSArray<Module0<AsyncCallable0>>"),
97662 JSArray_Module_Callable: findType("JSArray<Module<Callable>>"),
97663 JSArray_Module_Callable_2: findType("JSArray<Module0<Callable0>>"),
97664 JSArray_Object: findType("JSArray<Object>"),
97665 JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
97666 JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
97667 JSArray_SassList: findType("JSArray<SassList>"),
97668 JSArray_SassList_2: findType("JSArray<SassList0>"),
97669 JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
97670 JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
97671 JSArray_Statement: findType("JSArray<Statement>"),
97672 JSArray_Statement_2: findType("JSArray<Statement0>"),
97673 JSArray_String: findType("JSArray<String>"),
97674 JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
97675 JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
97676 JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
97677 JSArray_Trace: findType("JSArray<Trace>"),
97678 JSArray_Tuple2_Expression_Expression: findType("JSArray<Tuple2<Expression,Expression>>"),
97679 JSArray_Tuple2_Expression_Expression_2: findType("JSArray<Tuple2<Expression0,Expression0>>"),
97680 JSArray_Tuple2_String_AstNode: findType("JSArray<Tuple2<String,AstNode>>"),
97681 JSArray_Tuple2_String_AstNode_2: findType("JSArray<Tuple2<String,AstNode0>>"),
97682 JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("JSArray<Tuple2<ArgumentDeclaration,Value(List<Value>)>>"),
97683 JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("JSArray<Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>>"),
97684 JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("JSArray<Tuple4<Uri,bool,Importer,Uri?>>"),
97685 JSArray_Uri: findType("JSArray<Uri>"),
97686 JSArray_UseRule: findType("JSArray<UseRule>"),
97687 JSArray_UseRule_2: findType("JSArray<UseRule0>"),
97688 JSArray_Value: findType("JSArray<Value>"),
97689 JSArray_Value_2: findType("JSArray<Value0>"),
97690 JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
97691 JSArray__Highlight: findType("JSArray<_Highlight>"),
97692 JSArray__Line: findType("JSArray<_Line>"),
97693 JSArray_bool: findType("JSArray<bool>"),
97694 JSArray_dynamic: findType("JSArray<@>"),
97695 JSArray_int: findType("JSArray<int>"),
97696 JSArray_nullable_String: findType("JSArray<String?>"),
97697 JSClass: findType("JSClass0"),
97698 JSFunction: findType("JSFunction0"),
97699 JSNull: findType("JSNull"),
97700 JSUrl: findType("JSUrl0"),
97701 JavaScriptFunction: findType("JavaScriptFunction"),
97702 JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
97703 JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
97704 JsSystemError: findType("JsSystemError"),
97705 LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
97706 LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
97707 List_ComplexSelector: findType("List<ComplexSelector>"),
97708 List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
97709 List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
97710 List_ComplexSelector_2: findType("List<ComplexSelector0>"),
97711 List_CssMediaQuery: findType("List<CssMediaQuery>"),
97712 List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
97713 List_Extension: findType("List<Extension>"),
97714 List_ExtensionStore: findType("List<ExtensionStore>"),
97715 List_ExtensionStore_2: findType("List<ExtensionStore0>"),
97716 List_Extension_2: findType("List<Extension0>"),
97717 List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
97718 List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
97719 List_Module_AsyncCallable: findType("List<Module<AsyncCallable>>"),
97720 List_Module_AsyncCallable_2: findType("List<Module0<AsyncCallable0>>"),
97721 List_Module_Callable: findType("List<Module<Callable>>"),
97722 List_Module_Callable_2: findType("List<Module0<Callable0>>"),
97723 List_String: findType("List<String>"),
97724 List_Value: findType("List<Value>"),
97725 List_Value_2: findType("List<Value0>"),
97726 List_WatchEvent: findType("List<WatchEvent>"),
97727 List_dynamic: findType("List<@>"),
97728 List_int: findType("List<int>"),
97729 List_nullable_Object: findType("List<Object?>"),
97730 MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module<AsyncCallable>>"),
97731 MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module0<AsyncCallable0>>"),
97732 MapKeySet_Module_Callable: findType("MapKeySet<Module<Callable>>"),
97733 MapKeySet_Module_Callable_2: findType("MapKeySet<Module0<Callable0>>"),
97734 MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
97735 MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
97736 MapKeySet_String: findType("MapKeySet<String>"),
97737 MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
97738 Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
97739 Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
97740 Map_String_AstNode: findType("Map<String,AstNode>"),
97741 Map_String_AstNode_2: findType("Map<String,AstNode0>"),
97742 Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
97743 Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
97744 Map_String_Callable: findType("Map<String,Callable>"),
97745 Map_String_Callable_2: findType("Map<String,Callable0>"),
97746 Map_String_Value: findType("Map<String,Value>"),
97747 Map_String_Value_2: findType("Map<String,Value0>"),
97748 Map_String_dynamic: findType("Map<String,@>"),
97749 Map_dynamic_dynamic: findType("Map<@,@>"),
97750 MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
97751 MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
97752 MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
97753 MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
97754 MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
97755 MediaQuerySuccessfulMergeResult: findType("MediaQuerySuccessfulMergeResult"),
97756 MediaQuerySuccessfulMergeResult_2: findType("MediaQuerySuccessfulMergeResult0"),
97757 MixinRule: findType("MixinRule"),
97758 MixinRule_2: findType("MixinRule0"),
97759 ModifiableCssAtRule: findType("ModifiableCssAtRule"),
97760 ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
97761 ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
97762 ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
97763 ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
97764 ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
97765 ModifiableCssNode: findType("ModifiableCssNode"),
97766 ModifiableCssNode_2: findType("ModifiableCssNode0"),
97767 ModifiableCssParentNode: findType("ModifiableCssParentNode"),
97768 ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
97769 ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
97770 ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
97771 ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
97772 ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
97773 ModifiableCssValue_SelectorList: findType("ModifiableCssValue<SelectorList>"),
97774 ModifiableCssValue_SelectorList_2: findType("ModifiableCssValue0<SelectorList0>"),
97775 Module_AsyncCallable: findType("Module<AsyncCallable>"),
97776 Module_AsyncCallable_2: findType("Module0<AsyncCallable0>"),
97777 Module_Callable: findType("Module<Callable>"),
97778 Module_Callable_2: findType("Module0<Callable0>"),
97779 NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
97780 NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
97781 NativeUint8List: findType("NativeUint8List"),
97782 Never: findType("0&"),
97783 NodeCompileResult: findType("NodeCompileResult"),
97784 NodeImporter: findType("NodeImporter0"),
97785 NodeImporterResult: findType("NodeImporterResult0"),
97786 NodeImporterResult_2: findType("NodeImporterResult1"),
97787 Null: findType("Null"),
97788 Object: findType("Object"),
97789 Option: findType("Option"),
97790 ParentSelector: findType("ParentSelector"),
97791 ParentSelector_2: findType("ParentSelector0"),
97792 PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
97793 PathMap_String: findType("PathMap<String>"),
97794 PathMap_nullable_String: findType("PathMap<String?>"),
97795 Promise: findType("Promise"),
97796 PseudoSelector: findType("PseudoSelector"),
97797 PseudoSelector_2: findType("PseudoSelector0"),
97798 RangeError: findType("RangeError"),
97799 RegExpMatch: findType("RegExpMatch"),
97800 RenderContextOptions: findType("RenderContextOptions0"),
97801 RenderResult: findType("RenderResult"),
97802 Result_String: findType("Result<String>"),
97803 ReversedListIterable_Combinator: findType("ReversedListIterable<Combinator>"),
97804 ReversedListIterable_Combinator_2: findType("ReversedListIterable<Combinator0>"),
97805 SassArgumentList: findType("SassArgumentList"),
97806 SassArgumentList_2: findType("SassArgumentList0"),
97807 SassBoolean: findType("SassBoolean"),
97808 SassBoolean_2: findType("SassBoolean0"),
97809 SassColor: findType("SassColor"),
97810 SassColor_2: findType("SassColor0"),
97811 SassList: findType("SassList"),
97812 SassList_2: findType("SassList0"),
97813 SassMap: findType("SassMap"),
97814 SassMap_2: findType("SassMap0"),
97815 SassNumber: findType("SassNumber"),
97816 SassNumber_2: findType("SassNumber0"),
97817 SassRuntimeException: findType("SassRuntimeException"),
97818 SassRuntimeException_2: findType("SassRuntimeException0"),
97819 SassString: findType("SassString"),
97820 SassString_2: findType("SassString0"),
97821 SelectorList: findType("SelectorList"),
97822 SelectorList_2: findType("SelectorList0"),
97823 Set_ModifiableCssValue_SelectorList: findType("Set<ModifiableCssValue<SelectorList>>"),
97824 Set_ModifiableCssValue_SelectorList_2: findType("Set<ModifiableCssValue0<SelectorList0>>"),
97825 SimpleSelector: findType("SimpleSelector"),
97826 SimpleSelector_2: findType("SimpleSelector0"),
97827 SourceFile: findType("SourceFile"),
97828 SourceLocation: findType("SourceLocation"),
97829 SourceSpan: findType("SourceSpan"),
97830 SourceSpanFormatException: findType("SourceSpanFormatException"),
97831 SourceSpanWithContext: findType("SourceSpanWithContext"),
97832 StackTrace: findType("StackTrace"),
97833 Statement: findType("Statement"),
97834 Statement_2: findType("Statement0"),
97835 StaticImport: findType("StaticImport"),
97836 StaticImport_2: findType("StaticImport0"),
97837 StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
97838 StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
97839 StreamQueue_String: findType("StreamQueue<String>"),
97840 Stream_WatchEvent: findType("Stream<WatchEvent>"),
97841 String: findType("String"),
97842 StylesheetNode: findType("StylesheetNode"),
97843 Timer: findType("Timer"),
97844 Trace: findType("Trace"),
97845 Tuple2_Expression_Expression: findType("Tuple2<Expression,Expression>"),
97846 Tuple2_Expression_Expression_2: findType("Tuple2<Expression0,Expression0>"),
97847 Tuple2_ModifiableCssStylesheet_ExtensionStore: findType("Tuple2<ModifiableCssStylesheet,ExtensionStore>"),
97848 Tuple2_ModifiableCssStylesheet_ExtensionStore_2: findType("Tuple2<ModifiableCssStylesheet0,ExtensionStore0>"),
97849 Tuple2_SassNumber_SassNumber: findType("Tuple2<SassNumber,SassNumber>"),
97850 Tuple2_SassNumber_SassNumber_2: findType("Tuple2<SassNumber0,SassNumber0>"),
97851 Tuple2_String_ArgumentDeclaration: findType("Tuple2<String,ArgumentDeclaration0>"),
97852 Tuple2_String_AstNode: findType("Tuple2<String,AstNode>"),
97853 Tuple2_String_AstNode_2: findType("Tuple2<String,AstNode0>"),
97854 Tuple2_String_SourceSpan: findType("Tuple2<String,SourceSpan>"),
97855 Tuple2_String_String: findType("Tuple2<String,String>"),
97856 Tuple2_Uri_bool: findType("Tuple2<Uri,bool>"),
97857 Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value/(List<Value>)>"),
97858 Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0/(List<Value0>)>"),
97859 Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value(List<Value>)>"),
97860 Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>"),
97861 Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList: findType("Tuple2<ExtensionStore,Map<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>>"),
97862 Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2: findType("Tuple2<ExtensionStore0,Map<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>>"),
97863 Tuple2_of_List_Expression_and_Map_String_Expression: findType("Tuple2<List<Expression>,Map<String,Expression>>"),
97864 Tuple2_of_List_Expression_and_Map_String_Expression_2: findType("Tuple2<List<Expression0>,Map<String,Expression0>>"),
97865 Tuple2_of_List_Uri_and_List_Uri: findType("Tuple2<List<Uri>,List<Uri>>"),
97866 Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode: findType("Tuple2<Map<Uri,StylesheetNode?>,Map<Uri,StylesheetNode?>>"),
97867 Tuple2_of_Set_String_and_Set_String: findType("Tuple2<Set<String>,Set<String>>"),
97868 Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation: findType("Tuple2<SupportsCondition?,Interpolation?>"),
97869 Tuple2_of_nullable_SupportsCondition_and_nullable_Interpolation_2: findType("Tuple2<SupportsCondition0?,Interpolation0?>"),
97870 Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>"),
97871 Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>"),
97872 Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>"),
97873 Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>"),
97874 Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri: findType("Tuple4<Uri,bool,AsyncImporter,Uri?>"),
97875 Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2: findType("Tuple4<Uri,bool,AsyncImporter0,Uri?>"),
97876 Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("Tuple4<Uri,bool,Importer,Uri?>"),
97877 Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2: findType("Tuple4<Uri,bool,Importer0,Uri?>"),
97878 TypeError: findType("TypeError"),
97879 Uint8List: findType("Uint8List"),
97880 UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
97881 UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
97882 UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
97883 UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
97884 UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
97885 UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
97886 UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
97887 UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
97888 UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
97889 UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
97890 UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
97891 UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
97892 UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
97893 UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
97894 UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
97895 UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
97896 UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
97897 UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
97898 UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
97899 UnmodifiableSetView_String: findType("UnmodifiableSetView<String>"),
97900 UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView<StylesheetNode>"),
97901 UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
97902 UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
97903 Uri: findType("Uri"),
97904 UseRule: findType("UseRule"),
97905 UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
97906 UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
97907 UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
97908 UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
97909 Value: findType("Value"),
97910 Value_2: findType("Value0"),
97911 Value_Function_List_Value: findType("Value(List<Value>)"),
97912 Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
97913 VariableDeclaration: findType("VariableDeclaration"),
97914 VariableDeclaration_2: findType("VariableDeclaration0"),
97915 WatchEvent: findType("WatchEvent"),
97916 WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
97917 WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
97918 WhereIterable_String: findType("WhereIterable<String>"),
97919 WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
97920 WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
97921 WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
97922 _ArgumentResults: findType("_ArgumentResults0"),
97923 _ArgumentResults_2: findType("_ArgumentResults2"),
97924 _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
97925 _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
97926 _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
97927 _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
97928 _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
97929 _EventRequest_dynamic: findType("_EventRequest<@>"),
97930 _Future_Object: findType("_Future<Object>"),
97931 _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
97932 _Future_String: findType("_Future<String>"),
97933 _Future_bool: findType("_Future<bool>"),
97934 _Future_dynamic: findType("_Future<@>"),
97935 _Future_int: findType("_Future<int>"),
97936 _Future_nullable_Object: findType("_Future<Object?>"),
97937 _Future_void: findType("_Future<~>"),
97938 _Highlight: findType("_Highlight"),
97939 _IdentityHashMap_dynamic_dynamic: findType("_IdentityHashMap<@,@>"),
97940 _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
97941 _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
97942 _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
97943 _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
97944 _LoadedStylesheet: findType("_LoadedStylesheet0"),
97945 _LoadedStylesheet_2: findType("_LoadedStylesheet2"),
97946 _MapEntry: findType("_MapEntry"),
97947 _NodeException: findType("_NodeException"),
97948 _UnmodifiableSet_String: findType("_UnmodifiableSet<String>"),
97949 bool: findType("bool"),
97950 double: findType("double"),
97951 dynamic: findType("@"),
97952 dynamic_Function: findType("@()"),
97953 dynamic_Function_Object: findType("@(Object)"),
97954 dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
97955 int: findType("int"),
97956 legacy_Never: findType("0&*"),
97957 legacy_Object: findType("Object*"),
97958 nullable_AstNode: findType("AstNode?"),
97959 nullable_AstNode_2: findType("AstNode0?"),
97960 nullable_FileSpan: findType("FileSpan?"),
97961 nullable_Future_Null: findType("Future<Null>?"),
97962 nullable_Future_void: findType("Future<~>?"),
97963 nullable_ImporterResult: findType("ImporterResult0?"),
97964 nullable_List_ComplexSelector: findType("List<ComplexSelector>?"),
97965 nullable_List_ComplexSelector_2: findType("List<ComplexSelector0>?"),
97966 nullable_Object: findType("Object?"),
97967 nullable_SourceFile: findType("SourceFile?"),
97968 nullable_SourceSpan: findType("SourceSpan?"),
97969 nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
97970 nullable_String: findType("String?"),
97971 nullable_Stylesheet: findType("Stylesheet?"),
97972 nullable_StylesheetNode: findType("StylesheetNode?"),
97973 nullable_Stylesheet_2: findType("Stylesheet0?"),
97974 nullable_Tuple2_String_String: findType("Tuple2<String,String>?"),
97975 nullable_Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>?"),
97976 nullable_Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>?"),
97977 nullable_Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>?"),
97978 nullable_Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>?"),
97979 nullable_Uri: findType("Uri?"),
97980 nullable_Value: findType("Value?"),
97981 nullable_Value_2: findType("Value0?"),
97982 nullable__ConstructorOptions: findType("_ConstructorOptions?"),
97983 nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
97984 nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
97985 nullable__Highlight: findType("_Highlight?"),
97986 nullable__LoadedStylesheet: findType("_LoadedStylesheet0?"),
97987 nullable__LoadedStylesheet_2: findType("_LoadedStylesheet2?"),
97988 num: findType("num"),
97989 void: findType("~"),
97990 void_Function_Object: findType("~(Object)"),
97991 void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
97992 };
97993 })();
97994 (function constants() {
97995 var makeConstList = hunkHelpers.makeConstList;
97996 B.Interceptor_methods = J.Interceptor.prototype;
97997 B.JSArray_methods = J.JSArray.prototype;
97998 B.JSBool_methods = J.JSBool.prototype;
97999 B.JSInt_methods = J.JSInt.prototype;
98000 B.JSNumber_methods = J.JSNumber.prototype;
98001 B.JSString_methods = J.JSString.prototype;
98002 B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
98003 B.NativeUint32List_methods = A.NativeUint32List.prototype;
98004 B.NativeUint8List_methods = A.NativeUint8List.prototype;
98005 B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
98006 B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
98007 B.AsciiEncoder_127 = new A.AsciiEncoder(127);
98008 B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
98009 B.AtRootQuery_UsS = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
98010 B.AtRootQuery_UsS0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
98011 B.AttributeOperator_4L5 = new A.AttributeOperator("^=");
98012 B.AttributeOperator_4L50 = new A.AttributeOperator0("^=");
98013 B.AttributeOperator_AuK = new A.AttributeOperator("|=");
98014 B.AttributeOperator_AuK0 = new A.AttributeOperator0("|=");
98015 B.AttributeOperator_fz1 = new A.AttributeOperator("~=");
98016 B.AttributeOperator_fz10 = new A.AttributeOperator0("~=");
98017 B.AttributeOperator_gqZ = new A.AttributeOperator("*=");
98018 B.AttributeOperator_gqZ0 = new A.AttributeOperator0("*=");
98019 B.AttributeOperator_mOX = new A.AttributeOperator("$=");
98020 B.AttributeOperator_mOX0 = new A.AttributeOperator0("$=");
98021 B.AttributeOperator_sEs = new A.AttributeOperator("=");
98022 B.AttributeOperator_sEs0 = new A.AttributeOperator0("=");
98023 B.BinaryOperator_1da = new A.BinaryOperator("greater than or equals", ">=", 4);
98024 B.BinaryOperator_1da0 = new A.BinaryOperator0("greater than or equals", ">=", 4);
98025 B.BinaryOperator_2ad = new A.BinaryOperator("modulo", "%", 6);
98026 B.BinaryOperator_2ad0 = new A.BinaryOperator0("modulo", "%", 6);
98027 B.BinaryOperator_33h = new A.BinaryOperator("less than or equals", "<=", 4);
98028 B.BinaryOperator_33h0 = new A.BinaryOperator0("less than or equals", "<=", 4);
98029 B.BinaryOperator_8qt = new A.BinaryOperator("less than", "<", 4);
98030 B.BinaryOperator_8qt0 = new A.BinaryOperator0("less than", "<", 4);
98031 B.BinaryOperator_AcR = new A.BinaryOperator("greater than", ">", 4);
98032 B.BinaryOperator_AcR0 = new A.BinaryOperator("plus", "+", 5);
98033 B.BinaryOperator_AcR1 = new A.BinaryOperator0("greater than", ">", 4);
98034 B.BinaryOperator_AcR2 = new A.BinaryOperator0("plus", "+", 5);
98035 B.BinaryOperator_O1M = new A.BinaryOperator("times", "*", 6);
98036 B.BinaryOperator_O1M0 = new A.BinaryOperator0("times", "*", 6);
98037 B.BinaryOperator_RTB = new A.BinaryOperator("divided by", "/", 6);
98038 B.BinaryOperator_RTB0 = new A.BinaryOperator0("divided by", "/", 6);
98039 B.BinaryOperator_YlX = new A.BinaryOperator("equals", "==", 3);
98040 B.BinaryOperator_YlX0 = new A.BinaryOperator0("equals", "==", 3);
98041 B.BinaryOperator_and_and_2 = new A.BinaryOperator("and", "and", 2);
98042 B.BinaryOperator_and_and_20 = new A.BinaryOperator0("and", "and", 2);
98043 B.BinaryOperator_i5H = new A.BinaryOperator("not equals", "!=", 3);
98044 B.BinaryOperator_i5H0 = new A.BinaryOperator0("not equals", "!=", 3);
98045 B.BinaryOperator_iyO = new A.BinaryOperator("minus", "-", 5);
98046 B.BinaryOperator_iyO0 = new A.BinaryOperator0("minus", "-", 5);
98047 B.BinaryOperator_kjl = new A.BinaryOperator("single equals", "=", 0);
98048 B.BinaryOperator_kjl0 = new A.BinaryOperator0("single equals", "=", 0);
98049 B.BinaryOperator_or_or_1 = new A.BinaryOperator("or", "or", 1);
98050 B.BinaryOperator_or_or_10 = new A.BinaryOperator0("or", "or", 1);
98051 B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
98052 B.C_AsciiCodec = new A.AsciiCodec();
98053 B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
98054 B.C_Base64Encoder = new A.Base64Encoder();
98055 B.C_Base64Codec = new A.Base64Codec();
98056 B.C_DefaultEquality = new A.DefaultEquality();
98057 B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
98058 B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
98059 B.C_EmptyIterator = new A.EmptyIterator();
98060 B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
98061 B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
98062 B.C_IterableEquality = new A.IterableEquality();
98063 B.C_JS_CONST = function getTagFallback(o) {
98064 var s = Object.prototype.toString.call(o);
98065 return s.substring(8, s.length - 1);
98066};
98067 B.C_JS_CONST0 = function() {
98068 var toStringFunction = Object.prototype.toString;
98069 function getTag(o) {
98070 var s = toStringFunction.call(o);
98071 return s.substring(8, s.length - 1);
98072 }
98073 function getUnknownTag(object, tag) {
98074 if (/^HTML[A-Z].*Element$/.test(tag)) {
98075 var name = toStringFunction.call(object);
98076 if (name == "[object Object]") return null;
98077 return "HTMLElement";
98078 }
98079 }
98080 function getUnknownTagGenericBrowser(object, tag) {
98081 if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement";
98082 return getUnknownTag(object, tag);
98083 }
98084 function prototypeForTag(tag) {
98085 if (typeof window == "undefined") return null;
98086 if (typeof window[tag] == "undefined") return null;
98087 var constructor = window[tag];
98088 if (typeof constructor != "function") return null;
98089 return constructor.prototype;
98090 }
98091 function discriminator(tag) { return null; }
98092 var isBrowser = typeof navigator == "object";
98093 return {
98094 getTag: getTag,
98095 getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
98096 prototypeForTag: prototypeForTag,
98097 discriminator: discriminator };
98098};
98099 B.C_JS_CONST6 = function(getTagFallback) {
98100 return function(hooks) {
98101 if (typeof navigator != "object") return hooks;
98102 var ua = navigator.userAgent;
98103 if (ua.indexOf("DumpRenderTree") >= 0) return hooks;
98104 if (ua.indexOf("Chrome") >= 0) {
98105 function confirm(p) {
98106 return typeof window == "object" && window[p] && window[p].name == p;
98107 }
98108 if (confirm("Window") && confirm("HTMLElement")) return hooks;
98109 }
98110 hooks.getTag = getTagFallback;
98111 };
98112};
98113 B.C_JS_CONST1 = function(hooks) {
98114 if (typeof dartExperimentalFixupGetTag != "function") return hooks;
98115 hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
98116};
98117 B.C_JS_CONST2 = function(hooks) {
98118 var getTag = hooks.getTag;
98119 var prototypeForTag = hooks.prototypeForTag;
98120 function getTagFixed(o) {
98121 var tag = getTag(o);
98122 if (tag == "Document") {
98123 if (!!o.xmlVersion) return "!Document";
98124 return "!HTMLDocument";
98125 }
98126 return tag;
98127 }
98128 function prototypeForTagFixed(tag) {
98129 if (tag == "Document") return null;
98130 return prototypeForTag(tag);
98131 }
98132 hooks.getTag = getTagFixed;
98133 hooks.prototypeForTag = prototypeForTagFixed;
98134};
98135 B.C_JS_CONST5 = function(hooks) {
98136 var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
98137 if (userAgent.indexOf("Firefox") == -1) return hooks;
98138 var getTag = hooks.getTag;
98139 var quickMap = {
98140 "BeforeUnloadEvent": "Event",
98141 "DataTransfer": "Clipboard",
98142 "GeoGeolocation": "Geolocation",
98143 "Location": "!Location",
98144 "WorkerMessageEvent": "MessageEvent",
98145 "XMLDocument": "!Document"};
98146 function getTagFirefox(o) {
98147 var tag = getTag(o);
98148 return quickMap[tag] || tag;
98149 }
98150 hooks.getTag = getTagFirefox;
98151};
98152 B.C_JS_CONST4 = function(hooks) {
98153 var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
98154 if (userAgent.indexOf("Trident/") == -1) return hooks;
98155 var getTag = hooks.getTag;
98156 var quickMap = {
98157 "BeforeUnloadEvent": "Event",
98158 "DataTransfer": "Clipboard",
98159 "HTMLDDElement": "HTMLElement",
98160 "HTMLDTElement": "HTMLElement",
98161 "HTMLPhraseElement": "HTMLElement",
98162 "Position": "Geoposition"
98163 };
98164 function getTagIE(o) {
98165 var tag = getTag(o);
98166 var newTag = quickMap[tag];
98167 if (newTag) return newTag;
98168 if (tag == "Object") {
98169 if (window.DataView && (o instanceof window.DataView)) return "DataView";
98170 }
98171 return tag;
98172 }
98173 function prototypeForTagIE(tag) {
98174 var constructor = window[tag];
98175 if (constructor == null) return null;
98176 return constructor.prototype;
98177 }
98178 hooks.getTag = getTagIE;
98179 hooks.prototypeForTag = prototypeForTagIE;
98180};
98181 B.C_JS_CONST3 = function(hooks) { return hooks; }
98182;
98183 B.C_JsonCodec = new A.JsonCodec();
98184 B.C_LineFeed = new A.LineFeed();
98185 B.C_ListEquality0 = new A.ListEquality();
98186 B.C_ListEquality = new A.ListEquality();
98187 B.C_MapEquality = new A.MapEquality();
98188 B.C_OutOfMemoryError = new A.OutOfMemoryError();
98189 B.C_SentinelValue = new A.SentinelValue();
98190 B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
98191 B.C_Utf8Codec = new A.Utf8Codec();
98192 B.C_Utf8Encoder = new A.Utf8Encoder();
98193 B.C__DelayedDone = new A._DelayedDone();
98194 B.C__HasContentVisitor = new A._HasContentVisitor();
98195 B.C__HasContentVisitor0 = new A._HasContentVisitor0();
98196 B.C__JSRandom = new A._JSRandom();
98197 B.C__Required = new A._Required();
98198 B.C__RootZone = new A._RootZone();
98199 B.C__SassNull = new A._SassNull();
98200 B.C__SassNull0 = new A._SassNull0();
98201 B.CalculationOperator_Dih = new A.CalculationOperator("times", "*", 2);
98202 B.CalculationOperator_Dih0 = new A.CalculationOperator0("times", "*", 2);
98203 B.CalculationOperator_Iem = new A.CalculationOperator("plus", "+", 1);
98204 B.CalculationOperator_Iem0 = new A.CalculationOperator0("plus", "+", 1);
98205 B.CalculationOperator_jB6 = new A.CalculationOperator("divided by", "/", 2);
98206 B.CalculationOperator_jB60 = new A.CalculationOperator0("divided by", "/", 2);
98207 B.CalculationOperator_uti = new A.CalculationOperator("minus", "-", 1);
98208 B.CalculationOperator_uti0 = new A.CalculationOperator0("minus", "-", 1);
98209 B.ChangeType_add = new A.ChangeType("add");
98210 B.ChangeType_modify = new A.ChangeType("modify");
98211 B.ChangeType_remove = new A.ChangeType("remove");
98212 B.Combinator_CzM = new A.Combinator("~");
98213 B.Combinator_CzM0 = new A.Combinator0("~");
98214 B.Combinator_sgq = new A.Combinator(">");
98215 B.Combinator_sgq0 = new A.Combinator0(">");
98216 B.Combinator_uzg = new A.Combinator("+");
98217 B.Combinator_uzg0 = new A.Combinator0("+");
98218 B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
98219 B.Map_empty11 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue>"));
98220 B.Configuration_Map_empty = new A.Configuration(B.Map_empty11);
98221 B.Map_empty12 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue0>"));
98222 B.Configuration_Map_empty0 = new A.Configuration0(B.Map_empty12);
98223 B.Duration_0 = new A.Duration(0);
98224 B.ExtendMode_allTargets = new A.ExtendMode("allTargets");
98225 B.ExtendMode_allTargets0 = new A.ExtendMode0("allTargets");
98226 B.ExtendMode_normal = new A.ExtendMode("normal");
98227 B.ExtendMode_normal0 = new A.ExtendMode0("normal");
98228 B.ExtendMode_replace = new A.ExtendMode("replace");
98229 B.ExtendMode_replace0 = new A.ExtendMode0("replace");
98230 B.JsonEncoder_null = new A.JsonEncoder(null);
98231 B.LineFeed_D6m = new A.LineFeed0("lf", "\n");
98232 B.LineFeed_Mss = new A.LineFeed0("crlf", "\r\n");
98233 B.LineFeed_a1Y = new A.LineFeed0("lfcr", "\n\r");
98234 B.LineFeed_kMT = new A.LineFeed0("cr", "\r");
98235 B.ListSeparator_1gm = new A.ListSeparator("slash", "/");
98236 B.ListSeparator_1gm0 = new A.ListSeparator0("slash", "/");
98237 B.ListSeparator_kWM = new A.ListSeparator("comma", ",");
98238 B.ListSeparator_kWM0 = new A.ListSeparator0("comma", ",");
98239 B.ListSeparator_undecided_null = new A.ListSeparator("undecided", null);
98240 B.ListSeparator_undecided_null0 = new A.ListSeparator0("undecided", null);
98241 B.ListSeparator_woc = new A.ListSeparator("space", " ");
98242 B.ListSeparator_woc0 = new A.ListSeparator0("space", " ");
98243 B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
98244 B.List_Opy = A._setArrayType(makeConstList(["em", "ex", "ch", "rem", "vw", "vh", "vmin", "vmax", "cm", "mm", "q", "in", "pt", "pc", "px"]), type$.JSArray_String);
98245 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);
98246 B.Set_Opyzl = new A._UnmodifiableSet(B.Map_Op0VJ, type$._UnmodifiableSet_String);
98247 B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
98248 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);
98249 B.Set_EGJh = new A._UnmodifiableSet(B.Map_EGso3, type$._UnmodifiableSet_String);
98250 B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
98251 B.Map_maDht = new A.ConstantStringMap(2, {s: null, ms: null}, B.List_s_ms, type$.ConstantStringMap_String_Null);
98252 B.Set_maSD = new A._UnmodifiableSet(B.Map_maDht, type$._UnmodifiableSet_String);
98253 B.List_hz_khz = A._setArrayType(makeConstList(["hz", "khz"]), type$.JSArray_String);
98254 B.Map_kfoGx = new A.ConstantStringMap(2, {hz: null, khz: null}, B.List_hz_khz, type$.ConstantStringMap_String_Null);
98255 B.Set_kfn1 = new A._UnmodifiableSet(B.Map_kfoGx, type$._UnmodifiableSet_String);
98256 B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
98257 B.Map_H20 = new A.ConstantStringMap(3, {dpi: null, dpcm: null, dppx: null}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_Null);
98258 B.Set_H2nB4 = new A._UnmodifiableSet(B.Map_H20, type$._UnmodifiableSet_String);
98259 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>>"));
98260 B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98261 B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
98262 B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
98263 B.List_empty18 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
98264 B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
98265 B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
98266 B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
98267 B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
98268 B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
98269 B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
98270 B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
98271 B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
98272 B.List_empty7 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
98273 B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
98274 B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
98275 B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
98276 B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_Importer);
98277 B.List_empty3 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module<0&>>"));
98278 B.List_empty13 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
98279 B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
98280 B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
98281 B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
98282 B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_int);
98283 B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
98284 B.List_gRj = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98285 B.List_nxB = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98286 B.List_qFt = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int);
98287 B.List_qNA = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int);
98288 B.List_qg40 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98289 B.List_qg4 = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
98290 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);
98291 B.List_aha = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
98292 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);
98293 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);
98294 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);
98295 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);
98296 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);
98297 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);
98298 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);
98299 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);
98300 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);
98301 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);
98302 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);
98303 B.Map_ma2bi = new A.ConstantStringMap(2, {s: 1, ms: 0.001}, B.List_s_ms, type$.ConstantStringMap_String_num);
98304 B.Map_maDht0 = new A.ConstantStringMap(2, {s: 1000, ms: 1}, B.List_s_ms, type$.ConstantStringMap_String_num);
98305 B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
98306 B.Map_0IpUe = new A.ConstantStringMap(2, {Hz: 1, kHz: 1000}, B.List_Hz_kHz, type$.ConstantStringMap_String_num);
98307 B.Map_0IVs0 = new A.ConstantStringMap(2, {Hz: 0.001, kHz: 1}, B.List_Hz_kHz, type$.ConstantStringMap_String_num);
98308 B.Map_H2OWd = new A.ConstantStringMap(3, {dpi: 1, dpcm: 2.54, dppx: 96}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
98309 B.Map_H24em = new A.ConstantStringMap(3, {dpi: 0.39370078740157477, dpcm: 1, dppx: 37.79527559055118}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
98310 B.Map_H25Om = new A.ConstantStringMap(3, {dpi: 0.010416666666666666, dpcm: 0.026458333333333334, dppx: 1}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_num);
98311 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>>"));
98312 B.List_U8g = A._setArrayType(makeConstList(["length", "angle", "time", "frequency", "pixel density"]), type$.JSArray_String);
98313 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>>"));
98314 B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode>"));
98315 B.Map_empty7 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode0>"));
98316 B.Map_empty2 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression>"));
98317 B.Map_empty9 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression0>"));
98318 B.Map_empty3 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<AsyncCallable>>"));
98319 B.Map_empty = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<Callable>>"));
98320 B.Map_empty10 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<AsyncCallable0>>"));
98321 B.Map_empty6 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<Callable0>>"));
98322 B.Map_empty1 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value>"));
98323 B.Map_empty8 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value0>"));
98324 B.List_empty22 = A._setArrayType(makeConstList([]), A.findType("JSArray<Symbol0>"));
98325 B.Map_empty4 = new A.ConstantStringMap(0, {}, B.List_empty22, A.findType("ConstantStringMap<Symbol0,@>"));
98326 B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_nullable_String);
98327 B.Map_empty5 = new A.ConstantStringMap(0, {}, B.List_empty23, A.findType("ConstantStringMap<String?,String>"));
98328 B.OptionType_YwU = new A.OptionType("OptionType.single");
98329 B.OptionType_nMZ = new A.OptionType("OptionType.flag");
98330 B.OptionType_qyr = new A.OptionType("OptionType.multiple");
98331 B.OutputStyle_compressed = new A.OutputStyle("compressed");
98332 B.OutputStyle_compressed0 = new A.OutputStyle0("compressed");
98333 B.OutputStyle_expanded = new A.OutputStyle("expanded");
98334 B.OutputStyle_expanded0 = new A.OutputStyle0("expanded");
98335 B.SassBoolean_false = new A.SassBoolean(false);
98336 B.SassBoolean_false0 = new A.SassBoolean0(false);
98337 B.SassBoolean_true = new A.SassBoolean(true);
98338 B.SassBoolean_true0 = new A.SassBoolean0(true);
98339 B.SassList_0 = new A.SassList0(B.List_empty15, B.ListSeparator_undecided_null0, false);
98340 B.SassList_yfz = new A.SassList(B.List_empty5, B.ListSeparator_kWM, false);
98341 B.SassList_yfz0 = new A.SassList0(B.List_empty15, B.ListSeparator_kWM0, false);
98342 B.Map_empty13 = new A.ConstantStringMap(0, {}, B.List_empty5, A.findType("ConstantStringMap<Value,Value>"));
98343 B.SassMap_Map_empty = new A.SassMap(B.Map_empty13);
98344 B.Map_empty14 = new A.ConstantStringMap(0, {}, B.List_empty15, A.findType("ConstantStringMap<Value0,Value0>"));
98345 B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty14);
98346 B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable);
98347 B.Map_empty15 = new A.ConstantStringMap(0, {}, B.List_empty24, A.findType("ConstantStringMap<Module<AsyncCallable>,Null>"));
98348 B.Set_empty0 = new A._UnmodifiableSet(B.Map_empty15, A.findType("_UnmodifiableSet<Module<AsyncCallable>>"));
98349 B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable);
98350 B.Map_empty16 = new A.ConstantStringMap(0, {}, B.List_empty25, A.findType("ConstantStringMap<Module<Callable>,Null>"));
98351 B.Set_empty = new A._UnmodifiableSet(B.Map_empty16, A.findType("_UnmodifiableSet<Module<Callable>>"));
98352 B.List_empty26 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable_2);
98353 B.Map_empty17 = new A.ConstantStringMap(0, {}, B.List_empty26, A.findType("ConstantStringMap<Module0<AsyncCallable0>,Null>"));
98354 B.Set_empty3 = new A._UnmodifiableSet(B.Map_empty17, A.findType("_UnmodifiableSet<Module0<AsyncCallable0>>"));
98355 B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable_2);
98356 B.Map_empty18 = new A.ConstantStringMap(0, {}, B.List_empty27, A.findType("ConstantStringMap<Module0<Callable0>,Null>"));
98357 B.Set_empty2 = new A._UnmodifiableSet(B.Map_empty18, A.findType("_UnmodifiableSet<Module0<Callable0>>"));
98358 B.List_empty28 = A._setArrayType(makeConstList([]), type$.JSArray_StylesheetNode);
98359 B.Map_empty19 = new A.ConstantStringMap(0, {}, B.List_empty28, A.findType("ConstantStringMap<StylesheetNode,Null>"));
98360 B.Set_empty1 = new A._UnmodifiableSet(B.Map_empty19, A.findType("_UnmodifiableSet<StylesheetNode>"));
98361 B.StderrLogger_false = new A.StderrLogger(false);
98362 B.StderrLogger_false0 = new A.StderrLogger0(false);
98363 B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
98364 B.Symbol__inImportRule = new A.Symbol("_inImportRule");
98365 B.Symbol_call = new A.Symbol("call");
98366 B.Syntax_CSS = new A.Syntax("CSS");
98367 B.Syntax_CSS0 = new A.Syntax0("CSS");
98368 B.Syntax_SCSS = new A.Syntax("SCSS");
98369 B.Syntax_SCSS0 = new A.Syntax0("SCSS");
98370 B.Syntax_Sass = new A.Syntax("Sass");
98371 B.Syntax_Sass0 = new A.Syntax0("Sass");
98372 B.List_empty29 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue<SelectorList>>"));
98373 B.Map_empty20 = new A.ConstantStringMap(0, {}, B.List_empty29, A.findType("ConstantStringMap<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>"));
98374 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);
98375 B.List_empty30 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue0<SelectorList0>>"));
98376 B.Map_empty21 = new A.ConstantStringMap(0, {}, B.List_empty30, A.findType("ConstantStringMap<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>"));
98377 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);
98378 B.Type_Null_Yyn = A.typeLiteral("Null");
98379 B.Type_Object_xQ6 = A.typeLiteral("Object");
98380 B.UnaryOperator_U4G = new A.UnaryOperator("minus", "-");
98381 B.UnaryOperator_U4G0 = new A.UnaryOperator0("minus", "-");
98382 B.UnaryOperator_j2w = new A.UnaryOperator("plus", "+");
98383 B.UnaryOperator_j2w0 = new A.UnaryOperator0("plus", "+");
98384 B.UnaryOperator_not_not = new A.UnaryOperator("not", "not");
98385 B.UnaryOperator_not_not0 = new A.UnaryOperator0("not", "not");
98386 B.UnaryOperator_zDx = new A.UnaryOperator("divide", "/");
98387 B.UnaryOperator_zDx0 = new A.UnaryOperator0("divide", "/");
98388 B.Utf8Decoder_false = new A.Utf8Decoder(false);
98389 B._IterationMarker_null_2 = new A._IterationMarker(null, 2);
98390 B._PathDirection_8Gl = new A._PathDirection("at root");
98391 B._PathDirection_988 = new A._PathDirection("below root");
98392 B._PathDirection_FIw = new A._PathDirection("reaches root");
98393 B._PathDirection_ZGD = new A._PathDirection("above root");
98394 B._PathRelation_different = new A._PathRelation("different");
98395 B._PathRelation_equal = new A._PathRelation("equal");
98396 B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
98397 B._PathRelation_within = new A._PathRelation("within");
98398 B._RegisterBinaryZoneFunction_kGu = new A._RegisterBinaryZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
98399 B._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback = new A._RegisterNullaryZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
98400 B._RegisterUnaryZoneFunction_Bqo = new A._RegisterUnaryZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
98401 B._RunBinaryZoneFunction__RootZone__rootRunBinary = new A._RunBinaryZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
98402 B._RunNullaryZoneFunction__RootZone__rootRun = new A._RunNullaryZoneFunction(B.C__RootZone, A.async___rootRun$closure());
98403 B._RunUnaryZoneFunction__RootZone__rootRunUnary = new A._RunUnaryZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
98404 B._SingletonCssMediaQueryMergeResult_empty = new A._SingletonCssMediaQueryMergeResult("empty");
98405 B._SingletonCssMediaQueryMergeResult_empty0 = new A._SingletonCssMediaQueryMergeResult0("empty");
98406 B._SingletonCssMediaQueryMergeResult_unrepresentable = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
98407 B._SingletonCssMediaQueryMergeResult_unrepresentable0 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
98408 B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
98409 B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
98410 B._StreamGroupState_listening = new A._StreamGroupState("listening");
98411 B._StreamGroupState_paused = new A._StreamGroupState("paused");
98412 B._StringStackTrace_3uE = new A._StringStackTrace("");
98413 B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
98414 B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
98415 B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
98416 B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
98417 B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
98418 B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
98419 B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
98420 B._ZoneSpecification_ALf = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
98421 })();
98422 (function staticFields() {
98423 $._JS_INTEROP_INTERCEPTOR_TAG = null;
98424 $.printToZone = null;
98425 $.BoundClosure__receiverFieldNameCache = null;
98426 $.BoundClosure__interceptorFieldNameCache = null;
98427 $.getTagFunction = null;
98428 $.alternateTagFunction = null;
98429 $.prototypeForTagFunction = null;
98430 $.dispatchRecordsForInstanceTags = null;
98431 $.interceptorsForUncacheableTags = null;
98432 $.initNativeDispatchFlag = null;
98433 $._nextCallback = null;
98434 $._lastCallback = null;
98435 $._lastPriorityCallback = null;
98436 $._isInCallbackLoop = false;
98437 $.Zone__current = B.C__RootZone;
98438 $._RootZone__rootDelegate = null;
98439 $._toStringVisiting = A._setArrayType([], type$.JSArray_Object);
98440 $._fs = null;
98441 $._currentUriBase = null;
98442 $._current = null;
98443 $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "any", "nth-child", "nth-last-child"], type$.String);
98444 $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
98445 $._realCaseCache = function() {
98446 var t1 = type$.String;
98447 return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
98448 }();
98449 $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "current", "any", "has", "host", "host-context"], type$.String);
98450 $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
98451 $._glyphs = B.C_UnicodeGlyphSet;
98452 $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "any", "nth-child", "nth-last-child"], type$.String);
98453 $._realCaseCache0 = function() {
98454 var t1 = type$.String;
98455 return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
98456 }();
98457 $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
98458 $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "current", "any", "has", "host", "host-context"], type$.String);
98459 $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
98460 })();
98461 (function lazyInitializers() {
98462 var _lazyFinal = hunkHelpers.lazyFinal,
98463 _lazy = hunkHelpers.lazy;
98464 _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
98465 _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<Null>")));
98466 _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
98467 toString: function() {
98468 return "$receiver$";
98469 }
98470 })));
98471 _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
98472 toString: function() {
98473 return "$receiver$";
98474 }
98475 })));
98476 _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
98477 _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
98478 var $argumentsExpr$ = "$arguments$";
98479 try {
98480 null.$method$($argumentsExpr$);
98481 } catch (e) {
98482 return e.message;
98483 }
98484 }()));
98485 _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
98486 _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
98487 var $argumentsExpr$ = "$arguments$";
98488 try {
98489 (void 0).$method$($argumentsExpr$);
98490 } catch (e) {
98491 return e.message;
98492 }
98493 }()));
98494 _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
98495 _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
98496 try {
98497 null.$method$;
98498 } catch (e) {
98499 return e.message;
98500 }
98501 }()));
98502 _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
98503 _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
98504 try {
98505 (void 0).$method$;
98506 } catch (e) {
98507 return e.message;
98508 }
98509 }()));
98510 _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
98511 _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future<Null>")._as($.$get$nullFuture()));
98512 _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
98513 _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
98514 var t1 = type$.dynamic;
98515 return A.HashMap_HashMap(t1, t1);
98516 });
98517 _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", () => new A.Utf8Decoder__decoder_closure().call$0());
98518 _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", () => new A.Utf8Decoder__decoderNonfatal_closure().call$0());
98519 _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))));
98520 _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32");
98521 _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
98522 _lazy($, "_hasErrorStackProperty", "$get$_hasErrorStackProperty", () => new Error().stack != void 0);
98523 _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6));
98524 _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables());
98525 _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
98526 _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
98527 _lazyFinal($, "readline", "$get$readline", () => self.readline);
98528 _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
98529 _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
98530 _lazyFinal($, "context", "$get$context", () => new A.Context(type$.InternalStyle._as($.$get$Style_platform()), null));
98531 _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
98532 _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)));
98533 _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)));
98534 _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
98535 _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ArgumentDeclaration_ArgumentDeclaration$parse(string$.x40funct, null));
98536 _lazyFinal($, "colorsByName", "$get$colorsByName", () => {
98537 var _null = null;
98538 return A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb(154, 205, 50, _null, _null), "yellow", A.SassColor$rgb(255, 255, 0, _null, _null), "whitesmoke", A.SassColor$rgb(245, 245, 245, _null, _null), "white", A.SassColor$rgb(255, 255, 255, _null, _null), "wheat", A.SassColor$rgb(245, 222, 179, _null, _null), "violet", A.SassColor$rgb(238, 130, 238, _null, _null), "turquoise", A.SassColor$rgb(64, 224, 208, _null, _null), "transparent", A.SassColor$rgb(0, 0, 0, 0, _null), "tomato", A.SassColor$rgb(255, 99, 71, _null, _null), "thistle", A.SassColor$rgb(216, 191, 216, _null, _null), "teal", A.SassColor$rgb(0, 128, 128, _null, _null), "tan", A.SassColor$rgb(210, 180, 140, _null, _null), "steelblue", A.SassColor$rgb(70, 130, 180, _null, _null), "springgreen", A.SassColor$rgb(0, 255, 127, _null, _null), "snow", A.SassColor$rgb(255, 250, 250, _null, _null), "slategrey", A.SassColor$rgb(112, 128, 144, _null, _null), "slategray", A.SassColor$rgb(112, 128, 144, _null, _null), "slateblue", A.SassColor$rgb(106, 90, 205, _null, _null), "skyblue", A.SassColor$rgb(135, 206, 235, _null, _null), "silver", A.SassColor$rgb(192, 192, 192, _null, _null), "sienna", A.SassColor$rgb(160, 82, 45, _null, _null), "seashell", A.SassColor$rgb(255, 245, 238, _null, _null), "seagreen", A.SassColor$rgb(46, 139, 87, _null, _null), "sandybrown", A.SassColor$rgb(244, 164, 96, _null, _null), "salmon", A.SassColor$rgb(250, 128, 114, _null, _null), "saddlebrown", A.SassColor$rgb(139, 69, 19, _null, _null), "royalblue", A.SassColor$rgb(65, 105, 225, _null, _null), "rosybrown", A.SassColor$rgb(188, 143, 143, _null, _null), "red", A.SassColor$rgb(255, 0, 0, _null, _null), "rebeccapurple", A.SassColor$rgb(102, 51, 153, _null, _null), "purple", A.SassColor$rgb(128, 0, 128, _null, _null), "powderblue", A.SassColor$rgb(176, 224, 230, _null, _null), "plum", A.SassColor$rgb(221, 160, 221, _null, _null), "pink", A.SassColor$rgb(255, 192, 203, _null, _null), "peru", A.SassColor$rgb(205, 133, 63, _null, _null), "peachpuff", A.SassColor$rgb(255, 218, 185, _null, _null), "papayawhip", A.SassColor$rgb(255, 239, 213, _null, _null), "palevioletred", A.SassColor$rgb(219, 112, 147, _null, _null), "paleturquoise", A.SassColor$rgb(175, 238, 238, _null, _null), "palegreen", A.SassColor$rgb(152, 251, 152, _null, _null), "palegoldenrod", A.SassColor$rgb(238, 232, 170, _null, _null), "orchid", A.SassColor$rgb(218, 112, 214, _null, _null), "orangered", A.SassColor$rgb(255, 69, 0, _null, _null), "orange", A.SassColor$rgb(255, 165, 0, _null, _null), "olivedrab", A.SassColor$rgb(107, 142, 35, _null, _null), "olive", A.SassColor$rgb(128, 128, 0, _null, _null), "oldlace", A.SassColor$rgb(253, 245, 230, _null, _null), "navy", A.SassColor$rgb(0, 0, 128, _null, _null), "navajowhite", A.SassColor$rgb(255, 222, 173, _null, _null), "moccasin", A.SassColor$rgb(255, 228, 181, _null, _null), "mistyrose", A.SassColor$rgb(255, 228, 225, _null, _null), "mintcream", A.SassColor$rgb(245, 255, 250, _null, _null), "midnightblue", A.SassColor$rgb(25, 25, 112, _null, _null), "mediumvioletred", A.SassColor$rgb(199, 21, 133, _null, _null), "mediumturquoise", A.SassColor$rgb(72, 209, 204, _null, _null), "mediumspringgreen", A.SassColor$rgb(0, 250, 154, _null, _null), "mediumslateblue", A.SassColor$rgb(123, 104, 238, _null, _null), "mediumseagreen", A.SassColor$rgb(60, 179, 113, _null, _null), "mediumpurple", A.SassColor$rgb(147, 112, 219, _null, _null), "mediumorchid", A.SassColor$rgb(186, 85, 211, _null, _null), "mediumblue", A.SassColor$rgb(0, 0, 205, _null, _null), "mediumaquamarine", A.SassColor$rgb(102, 205, 170, _null, _null), "maroon", A.SassColor$rgb(128, 0, 0, _null, _null), "magenta", A.SassColor$rgb(255, 0, 255, _null, _null), "linen", A.SassColor$rgb(250, 240, 230, _null, _null), "limegreen", A.SassColor$rgb(50, 205, 50, _null, _null), "lime", A.SassColor$rgb(0, 255, 0, _null, _null), "lightyellow", A.SassColor$rgb(255, 255, 224, _null, _null), "lightsteelblue", A.SassColor$rgb(176, 196, 222, _null, _null), "lightslategrey", A.SassColor$rgb(119, 136, 153, _null, _null), "lightslategray", A.SassColor$rgb(119, 136, 153, _null, _null), "lightskyblue", A.SassColor$rgb(135, 206, 250, _null, _null), "lightseagreen", A.SassColor$rgb(32, 178, 170, _null, _null), "lightsalmon", A.SassColor$rgb(255, 160, 122, _null, _null), "lightpink", A.SassColor$rgb(255, 182, 193, _null, _null), "lightgrey", A.SassColor$rgb(211, 211, 211, _null, _null), "lightgreen", A.SassColor$rgb(144, 238, 144, _null, _null), "lightgray", A.SassColor$rgb(211, 211, 211, _null, _null), "lightgoldenrodyellow", A.SassColor$rgb(250, 250, 210, _null, _null), "lightcyan", A.SassColor$rgb(224, 255, 255, _null, _null), "lightcoral", A.SassColor$rgb(240, 128, 128, _null, _null), "lightblue", A.SassColor$rgb(173, 216, 230, _null, _null), "lemonchiffon", A.SassColor$rgb(255, 250, 205, _null, _null), "lawngreen", A.SassColor$rgb(124, 252, 0, _null, _null), "lavenderblush", A.SassColor$rgb(255, 240, 245, _null, _null), "lavender", A.SassColor$rgb(230, 230, 250, _null, _null), "khaki", A.SassColor$rgb(240, 230, 140, _null, _null), "ivory", A.SassColor$rgb(255, 255, 240, _null, _null), "indigo", A.SassColor$rgb(75, 0, 130, _null, _null), "indianred", A.SassColor$rgb(205, 92, 92, _null, _null), "hotpink", A.SassColor$rgb(255, 105, 180, _null, _null), "honeydew", A.SassColor$rgb(240, 255, 240, _null, _null), "grey", A.SassColor$rgb(128, 128, 128, _null, _null), "greenyellow", A.SassColor$rgb(173, 255, 47, _null, _null), "green", A.SassColor$rgb(0, 128, 0, _null, _null), "gray", A.SassColor$rgb(128, 128, 128, _null, _null), "goldenrod", A.SassColor$rgb(218, 165, 32, _null, _null), "gold", A.SassColor$rgb(255, 215, 0, _null, _null), "ghostwhite", A.SassColor$rgb(248, 248, 255, _null, _null), "gainsboro", A.SassColor$rgb(220, 220, 220, _null, _null), "fuchsia", A.SassColor$rgb(255, 0, 255, _null, _null), "forestgreen", A.SassColor$rgb(34, 139, 34, _null, _null), "floralwhite", A.SassColor$rgb(255, 250, 240, _null, _null), "firebrick", A.SassColor$rgb(178, 34, 34, _null, _null), "dodgerblue", A.SassColor$rgb(30, 144, 255, _null, _null), "dimgrey", A.SassColor$rgb(105, 105, 105, _null, _null), "dimgray", A.SassColor$rgb(105, 105, 105, _null, _null), "deepskyblue", A.SassColor$rgb(0, 191, 255, _null, _null), "deeppink", A.SassColor$rgb(255, 20, 147, _null, _null), "darkviolet", A.SassColor$rgb(148, 0, 211, _null, _null), "darkturquoise", A.SassColor$rgb(0, 206, 209, _null, _null), "darkslategrey", A.SassColor$rgb(47, 79, 79, _null, _null), "darkslategray", A.SassColor$rgb(47, 79, 79, _null, _null), "darkslateblue", A.SassColor$rgb(72, 61, 139, _null, _null), "darkseagreen", A.SassColor$rgb(143, 188, 143, _null, _null), "darksalmon", A.SassColor$rgb(233, 150, 122, _null, _null), "darkred", A.SassColor$rgb(139, 0, 0, _null, _null), "darkorchid", A.SassColor$rgb(153, 50, 204, _null, _null), "darkorange", A.SassColor$rgb(255, 140, 0, _null, _null), "darkolivegreen", A.SassColor$rgb(85, 107, 47, _null, _null), "darkmagenta", A.SassColor$rgb(139, 0, 139, _null, _null), "darkkhaki", A.SassColor$rgb(189, 183, 107, _null, _null), "darkgrey", A.SassColor$rgb(169, 169, 169, _null, _null), "darkgreen", A.SassColor$rgb(0, 100, 0, _null, _null), "darkgray", A.SassColor$rgb(169, 169, 169, _null, _null), "darkgoldenrod", A.SassColor$rgb(184, 134, 11, _null, _null), "darkcyan", A.SassColor$rgb(0, 139, 139, _null, _null), "darkblue", A.SassColor$rgb(0, 0, 139, _null, _null), "cyan", A.SassColor$rgb(0, 255, 255, _null, _null), "crimson", A.SassColor$rgb(220, 20, 60, _null, _null), "cornsilk", A.SassColor$rgb(255, 248, 220, _null, _null), "cornflowerblue", A.SassColor$rgb(100, 149, 237, _null, _null), "coral", A.SassColor$rgb(255, 127, 80, _null, _null), "chocolate", A.SassColor$rgb(210, 105, 30, _null, _null), "chartreuse", A.SassColor$rgb(127, 255, 0, _null, _null), "cadetblue", A.SassColor$rgb(95, 158, 160, _null, _null), "burlywood", A.SassColor$rgb(222, 184, 135, _null, _null), "brown", A.SassColor$rgb(165, 42, 42, _null, _null), "blueviolet", A.SassColor$rgb(138, 43, 226, _null, _null), "blue", A.SassColor$rgb(0, 0, 255, _null, _null), "blanchedalmond", A.SassColor$rgb(255, 235, 205, _null, _null), "black", A.SassColor$rgb(0, 0, 0, _null, _null), "bisque", A.SassColor$rgb(255, 228, 196, _null, _null), "beige", A.SassColor$rgb(245, 245, 220, _null, _null), "azure", A.SassColor$rgb(240, 255, 255, _null, _null), "aquamarine", A.SassColor$rgb(127, 255, 212, _null, _null), "aqua", A.SassColor$rgb(0, 255, 255, _null, _null), "antiquewhite", A.SassColor$rgb(250, 235, 215, _null, _null), "aliceblue", A.SassColor$rgb(240, 248, 255, _null, _null)], type$.String, type$.SassColor);
98539 });
98540 _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
98541 var t2, t3,
98542 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor, type$.String);
98543 for (t2 = $.$get$colorsByName(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
98544 t3 = t2.get$current(t2);
98545 t1.$indexSet(0, t3.value, t3.key);
98546 }
98547 return t1;
98548 });
98549 _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
98550 _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
98551 _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
98552 var t1 = type$.BuiltInCallable,
98553 t2 = A.List_List$of($.$get$global0(), true, t1);
98554 B.JSArray_methods.addAll$1(t2, $.$get$global1());
98555 B.JSArray_methods.addAll$1(t2, $.$get$global2());
98556 B.JSArray_methods.addAll$1(t2, $.$get$global3());
98557 B.JSArray_methods.addAll$1(t2, $.$get$global4());
98558 B.JSArray_methods.addAll$1(t2, $.$get$global5());
98559 B.JSArray_methods.addAll$1(t2, $.$get$global());
98560 t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
98561 return A.UnmodifiableListView$(t2, t1);
98562 });
98563 _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));
98564 _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
98565 _lazyFinal($, "global", "$get$global0", () => {
98566 var _s27_ = "$red, $green, $blue, $alpha",
98567 _s19_ = "$red, $green, $blue",
98568 _s37_ = "$hue, $saturation, $lightness, $alpha",
98569 _s29_ = "$hue, $saturation, $lightness",
98570 _s17_ = "$hue, $saturation",
98571 _s15_ = "$color, $amount",
98572 t1 = type$.String,
98573 t2 = type$.Value_Function_List_Value;
98574 return A.UnmodifiableListView$(A._setArrayType([$.$get$_red(), $.$get$_green(), $.$get$_blue(), $.$get$_mix(), A.BuiltInCallable$overloadedFunction("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure(), _s19_, new A.global_closure0(), "$color, $alpha", new A.global_closure1(), "$channels", new A.global_closure2()], t1, t2)), A.BuiltInCallable$overloadedFunction("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure3(), _s19_, new A.global_closure4(), "$color, $alpha", new A.global_closure5(), "$channels", new A.global_closure6()], t1, t2)), A._function4("invert", "$color, $weight: 100%", new A.global_closure7()), $.$get$_hue(), $.$get$_saturation(), $.$get$_lightness(), $.$get$_complement(), A.BuiltInCallable$overloadedFunction("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure8(), _s29_, new A.global_closure9(), _s17_, new A.global_closure10(), "$channels", new A.global_closure11()], t1, t2)), A.BuiltInCallable$overloadedFunction("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure12(), _s29_, new A.global_closure13(), _s17_, new A.global_closure14(), "$channels", new A.global_closure15()], t1, t2)), A._function4("grayscale", "$color", new A.global_closure16()), A._function4("adjust-hue", "$color, $degrees", new A.global_closure17()), A._function4("lighten", _s15_, new A.global_closure18()), A._function4("darken", _s15_, new A.global_closure19()), A.BuiltInCallable$overloadedFunction("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure20(), "$color, $amount", new A.global_closure21()], t1, t2)), A._function4("desaturate", _s15_, new A.global_closure22()), A._function4("opacify", _s15_, A.color___opacify$closure()), A._function4("fade-in", _s15_, A.color___opacify$closure()), A._function4("transparentize", _s15_, A.color___transparentize$closure()), A._function4("fade-out", _s15_, A.color___transparentize$closure()), A.BuiltInCallable$overloadedFunction("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure23(), "$args...", new A.global_closure24()], t1, t2)), A._function4("opacity", "$color", new A.global_closure25()), $.$get$_ieHexStr(), $.$get$_adjust().withName$1("adjust-color"), $.$get$_scale().withName$1("scale-color"), $.$get$_change().withName$1("change-color")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
98575 });
98576 _lazyFinal($, "module", "$get$module", () => {
98577 var _s9_ = "lightness",
98578 _s10_ = "saturation",
98579 _s6_ = "$color", _s5_ = "alpha",
98580 t1 = type$.String,
98581 t2 = type$.Value_Function_List_Value;
98582 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);
98583 });
98584 _lazyFinal($, "_red", "$get$_red", () => A._function4("red", "$color", new A._red_closure()));
98585 _lazyFinal($, "_green", "$get$_green", () => A._function4("green", "$color", new A._green_closure()));
98586 _lazyFinal($, "_blue", "$get$_blue", () => A._function4("blue", "$color", new A._blue_closure()));
98587 _lazyFinal($, "_mix", "$get$_mix", () => A._function4("mix", "$color1, $color2, $weight: 50%", new A._mix_closure()));
98588 _lazyFinal($, "_hue", "$get$_hue", () => A._function4("hue", "$color", new A._hue_closure()));
98589 _lazyFinal($, "_saturation", "$get$_saturation", () => A._function4("saturation", "$color", new A._saturation_closure()));
98590 _lazyFinal($, "_lightness", "$get$_lightness", () => A._function4("lightness", "$color", new A._lightness_closure()));
98591 _lazyFinal($, "_complement", "$get$_complement", () => A._function4("complement", "$color", new A._complement_closure()));
98592 _lazyFinal($, "_adjust", "$get$_adjust", () => A._function4("adjust", "$color, $kwargs...", new A._adjust_closure()));
98593 _lazyFinal($, "_scale", "$get$_scale", () => A._function4("scale", "$color, $kwargs...", new A._scale_closure()));
98594 _lazyFinal($, "_change", "$get$_change", () => A._function4("change", "$color, $kwargs...", new A._change_closure()));
98595 _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function4("ie-hex-str", "$color", new A._ieHexStr_closure()));
98596 _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));
98597 _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));
98598 _lazyFinal($, "_length", "$get$_length0", () => A._function3("length", "$list", new A._length_closure0()));
98599 _lazyFinal($, "_nth", "$get$_nth", () => A._function3("nth", "$list, $n", new A._nth_closure()));
98600 _lazyFinal($, "_setNth", "$get$_setNth", () => A._function3("set-nth", "$list, $n, $value", new A._setNth_closure()));
98601 _lazyFinal($, "_join", "$get$_join", () => A._function3("join", string$.x24list1, new A._join_closure()));
98602 _lazyFinal($, "_append", "$get$_append0", () => A._function3("append", "$list, $val, $separator: auto", new A._append_closure0()));
98603 _lazyFinal($, "_zip", "$get$_zip", () => A._function3("zip", "$lists...", new A._zip_closure()));
98604 _lazyFinal($, "_index", "$get$_index0", () => A._function3("index", "$list, $value", new A._index_closure0()));
98605 _lazyFinal($, "_separator", "$get$_separator", () => A._function3("separator", "$list", new A._separator_closure()));
98606 _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function3("is-bracketed", "$list", new A._isBracketed_closure()));
98607 _lazyFinal($, "_slash", "$get$_slash", () => A._function3("slash", "$elements...", new A._slash_closure()));
98608 _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));
98609 _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));
98610 _lazyFinal($, "_get", "$get$_get", () => A._function2("get", "$map, $key, $keys...", new A._get_closure()));
98611 _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)));
98612 _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)));
98613 _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function2("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
98614 _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function2("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
98615 _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)));
98616 _lazyFinal($, "_keys", "$get$_keys", () => A._function2("keys", "$map", new A._keys_closure()));
98617 _lazyFinal($, "_values", "$get$_values", () => A._function2("values", "$map", new A._values_closure()));
98618 _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function2("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
98619 _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));
98620 _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));
98621 _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
98622 _lazyFinal($, "_clamp", "$get$_clamp", () => A._function1("clamp", "$min, $number, $max", new A._clamp_closure()));
98623 _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
98624 _lazyFinal($, "_max", "$get$_max", () => A._function1("max", "$numbers...", new A._max_closure()));
98625 _lazyFinal($, "_min", "$get$_min", () => A._function1("min", "$numbers...", new A._min_closure()));
98626 _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", A.number0__fuzzyRound$closure()));
98627 _lazyFinal($, "_abs", "$get$_abs", () => A._numberFunction("abs", new A._abs_closure()));
98628 _lazyFinal($, "_hypot", "$get$_hypot", () => A._function1("hypot", "$numbers...", new A._hypot_closure()));
98629 _lazyFinal($, "_log", "$get$_log", () => A._function1("log", "$number, $base: null", new A._log_closure()));
98630 _lazyFinal($, "_pow", "$get$_pow", () => A._function1("pow", "$base, $exponent", new A._pow_closure()));
98631 _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._function1("sqrt", "$number", new A._sqrt_closure()));
98632 _lazyFinal($, "_acos", "$get$_acos", () => A._function1("acos", "$number", new A._acos_closure()));
98633 _lazyFinal($, "_asin", "$get$_asin", () => A._function1("asin", "$number", new A._asin_closure()));
98634 _lazyFinal($, "_atan", "$get$_atan", () => A._function1("atan", "$number", new A._atan_closure()));
98635 _lazyFinal($, "_atan2", "$get$_atan2", () => A._function1("atan2", "$y, $x", new A._atan2_closure()));
98636 _lazyFinal($, "_cos", "$get$_cos", () => A._function1("cos", "$number", new A._cos_closure()));
98637 _lazyFinal($, "_sin", "$get$_sin", () => A._function1("sin", "$number", new A._sin_closure()));
98638 _lazyFinal($, "_tan", "$get$_tan", () => A._function1("tan", "$number", new A._tan_closure()));
98639 _lazyFinal($, "_compatible", "$get$_compatible", () => A._function1("compatible", "$number1, $number2", new A._compatible_closure()));
98640 _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function1("is-unitless", "$number", new A._isUnitless_closure()));
98641 _lazyFinal($, "_unit", "$get$_unit", () => A._function1("unit", "$number", new A._unit_closure()));
98642 _lazyFinal($, "_percentage", "$get$_percentage", () => A._function1("percentage", "$number", new A._percentage_closure()));
98643 _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
98644 _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function1("random", "$limit: null", new A._randomFunction_closure()));
98645 _lazyFinal($, "_div", "$get$_div", () => A._function1("div", "$number1, $number2", new A._div_closure()));
98646 _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));
98647 _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));
98648 _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));
98649 _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));
98650 _lazyFinal($, "_nest", "$get$_nest", () => A._function0("nest", "$selectors...", new A._nest_closure()));
98651 _lazyFinal($, "_append0", "$get$_append", () => A._function0("append", "$selectors...", new A._append_closure()));
98652 _lazyFinal($, "_extend", "$get$_extend", () => A._function0("extend", "$selector, $extendee, $extender", new A._extend_closure()));
98653 _lazyFinal($, "_replace", "$get$_replace", () => A._function0("replace", "$selector, $original, $replacement", new A._replace_closure()));
98654 _lazyFinal($, "_unify", "$get$_unify", () => A._function0("unify", "$selector1, $selector2", new A._unify_closure()));
98655 _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function0("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
98656 _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function0("simple-selectors", "$selector", new A._simpleSelectors_closure()));
98657 _lazyFinal($, "_parse", "$get$_parse", () => A._function0("parse", "$selector", new A._parse_closure()));
98658 _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
98659 _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
98660 _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));
98661 _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));
98662 _lazyFinal($, "_unquote", "$get$_unquote", () => A._function("unquote", "$string", new A._unquote_closure()));
98663 _lazyFinal($, "_quote", "$get$_quote", () => A._function("quote", "$string", new A._quote_closure()));
98664 _lazyFinal($, "_length0", "$get$_length", () => A._function("length", "$string", new A._length_closure()));
98665 _lazyFinal($, "_insert", "$get$_insert", () => A._function("insert", "$string, $insert, $index", new A._insert_closure()));
98666 _lazyFinal($, "_index0", "$get$_index", () => A._function("index", "$string, $substring", new A._index_closure()));
98667 _lazyFinal($, "_slice", "$get$_slice", () => A._function("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
98668 _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function("to-upper-case", "$string", new A._toUpperCase_closure()));
98669 _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function("to-lower-case", "$string", new A._toLowerCase_closure()));
98670 _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function("unique-id", "", new A._uniqueId_closure()));
98671 _lazyFinal($, "stderr", "$get$stderr", () => new A.Stderr(J.get$stderr$x(self.process)));
98672 _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
98673 _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
98674 var t1 = $.$get$globalFunctions();
98675 t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
98676 t1.add$1(0, "if");
98677 t1.remove$1(0, "rgb");
98678 t1.remove$1(0, "rgba");
98679 t1.remove$1(0, "hsl");
98680 t1.remove$1(0, "hsla");
98681 t1.remove$1(0, "grayscale");
98682 t1.remove$1(0, "invert");
98683 t1.remove$1(0, "alpha");
98684 t1.remove$1(0, "opacity");
98685 t1.remove$1(0, "saturate");
98686 return t1;
98687 });
98688 _lazyFinal($, "epsilon", "$get$epsilon", () => A.pow(10, -11));
98689 _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => 1 / $.$get$epsilon());
98690 _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
98691 _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
98692 _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
98693 var t2, t3, t4,
98694 t1 = type$.String;
98695 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
98696 for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
98697 t3 = t2.get$current(t2);
98698 for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
98699 t1.$indexSet(0, t4.get$current(t4), t3);
98700 }
98701 return t1;
98702 });
98703 _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
98704 var _i, set, t2,
98705 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
98706 for (_i = 0; _i < 5; ++_i) {
98707 set = B.List_AqW[_i];
98708 for (t2 = set.get$iterator(set); t2.moveNext$0();)
98709 t1.$indexSet(0, t2.get$current(t2), set);
98710 }
98711 return t1;
98712 });
98713 _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
98714 _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
98715 _lazyFinal($, "MAX_INT32", "$get$MAX_INT32", () => A._asInt(A.pow(2, 31)) - 1);
98716 _lazyFinal($, "MIN_INT32", "$get$MIN_INT32", () => -A._asInt(A.pow(2, 31)));
98717 _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
98718 _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
98719 _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
98720 _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
98721 _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
98722 _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
98723 _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
98724 _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
98725 _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
98726 _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
98727 _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
98728 _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
98729 _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
98730 _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
98731 _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
98732 _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
98733 _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
98734 _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
98735 _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\r\\n?|\\n", false));
98736 _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
98737 _lazyFinal($, "_filesystemImporter", "$get$_filesystemImporter", () => A.FilesystemImporter$("."));
98738 _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
98739 _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
98740 _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
98741 _lazyFinal($, "global6", "$get$global7", () => {
98742 var _s27_ = "$red, $green, $blue, $alpha",
98743 _s19_ = "$red, $green, $blue",
98744 _s37_ = "$hue, $saturation, $lightness, $alpha",
98745 _s29_ = "$hue, $saturation, $lightness",
98746 _s17_ = "$hue, $saturation",
98747 _s15_ = "$color, $amount",
98748 t1 = type$.String,
98749 t2 = type$.Value_Function_List_Value_2;
98750 return A.UnmodifiableListView$(A._setArrayType([$.$get$_red0(), $.$get$_green0(), $.$get$_blue0(), $.$get$_mix0(), A.BuiltInCallable$overloadedFunction0("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure30(), _s19_, new A.global_closure31(), "$color, $alpha", new A.global_closure32(), "$channels", new A.global_closure33()], t1, t2)), A.BuiltInCallable$overloadedFunction0("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure34(), _s19_, new A.global_closure35(), "$color, $alpha", new A.global_closure36(), "$channels", new A.global_closure37()], t1, t2)), A._function11("invert", "$color, $weight: 100%", new A.global_closure38()), $.$get$_hue0(), $.$get$_saturation0(), $.$get$_lightness0(), $.$get$_complement0(), A.BuiltInCallable$overloadedFunction0("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure39(), _s29_, new A.global_closure40(), _s17_, new A.global_closure41(), "$channels", new A.global_closure42()], t1, t2)), A.BuiltInCallable$overloadedFunction0("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure43(), _s29_, new A.global_closure44(), _s17_, new A.global_closure45(), "$channels", new A.global_closure46()], t1, t2)), A._function11("grayscale", "$color", new A.global_closure47()), A._function11("adjust-hue", "$color, $degrees", new A.global_closure48()), A._function11("lighten", _s15_, new A.global_closure49()), A._function11("darken", _s15_, new A.global_closure50()), A.BuiltInCallable$overloadedFunction0("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure51(), "$color, $amount", new A.global_closure52()], t1, t2)), A._function11("desaturate", _s15_, new A.global_closure53()), A._function11("opacify", _s15_, A.color1___opacify$closure()), A._function11("fade-in", _s15_, A.color1___opacify$closure()), A._function11("transparentize", _s15_, A.color1___transparentize$closure()), A._function11("fade-out", _s15_, A.color1___transparentize$closure()), A.BuiltInCallable$overloadedFunction0("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure54(), "$args...", new A.global_closure55()], t1, t2)), A._function11("opacity", "$color", new A.global_closure56()), $.$get$_ieHexStr0(), $.$get$_adjust0().withName$1("adjust-color"), $.$get$_scale0().withName$1("scale-color"), $.$get$_change0().withName$1("change-color")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
98751 });
98752 _lazyFinal($, "module5", "$get$module5", () => {
98753 var _s9_ = "lightness",
98754 _s10_ = "saturation",
98755 _s6_ = "$color", _s5_ = "alpha",
98756 t1 = type$.String,
98757 t2 = type$.Value_Function_List_Value_2;
98758 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);
98759 });
98760 _lazyFinal($, "_red0", "$get$_red0", () => A._function11("red", "$color", new A._red_closure0()));
98761 _lazyFinal($, "_green0", "$get$_green0", () => A._function11("green", "$color", new A._green_closure0()));
98762 _lazyFinal($, "_blue0", "$get$_blue0", () => A._function11("blue", "$color", new A._blue_closure0()));
98763 _lazyFinal($, "_mix0", "$get$_mix0", () => A._function11("mix", "$color1, $color2, $weight: 50%", new A._mix_closure0()));
98764 _lazyFinal($, "_hue0", "$get$_hue0", () => A._function11("hue", "$color", new A._hue_closure0()));
98765 _lazyFinal($, "_saturation0", "$get$_saturation0", () => A._function11("saturation", "$color", new A._saturation_closure0()));
98766 _lazyFinal($, "_lightness0", "$get$_lightness0", () => A._function11("lightness", "$color", new A._lightness_closure0()));
98767 _lazyFinal($, "_complement0", "$get$_complement0", () => A._function11("complement", "$color", new A._complement_closure0()));
98768 _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function11("adjust", "$color, $kwargs...", new A._adjust_closure0()));
98769 _lazyFinal($, "_scale0", "$get$_scale0", () => A._function11("scale", "$color, $kwargs...", new A._scale_closure0()));
98770 _lazyFinal($, "_change0", "$get$_change0", () => A._function11("change", "$color, $kwargs...", new A._change_closure0()));
98771 _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function11("ie-hex-str", "$color", new A._ieHexStr_closure0()));
98772 _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
98773 var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
98774 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));
98775 return t1;
98776 });
98777 _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
98778 _lazyFinal($, "colorsByName0", "$get$colorsByName0", () => {
98779 var _null = null;
98780 return A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb0(154, 205, 50, _null, _null), "yellow", A.SassColor$rgb0(255, 255, 0, _null, _null), "whitesmoke", A.SassColor$rgb0(245, 245, 245, _null, _null), "white", A.SassColor$rgb0(255, 255, 255, _null, _null), "wheat", A.SassColor$rgb0(245, 222, 179, _null, _null), "violet", A.SassColor$rgb0(238, 130, 238, _null, _null), "turquoise", A.SassColor$rgb0(64, 224, 208, _null, _null), "transparent", A.SassColor$rgb0(0, 0, 0, 0, _null), "tomato", A.SassColor$rgb0(255, 99, 71, _null, _null), "thistle", A.SassColor$rgb0(216, 191, 216, _null, _null), "teal", A.SassColor$rgb0(0, 128, 128, _null, _null), "tan", A.SassColor$rgb0(210, 180, 140, _null, _null), "steelblue", A.SassColor$rgb0(70, 130, 180, _null, _null), "springgreen", A.SassColor$rgb0(0, 255, 127, _null, _null), "snow", A.SassColor$rgb0(255, 250, 250, _null, _null), "slategrey", A.SassColor$rgb0(112, 128, 144, _null, _null), "slategray", A.SassColor$rgb0(112, 128, 144, _null, _null), "slateblue", A.SassColor$rgb0(106, 90, 205, _null, _null), "skyblue", A.SassColor$rgb0(135, 206, 235, _null, _null), "silver", A.SassColor$rgb0(192, 192, 192, _null, _null), "sienna", A.SassColor$rgb0(160, 82, 45, _null, _null), "seashell", A.SassColor$rgb0(255, 245, 238, _null, _null), "seagreen", A.SassColor$rgb0(46, 139, 87, _null, _null), "sandybrown", A.SassColor$rgb0(244, 164, 96, _null, _null), "salmon", A.SassColor$rgb0(250, 128, 114, _null, _null), "saddlebrown", A.SassColor$rgb0(139, 69, 19, _null, _null), "royalblue", A.SassColor$rgb0(65, 105, 225, _null, _null), "rosybrown", A.SassColor$rgb0(188, 143, 143, _null, _null), "red", A.SassColor$rgb0(255, 0, 0, _null, _null), "rebeccapurple", A.SassColor$rgb0(102, 51, 153, _null, _null), "purple", A.SassColor$rgb0(128, 0, 128, _null, _null), "powderblue", A.SassColor$rgb0(176, 224, 230, _null, _null), "plum", A.SassColor$rgb0(221, 160, 221, _null, _null), "pink", A.SassColor$rgb0(255, 192, 203, _null, _null), "peru", A.SassColor$rgb0(205, 133, 63, _null, _null), "peachpuff", A.SassColor$rgb0(255, 218, 185, _null, _null), "papayawhip", A.SassColor$rgb0(255, 239, 213, _null, _null), "palevioletred", A.SassColor$rgb0(219, 112, 147, _null, _null), "paleturquoise", A.SassColor$rgb0(175, 238, 238, _null, _null), "palegreen", A.SassColor$rgb0(152, 251, 152, _null, _null), "palegoldenrod", A.SassColor$rgb0(238, 232, 170, _null, _null), "orchid", A.SassColor$rgb0(218, 112, 214, _null, _null), "orangered", A.SassColor$rgb0(255, 69, 0, _null, _null), "orange", A.SassColor$rgb0(255, 165, 0, _null, _null), "olivedrab", A.SassColor$rgb0(107, 142, 35, _null, _null), "olive", A.SassColor$rgb0(128, 128, 0, _null, _null), "oldlace", A.SassColor$rgb0(253, 245, 230, _null, _null), "navy", A.SassColor$rgb0(0, 0, 128, _null, _null), "navajowhite", A.SassColor$rgb0(255, 222, 173, _null, _null), "moccasin", A.SassColor$rgb0(255, 228, 181, _null, _null), "mistyrose", A.SassColor$rgb0(255, 228, 225, _null, _null), "mintcream", A.SassColor$rgb0(245, 255, 250, _null, _null), "midnightblue", A.SassColor$rgb0(25, 25, 112, _null, _null), "mediumvioletred", A.SassColor$rgb0(199, 21, 133, _null, _null), "mediumturquoise", A.SassColor$rgb0(72, 209, 204, _null, _null), "mediumspringgreen", A.SassColor$rgb0(0, 250, 154, _null, _null), "mediumslateblue", A.SassColor$rgb0(123, 104, 238, _null, _null), "mediumseagreen", A.SassColor$rgb0(60, 179, 113, _null, _null), "mediumpurple", A.SassColor$rgb0(147, 112, 219, _null, _null), "mediumorchid", A.SassColor$rgb0(186, 85, 211, _null, _null), "mediumblue", A.SassColor$rgb0(0, 0, 205, _null, _null), "mediumaquamarine", A.SassColor$rgb0(102, 205, 170, _null, _null), "maroon", A.SassColor$rgb0(128, 0, 0, _null, _null), "magenta", A.SassColor$rgb0(255, 0, 255, _null, _null), "linen", A.SassColor$rgb0(250, 240, 230, _null, _null), "limegreen", A.SassColor$rgb0(50, 205, 50, _null, _null), "lime", A.SassColor$rgb0(0, 255, 0, _null, _null), "lightyellow", A.SassColor$rgb0(255, 255, 224, _null, _null), "lightsteelblue", A.SassColor$rgb0(176, 196, 222, _null, _null), "lightslategrey", A.SassColor$rgb0(119, 136, 153, _null, _null), "lightslategray", A.SassColor$rgb0(119, 136, 153, _null, _null), "lightskyblue", A.SassColor$rgb0(135, 206, 250, _null, _null), "lightseagreen", A.SassColor$rgb0(32, 178, 170, _null, _null), "lightsalmon", A.SassColor$rgb0(255, 160, 122, _null, _null), "lightpink", A.SassColor$rgb0(255, 182, 193, _null, _null), "lightgrey", A.SassColor$rgb0(211, 211, 211, _null, _null), "lightgreen", A.SassColor$rgb0(144, 238, 144, _null, _null), "lightgray", A.SassColor$rgb0(211, 211, 211, _null, _null), "lightgoldenrodyellow", A.SassColor$rgb0(250, 250, 210, _null, _null), "lightcyan", A.SassColor$rgb0(224, 255, 255, _null, _null), "lightcoral", A.SassColor$rgb0(240, 128, 128, _null, _null), "lightblue", A.SassColor$rgb0(173, 216, 230, _null, _null), "lemonchiffon", A.SassColor$rgb0(255, 250, 205, _null, _null), "lawngreen", A.SassColor$rgb0(124, 252, 0, _null, _null), "lavenderblush", A.SassColor$rgb0(255, 240, 245, _null, _null), "lavender", A.SassColor$rgb0(230, 230, 250, _null, _null), "khaki", A.SassColor$rgb0(240, 230, 140, _null, _null), "ivory", A.SassColor$rgb0(255, 255, 240, _null, _null), "indigo", A.SassColor$rgb0(75, 0, 130, _null, _null), "indianred", A.SassColor$rgb0(205, 92, 92, _null, _null), "hotpink", A.SassColor$rgb0(255, 105, 180, _null, _null), "honeydew", A.SassColor$rgb0(240, 255, 240, _null, _null), "grey", A.SassColor$rgb0(128, 128, 128, _null, _null), "greenyellow", A.SassColor$rgb0(173, 255, 47, _null, _null), "green", A.SassColor$rgb0(0, 128, 0, _null, _null), "gray", A.SassColor$rgb0(128, 128, 128, _null, _null), "goldenrod", A.SassColor$rgb0(218, 165, 32, _null, _null), "gold", A.SassColor$rgb0(255, 215, 0, _null, _null), "ghostwhite", A.SassColor$rgb0(248, 248, 255, _null, _null), "gainsboro", A.SassColor$rgb0(220, 220, 220, _null, _null), "fuchsia", A.SassColor$rgb0(255, 0, 255, _null, _null), "forestgreen", A.SassColor$rgb0(34, 139, 34, _null, _null), "floralwhite", A.SassColor$rgb0(255, 250, 240, _null, _null), "firebrick", A.SassColor$rgb0(178, 34, 34, _null, _null), "dodgerblue", A.SassColor$rgb0(30, 144, 255, _null, _null), "dimgrey", A.SassColor$rgb0(105, 105, 105, _null, _null), "dimgray", A.SassColor$rgb0(105, 105, 105, _null, _null), "deepskyblue", A.SassColor$rgb0(0, 191, 255, _null, _null), "deeppink", A.SassColor$rgb0(255, 20, 147, _null, _null), "darkviolet", A.SassColor$rgb0(148, 0, 211, _null, _null), "darkturquoise", A.SassColor$rgb0(0, 206, 209, _null, _null), "darkslategrey", A.SassColor$rgb0(47, 79, 79, _null, _null), "darkslategray", A.SassColor$rgb0(47, 79, 79, _null, _null), "darkslateblue", A.SassColor$rgb0(72, 61, 139, _null, _null), "darkseagreen", A.SassColor$rgb0(143, 188, 143, _null, _null), "darksalmon", A.SassColor$rgb0(233, 150, 122, _null, _null), "darkred", A.SassColor$rgb0(139, 0, 0, _null, _null), "darkorchid", A.SassColor$rgb0(153, 50, 204, _null, _null), "darkorange", A.SassColor$rgb0(255, 140, 0, _null, _null), "darkolivegreen", A.SassColor$rgb0(85, 107, 47, _null, _null), "darkmagenta", A.SassColor$rgb0(139, 0, 139, _null, _null), "darkkhaki", A.SassColor$rgb0(189, 183, 107, _null, _null), "darkgrey", A.SassColor$rgb0(169, 169, 169, _null, _null), "darkgreen", A.SassColor$rgb0(0, 100, 0, _null, _null), "darkgray", A.SassColor$rgb0(169, 169, 169, _null, _null), "darkgoldenrod", A.SassColor$rgb0(184, 134, 11, _null, _null), "darkcyan", A.SassColor$rgb0(0, 139, 139, _null, _null), "darkblue", A.SassColor$rgb0(0, 0, 139, _null, _null), "cyan", A.SassColor$rgb0(0, 255, 255, _null, _null), "crimson", A.SassColor$rgb0(220, 20, 60, _null, _null), "cornsilk", A.SassColor$rgb0(255, 248, 220, _null, _null), "cornflowerblue", A.SassColor$rgb0(100, 149, 237, _null, _null), "coral", A.SassColor$rgb0(255, 127, 80, _null, _null), "chocolate", A.SassColor$rgb0(210, 105, 30, _null, _null), "chartreuse", A.SassColor$rgb0(127, 255, 0, _null, _null), "cadetblue", A.SassColor$rgb0(95, 158, 160, _null, _null), "burlywood", A.SassColor$rgb0(222, 184, 135, _null, _null), "brown", A.SassColor$rgb0(165, 42, 42, _null, _null), "blueviolet", A.SassColor$rgb0(138, 43, 226, _null, _null), "blue", A.SassColor$rgb0(0, 0, 255, _null, _null), "blanchedalmond", A.SassColor$rgb0(255, 235, 205, _null, _null), "black", A.SassColor$rgb0(0, 0, 0, _null, _null), "bisque", A.SassColor$rgb0(255, 228, 196, _null, _null), "beige", A.SassColor$rgb0(245, 245, 220, _null, _null), "azure", A.SassColor$rgb0(240, 255, 255, _null, _null), "aquamarine", A.SassColor$rgb0(127, 255, 212, _null, _null), "aqua", A.SassColor$rgb0(0, 255, 255, _null, _null), "antiquewhite", A.SassColor$rgb0(250, 235, 215, _null, _null), "aliceblue", A.SassColor$rgb0(240, 248, 255, _null, _null)], type$.String, type$.SassColor_2);
98781 });
98782 _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
98783 var t2, t3,
98784 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor_2, type$.String);
98785 for (t2 = $.$get$colorsByName0(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
98786 t3 = t2.get$current(t2);
98787 t1.$indexSet(0, t3.value, t3.key);
98788 }
98789 return t1;
98790 });
98791 _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
98792 var t1 = $.$get$globalFunctions0();
98793 t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
98794 t1.add$1(0, "if");
98795 t1.remove$1(0, "rgb");
98796 t1.remove$1(0, "rgba");
98797 t1.remove$1(0, "hsl");
98798 t1.remove$1(0, "hsla");
98799 t1.remove$1(0, "grayscale");
98800 t1.remove$1(0, "invert");
98801 t1.remove$1(0, "alpha");
98802 t1.remove$1(0, "opacity");
98803 t1.remove$1(0, "saturate");
98804 return t1;
98805 });
98806 _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
98807 _lazyFinal($, "_filesystemImporter0", "$get$_filesystemImporter0", () => A.FilesystemImporter$("."));
98808 _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
98809 _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
98810 var t1 = type$.BuiltInCallable_2,
98811 t2 = A.List_List$of($.$get$global7(), true, t1);
98812 B.JSArray_methods.addAll$1(t2, $.$get$global8());
98813 B.JSArray_methods.addAll$1(t2, $.$get$global9());
98814 B.JSArray_methods.addAll$1(t2, $.$get$global10());
98815 B.JSArray_methods.addAll$1(t2, $.$get$global11());
98816 B.JSArray_methods.addAll$1(t2, $.$get$global12());
98817 B.JSArray_methods.addAll$1(t2, $.$get$global6());
98818 t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
98819 return A.UnmodifiableListView$(t2, t1);
98820 });
98821 _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));
98822 _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ArgumentDeclaration_ArgumentDeclaration$parse0(string$.x40funct, null));
98823 _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));
98824 _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));
98825 _lazyFinal($, "_length1", "$get$_length2", () => A._function10("length", "$list", new A._length_closure2()));
98826 _lazyFinal($, "_nth0", "$get$_nth0", () => A._function10("nth", "$list, $n", new A._nth_closure0()));
98827 _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function10("set-nth", "$list, $n, $value", new A._setNth_closure0()));
98828 _lazyFinal($, "_join0", "$get$_join0", () => A._function10("join", string$.x24list1, new A._join_closure0()));
98829 _lazyFinal($, "_append1", "$get$_append2", () => A._function10("append", "$list, $val, $separator: auto", new A._append_closure2()));
98830 _lazyFinal($, "_zip0", "$get$_zip0", () => A._function10("zip", "$lists...", new A._zip_closure0()));
98831 _lazyFinal($, "_index1", "$get$_index2", () => A._function10("index", "$list, $value", new A._index_closure2()));
98832 _lazyFinal($, "_separator0", "$get$_separator0", () => A._function10("separator", "$list", new A._separator_closure0()));
98833 _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function10("is-bracketed", "$list", new A._isBracketed_closure0()));
98834 _lazyFinal($, "_slash0", "$get$_slash0", () => A._function10("slash", "$elements...", new A._slash_closure0()));
98835 _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
98836 var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
98837 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));
98838 return t1;
98839 });
98840 _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
98841 _lazyFinal($, "Logger_quiet0", "$get$Logger_quiet0", () => new A._QuietLogger0());
98842 _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));
98843 _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));
98844 _lazyFinal($, "_get0", "$get$_get0", () => A._function9("get", "$map, $key, $keys...", new A._get_closure0()));
98845 _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)));
98846 _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)));
98847 _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function9("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
98848 _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function9("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
98849 _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)));
98850 _lazyFinal($, "_keys0", "$get$_keys0", () => A._function9("keys", "$map", new A._keys_closure0()));
98851 _lazyFinal($, "_values0", "$get$_values0", () => A._function9("values", "$map", new A._values_closure0()));
98852 _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function9("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
98853 _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
98854 var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
98855 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));
98856 return t1;
98857 });
98858 _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
98859 _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));
98860 _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));
98861 _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
98862 _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function8("clamp", "$min, $number, $max", new A._clamp_closure0()));
98863 _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
98864 _lazyFinal($, "_max0", "$get$_max0", () => A._function8("max", "$numbers...", new A._max_closure0()));
98865 _lazyFinal($, "_min0", "$get$_min0", () => A._function8("min", "$numbers...", new A._min_closure0()));
98866 _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", A.number2__fuzzyRound$closure()));
98867 _lazyFinal($, "_abs0", "$get$_abs0", () => A._numberFunction0("abs", new A._abs_closure0()));
98868 _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function8("hypot", "$numbers...", new A._hypot_closure0()));
98869 _lazyFinal($, "_log0", "$get$_log0", () => A._function8("log", "$number, $base: null", new A._log_closure0()));
98870 _lazyFinal($, "_pow0", "$get$_pow0", () => A._function8("pow", "$base, $exponent", new A._pow_closure0()));
98871 _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._function8("sqrt", "$number", new A._sqrt_closure0()));
98872 _lazyFinal($, "_acos0", "$get$_acos0", () => A._function8("acos", "$number", new A._acos_closure0()));
98873 _lazyFinal($, "_asin0", "$get$_asin0", () => A._function8("asin", "$number", new A._asin_closure0()));
98874 _lazyFinal($, "_atan0", "$get$_atan0", () => A._function8("atan", "$number", new A._atan_closure0()));
98875 _lazyFinal($, "_atan20", "$get$_atan20", () => A._function8("atan2", "$y, $x", new A._atan2_closure0()));
98876 _lazyFinal($, "_cos0", "$get$_cos0", () => A._function8("cos", "$number", new A._cos_closure0()));
98877 _lazyFinal($, "_sin0", "$get$_sin0", () => A._function8("sin", "$number", new A._sin_closure0()));
98878 _lazyFinal($, "_tan0", "$get$_tan0", () => A._function8("tan", "$number", new A._tan_closure0()));
98879 _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function8("compatible", "$number1, $number2", new A._compatible_closure0()));
98880 _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function8("is-unitless", "$number", new A._isUnitless_closure0()));
98881 _lazyFinal($, "_unit0", "$get$_unit0", () => A._function8("unit", "$number", new A._unit_closure0()));
98882 _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function8("percentage", "$number", new A._percentage_closure0()));
98883 _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
98884 _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function8("random", "$limit: null", new A._randomFunction_closure0()));
98885 _lazyFinal($, "_div0", "$get$_div0", () => A._function8("div", "$number1, $number2", new A._div_closure0()));
98886 _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));
98887 _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));
98888 _lazyFinal($, "stderr0", "$get$stderr0", () => new A.Stderr0(J.get$stderr$x(self.process)));
98889 _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
98890 _lazyFinal($, "epsilon0", "$get$epsilon0", () => A.pow(10, -11));
98891 _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => 1 / $.$get$epsilon0());
98892 _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
98893 var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
98894 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));
98895 return t1;
98896 });
98897 _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
98898 _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
98899 var t2, t3, t4,
98900 t1 = type$.String;
98901 t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
98902 for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
98903 t3 = t2.get$current(t2);
98904 for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
98905 t1.$indexSet(0, t4.get$current(t4), t3);
98906 }
98907 return t1;
98908 });
98909 _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));
98910 _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));
98911 _lazyFinal($, "_nest0", "$get$_nest0", () => A._function7("nest", "$selectors...", new A._nest_closure0()));
98912 _lazyFinal($, "_append2", "$get$_append1", () => A._function7("append", "$selectors...", new A._append_closure1()));
98913 _lazyFinal($, "_extend0", "$get$_extend0", () => A._function7("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
98914 _lazyFinal($, "_replace0", "$get$_replace0", () => A._function7("replace", "$selector, $original, $replacement", new A._replace_closure0()));
98915 _lazyFinal($, "_unify0", "$get$_unify0", () => A._function7("unify", "$selector1, $selector2", new A._unify_closure0()));
98916 _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function7("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
98917 _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function7("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
98918 _lazyFinal($, "_parse0", "$get$_parse0", () => A._function7("parse", "$selector", new A._parse_closure0()));
98919 _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
98920 var _i, set, t2,
98921 t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
98922 for (_i = 0; _i < 5; ++_i) {
98923 set = B.List_AqW[_i];
98924 for (t2 = set.get$iterator(set); t2.moveNext$0();)
98925 t1.$indexSet(0, t2.get$current(t2), set);
98926 }
98927 return t1;
98928 });
98929 _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
98930 _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
98931 _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));
98932 _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));
98933 _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function6("unquote", "$string", new A._unquote_closure0()));
98934 _lazyFinal($, "_quote0", "$get$_quote0", () => A._function6("quote", "$string", new A._quote_closure0()));
98935 _lazyFinal($, "_length2", "$get$_length1", () => A._function6("length", "$string", new A._length_closure1()));
98936 _lazyFinal($, "_insert0", "$get$_insert0", () => A._function6("insert", "$string, $insert, $index", new A._insert_closure0()));
98937 _lazyFinal($, "_index2", "$get$_index1", () => A._function6("index", "$string, $substring", new A._index_closure1()));
98938 _lazyFinal($, "_slice0", "$get$_slice0", () => A._function6("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
98939 _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function6("to-upper-case", "$string", new A._toUpperCase_closure0()));
98940 _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function6("to-lower-case", "$string", new A._toLowerCase_closure0()));
98941 _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function6("unique-id", "", new A._uniqueId_closure0()));
98942 _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
98943 var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
98944 A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
98945 return t1;
98946 });
98947 _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
98948 _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
98949 _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
98950 _lazyFinal($, "_jsThrow", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
98951 _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
98952 _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
98953 _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
98954 _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
98955 })();
98956 (function nativeSupport() {
98957 !function() {
98958 var intern = function(s) {
98959 var o = {};
98960 o[s] = 1;
98961 return Object.keys(hunkHelpers.convertToFastObject(o))[0];
98962 };
98963 init.getIsolateTag = function(name) {
98964 return intern("___dart_" + name + init.isolateTag);
98965 };
98966 var tableProperty = "___dart_isolate_tags_";
98967 var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
98968 var rootProperty = "_ZxYxX";
98969 for (var i = 0;; i++) {
98970 var property = intern(rootProperty + "_" + i + "_");
98971 if (!(property in usedProperties)) {
98972 usedProperties[property] = 1;
98973 init.isolateTag = property;
98974 break;
98975 }
98976 }
98977 init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
98978 }();
98979 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});
98980 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});
98981 A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
98982 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
98983 A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
98984 A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
98985 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
98986 A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
98987 A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
98988 })();
98989 Function.prototype.call$0 = function() {
98990 return this();
98991 };
98992 Function.prototype.call$1 = function(a) {
98993 return this(a);
98994 };
98995 Function.prototype.call$2 = function(a, b) {
98996 return this(a, b);
98997 };
98998 Function.prototype.call$3$1 = function(a) {
98999 return this(a);
99000 };
99001 Function.prototype.call$2$1 = function(a) {
99002 return this(a);
99003 };
99004 Function.prototype.call$1$1 = function(a) {
99005 return this(a);
99006 };
99007 Function.prototype.call$3 = function(a, b, c) {
99008 return this(a, b, c);
99009 };
99010 Function.prototype.call$4 = function(a, b, c, d) {
99011 return this(a, b, c, d);
99012 };
99013 Function.prototype.call$3$3 = function(a, b, c) {
99014 return this(a, b, c);
99015 };
99016 Function.prototype.call$2$2 = function(a, b) {
99017 return this(a, b);
99018 };
99019 Function.prototype.call$6 = function(a, b, c, d, e, f) {
99020 return this(a, b, c, d, e, f);
99021 };
99022 Function.prototype.call$5 = function(a, b, c, d, e) {
99023 return this(a, b, c, d, e);
99024 };
99025 Function.prototype.call$1$0 = function() {
99026 return this();
99027 };
99028 Function.prototype.call$2$0 = function() {
99029 return this();
99030 };
99031 Function.prototype.call$2$3 = function(a, b, c) {
99032 return this(a, b, c);
99033 };
99034 Function.prototype.call$1$2 = function(a, b) {
99035 return this(a, b);
99036 };
99037 convertAllToFastObject(holders);
99038 convertToFastObject($);
99039 (function(callback) {
99040 if (typeof document === "undefined") {
99041 callback(null);
99042 return;
99043 }
99044 if (typeof document.currentScript != "undefined") {
99045 callback(document.currentScript);
99046 return;
99047 }
99048 var scripts = document.scripts;
99049 function onLoad(event) {
99050 for (var i = 0; i < scripts.length; ++i)
99051 scripts[i].removeEventListener("load", onLoad, false);
99052 callback(event.target);
99053 }
99054 for (var i = 0; i < scripts.length; ++i)
99055 scripts[i].addEventListener("load", onLoad, false);
99056 })(function(currentScript) {
99057 init.currentScript = currentScript;
99058 var callMain = A.main1;
99059 if (typeof dartMainRunner === "function")
99060 dartMainRunner(callMain, []);
99061 else
99062 callMain([]);
99063 });
99064})();
99065}